-
Notifications
You must be signed in to change notification settings - Fork 11
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
Beefing up the Coordinator: Restrictions to initiator, ritual duration, fee model, automatic TX reimbursements, etc #86
Commits on Jun 9, 2023
-
Introduce duration parameter for ritual creation
Optimize Ritual struct layout
Configuration menu - View commit details
-
Copy full SHA for 41f1634 - Browse repository at this point
Copy the full SHA 41f1634View commit details -
Introduce Initiator role to gatekeep ritual initiation
Also replace contract owner for parameter administration role
Configuration menu - View commit details
-
Copy full SHA for e56c3ef - Browse repository at this point
Copy the full SHA e56c3efView commit details -
Add authority field to Ritual. Can be different than initiator
Initiator is just the entity that calls initiateRitual(), needs to be authorized, and provides initial payment. Authority is who controls ritual lifecycle going forward.
Configuration menu - View commit details
-
Copy full SHA for f24fd29 - Browse repository at this point
Copy the full SHA f24fd29View commit details -
Introduce interface for Fee Models
Fee Models dictate what's the cost for rituals
Configuration menu - View commit details
-
Copy full SHA for deb7fcf - Browse repository at this point
Copy the full SHA deb7fcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8492bf - Browse repository at this point
Copy the full SHA b8492bfView commit details
Commits on Jun 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7ccae5b - Browse repository at this point
Copy the full SHA 7ccae5bView commit details -
Use DEFAULT_ADMIN_ROLE as parameters admin
Also, changes AccessControl base contract for the more specific AccessControlDefaultAdminRules
Configuration menu - View commit details
-
Copy full SHA for 66e1f64 - Browse repository at this point
Copy the full SHA 66e1f64View commit details -
Function to make initiation public (no initiator allowlist)
Also, change isInitiationRegulated to isInitiationPublic
Configuration menu - View commit details
-
Copy full SHA for 64792c1 - Browse repository at this point
Copy the full SHA 64792c1View commit details
Commits on Jun 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d13d287 - Browse repository at this point
Copy the full SHA d13d287View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddb0847 - Browse repository at this point
Copy the full SHA ddb0847View commit details -
Can't revoke INITIATOR_ROLE addresses since our AccessControl doesn't inherit from AccessControlEnumerable. It doesn't matter much anyway
Configuration menu - View commit details
-
Copy full SHA for f11e8c4 - Browse repository at this point
Copy the full SHA f11e8c4View commit details
Commits on Jun 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 486b893 - Browse repository at this point
Copy the full SHA 486b893View commit details -
Make transcript size a test constant
We may want to parametrize tests based on this
Configuration menu - View commit details
-
Copy full SHA for cf9e74a - Browse repository at this point
Copy the full SHA cf9e74aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55fa421 - Browse repository at this point
Copy the full SHA 55fa421View commit details -
Add DAI deployment address for Polygon Mainnet and Mumbai
Add also previous StakeInfo deployment on Mumbai
Configuration menu - View commit details
-
Copy full SHA for a896ed0 - Browse repository at this point
Copy the full SHA a896ed0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85cc9c2 - Browse repository at this point
Copy the full SHA 85cc9c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d634394 - Browse repository at this point
Copy the full SHA d634394View commit details -
Treat fees as pending until ritual is final
Either ritual is successful and fees can be used by the protocol, or ritual is failed and fees are refunded to initiator (consider partial refund)
Configuration menu - View commit details
-
Copy full SHA for 02b93ed - Browse repository at this point
Copy the full SHA 02b93edView commit details -
Ensure that provided decryption request static key by nodes is 42 byt…
…es long (as of nucypher-core v0.10.0).
Configuration menu - View commit details
-
Copy full SHA for f819fac - Browse repository at this point
Copy the full SHA f819facView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc11d12 - Browse repository at this point
Copy the full SHA bc11d12View commit details
Commits on Jun 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 362891e - Browse repository at this point
Copy the full SHA 362891eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2eb840 - Browse repository at this point
Copy the full SHA b2eb840View commit details