account

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2019 License: Apache-2.0 Imports: 18 Imported by: 9

Documentation

Index

Constants

View Source
const (
	// ModuleKey is the name of the module
	ModuleName = "account"

	// RouterKey is the message route for gov
	RouterKey = ModuleName

	// QuerierRoute is the querier route for gov
	QuerierRoute = ModuleName

	QueryAccountInfo            = "info"
	QueryAccountBank            = "bank"
	QueryAccountMeta            = "meta"
	QueryAccountReward          = "reward"
	QueryAccountPendingCoinDay  = "pendingCoinDay"
	QueryAccountGrantPubKeys    = "grantPubKey"
	QueryAccountAllGrantPubKeys = "allGrantPubKey"
)

Variables

This section is empty.

Functions

func CreateCoinReturnEvents

func CreateCoinReturnEvents(
	ctx sdk.Context, username types.AccountKey, times int64, interval int64, coin types.Coin,
	returnType types.TransferDetailType) ([]types.Event, sdk.Error)

CreateCoinReturnEvents - create coin return events

func ErrAccountAlreadyExists

func ErrAccountAlreadyExists(accKey types.AccountKey) sdk.Error

ErrAccountAlreadyExists - error when register user already exists

func ErrAccountNotFound

func ErrAccountNotFound(username types.AccountKey) sdk.Error

ErrAccountNotFound - error when account is not found

func ErrAccountSavingCoinNotEnough

func ErrAccountSavingCoinNotEnough() sdk.Error

ErrAccountSavingCoinNotEnough - error when user saving balance not enough

func ErrAccountTPSCapacityNotEnough

func ErrAccountTPSCapacityNotEnough(accKey types.AccountKey) sdk.Error

ErrAccountTPSCapacityNotEnough - error when user tps capacity not enough

func ErrAddSavingCoin

func ErrAddSavingCoin() sdk.Error

ErrAddSavingCoin - error when register add deposit failed

func ErrAddSavingCoinWithFullCoinDay added in v0.1.1

func ErrAddSavingCoinWithFullCoinDay() sdk.Error

ErrAddSavingCoinWithFullCoinDay - error when register deposit with full coin day failed

func ErrAppGrantKeyMismatch

func ErrAppGrantKeyMismatch(owner types.AccountKey) sdk.Error

ErrGrantKeyMismatch - error when transaction signed by mismatch app permission grant public key

func ErrCheckAuthenticatePubKeyOwner

func ErrCheckAuthenticatePubKeyOwner(accKey types.AccountKey) sdk.Error

ErrCheckAuthenticatePubKeyOwner - error when transaction signed by invalid public key

func ErrCheckGrantAppKey

func ErrCheckGrantAppKey() sdk.Error

ErrCheckGrantAppKey - error when transaction needs app key permission signed by other key

func ErrCheckResetKey

func ErrCheckResetKey() sdk.Error

ErrCheckResetKey - error when transaction needs reset permission signed by other key

func ErrCheckTransactionKey

func ErrCheckTransactionKey() sdk.Error

ErrCheckTransactionKey - error when transaction needs transaction key permission signed by other key

func ErrCheckUserTPSCapacity

func ErrCheckUserTPSCapacity(accKey types.AccountKey) sdk.Error

ErrCheckUserTPSCapacity - error when check user capacity failed

func ErrFolloweeNotFound

func ErrFolloweeNotFound(username types.AccountKey) sdk.Error

ErrFolloweeNotFound - error when followee user is not found

func ErrFollowerNotFound

func ErrFollowerNotFound(username types.AccountKey) sdk.Error

ErrFollowerNotFound - error when follower user is not found

func ErrFrozenMoneyListTooLong added in v0.1.1

func ErrFrozenMoneyListTooLong() sdk.Error

ErrFrozenMoneyListTooLong - error when the length of frozen money list exceeds the upper limit

func ErrGetAppKey

func ErrGetAppKey(accKey types.AccountKey) sdk.Error

ErrGetAppKey - error when get app public key failed

func ErrGetFrozenMoneyList

func ErrGetFrozenMoneyList(err error) sdk.Error

ErrGetFrozenMoneyList - error when get frozen money list failed

func ErrGetLastPostAt added in v0.1.1

