1inch-v2-contracts icon indicating copy to clipboard operation
1inch-v2-contracts copied to clipboard

data bytes in CallDescription

Open the-fool opened this issue 3 years ago • 5 comments

https://github.com/1inch-exchange/1inch-v2-contracts/blob/72f2812837fdd73ec2d32c8988811df361e80985/contracts/interfaces/IOneInchCaller.sol#L16

Great application.

I am trying to understand the arguments to the unimplemented function makeCalls here.

For a test transaction, I can see that my input to the function has data set to `

0xb3af37c000000000000000000000000000000000000000000000000000000000000000808000000000000000000000000000000000000000000000000000000000000024000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000001400000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002445636885000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f00000000000000000000000083314c5f8bab1f01a5f64e01cda3c4a0ea75b6ba00000000000000000000000083314c5f8bab1f01a5f64e01cda3c4a0ea75b6ba0000000000000000000000000000000000000000000000002789438280458ffd000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000002a1530c4c41db0b0b2bb646cb5eb1a67b715866700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011c37937e0800000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000064ad65d76d0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000005fd0169e00000000000000000000000083314c5f8bab1f01a5f64e01cda3c4a0ea75b6ba0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000`

Is the structure of this data documented anywhere? Or the implementation of makeCalls available so that I can grok what it going on?

the-fool avatar Dec 09 '20 16:12 the-fool

why closing? I am also interested in description of makeCalls

RomanHiden avatar Sep 03 '21 15:09 RomanHiden

I wonder if the 1inch team will help us out . . .

the-fool avatar Sep 03 '21 21:09 the-fool

only two issues ? Are they active at GitHub ?
Since they have made V3 version unopen-sourced, maybe it's their secret now, they said you should use API. I don't think they will help.

qct avatar Oct 20 '21 11:10 qct

A lot of people using this for front run and back run, so it is their secret weapons to make money. Do not expert people to share their money making machine with you...

yoongyy avatar Feb 22 '22 05:02 yoongyy

OneInchCaller implementation, please

eulerbeat5 avatar May 25 '23 20:05 eulerbeat5