Skip to content

Commit

Permalink
feat: zksync changes
Browse files Browse the repository at this point in the history
  • Loading branch information
brotherlymite committed Dec 14, 2024
1 parent 2f3b857 commit 8f84692
Show file tree
Hide file tree
Showing 6 changed files with 573 additions and 28 deletions.
5 changes: 5 additions & 0 deletions diffs/zksync_before_zksync_after.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Raw diff

```json
{}
```
258 changes: 258 additions & 0 deletions reports/zksync_after.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,258 @@
{
"chainId": 324,
"eModes": {
"1": {
"borrowableBitmap": "12",
"collateralBitmap": "12",
"eModeCategory": 1,
"label": "ETH correlated",
"liquidationBonus": 10100,
"liquidationThreshold": 9300,
"ltv": 9000
}
},
"poolConfig": {
"oracle": "0xC7F58Fca663a8d377B6D0c9703C697f56dC40088",
"pool": "0x78e30497a3c7527d953c6B1E3541b021A98Ac43c",
"poolAddressesProvider": "0x2A3948BB219D6B2Fa83D64100006391a96bE6cb7",
"poolConfigurator": "0x0207d31b4377C74bEC37356aaD83E3dCc979F40E",
"poolConfiguratorImpl": "0xBc4c49630350F67D7Ec88785E5DF9A57c78a1b7d",
"poolImpl": "0x79Bef43a562047B8FDF6335b28Fa61820A442fD6",
"priceOracleSentinel": "0x0000000000000000000000000000000000000000",
"protocolDataProvider": "0x5F2A704cE47B373c908fE8A29514249469b52b99"
},
"reserves": {
"0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4": {
"aToken": "0xE977F9B2a5ccf0457870a67231F23BE4DaecfbDb",
"aTokenImpl": "0x34be365Fd01ac224F21490aaC6dFd65D25434bbB",
"aTokenName": "Aave ZkSync USDC",
"aTokenSymbol": "aZksUSDC",
"aTokenUnderlyingBalance": "416664786862",
"borrowCap": 1800000,
"borrowingEnabled": true,
"debtCeiling": 0,
"decimals": 6,
"id": 0,
"interestRateStrategy": "0x57815Ab06D846d7dECd326Ee541CD06144FED237",
"isActive": true,
"isBorrowableInIsolation": true,
"isFlashloanable": true,
"isFrozen": false,
"isPaused": false,
"isSiloed": false,
"liquidationBonus": 10500,
"liquidationProtocolFee": 1000,
"liquidationThreshold": 7800,
"ltv": 7500,
"oracle": "0x22A46593A7f93Aaec788bE3e27C1838E15781222",
"oracleDecimals": 8,
"oracleDescription": "Capped USDC/USD",
"oracleLatestAnswer": "99993345",
"reserveFactor": 1000,
"supplyCap": 2000000,
"symbol": "USDC",
"underlying": "0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4",
"usageAsCollateralEnabled": true,
"variableDebtToken": "0x0049250D15A8550c5a14Baa5AF5B662a93a525B9",
"variableDebtTokenImpl": "0x52E97425D1Fa6885fAaC9260B711fA5047A88d06",
"variableDebtTokenName": "Aave ZkSync Variable Debt USDC",
"variableDebtTokenSymbol": "variableDebtZksUSDC",
"virtualAccountingActive": true,
"virtualBalance": "416664786862"
},
"0x493257fD37EDB34451f62EDf8D2a0C418852bA4C": {
"aToken": "0xC48574bc5358c967d9447e7Df70230Fdb469e4E7",
"aTokenImpl": "0x34be365Fd01ac224F21490aaC6dFd65D25434bbB",
"aTokenName": "Aave ZkSync USDT",
"aTokenSymbol": "aZksUSDT",
"aTokenUnderlyingBalance": "73420138732",
"borrowCap": 2700000,
"borrowingEnabled": true,
"debtCeiling": 0,
"decimals": 6,
"id": 1,
"interestRateStrategy": "0x57815Ab06D846d7dECd326Ee541CD06144FED237",
"isActive": true,
"isBorrowableInIsolation": true,
"isFlashloanable": true,
"isFrozen": false,
"isPaused": false,
"isSiloed": false,
"liquidationBonus": 10500,
"liquidationProtocolFee": 1000,
"liquidationThreshold": 7800,
"ltv": 7500,
"oracle": "0xE8D6d2dffCFfFc6b1f3606b7552e80319D01A8E9",
"oracleDecimals": 8,
"oracleDescription": "Capped USDT/USD",
"oracleLatestAnswer": "99992032",
"reserveFactor": 1000,
"supplyCap": 3000000,
"symbol": "USDT",
"underlying": "0x493257fD37EDB34451f62EDf8D2a0C418852bA4C",
"usageAsCollateralEnabled": true,
"variableDebtToken": "0x8992DB58077fe8C7B80c1B3a738eAe8A7BdDbA34",
"variableDebtTokenImpl": "0x52E97425D1Fa6885fAaC9260B711fA5047A88d06",
"variableDebtTokenName": "Aave ZkSync Variable Debt USDT",
"variableDebtTokenSymbol": "variableDebtZksUSDT",
"virtualAccountingActive": true,
"virtualBalance": "73420138732"
},
"0x5A7d6b2F92C77FAD6CCaBd7EE0624E64907Eaf3E": {
"aToken": "0xd6cD2c0fC55936498726CacC497832052A9B2D1B",
"aTokenImpl": "0x34be365Fd01ac224F21490aaC6dFd65D25434bbB",
"aTokenName": "Aave ZkSync ZK",
"aTokenSymbol": "aZksZK",
"aTokenUnderlyingBalance": "25959891836870857772981391",
"borrowCap": 10000000,
"borrowingEnabled": true,
"debtCeiling": 80000000,
"decimals": 18,
"id": 4,
"interestRateStrategy": "0x57815Ab06D846d7dECd326Ee541CD06144FED237",
"isActive": true,
"isBorrowableInIsolation": false,
"isFlashloanable": true,
"isFrozen": false,
"isPaused": false,
"isSiloed": false,
"liquidationBonus": 11000,
"liquidationProtocolFee": 2000,
"liquidationThreshold": 4500,
"ltv": 4000,
"oracle": "0xD1ce60dc8AE060DDD17cA8716C96f193bC88DD13",
"oracleDecimals": 8,
"oracleDescription": "ZK / USD",
"oracleLatestAnswer": "22621322",
"reserveFactor": 2000,
"supplyCap": 36000000,
"symbol": "ZK",
"underlying": "0x5A7d6b2F92C77FAD6CCaBd7EE0624E64907Eaf3E",
"usageAsCollateralEnabled": true,
"variableDebtToken": "0x6450fd7F877B5bB726F7Bc6Bf0e6ffAbd48d72ad",
"variableDebtTokenImpl": "0x52E97425D1Fa6885fAaC9260B711fA5047A88d06",
"variableDebtTokenName": "Aave ZkSync Variable Debt ZK",
"variableDebtTokenSymbol": "variableDebtZksZK",
"virtualAccountingActive": true,
"virtualBalance": "25959891836870857772981391"
},
"0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91": {
"aToken": "0xb7b93bCf82519bB757Fd18b23A389245Dbd8ca64",
"aTokenImpl": "0x34be365Fd01ac224F21490aaC6dFd65D25434bbB",
"aTokenName": "Aave ZkSync WETH",
"aTokenSymbol": "aZksWETH",
"aTokenUnderlyingBalance": "341587598412296926443",
"borrowCap": 900,
"borrowingEnabled": true,
"debtCeiling": 0,
"decimals": 18,
"id": 2,
"interestRateStrategy": "0x57815Ab06D846d7dECd326Ee541CD06144FED237",
"isActive": true,
"isBorrowableInIsolation": false,
"isFlashloanable": true,
"isFrozen": false,
"isPaused": false,
"isSiloed": false,
"liquidationBonus": 10600,
"liquidationProtocolFee": 1000,
"liquidationThreshold": 7800,
"ltv": 7500,
"oracle": "0x6D41d1dc818112880b40e26BD6FD347E41008eDA",
"oracleDecimals": 8,
"oracleDescription": "ETH / USD",
"oracleLatestAnswer": "389624650000",
"reserveFactor": 1500,
"supplyCap": 2000,
"symbol": "WETH",
"underlying": "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",
"usageAsCollateralEnabled": true,
"variableDebtToken": "0x98dC737eA0E9bCb254c3F98510a71c5E11F74238",
"variableDebtTokenImpl": "0x52E97425D1Fa6885fAaC9260B711fA5047A88d06",
"variableDebtTokenName": "Aave ZkSync Variable Debt WETH",
"variableDebtTokenSymbol": "variableDebtZksWETH",
"virtualAccountingActive": true,
"virtualBalance": "341587598412296926443"
},
"0x703b52F2b28fEbcB60E1372858AF5b18849FE867": {
"aToken": "0xd4e607633F3d984633E946aEA4eb71f92564c1c9",
"aTokenImpl": "0x34be365Fd01ac224F21490aaC6dFd65D25434bbB",
"aTokenName": "Aave ZkSync wstETH",
"aTokenSymbol": "aZkswstETH",
"aTokenUnderlyingBalance": "545903312949447756368",
"borrowCap": 120,
"borrowingEnabled": true,
"debtCeiling": 0,
"decimals": 18,
"id": 3,
"interestRateStrategy": "0x57815Ab06D846d7dECd326Ee541CD06144FED237",
"isActive": true,
"isBorrowableInIsolation": false,
"isFlashloanable": true,
"isFrozen": false,
"isPaused": false,
"isSiloed": false,
"liquidationBonus": 10700,
"liquidationProtocolFee": 1000,
"liquidationThreshold": 7600,
"ltv": 7100,
"oracle": "0xdea7DE07B8275564Af6135F7E9340411246EB7A2",
"oracleDecimals": 8,
"oracleDescription": "Capped wstETH / stETH(ETH) / USD",
"oracleLatestAnswer": "462773454396",
"reserveFactor": 500,
"supplyCap": 1200,
"symbol": "wstETH",
"underlying": "0x703b52F2b28fEbcB60E1372858AF5b18849FE867",
"usageAsCollateralEnabled": true,
"variableDebtToken": "0x6aD279F6523f6421fD5B0324a97D8F62eeCD80c8",
"variableDebtTokenImpl": "0x52E97425D1Fa6885fAaC9260B711fA5047A88d06",
"variableDebtTokenName": "Aave ZkSync Variable Debt wstETH",
"variableDebtTokenSymbol": "variableDebtZkswstETH",
"virtualAccountingActive": true,
"virtualBalance": "545903312949447756368"
}
},
"strategies": {
"0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4": {
"address": "0x57815Ab06D846d7dECd326Ee541CD06144FED237",
"baseVariableBorrowRate": "0",
"maxVariableBorrowRate": "655000000000000000000000000",
"optimalUsageRatio": "900000000000000000000000000",
"variableRateSlope1": "55000000000000000000000000",
"variableRateSlope2": "600000000000000000000000000"
},
"0x493257fD37EDB34451f62EDf8D2a0C418852bA4C": {
"address": "0x57815Ab06D846d7dECd326Ee541CD06144FED237",
"baseVariableBorrowRate": "0",
"maxVariableBorrowRate": "655000000000000000000000000",
"optimalUsageRatio": "900000000000000000000000000",
"variableRateSlope1": "55000000000000000000000000",
"variableRateSlope2": "600000000000000000000000000"
},
"0x5A7d6b2F92C77FAD6CCaBd7EE0624E64907Eaf3E": {
"address": "0x57815Ab06D846d7dECd326Ee541CD06144FED237",
"baseVariableBorrowRate": "0",
"maxVariableBorrowRate": "3090000000000000000000000000",
"optimalUsageRatio": "450000000000000000000000000",
"variableRateSlope1": "90000000000000000000000000",
"variableRateSlope2": "3000000000000000000000000000"
},
"0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91": {
"address": "0x57815Ab06D846d7dECd326Ee541CD06144FED237",
"baseVariableBorrowRate": "0",
"maxVariableBorrowRate": "827000000000000000000000000",
"optimalUsageRatio": "900000000000000000000000000",
"variableRateSlope1": "27000000000000000000000000",
"variableRateSlope2": "800000000000000000000000000"
},
"0x703b52F2b28fEbcB60E1372858AF5b18849FE867": {
"address": "0x57815Ab06D846d7dECd326Ee541CD06144FED237",
"baseVariableBorrowRate": "0",
"maxVariableBorrowRate": "845000000000000000000000000",
"optimalUsageRatio": "450000000000000000000000000",
"variableRateSlope1": "45000000000000000000000000",
"variableRateSlope2": "800000000000000000000000000"
}
}
}
Loading

0 comments on commit 8f84692

Please sign in to comment.