@lelantos-org/sdk / internal / BuildOpts
Interface: BuildOpts
Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:76
Properties
chainId?
optional chainId?: bigint;Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:85
inputs
inputs: SpentNote[];Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:80
intentHash?
optional intentHash?: bigint;Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:102
PubInputs.Transact.intentHash: for a swap's withdraw leg, swapIntentHash over the swap's output, floor, venue, deadline and refund owner, which SwapWrapper.swap recomputes. Bound through the challenge so whoever submits the swap cannot change them. Ignored by every other spend; defaults to 0n.
merkleRoot
merkleRoot: bigint;Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:83
outputAuxDigest
outputAuxDigest: bigint;Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:109
auxDigest(aux) (protocol/abi-hash.ts) over the outputs' encrypted-note payloads. Required: the contract recomputes this slot from calldata, so a default of 0 would build a witness the verifier rejects.
outputClues
outputClues: object[];Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:82
clueBits
clueBits: bigint;clueRx
clueRx: bigint;clueRy
clueRy: bigint;outputs
outputs: Note[];Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:81
payerAddress?
optional payerAddress?: bigint;Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:90
Who may drive a satellite that consumes the spend (SwapWrapper.swap requires msg.sender == payer). Bound through the challenge.
publicAssetId
publicAssetId: bigint;Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:78
Must be 0n when publicOut is 0n.
publicOut
publicOut: bigint;Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:79
recipientAddress?
optional recipientAddress?: bigint;Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:84
relayerAddress?
optional relayerAddress?: bigint;Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:95
Must equal msg.sender of the on-chain transact call. Bound through the challenge to prevent front-running by other relayers.
z?
optional z?: bigint;Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:103