Skip to content

Commit

Permalink
chore(cache): automated cache update (#350)
Browse files Browse the repository at this point in the history
Co-authored-by: sakulstra <sakulstra@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and sakulstra authored Feb 7, 2024
1 parent 555924c commit 84023c6
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/AaveV2Ethereum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -635,9 +635,9 @@ library AaveV2EthereumAssets {
// https://etherscan.io/address/0x492575FDD11a0fCf2C6C719867890a7648d526eB
address internal constant AMPL_ORACLE = 0x492575FDD11a0fCf2C6C719867890a7648d526eB;

// https://etherscan.io/address/0xB2D822cAdb9040F3164829BC34e41a93cA3E01e5
// https://etherscan.io/address/0xa324C768Bdd002b3387CE1c691A549268f63250b
address internal constant AMPL_INTEREST_RATE_STRATEGY =
0xB2D822cAdb9040F3164829BC34e41a93cA3E01e5;
0xa324C768Bdd002b3387CE1c691A549268f63250b;

// https://etherscan.io/address/0x8E870D67F660D95d5be530380D0eC0bd388289E1
address internal constant USDP_UNDERLYING = 0x8E870D67F660D95d5be530380D0eC0bd388289E1;
Expand Down
21 changes: 21 additions & 0 deletions src/AaveV3BNB.sol
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,27 @@ library AaveV3BNBAssets {
// https://bscscan.com/address/0xA60d98d1e7C1b5C186c181152AE7412C38ABaC94
address internal constant USDT_INTEREST_RATE_STRATEGY =
0xA60d98d1e7C1b5C186c181152AE7412C38ABaC94;

// https://bscscan.com/address/0xc5f0f7b66764F6ec8C8Dff7BA683102295E16409
address internal constant FDUSD_UNDERLYING = 0xc5f0f7b66764F6ec8C8Dff7BA683102295E16409;

uint8 internal constant FDUSD_DECIMALS = 18;

// https://bscscan.com/address/0x75bd1A659bdC62e4C313950d44A2416faB43E785
address internal constant FDUSD_A_TOKEN = 0x75bd1A659bdC62e4C313950d44A2416faB43E785;

// https://bscscan.com/address/0xE628B8a123e6037f1542e662B9F55141a16945C8
address internal constant FDUSD_V_TOKEN = 0xE628B8a123e6037f1542e662B9F55141a16945C8;

// https://bscscan.com/address/0x5543d347bfae77A5FF913e589aB6D6ad520f1C73
address internal constant FDUSD_S_TOKEN = 0x5543d347bfae77A5FF913e589aB6D6ad520f1C73;

// https://bscscan.com/address/0x390180e80058A8499930F0c13963AD3E0d86Bfc9
address internal constant FDUSD_ORACLE = 0x390180e80058A8499930F0c13963AD3E0d86Bfc9;

// https://bscscan.com/address/0xDFFD9CDd2eC42099D7086Ff76938C111022014D0
address internal constant FDUSD_INTEREST_RATE_STRATEGY =
0xDFFD9CDd2eC42099D7086Ff76938C111022014D0;
}

library AaveV3BNBEModes {
Expand Down
2 changes: 1 addition & 1 deletion src/ts/AaveV2Ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export const ASSETS = {
A_TOKEN: '0x1E6bb68Acec8fefBD87D192bE09bb274170a0548',
S_TOKEN: '0x18152C9f77DAdc737006e9430dB913159645fa87',
V_TOKEN: '0xf013D90E4e4E3Baf420dFea60735e75dbd42f1e1',
INTEREST_RATE_STRATEGY: '0xB2D822cAdb9040F3164829BC34e41a93cA3E01e5',
INTEREST_RATE_STRATEGY: '0xa324C768Bdd002b3387CE1c691A549268f63250b',
ORACLE: '0x492575FDD11a0fCf2C6C719867890a7648d526eB',
},
USDP: {
Expand Down
9 changes: 9 additions & 0 deletions src/ts/AaveV3BNB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,15 @@ export const ASSETS = {
INTEREST_RATE_STRATEGY: '0xA60d98d1e7C1b5C186c181152AE7412C38ABaC94',
ORACLE: '0xB97Ad0E74fa7d920791E90258A6E2085088b4320',
},
FDUSD: {
decimals: 18,
UNDERLYING: '0xc5f0f7b66764F6ec8C8Dff7BA683102295E16409',
A_TOKEN: '0x75bd1A659bdC62e4C313950d44A2416faB43E785',
S_TOKEN: '0x5543d347bfae77A5FF913e589aB6D6ad520f1C73',
V_TOKEN: '0xE628B8a123e6037f1542e662B9F55141a16945C8',
INTEREST_RATE_STRATEGY: '0xDFFD9CDd2eC42099D7086Ff76938C111022014D0',
ORACLE: '0x390180e80058A8499930F0c13963AD3E0d86Bfc9',
},
} as const;
export const E_MODES = {
NONE: 0,
Expand Down

0 comments on commit 84023c6

Please sign in to comment.