Versions in this module Expand all Collapse all v0 v0.9.0 Apr 1, 2020 Changes in this version + const DefaultParamspace + const EthereumAddressLength + const EthereumTxHashLength + const GetTokenSwapRoute + const ModuleName + const QuerierRoute + const RouterKey + const StoreKey + var ModuleCdc *codec.Codec + var ParamStoreKeyMintingEnabled = []byte("MintingEnabled") + var ParamStoreKeyMintingMultiplier = []byte("MintingMultiplier") + var ParamStoreKeyMultisigApproveAddress = []byte("MultisigApproveAddress") + func EncodeHex(b []byte) string + func FromHex(s string) []byte + func Hex2Bytes(str string) []byte + func ParamKeyTable() paramtypes.KeyTable + func RegisterCodec(cdc *codec.Codec) + func ValidateGenesis(gs GenesisState) error + type AccountKeeper interface + GetAccount func(sdk.Context, sdk.AccAddress) authexported.Account + type EthAddr interface + Bytes func() []byte + Empty func() bool + Equals func(EthAddr) bool + Format func(s fmt.State, verb rune) + Marshal func() ([]byte, error) + MarshalJSON func() ([]byte, error) + MarshalYAML func() (interface{}, error) + String func() string + type EthHash interface + Bytes func() []byte + Empty func() bool + Equals func(EthHash) bool + Format func(s fmt.State, verb rune) + Marshal func() ([]byte, error) + MarshalJSON func() ([]byte, error) + MarshalYAML func() (interface{}, error) + String func() string + type EthereumAddress [EthereumAddressLength]byte + func BytesToAddress(b []byte) EthereumAddress + func HexToAddress(s string) (addr EthereumAddress, err error) + func (a *EthereumAddress) SetBytes(b []byte) + func (a *EthereumAddress) Unmarshal(data []byte) error + func (a *EthereumAddress) UnmarshalJSON(data []byte) error + func (a *EthereumAddress) UnmarshalYAML(data []byte) error + func (a EthereumAddress) Bytes() []byte + func (a EthereumAddress) Empty() bool + func (a EthereumAddress) Equals(other EthAddr) bool + func (a EthereumAddress) Format(s fmt.State, verb rune) + func (a EthereumAddress) Hex() string + func (a EthereumAddress) Marshal() ([]byte, error) + func (a EthereumAddress) MarshalJSON() ([]byte, error) + func (a EthereumAddress) MarshalYAML() (interface{}, error) + func (a EthereumAddress) String() string + type EthereumTxHash [EthereumTxHashLength]byte + func BytesToTxHash(b []byte) EthereumTxHash + func HexToTxHash(s string) (addr EthereumTxHash, err error) + func (h *EthereumTxHash) SetBytes(b []byte) + func (h *EthereumTxHash) Unmarshal(data []byte) error + func (h *EthereumTxHash) UnmarshalJSON(data []byte) error + func (h *EthereumTxHash) UnmarshalYAML(data []byte) error + func (h EthereumTxHash) Bytes() []byte + func (h EthereumTxHash) Empty() bool + func (h EthereumTxHash) Equals(other EthHash) bool + func (h EthereumTxHash) Format(s fmt.State, verb rune) + func (h EthereumTxHash) Hex() string + func (h EthereumTxHash) Marshal() ([]byte, error) + func (h EthereumTxHash) MarshalJSON() ([]byte, error) + func (h EthereumTxHash) MarshalYAML() (interface{}, error) + func (h EthereumTxHash) String() string + type GenesisState struct + Params Params + func DefaultGenesisState() GenesisState + func NewGenesisState(params Params) GenesisState + type GetTokenSwapParams struct + EthereumTxHash EthereumTxHash + func NewGetTokenSwapParams(ethereumTxHash EthereumTxHash) GetTokenSwapParams + type MsgSwapRequest struct + AmountENG sdk.Dec + BurnTxHash EthereumTxHash + EthereumSender EthereumAddress + Receiver sdk.AccAddress + SignerAddr sdk.AccAddress + func NewMsgSwapRequest(burnTxHash EthereumTxHash, ethereumSender EthereumAddress, ...) MsgSwapRequest + func (msg MsgSwapRequest) GetSignBytes() []byte + func (msg MsgSwapRequest) GetSigners() []sdk.AccAddress + func (msg MsgSwapRequest) Route() string + func (msg MsgSwapRequest) Type() string + func (msg MsgSwapRequest) ValidateAmount() error + func (msg MsgSwapRequest) ValidateBasic() error + func (msg MsgSwapRequest) ValidateReceiver() error + func (msg MsgSwapRequest) ValidateTxHash() error + type Params struct + MintingEnabled bool + MintingMultiplier sdk.Dec + MultisigApproveAddress sdk.AccAddress + func DefaultParams() Params + func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs + func (p Params) String() string + func (p Params) ValidateBasic() error + type SupplyKeeper interface + BurnCoins func(ctx sdk.Context, name string, amt sdk.Coins) error + MintCoins func(ctx sdk.Context, name string, amt sdk.Coins) error + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + SetModuleAccount func(sdk.Context, supplyexported.ModuleAccountI) + type TokenSwapRecord struct + AmountUSCRT sdk.Coins + BurnTxHash EthereumTxHash + Done bool + EthereumSender EthereumAddress + Receiver sdk.AccAddress + func NewTokenSwapRecord(burnTxHash EthereumTxHash, ethereumSender EthereumAddress, ...) TokenSwapRecord + func (s TokenSwapRecord) String() string