func ErrGetLastPostAt(err error) sdk.Error

ErrGetLastPostAt - error when get last post time failed

func ErrGetLastReportOrUpvoteAt

func ErrGetLastReportOrUpvoteAt(err error) sdk.Error

ErrGetLastReportOrUpvoteAt - error when get last report or upvote time failed

func ErrGetResetKey

func ErrGetResetKey(accKey types.AccountKey) sdk.Error

ErrGetResetKey - error when get reset public key failed

func ErrGetSavingFromBank

func ErrGetSavingFromBank(err error) sdk.Error

ErrGetSavingFromBank - error when get saving failed

func ErrGetSequence

func ErrGetSequence(err error) sdk.Error

ErrGetSequence - error when get sequence number failed

func ErrGetTransactionKey

func ErrGetTransactionKey(accKey types.AccountKey) sdk.Error

ErrGetTransactionKey - error when get transaction public key failed

func ErrGrantKeyExpired

func ErrGrantKeyExpired(owner types.AccountKey) sdk.Error

ErrGrantKeyExpired - error when transaction signed by expired grant public key

func ErrGrantKeyMismatch

func ErrGrantKeyMismatch(owner types.AccountKey) sdk.Error

ErrGrantKeyMismatch - error when transaction signed by mismatch permission grant public key

func ErrIncreaseSequenceByOne

func ErrIncreaseSequenceByOne(err error) sdk.Error

ErrIncreaseSequenceByOne - error when increase sequence number failed

func ErrInvalidJSONMeta

func ErrInvalidJSONMeta() sdk.Error

ErrInvalidJSONMeta - error when JSON meta is invalid (length too long)

func ErrInvalidMemo

func ErrInvalidMemo() sdk.Error

ErrInvalidMemo - error when memo is invalid (length too long)

func ErrInvalidUsername

func ErrInvalidUsername(msg string) sdk.Error

ErrInvalidUsername - error when username is invalid

func ErrPreAuthAmountInsufficient

func ErrPreAuthAmountInsufficient(owner types.AccountKey, balance, consume types.Coin) sdk.Error

ErrPreAuthAmountInsufficient - error when transaction cost coin exceeds preauth amount

func ErrPreAuthGrantKeyMismatch

func ErrPreAuthGrantKeyMismatch(owner types.AccountKey) sdk.Error

ErrPreAuthGrantKeyMismatch - error when transaction signed by mismatch preauth permission grant public key

func ErrQueryFailed added in v0.2.0

func ErrQueryFailed() sdk.Error

ErrQueryFailed - error when query account store failed

func ErrReceiverNotFound

func ErrReceiverNotFound(username types.AccountKey) sdk.Error

ErrReceiverNotFound - error when receiver user is not found

func ErrReferrerNotFound

func ErrReferrerNotFound(username types.AccountKey) sdk.Error

ErrReferrerNotFound - error when referrer is not found

func ErrRegisterFeeInsufficient

func ErrRegisterFeeInsufficient() sdk.Error

ErrRegisterFeeInsufficient - error when register fee insufficient

func ErrRevokePermissionLevelMismatch

func ErrRevokePermissionLevelMismatch(got, expect types.Permission) sdk.Error

ErrRevokePermissionLevelMismatch - error when revoke permission doesn't match target public key

func ErrSenderNotFound

func ErrSenderNotFound(username types.AccountKey) sdk.Error

ErrSenderNotFound - error when sender user is not found

func ErrUnsupportGrantLevel

func ErrUnsupportGrantLevel() sdk.Error

ErrUnsupportGrantLevel - error when grant permission not supported

func ErrUpdateLastPostAt added in v0.1.1

func ErrUpdateLastPostAt(err error) sdk.Error

ErrUpdateLastPostAt - error when update last post time failed

func ErrUpdateLastReportOrUpvoteAt

func ErrUpdateLastReportOrUpvoteAt(err error) sdk.Error

ErrGetLastReportOrUpvoteAt - error when update last report or upvote time failed

func NewHandler

func NewHandler(am AccountManager, gm *global.GlobalManager) sdk.Handler

NewHandler - Handle all "account" type messages.

func NewQuerier added in v0.2.0

func NewQuerier(am AccountManager) sdk.Querier

creates a querier for account REST endpoints

