and bytecode for tokens? for example, checking taxes and dead blocks from block x - block x
Hardhat, foundry... you can use pretty much any toolsuite to do that
May I get the knowledge from you of how to achieve that?
Are you familiar with using any of these toolsuites?
Sort of I guess? is it like using hard hat to deploy the contract using Abi and byte code? And then simulate?
Yeah that's it. You can write a test script which does all the things you need
But 1 thing I’m curious is, how do I read which are the functions/methods that do this and that? For example, identifying which method will open trading (let’s say if people want to snipe)
That's pretty much impossible to know without having the actual contract code. Abi only returns function selectors. I can name my function superSafeTokenFunction and use that to rugpull
What if let’s say, before moving on to do the simulation, I can get the verified source code , not only the Abi
Without manual checking: hard but not impossible. You can do some static analysis and figure out which function do what
So meaning to say like , identify certain keywords and certain basic functions to determine which methods does what?
Have a list of commonly used function sigs and check if that's present, check for setters which changes something that directly affects the transfer function...
Обсуждают сегодня