Skip to content

define the required functionality for onchain operations #3

@Stefs-2142

Description

@Stefs-2142

Goal:
It is necessary to define the minimum set of functionalities required for transferring tokens from one protocol in one network to another. The standard set of actions from the EVM plugin does not cover this task.

Current EVM Plugin available actions:

export const evmPlugin: Plugin = {
    name: "evm",
    description: "EVM blockchain integration plugin",
    providers: [evmWalletProvider],
    evaluators: [],
    services: [],
    actions: [transferAction, bridgeAction, swapAction],
};
Image

We need:

  • function for approve() ERC-20
  • function for execute supply() AAVE contract method
  • function for withdraw()

DoD:

  • It is clear how to invoke a smart contract in a standard scenario, without an agent, simply using TypeScript libraries
  • It is clear how to execute custom transactions from agent — in our case, interacting with the AAVE protocol to collateralize USDT/USDC/DAI

Sources:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions