Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CrossChainPackageEventName = "crossChainPackage" CrossChainPackageEventHash = common.HexToHash("0x3a6e0fc61675aa2a100bcba0568368bb92bcec91c97673391074f11138f0cffe") )
Functions ¶
This section is empty.
Types ¶
type ContractEvent ¶
type CrossChainPackageEvent ¶
type CrossChainPackageEvent struct { ChainId uint16 OracleSequence uint64 PackageSequence uint64 ChannelId uint8 Payload []byte }
func (*CrossChainPackageEvent) ToTxLog ¶
func (ev *CrossChainPackageEvent) ToTxLog(log *types.Log) interface{}
type Executor ¶
type Executor struct { Config *util.Config CrossChainAbi abi.ABI Clients []*ethclient.Client // contains filtered or unexported fields }
func NewExecutor ¶
NewExecutor returns the asc executor instance
func (*Executor) GetBlockAndPackages ¶
func (e *Executor) GetBlockAndPackages(height int64) (*common.BlockAndPackageLogs, error)
GetBlockAndPackages returns the block and cross-chain packages of the given height
Click to show internal directories.
Click to hide internal directories.