Documentation
¶
Index ¶
- type Context
- func (ctx *Context) AddAddress(address *storage.Address) error
- func (ctx *Context) AddAddressMessage(msg *storage.MsgAddress)
- func (ctx *Context) AddBlobLogs(logs ...*storage.BlobLog)
- func (ctx *Context) AddCancelUndelegation(u storage.Undelegation)
- func (ctx *Context) AddConstant(module types.ModuleName, name, value string)
- func (ctx *Context) AddDelegation(d storage.Delegation)
- func (ctx *Context) AddEvents(events ...storage.Event)
- func (ctx *Context) AddForwarding(fwd *storage.Forwarding)
- func (ctx *Context) AddGrants(grants ...*storage.Grant)
- func (ctx *Context) AddHlMailbox(mailbox *storage.HLMailbox)
- func (ctx *Context) AddHlToken(token *storage.HLToken)
- func (ctx *Context) AddHlTransfer(transfer *storage.HLTransfer)
- func (ctx *Context) AddIbcChannel(channel *storage.IbcChannel)
- func (ctx *Context) AddIbcClient(client *storage.IbcClient)
- func (ctx *Context) AddIbcConnection(conn *storage.IbcConnection)
- func (ctx *Context) AddIbcTransfer(transfer *storage.IbcTransfer)
- func (ctx *Context) AddIgp(igpId string, igp *storage.HLIGP)
- func (ctx *Context) AddIgpConfig(igpId string, config *storage.HLIGPConfig)
- func (ctx *Context) AddJail(jail storage.Jail)
- func (ctx *Context) AddMessage(msg *storage.Message)
- func (ctx *Context) AddNamespace(namespace *storage.Namespace) *storage.Namespace
- func (ctx *Context) AddNamespaceMessage(msg *storage.NamespaceMessage)
- func (ctx *Context) AddProposal(proposal *storage.Proposal)
- func (ctx *Context) AddRedelegation(r storage.Redelegation)
- func (ctx *Context) AddSignal(signal *storage.SignalVersion)
- func (ctx *Context) AddStakingLog(l storage.StakingLog)
- func (ctx *Context) AddSupply(data map[string]string)
- func (ctx *Context) AddUndelegation(u storage.Undelegation)
- func (ctx *Context) AddUpgrade(upgrade storage.Upgrade)
- func (ctx *Context) AddValidator(validator storage.Validator)
- func (ctx *Context) AddVestingAccount(acc *storage.VestingAccount)
- func (ctx *Context) AddVote(vote *storage.Vote)
- func (ctx *Context) AddZkISM(ism *storage.ZkISM)
- func (ctx *Context) AddZkIsmMessage(msg *storage.ZkISMMessage)
- func (ctx *Context) AddZkIsmUpdate(upd *storage.ZkISMUpdate)
- func (ctx *Context) DeleteIbcChannel(chanId string)
- func (ctx *Context) GetLastIbcTransfer() *storage.IbcTransfer
- func (ctx *Context) GetMsgPosition() int64
- func (ctx *Context) RemoveLastIbcTransfer()
- func (ctx *Context) SetInflation(data map[string]string)
- func (ctx *Context) SubSupply(data map[string]string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
Validators *sync.Map[string, *storage.Validator]
Addresses *sync.Map[string, *storage.Address]
Delegations *sync.Map[string, *storage.Delegation]
Jails *sync.Map[string, *storage.Jail]
Proposals *sync.Map[uint64, *storage.Proposal]
Constants *sync.Map[string, *storage.Constant]
Igps *sync.Map[string, *storage.HLIGP]
IgpConfigs *sync.Map[string, *storage.HLIGPConfig]
ZkISMs *sync.Map[string, *storage.ZkISM]
Upgrades *sync.Map[uint64, *storage.Upgrade]
Grants *sync.Map[string, *storage.Grant]
IbcClients *sync.Map[string, *storage.IbcClient]
IbcConnections *sync.Map[string, *storage.IbcConnection]
IbcChannels *sync.Map[string, *storage.IbcChannel]
HlMailboxes *sync.Map[uint64, *storage.HLMailbox]
HlTokens *sync.Map[string, *storage.HLToken]
Namespaces *sync.Map[string, *storage.Namespace]
NamespaceMessages *sync.Map[string, *storage.NamespaceMessage]
AddressMessages *sync.Map[string, *storage.MsgAddress]
Messages []*storage.Message
Events []storage.Event
Redelegations []storage.Redelegation
Undelegations []storage.Undelegation
CancelUnbonding []storage.Undelegation
StakingLogs []storage.StakingLog
Votes []*storage.Vote
VestingAccounts []*storage.VestingAccount
Forwardings []*storage.Forwarding
ZkIsmUpdates []*storage.ZkISMUpdate
ZkIsmMessages []*storage.ZkISMMessage
HlTransfers []*storage.HLTransfer
IbcTransfers []*storage.IbcTransfer
BlobLogs []*storage.BlobLog
Signals []*storage.SignalVersion
Block *storage.Block
TryUpgrade *storage.Upgrade
TxEventsCount int
// contains filtered or unexported fields
}
func NewContext ¶
func NewContext() *Context
func (*Context) AddAddressMessage ¶ added in v1.19.0
func (ctx *Context) AddAddressMessage(msg *storage.MsgAddress)
func (*Context) AddBlobLogs ¶ added in v1.19.0
func (*Context) AddCancelUndelegation ¶
func (ctx *Context) AddCancelUndelegation(u storage.Undelegation)
func (*Context) AddConstant ¶ added in v1.15.29
func (ctx *Context) AddConstant(module types.ModuleName, name, value string)
func (*Context) AddDelegation ¶
func (ctx *Context) AddDelegation(d storage.Delegation)
func (*Context) AddForwarding ¶ added in v1.19.0
func (ctx *Context) AddForwarding(fwd *storage.Forwarding)
func (*Context) AddHlMailbox ¶ added in v1.19.0
func (*Context) AddHlToken ¶ added in v1.19.0
func (*Context) AddHlTransfer ¶ added in v1.19.0
func (ctx *Context) AddHlTransfer(transfer *storage.HLTransfer)
func (*Context) AddIbcChannel ¶ added in v1.19.0
func (ctx *Context) AddIbcChannel(channel *storage.IbcChannel)
func (*Context) AddIbcClient ¶ added in v1.19.0
func (*Context) AddIbcConnection ¶ added in v1.19.0
func (ctx *Context) AddIbcConnection(conn *storage.IbcConnection)
func (*Context) AddIbcTransfer ¶ added in v1.19.0
func (ctx *Context) AddIbcTransfer(transfer *storage.IbcTransfer)
func (*Context) AddIgpConfig ¶ added in v1.17.0
func (ctx *Context) AddIgpConfig(igpId string, config *storage.HLIGPConfig)
func (*Context) AddMessage ¶ added in v1.19.0
func (*Context) AddNamespace ¶ added in v1.19.0
func (*Context) AddNamespaceMessage ¶ added in v1.19.0
func (ctx *Context) AddNamespaceMessage(msg *storage.NamespaceMessage)
func (*Context) AddProposal ¶ added in v1.12.0
func (*Context) AddRedelegation ¶
func (ctx *Context) AddRedelegation(r storage.Redelegation)
func (*Context) AddSignal ¶ added in v1.19.0
func (ctx *Context) AddSignal(signal *storage.SignalVersion)
func (*Context) AddStakingLog ¶
func (ctx *Context) AddStakingLog(l storage.StakingLog)
func (*Context) AddUndelegation ¶
func (ctx *Context) AddUndelegation(u storage.Undelegation)
func (*Context) AddUpgrade ¶ added in v1.17.2
func (*Context) AddValidator ¶
func (*Context) AddVestingAccount ¶ added in v1.19.0
func (ctx *Context) AddVestingAccount(acc *storage.VestingAccount)
func (*Context) AddZkIsmMessage ¶ added in v1.19.0
func (ctx *Context) AddZkIsmMessage(msg *storage.ZkISMMessage)
func (*Context) AddZkIsmUpdate ¶ added in v1.19.0
func (ctx *Context) AddZkIsmUpdate(upd *storage.ZkISMUpdate)
func (*Context) DeleteIbcChannel ¶ added in v1.19.0
func (*Context) GetLastIbcTransfer ¶ added in v1.19.0
func (ctx *Context) GetLastIbcTransfer() *storage.IbcTransfer
func (*Context) GetMsgPosition ¶ added in v1.19.0
func (*Context) RemoveLastIbcTransfer ¶ added in v1.19.0
func (ctx *Context) RemoveLastIbcTransfer()
func (*Context) SetInflation ¶
Click to show internal directories.
Click to hide internal directories.