Skip to content

Smart Contract for the Aori Protocol. Built on top of Seaport.

License

Notifications You must be signed in to change notification settings

aori-io/aori-contracts

Repository files navigation

The Aori Smart Contract

.

Aori is a high-performance orderbook protocol for high-frequency trading on-chain and facilitating OTC settlement. A part of our protocol is our on-chain settlement contract used to settle Seaport orders that were matched via Aori's off-chain orderbook. The surrounding logic can be found within the single file AoriProtocol.sol.

This repo is released under the MIT License.

You can read more about the protocol in our litepaper here.


If you have any further questions, refer to the technical documentation. Alternatively, please reach out to us on Discord or on Twitter.

Deployments

Mainnets

Network Deployment Address
Mainnet (1) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4
Optimism (10) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4
Gnosis (100) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4
Polygon (137) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4
Fantom (250) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4
Canto (7700) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4
Base (8453) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4
Arbitrum (42161) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4
Celo (42220) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4
Avalanche (43114) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4

Testnets

Network Deployment Address
Goerli (5) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4
Optimism Goerli (420) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4
Polygon Mumbai (80001) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4
Arbitrum Goerli (421613) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4
Arbitrum Sepolia (421614) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4
Sepolia (11155111) 0xEF3137050f3a49ECAe2D2Bae0154B895310D9Dc4

Local development

This project uses Foundry as the development framework.

Dependencies

forge install

Compilation

forge build

Testing

forge test --fork-url https://rpc.ankr.com/eth --via-ir

You can also test using the make command which will run the above command.

Contract deployment

Please create a .env file before deployment. An example can be found in .env.example.

Dryrun

forge script script/Deploy.s.sol:DeployScript --fork-url https://rpc.ankr.com/eth_goerli --via-ir

You can also do a dry fun by using the make test-deploy command which will run the above command.

Live

forge script script/Deploy.s.sol -f [network] --verify --broadcast

About

Smart Contract for the Aori Protocol. Built on top of Seaport.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published