Latest core-v1 and peripheral contract deployed addresses, ABIs and interfaces
| Name | Address | Interface |
|---|---|---|
| Ammalgam Factory | 0xda528b5e8B9F2cA274bEC5837D32674E184833A2 |
IAmmalgamFactory |
| Ammalgam Peripheral | 0x737Da85F70db0d93b9d2C189AA7fba0841b8463B |
IPeripheral |
This repo contains the interfaces for the core-v1 contracts of the Ammalgam Protocol. We will be exposing more once we have completed audits and are closer to launching.
The main two contracts are the IAmmalgamFactory and the IAmmalgamPair. These work similarly
to the Uniswap V2 Factory and Pair. Note that the IAmmalgamPair inherits the ITokenController which exposes additional information
about the pair.
The pair mints 6 different tokens for each possible position, mint L, deposit X or Y, borrow X or Y, and borrow L. Each token type can be found in the tokens folder.
The IAmmalgamCallee can be used to run operations in the middle of the swap, borrow, and borrowLiqudity calls in the Ammalgam Pair.
If you have additional questions please reach out in Discord, and we will attempt to help.