SettlerExecute
Defined in: protocol-swap2-0x/src/settler.ts:290
Properties
Section titled “Properties”actions
Section titled “actions”actions: readonly
SettlerAction[]
Defined in: protocol-swap2-0x/src/settler.ts:299
bodyLength
Section titled “bodyLength”bodyLength:
number
Defined in: protocol-swap2-0x/src/settler.ts:301
Bytes of arguments after the 4-byte method selector.
buyToken
Section titled “buyToken”buyToken:
string
Defined in: protocol-swap2-0x/src/settler.ts:294
The token that check measures (0xEeee… for the native coin).
minAmountOut
Section titled “minAmountOut”minAmountOut:
bigint
Defined in: protocol-swap2-0x/src/settler.ts:296
The least recipient receives, or the call reverts.
recipient
Section titled “recipient”recipient:
string
Defined in: protocol-swap2-0x/src/settler.ts:292
Who Settler’s slippage check pays.
zidAndAffiliate
Section titled “zidAndAffiliate”zidAndAffiliate:
string
Defined in: protocol-swap2-0x/src/settler.ts:298
0x’s trade id and affiliate tag (not checked).
Methods
Section titled “Methods”word()
Section titled “word()”word(
offset):string
Defined in: protocol-swap2-0x/src/settler.ts:303
The argument word at byte offset, as 64 hex characters; throws when it is out of range.
Parameters
Section titled “Parameters”offset
Section titled “offset”number
Returns
Section titled “Returns”string