func RegisterWire

func RegisterWire(cdc *wire.Codec)

RegisterWire - register concrete types on wire codec

Types

type AccountManager

type AccountManager struct {
	// contains filtered or unexported fields
}

AccountManager - account manager

func NewAccountManager

func NewAccountManager(key sdk.StoreKey, holder param.ParamHolder) AccountManager

NewLinoAccount - new account manager

func (AccountManager) AddDirectDeposit

func (accManager AccountManager) AddDirectDeposit(
	ctx sdk.Context, username types.AccountKey, directDeposit types.Coin) sdk.Error

AddDirectDeposit - when user received the donation, the donation except friction will be added to total income and original income

func (AccountManager) AddFrozenMoney

func (accManager AccountManager) AddFrozenMoney(
	ctx sdk.Context, username types.AccountKey,
	amount types.Coin, start, interval, times int64) sdk.Error

AddFrozenMoney - add frozen money to user's frozen money list

func (AccountManager) AddIncomeAndReward

func (accManager AccountManager) AddIncomeAndReward(
	ctx sdk.Context, username types.AccountKey,
	originalDonation, friction, actualReward types.Coin,
	consumer, postAuthor types.AccountKey, postID string) sdk.Error

AddIncomeAndReward - after the evaluate of content value, the original friction will be added to original income and friciton income. The actual inflation will be added to inflation income, total income and unclaim reward

func (AccountManager) AddSavingCoin

func (accManager AccountManager) AddSavingCoin(
	ctx sdk.Context, username types.AccountKey, coin types.Coin, from types.AccountKey, memo string,
	detailType types.TransferDetailType) (err sdk.Error)

AddSavingCoin - add coin to balance and pending coin day

func (AccountManager) AddSavingCoinWithFullCoinDay added in v0.1.1

func (accManager AccountManager) AddSavingCoinWithFullCoinDay(
	ctx sdk.Context, username types.AccountKey, coin types.Coin, from types.AccountKey, memo string,
	detailType types.TransferDetailType) (err sdk.Error)

AddSavingCoinWithFullCoinDay - add coin to balance with full coin day

func (AccountManager) AuthorizePermission

func (accManager AccountManager) AuthorizePermission(
	ctx sdk.Context, me types.AccountKey, grantTo types.AccountKey,
	validityPeriod int64, grantLevel types.Permission, amount types.Coin) sdk.Error

AuthorizePermission - userA authorize permission to userB (currently only support auth to a developer)

func (AccountManager) CheckSigningPubKeyOwner

func (accManager AccountManager) CheckSigningPubKeyOwner(
	ctx sdk.Context, me types.AccountKey, signKey crypto.PubKey,
	permission types.Permission, amount types.Coin) (types.AccountKey, sdk.Error)

CheckSigningPubKeyOwner - given a public key, check if it is valid for given permission

func (AccountManager) CheckUserTPSCapacity

func (accManager AccountManager) CheckUserTPSCapacity(
	ctx sdk.Context, me types.AccountKey, tpsCapacityRatio sdk.Dec) sdk.Error

CheckUserTPSCapacity - to prevent user spam the chain, every user has a TPS capacity

func (AccountManager) ClaimReward

func (accManager AccountManager) ClaimReward(
	ctx sdk.Context, username types.AccountKey) sdk.Error

ClaimReward - add content reward to user balance

func (AccountManager) CreateAccount

func (accManager AccountManager) CreateAccount(
	ctx sdk.Context, referrer types.AccountKey, username types.AccountKey,
	resetKey, transactionKey, appKey crypto.PubKey, registerDeposit types.Coin) sdk.Error

CreateAccount - create account, caller should make sure the register fee is valid

func (AccountManager) DoesAccountExist

func (accManager AccountManager) DoesAccountExist(ctx sdk.Context, username types.AccountKey) bool

DoesAccountExist - check if account exists in KVStore or not

func (AccountManager) Export added in v0.2.0

func (accManager AccountManager) Export(ctx sdk.Context) *model.AccountTables

Export -

func (AccountManager) GetAppKey

func (accManager AccountManager) GetAppKey(
	ctx sdk.Context, username types.AccountKey) (crypto.PubKey, sdk.Error)

GetAppKey - get app public key

