169 похожих чатов

Does anyone knows how to simulate sell/buy/transfer using contract abi

and bytecode for tokens? for example, checking taxes and dead blocks from block x - block x

11 ответов

12 просмотров

Hardhat, foundry... you can use pretty much any toolsuite to do that

Grayson- Автор вопроса
Grim (Travelling)
Hardhat, foundry... you can use pretty much any to...

May I get the knowledge from you of how to achieve that?

Grayson
May I get the knowledge from you of how to achieve...

Are you familiar with using any of these toolsuites?

Grayson- Автор вопроса
Grim (Travelling)
Are you familiar with using any of these toolsuite...

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

Grayson- Автор вопроса
Grim (Travelling)
Yeah that's it. You can write a test script which ...

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)

Grayson
But 1 thing I’m curious is, how do I read which ar...

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

Grayson- Автор вопроса
Grim (Travelling)
That's pretty much impossible to know without havi...

What if let’s say, before moving on to do the simulation, I can get the verified source code , not only the Abi

Grayson
What if let’s say, before moving on to do the simu...

Without manual checking: hard but not impossible. You can do some static analysis and figure out which function do what

Grayson- Автор вопроса
Grim (Travelling)
Without manual checking: hard but not impossible. ...

So meaning to say like , identify certain keywords and certain basic functions to determine which methods does what?

Grayson
So meaning to say like , identify certain keywords...

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...

Похожие вопросы

Обсуждают сегодня

а зачем этот вопрос для удаления из чата?
Mёdkinson Medvezhkin
63
Добрый день. Хочу сделать отрисовку по команде на панели. Почему-то рисуется только при втором вызове. С чем может быть связано, не подскажете? procedure TForm1.FormDblClick(...
Kirill Filippenok
20
Всем доброго дня! Подскажите может кто использовал связку Pagebuilder + Clientsetting. Сами параметры с типом pagebuilder в модуле Clientsetting работают нормально, можно такж...
Александр Добриков
12
А почему в си некоторые вещи работают с двойными кавычками некоторые с одинарными? Нельзя было все сделать с одними или чтоб работало с разными? например чтоб выводить строки ...
.
15
Всем привет! Нужен совет от опытных. Переношу свой проект с Делфи 10.2 Токио на Лазарус 3.2 установленный через инсталлятор fpcupdeluxe-x86_64-win64. При импортировании проект...
Дмитрий Завгородний
7
Всем привет! Подскажите. Я написал приложение на Delphi 10.2 Tokyo под Windows 10. И передо мной стал вопрос о том чтобы сделать это приложение кроссплатформенным (под Linux и...
Дмитрий Завгородний
24
Good afternoon, I just started learning php in conjunction with mysql. I am registering a system on a local Mamp server using phpMyAdmin. It seems to be stored normally in the...
ManGo
1
Эх кто-то пришел и весь праздник испортил :( You need complex FBX scene importing setup to change things on import? good luck with that. You need navigation and pathfinding? g...
Serg Gini
5
Добрый день! Такая проблема возникла, написал код на Python, который компилирует, собирает и запускает файлы .s А в случае работы нужно то же самое делать для .asm Чем эти фа...
A Mori
5
Всем привет! procedure TForm1.FormCreate(Sender: TObject); type TStartEnd = record S: Byte; E: Byte; end; var a, b: TStartEnd; begin {1} a.S := 1; {2} a.E := 2; ...
Руслан Михайлович
10
Карта сайта