generated from bgd-labs/bgd-forge-template
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: onboard LBTC * fix cap and bump block height * Update src/20241223_AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance/EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance.md Co-authored-by: Harsh Pandey <[email protected]> * Update src/20241223_AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance/EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance.md Co-authored-by: Harsh Pandey <[email protected]> * Update src/20241223_AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance/config.ts Co-authored-by: Harsh Pandey <[email protected]> * Update src/20241223_AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance/AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223.sol Co-authored-by: Ian Flexa <[email protected]> * Update src/20241223_AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance/EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance.md Co-authored-by: Ian Flexa <[email protected]> * typo in assetListing.ts --------- Co-authored-by: Harsh Pandey <[email protected]> Co-authored-by: Ian Flexa <[email protected]>
- Loading branch information
1 parent
0dff1b6
commit 97f99f8
Showing
7 changed files
with
513 additions
and
1 deletion.
There are no files selected for viewing
152 changes: 152 additions & 0 deletions
152
..._AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223_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,152 @@ | ||
## Reserve changes | ||
|
||
### Reserves added | ||
|
||
#### LBTC ([0x8236a87084f8B84306f72007F36F2618A5634494](https://etherscan.io/address/0x8236a87084f8B84306f72007F36F2618A5634494)) | ||
|
||
| description | value | | ||
| --- | --- | | ||
| decimals | 8 | | ||
| isActive | true | | ||
| isFrozen | false | | ||
| supplyCap | 800 LBTC | | ||
| borrowCap | 80 LBTC | | ||
| debtCeiling | 0 $ [0] | | ||
| isSiloed | false | | ||
| isFlashloanable | true | | ||
| oracle | [0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c](https://etherscan.io/address/0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c) | | ||
| oracleDecimals | 8 | | ||
| oracleDescription | BTC / USD | | ||
| oracleLatestAnswer | 102127.88158314 | | ||
| usageAsCollateralEnabled | true | | ||
| ltv | 70 % [7000] | | ||
| liquidationThreshold | 75 % [7500] | | ||
| liquidationBonus | 8.5 % | | ||
| liquidationProtocolFee | 10 % [1000] | | ||
| reserveFactor | 50 % [5000] | | ||
| aToken | [0x65906988ADEe75306021C417a1A3458040239602](https://etherscan.io/address/0x65906988ADEe75306021C417a1A3458040239602) | | ||
| aTokenImpl | [0x7EfFD7b47Bfd17e52fB7559d3f924201b9DbfF3d](https://etherscan.io/address/0x7EfFD7b47Bfd17e52fB7559d3f924201b9DbfF3d) | | ||
| variableDebtToken | [0x68aeB290C7727D899B47c56d1c96AEAC475cD0dD](https://etherscan.io/address/0x68aeB290C7727D899B47c56d1c96AEAC475cD0dD) | | ||
| variableDebtTokenImpl | [0xaC725CB59D16C81061BDeA61041a8A5e73DA9EC6](https://etherscan.io/address/0xaC725CB59D16C81061BDeA61041a8A5e73DA9EC6) | | ||
| borrowingEnabled | true | | ||
| isBorrowableInIsolation | false | | ||
| interestRateStrategy | [0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB](https://etherscan.io/address/0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB) | | ||
| aTokenName | Aave Ethereum LBTC | | ||
| aTokenSymbol | aEthLBTC | | ||
| aTokenUnderlyingBalance | 0.001 LBTC [100000] | | ||
| id | 37 | | ||
| isPaused | false | | ||
| variableDebtTokenName | Aave Ethereum Variable Debt LBTC | | ||
| variableDebtTokenSymbol | variableDebtEthLBTC | | ||
| virtualAccountingActive | true | | ||
| virtualBalance | 0.001 LBTC [100000] | | ||
| optimalUsageRatio | 45 % | | ||
| maxVariableBorrowRate | 304 % | | ||
| baseVariableBorrowRate | 0 % | | ||
| variableRateSlope1 | 4 % | | ||
| variableRateSlope2 | 300 % | | ||
| interestRate | ![ir](https://dash.onaave.com/api/static?variableRateSlope1=40000000000000000000000000&variableRateSlope2=3000000000000000000000000000&optimalUsageRatio=450000000000000000000000000&baseVariableBorrowRate=0&maxVariableBorrowRate=3040000000000000000000000000) | | ||
|
||
|
||
## Emodes changed | ||
|
||
### EMode: ETH correlated(id: 1) | ||
|
||
|
||
|
||
### EMode: sUSDe Stablecoins(id: 2) | ||
|
||
|
||
|
||
### EMode: rsETH LST main(id: 3) | ||
|
||
|
||
|
||
### EMode: LBTC / WBTC(id: 4) | ||
|
||
| description | value before | value after | | ||
| --- | --- | --- | | ||
| eMode.label | - | LBTC / WBTC | | ||
| eMode.ltv | - | 84 % | | ||
| eMode.liquidationThreshold | - | 86 % | | ||
| eMode.liquidationBonus | - | 3 % | | ||
| eMode.borrowableBitmap | - | WBTC | | ||
| eMode.collateralBitmap | - | LBTC | | ||
|
||
|
||
## Raw diff | ||
|
||
```json | ||
{ | ||
"eModes": { | ||
"4": { | ||
"from": null, | ||
"to": { | ||
"borrowableBitmap": "4", | ||
"collateralBitmap": "137438953472", | ||
"eModeCategory": 4, | ||
"label": "LBTC / WBTC", | ||
"liquidationBonus": 10300, | ||
"liquidationThreshold": 8600, | ||
"ltv": 8400 | ||
} | ||
} | ||
}, | ||
"reserves": { | ||
"0x8236a87084f8B84306f72007F36F2618A5634494": { | ||
"from": null, | ||
"to": { | ||
"aToken": "0x65906988ADEe75306021C417a1A3458040239602", | ||
"aTokenImpl": "0x7EfFD7b47Bfd17e52fB7559d3f924201b9DbfF3d", | ||
"aTokenName": "Aave Ethereum LBTC", | ||
"aTokenSymbol": "aEthLBTC", | ||
"aTokenUnderlyingBalance": "100000", | ||
"borrowCap": 80, | ||
"borrowingEnabled": true, | ||
"debtCeiling": 0, | ||
"decimals": 8, | ||
"id": 37, | ||
"interestRateStrategy": "0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB", | ||
"isActive": true, | ||
"isBorrowableInIsolation": false, | ||
"isFlashloanable": true, | ||
"isFrozen": false, | ||
"isPaused": false, | ||
"isSiloed": false, | ||
"liquidationBonus": 10850, | ||
"liquidationProtocolFee": 1000, | ||
"liquidationThreshold": 7500, | ||
"ltv": 7000, | ||
"oracle": "0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c", | ||
"oracleDecimals": 8, | ||
"oracleDescription": "BTC / USD", | ||
"oracleLatestAnswer": "10212788158314", | ||
"reserveFactor": 5000, | ||
"supplyCap": 800, | ||
"symbol": "LBTC", | ||
"underlying": "0x8236a87084f8B84306f72007F36F2618A5634494", | ||
"usageAsCollateralEnabled": true, | ||
"variableDebtToken": "0x68aeB290C7727D899B47c56d1c96AEAC475cD0dD", | ||
"variableDebtTokenImpl": "0xaC725CB59D16C81061BDeA61041a8A5e73DA9EC6", | ||
"variableDebtTokenName": "Aave Ethereum Variable Debt LBTC", | ||
"variableDebtTokenSymbol": "variableDebtEthLBTC", | ||
"virtualAccountingActive": true, | ||
"virtualBalance": "100000" | ||
} | ||
} | ||
}, | ||
"strategies": { | ||
"0x8236a87084f8B84306f72007F36F2618A5634494": { | ||
"from": null, | ||
"to": { | ||
"address": "0x9ec6F08190DeA04A54f8Afc53Db96134e5E3FdFB", | ||
"baseVariableBorrowRate": "0", | ||
"maxVariableBorrowRate": "3040000000000000000000000000", | ||
"optimalUsageRatio": "450000000000000000000000000", | ||
"variableRateSlope1": "40000000000000000000000000", | ||
"variableRateSlope2": "3000000000000000000000000000" | ||
} | ||
} | ||
} | ||
} | ||
``` |
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
109 changes: 109 additions & 0 deletions
109
...ev3CoreInstance/AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223.sol
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,109 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import {AaveV3Ethereum, AaveV3EthereumAssets} from 'aave-address-book/AaveV3Ethereum.sol'; | ||
import {AaveV3PayloadEthereum} from 'aave-helpers/src/v3-config-engine/AaveV3PayloadEthereum.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 LBTC & Enable LBTC/WBTC liquid E-Mode on Aave v3 Core Instance | ||
* @author Aave Chan Initiative | ||
* - Snapshot: https://snapshot.box/#/s:aave.eth/proposal/0x61f027ea797763c9e01736693570141a27a0a5d4517a6b63d0fd84474e8be995 | ||
* - Discussion: https://governance.aave.com/t/arfc-enable-lbtc-wbtc-liquid-e-mode-on-aave-v3-core-instance/20142 | ||
*/ | ||
contract AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223 is | ||
AaveV3PayloadEthereum | ||
{ | ||
using SafeERC20 for IERC20; | ||
|
||
address public constant LBTC = 0x8236a87084f8B84306f72007F36F2618A5634494; | ||
uint256 public constant LBTC_SEED_AMOUNT = 1e5; | ||
address public constant LBTC_LM_ADMIN = 0xac140648435d03f784879cd789130F22Ef588Fcd; | ||
|
||
function _postExecute() internal override { | ||
IERC20(LBTC).forceApprove(address(AaveV3Ethereum.POOL), LBTC_SEED_AMOUNT); | ||
AaveV3Ethereum.POOL.supply(LBTC, LBTC_SEED_AMOUNT, address(AaveV3Ethereum.COLLECTOR), 0); | ||
|
||
(address aLBTC, , ) = AaveV3Ethereum.AAVE_PROTOCOL_DATA_PROVIDER.getReserveTokensAddresses( | ||
LBTC | ||
); | ||
IEmissionManager(AaveV3Ethereum.EMISSION_MANAGER).setEmissionAdmin(LBTC, LBTC_LM_ADMIN); | ||
IEmissionManager(AaveV3Ethereum.EMISSION_MANAGER).setEmissionAdmin(aLBTC, LBTC_LM_ADMIN); | ||
} | ||
|
||
function eModeCategoriesUpdates() | ||
public | ||
pure | ||
override | ||
returns (IAaveV3ConfigEngine.EModeCategoryUpdate[] memory) | ||
{ | ||
IAaveV3ConfigEngine.EModeCategoryUpdate[] | ||
memory eModeUpdates = new IAaveV3ConfigEngine.EModeCategoryUpdate[](1); | ||
|
||
eModeUpdates[0] = IAaveV3ConfigEngine.EModeCategoryUpdate({ | ||
eModeCategory: 4, | ||
ltv: 84_00, | ||
liqThreshold: 86_00, | ||
liqBonus: 3_00, | ||
label: 'LBTC / WBTC' | ||
}); | ||
|
||
return eModeUpdates; | ||
} | ||
function assetsEModeUpdates() | ||
public | ||
pure | ||
override | ||
returns (IAaveV3ConfigEngine.AssetEModeUpdate[] memory) | ||
{ | ||
IAaveV3ConfigEngine.AssetEModeUpdate[] | ||
memory assetEModeUpdates = new IAaveV3ConfigEngine.AssetEModeUpdate[](2); | ||
|
||
assetEModeUpdates[0] = IAaveV3ConfigEngine.AssetEModeUpdate({ | ||
asset: LBTC, | ||
eModeCategory: 4, | ||
borrowable: EngineFlags.DISABLED, | ||
collateral: EngineFlags.ENABLED | ||
}); | ||
assetEModeUpdates[1] = IAaveV3ConfigEngine.AssetEModeUpdate({ | ||
asset: AaveV3EthereumAssets.WBTC_UNDERLYING, | ||
eModeCategory: 4, | ||
borrowable: EngineFlags.ENABLED, | ||
collateral: EngineFlags.DISABLED | ||
}); | ||
|
||
return assetEModeUpdates; | ||
} | ||
function newListings() public pure override returns (IAaveV3ConfigEngine.Listing[] memory) { | ||
IAaveV3ConfigEngine.Listing[] memory listings = new IAaveV3ConfigEngine.Listing[](1); | ||
|
||
listings[0] = IAaveV3ConfigEngine.Listing({ | ||
asset: LBTC, | ||
assetSymbol: 'LBTC', | ||
priceFeed: 0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c, | ||
enabledToBorrow: EngineFlags.ENABLED, | ||
borrowableInIsolation: EngineFlags.DISABLED, | ||
withSiloedBorrowing: EngineFlags.DISABLED, | ||
flashloanable: EngineFlags.ENABLED, | ||
ltv: 70_00, | ||
liqThreshold: 75_00, | ||
liqBonus: 8_50, | ||
reserveFactor: 50_00, | ||
supplyCap: 800, | ||
borrowCap: 80, | ||
debtCeiling: 0, | ||
liqProtocolFee: 10_00, | ||
rateStrategyParams: IAaveV3ConfigEngine.InterestRateInputData({ | ||
optimalUsageRatio: 45_00, | ||
baseVariableBorrowRate: 0, | ||
variableRateSlope1: 4_00, | ||
variableRateSlope2: 300_00 | ||
}) | ||
}); | ||
|
||
return listings; | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
...3CoreInstance/AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223.t.sol
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,60 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import {GovV3Helpers} from 'aave-helpers/src/GovV3Helpers.sol'; | ||
import {AaveV3Ethereum} from 'aave-address-book/AaveV3Ethereum.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 {AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223} from './AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223.sol'; | ||
|
||
/** | ||
* @dev Test for AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223 | ||
* command: FOUNDRY_PROFILE=mainnet forge test --match-path=src/20241223_AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance/AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223.t.sol -vv | ||
*/ | ||
contract AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223_Test is | ||
ProtocolV3TestBase | ||
{ | ||
AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223 internal proposal; | ||
|
||
function setUp() public { | ||
vm.createSelectFork(vm.rpcUrl('mainnet'), 21567986); | ||
proposal = new AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223(); | ||
} | ||
|
||
/** | ||
* @dev executes the generic test suite including e2e and config snapshots | ||
*/ | ||
function test_defaultProposalExecution() public { | ||
defaultTest( | ||
'AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223', | ||
AaveV3Ethereum.POOL, | ||
address(proposal) | ||
); | ||
} | ||
|
||
function test_collectorHasLBTCFunds() public { | ||
GovV3Helpers.executePayload(vm, address(proposal)); | ||
(address aTokenAddress, , ) = AaveV3Ethereum | ||
.AAVE_PROTOCOL_DATA_PROVIDER | ||
.getReserveTokensAddresses(proposal.LBTC()); | ||
assertGe(IERC20(aTokenAddress).balanceOf(address(AaveV3Ethereum.COLLECTOR)), 10 ** 5); | ||
} | ||
|
||
function test_LBTCAdmin() public { | ||
GovV3Helpers.executePayload(vm, address(proposal)); | ||
(address aLBTC, , ) = AaveV3Ethereum.AAVE_PROTOCOL_DATA_PROVIDER.getReserveTokensAddresses( | ||
proposal.LBTC() | ||
); | ||
assertEq( | ||
IEmissionManager(AaveV3Ethereum.EMISSION_MANAGER).getEmissionAdmin(proposal.LBTC()), | ||
proposal.LBTC_LM_ADMIN() | ||
); | ||
assertEq( | ||
IEmissionManager(AaveV3Ethereum.EMISSION_MANAGER).getEmissionAdmin(aLBTC), | ||
proposal.LBTC_LM_ADMIN() | ||
); | ||
} | ||
} |
Oops, something went wrong.
97f99f8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔧 Build logs
97f99f8
There was a problem hiding this comment.
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 2025-01-20T12:03:40.503720Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^1.1.12", "diff-snapshots", "./reports/AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223_before.json", "./reports/AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223_after.json", "-o", "./diffs/AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223_before_AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223_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/20241223_AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance/AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223.t.sol:AaveV3Ethereum_EnableLBTCWBTCLiquidEModeOnAavev3CoreInstance_20241223_Test
[PASS] test_LBTCAdmin() (gas: 2395555)
[PASS] test_collectorHasLBTCFunds() (gas: 2393997)
[PASS] test_defaultProposalExecution() (gas: 253540289)
Logs:
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0
0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
0x6B175474E89094C44Da98b954EedeAC495271d0F
0x514910771AF9Ca656af840dff83E8264EcF986CA
0xBe9895146f7AF43049ca1c1AE358B0541Ea49704
0xdAC17F958D2ee523a2206206994597C13D831ec7
0xae78736Cd615f374D3085123A210448E74Fc6393
0x5f98805A4E8be255a32880FDeC7F6728C6568bA0
0xD533a949740bb3306d119CC777fa900bA034cd52
0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F
0xba100000625a3754423978a60c9317c58a424e3D
0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984
0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32
0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72
0x111111111117dC0aa78b770fA6A738034120C302
0x853d955aCEf822Db058eb8505911ED77F175b99e
0xD33526068D116cE69F19A9ee46F0bd304F21A51f
0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6
0xdeFA4e8a7bcBA345F687a2f1456F5Edd9CE97202
0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0
0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E
0x6c3ea9036406852006290770BEdFcAbA0e23A0e8
0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee
0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38
0x4c9EDD5852cd905f086C759E8383e09bff1E68B3
0xA35b1B31Ce002FBF2058D22F30f95D405200A15b
0x18084fbA666a33d37592fA2633fD49a74DD93a88
0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf
0xdC035D45d973E3EC169d2276DDab16f1e407384F
0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7
0x8236a87084f8B84306f72007F36F2618A5634494
E2E: Collateral WETH, TestAsset WETH
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: WETH, Amount: 271988756097970232
WITHDRAW: WETH, Amount: 135994378048985116
WITHDRAW: WETH, Amount: 135994378048985115
BORROW: WETH, Amount 271988756097970232
REPAY: WETH, Amount: 271988756097970232
E2E: Collateral WETH, TestAsset wstETH
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: wstETH, Amount: 228583607046232396
WITHDRAW: wstETH, Amount: 114291803523116198
WITHDRAW: wstETH, Amount: 114291803523116198
BORROW: wstETH, Amount 228583607046232396
REPAY: wstETH, Amount: 228583607046232396
E2E: Collateral WETH, TestAsset WBTC
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: WBTC, Amount: 982885
WITHDRAW: WBTC, Amount: 491442
WITHDRAW: WBTC, Amount: 491443
BORROW: WBTC, Amount 982885
REPAY: WBTC, Amount: 982885
E2E: Collateral WETH, TestAsset USDC
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: USDC, Amount: 1000054392
WITHDRAW: USDC, Amount: 500027196
WITHDRAW: USDC, Amount: 500027195
BORROW: USDC, Amount 1000054392
REPAY: USDC, Amount: 1000054392
E2E: Collateral WETH, TestAsset DAI
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: DAI, Amount: 999600159936025589764
WITHDRAW: DAI, Amount: 499800079968012794882
WITHDRAW: DAI, Amount: 499800079968012794882
BORROW: DAI, Amount 999600159936025589764
REPAY: DAI, Amount: 999600159936025589764
E2E: Collateral WETH, TestAsset LINK
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: LINK, Amount: 41615860636805899464
WITHDRAW: LINK, Amount: 20807930318402949732
WITHDRAW: LINK, Amount: 20807930318402949731
BORROW: LINK, Amount 41615860636805899464
REPAY: LINK, Amount: 41615860636805899464
E2E: Collateral WETH, TestAsset AAVE
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: AAVE, Amount: 2918787019971627946
WITHDRAW: AAVE, Amount: 1459393509985813973
WITHDRAW: AAVE, Amount: 1459393509985813973
E2E: Collateral WETH, TestAsset cbETH
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: cbETH, Amount: 249518079828707360
WITHDRAW: cbETH, Amount: 124759039914353680
WITHDRAW: cbETH, Amount: 124759039914353680
BORROW: cbETH, Amount 249518079828707360
REPAY: cbETH, Amount: 249518079828707360
E2E: Collateral WETH, TestAsset USDT
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: USDT, Amount: 1000298018
WITHDRAW: USDT, Amount: 500149009
WITHDRAW: USDT, Amount: 500149009
BORROW: USDT, Amount 1000298018
REPAY: USDT, Amount: 1000298018
E2E: Collateral WETH, TestAsset rETH
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: rETH, Amount: 241696727981102264
WITHDRAW: rETH, Amount: 120848363990551132
WITHDRAW: rETH, Amount: 120848363990551133
BORROW: rETH, Amount 241696727981102264
REPAY: rETH, Amount: 241696727981102264
E2E: Collateral WETH, TestAsset LUSD
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: LUSD, Amount: 1000856352712507875988
WITHDRAW: LUSD, Amount: 500428176356253937994
WITHDRAW: LUSD, Amount: 500428176356253937994
BORROW: LUSD, Amount 1000856352712507875988
REPAY: LUSD, Amount: 1000856352712507875988
E2E: Collateral WETH, TestAsset CRV
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: CRV, Amount: 1002305030948823938876
WITHDRAW: CRV, Amount: 501152515474411969438
WITHDRAW: CRV, Amount: 501152515474411969438
BORROW: CRV, Amount 1002305030948823938876
REPAY: CRV, Amount: 1002305030948823938876
E2E: Collateral WETH, TestAsset MKR
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: MKR, Amount: 615946707502455101
WITHDRAW: MKR, Amount: 307973353751227550
WITHDRAW: MKR, Amount: 307973353751227551
BORROW: MKR, Amount 615946707502455101
REPAY: MKR, Amount: 615946707502455101
E2E: Collateral WETH, TestAsset SNX
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: SNX, Amount: 453083728178434231258
WITHDRAW: SNX, Amount: 226541864089217115629
WITHDRAW: SNX, Amount: 226541864089217115628
BORROW: SNX, Amount 453083728178434231258
REPAY: SNX, Amount: 453083728178434231258
E2E: Collateral WETH, TestAsset BAL
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: BAL, Amount: 349271768362963221682
WITHDRAW: BAL, Amount: 174635884181481610841
WITHDRAW: BAL, Amount: 174635884181481610841
BORROW: BAL, Amount 349271768362963221682
REPAY: BAL, Amount: 349271768362963221682
E2E: Collateral WETH, TestAsset UNI
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: UNI, Amount: 65977313700684019799
WITHDRAW: UNI, Amount: 32988656850342009899
WITHDRAW: UNI, Amount: 32988656850342009901
BORROW: UNI, Amount 65977313700684019799
REPAY: UNI, Amount: 65977313700684019799
E2E: Collateral WETH, TestAsset LDO
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: LDO, Amount: 491866587562714588480
WITHDRAW: LDO, Amount: 245933293781357294240
WITHDRAW: LDO, Amount: 245933293781357294239
BORROW: LDO, Amount 491866587562714588480
REPAY: LDO, Amount: 491866587562714588480
E2E: Collateral WETH, TestAsset ENS
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: ENS, Amount: 26764186512293122741
WITHDRAW: ENS, Amount: 13382093256146561370
WITHDRAW: ENS, Amount: 13382093256146561372
BORROW: ENS, Amount 26764186512293122741
REPAY: ENS, Amount: 26764186512293122741
E2E: Collateral WETH, TestAsset 1INCH
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: 1INCH, Amount: 2288098091680429576688
WITHDRAW: 1INCH, Amount: 1144049045840214788344
WITHDRAW: 1INCH, Amount: 1144049045840214788343
BORROW: 1INCH, Amount 2288098091680429576688
REPAY: 1INCH, Amount: 2288098091680429576688
E2E: Collateral WETH, TestAsset FRAX
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: FRAX, Amount: 1003245177109492533307
WITHDRAW: FRAX, Amount: 501622588554746266653
WITHDRAW: FRAX, Amount: 501622588554746266653
BORROW: FRAX, Amount 1003245177109492533307
REPAY: FRAX, Amount: 1003245177109492533307
E2E: Collateral WETH, TestAsset GHO
SUPPLY: WETH, Amount: 27198875609797023244
BORROW: GHO, Amount 1000000000000000000000
REPAY: GHO, Amount: 1000000000000000000000
E2E: Collateral WETH, TestAsset RPL
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: RPL, Amount: 79287076676119147731
WITHDRAW: RPL, Amount: 39643538338059573865
WITHDRAW: RPL, Amount: 39643538338059573866
BORROW: RPL, Amount 79287076676119147731
REPAY: RPL, Amount: 79287076676119147731
E2E: Collateral WETH, TestAsset sDAI
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: sDAI, Amount: 881869108877350376288
WITHDRAW: sDAI, Amount: 440934554438675188144
WITHDRAW: sDAI, Amount: 440934554438675188144
E2E: TestAsset STG SKIPPED
E2E: TestAsset KNC SKIPPED
E2E: TestAsset FXS SKIPPED
E2E: Collateral WETH, TestAsset crvUSD
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: crvUSD, Amount: 1000383036660907094717
WITHDRAW: crvUSD, Amount: 500191518330453547358
WITHDRAW: crvUSD, Amount: 500191518330453547359
BORROW: crvUSD, Amount 1000383036660907094717
REPAY: crvUSD, Amount: 1000383036660907094717
E2E: Collateral WETH, TestAsset PYUSD
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: PYUSD, Amount: 999644656
WITHDRAW: PYUSD, Amount: 499822328
WITHDRAW: PYUSD, Amount: 499822327
BORROW: PYUSD, Amount 999644656
REPAY: PYUSD, Amount: 999644656
E2E: Collateral WETH, TestAsset weETH
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: weETH, Amount: 257321323545772640
WITHDRAW: weETH, Amount: 128660661772886320
WITHDRAW: weETH, Amount: 128660661772886320
BORROW: weETH, Amount 257321323545772640
REPAY: weETH, Amount: 257321323545772640
E2E: Collateral WETH, TestAsset osETH
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: osETH, Amount: 262614973826847266
WITHDRAW: osETH, Amount: 131307486913423633
WITHDRAW: osETH, Amount: 131307486913423633
BORROW: osETH, Amount 262614973826847266
REPAY: osETH, Amount: 262614973826847266
E2E: Collateral WETH, TestAsset USDe
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: USDe, Amount: 1001237309041767635608
WITHDRAW: USDe, Amount: 500618654520883817804
WITHDRAW: USDe, Amount: 500618654520883817804
BORROW: USDe, Amount 1001237309041767635608
REPAY: USDe, Amount: 1001237309041767635608
E2E: Collateral WETH, TestAsset ETHx
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: ETHx, Amount: 259196124462811683
WITHDRAW: ETHx, Amount: 129598062231405841
WITHDRAW: ETHx, Amount: 129598062231405842
BORROW: ETHx, Amount 259196124462811683
REPAY: ETHx, Amount: 259196124462811683
E2E: Collateral WETH, TestAsset sUSDe
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: sUSDe, Amount: 874416770572154152471
WITHDRAW: sUSDe, Amount: 437208385286077076235
WITHDRAW: sUSDe, Amount: 437208385286077076236
E2E: Collateral WETH, TestAsset tBTC
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: tBTC, Amount: 9791645381246086
WITHDRAW: tBTC, Amount: 4895822690623043
WITHDRAW: tBTC, Amount: 4895822690623044
BORROW: tBTC, Amount 9791645381246086
REPAY: tBTC, Amount: 9791645381246086
E2E: Collateral WETH, TestAsset cbBTC
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: cbBTC, Amount: 979164
WITHDRAW: cbBTC, Amount: 489582
WITHDRAW: cbBTC, Amount: 489582
BORROW: cbBTC, Amount 979164
REPAY: cbBTC, Amount: 979164
E2E: Collateral WETH, TestAsset USDS
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: USDS, Amount: 999600159936025589764
WITHDRAW: USDS, Amount: 499800079968012794882
WITHDRAW: USDS, Amount: 499800079968012794882
BORROW: USDS, Amount 999600159936025589764
REPAY: USDS, Amount: 999600159936025589764
E2E: Collateral WETH, TestAsset rsETH
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: rsETH, Amount: 263127637149742159
WITHDRAW: rsETH, Amount: 131563818574871079
WITHDRAW: rsETH, Amount: 131563818574871079
BORROW: rsETH, Amount 263127637149742159
REPAY: rsETH, Amount: 263127637149742159
E2E: Collateral WETH, TestAsset LBTC
SUPPLY: WETH, Amount: 27198875609797023244
SUPPLY: LBTC, Amount: 979164
WITHDRAW: LBTC, Amount: 489582
WITHDRAW: LBTC, Amount: 489582
BORROW: LBTC, Amount 979164
REPAY: LBTC, Amount: 979164
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 103.52s (112.89s CPU time)
Ran 1 test suite in 103.53s (103.52s CPU time): 3 tests passed, 0 failed, 0 skipped (3 total tests)