Skip to content

Releases: aave/aave-v3-core

@aave/core-v3 v1.11.0

24 Jan 09:40
0921fb7
Compare
Choose a tag to compare

Features

  • Add rescueTokens functionality for Pool and AToken (047edf8)

Bug Fixes

  • Add getter for _stableRateExcessOffset (3586ebb)
  • Fix contract docstrings (802a4bd)
  • Fix imports order (5d237a4)
  • Re-add the abstract modifier to base tokenization contracts (52abb3f)
  • Remove blank space (0c208fa)
  • Remove rescueTokensFromAToken from Pool (1a32301)
  • Revert chainId renaming (c4283d5)
  • Update comment (94c4cfb)
  • Update natspec and test (39363e4)
  • Update natspec for calculateInterestRates() (b22150b)
  • Update test name (f6319b9)

@aave/core-v3 v1.10.0

12 Jan 09:13
c3790ab
Compare
Choose a tag to compare

Features

  • fix tests missing module. add deployments dir to gitignore (4e2c5e8)
  • moved IncentivizedERC20 to the base folder (1d5ed55)
  • refactored premium to protocol in updateFlashloanPremiumTotal (6349f4b)
  • refactored premiumTotal in updateFlashloanPremiumToProtocol (6b9f82c)
  • update comment (7d6ccfb)

