codec

package
v0.2.18 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: BSD-2-Clause Imports: 31 Imported by: 0

Documentation

Overview

nolint

Index

Constants

View Source
const MaxSliceLength = 10
View Source
const MaxStringLength = 100

Variables

This section is empty.

Functions

func BareDecodeAny

func BareDecodeAny(bz []byte, x interface{}) (n int, err error)

func BareEncodeAny

func BareEncodeAny(w io.Writer, x interface{}) error

func DecodeAny

func DecodeAny(bz []byte) (interface{}, int, error)

func DecodeDec

func DecodeDec(bz []byte) (sdk.Dec, int, error)

func DecodeInt

func DecodeInt(bz []byte) (sdk.Int, int, error)

func DecodeTime

func DecodeTime(bz []byte) (time.Time, int, error)

func EncodeAccAddress

func EncodeAccAddress(w io.Writer, v AccAddress) error

Non-Interface

func EncodeAccount

func EncodeAccount(w io.Writer, x interface{}) error

Interface

func EncodeAccountX

func EncodeAccountX(w io.Writer, v AccountX) error

Non-Interface

func EncodeAny

func EncodeAny(w io.Writer, x interface{}) error

func EncodeBaseAccount

func EncodeBaseAccount(w io.Writer, v BaseAccount) error

Non-Interface

func EncodeBaseToken

func EncodeBaseToken(w io.Writer, v BaseToken) error

Non-Interface

func EncodeBaseVestingAccount

func EncodeBaseVestingAccount(w io.Writer, v BaseVestingAccount) error

Non-Interface

func EncodeCoin

func EncodeCoin(w io.Writer, v Coin) error

Non-Interface

func EncodeCommentRef

func EncodeCommentRef(w io.Writer, v CommentRef) error

Non-Interface

func EncodeCommunityPoolSpendProposal

func EncodeCommunityPoolSpendProposal(w io.Writer, v CommunityPoolSpendProposal) error

Non-Interface

func EncodeContent

func EncodeContent(w io.Writer, x interface{}) error

Interface

func EncodeContinuousVestingAccount

func EncodeContinuousVestingAccount(w io.Writer, v ContinuousVestingAccount) error

Non-Interface

func EncodeDec

func EncodeDec(w io.Writer, v sdk.Dec) error

func EncodeDelayedVestingAccount

func EncodeDelayedVestingAccount(w io.Writer, v DelayedVestingAccount) error

Non-Interface

func EncodeDuplicateVoteEvidence

func EncodeDuplicateVoteEvidence(w io.Writer, v DuplicateVoteEvidence) error

Non-Interface

func EncodeInput

func EncodeInput(w io.Writer, v Input) error

Non-Interface

func EncodeInt

func EncodeInt(w io.Writer, v sdk.Int) error

func EncodeLockedCoin

func EncodeLockedCoin(w io.Writer, v LockedCoin) error

Non-Interface

func EncodeMarketInfo

func EncodeMarketInfo(w io.Writer, v MarketInfo) error

Non-Interface

func EncodeModuleAccount

func EncodeModuleAccount(w io.Writer, v ModuleAccount) error

Non-Interface

func EncodeMsg

func EncodeMsg(w io.Writer, x interface{}) error

Interface

func EncodeMsgAddTokenWhitelist

func EncodeMsgAddTokenWhitelist(w io.Writer, v MsgAddTokenWhitelist) error

Non-Interface

func EncodeMsgAliasUpdate

func EncodeMsgAliasUpdate(w io.Writer, v MsgAliasUpdate) error

Non-Interface

func EncodeMsgBancorCancel

func EncodeMsgBancorCancel(w io.Writer, v MsgBancorCancel) error

Non-Interface

func EncodeMsgBancorInit

func EncodeMsgBancorInit(w io.Writer, v MsgBancorInit) error

Non-Interface

func EncodeMsgBancorTrade

func EncodeMsgBancorTrade(w io.Writer, v MsgBancorTrade) error

Non-Interface

func EncodeMsgBeginRedelegate

func EncodeMsgBeginRedelegate(w io.Writer, v MsgBeginRedelegate) error

Non-Interface

func EncodeMsgBurnToken

func EncodeMsgBurnToken(w io.Writer, v MsgBurnToken) error

Non-Interface

func EncodeMsgCancelOrder

func EncodeMsgCancelOrder(w io.Writer, v MsgCancelOrder) error

Non-Interface

func EncodeMsgCancelTradingPair

func EncodeMsgCancelTradingPair(w io.Writer, v MsgCancelTradingPair) error

