Skip to content

AES is a proprietary arbitrage execution engine designed for high-frequency trading on decentralized finance (DeFi) networks. It discovers opportunities, validates cycles, and executes profitably within Ethereum’s block space using ephemeral contracts and MEV bundling. AES is not open source — this repository only contains documentation, licensing

License

Notifications You must be signed in to change notification settings

74Thirsty/Atomic-Execution-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 

Repository files navigation

⚡ Atomic Execution System (AES)


📖 Overview

AES is a proprietary arbitrage execution engine designed for high-frequency trading on decentralized finance (DeFi) networks. It discovers opportunities, validates cycles, and executes profitably within Ethereum’s block space using ephemeral contracts and MEV bundling.

AES is not open source — this repository only contains documentation, licensing, and supporting materials.

AES Philosophy

AES is not designed for convenience. It is designed to survive.

  • Deterministic by design.
    Every pipeline runs in a fixed order with no hidden branches or discretionary steps.

  • Overbuilt, never optimized.
    The system prioritizes redundancy, logging, and hard walls over efficiency.

  • Custody first, execution second.
    Treasury protection is the primary rule; profits are secondary to custody.

  • No single point of failure.
    Every layer—Safe, contracts, allocators, pipelines—assumes compromise is possible and isolates blast radius.

These principles define every module of AES, from custody flows to arbitrage discovery.


Highlights

⚡ High-speed Flashbots execution
🛡️ Ephemeral contract architecture
📊 Path validation & risk controls
🌍 Multi-chain ready (ETH, L2s, more)
💱 Token-agnostic (ERC-20 compatible)
🔒 Proprietary discovery algorithms
🧾 Structured execution logging
🧪 Two-stage validation pipeline
🎯 Streaming profitable cycles
🧠 ML-enhanced path scoring
💰 “Safe Payouts” now Gnosis Safe
🕵️ Forensic audit trail hooks

🎥 Demo: AES in Action !!TEMPORARILY PULLED VIDEO FOR REDACTION!!

AES Demo


AES has demonstrated rapid path discovery with significant profit potential. This demo shows AES identifying $40,000+ in arbitrage paths within 1 minute. Contracts aren’t even deployed yet — this is pure discovery power.


📂 Repository Contents

🔒 Proprietary Software — Restricted License

This project, AES, implements proprietary algorithms and infrastructure, including the Reactive Profitable Zone Expansion (RPZE) methodology. Use strictly conditioned on execution of the License Agreement.


⚠️ License Notice

If you don’t agree, you have zero rights to use this project. Because of its proprietary nature, no source code, binaries, or infrastructure are provided under this repository except as licensed. Only Outputs may be delivered to licensed users.


Legal

  • Governed by Iowa law.
  • Exclusive venue: Woodbury County District Court (Sioux City, Iowa) / Northern District of Iowa (Sioux City, IA)
  • All rights reserved © Licensor.

🔒 Security Above All

Every design choice in this system begins and ends with security. Profit is meaningless if your capital can be drained — so we architected AES with the principle that safety comes first, everything else follows.

  • Minimal on-chain code. Our executor is <70 lines, fully auditable, and free of hidden complexity.
  • Ephemeral execution. Contracts are deployed, used, and destroyed in the same transaction. No idle state, no honeypots.
  • Off-chain intelligence. Trade logic lives in Python, not Solidity. Attackers can’t reverse-engineer what isn’t on-chain.
  • Vault-protected profits. A hardened multisig vault is the only permanent address. Execution contracts rotate, ensuring no static hotkeys.
  • Audit-ready. Every cycle is logged. Security does not come at the expense of transparency or compliance.

This isn’t a script-kiddie bot. It’s a production-grade arbitrage engine, built with the same principle taught in every serious smart contract course:

Security > Speed. Security > Features. Security > Profit.


📁 Project Structure

📁 arbitrage/
├── 📁 src/
│   ├── 📁 contracts/
│   ├── 📁 data/
│   ├── 📁 logic/
│   ├── 📁 plugins/
│   ├── 📁 tests/
│   └── 📁 utils/
└── 📄 LICENSE.md

(full file list redacted)


⚙️ Pipeline Architecture

1. 💰 Loan Pipeline — LoanManager

  • Collects, normalizes, and aggregates liquidity data from loan providers.

2. 🔄 Trade Pipeline — TradeManager

  • Collects and normalizes trade routes; builds edges into the liquidity graph.

3. 🔧 Graph Pipeline — GraphManager

  • Builds and maintains directed weighted graph of liquidity and swaps.

4. 🔍 Arbitrage Discovery — ArbitrageManager

  • Uses a custom, repurposed Bellman-Ford and RPZE to identify profitable cycles.

5. 🚀 Execution — ExecutionManager

  • Groups paths into bundles, constructs calldata, and submits to Flashbots.

6. 🔐 Wallet Management — WalletManager

  • Ephemeral wallet rotation, draining, and lifecycle control.

📦 Data Storage Design

Data SharedState Cache File Persisted
loan_data optional
loanable_tokens optional
graph .graphml/json
valid_profit_paths
execution_log ✅ append ✅ if configured

🧪 Testing

Run test suite:

pytest src/tests/

🔐 Security Notes

• Ephemeral wallets rotate automatically and only sign transactions, never contains funds
• Contracts are deployed via CREATE2 and self-destruct after execution (EIP-6780 safe)
• Sensitive keys isolated in .env.secure with validation on load
• Execution routed exclusively through Flashbots — never touches mempool
• Logs filtered to exclude sensitive token/metadata
• Out-of-band Discord alerts (optional) for validation and execution results


🗂️ Reference

  • 📄 Function_Index.md — Global function/utility map

About

AES is a proprietary arbitrage execution engine designed for high-frequency trading on decentralized finance (DeFi) networks. It discovers opportunities, validates cycles, and executes profitably within Ethereum’s block space using ephemeral contracts and MEV bundling. AES is not open source — this repository only contains documentation, licensing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published