Skip to content

Commit

Permalink
fix: Fix Arbitrum payload max bytecode size exceeded
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed Jun 6, 2024
1 parent 76283d9 commit 17eb17c
Show file tree
Hide file tree
Showing 6 changed files with 261 additions and 121 deletions.
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 | ![ir](/.assets/27f24261be79502c45933baaa28f73a9f1adae83.svg) |


## 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"
}
}
}
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@
| maxExcessUsageRatio | 10 % |
| optimalStableToTotalDebtRatio | 0 % |
| baseVariableBorrowRate | 0 % |
| variableRateSlope1 | 14 % |
| variableRateSlope1 | 13 % |
| variableRateSlope2 | 65 % |
| baseStableBorrowRate | 14 % |
| baseStableBorrowRate | 13 % |
| stableRateSlope1 | 0 % |
| stableRateSlope2 | 0 % |
| interestRate | ![ir](/.assets/9022a13f2614d3be8c036bc1ad6a4db84543e1df.svg) |
| interestRate | ![ir](/.assets/27f24261be79502c45933baaa28f73a9f1adae83.svg) |


## Raw diff
Expand Down Expand Up @@ -117,15 +117,15 @@
"from": null,
"to": {
"address": "0x4011fcd421b9E90f131B164EC1d162DBE269621C",
"baseStableBorrowRate": "140000000000000000000000000",
"baseStableBorrowRate": "130000000000000000000000000",
"baseVariableBorrowRate": 0,
"maxExcessStableToTotalDebtRatio": "1000000000000000000000000000",
"maxExcessUsageRatio": "100000000000000000000000000",
"optimalStableToTotalDebtRatio": 0,
"optimalUsageRatio": "900000000000000000000000000",
"stableRateSlope1": 0,
"stableRateSlope2": 0,
"variableRateSlope1": "140000000000000000000000000",
"variableRateSlope1": "130000000000000000000000000",
"variableRateSlope2": "650000000000000000000000000"
}
}
Expand Down
Loading

0 comments on commit 17eb17c

Please sign in to comment.