Non-Interface

func EncodeMsgCommentToken

func EncodeMsgCommentToken(w io.Writer, v MsgCommentToken) error

Non-Interface

func EncodeMsgCreateOrder

func EncodeMsgCreateOrder(w io.Writer, v MsgCreateOrder) error

Non-Interface

func EncodeMsgCreateTradingPair

func EncodeMsgCreateTradingPair(w io.Writer, v MsgCreateTradingPair) error

Non-Interface

func EncodeMsgCreateValidator

func EncodeMsgCreateValidator(w io.Writer, v MsgCreateValidator) error

Non-Interface

func EncodeMsgDelegate

func EncodeMsgDelegate(w io.Writer, v MsgDelegate) error

Non-Interface

func EncodeMsgDeposit

func EncodeMsgDeposit(w io.Writer, v MsgDeposit) error

Non-Interface

func EncodeMsgDonateToCommunityPool

func EncodeMsgDonateToCommunityPool(w io.Writer, v MsgDonateToCommunityPool) error

Non-Interface

func EncodeMsgEditValidator

func EncodeMsgEditValidator(w io.Writer, v MsgEditValidator) error

Non-Interface

func EncodeMsgForbidAddr

func EncodeMsgForbidAddr(w io.Writer, v MsgForbidAddr) error

Non-Interface

func EncodeMsgForbidToken

func EncodeMsgForbidToken(w io.Writer, v MsgForbidToken) error

Non-Interface

func EncodeMsgIssueToken

func EncodeMsgIssueToken(w io.Writer, v MsgIssueToken) error

Non-Interface

func EncodeMsgMintToken

func EncodeMsgMintToken(w io.Writer, v MsgMintToken) error

Non-Interface

func EncodeMsgModifyPricePrecision

func EncodeMsgModifyPricePrecision(w io.Writer, v MsgModifyPricePrecision) error

Non-Interface

func EncodeMsgModifyTokenInfo

func EncodeMsgModifyTokenInfo(w io.Writer, v MsgModifyTokenInfo) error

Non-Interface

func EncodeMsgMultiSend

func EncodeMsgMultiSend(w io.Writer, v MsgMultiSend) error

Non-Interface

func EncodeMsgMultiSendX

func EncodeMsgMultiSendX(w io.Writer, v MsgMultiSendX) error

Non-Interface

func EncodeMsgRemoveTokenWhitelist

func EncodeMsgRemoveTokenWhitelist(w io.Writer, v MsgRemoveTokenWhitelist) error

Non-Interface

func EncodeMsgSend

func EncodeMsgSend(w io.Writer, v MsgSend) error

Non-Interface

func EncodeMsgSendX

func EncodeMsgSendX(w io.Writer, v MsgSendX) error

Non-Interface

func EncodeMsgSetMemoRequired

func EncodeMsgSetMemoRequired(w io.Writer, v MsgSetMemoRequired) error

Non-Interface

func EncodeMsgSetWithdrawAddress

func EncodeMsgSetWithdrawAddress(w io.Writer, v MsgSetWithdrawAddress) error

Non-Interface

func EncodeMsgSubmitProposal

func EncodeMsgSubmitProposal(w io.Writer, v MsgSubmitProposal) error

Non-Interface

func EncodeMsgTransferOwnership

func EncodeMsgTransferOwnership(w io.Writer, v MsgTransferOwnership) error

Non-Interface

func EncodeMsgUnForbidAddr

func EncodeMsgUnForbidAddr(w io.Writer, v MsgUnForbidAddr) error

Non-Interface

func EncodeMsgUnForbidToken

func EncodeMsgUnForbidToken(w io.Writer, v MsgUnForbidToken) error

Non-Interface

func EncodeMsgUndelegate

func EncodeMsgUndelegate(w io.Writer, v MsgUndelegate) error

Non-Interface

func EncodeMsgUnjail

func EncodeMsgUnjail(w io.Writer, v MsgUnjail) error

Non-Interface

func EncodeMsgVerifyInvariant

func EncodeMsgVerifyInvariant(w io.Writer, v MsgVerifyInvariant) error

Non-Interface

func EncodeMsgVote

func EncodeMsgVote(w io.Writer, v MsgVote) error

Non-Interface

func EncodeMsgWithdrawDelegatorReward

func EncodeMsgWithdrawDelegatorReward(w io.Writer, v MsgWithdrawDelegatorReward) error

Non-Interface

func EncodeMsgWithdrawValidatorCommission

