Skip to main content

Contracts Architecture

Upgradability:

  • Immutable - the contract cannot be upgraded
  • Migratable - the contract can be upgraded by their owners to newer versions provided by its factory
  • Not Specified - the contract may or may not be upgradeable

Accessibility:

  • VaultFactory / DelegatorFactory / SlasherFactory - Ownable, their owners can whitelist new versions/types
  • Vault - Ownable, its owner can migrate it to newer versions
  • Vault / Delegator / Slasher - have an AccessControl (roles mechanic) for providing granularity across accessibility risks
  • Collateral / StakerRewards / OperatorRewards / Burner - can have any accessibility

contracts-architecture