Relayer Calls
Last updated
tip = abi.encode(
token, // address
amount, // uint128
recv) // address signature = abi.encode(
v, // uint8
r, // uint256
s) // uint256 const domain = {
name: "CrocSwap",
chainId: [chain ID],
verifyingContract: [CrocSwapDex contract address],
version: "1.0"
}CrocRelayerCall: [
{ name: "callpath", type: "uint8"},
{ name: "cmd", type: "bytes" },
{ name: "conds", type: "bytes" },
{ name: "tip", type: "bytes" }
]