func EncodeMsgWithdrawValidatorCommission(w io.Writer, v MsgWithdrawValidatorCommission) error

Non-Interface

func EncodeOrder

func EncodeOrder(w io.Writer, v Order) error

Non-Interface

func EncodeOutput

func EncodeOutput(w io.Writer, v Output) error

Non-Interface

func EncodeParamChange

func EncodeParamChange(w io.Writer, v ParamChange) error

Non-Interface

func EncodeParameterChangeProposal

func EncodeParameterChangeProposal(w io.Writer, v ParameterChangeProposal) error

Non-Interface

func EncodePrivKeyEd25519

func EncodePrivKeyEd25519(w io.Writer, v PrivKeyEd25519) error

Non-Interface

func EncodePrivKeySecp256k1

func EncodePrivKeySecp256k1(w io.Writer, v PrivKeySecp256k1) error

Non-Interface

func EncodePubKey

func EncodePubKey(w io.Writer, x interface{}) error

Interface

func EncodePubKeyEd25519

func EncodePubKeyEd25519(w io.Writer, v PubKeyEd25519) error

Non-Interface

func EncodePubKeyMultisigThreshold

func EncodePubKeyMultisigThreshold(w io.Writer, v PubKeyMultisigThreshold) error

Non-Interface

func EncodePubKeySecp256k1

func EncodePubKeySecp256k1(w io.Writer, v PubKeySecp256k1) error

Non-Interface

func EncodeSignedMsgType

func EncodeSignedMsgType(w io.Writer, v SignedMsgType) error

Non-Interface

func EncodeSoftwareUpgradeProposal

func EncodeSoftwareUpgradeProposal(w io.Writer, v SoftwareUpgradeProposal) error

Non-Interface

func EncodeState

func EncodeState(w io.Writer, v State) error

Non-Interface

func EncodeStdSignature

func EncodeStdSignature(w io.Writer, v StdSignature) error

Non-Interface

func EncodeStdTx

func EncodeStdTx(w io.Writer, v StdTx) error

Non-Interface

func EncodeSupply

func EncodeSupply(w io.Writer, v Supply) error

Non-Interface

func EncodeTextProposal

func EncodeTextProposal(w io.Writer, v TextProposal) error

Non-Interface

func EncodeTime

func EncodeTime(w io.Writer, t time.Time) error

func EncodeVote

func EncodeVote(w io.Writer, v Vote) error

Non-Interface

func EncodeVoteOption

func EncodeVoteOption(w io.Writer, v VoteOption) error

Non-Interface

func GenerateCodecFile

func GenerateCodecFile(w io.Writer)

func GetLeafTypes

func GetLeafTypes() map[string]string

func GetSupportList

func GetSupportList() []string

func RandAny

func RandAny(r RandSrc) interface{}

func RandDec

func RandDec(r RandSrc) sdk.Dec

func RandInt

func RandInt(r RandSrc) sdk.Int

func RandTime

func RandTime(r RandSrc) time.Time

func ShowInfo

func ShowInfo()

Types

type AccAddress

type AccAddress = sdk.AccAddress

func DecodeAccAddress

func DecodeAccAddress(bz []byte) (AccAddress, int, error)

func RandAccAddress

func RandAccAddress(r RandSrc) AccAddress

type Account

type Account = auth.Account

func DecodeAccount

func DecodeAccount(bz []byte) (Account, int, error)

func RandAccount

func RandAccount(r RandSrc) Account

type AccountX

type AccountX = authx.AccountX

func DecodeAccountX

func DecodeAccountX(bz []byte) (AccountX, int, error)

func RandAccountX

func RandAccountX(r RandSrc) AccountX

type BaseAccount

type BaseAccount = auth.BaseAccount

func DecodeBaseAccount

func DecodeBaseAccount(bz []byte) (BaseAccount, int, error)

func RandBaseAccount

func RandBaseAccount(r RandSrc) BaseAccount

type BaseToken

type BaseToken = asset.BaseToken

func DecodeBaseToken

func DecodeBaseToken(bz []byte) (BaseToken, int, error)

func RandBaseToken

func RandBaseToken(r RandSrc) BaseToken

type BaseVestingAccount

type BaseVestingAccount = auth.BaseVestingAccount

func DecodeBaseVestingAccount

func DecodeBaseVestingAccount(bz []byte) (BaseVestingAccount, int, error)

func RandBaseVestingAccount

func RandBaseVestingAccount(r RandSrc) BaseVestingAccount

type Coin

type Coin = sdk.Coin

