Skip to content

Commit

Permalink
✨ Onboard AUSD Aave v3 Avalanche (#530)
Browse files Browse the repository at this point in the history
* feat: USDS BR update

* ✨ add ausd aave v3 avalanche

* ✨ update md file

* 🐛 fix AUSD_LM_ADMIN

* Revert "feat: USDS BR update"

This reverts commit 4fda313.

* 🐛 fix Collateral Enabled md to false

* 🔧 change seed amount for 100 AUSD

* ✨ generate test + fix issue wrong collector transfer

* ⬆️ update aave-helpers lib

* ✅ test passed + update diff

* Revert "⬆️ update aave-helpers lib"

This reverts commit b4b5022.

* 🔥 revert lib update

* 🐛 update chainlink price feed for capo

---------

Co-authored-by: Rozengarden <[email protected]>
  • Loading branch information
MartinGbz and Rozengarden authored Dec 23, 2024
1 parent 5c967e8 commit b368d23
Show file tree
Hide file tree
Showing 6 changed files with 402 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
## Reserve changes

### Reserves added

#### AUSD ([0x00000000eFE302BEAA2b3e6e1b18d08D69a9012a](https://snowtrace.io/address/0x00000000eFE302BEAA2b3e6e1b18d08D69a9012a))

| description | value |
| --- | --- |
| decimals | 6 |
| isActive | true |
| isFrozen | false |
| supplyCap | 19,000,000 AUSD |
| borrowCap | 17,400,000 AUSD |
| debtCeiling | 0 $ [0] |
| isSiloed | false |
| isFlashloanable | true |
| oracle | [0x83f32c0882B12Ef16214c417efF11FD9e764bf34](https://snowtrace.io/address/0x83f32c0882B12Ef16214c417efF11FD9e764bf34) |
| oracleDecimals | 8 |
| oracleDescription | Capped AUSD / USD |
| oracleLatestAnswer | 0.99925546 |
| usageAsCollateralEnabled | false |
| ltv | 0 % [0] |
| liquidationThreshold | 0 % [0] |
| liquidationBonus | 0 % |
| liquidationProtocolFee | 0 % [0] |
| reserveFactor | 10 % [1000] |
| aToken | [0x724dc807b04555b71ed48a6896b6F41593b8C637](https://snowtrace.io/address/0x724dc807b04555b71ed48a6896b6F41593b8C637) |
| aTokenImpl | [0x1E81af09001aD208BDa68FF022544dB2102A752d](https://snowtrace.io/address/0x1E81af09001aD208BDa68FF022544dB2102A752d) |
| variableDebtToken | [0xDC1fad70953Bb3918592b6fCc374fe05F5811B6a](https://snowtrace.io/address/0xDC1fad70953Bb3918592b6fCc374fe05F5811B6a) |
| variableDebtTokenImpl | [0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24](https://snowtrace.io/address/0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24) |
| borrowingEnabled | true |
| isBorrowableInIsolation | false |
| interestRateStrategy | [0xCe1C5509f2f4d755aA64B8D135B15ec6F12a93da](https://snowtrace.io/address/0xCe1C5509f2f4d755aA64B8D135B15ec6F12a93da) |
| aTokenName | Aave Avalanche AUSD |
| aTokenSymbol | aAvaAUSD |
| aTokenUnderlyingBalance | 100 AUSD [100000000] |
| id | 12 |
| isPaused | false |
| variableDebtTokenName | Aave Avalanche Variable Debt AUSD |
| variableDebtTokenSymbol | variableDebtAvaAUSD |
| virtualAccountingActive | true |
| virtualBalance | 100 AUSD [100000000] |
| optimalUsageRatio | 90 % |
| maxVariableBorrowRate | 80.5 % |
| baseVariableBorrowRate | 0 % |
| variableRateSlope1 | 5.5 % |
| variableRateSlope2 | 75 % |
| interestRate | ![ir](https://dash.onaave.com/api/static?variableRateSlope1=55000000000000000000000000&variableRateSlope2=750000000000000000000000000&optimalUsageRatio=900000000000000000000000000&baseVariableBorrowRate=0&maxVariableBorrowRate=805000000000000000000000000) |


## Raw diff

```json
{
"reserves": {
"0x00000000eFE302BEAA2b3e6e1b18d08D69a9012a": {
"from": null,
"to": {
"aToken": "0x724dc807b04555b71ed48a6896b6F41593b8C637",
"aTokenImpl": "0x1E81af09001aD208BDa68FF022544dB2102A752d",
"aTokenName": "Aave Avalanche AUSD",
"aTokenSymbol": "aAvaAUSD",
"aTokenUnderlyingBalance": "100000000",
"borrowCap": 17400000,
"borrowingEnabled": true,
"debtCeiling": 0,
"decimals": 6,
"id": 12,
"interestRateStrategy": "0xCe1C5509f2f4d755aA64B8D135B15ec6F12a93da",
"isActive": true,
"isBorrowableInIsolation": false,
"isFlashloanable": true,
"isFrozen": false,
"isPaused": false,
"isSiloed": false,
"liquidationBonus": 0,
"liquidationProtocolFee": 0,
"liquidationThreshold": 0,
"ltv": 0,
"oracle": "0x83f32c0882B12Ef16214c417efF11FD9e764bf34",
"oracleDecimals": 8,
"oracleDescription": "Capped AUSD / USD",
"oracleLatestAnswer": "99925546",
"reserveFactor": 1000,
"supplyCap": 19000000,
"symbol": "AUSD",
"underlying": "0x00000000eFE302BEAA2b3e6e1b18d08D69a9012a",
"usageAsCollateralEnabled": false,
"variableDebtToken": "0xDC1fad70953Bb3918592b6fCc374fe05F5811B6a",
"variableDebtTokenImpl": "0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24",
"variableDebtTokenName": "Aave Avalanche Variable Debt AUSD",
"variableDebtTokenSymbol": "variableDebtAvaAUSD",
"virtualAccountingActive": true,
"virtualBalance": "100000000"
}
}
},
"strategies": {
"0x00000000eFE302BEAA2b3e6e1b18d08D69a9012a": {
"from": null,
"to": {
"address": "0xCe1C5509f2f4d755aA64B8D135B15ec6F12a93da",
"baseVariableBorrowRate": "0",
"maxVariableBorrowRate": "805000000000000000000000000",
"optimalUsageRatio": "900000000000000000000000000",
"variableRateSlope1": "55000000000000000000000000",
"variableRateSlope2": "750000000000000000000000000"
}
}
}
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {AaveV3Avalanche} from 'aave-address-book/AaveV3Avalanche.sol';
import {GovernanceV3Avalanche} from 'aave-address-book/GovernanceV3Avalanche.sol';
import {AaveV3PayloadAvalanche} from 'aave-helpers/src/v3-config-engine/AaveV3PayloadAvalanche.sol';
import {EngineFlags} from 'aave-v3-origin/contracts/extensions/v3-config-engine/EngineFlags.sol';
import {IAaveV3ConfigEngine} from 'aave-v3-origin/contracts/extensions/v3-config-engine/IAaveV3ConfigEngine.sol';
import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol';
import {SafeERC20} from 'solidity-utils/contracts/oz-common/SafeERC20.sol';
import {IEmissionManager} from 'aave-v3-origin/contracts/rewards/interfaces/IEmissionManager.sol';
/**
* @title Onboard AUSD
* @author ACI
* - Snapshot: https://snapshot.org/#/aave.eth/proposal/0x021b40c7042ce770c0ce1ee5ff63591c132a9f0f12e3a1cb92fa209299793dec
* - Discussion: https://governance.aave.com/t/arfc-onboard-ausd-to-aave-v3-on-avalanche/19689
*/
contract AaveV3Avalanche_OnboardAUSD_20241125 is AaveV3PayloadAvalanche {
using SafeERC20 for IERC20;

address public constant AUSD = 0x00000000eFE302BEAA2b3e6e1b18d08D69a9012a;
uint256 public constant AUSD_SEED_AMOUNT = 100e6;
address public constant AUSD_ADMIN = 0xac140648435d03f784879cd789130F22Ef588Fcd;

function _postExecute() internal override {
// transfer AUSD seed amount from collector to executor (fix the mistakes of wrong AUSD seed amount reicipient)
AaveV3Avalanche.COLLECTOR.transfer(
AUSD,
GovernanceV3Avalanche.EXECUTOR_LVL_1,
AUSD_SEED_AMOUNT
);

IERC20(AUSD).forceApprove(address(AaveV3Avalanche.POOL), AUSD_SEED_AMOUNT);
AaveV3Avalanche.POOL.supply(AUSD, AUSD_SEED_AMOUNT, address(AaveV3Avalanche.COLLECTOR), 0);

(address aAUSD, , ) = AaveV3Avalanche.AAVE_PROTOCOL_DATA_PROVIDER.getReserveTokensAddresses(
AUSD
);
IEmissionManager(AaveV3Avalanche.EMISSION_MANAGER).setEmissionAdmin(AUSD, AUSD_ADMIN);
IEmissionManager(AaveV3Avalanche.EMISSION_MANAGER).setEmissionAdmin(aAUSD, AUSD_ADMIN);
}

function newListings() public pure override returns (IAaveV3ConfigEngine.Listing[] memory) {
IAaveV3ConfigEngine.Listing[] memory listings = new IAaveV3ConfigEngine.Listing[](1);

listings[0] = IAaveV3ConfigEngine.Listing({
asset: AUSD,
assetSymbol: 'AUSD',
priceFeed: 0x83f32c0882B12Ef16214c417efF11FD9e764bf34,
enabledToBorrow: EngineFlags.ENABLED,
borrowableInIsolation: EngineFlags.DISABLED,
withSiloedBorrowing: EngineFlags.DISABLED,
flashloanable: EngineFlags.ENABLED,
ltv: 0,
liqThreshold: 0,
liqBonus: 0,
reserveFactor: 10_00,
supplyCap: 19_000_000,
borrowCap: 17_400_000,
debtCeiling: 0,
liqProtocolFee: 0,
rateStrategyParams: IAaveV3ConfigEngine.InterestRateInputData({
optimalUsageRatio: 90_00,
baseVariableBorrowRate: 0,
variableRateSlope1: 5_50,
variableRateSlope2: 75_00
})
});

return listings;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {GovV3Helpers} from 'aave-helpers/src/GovV3Helpers.sol';
import {AaveV3Avalanche} from 'aave-address-book/AaveV3Avalanche.sol';
import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol';
import {IEmissionManager} from 'aave-v3-origin/contracts/rewards/interfaces/IEmissionManager.sol';

import 'forge-std/Test.sol';
import {ProtocolV3TestBase, ReserveConfig} from 'aave-helpers/src/ProtocolV3TestBase.sol';
import {AaveV3Avalanche_OnboardAUSD_20241125} from './AaveV3Avalanche_OnboardAUSD_20241125.sol';

/**
* @dev Test for AaveV3Avalanche_OnboardAUSD_20241125
* command: FOUNDRY_PROFILE=avalanche forge test --match-path=src/20241125_AaveV3Avalanche_OnboardAUSD/AaveV3Avalanche_OnboardAUSD_20241125.t.sol -vv
*/
contract AaveV3Avalanche_OnboardAUSD_20241125_Test is ProtocolV3TestBase {
AaveV3Avalanche_OnboardAUSD_20241125 internal proposal;

function setUp() public {
vm.createSelectFork(vm.rpcUrl('avalanche'), 54627124);
proposal = new AaveV3Avalanche_OnboardAUSD_20241125();
}

/**
* @dev executes the generic test suite including e2e and config snapshots
*/
function test_defaultProposalExecution() public {
defaultTest('AaveV3Avalanche_OnboardAUSD_20241125', AaveV3Avalanche.POOL, address(proposal));
}

function test_collectorHasAUSDFunds() public {
GovV3Helpers.executePayload(vm, address(proposal));
(address aTokenAddress, , ) = AaveV3Avalanche
.AAVE_PROTOCOL_DATA_PROVIDER
.getReserveTokensAddresses(proposal.AUSD());
assertGe(IERC20(aTokenAddress).balanceOf(address(AaveV3Avalanche.COLLECTOR)), 100 * 10 ** 6);
}

function test_AUSDAdmin() public {
GovV3Helpers.executePayload(vm, address(proposal));
(address aAUSD, , ) = AaveV3Avalanche.AAVE_PROTOCOL_DATA_PROVIDER.getReserveTokensAddresses(
proposal.AUSD()
);
assertEq(
IEmissionManager(AaveV3Avalanche.EMISSION_MANAGER).getEmissionAdmin(proposal.AUSD()),
proposal.AUSD_ADMIN()
);
assertEq(
IEmissionManager(AaveV3Avalanche.EMISSION_MANAGER).getEmissionAdmin(aAUSD),
proposal.AUSD_ADMIN()
);
}
}
59 changes: 59 additions & 0 deletions src/20241125_AaveV3Avalanche_OnboardAUSD/OnboardAUSD.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
title: "Onboard AUSD"
author: "ACI"
discussions: "https://governance.aave.com/t/arfc-onboard-ausd-to-aave-v3-on-avalanche/19689"
snapshot: "https://snapshot.org/#/aave.eth/proposal/0x021b40c7042ce770c0ce1ee5ff63591c132a9f0f12e3a1cb92fa209299793dec"
---

## Simple Summary

This proposal seeks to onboard AUSD, a secure digital dollar backed 1:1 by USD fiat, to Aave V3 on Avalanche. AUSD, issued by Agora, serves as a stable and liquid alternative to USDT and USDC. With a growing AUM and robust liquidity, AUSD will enhance Aave’s liquidity pool, offering users a reliable and efficient stablecoin option with strong institutional backing.

## Motivation

Agora offers AUSD, a digital dollar minted 1:1 with USD fiat. AUSD is designed to be a secure digital currency, utilizing one of the world’s largest custodian banks to safeguard assets. AUSD enables users to participate in trading, lending and payments. It is the most cost-efficient stablecoin to transact with due to its gas-optimized smart contract, making it ideal for traders and payments.

Agora operates an open partnership model, allowing collaboration with a diverse range of customers who meet KYB (Know Your Business) requirements and operate in jurisdictions we can serve. This approach contrasts with single partnership models (eg. Exchange-Backed Stables), ensuring that AUSD can be widely adopted across different ecosystems, providing liquidity and stability without conflicts of interest.

AUSD is currently available on Ethereum, Avalanche, Sui and Mantle, garnering $70+ million in TVL and $12+ million in daily DEX volume since contract deployment. The reserve assets are managed by VanEck ($100B+ asset manager) and custodied with one of the largest global banks, ensuring security and safety. AUSD’s unique value proposition also includes zero-fee minting and redemption facilities, making it an attractive asset for all ecosystem participants.

By integrating AUSD into Aave, users will gain access to a stable, liquid asset that supports trading, lending, and other decentralized finance activities. This integration aligns with Aave’s mission to decentralize finance while offering secure and reliable stablecoin options.

## Specification

The table below illustrates the configured risk parameters for **AUSD**

| Parameter | Value |
| ------------------------- | -----------------------------------------: |
| Isolation Mode | false |
| Borrowable | ENABLED |
| Collateral Enabled | false |
| Supply Cap (AUSD) | 19,000,000 |
| Borrow Cap (AUSD) | 17,400,000 |
| Debt Ceiling | USD 0 |
| LTV | 0 % |
| LT | 0 % |
| Liquidation Bonus | 0 % |
| Liquidation Protocol Fee | 0 % |
| Reserve Factor | 10 % |
| Base Variable Borrow Rate | 0 % |
| Variable Slope 1 | 5.5 % |
| Variable Slope 2 | 75 % |
| Uoptimal | 90 % |
| Flashloanable | ENABLED |
| Siloed Borrowing | DISABLED |
| Borrowable in Isolation | DISABLED |
| Oracle | 0x83f32c0882B12Ef16214c417efF11FD9e764bf34 |

Additionaly [0xac140648435d03f784879cd789130F22Ef588Fcd](https://snowtrace.io/address/0xac140648435d03f784879cd789130F22Ef588Fcd) has been set as the emission admin for AUSD and the corresponding aToken.

## References

- Implementation: [AaveV3Avalanche](https://github.com/bgd-labs/aave-proposals-v3/blob/main/src/20241125_AaveV3Avalanche_OnboardAUSD/AaveV3Avalanche_OnboardAUSD_20241125.sol)
- Tests: [AaveV3Avalanche](https://github.com/bgd-labs/aave-proposals-v3/blob/main/src/20241125_AaveV3Avalanche_OnboardAUSD/AaveV3Avalanche_OnboardAUSD_20241125.t.sol)
- [Snapshot](https://snapshot.org/#/aave.eth/proposal/0x021b40c7042ce770c0ce1ee5ff63591c132a9f0f12e3a1cb92fa209299793dec)
- [Discussion](https://governance.aave.com/t/arfc-onboard-ausd-to-aave-v3-on-avalanche/19689)

## Copyright

Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/).
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {GovV3Helpers, IPayloadsControllerCore, PayloadsControllerUtils} from 'aave-helpers/src/GovV3Helpers.sol';
import {GovernanceV3Ethereum} from 'aave-address-book/GovernanceV3Ethereum.sol';
import {EthereumScript, AvalancheScript} from 'solidity-utils/contracts/utils/ScriptUtils.sol';
import {AaveV3Avalanche_OnboardAUSD_20241125} from './AaveV3Avalanche_OnboardAUSD_20241125.sol';

/**
* @dev Deploy Avalanche
* deploy-command: make deploy-ledger contract=src/20241125_AaveV3Avalanche_OnboardAUSD/OnboardAUSD_20241125.s.sol:DeployAvalanche chain=avalanche
* verify-command: FOUNDRY_PROFILE=avalanche npx catapulta-verify -b broadcast/OnboardAUSD_20241125.s.sol/43114/run-latest.json
*/
contract DeployAvalanche is AvalancheScript {
function run() external broadcast {
// deploy payloads
address payload0 = GovV3Helpers.deployDeterministic(
type(AaveV3Avalanche_OnboardAUSD_20241125).creationCode
);

// compose action
IPayloadsControllerCore.ExecutionAction[]
memory actions = new IPayloadsControllerCore.ExecutionAction[](1);
actions[0] = GovV3Helpers.buildAction(payload0);

// register action at payloadsController
GovV3Helpers.createPayload(actions);
}
}

/**
* @dev Create Proposal
* command: make deploy-ledger contract=src/20241125_AaveV3Avalanche_OnboardAUSD/OnboardAUSD_20241125.s.sol:CreateProposal chain=mainnet
*/
contract CreateProposal is EthereumScript {
function run() external {
// create payloads
PayloadsControllerUtils.Payload[] memory payloads = new PayloadsControllerUtils.Payload[](1);

// compose actions for validation
IPayloadsControllerCore.ExecutionAction[]
memory actionsAvalanche = new IPayloadsControllerCore.ExecutionAction[](1);
actionsAvalanche[0] = GovV3Helpers.buildAction(
type(AaveV3Avalanche_OnboardAUSD_20241125).creationCode
);
payloads[0] = GovV3Helpers.buildAvalanchePayload(vm, actionsAvalanche);

// create proposal
vm.startBroadcast();
GovV3Helpers.createProposal(
vm,
payloads,
GovernanceV3Ethereum.VOTING_PORTAL_ETH_POL,
GovV3Helpers.ipfsHashFile(vm, 'src/20241125_AaveV3Avalanche_OnboardAUSD/OnboardAUSD.md')
);
}
}
Loading

2 comments on commit b368d23

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌈Test Results No files changed, compilation skipped 2024-12-23T08:16:56.538073Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^1.1.12", "diff-snapshots", "./reports/AaveV3Avalanche_OnboardAUSD_20241125_before.json", "./reports/AaveV3Avalanche_OnboardAUSD_20241125_after.json", "-o", "./diffs/AaveV3Avalanche_OnboardAUSD_20241125_before_AaveV3Avalanche_OnboardAUSD_20241125_after.md"] stderr="npm warn exec The following package was not found and will be installed: @bgd-labs/[email protected]\n"

Ran 3 tests for src/20241125_AaveV3Avalanche_OnboardAUSD/AaveV3Avalanche_OnboardAUSD_20241125.t.sol:AaveV3Avalanche_OnboardAUSD_20241125_Test
[PASS] test_AUSDAdmin() (gas: 2101412)
[PASS] test_collectorHasAUSDFunds() (gas: 2099774)
[PASS] test_defaultProposalExecution() (gas: 31427676)
Logs:
0xd586E7F844cEa2F87f50152665BCbc2C279D8d70
0x5947BB275c521040051D82396192181b413227A3
0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E
0x50b7545627a5162F82A992c33b87aDc75187B218
0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB
0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7
0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7
0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64
0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b
0x152b9d0FdC40C096757F570A51E494bd4b943E50
0x00000000eFE302BEAA2b3e6e1b18d08D69a9012a
E2E: Collateral DAI.e, TestAsset DAI.e
SUPPLY: DAI.e, Amount: 100005000250012500625031
SUPPLY: DAI.e, Amount: 1000050002500125006250
WITHDRAW: DAI.e, Amount: 500025001250062503125
WITHDRAW: DAI.e, Amount: 500025001250062503125
BORROW: DAI.e, Amount 1000050002500125006250
REPAY: DAI.e, Amount: 1000050002500125006250
E2E: Collateral DAI.e, TestAsset LINK.e
SUPPLY: DAI.e, Amount: 100005000250012500625031
SUPPLY: LINK.e, Amount: 44813870072042777527
WITHDRAW: LINK.e, Amount: 22406935036021388763
WITHDRAW: LINK.e, Amount: 22406935036021388764
BORROW: LINK.e, Amount 44813870072042777527
REPAY: LINK.e, Amount: 44813870072042777527
E2E: Collateral DAI.e, TestAsset USDC
SUPPLY: DAI.e, Amount: 100005000250012500625031
SUPPLY: USDC, Amount: 1000011230
WITHDRAW: USDC, Amount: 500005615
WITHDRAW: USDC, Amount: 500005615
BORROW: USDC, Amount 1000011230
REPAY: USDC, Amount: 1000011230
E2E: TestAsset WBTC.e SKIPPED
E2E: Collateral DAI.e, TestAsset WETH.e
SUPPLY: DAI.e, Amount: 100005000250012500625031
SUPPLY: WETH.e, Amount: 299854570533291353
WITHDRAW: WETH.e, Amount: 149927285266645676
WITHDRAW: WETH.e, Amount: 149927285266645678
BORROW: WETH.e, Amount 299854570533291353
REPAY: WETH.e, Amount: 299854570533291353
E2E: Collateral DAI.e, TestAsset USDt
SUPPLY: DAI.e, Amount: 100005000250012500625031
SUPPLY: USDt, Amount: 1000833063
WITHDRAW: USDt, Amount: 500416531
WITHDRAW: USDt, Amount: 500416532
BORROW: USDt, Amount 1000833063
REPAY: USDt, Amount: 1000833063
E2E: Collateral DAI.e, TestAsset AAVE.e
SUPPLY: DAI.e, Amount: 100005000250012500625031
SUPPLY: AAVE.e, Amount: 3336498558298972959
WITHDRAW: AAVE.e, Amount: 1668249279149486479
WITHDRAW: AAVE.e, Amount: 1668249279149486480
E2E: Collateral DAI.e, TestAsset WAVAX
SUPPLY: DAI.e, Amount: 100005000250012500625031
SUPPLY: WAVAX, Amount: 26630677528760431344
WITHDRAW: WAVAX, Amount: 13315338764380215672
WITHDRAW: WAVAX, Amount: 13315338764380215672
BORROW: WAVAX, Amount 26630677528760431344
REPAY: WAVAX, Amount: 26630677528760431344
E2E: Collateral DAI.e, TestAsset sAVAX
SUPPLY: DAI.e, Amount: 100005000250012500625031
SUPPLY: sAVAX, Amount: 22522247705447311256
WITHDRAW: sAVAX, Amount: 11261123852723655628
WITHDRAW: sAVAX, Amount: 11261123852723655628
E2E: Collateral DAI.e, TestAsset FRAX
SUPPLY: DAI.e, Amount: 100005000250012500625031
SUPPLY: FRAX, Amount: 1004504116096246280622
WITHDRAW: FRAX, Amount: 502252058048123140311
WITHDRAW: FRAX, Amount: 502252058048123140310
BORROW: FRAX, Amount 1004504116096246280622
REPAY: FRAX, Amount: 1004504116096246280622
E2E: TestAsset MAI SKIPPED
E2E: Collateral DAI.e, TestAsset BTC.b
SUPPLY: DAI.e, Amount: 100005000250012500625031
SUPPLY: BTC.b, Amount: 1043852
WITHDRAW: BTC.b, Amount: 521926
WITHDRAW: BTC.b, Amount: 521925
BORROW: BTC.b, Amount 1043852
REPAY: BTC.b, Amount: 1043852
E2E: Collateral DAI.e, TestAsset AUSD
SUPPLY: DAI.e, Amount: 100005000250012500625031
SUPPLY: AUSD, Amount: 1000745094
WITHDRAW: AUSD, Amount: 500372547
WITHDRAW: AUSD, Amount: 500372547
BORROW: AUSD, Amount 1000745094
REPAY: AUSD, Amount: 1000745094

Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 74.80s (91.78s CPU time)

Ran 1 test suite in 74.81s (74.80s CPU time): 3 tests passed, 0 failed, 0 skipped (3 total tests)

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Build logs
Compiling 488 files with Solc 0.8.20
Solc 0.8.20 finished in 313.64s
Compiler run successful with warnings:
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> lib/aave-helpers/src/swaps/AaveSwapper.sol:138:5:
    |
138 |     address erc20Token
    |     ^^^^^^^^^^^^^^^^^^

Warning (2018): Function state mutability can be restricted to pure
   --> lib/aave-helpers/src/ProtocolV2TestBase.sol:663:3:
    |
663 |   function _logReserveConfig(ReserveConfig memory config) internal view {
    |   ^ (Relevant source part starts here and spans across multiple lines).

| Contract                                                                                    | Runtime Size (B) | Initcode Size (B) | Runtime Margin (B) | Initcode Margin (B) |
|---------------------------------------------------------------------------------------------|------------------|-------------------|--------------------|---------------------|
| AaveGovernanceV2                                                                            |               44 |                94 |             24,532 |              49,058 |
| AaveSafetyModule                                                                            |               44 |                94 |             24,532 |              49,058 |
| AaveSwapper                                                                                 |            5,447 |             5,883 |             19,129 |              43,269 |
| AaveV2Avalanche                                                                             |               44 |                94 |             24,532 |              49,058 |
| AaveV2AvalancheAssets                                                                       |               44 |                94 |             24,532 |              49,058 |
| AaveV2Avalanche_ReserveFactorUpdatesMidOctober_20241004                                     |              988 |             1,017 |             23,588 |              48,135 |
| AaveV2Avalanche_UpdateLegacyGuardian_20241016                                               |              348 |               486 |             24,228 |              48,666 |
| AaveV2Ethereum                                                                              |               44 |                94 |             24,532 |              49,058 |
| AaveV2EthereumAMM                                                                           |               44 |                94 |             24,532 |              49,058 |
| AaveV2EthereumAMMAssets                                                                     |               44 |                94 |             24,532 |              49,058 |
| AaveV2EthereumAMM_UpdateLegacyGuardian_20241016                                             |              348 |               486 |             24,228 |              48,666 |
| AaveV2EthereumAssets                                                                        |               44 |                94 |             24,532 |              49,058 |
| AaveV2Ethereum_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201          |            1,811 |             1,881 |             22,765 |              47,271 |
| AaveV2Ethereum_ReserveFactorUpdatesMidOctober_20241004                                      |              988 |             1,017 |             23,588 |              48,135 |
| AaveV2Ethereum_UpdateLegacyGuardian_20241016                                                |              348 |               486 |             24,228 |              48,666 |
| AaveV2Polygon                                                                               |               44 |                94 |             24,532 |              49,058 |
| AaveV2PolygonAssets                                                                         |               44 |                94 |             24,532 |              49,058 |
| AaveV2Polygon_ReserveFactorUpdatesMidOctober_20241004                                       |            2,384 |             2,454 |             22,192 |              46,698 |
| AaveV2Polygon_UpdateLegacyGuardian_20241016                                                 |              348 |               486 |             24,228 |              48,666 |
| AaveV3Arbitrum                                                                              |               44 |                94 |             24,532 |              49,058 |
| AaveV3ArbitrumAssets                                                                        |               44 |                94 |             24,532 |              49,058 |
| AaveV3ArbitrumEModes                                                                        |               44 |                94 |             24,532 |              49,058 |
| AaveV3ArbitrumExternalLibraries                                                             |               44 |                94 |             24,532 |              49,058 |
| AaveV3Arbitrum_AddDHEDGEProtocolToFlashBorrowers_20241118                                   |            1,146 |             1,175 |             23,430 |              47,977 |
| AaveV3Arbitrum_FluidAlignment_20241127                                                      |              242 |               270 |             24,334 |              48,882 |
| AaveV3Arbitrum_GHOCCIP150Upgrade_20241021                                                   |              817 |               846 |             23,759 |              48,306 |
| AaveV3Arbitrum_GHOStewardV2Upgrade_20241007                                                 |            1,360 |             1,389 |             23,216 |              47,763 |
| AaveV3Arbitrum_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201          |            4,072 |             4,142 |             20,504 |              45,010 |
| AaveV3Arbitrum_ReserveFactorUpdatesMidOctober_20241004                                      |            3,227 |             3,297 |             21,349 |              45,855 |
| AaveV3Arbitrum_RiskStewardPhase2_20240805                                                   |              307 |               336 |             24,269 |              48,816 |
| AaveV3Arbitrum_SeptemberFundingUpdatePartA_20241113                                         |            2,356 |             2,385 |             22,220 |              46,767 |
| AaveV3Arbitrum_UpdateLegacyGuardian_20241016                                                |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Arbitrum_UpdatePriceCapAdaptersCAPO_20241101                                          |            3,755 |             3,825 |             20,821 |              45,327 |
| AaveV3Arbitrum_WBTCReserveFactorAndUOptimalIncrease_20241120                                |            3,504 |             3,574 |             21,072 |              45,578 |
| AaveV3Avalanche                                                                             |               44 |                94 |             24,532 |              49,058 |
| AaveV3AvalancheAssets                                                                       |               44 |                94 |             24,532 |              49,058 |
| AaveV3AvalancheEModes                                                                       |               44 |                94 |             24,532 |              49,058 |
| AaveV3AvalancheExternalLibraries                                                            |               44 |                94 |             24,532 |              49,058 |
| AaveV3Avalanche_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201         |            3,652 |             3,722 |             20,924 |              45,430 |
| AaveV3Avalanche_OnboardAUSD_20241125                                                        |            5,182 |             5,253 |             19,394 |              43,899 |
| AaveV3Avalanche_RiskStewardPhase2_20240805                                                  |              178 |               206 |             24,398 |              48,946 |
| AaveV3Avalanche_UpdateLegacyGuardian_20241016                                               |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Avalanche_UpdatePriceCapAdaptersCAPO_20241101                                         |            4,254 |             4,324 |             20,322 |              44,828 |
| AaveV3BNB                                                                                   |               44 |                94 |             24,532 |              49,058 |
| AaveV3BNBAssets                                                                             |               44 |                94 |             24,532 |              49,058 |
| AaveV3BNBEModes                                                                             |               44 |                94 |             24,532 |              49,058 |
| AaveV3BNBExternalLibraries                                                                  |               44 |                94 |             24,532 |              49,058 |
| AaveV3BNB_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201               |            3,518 |             3,588 |             21,058 |              45,564 |
| AaveV3BNB_OnboardWstETHToAaveV3OnBNBChain_20241030                                          |            5,561 |             5,632 |             19,015 |              43,520 |
| AaveV3BNB_RiskStewardPhase2_20240805                                                        |              178 |               206 |             24,398 |              48,946 |
| AaveV3BNB_UpdateLegacyGuardian_20241016                                                     |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3BNB_UpdatePriceCapAdaptersCAPO_20241101                                               |            3,325 |             3,395 |             21,251 |              45,757 |
| AaveV3Base                                                                                  |               44 |                94 |             24,532 |              49,058 |
| AaveV3BaseAssets                                                                            |               44 |                94 |             24,532 |              49,058 |
| AaveV3BaseEModes                                                                            |               44 |                94 |             24,532 |              49,058 |
| AaveV3BaseExternalLibraries                                                                 |               44 |                94 |             24,532 |              49,058 |
| AaveV3Base_AddDHEDGEProtocolToFlashBorrowers_20241118                                       |            1,074 |             1,103 |             23,502 |              48,049 |
| AaveV3Base_FluidAlignment_20241127                                                          |              242 |               270 |             24,334 |              48,882 |
| AaveV3Base_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201              |            3,365 |             3,435 |             21,211 |              45,717 |
| AaveV3Base_IncreaseCbBTCSupplyCaps_20241004                                                 |            3,146 |             3,216 |             21,430 |              45,936 |
| AaveV3Base_ReserveFactorUpdatesMidOctober_20241004                                          |            3,223 |             3,293 |             21,353 |              45,859 |
| AaveV3Base_RiskStewardPhase2_20240805                                                       |              178 |               206 |             24,398 |              48,946 |
| AaveV3Base_UpdateLegacyGuardian_20241016                                                    |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Base_UpdatePriceCapAdaptersCAPO_20241101                                              |            3,203 |             3,273 |             21,373 |              45,879 |
| AaveV3Ethereum                                                                              |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumAssets                                                                        |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumEModes                                                                        |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumEtherFi                                                                       |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumEtherFiAssets                                                                 |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumEtherFiEModes                                                                 |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumEtherFiExternalLibraries                                                      |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumEtherFi_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201   |            3,526 |             3,596 |             21,050 |              45,556 |
| AaveV3EthereumEtherFi_RiskStewardPhase2_20240805                                            |              178 |               206 |             24,398 |              48,946 |
| AaveV3EthereumEtherFi_UpdatePriceCapAdaptersCAPO_20241101                                   |            3,333 |             3,403 |             21,243 |              45,749 |
| AaveV3EthereumExternalLibraries                                                             |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumLido                                                                          |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumLidoAssets                                                                    |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumLidoEModes                                                                    |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumLidoExternalLibraries                                                         |               44 |                94 |             24,532 |              49,058 |
| AaveV3EthereumLido_AaveLiquidityCommitteeFundingPhaseV_20241209                             |            4,744 |             4,773 |             19,832 |              44,379 |
| AaveV3EthereumLido_AutomatedAGRSActivation_20241108                                         |            3,046 |             3,075 |             21,530 |              46,077 |
| AaveV3EthereumLido_FluidAlignment_20241127                                                  |              242 |               270 |             24,334 |              48,882 |
| AaveV3EthereumLido_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201      |            3,239 |             3,309 |             21,337 |              45,843 |
| AaveV3EthereumLido_OnboardAndEnableSUSDeLiquidEModeOnAaveV3MainnetAndLidoInstances_20241108 |            5,657 |             5,728 |             18,919 |              43,424 |
| AaveV3EthereumLido_OnboardEzETHToLidoInstance_20241021                                      |            6,194 |             6,265 |             18,382 |              42,887 |
| AaveV3EthereumLido_OnboardGHOAndMigrateStreamsToLidoInstance_20241104                       |            9,102 |             9,173 |             15,474 |              39,979 |
| AaveV3EthereumLido_OnboardRsETHToLidoInstance_20241205                                      |            5,552 |             5,623 |             19,024 |              43,529 |
| AaveV3EthereumLido_OrbitProgramRenewal_20241210                                             |            1,196 |             1,225 |             23,380 |              47,927 |
| AaveV3EthereumLido_RiskStewardPhase2_20240805                                               |              178 |               206 |             24,398 |              48,946 |
| AaveV3EthereumLido_USDSBorrowRateUpdateOnCoreAndPrimeInstances_20241122                     |            3,248 |             3,318 |             21,328 |              45,834 |
| AaveV3EthereumLido_UpdatePriceCapAdaptersCAPO_20241101                                      |            3,216 |             3,286 |             21,360 |              45,866 |
| AaveV3EthereumLido_WstETHReserveUpdate_20241203                                             |            3,195 |             3,265 |             21,381 |              45,887 |
| AaveV3EthereumLido_WstETHSlope1UoptimalUpdate_20241001                                      |            3,250 |             3,320 |             21,326 |              45,832 |
| AaveV3Ethereum_AaveBGDPhase4_20241025                                                       |            1,407 |             1,436 |             23,169 |              47,716 |
| AaveV3Ethereum_AaveCertoraContinuousSecurityServices_20241014                               |            1,567 |             1,596 |             23,009 |              47,556 |
| AaveV3Ethereum_ChaosLabsAaveRiskManagementServiceRenewal_20241012                           |            1,255 |             1,284 |             23,321 |              47,868 |
| AaveV3Ethereum_EnableSUSDeUSDTLiquid_20241125                                               |            3,117 |             3,187 |             21,459 |              45,965 |
| AaveV3Ethereum_FixUSDSBorrowRateToMatchSkySavingsRate_20241022                              |            3,238 |             3,308 |             21,338 |              45,844 |
| AaveV3Ethereum_FluidAlignment_20241127                                                      |              242 |               270 |             24,334 |              48,882 |
| AaveV3Ethereum_FluidAlignment_TokenTransfers_20241127                                       |              619 |               648 |             23,957 |              48,504 |
| AaveV3Ethereum_GHOCCIP150Upgrade_20241021                                                   |              817 |               846 |             23,759 |              48,306 |
| AaveV3Ethereum_GHOStewardV2Upgrade_20241007                                                 |            2,895 |             2,924 |             21,681 |              46,228 |
| AaveV3Ethereum_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201          |            4,212 |             4,282 |             20,364 |              44,870 |
| AaveV3Ethereum_IncreaseCbBTCSupplyCaps_20241004                                             |            3,150 |             3,220 |             21,426 |              45,932 |
| AaveV3Ethereum_IncreaseUSDSBorrowRateToMatchSkySavingsRate_20241016                         |            3,239 |             3,309 |             21,337 |              45,843 |
| AaveV3Ethereum_OnboardAndEnableSUSDeLiquidEModeOnAaveV3MainnetAndLidoInstances_20241108     |            3,817 |             3,887 |             20,759 |              45,265 |
| AaveV3Ethereum_OnboardRsETHToAaveV3Ethereum_20241104                                        |            5,957 |             6,028 |             18,619 |              43,124 |
| AaveV3Ethereum_PYUSDReserveConfigurationUpdateIncentiveCampaign_20241031                    |            3,988 |             4,059 |             20,588 |              45,093 |
| AaveV3Ethereum_RemoveFraxFromIsolationModeOnAaveV3Mainnet_20241105                          |            3,226 |             3,296 |             21,350 |              45,856 |
| AaveV3Ethereum_RenewLlamaRiskAsRiskServiceProvider_20241013                                 |            1,068 |             1,097 |             23,508 |              48,055 |
| AaveV3Ethereum_RiskStewardPhase2_20240805                                                   |              307 |               336 |             24,269 |              48,816 |
| AaveV3Ethereum_SafetyModuleStkAAVEReEnableRewards_20241106                                  |              910 |               939 |             23,666 |              48,213 |
| AaveV3Ethereum_SeptemberFundingUpdatePartA_20241113                                         |            7,361 |             7,390 |             17,215 |              41,762 |
| AaveV3Ethereum_StkGHOIncentivesQ4_20241029                                                  |            1,458 |             1,487 |             23,118 |              47,665 |
| AaveV3Ethereum_USDSBorrowRateUpdateOnCoreAndPrimeInstances_20241122                         |            3,239 |             3,309 |             21,337 |              45,843 |
| AaveV3Ethereum_UpdateLegacyGuardian_20241016                                                |            1,062 |             1,413 |             23,514 |              47,739 |
| AaveV3Ethereum_UpdatePriceCapAdaptersCAPO_20241101                                          |            5,697 |             5,767 |             18,879 |              43,385 |
| AaveV3Ethereum_WBTCReserveFactorAndUOptimalIncrease_20241120                                |            3,504 |             3,574 |             21,072 |              45,578 |
| AaveV3Ethereum_WstETHReserveBorrowRateUpdateMainInstance_20241024                           |            3,227 |             3,297 |             21,349 |              45,855 |
| AaveV3Ethereum_WstETHReserveUpdate_20241203                                                 |            3,186 |             3,256 |             21,390 |              45,896 |
| AaveV3Gnosis                                                                                |               44 |                94 |             24,532 |              49,058 |
| AaveV3GnosisAssets                                                                          |               44 |                94 |             24,532 |              49,058 |
| AaveV3GnosisEModes                                                                          |               44 |                94 |             24,532 |              49,058 |
| AaveV3GnosisExternalLibraries                                                               |               44 |                94 |             24,532 |              49,058 |
| AaveV3Gnosis_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201            |            3,649 |             3,719 |             20,927 |              45,433 |
| AaveV3Gnosis_ReserveFactorUpdatesMidOctober_20241004                                        |            3,225 |             3,295 |             21,351 |              45,857 |
| AaveV3Gnosis_RiskStewardPhase2_20240805                                                     |              178 |               206 |             24,398 |              48,946 |
| AaveV3Gnosis_UpdateLegacyGuardian_20241016                                                  |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Gnosis_UpdatePriceCapAdaptersCAPO_20241101                                            |            3,425 |             3,495 |             21,151 |              45,657 |
| AaveV3Metis                                                                                 |               44 |                94 |             24,532 |              49,058 |
| AaveV3MetisAssets                                                                           |               44 |                94 |             24,532 |              49,058 |
| AaveV3MetisEModes                                                                           |               44 |                94 |             24,532 |              49,058 |
| AaveV3MetisExternalLibraries                                                                |               44 |                94 |             24,532 |              49,058 |
| AaveV3Metis_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201             |            3,508 |             3,578 |             21,068 |              45,574 |
| AaveV3Metis_RiskStewardPhase2_20240805                                                      |              178 |               206 |             24,398 |              48,946 |
| AaveV3Metis_UpdateLegacyGuardian_20241016                                                   |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Metis_UpdatePriceCapAdaptersCAPO_20241101                                             |            3,315 |             3,385 |             21,261 |              45,767 |
| AaveV3Optimism                                                                              |               44 |                94 |             24,532 |              49,058 |
| AaveV3OptimismAssets                                                                        |               44 |                94 |             24,532 |              49,058 |
| AaveV3OptimismEModes                                                                        |               44 |                94 |             24,532 |              49,058 |
| AaveV3OptimismExternalLibraries                                                             |               44 |                94 |             24,532 |              49,058 |
| AaveV3Optimism_AddDHEDGEProtocolToFlashBorrowers_20241118                                   |            1,362 |             1,391 |             23,214 |              47,761 |
| AaveV3Optimism_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201          |            3,931 |             4,001 |             20,645 |              45,151 |
| AaveV3Optimism_ReserveFactorUpdatesMidOctober_20241004                                      |            3,227 |             3,297 |             21,349 |              45,855 |
| AaveV3Optimism_RiskStewardPhase2_20240805                                                   |              178 |               206 |             24,398 |              48,946 |
| AaveV3Optimism_SeptemberFundingUpdatePartA_20241113                                         |            2,218 |             2,247 |             22,358 |              46,905 |
| AaveV3Optimism_UpdateLegacyGuardian_20241016                                                |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Optimism_UpdatePriceCapAdaptersCAPO_20241101                                          |            3,755 |             3,825 |             20,821 |              45,327 |
| AaveV3Optimism_WBTCReserveFactorAndUOptimalIncrease_20241120                                |            3,504 |             3,574 |             21,072 |              45,578 |
| AaveV3Polygon                                                                               |               44 |                94 |             24,532 |              49,058 |
| AaveV3PolygonAssets                                                                         |               44 |                94 |             24,532 |              49,058 |
| AaveV3PolygonEModes                                                                         |               44 |                94 |             24,532 |              49,058 |
| AaveV3PolygonExternalLibraries                                                              |               44 |                94 |             24,532 |              49,058 |
| AaveV3Polygon_AddDHEDGEProtocolToFlashBorrowers_20241118                                    |              640 |               669 |             23,936 |              48,483 |
| AaveV3Polygon_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201           |            3,790 |             3,860 |             20,786 |              45,292 |
| AaveV3Polygon_ReserveFactorUpdatesMidOctober_20241004                                       |            3,226 |             3,296 |             21,350 |              45,856 |
| AaveV3Polygon_RiskStewardPhase2_20240805                                                    |              178 |               206 |             24,398 |              48,946 |
| AaveV3Polygon_SeptemberFundingUpdatePartA_20241113                                          |            5,873 |             5,902 |             18,703 |              43,250 |
| AaveV3Polygon_UpdateLegacyGuardian_20241016                                                 |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Polygon_UpdatePriceCapAdaptersCAPO_20241101                                           |            4,252 |             4,322 |             20,324 |              44,830 |
| AaveV3Polygon_WBTCReserveFactorAndUOptimalIncrease_20241120                                 |            3,503 |             3,573 |             21,073 |              45,579 |
| AaveV3Scroll                                                                                |               44 |                94 |             24,532 |              49,058 |
| AaveV3ScrollAssets                                                                          |               44 |                94 |             24,532 |              49,058 |
| AaveV3ScrollEModes                                                                          |               44 |                94 |             24,532 |              49,058 |
| AaveV3ScrollExternalLibraries                                                               |               44 |                94 |             24,532 |              49,058 |
| AaveV3Scroll_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201            |            3,228 |             3,298 |             21,348 |              45,854 |
| AaveV3Scroll_OnboardSCRToAaveV3Scroll_20241203                                              |            5,065 |             5,136 |             19,511 |              44,016 |
| AaveV3Scroll_RiskStewardPhase2_20240805                                                     |              178 |               206 |             24,398 |              48,946 |
| AaveV3Scroll_UpdateLegacyGuardian_20241016                                                  |            1,062 |             1,393 |             23,514 |              47,759 |
| AaveV3Scroll_UpdatePriceCapAdaptersCAPO_20241101                                            |            3,097 |             3,167 |             21,479 |              45,985 |
| Address                                                                                     |               44 |                94 |             24,532 |              49,058 |
| CCIPUtils                                                                                   |            4,968 |             5,021 |             19,608 |              44,131 |
| ChainHelpers                                                                                |               44 |                94 |             24,532 |              49,058 |
| ChainIds                                                                                    |               44 |                94 |             24,532 |              49,058 |
| Client                                                                                      |              109 |               160 |             24,467 |              48,992 |
| CollectorUtils                                                                              |               44 |                94 |             24,532 |              49,058 |
| ConfiguratorInputTypes                                                                      |               44 |                94 |             24,532 |              49,058 |
| Create2Utils                                                                                |              121 |               172 |             24,455 |              48,980 |
| Create2UtilsZkSync                                                                          |              104 |               155 |             24,472 |              48,997 |
| DataTypes                                                                                   |               44 |                94 |             24,532 |              49,058 |
| ERC1967Proxy                                                                                |              122 |               967 |             24,454 |              48,185 |
| ERC1967Utils                                                                                |               44 |                94 |             24,532 |              49,058 |
| EngineFlags                                                                                 |               44 |                94 |             24,532 |              49,058 |
| Errors                                                                                      |            4,652 |             4,705 |             19,924 |              44,447 |
| FlashBorrowersDataArbitrum                                                                  |               44 |                94 |             24,532 |              49,058 |
| FlashBorrowersDataBase                                                                      |               44 |                94 |             24,532 |              49,058 |
| FlashBorrowersDataOptimism                                                                  |               44 |                94 |             24,532 |              49,058 |
| FlashBorrowersDataPolygon                                                                   |               44 |                94 |             24,532 |              49,058 |
| GatewayMock                                                                                 |              239 |               267 |             24,337 |              48,885 |
| GhoArbitrum                                                                                 |               44 |                94 |             24,532 |              49,058 |
| GhoEthereum                                                                                 |               44 |                94 |             24,532 |              49,058 |
| GovV3Helpers                                                                                |            2,517 |             2,570 |             22,059 |              46,582 |
| GovV3StorageHelpers                                                                         |               44 |                94 |             24,532 |              49,058 |
| GovernanceGuardians                                                                         |              292 |               345 |             24,284 |              48,807 |
| GovernanceV3Arbitrum                                                                        |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Avalanche                                                                       |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3BNB                                                                             |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Base                                                                            |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Ethereum                                                                        |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Gnosis                                                                          |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Metis                                                                           |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Optimism                                                                        |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Polygon                                                                         |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3PolygonZkEvm                                                                    |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Scroll                                                                          |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3ZkSync                                                                          |               44 |                94 |             24,532 |              49,058 |
| IpfsUtils                                                                                   |               44 |                94 |             24,532 |              49,058 |
| MiscArbitrum                                                                                |               44 |                94 |             24,532 |              49,058 |
| MiscAvalanche                                                                               |               44 |                94 |             24,532 |              49,058 |
| MiscBNB                                                                                     |               44 |                94 |             24,532 |              49,058 |
| MiscBase                                                                                    |               44 |                94 |             24,532 |              49,058 |
| MiscEthereum                                                                                |               44 |                94 |             24,532 |              49,058 |
| MiscGnosis                                                                                  |               44 |                94 |             24,532 |              49,058 |
| MiscMetis                                                                                   |               44 |                94 |             24,532 |              49,058 |
| MiscOptimism                                                                                |               44 |                94 |             24,532 |              49,058 |
| MiscPolygon                                                                                 |               44 |                94 |             24,532 |              49,058 |
| MiscScroll                                                                                  |               44 |                94 |             24,532 |              49,058 |
| OrbitProgramRenewalData                                                                     |              344 |               397 |             24,232 |              48,755 |
| Payloads                                                                                    |               44 |                94 |             24,532 |              49,058 |
| PayloadsControllerUtils                                                                     |               44 |                94 |             24,532 |              49,058 |
| PriceFeeds                                                                                  |            2,333 |             2,386 |             22,243 |              46,766 |
| ProtocolGuardians                                                                           |              292 |               345 |             24,284 |              48,807 |
| ProxyAdmin                                                                                  |              990 |             1,235 |             23,586 |              47,917 |
| ProxyHelpers                                                                                |               44 |                94 |             24,532 |              49,058 |
| RateLimiter                                                                                 |               44 |                94 |             24,532 |              49,058 |
| RenewalV2BasePayload                                                                        |              348 |               595 |             24,228 |              48,557 |
| RenewalV3BasePayload                                                                        |            1,062 |             1,509 |             23,514 |              47,643 |
| ReserveConfiguration                                                                        |              128 |               179 |             24,448 |              48,973 |
| RewardsDataTypes                                                                            |               44 |                94 |             24,532 |              49,058 |
| SafeCast                                                                                    |               44 |                94 |             24,532 |              49,058 |
| SafeERC20                                                                                   |               44 |                94 |             24,532 |              49,058 |
| StorageHelpers                                                                              |               44 |                94 |             24,532 |              49,058 |
| StorageSlot                                                                                 |               44 |                94 |             24,532 |              49,058 |
| TestNetChainIds                                                                             |               44 |                94 |             24,532 |              49,058 |
| TransparentUpgradeableProxy                                                                 |            1,088 |             2,274 |             23,488 |              46,878 |
| WadRayMath                                                                                  |               44 |                94 |             24,532 |              49,058 |
🔧 Build logs zksync
Compiling 118 files with zksolc and ZKsync solc 0.8.20
zksolc and ZKsync solc 0.8.20 finished in 107.29s
Compiler run successful!
| Contract                                                                                | Runtime Size (B) | Initcode Size (B) | Runtime Margin (B) | Initcode Margin (B) |
|-----------------------------------------------------------------------------------------|------------------|-------------------|--------------------|---------------------|
| AaveV2Ethereum                                                                          |              224 |               224 |            450,775 |             450,775 |
| AaveV2EthereumAssets                                                                    |              224 |               224 |            450,775 |             450,775 |
| AaveV3Arbitrum                                                                          |              224 |               224 |            450,775 |             450,775 |
| AaveV3ArbitrumAssets                                                                    |              224 |               224 |            450,775 |             450,775 |
| AaveV3ArbitrumEModes                                                                    |              224 |               224 |            450,775 |             450,775 |
| AaveV3ArbitrumExternalLibraries                                                         |              224 |               224 |            450,775 |             450,775 |
| AaveV3Avalanche                                                                         |              224 |               224 |            450,775 |             450,775 |
| AaveV3AvalancheAssets                                                                   |              224 |               224 |            450,775 |             450,775 |
| AaveV3AvalancheEModes                                                                   |              224 |               224 |            450,775 |             450,775 |
| AaveV3AvalancheExternalLibraries                                                        |              224 |               224 |            450,775 |             450,775 |
| AaveV3Base                                                                              |              224 |               224 |            450,775 |             450,775 |
| AaveV3BaseAssets                                                                        |              224 |               224 |            450,775 |             450,775 |
| AaveV3BaseEModes                                                                        |              224 |               224 |            450,775 |             450,775 |
| AaveV3BaseExternalLibraries                                                             |              224 |               224 |            450,775 |             450,775 |
| AaveV3Ethereum                                                                          |              224 |               224 |            450,775 |             450,775 |
| AaveV3EthereumAssets                                                                    |              224 |               224 |            450,775 |             450,775 |
| AaveV3EthereumEModes                                                                    |              224 |               224 |            450,775 |             450,775 |
| AaveV3EthereumExternalLibraries                                                         |              224 |               224 |            450,775 |             450,775 |
| AaveV3Gnosis                                                                            |              224 |               224 |            450,775 |             450,775 |
| AaveV3GnosisAssets                                                                      |              224 |               224 |            450,775 |             450,775 |
| AaveV3GnosisEModes                                                                      |              224 |               224 |            450,775 |             450,775 |
| AaveV3GnosisExternalLibraries                                                           |              224 |               224 |            450,775 |             450,775 |
| AaveV3Optimism                                                                          |              224 |               224 |            450,775 |             450,775 |
| AaveV3OptimismAssets                                                                    |              224 |               224 |            450,775 |             450,775 |
| AaveV3OptimismEModes                                                                    |              224 |               224 |            450,775 |             450,775 |
| AaveV3OptimismExternalLibraries                                                         |              224 |               224 |            450,775 |             450,775 |
| AaveV3Polygon                                                                           |              224 |               224 |            450,775 |             450,775 |
| AaveV3PolygonAssets                                                                     |              224 |               224 |            450,775 |             450,775 |
| AaveV3PolygonEModes                                                                     |              224 |               224 |            450,775 |             450,775 |
| AaveV3PolygonExternalLibraries                                                          |              224 |               224 |            450,775 |             450,775 |
| AaveV3ZkSync                                                                            |              224 |               224 |            450,775 |             450,775 |
| AaveV3ZkSyncAssets                                                                      |              224 |               224 |            450,775 |             450,775 |
| AaveV3ZkSyncEModes                                                                      |              224 |               224 |            450,775 |             450,775 |
| AaveV3ZkSyncExternalLibraries                                                           |              224 |               224 |            450,775 |             450,775 |
| AaveV3ZkSync_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201        |           17,312 |            17,312 |            433,687 |             433,687 |
| AaveV3ZkSync_RiskStewardPhase2_20240805                                                 |            1,248 |             1,248 |            449,751 |             449,751 |
| Address                                                                                 |              224 |               224 |            450,775 |             450,775 |
| ChainHelpers                                                                            |              224 |               224 |            450,775 |             450,775 |
| ChainIds                                                                                |              224 |               224 |            450,775 |             450,775 |
| ConfiguratorInputTypes                                                                  |              224 |               224 |            450,775 |             450,775 |
| Create2Utils                                                                            |              416 |               416 |            450,583 |             450,583 |
| Create2UtilsZkSync                                                                      |              416 |               416 |            450,583 |             450,583 |
| DataTypes                                                                               |              224 |               224 |            450,775 |             450,775 |
| Deploy_AaveV3ZkSync_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201 |            3,680 |             3,680 |            447,319 |             447,319 |
| Deploy_AaveV3ZkSync_RiskStewardPhase2_20240805                                          |            3,680 |             3,680 |            447,319 |             447,319 |
| EngineFlags                                                                             |              224 |               224 |            450,775 |             450,775 |
| Errors                                                                                  |           14,112 |            14,112 |            436,887 |             436,887 |
| GovV3Helpers                                                                            |           11,616 |            11,616 |            439,383 |             439,383 |
| GovV3StorageHelpers                                                                     |              224 |               224 |            450,775 |             450,775 |
| GovernanceV3Arbitrum                                                                    |              224 |               224 |            450,775 |             450,775 |
| GovernanceV3Avalanche                                                                   |              224 |               224 |            450,775 |             450,775 |
| GovernanceV3BNB                                                                         |              224 |               224 |            450,775 |             450,775 |
| GovernanceV3Base                                                                        |              224 |               224 |            450,775 |             450,775 |
| GovernanceV3Ethereum                                                                    |              224 |               224 |            450,775 |             450,775 |
| GovernanceV3Gnosis                                                                      |              224 |               224 |            450,775 |             450,775 |
| GovernanceV3Metis                                                                       |              224 |               224 |            450,775 |             450,775 |
| GovernanceV3Optimism                                                                    |              224 |               224 |            450,775 |             450,775 |
| GovernanceV3Polygon                                                                     |              224 |               224 |            450,775 |             450,775 |
| GovernanceV3PolygonZkEvm                                                                |              224 |               224 |            450,775 |             450,775 |
| GovernanceV3Scroll                                                                      |              224 |               224 |            450,775 |             450,775 |
| GovernanceV3ZkSync                                                                      |              224 |               224 |            450,775 |             450,775 |
| IpfsUtils                                                                               |              224 |               224 |            450,775 |             450,775 |
| MiscEthereum                                                                            |              224 |               224 |            450,775 |             450,775 |
| Payloads                                                                                |              224 |               224 |            450,775 |             450,775 |
| PayloadsControllerUtils                                                                 |              224 |               224 |            450,775 |             450,775 |
| ProxyHelpers                                                                            |              224 |               224 |            450,775 |             450,775 |
| ReserveConfiguration                                                                    |              480 |               480 |            450,519 |             450,519 |
| SafeERC20                                                                               |              224 |               224 |            450,775 |             450,775 |
| StorageHelpers                                                                          |              224 |               224 |            450,775 |             450,775 |
| TestNetChainIds                                                                         |              224 |               224 |            450,775 |             450,775 |
| WadRayMath                                                                              |              224 |               224 |            450,775 |             450,775 |

Please sign in to comment.