RELAY_ORDER_TYPES
constRELAY_ORDER_TYPES:object
Defined in: protocol-swap2-relay/src/order.ts:84
Type Declaration
Section titled “Type Declaration”
readonlyFee: readonly [{name:"recipientChainId";type:"string"; }, {name:"recipient";type:"bytes"; }, {name:"currencyChainId";type:"string"; }, {name:"currency";type:"bytes"; }, {name:"amount";type:"uint256"; }]
readonlyInput: readonly [{name:"payment";type:"InputPayment"; }, {name:"refunds";type:"InputRefund[]"; }]
InputPayment
Section titled “InputPayment”
readonlyInputPayment: readonly [{name:"chainId";type:"string"; }, {name:"currency";type:"bytes"; }, {name:"amount";type:"uint256"; }, {name:"weight";type:"uint256"; }]
InputRefund
Section titled “InputRefund”
readonlyInputRefund: readonly [{name:"chainId";type:"string"; }, {name:"recipient";type:"bytes"; }, {name:"currency";type:"bytes"; }, {name:"minimumAmount";type:"uint256"; }, {name:"deadline";type:"uint32"; }, {name:"extraData";type:"bytes"; }]
readonlyOrder: readonly [{name:"version";type:"string"; }, {name:"solverChainId";type:"string"; }, {name:"solver";type:"address"; }, {name:"salt";type:"uint256"; }, {name:"inputs";type:"Input[]"; }, {name:"output";type:"Output"; }, {name:"fees";type:"Fee[]"; }]
Output
Section titled “Output”
readonlyOutput: readonly [{name:"chainId";type:"string"; }, {name:"payments";type:"OutputPayment[]"; }, {name:"deadline";type:"uint32"; }, {name:"calls";type:"bytes[]"; }, {name:"extraData";type:"bytes"; }]
OutputPayment
Section titled “OutputPayment”
readonlyOutputPayment: readonly [{name:"recipient";type:"bytes"; }, {name:"currency";type:"bytes"; }, {name:"minimumAmount";type:"uint256"; }, {name:"expectedAmount";type:"uint256"; }]