Skip to content

ABI Calldata Encode Decode Test Case

Tiny熊 edited this page Mar 3, 2023 · 1 revision

transferFrom(address,address,uint256)

0x23b872dd0000000000000000000000008ba1f109551bd432803012645ac136ddd64dba72000000000000000000000000ab7c8803962c0f2f5bbbe3fa8bf41cd82aa1923c0000000000000000000000000000000000000000000000000de0b6b3a7640000

collectFromTiles((int256,int256,int256)[],uint8,bytes32,bytes32) collectFromTiles((int256,int256,int256 )[] zzz,uint8 dddd,bytes32 dd,bytes32 d )

0xf77d978d0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001b7218fe59a17fac3a2d22d21300e1a2e5b7a4dcf7a6763e6d0ba0dd758aeef8ae0c8bfde10aac0e20c7f0a6314bd3feac7ea48c5e287b5f3b83da3f9c3dffeaef0000000000000000000000000000000000000000000000000000000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000002

multicall(bytes[])

0xac9650d80000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000104414bf389000000000000000000000000c2132d05d31c914a87c6611c10748aeb04b58e8f000000000000000000000000728d06c26be85ebc8efa334453863b1df00ec4930000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000d8673413c05265d062ae7956c77689740e3d34bd0000000000000000000000000000000000000000000000000000000063f73045000000000000000000000000000000000000000000000000000000000700125a0000000000000000000000000000000000000000000000730e4365fc542648c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))

0x414bf389000000000000000000000000c2132d05d31c914a87c6611c10748aeb04b58e8f000000000000000000000000728d06c26be85ebc8efa334453863b1df00ec4930000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000d8673413c05265d062ae7956c77689740e3d34bd0000000000000000000000000000000000000000000000000000000063f73045000000000000000000000000000000000000000000000000000000000700125a0000000000000000000000000000000000000000000000730e4365fc542648c00000000000000000000000000000000000000000000000000000000000000000

multicall(bytes[])

0xac9650d800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000001e4e626cf89000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000063ef3c5f000000000000000000000000000000000000000000000000000000000000001c01e8acf87c27335afc7879bceae4de8d72a935fcda7d90756d24252ce613f83c34518edbfc5f3e695a76bf687941cb44f546b78c9eec2b351b40c9bc4fd13d3e000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000015180000000000000000000000000000000000000000000000000000000000002a300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d2fbd0ed00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000b5e620f4800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006459bfb274000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b5e620f480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000247d41fdd9000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000

permitStage(uint256,uint256[],uint256[],uint8,uint256,uint256,uint8,bytes32,bytes32)

0xe626cf89000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000063ef3c5f000000000000000000000000000000000000000000000000000000000000001c01e8acf87c27335afc7879bceae4de8d72a935fcda7d90756d24252ce613f83c34518edbfc5f3e695a76bf687941cb44f546b78c9eec2b351b40c9bc4fd13d3e000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000015180000000000000000000000000000000000000000000000000000000000002a300

execute(bytes commands,bytes[] inputs,uint256 deadline)

0x3593564c000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000063fff5f300000000000000000000000000000000000000000000000000000000000000010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000ad78ebc5ac6200000000000000000000000000000000000000000000000000000000000005f65cd7f00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000042e5417af564e4bfda1c483642db72007871397896000bb80d500b1d8e8ef31e21c99d1db9a6444d3adf12700001f4c2132d05d31c914a87c6611c10748aeb04b58e8f000000000000000000000000000000000000000000000000000000000000

编码:transferFrom(address,address,uint256)

0x8ba1f109551bD432803012645Ac136ddd64DBA72 0xaB7C8803962c0f2F5BBBe3FA8bf41cd82AA1923C 1000000000000000000