Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(evm): Impl a way to send ERC20 tokens to a Nibiru base account as bank coins using the FunToken mapping #1944

Closed
2 tasks done
Tracked by #1898
Unique-Divine opened this issue Jun 26, 2024 · 0 comments · Fixed by #1959
Closed
2 tasks done
Tracked by #1898
Assignees
Labels
x: evm Relates to Nibiru EVM or the EVM Module

Comments

@Unique-Divine
Copy link
Member

Unique-Divine commented Jun 26, 2024

Desired Behavior

As the user of a Nibiru EVM account, I want to send an EthereumTx to send ERC20 tokens as coins to a desired Nibiru base account (sdk.AccAddress) with the following arguments:

Arg Go Type Solidity Type
erc20 gethcommon.Address as string address
amount big.Int uint256
to sdk.AccAddress as string string

The bank coins sent to the receiving "nibi" address will be the ones specified by the FunToken mapping corresponding to my ERC20.

Notes

@github-project-automation github-project-automation bot moved this to ⚡ Building 🧱 in ⚛️ Nibiru (Hougyoku) Jun 26, 2024
@Unique-Divine Unique-Divine added the x: evm Relates to Nibiru EVM or the EVM Module label Jun 26, 2024
@Unique-Divine Unique-Divine changed the title feat(evm): Impl tx message to change an ERC20 into bank coins using an existing FunToken mapping feat(evm): Impl a way to send ERC20 tokens to a Nibiru base account as bank coins using the FunToken mapping Jul 3, 2024
@Unique-Divine Unique-Divine self-assigned this Jul 3, 2024
@github-project-automation github-project-automation bot moved this from ⚡ Building 🧱 to ✅ Completed in ⚛️ Nibiru (Hougyoku) Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x: evm Relates to Nibiru EVM or the EVM Module
Projects
Archived in project
1 participant