Open kapisolec opened 1 year ago
It seems to decode the UniV3 multicall function failed?
decodeUniV3Router2SwapData decoded_data:[('uint256', 'deadline', 1684440993), ('bytes[]', 'data', (b"\xb8X\x18?\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00h\xb3FX3\xfbr\xa7\x0e\xcd\xf4\x85\xe0\xe4\xc7\xbd\x86e\xfcE\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xac\xe4'\x99\x7f\xe2\xba\xa4V[J\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06K\x9e\x89\xa8@\xd7x\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00+\x1e\x91~vK\xc3M;\xc3\x13\xfe\x81Y\xa6\xbd\x9d\x9f\xfdE\r\x00\x0b\xb8\xc0*\xaa9\xb2#\xfe\x8d\n\x0e\\O'\xea\xd9\x08<ul\xc2\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", b'I@K|\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06K\x9e\x89\xa8@\xd7x\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xaf#X\xe9\x86\x83&\\\xbd:HP\x91#\xd3\x90\xdd\xf5E4'))]
Hello, I was wondering if there is any SDK or library that would help me with decompiling/parsing data parameter (which is
bytes[]
) provided inmulticall()
function? I'm writing a transaction aggregator and only thing I really need is swap function with tokens in and out and amounts.Eg.