Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: stataToken v2 #2

Closed
wants to merge 28 commits into from
Closed

feat: stataToken v2 #2

wants to merge 28 commits into from

Commits on Aug 7, 2024

  1. feat: Add rescuable to static a token (#29)

    * feat: Add rescuable to static a token
    
    * Update src/periphery/contracts/static-a-token/StaticATokenLM.sol
    
    ---------
    
    Co-authored-by: Lukas <lukasstrassel@googlemail.com>
    sendra and sakulstra committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    d092425 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9daf54f View commit details
    Browse the repository at this point in the history
  3. Update METADEPOSIT_TYPEHASH (aave-dao#44)

    * Update METADEPOSIT_TYPEHASH
    
    * cleanup of MetaDepositParams
    kyzia551 authored and sakulstra committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    a8e061a View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Configuration menu
    Copy the full SHA
    4ad98c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca640a8 View commit details
    Browse the repository at this point in the history
  3. fix: add readme

    sakulstra committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    03ce79f View commit details
    Browse the repository at this point in the history
  4. docs: note on upgrade

    sakulstra committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    1214bcc View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. fix: move around tests

    sakulstra committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    93a819d View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. feat: use openzeppelin & remove meta txns (for now) (#5)

    * fix: remove deprecation gap
    
    * fix: migrate to oz
    
    * oz: use erc20pausableupgradable
    
    * fix: move 4626 to oz as well
    
    * fix: cleanup
    
    * feat: add failing rewards test
    
    * fix: use oz
    
    * fix: cleanup tests
    
    * fix: remove deprecated interfaces
    
    * fix: lint
    
    * fix: remove unused revision
    
    * fix: address comments
    
    * fix: alter function ordering a bit
    sakulstra committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    1c7a6ff View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. feat: move logic to oz and rework all tests (#7)

    * fix: remove deprecation gap
    
    * fix: migrate to oz
    
    * oz: use erc20pausableupgradable
    
    * fix: move 4626 to oz as well
    
    * fix: cleanup
    
    * feat: add failing rewards test
    
    * fix: use oz
    
    * fix: cleanup tests
    
    * fix: remove deprecated interfaces
    
    * fix: lint
    
    * fix: remove unused revision
    
    * fix: address comments
    
    * fix: alter function ordering a bit
    
    * More OZ logic on stata
    
    * add missing virtual
    
    * Separate Stata4626 (#8)
    
    * Separate Stata4626
    
    * change to erc7201
    
    * regenerated storage location
    
    * change latestAnswer calculation logic
    
    * DRAFT: Refactoring in extensions style
    
    * add initializer
    
    * remove unused params at __Stata4626_init
    
    * remove RayMathExplicitRounding
    
    * regenerated ERC20AaveLMStorageLocation
    
    * add RAY constant
    
    * remove IInitializableStata4626LM
    
    * depositWithPermit
    
    * disclamer on _update overload
    
    * some descriptions cleanup
    
    * change require to revert
    
    * add comment to latestAnswer calc
    
    * add comment to latestAnswer calc -1
    
    * make ERC20AaveLMUpgradable abstract
    
    * update license
    
    * rename merger and 4626 contracts
    
    * change Upgradable to Upgradeable
    
    * move _disableInitializers into StataTokenV2
    
    * rename IStata4626 to IERC4626StataToken
    
    * rename init on ERC4626StataToken
    
    * Changes on stata initializations, to follow more strict guidelines
    
    * Changes to make stata more consistent with using ERC20 extensions
    
    * Fix on function called on initialize of stata
    
    * feat: improved tests
    
    * fix: update test
    
    * feat: add erc4626 tests
    
    * fix: migrate some more tests
    
    * fix: improve tests
    
    * refactor: move to dedicated files
    
    * feat: improve tests
    
    * fix typo
    
    * feat: add permit tests
    
    * fix: linting
    
    * feat: improved docs
    
    * fix: typos
    
    * fix: use internal function
    
    ---------
    
    Co-authored-by: eboado <ebdmrr@gmail.com>
    Co-authored-by: sakulstra <lukasstrassel@googlemail.com>
    
    ---------
    
    Co-authored-by: sakulstra <lukasstrassel@googlemail.com>
    Co-authored-by: eboado <ebdmrr@gmail.com>
    3 people committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    63dc7f2 View commit details
    Browse the repository at this point in the history
  2. fix: cleanup imports

    refactor: cleanup some things
    (cherry picked from commit dd7166d0640e1a5bb9ad7afa03d9a21c6eb938ee)
    sakulstra committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    103f389 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2f57bd3 View commit details
    Browse the repository at this point in the history
  4. docs: add a bit more docs

    sakulstra committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    843f6d2 View commit details
    Browse the repository at this point in the history
  5. fix: lint on save

    sakulstra committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    4aa0a58 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    25e0a22 View commit details
    Browse the repository at this point in the history
  2. Update tests/periphery/static-a-token/ERC20AaveLMUpgradable.t.sol

    Co-authored-by: Ernesto Boado <ebdmrr@gmail.com>
    sakulstra and eboadom committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    aaa93ec View commit details
    Browse the repository at this point in the history
  3. Update tests/periphery/static-a-token/ERC4626StataTokenUpgradeable.t.sol

    Co-authored-by: Ernesto Boado <ebdmrr@gmail.com>
    sakulstra and eboadom committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    58076f3 View commit details
    Browse the repository at this point in the history
  4. refactor: rename factory + add inheritance graph (#13)

    * docs: add inheritance image
    
    * refactor: rename factory
    
    * docs: add some more docs on readm
    sakulstra committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    3781bb6 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. fix: address certora feedback (#14)

    * fix: address certora feedback
    
    * fix: leftover
    
    * fix: one more leftover
    sakulstra committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    47c58b7 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. fix: resolve conflicts

    sakulstra committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    25a5041 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    111ba64 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. fix: total assets (#17)

    * fix: calculate totalAssets
    
    * test: add test to ensure doesn't revert on zero
    sakulstra committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    687022d View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Configuration menu
    Copy the full SHA
    e339b57 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. refactor: interface inheritance (#21)

    * refactor: interface inheritance
    
    * refactor: inherit permit
    
    * fix: add inheritdoc
    sakulstra committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    5c63d4c View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Certora adaptation to stata (#18)

    * fix: calculate totalAssets
    
    * Certora adaptation to stata
    
    ---------
    
    Co-authored-by: sakulstra <lukasstrassel@googlemail.com>
    MichaelMorami and sakulstra committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    5655518 View commit details
    Browse the repository at this point in the history
  2. fix: lint certora files

    sakulstra committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    ce9735d View commit details
    Browse the repository at this point in the history
  3. Update README.md

    sakulstra committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    e66141c View commit details
    Browse the repository at this point in the history
  4. Certora Report (#23)

    * fix: calculate totalAssets
    
    * Certora adaptation to stata
    
    * Certora report + adding forgotten rule
    
    ---------
    
    Co-authored-by: sakulstra <lukasstrassel@googlemail.com>
    MichaelMorami and sakulstra committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    3c449e5 View commit details
    Browse the repository at this point in the history