Skip to content
docs

RELAY_ORDER_TYPES

const RELAY_ORDER_TYPES: object

Defined in: protocol-swap2-relay/src/order.ts:84

readonly Fee: readonly [{ name: "recipientChainId"; type: "string"; }, { name: "recipient"; type: "bytes"; }, { name: "currencyChainId"; type: "string"; }, { name: "currency"; type: "bytes"; }, { name: "amount"; type: "uint256"; }]

readonly Input: readonly [{ name: "payment"; type: "InputPayment"; }, { name: "refunds"; type: "InputRefund[]"; }]

readonly InputPayment: readonly [{ name: "chainId"; type: "string"; }, { name: "currency"; type: "bytes"; }, { name: "amount"; type: "uint256"; }, { name: "weight"; type: "uint256"; }]

readonly InputRefund: 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"; }]

readonly Order: 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[]"; }]

readonly Output: readonly [{ name: "chainId"; type: "string"; }, { name: "payments"; type: "OutputPayment[]"; }, { name: "deadline"; type: "uint32"; }, { name: "calls"; type: "bytes[]"; }, { name: "extraData"; type: "bytes"; }]

readonly OutputPayment: readonly [{ name: "recipient"; type: "bytes"; }, { name: "currency"; type: "bytes"; }, { name: "minimumAmount"; type: "uint256"; }, { name: "expectedAmount"; type: "uint256"; }]