func DecodeCoin

func DecodeCoin(bz []byte) (Coin, int, error)

func RandCoin

func RandCoin(r RandSrc) Coin

type CommentRef

type CommentRef = comment.CommentRef

func DecodeCommentRef

func DecodeCommentRef(bz []byte) (CommentRef, int, error)

func RandCommentRef

func RandCommentRef(r RandSrc) CommentRef

type CommunityPoolSpendProposal

type CommunityPoolSpendProposal = distr.CommunityPoolSpendProposal

func DecodeCommunityPoolSpendProposal

func DecodeCommunityPoolSpendProposal(bz []byte) (CommunityPoolSpendProposal, int, error)

func RandCommunityPoolSpendProposal

func RandCommunityPoolSpendProposal(r RandSrc) CommunityPoolSpendProposal

type Content

type Content = govtypes.Content

func DecodeContent

func DecodeContent(bz []byte) (Content, int, error)

func RandContent

func RandContent(r RandSrc) Content

type ContinuousVestingAccount

type ContinuousVestingAccount = auth.ContinuousVestingAccount

func DecodeContinuousVestingAccount

func DecodeContinuousVestingAccount(bz []byte) (ContinuousVestingAccount, int, error)

func RandContinuousVestingAccount

func RandContinuousVestingAccount(r RandSrc) ContinuousVestingAccount

type Dec

type Dec = sdk.Dec

type DelayedVestingAccount

type DelayedVestingAccount = auth.DelayedVestingAccount

func DecodeDelayedVestingAccount

func DecodeDelayedVestingAccount(bz []byte) (DelayedVestingAccount, int, error)

func RandDelayedVestingAccount

func RandDelayedVestingAccount(r RandSrc) DelayedVestingAccount

type DuplicateVoteEvidence

type DuplicateVoteEvidence = tmtypes.DuplicateVoteEvidence

func DecodeDuplicateVoteEvidence

func DecodeDuplicateVoteEvidence(bz []byte) (DuplicateVoteEvidence, int, error)

func RandDuplicateVoteEvidence

func RandDuplicateVoteEvidence(r RandSrc) DuplicateVoteEvidence

type Input

type Input = bank.Input

func DecodeInput

func DecodeInput(bz []byte) (Input, int, error)

func RandInput

func RandInput(r RandSrc) Input

type Int

type Int = sdk.Int

type LockedCoin

type LockedCoin = authx.LockedCoin

func DecodeLockedCoin

func DecodeLockedCoin(bz []byte) (LockedCoin, int, error)

func RandLockedCoin

func RandLockedCoin(r RandSrc) LockedCoin

type MarketInfo

type MarketInfo = market.MarketInfo

func DecodeMarketInfo

func DecodeMarketInfo(bz []byte) (MarketInfo, int, error)

func RandMarketInfo

func RandMarketInfo(r RandSrc) MarketInfo

type ModuleAccount

type ModuleAccount = supply.ModuleAccount

func DecodeModuleAccount

func DecodeModuleAccount(bz []byte) (ModuleAccount, int, error)

func RandModuleAccount

func RandModuleAccount(r RandSrc) ModuleAccount

type Msg

type Msg = sdk.Msg

func DecodeMsg

func DecodeMsg(bz []byte) (Msg, int, error)

func RandMsg

func RandMsg(r RandSrc) Msg

type MsgAddTokenWhitelist

type MsgAddTokenWhitelist = asset.MsgAddTokenWhitelist

func DecodeMsgAddTokenWhitelist

func DecodeMsgAddTokenWhitelist(bz []byte) (MsgAddTokenWhitelist, int, error)

func RandMsgAddTokenWhitelist

func RandMsgAddTokenWhitelist(r RandSrc) MsgAddTokenWhitelist

type MsgAliasUpdate

type MsgAliasUpdate = alias.MsgAliasUpdate

func DecodeMsgAliasUpdate

func DecodeMsgAliasUpdate(bz []byte) (MsgAliasUpdate, int, error)

func RandMsgAliasUpdate

func RandMsgAliasUpdate(r RandSrc) MsgAliasUpdate

type MsgBancorCancel

type MsgBancorCancel = bancorlite.MsgBancorCancel

func DecodeMsgBancorCancel

func DecodeMsgBancorCancel(bz []byte) (MsgBancorCancel, int, error)

func RandMsgBancorCancel

func RandMsgBancorCancel(r RandSrc) MsgBancorCancel

type MsgBancorInit

type MsgBancorInit = bancorlite.MsgBancorInit

