iclighthouse / DexAggregator

Aggregate DEX pairs on IC, provides trading pair listings and routing, trading pair evaluations, and DEX trading competitions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DexAggregator

Aggregate DEX pairs on IC, provides trading pair listings and routing, trading pair evaluations, and DEX trading competitions.

Pair Score (trading pair evaluations)

Pair scoring rule (pair_score = score1 + score2 + score3)

  • score1 (max 70)
    • (Not verified) ListingReferrer Propose: +10 per Sponsor
    • Verified ListingReferrer Propose: +15 per Sponsor
    • Sponsored (Sponsors >= 5): +10
  • score2 (max 20)
    • Set a score through DAO proposal. Typically, this is scored as 0. Only trading pairs of well-known or special contributing projects will have a score set by the proposal. For projects launched in SNS, it is recommended to set 5 to 20 points depending on the crowdsale capacity.
  • score3
    • (pair_vol_token1_usd / 10000 / max(years, 1)) ^ 0.5 / 2 + (pair_liquidity_token1_usd / 10000) ^ 0.5 * 2

Upgrade rules

  • A new trading pair defaults to STAGE0.
  • Upgrade from STAGE0 to STAGE1: pair_score >= 20.
  • Upgrade from STAGE1 to STAGE2: pair_score >= 60, for at least one month.

Degrade rules

  • Degrade from STAGE2 to STAGE1: pair_score < 50, for at least three months.
  • Degrade from STAGE1 to STAGE0: pair_score < 15, for at least three months.

Display of trading pairs in DEX UI

  • STAGE0 implies too much unknown risk and it is not recommended to show a list of STAGE0 pairs.
  • STAGE1 implies that some traders are concerned and need to keep watching the risk.
  • STAGE2 implies that more traders are concerned and need to keep watching the risk.

Canisters

Tools & Dependencies

Testnet

  • Canister-id: pwokq-miaaa-aaaak-act6a-cai
  • Module hash: a162c647312badd97772b4ce89c28c873506c3b4f26a204ddf32ae99c5fd1cfe
  • Version: 0.8.9
  • Build: { "args": "--compacting-gc" }

Disclaimer

Pair Score is an automatic evaluation mechanism of DexAggregator for trading pairs, which is based on the comprehensive evaluation of the number of sponsors, liquidity, volume, etc. It is for your reference only, and is not considered as investment advice.

About

Aggregate DEX pairs on IC, provides trading pair listings and routing, trading pair evaluations, and DEX trading competitions.

License:GNU General Public License v3.0


Languages

Language:Motoko 95.1%Language:Dhall 4.9%