dxgraphs / aqua-subgraph

📊 Aqua Subgraph
https://thegraph.com/legacy-explorer/subgraph/dxgraphs/aqua-xdai
GNU Affero General Public License v3.0
1 stars 1 forks source link

Next - update mappings, schema and relationships for `FixedPriceSale` entities #67

Closed adamazad closed 3 years ago

adamazad commented 3 years ago

Entities

  1. Add FixedPriceSaleWithdrawal
  2. Add LaunchedSaleTemplate to track launched SaleTemplates.
  3. Replace FixedPriceSalePurchase with FixedPriceSaleCommitment to match contract naming convention
  4. Make templateLauncher field in AquaFactory optional.

Update explore-local

  1. Add logging with log4js
  2. Update arguments to make it work
  3. Update contracts types

Mappings

  1. Add handleTemplateLaunched to handle TemplateLaunched from TemplateLauncher

Utils

Refactor them to avoid cluttering.