Contract Ownership and Function Permissions

All core smart contracts in the jAssets protocol inherit from the OpenZeppelin Ownable.sol contract template. As a result, each contract has a single owning address, which is the deploying address. Contract ownership is renounced either upon deployment or immediately after its address setter has been called, connecting it to the rest of the core jAsset system. In some cases, ownership is transferred to the Jellyverse Governance contract for future adjustments. For more details, refer to the Governance section.

Several public and external functions include modifiers such as requireCallerIsTroveManager, requireCallerIsStoragePool, etc., ensuring that they can only be called by the respective permitted contract.

Last updated