package
0.0.2
Repository: https://github.com/incubus-network/fury.git
Documentation: pkg.go.dev

# Functions

AccountStoreKey turns an address to a key used to get the account from the store.
BytesToInternalEVMAddress creates an InternalEVMAddress from a slice of bytes.
DefaultGenesisState returns the default genesis state for the module.
DefaultParams returns the default parameters for evmutil.
DenomFromDeployedCosmosCoinContractKey is the inverse of DeployedCosmosCoinContractKey.
DeployedCosmosCoinContractKey gives the store key that holds the address of the deployed ERC20 that wraps the given cosmosDenom sdk.Coin.
No description provided by the author
NewAllowedCosmosCoinERC20Token returns an AllowedCosmosCoinERC20Token.
NewAllowedCosmosCoinERC20Tokens returns AllowedCosmosCoinERC20Tokens from the provided values.
NewConversionPair returns a new ConversionPair.
NewConversionPairs returns ConversionPairs from the provided values.
NewDeployedCosmosCoinContract returns a new DeployedCosmosCoinContract.
NewGenesisState returns a new genesis state object for the module.
NewInternalEVMAddress returns a new InternalEVMAddress from a common.Address.
NewInternalEVMAddressFromString returns a new InternalEVMAddress from a hex string.
No description provided by the author
NewMsgConvertCoinToERC20 returns a new MsgConvertCoinToERC20.
NewMsgConvertCosmosCoinToERC20 returns a new MsgConvertCosmosCoinToERC20.
NewMsgConvertCosmosCoinToERC20 returns a new MsgConvertCosmosCoinToERC20.
NewMsgConvertERC20ToCoin returns a new MsgConvertERC20ToCoin.
NewParams returns new evmutil module Params.
No description provided by the author
ParamKeyTable for evmutil module.
No description provided by the author
RegisterLegacyAminoCodec registers the necessary evmutil interfaces and concrete types on the provided LegacyAmino codec.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author

# Constants

Events for the module.
Events for the module.
Event Attributes - Conversions.
Event Attributes - Common.
Events for the module.
Events for the module.
Events for the module.
Events for the module.
Event Types.
ModuleName name that will be used throughout the module.
RouterKey Top level router key.
note: cannot be emvutil due to collision with x/evm.
legacy message types.
legacy message types.
legacy message types.
legacy message types.

# Variables

AccountStoreKeyPrefix is the prefix for keys that store accounts.
Parameter keys and default values.
Parameter keys and default values.
DeployedCosmosCoinContractKeyPrefix is the key for storing deployed FuryWrappedCosmosCoinERC20s contract addresses.
ERC20FuryWrappedCosmosCoinContract is the compiled erc20 contract.
go:embed ethermint_json/ERC20FuryWrappedCosmosCoin.json.
ERC20MintableBurnableAddress is the erc20 module address.
ERC20MintableBurnableContract is the compiled erc20 contract.
go:embed ethermint_json/ERC20MintableBurnable.json.
errors.
errors.
errors.
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
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
errors.
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
Parameter keys and default values.
Parameter keys and default values.
No description provided by the author
ModuleAddress is the native module address for EVM.

# Structs

BalanceAccount defines an account in the evmutil module.
AllowedCosmosCoinERC20Token defines allowed cosmos-sdk denom & metadata for evm token representations of sdk assets.
ConversionPair defines a Fury ERC20 address and corresponding denom that is allowed to be converted between ERC20 and sdk.Coin.
DeployedCosmosCoinContract defines a deployed token contract to the evm representing a native cosmos-sdk coin.
GenesisState defines the evmutil module's genesis state.
InternalEVMAddress is a type alias of common.Address to represent an address on the Fury EVM.
MsgConvertCoinToERC20 defines a conversion from sdk.Coin to Fury ERC20 for EVM-native assets.
MsgConvertCoinToERC20Response defines the response value from Msg/ConvertCoinToERC20.
MsgConvertCosmosCoinFromERC20 defines a conversion from ERC20 to cosmos coins for cosmos-native assets.
MsgConvertCosmosCoinFromERC20Response defines the response value from Msg/MsgConvertCosmosCoinFromERC20.
MsgConvertCosmosCoinToERC20 defines a conversion from cosmos sdk.Coin to ERC20 for cosmos-native assets.
MsgConvertCosmosCoinToERC20Response defines the response value from Msg/MsgConvertCosmosCoinToERC20.
MsgConvertERC20ToCoin defines a conversion from Fury ERC20 to sdk.Coin for EVM-native assets.
MsgConvertERC20ToCoinResponse defines the response value from Msg/MsgConvertERC20ToCoin.
Params defines the evmutil module params.
QueryDeployedCosmosCoinContractsRequest defines the request type for Query/DeployedCosmosCoinContracts method.
QueryDeployedCosmosCoinContractsResponse defines the response type for the Query/DeployedCosmosCoinContracts method.
QueryParamsRequest defines the request type for querying x/evmutil parameters.
QueryParamsResponse defines the response type for querying x/evmutil parameters.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.

# Interfaces

AccountKeeper defines the expected account keeper interface.
BankKeeper defines the expected bank keeper interface.
EvmKeeper defines the expected interface needed to make EVM transactions.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.

# Type aliases

AllowedCosmosCoinERC20Tokens defines a slice of AllowedCosmosCoinERC20Token.
ConversionPairs defines a slice of ConversionPair.
HexBytes represents a byte slice that marshals into a 0x representation.