Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate oracles per chain for MAI + moonriver multichain tokens #1339

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ const _tokens = {
MAI: {
name: 'Mai Stablecoin',
symbol: 'MAI',
oracleId: 'MAI',
oracleId: 'arbMAI',
address: '0x3F56e0c36d275367b8C502090EDF38289b3dEa0d',
chainId: 42161,
decimals: 18,
Expand Down
2 changes: 1 addition & 1 deletion packages/address-book/address-book/aurora/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ const _tokens = {
MAI: {
name: 'QI DAO Stable Coin Mai',
symbol: 'MAI',
oracleId: 'MAI',
oracleId: 'aurMAI',
address: '0xdFA46478F9e5EA86d57387849598dbFB2e964b02',
chainId: 1313161554,
decimals: 18,
Expand Down
4 changes: 2 additions & 2 deletions packages/address-book/address-book/avax/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ const _tokens = {
decimals: 18,
name: 'Mai Stablecoin',
symbol: 'MAI',
oracleId: 'MAI',
oracleId: 'aMAI',
website: 'https://www.mai.finance/',
description:
"MAI is a stablecoin collateralized by your crypto holdings. It's powered by Qi Dao, a protocol that enables any cryptocurrency community to create stablecoins backed by their native tokens.",
Expand All @@ -753,7 +753,7 @@ const _tokens = {
decimals: 18,
name: 'MiMatic',
symbol: 'MAI',
oracleId: 'miMatic',
oracleId: 'amiMatic',
website: 'https://www.mai.finance/',
description:
"MAI is a stablecoin collateralized by your crypto holdings. It's powered by Qi Dao, a protocol that enables any cryptocurrency community to create stablecoins backed by their native tokens.",
Expand Down
2 changes: 1 addition & 1 deletion packages/address-book/address-book/bsc/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ const _tokens = {
MAI: {
name: 'Mai Stablecoin',
symbol: 'MAI',
oracleId: 'MAI',
oracleId: 'bscMAI',
address: '0x3F56e0c36d275367b8C502090EDF38289b3dEa0d',
chainId: 56,
decimals: 18,
Expand Down
4 changes: 2 additions & 2 deletions packages/address-book/address-book/fantom/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -892,8 +892,8 @@ const _tokens = {
},
MAI: {
name: 'Mai',
symbol: 'fMAI',
oracleId: 'MAI',
symbol: 'MAI',
oracleId: 'fMAI',
address: '0xfB98B335551a418cD0737375a2ea0ded62Ea213b',
chainId: 250,
decimals: 18,
Expand Down
4 changes: 2 additions & 2 deletions packages/address-book/address-book/kava/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ const _tokens = {
},
MAI: {
name: 'Mai Stablecoin',
symbol: 'kMAI',
oracleId: 'MAI',
symbol: 'MAI',
oracleId: 'kMAI',
address: '0xb84Df10966a5D7e1ab46D9276F55d57bD336AFC7',
chainId: 2222,
decimals: 18,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ const _tokens = {
MAI: {
name: 'Mai Stablecoin',
symbol: 'MAI',
oracleId: 'MAI',
oracleId: 'gMAI',
address: '0xdFA46478F9e5EA86d57387849598dbFB2e964b02',
chainId: 1284,
decimals: 18,
Expand Down
22 changes: 11 additions & 11 deletions packages/address-book/address-book/moonriver/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const _tokens = {
MAI: {
name: 'MAI',
symbol: 'Mai Stablecoin',
oracleId: 'MAI',
oracleId: 'mrMAI',
address: '0xFb2019DfD635a03cfFF624D210AEe6AF2B00fC2C',
chainId: 1285,
decimals: 18,
Expand Down Expand Up @@ -180,7 +180,7 @@ const _tokens = {
USDC: {
name: 'USD Coin',
symbol: 'USDC',
oracleId: 'USDC',
oracleId: 'mrmultiUSDC',
address: '0xE3F5a90F9cb311505cd691a46596599aA1A0AD7D',
chainId: 1285,
decimals: 6,
Expand All @@ -195,7 +195,7 @@ const _tokens = {
DAI: {
name: 'Dai Stablecoin',
symbol: 'DAI',
oracleId: 'DAI',
oracleId: 'mrmultiDAI',
address: '0x80A16016cC4A2E6a2CACA8a4a498b1699fF0f844',
chainId: 1285,
decimals: 18,
Expand All @@ -208,7 +208,7 @@ const _tokens = {
BUSD: {
name: 'Binance-Peg BUSD Token',
symbol: 'BUSD',
oracleId: 'BUSD',
oracleId: 'mrmultiBUSD',
address: '0x5D9ab5522c64E1F6ef5e3627ECCc093f56167818',
chainId: 1285,
decimals: 18,
Expand All @@ -221,7 +221,7 @@ const _tokens = {
ETH: {
name: 'Ethereum',
symbol: 'ETH',
oracleId: 'ETH',
oracleId: 'mrmultiETH',
address: '0x639A647fbe20b6c8ac19E48E2de44ea792c62c5C',
chainId: 1285,
decimals: 18,
Expand All @@ -234,7 +234,7 @@ const _tokens = {
BNB: {
name: 'Binance',
symbol: 'BNB',
oracleId: 'BNB',
oracleId: 'mrmultiBNB',
address: '0x2bF9b864cdc97b08B6D79ad4663e71B8aB65c45c',
chainId: 1285,
decimals: 18,
Expand All @@ -247,7 +247,7 @@ const _tokens = {
WBTC: {
name: 'Wrapped BTC',
symbol: 'WBTC',
oracleId: 'WBTC',
oracleId: 'mrmultiWBTC',
address: '0x6aB6d61428fde76768D7b45D8BFeec19c6eF91A8',
chainId: 1285,
decimals: 8,
Expand All @@ -260,7 +260,7 @@ const _tokens = {
USDT: {
name: 'Tether USD',
symbol: 'USDT',
oracleId: 'USDT',
oracleId: 'mrmultiUSDT',
address: '0xB44a9B6905aF7c801311e8F4E76932ee959c663C',
chainId: 1285,
decimals: 6,
Expand Down Expand Up @@ -310,7 +310,7 @@ const _tokens = {
miMatic: {
name: 'MAI',
symbol: 'miMatic',
oracleId: 'miMatic',
oracleId: 'mrmiMatic',
address: '0x7f5a79576620C046a293F54FFCdbd8f2468174F1',
chainId: 1285,
decimals: 18,
Expand All @@ -336,7 +336,7 @@ const _tokens = {
MIM: {
name: 'Magic Internet Money',
symbol: 'MIM',
oracleId: 'MIM',
oracleId: 'mrmultiMIM',
address: '0x0caE51e1032e8461f4806e26332c030E34De3aDb',
chainId: 1285,
decimals: 18,
Expand Down Expand Up @@ -366,7 +366,7 @@ const _tokens = {
anyFRAX: {
name: 'FRAX',
symbol: 'FRAX',
oracleId: 'anyFRAX',
oracleId: 'mrmultiFRAX',
address: '0x965f84D915a9eFa2dD81b653e3AE736555d945f4',
chainId: 1285,
decimals: 18,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ const _tokens = {
decimals: 18,
name: 'Mai Stablecoin',
symbol: 'MAI',
oracleId: 'MAI',
oracleId: 'oMAI',
website: 'https://www.mai.finance/',
description:
"MAI is a stablecoin collateralized by your crypto holdings. It's powered by Qi Dao, a protocol that enables any cryptocurrency community to create stablecoins backed by their native tokens.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const MAI = {
name: 'Mai',
address: '0xa3Fa99A148fA48D14Ed51d610c367C61876997F1',
symbol: 'MAI',
oracleId: 'MAI',
oracleId: 'pMAI',
decimals: 18,
chainId: 137,
website: 'https://www.mai.finance/',
Expand Down
2 changes: 1 addition & 1 deletion src/data/arbitrum/chronosStableLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lp0": {
"address": "0x3F56e0c36d275367b8C502090EDF38289b3dEa0d",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "arbMAI",
"decimals": "1e18"
},
"lp1": {
Expand Down
2 changes: 1 addition & 1 deletion src/data/arbitrum/kyberLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lp0": {
"address": "0x3F56e0c36d275367b8C502090EDF38289b3dEa0d",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "arbMAI",
"decimals": "1e18"
},
"lp1": {
Expand Down
8 changes: 4 additions & 4 deletions src/data/arbitrum/ramsesStableLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"lp0": {
"address": "0x3F56e0c36d275367b8C502090EDF38289b3dEa0d",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "arbMAI",
"decimals": "1e18"
},
"lp1": {
Expand All @@ -66,7 +66,7 @@
"lp0": {
"address": "0x3F56e0c36d275367b8C502090EDF38289b3dEa0d",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "arbMAI",
"decimals": "1e18"
},
"lp1": {
Expand Down Expand Up @@ -186,7 +186,7 @@
"lp1": {
"address": "0x3F56e0c36d275367b8C502090EDF38289b3dEa0d",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "arbMAI",
"decimals": "1e18"
}
},
Expand Down Expand Up @@ -294,7 +294,7 @@
"lp0": {
"address": "0x3F56e0c36d275367b8C502090EDF38289b3dEa0d",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "arbMAI",
"decimals": "1e18"
},
"lp1": {
Expand Down
2 changes: 1 addition & 1 deletion src/data/arbitrum/solidlizardStableLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"lp0": {
"address": "0x3F56e0c36d275367b8C502090EDF38289b3dEa0d",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "arbMAI",
"decimals": "1e18"
},
"lp1": {
Expand Down
4 changes: 2 additions & 2 deletions src/data/arbitrum/swapFishLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"lp0": {
"address": "0x3F56e0c36d275367b8C502090EDF38289b3dEa0d",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "arbMAI",
"decimals": "1e18"
},
"lp1": {
Expand All @@ -149,7 +149,7 @@
"lp0": {
"address": "0x3F56e0c36d275367b8C502090EDF38289b3dEa0d",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "arbMAI",
"decimals": "1e18"
},
"lp1": {
Expand Down
4 changes: 2 additions & 2 deletions src/data/archive/oldLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@
"lp1": {
"address": "0xa3Fa99A148fA48D14Ed51d610c367C61876997F1",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "pMAI",
"decimals": "1e18"
}
},
Expand Down Expand Up @@ -1475,7 +1475,7 @@
"lp1": {
"address": "0xa3Fa99A148fA48D14Ed51d610c367C61876997F1",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "pMAI",
"decimals": "1e18"
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/data/aurora/rosePools.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"tokens": [
{
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "aurMAI",
"decimals": "1e18"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/data/avax/curvePools.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"tokens": [
{
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "aMAI",
"decimals": "1e18"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/data/avax/joeDualLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@
"lp0": {
"address": "0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "aMAI",
"decimals": "1e18"
},
"lp1": {
Expand Down
4 changes: 2 additions & 2 deletions src/data/avax/joeLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"lp0": {
"address": "0x3B55E45fD6bd7d4724F5c47E0d1bCaEdd059263e",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "amiMatic",
"decimals": "1e18"
},
"lp1": {
Expand Down Expand Up @@ -255,7 +255,7 @@
"lp0": {
"address": "0x3B55E45fD6bd7d4724F5c47E0d1bCaEdd059263e",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "amiMatic",
"decimals": "1e18"
},
"lp1": {
Expand Down
2 changes: 1 addition & 1 deletion src/data/avax/kyberLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lp0": {
"address": "0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "aMAI",
"decimals": "1e18"
},
"lp1": {
Expand Down
4 changes: 2 additions & 2 deletions src/data/avax/soliSnekStableLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
"lp0": {
"address": "0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "aMAI",
"decimals": "1e18"
},
"lp1": {
Expand All @@ -202,7 +202,7 @@
"lp0": {
"address": "0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "aMAI",
"decimals": "1e18"
},
"lp1": {
Expand Down
2 changes: 1 addition & 1 deletion src/data/coneLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"lp0": {
"address": "0x3F56e0c36d275367b8C502090EDF38289b3dEa0d",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "bscMAI",
"decimals": "1e18"
},
"lp1": {
Expand Down
2 changes: 1 addition & 1 deletion src/data/coneStableLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"lp0": {
"address": "0x3F56e0c36d275367b8C502090EDF38289b3dEa0d",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "bscMAI",
"decimals": "1e18"
},
"lp1": {
Expand Down
4 changes: 2 additions & 2 deletions src/data/degens/thenaStableLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
"lp0": {
"address": "0x3F56e0c36d275367b8C502090EDF38289b3dEa0d",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "bscMAI",
"decimals": "1e18"
},
"lp1": {
Expand Down Expand Up @@ -309,7 +309,7 @@
"lp0": {
"address": "0x3F56e0c36d275367b8C502090EDF38289b3dEa0d",
"oracle": "tokens",
"oracleId": "MAI",
"oracleId": "bscMAI",
"decimals": "1e18"
},
"lp1": {
Expand Down
Loading
Loading