Skip to content

Commit

Permalink
chore: spech
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlagonia committed Sep 9, 2024
1 parent 1c2b058 commit 461ddad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions TECH_SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,7 @@ Every role can be filled by an EOA, multi-sig or other smart contracts. Each rol

The account that manages roles is a single account, set in `role_manager`.

This role_manager can be an EOA, a multi-sig or a Governance Module that relays calls.

The vault comes with the ability to "open" every role. Meaning that any function that requires the caller to hold that role would be come permsissionless.

The vault imposes no restrictions on the role managers ability to open or close any role. **But this should be done with extreme care as most of the roles are not meant to be opened and can lead to loss of funds if done incorrectly**.
This role_manager can be an EOA, a multi-sig or a Governance contract that relays calls.

### Strategy Management
This responsibility is taken by callers with ADD_STRATEGY_MANAGER, REVOKE_STRATEGY_MANAGER and FORCE_REVOKE_MANAGER roles
Expand Down
2 changes: 1 addition & 1 deletion contracts/VaultV3.vy
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ strategies: public(HashMap[address, StrategyParams])
default_queue: public(DynArray[address, MAX_QUEUE])
# Should the vault use the default_queue regardless whats passed in.
use_default_queue: public(bool)
# Should automatically allocate funds to the first strategy in queue.
# Should the vault automatically allocate funds to the first strategy in queue.
auto_allocate: public(bool)

### ACCOUNTING ###
Expand Down

0 comments on commit 461ddad

Please sign in to comment.