Skip to content

Commit

Permalink
feat: add coingeckoid for testnet test tokens
Browse files Browse the repository at this point in the history
this treats stable test coin as usdc price in testnet
  • Loading branch information
harrier-lcc committed Jan 3, 2025
1 parent d0cf2fa commit d2eff2a
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 25 deletions.
36 changes: 24 additions & 12 deletions everclear.testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@
"tickerHash": "0x852daa74cc3c31fe64542bb9b8764cfb91cc30f9acf9389071ffb44a9eefde46",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"DTT": {
Expand All @@ -93,7 +94,8 @@
"tickerHash": "0x0862d7701ae2a04548299440d8e9bcde598aaa04f40d2b263697efe0cc6c0bb4",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"xTEST": {
Expand All @@ -103,7 +105,8 @@
"tickerHash": "0x1c1f1b017c99eb3cc5da6ca4df343dd8e3a7ba78771bba1390acc3801811e42d",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
}
}
Expand Down Expand Up @@ -140,7 +143,8 @@
"tickerHash": "0x852daa74cc3c31fe64542bb9b8764cfb91cc30f9acf9389071ffb44a9eefde46",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"DTT": {
Expand All @@ -150,7 +154,8 @@
"tickerHash": "0x0862d7701ae2a04548299440d8e9bcde598aaa04f40d2b263697efe0cc6c0bb4",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"xTEST": {
Expand All @@ -160,7 +165,8 @@
"tickerHash": "0x1c1f1b017c99eb3cc5da6ca4df343dd8e3a7ba78771bba1390acc3801811e42d",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
}
}
Expand Down Expand Up @@ -196,7 +202,8 @@
"tickerHash": "0x852daa74cc3c31fe64542bb9b8764cfb91cc30f9acf9389071ffb44a9eefde46",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"DTT": {
Expand All @@ -206,7 +213,8 @@
"tickerHash": "0x0862d7701ae2a04548299440d8e9bcde598aaa04f40d2b263697efe0cc6c0bb4",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"xTEST": {
Expand All @@ -216,7 +224,8 @@
"tickerHash": "0x1c1f1b017c99eb3cc5da6ca4df343dd8e3a7ba78771bba1390acc3801811e42d",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
}
}
Expand Down Expand Up @@ -254,7 +263,8 @@
"tickerHash": "0x852daa74cc3c31fe64542bb9b8764cfb91cc30f9acf9389071ffb44a9eefde46",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"DTT": {
Expand All @@ -264,7 +274,8 @@
"tickerHash": "0x0862d7701ae2a04548299440d8e9bcde598aaa04f40d2b263697efe0cc6c0bb4",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"xTEST": {
Expand All @@ -274,7 +285,8 @@
"tickerHash": "0x1c1f1b017c99eb3cc5da6ca4df343dd8e3a7ba78771bba1390acc3801811e42d",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
}
}
Expand Down
38 changes: 25 additions & 13 deletions everclear.testnet.staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
"tickerHash": "0x852daa74cc3c31fe64542bb9b8764cfb91cc30f9acf9389071ffb44a9eefde46",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"DTT": {
Expand All @@ -70,7 +71,8 @@
"tickerHash": "0x0862d7701ae2a04548299440d8e9bcde598aaa04f40d2b263697efe0cc6c0bb4",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"xTEST": {
Expand All @@ -80,7 +82,8 @@
"tickerHash": "0x1c1f1b017c99eb3cc5da6ca4df343dd8e3a7ba78771bba1390acc3801811e42d",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
}
}
Expand Down Expand Up @@ -118,7 +121,8 @@
"tickerHash": "0x852daa74cc3c31fe64542bb9b8764cfb91cc30f9acf9389071ffb44a9eefde46",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"DTT": {
Expand All @@ -128,7 +132,8 @@
"tickerHash": "0x0862d7701ae2a04548299440d8e9bcde598aaa04f40d2b263697efe0cc6c0bb4",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"xTEST": {
Expand All @@ -138,7 +143,8 @@
"tickerHash": "0x1c1f1b017c99eb3cc5da6ca4df343dd8e3a7ba78771bba1390acc3801811e42d",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
}
}
Expand Down Expand Up @@ -175,7 +181,8 @@
"tickerHash": "0x852daa74cc3c31fe64542bb9b8764cfb91cc30f9acf9389071ffb44a9eefde46",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"DTT": {
Expand All @@ -185,7 +192,8 @@
"tickerHash": "0x0862d7701ae2a04548299440d8e9bcde598aaa04f40d2b263697efe0cc6c0bb4",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"xTEST": {
Expand All @@ -195,7 +203,8 @@
"tickerHash": "0x1c1f1b017c99eb3cc5da6ca4df343dd8e3a7ba78771bba1390acc3801811e42d",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
}
}
Expand Down Expand Up @@ -232,7 +241,8 @@
"tickerHash": "0x852daa74cc3c31fe64542bb9b8764cfb91cc30f9acf9389071ffb44a9eefde46",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"DTT": {
Expand All @@ -242,7 +252,8 @@
"tickerHash": "0x0862d7701ae2a04548299440d8e9bcde598aaa04f40d2b263697efe0cc6c0bb4",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
},
"xTEST": {
Expand All @@ -252,10 +263,11 @@
"tickerHash": "0x1c1f1b017c99eb3cc5da6ca4df343dd8e3a7ba78771bba1390acc3801811e42d",
"isNative": false,
"price": {
"isStable": true
"isStable": true,
"coingeckoId": "usd-coin"
}
}
}
}
}
}
}

0 comments on commit d2eff2a

Please sign in to comment.