func DecodeMsgBancorInit

func DecodeMsgBancorInit(bz []byte) (MsgBancorInit, int, error)

func RandMsgBancorInit

func RandMsgBancorInit(r RandSrc) MsgBancorInit

type MsgBancorTrade

type MsgBancorTrade = bancorlite.MsgBancorTrade

func DecodeMsgBancorTrade

func DecodeMsgBancorTrade(bz []byte) (MsgBancorTrade, int, error)

func RandMsgBancorTrade

func RandMsgBancorTrade(r RandSrc) MsgBancorTrade

type MsgBeginRedelegate

type MsgBeginRedelegate = staking.MsgBeginRedelegate

func DecodeMsgBeginRedelegate

func DecodeMsgBeginRedelegate(bz []byte) (MsgBeginRedelegate, int, error)

func RandMsgBeginRedelegate

func RandMsgBeginRedelegate(r RandSrc) MsgBeginRedelegate

type MsgBurnToken

type MsgBurnToken = asset.MsgBurnToken

func DecodeMsgBurnToken

func DecodeMsgBurnToken(bz []byte) (MsgBurnToken, int, error)

func RandMsgBurnToken

func RandMsgBurnToken(r RandSrc) MsgBurnToken

type MsgCancelOrder

type MsgCancelOrder = market.MsgCancelOrder

func DecodeMsgCancelOrder

func DecodeMsgCancelOrder(bz []byte) (MsgCancelOrder, int, error)

func RandMsgCancelOrder

func RandMsgCancelOrder(r RandSrc) MsgCancelOrder

type MsgCancelTradingPair

type MsgCancelTradingPair = market.MsgCancelTradingPair

func DecodeMsgCancelTradingPair

func DecodeMsgCancelTradingPair(bz []byte) (MsgCancelTradingPair, int, error)

func RandMsgCancelTradingPair

func RandMsgCancelTradingPair(r RandSrc) MsgCancelTradingPair

type MsgCommentToken

type MsgCommentToken = comment.MsgCommentToken

func DecodeMsgCommentToken

func DecodeMsgCommentToken(bz []byte) (MsgCommentToken, int, error)

func RandMsgCommentToken

func RandMsgCommentToken(r RandSrc) MsgCommentToken

type MsgCreateOrder

type MsgCreateOrder = market.MsgCreateOrder

func DecodeMsgCreateOrder

func DecodeMsgCreateOrder(bz []byte) (MsgCreateOrder, int, error)

func RandMsgCreateOrder

func RandMsgCreateOrder(r RandSrc) MsgCreateOrder

type MsgCreateTradingPair

type MsgCreateTradingPair = market.MsgCreateTradingPair

func DecodeMsgCreateTradingPair

func DecodeMsgCreateTradingPair(bz []byte) (MsgCreateTradingPair, int, error)

func RandMsgCreateTradingPair

func RandMsgCreateTradingPair(r RandSrc) MsgCreateTradingPair

type MsgCreateValidator

type MsgCreateValidator = staking.MsgCreateValidator

func DecodeMsgCreateValidator

func DecodeMsgCreateValidator(bz []byte) (MsgCreateValidator, int, error)

func RandMsgCreateValidator

func RandMsgCreateValidator(r RandSrc) MsgCreateValidator

type MsgDelegate

type MsgDelegate = staking.MsgDelegate

func DecodeMsgDelegate

func DecodeMsgDelegate(bz []byte) (MsgDelegate, int, error)

func RandMsgDelegate

func RandMsgDelegate(r RandSrc) MsgDelegate

type MsgDeposit

type MsgDeposit = gov.MsgDeposit

func DecodeMsgDeposit

func DecodeMsgDeposit(bz []byte) (MsgDeposit, int, error)

func RandMsgDeposit

func RandMsgDeposit(r RandSrc) MsgDeposit

type MsgDonateToCommunityPool

type MsgDonateToCommunityPool = distrx.MsgDonateToCommunityPool

func DecodeMsgDonateToCommunityPool

func DecodeMsgDonateToCommunityPool(bz []byte) (MsgDonateToCommunityPool, int, error)

func RandMsgDonateToCommunityPool

func RandMsgDonateToCommunityPool(r RandSrc) MsgDonateToCommunityPool

type MsgEditValidator

type MsgEditValidator = staking.MsgEditValidator

func DecodeMsgEditValidator

func DecodeMsgEditValidator(bz []byte) (MsgEditValidator, int, error)

func RandMsgEditValidator

func RandMsgEditValidator(r RandSrc) MsgEditValidator

