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] Proposal vote check #6

Merged
merged 8 commits into from
Jan 4, 2024
Merged

[feat] Proposal vote check #6

merged 8 commits into from
Jan 4, 2024

Commits on Dec 27, 2023

  1. πŸ”₯ remove pinned solc version in foundry

    πŸ› add missing _pow func to avoid overflow and underflow
    ✨ helper func in test
    πŸ§ͺ conviction value check after vote and time passed
    kamikazebr committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    bff1f87 View commit details
    Browse the repository at this point in the history
  2. 🎨 fix format using forge fmt

    🎨 better order for test funcs and comments
    🎨 some consts added
    kamikazebr committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    33b554e View commit details
    Browse the repository at this point in the history
  3. πŸ› put owner in init params instead msg.sender

    ✨ setCouncilMembers func added
    ✨ setBasisStakedAmount func added
    kamikazebr committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    2811fad View commit details
    Browse the repository at this point in the history
  4. πŸ› fix stakedAmount updates

    πŸ› fix threshold formula
    ✨ created better constants for testing
    πŸ§ͺ 2 new tests, totalStaked and threshold
    kamikazebr committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    9bba721 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7035355 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    40d2c6f View commit details
    Browse the repository at this point in the history
  7. 🚨 skip web:build

    πŸ› created correct InitializedCV event
    πŸ› fix subgraph
    kamikazebr committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    f1b7cc1 View commit details
    Browse the repository at this point in the history
  8. βž• Added Safe contracts in lib

    πŸ”₯ replace owner for councilSafe
    ✨ add AccessControl to use Roles
    πŸ”₯ remove old ISafe interface in favor of Safe.sol
    ✨ created SafeSetup for helpers functions
    ✨ change CouncilSafe ownership in 2 Step
    kamikazebr committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    fecf7cf View commit details
    Browse the repository at this point in the history