Cobo Argus
(EN)
(EN)
  • Announcements
    • Cobo Argus V2 is Here! Supercharge Your DeFi Investments Today
  • Product Documentation
    • Account and Organization
      • Sign Up
        • Sign Up Using Web3 Wallet
        • Sign Up Using Email Address
      • Create Organization
        • Invite Team Member
        • Join Organization
      • Manage Account
        • Log In
        • Add Wallet Addresses for Logins
        • Add Email Address
        • Set Up 2FA
      • Manage Wallet Settings
    • Safe & Cobo Safe
      • Create Safe Wallet
      • Import Safe Wallet to Cobo Argus
      • Create & Enable Cobo Safe Module
      • Add Address
        • Team Members
        • Admin
    • Role-Based Access Controls
      • Authorization
        • Strategy Marketplace
        • Authorization Workflow
          • Modify Authorization
          • Remove Authorization
      • DeFi Operations (Delegated Members)
        • View Roles & DeFi Permissions
        • Complete DeFi Operations
      • Customized DeFi Permissions
        • Create Safe Role & DeFi Permissions
        • Delegate Role to Members
        • Complete Multisig Transaction
    • DeFi Bots
      • Strategy Bots
        • Farming Bots
        • Withdrawal Bots
      • Customized Bots
      • Webhook
        • Configuring Webhooks
        • How to connect Argus and Chainbot Webhook
        • Set up a webhook to monitor contract upgrades.
    • Token Approval
      • View Token Approval
      • Revoke Token Approval
      • Batch-Revoke Token Approval
      • Update Token Approval
    • What's New
  • Tutorials
    • Curve-Convex Authorization & DeFi Bots
    • Farming Bots-Equilibria Finance (EQB)
    • Farming Bots & Withdrawal Bots-BendDAO
    • Rabby Wallet
    • Customized Bots-DAI
    • How to Manage Automated Leverage on Cobo Argus
    • Cobo Argus Claiming Bot automatically claims Pendle minings rewards!
  • Cobo Safe Technical Documentation
    • Cobo Account
      • Cobo Safe Account
      • Cobo Smart Account
      • Send Transactions
    • Role Manager
    • Authorizer
      • Authorizer Example
      • BaseACL
      • Other Authorizers
    • Cobo Argus
      • Workflow
    • Security Audit
    • Deployed Smart Contracts
Powered by GitBook
On this page
  1. Product Documentation
  2. Role-Based Access Controls
  3. Customized DeFi Permissions

Create Safe Role & DeFi Permissions

PreviousCustomized DeFi PermissionsNextDelegate Role to Members

Last updated 1 year ago

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

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.

You may refer to the "Authorizer" section in the 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 more for information.

Cobo Safe technical documentation
contact us