type MsgForbidAddr

type MsgForbidAddr = asset.MsgForbidAddr

func DecodeMsgForbidAddr

func DecodeMsgForbidAddr(bz []byte) (MsgForbidAddr, int, error)

func RandMsgForbidAddr

func RandMsgForbidAddr(r RandSrc) MsgForbidAddr

type MsgForbidToken

type MsgForbidToken = asset.MsgForbidToken

func DecodeMsgForbidToken

func DecodeMsgForbidToken(bz []byte) (MsgForbidToken, int, error)

func RandMsgForbidToken

func RandMsgForbidToken(r RandSrc) MsgForbidToken

type MsgIssueToken

type MsgIssueToken = asset.MsgIssueToken

func DecodeMsgIssueToken

func DecodeMsgIssueToken(bz []byte) (MsgIssueToken, int, error)

func RandMsgIssueToken

func RandMsgIssueToken(r RandSrc) MsgIssueToken

type MsgMintToken

type MsgMintToken = asset.MsgMintToken

func DecodeMsgMintToken

func DecodeMsgMintToken(bz []byte) (MsgMintToken, int, error)

func RandMsgMintToken

func RandMsgMintToken(r RandSrc) MsgMintToken

type MsgModifyPricePrecision

type MsgModifyPricePrecision = market.MsgModifyPricePrecision

func DecodeMsgModifyPricePrecision

func DecodeMsgModifyPricePrecision(bz []byte) (MsgModifyPricePrecision, int, error)

func RandMsgModifyPricePrecision

func RandMsgModifyPricePrecision(r RandSrc) MsgModifyPricePrecision

type MsgModifyTokenInfo

type MsgModifyTokenInfo = asset.MsgModifyTokenInfo

func DecodeMsgModifyTokenInfo

func DecodeMsgModifyTokenInfo(bz []byte) (MsgModifyTokenInfo, int, error)

func RandMsgModifyTokenInfo

func RandMsgModifyTokenInfo(r RandSrc) MsgModifyTokenInfo

type MsgMultiSend

type MsgMultiSend = bank.MsgMultiSend

func DecodeMsgMultiSend

func DecodeMsgMultiSend(bz []byte) (MsgMultiSend, int, error)

func RandMsgMultiSend

func RandMsgMultiSend(r RandSrc) MsgMultiSend

type MsgMultiSendX

type MsgMultiSendX = bankx.MsgMultiSend

func DecodeMsgMultiSendX

func DecodeMsgMultiSendX(bz []byte) (MsgMultiSendX, int, error)

func RandMsgMultiSendX

func RandMsgMultiSendX(r RandSrc) MsgMultiSendX

type MsgRemoveTokenWhitelist

type MsgRemoveTokenWhitelist = asset.MsgRemoveTokenWhitelist

func DecodeMsgRemoveTokenWhitelist

func DecodeMsgRemoveTokenWhitelist(bz []byte) (MsgRemoveTokenWhitelist, int, error)

func RandMsgRemoveTokenWhitelist

func RandMsgRemoveTokenWhitelist(r RandSrc) MsgRemoveTokenWhitelist

type MsgSend

type MsgSend = bank.MsgSend

func DecodeMsgSend

func DecodeMsgSend(bz []byte) (MsgSend, int, error)

func RandMsgSend

func RandMsgSend(r RandSrc) MsgSend

type MsgSendX

type MsgSendX = bankx.MsgSend

func DecodeMsgSendX

func DecodeMsgSendX(bz []byte) (MsgSendX, int, error)

func RandMsgSendX

func RandMsgSendX(r RandSrc) MsgSendX

type MsgSetMemoRequired

type MsgSetMemoRequired = bankx.MsgSetMemoRequired

func DecodeMsgSetMemoRequired

func DecodeMsgSetMemoRequired(bz []byte) (MsgSetMemoRequired, int, error)

func RandMsgSetMemoRequired

func RandMsgSetMemoRequired(r RandSrc) MsgSetMemoRequired

type MsgSetWithdrawAddress

type MsgSetWithdrawAddress = distr.MsgSetWithdrawAddress

func DecodeMsgSetWithdrawAddress

func DecodeMsgSetWithdrawAddress(bz []byte) (MsgSetWithdrawAddress, int, error)

func RandMsgSetWithdrawAddress

func RandMsgSetWithdrawAddress(r RandSrc) MsgSetWithdrawAddress

type MsgSubmitProposal

type MsgSubmitProposal = gov.MsgSubmitProposal

