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

wip: Project A #12

Draft
wants to merge 30 commits into
base: main
Choose a base branch
from
Draft

wip: Project A #12

wants to merge 30 commits into from

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    50c2e26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6830af7 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

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

Commits on Jul 5, 2024

  1. feat: non breaking multi rewards (#17)

    fix: fix multi rewards tests
    sakulstra committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    6e221ad View commit details
    Browse the repository at this point in the history
  2. feat: use ownable (#18)

    sakulstra authored Jul 5, 2024
    Configuration menu
    Copy the full SHA
    7955b73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b23185e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fb81818 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. feat: cleanup (#19)

    * feat: cleanup
    
    * fix: remove obsolete things
    sakulstra authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    989fc30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d90db80 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Configuration menu
    Copy the full SHA
    df813dd View commit details
    Browse the repository at this point in the history
  2. fix: flaky test

    sakulstra committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    6c1a919 View commit details
    Browse the repository at this point in the history
  3. feat: use upgradable contracts (#23)

    * feat: use upgradable contracts
    
    * fix: add todo
    sakulstra authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    da940bb View commit details
    Browse the repository at this point in the history
  4. fix: fix comment

    sakulstra committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    a6e1640 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    708dba2 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. 2 Configuration menu
    Copy the full SHA
    60f4fd3 View commit details
    Browse the repository at this point in the history
  2. renamed _xY to newXY

    Pavel Menshikov committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    3dc4735 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. feat: add pausability (#25)

    * feat: add pausability
    
    * fix: check pausable
    
    * fix: add mssing tests
    
    * fix: add transfer test
    
    * fix: remove now obsolete interface
    
    * Delete src/contracts/interfaces/IStaticATokenLM.sol
    sakulstra authored Jul 18, 2024
    Configuration menu
    Copy the full SHA
    cdddd46 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. feat: use acl (#27)

    sakulstra authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    d85f7b7 View commit details
    Browse the repository at this point in the history
  2. fix: add missing interfaces

    sakulstra committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    f21a874 View commit details
    Browse the repository at this point in the history
  3. feat: upgrade to origin (#28)

    * chore: upgrade helpers
    
    * fix: upgrade to origin
    sakulstra authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    99e9e29 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

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

Commits on Aug 5, 2024

  1. erc-4626 draft-ready (#29)

    * erc-4626 draft-ready
    
    * Fixed rounding + removed named returns
    
    * moved converting to internal functions
    
    ---------
    
    Co-authored-by: Pavel Menshikov <[email protected]>
    pavelvm5 and Pavel Menshikov authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    e3b7d39 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. test: invariant (#30)

    sakulstra authored Aug 7, 2024
    Configuration menu
    Copy the full SHA
    76912d8 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2024

  1. Remove aave v3 (#37)

    * added OZ erc4626 + rewrite half functions
    
    * removed excess functions, changed errors to OZ style
    
    * slash function is rewritten
    
    * lint of StakeToken
    
    * Simplification of maxWithdraw (#33)
    
    * Move whenNotPaused to internal method (#34)
    
    * deleted old versions + little code-style fixes
    
    * finished StakeToken
    
    * removed excess contracts
    
    * erc-4626 tests ready
    
    * deleted excess files
    
    * tests for ERC20/4626 ready
    
    * removed StataStakeToken
    
    * cooldown tests are ready
    
    * Added pause tests, added modifier to slash function, some little fixes made
    
    * slashing tests + cooldownOnBehalf tests
    
    * depositWithPermit added + some little name/description fixes
    
    * tests finished
    
    * storage refactored to OZ like, added comments to errors, fixed try-catch with permit
    
    * TestnetProcedures is deleted
    
    * remove aave-v3-origin dependencies
    
    ---------
    
    Co-authored-by: Pavel Menshikov <[email protected]>
    Co-authored-by: Andrei Kozlov <[email protected]>
    Co-authored-by: Pavel Menshikov <[email protected]>
    4 people authored Aug 18, 2024
    Configuration menu
    Copy the full SHA
    3d6c570 View commit details
    Browse the repository at this point in the history
  2. Revert "Remove aave v3 (#37)" (#38)

    This reverts commit 3d6c570.
    pavelvm5 authored Aug 18, 2024
    Configuration menu
    Copy the full SHA
    a36e435 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

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

Commits on Aug 29, 2024

  1. Refactoring of the 4626 (#36)

    * added OZ erc4626 + rewrite half functions
    
    * removed excess functions, changed errors to OZ style
    
    * slash function is rewritten
    
    * lint of StakeToken
    
    * Simplification of maxWithdraw (#33)
    
    * Move whenNotPaused to internal method (#34)
    
    * deleted old versions + little code-style fixes
    
    * finished StakeToken
    
    * removed excess contracts
    
    * erc-4626 tests ready
    
    * deleted excess files
    
    * tests for ERC20/4626 ready
    
    * removed StataStakeToken
    
    * cooldown tests are ready
    
    * Added pause tests, added modifier to slash function, some little fixes made
    
    * slashing tests + cooldownOnBehalf tests
    
    * depositWithPermit added + some little name/description fixes
    
    * tests finished
    
    * remove  whenNotPaused
    
    * Remove aave v3 (#39)
    
    * storage refactored to OZ like, added comments to errors, fixed try-catch with permit
    
    * TestnetProcedures is deleted
    
    * remove aave-v3-origin dependencies
    
    * BUSL license
    
    ---------
    
    Co-authored-by: Pavel Menshikov <[email protected]>
    
    * forge install: openzeppelin-contracts-upgradeable
    
    v5.0.2
    
    * deleted aave-helpers/token-v3, added OZ
    
    * forge install: solidity-utils
    
    v1.1.0
    
    * fixed gramma error in link + removed OZ to solidity-utils
    
    * moved to extension
    
    * little fixes
    
    * fixed extension
    
    * OZ dependendies refactor
    
    * removed excess from interfaces
    
    * little style fixes
    
    * permit tests added
    
    * deleted smConfig
    
    * Delete exchange rate (#40)
    
    * initial commit without exchange rate
    
    * moved to OZ finally + added virtual assets counting
    
    * add decimalsOffset = 3 + fixed tests, cause shares were messed with assets
    
    * little fixes + commented 1 test
    
    * removed forge-std
    
    * change AC model to ownable, make permissioned methods virtual
    
    * tests are fixed after deleting slashingAdmin and ACLManager
    
    * Refactoring of _update on ERC4626StakeTokenUpgradeable (#41)
    
    * dependencies are sorted like like oz-up, oz, our
    
    * optimized _update + added event
    
    * renamed IStakeToken to IERC4626StakeToken as made in stata + license updated + inheritdoc inserted
    
    * little fix
    
    * micro opt
    
    * Rescuable returned
    
    * added test for non-admins fuzz
    
    * Tests added
    
    * Docs are added
    
    * Grammar fixed
    
    * non-admin tests fixed
    
    * precision losses are added into the limitations p
    
    * little foundry fix
    
    * Update LICENSE
    
    Co-authored-by: Andrey <[email protected]>
    
    * Update README.md
    
    Co-authored-by: Andrey <[email protected]>
    
    * Update tests/Rescuable.t.sol
    
    Co-authored-by: Andrey <[email protected]>
    
    * deleted excess function
    
    * add comment
    
    ---------
    
    Co-authored-by: Pavel Menshikov <[email protected]>
    Co-authored-by: Andrei Kozlov <[email protected]>
    
    * accept right changes + removed outdated condition for combined test
    
    * Update README.md
    
    Co-authored-by: Lukas <[email protected]>
    
    * Update README.md
    
    Co-authored-by: Lukas <[email protected]>
    
    * renamed timestamp to endOfCooldown
    
    * forge install: erc4626-tests
    
    * a16z tests added
    
    * added withdrawalWindow
    
    * Added test to cover window and cooldown change
    
    * added setUp yield into a16z tests
    
    * little fixes
    
    ---------
    
    Co-authored-by: Pavel Menshikov <[email protected]>
    Co-authored-by: Pavel Menshikov <[email protected]>
    Co-authored-by: pavelvm5 <[email protected]>
    Co-authored-by: pavelvm5 <[email protected]>
    Co-authored-by: Lukas <[email protected]>
    6 people authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    22f53dc View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    2530d83 View commit details
    Browse the repository at this point in the history
  2. Added tests for this case

    pavelvm5 committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    4728442 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    17ad16d View commit details
    Browse the repository at this point in the history