func (AccountManager) GetCoinDay added in v0.1.1

func (accManager AccountManager) GetCoinDay(
	ctx sdk.Context, username types.AccountKey) (types.Coin, sdk.Error)

GetCoinDay - recalculate and get user current coin day

func (AccountManager) GetFrozenMoneyList

func (accManager AccountManager) GetFrozenMoneyList(
	ctx sdk.Context, username types.AccountKey) ([]model.FrozenMoney, sdk.Error)

GetFrozenMoneyList - get user frozen money list

func (AccountManager) GetLastPostAt added in v0.1.1

func (accManager AccountManager) GetLastPostAt(
	ctx sdk.Context, username types.AccountKey) (int64, sdk.Error)

GetLastPostAt - get user last post time

func (AccountManager) GetLastReportOrUpvoteAt

func (accManager AccountManager) GetLastReportOrUpvoteAt(
	ctx sdk.Context, username types.AccountKey) (int64, sdk.Error)

GetLastReportOrUpvoteAt - get user last report or upvote time

func (AccountManager) GetResetKey

func (accManager AccountManager) GetResetKey(
	ctx sdk.Context, username types.AccountKey) (crypto.PubKey, sdk.Error)

GetResetKey - get reset public key

func (AccountManager) GetSavingFromBank

func (accManager AccountManager) GetSavingFromBank(
	ctx sdk.Context, username types.AccountKey) (types.Coin, sdk.Error)

GetSavingFromBank - get user balance

func (AccountManager) GetSequence

func (accManager AccountManager) GetSequence(
	ctx sdk.Context, username types.AccountKey) (uint64, sdk.Error)

GetSequence - get user sequence number

func (AccountManager) GetTransactionKey

func (accManager AccountManager) GetTransactionKey(
	ctx sdk.Context, username types.AccountKey) (crypto.PubKey, sdk.Error)

GetTransactionKey - get transaction public key

func (AccountManager) Import added in v0.2.0

func (accManager AccountManager) Import(ctx sdk.Context, dt *model.AccountTablesIR)

Import -

func (AccountManager) IncreaseSequenceByOne

func (accManager AccountManager) IncreaseSequenceByOne(
	ctx sdk.Context, username types.AccountKey) sdk.Error

IncreaseSequenceByOne - increase user sequence number by one

func (AccountManager) IterateAccounts

func (accManager AccountManager) IterateAccounts(ctx sdk.Context, process func(model.AccountInfo, model.AccountBank) (stop bool))

IterateAccounts - iterate accounts in KVStore

func (AccountManager) MinusSavingCoin

func (accManager AccountManager) MinusSavingCoin(
	ctx sdk.Context, username types.AccountKey, coin types.Coin, to types.AccountKey,
	memo string, detailType types.TransferDetailType) (err sdk.Error)

MinusSavingCoin - minus coin from balance, remove coin day in the tail

func (AccountManager) MinusSavingCoinWithFullCoinDay added in v0.1.1

func (accManager AccountManager) MinusSavingCoinWithFullCoinDay(
	ctx sdk.Context, username types.AccountKey, coin types.Coin, to types.AccountKey,
	memo string, detailType types.TransferDetailType) (types.Coin, sdk.Error)

MinusSavingCoin - minus coin from balance, remove most charged coin day coin

func (AccountManager) RecoverAccount

func (accManager AccountManager) RecoverAccount(
	ctx sdk.Context, username types.AccountKey,
	newResetPubKey, newTransactionPubKey, newAppPubKey crypto.PubKey) sdk.Error

RecoverAccount - reset three public key pairs

func (AccountManager) RevokePermission

func (accManager AccountManager) RevokePermission(
	ctx sdk.Context, me types.AccountKey, grantTo types.AccountKey, permission types.Permission) sdk.Error

RevokePermission - revoke permission from a developer

func (AccountManager) UpdateJSONMeta

func (accManager AccountManager) UpdateJSONMeta(
	ctx sdk.Context, username types.AccountKey, JSONMeta string) sdk.Error

UpdateJSONMeta - update user JONS meta data

func (AccountManager) UpdateLastPostAt added in v0.1.1

func (accManager AccountManager) UpdateLastPostAt(
	ctx sdk.Context, username types.AccountKey) sdk.Error

