Customized Bots

Customized Bots allow you to configure customized triggers and set up any tasks to be executed on-chain automatically, including data monitoring, alert notifications, advanced DeFi operations and more.

Step 1: Set up your Customized Bot

Click on "Bots" on the left menu.

Click on "Create" under "Customized Bots".

Click on "Create New Bot" on the investment console.

The following uses Curve-Convex USDC+USDT as an example to guide you through the process of creating a Customized Bot.

Currently, you can set up the basic information, triggers, and tasks for your Customized Bot.

  1. Basic Information

Select your Safe Wallet and Cobo Safe Module.

Enter a name for your Customized Bot. You can enter a maximum of 20 characters.

  1. Triggers

Cobo Argus V2 currently supports three types of trigger conditions.

  • Time Interval: the frequency at which the Customized Bot will be triggered (e.g. per minute, per hour, daily, weekly).

  • Contract Value Monitor: the Customized Bot will be triggered if the function value it monitors reaches a specified threshold.

  • Gas Price: the Customized Bot will be triggered if the gas price is equal to or below a specified threshold.

The following screenshot shows three trigger conditions:

  • The Customized Bot will claim rewards every six hours

  • The Customized Bot will claim rewards if the amount is equal to or greater than 1,000 CRV

  • The Customized Bot will claim rewards if the gas price is equal to or below 10 Gwei

Note that the "Contract Value Monitor" trigger requires you to enter a corresponding contract address and its parameters.

If you select multiple triggers, the Customized Bot will be triggered only if all selected trigger conditions are met.

  1. Tasks

The Customized Bot will execute tasks when it is triggered. Cobo Argus V2 currently supports two types of tasks.

  • Notification: Cobo Argus V2 will send an email to the admins and operators of the organization each time the Customized Bot is triggered.

  • DeFi Operation: You can set up four types of customized DeFi operations.

    • Parse Transactions

    • Call Smart Contracts

    • Transfer Tokens

    • Swap Tokens

  1. Parse Transactions

Enter the transaction hash of a selected transaction.

Cobo Argus V2 will automatically parse the address, name, functions, and parameters of the smart contract.

  1. Call Smart Contracts

Enter a smart contract address.

Review the contract name.

In the drop-down menu, select the function you want to use.

Review the parameter(s) and complete the task setup.

  1. Transfer Tokens

The Customized Bot can help you automatically transfer your token rewards to addresses you added to Cobo Argus V2.

In the drop-down menu, select a receiving address.

If you haven't added any addresses yet, click on "Add Address".

If you need to transfer token rewards to a new team member's address, click on "Invite Member".

  1. Swap Tokens

The Customized Bot can help you automatically claim and swap token rewards.

Select a decentralized exchange.

Select the type of token you want to transfer to/from.

Click on "Search by address".

In the pop-up window, enter the address of the token you want to add. To add $CRV, for example, you need to enter 0x11cDb42B0EB46D95f990BeDD4695A6e3fA034978.

Click on "Add".

Choose the amount of tokens you want to swap:

  • All: the entire balance of the selected token will be swapped out

  • Customized: a specified amount of the selected token will be swapped out

If you choose "Customized", please enter the specified amount of tokens you want to swap out.

You can also set up slippage control to better manage your risk exposure.

  • Default values: 0.1%, 0.5% and 1%

  • A customized percentage is also supported

Click on "Continue".

Step 2: Add token approval

A list of token approval will be displayed.

In this example, you will delegate the task of selling $CRV on 1inch Network to your Customized Bot. As a result, token approval for $CRV is required.

The allowance is set to "Unlimited" by default.

If you need to add token approval for other tokens, click on "Add Token Approval".

In the pop-up window, choose the type of token you need to approve. Then, select a Spender and specify the maximum amount of token your Spender is allowed to manage.

Click on "Submit".

Your token approval will be added to the list. Click on "Continue".

Step 3: Review and submit

Review the settings of your Customized Bot.

Click on "Submit" and sign a message using your connected browser extension.

Step 4: Complete a multisig transaction

Inform your Safe owner(s) to complete a multisig transaction.

Click on "Check the transaction" to view the progress of this multisig transaction.

Alternatively, head to Safe to view the progress of the multisig transaction.

Step 5: Complete bot setup

You will be notified on Cobo Argus V2 when the multisig transaction from Safe owner(s) is completed.

Click on "OK".

Click on "Bots" on the left menu and switch to the "Customized Bots" tab to view all the Customized Bots you have set up.

Step 6: Top up Gas Account

For the Customized Bot to run smoothly, you must top up its Gas Account first.

Do make sure that the blockchain network is correct before making a deposit.

Last updated