Skip to content

Comments

PCVGuardian#282

Merged
xklob merged 28 commits intofeat/v2/basefrom
feat/PCVGuardian
Nov 9, 2021
Merged

PCVGuardian#282
xklob merged 28 commits intofeat/v2/basefrom
feat/PCVGuardian

Conversation

@xklob
Copy link
Contributor

@xklob xklob commented Nov 3, 2021

PCV Guardian interface, implementation, and unit tests.

The PCV Guardian functions will (mostly) be only callable by the guardian-or-governor.

The Governor is the only role that will be able to add "safe" addresses that the guardian can choose to withdraw to.

The Guardian can call into the PCV Guardian (which itself will be a pcv controller and a guardian) and withdraw from any pcv deposit into any safe address.

@xklob xklob changed the title IPCVGuardian PCVGuardian Nov 3, 2021
Copy link
Contributor

@Joeysantoro Joeysantoro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good overall, one main comment and a bunch of nits

@xklob
Copy link
Contributor Author

xklob commented Nov 4, 2021

todo: make modifiers onlyGovernorOrAdminOrGuardian too

Copy link
Contributor

@Joeysantoro Joeysantoro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two nits, LGTM

@xklob xklob merged commit e3a2eef into feat/v2/base Nov 9, 2021
@xklob xklob deleted the feat/PCVGuardian branch November 9, 2021 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants