terminal-fi / swappa

Framework for executing cross-DEX token swaps
MIT License
20 stars 13 forks source link

Backfill missing / new Mobius stable swap pools #17

Closed diwu1989 closed 2 years ago

diwu1989 commented 2 years ago

source for pool addresses: https://github.com/mobiusAMM/mobius-interface/blob/main/src/constants/StablePools.ts

New additions: pCELOv2, pUSDv2, pEURv2, and atUST

Caveat that the ube token default list has NOT been updated to include atUST yet. Token json for atUST:

  {
    "address": "0xEd193C4E69F591E42398eF54DEa65aa1bb02835c",
    "name": "UST Terra",
    "symbol": "atUST",
    "chainId": 42220,
    "decimals": 18,
    "logoURI": "https://raw.githubusercontent.com/kyscott18/default-token-list/master/assets/asset_UST.png"
  }
zviadm commented 2 years ago

I am trying to just integrate this: https://github.com/mobiusAMM/PoolRegistry/blob/main/contracts/AddressProvider.vy so we don't have to manually update pools.

But it is some vyper BS so i am taking a bit longer to get it to work.

diwu1989 commented 2 years ago

image