Bug Fixes

  • Add userTotalDebt variable and refactor fix (f9794f1)
  • Add amount cache in premium calc of executeFlashLoan (785ba09)
  • Add checks to turn off borrowing. (f9ec711)
  • Add error message (18ae21f)
  • add failing tests (254a021)
  • Add id to register and unregister events (c196b71)
  • Add indexed params to MarketIdSet event (74062fc)
  • Add new event AddressSetAsProxy for imple address updates (e4a15fb)
  • Add override modifier to underlyingAsset getter (be4702c)
  • Add percentage range check of liquidationFee in Configurator (2d5330b)
  • Add range check for new reserve factor (9863a47)
  • add test for setting interest rate on unlistest asset (09c04d2)
  • Add underlying getter in debtToken interfaces (498b860)
  • add validation to set interest rates (f623d9a)
  • Add visibility accessors to StableDebtToken state variables (9faa22f)
  • Add visibility accessors to state variables of mocks (b76dcb7)
  • address provider staticcall get implementation (d2b1a32)
  • Change order of condition in validateHFAndLtv for gas saving (34145bf)
  • check asset for zero address (cdaa90c)
  • Clean tests (d47b777)
  • consistent get, set order (ccb634a)
  • Enhance reserves listing function in Pool (2303871)
  • failing test (82758e9)
  • Fix ChainlinkAggregator intergration in AaveOracle (44af5fe)
  • Fix docstrings (a6b1a02)
  • Fix error from merge conflicts (b0bea4c)
  • Fix error in a revert message of test cases (abaaa2c)
  • Fix error in docstring (a9aec4a)
  • Fix error in test case (4fb8037)
  • Fix error in test from merge conflicts (c7512ed)
  • Fix error name INVALID_RESERVE_FACTOR (3785b38)
  • Fix errors constants in types.ts (cdc6b26)
  • Fix errors in constants from merge conflicts (4831638)
  • Fix errors of merge conflicts (b684547)
  • Fix grammar spell typos in docstrings (3868ead)
  • Fix MockAggregator code (67d29f5)
  • Fix test, fetching artifact from local typechain (da07b87)
  • Fix typo in constant value (71dc37c)
  • Fix typo in docstring (70a4a51)
  • Fix typos in docstrings (51b95e0)
  • Fix typos in docstrings (80ad248)
  • Fix typos in docstrings (d3aa941)
  • Improve readability of LiquidationLogic constants (79896d5)
  • improve set config readability (a9dd99f)
  • interest-rate-strategy-range-checks (adf2f4c)
  • Make flashloan premium to protocol a fraction of total premium (d24c962)
  • Mark proxyAddress as indexed in AddressSetAsProxy event (bddabad)
  • Move IChainlinkAggregator to dependencies and rename it to official name (6099f84)
  • Move up validation of executeFlashloan (4b64705)
  • Naming of excess variables + introduction of constant for stable ratio (37c2a63)
  • Remove .solhint.json (972ec21)
  • remove console logs (2cd4dcc)
  • Remove external hacky getProxyImplementation function (62a25c8)
  • Remove getUserCurrentDebtMemory() helper function (f2dc371)
  • Remove not needed ProxyImplementationSet event (002ebda)
  • Remove redundant functions in WadRayMath lib (5f0f035)
  • Remove references to DataTypes inside itself (e5abd90)
  • Remove unneeded _getUnderlyingAsset() (f2af600)
  • Remove unneeded constants for tests (27130ac)
  • Remove unneeded debug console (4654be0)
  • Remove unneeded import in PoolStorage (361cc39)
  • Remove unneeded local variables (a718549)
  • Remove unneeded vars for validateHFAndLtv (8b32e45)
  • Remove unused commented value (9179670)
  • Removes not needed BytesLib library ([43db2f6](https://www.g...
Read more

@aave/core-v3 v1.9.0

12 Jan 09:11
843331f
Compare
Choose a tag to compare

Features

  • add event test (d5fe4bb)
  • added additional functions to IAToken for EIP2612 (df8ee61)
  • added event to DelegationAwareAToken (f5fd1b6)
  • added indexed to the ICreditDelegation event (0a3d365)
  • replaced SafeERC20 with GPv2SafeERC20 (fe4ae41)

Bug Fixes

  • Add comment to BorrowLogic (2ae309d)
  • add else (4bdbd7f)
  • Add explicit access level for variables (8fb2e3c)
  • Add mode to FlashLoan event (956c809)
  • Add natspec to executeLiquidationCall (9bb5289)
  • Add repay with atoken ux issue (b464cf5)
  • Avoid finalizeTransfer with 0 value transfer (d6bf261)
  • Cache result to not recompute for event (b342d2f)
  • Change to in Pool for V2 compatibility (932c5a0)
  • Clean cumulateToLiqIndex and add comments (d6e90dc)
  • Fix income -> debt in getNormalizedDebt natspec. (9e6b183)
  • Fix differences between IPool and Pool (8beefda)
  • Fix docstrings (93c2d95)
  • Fix docstrings (c55bb04)
  • Fix typo (df40063)
  • Fix typo in setReserveFreeze function name (da72c39)
  • Fix variable name of event in ReserveLogic (40b9bb8)
  • Gas optimization UserConfiguration (af00927)
  • Handle code style issues (af3743b)
  • Improve code readability of ReserveLogic (ae1476d)
  • Improve readability of initial values of variables (592b21d)
  • Include 100% as valid premiums (c6b3347)
  • Make test engine not stop at first failure (84eaf29)
  • Move up event in IVariableDebtToken (f536538)
  • move up require (d47afa2)
  • Re-add getUserCurrentDebtMemory() (7742985)
  • Refactor variable calc in StableDebtToken (4ed69b4)
  • Remove case, created separate issue (0082fd8)
  • remove IAaveIncentivesController casting (9805add)
  • Remove redundant casting for block.timestamp (941539f)
  • Remove redundant unneeded variable (703782c)
  • Remove unneeded delegator param from delegationWithSig typehash (dcf7c36)
  • Remove unneeded imports in contracts (48f9e89)
  • Remove unneededv variable in cumulateToLiqIndex (75e7fdc)
  • removed invalid imports (659b82c)
  • rename admin variable (5199283)
  • Replace rateMode with interestRateMode and precise dataype (806f161)
  • Replace factor with multiplier for clarity (085ad0c)
  • Replace HALF_PERCENT with HALF_PERCENTAGE_FACTOR (4fb45ec)
  • Replace Helper.toUint128 with OZ SafeCast (3916735)
  • Rever simplification of cumulateToLiqIndex due to precision loss (585c9c4)
  • set config map to zero on init (ea40ee1)
  • Simplify condition in SupplyLogic (6487f29)
  • Simplify cumulateToLiqIndex in ReserveLogic (53a95c8)
  • swap name (ebd3622)
  • Typo in liquidation-emode.spec.ts (97e0acc)
  • update admin to internal (7d19d29)
  • Update test with new delegationWithSig typehash (fea83f3)
  • Use next prefix for isolation mode total debt (5ffeecd)

@aave/core-v3 v1.8.0

16 Dec 17:13
c8e9b4e
Compare
Choose a tag to compare

Features

  • added natspec comments, changed function param names to uniform with the other functions (dda5bde)
  • clarify mint and burn comment in interface (03041ef)
  • refactored setReserveBorrowing, setReserveStableRateBorrowing, fixed tests (6749233)

Bug Fixes

  • Add 0 division check to wadDiv and rayDiv. (ea80f22)
  • Add better natspec for ConfiguratorLogic (5cdfcdf)
  • Add better natspec for EModeLogic (816d566)
  • Add comments about BaseCurrency to IPriceOracleGetter (60ff953)
  • Add docstrings for SequencerOracle (9557272)
  • Add docstrings to PriceOracleSentinel (368c77f)
  • Add event emission to natspec (ec28a38)
  • Add explicit error message for LTV == 0 before division. (d8d1694)
  • Add functions docs of IPoolAddressesProvider (36a543b)
  • Add IAaveOracle interface (ed03e30)
  • Add literal syntax to setEModeCategory (4ab27c3)
  • Add missing docstrings of the IACLManager (84bcffc)
  • Add test and zero div check to percentageDiv (d914c9d)
  • Added first to natspec _getFirstAssetAsCollateralId() (1b6a1df)
  • additional check in isUsingAsCollateralOne() to avoid revert if collateralData == 0 (49638cb)
  • Change access control to setGracePeriod (d9c2630)
  • Clean code style of FlashLoan mocks (6fe84b6)
  • Clean code style of mocks (60a03e3)
  • Consolidate BorrowingOnReserve events into 1 (110c5d0)
  • Enhance clarity of WadRayMath constants (b7244c1)
  • Fix and clean halfWad and halfRay values (5f5dff4)
  • Fix BridgeLogic natspec (71be75e)
  • Fix PoolAddresesProvider docstrings (30d757f)
  • Fix typo in IAaveOracle natspec (1f02c09)
  • Fix typo in LiquidationLogic natspec (3729466)
  • Fix typos in docstrings (167da26)
  • Fix typos in natspec docs (e29d46f)
  • Format public immutable variable name with MACRO case (c90b040)
  • increased the data size of id and i to uint16 (3d7fc2b)
  • Make _pool public of AToken and DebtToken (014da25)
  • Make addressesProvider of AaveOracle public (69b3eca)
  • Make gracePeriod and sequencerOracle configurables (3c6352f)
  • Make Pool _addressesProvider public (762d79e)
  • Merge conflict in stable-debt-token.spec.ts (78a6198)
  • Minor merge conflict (0df5e80)
  • Move the optimization after the operation condition (c6a785f)
  • naming consistency and stable debt event fix (7f17123)
  • Optimize setUseReserveAsCollateral whenthere is no state change (55445f2)
  • remove console.log (e279cda)
  • Remove duplicated code in LiquidationLogic (2189ba4)
  • Remove unneeded comments (9ec0ec4)
  • Remove unneeded contract file (6f480ec)
  • remove unused variable (87fc0bb)
  • Rename PoolConfigurator setter events (53b40ce)
  • Rename setter functions names (449f42d)
  • set package-lock.json (299d2f9)
  • Typo in flashloanlogic natspec (4e36f6f)
  • Unify reserveCount and maxReserve to uint16 (b6e2b35)
  • update .npmrc (9cfe79c)
  • Update comments in validation-logic.spec.ts (3b5c039)
  • Update executeRepay to compute interest correctly for repaying with aTokens (abf0e0c)
  • Update function naming (594b929)
  • Update natspec docs for FlashLoanLogic (4b02b3e)
  • Update variable packing of ReserveData (7765624)
  • Update wording of token update functions in ConfiguratorLogic (2dd1551)
  • use @aave/deploy-v3@1.7.1 library and load typechain locally instead of deploy-v3, to fix unsynced artifacts (6904746)
  • Use checkNoSuppliers instead of CheckNoDepositors (88aff43)
  • use already calculated value instead of re-calculating (c0743f9)
  • Use cache to get aTokenAddress in bridge logic (e41ec39)
  • Use literal syntax for struct params (7baf196)

@aave/core-v3 v1.7.0

01 Dec 10:33
e1decb7
Compare
Choose a tag to compare

Features

  • Add decimals to MockAggregator to match Chainlink Aggregator interface (4cf1dac)
  • added handleRepayment() in flashloan and liqCall (6c43820)

Bug Fixes

  • fixed handleRepayment() in flashloan (80a19bb)

@aave/core-v3 v1.6.0

29 Nov 13:41
c72277f
Compare
Choose a tag to compare

Features

  • reduced the number of optimizer runs (8562a91)
  • reorganized PoolStorage for gas savings (87776f7)

Bug Fixes

  • Add useATokens param to Repay event (beec3f8)
  • Add additional constraint to use eModeAssetPrice (ec42295)
  • Add check to Pool::initializer() (8f2b426)
  • Add clean ups to VariableDebtToken test (bc4f314)
  • Add cleanup to StableDebtToken test (d1eeaa5)
  • Add cleanups in eMode tests (fbf80a8)
  • Add extra input to MockPoolInherited test deployment (e7944dc)
  • Add minor gas optimization for executeFlashLoan (0d737f5)
  • Add natspec comments to IncentivizedERC20 (722a8e7)
  • Add precision to debt ceiling comment (3d43c02)
  • Add test exploiting pricing issue (3457fb8)
  • Add test for incorrect init of pool (b3cebaf)
  • Bumped Node JS version of Dockerfile to 16 stable version. Update package-lock. (f0c8787)
  • Change visibility of name() in IncentivizedERC20 (467a5c1)
  • Do multiplication before devision for currentStableBorrowRate (ca177fb)
  • Fix typo on credit delegation test case (0b6a65b)
  • Handle minor merge issue (36488c9)
  • Make _addressesProvider immutable in Pool (b41feab)
  • Make _nonces internal and add nonces getter (f3d1817)
  • Make MAX_RESERVES_COUNT constant (04ced7f)
  • MockPoolInherited wrong return value on MAX_NUMBER_RESERVES (b724a73)
  • Move _nonces to IncentivizedERC20 (54eb024)
  • Move list length check to front of validateFlashloan function (f485be5)
  • Pair _avgStableBorrowRate and _totalSupplyTimestamp (b6c9372)
  • Refactor tokens, move domain separator function to IncentivizedERC20 (c033f9d)
  • Removal of unneeded struct (262dc7a)
  • Remove unneeded fields from AvailableCollateralToLiquidateLocalVars (f9088b6)
  • setup npm registry without file (91fdc99)
  • Simplify _getFirstAssetAsCollateralId() (dffc2f6)
  • source setup env for coverage (fd7de34)
  • Update user to onBehalfOf for VariabelDebtToken (7ff840f)
  • Update package.json (49a8c39)
  • update v3 deploy dev dependency to latest deployment scripts (2aa8f5c)
  • update v3 dev dependencies (9cb6a47)
  • Use cached value for asset unit instead of recomputation (335927c)

@aave/core-v3 v1.5.2

12 Nov 16:18
abd3d29
Compare
Choose a tag to compare

Bug Fixes

@aave/core-v3 v1.5.1

12 Nov 15:43
541d23d
Compare
Choose a tag to compare

Bug Fixes

@aave/core-v3 v1.5.0

12 Nov 15:34
309dcd1
Compare
Choose a tag to compare

Features

  • updated solidity version (7891ac6)

Bug Fixes

  • Add comment + gasoptimization for flashloans (546fe84)
  • Add comment to elaborate on unusual flow in flashloan simple (5f41c07)
  • Add configuration cache to save gas (e5b9c2a)
  • Fix reentrance attack in flashLoanSimple (1e98320)
  • Move interestRateMode cast below state update (9732e6f)
  • Simplify flow for mintToTreasury (8385f6b)

@aave/core-v3 v1.4.0

09 Nov 17:36
416bf18
Compare
Choose a tag to compare

Features

  • added public debt ceiling decimal constant, added getter to DataProvider (52918e2)