This repo contains the contracts to the Superhero decentralized exchange (DEX).
The Superhero DEX consists of multiple parts:
Find a hosted version of the interface over at aepp.dex.superhero.com or feel free to run it on your own machine following these instructions:
In April 2022 QuviQ provided an audit for the contracts. Please find the report in this repo. The audit contains no further recommendations or actions that need to be performed to ensure a secure dex contract.
Under no circumstances, whether in tort (including negligence), contract, or otherwise, unless required by applicable law, shall Aeternity Anstalt be liable for damages, including any direct, indirect, special, incidental, or consequential damages of any nature arising out of the deployment or use of this smart contract, notwithstanding that Aeternity Anstalt may have been advised of the possibility of such damages.
make install
make run-node
make stop-node
make test
You have to set 3 Environment variables
SECRET_KEY
the secret key of the walletNETWORK_NAME
the destination network (local
|testnet
|mainnet
)FEE_TO_SETTER
the initial address for thefee_to_setter
from theAedexV2Factory
. Note: initially thestate.fee_to
is disabled, this is used just to set who is entitled to change thefee_to
mode
and run
make deploy
The official deployed contract addresses
- Factory:
ct_2mfj3FoZxnhkSw5RZMcP8BfPoB1QR4QiYGNCdkAvLZ1zfF6paW
- Router
ct_azbNZ1XrPjXfqBqbAh1ffLNTQ1sbnuUDFvJrXjYz7JQA1saQ3
- Wrapped AE:
ct_J3zBY8xxjsRr3QojETNw48Eb38fjvEuJKkQ6KzECvubvEcvCa
- Factory:
ct_NhbxN8wg8NLkGuzwRNDQhMDKSKBwDAQgxQawK7tkigi2aC7i9
- Router
ct_MLXQEP12MBn99HL6WDaiTqDbG4bJQ3Q9Bzr57oLfvEkghvpFb
- Wrapped AE:
ct_JDp175ruWd7mQggeHewSLS1PFXt9AzThCDaFedxon8mF8xTRF