Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 2023 Changes in this version + const AddrLen + const AnteTerminatorTag + 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 CodeInternal + const CodeOK + const CoinType + const DecimalPrecisionBits + const DefaultBondDenom + const DefaultDecInt + const DefaultDecStr + const DefaultIbcWei + const DefaultKeyringServiceName + const FlagDBBackend + const FullFundraiserPath + const IBCROUTER + const MsgInterfaceProtoName + const Precision + const PrefixAccount + const PrefixAddress + const PrefixConsensus + const PrefixOperator + const PrefixPublic + const PrefixValidator + const SortableTimeFormat + const StoreTypeDB + const StoreTypeIAVL + const StoreTypeMPT + const StoreTypeMemory + const StoreTypeMulti + const StoreTypeTransient + const Unbonded + const Unbonding + const ValidatorUpdateDelay + const WasmContractAddrLen + var AttributeKeyAction = "action" + var AttributeKeyAmount = "amount" + var AttributeKeyFee = "fee" + var AttributeKeyModule = "module" + var AttributeKeySender = "sender" + var CodeInsufficientCoins uint32 = errors.ErrInsufficientFunds.ABCICode() + var CodeInsufficientFee uint32 = errors.ErrInsufficientFee.ABCICode() + var CodeInsufficientFunds uint32 = errors.ErrInsufficientFunds.ABCICode() + var CodeInvalidAddress uint32 = errors.ErrInvalidAddress.ABCICode() + var CodeInvalidCoins uint32 = errors.ErrInvalidCoins.ABCICode() + var CodeInvalidPubKey uint32 = errors.ErrInvalidPubKey.ABCICode() + var CodeInvalidSequence uint32 = errors.ErrInvalidSequence.ABCICode() + var CodeMemoTooLarge uint32 = errors.ErrMemoTooLarge.ABCICode() + var CodeNoSignatures uint32 = errors.ErrNoSignatures.ABCICode() + var CodeOutOfGas uint32 = errors.ErrOutOfGas.ABCICode() + var CodeTooManySignatures uint32 = errors.ErrTooManySignatures.ABCICode() + var CodeTxDecode uint32 = errors.ErrTxDecode.ABCICode() + var CodeUnauthorized uint32 = errors.ErrUnauthorized.ABCICode() + var CodeUnknownAddress uint32 = errors.ErrUnknownAddress.ABCICode() + var CodeUnknownRequest uint32 = errors.ErrUnknownRequest.ABCICode() + var ErrEmptyDecimalStr = errors.New("decimal string cannot be empty") + var ErrIntOverflowCoinAdapter = fmt.Errorf("proto: integer overflow") + var ErrInvalidDecimalLength = errors.New("invalid decimal length") + var ErrInvalidDecimalStr = errors.New("invalid decimal string") + var ErrInvalidLengthCoinAdapter = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupCoinAdapter = fmt.Errorf("proto: unexpected end of group") + var EventTypeMessage = "message" + 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()) + var ParseCoin = ParseDecCoin + var ParseCoins = ParseDecCoins + var PowerReduction = NewIntFromBigInt(new(big.Int).Exp(big.NewInt(10), big.NewInt(Precision), nil)) + func AppendMsgToErr(msg string, err string) string + func Bech32ifyPubKey(pkt Bech32PubKeyType, pubkey crypto.PubKey) (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 DefaultIBCCoinDenomRegex() string + func Derive(address []byte, key []byte) []byte + 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 GetBaseDenom() (string, error) + func GetFromBech32(bech32str, prefix string) ([]byte, error) + func GetPubKeyFromBech32(pkt Bech32PubKeyType, pubkeyStr string) (crypto.PubKey, error) + func Hash(typ string, key []byte) []byte + func InclusiveEndBytes(inclusiveBytes []byte) (exclusiveBytes []byte) + func IntEq(t *testing.T, exp, got Int) (*testing.T, bool, string, string, string) + func IsETHAddress(addr string) bool + func IsFURYCAddress(addr string) bool + func IsWasmAddress(acc AccAddress) bool + func KeyringServiceName() string + func MsgTypeURL(msg proto.Message) string + func MustBech32ifyAccPub(pub crypto.PubKey) string + func MustBech32ifyPubKey(pkt Bech32PubKeyType, pubkey crypto.PubKey) string + func MustGetPubKeyFromBech32(pkt Bech32PubKeyType, pubkeyStr string) crypto.PubKey + func MustSortJSON(toSortJSON []byte) []byte + func NewDB(name, dir string) (db dbm.DB, err error) + func NewKVStoreKeys(names ...string) map[string]*KVStoreKey + func NewMemoryStoreKeys(names ...string) map[string]*MemoryStoreKey + 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 ReturnInfiniteGasMeter(gm ReusableGasMeter) + func SetCoinDenomRegex(reFn func() string) + func SetIBCCoinDenomRegex(reFn func() string) + 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 UnsafeBytesToStr(b []byte) string + func UnsafeStrToBytes(s string) []byte + func ValidCoins(coins Coins) bool + 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 uint16 + func NewABCIMessageLog(i uint16, log string, events Events) ABCIMessageLog + func (log ABCIMessageLog) MarshalJsonToBuffer(buf *bytes.Buffer) error + type ABCIMessageLogs []ABCIMessageLog + func ParseABCILogs(logs string) (res ABCIMessageLogs, err error) + func (logs ABCIMessageLogs) MarshalJsonToBuffer(buf *bytes.Buffer) error + func (logs ABCIMessageLogs) MarshalToJson() ([]byte, error) + func (logs ABCIMessageLogs) String() (str string) + type AccAddress []byte + func AccAddressFromBech32(address string) (AccAddress, error) + func AccAddressFromBech32ByPrefix(address string, bech32PrefixAccAddr string) (addr AccAddress, err error) + func AccAddressFromHex(address string) (addr AccAddress, err error) + func MustAccAddressFromBech32(address string) AccAddress + func (aa *AccAddress) Unmarshal(data []byte) error + func (aa *AccAddress) UnmarshalJSON(data []byte) error + func (aa *AccAddress) UnmarshalYAML(data []byte) error + func (aa AccAddress) Bech32String(bech32PrefixAccAddr string) string + func (aa AccAddress) Bech32StringOptimized(bech32PrefixAccAddr string) string + 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 AccNonceHandler func(ctx Context, address AccAddress) (nonce uint64) + type Account interface + Copy func() Account + GetAccountNumber func() uint64 + GetAddress func() AccAddress + GetCodeHash func() []byte + GetCoins func() Coins + GetPubKey func() crypto.PubKey + GetSequence func() uint64 + GetStateRoot func() ethcmn.Hash + SetAccountNumber func(uint64) error + SetAddress func(AccAddress) error + SetCoins func(Coins) error + SetPubKey func(crypto.PubKey) error + SetSequence func(uint64) error + SpendableCoins func(blockTime time.Time) Coins + String func() string + type AccountCache struct + FromAcc interface{} + FromAccGotGas Gas + ToAcc interface{} + ToAccGotGas Gas + 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) MarshalJsonToBuffer(buf *bytes.Buffer) error + func (a Attribute) String() string + func (a Attribute) ToKVPair() tmkv.Pair + type BaseTx struct + From string + Hash []byte + Nonce uint64 + Raw []byte + func (tx *BaseTx) GetFrom() string + func (tx *BaseTx) GetGas() uint64 + func (tx *BaseTx) GetGasPrice() *big.Int + func (tx *BaseTx) GetMsgs() []Msg + func (tx *BaseTx) GetNonce() uint64 + func (tx *BaseTx) GetRaw() []byte + func (tx *BaseTx) GetSender(_ Context) string + func (tx *BaseTx) GetSigners() []AccAddress + func (tx *BaseTx) GetTxFnSignatureInfo() ([]byte, int) + func (tx *BaseTx) GetType() TransactionType + func (tx *BaseTx) SetRaw(raw []byte) + func (tx *BaseTx) SetTxHash(hash []byte) + func (tx *BaseTx) TxHash() []byte + func (tx *BaseTx) ValidateBasic() error + 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 Causer interface + Cause func() error + type Coder interface + ABCICode func() uint32 + type Codespacer interface + Codespace func() string + type Coin = DecCoin + func CoinAdapterToCoin(adapter CoinAdapter) Coin + func ConvertCoin(coin Coin, denom string) (Coin, error) + func GetSystemFee() Coin + func NewInt64Coin(denom string, amount int64) Coin + func NormalizeCoin(coin Coin) Coin + func ParseCoinNormalized(coinStr string) (coin Coin, err error) + func ZeroFee() Coin + type CoinAdapter struct + Amount Int + Denom string + func CoinToCoinAdapter(adapter Coin) CoinAdapter + func NewCoinAdapter(denom string, amount Int) CoinAdapter + func (*CoinAdapter) Descriptor() ([]byte, []int) + func (*CoinAdapter) ProtoMessage() + func (coin CoinAdapter) Add(coinB CoinAdapter) CoinAdapter + func (coin CoinAdapter) AddAmount(amount Int) CoinAdapter + func (coin CoinAdapter) IsEqual(other CoinAdapter) bool + func (coin CoinAdapter) IsGTE(other CoinAdapter) bool + func (coin CoinAdapter) IsLT(other CoinAdapter) bool + func (coin CoinAdapter) IsNegative() bool + func (coin CoinAdapter) IsPositive() bool + func (coin CoinAdapter) IsValid() bool + func (coin CoinAdapter) IsZero() bool + func (coin CoinAdapter) String() string + func (coin CoinAdapter) Sub(coinB CoinAdapter) CoinAdapter + func (coin CoinAdapter) Validate() error + func (cs CoinAdapter) ToCoin() Coin + func (m *CoinAdapter) GetDenom() string + func (m *CoinAdapter) Marshal() (dAtA []byte, err error) + func (m *CoinAdapter) MarshalTo(dAtA []byte) (int, error) + func (m *CoinAdapter) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CoinAdapter) Reset() + func (m *CoinAdapter) Size() (n int) + func (m *CoinAdapter) Unmarshal(dAtA []byte) error + func (m *CoinAdapter) XXX_DiscardUnknown() + func (m *CoinAdapter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CoinAdapter) XXX_Merge(src proto.Message) + func (m *CoinAdapter) XXX_Size() int + func (m *CoinAdapter) XXX_Unmarshal(b []byte) error + func (this *CoinAdapter) Equal(that interface{}) bool + type CoinAdapters []CoinAdapter + func CoinsToCoinAdapters(coins Coins) CoinAdapters + func ConvWei2TFury(adapters CoinAdapters) (CoinAdapters, error) + func (cas CoinAdapters) IsAnyNegative() bool + func (cas CoinAdapters) IsAnyNil() bool + func (coins CoinAdapters) Add(coinsB ...CoinAdapter) CoinAdapters + func (coins CoinAdapters) AmountOf(denom string) Int + func (coins CoinAdapters) AmountOfNoDenomValidation(denom string) Int + func (coins CoinAdapters) Copy() CoinAdapters + func (coins CoinAdapters) IsAllPositive() bool + func (coins CoinAdapters) IsValid() bool + func (coins CoinAdapters) IsZero() bool + func (coins CoinAdapters) MarshalJSON() ([]byte, error) + func (coins CoinAdapters) SafeSub(coinsB CoinAdapters) (CoinAdapters, bool) + func (coins CoinAdapters) String() string + func (coins CoinAdapters) Sub(coinsB CoinAdapters) CoinAdapters + func (coins CoinAdapters) Validate() error + func (cs CoinAdapters) ToCoins() Coins + type Coins = DecCoins + func CoinAdaptersToCoins(adapters CoinAdapters) Coins + func MustParseCoins(denom, amount string) Coins + func NewCoins(coins ...Coin) Coins + func NewIBCCoins(coins ...Coin) Coins + func NormalizeCoins(coins []DecCoin) Coins + func ParseCoinsNormalized(coinStr string) (Coins, error) + func (coins Coins) DenomsSubsetOf(coinsB Coins) 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) IsAnyGT(coinsB Coins) bool + func (coins Coins) IsAnyGTE(coinsB Coins) bool + func (coins Coins) MarshalJSON() ([]byte, 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) 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 UnwrapSDKContext(ctx context.Context) Context + func (_ *Context) ReturnKVStore(store KVStore) + func (c *Context) AccountNonce() uint64 + func (c *Context) AnteTracer() *trace.Tracer + func (c *Context) BlockGasMeter() GasMeter + func (c *Context) BlockHeader() abci.Header + func (c *Context) BlockHeight() int64 + func (c *Context) BlockProposerAddress() []byte + 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) DisableAccountCache() + func (c *Context) EnableAccountCache() + func (c *Context) EventManager() *EventManager + func (c *Context) From() string + func (c *Context) GasMeter() GasMeter + func (c *Context) GetFromAccountCacheData() interface{} + func (c *Context) GetFromAccountCacheGas() Gas + func (c *Context) GetReusableKVStore(key StoreKey) KVStore + func (c *Context) GetToAccountCacheData() interface{} + func (c *Context) GetToAccountCacheGas() Gas + func (c *Context) GetWatcher() IWatcher + func (c *Context) IsCheckTx() bool + func (c *Context) IsDeliver() bool + func (c *Context) IsReCheckTx() bool + func (c *Context) IsTraceTx() bool + func (c *Context) IsTraceTxLog() bool + func (c *Context) IsWrappedCheckTx() 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) OverrideBytes() []byte + func (c *Context) ResetWatcher() + func (c *Context) SetAccountNonce(nonce uint64) *Context + func (c *Context) SetAnteTracer(trc *trace.Tracer) *Context + func (c *Context) SetBlockGasMeter(meter GasMeter) *Context + func (c *Context) SetBlockHeader(header abci.Header) *Context + func (c *Context) SetBlockHeight(height int64) *Context + func (c *Context) SetBlockTime(newTime time.Time) *Context + func (c *Context) SetChainID(chainID string) *Context + func (c *Context) SetConsensusParams(params *abci.ConsensusParams) *Context + func (c *Context) SetContext(ctx context.Context) *Context + func (c *Context) SetDeliver() *Context + func (c *Context) SetEventManager(em *EventManager) *Context + func (c *Context) SetFeeSplitInfo(f *FeeSplitInfo) *Context + func (c *Context) SetFrom(from string) *Context + func (c *Context) SetGasMeter(meter GasMeter) *Context + func (c *Context) SetIsCheckTx(isCheckTx bool) *Context + func (c *Context) SetIsDeliverTx(isDeliverTx bool) *Context + func (c *Context) SetIsReCheckTx(isRecheckTx bool) *Context + func (c *Context) SetIsTraceTx(isTraceTx bool) *Context + func (c *Context) SetIsTraceTxLog(isTraceTxLog bool) *Context + func (c *Context) SetIsWrappedCheckTx(isWrappedCheckTx bool) *Context + func (c *Context) SetLogger(logger log.Logger) *Context + func (c *Context) SetMinGasPrices(gasPrices DecCoins) *Context + func (c *Context) SetMultiStore(ms MultiStore) *Context + func (c *Context) SetOverrideBytes(b []byte) *Context + func (c *Context) SetParaMsg(m *ParaMsg) *Context + func (c *Context) SetProposer(addr ConsAddress) *Context + func (c *Context) SetTraceTxLogConfig(traceLogConfigBytes []byte) *Context + func (c *Context) SetTxBytes(txBytes []byte) *Context + func (c *Context) SetVoteInfos(voteInfo []abci.VoteInfo) *Context + func (c *Context) SetWatcher(w IWatcher) + func (c *Context) TraceTxLogConfig() []byte + func (c *Context) TransientStore(key StoreKey) KVStore + func (c *Context) TxBytes() []byte + func (c *Context) UpdateFromAccountCache(fromAcc interface{}, fromAccGettedGas Gas) + func (c *Context) UpdateToAccountCache(toAcc interface{}, toAccGotGas Gas) + func (c *Context) UseParamCache() bool + func (c *Context) VoteInfos() []abci.VoteInfo + func (c Context) GetFeeSplitInfo() *FeeSplitInfo + func (c Context) ParaMsg() *ParaMsg + func (c Context) Value(key interface{}) interface{} + func (c Context) WithBlockHeight(height int64) Context + func (c Context) WithBlockTime(newTime time.Time) Context + func (c Context) WithIsCheckTx(isCheckTx bool) Context + func (c Context) WithIsReCheckTx(isRecheckTx bool) Context + func (c Context) WithIsTraceTxLog(isTraceTxLog bool) Context + func (c Context) WithValue(key, value interface{}) Context + type ContextKey string + const SdkContextKey + type CustomizeOnStop func(ctx Context) 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 NewDecWithBigIntAndPrec(i *big.Int, prec int64) Dec + 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(text []byte) (err error) + func (d *Dec) UnmarshalFromAmino(_ *amino.Codec, data []byte) error + func (d *Dec) UnmarshalJSON(bz []byte) error + func (d Dec) Abs() Dec + func (d Dec) Add(d2 Dec) Dec + func (d Dec) AminoSize(_ *amino.Codec) int + 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) 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) MarshalToAmino(_ *amino.Codec) ([]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) MulInt64To(i int64, d2 *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) RoundDecimal(precision int64) 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 + func (d Dec) TruncateWithPrec(prec int64) Int + type DecCoin struct + Amount Dec + Denom string + func ConvertDecCoin(coin DecCoin, denom string) (DecCoin, error) + func IBCParseDecCoin(coinStr string) (coin DecCoin, err error) + func NewCoin(denom string, amount interface{}) DecCoin + func NewDecCoin(denom string, amount Int) DecCoin + func NewDecCoinFromCoin(coin Coin) DecCoin + func NewDecCoinFromDec(denom string, amount Dec) DecCoin + func NewIBCCoin(denom string, amount interface{}) DecCoin + func NewIBCDecCoin(denom string, amount Int) DecCoin + func NewInt64DecCoin(denom string, amount int64) DecCoin + func NormalizeDecCoin(coin DecCoin) DecCoin + func ParseDecCoin(coinStr string) (coin DecCoin, err error) + func (coin *DecCoin) UnmarshalFromAmino(cdc *amino.Codec, data []byte) error + func (coin DecCoin) Add(coinB DecCoin) DecCoin + func (coin DecCoin) AminoSize(cdc *amino.Codec) int + 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) MarshalAminoTo(cdc *amino.Codec, buf *bytes.Buffer) error + func (coin DecCoin) MarshalToAmino(cdc *amino.Codec) ([]byte, error) + func (coin DecCoin) String() string + func (coin DecCoin) Sub(coinB DecCoin) DecCoin + func (coin DecCoin) TruncateDecimal() (Coin, DecCoin) + func (coin DecCoin) TruncateWithPrec(prec int64) (Coin, DecCoin) + func (dec DecCoin) ToCoins() Coins + type DecCoinAdapter struct + Amount Dec + Denom string + func (*DecCoinAdapter) Descriptor() ([]byte, []int) + func (*DecCoinAdapter) ProtoMessage() + func (coin DecCoinAdapter) String() string + func (m *DecCoinAdapter) GetDenom() string + func (m *DecCoinAdapter) Marshal() (dAtA []byte, err error) + func (m *DecCoinAdapter) MarshalTo(dAtA []byte) (int, error) + func (m *DecCoinAdapter) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DecCoinAdapter) Reset() + func (m *DecCoinAdapter) Size() (n int) + func (m *DecCoinAdapter) Unmarshal(dAtA []byte) error + func (m *DecCoinAdapter) XXX_DiscardUnknown() + func (m *DecCoinAdapter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DecCoinAdapter) XXX_Merge(src proto.Message) + func (m *DecCoinAdapter) XXX_Size() int + func (m *DecCoinAdapter) XXX_Unmarshal(b []byte) error + func (this *DecCoinAdapter) Equal(that interface{}) bool + type DecCoins []DecCoin + func NewDecCoins(decCoins ...DecCoin) DecCoins + func NewDecCoinsFromCoins(coins ...Coin) DecCoins + func NewDecCoinsFromDec(denom string, amount Dec) DecCoins + func ParseDecCoins(coinsStr string) (DecCoins, error) + func (coins DecCoins) Add(coinsB ...DecCoin) DecCoins + func (coins DecCoins) Add2(coinsB DecCoins) 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) TruncateWithPrec(prec int64) (truncatedCoins Coins, changeCoins DecCoins) + type DecProtoAdapter struct + Dec Dec + func (*DecProtoAdapter) Descriptor() ([]byte, []int) + func (*DecProtoAdapter) ProtoMessage() + func (dp DecProtoAdapter) String() string + func (m *DecProtoAdapter) Marshal() (dAtA []byte, err error) + func (m *DecProtoAdapter) MarshalTo(dAtA []byte) (int, error) + func (m *DecProtoAdapter) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DecProtoAdapter) Reset() + func (m *DecProtoAdapter) Size() (n int) + func (m *DecProtoAdapter) Unmarshal(dAtA []byte) error + func (m *DecProtoAdapter) XXX_DiscardUnknown() + func (m *DecProtoAdapter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DecProtoAdapter) XXX_Merge(src proto.Message) + func (m *DecProtoAdapter) XXX_Size() int + func (m *DecProtoAdapter) XXX_Unmarshal(b []byte) error + type EmptyWatcher struct + func (e EmptyWatcher) DeleteAccount(account interface{}) + func (e EmptyWatcher) DeleteContractBlockedList(addr interface{}) + func (e EmptyWatcher) DeleteContractDeploymentWhitelist(addr interface{}) + func (e EmptyWatcher) Destruct() []WatchMessage + func (e EmptyWatcher) Enabled() bool + func (e EmptyWatcher) Finalize() + func (e EmptyWatcher) SaveAccount(account interface{}) + func (e EmptyWatcher) SaveContractBlockedListItem(addr interface{}) + func (e EmptyWatcher) SaveContractCode(addr common.Address, code []byte, height uint64) + func (e EmptyWatcher) SaveContractCodeByHash(hash []byte, code []byte) + func (e EmptyWatcher) SaveContractDeploymentWhitelistItem(addr interface{}) + func (e EmptyWatcher) SaveContractMethodBlockedListItem(addr interface{}, methods []byte) + func (e EmptyWatcher) SaveState(addr common.Address, key, value []byte) + type EndBlocker func(ctx Context, req abci.RequestEndBlock) abci.ResponseEndBlock + type EnvRegexp struct + func (r *EnvRegexp) FindStringSubmatch(coinStr string) []string + type EnvelopedErr struct + Err Error + func ErrGasOverflow(msg string) EnvelopedErr + func ErrInsufficientCoins(msg string) EnvelopedErr + func ErrInsufficientFee(msg string) EnvelopedErr + func ErrInsufficientFunds(msg string) EnvelopedErr + func ErrInternal(msg string) EnvelopedErr + func ErrInvalidAddress(msg string) EnvelopedErr + func ErrInvalidCoins(msg string) EnvelopedErr + func ErrInvalidPubKey(msg string) EnvelopedErr + func ErrInvalidSequence(msg string) EnvelopedErr + func ErrMemoTooLarge(msg string) EnvelopedErr + func ErrNoSignatures(msg string) EnvelopedErr + func ErrOutOfGas(msg string) EnvelopedErr + func ErrTooManySignatures(msg string) EnvelopedErr + func ErrTxDecode(msg string) EnvelopedErr + func ErrUnauthorized(msg string) EnvelopedErr + func ErrUnknownAddress(msg string) EnvelopedErr + func ErrUnknownRequest(msg string) EnvelopedErr + func (e EnvelopedErr) ABCICode() uint32 + func (e EnvelopedErr) Codespace() string + func (err EnvelopedErr) Error() string + func (err EnvelopedErr) Result() (*Result, error) + type Error = 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 EvmSysContractAddressHandler func(ctx Context, addr AccAddress) bool + type EvmWatcherCollector func(...IWatcher) + type FeeSplitInfo struct + Addr AccAddress + Fee Coins + HasFee bool + 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 GasRefundHandler func(ctx Context, tx Tx) (fee Coins, err error) + type GetTxFeeAndFromHandler func(ctx Context, tx Tx) (Coins, bool, string, string, error) + type GetTxFeeHandler func(tx Tx) Coins + type Handler func(ctx Context, msg Msg) (*Result, error) + type HeightSensitive interface + ValidWithHeight func(h int64) error + type IWatcher interface + DeleteAccount func(account interface{}) + DeleteContractBlockedList func(addr interface{}) + DeleteContractDeploymentWhitelist func(addr interface{}) + Destruct func() []WatchMessage + Enabled func() bool + Finalize func() + SaveAccount func(account interface{}) + SaveContractBlockedListItem func(addr interface{}) + SaveContractCode func(addr common.Address, code []byte, height uint64) + SaveContractCodeByHash func(hash []byte, code []byte) + SaveContractDeploymentWhitelistItem func(addr interface{}) + SaveContractMethodBlockedListItem func(addr interface{}, methods []byte) + SaveState func(addr common.Address, key, value []byte) + 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) MarshalTo(data []byte) (n int, err error) + func (i *Int) Size() int + func (i *Int) Unmarshal(data []byte) error + func (i *Int) UnmarshalAmino(text string) error + func (i *Int) UnmarshalFromAmino(_ *amino.Codec, data []byte) 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) 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() (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 IntProtoAdapter struct + Int Int + func (*IntProtoAdapter) Descriptor() ([]byte, []int) + func (*IntProtoAdapter) ProtoMessage() + func (ip IntProtoAdapter) String() string + func (m *IntProtoAdapter) Marshal() (dAtA []byte, err error) + func (m *IntProtoAdapter) MarshalTo(dAtA []byte) (int, error) + func (m *IntProtoAdapter) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *IntProtoAdapter) Reset() + func (m *IntProtoAdapter) Size() (n int) + func (m *IntProtoAdapter) Unmarshal(dAtA []byte) error + func (m *IntProtoAdapter) XXX_DiscardUnknown() + func (m *IntProtoAdapter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *IntProtoAdapter) XXX_Merge(src proto.Message) + func (m *IntProtoAdapter) XXX_Size() int + func (m *IntProtoAdapter) 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 LogFix func(tx []Tx, logIndex []int, hasEnterEvmTx []bool, errs []error, ...) (logs [][]byte) + type MemoryStoreKey = types.MemoryStoreKey + type ModuleAccount interface + GetName func() string + GetPermissions func() []string + HasPermission func(string) bool + type MptCommitHandler func(ctx Context) + type Msg interface + GetSignBytes func() []byte + GetSigners func() []AccAddress + Route func() string + Type func() string + ValidateBasic func() error + type MsgAdapter interface + type MsgProtoAdapter interface + type MsgRequest interface + GetSigners func() []AccAddress + ValidateBasic func() error + type MultiStore = types.MultiStore + type MultiStorePersistentCache = types.MultiStorePersistentCache + type ParaMsg struct + AnteErr error + HasRunEvmTx bool + HaveCosmosTxInBlock bool + LogIndex int + RefundFee Coins + UseCurrentState bool + type PeerFilter func(info string) abci.ResponseQuery + type PreDeliverTxHandler func(ctx Context, tx Tx, onlyVerifySig bool) + 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 QueryTraceTx struct + ConfigBytes []byte + TxHash common.Hash + type Queryable = types.Queryable + type Request = Context + type Result struct + Data []byte + Events Events + Log string + func WrapServiceResult(ctx Context, res proto.Message, err error) (*Result, error) + type ReusableGasMeter = types.ReusableGasMeter + func GetReusableInfiniteGasMeter() ReusableGasMeter + 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 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 ServiceMsg struct + MethodName string + Request MsgRequest + func (msg ServiceMsg) GetSignBytes() []byte + func (msg ServiceMsg) GetSigners() []AccAddress + func (msg ServiceMsg) ProtoMessage() + func (msg ServiceMsg) Reset() + func (msg ServiceMsg) Route() string + func (msg ServiceMsg) String() string + func (msg ServiceMsg) Type() string + func (msg ServiceMsg) ValidateBasic() error + type SimulateData struct + OverridesBytes []byte + TxBytes []byte + type SimulationResponse struct + Result *Result + 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 Event) StringEvent + func (e StringEvent) MarshalJsonToBuffer(buf *bytes.Buffer) error + type StringEvents []StringEvent + func StringifyEvents(events []Event) StringEvents + func (se StringEvents) Flatten() StringEvents + func (se StringEvents) MarshalJsonToBuffer(buf *bytes.Buffer) error + func (se StringEvents) String() string + type SysCoin = DecCoin + type SysCoins = DecCoins + 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 TestMsg2 struct + Signers []AccAddress + func NewTestMsg2(addrs ...AccAddress) *TestMsg2 + func (msg TestMsg2) GetSignBytes() []byte + func (msg TestMsg2) GetSigners() []AccAddress + func (msg TestMsg2) Route() string + func (msg TestMsg2) Type() string + func (msg TestMsg2) ValidateBasic() error + type TraceContext = types.TraceContext + type TransactionType int + const EvmTxType + const StdTxType + const UnknownType + func (t TransactionType) String() (res string) + type TransientStoreKey = types.TransientStoreKey + func NewTransientStoreKey(name string) *TransientStoreKey + type Tx interface + GetFrom func() string + GetGas func() uint64 + GetGasPrice func() *big.Int + GetMsgs func() []Msg + GetNonce func() uint64 + GetRaw func() []byte + GetSender func(ctx Context) string + GetSigners func() []AccAddress + GetTxFnSignatureInfo func() ([]byte, int) + GetType func() TransactionType + SetRaw func([]byte) + SetTxHash func([]byte) + TxHash func() []byte + ValidateBasic func() error + type TxAdapter interface + type TxDecoder func(txBytes []byte, height ...int64) (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 TxWatcher struct + 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 UpdateFeeCollectorAccHandler func(ctx Context, balance Coins, txFeesplit []*FeeSplitInfo) error + type UpdateFeeSplitHandler func(txHash common.Hash, addr AccAddress, fee Coins, isDelete bool) + 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 + type WatchMessage interface + GetKey func() []byte + GetType func() uint32 + GetValue func() string