# Functions
BuildExecRevertedErr returns a mocked error that should align with the behavior of the original ERC20 Solidity implementation.
ConvertErrToERC20Error is a helper function which maps errors raised by the Cosmos SDK stack to the corresponding errors which are raised by an ERC20 contract.
GetAuthzExpirationAndAllowance returns the authorization, its expiration as well as the amount of denom that the grantee is allowed to spend on behalf of the granter.
NewPrecompile creates a new ERC-20 Precompile instance as a PrecompiledContract interface.
ParseAllowanceArgs parses the allowance arguments and returns the owner and the spender addresses.
ParseApproveArgs parses the approval arguments and returns the spender address and amount.
ParseBalanceOfArgs parses the balanceOf arguments and returns the account address.
ParseTransferArgs parses the arguments from the transfer method and returns the destination address (to) and amount.
ParseTransferFromArgs parses the arguments from the transferFrom method and returns the sender address (from), destination address (to) and amount.
# Constants
BalanceOfMethod defines the ABI method name for the ERC-20 BalanceOf query.
DecimalsMethod defines the ABI method name for the ERC-20 Decimals query.
Errors that have formatted information are defined here as a string.
Errors that have formatted information are defined here as a string.
Errors that have formatted information are defined here as a string.
Errors that have formatted information are defined here as a string.
Errors that have formatted information are defined here as a string.
Errors that have formatted information are defined here as a string.
EventTypeTransfer defines the event type for the ERC-20 Transfer and TransferFrom transactions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NameMethod defines the ABI method name for the ERC-20 Name query.
SymbolMethod defines the ABI method name for the ERC-20 Symbol query.
TotalSupplyMethod defines the ABI method name for the ERC-20 TotalSupply query.
TransferFromMethod defines the ABI method name for the ERC-20 transferFrom transaction.
TransferMethod defines the ABI method name for the ERC-20 transfer transaction.
# Variables
ERC20 errors.
Precompile errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SendMsgURL defines the authorization type for MsgSend.
# Structs
EventApproval defines the event data for the ERC20 Approval events.
EventTransfer defines the event data for the ERC20 Transfer events.
Precompile defines the precompiled contract for ERC-20.