forked from bgd-labs/aave-proposals-v3
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix Arbitrum payload max bytecode size exceeded
- Loading branch information
1 parent
76283d9
commit 17eb17c
Showing
6 changed files
with
261 additions
and
121 deletions.
There are no files selected for viewing
134 changes: 134 additions & 0 deletions
134
...unchLib_20240528_before_AaveV3Arbitrum_GHOCrossChainLaunchLib_20240528_after.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
## Reserve changes | ||
|
||
### Reserves added | ||
|
||
#### GHO ([0x9124bc807e1e9c79b3225b25D8B77BacB65FE622](https://arbiscan.io/address/0x9124bc807e1e9c79b3225b25D8B77BacB65FE622)) | ||
|
||
| description | value | | ||
| --- | --- | | ||
| decimals | 18 | | ||
| isActive | true | | ||
| isFrozen | false | | ||
| supplyCap | 1,000,000 GHO | | ||
| borrowCap | 900,000 GHO | | ||
| debtCeiling | 0 $ | | ||
| isSiloed | false | | ||
| isFlashloanable | true | | ||
| eModeCategory | 0 | | ||
| oracle | [0x3c786e934F23375Ca345C9b8D5aD54838796E8e7](https://arbiscan.io/address/0x3c786e934F23375Ca345C9b8D5aD54838796E8e7) | | ||
| oracleDecimals | 8 | | ||
| oracleDescription | GHO / USD | | ||
| oracleLatestAnswer | 1.00055373 | | ||
| usageAsCollateralEnabled | false | | ||
| ltv | 0 % | | ||
| liquidationThreshold | 0 % | | ||
| liquidationBonus | 0 % | | ||
| liquidationProtocolFee | 0 % | | ||
| reserveFactor | 10 % | | ||
| aToken | [0xeBe517846d0F36eCEd99C735cbF6131e1fEB775D](https://arbiscan.io/address/0xeBe517846d0F36eCEd99C735cbF6131e1fEB775D) | | ||
| aTokenImpl | [0x1Be1798b70aEe431c2986f7ff48d9D1fa350786a](https://arbiscan.io/address/0x1Be1798b70aEe431c2986f7ff48d9D1fa350786a) | | ||
| variableDebtToken | [0x18248226C16BF76c032817854E7C83a2113B4f06](https://arbiscan.io/address/0x18248226C16BF76c032817854E7C83a2113B4f06) | | ||
| variableDebtTokenImpl | [0x5E76E98E0963EcDC6A065d1435F84065b7523f39](https://arbiscan.io/address/0x5E76E98E0963EcDC6A065d1435F84065b7523f39) | | ||
| stableDebtToken | [0x687871030477bf974725232F764aa04318A8b9c8](https://arbiscan.io/address/0x687871030477bf974725232F764aa04318A8b9c8) | | ||
| stableDebtTokenImpl | [0x0c2C95b24529664fE55D4437D7A31175CFE6c4f7](https://arbiscan.io/address/0x0c2C95b24529664fE55D4437D7A31175CFE6c4f7) | | ||
| borrowingEnabled | true | | ||
| stableBorrowRateEnabled | false | | ||
| isBorrowableInIsolation | false | | ||
| interestRateStrategy | [0x4011fcd421b9E90f131B164EC1d162DBE269621C](https://arbiscan.io/address/0x4011fcd421b9E90f131B164EC1d162DBE269621C) | | ||
| liquidityIndex | 1 | | ||
| variableBorrowIndex | 1 | | ||
| aTokenName | Aave Arbitrum GHO | | ||
| aTokenSymbol | aArbGHO | | ||
| currentLiquidityRate | 0 % | | ||
| currentVariableBorrowRate | 0 % | | ||
| isPaused | false | | ||
| stableDebtTokenName | Aave Arbitrum Stable Debt GHO | | ||
| stableDebtTokenSymbol | stableDebtArbGHO | | ||
| variableDebtTokenName | Aave Arbitrum Variable Debt GHO | | ||
| variableDebtTokenSymbol | variableDebtArbGHO | | ||
| optimalUsageRatio | 90 % | | ||
| maxExcessStableToTotalDebtRatio | 100 % | | ||
| maxExcessUsageRatio | 10 % | | ||
| optimalStableToTotalDebtRatio | 0 % | | ||
| baseVariableBorrowRate | 0 % | | ||
| variableRateSlope1 | 13 % | | ||
| variableRateSlope2 | 65 % | | ||
| baseStableBorrowRate | 13 % | | ||
| stableRateSlope1 | 0 % | | ||
| stableRateSlope2 | 0 % | | ||
| interestRate |  | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"reserves": { | ||
"0x9124bc807e1e9c79b3225b25D8B77BacB65FE622": { | ||
"from": null, | ||
"to": { | ||
"aToken": "0xeBe517846d0F36eCEd99C735cbF6131e1fEB775D", | ||
"aTokenImpl": "0x1Be1798b70aEe431c2986f7ff48d9D1fa350786a", | ||
"aTokenName": "Aave Arbitrum GHO", | ||
"aTokenSymbol": "aArbGHO", | ||
"borrowCap": 900000, | ||
"borrowingEnabled": true, | ||
"currentLiquidityRate": 0, | ||
"currentVariableBorrowRate": 0, | ||
"debtCeiling": 0, | ||
"decimals": 18, | ||
"eModeCategory": 0, | ||
"interestRateStrategy": "0x4011fcd421b9E90f131B164EC1d162DBE269621C", | ||
"isActive": true, | ||
"isBorrowableInIsolation": false, | ||
"isFlashloanable": true, | ||
"isFrozen": false, | ||
"isPaused": false, | ||
"isSiloed": false, | ||
"liquidationBonus": 0, | ||
"liquidationProtocolFee": 0, | ||
"liquidationThreshold": 0, | ||
"liquidityIndex": "1000000000000000000000000000", | ||
"ltv": 0, | ||
"oracle": "0x3c786e934F23375Ca345C9b8D5aD54838796E8e7", | ||
"oracleDecimals": 8, | ||
"oracleDescription": "GHO / USD", | ||
"oracleLatestAnswer": 100055373, | ||
"reserveFactor": 1000, | ||
"stableBorrowRateEnabled": false, | ||
"stableDebtToken": "0x687871030477bf974725232F764aa04318A8b9c8", | ||
"stableDebtTokenImpl": "0x0c2C95b24529664fE55D4437D7A31175CFE6c4f7", | ||
"stableDebtTokenName": "Aave Arbitrum Stable Debt GHO", | ||
"stableDebtTokenSymbol": "stableDebtArbGHO", | ||
"supplyCap": 1000000, | ||
"symbol": "GHO", | ||
"underlying": "0x9124bc807e1e9c79b3225b25D8B77BacB65FE622", | ||
"usageAsCollateralEnabled": false, | ||
"variableBorrowIndex": "1000000000000000000000000000", | ||
"variableDebtToken": "0x18248226C16BF76c032817854E7C83a2113B4f06", | ||
"variableDebtTokenImpl": "0x5E76E98E0963EcDC6A065d1435F84065b7523f39", | ||
"variableDebtTokenName": "Aave Arbitrum Variable Debt GHO", | ||
"variableDebtTokenSymbol": "variableDebtArbGHO" | ||
} | ||
} | ||
}, | ||
"strategies": { | ||
"0x9124bc807e1e9c79b3225b25D8B77BacB65FE622": { | ||
"from": null, | ||
"to": { | ||
"address": "0x4011fcd421b9E90f131B164EC1d162DBE269621C", | ||
"baseStableBorrowRate": "130000000000000000000000000", | ||
"baseVariableBorrowRate": 0, | ||
"maxExcessStableToTotalDebtRatio": "1000000000000000000000000000", | ||
"maxExcessUsageRatio": "100000000000000000000000000", | ||
"optimalStableToTotalDebtRatio": 0, | ||
"optimalUsageRatio": "900000000000000000000000000", | ||
"stableRateSlope1": 0, | ||
"stableRateSlope2": 0, | ||
"variableRateSlope1": "130000000000000000000000000", | ||
"variableRateSlope2": "650000000000000000000000000" | ||
} | ||
} | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.