Versions in this module Expand all Collapse all v2 v2.3.1 Jul 26, 2023 Changes in this version + func EventKey(eventName, contractName, chainRid string) []byte + func InitEventManager() + type EventInfo struct + BlockHeight int64 + ChainRid string + ContractName string + Data []string + Topic string + Tx []byte + TxId string + TxProve string + func (e *EventInfo) ToString() string + type EventManager struct + var EventManagerV1 *EventManager + func (e *EventManager) BuildCrossChainMsg(eventInfo *EventInfo) (req *relay_chain.BeginCrossChainRequest, err error) + func (e *EventManager) DeleteEvent(event *common.CrossChainEvent) error + func (e *EventManager) GetEvent(crossChainEventId string) ([]*common.CrossChainEvent, error) + func (e *EventManager) SaveEvent(event *common.CrossChainEvent, isNew bool) error + func (e *EventManager) SetEventState(crossChainEventId string, state bool, stateMessages string) error