Overview
There are 3 main components:
- Aqua class. Creates a instance that allows developer to create sales, add sale modules and add templates. Exposes the three main contracts: AquaFactory, SaleLauncher and TemplateLauncher
- Subgraph class. Accepts the graphqhl endpoint and offers methods to read from the Subgraph.
- Sales module. Exports helper functions to interact with Aqua Sales
Others:
- Exports xDai and Rinkeby networks config.
- Exports ABI encoders
- Exports types
Examples
This library is used to start a new sale over cli, see create-fixed-price-sale.md and examples folder in general