Skip to content

@lelantos-org/sdk / internal / BuildOpts

Interface: BuildOpts ​

Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:76

Properties ​

chainId? ​

ts
optional chainId?: bigint;

Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:85


inputs ​

ts
inputs: SpentNote[];

Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:80


intentHash? ​

ts
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 ​

ts
merkleRoot: bigint;

Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:83


outputAuxDigest ​

ts
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 ​

ts
outputClues: object[];

Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:82

clueBits ​

ts
clueBits: bigint;

clueRx ​

ts
clueRx: bigint;

clueRy ​

ts
clueRy: bigint;

outputs ​

ts
outputs: Note[];

Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:81


payerAddress? ​

ts
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 ​

ts
publicAssetId: bigint;

Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:78

Must be 0n when publicOut is 0n.


publicOut ​

ts
publicOut: bigint;

Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:79


recipientAddress? ​

ts
optional recipientAddress?: bigint;

Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:84


relayerAddress? ​

ts
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? ​

ts
optional z?: bigint;

Defined in: @lelantos-org/sdk/dist/circuit/input.d.ts:103