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

fix(cache): automated cache update - updated addresses #540

Merged
merged 1 commit into from
Aug 15, 2024
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
6 changes: 6 additions & 0 deletions src/AaveV3Base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ library AaveV3BaseAssets {
address internal constant wstETH_INTEREST_RATE_STRATEGY =
0x46Da028a47Ed58026aCbFbE91eeA51CcB062134E;

// https://basescan.org/address/0x03916e49f794Ab877eFA23597627eE8094E6cbB0
address internal constant wstETH_STATA_TOKEN = 0x03916e49f794Ab877eFA23597627eE8094E6cbB0;

// https://basescan.org/address/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
address internal constant USDC_UNDERLYING = 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913;

Expand Down Expand Up @@ -247,6 +250,9 @@ library AaveV3BaseAssets {
// https://basescan.org/address/0x46Da028a47Ed58026aCbFbE91eeA51CcB062134E
address internal constant weETH_INTEREST_RATE_STRATEGY =
0x46Da028a47Ed58026aCbFbE91eeA51CcB062134E;

// https://basescan.org/address/0x588159E0d360ffAA978330812f9234818ab46E8E
address internal constant weETH_STATA_TOKEN = 0x588159E0d360ffAA978330812f9234818ab46E8E;
}

library AaveV3BaseEModes {
Expand Down
2 changes: 2 additions & 0 deletions src/ts/AaveV3Base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export const ASSETS = {
V_TOKEN: '0x41A7C3f5904ad176dACbb1D99101F59ef0811DC1',
INTEREST_RATE_STRATEGY: '0x46Da028a47Ed58026aCbFbE91eeA51CcB062134E',
ORACLE: '0x56038D3998C42db18ba3B821bD1EbaB9B678e657',
STATA_TOKEN: '0x03916e49f794Ab877eFA23597627eE8094E6cbB0',
},
USDC: {
decimals: 6,
Expand All @@ -151,6 +152,7 @@ export const ASSETS = {
V_TOKEN: '0x8D2e3F1f4b38AA9f1ceD22ac06019c7561B03901',
INTEREST_RATE_STRATEGY: '0x46Da028a47Ed58026aCbFbE91eeA51CcB062134E',
ORACLE: '0xFc4d1d7a8FD1E6719e361e16044b460737F12C44',
STATA_TOKEN: '0x588159E0d360ffAA978330812f9234818ab46E8E',
},
} as const;
export const E_MODES = {
Expand Down
34 changes: 32 additions & 2 deletions src/ts/tokenlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3901,6 +3901,21 @@ export const tokenlist = {
underlying: '0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452',
},
},
{
chainId: 8453,
address: '0x03916e49f794Ab877eFA23597627eE8094E6cbB0',
name: 'Static Aave Base wstETH',
decimals: 18,
symbol: 'stataBaswstETH',
tags: ['aaveV3', 'stataToken'],
logoURI:
'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawsteth.svg',
extensions: {
pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5',
underlying: '0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452',
underlyingAToken: '0x99CBC45ea5bb7eF3a5BC08FB1B7E56bB2442Ef0D',
},
},
{
chainId: 8453,
address: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
Expand Down Expand Up @@ -3960,6 +3975,21 @@ export const tokenlist = {
underlying: '0x04C0599Ae5A44757c0af6F9eC3b93da8976c150A',
},
},
{
chainId: 8453,
address: '0x588159E0d360ffAA978330812f9234818ab46E8E',
name: 'Static Aave Base weETH',
decimals: 18,
symbol: 'stataBasweETH',
tags: ['aaveV3', 'stataToken'],
logoURI:
'https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataweeth.svg',
extensions: {
pool: '0xA238Dd80C259a72e81d7e4664a9801593F98d1c5',
underlying: '0x04C0599Ae5A44757c0af6F9eC3b93da8976c150A',
underlyingAToken: '0x7C307e128efA31F540F2E2d976C995E0B65F51F6',
},
},
{
chainId: 1088,
address: '0x4c078361FC9BbB78DF910800A991C7c3DD2F6ce0',
Expand Down Expand Up @@ -6582,6 +6612,6 @@ export const tokenlist = {
},
},
],
version: {major: 3, minor: 0, patch: 33},
timestamp: '2024-08-14T11:06:05.925Z',
version: {major: 3, minor: 0, patch: 34},
timestamp: '2024-08-15T00:11:41.010Z',
};
32 changes: 30 additions & 2 deletions tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -3854,6 +3854,20 @@
"underlying": "0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452"
}
},
{
"chainId": 8453,
"address": "0x03916e49f794Ab877eFA23597627eE8094E6cbB0",
"name": "Static Aave Base wstETH",
"decimals": 18,
"symbol": "stataBaswstETH",
"tags": ["aaveV3", "stataToken"],
"logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/statawsteth.svg",
"extensions": {
"pool": "0xA238Dd80C259a72e81d7e4664a9801593F98d1c5",
"underlying": "0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452",
"underlyingAToken": "0x99CBC45ea5bb7eF3a5BC08FB1B7E56bB2442Ef0D"
}
},
{
"chainId": 8453,
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
Expand Down Expand Up @@ -3912,6 +3926,20 @@
"underlying": "0x04C0599Ae5A44757c0af6F9eC3b93da8976c150A"
}
},
{
"chainId": 8453,
"address": "0x588159E0d360ffAA978330812f9234818ab46E8E",
"name": "Static Aave Base weETH",
"decimals": 18,
"symbol": "stataBasweETH",
"tags": ["aaveV3", "stataToken"],
"logoURI": "https://raw.githubusercontent.com/bgd-labs/web3-icons/main/icons/full/stataweeth.svg",
"extensions": {
"pool": "0xA238Dd80C259a72e81d7e4664a9801593F98d1c5",
"underlying": "0x04C0599Ae5A44757c0af6F9eC3b93da8976c150A",
"underlyingAToken": "0x7C307e128efA31F540F2E2d976C995E0B65F51F6"
}
},
{
"chainId": 1088,
"address": "0x4c078361FC9BbB78DF910800A991C7c3DD2F6ce0",
Expand Down Expand Up @@ -6493,6 +6521,6 @@
}
}
],
"version": { "major": 3, "minor": 0, "patch": 33 },
"timestamp": "2024-08-14T11:06:05.925Z"
"version": { "major": 3, "minor": 0, "patch": 34 },
"timestamp": "2024-08-15T00:11:41.010Z"
}