You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Likely involves a precompile
Prerequisite: Requires first completing FunToken creation methods:
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
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:erc20
gethcommon.Address
as stringaddress
amount
big.Int
uint256
to
sdk.AccAddress
as stringstring
The bank coins sent to the receiving "nibi" address will be the ones specified by the
FunToken
mapping corresponding to my ERC20.Notes
FunToken
creation methods:CreateFunTokenFromERC20
#1941CreateFunTokenFromCoin
#1942The text was updated successfully, but these errors were encountered: