Versions in this module Expand all Collapse all v0 v0.0.4 Nov 25, 2021 v0.0.3 Nov 25, 2021 v0.0.2 Nov 25, 2021 Changes in this version + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") type Coin + func (*Coin) Descriptor() ([]byte, []int) + func (*Coin) ProtoMessage() + 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 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 DecCoin + func (*DecCoin) Descriptor() ([]byte, []int) + func (*DecCoin) ProtoMessage() + 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 DecProto struct + Dec Dec + func (*DecProto) Descriptor() ([]byte, []int) + func (*DecProto) ProtoMessage() + 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 GasInfo + func (*GasInfo) Descriptor() ([]byte, []int) + func (*GasInfo) ProtoMessage() + 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 IntProto struct + Int Int + func (*IntProto) Descriptor() ([]byte, []int) + func (*IntProto) ProtoMessage() + 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 Result + 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 + 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 ValAddresses struct + Addresses []ValAddress + func (*ValAddresses) Descriptor() ([]byte, []int) + func (*ValAddresses) ProtoMessage() + func (m *ValAddresses) GetAddresses() []ValAddress + func (m *ValAddresses) Marshal() (dAtA []byte, err error) + func (m *ValAddresses) MarshalTo(dAtA []byte) (int, error) + func (m *ValAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ValAddresses) Reset() + func (m *ValAddresses) Size() (n int) + func (m *ValAddresses) Unmarshal(dAtA []byte) error + func (m *ValAddresses) XXX_DiscardUnknown() + func (m *ValAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ValAddresses) XXX_Merge(src proto.Message) + func (m *ValAddresses) XXX_Size() int + func (m *ValAddresses) XXX_Unmarshal(b []byte) error + func (this *ValAddresses) String() string v0.0.1 Nov 24, 2021 Changes in this version + const AddrLen + const Bech32MainPrefix + const Bech32PrefixAccAddr + const Bech32PrefixAccPub + const Bech32PrefixConsAddr + const Bech32PrefixConsPub + const Bech32PrefixValAddr + const Bech32PrefixValPub + const BondStatusBonded + const BondStatusUnbonded + const BondStatusUnbonding + const Bonded + const CoinType + const DecimalPrecisionBits + const DefaultBondDenom + const DefaultKeyringServiceName + const FullFundraiserPath + const Precision + const PrefixAccount + const PrefixAddress + const PrefixConsensus + const PrefixOperator + const PrefixPublic + const PrefixValidator + const SortableTimeFormat + const StoreTypeDB + const StoreTypeIAVL + const StoreTypeMulti + const StoreTypeTransient + const Unbonded + const Unbonding + const ValidatorUpdateDelay + var AttributeKeyAction = "action" + var AttributeKeyAmount = "amount" + var AttributeKeyModule = "module" + var AttributeKeySender = "sender" + var DBBackend = "" + var ErrEmptyDecimalStr = errors.New("decimal string cannot be empty") + var ErrInvalidDecimalLength = errors.New("invalid decimal length") + var ErrInvalidDecimalStr = errors.New("invalid decimal string") + var EventTypeMessage = "message" + var IsAlphaNumeric = regexp.MustCompile(`^[a-zA-Z0-9]+$`).MatchString + var MaxSortableDec = OneDec().Quo(SmallestDec()) + var PowerReduction = NewIntFromBigInt(new(big.Int).Exp(big.NewInt(10), big.NewInt(6), nil)) + func Bech32ifyPubKey(pkt Bech32PubKeyType, pubkey crypto.PubKey) (string, error) + 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 DiffKVStores(a KVStore, b KVStore, prefixesToSkip [][]byte) (kvAs, kvBs []tmkv.Pair) + func FormatInvariant(module, name, msg string) string + func FormatTimeBytes(t time.Time) []byte + func GetFromBech32(bech32str, prefix string) ([]byte, error) + func GetPubKeyFromBech32(pkt Bech32PubKeyType, pubkeyStr string) (crypto.PubKey, 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 MustBech32ifyPubKey(pkt Bech32PubKeyType, pubkey crypto.PubKey) string + func MustGetPubKeyFromBech32(pkt Bech32PubKeyType, pubkeyStr string) crypto.PubKey + func MustSortJSON(toSortJSON []byte) []byte + func NewKVStoreKeys(names ...string) map[string]*KVStoreKey + func NewLevelDB(name, dir string) (db dbm.DB, err error) + func NewTransientStoreKeys(names ...string) map[string]*TransientStoreKey + func ParseTimeBytes(bz []byte) (time.Time, error) + func PrefixEndBytes(prefix []byte) []byte + func RegisterCodec(cdc *codec.Codec) + func RegisterDenom(denom string, unit Dec) error + func SortJSON(toSortJSON []byte) ([]byte, error) + func SortableDecBytes(dec Dec) []byte + func TokensToConsensusPower(tokens 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 + type ABCIMessageLog struct + Events StringEvents + Log string + MsgIndex uint16 + func NewABCIMessageLog(i uint16, log string, events Events) ABCIMessageLog + 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 (a Attribute) String() string + func (a Attribute) ToKVPair() tmkv.Pair + type Bech32PubKeyType string + const Bech32PubKeyTypeAccPub + const Bech32PubKeyTypeConsPub + const Bech32PubKeyTypeValPub + type BeginBlocker func(ctx Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock + type BondStatus byte + func (b BondStatus) Equal(b2 BondStatus) bool + func (b BondStatus) String() string + type CacheKVStore = types.CacheKVStore + type CacheMultiStore = types.CacheMultiStore + type CacheWrap = types.CacheWrap + type CacheWrapper = types.CacheWrapper + 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 ParseCoin(coinStr string) (coin Coin, err error) + func (coin Coin) Add(coinB Coin) 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) IsPositive() bool + func (coin Coin) IsValid() bool + func (coin Coin) IsZero() bool + func (coin Coin) String() string + func (coin Coin) Sub(coinB Coin) Coin + type Coins []Coin + func NewCoins(coins ...Coin) Coins + func ParseCoins(coinsStr string) (Coins, error) + func (coins Coins) Add(coinsB ...Coin) Coins + func (coins Coins) AmountOf(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) 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) + 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 (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) GetFullFundraiserPath() string + 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) 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 crypto.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 abci.Header, isCheckTx bool, logger log.Logger) Context + func (c Context) BlockGasMeter() GasMeter + func (c Context) BlockHeader() abci.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) 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 abci.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) 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 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) UnmarshalAmino(text string) (err 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) Ceil() Dec + func (d Dec) Equal(d2 Dec) bool + 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) MarshalAmino() (string, 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) 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 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 ParseDecCoin(coinStr string) (coin DecCoin, err error) + 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) + 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) + 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 (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) 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 Gas = types.Gas + type GasConfig = types.GasConfig + type GasInfo struct + GasUsed uint64 + GasWanted uint64 + 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) Int + func ZeroInt() Int + func (i *Int) UnmarshalAmino(text string) error + func (i *Int) UnmarshalJSON(bz []byte) error + 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) 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) MarshalAmino() (string, 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 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 Msg interface + GetSignBytes func() []byte + GetSigners func() []AccAddress + Route func() string + Type func() string + ValidateBasic func() error + 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 Events + Log string + type Router interface + AddRoute func(r string, h Handler) Router + Route func(ctx Context, path string) Handler + type SearchTxsResult struct + Count int + Limit int + PageNumber int + PageTotal int + TotalCount int + Txs []TxResponse + func NewSearchTxsResult(totalCount, count, page, limit int, txs []TxResponse) SearchTxsResult + type Store = types.Store + type StoreDecoderRegistry map[string]func(cdc *codec.Codec, kvA, kvB tmkv.Pair) string + type StoreKey = types.StoreKey + type StoreType = types.StoreType + type StringEvent struct + Attributes []Attribute + Type string + func StringifyEvent(e abci.Event) StringEvent + 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 TestMsg struct + func NewTestMsg(addrs ...AccAddress) *TestMsg + func (msg *TestMsg) GetSignBytes() []byte + func (msg *TestMsg) GetSigners() []AccAddress + func (msg *TestMsg) Route() string + func (msg *TestMsg) Type() string + func (msg *TestMsg) ValidateBasic() 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 TxResponse struct + Code uint32 + Codespace string + Data string + GasUsed int64 + GasWanted int64 + Height int64 + Info string + Logs ABCIMessageLogs + RawLog string + Timestamp string + Tx Tx + TxHash string + func NewResponseFormatBroadcastTx(res *ctypes.ResultBroadcastTx) TxResponse + func NewResponseFormatBroadcastTxCommit(res *ctypes.ResultBroadcastTxCommit) TxResponse + func NewResponseResultTx(res *ctypes.ResultTx, tx Tx, timestamp string) TxResponse + func (r TxResponse) Empty() bool + func (r TxResponse) String() string + 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) UnmarshalAmino(text string) 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) MarshalAmino() (string, 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