Create Safe Role & DeFi Permissions

Step 1: Click on "Cobo Safe" on the left menu and select a Safe Wallet.

Step 2: Switch to the "Safe Role" tab.

Step 3: Click on "+Create Safe Role".

Step 4: Enter a name for the role.

Note that you can enter a maximum of 32 characters. The name cannot be modified once it is set.

Step 5: Click on "Confirm".

The role you created is saved as a draft. It will take effect once the multisig transaction from Safe owner(s) is completed.

Step 6: Click on "Submit Modification". A multisig transaction from Safe owner(s) will be initiated.

Alternatively, you can initiate multisig transaction requests in batches after you have successfully created all roles and DeFi permissions.

Step 7: Click on "Manage Permission" to add customized DeFi permissions to a role.

Step 8: Click on "Add Permission" in the pop-up window.

Currently, Cobo Argus V2 supports two types of customized DeFi permissions.

  • Contract Interaction Access Control: You can configure access controls for your DeFi permissions at the function level. All configuration can be completed conveniently within Cobo Argus V2.

  • Parameter-Level Access Control: You can configure parameter-level access controls for your DeFi permissions. You will need to manually write an authorizer contract first.

  1. Contract Interaction Access Control

Enter a name for the DeFi permission. Click on "Continue".

Enter a contract address. The following uses claiming rewards on GMX as an example.

Enter the contract address for claiming rewards on GMX. Cobo Argus V2 will automatically parse all functions associated with this smart contract.

Select the functions you need. Then, click on "Continue".

Click on "Expand" to view all selected functions.

To modify the selected functions, click on the edit icon.

To remove a selected function, click on the trash bin icon.

To add more contract addresses, click on "Add new contract".

Otherwise, click on "Save". This DeFi permission will be saved in the list.

Click on "Add Permission" to add other DeFi permissions to this role.

  1. Parameter-Level Access Control

You can write an authorizer contract to add parameter-level access controls for your DeFi permissions, such as:

  • Limiting the types of tokens that can be traded on a DeFi protocol

  • Limiting the types of tokens that can be used for liquidity provision

  • Limiting the maximum amount of tokens that can be traded

  • Managing the receiving addresses for transactions

You may refer to the "Authorizer" section in the Cobo Safe technical documentation for more information on how to write an authorizer contract.

Cobo Argus V2 also provides value-added services to help you write an authorizer contract and/or audit an authorizer contract. Please contact us more for information.

Select "Parameter-Level Access Control" after you have successfully written an authorizer contract. Then, enter the contract address.

The name of your DeFi permission will be automatically displayed.

Last updated