You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
As of right now a contract needs to implement a government model for privileged operations. Examples of such operations would be upgrading the code of a contract or self destruction.
It would be nice if a contract could tap into a chains government system when they align. In order to do so we would expose an API to contracts that allows checking if it was called by a special origin instead of an AccoundID.
We would probably mirror the tracks used in referendas (root, whitelisted, spender). This allows contracts to implement something like ensure_root()?.