Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: metis #120

Merged
merged 13 commits into from
Apr 26, 2023
Merged

feat: metis #120

merged 13 commits into from
Apr 26, 2023

Conversation

brotherlymite
Copy link
Contributor

@brotherlymite brotherlymite commented Apr 19, 2023

@github-actions
Copy link
Contributor

github-actions bot commented Apr 19, 2023

Foundry report

forge 0.2.0 (dedc31e 2023-04-24T00:03:47.035412218Z)
Build log
installing solc version "0.8.19"
Successfully installed solc 0.8.19
Compiling 62 files with 0.8.19
Solc 0.8.19 finished in 3.11s
Compiler run successful
| Contract                   | Size (kB) | Margin (kB) |
|----------------------------|-----------|-------------|
| AaveGovernanceV2           | 0.285     | 24.291      |
| AaveMisc                   | 0.086     | 24.49       |
| AaveV2Avalanche            | 0.086     | 24.49       |
| AaveV2AvalancheAssets      | 0.086     | 24.49       |
| AaveV2Ethereum             | 0.086     | 24.49       |
| AaveV2EthereumAMM          | 0.086     | 24.49       |
| AaveV2EthereumAMMAssets    | 0.086     | 24.49       |
| AaveV2EthereumArc          | 0.086     | 24.49       |
| AaveV2EthereumAssets       | 0.086     | 24.49       |
| AaveV2Fuji                 | 0.086     | 24.49       |
| AaveV2FujiAssets           | 0.086     | 24.49       |
| AaveV2Goerli               | 0.086     | 24.49       |
| AaveV2GoerliAssets         | 0.086     | 24.49       |
| AaveV2Mumbai               | 0.086     | 24.49       |
| AaveV2MumbaiAssets         | 0.086     | 24.49       |
| AaveV2Polygon              | 0.086     | 24.49       |
| AaveV2PolygonAssets        | 0.086     | 24.49       |
| AaveV3Arbitrum             | 0.086     | 24.49       |
| AaveV3ArbitrumAssets       | 0.086     | 24.49       |
| AaveV3ArbitrumGoerli       | 0.086     | 24.49       |
| AaveV3ArbitrumGoerliAssets | 0.086     | 24.49       |
| AaveV3Avalanche            | 0.086     | 24.49       |
| AaveV3AvalancheAssets      | 0.086     | 24.49       |
| AaveV3Ethereum             | 0.086     | 24.49       |
| AaveV3EthereumAssets       | 0.086     | 24.49       |
| AaveV3Fantom               | 0.086     | 24.49       |
| AaveV3FantomAssets         | 0.086     | 24.49       |
| AaveV3FantomTestnet        | 0.086     | 24.49       |
| AaveV3FantomTestnetAssets  | 0.086     | 24.49       |
| AaveV3Fuji                 | 0.086     | 24.49       |
| AaveV3FujiAssets           | 0.086     | 24.49       |
| AaveV3Goerli               | 0.086     | 24.49       |
| AaveV3GoerliAssets         | 0.086     | 24.49       |
| AaveV3GoerliGho            | 0.086     | 24.49       |
| AaveV3GoerliGhoAssets      | 0.086     | 24.49       |
| AaveV3Harmony              | 0.086     | 24.49       |
| AaveV3HarmonyAssets        | 0.086     | 24.49       |
| AaveV3Metis                | 0.086     | 24.49       |
| AaveV3MetisAssets          | 0.086     | 24.49       |
| AaveV3Mumbai               | 0.086     | 24.49       |
| AaveV3MumbaiAssets         | 0.086     | 24.49       |
| AaveV3Optimism             | 0.086     | 24.49       |
| AaveV3OptimismAssets       | 0.086     | 24.49       |
| AaveV3OptimismGoerli       | 0.086     | 24.49       |
| AaveV3OptimismGoerliAssets | 0.086     | 24.49       |
| AaveV3Polygon              | 0.086     | 24.49       |
| AaveV3PolygonAssets        | 0.086     | 24.49       |
| AaveV3ScrollAlpha          | 0.086     | 24.49       |
| AaveV3ScrollAlphaAssets    | 0.086     | 24.49       |
| AaveV3Sepolia              | 0.086     | 24.49       |
| AaveV3SepoliaAssets        | 0.086     | 24.49       |
| ConfiguratorInputTypes     | 0.086     | 24.49       |
| DataTypes                  | 0.086     | 24.49       |
| StdInvariant               | 2.323     | 22.253      |
| console                    | 0.086     | 24.49       |
| console2                   | 0.086     | 24.49       |
| stdError                   | 0.713     | 23.863      |
| stdJson                    | 0.086     | 24.49       |
| stdMath                    | 0.086     | 24.49       |
| stdStorage                 | 0.086     | 24.49       |
| stdStorageSafe             | 0.086     | 24.49       |
Test success 🌈
No files changed, compilation skipped

Running 8 tests for src/test/AaveV2Ethereum.t.sol:AaveAddressBookTest
�[32m[PASS]�[0m testAaveProtocolDataProviderIsCorrect() (gas: 280)
�[32m[PASS]�[0m testCollectorIsCorrect() (gas: 280)
�[32m[PASS]�[0m testEmergencyAdminIsCorrect() (gas: 237)
�[32m[PASS]�[0m testOracleIsCorrect() (gas: 258)
�[32m[PASS]�[0m testPoolAddressIsCorrect() (gas: 281)
�[32m[PASS]�[0m testPoolAddressProviderIsCorrect() (gas: 302)
�[32m[PASS]�[0m testPoolAdminIsCorrect() (gas: 302)
�[32m[PASS]�[0m testPoolConfiguratorIsCorrect() (gas: 268)
Test result: �[32mok�[0m. 8 passed; 0 failed; finished in 693.51µs

Running 8 tests for src/test/AaveV3Avalanche.t.sol:AaveAddressBookTest
�[32m[PASS]�[0m testACLAdminIsCorrect() (gas: 303)
�[32m[PASS]�[0m testACLManagerIsCorrect() (gas: 259)
�[32m[PASS]�[0m testCollectorIsCorrect() (gas: 302)
�[32m[PASS]�[0m testEmissionManagerIsCorrect() (gas: 280)
�[32m[PASS]�[0m testOracleIsCorrect() (gas: 280)
�[32m[PASS]�[0m testPoolAddressIsCorrect() (gas: 258)
�[32m[PASS]�[0m testPoolAddressProviderIsCorrect() (gas: 302)
�[32m[PASS]�[0m testPoolConfiguratorIsCorrect() (gas: 268)
Test result: �[32mok�[0m. 8 passed; 0 failed; finished in 593.01µs

Running 1 test for src/test/AaveV2Misfits.t.sol:AaveAddressMisfitsTest
�[32m[PASS]�[0m testArcPoolAdminIsCorrect() (gas: 258)
Test result: �[32mok�[0m. 1 passed; 0 failed; finished in 274.91µs

src/ts/AaveV3Metis.ts Outdated Show resolved Hide resolved
src/ts/AaveV3Metis.ts Outdated Show resolved Hide resolved
@sakulstra sakulstra marked this pull request as ready for review April 26, 2023 09:18
@sakulstra sakulstra merged commit 9961128 into main Apr 26, 2023
@sakulstra sakulstra deleted the feat/metis branch April 26, 2023 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for empty pools
2 participants