├── .github └── workflows │ └── ci.yaml ├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md ├── bot ├── .env.example ├── Cargo.toml ├── README.md ├── crates │ ├── artemis-core │ │ ├── Cargo.toml │ │ ├── src │ │ │ ├── collectors │ │ │ │ ├── block_collector.rs │ │ │ │ ├── mempool_collector.rs │ │ │ │ └── mod.rs │ │ │ ├── engine.rs │ │ │ ├── executors │ │ │ │ ├── flashbots_executor.rs │ │ │ │ └── mod.rs │ │ │ ├── lib.rs │ │ │ ├── types.rs │ │ │ └── utilities │ │ │ │ ├── mod.rs │ │ │ │ └── state_override_middleware.rs │ │ └── tests │ │ │ └── main.rs │ └── strategy │ │ ├── Cargo.toml │ │ ├── src │ │ ├── abi │ │ │ ├── IERC20.abi │ │ │ ├── IUniswapV2Factory.abi │ │ │ ├── IUniswapV2Pair.abi │ │ │ ├── IUniswapV2Router.abi │ │ │ ├── IUniswapV3Factory.abi │ │ │ ├── IUniswapV3Pool.abi │ │ │ └── mod.rs │ │ ├── bot │ │ │ └── mod.rs │ │ ├── constants.rs │ │ ├── helpers.rs │ │ ├── lib.rs │ │ ├── managers │ │ │ ├── block_manager.rs │ │ │ ├── mod.rs │ │ │ ├── pool_manager.rs │ │ │ └── sando_state_manager.rs │ │ ├── simulator │ │ │ ├── huff_sando.rs │ │ │ ├── lil_router.rs │ │ │ ├── mod.rs │ │ │ └── salmonella_inspector.rs │ │ ├── tx_utils │ │ │ ├── huff_sando_interface │ │ │ │ ├── common │ │ │ │ │ ├── five_byte_encoder.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ └── weth_encoder.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── v2.rs │ │ │ │ └── v3.rs │ │ │ ├── lil_router_interface.rs │ │ │ └── mod.rs │ │ └── types.rs │ │ └── tests │ │ └── main.rs └── sando-bin │ ├── Cargo.toml │ └── src │ ├── config.rs │ ├── initialization.rs │ ├── lib.rs │ └── main.rs └── contract ├── .solhint.json ├── LICENSE ├── README.md ├── foundry.toml ├── src ├── LilRouter.sol └── sando.huff └── test ├── LilRouter.t.sol ├── Sando.t.sol └── misc ├── GeneralHelper.sol ├── SandoCommon.sol ├── V2SandoUtility.sol └── V3SandoUtility.sol /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/README.md -------------------------------------------------------------------------------- /bot/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/.env.example -------------------------------------------------------------------------------- /bot/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/Cargo.toml -------------------------------------------------------------------------------- /bot/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/README.md -------------------------------------------------------------------------------- /bot/crates/artemis-core/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/artemis-core/Cargo.toml -------------------------------------------------------------------------------- /bot/crates/artemis-core/src/collectors/block_collector.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/artemis-core/src/collectors/block_collector.rs -------------------------------------------------------------------------------- /bot/crates/artemis-core/src/collectors/mempool_collector.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/artemis-core/src/collectors/mempool_collector.rs -------------------------------------------------------------------------------- /bot/crates/artemis-core/src/collectors/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/artemis-core/src/collectors/mod.rs -------------------------------------------------------------------------------- /bot/crates/artemis-core/src/engine.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/artemis-core/src/engine.rs -------------------------------------------------------------------------------- /bot/crates/artemis-core/src/executors/flashbots_executor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/artemis-core/src/executors/flashbots_executor.rs -------------------------------------------------------------------------------- /bot/crates/artemis-core/src/executors/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/artemis-core/src/executors/mod.rs -------------------------------------------------------------------------------- /bot/crates/artemis-core/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/artemis-core/src/lib.rs -------------------------------------------------------------------------------- /bot/crates/artemis-core/src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/artemis-core/src/types.rs -------------------------------------------------------------------------------- /bot/crates/artemis-core/src/utilities/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/artemis-core/src/utilities/mod.rs -------------------------------------------------------------------------------- /bot/crates/artemis-core/src/utilities/state_override_middleware.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/artemis-core/src/utilities/state_override_middleware.rs -------------------------------------------------------------------------------- /bot/crates/artemis-core/tests/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/artemis-core/tests/main.rs -------------------------------------------------------------------------------- /bot/crates/strategy/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/Cargo.toml -------------------------------------------------------------------------------- /bot/crates/strategy/src/abi/IERC20.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/abi/IERC20.abi -------------------------------------------------------------------------------- /bot/crates/strategy/src/abi/IUniswapV2Factory.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/abi/IUniswapV2Factory.abi -------------------------------------------------------------------------------- /bot/crates/strategy/src/abi/IUniswapV2Pair.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/abi/IUniswapV2Pair.abi -------------------------------------------------------------------------------- /bot/crates/strategy/src/abi/IUniswapV2Router.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/abi/IUniswapV2Router.abi -------------------------------------------------------------------------------- /bot/crates/strategy/src/abi/IUniswapV3Factory.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/abi/IUniswapV3Factory.abi -------------------------------------------------------------------------------- /bot/crates/strategy/src/abi/IUniswapV3Pool.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/abi/IUniswapV3Pool.abi -------------------------------------------------------------------------------- /bot/crates/strategy/src/abi/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/abi/mod.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/bot/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/bot/mod.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/constants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/constants.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/helpers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/helpers.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/lib.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/managers/block_manager.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/managers/block_manager.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/managers/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/managers/mod.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/managers/pool_manager.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/managers/pool_manager.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/managers/sando_state_manager.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/managers/sando_state_manager.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/simulator/huff_sando.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/simulator/huff_sando.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/simulator/lil_router.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/simulator/lil_router.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/simulator/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/simulator/mod.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/simulator/salmonella_inspector.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/simulator/salmonella_inspector.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/tx_utils/huff_sando_interface/common/five_byte_encoder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/tx_utils/huff_sando_interface/common/five_byte_encoder.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/tx_utils/huff_sando_interface/common/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/tx_utils/huff_sando_interface/common/mod.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/tx_utils/huff_sando_interface/common/weth_encoder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/tx_utils/huff_sando_interface/common/weth_encoder.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/tx_utils/huff_sando_interface/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/tx_utils/huff_sando_interface/mod.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/tx_utils/huff_sando_interface/v2.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/tx_utils/huff_sando_interface/v2.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/tx_utils/huff_sando_interface/v3.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/tx_utils/huff_sando_interface/v3.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/tx_utils/lil_router_interface.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/tx_utils/lil_router_interface.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/tx_utils/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/tx_utils/mod.rs -------------------------------------------------------------------------------- /bot/crates/strategy/src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/src/types.rs -------------------------------------------------------------------------------- /bot/crates/strategy/tests/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/crates/strategy/tests/main.rs -------------------------------------------------------------------------------- /bot/sando-bin/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/sando-bin/Cargo.toml -------------------------------------------------------------------------------- /bot/sando-bin/src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/sando-bin/src/config.rs -------------------------------------------------------------------------------- /bot/sando-bin/src/initialization.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/sando-bin/src/initialization.rs -------------------------------------------------------------------------------- /bot/sando-bin/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/sando-bin/src/lib.rs -------------------------------------------------------------------------------- /bot/sando-bin/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/bot/sando-bin/src/main.rs -------------------------------------------------------------------------------- /contract/.solhint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "solhint:default" 3 | } 4 | -------------------------------------------------------------------------------- /contract/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/contract/LICENSE -------------------------------------------------------------------------------- /contract/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/contract/README.md -------------------------------------------------------------------------------- /contract/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/contract/foundry.toml -------------------------------------------------------------------------------- /contract/src/LilRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/contract/src/LilRouter.sol -------------------------------------------------------------------------------- /contract/src/sando.huff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/contract/src/sando.huff -------------------------------------------------------------------------------- /contract/test/LilRouter.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/contract/test/LilRouter.t.sol -------------------------------------------------------------------------------- /contract/test/Sando.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/contract/test/Sando.t.sol -------------------------------------------------------------------------------- /contract/test/misc/GeneralHelper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/contract/test/misc/GeneralHelper.sol -------------------------------------------------------------------------------- /contract/test/misc/SandoCommon.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/contract/test/misc/SandoCommon.sol -------------------------------------------------------------------------------- /contract/test/misc/V2SandoUtility.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/contract/test/misc/V2SandoUtility.sol -------------------------------------------------------------------------------- /contract/test/misc/V3SandoUtility.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mouseless0x/rusty-sando/HEAD/contract/test/misc/V3SandoUtility.sol --------------------------------------------------------------------------------