UpdateLastPostAt - update user last post time to current block time

func (AccountManager) UpdateLastReportOrUpvoteAt

func (accManager AccountManager) UpdateLastReportOrUpvoteAt(
	ctx sdk.Context, username types.AccountKey) sdk.Error

UpdateLastReportOrUpvoteAt - update user last report or upvote time to current block time

type ClaimMsg

type ClaimMsg struct {
	Username types.AccountKey `json:"username"`
}

ClaimMsg - claim content reward

func NewClaimMsg

func NewClaimMsg(username string) ClaimMsg

NewClaimMsg - return a ClaimMsg

func (ClaimMsg) GetConsumeAmount

func (msg ClaimMsg) GetConsumeAmount() types.Coin

GetConsumeAmount - implements types.Msg

func (ClaimMsg) GetPermission

func (msg ClaimMsg) GetPermission() types.Permission

GetPermission - implements types.Msg

func (ClaimMsg) GetSignBytes

func (msg ClaimMsg) GetSignBytes() []byte

GetSignBytes - implements sdk.Msg

func (ClaimMsg) GetSigners

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

GetSigners - implements sdk.Msg

func (ClaimMsg) Route added in v0.2.0

func (msg ClaimMsg) Route() string

Route - implements sdk.Msg

func (ClaimMsg) String

func (msg ClaimMsg) String() string

func (ClaimMsg) Type

func (msg ClaimMsg) Type() string

Type - implements sdk.Msg

func (ClaimMsg) ValidateBasic

func (msg ClaimMsg) ValidateBasic() sdk.Error

ValidateBasic - implements sdk.Msg

type RecoverMsg

type RecoverMsg struct {
	Username             types.AccountKey `json:"username"`
	NewResetPubKey       crypto.PubKey    `json:"new_reset_public_key"`
	NewTransactionPubKey crypto.PubKey    `json:"new_transaction_public_key"`
	NewAppPubKey         crypto.PubKey    `json:"new_app_public_key"`
}

RecoverMsg - replace three public keys

func NewRecoverMsg

func NewRecoverMsg(
	username string, resetPubkey, transactionPubkey,
	appPubkey crypto.PubKey) RecoverMsg

NewRecoverMsg - return a recover msg

func (RecoverMsg) GetConsumeAmount

func (msg RecoverMsg) GetConsumeAmount() types.Coin

GetConsumeAmount - implements types.Msg

func (RecoverMsg) GetPermission

func (msg RecoverMsg) GetPermission() types.Permission

GetPermission - implements types.Msg

func (RecoverMsg) GetSignBytes

func (msg RecoverMsg) GetSignBytes() []byte

GetSignBytes - implements sdk.Msg

func (RecoverMsg) GetSigners

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

GetSigners - implements sdk.Msg

func (RecoverMsg) Route added in v0.2.0

func (msg RecoverMsg) Route() string

Route - implements sdk.Msg

func (RecoverMsg) String

func (msg RecoverMsg) String() string

func (RecoverMsg) Type

func (msg RecoverMsg) Type() string

Type - implements sdk.Msg

func (RecoverMsg) ValidateBasic

func (msg RecoverMsg) ValidateBasic() sdk.Error

ValidateBasic - implements sdk.Msg

type RegisterMsg

type RegisterMsg struct {
	Referrer             types.AccountKey `json:"referrer"`
	RegisterFee          types.LNO        `json:"register_fee"`
	NewUser              types.AccountKey `json:"new_username"`
	NewResetPubKey       crypto.PubKey    `json:"new_reset_public_key"`
	NewTransactionPubKey crypto.PubKey    `json:"new_transaction_public_key"`
	NewAppPubKey         crypto.PubKey    `json:"new_app_public_key"`
}

RegisterMsg - bind username with public key, need to be referred by others (pay for it)

func NewRegisterMsg

func NewRegisterMsg(
	referrer string, newUser string, registerFee types.LNO,
	resetPubkey, transactionPubkey, appPubkey crypto.PubKey) RegisterMsg

NewRegisterMsg - construct register msg.

func (RegisterMsg) GetConsumeAmount

func (msg RegisterMsg) GetConsumeAmount() types.Coin

GetConsumeAmount - implements types.Msg

func (RegisterMsg) GetPermission

