Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

[230415 Audit][v1.3] Dev -> Master #202

Merged
merged 27 commits into from
Jul 24, 2023
Merged

[230415 Audit][v1.3] Dev -> Master #202

merged 27 commits into from
Jul 24, 2023

Commits on Apr 5, 2023

  1. Remove Forwarder (#160)

    arjun-io authored Apr 5, 2023
    Configuration menu
    Copy the full SHA
    9a4af05 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Chainlink Bisection Oracle for Phase Discovery (#147)

    * Chainlink Bisection Oracle for Phase Discovery
    
    * more unit test coverage
    
    * fix integration test
    
    * add comments
    
    * improve comments, code readability
    
    * improve integration tests
    
    * minor cleanup
    
    * include uint64 cast
    
    * aggregatorRoundId helper
    
    ---------
    
    Co-authored-by: Kevin Britz <kevin@equilibria.xyz>
    arjun-io and kbrizzle authored Apr 6, 2023
    Configuration menu
    Copy the full SHA
    4e2fa53 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2023

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

Commits on Apr 17, 2023

  1. MultiInvokerRollup (#141)

    * Create README.md
    
    * Update README.md
    
    * Update README.md
    
    * started concept for multiinvoker rollup optimization
    
    * Update README.md
    
    * Update README.md
    
    * changed visibility of invoker actions
    
    * adding testing for rollup invoker
    
    * finished unit tests of multiinvokerrollup
    
    * cleanup solidity  + implement pr suggestions
    
    * update interface
    
    * deployment
    
    * wrap / unwrap prefixing fix
    
    * delete file
    
    * more style and comments
    
    * decode uint len < 32 check + more cleanup
    
    * more style
    
    * comment coverage
    
    * function visibility, mutability, ordering
    
    * comment formatting + coverage
    
    * more comment cleanup
    
    * more nitpicks
    
    * brizzle logical changes
    
    * move uint length check to relevant
    
    * move uint length check to relevant
    
    * simplify function levels
    
    * simplify function levels
    
    * style changes
    
    * update cache storage scheme
    
    * deploy new proxy and impl
    
    * add isRollup util
    
    * handle both rollup and non rollup deployments
    
    * update rollup invoker
    
    * final sc cleanup
    
    * update deploy
    
    * update test
    
    * integration tests
    
    * more coverage
    
    * coverage + fixed tests
    
    * added error coverage and moved revert up level
    
    * fix internal calls, update tests
    
    * remove .only
    
    ---------
    
    Co-authored-by: Kevin Britz <kevin@equilibria.xyz>
    Co-authored-by: Arjun Rao <2940142+arjun-io@users.noreply.github.com>
    3 people authored Apr 17, 2023
    Configuration menu
    Copy the full SHA
    c6b0592 View commit details
    Browse the repository at this point in the history
  2. Feat/charge fee (#163)

    * Create README.md
    
    * Update README.md
    
    * Update README.md
    
    * started concept for multiinvoker rollup optimization
    
    * Update README.md
    
    * Update README.md
    
    * changed visibility of invoker actions
    
    * adding testing for rollup invoker
    
    * finished unit tests of multiinvokerrollup
    
    * cleanup solidity  + implement pr suggestions
    
    * update interface
    
    * deployment
    
    * wrap / unwrap prefixing fix
    
    * delete file
    
    * more style and comments
    
    * decode uint len < 32 check + more cleanup
    
    * more style
    
    * comment coverage
    
    * function visibility, mutability, ordering
    
    * comment formatting + coverage
    
    * more comment cleanup
    
    * more nitpicks
    
    * brizzle logical changes
    
    * move uint length check to relevant
    
    * move uint length check to relevant
    
    * fix pragma version
    
    * simplify function levels
    
    * simplify function levels
    
    * style changes
    
    * update cache storage scheme
    
    * deploy new proxy and impl
    
    * add isRollup util
    
    * handle both rollup and non rollup deployments
    
    * update rollup invoker
    
    * final sc cleanup
    
    * update deploy
    
    * update test
    
    * integration tests
    
    * more coverage
    
    * initial commit
    
    * charge fee changes
    
    * coverage + fixed tests
    
    * added error coverage and moved revert up level
    
    * update charge fee
    
    * add charge fee data to tests
    
    * test name misspelled
    
    * fix internal calls, update tests
    
    * remove .only
    
    * added coverage and debug charge fee
    
    * merge conflicts
    
    * added comments
    
    * added comments
    
    * added unwrapped charge fee action
    
    * test commit
    
    * test commit
    
    * address comments
    
    * fix multiinvoke test
    
    * swap wrapped for CHARGE_FEE
    
    * remove log
    
    * kevin cleanup
    
    ---------
    
    Co-authored-by: Kevin Britz <kevin@equilibria.xyz>
    Co-authored-by: Arjun Rao <2940142+arjun-io@users.noreply.github.com>
    3 people authored Apr 17, 2023
    Configuration menu
    Copy the full SHA
    b3bfe81 View commit details
    Browse the repository at this point in the history
  3. Multi-Asset Vault (#162)

    * Refactor into struct
    
    Signed-off-by: Fennel <0xfennel@proton.me>
    
    * Initial implementation pass
    
    * Change events
    
    * Quick changes to compiler settings
    
    * Move around test files
    
    * Get rid of _deposit
    
    * Fix interface
    
    * Fix existing tests, along with some bugs
    
    * Add addMarket() and updateWeight()
    
    Signed-off-by: Fennel <0xfennel@proton.me>
    
    * fix build
    
    * immutable definition rework
    
    * remove erc20
    
    * market account type
    
    * add perennial lib
    
    * epoch rewrite
    
    * TODOs
    
    * clean up current speoch
    
    * fix asset snapshotting
    
    * existing tests working
    
    * re-combine logic
    
    * make static storage multi-asset
    
    * basic multi-asset test
    
    * make upgrade compatible
    
    * equivalent multi-asset tests
    
    * todos
    
    * add stale epoch fix
    
    * starting pending tests
    
    * fix epoch stamping issue
    
    * TODOs
    
    * fix takerlimit tests
    
    * add upgrade note
    
    * run optimizer always in vaults
    
    * add epoch getters
    
    ---------
    
    Signed-off-by: Fennel <0xfennel@proton.me>
    Co-authored-by: Fennel <0xfennel@proton.me>
    Co-authored-by: Arjun Rao <2940142+arjun-io@users.noreply.github.com>
    3 people authored Apr 17, 2023
    Configuration menu
    Copy the full SHA
    2996274 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d579241 View commit details
    Browse the repository at this point in the history
  5. increase test timeout

    arjun-io committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    bdf6dfe View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. test timeout

    arjun-io committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    4c6b0b3 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2023

  1. Multi-Asset Upgrades Verification Tests (#165)

    * Multi-Asset Upgrades Verification Tests
    
    * move setupTokenHolders to shared
    arjun-io authored Apr 25, 2023
    Configuration menu
    Copy the full SHA
    210b793 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. Configuration menu
    Copy the full SHA
    418ca93 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    388fb5a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ec511fd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4f0b1f2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f75be91 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    91631f2 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. fix CI

    arjun-io committed May 10, 2023
    Configuration menu
    Copy the full SHA
    28a9312 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. Add more validations in BalancedVault constructor (#180)

    * Add more validations in BalancedVault constructor
    
    * Fix CI
    
    * Change error name
    
    * Fix typo, validate product payoffs
    
    * Add check that previous impl's markets are prefix of current
    
    * Natspec
    0xfennel authored May 11, 2023
    Configuration menu
    Copy the full SHA
    ea7b7b8 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

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

Commits on May 15, 2023

  1. [Fix][M1] Reentrancy attack vector through incentive program rewards (#…

    …174)
    
    * Mark updateClosed as nonReentrant
    
    * Move incentivizer refunds to settled flow
    
    * Mark updateClosed as notPaused (#175)
    arjun-io authored May 15, 2023
    Configuration menu
    Copy the full SHA
    45de2ad View commit details
    Browse the repository at this point in the history
  2. fix unit test

    arjun-io committed May 15, 2023
    Configuration menu
    Copy the full SHA
    b014fe0 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2023

  1. Configuration menu
    Copy the full SHA
    79f7ff6 View commit details
    Browse the repository at this point in the history
  2. Don't return struct when deducting program fee (#179)

    * Don't return struct when deducting program fee
    
    * move program total
    arjun-io authored May 16, 2023
    Configuration menu
    Copy the full SHA
    395a330 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b6d8380 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. Nose/fix rollup audit (#183)

    * convert to action enum
    
    * cheaper calldata allocation
    
    * magic collision byte
    
    * compiler destructuring fix
    
    * enforce 1 byte fallback sig
    
    * fix previous commit
    
    * minor fixes
    
    * changs magic byte + add collision assertions
    
    * enforce and test invoke id byte
    test9955667 authored May 17, 2023
    Configuration menu
    Copy the full SHA
    dba7e8a View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2023

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