round1 method
Transaction
round1({
- PoolHeader? header,
- ({List<
int> outpoint, List<int> parts, Transaction tx})? next, - UnlockingScriptBuilder? slotUnlocker,
Implementation
Transaction round1({PoolHeader? header, ({Transaction tx, List<int> outpoint, List<int> parts})? next, UnlockingScriptBuilder? slotUnlocker}) {
final y = next ?? y1;
return svc.createRoundTxn(w0, r0, y0.tx, opPub, fundingA, signer, opPub, fundingB.hash, header ?? f.h1, y.outpoint,
nextSlotTx: y.tx,
receipts: [f.receipt],
deposits: [(depositTx, ShieldedPoolTool.depositVout)],
roundProof: slotUnlocker == null ? f.proof : null,
slotUnlocker: slotUnlocker);
}