Documentation
¶
Index ¶
- func JsonTx(raw []byte) (cosmosTypes.Tx, error)
- type CancelUnbondingDelegation
- type ChannelChange
- type CoinReceived
- type CoinSpent
- type Commission
- type CompleteRedelegation
- type CompleteUnbonding
- type ConnectionChange
- type DecodedMsg
- type DecodedTx
- type Delegate
- type FungibleTokenPacket
- type ProposalStatus
- type RecvPacket
- type Redelegate
- type Rewards
- type Slash
- type Unbond
- type UpdateClient
- 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 ChannelChange ¶ added in v1.13.0
type ChannelChange struct {
ChannelId string
ConnectionId string
CounterpartyChannelId string
CounterpartyPortId string
PortId string
}
func NewChannelChange ¶ added in v1.13.0
func NewChannelChange(m map[string]any) (cc ChannelChange)
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 ConnectionChange ¶ added in v1.13.0
type ConnectionChange struct {
ClientId string
ConnectionId string
CounterpartyClientId string
CounterpartyConnectionId string
}
func NewConnectionOpen ¶ added in v1.13.0
func NewConnectionOpen(m map[string]any) (cc ConnectionChange)
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 DecodedTx struct {
TimeoutHeight uint64
Memo string
Messages []cosmosTypes.Msg
Fee decimal.Decimal
Signers map[types.Address][]byte
Blobs []*blobTypes.Blob
}
func NewDecodedTx ¶ added in v1.13.0
func NewDecodedTx() DecodedTx
type FungibleTokenPacket ¶ added in v1.13.0
type FungibleTokenPacket struct {
Amount decimal.Decimal
Denom string
Memo string
Module string
Receiver string
Sender string
Success string
}
func NewFungibleTokenPacket ¶ added in v1.13.0
func NewFungibleTokenPacket(m map[string]any) (ftp FungibleTokenPacket)
type ProposalStatus ¶ added in v1.12.0
func NewProposalStatus ¶ added in v1.12.0
func NewProposalStatus(m map[string]any) (body ProposalStatus, err error)
type RecvPacket ¶ added in v1.13.0
type RecvPacket struct {
Ordering string
Connection string
Data string
DstChannel string
DstPort string
SrcChannel string
SrcPort string
Sequence uint64
Timeout time.Time
TimeoutHeight uint64
}
func NewRecvPacket ¶ added in v1.13.0
func NewRecvPacket(m map[string]any) (rp RecvPacket, err error)
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 UpdateClient ¶ added in v1.13.0
func NewUpdateClient ¶ added in v1.13.0
func NewUpdateClient(m map[string]any) (cc UpdateClient, err error)
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.