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

Polygon: USDC->pUSDCe; add USDC #1350

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
13 changes: 13 additions & 0 deletions packages/address-book/address-book/arbitrum/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1442,6 +1442,19 @@ const _tokens = {
bridge: 'layer-zero',
logoURI: 'https://www.traderjoexyz.com/static/media/logo.bc60f78d.png',
},
renBTC: {
name: 'renBTC',
symbol: 'renBTC',
oracleId: 'renBTC',
address: '0xDBf31dF14B66535aF65AaC99C32e9eA844e14501',
chainId: 42161,
decimals: 8,
website: 'https://renproject.io/',
description:
'RenBTC is an ERC-20 token built on the Ethereum network, pegged to Bitcoin. This means that each RenBTC can be always redeemed for one Bitcoin, and hence tends to maintain its value at close to the Bitcoin market rate.',
logoURI:
'https://tokens.pancakeswap.finance/images/0xfCe146bF3146100cfe5dB4129cf6C82b0eF4Ad8c.png',
},
} as const;

export const tokens: ConstRecord<typeof _tokens, Token> = _tokens;
12 changes: 12 additions & 0 deletions packages/address-book/address-book/fantom/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2113,6 +2113,18 @@ const _tokens = {
'oFVM is an options token that helps to reduce sell pressure on the native FVM token. It is earned by liquidity providers (LPs) who provide liquidity to the FVM pools. oFVM can be redeemed for FVM at a discount, or it can be locked up for a period of time as veFVM. veFVM is a governance token that allows holders to vote on the distribution of emissions, as well as receive weekly bribes and fees.',
documentation: 'https://docs.velocimeter.xyz/oFVMmech',
},
LAMBDA: {
name: 'Spartacus Money',
symbol: 'LAMBDA',
oracleId: 'LAMBDA',
address: '0x2126be94443334Fd71428dBa3c638fB722d1838e',
chainId: 250,
decimals: 18,
logoURI: '',
website: 'https://spartacus.finance/',
bridge: 'native',
description: '',
},
} as const;

export const tokens: ConstRecord<typeof _tokens, Token> = _tokens;
17 changes: 15 additions & 2 deletions packages/address-book/address-book/polygon/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1213,16 +1213,29 @@ const _tokens = {
logoURI:
'https://raw.githubusercontent.com/sameepsi/quickswap-interface/master/public/favicon1.png',
},
USDC: {
pUSDCe: {
name: 'USD Coin',
address: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174',
symbol: 'USDCe',
oracleId: 'pUSDCe',
decimals: 6,
website: 'https://www.circle.com/usdc',
description: 'USDC.e is an Ethereum-based USDC bridged via the official Polygon Bridge.',
bridge: 'polygon-canonical',
chainId: 137,
logoURI:
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
},
USDC: {
name: 'USD Coin',
address: '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359',
symbol: 'USDC',
oracleId: 'USDC',
decimals: 6,
website: 'https://www.circle.com/usdc',
description:
'USDC is a fully collateralized US dollar stablecoin. USDC is issued by regulated financial institutions, backed by fully reserved assets, redeemable on a 1:1 basis for US dollars.',
bridge: 'polygon-canonical',
bridge: 'native',
chainId: 137,
logoURI:
'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
Expand Down
12 changes: 6 additions & 6 deletions src/data/archive/oldDmmPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand All @@ -25,7 +25,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand All @@ -43,7 +43,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand All @@ -61,7 +61,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand All @@ -79,7 +79,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand All @@ -97,7 +97,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand Down
14 changes: 7 additions & 7 deletions src/data/archive/oldLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand Down Expand Up @@ -1154,7 +1154,7 @@
"lp1": {
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
}
},
Expand Down Expand Up @@ -1413,7 +1413,7 @@
"lp1": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
}
},
Expand Down Expand Up @@ -1467,7 +1467,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand All @@ -1487,7 +1487,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand Down Expand Up @@ -1527,7 +1527,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand Down Expand Up @@ -1927,7 +1927,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand Down
2 changes: 1 addition & 1 deletion src/data/matic/50kLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand Down
2 changes: 1 addition & 1 deletion src/data/matic/aaveV3Pools.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"aToken": "0x625E7708f30cA75bfd92586e17077590C60eb4cD",
"debtToken": "0xFCCf3cAbbe80101232d343252614b6A3eE81C989",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6",
"borrowDepth": 1,
"borrowPercent": 0
Expand Down
2 changes: 1 addition & 1 deletion src/data/matic/apePolyLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand Down
2 changes: 1 addition & 1 deletion src/data/matic/balancerLinearPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
{
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
{
Expand Down
12 changes: 6 additions & 6 deletions src/data/matic/balancerPolyLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
{
"stream": "0xB95397A17ACbb5824535ebE69Cd9DCF8fA7aFC50",
"rewardToken": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
{
Expand Down Expand Up @@ -190,7 +190,7 @@
{
"stream": "0x1e916950A659Da9813EE34479BFf04C732E03deb",
"rewardToken": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
{
Expand Down Expand Up @@ -368,7 +368,7 @@
"tokens": [
{
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
{
Expand Down Expand Up @@ -650,7 +650,7 @@
},
{
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
{
Expand Down Expand Up @@ -714,7 +714,7 @@
"tokens": [
{
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
{
Expand Down Expand Up @@ -761,7 +761,7 @@
},
{
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/data/matic/boneswapQuickLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand Down
2 changes: 1 addition & 1 deletion src/data/matic/cafeLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand Down
4 changes: 2 additions & 2 deletions src/data/matic/comethLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"lp1": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
}
},
Expand Down Expand Up @@ -129,7 +129,7 @@
"lp0": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand Down
2 changes: 1 addition & 1 deletion src/data/matic/compoundPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "compound-polygon-usdc",
"cToken": "0xF25212E676D1F7F89Cd72fFEe66158f541246445",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
}
]
4 changes: 2 additions & 2 deletions src/data/matic/curvePools.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
{
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
}
]
Expand Down Expand Up @@ -309,7 +309,7 @@
{
"aaveId": "aave-usdc",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/data/matic/dfxLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lp1": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/data/matic/dfynLpPools.json
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
"lp0": {
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand All @@ -342,7 +342,7 @@
"lp0": {
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand Down Expand Up @@ -382,7 +382,7 @@
"lp0": {
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand Down Expand Up @@ -422,7 +422,7 @@
"lp0": {
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"oracle": "tokens",
"oracleId": "USDC",
"oracleId": "pUSDCe",
"decimals": "1e6"
},
"lp1": {
Expand Down
Loading
Loading