func DecodeMsgSubmitProposal

func DecodeMsgSubmitProposal(bz []byte) (MsgSubmitProposal, int, error)

func RandMsgSubmitProposal

func RandMsgSubmitProposal(r RandSrc) MsgSubmitProposal

type MsgTransferOwnership

type MsgTransferOwnership = asset.MsgTransferOwnership

func DecodeMsgTransferOwnership

func DecodeMsgTransferOwnership(bz []byte) (MsgTransferOwnership, int, error)

func RandMsgTransferOwnership

func RandMsgTransferOwnership(r RandSrc) MsgTransferOwnership

type MsgUnForbidAddr

type MsgUnForbidAddr = asset.MsgUnForbidAddr

func DecodeMsgUnForbidAddr

func DecodeMsgUnForbidAddr(bz []byte) (MsgUnForbidAddr, int, error)

func RandMsgUnForbidAddr

func RandMsgUnForbidAddr(r RandSrc) MsgUnForbidAddr

type MsgUnForbidToken

type MsgUnForbidToken = asset.MsgUnForbidToken

func DecodeMsgUnForbidToken

func DecodeMsgUnForbidToken(bz []byte) (MsgUnForbidToken, int, error)

func RandMsgUnForbidToken

func RandMsgUnForbidToken(r RandSrc) MsgUnForbidToken

type MsgUndelegate

type MsgUndelegate = staking.MsgUndelegate

func DecodeMsgUndelegate

func DecodeMsgUndelegate(bz []byte) (MsgUndelegate, int, error)

func RandMsgUndelegate

func RandMsgUndelegate(r RandSrc) MsgUndelegate

type MsgUnjail

type MsgUnjail = slashing.MsgUnjail

func DecodeMsgUnjail

func DecodeMsgUnjail(bz []byte) (MsgUnjail, int, error)

func RandMsgUnjail

func RandMsgUnjail(r RandSrc) MsgUnjail

type MsgVerifyInvariant

type MsgVerifyInvariant = crisis.MsgVerifyInvariant

func DecodeMsgVerifyInvariant

func DecodeMsgVerifyInvariant(bz []byte) (MsgVerifyInvariant, int, error)

func RandMsgVerifyInvariant

func RandMsgVerifyInvariant(r RandSrc) MsgVerifyInvariant

type MsgVote

type MsgVote = gov.MsgVote

func DecodeMsgVote

func DecodeMsgVote(bz []byte) (MsgVote, int, error)

func RandMsgVote

func RandMsgVote(r RandSrc) MsgVote

type MsgWithdrawDelegatorReward

type MsgWithdrawDelegatorReward = distr.MsgWithdrawDelegatorReward

func DecodeMsgWithdrawDelegatorReward

func DecodeMsgWithdrawDelegatorReward(bz []byte) (MsgWithdrawDelegatorReward, int, error)

func RandMsgWithdrawDelegatorReward

func RandMsgWithdrawDelegatorReward(r RandSrc) MsgWithdrawDelegatorReward

type MsgWithdrawValidatorCommission

type MsgWithdrawValidatorCommission = distr.MsgWithdrawValidatorCommission

func DecodeMsgWithdrawValidatorCommission

func DecodeMsgWithdrawValidatorCommission(bz []byte) (MsgWithdrawValidatorCommission, int, error)

func RandMsgWithdrawValidatorCommission

func RandMsgWithdrawValidatorCommission(r RandSrc) MsgWithdrawValidatorCommission

type Order

type Order = market.Order

func DecodeOrder

func DecodeOrder(bz []byte) (Order, int, error)

func RandOrder

func RandOrder(r RandSrc) Order

type Output

type Output = bank.Output

func DecodeOutput

func DecodeOutput(bz []byte) (Output, int, error)

func RandOutput

func RandOutput(r RandSrc) Output

type ParamChange

type ParamChange = ptypes.ParamChange

func DecodeParamChange

func DecodeParamChange(bz []byte) (ParamChange, int, error)

func RandParamChange

func RandParamChange(r RandSrc) ParamChange

type ParameterChangeProposal

type ParameterChangeProposal = ptypes.ParameterChangeProposal

func DecodeParameterChangeProposal

func DecodeParameterChangeProposal(bz []byte) (ParameterChangeProposal, int, error)

func RandParameterChangeProposal

func RandParameterChangeProposal(r RandSrc) ParameterChangeProposal

type PrivKeyEd25519

type PrivKeyEd25519 = ed25519.PrivKeyEd25519

func DecodePrivKeyEd25519

