Versions in this module Expand all Collapse all v0 v0.0.6 Nov 26, 2021 v0.0.5 Nov 26, 2021 v0.0.4 Nov 26, 2021 v0.0.3 Nov 26, 2021 v0.0.2 Nov 26, 2021 v0.0.1 Nov 26, 2021 Changes in this version + const Bech32MainPrefix + const Bech32PrefixAccAddr + const Bech32PrefixAccPub + const Bech32PrefixConsAddr + const Bech32PrefixConsPub + const Bech32PrefixValAddr + const Bech32PrefixValPub + const CoinType + const DecimalPrecisionBits + const DefaultBondDenom + const DefaultKeyringServiceName + const FullFundraiserPath + const MsgInterfaceProtoName + const Precision + const PrefixAccount + const PrefixAddress + const PrefixConsensus + const PrefixOperator + const PrefixPublic + const PrefixValidator + const Purpose + const SortableTimeFormat + const StoreTypeDB + const StoreTypeIAVL + const StoreTypeMemory + const StoreTypeMulti + const StoreTypeTransient + const ValidatorUpdateDelay + var AttributeKeyAccountSequence = "acc_seq" + var AttributeKeyAction = "action" + var AttributeKeyAmount = "amount" + var AttributeKeyFee = "fee" + var AttributeKeyModule = "module" + var AttributeKeySender = "sender" + var AttributeKeySignature = "signature" + var DBBackend = "" + var DefaultPowerReduction = NewIntFromUint64(1000000) + var ErrEmptyDecimalStr = errors.New("decimal string cannot be empty") + var ErrIntOverflowAbci = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowCoin = fmt.Errorf("proto: integer overflow") + var ErrInvalidDecimalLength = errors.New("invalid decimal length") + var ErrInvalidDecimalStr = errors.New("invalid decimal string") + var ErrInvalidLengthAbci = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthCoin = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupAbci = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupCoin = fmt.Errorf("proto: unexpected end of group") + var EventTypeMessage = "message" + var EventTypeTx = "tx" + var IsAlpha = regexp.MustCompile(`^[a-zA-Z]+$`).MatchString + var IsAlphaLower = regexp.MustCompile(`^[a-z]+$`).MatchString + var IsAlphaNumeric = regexp.MustCompile(`^[a-zA-Z0-9]+$`).MatchString + var IsAlphaUpper = regexp.MustCompile(`^[A-Z]+$`).MatchString + var IsNumeric = regexp.MustCompile(`^[0-9]+$`).MatchString + var MaxSortableDec = OneDec().Quo(SmallestDec()) + func Bech32ifyAddressBytes(prefix string, bs []byte) (string, error) + func BigEndianToUint64(bz []byte) uint64 + func CopyBytes(bz []byte) (ret []byte) + func DecEq(t *testing.T, exp, got Dec) (*testing.T, bool, string, string, string) + func DecsEqual(d1s, d2s []Dec) bool + func DefaultCoinDenomRegex() string + func DiffKVStores(a KVStore, b KVStore, prefixesToSkip [][]byte) (kvAs, kvBs []kv.Pair) + func FormatInvariant(module, name, msg string) string + func FormatTimeBytes(t time.Time) []byte + func GetBaseDenom() (string, error) + func GetFromBech32(bech32str, prefix string) ([]byte, error) + func InclusiveEndBytes(inclusiveBytes []byte) (exclusiveBytes []byte) + func IntEq(t *testing.T, exp, got Int) (*testing.T, bool, string, string, string) + func KeyringServiceName() string + func MarkEventsToIndex(events []abci.Event, indexSet map[string]struct{}) []abci.Event + func MsgTypeURL(msg Msg) string + func MustBech32ifyAddressBytes(prefix string, bs []byte) string + func MustSortJSON(toSortJSON []byte) []byte + func NewKVStoreKeys(names ...string) map[string]*KVStoreKey + func NewLevelDB(name, dir string) (db dbm.DB, err error) + func NewMemoryStoreKeys(names ...string) map[string]*MemoryStoreKey + func NewTransientStoreKeys(names ...string) map[string]*TransientStoreKey + func ParseTimeBytes(bz []byte) (time.Time, error) + func ParseTypedEvent(event abci.Event) (proto.Message, error) + func PrefixEndBytes(prefix []byte) []byte + func RegisterDenom(denom string, unit Dec) error + func RegisterInterfaces(registry types.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func SetCoinDenomRegex(reFn func() string) + func SortJSON(toSortJSON []byte) ([]byte, error) + func SortableDecBytes(dec Dec) []byte + func TokensToConsensusPower(tokens Int, powerReduction Int) int64 + func Uint64ToBigEndian(i uint64) []byte + func UintOverflow(i *big.Int) error + func ValidSortableDec(dec Dec) bool + func ValidateDenom(denom string) error + func VerifyAddressFormat(bz []byte) error + func WrapSDKContext(ctx Context) context.Context + type ABCIMessageLog struct + Events StringEvents + Log string + MsgIndex uint32 + func NewABCIMessageLog(i uint32, log string, events Events) ABCIMessageLog + func (*ABCIMessageLog) Descriptor() ([]byte, []int) + func (*ABCIMessageLog) ProtoMessage() + func (m *ABCIMessageLog) GetEvents() StringEvents + func (m *ABCIMessageLog) GetLog() string + func (m *ABCIMessageLog) GetMsgIndex() uint32 + func (m *ABCIMessageLog) Marshal() (dAtA []byte, err error) + func (m *ABCIMessageLog) MarshalTo(dAtA []byte) (int, error) + func (m *ABCIMessageLog) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ABCIMessageLog) Reset() + func (m *ABCIMessageLog) Size() (n int) + func (m *ABCIMessageLog) Unmarshal(dAtA []byte) error + func (m *ABCIMessageLog) XXX_DiscardUnknown() + func (m *ABCIMessageLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ABCIMessageLog) XXX_Merge(src proto.Message) + func (m *ABCIMessageLog) XXX_Size() int + func (m *ABCIMessageLog) XXX_Unmarshal(b []byte) error + func (this *ABCIMessageLog) String() string + type ABCIMessageLogs []ABCIMessageLog + func ParseABCILogs(logs string) (res ABCIMessageLogs, err error) + func (logs ABCIMessageLogs) String() (str string) + type AccAddress []byte + func AccAddressFromBech32(address string) (addr AccAddress, err error) + func AccAddressFromHex(address string) (addr AccAddress, err error) + func (aa *AccAddress) Unmarshal(data []byte) error + func (aa *AccAddress) UnmarshalJSON(data []byte) error + func (aa *AccAddress) UnmarshalYAML(data []byte) error + func (aa AccAddress) Bytes() []byte + func (aa AccAddress) Empty() bool + func (aa AccAddress) Equals(aa2 Address) bool + func (aa AccAddress) Format(s fmt.State, verb rune) + func (aa AccAddress) Marshal() ([]byte, error) + func (aa AccAddress) MarshalJSON() ([]byte, error) + func (aa AccAddress) MarshalYAML() (interface{}, error) + func (aa AccAddress) String() string + type Address interface + Bytes func() []byte + Empty func() bool + Equals func(Address) bool + Format func(s fmt.State, verb rune) + Marshal func() ([]byte, error) + MarshalJSON func() ([]byte, error) + String func() string + type AnteDecorator interface + AnteHandle func(ctx Context, tx Tx, simulate bool, next AnteHandler) (newCtx Context, err error) + type AnteHandler func(ctx Context, tx Tx, simulate bool) (newCtx Context, err error) + func ChainAnteDecorators(chain ...AnteDecorator) AnteHandler + type Attribute struct + Key string + Value string + func NewAttribute(k, v string) Attribute + func (*Attribute) Descriptor() ([]byte, []int) + func (*Attribute) ProtoMessage() + func (a Attribute) String() string + func (a Attribute) ToKVPair() abci.EventAttribute + func (m *Attribute) GetKey() string + func (m *Attribute) GetValue() string + func (m *Attribute) Marshal() (dAtA []byte, err error) + func (m *Attribute) MarshalTo(dAtA []byte) (int, error) + func (m *Attribute) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Attribute) Reset() + func (m *Attribute) Size() (n int) + func (m *Attribute) Unmarshal(dAtA []byte) error + func (m *Attribute) XXX_DiscardUnknown() + func (m *Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Attribute) XXX_Merge(src proto.Message) + func (m *Attribute) XXX_Size() int + func (m *Attribute) XXX_Unmarshal(b []byte) error + type BeginBlocker func(ctx Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock + type CacheKVStore = types.CacheKVStore + type CacheMultiStore = types.CacheMultiStore + type CacheWrap = types.CacheWrap + type CacheWrapper = types.CacheWrapper + type CapabilityKey = types.CapabilityKey + type Coin struct + Amount Int + Denom string + func ConvertCoin(coin Coin, denom string) (Coin, error) + func NewCoin(denom string, amount Int) Coin + func NewInt64Coin(denom string, amount int64) Coin + func NormalizeCoin(coin Coin) Coin + func ParseCoinNormalized(coinStr string) (coin Coin, err error) + func (*Coin) Descriptor() ([]byte, []int) + func (*Coin) ProtoMessage() + func (coin Coin) Add(coinB Coin) Coin + func (coin Coin) AddAmount(amount Int) Coin + func (coin Coin) IsEqual(other Coin) bool + func (coin Coin) IsGTE(other Coin) bool + func (coin Coin) IsLT(other Coin) bool + func (coin Coin) IsNegative() bool + func (coin Coin) IsNil() bool + func (coin Coin) IsPositive() bool + func (coin Coin) IsValid() bool + func (coin Coin) IsZero() bool + func (coin Coin) String() string + func (coin Coin) Sub(coinB Coin) Coin + func (coin Coin) SubAmount(amount Int) Coin + func (coin Coin) Validate() error + func (m *Coin) GetDenom() string + func (m *Coin) Marshal() (dAtA []byte, err error) + func (m *Coin) MarshalTo(dAtA []byte) (int, error) + func (m *Coin) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Coin) Reset() + func (m *Coin) Size() (n int) + func (m *Coin) Unmarshal(dAtA []byte) error + func (m *Coin) XXX_DiscardUnknown() + func (m *Coin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Coin) XXX_Merge(src proto.Message) + func (m *Coin) XXX_Size() int + func (m *Coin) XXX_Unmarshal(b []byte) error + func (this *Coin) Equal(that interface{}) bool + type Coins []Coin + func NewCoins(coins ...Coin) Coins + func NormalizeCoins(coins []DecCoin) Coins + func ParseCoinsNormalized(coinStr string) (Coins, error) + func (coins Coins) Add(coinsB ...Coin) Coins + func (coins Coins) AmountOf(denom string) Int + func (coins Coins) AmountOfNoDenomValidation(denom string) Int + func (coins Coins) DenomsSubsetOf(coinsB Coins) bool + func (coins Coins) Empty() bool + func (coins Coins) GetDenomByIndex(i int) string + func (coins Coins) IsAllGT(coinsB Coins) bool + func (coins Coins) IsAllGTE(coinsB Coins) bool + func (coins Coins) IsAllLT(coinsB Coins) bool + func (coins Coins) IsAllLTE(coinsB Coins) bool + func (coins Coins) IsAllPositive() bool + func (coins Coins) IsAnyGT(coinsB Coins) bool + func (coins Coins) IsAnyGTE(coinsB Coins) bool + func (coins Coins) IsAnyNegative() bool + func (coins Coins) IsAnyNil() bool + func (coins Coins) IsEqual(coinsB Coins) bool + func (coins Coins) IsValid() bool + func (coins Coins) IsZero() bool + func (coins Coins) Len() int + func (coins Coins) Less(i, j int) bool + func (coins Coins) MarshalJSON() ([]byte, error) + func (coins Coins) SafeSub(coinsB Coins) (Coins, bool) + func (coins Coins) Sort() Coins + func (coins Coins) String() string + func (coins Coins) Sub(coinsB Coins) Coins + func (coins Coins) Swap(i, j int) + func (coins Coins) Validate() error + type CommitID = types.CommitID + type CommitKVStore = types.CommitKVStore + type CommitMultiStore = types.CommitMultiStore + type CommitStore = types.CommitStore + type Committer = types.Committer + type Config struct + func GetConfig() *Config + func GetSealedConfig(ctx context.Context) (*Config, error) + func NewConfig() *Config + func (config *Config) GetAddressVerifier() func([]byte) error + func (config *Config) GetBech32AccountAddrPrefix() string + func (config *Config) GetBech32AccountPubPrefix() string + func (config *Config) GetBech32ConsensusAddrPrefix() string + func (config *Config) GetBech32ConsensusPubPrefix() string + func (config *Config) GetBech32ValidatorAddrPrefix() string + func (config *Config) GetBech32ValidatorPubPrefix() string + func (config *Config) GetCoinType() uint32 + func (config *Config) GetFullBIP44Path() string + func (config *Config) GetFullFundraiserPath() string + func (config *Config) GetPurpose() uint32 + func (config *Config) GetTxEncoder() TxEncoder + func (config *Config) Seal() *Config + func (config *Config) SetAddressVerifier(addressVerifier func([]byte) error) + func (config *Config) SetBech32PrefixForAccount(addressPrefix, pubKeyPrefix string) + func (config *Config) SetBech32PrefixForConsensusNode(addressPrefix, pubKeyPrefix string) + func (config *Config) SetBech32PrefixForValidator(addressPrefix, pubKeyPrefix string) + func (config *Config) SetCoinType(coinType uint32) + func (config *Config) SetFullFundraiserPath(fullFundraiserPath string) + func (config *Config) SetPurpose(purpose uint32) + func (config *Config) SetTxEncoder(encoder TxEncoder) + type ConsAddress []byte + func ConsAddressFromBech32(address string) (addr ConsAddress, err error) + func ConsAddressFromHex(address string) (addr ConsAddress, err error) + func GetConsAddress(pubkey cryptotypes.PubKey) ConsAddress + func (ca *ConsAddress) Unmarshal(data []byte) error + func (ca *ConsAddress) UnmarshalJSON(data []byte) error + func (ca *ConsAddress) UnmarshalYAML(data []byte) error + func (ca ConsAddress) Bytes() []byte + func (ca ConsAddress) Empty() bool + func (ca ConsAddress) Equals(ca2 Address) bool + func (ca ConsAddress) Format(s fmt.State, verb rune) + func (ca ConsAddress) Marshal() ([]byte, error) + func (ca ConsAddress) MarshalJSON() ([]byte, error) + func (ca ConsAddress) MarshalYAML() (interface{}, error) + func (ca ConsAddress) String() string + type Context struct + func NewContext(ms MultiStore, header tmproto.Header, isCheckTx bool, logger log.Logger) Context + func UnwrapSDKContext(ctx context.Context) Context + func (c Context) BlockGasMeter() GasMeter + func (c Context) BlockHeader() tmproto.Header + func (c Context) BlockHeight() int64 + func (c Context) BlockTime() time.Time + func (c Context) CacheContext() (cc Context, writeCache func()) + func (c Context) ChainID() string + func (c Context) ConsensusParams() *abci.ConsensusParams + func (c Context) Context() context.Context + func (c Context) EventManager() *EventManager + func (c Context) GasMeter() GasMeter + func (c Context) HeaderHash() tmbytes.HexBytes + func (c Context) IsCheckTx() bool + func (c Context) IsReCheckTx() bool + func (c Context) IsZero() bool + func (c Context) KVStore(key StoreKey) KVStore + func (c Context) Logger() log.Logger + func (c Context) MinGasPrices() DecCoins + func (c Context) MultiStore() MultiStore + func (c Context) TransientStore(key StoreKey) KVStore + func (c Context) TxBytes() []byte + func (c Context) Value(key interface{}) interface{} + func (c Context) VoteInfos() []abci.VoteInfo + func (c Context) WithBlockGasMeter(meter GasMeter) Context + func (c Context) WithBlockHeader(header tmproto.Header) Context + func (c Context) WithBlockHeight(height int64) Context + func (c Context) WithBlockTime(newTime time.Time) Context + func (c Context) WithChainID(chainID string) Context + func (c Context) WithConsensusParams(params *abci.ConsensusParams) Context + func (c Context) WithContext(ctx context.Context) Context + func (c Context) WithEventManager(em *EventManager) Context + func (c Context) WithGasMeter(meter GasMeter) Context + func (c Context) WithHeaderHash(hash []byte) Context + func (c Context) WithIsCheckTx(isCheckTx bool) Context + func (c Context) WithIsReCheckTx(isRecheckTx bool) Context + func (c Context) WithLogger(logger log.Logger) Context + func (c Context) WithMinGasPrices(gasPrices DecCoins) Context + func (c Context) WithMultiStore(ms MultiStore) Context + func (c Context) WithProposer(addr ConsAddress) Context + func (c Context) WithTxBytes(txBytes []byte) Context + func (c Context) WithValue(key, value interface{}) Context + func (c Context) WithVoteInfos(voteInfo []abci.VoteInfo) Context + type ContextKey string + const SdkContextKey + type CustomProtobufType interface + Marshal func() ([]byte, error) + MarshalJSON func() ([]byte, error) + MarshalTo func(data []byte) (n int, err error) + Size func() int + Unmarshal func(data []byte) error + UnmarshalJSON func(data []byte) error + type Dec struct + func GetDenomUnit(denom string) (Dec, bool) + func MaxDec(d1, d2 Dec) Dec + func MinDec(d1, d2 Dec) Dec + func MustNewDecFromStr(s string) Dec + func NewDec(i int64) Dec + func NewDecFromBigInt(i *big.Int) Dec + func NewDecFromBigIntWithPrec(i *big.Int, prec int64) Dec + func NewDecFromInt(i Int) Dec + func NewDecFromIntWithPrec(i Int, prec int64) Dec + func NewDecFromStr(str string) (Dec, error) + func NewDecWithPrec(i, prec int64) Dec + func OneDec() Dec + func SmallestDec() Dec + func ZeroDec() Dec + func (d *Dec) MarshalTo(data []byte) (n int, err error) + func (d *Dec) Size() int + func (d *Dec) Unmarshal(data []byte) error + func (d *Dec) UnmarshalAmino(bz []byte) error + func (d *Dec) UnmarshalJSON(bz []byte) error + func (d Dec) Abs() Dec + func (d Dec) Add(d2 Dec) Dec + func (d Dec) ApproxRoot(root uint64) (guess Dec, err error) + func (d Dec) ApproxSqrt() (Dec, error) + func (d Dec) BigInt() *big.Int + func (d Dec) Ceil() Dec + func (d Dec) Equal(d2 Dec) bool + func (d Dec) Float64() (float64, error) + func (d Dec) Format(s fmt.State, verb rune) + func (d Dec) GT(d2 Dec) bool + func (d Dec) GTE(d2 Dec) bool + func (d Dec) IsInteger() bool + func (d Dec) IsNegative() bool + func (d Dec) IsNil() bool + func (d Dec) IsPositive() bool + func (d Dec) IsZero() bool + func (d Dec) LT(d2 Dec) bool + func (d Dec) LTE(d2 Dec) bool + func (d Dec) Marshal() ([]byte, error) + func (d Dec) MarshalAmino() ([]byte, error) + func (d Dec) MarshalJSON() ([]byte, error) + func (d Dec) MarshalYAML() (interface{}, error) + func (d Dec) Mul(d2 Dec) Dec + func (d Dec) MulInt(i Int) Dec + func (d Dec) MulInt64(i int64) Dec + func (d Dec) MulTruncate(d2 Dec) Dec + func (d Dec) MustFloat64() float64 + func (d Dec) Neg() Dec + func (d Dec) Power(power uint64) Dec + func (d Dec) Quo(d2 Dec) Dec + func (d Dec) QuoInt(i Int) Dec + func (d Dec) QuoInt64(i int64) Dec + func (d Dec) QuoRoundUp(d2 Dec) Dec + func (d Dec) QuoTruncate(d2 Dec) Dec + func (d Dec) RoundInt() Int + func (d Dec) RoundInt64() int64 + func (d Dec) String() string + func (d Dec) Sub(d2 Dec) Dec + func (d Dec) TruncateDec() Dec + func (d Dec) TruncateInt() Int + func (d Dec) TruncateInt64() int64 + type DecCoin struct + Amount Dec + Denom string + func ConvertDecCoin(coin DecCoin, denom string) (DecCoin, error) + func NewDecCoin(denom string, amount Int) DecCoin + func NewDecCoinFromCoin(coin Coin) DecCoin + func NewDecCoinFromDec(denom string, amount Dec) DecCoin + func NewInt64DecCoin(denom string, amount int64) DecCoin + func NormalizeDecCoin(coin DecCoin) DecCoin + func ParseDecCoin(coinStr string) (coin DecCoin, err error) + func (*DecCoin) Descriptor() ([]byte, []int) + func (*DecCoin) ProtoMessage() + func (coin DecCoin) Add(coinB DecCoin) DecCoin + func (coin DecCoin) IsEqual(other DecCoin) bool + func (coin DecCoin) IsGTE(other DecCoin) bool + func (coin DecCoin) IsLT(other DecCoin) bool + func (coin DecCoin) IsNegative() bool + func (coin DecCoin) IsPositive() bool + func (coin DecCoin) IsValid() bool + func (coin DecCoin) IsZero() bool + func (coin DecCoin) String() string + func (coin DecCoin) Sub(coinB DecCoin) DecCoin + func (coin DecCoin) TruncateDecimal() (Coin, DecCoin) + func (coin DecCoin) Validate() error + func (m *DecCoin) GetDenom() string + func (m *DecCoin) Marshal() (dAtA []byte, err error) + func (m *DecCoin) MarshalTo(dAtA []byte) (int, error) + func (m *DecCoin) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DecCoin) Reset() + func (m *DecCoin) Size() (n int) + func (m *DecCoin) Unmarshal(dAtA []byte) error + func (m *DecCoin) XXX_DiscardUnknown() + func (m *DecCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DecCoin) XXX_Merge(src proto.Message) + func (m *DecCoin) XXX_Size() int + func (m *DecCoin) XXX_Unmarshal(b []byte) error + func (this *DecCoin) Equal(that interface{}) bool + type DecCoins []DecCoin + func NewDecCoins(decCoins ...DecCoin) DecCoins + func NewDecCoinsFromCoins(coins ...Coin) DecCoins + func ParseDecCoins(coinsStr string) (DecCoins, error) + func (coins DecCoins) Add(coinsB ...DecCoin) DecCoins + func (coins DecCoins) AmountOf(denom string) Dec + func (coins DecCoins) Empty() bool + func (coins DecCoins) GetDenomByIndex(i int) string + func (coins DecCoins) Intersect(coinsB DecCoins) DecCoins + func (coins DecCoins) IsAllPositive() bool + func (coins DecCoins) IsAnyNegative() bool + func (coins DecCoins) IsEqual(coinsB DecCoins) bool + func (coins DecCoins) IsValid() bool + func (coins DecCoins) IsZero() bool + func (coins DecCoins) Len() int + func (coins DecCoins) Less(i, j int) bool + func (coins DecCoins) MulDec(d Dec) DecCoins + func (coins DecCoins) MulDecTruncate(d Dec) DecCoins + func (coins DecCoins) QuoDec(d Dec) DecCoins + func (coins DecCoins) QuoDecTruncate(d Dec) DecCoins + func (coins DecCoins) SafeSub(coinsB DecCoins) (DecCoins, bool) + func (coins DecCoins) Sort() DecCoins + func (coins DecCoins) String() string + func (coins DecCoins) Sub(coinsB DecCoins) DecCoins + func (coins DecCoins) Swap(i, j int) + func (coins DecCoins) TruncateDecimal() (truncatedCoins Coins, changeCoins DecCoins) + func (coins DecCoins) Validate() error + type DecProto struct + Dec Dec + func (*DecProto) Descriptor() ([]byte, []int) + func (*DecProto) ProtoMessage() + func (dp DecProto) String() string + func (m *DecProto) Marshal() (dAtA []byte, err error) + func (m *DecProto) MarshalTo(dAtA []byte) (int, error) + func (m *DecProto) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DecProto) Reset() + func (m *DecProto) Size() (n int) + func (m *DecProto) Unmarshal(dAtA []byte) error + func (m *DecProto) XXX_DiscardUnknown() + func (m *DecProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DecProto) XXX_Merge(src proto.Message) + func (m *DecProto) XXX_Size() int + func (m *DecProto) XXX_Unmarshal(b []byte) error + type EndBlocker func(ctx Context, req abci.RequestEndBlock) abci.ResponseEndBlock + type ErrorGasOverflow = types.ErrorGasOverflow + type ErrorOutOfGas = types.ErrorOutOfGas + type Event abci.Event + func NewEvent(ty string, attrs ...Attribute) Event + func TypedEventToEvent(tev proto.Message) (Event, error) + func (e Event) AppendAttributes(attrs ...Attribute) Event + type EventManager struct + func NewEventManager() *EventManager + func (em *EventManager) EmitEvent(event Event) + func (em *EventManager) EmitEvents(events Events) + func (em *EventManager) EmitTypedEvent(tev proto.Message) error + func (em *EventManager) EmitTypedEvents(tevs ...proto.Message) error + func (em *EventManager) Events() Events + func (em EventManager) ABCIEvents() []abci.Event + type Events []Event + func EmptyEvents() Events + func (e Events) AppendEvent(event Event) Events + func (e Events) AppendEvents(events Events) Events + func (e Events) ToABCIEvents() []abci.Event + type Fee interface + GetAmount func() Coins + GetGas func() uint64 + type FeeTx interface + FeeGranter func() AccAddress + FeePayer func() AccAddress + GetFee func() Coins + GetGas func() uint64 + type Gas = types.Gas + type GasConfig = types.GasConfig + type GasInfo struct + GasUsed uint64 + GasWanted uint64 + func (*GasInfo) Descriptor() ([]byte, []int) + func (*GasInfo) ProtoMessage() + func (gi GasInfo) String() string + func (m *GasInfo) GetGasUsed() uint64 + func (m *GasInfo) GetGasWanted() uint64 + func (m *GasInfo) Marshal() (dAtA []byte, err error) + func (m *GasInfo) MarshalTo(dAtA []byte) (int, error) + func (m *GasInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GasInfo) Reset() + func (m *GasInfo) Size() (n int) + func (m *GasInfo) Unmarshal(dAtA []byte) error + func (m *GasInfo) XXX_DiscardUnknown() + func (m *GasInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GasInfo) XXX_Merge(src proto.Message) + func (m *GasInfo) XXX_Size() int + func (m *GasInfo) XXX_Unmarshal(b []byte) error + type GasMeter = types.GasMeter + func NewGasMeter(limit Gas) GasMeter + func NewInfiniteGasMeter() GasMeter + type Handler func(ctx Context, msg Msg) (*Result, error) + type InitChainer func(ctx Context, req abci.RequestInitChain) abci.ResponseInitChain + type Int struct + func MaxInt(i, i2 Int) Int + func MinInt(i1, i2 Int) Int + func NewInt(n int64) Int + func NewIntFromBigInt(i *big.Int) Int + func NewIntFromString(s string) (res Int, ok bool) + func NewIntFromUint64(n uint64) Int + func NewIntWithDecimal(n int64, dec int) Int + func OneInt() Int + func TokensFromConsensusPower(power int64, powerReduction Int) Int + func ZeroInt() Int + func (i *Int) MarshalTo(data []byte) (n int, err error) + func (i *Int) Size() int + func (i *Int) Unmarshal(data []byte) error + func (i *Int) UnmarshalAmino(bz []byte) error + func (i *Int) UnmarshalJSON(bz []byte) error + func (i Int) Abs() Int + func (i Int) Add(i2 Int) (res Int) + func (i Int) AddRaw(i2 int64) Int + func (i Int) BigInt() *big.Int + func (i Int) Equal(i2 Int) bool + func (i Int) GT(i2 Int) bool + func (i Int) GTE(i2 Int) bool + func (i Int) Int64() int64 + func (i Int) IsInt64() bool + func (i Int) IsNegative() bool + func (i Int) IsNil() bool + func (i Int) IsPositive() bool + func (i Int) IsUint64() bool + func (i Int) IsZero() bool + func (i Int) LT(i2 Int) bool + func (i Int) LTE(i2 Int) bool + func (i Int) Marshal() ([]byte, error) + func (i Int) MarshalAmino() ([]byte, error) + func (i Int) MarshalJSON() ([]byte, error) + func (i Int) MarshalYAML() (interface{}, error) + func (i Int) Mod(i2 Int) Int + func (i Int) ModRaw(i2 int64) Int + func (i Int) Mul(i2 Int) (res Int) + func (i Int) MulRaw(i2 int64) Int + func (i Int) Neg() (res Int) + func (i Int) Quo(i2 Int) (res Int) + func (i Int) QuoRaw(i2 int64) Int + func (i Int) Sign() int + func (i Int) String() string + func (i Int) Sub(i2 Int) (res Int) + func (i Int) SubRaw(i2 int64) Int + func (i Int) ToDec() Dec + func (i Int) Uint64() uint64 + type IntProto struct + Int Int + func (*IntProto) Descriptor() ([]byte, []int) + func (*IntProto) ProtoMessage() + func (ip IntProto) String() string + func (m *IntProto) Marshal() (dAtA []byte, err error) + func (m *IntProto) MarshalTo(dAtA []byte) (int, error) + func (m *IntProto) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *IntProto) Reset() + func (m *IntProto) Size() (n int) + func (m *IntProto) Unmarshal(dAtA []byte) error + func (m *IntProto) XXX_DiscardUnknown() + func (m *IntProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *IntProto) XXX_Merge(src proto.Message) + func (m *IntProto) XXX_Size() int + func (m *IntProto) XXX_Unmarshal(b []byte) error + type Invariant func(ctx Context) (string, bool) + type InvariantRegistry interface + RegisterRoute func(moduleName, route string, invar Invariant) + type Invariants []Invariant + type Iterator = types.Iterator + func KVStorePrefixIterator(kvs KVStore, prefix []byte) Iterator + func KVStorePrefixIteratorPaginated(kvs KVStore, prefix []byte, page, limit uint) Iterator + func KVStoreReversePrefixIterator(kvs KVStore, prefix []byte) Iterator + func KVStoreReversePrefixIteratorPaginated(kvs KVStore, prefix []byte, page, limit uint) Iterator + type KVPair = types.KVPair + type KVStore = types.KVStore + type KVStoreKey = types.KVStoreKey + func NewKVStoreKey(name string) *KVStoreKey + type MemoryStoreKey = types.MemoryStoreKey + type Msg interface + GetSigners func() []AccAddress + ValidateBasic func() error + type MsgData struct + Data []byte + MsgType string + func (*MsgData) Descriptor() ([]byte, []int) + func (*MsgData) ProtoMessage() + func (m *MsgData) GetData() []byte + func (m *MsgData) GetMsgType() string + func (m *MsgData) Marshal() (dAtA []byte, err error) + func (m *MsgData) MarshalTo(dAtA []byte) (int, error) + func (m *MsgData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgData) Reset() + func (m *MsgData) Size() (n int) + func (m *MsgData) Unmarshal(dAtA []byte) error + func (m *MsgData) XXX_DiscardUnknown() + func (m *MsgData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgData) XXX_Merge(src proto.Message) + func (m *MsgData) XXX_Size() int + func (m *MsgData) XXX_Unmarshal(b []byte) error + func (this *MsgData) String() string + type MultiStore = types.MultiStore + type MultiStorePersistentCache = types.MultiStorePersistentCache + type PeerFilter func(info string) abci.ResponseQuery + type PruningOptions = types.PruningOptions + type Querier = func(ctx Context, path []string, req abci.RequestQuery) ([]byte, error) + type QueryRouter interface + AddRoute func(r string, h Querier) QueryRouter + Route func(path string) Querier + type Queryable = types.Queryable + type Request = Context + type Result struct + Data []byte + Events []types1.Event + Log string + func WrapServiceResult(ctx Context, res proto.Message, err error) (*Result, error) + func (*Result) Descriptor() ([]byte, []int) + func (*Result) ProtoMessage() + func (m *Result) Marshal() (dAtA []byte, err error) + func (m *Result) MarshalTo(dAtA []byte) (int, error) + func (m *Result) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Result) Reset() + func (m *Result) Size() (n int) + func (m *Result) Unmarshal(dAtA []byte) error + func (m *Result) XXX_DiscardUnknown() + func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Result) XXX_Merge(src proto.Message) + func (m *Result) XXX_Size() int + func (m *Result) XXX_Unmarshal(b []byte) error + func (r Result) GetEvents() Events + func (r Result) String() string + type Route struct + func NewRoute(p string, h Handler) Route + func (r Route) Empty() bool + func (r Route) Handler() Handler + func (r Route) Path() string + type Router interface + AddRoute func(r Route) Router + Route func(ctx Context, path string) Handler + type SearchTxsResult struct + Count uint64 + Limit uint64 + PageNumber uint64 + PageTotal uint64 + TotalCount uint64 + Txs []*TxResponse + func NewSearchTxsResult(totalCount, count, page, limit uint64, txs []*TxResponse) *SearchTxsResult + func (*SearchTxsResult) Descriptor() ([]byte, []int) + func (*SearchTxsResult) ProtoMessage() + func (m *SearchTxsResult) GetCount() uint64 + func (m *SearchTxsResult) GetLimit() uint64 + func (m *SearchTxsResult) GetPageNumber() uint64 + func (m *SearchTxsResult) GetPageTotal() uint64 + func (m *SearchTxsResult) GetTotalCount() uint64 + func (m *SearchTxsResult) GetTxs() []*TxResponse + func (m *SearchTxsResult) Marshal() (dAtA []byte, err error) + func (m *SearchTxsResult) MarshalTo(dAtA []byte) (int, error) + func (m *SearchTxsResult) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SearchTxsResult) Reset() + func (m *SearchTxsResult) Size() (n int) + func (m *SearchTxsResult) Unmarshal(dAtA []byte) error + func (m *SearchTxsResult) XXX_DiscardUnknown() + func (m *SearchTxsResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SearchTxsResult) XXX_Merge(src proto.Message) + func (m *SearchTxsResult) XXX_Size() int + func (m *SearchTxsResult) XXX_Unmarshal(b []byte) error + func (s SearchTxsResult) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (this *SearchTxsResult) String() string + type Signature interface + GetPubKey func() cryptotypes.PubKey + GetSignature func() []byte + type SimulationResponse struct + Result *Result + func (*SimulationResponse) Descriptor() ([]byte, []int) + func (*SimulationResponse) ProtoMessage() + func (m *SimulationResponse) GetResult() *Result + func (m *SimulationResponse) Marshal() (dAtA []byte, err error) + func (m *SimulationResponse) MarshalTo(dAtA []byte) (int, error) + func (m *SimulationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SimulationResponse) Reset() + func (m *SimulationResponse) Size() (n int) + func (m *SimulationResponse) Unmarshal(dAtA []byte) error + func (m *SimulationResponse) XXX_DiscardUnknown() + func (m *SimulationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SimulationResponse) XXX_Merge(src proto.Message) + func (m *SimulationResponse) XXX_Size() int + func (m *SimulationResponse) XXX_Unmarshal(b []byte) error + type Store = types.Store + type StoreDecoderRegistry map[string]func(kvA, kvB kv.Pair) string + type StoreKey = types.StoreKey + type StoreType = types.StoreType + type StringEvent struct + Attributes []Attribute + Type string + func StringifyEvent(e abci.Event) StringEvent + func (*StringEvent) Descriptor() ([]byte, []int) + func (*StringEvent) ProtoMessage() + func (m *StringEvent) GetAttributes() []Attribute + func (m *StringEvent) GetType() string + func (m *StringEvent) Marshal() (dAtA []byte, err error) + func (m *StringEvent) MarshalTo(dAtA []byte) (int, error) + func (m *StringEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *StringEvent) Reset() + func (m *StringEvent) Size() (n int) + func (m *StringEvent) Unmarshal(dAtA []byte) error + func (m *StringEvent) XXX_DiscardUnknown() + func (m *StringEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StringEvent) XXX_Merge(src proto.Message) + func (m *StringEvent) XXX_Size() int + func (m *StringEvent) XXX_Unmarshal(b []byte) error + func (this *StringEvent) String() string + type StringEvents []StringEvent + func StringifyEvents(events []abci.Event) StringEvents + func (se StringEvents) Flatten() StringEvents + func (se StringEvents) String() string + type Terminator struct + func (t Terminator) AnteHandle(ctx Context, _ Tx, _ bool, _ AnteHandler) (Context, error) + type TraceContext = types.TraceContext + type TransientStoreKey = types.TransientStoreKey + func NewTransientStoreKey(name string) *TransientStoreKey + type Tx interface + GetMsgs func() []Msg + ValidateBasic func() error + type TxDecoder func(txBytes []byte) (Tx, error) + type TxEncoder func(tx Tx) ([]byte, error) + type TxMsgData struct + Data []*MsgData + func (*TxMsgData) Descriptor() ([]byte, []int) + func (*TxMsgData) ProtoMessage() + func (m *TxMsgData) GetData() []*MsgData + func (m *TxMsgData) Marshal() (dAtA []byte, err error) + func (m *TxMsgData) MarshalTo(dAtA []byte) (int, error) + func (m *TxMsgData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TxMsgData) Reset() + func (m *TxMsgData) Size() (n int) + func (m *TxMsgData) Unmarshal(dAtA []byte) error + func (m *TxMsgData) XXX_DiscardUnknown() + func (m *TxMsgData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TxMsgData) XXX_Merge(src proto.Message) + func (m *TxMsgData) XXX_Size() int + func (m *TxMsgData) XXX_Unmarshal(b []byte) error + func (this *TxMsgData) String() string + type TxResponse struct + Code uint32 + Codespace string + Data string + GasUsed int64 + GasWanted int64 + Height int64 + Info string + Logs ABCIMessageLogs + RawLog string + Timestamp string + Tx *types.Any + TxHash string + func NewResponseFormatBroadcastTx(res *ctypes.ResultBroadcastTx) *TxResponse + func NewResponseFormatBroadcastTxCommit(res *ctypes.ResultBroadcastTxCommit) *TxResponse + func NewResponseResultTx(res *ctypes.ResultTx, anyTx *codectypes.Any, timestamp string) *TxResponse + func (*TxResponse) Descriptor() ([]byte, []int) + func (*TxResponse) ProtoMessage() + func (m *TxResponse) Marshal() (dAtA []byte, err error) + func (m *TxResponse) MarshalTo(dAtA []byte) (int, error) + func (m *TxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TxResponse) Reset() + func (m *TxResponse) Size() (n int) + func (m *TxResponse) Unmarshal(dAtA []byte) error + func (m *TxResponse) XXX_DiscardUnknown() + func (m *TxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TxResponse) XXX_Merge(src proto.Message) + func (m *TxResponse) XXX_Size() int + func (m *TxResponse) XXX_Unmarshal(b []byte) error + func (r TxResponse) Empty() bool + func (r TxResponse) GetTx() Tx + func (r TxResponse) String() string + func (r TxResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + type TxWithMemo interface + GetMemo func() string + type TxWithTimeoutHeight interface + GetTimeoutHeight func() uint64 + type Uint struct + func MaxUint(u1, u2 Uint) Uint + func MinUint(u1, u2 Uint) Uint + func NewUint(n uint64) Uint + func NewUintFromBigInt(i *big.Int) Uint + func NewUintFromString(s string) Uint + func OneUint() Uint + func ParseUint(s string) (Uint, error) + func RelativePow(x Uint, n Uint, b Uint) (z Uint) + func ZeroUint() Uint + func (u *Uint) MarshalTo(data []byte) (n int, err error) + func (u *Uint) Size() int + func (u *Uint) Unmarshal(data []byte) error + func (u *Uint) UnmarshalAmino(bz []byte) error + func (u *Uint) UnmarshalJSON(bz []byte) error + func (u Uint) Add(u2 Uint) Uint + func (u Uint) AddUint64(u2 uint64) Uint + func (u Uint) BigInt() *big.Int + func (u Uint) Decr() Uint + func (u Uint) Equal(u2 Uint) bool + func (u Uint) GT(u2 Uint) bool + func (u Uint) GTE(u2 Uint) bool + func (u Uint) Incr() Uint + func (u Uint) IsZero() bool + func (u Uint) LT(u2 Uint) bool + func (u Uint) LTE(u2 Uint) bool + func (u Uint) Marshal() ([]byte, error) + func (u Uint) MarshalAmino() ([]byte, error) + func (u Uint) MarshalJSON() ([]byte, error) + func (u Uint) Mod(u2 Uint) Uint + func (u Uint) Mul(u2 Uint) (res Uint) + func (u Uint) MulUint64(u2 uint64) (res Uint) + func (u Uint) Quo(u2 Uint) (res Uint) + func (u Uint) QuoUint64(u2 uint64) Uint + func (u Uint) String() string + func (u Uint) Sub(u2 Uint) Uint + func (u Uint) SubUint64(u2 uint64) Uint + func (u Uint) Uint64() uint64 + type ValAddress []byte + func ValAddressFromBech32(address string) (addr ValAddress, err error) + func ValAddressFromHex(address string) (addr ValAddress, err error) + func (va *ValAddress) Unmarshal(data []byte) error + func (va *ValAddress) UnmarshalJSON(data []byte) error + func (va *ValAddress) UnmarshalYAML(data []byte) error + func (va ValAddress) Bytes() []byte + func (va ValAddress) Empty() bool + func (va ValAddress) Equals(va2 Address) bool + func (va ValAddress) Format(s fmt.State, verb rune) + func (va ValAddress) Marshal() ([]byte, error) + func (va ValAddress) MarshalJSON() ([]byte, error) + func (va ValAddress) MarshalYAML() (interface{}, error) + func (va ValAddress) String() string