From 88d312ed6cf1bfb9260c3446ecc4897a704d51ba Mon Sep 17 00:00:00 2001 From: Georges KABBOUCHI Date: Tue, 19 Apr 2022 14:02:26 +0300 Subject: [PATCH] Add optimism network and switch to 1inch v4 closes #39 --- assets/icons/currencies/1inch.svg | 0 assets/icons/currencies/aave.svg | 19 +- assets/icons/currencies/ageur.svg | 36 ++ assets/icons/currencies/ampl.svg | 10 + assets/icons/currencies/ape.svg | 38 ++ assets/icons/currencies/avax.svg | 4 +- assets/icons/currencies/bal.svg | 0 assets/icons/currencies/bat.svg | 0 assets/icons/currencies/bnb.svg | 0 assets/icons/currencies/btc2xfli.svg | 0 assets/icons/currencies/busd.svg | 0 assets/icons/currencies/cbat.svg | 0 assets/icons/currencies/cbtc.svg | 0 assets/icons/currencies/cdai.svg | 0 assets/icons/currencies/ceth.svg | 0 assets/icons/currencies/comp.svg | 0 assets/icons/currencies/crep.svg | 0 assets/icons/currencies/crv.svg | 0 assets/icons/currencies/csai.svg | 0 assets/icons/currencies/cusdc.svg | 0 assets/icons/currencies/cusdt.svg | 0 assets/icons/currencies/custom.svg | 0 assets/icons/currencies/czrx.svg | 0 assets/icons/currencies/dai.svg | 0 assets/icons/currencies/dgx.svg | 0 assets/icons/currencies/dpi.svg | 0 assets/icons/currencies/enj.svg | 0 assets/icons/currencies/ens.svg | 21 + assets/icons/currencies/eth.svg | 19 +- assets/icons/currencies/eth2xfli.svg | 0 assets/icons/currencies/eurs.svg | 21 + assets/icons/currencies/fei.svg | 11 + assets/icons/currencies/frax.svg | 10 + assets/icons/currencies/ftm.svg | 15 + assets/icons/currencies/fusdt.svg | 17 + assets/icons/currencies/ghst.svg | 18 + assets/icons/currencies/gunidaiusdc.svg | 0 assets/icons/currencies/gusd.svg | 0 assets/icons/currencies/inst.svg | 0 assets/icons/currencies/jeur.svg | 79 ++++ assets/icons/currencies/knc.svg | 0 assets/icons/currencies/lend.svg | 0 assets/icons/currencies/link.svg | 0 assets/icons/currencies/looks.svg | 11 + assets/icons/currencies/lqty.svg | 0 assets/icons/currencies/lrc.svg | 0 assets/icons/currencies/lusd.svg | 0 assets/icons/currencies/mana.svg | 0 assets/icons/currencies/matic.svg | 0 assets/icons/currencies/mkr.svg | 0 assets/icons/currencies/omg.svg | 0 assets/icons/currencies/poly.svg | 0 assets/icons/currencies/qi.svg | 16 + assets/icons/currencies/rai.svg | 4 +- assets/icons/currencies/ren.svg | 0 assets/icons/currencies/renbtc.svg | 0 assets/icons/currencies/renfil.svg | 10 + assets/icons/currencies/rep.svg | 0 assets/icons/currencies/sai.svg | 0 assets/icons/currencies/salt.svg | 0 assets/icons/currencies/sbtc.svg | 0 assets/icons/currencies/snt.svg | 0 assets/icons/currencies/snx.svg | 0 assets/icons/currencies/steth.svg | 17 + assets/icons/currencies/stkaave.svg | 0 assets/icons/currencies/susd.svg | 0 assets/icons/currencies/sushi.svg | 0 assets/icons/currencies/tusd.svg | 0 assets/icons/currencies/uni.svg | 0 assets/icons/currencies/uniaaveeth.svg | 0 assets/icons/currencies/unidaieth.svg | 0 assets/icons/currencies/unidaiusdt.svg | 0 assets/icons/currencies/unidaiwbtc.svg | 0 assets/icons/currencies/unidaiyfi.svg | 0 assets/icons/currencies/unilinketh.svg | 0 assets/icons/currencies/uniunieth.svg | 0 assets/icons/currencies/uniusdcdai.svg | 0 assets/icons/currencies/uniusdceth.svg | 0 assets/icons/currencies/uniusdteth.svg | 0 assets/icons/currencies/uniwbtceth.svg | 0 assets/icons/currencies/usdc.svg | 13 +- assets/icons/currencies/usdce.svg | 1 + assets/icons/currencies/usdp.svg | 16 + assets/icons/currencies/usdt.svg | 0 assets/icons/currencies/usdte.svg | 1 + assets/icons/currencies/ust.svg | 40 ++ assets/icons/currencies/wavax.svg | 0 assets/icons/currencies/wbtc.svg | 0 assets/icons/currencies/weth.svg | 0 assets/icons/currencies/wftm.svg | 15 + assets/icons/currencies/wmatic.svg | 23 + assets/icons/currencies/wsteth.svg | 24 + assets/icons/currencies/xsushi.svg | 0 assets/icons/currencies/yfi.svg | 0 assets/icons/currencies/zil.svg | 0 assets/icons/currencies/zrx.svg | 0 assets/icons/optimism.svg | 8 + composables/swap/use1InchSwap.ts | 2 +- composables/useBalances.ts | 46 +- composables/useNetwork.ts | 45 +- connectors/index.ts | 9 +- constant/addresses.ts | 11 + constant/atokens.ts | 66 ++- constant/atokensV2.ts | 159 +++++-- constant/ctokens.ts | 47 +- constant/tokens.ts | 562 +++++++++++++++++++++--- layouts/default.vue | 63 +-- package.json | 2 +- pages/1inch.vue | 4 +- pages/index.vue | 30 +- yarn.lock | 8 +- 111 files changed, 1247 insertions(+), 324 deletions(-) mode change 100644 => 100755 assets/icons/currencies/1inch.svg mode change 100644 => 100755 assets/icons/currencies/aave.svg create mode 100755 assets/icons/currencies/ageur.svg create mode 100755 assets/icons/currencies/ampl.svg create mode 100755 assets/icons/currencies/ape.svg mode change 100644 => 100755 assets/icons/currencies/avax.svg mode change 100644 => 100755 assets/icons/currencies/bal.svg mode change 100644 => 100755 assets/icons/currencies/bat.svg mode change 100644 => 100755 assets/icons/currencies/bnb.svg mode change 100644 => 100755 assets/icons/currencies/btc2xfli.svg mode change 100644 => 100755 assets/icons/currencies/busd.svg mode change 100644 => 100755 assets/icons/currencies/cbat.svg mode change 100644 => 100755 assets/icons/currencies/cbtc.svg mode change 100644 => 100755 assets/icons/currencies/cdai.svg mode change 100644 => 100755 assets/icons/currencies/ceth.svg mode change 100644 => 100755 assets/icons/currencies/comp.svg mode change 100644 => 100755 assets/icons/currencies/crep.svg mode change 100644 => 100755 assets/icons/currencies/crv.svg mode change 100644 => 100755 assets/icons/currencies/csai.svg mode change 100644 => 100755 assets/icons/currencies/cusdc.svg mode change 100644 => 100755 assets/icons/currencies/cusdt.svg mode change 100644 => 100755 assets/icons/currencies/custom.svg mode change 100644 => 100755 assets/icons/currencies/czrx.svg mode change 100644 => 100755 assets/icons/currencies/dai.svg mode change 100644 => 100755 assets/icons/currencies/dgx.svg mode change 100644 => 100755 assets/icons/currencies/dpi.svg mode change 100644 => 100755 assets/icons/currencies/enj.svg create mode 100755 assets/icons/currencies/ens.svg mode change 100644 => 100755 assets/icons/currencies/eth.svg mode change 100644 => 100755 assets/icons/currencies/eth2xfli.svg create mode 100755 assets/icons/currencies/eurs.svg create mode 100755 assets/icons/currencies/fei.svg create mode 100755 assets/icons/currencies/frax.svg create mode 100755 assets/icons/currencies/ftm.svg create mode 100755 assets/icons/currencies/fusdt.svg create mode 100755 assets/icons/currencies/ghst.svg mode change 100644 => 100755 assets/icons/currencies/gunidaiusdc.svg mode change 100644 => 100755 assets/icons/currencies/gusd.svg mode change 100644 => 100755 assets/icons/currencies/inst.svg create mode 100755 assets/icons/currencies/jeur.svg mode change 100644 => 100755 assets/icons/currencies/knc.svg mode change 100644 => 100755 assets/icons/currencies/lend.svg mode change 100644 => 100755 assets/icons/currencies/link.svg create mode 100755 assets/icons/currencies/looks.svg mode change 100644 => 100755 assets/icons/currencies/lqty.svg mode change 100644 => 100755 assets/icons/currencies/lrc.svg mode change 100644 => 100755 assets/icons/currencies/lusd.svg mode change 100644 => 100755 assets/icons/currencies/mana.svg mode change 100644 => 100755 assets/icons/currencies/matic.svg mode change 100644 => 100755 assets/icons/currencies/mkr.svg mode change 100644 => 100755 assets/icons/currencies/omg.svg mode change 100644 => 100755 assets/icons/currencies/poly.svg create mode 100755 assets/icons/currencies/qi.svg mode change 100644 => 100755 assets/icons/currencies/rai.svg mode change 100644 => 100755 assets/icons/currencies/ren.svg mode change 100644 => 100755 assets/icons/currencies/renbtc.svg create mode 100755 assets/icons/currencies/renfil.svg mode change 100644 => 100755 assets/icons/currencies/rep.svg mode change 100644 => 100755 assets/icons/currencies/sai.svg mode change 100644 => 100755 assets/icons/currencies/salt.svg mode change 100644 => 100755 assets/icons/currencies/sbtc.svg mode change 100644 => 100755 assets/icons/currencies/snt.svg mode change 100644 => 100755 assets/icons/currencies/snx.svg create mode 100755 assets/icons/currencies/steth.svg mode change 100644 => 100755 assets/icons/currencies/stkaave.svg mode change 100644 => 100755 assets/icons/currencies/susd.svg mode change 100644 => 100755 assets/icons/currencies/sushi.svg mode change 100644 => 100755 assets/icons/currencies/tusd.svg mode change 100644 => 100755 assets/icons/currencies/uni.svg mode change 100644 => 100755 assets/icons/currencies/uniaaveeth.svg mode change 100644 => 100755 assets/icons/currencies/unidaieth.svg mode change 100644 => 100755 assets/icons/currencies/unidaiusdt.svg mode change 100644 => 100755 assets/icons/currencies/unidaiwbtc.svg mode change 100644 => 100755 assets/icons/currencies/unidaiyfi.svg mode change 100644 => 100755 assets/icons/currencies/unilinketh.svg mode change 100644 => 100755 assets/icons/currencies/uniunieth.svg mode change 100644 => 100755 assets/icons/currencies/uniusdcdai.svg mode change 100644 => 100755 assets/icons/currencies/uniusdceth.svg mode change 100644 => 100755 assets/icons/currencies/uniusdteth.svg mode change 100644 => 100755 assets/icons/currencies/uniwbtceth.svg mode change 100644 => 100755 assets/icons/currencies/usdc.svg create mode 100755 assets/icons/currencies/usdce.svg create mode 100755 assets/icons/currencies/usdp.svg mode change 100644 => 100755 assets/icons/currencies/usdt.svg create mode 100755 assets/icons/currencies/usdte.svg create mode 100755 assets/icons/currencies/ust.svg mode change 100644 => 100755 assets/icons/currencies/wavax.svg mode change 100644 => 100755 assets/icons/currencies/wbtc.svg mode change 100644 => 100755 assets/icons/currencies/weth.svg create mode 100755 assets/icons/currencies/wftm.svg create mode 100755 assets/icons/currencies/wmatic.svg create mode 100755 assets/icons/currencies/wsteth.svg mode change 100644 => 100755 assets/icons/currencies/xsushi.svg mode change 100644 => 100755 assets/icons/currencies/yfi.svg mode change 100644 => 100755 assets/icons/currencies/zil.svg mode change 100644 => 100755 assets/icons/currencies/zrx.svg create mode 100644 assets/icons/optimism.svg diff --git a/assets/icons/currencies/1inch.svg b/assets/icons/currencies/1inch.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/aave.svg b/assets/icons/currencies/aave.svg old mode 100644 new mode 100755 index 4f9b21e..55017cd --- a/assets/icons/currencies/aave.svg +++ b/assets/icons/currencies/aave.svg @@ -1,18 +1 @@ - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/assets/icons/currencies/ageur.svg b/assets/icons/currencies/ageur.svg new file mode 100755 index 0000000..32a3cea --- /dev/null +++ b/assets/icons/currencies/ageur.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/icons/currencies/ampl.svg b/assets/icons/currencies/ampl.svg new file mode 100755 index 0000000..43c1dc0 --- /dev/null +++ b/assets/icons/currencies/ampl.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/icons/currencies/ape.svg b/assets/icons/currencies/ape.svg new file mode 100755 index 0000000..f0d60ec --- /dev/null +++ b/assets/icons/currencies/ape.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/icons/currencies/avax.svg b/assets/icons/currencies/avax.svg old mode 100644 new mode 100755 index 52767e1..5b51add --- a/assets/icons/currencies/avax.svg +++ b/assets/icons/currencies/avax.svg @@ -1,8 +1,8 @@ - + - + diff --git a/assets/icons/currencies/bal.svg b/assets/icons/currencies/bal.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/bat.svg b/assets/icons/currencies/bat.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/bnb.svg b/assets/icons/currencies/bnb.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/btc2xfli.svg b/assets/icons/currencies/btc2xfli.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/busd.svg b/assets/icons/currencies/busd.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/cbat.svg b/assets/icons/currencies/cbat.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/cbtc.svg b/assets/icons/currencies/cbtc.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/cdai.svg b/assets/icons/currencies/cdai.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/ceth.svg b/assets/icons/currencies/ceth.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/comp.svg b/assets/icons/currencies/comp.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/crep.svg b/assets/icons/currencies/crep.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/crv.svg b/assets/icons/currencies/crv.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/csai.svg b/assets/icons/currencies/csai.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/cusdc.svg b/assets/icons/currencies/cusdc.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/cusdt.svg b/assets/icons/currencies/cusdt.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/custom.svg b/assets/icons/currencies/custom.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/czrx.svg b/assets/icons/currencies/czrx.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/dai.svg b/assets/icons/currencies/dai.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/dgx.svg b/assets/icons/currencies/dgx.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/dpi.svg b/assets/icons/currencies/dpi.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/enj.svg b/assets/icons/currencies/enj.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/ens.svg b/assets/icons/currencies/ens.svg new file mode 100755 index 0000000..960dbbc --- /dev/null +++ b/assets/icons/currencies/ens.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/icons/currencies/eth.svg b/assets/icons/currencies/eth.svg old mode 100644 new mode 100755 index 14c742c..ad46b15 --- a/assets/icons/currencies/eth.svg +++ b/assets/icons/currencies/eth.svg @@ -1,18 +1 @@ - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/assets/icons/currencies/eth2xfli.svg b/assets/icons/currencies/eth2xfli.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/eurs.svg b/assets/icons/currencies/eurs.svg new file mode 100755 index 0000000..4e0bb04 --- /dev/null +++ b/assets/icons/currencies/eurs.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/icons/currencies/fei.svg b/assets/icons/currencies/fei.svg new file mode 100755 index 0000000..753c6d8 --- /dev/null +++ b/assets/icons/currencies/fei.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/assets/icons/currencies/frax.svg b/assets/icons/currencies/frax.svg new file mode 100755 index 0000000..04fa7ad --- /dev/null +++ b/assets/icons/currencies/frax.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/icons/currencies/ftm.svg b/assets/icons/currencies/ftm.svg new file mode 100755 index 0000000..988485d --- /dev/null +++ b/assets/icons/currencies/ftm.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/assets/icons/currencies/fusdt.svg b/assets/icons/currencies/fusdt.svg new file mode 100755 index 0000000..7aaa18e --- /dev/null +++ b/assets/icons/currencies/fusdt.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/assets/icons/currencies/ghst.svg b/assets/icons/currencies/ghst.svg new file mode 100755 index 0000000..6cdbf45 --- /dev/null +++ b/assets/icons/currencies/ghst.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/assets/icons/currencies/gunidaiusdc.svg b/assets/icons/currencies/gunidaiusdc.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/gusd.svg b/assets/icons/currencies/gusd.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/inst.svg b/assets/icons/currencies/inst.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/jeur.svg b/assets/icons/currencies/jeur.svg new file mode 100755 index 0000000..47518a3 --- /dev/null +++ b/assets/icons/currencies/jeur.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/icons/currencies/knc.svg b/assets/icons/currencies/knc.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/lend.svg b/assets/icons/currencies/lend.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/link.svg b/assets/icons/currencies/link.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/looks.svg b/assets/icons/currencies/looks.svg new file mode 100755 index 0000000..503c851 --- /dev/null +++ b/assets/icons/currencies/looks.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/assets/icons/currencies/lqty.svg b/assets/icons/currencies/lqty.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/lrc.svg b/assets/icons/currencies/lrc.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/lusd.svg b/assets/icons/currencies/lusd.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/mana.svg b/assets/icons/currencies/mana.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/matic.svg b/assets/icons/currencies/matic.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/mkr.svg b/assets/icons/currencies/mkr.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/omg.svg b/assets/icons/currencies/omg.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/poly.svg b/assets/icons/currencies/poly.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/qi.svg b/assets/icons/currencies/qi.svg new file mode 100755 index 0000000..041f61d --- /dev/null +++ b/assets/icons/currencies/qi.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/assets/icons/currencies/rai.svg b/assets/icons/currencies/rai.svg old mode 100644 new mode 100755 index d399f42..16e95ce --- a/assets/icons/currencies/rai.svg +++ b/assets/icons/currencies/rai.svg @@ -1,5 +1,5 @@ - + @@ -28,7 +28,7 @@ - + diff --git a/assets/icons/currencies/ren.svg b/assets/icons/currencies/ren.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/renbtc.svg b/assets/icons/currencies/renbtc.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/renfil.svg b/assets/icons/currencies/renfil.svg new file mode 100755 index 0000000..1a2aa35 --- /dev/null +++ b/assets/icons/currencies/renfil.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/icons/currencies/rep.svg b/assets/icons/currencies/rep.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/sai.svg b/assets/icons/currencies/sai.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/salt.svg b/assets/icons/currencies/salt.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/sbtc.svg b/assets/icons/currencies/sbtc.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/snt.svg b/assets/icons/currencies/snt.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/snx.svg b/assets/icons/currencies/snx.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/steth.svg b/assets/icons/currencies/steth.svg new file mode 100755 index 0000000..150f3d2 --- /dev/null +++ b/assets/icons/currencies/steth.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/assets/icons/currencies/stkaave.svg b/assets/icons/currencies/stkaave.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/susd.svg b/assets/icons/currencies/susd.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/sushi.svg b/assets/icons/currencies/sushi.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/tusd.svg b/assets/icons/currencies/tusd.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/uni.svg b/assets/icons/currencies/uni.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/uniaaveeth.svg b/assets/icons/currencies/uniaaveeth.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/unidaieth.svg b/assets/icons/currencies/unidaieth.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/unidaiusdt.svg b/assets/icons/currencies/unidaiusdt.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/unidaiwbtc.svg b/assets/icons/currencies/unidaiwbtc.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/unidaiyfi.svg b/assets/icons/currencies/unidaiyfi.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/unilinketh.svg b/assets/icons/currencies/unilinketh.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/uniunieth.svg b/assets/icons/currencies/uniunieth.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/uniusdcdai.svg b/assets/icons/currencies/uniusdcdai.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/uniusdceth.svg b/assets/icons/currencies/uniusdceth.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/uniusdteth.svg b/assets/icons/currencies/uniusdteth.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/uniwbtceth.svg b/assets/icons/currencies/uniwbtceth.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/usdc.svg b/assets/icons/currencies/usdc.svg old mode 100644 new mode 100755 index 23e159f..3a2045e --- a/assets/icons/currencies/usdc.svg +++ b/assets/icons/currencies/usdc.svg @@ -1,12 +1 @@ - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/assets/icons/currencies/usdce.svg b/assets/icons/currencies/usdce.svg new file mode 100755 index 0000000..3a2045e --- /dev/null +++ b/assets/icons/currencies/usdce.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/icons/currencies/usdp.svg b/assets/icons/currencies/usdp.svg new file mode 100755 index 0000000..ac618bd --- /dev/null +++ b/assets/icons/currencies/usdp.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/assets/icons/currencies/usdt.svg b/assets/icons/currencies/usdt.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/usdte.svg b/assets/icons/currencies/usdte.svg new file mode 100755 index 0000000..e4c673a --- /dev/null +++ b/assets/icons/currencies/usdte.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/icons/currencies/ust.svg b/assets/icons/currencies/ust.svg new file mode 100755 index 0000000..73312c0 --- /dev/null +++ b/assets/icons/currencies/ust.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/icons/currencies/wavax.svg b/assets/icons/currencies/wavax.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/wbtc.svg b/assets/icons/currencies/wbtc.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/weth.svg b/assets/icons/currencies/weth.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/wftm.svg b/assets/icons/currencies/wftm.svg new file mode 100755 index 0000000..894fd6d --- /dev/null +++ b/assets/icons/currencies/wftm.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/assets/icons/currencies/wmatic.svg b/assets/icons/currencies/wmatic.svg new file mode 100755 index 0000000..3befc75 --- /dev/null +++ b/assets/icons/currencies/wmatic.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/icons/currencies/wsteth.svg b/assets/icons/currencies/wsteth.svg new file mode 100755 index 0000000..81fa034 --- /dev/null +++ b/assets/icons/currencies/wsteth.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/icons/currencies/xsushi.svg b/assets/icons/currencies/xsushi.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/yfi.svg b/assets/icons/currencies/yfi.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/zil.svg b/assets/icons/currencies/zil.svg old mode 100644 new mode 100755 diff --git a/assets/icons/currencies/zrx.svg b/assets/icons/currencies/zrx.svg old mode 100644 new mode 100755 diff --git a/assets/icons/optimism.svg b/assets/icons/optimism.svg new file mode 100644 index 0000000..3db161b --- /dev/null +++ b/assets/icons/optimism.svg @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/composables/swap/use1InchSwap.ts b/composables/swap/use1InchSwap.ts index 9043a5c..6d4c826 100644 --- a/composables/swap/use1InchSwap.ts +++ b/composables/swap/use1InchSwap.ts @@ -42,7 +42,7 @@ export const use1InchSwap = () => { activeAccount.value.version == 2 ) { return { - connector: "1INCH-A", + connector: "1INCH-V4-A", method: "sell", args: [buyAddr, sellAddr, sellAmt, unitAmt, calldata, setId] }; diff --git a/composables/useBalances.ts b/composables/useBalances.ts index 81859ba..c6003c6 100644 --- a/composables/useBalances.ts +++ b/composables/useBalances.ts @@ -24,13 +24,15 @@ const balances = reactive({ mainnet: {}, polygon: {}, arbitrum: {}, - avalanche: {} + avalanche: {}, + optimism: {}, }, dsa: { mainnet: {}, polygon: {}, arbitrum: {}, - avalanche: {} + avalanche: {}, + optimism: {}, } }); @@ -38,7 +40,8 @@ const prices = reactive({ mainnet: {}, polygon: {}, arbitrum: {}, - avalanche: {} + avalanche: {}, + optimism: {}, }); export function useBalances() { @@ -61,6 +64,9 @@ export function useBalances() { prices.avalanche = await $axios.$get( "https://api.instadapp.io/defi/avalanche/prices" ); + prices.optimism = await $axios.$get( + "https://api.instadapp.io/defi/optimism/prices" + ); }); const fetchBalances = async (refresh = false) => { if (!balances.user || refresh) { @@ -81,6 +87,10 @@ export function useBalances() { avalanche: activeNetworkId.value === Network.Avalanche ? await getBalances(account.value, Network.Avalanche, library.value) + : {}, + optimism: + activeNetworkId.value === Network.Optimism + ? await getBalances(account.value, Network.Optimism, library.value) : {} }; } @@ -92,30 +102,34 @@ export function useBalances() { mainnet: activeNetworkId.value === Network.Mainnet ? await getBalances( - activeAccount.value.address, - Network.Mainnet, - library.value - ) + activeAccount.value.address, + Network.Mainnet, + library.value + ) : {}, polygon: activeNetworkId.value === Network.Polygon ? await getBalances( - activeAccount.value.address, - Network.Polygon, - library.value - ) + activeAccount.value.address, + Network.Polygon, + library.value + ) : {}, arbitrum: activeNetworkId.value === Network.Arbitrum ? await getBalances( - activeAccount.value.address, - Network.Arbitrum, - library.value - ) + activeAccount.value.address, + Network.Arbitrum, + library.value + ) : {}, avalanche: activeNetworkId.value === Network.Avalanche ? await getBalances(account.value, Network.Avalanche, library.value) + : {}, + optimism: + activeNetworkId.value === Network.Optimism + ? await getBalances(account.value, Network.Optimism, library.value) : {} }; } @@ -320,5 +334,5 @@ async function getTokensDetails(addressArr, network: Network, web3: Web3) { result[i] = details; } return result; - } catch (error) {} + } catch (error) { } } diff --git a/composables/useNetwork.ts b/composables/useNetwork.ts index 37ff944..d68a6e6 100644 --- a/composables/useNetwork.ts +++ b/composables/useNetwork.ts @@ -4,6 +4,7 @@ import MainnetSVG from "~/assets/icons/mainnet.svg?inline"; import PolygonSVG from "~/assets/icons/polygon.svg?inline"; import ArbitrumSVG from "~/assets/icons/arbitrum.svg?inline"; import AvalancheSVG from "~/assets/icons/avalanche.svg?inline"; +import OptimismSVG from "~/assets/icons/optimism.svg?inline"; import { useModal } from "./useModal"; import { useNotification } from "./useNotification"; @@ -14,7 +15,8 @@ export enum Network { Mainnet = "mainnet", Polygon = "polygon", Arbitrum = "arbitrum", - Avalanche = "avalanche" + Avalanche = "avalanche", + Optimism = "optimism", } export const networks = [ @@ -22,6 +24,7 @@ export const networks = [ { id: "polygon", chainId: 137, name: "Polygon", icon: PolygonSVG }, { id: "arbitrum", chainId: 42161, name: "Arbitrum", icon: ArbitrumSVG }, { id: "avalanche", chainId: 43114, name: "Avalanche", icon: AvalancheSVG }, + { id: "optimism", chainId: 10, name: "Optimism", icon: OptimismSVG }, ]; export const activeNetworkId = ref(); @@ -176,6 +179,44 @@ export function useNetwork() { } } + async function switchToOptimism() { + if (window.ethereum) { + const chainId = '0xa' + + try { + await window.ethereum.request({ + method: 'wallet_switchEthereumChain', + params: [{ chainId }], + }) + } catch (switchError) { + // 4902 error code indicates that the chain has not been added to MetaMask. + if (switchError.code === 4902) { + try { + const chainData = { + chainId, + chainName: 'Optimism Network', + nativeCurrency: { + name: 'Ethereum', + symbol: 'ETH', + decimals: 18, + }, + rpcUrls: ['https://mainnet.optimism.io'], + blockExplorerUrls: ['https://optimistic.etherscan.io'], + } + await window.ethereum.request({ + method: 'wallet_addEthereumChain', + params: [chainData, account.value], + }) + } catch (addError) { + return Promise.reject(addError) + } + } else { + return Promise.reject(switchError) + } + } + } + } + async function switchNetwork() { try { if (activeNetworkId.value === "mainnet") { @@ -184,6 +225,8 @@ export function useNetwork() { await switchToArbitrum(); } else if (activeNetworkId.value === "avalanche") { await switchToAvalanche(); + } else if (activeNetworkId.value === "optimism") { + await switchToOptimism(); } else { await switchToPolygon(); } diff --git a/connectors/index.ts b/connectors/index.ts index 6dffc5b..ce97c17 100644 --- a/connectors/index.ts +++ b/connectors/index.ts @@ -14,7 +14,7 @@ import { SafeAppConnector } from "@gnosis.pm/safe-apps-web3-react/dist/connector setWeb3LibraryCallback(provider => new Web3(provider)); export const injected = new InjectedConnector({ - supportedChainIds: [1, 137, 42161, 43114] + supportedChainIds: [1, 137, 42161, 43114, 10] }); export const walletconnect = new WalletConnectConnector({ @@ -22,9 +22,10 @@ export const walletconnect = new WalletConnectConnector({ 1: `https://mainnet.infura.io/v3/${process.env.INFURA_ID}`, 137: "https://rpc-mainnet.maticvigil.com", 42161: "https://arb1.arbitrum.io/rpc", - 43114: "https://api.avax.network/ext/bc/C/rpc" + 43114: "https://api.avax.network/ext/bc/C/rpc", + 10: "https://optimistic.etherscan.io", }, - supportedChainIds: [1, 137, 42161, 43114] + supportedChainIds: [1, 137, 42161, 43114, 10] }); // mainnet only @@ -43,7 +44,7 @@ let gnosisSafe = null; if (process.client) { gnosisSafe = new SafeAppConnector({ - supportedChainIds: [1, 137, 42161, 43114] + supportedChainIds: [1, 137, 42161, 43114, 10] }); } diff --git a/constant/addresses.ts b/constant/addresses.ts index 7fcc5cf..81f55f8 100644 --- a/constant/addresses.ts +++ b/constant/addresses.ts @@ -58,6 +58,17 @@ const addresses = { balance: '0xE6F92a3eCAa618FC5D4Bf2a14090787715C115F0', }, }, + optimism: { + core: { + instaIndex: '0x6CE3e607C808b4f4C26B7F6aDAeB619e49CAbb25', + instaConnectorsV2: '0x127d8cD0E2b2E0366D522DeA53A787bfE9002C14', + }, + resolver: { + accounts: '0x313FE505ad3ead0D35dD5d6687FB9C6B2469Db3d', + aave_v3: '0x7cdBD859f2EDA545289378112FD991571d6eb73e', + balance: '0xca5f37e6D8bB24c5A7958d5eccE7Bd9Aacc944f2', + }, + }, }; export default addresses; diff --git a/constant/atokens.ts b/constant/atokens.ts index 4367f74..a43b7cc 100644 --- a/constant/atokens.ts +++ b/constant/atokens.ts @@ -2,48 +2,32 @@ import { createTokenUtils } from "../utils/create-token-utils"; // prettier-ignore export default { - mainnet : createTokenUtils([ - { key: "aeth", "type": "atoken", "symbol": "AETH", "name": "Aave ETH", "address": "0x3a3A65aAb0dd2A17E3F1947bA16138cd37d08c04", "decimals": 18, "factor": 0.75, "root": "eth" }, - { key: "adai", "type": "atoken", "symbol": "ADAI", "name": "Aave DAI", "address": "0xfC1E690f61EFd961294b3e1Ce3313fBD8aa4f85d", "decimals": 18, "factor": 0.75, "root": "dai" }, - { key: "ausdc", "type": "atoken", "symbol": "AUSDC", "name": "Aave USDC", "address": "0x9bA00D6856a4eDF4665BcA2C2309936572473B7E", "decimals": 6, "factor": 0.75, "root": "usdc" }, - { key: "ausdt", "type": "atoken", "symbol": "AUSDT", "name": "Aave USDT", "address": "0x71fc860F7D3A592A4a98740e39dB31d25db65ae8", "decimals": 6, "factor": 0, "root": "usdt" }, - { key: "asusd", "type": "atoken", "symbol": "ASUSD", "name": "Aave SUSD", "address": "0x625aE63000f46200499120B906716420bd059240", "decimals": 18, "factor": 0, "root": "susd" }, - { key: "atusd", "type": "atoken", "symbol": "ATUSD", "name": "Aave TUSD", "address": "0x4DA9b813057D04BAef4e5800E36083717b4a0341", "decimals": 18, "factor": 0.75, "root": "tusd" }, - { key: "abusd", "type": "atoken", "symbol": "ABUSD", "name": "Aave BUSD", "address": "0x6Ee0f7BB50a54AB5253dA0667B0Dc2ee526C30a8", "decimals": 18, "factor": 0, "root": "busd" }, - { key: "abat", "type": "atoken", "symbol": "ABAT", "name": "Aave BAT", "address": "0xE1BA0FB44CCb0D11b80F92f4f8Ed94CA3fF51D00", "decimals": 18, "factor": 0.6, "root": "bat" }, - { key: "aknc", "type": "atoken", "symbol": "AKNC", "name": "Aave KNC", "address": "0x9D91BE44C06d373a8a226E1f3b146956083803eB", "decimals": 18, "factor": 0.6, "root": "knc" }, - { key: "alend", "type": "atoken", "symbol": "ALEND", "name": "Aave LEND", "address": "0x7D2D3688Df45Ce7C552E19c27e007673da9204B8", "decimals": 18, "factor": 0.4, "root": "lend" }, - { key: "aaave", "type": "atoken", "symbol": "AAAVE", "name": "Aave AAVE", "address": "0xba3D9687Cf50fE253cd2e1cFeEdE1d6787344Ed5", "decimals": 18, "factor": 0.5, "root": "aave" }, - { key: "auni", "type": "atoken", "symbol": "AUNI", "name": "Aave UNI", "address": "0xB124541127A0A657f056D9Dd06188c4F1b0e5aab", "decimals": 18, "factor": 0.4, "root": "uni" }, - { key: "alink", "type": "atoken", "symbol": "ALINK", "name": "Aave LINK", "address": "0xA64BD6C70Cb9051F6A9ba1F163Fdc07E0DfB5F84", "decimals": 18, "factor": 0.65, "root": "link" }, - { key: "amana", "type": "atoken", "symbol": "AMANA", "name": "Aave MANA", "address": "0x6FCE4A401B6B80ACe52baAefE4421Bd188e76F6f", "decimals": 18, "factor": 0.6, "root": "mana" }, - { key: "amkr", "type": "atoken", "symbol": "AMKR", "name": "Aave MKR", "address": "0x7deB5e830be29F91E298ba5FF1356BB7f8146998", "decimals": 18, "factor": 0.35, "root": "mkr" }, - { key: "aren", "type": "atoken", "symbol": "AREN", "name": "Aave REN", "address": "0x69948cc03f478b95283f7dbf1ce764d0fc7ec54c", "decimals": 18, "factor": 0.5, "root": "ren" }, - { key: "asnx", "type": "atoken", "symbol": "ASNX", "name": "Aave SNX", "address": "0x328C4c80BC7aCa0834Db37e6600A6c49E12Da4DE", "decimals": 18, "factor": 0, "root": "snx" }, - { key: "awbtc", "type": "atoken", "symbol": "AWBTC", "name": "Aave WBTC", "address": "0xFC4B8ED459e00e5400be803A9BB3954234FD50e3", "decimals": 8, "factor": 0.6, "root": "wbtc" }, - { key: "ayfi", "type": "atoken", "symbol": "AYFI", "name": "Aave YFI", "address": "0x12e51E77DAAA58aA0E9247db7510Ea4B46F9bEAd", "decimals": 18, "factor": 0.4, "root": "yfi" }, - { key: "azrx", "type": "atoken", "symbol": "AZRX", "name": "Aave ZRX", "address": "0x6Fb0855c404E09c47C3fBCA25f08d4E41f9F062f", "decimals": 18, "factor": 0.6, "root": "zrx" }, - { key: "arep", "type": "atoken", "symbol": "AREP", "name": "Aave REP", "address": "0x71010A9D003445aC60C4e6A7017c1E89A477B438", "decimals": 18, "factor": 0.35, "root": "rep" }, - { key: "aenj", "type": "atoken", "symbol": "AENJ", "name": "Aave ENJ", "address": "0x712db54daa836b53ef1ecbb9c6ba3b9efb073f40", "decimals": 18, "factor": 0.55, "root": "enj" } + mainnet: createTokenUtils([ + { key: 'aeth', type: 'atoken', symbol: 'AETH', name: 'Aave ETH', address: '0x3a3A65aAb0dd2A17E3F1947bA16138cd37d08c04', decimals: 18, factor: 0.75, root: 'eth' }, + { key: 'adai', type: 'atoken', symbol: 'ADAI', name: 'Aave DAI', address: '0xfC1E690f61EFd961294b3e1Ce3313fBD8aa4f85d', decimals: 18, factor: 0.75, root: 'dai' }, + { key: 'ausdc', type: 'atoken', symbol: 'AUSDC', name: 'Aave USDC', address: '0x9bA00D6856a4eDF4665BcA2C2309936572473B7E', decimals: 6, factor: 0.75, root: 'usdc' }, + { key: 'ausdt', type: 'atoken', symbol: 'AUSDT', name: 'Aave USDT', address: '0x71fc860F7D3A592A4a98740e39dB31d25db65ae8', decimals: 6, factor: 0, root: 'usdt' }, + { key: 'asusd', type: 'atoken', symbol: 'ASUSD', name: 'Aave SUSD', address: '0x625aE63000f46200499120B906716420bd059240', decimals: 18, factor: 0, root: 'susd' }, + { key: 'atusd', type: 'atoken', symbol: 'ATUSD', name: 'Aave TUSD', address: '0x4DA9b813057D04BAef4e5800E36083717b4a0341', decimals: 18, factor: 0.75, root: 'tusd' }, + { key: 'abusd', type: 'atoken', symbol: 'ABUSD', name: 'Aave BUSD', address: '0x6Ee0f7BB50a54AB5253dA0667B0Dc2ee526C30a8', decimals: 18, factor: 0, root: 'busd' }, + { key: 'abat', type: 'atoken', symbol: 'ABAT', name: 'Aave BAT', address: '0xE1BA0FB44CCb0D11b80F92f4f8Ed94CA3fF51D00', decimals: 18, factor: 0.6, root: 'bat' }, + { key: 'aknc', type: 'atoken', symbol: 'AKNC', name: 'Aave KNC', address: '0x9D91BE44C06d373a8a226E1f3b146956083803eB', decimals: 18, factor: 0.6, root: 'knc' }, + { key: 'alend', type: 'atoken', symbol: 'ALEND', name: 'Aave LEND', address: '0x7D2D3688Df45Ce7C552E19c27e007673da9204B8', decimals: 18, factor: 0.4, root: 'lend' }, + { key: 'aaave', type: 'atoken', symbol: 'AAAVE', name: 'Aave AAVE', address: '0xba3D9687Cf50fE253cd2e1cFeEdE1d6787344Ed5', decimals: 18, factor: 0.5, root: 'aave' }, + { key: 'auni', type: 'atoken', symbol: 'AUNI', name: 'Aave UNI', address: '0xB124541127A0A657f056D9Dd06188c4F1b0e5aab', decimals: 18, factor: 0.4, root: 'uni' }, + { key: 'alink', type: 'atoken', symbol: 'ALINK', name: 'Aave LINK', address: '0xA64BD6C70Cb9051F6A9ba1F163Fdc07E0DfB5F84', decimals: 18, factor: 0.65, root: 'link' }, + { key: 'amana', type: 'atoken', symbol: 'AMANA', name: 'Aave MANA', address: '0x6FCE4A401B6B80ACe52baAefE4421Bd188e76F6f', decimals: 18, factor: 0.6, root: 'mana' }, + { key: 'amkr', type: 'atoken', symbol: 'AMKR', name: 'Aave MKR', address: '0x7deB5e830be29F91E298ba5FF1356BB7f8146998', decimals: 18, factor: 0.35, root: 'mkr' }, + { key: 'aren', type: 'atoken', symbol: 'AREN', name: 'Aave REN', address: '0x69948cc03f478b95283f7dbf1ce764d0fc7ec54c', decimals: 18, factor: 0.5, root: 'ren' }, + { key: 'asnx', type: 'atoken', symbol: 'ASNX', name: 'Aave SNX', address: '0x328C4c80BC7aCa0834Db37e6600A6c49E12Da4DE', decimals: 18, factor: 0, root: 'snx' }, + { key: 'awbtc', type: 'atoken', symbol: 'AWBTC', name: 'Aave WBTC', address: '0xFC4B8ED459e00e5400be803A9BB3954234FD50e3', decimals: 8, factor: 0.6, root: 'wbtc' }, + { key: 'ayfi', type: 'atoken', symbol: 'AYFI', name: 'Aave YFI', address: '0x12e51E77DAAA58aA0E9247db7510Ea4B46F9bEAd', decimals: 18, factor: 0.4, root: 'yfi' }, + { key: 'azrx', type: 'atoken', symbol: 'AZRX', name: 'Aave ZRX', address: '0x6Fb0855c404E09c47C3fBCA25f08d4E41f9F062f', decimals: 18, factor: 0.6, root: 'zrx' }, + { key: 'arep', type: 'atoken', symbol: 'AREP', name: 'Aave REP', address: '0x71010A9D003445aC60C4e6A7017c1E89A477B438', decimals: 18, factor: 0.35, root: 'rep' }, + { key: 'aenj', type: 'atoken', symbol: 'AENJ', name: 'Aave ENJ', address: '0x712db54daa836b53ef1ecbb9c6ba3b9efb073f40', decimals: 18, factor: 0.55, root: 'enj' }, ]), - polygon : createTokenUtils([ - { key: "aeth", "type": "atoken", "symbol": "AETH", "name": "Aave ETH", "address": "0x28424507fefb6f7f8E9D3860F56504E4e5f5f390", "decimals": 18, "factor": 0.8, "root": "eth" }, - { key: "adai", "type": "atoken", "symbol": "ADAI", "name": "Aave DAI", "address": "0x27F8D03b3a2196956ED754baDc28D73be8830A6e", "decimals": 18, "factor": 0.75, "root": "dai" }, - { key: "ausdc", "type": "atoken", "symbol": "AUSDC", "name": "Aave USDC", "address": "0x1a13F4Ca1d028320A707D99520AbFefca3998b7F", "decimals": 6, "factor": 0.8, "root": "usdc" }, - { key: "ausdt", "type": "atoken", "symbol": "AUSDT", "name": "Aave USDT", "address": "0x60D55F02A771d515e077c9C2403a1ef324885CeC", "decimals": 6, "factor": 0, "root": "usdt" }, - { key: "awbtc", "type": "atoken", "symbol": "AWBTC", "name": "Aave WBTC", "address": "0x5c2ed810328349100A66B82b78a1791B101C9D61", "decimals": 8, "factor": 0.7, "root": "wbtc" }, - { key: "aaave", "type": "atoken", "symbol": "AAAVE", "name": "Aave AAVE", "address": "0x1d2a0E5EC8E5bBDCA5CB219e649B565d8e5c3360", "decimals": 18, "factor": 0.5, "root": "aave" }, - { key: "awmatic", "type": "atoken", "symbol": "AWMATIC", "name": "Aave WMATIC", "address": "0x8dF3aad3a84da6b69A4DA8aeC3eA40d9091B2Ac4", "decimals": 18, "factor": 0.5, "root": "matic" }, - ]), + polygon : createTokenUtils([]), - avalanche : createTokenUtils([ - { key: "avweth", "type": "atoken", "symbol": "avWETH", "name": "Aave ETH", "address": "0x53f7c5869a859F0AeC3D334ee8B4Cf01E3492f21", "decimals": 18, "factor": 0.8, "root": "eth" }, - { key: "avdai", "type": "atoken", "symbol": "avDAI", "name": "Aave DAI", "address": "0x47AFa96Cdc9fAb46904A55a6ad4bf6660B53c38a", "decimals": 18, "factor": 0, "root": "dai" }, - { key: "avusdc", "type": "atoken", "symbol": "avUSDC", "name": "Aave USDC", "address": "0x46A51127C3ce23fb7AB1DE06226147F446e4a857", "decimals": 6, "factor": 0.8, "root": "usdc" }, - { key: "avusdt", "type": "atoken", "symbol": "avUSDT", "name": "Aave USDT", "address": "0x532E6537FEA298397212F09A61e03311686f548e", "decimals": 6, "factor": 0, "root": "usdt" }, - { key: "avwbtc", "type": "atoken", "symbol": "avWBTC", "name": "Aave WBTC", "address": "0x686bEF2417b6Dc32C50a3cBfbCC3bb60E1e9a15D", "decimals": 8, "factor": 0.6, "root": "wbtc" }, - { key: "avaave", "type": "atoken", "symbol": "avAAVE", "name": "Aave AAVE", "address": "0xD45B7c061016102f9FA220502908f2c0f1add1D7", "decimals": 18, "factor": 0, "root": "aave" }, - { key: "avwavax", "type": "atoken", "symbol": "avWAVAX", "name": "Aave WAVAX", "address": "0xDFE521292EcE2A4f44242efBcD66Bc594CA9714B", "decimals": 8, "factor": 0, "root": "avax" }, - ]) + avalanche : createTokenUtils([]) } diff --git a/constant/atokensV2.ts b/constant/atokensV2.ts index 7965d8d..4b014b9 100644 --- a/constant/atokensV2.ts +++ b/constant/atokensV2.ts @@ -2,51 +2,128 @@ import { createTokenUtils } from "../utils/create-token-utils"; // prettier-ignore export default { - mainnet : createTokenUtils([ - { key: "aeth", "type": "atoken", "symbol": "AETH", "name": "Aave ETH", "address": "0x030bA81f1c18d280636F32af80b9AAd02Cf0854e", "decimals": 18, "factor": 0.8, "root": "eth" }, - { key: "adai", "type": "atoken", "symbol": "ADAI", "name": "Aave DAI", "address": "0x028171bCA77440897B824Ca71D1c56caC55b68A3", "decimals": 18, "factor": 0.75, "root": "dai" }, - { key: "ausdc", "type": "atoken", "symbol": "AUSDC", "name": "Aave USDC", "address": "0xBcca60bB61934080951369a648Fb03DF4F96263C", "decimals": 6, "factor": 0.8, "root": "usdc" }, - { key: "ausdt", "type": "atoken", "symbol": "AUSDT", "name": "Aave USDT", "address": "0x3Ed3B47Dd13EC9a98b44e6204A523E766B225811", "decimals": 6, "factor": 0, "root": "usdt" }, - { key: "asusd", "type": "atoken", "symbol": "ASUSD", "name": "Aave SUSD", "address": "0x6C5024Cd4F8A59110119C56f8933403A539555EB", "decimals": 18, "factor": 0, "root": "susd" }, - { key: "atusd", "type": "atoken", "symbol": "ATUSD", "name": "Aave TUSD", "address": "0x101cc05f4A51C0319f570d5E146a8C625198e636", "decimals": 18, "factor": 0.75, "root": "tusd" }, - { key: "arai", "type": "atoken", "symbol": "ARAI", "name": "Aave RAI", "address": "0xe0065ea37791d336D78fcA0e870D04f700395B8d", "decimals": 18, "factor": 0, "root": "rai" }, - { key: "abusd", "type": "atoken", "symbol": "ABUSD", "name": "Aave BUSD", "address": "0xA361718326c15715591c299427c62086F69923D9", "decimals": 18, "factor": 0, "root": "busd" }, - { key: "abat", "type": "atoken", "symbol": "ABAT", "name": "Aave BAT", "address": "0x05Ec93c0365baAeAbF7AefFb0972ea7ECdD39CF1", "decimals": 18, "factor": 0.7, "root": "bat" }, - { key: "aknc", "type": "atoken", "symbol": "AKNC", "name": "Aave KNC", "address": "0x39C6b3e42d6A679d7D776778Fe880BC9487C2EDA", "decimals": 18, "factor": 0.6, "root": "knc" }, - { key: "alink", "type": "atoken", "symbol": "ALINK", "name": "Aave LINK", "address": "0xa06bC25B5805d5F8d82847D191Cb4Af5A3e873E0", "decimals": 18, "factor": 0.7, "root": "link" }, - { key: "amana", "type": "atoken", "symbol": "AMANA", "name": "Aave MANA", "address": "0xa685a61171bb30d4072B338c80Cb7b2c865c873E", "decimals": 18, "factor": 0.6, "root": "mana" }, - { key: "amkr", "type": "atoken", "symbol": "AMKR", "name": "Aave MKR", "address": "0xc713e5E149D5D0715DcD1c156a020976e7E56B88", "decimals": 18, "factor": 0.6, "root": "mkr" }, - { key: "aren", "type": "atoken", "symbol": "AREN", "name": "Aave REN", "address": "0xCC12AbE4ff81c9378D670De1b57F8e0Dd228D77a", "decimals": 18, "factor": 0.55, "root": "ren" }, - { key: "asnx", "type": "atoken", "symbol": "ASNX", "name": "Aave SNX", "address": "0x35f6B052C598d933D69A4EEC4D04c73A191fE6c2", "decimals": 18, "factor": 0.15, "root": "snx" }, - { key: "awbtc", "type": "atoken", "symbol": "AWBTC", "name": "Aave WBTC", "address": "0x9ff58f4fFB29fA2266Ab25e75e2A8b3503311656", "decimals": 8, "factor": 0.7, "root": "wbtc" }, - { key: "ayfi", "type": "atoken", "symbol": "AYFI", "name": "Aave YFI", "address": "0x5165d24277cD063F5ac44Efd447B27025e888f37", "decimals": 18, "factor": 0.4, "root": "yfi" }, - { key: "azrx", "type": "atoken", "symbol": "AZRX", "name": "Aave ZRX", "address": "0xDf7FF54aAcAcbFf42dfe29DD6144A69b629f8C9e", "decimals": 18, "factor": 0.6, "root": "zrx" }, - { key: "aenj", "type": "atoken", "symbol": "AENJ", "name": "Aave ENJ", "address": "0xaC6Df26a590F08dcC95D5a4705ae8abbc88509Ef", "decimals": 18, "factor": 0.55, "root": "enj" }, - { key: "auni", "type": "atoken", "symbol": "AUNI", "name": "Aave UNI", "address": "0xB9D7CB55f463405CDfBe4E90a6D2Df01C2B92BF1", "decimals": 18, "factor": 0.6, "root": "uni" }, - { key: "aaave", "type": "atoken", "symbol": "AAAVE", "name": "Aave AAVE", "address": "0xFFC97d72E13E01096502Cb8Eb52dEe56f74DAD7B", "decimals": 18, "factor": 0.5, "root": "aave" }, - { key: "agusd", "type": "atoken", "symbol": "AGUSD", "name": "Aave GUSD", "address": "0xD37EE7e4f452C6638c96536e68090De8cBcdb583", "decimals": 2, "factor": 0, "root": "gusd" }, - { key: "abal", "type": "atoken", "symbol": "ABAL", "name": "Aave BAL", "address": "0x272F97b7a56a387aE942350bBC7Df5700f8a4576", "decimals": 18, "factor": 0.55, "root": "bal" }, - { key: "acrv", "type": "atoken", "symbol": "ACRV", "name": "Aave CRV", "address": "0x8dAE6Cb04688C62d939ed9B68d32Bc62e49970b1", "decimals": 18, "factor": 0.40, "root": "crv" }, - { key: "axsushi", "type": "atoken", "symbol": "AXSUSHI", "name": "Aave xSUSHI", "address": "0xF256CC7847E919FAc9B808cC216cAc87CCF2f47a", "decimals": 18, "factor": 0.45, "root": "xsushi" } + mainnet: createTokenUtils([ + { key: 'aeth', type: 'atoken', symbol: 'AETH', name: 'Aave ETH', address: '0x030bA81f1c18d280636F32af80b9AAd02Cf0854e', decimals: 18, factor: 0.8, root: 'eth' }, + { key: 'adai', type: 'atoken', symbol: 'ADAI', name: 'Aave DAI', address: '0x028171bCA77440897B824Ca71D1c56caC55b68A3', decimals: 18, factor: 0.75, root: 'dai' }, + { key: 'ausdc', type: 'atoken', symbol: 'AUSDC', name: 'Aave USDC', address: '0xBcca60bB61934080951369a648Fb03DF4F96263C', decimals: 6, factor: 0.8, root: 'usdc' }, + { key: 'ausdt', type: 'atoken', symbol: 'AUSDT', name: 'Aave USDT', address: '0x3Ed3B47Dd13EC9a98b44e6204A523E766B225811', decimals: 6, factor: 0, root: 'usdt' }, + { key: 'asusd', type: 'atoken', symbol: 'ASUSD', name: 'Aave SUSD', address: '0x6C5024Cd4F8A59110119C56f8933403A539555EB', decimals: 18, factor: 0, root: 'susd' }, + { key: 'atusd', type: 'atoken', symbol: 'ATUSD', name: 'Aave TUSD', address: '0x101cc05f4A51C0319f570d5E146a8C625198e636', decimals: 18, factor: 0.75, root: 'tusd' }, + { key: 'arai', type: 'atoken', symbol: 'ARAI', name: 'Aave RAI', address: '0xc9BC48c72154ef3e5425641a3c747242112a46AF', decimals: 18, factor: 0, root: 'rai' }, + { key: 'abusd', type: 'atoken', symbol: 'ABUSD', name: 'Aave BUSD', address: '0xA361718326c15715591c299427c62086F69923D9', decimals: 18, factor: 0, root: 'busd' }, + { key: 'abat', type: 'atoken', symbol: 'ABAT', name: 'Aave BAT', address: '0x05Ec93c0365baAeAbF7AefFb0972ea7ECdD39CF1', decimals: 18, factor: 0.7, root: 'bat' }, + { key: 'aknc', type: 'atoken', symbol: 'AKNC', name: 'Aave KNC', address: '0x39C6b3e42d6A679d7D776778Fe880BC9487C2EDA', decimals: 18, factor: 0.6, root: 'knc' }, + { key: 'alink', type: 'atoken', symbol: 'ALINK', name: 'Aave LINK', address: '0xa06bC25B5805d5F8d82847D191Cb4Af5A3e873E0', decimals: 18, factor: 0.7, root: 'link' }, + { key: 'amana', type: 'atoken', symbol: 'AMANA', name: 'Aave MANA', address: '0xa685a61171bb30d4072B338c80Cb7b2c865c873E', decimals: 18, factor: 0.6, root: 'mana' }, + { key: 'amkr', type: 'atoken', symbol: 'AMKR', name: 'Aave MKR', address: '0xc713e5E149D5D0715DcD1c156a020976e7E56B88', decimals: 18, factor: 0.6, root: 'mkr' }, + { key: 'aren', type: 'atoken', symbol: 'AREN', name: 'Aave REN', address: '0xCC12AbE4ff81c9378D670De1b57F8e0Dd228D77a', decimals: 18, factor: 0.55, root: 'ren' }, + { key: 'asnx', type: 'atoken', symbol: 'ASNX', name: 'Aave SNX', address: '0x35f6B052C598d933D69A4EEC4D04c73A191fE6c2', decimals: 18, factor: 0.15, root: 'snx' }, + { key: 'awbtc', type: 'atoken', symbol: 'AWBTC', name: 'Aave WBTC', address: '0x9ff58f4fFB29fA2266Ab25e75e2A8b3503311656', decimals: 8, factor: 0.7, root: 'wbtc' }, + { key: 'ayfi', type: 'atoken', symbol: 'AYFI', name: 'Aave YFI', address: '0x5165d24277cD063F5ac44Efd447B27025e888f37', decimals: 18, factor: 0.4, root: 'yfi' }, + { key: 'azrx', type: 'atoken', symbol: 'AZRX', name: 'Aave ZRX', address: '0xDf7FF54aAcAcbFf42dfe29DD6144A69b629f8C9e', decimals: 18, factor: 0.6, root: 'zrx' }, + { key: 'aenj', type: 'atoken', symbol: 'AENJ', name: 'Aave ENJ', address: '0xaC6Df26a590F08dcC95D5a4705ae8abbc88509Ef', decimals: 18, factor: 0.55, root: 'enj' }, + { key: 'auni', type: 'atoken', symbol: 'AUNI', name: 'Aave UNI', address: '0xB9D7CB55f463405CDfBe4E90a6D2Df01C2B92BF1', decimals: 18, factor: 0.6, root: 'uni' }, + { key: 'aaave', type: 'atoken', symbol: 'AAAVE', name: 'Aave AAVE', address: '0xFFC97d72E13E01096502Cb8Eb52dEe56f74DAD7B', decimals: 18, factor: 0.5, root: 'aave' }, + { key: 'agusd', type: 'atoken', symbol: 'AGUSD', name: 'Aave GUSD', address: '0xD37EE7e4f452C6638c96536e68090De8cBcdb583', decimals: 2, factor: 0, root: 'gusd' }, + { key: 'abal', type: 'atoken', symbol: 'ABAL', name: 'Aave BAL', address: '0x272F97b7a56a387aE942350bBC7Df5700f8a4576', decimals: 18, factor: 0.55, root: 'bal' }, + { key: 'acrv', type: 'atoken', symbol: 'ACRV', name: 'Aave CRV', address: '0x8dAE6Cb04688C62d939ed9B68d32Bc62e49970b1', decimals: 18, factor: 0.40, root: 'crv' }, + { key: 'axsushi', type: 'atoken', symbol: 'AXSUSHI', name: 'Aave xSUSHI', address: '0xF256CC7847E919FAc9B808cC216cAc87CCF2f47a', decimals: 18, factor: 0.45, root: 'xsushi' }, + { key: 'adpi', type: 'atoken', symbol: 'ADPI', name: 'Aave DPI', address: '0x6F634c6135D2EBD550000ac92F494F9CB8183dAe', decimals: 18, factor: 0.6, root: 'dpi' }, + { key: 'aampl', type: 'atoken', symbol: 'AAMPL', name: 'Aave AMPL', address: '0x1e6bb68acec8fefbd87d192be09bb274170a0548', decimals: 9, factor: 0, root: 'ampl' }, + { key: 'ausdp', type: 'atoken', symbol: 'USDP', name: 'Aave USDP', address: '0x2e8f4bdbe3d47d7d7de490437aea9915d930f1a3', decimals: 18, factor: 0, root: 'usdp' }, + { key: 'arenfil', type: 'atoken', symbol: 'ARENFIL', name: 'Aave renFIL', address: '0x514cd6756CCBe28772d4Cb81bC3156BA9d1744aa', decimals: 18, factor: 0, root: 'renfil' }, + { key: 'afrax', type: 'atoken', symbol: 'AFRAX', name: 'Aave FRAX', address: '0xd4937682df3C8aEF4FE912A96A74121C0829E664', decimals: 18, factor: 0, root: 'frax' }, + { key: 'afei', type: 'atoken', symbol: 'AFEI', name: 'Aave FEI', address: '0x683923dB55Fead99A79Fa01A27EeC3cB19679cC3', decimals: 18, factor: 0, root: 'fei' }, + { key: 'asteth', type: 'atoken', symbol: 'ASTETH', name: 'Aave stETH', address: '0x1982b2F5814301d4e9a8b0201555376e62F82428', decimals: 18, factor: 0.7, root: 'steth' }, + { key: 'aust', type: 'atoken', symbol: 'AUST', name: 'Aave UST', address: '0xc2e2152647F4C26028482Efaf64b2Aa28779EFC4', decimals: 6, factor: 0, root: 'ust' }, ]), - polygon : createTokenUtils([ - { key: "aeth", "type": "atoken", "symbol": "AETH", "name": "Aave ETH", "address": "0x28424507fefb6f7f8E9D3860F56504E4e5f5f390", "decimals": 18, "factor": 0.8, "root": "eth" }, - { key: "adai", "type": "atoken", "symbol": "ADAI", "name": "Aave DAI", "address": "0x27F8D03b3a2196956ED754baDc28D73be8830A6e", "decimals": 18, "factor": 0.75, "root": "dai" }, - { key: "ausdc", "type": "atoken", "symbol": "AUSDC", "name": "Aave USDC", "address": "0x1a13F4Ca1d028320A707D99520AbFefca3998b7F", "decimals": 6, "factor": 0.8, "root": "usdc" }, - { key: "ausdt", "type": "atoken", "symbol": "AUSDT", "name": "Aave USDT", "address": "0x60D55F02A771d515e077c9C2403a1ef324885CeC", "decimals": 6, "factor": 0, "root": "usdt" }, - { key: "awbtc", "type": "atoken", "symbol": "AWBTC", "name": "Aave WBTC", "address": "0x5c2ed810328349100A66B82b78a1791B101C9D61", "decimals": 8, "factor": 0.7, "root": "wbtc" }, - { key: "aaave", "type": "atoken", "symbol": "AAAVE", "name": "Aave AAVE", "address": "0x1d2a0E5EC8E5bBDCA5CB219e649B565d8e5c3360", "decimals": 18, "factor": 0.5, "root": "aave" }, - { key: "awmatic", "type": "atoken", "symbol": "AWMATIC", "name": "Aave WMATIC", "address": "0x8dF3aad3a84da6b69A4DA8aeC3eA40d9091B2Ac4", "decimals": 8, "factor": 0.7, "root": "matic" }, + polygon: createTokenUtils([ + { key: 'aeth', type: 'atoken', symbol: 'AETH', name: 'Aave ETH', address: '0x28424507fefb6f7f8E9D3860F56504E4e5f5f390', decimals: 18, factor: 0.8, root: 'eth' }, + { key: 'adai', type: 'atoken', symbol: 'ADAI', name: 'Aave DAI', address: '0x27F8D03b3a2196956ED754baDc28D73be8830A6e', decimals: 18, factor: 0.75, root: 'dai' }, + { key: 'ausdc', type: 'atoken', symbol: 'AUSDC', name: 'Aave USDC', address: '0x1a13F4Ca1d028320A707D99520AbFefca3998b7F', decimals: 6, factor: 0.8, root: 'usdc' }, + { key: 'ausdt', type: 'atoken', symbol: 'AUSDT', name: 'Aave USDT', address: '0x60D55F02A771d515e077c9C2403a1ef324885CeC', decimals: 6, factor: 0, root: 'usdt' }, + { key: 'awbtc', type: 'atoken', symbol: 'AWBTC', name: 'Aave WBTC', address: '0x5c2ed810328349100A66B82b78a1791B101C9D61', decimals: 8, factor: 0.7, root: 'wbtc' }, + { key: 'aaave', type: 'atoken', symbol: 'AAAVE', name: 'Aave AAVE', address: '0x1d2a0E5EC8E5bBDCA5CB219e649B565d8e5c3360', decimals: 18, factor: 0.5, root: 'aave' }, + { key: 'awmatic', type: 'atoken', symbol: 'AWMATIC', name: 'Aave WMATIC', address: '0x8dF3aad3a84da6b69A4DA8aeC3eA40d9091B2Ac4', decimals: 18, factor: 0.65, root: 'matic' }, + { key: 'asushi', type: 'atoken', symbol: 'ASUSHI', name: 'Aave SUSHI', address: '0x21eC9431B5B55c5339Eb1AE7582763087F98FAc2', decimals: 18, factor: 0.2, root: 'sushi' }, + { key: 'alink', type: 'atoken', symbol: 'ALINK', name: 'Aave LINK', address: '0x0Ca2e42e8c21954af73Bc9af1213E4e81D6a669A', decimals: 18, factor: 0.5, root: 'link' }, + { key: 'abal', type: 'atoken', symbol: 'ABAL', name: 'Aave BAL', address: '0xc4195D4060DaEac44058Ed668AA5EfEc50D77ff6', decimals: 18, factor: 0.2, root: 'bal' }, + { key: 'acrv', type: 'atoken', symbol: 'ACRV', name: 'Aave CRV', address: '0x3Df8f92b7E798820ddcCA2EBEA7BAbda2c90c4aD', decimals: 18, factor: 0.2, root: 'crv' }, + { key: 'adpi', type: 'atoken', symbol: 'ADPI', name: 'Aave DPI', address: '0x81fB82aAcB4aBE262fc57F06fD4c1d2De347D7B1', decimals: 18, factor: 0.2, root: 'dpi' }, + { key: 'aghst', type: 'atoken', symbol: 'AGHST', name: 'Aave GHST', address: '0x080b5BF8f360F624628E0fb961F4e67c9e3c7CF1', decimals: 18, factor: 0.25, root: 'ghst' }, ]), avalanche: createTokenUtils([ - { key: "avweth", "type": "atoken", "symbol": "avWETH", "name": "Aave ETH", "address": "0x53f7c5869a859F0AeC3D334ee8B4Cf01E3492f21", "decimals": 18, "factor": 0.8, "root": "eth" }, - { key: "avdai", "type": "atoken", "symbol": "avDAI", "name": "Aave DAI", "address": "0x47AFa96Cdc9fAb46904A55a6ad4bf6660B53c38a", "decimals": 18, "factor": 0, "root": "dai" }, - { key: "avusdc", "type": "atoken", "symbol": "avUSDC", "name": "Aave USDC", "address": "0x46A51127C3ce23fb7AB1DE06226147F446e4a857", "decimals": 6, "factor": 0.8, "root": "usdc" }, - { key: "avusdt", "type": "atoken", "symbol": "avUSDT", "name": "Aave USDT", "address": "0x532E6537FEA298397212F09A61e03311686f548e", "decimals": 6, "factor": 0, "root": "usdt" }, - { key: "avwbtc", "type": "atoken", "symbol": "avWBTC", "name": "Aave WBTC", "address": "0x686bEF2417b6Dc32C50a3cBfbCC3bb60E1e9a15D", "decimals": 8, "factor": 0.6, "root": "wbtc" }, - { key: "avaave", "type": "atoken", "symbol": "avAAVE", "name": "Aave AAVE", "address": "0xD45B7c061016102f9FA220502908f2c0f1add1D7", "decimals": 18, "factor": 0, "root": "aave" }, - { key: "avwavax", "type": "atoken", "symbol": "avWAVAX", "name": "Aave WAVAX", "address": "0xDFE521292EcE2A4f44242efBcD66Bc594CA9714B", "decimals": 8, "factor": 0, "root": "avax" }, + { + key: 'avweth', + type: 'atoken', + symbol: 'avWETH', + name: 'Aave ETH', + address: '0x53f7c5869a859F0AeC3D334ee8B4Cf01E3492f21', + decimals: 18, + factor: 0.8, + root: 'eth', + }, + { + key: 'avdai', + type: 'atoken', + symbol: 'avDAI', + name: 'Aave DAI', + address: '0x47AFa96Cdc9fAb46904A55a6ad4bf6660B53c38a', + decimals: 18, + factor: 0, + root: 'dai', + }, + { + key: 'avusdc', + type: 'atoken', + symbol: 'avUSDC', + name: 'Aave USDC', + address: '0x46A51127C3ce23fb7AB1DE06226147F446e4a857', + decimals: 6, + factor: 0.8, + root: 'usdce', + }, + { + key: 'avusdt', + type: 'atoken', + symbol: 'avUSDT', + name: 'Aave USDT', + address: '0x532E6537FEA298397212F09A61e03311686f548e', + decimals: 6, + factor: 0, + root: 'usdte', + }, + { + key: 'avwbtc', + type: 'atoken', + symbol: 'avWBTC', + name: 'Aave WBTC', + address: '0x686bEF2417b6Dc32C50a3cBfbCC3bb60E1e9a15D', + decimals: 8, + factor: 0.6, + root: 'wbtc', + }, + { + key: 'avaave', + type: 'atoken', + symbol: 'avAAVE', + name: 'Aave AAVE', + address: '0xD45B7c061016102f9FA220502908f2c0f1add1D7', + decimals: 18, + factor: 0, + root: 'aave', + }, + { + key: 'avwavax', + type: 'atoken', + symbol: 'avWAVAX', + name: 'Aave WAVAX', + address: '0xDFE521292EcE2A4f44242efBcD66Bc594CA9714B', + decimals: 8, + factor: 0, + root: 'avax', + }, ]) } diff --git a/constant/ctokens.ts b/constant/ctokens.ts index ab80756..65a92db 100644 --- a/constant/ctokens.ts +++ b/constant/ctokens.ts @@ -2,36 +2,25 @@ import { createTokenUtils } from '../utils/create-token-utils' // prettier-ignore const mainnetTokens = [ - { key: "ceth", type: 'ctoken', symbol: 'CETH', name: 'Compound ETH', address: '0x4ddc2d193948926d02f9b1fe9e1daa0718270ed5', decimals: 8, factor: 0.75, root: 'eth', id: 'ETH-A' }, - { key: "cdai", type: 'ctoken', symbol: 'CDAI', name: 'Compound DAI', address: '0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643', decimals: 8, factor: 0.75, root: 'dai', id: 'DAI-A' }, - { key: "cusdc", type: 'ctoken', symbol: 'CUSDC', name: 'Compound USDC', address: '0x39aa39c021dfbae8fac545936693ac917d5e7563', decimals: 8, factor: 0.75, root: 'usdc', id: 'USDC-A' }, - { key: "cusdt", type: 'ctoken', symbol: 'CUSDT', name: 'Compound USDT', address: '0xf650C3d88D12dB855b8bf7D11Be6C55A4e07dCC9', decimals: 8, factor: 0, root: 'usdt', id: 'USDT-A' }, - { key: "czrx", type: 'ctoken', symbol: 'CZRX', name: 'Compound ZRX', address: '0xb3319f5d18bc0d84dd1b4825dcde5d5f7266d407', decimals: 8, factor: 0.6, root: 'zrx', id: 'ZRX-A' }, - { key: "crep", type: 'ctoken', symbol: 'CREP', name: 'Compound REP', address: '0x158079ee67fce2f58472a96584a73c7ab9ac95c1', decimals: 8, factor: 0.4, root: 'rep', id: 'REP-A' }, - { key: "cbat", type: 'ctoken', symbol: 'CBAT', name: 'Compound BAT', address: '0x6c8c6b02e7b2be14d4fa6022dfd6d75921d90e4e', decimals: 8, factor: 0.6, root: 'bat', id: 'BAT-A' }, - { key: "cuni", type: 'ctoken', symbol: 'CUNI', name: 'Compound UNI', address: '0x35A18000230DA775CAc24873d00Ff85BccdeD550', decimals: 8, factor: 0.6, root: 'uni', id: 'UNI-A' }, - { key: "cwbtc", type: 'ctoken', symbol: 'CWBTC', name: 'Compound WBTC', address: '0xc11b1268c1a384e55c48c2391d8d480264a3a7f4', decimals: 8, factor: 0.6, root: 'wbtc', id: 'WBTC-A' }, - { key: "cwbtc", type: 'ctoken', symbol: 'CWBTC', name: 'Compound WBTC', address: '0xccF4429DB6322D5C611ee964527D42E5d685DD6a', decimals: 8, factor: 0.6, root: 'wbtc', id: 'WBTC-B' }, - { key: "ccomp", type: 'ctoken', symbol: 'CCOMP', name: 'Compound COMP', address: '0x70e36f6BF80a52b3B46b3aF8e106CC0ed743E8e4', decimals: 8, factor: 0.6, root: 'comp', id: 'COMP-A' }, - { key: "ctusd", type: 'ctoken', symbol: 'CTUSD', name: 'Compound TUSD', address: '0x12392F67bdf24faE0AF363c24aC620a2f67DAd86', decimals: 8, factor: 0, root: 'tusd', id: 'TUSD-A' }, - { key: "clink", type: 'ctoken', symbol: 'CLINK', name: 'Compound LINK', address: '0xFAce851a4921ce59e912d19329929CE6da6EB0c7', decimals: 8, factor: 0, root: 'link', id: 'LINK-A' }, -] - -const maticTokens = [ - { key: "ceth", type: 'ctoken', symbol: 'CETH', name: 'Compound ETH', address: '0x4ddc2d193948926d02f9b1fe9e1daa0718270ed5', decimals: 8, factor: 0.75, root: 'eth', id: 'ETH-A' }, - { key: "cdai", type: 'ctoken', symbol: 'CDAI', name: 'Compound DAI', address: '0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643', decimals: 8, factor: 0.75, root: 'dai', id: 'DAI-A' }, - { key: "cusdc", type: 'ctoken', symbol: 'CUSDC', name: 'Compound USDC', address: '0x39aa39c021dfbae8fac545936693ac917d5e7563', decimals: 8, factor: 0.75, root: 'usdc', id: 'USDC-A' }, - { key: "cusdt", type: 'ctoken', symbol: 'CUSDT', name: 'Compound USDT', address: '0xf650C3d88D12dB855b8bf7D11Be6C55A4e07dCC9', decimals: 8, factor: 0, root: 'usdt', id: 'USDT-A' }, - { key: "czrx", type: 'ctoken', symbol: 'CZRX', name: 'Compound ZRX', address: '0xb3319f5d18bc0d84dd1b4825dcde5d5f7266d407', decimals: 8, factor: 0.6, root: 'zrx', id: 'ZRX-A' }, - { key: "crep", type: 'ctoken', symbol: 'CREP', name: 'Compound REP', address: '0x158079ee67fce2f58472a96584a73c7ab9ac95c1', decimals: 8, factor: 0.4, root: 'rep', id: 'REP-A' }, - { key: "cbat", type: 'ctoken', symbol: 'CBAT', name: 'Compound BAT', address: '0x6c8c6b02e7b2be14d4fa6022dfd6d75921d90e4e', decimals: 8, factor: 0.6, root: 'bat', id: 'BAT-A' }, - { key: "cuni", type: 'ctoken', symbol: 'CUNI', name: 'Compound UNI', address: '0x35A18000230DA775CAc24873d00Ff85BccdeD550', decimals: 8, factor: 0.6, root: 'uni', id: 'UNI-A' }, - { key: "cwbtc", type: 'ctoken', symbol: 'CWBTC', name: 'Compound WBTC', address: '0xc11b1268c1a384e55c48c2391d8d480264a3a7f4', decimals: 8, factor: 0.6, root: 'wbtc', id: 'WBTC-A' }, - { key: "cwbtc", type: 'ctoken', symbol: 'CWBTC', name: 'Compound WBTC', address: '0xccF4429DB6322D5C611ee964527D42E5d685DD6a', decimals: 8, factor: 0.6, root: 'wbtc', id: 'WBTC-B' }, - { key: "ccomp", type: 'ctoken', symbol: 'CCOMP', name: 'Compound COMP', address: '0x70e36f6BF80a52b3B46b3aF8e106CC0ed743E8e4', decimals: 8, factor: 0.6, root: 'comp', id: 'COMP-A' }, + { key: 'ceth', type: 'ctoken', symbol: 'CETH', name: 'Compound ETH', address: '0x4ddc2d193948926d02f9b1fe9e1daa0718270ed5', decimals: 8, factor: 0.75, root: 'eth', id: 'ETH-A' }, + { key: 'cdai', type: 'ctoken', symbol: 'CDAI', name: 'Compound DAI', address: '0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643', decimals: 8, factor: 0.75, root: 'dai', id: 'DAI-A' }, + { key: 'cusdc', type: 'ctoken', symbol: 'CUSDC', name: 'Compound USDC', address: '0x39aa39c021dfbae8fac545936693ac917d5e7563', decimals: 8, factor: 0.75, root: 'usdc', id: 'USDC-A' }, + { key: 'cusdt', type: 'ctoken', symbol: 'CUSDT', name: 'Compound USDT', address: '0xf650C3d88D12dB855b8bf7D11Be6C55A4e07dCC9', decimals: 8, factor: 0, root: 'usdt', id: 'USDT-A' }, + { key: 'czrx', type: 'ctoken', symbol: 'CZRX', name: 'Compound ZRX', address: '0xb3319f5d18bc0d84dd1b4825dcde5d5f7266d407', decimals: 8, factor: 0.6, root: 'zrx', id: 'ZRX-A' }, + { key: 'crep', type: 'ctoken', symbol: 'CREP', name: 'Compound REP', address: '0x158079ee67fce2f58472a96584a73c7ab9ac95c1', decimals: 8, factor: 0.4, root: 'rep', id: 'REP-A' }, + { key: 'cbat', type: 'ctoken', symbol: 'CBAT', name: 'Compound BAT', address: '0x6c8c6b02e7b2be14d4fa6022dfd6d75921d90e4e', decimals: 8, factor: 0.6, root: 'bat', id: 'BAT-A' }, + { key: 'cuni', type: 'ctoken', symbol: 'CUNI', name: 'Compound UNI', address: '0x35A18000230DA775CAc24873d00Ff85BccdeD550', decimals: 8, factor: 0.6, root: 'uni', id: 'UNI-A' }, + { key: 'cwbtc', type: 'ctoken', symbol: 'CWBTC', name: 'Compound WBTC', address: '0xc11b1268c1a384e55c48c2391d8d480264a3a7f4', decimals: 8, factor: 0.6, root: 'wbtc', id: 'WBTC-A' }, + { key: 'cwbtc', type: 'ctoken', symbol: 'CWBTC', name: 'Compound WBTC', address: '0xccF4429DB6322D5C611ee964527D42E5d685DD6a', decimals: 8, factor: 0.6, root: 'wbtc', id: 'WBTC-B' }, + { key: 'ccomp', type: 'ctoken', symbol: 'CCOMP', name: 'Compound COMP', address: '0x70e36f6BF80a52b3B46b3aF8e106CC0ed743E8e4', decimals: 8, factor: 0.6, root: 'comp', id: 'COMP-A' }, + { key: 'ctusd', type: 'ctoken', symbol: 'CTUSD', name: 'Compound TUSD', address: '0x12392F67bdf24faE0AF363c24aC620a2f67DAd86', decimals: 8, factor: 0, root: 'tusd', id: 'TUSD-A' }, + { key: 'clink', type: 'ctoken', symbol: 'CLINK', name: 'Compound LINK', address: '0xFAce851a4921ce59e912d19329929CE6da6EB0c7', decimals: 8, factor: 0, root: 'link', id: 'LINK-A' }, + { key: 'cmkr', type: 'ctoken', symbol: 'CMKR', name: 'Compound MKR', address: '0x95b4ef2869ebd94beb4eee400a99824bf5dc325b', decimals: 8, factor: 0.25, root: 'mkr', id: 'MKR-A' }, + { key: 'caave', type: 'ctoken', symbol: 'CAAVE', name: 'Compound AAVE', address: '0xe65cdb6479bac1e22340e4e755fae7e509ecd06c', decimals: 8, factor: 0.25, root: 'aave', id: 'AAVE-A' }, + { key: 'cyfi', type: 'ctoken', symbol: 'CYFI', name: 'Compound YFI', address: '0x80a2ae356fc9ef4305676f7a3e2ed04e12c33946', decimals: 8, factor: 0.25, root: 'yfi', id: 'YFI-A' }, + { key: 'csushi', type: 'ctoken', symbol: 'CSUSHI', name: 'Compound SUSHI', address: '0x4b0181102a0112a2ef11abee5563bb4a3176c9d7', decimals: 8, factor: 0.25, root: 'sushi', id: 'SUSHI-A' }, ] export default { - mainnet : createTokenUtils(mainnetTokens), - polygon : createTokenUtils(maticTokens), + mainnet: createTokenUtils(mainnetTokens), } diff --git a/constant/tokens.ts b/constant/tokens.ts index 62549d6..a104fa7 100644 --- a/constant/tokens.ts +++ b/constant/tokens.ts @@ -2,82 +2,506 @@ import { createTokenUtils } from "../utils/create-token-utils"; // prettier-ignore export default { - mainnet : createTokenUtils([ - { key: 'eth', type: 'token', symbol: 'ETH', name: 'Ethereum', address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', decimals: 18, isStableCoin: false}, - { key: 'weth', type: 'token', symbol: 'WETH', name: 'Wrapped Ethereum', address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', decimals: 18, isStableCoin: false}, - { key: 'inst', type: 'token', symbol: 'INST', name: 'Instadapp Token', address: '0x6f40d4A6237C257fff2dB00FA0510DeEECd303eb', decimals: 18, isStableCoin: false}, - { key: 'dai', type: 'token', symbol: 'DAI', name: 'DAI Stable', address: '0x6B175474E89094C44Da98b954EedeAC495271d0F', decimals: 18, isStableCoin: true}, - { key: 'usdc', type: 'token', symbol: 'USDC', name: 'USD Coin', address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', decimals: 6, isStableCoin: true}, - { key: 'usdt', type: 'token', symbol: 'USDT', name: 'Tether USD Coin', address: '0xdAC17F958D2ee523a2206206994597C13D831ec7', decimals: 6, isStableCoin: true}, - { key: 'mkr', type: 'token', symbol: 'MKR', name: 'MakerDAO', address: '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2', decimals: 18, isStableCoin: false}, - { key: 'comp', type: 'token', symbol: 'COMP', name: 'Compound', address: '0xc00e94Cb662C3520282E6f5717214004A7f26888', decimals: 18, isStableCoin: false}, - { key: 'rai', type: 'token', symbol: 'RAI', name: 'Rai Reflex Index', address: '0x03ab458634910AaD20eF5f1C8ee96F1D6ac54919', decimals: 18, isStableCoin: false}, - { key: 'lusd', type: 'token', symbol: 'LUSD', name: 'Liquity USD', address: '0x5f98805A4E8be255a32880FDeC7F6728C6568bA0', decimals: 18, isStableCoin: true}, - { key: 'zrx', type: 'token', symbol: 'ZRX', name: '0x Protocol', address: '0xE41d2489571d322189246DaFA5ebDe1F4699F498', decimals: 18, isStableCoin: false}, - { key: 'rep', type: 'token', symbol: 'REP', name: 'Augur', address: '0x1985365e9f78359a9B6AD760e32412f4a445E862', decimals: 18, isStableCoin: false}, - { key: 'tusd', type: 'token', symbol: 'TUSD', name: 'TrueUSD', address: '0x0000000000085d4780B73119b644AE5ecd22b376', decimals: 18, isStableCoin: true}, - { key: 'pax', type: 'token', symbol: 'PAX', name: 'Paxos Standard Coin', address: '0x8E870D67F660D95d5be530380D0eC0bd388289E1', decimals: 18, isStableCoin: true}, - { key: 'bat', type: 'token', symbol: 'BAT', name: 'Basic Attention', address: '0x0D8775F648430679A709E98d2b0Cb6250d2887EF', decimals: 18, isStableCoin: false}, - { key: 'knc', type: 'token', symbol: 'KNC', name: 'Kyber Network', address: '0xdd974D5C2e2928deA5F71b9825b8b646686BD200', decimals: 18, isStableCoin: false}, - { key: 'wbtc', type: 'token', symbol: 'WBTC', name: 'Wrapped BTC', address: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', decimals: 8, isStableCoin: false}, - { key: 'susd', type: 'token', symbol: 'SUSD', name: 'Synthetix USD', address: '0x57Ab1ec28D129707052df4dF418D58a2D46d5f51', decimals: 18, isStableCoin: false}, - { key: 'sbtc', type: 'token', symbol: 'SBTC', name: 'Synthetix BTC', address: '0xfE18be6b3Bd88A2D2A7f928d00292E7a9963CfC6', decimals: 18, isStableCoin: false}, - { key: 'ren', type: 'token', symbol: 'REN', name: 'Republic Token', address: '0x408e41876cCCDC0F92210600ef50372656052a38', decimals: 18, isStableCoin: false}, - { key: 'renbtc', type: 'token', symbol: 'renBTC', name: 'Ren BTC', address: '0xEB4C2781e4ebA804CE9a9803C67d0893436bB27D', decimals: 8, isStableCoin: false}, - { key: 'busd', type: 'token', symbol: 'BUSD', name: 'Binance USD', address: '0x4Fabb145d64652a948d72533023f6E7A623C7C53', decimals: 18, isStableCoin: true}, - { key: 'lend', type: 'token', symbol: 'LEND', name: 'ETH LEND', address: '0x80fB784B7eD66730e8b1DBd9820aFD29931aab03', decimals: 18, isStableCoin: false}, - { key: 'aave', type: 'token', symbol: 'AAVE', name: 'Aave Token', address: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9', decimals: 18, isStableCoin: false}, - { key: 'link', type: 'token', symbol: 'LINK', name: 'ChainLink Token', address: '0x514910771AF9Ca656af840dff83E8264EcF986CA', decimals: 18, isStableCoin: false}, - { key: 'mana', type: 'token', symbol: 'MANA', name: 'Decentraland', address: '0x0F5D2fB29fb7d3CFeE444a200298f468908cC942', decimals: 18, isStableCoin: false}, - { key: 'snx', type: 'token', symbol: 'SNX', name: 'Synthetix Network Token', address: '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F', decimals: 18, isStableCoin: false}, - { key: 'uni', type: 'token', symbol: 'UNI', name: 'Uniswap Token', address: '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984', decimals: 18, isStableCoin: false}, - { key: 'yfi', type: 'token', symbol: 'YFI', name: 'YEARN', address: '0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e', decimals: 18, isStableCoin: false}, - // { key: 'chi', type: 'token', symbol: 'CHI', name: 'CHI Gas Token', address: '0x0000000000004946c0e9F43F4Dee607b0eF1fA1c', decimals: 0, isStableCoin: false}, - { key: 'lrc', type: 'token', symbol: 'LRC', name: 'Loopring Coin V2', address: '0xBBbbCA6A901c926F240b89EacB641d8Aec7AEafD', decimals: 18, isStableCoin: false}, - { key: 'enj', type: 'token', symbol: 'ENJ', name: 'Enjin Coin', address: '0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c', decimals: 18, isStableCoin: false}, - { key: 'bal', type: 'token', symbol: 'BAL', name: 'Balancer', address: '0xba100000625a3754423978a60c9317c58a424e3D', decimals: 18, isStableCoin: false}, - { key: 'gusd', type: 'token', symbol: 'GUSD', name: 'Gemini Dollar', address: '0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd', decimals: 2, isStableCoin: true, }, - { key: 'dpi', type: 'token', symbol: 'DPI', name: 'DefiPulse Index', address: '0x1494CA1F11D487c2bBe4543E90080AeBa4BA3C2b', decimals: 18, isStableCoin: false, }, - { key: '1inch', type: 'token', symbol: '1INCH', name: '1INCH Token', address: '0x111111111117dC0aa78b770fA6A738034120C302', decimals: 18, isStableCoin: false, }, - { key: 'sushi', type: 'token', symbol: 'SUSHI', name: 'Sushiswap Token', address: '0x6B3595068778DD592e39A122f4f5a5cF09C90fE2', decimals: 18, isStableCoin: false, }, - { key: 'xsushi', type: 'token', symbol: 'xSUSHI', name: 'Sushibar', address: '0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272', decimals: 18, isStableCoin: false, }, - { key: 'crv', type: 'token', symbol: 'CRV', name: 'Curve DAO Token', address: '0xD533a949740bb3306d119CC777fa900bA034cd52', decimals: 18, isStableCoin: false, }, - { key: 'eth2xfli', type: 'token', symbol: 'ETH2x-FLI', name: 'ETH 2x Flexible Leverage Index', address: '0xAa6E8127831c9DE45ae56bB1b0d4D4Da6e5665BD', decimals: 18, isStableCoin: false, }, - { key: 'btc2xfli', type: 'token', symbol: 'BTC2x-FLI', name: 'BTC 2x Flexible Leverage Index', address: '0x0B498ff89709d3838a063f1dFA463091F9801c2b', decimals: 18, isStableCoin: false, }, - { key: 'stkaave', type: 'token', symbol: 'stkAAVE', name: 'Staked Aave', address: '0x4da27a545c0c5B758a6BA100e3a049001de870f5', decimals: 18, isStableCoin: false, }, - { key: 'matic', type: 'token', symbol: 'MATIC', name: 'Matic Token', address: '0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0', decimals: 18, isStableCoin: false, }, - { key: 'lqty', type: 'token', symbol: 'LQTY', name: 'LQTY', address: '0x6DEA81C8171D0bA574754EF6F8b412F2Ed88c54D', decimals: 18, isStableCoin: false}, + mainnet: createTokenUtils([ + { key: 'eth', type: 'token', symbol: 'ETH', name: 'Ethereum', address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', decimals: 18, isStableCoin: false }, + { key: 'weth', type: 'token', symbol: 'WETH', name: 'Wrapped Ethereum', address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', decimals: 18, isStableCoin: false }, + { key: 'inst', type: 'token', symbol: 'INST', name: 'Instadapp Token', address: '0x6f40d4A6237C257fff2dB00FA0510DeEECd303eb', decimals: 18, isStableCoin: false }, + { key: 'dai', type: 'token', symbol: 'DAI', name: 'DAI Stable', address: '0x6B175474E89094C44Da98b954EedeAC495271d0F', decimals: 18, isStableCoin: true }, + { key: 'usdc', type: 'token', symbol: 'USDC', name: 'USD Coin', address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', decimals: 6, isStableCoin: true }, + { key: 'usdt', type: 'token', symbol: 'USDT', name: 'Tether USD Coin', address: '0xdAC17F958D2ee523a2206206994597C13D831ec7', decimals: 6, isStableCoin: true }, + { key: 'mkr', type: 'token', symbol: 'MKR', name: 'MakerDAO', address: '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2', decimals: 18, isStableCoin: false }, + { key: 'comp', type: 'token', symbol: 'COMP', name: 'Compound', address: '0xc00e94Cb662C3520282E6f5717214004A7f26888', decimals: 18, isStableCoin: false }, + { key: 'rai', type: 'token', symbol: 'RAI', name: 'Rai Reflex Index', address: '0x03ab458634910AaD20eF5f1C8ee96F1D6ac54919', decimals: 18, isStableCoin: false }, + { key: 'lusd', type: 'token', symbol: 'LUSD', name: 'Liquity USD', address: '0x5f98805A4E8be255a32880FDeC7F6728C6568bA0', decimals: 18, isStableCoin: true }, + { key: 'zrx', type: 'token', symbol: 'ZRX', name: '0x Protocol', address: '0xE41d2489571d322189246DaFA5ebDe1F4699F498', decimals: 18, isStableCoin: false }, + { key: 'rep', type: 'token', symbol: 'REP', name: 'Augur', address: '0x1985365e9f78359a9B6AD760e32412f4a445E862', decimals: 18, isStableCoin: false }, + { key: 'tusd', type: 'token', symbol: 'TUSD', name: 'TrueUSD', address: '0x0000000000085d4780B73119b644AE5ecd22b376', decimals: 18, isStableCoin: true }, + { key: 'usdp', type: 'token', symbol: 'USDP', name: 'Paxos Standard Coin', address: '0x8E870D67F660D95d5be530380D0eC0bd388289E1', decimals: 18, isStableCoin: true }, + { key: 'bat', type: 'token', symbol: 'BAT', name: 'Basic Attention', address: '0x0D8775F648430679A709E98d2b0Cb6250d2887EF', decimals: 18, isStableCoin: false }, + { key: 'knc', type: 'token', symbol: 'KNC', name: 'Kyber Network', address: '0xdd974D5C2e2928deA5F71b9825b8b646686BD200', decimals: 18, isStableCoin: false }, + { key: 'wbtc', type: 'token', symbol: 'WBTC', name: 'Wrapped BTC', address: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', decimals: 8, isStableCoin: false }, + { key: 'susd', type: 'token', symbol: 'SUSD', name: 'Synthetix USD', address: '0x57Ab1ec28D129707052df4dF418D58a2D46d5f51', decimals: 18, isStableCoin: false }, + { key: 'sbtc', type: 'token', symbol: 'SBTC', name: 'Synthetix BTC', address: '0xfE18be6b3Bd88A2D2A7f928d00292E7a9963CfC6', decimals: 18, isStableCoin: false }, + { key: 'ren', type: 'token', symbol: 'REN', name: 'Republic Token', address: '0x408e41876cCCDC0F92210600ef50372656052a38', decimals: 18, isStableCoin: false }, + { key: 'renbtc', type: 'token', symbol: 'renBTC', name: 'Ren BTC', address: '0xEB4C2781e4ebA804CE9a9803C67d0893436bB27D', decimals: 8, isStableCoin: false }, + { key: 'busd', type: 'token', symbol: 'BUSD', name: 'Binance USD', address: '0x4Fabb145d64652a948d72533023f6E7A623C7C53', decimals: 18, isStableCoin: true }, + { key: 'lend', type: 'token', symbol: 'LEND', name: 'ETH LEND', address: '0x80fB784B7eD66730e8b1DBd9820aFD29931aab03', decimals: 18, isStableCoin: false }, + { key: 'aave', type: 'token', symbol: 'AAVE', name: 'Aave Token', address: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9', decimals: 18, isStableCoin: false }, + { key: 'link', type: 'token', symbol: 'LINK', name: 'ChainLink Token', address: '0x514910771AF9Ca656af840dff83E8264EcF986CA', decimals: 18, isStableCoin: false }, + { key: 'mana', type: 'token', symbol: 'MANA', name: 'Decentraland', address: '0x0F5D2fB29fb7d3CFeE444a200298f468908cC942', decimals: 18, isStableCoin: false }, + { key: 'snx', type: 'token', symbol: 'SNX', name: 'Synthetix Network Token', address: '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F', decimals: 18, isStableCoin: false }, + { key: 'uni', type: 'token', symbol: 'UNI', name: 'Uniswap Token', address: '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984', decimals: 18, isStableCoin: false }, + { key: 'yfi', type: 'token', symbol: 'YFI', name: 'YEARN', address: '0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e', decimals: 18, isStableCoin: false }, + { key: 'lrc', type: 'token', symbol: 'LRC', name: 'Loopring Coin V2', address: '0xBBbbCA6A901c926F240b89EacB641d8Aec7AEafD', decimals: 18, isStableCoin: false }, + { key: 'enj', type: 'token', symbol: 'ENJ', name: 'Enjin Coin', address: '0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c', decimals: 18, isStableCoin: false }, + { key: 'bal', type: 'token', symbol: 'BAL', name: 'Balancer', address: '0xba100000625a3754423978a60c9317c58a424e3D', decimals: 18, isStableCoin: false }, + { key: 'gusd', type: 'token', symbol: 'GUSD', name: 'Gemini Dollar', address: '0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd', decimals: 2, isStableCoin: true }, + { key: 'dpi', type: 'token', symbol: 'DPI', name: 'DefiPulse Index', address: '0x1494CA1F11D487c2bBe4543E90080AeBa4BA3C2b', decimals: 18, isStableCoin: false }, + { key: '1inch', type: 'token', symbol: '1INCH', name: '1INCH Token', address: '0x111111111117dC0aa78b770fA6A738034120C302', decimals: 18, isStableCoin: false }, + { key: 'sushi', type: 'token', symbol: 'SUSHI', name: 'Sushiswap Token', address: '0x6B3595068778DD592e39A122f4f5a5cF09C90fE2', decimals: 18, isStableCoin: false }, + { key: 'xsushi', type: 'token', symbol: 'xSUSHI', name: 'Sushibar', address: '0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272', decimals: 18, isStableCoin: false }, + { key: 'crv', type: 'token', symbol: 'CRV', name: 'Curve DAO Token', address: '0xD533a949740bb3306d119CC777fa900bA034cd52', decimals: 18, isStableCoin: false }, + { key: 'stkaave', type: 'token', symbol: 'stkAAVE', name: 'Staked Aave', address: '0x4da27a545c0c5B758a6BA100e3a049001de870f5', decimals: 18, isStableCoin: false }, + { key: 'matic', type: 'token', symbol: 'MATIC', name: 'Matic Token', address: '0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0', decimals: 18, isStableCoin: false }, + { key: 'lqty', type: 'token', symbol: 'LQTY', name: 'Liquity Protocol', address: '0x6DEA81C8171D0bA574754EF6F8b412F2Ed88c54D', decimals: 18, isStableCoin: false }, + { key: 'ampl', type: 'token', symbol: 'AMPL', name: 'Ampleforth', address: '0xD46bA6D942050d489DBd938a2C909A5d5039A161', decimals: 9, isStableCoin: false }, + { key: 'renfil', type: 'token', symbol: 'renFIL', name: 'renFIL', address: '0xD5147bc8e386d91Cc5DBE72099DAC6C9b99276F5', decimals: 18, isStableCoin: false }, + { key: 'frax', type: 'token', symbol: 'FRAX', name: 'Frax Protocol', address: '0x853d955aCEf822Db058eb8505911ED77F175b99e', decimals: 18, isStableCoin: true }, + { key: 'fei', type: 'token', symbol: 'FEI', name: 'Fei Protocol', address: '0x956F47F50A910163D8BF957Cf5846D573E7f87CA', decimals: 18, isStableCoin: true }, + { key: 'steth', type: 'token', symbol: 'stETH', name: 'Lido stETH Token', address: '0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84', decimals: 18, isStableCoin: false }, + { key: 'wsteth', type: 'token', symbol: 'wstETH', name: 'Lido Wrapped stETH Token', address: '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0', decimals: 18, isStableCoin: false }, + { key: 'ape', type: 'token', symbol: 'APE', name: 'ApeCoin Token', address: '0x4d224452801ACEd8B2F0aebE155379bb5D594381', decimals: 18, isStableCoin: false }, + { key: 'ust', type: 'token', symbol: 'UST', name: 'UST (Wormhole)', address: '0xa693B19d2931d498c5B318dF961919BB4aee87a5', decimals: 6, isStableCoin: true }, ]), polygon: createTokenUtils([ - { key: 'matic', type: 'token', symbol: 'MATIC', name: 'MATIC', address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', decimals: 18, isStableCoin: false}, - { key: 'inst', type: 'token', symbol: 'INST', name: 'Instadapp Token', address: '0xf50D05A1402d0adAfA880D36050736f9f6ee7dee', decimals: 18, isStableCoin: false}, - { key: 'eth', type: 'token', symbol: 'ETH', name: 'Ethereum', address: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', decimals: 18, isStableCoin: false}, - { key: 'dai', type: 'token', symbol: 'DAI', name: 'DAI Stable', address: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', decimals: 18, isStableCoin: true}, - { key: 'usdc', type: 'token', symbol: 'USDC', name: 'USD Coin', address: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', decimals: 6, isStableCoin: true}, - { key: 'usdt', type: 'token', symbol: 'USDT', name: 'Tether USD Coin', address: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', decimals: 6, isStableCoin: true}, - { key: 'wmatic', type: 'token', symbol: 'WMATIC', name: 'Wrapped MATIC', address: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', decimals: 18, isStableCoin: false}, - { key: 'wbtc', type: 'token', symbol: 'WBTC', name: 'Wrapped BTC', address: '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6', decimals: 8, isStableCoin: false}, - { key: 'aave', type: 'token', symbol: 'AAVE', name: 'Aave Token', address: '0xD6DF932A45C0f255f85145f286eA0b292B21C90B', decimals: 18, isStableCoin: false }, + { + key: 'matic', + type: 'token', + symbol: 'MATIC', + name: 'MATIC', + address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', + decimals: 18, + isStableCoin: false, + }, + { + key: 'inst', + type: 'token', + symbol: 'INST', + name: 'Instadapp Token', + address: '0xf50D05A1402d0adAfA880D36050736f9f6ee7dee', + decimals: 18, + isStableCoin: false, + }, + { + key: 'eth', + type: 'token', + symbol: 'ETH', + name: 'Ethereum', + address: '0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', + decimals: 18, + isStableCoin: false, + }, + { + key: 'dai', + type: 'token', + symbol: 'DAI', + name: 'DAI Stable', + address: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', + decimals: 18, + isStableCoin: true, + }, + { + key: 'usdc', + type: 'token', + symbol: 'USDC', + name: 'USD Coin', + address: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', + decimals: 6, + isStableCoin: true, + }, + { + key: 'usdt', + type: 'token', + symbol: 'USDT', + name: 'Tether USD Coin', + address: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', + decimals: 6, + isStableCoin: true, + }, + { + key: 'wmatic', + type: 'token', + symbol: 'WMATIC', + name: 'Wrapped MATIC', + address: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', + decimals: 18, + isStableCoin: false, + }, + { + key: 'wbtc', + type: 'token', + symbol: 'WBTC', + name: 'Wrapped BTC', + address: '0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6', + decimals: 8, + isStableCoin: false, + }, + { + key: 'aave', + type: 'token', + symbol: 'AAVE', + name: 'Aave Token', + address: '0xD6DF932A45C0f255f85145f286eA0b292B21C90B', + decimals: 18, + isStableCoin: false, + }, + { + key: 'sushi', + type: 'token', + symbol: 'SUSHI', + name: 'Sushi Token', + address: '0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a', + decimals: 18, + isStableCoin: false, + }, + { + key: 'bal', + type: 'token', + symbol: 'BAL', + name: 'balancer Token', + address: '0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3', + decimals: 18, + isStableCoin: false, + }, + { + key: 'crv', + type: 'token', + symbol: 'CRV', + name: 'CRV Token', + address: '0x172370d5Cd63279eFa6d502DAB29171933a610AF', + decimals: 18, + isStableCoin: false, + }, + { + key: 'dpi', + type: 'token', + symbol: 'DPI', + name: 'DPI Token', + address: '0x85955046DF4668e1DD369D2DE9f3AEB98DD2A369', + decimals: 18, + isStableCoin: false, + }, + { + key: 'link', + type: 'token', + symbol: 'LINK', + name: 'ChainLink Token', + address: '0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39', + decimals: 18, + isStableCoin: false, + }, + { + key: 'ghst', + type: 'token', + symbol: 'GHST', + name: 'Aavegotchi GHST Token', + address: '0x385Eeac5cB85A38A9a07A70c73e0a3271CfB54A7', + decimals: 18, + isStableCoin: false, + }, + { + key: 'jeur', + type: 'token', + symbol: 'JEUR', + name: 'Jarvis Synthetic Euro Token', + address: '0x4e3Decbb3645551B8A19f0eA1678079FCB33fB4c', + decimals: 18, + isStableCoin: false, + }, + { + key: 'eurs', + type: 'token', + symbol: 'EURS', + name: 'Statis EURS Token', + address: '0xE111178A87A3BFf0c8d18DECBa5798827539Ae99', + decimals: 2, + isStableCoin: false, + }, + { + key: 'ageur', + type: 'token', + symbol: 'AGEUR', + name: 'aGEUR Token', + address: '0xE0B52e49357Fd4DAf2c15e02058DCE6BC0057db4', + decimals: 18, + isStableCoin: false, + }, ]), arbitrum: createTokenUtils([ - { key: 'eth', type: 'token', symbol: 'ETH', name: 'Ethereum', address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', decimals: 18, isStableCoin: false }, - { key: 'weth', type: 'token', symbol: 'WETH', name: 'Wrapped Ethereum', address: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', decimals: 18, isStableCoin: false }, - { key: 'usdc', type: 'token', symbol: 'USDC', name: 'USD Coin', address: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', decimals: 6, isStableCoin: true }, - { key: 'usdt', type: 'token', symbol: 'USDT', name: 'Tether USD Coin', address: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', decimals: 6, isStableCoin: true }, - { key: 'link', type: 'token', symbol: 'LINK', name: 'ChainLink Token', address: '0xf97f4df75117a78c1A5a0DBb814Af92458539FB4', decimals: 18, isStableCoin: false }, - { key: 'uni', type: 'token', symbol: 'UNI', name: 'Uniswap Token', address: '0xFa7F8980b0f1E64A2062791cc3b0871572f1F7f0', decimals: 18, isStableCoin: false }, - { key: 'wbtc', type: 'token', symbol: 'WBTC', name: 'Wrapped BTC', address: '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', decimals: 8, isStableCoin: false }, + { + key: 'eth', + type: 'token', + symbol: 'ETH', + name: 'Ethereum', + address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', + decimals: 18, + isStableCoin: false, + }, + { + key: 'weth', + type: 'token', + symbol: 'WETH', + name: 'Wrapped Ethereum', + address: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', + decimals: 18, + isStableCoin: false, + }, + { + key: 'usdc', + type: 'token', + symbol: 'USDC', + name: 'USD Coin', + address: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', + decimals: 6, + isStableCoin: true, + }, + { + key: 'usdt', + type: 'token', + symbol: 'USDT', + name: 'Tether USD Coin', + address: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', + decimals: 6, + isStableCoin: true, + }, + { + key: 'link', + type: 'token', + symbol: 'LINK', + name: 'ChainLink Token', + address: '0xf97f4df75117a78c1A5a0DBb814Af92458539FB4', + decimals: 18, + isStableCoin: false, + }, + { + key: 'uni', + type: 'token', + symbol: 'UNI', + name: 'Uniswap Token', + address: '0xFa7F8980b0f1E64A2062791cc3b0871572f1F7f0', + decimals: 18, + isStableCoin: false, + }, + { + key: 'wbtc', + type: 'token', + symbol: 'WBTC', + name: 'Wrapped BTC', + address: '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', + decimals: 8, + isStableCoin: false, + }, + { + key: 'dai', + type: 'token', + symbol: 'DAI', + name: 'Dai Stable', + address: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', + decimals: 18, + isStableCoin: true, + }, + { + key: 'eurs', + type: 'token', + symbol: 'EURS', + name: 'Statis EURS', + address: '0xD22a58f79e9481D1a88e00c343885A588b34b68B', + decimals: 18, + isStableCoin: false, + }, ]), avalanche: createTokenUtils([ - { key: 'avax', type: 'token', symbol: 'AVAX', name: 'Avalanche', address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', decimals: 18, isStableCoin: false }, - { key: 'wavax', type: 'token', symbol: 'WAVAX', name: 'Wrapped AVAX', address: '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', decimals: 18, isStableCoin: false }, - { key: 'eth', type: 'token', symbol: 'ETH', name: 'Ethereum', address: '0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB', decimals: 18, isStableCoin: false }, - { key: 'usdt', type: 'token', symbol: 'USDT', name: 'Tether USD Coin', address: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', decimals: 6, isStableCoin: true }, - { key: 'aave', type: 'token', symbol: 'AAVE', name: 'Aave Token', address: '0x63a72806098Bd3D9520cC43356dD78afe5D386D9', decimals: 18, isStableCoin: false }, - { key: 'usdc', type: 'token', symbol: 'USDC', name: 'USD Coin', address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', decimals: 6, isStableCoin: true }, - { key: 'wbtc', type: 'token', symbol: 'WBTC', name: 'Wrapped BTC', address: '0x50b7545627a5162F82A992c33b87aDc75187B218', decimals: 8, isStableCoin: false }, - { key: 'dai', type: 'token', symbol: 'DAI', name: 'DAI Stable', address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', decimals: 18, isStableCoin: true }, + { + key: 'avax', + type: 'token', + symbol: 'AVAX', + name: 'Avalanche', + address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', + decimals: 18, + isStableCoin: false, + }, + { + key: 'wavax', + type: 'token', + symbol: 'WAVAX', + name: 'Wrapped AVAX', + address: '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7', + decimals: 18, + isStableCoin: false, + }, + { + key: 'eth', + type: 'token', + symbol: 'ETH', + name: 'Ethereum', + address: '0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB', + decimals: 18, + isStableCoin: false, + }, + { + key: 'usdte', + type: 'token', + symbol: 'USDT.e', + name: 'Tether USD Coin', + address: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', + decimals: 6, + isStableCoin: true, + }, + { + key: 'usdt', + type: 'token', + symbol: 'USDT', + name: 'Tether USD Coin', + address: '0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7', + decimals: 6, + isStableCoin: true, + }, + { + key: 'aave', + type: 'token', + symbol: 'AAVE', + name: 'Aave Token', + address: '0x63a72806098Bd3D9520cC43356dD78afe5D386D9', + decimals: 18, + isStableCoin: false, + }, + { + key: 'usdce', + type: 'token', + symbol: 'USDC.e', + name: 'USD Coin', + address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', + decimals: 6, + isStableCoin: true, + }, + { + key: 'usdc', + type: 'token', + symbol: 'USDC', + name: 'USD Coin', + address: '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E', + decimals: 6, + isStableCoin: true, + }, + { + key: 'wbtc', + type: 'token', + symbol: 'WBTC', + name: 'Wrapped BTC', + address: '0x50b7545627a5162F82A992c33b87aDc75187B218', + decimals: 8, + isStableCoin: false, + }, + { + key: 'dai', + type: 'token', + symbol: 'DAI', + name: 'DAI Stable', + address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', + decimals: 18, + isStableCoin: true, + }, + { + key: 'qi', + type: 'token', + symbol: 'QI', + name: 'Benqi', + address: '0x8729438EB15e2C8B576fCc6AeCdA6A148776C0F5', + decimals: 18, + isStableCoin: false, + }, + { + key: 'link', + type: 'token', + symbol: 'LINK', + name: 'Chainlink', + address: '0x5947BB275c521040051D82396192181b413227A3', + decimals: 18, + isStableCoin: false, + }, + ]), + optimism: createTokenUtils([ + { + key: 'eth', + type: 'token', + symbol: 'ETH', + name: 'Ethereum', + address: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', + decimals: 18, + isStableCoin: false, + }, + { + key: 'weth', + type: 'token', + symbol: 'WETH', + name: 'Wrapped Ethereum', + address: '0x4200000000000000000000000000000000000006', + decimals: 18, + isStableCoin: false, + }, + { + key: 'usdc', + type: 'token', + symbol: 'USDC', + name: 'USD Coin', + address: '0x7F5c764cBc14f9669B88837ca1490cCa17c31607', + decimals: 6, + isStableCoin: true, + }, + { + key: 'usdt', + type: 'token', + symbol: 'USDT', + name: 'Tether USD Coin', + address: '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58', + decimals: 6, + isStableCoin: true, + }, + { + key: 'dai', + type: 'token', + symbol: 'DAI', + name: 'DAI Stable', + address: '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', + decimals: 18, + isStableCoin: true, + }, + { + key: 'uni', + type: 'token', + symbol: 'UNI', + name: 'Uniswap Token', + address: '0x6fd9d7AD17242c41f7131d257212c54A0e816691', + decimals: 18, + isStableCoin: false, + }, + { + key: 'wbtc', + type: 'token', + symbol: 'WBTC', + name: 'Wrapped BTC', + address: '0x68f180fcCe6836688e9084f035309E29Bf0A2095', + decimals: 8, + isStableCoin: false, + }, + { + key: 'link', + type: 'token', + symbol: 'LINK', + name: 'ChainLink LINK', + address: '0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6', + decimals: 18, + isStableCoin: false, + }, + { + key: 'susd', + type: 'token', + symbol: 'SUSD', + name: 'Synth SUSD', + address: '0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9', + decimals: 18, + isStableCoin: true, + }, + { + key: 'aave', + type: 'token', + symbol: 'AAVE', + name: 'AAVE', + address: '0x76FB31fb4af56892A25e32cFC43De717950c9278', + decimals: 18, + isStableCoin: false, + }, ]) } diff --git a/layouts/default.vue b/layouts/default.vue index fb395d0..d576650 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -1,21 +1,14 @@
+
-
+

Assembly doesn't support DSA v1

-

+

Please create or switch to DSA v2.

@@ -25,25 +18,12 @@
- - - + + + +
@@ -58,27 +38,14 @@ -
-