-
Notifications
You must be signed in to change notification settings - Fork 196
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(world-modules): system bound delegation control #1885
Conversation
|
packages/world-modules/src/modules/std-delegations/SystemboundDelegationControl.sol
Outdated
Show resolved
Hide resolved
Co-authored-by: alvarius <[email protected]>
Creates a new delegation control called
SystemboundDelegationControl
that delegates control of a specific system for some maximum number of calls. It is almost identical toCallboundDelegationControl
except the delegation is not for specificcalldata
- the delegatee can call the system with any function and args.The tests are mainly copied from callbound delegations but check that you can use a single delegation to call multiple functions on a system.