Documentation
      ¶
    
    
  
    
  
    Index ¶
- func JsonTx(raw []byte) (cosmosTypes.Tx, error)
 - type CancelUnbondingDelegation
 - type CoinReceived
 - type CoinSpent
 - type Commission
 - type CompleteRedelegation
 - type CompleteUnbonding
 - type DecodedMsg
 - type DecodedTx
 - type Delegate
 - type Redelegate
 - type Rewards
 - type Slash
 - type Unbond
 - type WithdrawCommission
 - type WithdrawRewards
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CancelUnbondingDelegation ¶ added in v1.6.0
type CancelUnbondingDelegation struct {
	Amount         *types.Coin
	Validator      string
	Delegator      string
	CreationHeight int64
}
    func NewCancelUnbondingDelegation ¶ added in v1.6.0
func NewCancelUnbondingDelegation(m map[string]any) (body CancelUnbondingDelegation, err error)
type CoinReceived ¶
func NewCoinReceived ¶
func NewCoinReceived(m map[string]any) (body CoinReceived, err error)
type Commission ¶ added in v1.6.0
func NewCommission ¶ added in v1.6.0
func NewCommission(m map[string]any) (body Commission, err error)
type CompleteRedelegation ¶ added in v1.6.0
type CompleteRedelegation struct {
	Amount        *types.Coin
	Delegator     string
	DestValidator string
	SrcValidator  string
}
    func NewCompleteRedelegation ¶ added in v1.6.0
func NewCompleteRedelegation(m map[string]any) (body CompleteRedelegation, err error)
type CompleteUnbonding ¶ added in v1.6.0
func NewCompleteUnbonding ¶ added in v1.6.0
func NewCompleteUnbonding(m map[string]any) (body CompleteUnbonding, err error)
type DecodedMsg ¶
type DecodedMsg struct {
	Msg       storage.Message
	BlobsSize int64
	Addresses []storage.AddressWithType
}
    func Message ¶
func Message( ctx *context.Context, msg cosmosTypes.Msg, position int, status storageTypes.Status, ) (d DecodedMsg, err error)
type DecodedTx ¶
type Redelegate ¶ added in v1.6.0
type Redelegate struct {
	Amount         *types.Coin
	DestValidator  string
	SrcValidator   string
	CompletionTime time.Time
}
    func NewRedelegate ¶ added in v1.6.0
func NewRedelegate(m map[string]any) (body Redelegate, err error)
type Slash ¶ added in v1.6.0
type WithdrawCommission ¶ added in v1.6.0
func NewWithdrawCommission ¶ added in v1.6.0
func NewWithdrawCommission(m map[string]any) (body WithdrawCommission, err error)
type WithdrawRewards ¶ added in v1.6.0
func NewWithdrawRewards ¶ added in v1.6.0
func NewWithdrawRewards(m map[string]any) (body WithdrawRewards, err error)
 Click to show internal directories. 
   Click to hide internal directories.