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

Update aave v3 pool provider addresses #703

Closed
wants to merge 2 commits into from
Closed
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
@@ -1 +1,219 @@
[{"inputs":[{"internalType":"contract IPoolAddressesProvider","name":"addressesProvider","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ADDRESSES_PROVIDER","outputs":[{"internalType":"contract IPoolAddressesProvider","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getATokenTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllATokens","outputs":[{"components":[{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"tokenAddress","type":"address"}],"internalType":"struct IPoolDataProvider.TokenData[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllReservesTokens","outputs":[{"components":[{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"tokenAddress","type":"address"}],"internalType":"struct IPoolDataProvider.TokenData[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getDebtCeiling","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDebtCeilingDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getFlashLoanEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getInterestRateStrategyAddress","outputs":[{"internalType":"address","name":"irStrategyAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getLiquidationProtocolFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getPaused","outputs":[{"internalType":"bool","name":"isPaused","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getReserveCaps","outputs":[{"internalType":"uint256","name":"borrowCap","type":"uint256"},{"internalType":"uint256","name":"supplyCap","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getReserveConfigurationData","outputs":[{"internalType":"uint256","name":"decimals","type":"uint256"},{"internalType":"uint256","name":"ltv","type":"uint256"},{"internalType":"uint256","name":"liquidationThreshold","type":"uint256"},{"internalType":"uint256","name":"liquidationBonus","type":"uint256"},{"internalType":"uint256","name":"reserveFactor","type":"uint256"},{"internalType":"bool","name":"usageAsCollateralEnabled","type":"bool"},{"internalType":"bool","name":"borrowingEnabled","type":"bool"},{"internalType":"bool","name":"stableBorrowRateEnabled","type":"bool"},{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"bool","name":"isFrozen","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getReserveData","outputs":[{"internalType":"uint256","name":"unbacked","type":"uint256"},{"internalType":"uint256","name":"accruedToTreasuryScaled","type":"uint256"},{"internalType":"uint256","name":"totalAToken","type":"uint256"},{"internalType":"uint256","name":"totalStableDebt","type":"uint256"},{"internalType":"uint256","name":"totalVariableDebt","type":"uint256"},{"internalType":"uint256","name":"liquidityRate","type":"uint256"},{"internalType":"uint256","name":"variableBorrowRate","type":"uint256"},{"internalType":"uint256","name":"stableBorrowRate","type":"uint256"},{"internalType":"uint256","name":"averageStableBorrowRate","type":"uint256"},{"internalType":"uint256","name":"liquidityIndex","type":"uint256"},{"internalType":"uint256","name":"variableBorrowIndex","type":"uint256"},{"internalType":"uint40","name":"lastUpdateTimestamp","type":"uint40"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getReserveEModeCategory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getReserveTokensAddresses","outputs":[{"internalType":"address","name":"aTokenAddress","type":"address"},{"internalType":"address","name":"stableDebtTokenAddress","type":"address"},{"internalType":"address","name":"variableDebtTokenAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getSiloedBorrowing","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getTotalDebt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getUnbackedMintCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"address","name":"user","type":"address"}],"name":"getUserReserveData","outputs":[{"internalType":"uint256","name":"currentATokenBalance","type":"uint256"},{"internalType":"uint256","name":"currentStableDebt","type":"uint256"},{"internalType":"uint256","name":"currentVariableDebt","type":"uint256"},{"internalType":"uint256","name":"principalStableDebt","type":"uint256"},{"internalType":"uint256","name":"scaledVariableDebt","type":"uint256"},{"internalType":"uint256","name":"stableBorrowRate","type":"uint256"},{"internalType":"uint256","name":"liquidityRate","type":"uint256"},{"internalType":"uint40","name":"stableRateLastUpdated","type":"uint40"},{"internalType":"bool","name":"usageAsCollateralEnabled","type":"bool"}],"stateMutability":"view","type":"function"}]
[
{
"inputs": [
{
"internalType": "contract IPoolAddressesProvider",
"name": "addressesProvider",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "ADDRESSES_PROVIDER",
"outputs": [
{ "internalType": "contract IPoolAddressesProvider", "name": "", "type": "address" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getATokenTotalSupply",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getAllATokens",
"outputs": [
{
"components": [
{ "internalType": "string", "name": "symbol", "type": "string" },
{ "internalType": "address", "name": "tokenAddress", "type": "address" }
],
"internalType": "struct IPoolDataProvider.TokenData[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getAllReservesTokens",
"outputs": [
{
"components": [
{ "internalType": "string", "name": "symbol", "type": "string" },
{ "internalType": "address", "name": "tokenAddress", "type": "address" }
],
"internalType": "struct IPoolDataProvider.TokenData[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getDebtCeiling",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getDebtCeilingDecimals",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getFlashLoanEnabled",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getInterestRateStrategyAddress",
"outputs": [{ "internalType": "address", "name": "irStrategyAddress", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getIsVirtualAccActive",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getLiquidationProtocolFee",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getPaused",
"outputs": [{ "internalType": "bool", "name": "isPaused", "type": "bool" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getReserveCaps",
"outputs": [
{ "internalType": "uint256", "name": "borrowCap", "type": "uint256" },
{ "internalType": "uint256", "name": "supplyCap", "type": "uint256" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getReserveConfigurationData",
"outputs": [
{ "internalType": "uint256", "name": "decimals", "type": "uint256" },
{ "internalType": "uint256", "name": "ltv", "type": "uint256" },
{ "internalType": "uint256", "name": "liquidationThreshold", "type": "uint256" },
{ "internalType": "uint256", "name": "liquidationBonus", "type": "uint256" },
{ "internalType": "uint256", "name": "reserveFactor", "type": "uint256" },
{ "internalType": "bool", "name": "usageAsCollateralEnabled", "type": "bool" },
{ "internalType": "bool", "name": "borrowingEnabled", "type": "bool" },
{ "internalType": "bool", "name": "stableBorrowRateEnabled", "type": "bool" },
{ "internalType": "bool", "name": "isActive", "type": "bool" },
{ "internalType": "bool", "name": "isFrozen", "type": "bool" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getReserveData",
"outputs": [
{ "internalType": "uint256", "name": "unbacked", "type": "uint256" },
{ "internalType": "uint256", "name": "accruedToTreasuryScaled", "type": "uint256" },
{ "internalType": "uint256", "name": "totalAToken", "type": "uint256" },
{ "internalType": "uint256", "name": "totalStableDebt", "type": "uint256" },
{ "internalType": "uint256", "name": "totalVariableDebt", "type": "uint256" },
{ "internalType": "uint256", "name": "liquidityRate", "type": "uint256" },
{ "internalType": "uint256", "name": "variableBorrowRate", "type": "uint256" },
{ "internalType": "uint256", "name": "stableBorrowRate", "type": "uint256" },
{ "internalType": "uint256", "name": "averageStableBorrowRate", "type": "uint256" },
{ "internalType": "uint256", "name": "liquidityIndex", "type": "uint256" },
{ "internalType": "uint256", "name": "variableBorrowIndex", "type": "uint256" },
{ "internalType": "uint40", "name": "lastUpdateTimestamp", "type": "uint40" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getReserveTokensAddresses",
"outputs": [
{ "internalType": "address", "name": "aTokenAddress", "type": "address" },
{ "internalType": "address", "name": "stableDebtTokenAddress", "type": "address" },
{ "internalType": "address", "name": "variableDebtTokenAddress", "type": "address" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getSiloedBorrowing",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getTotalDebt",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getUnbackedMintCap",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "asset", "type": "address" },
{ "internalType": "address", "name": "user", "type": "address" }
],
"name": "getUserReserveData",
"outputs": [
{ "internalType": "uint256", "name": "currentATokenBalance", "type": "uint256" },
{ "internalType": "uint256", "name": "currentStableDebt", "type": "uint256" },
{ "internalType": "uint256", "name": "currentVariableDebt", "type": "uint256" },
{ "internalType": "uint256", "name": "principalStableDebt", "type": "uint256" },
{ "internalType": "uint256", "name": "scaledVariableDebt", "type": "uint256" },
{ "internalType": "uint256", "name": "stableBorrowRate", "type": "uint256" },
{ "internalType": "uint256", "name": "liquidityRate", "type": "uint256" },
{ "internalType": "uint40", "name": "stableRateLastUpdated", "type": "uint40" },
{ "internalType": "bool", "name": "usageAsCollateralEnabled", "type": "bool" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [{ "internalType": "address", "name": "asset", "type": "address" }],
"name": "getVirtualUnderlyingBalance",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
}
]
2 changes: 1 addition & 1 deletion packages/addresses/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oasisdex/addresses",
"version": "0.1.80",
"version": "0.1.81",
"typings": "lib/index.d.ts",
"types": "lib/index.d.ts",
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/deploy-configurations/configs/arbitrum.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ export const config: SystemConfig = {
},
PoolDataProvider: {
name: 'PoolDataProvider',
address: '0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654',
address: '0x7F23D86Ee20D869112572136221e173428DD740B',
},
L2Encoder: {
name: 'L2Encoder',
Expand Down
2 changes: 1 addition & 1 deletion packages/deploy-configurations/configs/base.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ export const config: SystemConfig = {
},
PoolDataProvider: {
name: 'PoolDataProvider',
address: '0x2d8A3C5677189723C4cB8873CfC9C8976FDF38Ac',
address: '0xd82a47fdebB5bf5329b09441C3DaB4b5df2153Ad',
},
L2Encoder: {
name: 'L2Encoder',
Expand Down
2 changes: 1 addition & 1 deletion packages/deploy-configurations/configs/hardhat.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ export const config: SystemConfig = {
},
PoolDataProvider: {
name: 'PoolDataProvider',
address: '0x7B4EB56E7CD4b454BA8ff71E4518426369a138a3',
address: '0x41393e5e337606dc3821075Af65AeE84D7688CBD',
},
L2Encoder: {
name: 'L2Encoder',
Expand Down
2 changes: 1 addition & 1 deletion packages/deploy-configurations/configs/local.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ export const config: SystemConfig = {
},
PoolDataProvider: {
name: 'PoolDataProvider',
address: '0x7B4EB56E7CD4b454BA8ff71E4518426369a138a3',
address: '0x41393e5e337606dc3821075Af65AeE84D7688CBD',
},
L2Encoder: {
name: 'L2Encoder',
Expand Down
2 changes: 1 addition & 1 deletion packages/deploy-configurations/configs/mainnet.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ export const config: SystemConfig = {
},
PoolDataProvider: {
name: 'PoolDataProvider',
address: '0x7B4EB56E7CD4b454BA8ff71E4518426369a138a3',
address: '0x41393e5e337606dc3821075Af65AeE84D7688CBD',
},
L2Encoder: {
name: 'L2Encoder',
Expand Down
2 changes: 1 addition & 1 deletion packages/deploy-configurations/configs/optimism.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ export const config: SystemConfig = {
},
PoolDataProvider: {
name: 'PoolDataProvider',
address: '0x69FA688f1Dc47d4B5d8029D5a35FB7a548310654',
address: '0x7F23D86Ee20D869112572136221e173428DD740B',
},
L2Encoder: {
name: 'L2Encoder',
Expand Down
2 changes: 1 addition & 1 deletion packages/deploy-configurations/configs/tenderly.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ export const config: SystemConfig = {
},
PoolDataProvider: {
name: 'PoolDataProvider',
address: '0x7B4EB56E7CD4b454BA8ff71E4518426369a138a3',
address: '0x41393e5e337606dc3821075Af65AeE84D7688CBD',
},
L2Encoder: {
name: 'L2Encoder',
Expand Down
2 changes: 1 addition & 1 deletion packages/deploy-configurations/configs/test.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ export const config: SystemConfig = {
},
PoolDataProvider: {
name: 'PoolDataProvider',
address: '0x7B4EB56E7CD4b454BA8ff71E4518426369a138a3',
address: '0x41393e5e337606dc3821075Af65AeE84D7688CBD',
},
L2Encoder: {
name: 'L2Encoder',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ export const config: SystemConfig = {
},
PoolDataProvider: {
name: 'PoolDataProvider',
address: '0x7B4EB56E7CD4b454BA8ff71E4518426369a138a3',
address: '0x41393e5e337606dc3821075Af65AeE84D7688CBD',
},
L2Encoder: {
name: 'L2Encoder',
Expand Down
Loading