func DecodePrivKeyEd25519(bz []byte) (PrivKeyEd25519, int, error)

func RandPrivKeyEd25519

func RandPrivKeyEd25519(r RandSrc) PrivKeyEd25519

type PrivKeySecp256k1

type PrivKeySecp256k1 = secp256k1.PrivKeySecp256k1

func DecodePrivKeySecp256k1

func DecodePrivKeySecp256k1(bz []byte) (PrivKeySecp256k1, int, error)

func RandPrivKeySecp256k1

func RandPrivKeySecp256k1(r RandSrc) PrivKeySecp256k1

type PubKey

type PubKey = crypto.PubKey

func DecodePubKey

func DecodePubKey(bz []byte) (PubKey, int, error)

func RandPubKey

func RandPubKey(r RandSrc) PubKey

type PubKeyEd25519

type PubKeyEd25519 = ed25519.PubKeyEd25519

func DecodePubKeyEd25519

func DecodePubKeyEd25519(bz []byte) (PubKeyEd25519, int, error)

func RandPubKeyEd25519

func RandPubKeyEd25519(r RandSrc) PubKeyEd25519

type PubKeyMultisigThreshold

type PubKeyMultisigThreshold = multisig.PubKeyMultisigThreshold

func DecodePubKeyMultisigThreshold

func DecodePubKeyMultisigThreshold(bz []byte) (PubKeyMultisigThreshold, int, error)

func RandPubKeyMultisigThreshold

func RandPubKeyMultisigThreshold(r RandSrc) PubKeyMultisigThreshold

type PubKeySecp256k1

type PubKeySecp256k1 = secp256k1.PubKeySecp256k1

func DecodePubKeySecp256k1

func DecodePubKeySecp256k1(bz []byte) (PubKeySecp256k1, int, error)

func RandPubKeySecp256k1

func RandPubKeySecp256k1(r RandSrc) PubKeySecp256k1

type RandSrc

type RandSrc interface {
	GetBool() bool
	GetInt() int
	GetInt8() int8
	GetInt16() int16
	GetInt32() int32
	GetInt64() int64
	GetUint() uint
	GetUint8() uint8
	GetUint16() uint16
	GetUint32() uint32
	GetUint64() uint64
	GetFloat32() float32
	GetFloat64() float64
	GetString(n int) string
	GetBytes(n int) []byte
}

type SignedMsgType

type SignedMsgType = tmtypes.SignedMsgType

func DecodeSignedMsgType

func DecodeSignedMsgType(bz []byte) (SignedMsgType, int, error)

func RandSignedMsgType

func RandSignedMsgType(r RandSrc) SignedMsgType

type SoftwareUpgradeProposal

type SoftwareUpgradeProposal = gov.SoftwareUpgradeProposal

func DecodeSoftwareUpgradeProposal

func DecodeSoftwareUpgradeProposal(bz []byte) (SoftwareUpgradeProposal, int, error)

func RandSoftwareUpgradeProposal

func RandSoftwareUpgradeProposal(r RandSrc) SoftwareUpgradeProposal

type State

type State = incentive.State

func DecodeState

func DecodeState(bz []byte) (State, int, error)

func RandState

func RandState(r RandSrc) State

type StdSignature

type StdSignature = auth.StdSignature

func DecodeStdSignature

func DecodeStdSignature(bz []byte) (StdSignature, int, error)

func RandStdSignature

func RandStdSignature(r RandSrc) StdSignature

type StdTx

type StdTx = auth.StdTx

func DecodeStdTx

func DecodeStdTx(bz []byte) (StdTx, int, error)

func RandStdTx

func RandStdTx(r RandSrc) StdTx

type Supply

type Supply = supply.Supply

func DecodeSupply

func DecodeSupply(bz []byte) (Supply, int, error)

func RandSupply

func RandSupply(r RandSrc) Supply

type TextProposal

type TextProposal = gov.TextProposal

func DecodeTextProposal

func DecodeTextProposal(bz []byte) (TextProposal, int, error)

func RandTextProposal

func RandTextProposal(r RandSrc) TextProposal

type Vote

type Vote = tmtypes.Vote

func DecodeVote

func DecodeVote(bz []byte) (Vote, int, error)

func RandVote

func RandVote(r RandSrc) Vote

type VoteOption

type VoteOption = govtypes.VoteOption

func DecodeVoteOption

func DecodeVoteOption(bz []byte) (VoteOption, int, error)

func RandVoteOption

func RandVoteOption(r RandSrc) VoteOption

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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