User roles
Management
Owner
Each Onyx instance has one owner.
The owner must be fully-trusted.
The owner can add/remove "admin" users.
Owner is generally given permission to perform any "admin" action.
Ownership is transferrable.
Admin
An Onyx instance can have multiple admins, set by the Owner.
Each admin must be fully-trusted.
Admins can generally perform any administrative action, other than, e.g., adding/removing admins.
Admin role is non-transferrable.
Limited admin roles
To synthetically create scoped trust-throttled roles, peripheral contracts can be added as "admin" that define their own rules for allowed callers and callees.
Shares holders
By default, any account can deposit for, redeem, and transfer Shares, which are ERC20 representations of value held across on- and off-chain accounts.
Share holders can be restricted by admins (i.e., who can deposit and receive transfers or any other limitation).
Trust of share holders may vary depending on specific setups, but generally they are treated as untrusted.
Last updated
Was this helpful?