Comments (1)
The FrontRun Tx using Sando.huff in this repo consumes around 103k gas.
And the state of the art bots use around 86k gas. 17% less.
Ex. https://etherscan.io/tx/0xeeb288abdd22e1f2c26f3f46eef0ca769afb78910a248d3ae9de965f02cdb103
Link to the deployed contract and disassembled byte code used by them - https://library.dedaub.com/ethereum/address/0x6b75d8af000000e20b7a7ddf000ba900b4009a80/disassembled
How do we compare and port the optimizations used in this contrat into sando.huff?
This issue is meant to host the discussion around the optimizations used by sando.huff and other searcher contracts.
How are you measuring the gas used on the sando contract? Earlier this year it was very close to the top bots (couple tens to hundred gas off). Can you share the code used to test gasused? are you accounting for token dust/access list?
The tx that u reference uses a token that isn't used in the tests... gas used is different per erc20 token...
from rusty-sando.
Related Issues (20)
- What do FrontrunReverted messages mean?
- Is the source code safe for the private key? HOT 1
- Is the source code safe to run?
- panic at unwrap error, Please help!!! HOT 1
- Contracts -> Tests failing
- Cargo Tests result in "Optimal amount in: 0 not sandwichable"
- Compiling ethers-solc cannot find value `SVM_HOME` in crate `svm`
- Contract Deployment
- Always getting [huffsando: REVERT] frontrun HOT 1
- [huffsando: REVERT] frontrun HOT 2
- Recover WETH and ETH JUMPDEST HOT 4
- JUMPDEST locations are incorrect. HOT 2
- metamorphic contracts HOT 3
- Sandwish Contract and Inception Block HOT 2
- Warnings when running cargo run --release --features debug
- huff WETH HOT 2
- Compiler run failed: Error (7858)
- Cannot deploy the contract
- All tests fail.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rusty-sando.