coinbase / coinbase/agentkit

Moonwell Action Provider Conflicted with erc20ActionProvider

Open
#237 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.3k
Forks
815
Avg merge
13h 31m
Merged PRs (30d)
2

Description

### 🐛 Describe the bug

When attempting to mint on a moonwell mToken using code from https://github.com/coinbase/agentkit/pull/228, even when directly telling agentkit to use the MoonwellActionProvider_deposit functionality, instead of using the MoonwellActionProvider, the following steps were taken:

1. approve mToken to spend underlying erc20 token using the erc20ActionProvider
2. transfer underlying erc20 token directly to the mToken address

This means that the moonwell action provider was being ignored. Once the erc20ActionProvider was commented out, the moonwellActionProvider worked.

### Versions

Python 3.10.0
Poetry (version 1.5.1)
WARNING: Package(s) not found: cdp-agentkit-core
WARNING: Package(s) not found: cdp-langchain

This was being run a ts files, not python.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.