Versions in this module Expand all Collapse all v1 v1.0.0 Jan 7, 2021 v0 v0.1.2 Jan 6, 2021 v0.1.2-beta Jan 7, 2021 v0.1.1 Dec 17, 2020 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 CodeGasOverflow + const CodeInsufficientCoins + const CodeInsufficientFee + const CodeInsufficientFunds + const CodeInternal + const CodeInvalidAddress + const CodeInvalidCoins + const CodeInvalidPubKey + const CodeInvalidSequence + const CodeMemoTooLarge + const CodeNoSignatures + const CodeOK + const CodeOutOfGas + const CodeTooManySignatures + const CodeTxDecode + const CodeUnauthorized + const CodeUnknownAddress + const CodeUnknownRequest + const CodespaceRoot + const CodespaceUndefined + const CoinType + const DecimalPrecisionBits + const DefaultBondDenom + 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 EventTypeMessage = "message" + var MaxSortableDec = OneDec().Quo(SmallestDec()) + var PowerReduction = NewIntFromBigInt(new(big.Int).Exp(big.NewInt(10), big.NewInt(6), nil)) + func AppendMsgToErr(msg string, err string) string + func Bech32ifyAccPub(pub crypto.PubKey) (string, error) + func Bech32ifyConsPub(pub crypto.PubKey) (string, error) + func Bech32ifyValPub(pub crypto.PubKey) (string, error) + func CodeToDefaultMsg(code CodeType) string + 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) (kvA cmn.KVPair, kvB cmn.KVPair, count int64, equal bool) + func FormatInvariant(module, name, msg string) string + func FormatTimeBytes(t time.Time) []byte + func GetAccPubKeyBech32(pubkey string) (pk crypto.PubKey, err error) + func GetConsPubKeyBech32(pubkey string) (pk crypto.PubKey, err error) + func GetFromBech32(bech32str, prefix string) ([]byte, error) + func GetValPubKeyBech32(pubkey string) (pk crypto.PubKey, err error) + func InclusiveEndBytes(inclusiveBytes []byte) (exclusiveBytes []byte) + func IntEq(t *testing.T, exp, got Int) (*testing.T, bool, string, string, string) + func MustBech32ifyAccPub(pub crypto.PubKey) string + func MustBech32ifyConsPub(pub crypto.PubKey) string + func MustBech32ifyValPub(pub crypto.PubKey) string + func MustGetAccPubKeyBech32(pubkey string) (pk crypto.PubKey) + func MustGetConsPubKeyBech32(pubkey string) (pk crypto.PubKey) + func MustGetValPubKeyBech32(pubkey string) (pk crypto.PubKey) + func MustSortJSON(toSortJSON []byte) []byte + func NewDecFromStr(str string) (d Dec, err Error) + 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 VerifyAddressFormat(bz []byte) error + type ABCIMessageLog struct + Events StringEvents + Log string + MsgIndex uint16 + Success bool + func NewABCIMessageLog(i uint16, success bool, 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 AnteHandler func(ctx Context, tx Tx, simulate bool) (newCtx Context, result Result, abort bool) + type Attribute struct + Key string + Value string + func NewAttribute(k, v string) Attribute + func (a Attribute) String() string + func (a Attribute) ToKVPair() cmn.KVPair + 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 CodeType uint32 + func (code CodeType) IsOK() bool + type CodespaceType string + 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 Coins) Coins + func (coins Coins) AmountOf(denom string) Int + func (coins Coins) DenomsSubsetOf(coinsB Coins) bool + func (coins Coins) Empty() bool + 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) 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) 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 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) 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) 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(coins Coins) DecCoins + func ParseDecCoins(coinsStr string) (DecCoins, error) + func (coins DecCoins) Add(coinsB DecCoins) DecCoins + func (coins DecCoins) AmountOf(denom string) Dec + func (coins DecCoins) Empty() bool + 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 Error interface + ABCILog func() string + Code func() CodeType + Codespace func() CodespaceType + QueryResult func() abci.ResponseQuery + Result func() Result + TraceSDK func(format string, args ...interface{}) Error + WithDefaultCodespace func(CodespaceType) Error + func ErrGasOverflow(msg string) Error + func ErrInsufficientCoins(msg string) Error + func ErrInsufficientFee(msg string) Error + func ErrInsufficientFunds(msg string) Error + func ErrInternal(msg string) Error + func ErrInvalidAddress(msg string) Error + func ErrInvalidCoins(msg string) Error + func ErrInvalidPubKey(msg string) Error + func ErrInvalidSequence(msg string) Error + func ErrMemoTooLarge(msg string) Error + func ErrNoSignatures(msg string) Error + func ErrOutOfGas(msg string) Error + func ErrTooManySignatures(msg string) Error + func ErrTxDecode(msg string) Error + func ErrUnauthorized(msg string) Error + func ErrUnknownAddress(msg string) Error + func ErrUnknownRequest(msg string) Error + func NewError(codespace CodespaceType, code CodeType, format string, args ...interface{}) Error + 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 GasMeter = types.GasMeter + func NewGasMeter(limit Gas) GasMeter + func NewInfiniteGasMeter() GasMeter + type Handler func(ctx Context, msg Msg) Result + 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 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) 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 + 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 KVStoreReversePrefixIterator(kvs KVStore, prefix []byte) 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 PeerFilter func(info string) abci.ResponseQuery + type PruningOptions = types.PruningOptions + type Querier = func(ctx Context, path []string, req abci.RequestQuery) (res []byte, err 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 + Code CodeType + Codespace CodespaceType + Data []byte + Events Events + GasUsed uint64 + GasWanted uint64 + Log string + func (res Result) IsOK() bool + type Router interface + AddRoute func(r string, h Handler) Router + Route func(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 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 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 + Events StringEvents + 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 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) Equal(u2 Uint) bool + func (u Uint) GT(u2 Uint) bool + func (u Uint) GTE(u2 Uint) bool + 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) 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