calldata compression via RLP

Calldata:
b32f10b7
0000000000000000000000000000000000000000000000000000000000000140
0000000000000000000000000000000000000000000000000000000000000180
0000000000000000000000000000000000000000000000000000000000000004
0000000000000000000000000000000000000000000000000000000000000001
0000000000000000000000000000000000000000000000000000000000000200
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000380
0000000000000000000000000000000000000000000000000000000000000001
0000000000000000000000000000000000000000000000000000000000000001
00000000000000000000000000000000000000000000000000000000000003c0
0000000000000000000000000000000000000000000000000000000000000001
0000000000000000000000000000000000000000000000000000000000000aaa
0000000000000000000000000000000000000000000000000000000000000003
0000000000000000000000000000000000000000000000000000000000000007
000000000000000000000000000000000000000000000000000000000000000f
000000000000000000000000000000000000000000000000000000000000ffff
0000000000000000000000000000000000000000000000000000000000000060
00000000000000000000000000000000000000000000000000000000000000c0
0000000000000000000000000000000000000000000000000000000000000120
0000000000000000000000000000000000000000000000000000000000000001
0102030405000000000000000000000000000000000000000000000000000000
060708090a000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000001
0b0c0d0e0f000000000000000000000000000000000000000000000000000000
1011121314000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000001
1516171819000000000000000000000000000000000000000000000000000000
1a1b1c1d1e000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000004
61686f7900000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000002
ff0bff0aff09ff08ff07ff06ff05ff04ff03ff02ff01ff000000000000000000
08000f07000e06000d00050c04000b03000a0200090100080000000000000000
Compressed:
b32f10b7
(function selector)
plus RLP
c3820aaac5070f82ffffc20401eacdcc85010203040585060708090acdcc850b
0c0d0e0f851011121314cdcc851516171819851a1b1c1d1e808461686f79c201
01f298ff0bff0aff09ff08ff07ff06ff05ff04ff03ff02ff01ff009808000f07
000e06000d00050c04000b03000a020009010008
This is for the example function foo(address[],uint56[],(uint8,bool),bytes5[2][][3],bool,string,bool[2],function[])
Code snippet which uses my Java library: https://pastebin.com/signvzey
submitted by /u/herospidermine
[link] [comments]