types

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = bank.ModuleName
	StoreKey   = ModuleName
	RouterKey  = ModuleName

	BlockedAddressesStoreKey = ModuleName + "blockedAddresses"

	QueryBlockedAccounts = "blockedAccounts"

	MsgTypeBlockAccountSend  = "blockAccountSend"
	MsgTypeUnlockAccountSend = "unlockAccountSend"
)

Variables

View Source
var ModuleCdc *codec.Codec

Functions

func RegisterCodec

func RegisterCodec(cdc *codec.Codec)

RegisterCodec registers concrete types on wire codec

Types

type MsgBlockAccountSend

type MsgBlockAccountSend struct {
	Address sdk.AccAddress `json:"address"`
	Signer  sdk.AccAddress `json:"signer"`
}

func (MsgBlockAccountSend) GetSignBytes

func (msg MsgBlockAccountSend) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgBlockAccountSend) GetSigners

func (msg MsgBlockAccountSend) GetSigners() []sdk.AccAddress

GetSigners Implements Msg.

func (MsgBlockAccountSend) Route

func (msg MsgBlockAccountSend) Route() string

Route Implements Msg.

func (MsgBlockAccountSend) Type

func (msg MsgBlockAccountSend) Type() string

Type Implements Msg.

func (MsgBlockAccountSend) ValidateBasic

func (msg MsgBlockAccountSend) ValidateBasic() sdk.Error

ValidateBasic Implements Msg.

type MsgUnlockAccountSend

type MsgUnlockAccountSend struct {
	Address sdk.AccAddress `json:"address"`
	Signer  sdk.AccAddress `json:"signer"`
}

func (MsgUnlockAccountSend) GetSignBytes

func (msg MsgUnlockAccountSend) GetSignBytes() []byte

GetSignBytes Implements Msg.

func (MsgUnlockAccountSend) GetSigners

func (msg MsgUnlockAccountSend) GetSigners() []sdk.AccAddress

GetSigners Implements Msg.

func (MsgUnlockAccountSend) Route

func (msg MsgUnlockAccountSend) Route() string

Route Implements Msg.

func (MsgUnlockAccountSend) Type

func (msg MsgUnlockAccountSend) Type() string

Type Implements Msg.

func (MsgUnlockAccountSend) ValidateBasic

func (msg MsgUnlockAccountSend) ValidateBasic() sdk.Error

ValidateBasic Implements Msg.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL