You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add AaveDebtIssuanceModule contract
* Module designed to issue/redeem SetTokens which hold one or more
aTokens as components.
* Refactor integration tests
* Moved validation logic to IssuanceUtils library
* Fix compilation bugs
* Fix imports
* Refactor IssuanceUtils library contract
* Add new function which considers external positions
* Rename functions
* Refactor DebtIssuanceModuleV2 contract
* Override _resolveDebtPositions function
* Use new IssuanceUtils library contract
* Improve javadocs
* Add IssuanceUtils mock contract
* Refactor _setQuantity parameter in both library functions
* Add standard token with rounding error mock
* Returns a variable balance of value based on the error value set
* Will be helpful to mock the behaviour of aTokens
* Add tests for Debt issuance module V2 contract
* Skip ALM <> DIM integration tests
* Make validation logic statelesss
* Earlier we were assuming that burn takes place before and mint
takes place after the validation logic is called. But these assumptions
make the validation logic stateful, which is not ideal. By removing
those assumptions and passing in the required value from outside the
function, the validation logic becomes stateless, which allows it to be used at
multiple places flexibly.
* The validation functions now perform just the check. All required state to perform the check is passed from outside.
* Add external debt position to SetToken in tests
* Improve coverage: Add tests for issue/redeem quantity is 0
* Rename IssuanceUtils to IssuanceValidationUtils
* Update docs to specify redeem requires transferring in debt from caller
* Add more tests and improve existing ones
* Newly added tests are an EXACT copy of the tests for DebtIssuanceModule. Only difference is this SetToken contains tokenWithRoundingError instead of weth as a default position. This is to ensure the DebtIssuanceModuleV2 behaves exactly similar to DebtIssuanceModule when there is no rounding error present in it's constituent components.
* Existing tests are improved by introducing fees and by different
revert messages for different reverts
* Add more tests and optimize tests to complete faster
* Bump package to 0.0.52
0 commit comments