From 60b225675b2008d8d1c301c220ab7369c2cfc870 Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 30 Jan 2025 12:17:56 +0100 Subject: [PATCH] fix: update imports --- .github/dependabot.yml | 6 +- .prettierignore | 6 + CHANGELOG.md | 310 ++++++++---------- diffs/AMMTEST_before_AMMTEST_after.md | 2 +- ...i_diffs_before_adi_test_adi_diffs_after.md | 2 +- diffs/default_before_default_after.md | 2 +- ...stV2RatesUpdates_postTestV2RatesUpdates.md | 16 +- diffs/zksync_before_zksync_after.md | 2 +- lib/aave-address-book | 2 +- package.json | 3 +- scripts/AaveSwapperDeployment.s.sol | 8 +- scripts/DeployBridges.s.sol | 2 +- scripts/V2RateStrategyFactory.s.sol | 5 +- src/CollectorUtils.sol | 4 +- src/CommonTestBase.sol | 4 +- src/GovV3Helpers.sol | 3 +- src/ProtocolV2TestBase.sol | 6 +- src/ProtocolV3TestBase.sol | 6 +- .../arbitrum/AaveArbEthERC20Bridge.sol | 10 +- src/bridges/optimism/AaveOpEthERC20Bridge.sol | 10 +- src/bridges/polygon/AavePolEthERC20Bridge.sol | 10 +- .../polygon/AavePolEthPlasmaBridge.sol | 10 +- .../DefaultReserveInterestRateStrategy.sol | 2 +- src/riskstewards/CapsPlusRiskSteward.sol | 2 +- src/riskstewards/ICapsPlusRiskSteward.sol | 1 - src/swaps/AaveSwapper.sol | 15 +- src/swaps/BaseSwapPayload.sol | 4 +- src/swaps/DepositV2SwapPayload.sol | 4 +- src/swaps/DepositV3SwapPayload.sol | 4 +- src/swaps/interfaces/IMilkman.sol | 2 +- src/v2-config-engine/AaveV2Payload.sol | 2 +- .../V2RateStrategyFactory.sol | 2 +- tests/CollectorUtils.t.sol | 2 +- tests/ProtocolV2TestBase.t.sol | 2 +- .../arbitrum/AaveArbEthERC20BridgeTest.t.sol | 2 +- tests/bridges/arbitrum/ArbSysMock.sol | 12 +- .../optimism/AaveOpEthERC20BridgeTest.t.sol | 2 +- .../polygon/AavePolEthERC20BridgeTest.t.sol | 2 +- .../polygon/AavePolEthPlasmaBridge.t.sol | 2 +- tests/swaps/AaveSwapperTest.t.sol | 2 +- tests/swaps/DepositV2SwapPayloadTest.t.sol | 2 +- tests/swaps/DepositV3SwapPayloadTest.t.sol | 2 +- 42 files changed, 237 insertions(+), 260 deletions(-) create mode 100644 .prettierignore diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 277307fb7..c5bd24e54 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,7 @@ version: 2 updates: - - package-ecosystem: "gitsubmodule" # See documentation for possible values - directory: "/" # Location of package manifests + - package-ecosystem: 'gitsubmodule' # See documentation for possible values + directory: '/' # Location of package manifests schedule: - interval: "daily" + interval: 'daily' diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 000000000..5be7eaf94 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,6 @@ +lib +out +zkout +reports +cache +broadcast diff --git a/CHANGELOG.md b/CHANGELOG.md index efd8612de..d3bde0752 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,225 +4,209 @@ All notable changes to this project will be documented in this file. See [standa ## [3.0.0](https://github.com/bgd-labs/aave-helpers/compare/v2.3.0...v3.0.0) (2024-07-25) - ### ⚠ BREAKING CHANGES -* use aave origin and update to 3.1 (#306) +- use aave origin and update to 3.1 (#306) ### Features -* Aave steth withdrawer ([#315](https://github.com/bgd-labs/aave-helpers/issues/315)) ([8f99938](https://github.com/bgd-labs/aave-helpers/commit/8f99938a7384b0faac76d37346e44f68ef0b19f7)) -* Add base ccc update payload. ([#305](https://github.com/bgd-labs/aave-helpers/issues/305)) ([2e1710d](https://github.com/bgd-labs/aave-helpers/commit/2e1710decbfcc074804c1f2bd760e228e6442953)) -* add base configEngine ([#134](https://github.com/bgd-labs/aave-helpers/issues/134)) ([b5df36c](https://github.com/bgd-labs/aave-helpers/commit/b5df36cc33bfc40db26d62088fc4ba7135bc09de)) -* Add Base contracts to generate aDI adapter payloads ([#285](https://github.com/bgd-labs/aave-helpers/issues/285)) ([8ff94a6](https://github.com/bgd-labs/aave-helpers/commit/8ff94a640b0dc72649686357709a6396508f0ea6)) -* add buildBase ([#135](https://github.com/bgd-labs/aave-helpers/issues/135)) ([2152246](https://github.com/bgd-labs/aave-helpers/commit/2152246b8a3c1104cf96e83c9b87ffe5f9b8ba69)) -* add create2 helpers ([#193](https://github.com/bgd-labs/aave-helpers/issues/193)) ([a690d33](https://github.com/bgd-labs/aave-helpers/commit/a690d33080262a02f87a67fda50fc312242756d2)) -* add gov v3 helpers ([#139](https://github.com/bgd-labs/aave-helpers/issues/139)) ([1e1c177](https://github.com/bgd-labs/aave-helpers/commit/1e1c1778f99870deceb2f9f233c74d83ec729aaf)) -* Add payload zero checks ([#121](https://github.com/bgd-labs/aave-helpers/issues/121)) ([0480a4b](https://github.com/bgd-labs/aave-helpers/commit/0480a4b549ed543d3d4160b8a956739e1724913b)) -* added script for scroll and zkevm ([#211](https://github.com/bgd-labs/aave-helpers/issues/211)) ([6cc788d](https://github.com/bgd-labs/aave-helpers/commit/6cc788d1346e6bcaf8f02878841eb74662c87c17)) -* allow bypassing e2e ([#173](https://github.com/bgd-labs/aave-helpers/issues/173)) ([39e1676](https://github.com/bgd-labs/aave-helpers/commit/39e1676f166a53cf195fbe1f29f210e284a14293)) -* bnb deploy scripts ([#180](https://github.com/bgd-labs/aave-helpers/issues/180)) ([428dc96](https://github.com/bgd-labs/aave-helpers/commit/428dc96fb23d5858e3c5ecb6bd5e24d236613efc)) -* check that address has code ([41c0392](https://github.com/bgd-labs/aave-helpers/commit/41c0392171165f98e4e5f96c2997512a169eb6cb)) -* emode category for v3 config engine ([#97](https://github.com/bgd-labs/aave-helpers/issues/97)) ([88ccbc4](https://github.com/bgd-labs/aave-helpers/commit/88ccbc4e18c2469011496b59642ba56d0f4830d9)), closes [#111](https://github.com/bgd-labs/aave-helpers/issues/111) -* execute proposal ([#199](https://github.com/bgd-labs/aave-helpers/issues/199)) ([6dc9101](https://github.com/bgd-labs/aave-helpers/commit/6dc9101c71e7afa85efa1c4989789fff86d29d48)) -* expose deterministic helpers ([#197](https://github.com/bgd-labs/aave-helpers/issues/197)) ([2adead7](https://github.com/bgd-labs/aave-helpers/commit/2adead7afb5ee7cfae29bc3cacd91b75aeab028d)) -* gnosis deploy scripts ([#156](https://github.com/bgd-labs/aave-helpers/issues/156)) ([1ffe6b1](https://github.com/bgd-labs/aave-helpers/commit/1ffe6b10ba993e1e440312561b091b166d72d732)) -* new aave v3 token deal ([#142](https://github.com/bgd-labs/aave-helpers/issues/142)) ([b6bedff](https://github.com/bgd-labs/aave-helpers/commit/b6bedff58ce75fdf4022c91e181d40e3b3faa44e)) -* New RPCs ([#179](https://github.com/bgd-labs/aave-helpers/issues/179)) ([70f523f](https://github.com/bgd-labs/aave-helpers/commit/70f523f115045315a5c1e1cd71c88a884e64c850)) -* scroll deploy scripts ([#212](https://github.com/bgd-labs/aave-helpers/issues/212)) ([bd1002b](https://github.com/bgd-labs/aave-helpers/commit/bd1002b320c9e585de5f8691f3468f2471a96579)) -* snapshot collateralManager ([#172](https://github.com/bgd-labs/aave-helpers/issues/172)) ([a4676d2](https://github.com/bgd-labs/aave-helpers/commit/a4676d29ce2e017ffa6d89da51d1eeb545f555b7)) -* support create2 args ([#264](https://github.com/bgd-labs/aave-helpers/issues/264)) ([f429c55](https://github.com/bgd-labs/aave-helpers/commit/f429c55b999c8cff5333e239cc5aec2c551e15fe)) -* support more chains ([#132](https://github.com/bgd-labs/aave-helpers/issues/132)) ([89c591c](https://github.com/bgd-labs/aave-helpers/commit/89c591c66fecee33698eaa05e76b7fc8359e72c7)) -* test full 2.5 flow ([#162](https://github.com/bgd-labs/aave-helpers/issues/162)) ([76b0fac](https://github.com/bgd-labs/aave-helpers/commit/76b0fac11d6b75ef70752cc46e7c8eed5af0d655)) -* use aave origin and update to 3.1 ([#306](https://github.com/bgd-labs/aave-helpers/issues/306)) ([acf9575](https://github.com/bgd-labs/aave-helpers/commit/acf95756729255f2f08ea440b00a8394ed610cfb)) -* use different create2 ([#150](https://github.com/bgd-labs/aave-helpers/issues/150)) ([4c084bf](https://github.com/bgd-labs/aave-helpers/commit/4c084bff9fb3fe7f92e7ba71b0b594957166ea53)) -* v2 default test ([#154](https://github.com/bgd-labs/aave-helpers/issues/154)) ([f6a905a](https://github.com/bgd-labs/aave-helpers/commit/f6a905a6c2b2f4e1fd00c30d4f5f86ea275756e9)) -* validate payload execution < block.gaslimit in defaultTest ([#290](https://github.com/bgd-labs/aave-helpers/issues/290)) ([6567dae](https://github.com/bgd-labs/aave-helpers/commit/6567dae5143253858eeff93a8de4bd8c0563f353)) -* zkevm scripts ([#213](https://github.com/bgd-labs/aave-helpers/issues/213)) ([07f2682](https://github.com/bgd-labs/aave-helpers/commit/07f26829ae0a00c21c00d29f28c635cf2fbb45db)) - +- Aave steth withdrawer ([#315](https://github.com/bgd-labs/aave-helpers/issues/315)) ([8f99938](https://github.com/bgd-labs/aave-helpers/commit/8f99938a7384b0faac76d37346e44f68ef0b19f7)) +- Add base ccc update payload. ([#305](https://github.com/bgd-labs/aave-helpers/issues/305)) ([2e1710d](https://github.com/bgd-labs/aave-helpers/commit/2e1710decbfcc074804c1f2bd760e228e6442953)) +- add base configEngine ([#134](https://github.com/bgd-labs/aave-helpers/issues/134)) ([b5df36c](https://github.com/bgd-labs/aave-helpers/commit/b5df36cc33bfc40db26d62088fc4ba7135bc09de)) +- Add Base contracts to generate aDI adapter payloads ([#285](https://github.com/bgd-labs/aave-helpers/issues/285)) ([8ff94a6](https://github.com/bgd-labs/aave-helpers/commit/8ff94a640b0dc72649686357709a6396508f0ea6)) +- add buildBase ([#135](https://github.com/bgd-labs/aave-helpers/issues/135)) ([2152246](https://github.com/bgd-labs/aave-helpers/commit/2152246b8a3c1104cf96e83c9b87ffe5f9b8ba69)) +- add create2 helpers ([#193](https://github.com/bgd-labs/aave-helpers/issues/193)) ([a690d33](https://github.com/bgd-labs/aave-helpers/commit/a690d33080262a02f87a67fda50fc312242756d2)) +- add gov v3 helpers ([#139](https://github.com/bgd-labs/aave-helpers/issues/139)) ([1e1c177](https://github.com/bgd-labs/aave-helpers/commit/1e1c1778f99870deceb2f9f233c74d83ec729aaf)) +- Add payload zero checks ([#121](https://github.com/bgd-labs/aave-helpers/issues/121)) ([0480a4b](https://github.com/bgd-labs/aave-helpers/commit/0480a4b549ed543d3d4160b8a956739e1724913b)) +- added script for scroll and zkevm ([#211](https://github.com/bgd-labs/aave-helpers/issues/211)) ([6cc788d](https://github.com/bgd-labs/aave-helpers/commit/6cc788d1346e6bcaf8f02878841eb74662c87c17)) +- allow bypassing e2e ([#173](https://github.com/bgd-labs/aave-helpers/issues/173)) ([39e1676](https://github.com/bgd-labs/aave-helpers/commit/39e1676f166a53cf195fbe1f29f210e284a14293)) +- bnb deploy scripts ([#180](https://github.com/bgd-labs/aave-helpers/issues/180)) ([428dc96](https://github.com/bgd-labs/aave-helpers/commit/428dc96fb23d5858e3c5ecb6bd5e24d236613efc)) +- check that address has code ([41c0392](https://github.com/bgd-labs/aave-helpers/commit/41c0392171165f98e4e5f96c2997512a169eb6cb)) +- emode category for v3 config engine ([#97](https://github.com/bgd-labs/aave-helpers/issues/97)) ([88ccbc4](https://github.com/bgd-labs/aave-helpers/commit/88ccbc4e18c2469011496b59642ba56d0f4830d9)), closes [#111](https://github.com/bgd-labs/aave-helpers/issues/111) +- execute proposal ([#199](https://github.com/bgd-labs/aave-helpers/issues/199)) ([6dc9101](https://github.com/bgd-labs/aave-helpers/commit/6dc9101c71e7afa85efa1c4989789fff86d29d48)) +- expose deterministic helpers ([#197](https://github.com/bgd-labs/aave-helpers/issues/197)) ([2adead7](https://github.com/bgd-labs/aave-helpers/commit/2adead7afb5ee7cfae29bc3cacd91b75aeab028d)) +- gnosis deploy scripts ([#156](https://github.com/bgd-labs/aave-helpers/issues/156)) ([1ffe6b1](https://github.com/bgd-labs/aave-helpers/commit/1ffe6b10ba993e1e440312561b091b166d72d732)) +- new aave v3 token deal ([#142](https://github.com/bgd-labs/aave-helpers/issues/142)) ([b6bedff](https://github.com/bgd-labs/aave-helpers/commit/b6bedff58ce75fdf4022c91e181d40e3b3faa44e)) +- New RPCs ([#179](https://github.com/bgd-labs/aave-helpers/issues/179)) ([70f523f](https://github.com/bgd-labs/aave-helpers/commit/70f523f115045315a5c1e1cd71c88a884e64c850)) +- scroll deploy scripts ([#212](https://github.com/bgd-labs/aave-helpers/issues/212)) ([bd1002b](https://github.com/bgd-labs/aave-helpers/commit/bd1002b320c9e585de5f8691f3468f2471a96579)) +- snapshot collateralManager ([#172](https://github.com/bgd-labs/aave-helpers/issues/172)) ([a4676d2](https://github.com/bgd-labs/aave-helpers/commit/a4676d29ce2e017ffa6d89da51d1eeb545f555b7)) +- support create2 args ([#264](https://github.com/bgd-labs/aave-helpers/issues/264)) ([f429c55](https://github.com/bgd-labs/aave-helpers/commit/f429c55b999c8cff5333e239cc5aec2c551e15fe)) +- support more chains ([#132](https://github.com/bgd-labs/aave-helpers/issues/132)) ([89c591c](https://github.com/bgd-labs/aave-helpers/commit/89c591c66fecee33698eaa05e76b7fc8359e72c7)) +- test full 2.5 flow ([#162](https://github.com/bgd-labs/aave-helpers/issues/162)) ([76b0fac](https://github.com/bgd-labs/aave-helpers/commit/76b0fac11d6b75ef70752cc46e7c8eed5af0d655)) +- use aave origin and update to 3.1 ([#306](https://github.com/bgd-labs/aave-helpers/issues/306)) ([acf9575](https://github.com/bgd-labs/aave-helpers/commit/acf95756729255f2f08ea440b00a8394ed610cfb)) +- use different create2 ([#150](https://github.com/bgd-labs/aave-helpers/issues/150)) ([4c084bf](https://github.com/bgd-labs/aave-helpers/commit/4c084bff9fb3fe7f92e7ba71b0b594957166ea53)) +- v2 default test ([#154](https://github.com/bgd-labs/aave-helpers/issues/154)) ([f6a905a](https://github.com/bgd-labs/aave-helpers/commit/f6a905a6c2b2f4e1fd00c30d4f5f86ea275756e9)) +- validate payload execution < block.gaslimit in defaultTest ([#290](https://github.com/bgd-labs/aave-helpers/issues/290)) ([6567dae](https://github.com/bgd-labs/aave-helpers/commit/6567dae5143253858eeff93a8de4bd8c0563f353)) +- zkevm scripts ([#213](https://github.com/bgd-labs/aave-helpers/issues/213)) ([07f2682](https://github.com/bgd-labs/aave-helpers/commit/07f26829ae0a00c21c00d29f28c635cf2fbb45db)) ### Bug Fixes -* add buffer for block gas limit ([#292](https://github.com/bgd-labs/aave-helpers/issues/292)) ([31ee364](https://github.com/bgd-labs/aave-helpers/commit/31ee36457e84e41cc1d328cd923d226557c3fa10)) -* add missing helper for scroll and zkevm ([#215](https://github.com/bgd-labs/aave-helpers/issues/215)) ([0d01980](https://github.com/bgd-labs/aave-helpers/commit/0d01980340f61d6ff81343b79cf6142d09ceb669)) -* add more snapshots ([#119](https://github.com/bgd-labs/aave-helpers/issues/119)) ([a17aeb9](https://github.com/bgd-labs/aave-helpers/commit/a17aeb9eddb3c26d9c95d580baa883fbccb3c9d3)) -* Add payload already created check to createPayload method ([#296](https://github.com/bgd-labs/aave-helpers/issues/296)) ([a574110](https://github.com/bgd-labs/aave-helpers/commit/a574110bf9b0f5a2c9efcd8cc66c8f05200baeb1)) -* align cli versions ([#165](https://github.com/bgd-labs/aave-helpers/issues/165)) ([78e58db](https://github.com/bgd-labs/aave-helpers/commit/78e58dbd37f2d879313587dea0d2cd783aadade3)) -* allow one off error on repay ([#144](https://github.com/bgd-labs/aave-helpers/issues/144)) ([743c0fb](https://github.com/bgd-labs/aave-helpers/commit/743c0fbfcf8231b5fb420a72d7b6424d26ef7d59)) -* blocknumber for tests ([#191](https://github.com/bgd-labs/aave-helpers/issues/191)) ([216c880](https://github.com/bgd-labs/aave-helpers/commit/216c880096bb84b41035d5538c1abe5cbc119944)) -* bnb naming ([#282](https://github.com/bgd-labs/aave-helpers/issues/282)) ([ffdfec5](https://github.com/bgd-labs/aave-helpers/commit/ffdfec57ed1b7f90afbcdb108efc1141e91bc479)) -* borrow engine require ([#188](https://github.com/bgd-labs/aave-helpers/issues/188)) ([8a04d33](https://github.com/bgd-labs/aave-helpers/commit/8a04d33786d52b658e40e03d0b92d137383dabf7)) -* bump aave-cli ([0447d4e](https://github.com/bgd-labs/aave-helpers/commit/0447d4e30d2a6d625bda386b011211c6f05b808a)) -* bump address book ([#257](https://github.com/bgd-labs/aave-helpers/issues/257)) ([07ad879](https://github.com/bgd-labs/aave-helpers/commit/07ad879a8afb0f693e49fb4bdc6a7ef13d426c04)) -* bump address-book ([7da64a6](https://github.com/bgd-labs/aave-helpers/commit/7da64a6c8dfac96578d99b4f59c221a5f79e463b)) -* config engine payload bnb ([#181](https://github.com/bgd-labs/aave-helpers/issues/181)) ([cb11211](https://github.com/bgd-labs/aave-helpers/commit/cb11211b4df83d369438cf4a36bccce19bc28fbd)) -* createPayload method made internal so that it can be broadcasted ([#298](https://github.com/bgd-labs/aave-helpers/issues/298)) ([2f7c3c9](https://github.com/bgd-labs/aave-helpers/commit/2f7c3c9c2609c5d3f2b9df1de2c9f11ac445eb1a)) -* don't queue on govv2 when trying to execute payload via short ([#234](https://github.com/bgd-labs/aave-helpers/issues/234)) ([11ae64b](https://github.com/bgd-labs/aave-helpers/commit/11ae64bec0bbfd167a83deb840317c8c873cacba)) -* e2e ethereum mainnet ([#140](https://github.com/bgd-labs/aave-helpers/issues/140)) ([9ca17b6](https://github.com/bgd-labs/aave-helpers/commit/9ca17b6ecd99c1fe6209e944713fe6293ad37b4f)) -* fix typos ([#254](https://github.com/bgd-labs/aave-helpers/issues/254)) ([63eb8fa](https://github.com/bgd-labs/aave-helpers/commit/63eb8fa8d06286a11bc19bf17cbcb1fd6b8dba10)) -* foundry breaking changes ([#127](https://github.com/bgd-labs/aave-helpers/issues/127)) ([be96d3e](https://github.com/bgd-labs/aave-helpers/commit/be96d3ee4f43e5b9b6adec90b0bce85ab33dce0b)) -* losen version of aave-cli ([93c334c](https://github.com/bgd-labs/aave-helpers/commit/93c334c6d7dcde7abfbfc3222c1f143c84fc6f0c)) -* make irs compatible with stateful irs ([#262](https://github.com/bgd-labs/aave-helpers/issues/262)) ([0050f31](https://github.com/bgd-labs/aave-helpers/commit/0050f319b5773f9e0741128b6b342018eac4f6b5)) -* only do selectFork when fork is different ([#163](https://github.com/bgd-labs/aave-helpers/issues/163)) ([33f350c](https://github.com/bgd-labs/aave-helpers/commit/33f350cba2857cdd5ec921ca3a4fce1e7e2f1eba)) -* patch deal2 prank ([#230](https://github.com/bgd-labs/aave-helpers/issues/230)) ([6881c76](https://github.com/bgd-labs/aave-helpers/commit/6881c76494c4baa4d5c3cdcea00fab4bac05d13c)) -* patch ir import ([#275](https://github.com/bgd-labs/aave-helpers/issues/275)) ([5446518](https://github.com/bgd-labs/aave-helpers/commit/5446518a5e5a22a0d649305f8dd05d099c1aea55)) -* patch usdc ([#203](https://github.com/bgd-labs/aave-helpers/issues/203)) ([5481ac5](https://github.com/bgd-labs/aave-helpers/commit/5481ac5ca51c76f87dec0ef316942c51f10515dc)) -* patch usdc & supply cap tests ([#208](https://github.com/bgd-labs/aave-helpers/issues/208)) ([1adaebd](https://github.com/bgd-labs/aave-helpers/commit/1adaebd6fe409770e3a2d56560e0127df85b3e2e)) -* pin-version ([#149](https://github.com/bgd-labs/aave-helpers/issues/149)) ([b07db13](https://github.com/bgd-labs/aave-helpers/commit/b07db131e5068b22d05629b718dfa12283c4a10c)) -* properly reverse iterate ([#216](https://github.com/bgd-labs/aave-helpers/issues/216)) ([45cc9e8](https://github.com/bgd-labs/aave-helpers/commit/45cc9e8edf8374d5f32cccea2de24e1267da719b)) -* rely on local npm installation ([#171](https://github.com/bgd-labs/aave-helpers/issues/171)) ([2111f26](https://github.com/bgd-labs/aave-helpers/commit/2111f267b9f6d906ae8cbdf7e06dd693bbeff9bb)) -* remove _ and add reference to source ([#190](https://github.com/bgd-labs/aave-helpers/issues/190)) ([abea2a7](https://github.com/bgd-labs/aave-helpers/commit/abea2a703edb9d90291833c4f19f44d2a7e53224)) -* remove aave interface link ([#183](https://github.com/bgd-labs/aave-helpers/issues/183)) ([251864a](https://github.com/bgd-labs/aave-helpers/commit/251864a684267dfb34c8d7b29b411f4ea8db38d0)) -* remove cap limitation ([#195](https://github.com/bgd-labs/aave-helpers/issues/195)) ([926c817](https://github.com/bgd-labs/aave-helpers/commit/926c817a72b15b10c54566fee443086518870ca1)) -* remove duplicated errors ([#148](https://github.com/bgd-labs/aave-helpers/issues/148)) ([f559d58](https://github.com/bgd-labs/aave-helpers/commit/f559d58dc0e40557e06d60675c318a2427a9aded)) -* remove tests for old stuff ([#222](https://github.com/bgd-labs/aave-helpers/issues/222)) ([fae3da0](https://github.com/bgd-labs/aave-helpers/commit/fae3da0811f41ecb30da1129976c53d15350b895)) -* replace snx whale ([#276](https://github.com/bgd-labs/aave-helpers/issues/276)) ([e716f32](https://github.com/bgd-labs/aave-helpers/commit/e716f32915a2fc1e3b7bf6ccdf913efb8b8ace96)) -* snapshot indexes ([#269](https://github.com/bgd-labs/aave-helpers/issues/269)) ([1daafea](https://github.com/bgd-labs/aave-helpers/commit/1daafea0e7f7baafa82d2b386e284e3850abf048)) -* snapshot with new interest rates strategy ([#259](https://github.com/bgd-labs/aave-helpers/issues/259)) ([bd87e61](https://github.com/bgd-labs/aave-helpers/commit/bd87e6189222e01cc2ddffb2551e94e06f716a1d)) -* update aave address book ([#281](https://github.com/bgd-labs/aave-helpers/issues/281)) ([7c84bd8](https://github.com/bgd-labs/aave-helpers/commit/7c84bd834bfc25e2cb7bda15ca4eb05328a6dde6)) -* update aave cli ([#235](https://github.com/bgd-labs/aave-helpers/issues/235)) ([3b4c2ab](https://github.com/bgd-labs/aave-helpers/commit/3b4c2abdef6efb1a984e0e76227c055caca2aa5b)) -* update address book with aDI bridge adapter interface ([#260](https://github.com/bgd-labs/aave-helpers/issues/260)) ([9505ee5](https://github.com/bgd-labs/aave-helpers/commit/9505ee51b420265c91912923e00c1b040c594485)) -* update for aligned BNB ([b49a36e](https://github.com/bgd-labs/aave-helpers/commit/b49a36e523b1d0c13d361419b937f249f305c72d)) -* update forge std etc ([#157](https://github.com/bgd-labs/aave-helpers/issues/157)) ([707ad78](https://github.com/bgd-labs/aave-helpers/commit/707ad78ffd9f58fedd85a029f32ac52ef74af15a)) -* update origin repo ([#316](https://github.com/bgd-labs/aave-helpers/issues/316)) ([6dc5580](https://github.com/bgd-labs/aave-helpers/commit/6dc5580361775bcee1c1f40c942c88ac3c8fb38a)) -* update tooling ([#279](https://github.com/bgd-labs/aave-helpers/issues/279)) ([d91ff89](https://github.com/bgd-labs/aave-helpers/commit/d91ff89512a10afce868166f90466a9f3ac7af4c)) -* updated adi tests. Updated chain ids ([#299](https://github.com/bgd-labs/aave-helpers/issues/299)) ([b645891](https://github.com/bgd-labs/aave-helpers/commit/b645891fb688b37f814940fcc3dc2650fc1ada79)) -* updated solidity utils. refactored safeApprove to forceApprove ([#131](https://github.com/bgd-labs/aave-helpers/issues/131)) ([a6f6c89](https://github.com/bgd-labs/aave-helpers/commit/a6f6c894f2cc02914c3d30beb3595945604ef692)) -* use create select fork always ([#164](https://github.com/bgd-labs/aave-helpers/issues/164)) ([963cc7b](https://github.com/bgd-labs/aave-helpers/commit/963cc7bab94078dadbf3668696bdd77f51dc65fe)) +- add buffer for block gas limit ([#292](https://github.com/bgd-labs/aave-helpers/issues/292)) ([31ee364](https://github.com/bgd-labs/aave-helpers/commit/31ee36457e84e41cc1d328cd923d226557c3fa10)) +- add missing helper for scroll and zkevm ([#215](https://github.com/bgd-labs/aave-helpers/issues/215)) ([0d01980](https://github.com/bgd-labs/aave-helpers/commit/0d01980340f61d6ff81343b79cf6142d09ceb669)) +- add more snapshots ([#119](https://github.com/bgd-labs/aave-helpers/issues/119)) ([a17aeb9](https://github.com/bgd-labs/aave-helpers/commit/a17aeb9eddb3c26d9c95d580baa883fbccb3c9d3)) +- Add payload already created check to createPayload method ([#296](https://github.com/bgd-labs/aave-helpers/issues/296)) ([a574110](https://github.com/bgd-labs/aave-helpers/commit/a574110bf9b0f5a2c9efcd8cc66c8f05200baeb1)) +- align cli versions ([#165](https://github.com/bgd-labs/aave-helpers/issues/165)) ([78e58db](https://github.com/bgd-labs/aave-helpers/commit/78e58dbd37f2d879313587dea0d2cd783aadade3)) +- allow one off error on repay ([#144](https://github.com/bgd-labs/aave-helpers/issues/144)) ([743c0fb](https://github.com/bgd-labs/aave-helpers/commit/743c0fbfcf8231b5fb420a72d7b6424d26ef7d59)) +- blocknumber for tests ([#191](https://github.com/bgd-labs/aave-helpers/issues/191)) ([216c880](https://github.com/bgd-labs/aave-helpers/commit/216c880096bb84b41035d5538c1abe5cbc119944)) +- bnb naming ([#282](https://github.com/bgd-labs/aave-helpers/issues/282)) ([ffdfec5](https://github.com/bgd-labs/aave-helpers/commit/ffdfec57ed1b7f90afbcdb108efc1141e91bc479)) +- borrow engine require ([#188](https://github.com/bgd-labs/aave-helpers/issues/188)) ([8a04d33](https://github.com/bgd-labs/aave-helpers/commit/8a04d33786d52b658e40e03d0b92d137383dabf7)) +- bump aave-cli ([0447d4e](https://github.com/bgd-labs/aave-helpers/commit/0447d4e30d2a6d625bda386b011211c6f05b808a)) +- bump address book ([#257](https://github.com/bgd-labs/aave-helpers/issues/257)) ([07ad879](https://github.com/bgd-labs/aave-helpers/commit/07ad879a8afb0f693e49fb4bdc6a7ef13d426c04)) +- bump address-book ([7da64a6](https://github.com/bgd-labs/aave-helpers/commit/7da64a6c8dfac96578d99b4f59c221a5f79e463b)) +- config engine payload bnb ([#181](https://github.com/bgd-labs/aave-helpers/issues/181)) ([cb11211](https://github.com/bgd-labs/aave-helpers/commit/cb11211b4df83d369438cf4a36bccce19bc28fbd)) +- createPayload method made internal so that it can be broadcasted ([#298](https://github.com/bgd-labs/aave-helpers/issues/298)) ([2f7c3c9](https://github.com/bgd-labs/aave-helpers/commit/2f7c3c9c2609c5d3f2b9df1de2c9f11ac445eb1a)) +- don't queue on govv2 when trying to execute payload via short ([#234](https://github.com/bgd-labs/aave-helpers/issues/234)) ([11ae64b](https://github.com/bgd-labs/aave-helpers/commit/11ae64bec0bbfd167a83deb840317c8c873cacba)) +- e2e ethereum mainnet ([#140](https://github.com/bgd-labs/aave-helpers/issues/140)) ([9ca17b6](https://github.com/bgd-labs/aave-helpers/commit/9ca17b6ecd99c1fe6209e944713fe6293ad37b4f)) +- fix typos ([#254](https://github.com/bgd-labs/aave-helpers/issues/254)) ([63eb8fa](https://github.com/bgd-labs/aave-helpers/commit/63eb8fa8d06286a11bc19bf17cbcb1fd6b8dba10)) +- foundry breaking changes ([#127](https://github.com/bgd-labs/aave-helpers/issues/127)) ([be96d3e](https://github.com/bgd-labs/aave-helpers/commit/be96d3ee4f43e5b9b6adec90b0bce85ab33dce0b)) +- losen version of aave-cli ([93c334c](https://github.com/bgd-labs/aave-helpers/commit/93c334c6d7dcde7abfbfc3222c1f143c84fc6f0c)) +- make irs compatible with stateful irs ([#262](https://github.com/bgd-labs/aave-helpers/issues/262)) ([0050f31](https://github.com/bgd-labs/aave-helpers/commit/0050f319b5773f9e0741128b6b342018eac4f6b5)) +- only do selectFork when fork is different ([#163](https://github.com/bgd-labs/aave-helpers/issues/163)) ([33f350c](https://github.com/bgd-labs/aave-helpers/commit/33f350cba2857cdd5ec921ca3a4fce1e7e2f1eba)) +- patch deal2 prank ([#230](https://github.com/bgd-labs/aave-helpers/issues/230)) ([6881c76](https://github.com/bgd-labs/aave-helpers/commit/6881c76494c4baa4d5c3cdcea00fab4bac05d13c)) +- patch ir import ([#275](https://github.com/bgd-labs/aave-helpers/issues/275)) ([5446518](https://github.com/bgd-labs/aave-helpers/commit/5446518a5e5a22a0d649305f8dd05d099c1aea55)) +- patch usdc ([#203](https://github.com/bgd-labs/aave-helpers/issues/203)) ([5481ac5](https://github.com/bgd-labs/aave-helpers/commit/5481ac5ca51c76f87dec0ef316942c51f10515dc)) +- patch usdc & supply cap tests ([#208](https://github.com/bgd-labs/aave-helpers/issues/208)) ([1adaebd](https://github.com/bgd-labs/aave-helpers/commit/1adaebd6fe409770e3a2d56560e0127df85b3e2e)) +- pin-version ([#149](https://github.com/bgd-labs/aave-helpers/issues/149)) ([b07db13](https://github.com/bgd-labs/aave-helpers/commit/b07db131e5068b22d05629b718dfa12283c4a10c)) +- properly reverse iterate ([#216](https://github.com/bgd-labs/aave-helpers/issues/216)) ([45cc9e8](https://github.com/bgd-labs/aave-helpers/commit/45cc9e8edf8374d5f32cccea2de24e1267da719b)) +- rely on local npm installation ([#171](https://github.com/bgd-labs/aave-helpers/issues/171)) ([2111f26](https://github.com/bgd-labs/aave-helpers/commit/2111f267b9f6d906ae8cbdf7e06dd693bbeff9bb)) +- remove \_ and add reference to source ([#190](https://github.com/bgd-labs/aave-helpers/issues/190)) ([abea2a7](https://github.com/bgd-labs/aave-helpers/commit/abea2a703edb9d90291833c4f19f44d2a7e53224)) +- remove aave interface link ([#183](https://github.com/bgd-labs/aave-helpers/issues/183)) ([251864a](https://github.com/bgd-labs/aave-helpers/commit/251864a684267dfb34c8d7b29b411f4ea8db38d0)) +- remove cap limitation ([#195](https://github.com/bgd-labs/aave-helpers/issues/195)) ([926c817](https://github.com/bgd-labs/aave-helpers/commit/926c817a72b15b10c54566fee443086518870ca1)) +- remove duplicated errors ([#148](https://github.com/bgd-labs/aave-helpers/issues/148)) ([f559d58](https://github.com/bgd-labs/aave-helpers/commit/f559d58dc0e40557e06d60675c318a2427a9aded)) +- remove tests for old stuff ([#222](https://github.com/bgd-labs/aave-helpers/issues/222)) ([fae3da0](https://github.com/bgd-labs/aave-helpers/commit/fae3da0811f41ecb30da1129976c53d15350b895)) +- replace snx whale ([#276](https://github.com/bgd-labs/aave-helpers/issues/276)) ([e716f32](https://github.com/bgd-labs/aave-helpers/commit/e716f32915a2fc1e3b7bf6ccdf913efb8b8ace96)) +- snapshot indexes ([#269](https://github.com/bgd-labs/aave-helpers/issues/269)) ([1daafea](https://github.com/bgd-labs/aave-helpers/commit/1daafea0e7f7baafa82d2b386e284e3850abf048)) +- snapshot with new interest rates strategy ([#259](https://github.com/bgd-labs/aave-helpers/issues/259)) ([bd87e61](https://github.com/bgd-labs/aave-helpers/commit/bd87e6189222e01cc2ddffb2551e94e06f716a1d)) +- update aave address book ([#281](https://github.com/bgd-labs/aave-helpers/issues/281)) ([7c84bd8](https://github.com/bgd-labs/aave-helpers/commit/7c84bd834bfc25e2cb7bda15ca4eb05328a6dde6)) +- update aave cli ([#235](https://github.com/bgd-labs/aave-helpers/issues/235)) ([3b4c2ab](https://github.com/bgd-labs/aave-helpers/commit/3b4c2abdef6efb1a984e0e76227c055caca2aa5b)) +- update address book with aDI bridge adapter interface ([#260](https://github.com/bgd-labs/aave-helpers/issues/260)) ([9505ee5](https://github.com/bgd-labs/aave-helpers/commit/9505ee51b420265c91912923e00c1b040c594485)) +- update for aligned BNB ([b49a36e](https://github.com/bgd-labs/aave-helpers/commit/b49a36e523b1d0c13d361419b937f249f305c72d)) +- update forge std etc ([#157](https://github.com/bgd-labs/aave-helpers/issues/157)) ([707ad78](https://github.com/bgd-labs/aave-helpers/commit/707ad78ffd9f58fedd85a029f32ac52ef74af15a)) +- update origin repo ([#316](https://github.com/bgd-labs/aave-helpers/issues/316)) ([6dc5580](https://github.com/bgd-labs/aave-helpers/commit/6dc5580361775bcee1c1f40c942c88ac3c8fb38a)) +- update tooling ([#279](https://github.com/bgd-labs/aave-helpers/issues/279)) ([d91ff89](https://github.com/bgd-labs/aave-helpers/commit/d91ff89512a10afce868166f90466a9f3ac7af4c)) +- updated adi tests. Updated chain ids ([#299](https://github.com/bgd-labs/aave-helpers/issues/299)) ([b645891](https://github.com/bgd-labs/aave-helpers/commit/b645891fb688b37f814940fcc3dc2650fc1ada79)) +- updated solidity utils. refactored safeApprove to forceApprove ([#131](https://github.com/bgd-labs/aave-helpers/issues/131)) ([a6f6c89](https://github.com/bgd-labs/aave-helpers/commit/a6f6c894f2cc02914c3d30beb3595945604ef692)) +- use create select fork always ([#164](https://github.com/bgd-labs/aave-helpers/issues/164)) ([963cc7b](https://github.com/bgd-labs/aave-helpers/commit/963cc7bab94078dadbf3668696bdd77f51dc65fe)) ## [2.3.0](https://github.com/bgd-labs/aave-helpers/compare/v2.2.0...v2.3.0) (2023-06-29) - ### Features -* add forwarders ([#72](https://github.com/bgd-labs/aave-helpers/issues/72)) ([49e85e7](https://github.com/bgd-labs/aave-helpers/commit/49e85e78a5a7290271e820dd5c5581384c55402a)) -* add oracle info ([#84](https://github.com/bgd-labs/aave-helpers/issues/84)) ([c273eec](https://github.com/bgd-labs/aave-helpers/commit/c273eec190a72ae956102a5f2e1dae892704817c)) -* add risk steward ([#83](https://github.com/bgd-labs/aave-helpers/issues/83)) ([1d973c4](https://github.com/bgd-labs/aave-helpers/commit/1d973c4f11f9938c8f97c805716a59de9e94474f)) -* add sentinel to snapshot ([#91](https://github.com/bgd-labs/aave-helpers/issues/91)) ([c339e88](https://github.com/bgd-labs/aave-helpers/commit/c339e889982651779b2e94dc94a5b1c9ac5563ba)) -* added _logStrategyPreviewUrlParams() to ProtocolV3TestBase and ProtocolV2TestBase ([#65](https://github.com/bgd-labs/aave-helpers/issues/65)) ([2c62d04](https://github.com/bgd-labs/aave-helpers/commit/2c62d04bb701c3791f9abe354bef66a23ad09a41)) -* finalize steward scripts ([#95](https://github.com/bgd-labs/aave-helpers/issues/95)) ([7be8b44](https://github.com/bgd-labs/aave-helpers/commit/7be8b441c667e2dc7a784b45f8a733cd8382687f)) -* finalize v2 addresses ([#103](https://github.com/bgd-labs/aave-helpers/issues/103)) ([1371a7c](https://github.com/bgd-labs/aave-helpers/commit/1371a7cca3777d4f3906a21c45477acc024d453b)) -* flatten structure ([#75](https://github.com/bgd-labs/aave-helpers/issues/75)) ([8e37485](https://github.com/bgd-labs/aave-helpers/commit/8e37485ff4a4d76e2783a97a2841bab4d0440836)) -* forwarder contract for metis ([#86](https://github.com/bgd-labs/aave-helpers/issues/86)) ([8b407ff](https://github.com/bgd-labs/aave-helpers/commit/8b407ff9554ab5e42b5da37dd5ec15cd13eb2244)) -* improve e2e testsuite ([#107](https://github.com/bgd-labs/aave-helpers/issues/107)) ([691f48c](https://github.com/bgd-labs/aave-helpers/commit/691f48cad066c5ea3fe924b906d48c557fe80e53)) -* improve v3 tests ([#104](https://github.com/bgd-labs/aave-helpers/issues/104)) ([7aebb79](https://github.com/bgd-labs/aave-helpers/commit/7aebb798c214bce19e777069b140fef94eaecb30)) -* include name/samybol of asv ([#106](https://github.com/bgd-labs/aave-helpers/issues/106)) ([4c81999](https://github.com/bgd-labs/aave-helpers/commit/4c819998905a1103ea50e4924d56632a6c77f0ac)) -* initialize as empty objects ([#87](https://github.com/bgd-labs/aave-helpers/issues/87)) ([89b8e02](https://github.com/bgd-labs/aave-helpers/commit/89b8e02b29897ba765a546e706fb9c2f74c801d7)) -* ipfs tools ([#90](https://github.com/bgd-labs/aave-helpers/issues/90)) ([8504b3e](https://github.com/bgd-labs/aave-helpers/commit/8504b3ebbeed210f98563b77202ba4b2a1c3ef37)) -* new governance tools ([#99](https://github.com/bgd-labs/aave-helpers/issues/99)) ([cec1bff](https://github.com/bgd-labs/aave-helpers/commit/cec1bff3ec6b80be7757bc40dfdbb886a9d8a99c)) -* patch deal (reverting caller) ([#110](https://github.com/bgd-labs/aave-helpers/issues/110)) ([32254d7](https://github.com/bgd-labs/aave-helpers/commit/32254d7305cf4c021620aba3537bbdb015c591cd)) -* patch v2 e2e suite ([#92](https://github.com/bgd-labs/aave-helpers/issues/92)) ([d9f4e2d](https://github.com/bgd-labs/aave-helpers/commit/d9f4e2db82863c7e579f8af5904769f0d5894dec)) -* rates base payload and factory for v2 ([#68](https://github.com/bgd-labs/aave-helpers/issues/68)) ([ccadc3c](https://github.com/bgd-labs/aave-helpers/commit/ccadc3caead3dde0835a75f0fe148b903a3692a0)) -* serialize chainId on v2 as well ([#80](https://github.com/bgd-labs/aave-helpers/issues/80)) ([136abd4](https://github.com/bgd-labs/aave-helpers/commit/136abd46bb8ee55bc6f0cf505a3886ac541aeff0)) -* show ipfs preview ([#100](https://github.com/bgd-labs/aave-helpers/issues/100)) ([4c4d223](https://github.com/bgd-labs/aave-helpers/commit/4c4d223940af14b107a1bc14defabfa5c511fea2)) -* snapshot symbol & name ([#105](https://github.com/bgd-labs/aave-helpers/issues/105)) ([5d303fe](https://github.com/bgd-labs/aave-helpers/commit/5d303fe0f0c424d8919953269ddf3851f91dccc4)) -* update deps ([#79](https://github.com/bgd-labs/aave-helpers/issues/79)) ([0a48f24](https://github.com/bgd-labs/aave-helpers/commit/0a48f2427814777666c05252aaadad208f52f47a)) -* update libraries ([#96](https://github.com/bgd-labs/aave-helpers/issues/96)) ([3b01622](https://github.com/bgd-labs/aave-helpers/commit/3b016220a02bb0fe3a7589e666bb6ea7ffdc3cde)) -* update-gov-scripts ([#116](https://github.com/bgd-labs/aave-helpers/issues/116)) ([9160727](https://github.com/bgd-labs/aave-helpers/commit/916072715cd641e4fd337ca084836efd259dcdc3)) -* upgrade ci ([#109](https://github.com/bgd-labs/aave-helpers/issues/109)) ([d476f42](https://github.com/bgd-labs/aave-helpers/commit/d476f421589e246b5870889a7d0bf75e4b6c3950)) -* use lib to read flags instead of doing calls ([#108](https://github.com/bgd-labs/aave-helpers/issues/108)) ([60dd764](https://github.com/bgd-labs/aave-helpers/commit/60dd764f9914ad08230601a8c07b42a30d433d3c)) - +- add forwarders ([#72](https://github.com/bgd-labs/aave-helpers/issues/72)) ([49e85e7](https://github.com/bgd-labs/aave-helpers/commit/49e85e78a5a7290271e820dd5c5581384c55402a)) +- add oracle info ([#84](https://github.com/bgd-labs/aave-helpers/issues/84)) ([c273eec](https://github.com/bgd-labs/aave-helpers/commit/c273eec190a72ae956102a5f2e1dae892704817c)) +- add risk steward ([#83](https://github.com/bgd-labs/aave-helpers/issues/83)) ([1d973c4](https://github.com/bgd-labs/aave-helpers/commit/1d973c4f11f9938c8f97c805716a59de9e94474f)) +- add sentinel to snapshot ([#91](https://github.com/bgd-labs/aave-helpers/issues/91)) ([c339e88](https://github.com/bgd-labs/aave-helpers/commit/c339e889982651779b2e94dc94a5b1c9ac5563ba)) +- added \_logStrategyPreviewUrlParams() to ProtocolV3TestBase and ProtocolV2TestBase ([#65](https://github.com/bgd-labs/aave-helpers/issues/65)) ([2c62d04](https://github.com/bgd-labs/aave-helpers/commit/2c62d04bb701c3791f9abe354bef66a23ad09a41)) +- finalize steward scripts ([#95](https://github.com/bgd-labs/aave-helpers/issues/95)) ([7be8b44](https://github.com/bgd-labs/aave-helpers/commit/7be8b441c667e2dc7a784b45f8a733cd8382687f)) +- finalize v2 addresses ([#103](https://github.com/bgd-labs/aave-helpers/issues/103)) ([1371a7c](https://github.com/bgd-labs/aave-helpers/commit/1371a7cca3777d4f3906a21c45477acc024d453b)) +- flatten structure ([#75](https://github.com/bgd-labs/aave-helpers/issues/75)) ([8e37485](https://github.com/bgd-labs/aave-helpers/commit/8e37485ff4a4d76e2783a97a2841bab4d0440836)) +- forwarder contract for metis ([#86](https://github.com/bgd-labs/aave-helpers/issues/86)) ([8b407ff](https://github.com/bgd-labs/aave-helpers/commit/8b407ff9554ab5e42b5da37dd5ec15cd13eb2244)) +- improve e2e testsuite ([#107](https://github.com/bgd-labs/aave-helpers/issues/107)) ([691f48c](https://github.com/bgd-labs/aave-helpers/commit/691f48cad066c5ea3fe924b906d48c557fe80e53)) +- improve v3 tests ([#104](https://github.com/bgd-labs/aave-helpers/issues/104)) ([7aebb79](https://github.com/bgd-labs/aave-helpers/commit/7aebb798c214bce19e777069b140fef94eaecb30)) +- include name/samybol of asv ([#106](https://github.com/bgd-labs/aave-helpers/issues/106)) ([4c81999](https://github.com/bgd-labs/aave-helpers/commit/4c819998905a1103ea50e4924d56632a6c77f0ac)) +- initialize as empty objects ([#87](https://github.com/bgd-labs/aave-helpers/issues/87)) ([89b8e02](https://github.com/bgd-labs/aave-helpers/commit/89b8e02b29897ba765a546e706fb9c2f74c801d7)) +- ipfs tools ([#90](https://github.com/bgd-labs/aave-helpers/issues/90)) ([8504b3e](https://github.com/bgd-labs/aave-helpers/commit/8504b3ebbeed210f98563b77202ba4b2a1c3ef37)) +- new governance tools ([#99](https://github.com/bgd-labs/aave-helpers/issues/99)) ([cec1bff](https://github.com/bgd-labs/aave-helpers/commit/cec1bff3ec6b80be7757bc40dfdbb886a9d8a99c)) +- patch deal (reverting caller) ([#110](https://github.com/bgd-labs/aave-helpers/issues/110)) ([32254d7](https://github.com/bgd-labs/aave-helpers/commit/32254d7305cf4c021620aba3537bbdb015c591cd)) +- patch v2 e2e suite ([#92](https://github.com/bgd-labs/aave-helpers/issues/92)) ([d9f4e2d](https://github.com/bgd-labs/aave-helpers/commit/d9f4e2db82863c7e579f8af5904769f0d5894dec)) +- rates base payload and factory for v2 ([#68](https://github.com/bgd-labs/aave-helpers/issues/68)) ([ccadc3c](https://github.com/bgd-labs/aave-helpers/commit/ccadc3caead3dde0835a75f0fe148b903a3692a0)) +- serialize chainId on v2 as well ([#80](https://github.com/bgd-labs/aave-helpers/issues/80)) ([136abd4](https://github.com/bgd-labs/aave-helpers/commit/136abd46bb8ee55bc6f0cf505a3886ac541aeff0)) +- show ipfs preview ([#100](https://github.com/bgd-labs/aave-helpers/issues/100)) ([4c4d223](https://github.com/bgd-labs/aave-helpers/commit/4c4d223940af14b107a1bc14defabfa5c511fea2)) +- snapshot symbol & name ([#105](https://github.com/bgd-labs/aave-helpers/issues/105)) ([5d303fe](https://github.com/bgd-labs/aave-helpers/commit/5d303fe0f0c424d8919953269ddf3851f91dccc4)) +- update deps ([#79](https://github.com/bgd-labs/aave-helpers/issues/79)) ([0a48f24](https://github.com/bgd-labs/aave-helpers/commit/0a48f2427814777666c05252aaadad208f52f47a)) +- update libraries ([#96](https://github.com/bgd-labs/aave-helpers/issues/96)) ([3b01622](https://github.com/bgd-labs/aave-helpers/commit/3b016220a02bb0fe3a7589e666bb6ea7ffdc3cde)) +- update-gov-scripts ([#116](https://github.com/bgd-labs/aave-helpers/issues/116)) ([9160727](https://github.com/bgd-labs/aave-helpers/commit/916072715cd641e4fd337ca084836efd259dcdc3)) +- upgrade ci ([#109](https://github.com/bgd-labs/aave-helpers/issues/109)) ([d476f42](https://github.com/bgd-labs/aave-helpers/commit/d476f421589e246b5870889a7d0bf75e4b6c3950)) +- use lib to read flags instead of doing calls ([#108](https://github.com/bgd-labs/aave-helpers/issues/108)) ([60dd764](https://github.com/bgd-labs/aave-helpers/commit/60dd764f9914ad08230601a8c07b42a30d433d3c)) ### Bug Fixes -* 0.8 compat ([#69](https://github.com/bgd-labs/aave-helpers/issues/69)) ([78b55aa](https://github.com/bgd-labs/aave-helpers/commit/78b55aadb671b03cde196673d3524399a21bbf33)) -* add missing scripts ([#82](https://github.com/bgd-labs/aave-helpers/issues/82)) ([afe2a9f](https://github.com/bgd-labs/aave-helpers/commit/afe2a9fd060a5a6ff9871f448548e5009e1de6ea)) -* bump aave-address-book ([3da36e6](https://github.com/bgd-labs/aave-helpers/commit/3da36e6fdfd6543bb1c6f7b7b2fcc0506015a97c)) -* diff-snapshot**s** typo ([#101](https://github.com/bgd-labs/aave-helpers/issues/101)) ([b239952](https://github.com/bgd-labs/aave-helpers/commit/b2399522b7f41477358e61c48eec0dbb2ffbd29f)) -* error string not reflecting actual error ([#112](https://github.com/bgd-labs/aave-helpers/issues/112)) ([2ebb620](https://github.com/bgd-labs/aave-helpers/commit/2ebb62097723c2bcb95b4a01c2eff336dae50a6f)) -* ethereum e2e ([#98](https://github.com/bgd-labs/aave-helpers/issues/98)) ([cfd9133](https://github.com/bgd-labs/aave-helpers/commit/cfd91334e58b36fdeb0296d3cb8e40a85ed3d954)) -* fix linting ([1d24015](https://github.com/bgd-labs/aave-helpers/commit/1d2401543d737dd9aa621b5a8730afa55714fe03)) -* resolve slight inconsistency on oracle.DECIMALS ([#89](https://github.com/bgd-labs/aave-helpers/issues/89)) ([0ccea16](https://github.com/bgd-labs/aave-helpers/commit/0ccea1639301700c59db40586cf36f96d08b7457)) -* write config to json ([#71](https://github.com/bgd-labs/aave-helpers/issues/71)) ([0a77460](https://github.com/bgd-labs/aave-helpers/commit/0a774604ebf4019a9dc44768e2085a1ea053d6db)) +- 0.8 compat ([#69](https://github.com/bgd-labs/aave-helpers/issues/69)) ([78b55aa](https://github.com/bgd-labs/aave-helpers/commit/78b55aadb671b03cde196673d3524399a21bbf33)) +- add missing scripts ([#82](https://github.com/bgd-labs/aave-helpers/issues/82)) ([afe2a9f](https://github.com/bgd-labs/aave-helpers/commit/afe2a9fd060a5a6ff9871f448548e5009e1de6ea)) +- bump aave-address-book ([3da36e6](https://github.com/bgd-labs/aave-helpers/commit/3da36e6fdfd6543bb1c6f7b7b2fcc0506015a97c)) +- diff-snapshot**s** typo ([#101](https://github.com/bgd-labs/aave-helpers/issues/101)) ([b239952](https://github.com/bgd-labs/aave-helpers/commit/b2399522b7f41477358e61c48eec0dbb2ffbd29f)) +- error string not reflecting actual error ([#112](https://github.com/bgd-labs/aave-helpers/issues/112)) ([2ebb620](https://github.com/bgd-labs/aave-helpers/commit/2ebb62097723c2bcb95b4a01c2eff336dae50a6f)) +- ethereum e2e ([#98](https://github.com/bgd-labs/aave-helpers/issues/98)) ([cfd9133](https://github.com/bgd-labs/aave-helpers/commit/cfd91334e58b36fdeb0296d3cb8e40a85ed3d954)) +- fix linting ([1d24015](https://github.com/bgd-labs/aave-helpers/commit/1d2401543d737dd9aa621b5a8730afa55714fe03)) +- resolve slight inconsistency on oracle.DECIMALS ([#89](https://github.com/bgd-labs/aave-helpers/issues/89)) ([0ccea16](https://github.com/bgd-labs/aave-helpers/commit/0ccea1639301700c59db40586cf36f96d08b7457)) +- write config to json ([#71](https://github.com/bgd-labs/aave-helpers/issues/71)) ([0a77460](https://github.com/bgd-labs/aave-helpers/commit/0a774604ebf4019a9dc44768e2085a1ea053d6db)) ## [2.2.0](https://github.com/bgd-labs/aave-helpers/compare/v2.1.0...v2.2.0) (2023-02-22) - ### Features -* added few methods to gov helpers ([#54](https://github.com/bgd-labs/aave-helpers/issues/54)) ([fd8f23f](https://github.com/bgd-labs/aave-helpers/commit/fd8f23fe701324d202599e3255fd7d52fb611321)) -* emit logs ([#56](https://github.com/bgd-labs/aave-helpers/issues/56)) ([c8ef834](https://github.com/bgd-labs/aave-helpers/commit/c8ef8348647a33a38562ba35892366afde0d93b4)) +- added few methods to gov helpers ([#54](https://github.com/bgd-labs/aave-helpers/issues/54)) ([fd8f23f](https://github.com/bgd-labs/aave-helpers/commit/fd8f23fe701324d202599e3255fd7d52fb611321)) +- emit logs ([#56](https://github.com/bgd-labs/aave-helpers/issues/56)) ([c8ef834](https://github.com/bgd-labs/aave-helpers/commit/c8ef8348647a33a38562ba35892366afde0d93b4)) ## [2.1.0](https://github.com/bgd-labs/aave-helpers/compare/v2.0.0...v2.1.0) (2023-02-14) - ### Features -* add listing engines to helpers ([#52](https://github.com/bgd-labs/aave-helpers/issues/52)) ([b063743](https://github.com/bgd-labs/aave-helpers/commit/b063743a0b206a0e2cf073740ea2d94e4cc4cb6e)) -* report diffing `diffReports` ([#48](https://github.com/bgd-labs/aave-helpers/issues/48)) ([ca99238](https://github.com/bgd-labs/aave-helpers/commit/ca992385b8542254494463ca005603b42f9f1119)) - +- add listing engines to helpers ([#52](https://github.com/bgd-labs/aave-helpers/issues/52)) ([b063743](https://github.com/bgd-labs/aave-helpers/commit/b063743a0b206a0e2cf073740ea2d94e4cc4cb6e)) +- report diffing `diffReports` ([#48](https://github.com/bgd-labs/aave-helpers/issues/48)) ([ca99238](https://github.com/bgd-labs/aave-helpers/commit/ca992385b8542254494463ca005603b42f9f1119)) ### Bug Fixes -* enforce non zero targets on executor ([#47](https://github.com/bgd-labs/aave-helpers/issues/47)) ([23fb586](https://github.com/bgd-labs/aave-helpers/commit/23fb58612dc7b08829a137983577c85b919581a7)) +- enforce non zero targets on executor ([#47](https://github.com/bgd-labs/aave-helpers/issues/47)) ([23fb586](https://github.com/bgd-labs/aave-helpers/commit/23fb58612dc7b08829a137983577c85b919581a7)) ## [2.0.0](https://github.com/bgd-labs/aave-helpers/compare/v1.6.0...v2.0.0) (2023-02-02) - ### ⚠ BREAKING CHANGES -* - gov helpers no longer re-exports addresses, fetch them from address-book instead (https://github.com/bgd-labs/aave-address-book/blob/main/src/AaveGovernanceV2.sol) -- `createProposal` was renamed to `createTestProposal` -- the new `createProposal` is intended to be used for actual proposal creation and enforces delegatecall style proposals +- - gov helpers no longer re-exports addresses, fetch them from address-book instead (https://github.com/bgd-labs/aave-address-book/blob/main/src/AaveGovernanceV2.sol) -### Features +* `createProposal` was renamed to `createTestProposal` +* the new `createProposal` is intended to be used for actual proposal creation and enforces delegatecall style proposals -* add implementation snapshots to v3 configurationSnapshots ([#43](https://github.com/bgd-labs/aave-helpers/issues/43)) ([e10aa98](https://github.com/bgd-labs/aave-helpers/commit/e10aa98d42b5cafa862671fee189e0d54a2fddfa)) +### Features +- add implementation snapshots to v3 configurationSnapshots ([#43](https://github.com/bgd-labs/aave-helpers/issues/43)) ([e10aa98](https://github.com/bgd-labs/aave-helpers/commit/e10aa98d42b5cafa862671fee189e0d54a2fddfa)) -* !feat: proposal creation helpers (#42) ([13a9871](https://github.com/bgd-labs/aave-helpers/commit/13a987167450a65fe27d9df940628c26b6780b33)), closes [#42](https://github.com/bgd-labs/aave-helpers/issues/42) +- !feat: proposal creation helpers (#42) ([13a9871](https://github.com/bgd-labs/aave-helpers/commit/13a987167450a65fe27d9df940628c26b6780b33)), closes [#42](https://github.com/bgd-labs/aave-helpers/issues/42) ## [1.6.0](https://github.com/bgd-labs/aave-helpers/compare/v1.5.0...v1.6.0) (2023-01-31) - ### Features -* v2 test base ([#40](https://github.com/bgd-labs/aave-helpers/issues/40)) ([2643d4f](https://github.com/bgd-labs/aave-helpers/commit/2643d4f07cc9fd669d780851705fb4d243a60a9d)) - +- v2 test base ([#40](https://github.com/bgd-labs/aave-helpers/issues/40)) ([2643d4f](https://github.com/bgd-labs/aave-helpers/commit/2643d4f07cc9fd669d780851705fb4d243a60a9d)) ### Bug Fixes -* downgrade scripts ([#38](https://github.com/bgd-labs/aave-helpers/issues/38)) ([8d5c922](https://github.com/bgd-labs/aave-helpers/commit/8d5c922296a82991d93676475cf3d9c9952ed7e1)), closes [#37](https://github.com/bgd-labs/aave-helpers/issues/37) -* use correct minimum version ([#37](https://github.com/bgd-labs/aave-helpers/issues/37)) ([1d1d286](https://github.com/bgd-labs/aave-helpers/commit/1d1d2864f1abda6582c315dff1bce3062cc38a14)) +- downgrade scripts ([#38](https://github.com/bgd-labs/aave-helpers/issues/38)) ([8d5c922](https://github.com/bgd-labs/aave-helpers/commit/8d5c922296a82991d93676475cf3d9c9952ed7e1)), closes [#37](https://github.com/bgd-labs/aave-helpers/issues/37) +- use correct minimum version ([#37](https://github.com/bgd-labs/aave-helpers/issues/37)) ([1d1d286](https://github.com/bgd-labs/aave-helpers/commit/1d1d2864f1abda6582c315dff1bce3062cc38a14)) ## [1.5.0](https://github.com/bgd-labs/aave-helpers/compare/v1.4.0...v1.5.0) (2023-01-26) - ### Features -* add generic executor ([#34](https://github.com/bgd-labs/aave-helpers/issues/34)) ([8f5f9d3](https://github.com/bgd-labs/aave-helpers/commit/8f5f9d3e3b9bbf09cf90625d0f568f0025724f68)) +- add generic executor ([#34](https://github.com/bgd-labs/aave-helpers/issues/34)) ([8f5f9d3](https://github.com/bgd-labs/aave-helpers/commit/8f5f9d3e3b9bbf09cf90625d0f568f0025724f68)) ## [1.4.0](https://github.com/bgd-labs/aave-helpers/compare/v1.2.3...v1.4.0) (2023-01-19) - ### Features -* add 3_0_1 snapshot ([#32](https://github.com/bgd-labs/aave-helpers/issues/32)) ([3a17bb9](https://github.com/bgd-labs/aave-helpers/commit/3a17bb9ec62f30ce14126e6585d8a66c27ded5e0)) -* added TestWithExecutor contract to GovHelpers ([5449659](https://github.com/bgd-labs/aave-helpers/commit/5449659a6599af29d367e3753acfb056747f53a3)) - +- add 3_0_1 snapshot ([#32](https://github.com/bgd-labs/aave-helpers/issues/32)) ([3a17bb9](https://github.com/bgd-labs/aave-helpers/commit/3a17bb9ec62f30ce14126e6585d8a66c27ded5e0)) +- added TestWithExecutor contract to GovHelpers ([5449659](https://github.com/bgd-labs/aave-helpers/commit/5449659a6599af29d367e3753acfb056747f53a3)) ### Bug Fixes -* add _clone() of ReserveConfig for _findReserveConfigBySymbol() and _findReserveConfig() ([#27](https://github.com/bgd-labs/aave-helpers/issues/27)) ([043e0cc](https://github.com/bgd-labs/aave-helpers/commit/043e0cc275882f44410bedd56f0d173c254e403c)) +- add \_clone() of ReserveConfig for \_findReserveConfigBySymbol() and \_findReserveConfig() ([#27](https://github.com/bgd-labs/aave-helpers/issues/27)) ([043e0cc](https://github.com/bgd-labs/aave-helpers/commit/043e0cc275882f44410bedd56f0d173c254e403c)) ## [1.3.0](https://github.com/bgd-labs/aave-helpers/compare/v1.2.3...v1.3.0) (2023-01-19) - ### Features -* added TestWithExecutor contract to GovHelpers ([5449659](https://github.com/bgd-labs/aave-helpers/commit/5449659a6599af29d367e3753acfb056747f53a3)) - +- added TestWithExecutor contract to GovHelpers ([5449659](https://github.com/bgd-labs/aave-helpers/commit/5449659a6599af29d367e3753acfb056747f53a3)) ### Bug Fixes -* add _clone() of ReserveConfig for _findReserveConfigBySymbol() and _findReserveConfig() ([#27](https://github.com/bgd-labs/aave-helpers/issues/27)) ([043e0cc](https://github.com/bgd-labs/aave-helpers/commit/043e0cc275882f44410bedd56f0d173c254e403c)) +- add \_clone() of ReserveConfig for \_findReserveConfigBySymbol() and \_findReserveConfig() ([#27](https://github.com/bgd-labs/aave-helpers/issues/27)) ([043e0cc](https://github.com/bgd-labs/aave-helpers/commit/043e0cc275882f44410bedd56f0d173c254e403c)) ### [1.2.5](https://github.com/bgd-labs/aave-helpers/compare/v1.2.3...v1.2.5) (2023-01-18) - ### Bug Fixes -* add _clone() of ReserveConfig for _findReserveConfigBySymbol() and _findReserveConfig() ([#27](https://github.com/bgd-labs/aave-helpers/issues/27)) ([043e0cc](https://github.com/bgd-labs/aave-helpers/commit/043e0cc275882f44410bedd56f0d173c254e403c)) +- add \_clone() of ReserveConfig for \_findReserveConfigBySymbol() and \_findReserveConfig() ([#27](https://github.com/bgd-labs/aave-helpers/issues/27)) ([043e0cc](https://github.com/bgd-labs/aave-helpers/commit/043e0cc275882f44410bedd56f0d173c254e403c)) ### [1.2.4](https://github.com/bgd-labs/aave-helpers/compare/v1.2.3...v1.2.4) (2023-01-17) @@ -234,34 +218,30 @@ All notable changes to this project will be documented in this file. See [standa ## [1.2.0](https://github.com/bgd-labs/aave-helpers/compare/v1.1.0...v1.2.0) (2022-12-10) - ### Features -* add bridge executor helper ([#6](https://github.com/bgd-labs/aave-helpers/issues/6)) ([c370d02](https://github.com/bgd-labs/aave-helpers/commit/c370d021d365c3a0a52c8022e0dc83f5bd656bc9)) -* add findReserveConfigBySymbol ([6ce8276](https://github.com/bgd-labs/aave-helpers/commit/6ce82762b37f39d9ed1c13d96d4da3aafb0d3fa1)) -* add helper for fetching current implementation ([#17](https://github.com/bgd-labs/aave-helpers/issues/17)) ([2118f43](https://github.com/bgd-labs/aave-helpers/commit/2118f43a4c1d6eb1f27aaa36e2a703288d40569d)) -* add missing governance methods ([#10](https://github.com/bgd-labs/aave-helpers/issues/10)) ([7de5219](https://github.com/bgd-labs/aave-helpers/commit/7de52196667e7f411d3c5ba403138948451a1dee)) -* add repay method ([#14](https://github.com/bgd-labs/aave-helpers/issues/14)) ([e00fd13](https://github.com/bgd-labs/aave-helpers/commit/e00fd1381616c2373acf74e2f30aec467d1b7468)) -* extend AaveTestBase v3 ([#12](https://github.com/bgd-labs/aave-helpers/issues/12)) ([8ee6ee7](https://github.com/bgd-labs/aave-helpers/commit/8ee6ee727e0c0a6970a4171b1b51bc3cc0b2f727)) -* protocol test ([#11](https://github.com/bgd-labs/aave-helpers/issues/11)) ([80379df](https://github.com/bgd-labs/aave-helpers/commit/80379dfd60e9b205c0b42e741a9ecc9fc24de072)) -* use governance from address book DRY ([#16](https://github.com/bgd-labs/aave-helpers/issues/16)) ([eebcded](https://github.com/bgd-labs/aave-helpers/commit/eebcded1684bb0feed13fb01f4d9bd9fd42c0618)) - +- add bridge executor helper ([#6](https://github.com/bgd-labs/aave-helpers/issues/6)) ([c370d02](https://github.com/bgd-labs/aave-helpers/commit/c370d021d365c3a0a52c8022e0dc83f5bd656bc9)) +- add findReserveConfigBySymbol ([6ce8276](https://github.com/bgd-labs/aave-helpers/commit/6ce82762b37f39d9ed1c13d96d4da3aafb0d3fa1)) +- add helper for fetching current implementation ([#17](https://github.com/bgd-labs/aave-helpers/issues/17)) ([2118f43](https://github.com/bgd-labs/aave-helpers/commit/2118f43a4c1d6eb1f27aaa36e2a703288d40569d)) +- add missing governance methods ([#10](https://github.com/bgd-labs/aave-helpers/issues/10)) ([7de5219](https://github.com/bgd-labs/aave-helpers/commit/7de52196667e7f411d3c5ba403138948451a1dee)) +- add repay method ([#14](https://github.com/bgd-labs/aave-helpers/issues/14)) ([e00fd13](https://github.com/bgd-labs/aave-helpers/commit/e00fd1381616c2373acf74e2f30aec467d1b7468)) +- extend AaveTestBase v3 ([#12](https://github.com/bgd-labs/aave-helpers/issues/12)) ([8ee6ee7](https://github.com/bgd-labs/aave-helpers/commit/8ee6ee727e0c0a6970a4171b1b51bc3cc0b2f727)) +- protocol test ([#11](https://github.com/bgd-labs/aave-helpers/issues/11)) ([80379df](https://github.com/bgd-labs/aave-helpers/commit/80379dfd60e9b205c0b42e741a9ecc9fc24de072)) +- use governance from address book DRY ([#16](https://github.com/bgd-labs/aave-helpers/issues/16)) ([eebcded](https://github.com/bgd-labs/aave-helpers/commit/eebcded1684bb0feed13fb01f4d9bd9fd42c0618)) ### Bug Fixes -* allow supplying user ([dc78ec0](https://github.com/bgd-labs/aave-helpers/commit/dc78ec0931d0151f4f936b7fe2bddb003885d3bd)) -* improve e2e test ([#15](https://github.com/bgd-labs/aave-helpers/issues/15)) ([0e7a51a](https://github.com/bgd-labs/aave-helpers/commit/0e7a51afbc174efcf9a037a4a24c14dd162e36eb)) -* updated constants to actual address ([#18](https://github.com/bgd-labs/aave-helpers/issues/18)) ([6d13520](https://github.com/bgd-labs/aave-helpers/commit/6d1352014561faeea5039be35c9b6de24e709e31)) +- allow supplying user ([dc78ec0](https://github.com/bgd-labs/aave-helpers/commit/dc78ec0931d0151f4f936b7fe2bddb003885d3bd)) +- improve e2e test ([#15](https://github.com/bgd-labs/aave-helpers/issues/15)) ([0e7a51a](https://github.com/bgd-labs/aave-helpers/commit/0e7a51afbc174efcf9a037a4a24c14dd162e36eb)) +- updated constants to actual address ([#18](https://github.com/bgd-labs/aave-helpers/issues/18)) ([6d13520](https://github.com/bgd-labs/aave-helpers/commit/6d1352014561faeea5039be35c9b6de24e709e31)) ## 1.1.0 (2022-08-02) - ### Features -* add main entry point for helpers ([#4](https://github.com/bgd-labs/aave-helpers/issues/4)) ([76217c4](https://github.com/bgd-labs/aave-helpers/commit/76217c48de701501a0d9887e6e9b7153159dc31b)) -* governance and proxy helpers ([37884c8](https://github.com/bgd-labs/aave-helpers/commit/37884c8d853af8eba5d592c8c5f35010b2161aaa)) - +- add main entry point for helpers ([#4](https://github.com/bgd-labs/aave-helpers/issues/4)) ([76217c4](https://github.com/bgd-labs/aave-helpers/commit/76217c48de701501a0d9887e6e9b7153159dc31b)) +- governance and proxy helpers ([37884c8](https://github.com/bgd-labs/aave-helpers/commit/37884c8d853af8eba5d592c8c5f35010b2161aaa)) ### Bug Fixes -* fix goverannce helper ([38d6284](https://github.com/bgd-labs/aave-helpers/commit/38d6284dec1fd24413fefb8e7ae1c1a70df50966)) +- fix goverannce helper ([38d6284](https://github.com/bgd-labs/aave-helpers/commit/38d6284dec1fd24413fefb8e7ae1c1a70df50966)) diff --git a/diffs/AMMTEST_before_AMMTEST_after.md b/diffs/AMMTEST_before_AMMTEST_after.md index c15d3e2bc..722a7620e 100644 --- a/diffs/AMMTEST_before_AMMTEST_after.md +++ b/diffs/AMMTEST_before_AMMTEST_after.md @@ -2,4 +2,4 @@ ```json {} -``` \ No newline at end of file +``` diff --git a/diffs/adi_test_adi_diffs_before_adi_test_adi_diffs_after.md b/diffs/adi_test_adi_diffs_before_adi_test_adi_diffs_after.md index 18b9b3e83..1687f0074 100644 --- a/diffs/adi_test_adi_diffs_before_adi_test_adi_diffs_after.md +++ b/diffs/adi_test_adi_diffs_before_adi_test_adi_diffs_after.md @@ -19,4 +19,4 @@ } } } -``` \ No newline at end of file +``` diff --git a/diffs/default_before_default_after.md b/diffs/default_before_default_after.md index 6121385e0..06dfc7ed7 100644 --- a/diffs/default_before_default_after.md +++ b/diffs/default_before_default_after.md @@ -32,4 +32,4 @@ } } } -``` \ No newline at end of file +``` diff --git a/diffs/preTestV2RatesUpdates_postTestV2RatesUpdates.md b/diffs/preTestV2RatesUpdates_postTestV2RatesUpdates.md index 66bc0a889..de894e022 100644 --- a/diffs/preTestV2RatesUpdates_postTestV2RatesUpdates.md +++ b/diffs/preTestV2RatesUpdates_postTestV2RatesUpdates.md @@ -4,14 +4,14 @@ #### USDC ([0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48](https://etherscan.io/address/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48)) -| description | value before | value after | -| --- | --- | --- | +| description | value before | value after | +| -------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | | interestRateStrategy | [0xF1722FBCAc1C49bA57a77c3F4373A4bb86a46e60](https://etherscan.io/address/0xF1722FBCAc1C49bA57a77c3F4373A4bb86a46e60) | [0x3c7eb05B1C910542EC236c541f183B07787cC3ff](https://etherscan.io/address/0x3c7eb05B1C910542EC236c541f183B07787cC3ff) | -| variableRateSlope1 | 6.5 % | 42 % | -| stableRateSlope1 | 2 % | 69 % | -| optimalUsageRatio | 90 % | 69 % | -| maxExcessUsageRatio | 10 % | 31 % | -| interestRate | ![before](/.assets/23e67c7d46dd80f36d580b243c5716c84080a34f.svg) | ![after](/.assets/64fd6acec636adec0e975e8031f8e3f7fb87bb7d.svg) | +| variableRateSlope1 | 6.5 % | 42 % | +| stableRateSlope1 | 2 % | 69 % | +| optimalUsageRatio | 90 % | 69 % | +| maxExcessUsageRatio | 10 % | 31 % | +| interestRate | ![before](/.assets/23e67c7d46dd80f36d580b243c5716c84080a34f.svg) | ![after](/.assets/64fd6acec636adec0e975e8031f8e3f7fb87bb7d.svg) | ## Raw diff @@ -50,4 +50,4 @@ } } } -``` \ No newline at end of file +``` diff --git a/diffs/zksync_before_zksync_after.md b/diffs/zksync_before_zksync_after.md index c15d3e2bc..722a7620e 100644 --- a/diffs/zksync_before_zksync_after.md +++ b/diffs/zksync_before_zksync_after.md @@ -2,4 +2,4 @@ ```json {} -``` \ No newline at end of file +``` diff --git a/lib/aave-address-book b/lib/aave-address-book index c7900adaa..f6a6f9e99 160000 --- a/lib/aave-address-book +++ b/lib/aave-address-book @@ -1 +1 @@ -Subproject commit c7900adaa8b454ae3e7b24cb729283257978c9eb +Subproject commit f6a6f9e99a6d225a85f8411eb16f0c80ac85ca12 diff --git a/package.json b/package.json index d82e2568b..097b1ee32 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,7 @@ "test": "tests" }, "scripts": { - "lint:fix": "prettier --write 'src/**/*.sol'", - "prettier:tests": "prettier --write 'tests/**/*.sol'" + "lint:fix": "prettier --write ." }, "repository": { "type": "git", diff --git a/scripts/AaveSwapperDeployment.s.sol b/scripts/AaveSwapperDeployment.s.sol index 988061160..03ac2817c 100644 --- a/scripts/AaveSwapperDeployment.s.sol +++ b/scripts/AaveSwapperDeployment.s.sol @@ -4,8 +4,8 @@ pragma solidity ^0.8.0; import {Script} from 'forge-std/Script.sol'; import {MiscEthereum} from 'aave-address-book/MiscEthereum.sol'; -import {ITransparentProxyFactory, ProxyAdmin} from 'solidity-utils/contracts/transparent-proxy/interfaces/ITransparentProxyFactory.sol'; - +import {GovernanceV3Ethereum} from 'aave-address-book/GovernanceV3Ethereum.sol'; +import {ITransparentProxyFactory} from 'solidity-utils/contracts/transparent-proxy/interfaces/ITransparentProxyFactory.sol'; import {AaveSwapper} from 'src/swaps/AaveSwapper.sol'; contract DeployAaveSwapper is Script { @@ -15,8 +15,8 @@ contract DeployAaveSwapper is Script { address aaveSwapper = address(new AaveSwapper()); ITransparentProxyFactory(MiscEthereum.TRANSPARENT_PROXY_FACTORY).create( aaveSwapper, - ProxyAdmin(MiscEthereum.PROXY_ADMIN), - abi.encodeWithSelector(AaveSwapper.initialize.selector) + GovernanceV3Ethereum.EXECUTOR_LVL_1, + abi.encodeWithSelector(AaveSwapper.initialize.selector, GovernanceV3Ethereum.EXECUTOR_LVL_1) ); vm.stopBroadcast(); diff --git a/scripts/DeployBridges.s.sol b/scripts/DeployBridges.s.sol index b296db95e..247e7505c 100644 --- a/scripts/DeployBridges.s.sol +++ b/scripts/DeployBridges.s.sol @@ -2,7 +2,7 @@ pragma solidity ^0.8.0; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; import {GovernanceV3Ethereum} from 'aave-address-book/GovernanceV3Ethereum.sol'; import {GovernanceV3Optimism} from 'aave-address-book/GovernanceV3Optimism.sol'; import {GovernanceV3Polygon} from 'aave-address-book/GovernanceV3Polygon.sol'; diff --git a/scripts/V2RateStrategyFactory.s.sol b/scripts/V2RateStrategyFactory.s.sol index 2203156e7..3ec7de2fc 100644 --- a/scripts/V2RateStrategyFactory.s.sol +++ b/scripts/V2RateStrategyFactory.s.sol @@ -11,7 +11,8 @@ import {AaveV2EthereumAMM} from 'aave-address-book/AaveV2EthereumAMM.sol'; import {AaveV2Polygon} from 'aave-address-book/AaveV2Polygon.sol'; import {AaveV2Avalanche} from 'aave-address-book/AaveV2Avalanche.sol'; import 'solidity-utils/contracts/utils/ScriptUtils.sol'; -import {ITransparentProxyFactory, ProxyAdmin} from 'solidity-utils/contracts/transparent-proxy/interfaces/ITransparentProxyFactory.sol'; +import {GovernanceV3Ethereum} from 'aave-address-book/GovernanceV3Ethereum.sol'; +import {ITransparentProxyFactory} from 'solidity-utils/contracts/transparent-proxy/interfaces/ITransparentProxyFactory.sol'; import {V2RateStrategyFactory} from '../src/v2-config-engine/V2RateStrategyFactory.sol'; library DeployV2RatesFactoryLib { @@ -59,7 +60,7 @@ library DeployV2RatesFactoryLib { V2RateStrategyFactory ratesFactory = V2RateStrategyFactory( ITransparentProxyFactory(transparentProxyFactory).create( address(new V2RateStrategyFactory(addressesProvider)), - ProxyAdmin(ownerForFactory), + ownerForFactory, abi.encodeWithSelector(V2RateStrategyFactory.initialize.selector, uniqueStrategies) ) ); diff --git a/src/CollectorUtils.sol b/src/CollectorUtils.sol index 7096d8434..aafc18541 100644 --- a/src/CollectorUtils.sol +++ b/src/CollectorUtils.sol @@ -4,8 +4,8 @@ pragma solidity ^0.8.0; import {IPool, DataTypes} from 'aave-address-book/AaveV3.sol'; import {ICollector} from 'aave-address-book/common/ICollector.sol'; import {ILendingPool, DataTypes as V2DataTypes} from 'aave-address-book/AaveV2.sol'; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; -import {SafeERC20} from 'solidity-utils/contracts/oz-common/SafeERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; +import {SafeERC20} from 'openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol'; import {AaveSwapper} from './swaps/AaveSwapper.sol'; import {IChainlinkAggregator} from './interfaces/IChainlinkAggregator.sol'; diff --git a/src/CommonTestBase.sol b/src/CommonTestBase.sol index 315654f9c..ead74a6a5 100644 --- a/src/CommonTestBase.sol +++ b/src/CommonTestBase.sol @@ -4,7 +4,7 @@ pragma solidity >=0.7.5 <0.9.0; import 'forge-std/StdJson.sol'; import 'forge-std/Test.sol'; import {VmSafe} from 'forge-std/Vm.sol'; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; import {MiscEthereum} from 'aave-address-book/MiscEthereum.sol'; import {AaveV2EthereumAssets} from 'aave-address-book/AaveV2Ethereum.sol'; import {AaveV3OptimismAssets} from 'aave-address-book/AaveV3Optimism.sol'; @@ -102,7 +102,7 @@ contract CommonTestBase is Test { return true; } } - if(block.chainid == ChainIds.AVALANCHE) { + if (block.chainid == ChainIds.AVALANCHE) { // AUSD if (asset == 0x00000000eFE302BEAA2b3e6e1b18d08D69a9012a) { vm.prank(0x2CD78aD719a8c74898c5283f5Bc70920D8A061fd); diff --git a/src/GovV3Helpers.sol b/src/GovV3Helpers.sol index 1a94a7c27..519f64b20 100644 --- a/src/GovV3Helpers.sol +++ b/src/GovV3Helpers.sol @@ -23,7 +23,6 @@ import {GovernanceV3PolygonZkEvm} from 'aave-address-book/GovernanceV3PolygonZkE import {GovernanceV3ZkSync} from 'aave-address-book/GovernanceV3ZkSync.sol'; import {GovernanceV3Linea} from 'aave-address-book/GovernanceV3Linea.sol'; import {MiscEthereum} from 'aave-address-book/MiscEthereum.sol'; -import {Address} from 'solidity-utils/contracts/oz-common/Address.sol'; import {Create2Utils} from 'solidity-utils/contracts/utils/ScriptUtils.sol'; import {StorageHelpers} from './StorageHelpers.sol'; import {Create2UtilsZkSync} from 'solidity-utils/../zksync/src/contracts/utils/ScriptUtilsZkSync.sol'; @@ -399,7 +398,7 @@ library GovV3Helpers { * @param payloadAddress address of the payload to execute */ function readyPayload(Vm vm, address payloadAddress) internal returns (uint40) { - require(Address.isContract(payloadAddress), 'PAYLOAD_ADDRESS_HAS_NO_CODE'); + require(payloadAddress.code.length > 0, 'PAYLOAD_ADDRESS_HAS_NO_CODE'); IPayloadsControllerCore payloadsController = getPayloadsController(block.chainid); IPayloadsControllerCore.ExecutionAction[] memory actions = new IPayloadsControllerCore.ExecutionAction[](1); diff --git a/src/ProtocolV2TestBase.sol b/src/ProtocolV2TestBase.sol index 9104861ff..56041be83 100644 --- a/src/ProtocolV2TestBase.sol +++ b/src/ProtocolV2TestBase.sol @@ -3,9 +3,9 @@ pragma solidity >=0.7.5 <0.9.0; import 'forge-std/Test.sol'; import {IAaveOracle, ILendingPool, ILendingPoolAddressesProvider, ILendingPoolConfigurator, IAaveProtocolDataProvider, DataTypes, TokenData, ILendingRateOracle, IDefaultInterestRateStrategy} from 'aave-address-book/AaveV2.sol'; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; -import {IERC20Metadata} from 'solidity-utils/contracts/oz-common/interfaces/IERC20Metadata.sol'; -import {SafeERC20} from 'solidity-utils/contracts/oz-common/SafeERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; +import {IERC20Metadata} from 'openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol'; +import {SafeERC20} from 'openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol'; import {AaveV2EthereumAMM} from 'aave-address-book/AaveV2EthereumAMM.sol'; import {AaveV2EthereumAssets} from 'aave-address-book/AaveV2Ethereum.sol'; import {DiffUtils} from 'aave-v3-origin/../tests/utils/DiffUtils.sol'; diff --git a/src/ProtocolV3TestBase.sol b/src/ProtocolV3TestBase.sol index 4a6802a5b..ff36437ea 100644 --- a/src/ProtocolV3TestBase.sol +++ b/src/ProtocolV3TestBase.sol @@ -3,9 +3,9 @@ pragma solidity >=0.7.5 <0.9.0; import 'forge-std/Test.sol'; import {IAaveOracle, IPool, IPoolAddressesProvider, IPoolDataProvider, IReserveInterestRateStrategy, DataTypes, IPoolConfigurator} from 'aave-address-book/AaveV3.sol'; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; -import {IERC20Metadata} from 'solidity-utils/contracts/oz-common/interfaces/IERC20Metadata.sol'; -import {SafeERC20} from 'solidity-utils/contracts/oz-common/SafeERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; +import {IERC20Metadata} from 'openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol'; +import {SafeERC20} from 'openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol'; import {ReserveConfiguration} from 'aave-v3-origin/contracts/protocol/libraries/configuration/ReserveConfiguration.sol'; import {IDefaultInterestRateStrategyV2} from 'aave-v3-origin/contracts/interfaces/IDefaultInterestRateStrategyV2.sol'; import {AaveV3EthereumAssets} from 'aave-address-book/AaveV3Ethereum.sol'; diff --git a/src/bridges/arbitrum/AaveArbEthERC20Bridge.sol b/src/bridges/arbitrum/AaveArbEthERC20Bridge.sol index f93cfdab8..41abf2d36 100644 --- a/src/bridges/arbitrum/AaveArbEthERC20Bridge.sol +++ b/src/bridges/arbitrum/AaveArbEthERC20Bridge.sol @@ -2,9 +2,9 @@ pragma solidity ^0.8.0; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; -import {SafeERC20} from 'solidity-utils/contracts/oz-common/SafeERC20.sol'; -import {Ownable} from 'solidity-utils/contracts/oz-common/Ownable.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; +import {SafeERC20} from 'openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol'; +import {Ownable} from 'openzeppelin-contracts/contracts/access/Ownable.sol'; import {Rescuable} from 'solidity-utils/contracts/utils/Rescuable.sol'; import {RescuableBase, IRescuableBase} from 'solidity-utils/contracts/utils/RescuableBase.sol'; import {AaveV3Ethereum} from 'aave-address-book/AaveV3Ethereum.sol'; @@ -61,9 +61,7 @@ contract AaveArbEthERC20Bridge is Ownable, Rescuable, IAaveArbEthERC20Bridge { address public constant MAINNET_OUTBOX = 0x0B9857ae2D4A3DBe74ffE1d7DF045bb7F96E4840; /// @param _owner The owner of the contract upon deployment - constructor(address _owner) { - _transferOwnership(_owner); - } + constructor(address _owner) Ownable(_owner) {} /// @inheritdoc IAaveArbEthERC20Bridge function bridge( diff --git a/src/bridges/optimism/AaveOpEthERC20Bridge.sol b/src/bridges/optimism/AaveOpEthERC20Bridge.sol index 04fafe174..4cbefa8db 100644 --- a/src/bridges/optimism/AaveOpEthERC20Bridge.sol +++ b/src/bridges/optimism/AaveOpEthERC20Bridge.sol @@ -2,9 +2,9 @@ pragma solidity ^0.8.0; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; -import {SafeERC20} from 'solidity-utils/contracts/oz-common/SafeERC20.sol'; -import {Ownable} from 'solidity-utils/contracts/oz-common/Ownable.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; +import {SafeERC20} from 'openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol'; +import {Ownable} from 'openzeppelin-contracts/contracts/access/Ownable.sol'; import {Rescuable} from 'solidity-utils/contracts/utils/Rescuable.sol'; import {RescuableBase, IRescuableBase} from 'solidity-utils/contracts/utils/RescuableBase.sol'; import {AaveV3Ethereum} from 'aave-address-book/AaveV3Ethereum.sol'; @@ -25,9 +25,7 @@ contract AaveOpEthERC20Bridge is Ownable, Rescuable, IAaveOpEthERC20Bridge { uint256 private _nonce; /// @param _owner The owner of the contract upon deployment - constructor(address _owner) { - _transferOwnership(_owner); - } + constructor(address _owner) Ownable(_owner) {} /// @inheritdoc IAaveOpEthERC20Bridge function bridge(address token, address l1Token, uint256 amount) external onlyOwner { diff --git a/src/bridges/polygon/AavePolEthERC20Bridge.sol b/src/bridges/polygon/AavePolEthERC20Bridge.sol index bf9a465f5..ee6a3cf2c 100644 --- a/src/bridges/polygon/AavePolEthERC20Bridge.sol +++ b/src/bridges/polygon/AavePolEthERC20Bridge.sol @@ -2,9 +2,9 @@ pragma solidity ^0.8.0; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; -import {SafeERC20} from 'solidity-utils/contracts/oz-common/SafeERC20.sol'; -import {Ownable} from 'solidity-utils/contracts/oz-common/Ownable.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; +import {SafeERC20} from 'openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol'; +import {Ownable} from 'openzeppelin-contracts/contracts/access/Ownable.sol'; import {Rescuable} from 'solidity-utils/contracts/utils/Rescuable.sol'; import {RescuableBase, IRescuableBase} from 'solidity-utils/contracts/utils/RescuableBase.sol'; import {AaveV3Ethereum} from 'aave-address-book/AaveV3Ethereum.sol'; @@ -45,9 +45,7 @@ contract AavePolEthERC20Bridge is Ownable, Rescuable, IAavePolEthERC20Bridge { address public constant ROOT_CHAIN_MANAGER = 0xA0c68C638235ee32657e8f720a23ceC1bFc77C77; /// @param _owner The owner of the contract upon deployment - constructor(address _owner) { - _transferOwnership(_owner); - } + constructor(address _owner) Ownable(_owner) {} /// @inheritdoc IAavePolEthERC20Bridge function bridge(address token, uint256 amount) external onlyOwner { diff --git a/src/bridges/polygon/AavePolEthPlasmaBridge.sol b/src/bridges/polygon/AavePolEthPlasmaBridge.sol index c09d42e5b..0c28002cd 100644 --- a/src/bridges/polygon/AavePolEthPlasmaBridge.sol +++ b/src/bridges/polygon/AavePolEthPlasmaBridge.sol @@ -2,9 +2,9 @@ pragma solidity ^0.8.0; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; -import {SafeERC20} from 'solidity-utils/contracts/oz-common/SafeERC20.sol'; -import {Ownable} from 'solidity-utils/contracts/oz-common/Ownable.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; +import {SafeERC20} from 'openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol'; +import {Ownable} from 'openzeppelin-contracts/contracts/access/Ownable.sol'; import {Rescuable} from 'solidity-utils/contracts/utils/Rescuable.sol'; import {RescuableBase, IRescuableBase} from 'solidity-utils/contracts/utils/RescuableBase.sol'; import {AaveV3Ethereum} from 'aave-address-book/AaveV3Ethereum.sol'; @@ -60,9 +60,7 @@ contract AavePolEthPlasmaBridge is Ownable, Rescuable, IAavePolEthPlasmaBridge { address public constant MATIC_POLYGON = 0x0000000000000000000000000000000000001010; /// @param _owner The owner of the contract upon deployment - constructor(address _owner) { - _transferOwnership(_owner); - } + constructor(address _owner) Ownable(_owner) {} /// @inheritdoc IAavePolEthPlasmaBridge function bridge(uint256 amount) external onlyOwner { diff --git a/src/dependencies/DefaultReserveInterestRateStrategy.sol b/src/dependencies/DefaultReserveInterestRateStrategy.sol index 52f39add7..9b9d9a5ff 100644 --- a/src/dependencies/DefaultReserveInterestRateStrategy.sol +++ b/src/dependencies/DefaultReserveInterestRateStrategy.sol @@ -7,7 +7,7 @@ import {IReserveInterestRateStrategy} from './IReserveInterestRateStrategy.sol'; import {WadRayMath} from '../dependencies/WadRayMath.sol'; import {PercentageMath} from '../dependencies/PercentageMath.sol'; import {ILendingPoolAddressesProvider, ILendingRateOracle} from 'aave-address-book/AaveV2.sol'; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; /** * @title DefaultReserveInterestRateStrategy contract diff --git a/src/riskstewards/CapsPlusRiskSteward.sol b/src/riskstewards/CapsPlusRiskSteward.sol index 0daf0578f..eba04e53b 100644 --- a/src/riskstewards/CapsPlusRiskSteward.sol +++ b/src/riskstewards/CapsPlusRiskSteward.sol @@ -2,7 +2,7 @@ pragma solidity ^0.8.0; import {IACLManager, IPoolConfigurator, IPoolDataProvider} from 'aave-address-book/AaveV3.sol'; -import {Address} from 'solidity-utils/contracts/oz-common/Address.sol'; +import {Address} from 'openzeppelin-contracts/contracts/utils/Address.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 {ICapsPlusRiskSteward} from './ICapsPlusRiskSteward.sol'; diff --git a/src/riskstewards/ICapsPlusRiskSteward.sol b/src/riskstewards/ICapsPlusRiskSteward.sol index f79d3301f..f77c2c933 100644 --- a/src/riskstewards/ICapsPlusRiskSteward.sol +++ b/src/riskstewards/ICapsPlusRiskSteward.sol @@ -2,7 +2,6 @@ pragma solidity ^0.8.0; import {IACLManager, IPoolConfigurator, IPoolDataProvider} from 'aave-address-book/AaveV3.sol'; -import {Address} from 'solidity-utils/contracts/oz-common/Address.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'; diff --git a/src/swaps/AaveSwapper.sol b/src/swaps/AaveSwapper.sol index eae26aca7..9bab37499 100644 --- a/src/swaps/AaveSwapper.sol +++ b/src/swaps/AaveSwapper.sol @@ -2,12 +2,12 @@ pragma solidity ^0.8.0; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; -import {SafeERC20} from 'solidity-utils/contracts/oz-common/SafeERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; +import {SafeERC20} from 'openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol'; +import {Initializable} from 'openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol'; import {Rescuable} from 'solidity-utils/contracts/utils/Rescuable.sol'; import {RescuableBase, IRescuableBase} from 'solidity-utils/contracts/utils/RescuableBase.sol'; import {OwnableWithGuardian} from 'solidity-utils/contracts/access-control/OwnableWithGuardian.sol'; -import {Initializable} from 'solidity-utils/contracts/transparent-proxy/Initializable.sol'; import {AaveV3Ethereum} from 'aave-address-book/AaveV3Ethereum.sol'; import {AaveGovernanceV2} from 'aave-address-book/AaveGovernanceV2.sol'; @@ -26,11 +26,12 @@ contract AaveSwapper is IAaveSwapper, Initializable, OwnableWithGuardian, Rescua /// @inheritdoc IAaveSwapper address public constant BAL80WETH20 = 0x5c6Ee304399DBdB9C8Ef030aB642B10820DB8F56; + constructor() + OwnableWithGuardian(AaveGovernanceV2.SHORT_EXECUTOR, 0xA519a7cE7B24333055781133B13532AEabfAC81b) + {} + /// @inheritdoc IAaveSwapper - function initialize() external initializer { - _transferOwnership(AaveGovernanceV2.SHORT_EXECUTOR); - _updateGuardian(0xA519a7cE7B24333055781133B13532AEabfAC81b); - } + function initialize() external initializer {} /// @inheritdoc IAaveSwapper function swap( diff --git a/src/swaps/BaseSwapPayload.sol b/src/swaps/BaseSwapPayload.sol index 66a499afe..7638b2fd0 100644 --- a/src/swaps/BaseSwapPayload.sol +++ b/src/swaps/BaseSwapPayload.sol @@ -2,8 +2,8 @@ pragma solidity ^0.8.0; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; -import {SafeERC20} from 'solidity-utils/contracts/oz-common/SafeERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; +import {SafeERC20} from 'openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol'; import {AaveV2Ethereum} from 'aave-address-book/AaveV2Ethereum.sol'; import {ISwapPayload} from './interfaces/ISwapPayload.sol'; diff --git a/src/swaps/DepositV2SwapPayload.sol b/src/swaps/DepositV2SwapPayload.sol index 4a4d4278a..3b6977353 100644 --- a/src/swaps/DepositV2SwapPayload.sol +++ b/src/swaps/DepositV2SwapPayload.sol @@ -2,8 +2,8 @@ pragma solidity ^0.8.0; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; -import {SafeERC20} from 'solidity-utils/contracts/oz-common/SafeERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; +import {SafeERC20} from 'openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol'; import {AaveV2Ethereum} from 'aave-address-book/AaveV2Ethereum.sol'; import {BaseSwapPayload} from './BaseSwapPayload.sol'; diff --git a/src/swaps/DepositV3SwapPayload.sol b/src/swaps/DepositV3SwapPayload.sol index f6d34859e..b561f78aa 100644 --- a/src/swaps/DepositV3SwapPayload.sol +++ b/src/swaps/DepositV3SwapPayload.sol @@ -2,8 +2,8 @@ pragma solidity ^0.8.0; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; -import {SafeERC20} from 'solidity-utils/contracts/oz-common/SafeERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; +import {SafeERC20} from 'openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol'; import {AaveV3Ethereum} from 'aave-address-book/AaveV3Ethereum.sol'; import {BaseSwapPayload} from './BaseSwapPayload.sol'; diff --git a/src/swaps/interfaces/IMilkman.sol b/src/swaps/interfaces/IMilkman.sol index 88caddd02..018e19536 100644 --- a/src/swaps/interfaces/IMilkman.sol +++ b/src/swaps/interfaces/IMilkman.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; interface IMilkman { /// @notice Asynchronously swap an exact amount of tokenIn for a market-determined amount of tokenOut. diff --git a/src/v2-config-engine/AaveV2Payload.sol b/src/v2-config-engine/AaveV2Payload.sol index 18f7a28c4..73ed17275 100644 --- a/src/v2-config-engine/AaveV2Payload.sol +++ b/src/v2-config-engine/AaveV2Payload.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; -import {Address} from 'solidity-utils/contracts/oz-common/Address.sol'; +import {Address} from 'openzeppelin-contracts/contracts/utils/Address.sol'; import {WadRayMath} from 'aave-v3-origin/contracts/protocol/libraries/math/WadRayMath.sol'; import {IAaveV2ConfigEngine as IEngine} from './IAaveV2ConfigEngine.sol'; import {IV2RateStrategyFactory} from './IV2RateStrategyFactory.sol'; diff --git a/src/v2-config-engine/V2RateStrategyFactory.sol b/src/v2-config-engine/V2RateStrategyFactory.sol index c09b8da03..52ffcd17b 100644 --- a/src/v2-config-engine/V2RateStrategyFactory.sol +++ b/src/v2-config-engine/V2RateStrategyFactory.sol @@ -2,7 +2,7 @@ pragma solidity ^0.8.0; import {ILendingPool} from 'aave-address-book/AaveV2.sol'; -import {Initializable} from 'solidity-utils/contracts/transparent-proxy/Initializable.sol'; +import {Initializable} from 'openzeppelin-contracts/contracts/proxy/utils/Initializable.sol'; import {IV2RateStrategyFactory} from './IV2RateStrategyFactory.sol'; import {DefaultReserveInterestRateStrategy} from '../dependencies/DefaultReserveInterestRateStrategy.sol'; import {IDefaultInterestRateStrategy, ILendingPoolAddressesProvider} from 'aave-address-book/AaveV2.sol'; diff --git a/tests/CollectorUtils.t.sol b/tests/CollectorUtils.t.sol index ff7c329ab..8092bc1d8 100644 --- a/tests/CollectorUtils.t.sol +++ b/tests/CollectorUtils.t.sol @@ -107,7 +107,7 @@ contract CollectorUtilsTest is Test { uint256 actualAmount = CollectorUtils.stream( COLLECTOR, CollectorUtils.CreateStreamInput({ - underlying: address(UNDERLYING), + underlying: address(UNDERLYING), receiver: testReceiver, amount: amount, start: block.timestamp, diff --git a/tests/ProtocolV2TestBase.t.sol b/tests/ProtocolV2TestBase.t.sol index d983175a8..46a39cd01 100644 --- a/tests/ProtocolV2TestBase.t.sol +++ b/tests/ProtocolV2TestBase.t.sol @@ -5,7 +5,7 @@ import 'forge-std/Test.sol'; import {ProtocolV2TestBase, ReserveConfig} from '../src/ProtocolV2TestBase.sol'; import {AaveV2Ethereum, AaveV2EthereumAssets} from 'aave-address-book/AaveV2Ethereum.sol'; import {AaveV2EthereumAMM} from 'aave-address-book/AaveV2EthereumAMM.sol'; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; import {PayloadWithEmit} from './mocks/PayloadWithEmit.sol'; contract ProtocolV2TestBaseTest is ProtocolV2TestBase { diff --git a/tests/bridges/arbitrum/AaveArbEthERC20BridgeTest.t.sol b/tests/bridges/arbitrum/AaveArbEthERC20BridgeTest.t.sol index cfe8652ea..544a19ab6 100644 --- a/tests/bridges/arbitrum/AaveArbEthERC20BridgeTest.t.sol +++ b/tests/bridges/arbitrum/AaveArbEthERC20BridgeTest.t.sol @@ -2,7 +2,7 @@ pragma solidity ^0.8.0; import {Test} from 'forge-std/Test.sol'; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; import {AaveV3Ethereum, AaveV3EthereumAssets} from 'aave-address-book/AaveV3Ethereum.sol'; import {AaveV3Arbitrum, AaveV3ArbitrumAssets} from 'aave-address-book/AaveV3Arbitrum.sol'; import {GovernanceV3Ethereum} from 'aave-address-book/GovernanceV3Ethereum.sol'; diff --git a/tests/bridges/arbitrum/ArbSysMock.sol b/tests/bridges/arbitrum/ArbSysMock.sol index 9566a0b04..22a6d2bd6 100644 --- a/tests/bridges/arbitrum/ArbSysMock.sol +++ b/tests/bridges/arbitrum/ArbSysMock.sol @@ -4,11 +4,11 @@ pragma solidity ^0.8.0; /// @title ArbSysMock /// @notice a mocked version of the Arbitrum system contract, add additional methods as needed contract ArbSysMock { - uint256 ticketId; + uint256 ticketId; - function sendTxToL1(address _l1Target, bytes memory _data) external payable returns (uint256) { - (bool success,) = _l1Target.call(_data); - require(success, "Arbsys: sendTxToL1 failed"); - return ++ticketId; - } + function sendTxToL1(address _l1Target, bytes memory _data) external payable returns (uint256) { + (bool success, ) = _l1Target.call(_data); + require(success, 'Arbsys: sendTxToL1 failed'); + return ++ticketId; + } } diff --git a/tests/bridges/optimism/AaveOpEthERC20BridgeTest.t.sol b/tests/bridges/optimism/AaveOpEthERC20BridgeTest.t.sol index ee716316f..313fce682 100644 --- a/tests/bridges/optimism/AaveOpEthERC20BridgeTest.t.sol +++ b/tests/bridges/optimism/AaveOpEthERC20BridgeTest.t.sol @@ -3,7 +3,7 @@ pragma solidity ^0.8.0; import {Test} from 'forge-std/Test.sol'; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; import {AaveV3Ethereum, AaveV3EthereumAssets} from 'aave-address-book/AaveV3Ethereum.sol'; import {AaveV3Optimism, AaveV3OptimismAssets} from 'aave-address-book/AaveV3Optimism.sol'; import {GovernanceV3Optimism} from 'aave-address-book/GovernanceV3Optimism.sol'; diff --git a/tests/bridges/polygon/AavePolEthERC20BridgeTest.t.sol b/tests/bridges/polygon/AavePolEthERC20BridgeTest.t.sol index 063ae1b3f..803ca0123 100644 --- a/tests/bridges/polygon/AavePolEthERC20BridgeTest.t.sol +++ b/tests/bridges/polygon/AavePolEthERC20BridgeTest.t.sol @@ -2,7 +2,7 @@ pragma solidity ^0.8.0; import {Test} from 'forge-std/Test.sol'; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; import {AaveV3Ethereum, AaveV3EthereumAssets} from 'aave-address-book/AaveV3Ethereum.sol'; import {AaveV2Polygon, AaveV2PolygonAssets} from 'aave-address-book/AaveV2Polygon.sol'; import {AaveV3Polygon, AaveV3PolygonAssets} from 'aave-address-book/AaveV3Polygon.sol'; diff --git a/tests/bridges/polygon/AavePolEthPlasmaBridge.t.sol b/tests/bridges/polygon/AavePolEthPlasmaBridge.t.sol index 77a774895..e1400760e 100644 --- a/tests/bridges/polygon/AavePolEthPlasmaBridge.t.sol +++ b/tests/bridges/polygon/AavePolEthPlasmaBridge.t.sol @@ -3,7 +3,7 @@ pragma solidity ^0.8.0; import {Test} from 'forge-std/Test.sol'; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; import {AaveV3Ethereum, AaveV3EthereumAssets} from 'aave-address-book/AaveV3Ethereum.sol'; import {AaveV2Polygon, AaveV2PolygonAssets} from 'aave-address-book/AaveV2Polygon.sol'; import {AaveV3Polygon, AaveV3PolygonAssets} from 'aave-address-book/AaveV3Polygon.sol'; diff --git a/tests/swaps/AaveSwapperTest.t.sol b/tests/swaps/AaveSwapperTest.t.sol index 8eb760dc2..84c6613e4 100644 --- a/tests/swaps/AaveSwapperTest.t.sol +++ b/tests/swaps/AaveSwapperTest.t.sol @@ -6,7 +6,7 @@ import {Test} from 'forge-std/Test.sol'; import {GovernanceV3Ethereum} from 'aave-address-book/GovernanceV3Ethereum.sol'; import {AaveV2Ethereum, AaveV2EthereumAssets} from 'aave-address-book/AaveV2Ethereum.sol'; import {AaveV3Ethereum, AaveV3EthereumAssets} from 'aave-address-book/AaveV3Ethereum.sol'; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; import {IRescuable} from 'solidity-utils/contracts/utils/Rescuable.sol'; import {AaveSwapper} from 'src/swaps/AaveSwapper.sol'; diff --git a/tests/swaps/DepositV2SwapPayloadTest.t.sol b/tests/swaps/DepositV2SwapPayloadTest.t.sol index 9f9d90ff3..f7ea96063 100644 --- a/tests/swaps/DepositV2SwapPayloadTest.t.sol +++ b/tests/swaps/DepositV2SwapPayloadTest.t.sol @@ -5,7 +5,7 @@ pragma solidity ^0.8.0; import {Test} from 'forge-std/Test.sol'; import {AaveGovernanceV2} from 'aave-address-book/AaveGovernanceV2.sol'; import {AaveV2Ethereum, AaveV2EthereumAssets} from 'aave-address-book/AaveV2Ethereum.sol'; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; import {BaseSwapPayload} from '../../src/swaps/BaseSwapPayload.sol'; import {DepositV2SwapPayload} from '../../src/swaps/DepositV2SwapPayload.sol'; diff --git a/tests/swaps/DepositV3SwapPayloadTest.t.sol b/tests/swaps/DepositV3SwapPayloadTest.t.sol index fc5766cbf..14595a51d 100644 --- a/tests/swaps/DepositV3SwapPayloadTest.t.sol +++ b/tests/swaps/DepositV3SwapPayloadTest.t.sol @@ -5,7 +5,7 @@ pragma solidity ^0.8.0; import {Test} from 'forge-std/Test.sol'; import {GovernanceV3Ethereum} from 'aave-address-book/GovernanceV3Ethereum.sol'; import {AaveV3Ethereum, AaveV3EthereumAssets} from 'aave-address-book/AaveV3Ethereum.sol'; -import {IERC20} from 'solidity-utils/contracts/oz-common/interfaces/IERC20.sol'; +import {IERC20} from 'openzeppelin-contracts/contracts/token/ERC20/IERC20.sol'; import {CommonTestBase} from '../../src/CommonTestBase.sol'; import {BaseSwapPayload} from '../../src/swaps/BaseSwapPayload.sol';