├── .github └── workflows │ └── test.yml ├── .gitignore ├── .gitmodules ├── .nvmrc ├── LICENSE ├── Makefile ├── README.md ├── demos ├── .eslintrc.cjs ├── README.md ├── common │ ├── ConsoleLog.tsx │ ├── Contracts.tsx │ ├── Suave.tsx │ └── assets │ │ └── flashbots.png ├── confstore │ ├── README.md │ ├── index.html │ ├── public │ │ └── favicon.png │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ └── vite.config.ts ├── package-lock.json ├── package.json ├── timelock │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── public │ │ └── favicon.png │ ├── src │ │ ├── App.css │ │ ├── App.tsx │ │ ├── index.css │ │ ├── main.tsx │ │ └── vite-env.d.ts │ └── vite.config.ts ├── tsconfig.json └── tsconfig.node.json ├── deployment.json ├── ffi ├── ffi-fetchquote-dcap.py ├── local_random.sh └── sha512.sh ├── foundry.toml ├── lib └── revm-services │ └── ExternalServices.sol ├── package.json ├── scripts ├── bootstrap_kettle.ts ├── common.ts ├── configure_tcbinfo.ts ├── deploy.ts ├── deploy_examples.ts ├── onboard_kettle.ts ├── test_examples.ts └── verify_contracts.ts ├── src ├── Andromeda.sol ├── AndromedaForge.sol ├── AndromedaRemote.sol ├── BIP32.sol ├── DcapVerifier.sol ├── IAndromeda.sol ├── KeyHelper.sol ├── KeyManager.sol ├── crypto │ ├── EllipticCurve.sol │ ├── bn256g1.sol │ ├── encryption.sol │ └── secp256k1.sol ├── examples │ ├── Auction.sol │ ├── RedisConfidentialStore.sol │ ├── SpeedrunAuction.sol │ ├── Timelock.sol │ └── httpcall.sol ├── hash │ └── IHash.sol ├── scripts │ └── TimelockSetup.sol └── utils │ ├── Utils.sol │ └── fmspc.sol ├── test ├── AndromedaForge.t.sol ├── BIP32.t.sol ├── Crypto.t.sol ├── DcapVerifier.t.sol ├── KeyManager.t.sol ├── examples │ ├── Auction.t.sol │ ├── SpeedrunAuction.t.sol │ └── Timelock.t.sol └── fixtures │ ├── quotingenclave-identity.json │ ├── tcbInfo.json │ ├── tcbInfo2.json │ └── testquote.hex └── tsconfig.json /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/.gitmodules -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v18.16.0 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/README.md -------------------------------------------------------------------------------- /demos/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/.eslintrc.cjs -------------------------------------------------------------------------------- /demos/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/README.md -------------------------------------------------------------------------------- /demos/common/ConsoleLog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/common/ConsoleLog.tsx -------------------------------------------------------------------------------- /demos/common/Contracts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/common/Contracts.tsx -------------------------------------------------------------------------------- /demos/common/Suave.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/common/Suave.tsx -------------------------------------------------------------------------------- /demos/common/assets/flashbots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/common/assets/flashbots.png -------------------------------------------------------------------------------- /demos/confstore/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/confstore/README.md -------------------------------------------------------------------------------- /demos/confstore/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/confstore/index.html -------------------------------------------------------------------------------- /demos/confstore/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/confstore/public/favicon.png -------------------------------------------------------------------------------- /demos/confstore/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/confstore/src/App.css -------------------------------------------------------------------------------- /demos/confstore/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/confstore/src/App.tsx -------------------------------------------------------------------------------- /demos/confstore/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/confstore/src/index.css -------------------------------------------------------------------------------- /demos/confstore/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/confstore/src/main.tsx -------------------------------------------------------------------------------- /demos/confstore/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /demos/confstore/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/confstore/vite.config.ts -------------------------------------------------------------------------------- /demos/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/package-lock.json -------------------------------------------------------------------------------- /demos/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/package.json -------------------------------------------------------------------------------- /demos/timelock/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/timelock/.gitignore -------------------------------------------------------------------------------- /demos/timelock/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/timelock/README.md -------------------------------------------------------------------------------- /demos/timelock/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/timelock/index.html -------------------------------------------------------------------------------- /demos/timelock/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/timelock/public/favicon.png -------------------------------------------------------------------------------- /demos/timelock/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/timelock/src/App.css -------------------------------------------------------------------------------- /demos/timelock/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/timelock/src/App.tsx -------------------------------------------------------------------------------- /demos/timelock/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/timelock/src/index.css -------------------------------------------------------------------------------- /demos/timelock/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/timelock/src/main.tsx -------------------------------------------------------------------------------- /demos/timelock/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /demos/timelock/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/timelock/vite.config.ts -------------------------------------------------------------------------------- /demos/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/tsconfig.json -------------------------------------------------------------------------------- /demos/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/demos/tsconfig.node.json -------------------------------------------------------------------------------- /deployment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/deployment.json -------------------------------------------------------------------------------- /ffi/ffi-fetchquote-dcap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/ffi/ffi-fetchquote-dcap.py -------------------------------------------------------------------------------- /ffi/local_random.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/ffi/local_random.sh -------------------------------------------------------------------------------- /ffi/sha512.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/ffi/sha512.sh -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/foundry.toml -------------------------------------------------------------------------------- /lib/revm-services/ExternalServices.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/lib/revm-services/ExternalServices.sol -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/package.json -------------------------------------------------------------------------------- /scripts/bootstrap_kettle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/scripts/bootstrap_kettle.ts -------------------------------------------------------------------------------- /scripts/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/scripts/common.ts -------------------------------------------------------------------------------- /scripts/configure_tcbinfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/scripts/configure_tcbinfo.ts -------------------------------------------------------------------------------- /scripts/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/scripts/deploy.ts -------------------------------------------------------------------------------- /scripts/deploy_examples.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/scripts/deploy_examples.ts -------------------------------------------------------------------------------- /scripts/onboard_kettle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/scripts/onboard_kettle.ts -------------------------------------------------------------------------------- /scripts/test_examples.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/scripts/test_examples.ts -------------------------------------------------------------------------------- /scripts/verify_contracts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/scripts/verify_contracts.ts -------------------------------------------------------------------------------- /src/Andromeda.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/Andromeda.sol -------------------------------------------------------------------------------- /src/AndromedaForge.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/AndromedaForge.sol -------------------------------------------------------------------------------- /src/AndromedaRemote.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/AndromedaRemote.sol -------------------------------------------------------------------------------- /src/BIP32.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/BIP32.sol -------------------------------------------------------------------------------- /src/DcapVerifier.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/DcapVerifier.sol -------------------------------------------------------------------------------- /src/IAndromeda.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/IAndromeda.sol -------------------------------------------------------------------------------- /src/KeyHelper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/KeyHelper.sol -------------------------------------------------------------------------------- /src/KeyManager.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/KeyManager.sol -------------------------------------------------------------------------------- /src/crypto/EllipticCurve.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/crypto/EllipticCurve.sol -------------------------------------------------------------------------------- /src/crypto/bn256g1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/crypto/bn256g1.sol -------------------------------------------------------------------------------- /src/crypto/encryption.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/crypto/encryption.sol -------------------------------------------------------------------------------- /src/crypto/secp256k1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/crypto/secp256k1.sol -------------------------------------------------------------------------------- /src/examples/Auction.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/examples/Auction.sol -------------------------------------------------------------------------------- /src/examples/RedisConfidentialStore.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/examples/RedisConfidentialStore.sol -------------------------------------------------------------------------------- /src/examples/SpeedrunAuction.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/examples/SpeedrunAuction.sol -------------------------------------------------------------------------------- /src/examples/Timelock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/examples/Timelock.sol -------------------------------------------------------------------------------- /src/examples/httpcall.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/examples/httpcall.sol -------------------------------------------------------------------------------- /src/hash/IHash.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/hash/IHash.sol -------------------------------------------------------------------------------- /src/scripts/TimelockSetup.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/scripts/TimelockSetup.sol -------------------------------------------------------------------------------- /src/utils/Utils.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/utils/Utils.sol -------------------------------------------------------------------------------- /src/utils/fmspc.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/src/utils/fmspc.sol -------------------------------------------------------------------------------- /test/AndromedaForge.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/test/AndromedaForge.t.sol -------------------------------------------------------------------------------- /test/BIP32.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/test/BIP32.t.sol -------------------------------------------------------------------------------- /test/Crypto.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/test/Crypto.t.sol -------------------------------------------------------------------------------- /test/DcapVerifier.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/test/DcapVerifier.t.sol -------------------------------------------------------------------------------- /test/KeyManager.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/test/KeyManager.t.sol -------------------------------------------------------------------------------- /test/examples/Auction.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/test/examples/Auction.t.sol -------------------------------------------------------------------------------- /test/examples/SpeedrunAuction.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/test/examples/SpeedrunAuction.t.sol -------------------------------------------------------------------------------- /test/examples/Timelock.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/test/examples/Timelock.t.sol -------------------------------------------------------------------------------- /test/fixtures/quotingenclave-identity.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/test/fixtures/quotingenclave-identity.json -------------------------------------------------------------------------------- /test/fixtures/tcbInfo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/test/fixtures/tcbInfo.json -------------------------------------------------------------------------------- /test/fixtures/tcbInfo2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/test/fixtures/tcbInfo2.json -------------------------------------------------------------------------------- /test/fixtures/testquote.hex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/test/fixtures/testquote.hex -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flashbots/andromeda-sirrah-contracts/HEAD/tsconfig.json --------------------------------------------------------------------------------