ethereum

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2021 License: GPL-3.0, GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// EventHash cross-chain transaction event hash
	EventHash = common.HexToHash("0x155e433be3576195943c515e1096620bc754e11b3a4b60fda7c4628caf373635")
)

Functions

This section is empty.

Types

type TxParams

type TxParams struct {
	From  []byte
	To    []byte
	Value *big.Int
}

type TxProve

type TxProve struct {
	Tx          *TxParams
	Receipt     *types.Receipt
	Prove       light.NodeList
	BlockNumber uint64
	TxIndex     uint
}

type Verify

type Verify struct {
}

func (*Verify) Verify

func (v *Verify) Verify(routerContractAddr common.Address, srcChain, dstChain *big.Int, txProveBytes []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL