This content applies to WaaS 1.0 only. We highly recommend that you upgrade to WaaS 2.0.
Cobo Safe is an open-source access control framework for smart contract wallets. Developed by Cobo, this framework allows the Owner of a smart contract wallet to delegate certain operations (e.g., transferring tokens, interacting with specific smart contracts) to the Delegate. The Delegate can then perform authorized wallet operations on behalf of the Owner.
The Cobo Safe framework includes the following components:
- Cobo Account: The wrapper of a smart contract wallet in the
Cobo Safeframework. - Owner: A privileged user who owns the smart contract wallet. The
Ownercan delegatePermissionsto other users (i.e.,Delegates) in aCobo Safeframework. - Delegate: A user of least privilege in a
Cobo Safeframework. TheDelegatescan only perform wallet operations as authorized by theOwner. - Permission: The authority granted within a
Cobo Account. In other words, a user’s ability to initiate certain Ethereum transactions from the smart contract wallet. - Role: Each
Roleis associated with a set ofPermissions. TheOwnercan pre-configure a set ofPermissionsfor eachRole, and then delegate aRoleto theDelegatewith the help of aRole Manager. - Role Manager: A module that is used to manage each
Delegateand itsRole.Only theOwneris authorized to modify the settings of aRole Manager. In general, eachCobo Accountwill only have oneRole Manager. - Authorizer: A module that is used to examine the
Permissionsgranted to aDelegate. TheAuthorizerwill check the transactions sent by theDelegateaccording to the configuration of theOwner. Unauthorized transactions will be rejected by theAuthorizer.
Cobo Safe ensures an easily adaptable and modular access control framework by combining built-in and customized Authorizers.
By leveraging Cobo Safe, Cobo Argus V2 effectively implements role-based access controls (RBAC) to enhance the transparency and flexibility in DeFi investments.
