Skip to content

Commit

Permalink
chore: add role event
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlagonia committed Oct 28, 2024
1 parent 0800311 commit 1bccce1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contracts/VaultV3.vy
Original file line number Diff line number Diff line change
Expand Up @@ -1776,7 +1776,10 @@ def shutdown_vault():
self.deposit_limit = 0
log UpdateDepositLimit(0)

self.roles[msg.sender] = self.roles[msg.sender] | Roles.DEBT_MANAGER
new_roles: Roles = self.roles[msg.sender] | Roles.DEBT_MANAGER
self.roles[msg.sender] = new_roles
log RoleSet(msg.sender, new_roles)

log Shutdown()


Expand Down

0 comments on commit 1bccce1

Please sign in to comment.