Documentation ¶
Index ¶
Constants ¶
View Source
const ( ModuleName = auth.ModuleName RouterKey = ModuleName )
View Source
const (
EventTypeUnlock = "unlock"
)
Variables ¶
View Source
var ModuleCdc = codec.New()
Functions ¶
func RegisterAccountTypeCodec ¶
func RegisterAccountTypeCodec(o interface{}, name string)
func RegisterCodec ¶
Types ¶
type CertKeeper ¶
type CertKeeper interface {
IsCertifier(ctx sdk.Context, addr sdk.AccAddress) bool
}
type MsgUnlock ¶
type MsgUnlock struct { Issuer sdk.AccAddress `json:"certifier" yaml:"certifier"` Account sdk.AccAddress `json:"account_address" yaml:"account_address"` UnlockAmount sdk.Coins `json:"unlock_amount" yaml:"unlock_amount"` }
MsgUnlock unlocks the specified amount in a manual vesting account.
func NewMsgUnlock ¶
func NewMsgUnlock(issuer, account sdk.AccAddress, unlockAmount sdk.Coins) MsgUnlock
NewMsgUnlock returns a MsgUnlock object.
func (MsgUnlock) GetSignBytes ¶
GetSignBytes encodes the message for signing.
func (MsgUnlock) GetSigners ¶
func (m MsgUnlock) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required.
func (MsgUnlock) ValidateBasic ¶
ValidateBasic runs stateless checks on the message.
Click to show internal directories.
Click to hide internal directories.