func (msg RegisterMsg) GetPermission() types.Permission

GetPermission - implements types.Msg

func (RegisterMsg) GetSignBytes

func (msg RegisterMsg) GetSignBytes() []byte

GetSignBytes - implements sdk.Msg

func (RegisterMsg) GetSigners

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

GetSigners - implements sdk.Msg

func (RegisterMsg) Route added in v0.2.0

func (msg RegisterMsg) Route() string

Route - implements sdk.Msg

func (RegisterMsg) String

func (msg RegisterMsg) String() string

func (RegisterMsg) Type

func (msg RegisterMsg) Type() string

Type - implements sdk.Msg

func (RegisterMsg) ValidateBasic

func (msg RegisterMsg) ValidateBasic() sdk.Error

ValidateBasic - implements sdk.Msg

type ReturnCoinEvent

type ReturnCoinEvent struct {
	Username   types.AccountKey         `json:"username"`
	Amount     types.Coin               `json:"amount"`
	ReturnType types.TransferDetailType `json:"return_type"`
}

ReturnCoinEvent - return a certain amount of coin to an account

func (ReturnCoinEvent) Execute

func (event ReturnCoinEvent) Execute(ctx sdk.Context, am AccountManager) sdk.Error

Execute - execute coin return events

type TransferMsg

type TransferMsg struct {
	Sender   types.AccountKey `json:"sender"`
	Receiver types.AccountKey `json:"receiver"`
	Amount   types.LNO        `json:"amount"`
	Memo     string           `json:"memo"`
}

TransferMsg - sender transfer money to receiver

func NewTransferMsg

func NewTransferMsg(sender, receiver string, amount types.LNO, memo string) TransferMsg

NewTransferMsg - return a TransferMsg

func (TransferMsg) GetConsumeAmount

func (msg TransferMsg) GetConsumeAmount() types.Coin

GetConsumeAmount - implements types.Msg

func (TransferMsg) GetPermission

func (msg TransferMsg) GetPermission() types.Permission

GetPermission - implements types.Msg

func (TransferMsg) GetSignBytes

func (msg TransferMsg) GetSignBytes() []byte

GetSignBytes - implements sdk.Msg

func (TransferMsg) GetSigners

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

GetSigners - implements sdk.Msg

func (TransferMsg) Route added in v0.2.0

func (msg TransferMsg) Route() string

Route - implements sdk.Msg

func (TransferMsg) String

func (msg TransferMsg) String() string

func (TransferMsg) Type

func (msg TransferMsg) Type() string

Type - implements sdk.Msg

func (TransferMsg) ValidateBasic

func (msg TransferMsg) ValidateBasic() sdk.Error

ValidateBasic - implements sdk.Msg

type UpdateAccountMsg

type UpdateAccountMsg struct {
	Username types.AccountKey `json:"username"`
	JSONMeta string           `json:"json_meta"`
}

UpdateAccountMsg - update account JSON meta info

func NewUpdateAccountMsg

func NewUpdateAccountMsg(username string, JSONMeta string) UpdateAccountMsg

NewUpdateAccountMsg - construct user update msg to update user JSON meta info.

func (UpdateAccountMsg) GetConsumeAmount

func (msg UpdateAccountMsg) GetConsumeAmount() types.Coin

GetConsumeAmount - implements types.Msg

func (UpdateAccountMsg) GetPermission

func (msg UpdateAccountMsg) GetPermission() types.Permission

GetPermission - implements types.Msg

func (UpdateAccountMsg) GetSignBytes

func (msg UpdateAccountMsg) GetSignBytes() []byte

GetSignBytes - implements sdk.Msg

func (UpdateAccountMsg) GetSigners

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

GetSigners - implements sdk.Msg

func (UpdateAccountMsg) Route added in v0.2.0

func (msg UpdateAccountMsg) Route() string

Type - implements sdk.Msg

func (UpdateAccountMsg) String

func (msg UpdateAccountMsg) String() string

func (UpdateAccountMsg) Type

func (msg UpdateAccountMsg) Type() string

Type - implements sdk.Msg

func (UpdateAccountMsg) ValidateBasic

func (msg UpdateAccountMsg) ValidateBasic() sdk.Error

ValidateBasic - implements sdk.Msg

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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