bindings

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Account address and private key of golden touch account.
	GoldenTouchAddress = common.HexToAddress("0x0000777735367b36bC9B61C50022d9D0700dB4Ec")
	GoldenTouchPrivKey = "0x92954368afd3caa1f3ce3ead0069c1af414054aefe1ef9aeacc1bf426222ce38"
)
View Source
var TaikoL1ClientABI = TaikoL1ClientMetaData.ABI

TaikoL1ClientABI is the input ABI used to generate the binding from. Deprecated: Use TaikoL1ClientMetaData.ABI instead.

View Source
var TaikoL1ClientMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"commitSlot\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"commitHeight\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"commitHash\",\"type\":\"bytes32\"}],\"name\":\"BlockCommitted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"l1Height\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"l1Hash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"txListHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"mixHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"commitHeight\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"commitSlot\",\"type\":\"uint64\"}],\"indexed\":false,\"internalType\":\"structLibData.BlockMetadata\",\"name\":\"meta\",\"type\":\"tuple\"}],\"name\":\"BlockProposed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"parentHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"timestamp\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"provenAt\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"BlockProven\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"}],\"name\":\"BlockVerified\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"halted\",\"type\":\"bool\"}],\"name\":\"Halted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"height\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"srcHeight\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"srcHash\",\"type\":\"bytes32\"}],\"name\":\"HeaderSynced\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"whitelisted\",\"type\":\"bool\"}],\"name\":\"ProverWhitelisted\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"addressManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"commitSlot\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"commitHash\",\"type\":\"bytes32\"}],\"name\":\"commitBlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"parentHash\",\"type\":\"bytes32\"}],\"name\":\"getBlockProvers\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConstants\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLatestSyncedHeader\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"getProposedBlock\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"metaHash\",\"type\":\"bytes32\"}],\"internalType\":\"structLibData.ProposedBlock\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStateVariables\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"}],\"name\":\"getSyncedHeader\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"toHalt\",\"type\":\"bool\"}],\"name\":\"halt\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addressManager\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_genesisBlockHash\",\"type\":\"bytes32\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"commitSlot\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"commitHeight\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitHash\",\"type\":\"bytes32\"}],\"name\":\"isCommitValid\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isHalted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"}],\"name\":\"isProverWhitelisted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"inputs\",\"type\":\"bytes[]\"}],\"name\":\"proposeBlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes[]\",\"name\":\"inputs\",\"type\":\"bytes[]\"}],\"name\":\"proveBlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes[]\",\"name\":\"inputs\",\"type\":\"bytes[]\"}],\"name\":\"proveBlockInvalid\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"k\",\"type\":\"uint8\"}],\"name\":\"signWithGoldenTouch\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"r\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"s\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"statusBits\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"genesisHeight\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"latestVerifiedHeight\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"latestVerifiedId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"nextBlockId\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxBlocks\",\"type\":\"uint256\"}],\"name\":\"verifyBlocks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"whitelisted\",\"type\":\"bool\"}],\"name\":\"whitelistProver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

TaikoL1ClientMetaData contains all meta data concerning the TaikoL1Client contract.

View Source
var V1TaikoL2ClientABI = V1TaikoL2ClientMetaData.ABI

V1TaikoL2ClientABI is the input ABI used to generate the binding from. Deprecated: Use V1TaikoL2ClientMetaData.ABI instead.

View Source
var V1TaikoL2ClientMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addressManager\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"txListHash\",\"type\":\"bytes32\"}],\"name\":\"BlockInvalidated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"height\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"srcHeight\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"srcHash\",\"type\":\"bytes32\"}],\"name\":\"HeaderSynced\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"addressManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"l1Height\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"l1Hash\",\"type\":\"bytes32\"}],\"name\":\"anchor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"}],\"name\":\"getBlockHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConstants\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLatestSyncedHeader\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"number\",\"type\":\"uint256\"}],\"name\":\"getSyncedHeader\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"txList\",\"type\":\"bytes\"},{\"internalType\":\"enumLibInvalidTxList.Reason\",\"name\":\"hint\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"txIdx\",\"type\":\"uint256\"}],\"name\":\"invalidateBlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestSyncedHeader\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"publicInputHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

V1TaikoL2ClientMetaData contains all meta data concerning the V1TaikoL2Client contract.

Functions

This section is empty.

Types

type LibDataBlockMetadata

type LibDataBlockMetadata struct {
	Id           *big.Int
	L1Height     *big.Int
	L1Hash       [32]byte
	Beneficiary  common.Address
	TxListHash   [32]byte
	MixHash      [32]byte
	ExtraData    []byte
	GasLimit     uint64
	Timestamp    uint64
	CommitHeight uint64
	CommitSlot   uint64
}

LibDataBlockMetadata is an auto generated low-level Go binding around an user-defined struct.

type LibDataProposedBlock

type LibDataProposedBlock struct {
	MetaHash [32]byte
}

LibDataProposedBlock is an auto generated low-level Go binding around an user-defined struct.

type TaikoL1Client

type TaikoL1Client struct {
	TaikoL1ClientCaller     // Read-only binding to the contract
	TaikoL1ClientTransactor // Write-only binding to the contract
	TaikoL1ClientFilterer   // Log filterer for contract events
}

TaikoL1Client is an auto generated Go binding around an Ethereum contract.

func NewTaikoL1Client

func NewTaikoL1Client(address common.Address, backend bind.ContractBackend) (*TaikoL1Client, error)

NewTaikoL1Client creates a new instance of TaikoL1Client, bound to a specific deployed contract.

type TaikoL1ClientBlockCommitted

type TaikoL1ClientBlockCommitted struct {
	CommitSlot   uint64
	CommitHeight uint64
	CommitHash   [32]byte
	Raw          types.Log // Blockchain specific contextual infos
}

TaikoL1ClientBlockCommitted represents a BlockCommitted event raised by the TaikoL1Client contract.

type TaikoL1ClientBlockCommittedIterator

type TaikoL1ClientBlockCommittedIterator struct {
	Event *TaikoL1ClientBlockCommitted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TaikoL1ClientBlockCommittedIterator is returned from FilterBlockCommitted and is used to iterate over the raw logs and unpacked data for BlockCommitted events raised by the TaikoL1Client contract.

func (*TaikoL1ClientBlockCommittedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TaikoL1ClientBlockCommittedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientBlockCommittedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TaikoL1ClientBlockProposed

type TaikoL1ClientBlockProposed struct {
	Id   *big.Int
	Meta LibDataBlockMetadata
	Raw  types.Log // Blockchain specific contextual infos
}

TaikoL1ClientBlockProposed represents a BlockProposed event raised by the TaikoL1Client contract.

type TaikoL1ClientBlockProposedIterator

type TaikoL1ClientBlockProposedIterator struct {
	Event *TaikoL1ClientBlockProposed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TaikoL1ClientBlockProposedIterator is returned from FilterBlockProposed and is used to iterate over the raw logs and unpacked data for BlockProposed events raised by the TaikoL1Client contract.

func (*TaikoL1ClientBlockProposedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TaikoL1ClientBlockProposedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientBlockProposedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TaikoL1ClientBlockProven

type TaikoL1ClientBlockProven struct {
	Id         *big.Int
	ParentHash [32]byte
	BlockHash  [32]byte
	Timestamp  uint64
	ProvenAt   uint64
	Prover     common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

TaikoL1ClientBlockProven represents a BlockProven event raised by the TaikoL1Client contract.

type TaikoL1ClientBlockProvenIterator

type TaikoL1ClientBlockProvenIterator struct {
	Event *TaikoL1ClientBlockProven // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TaikoL1ClientBlockProvenIterator is returned from FilterBlockProven and is used to iterate over the raw logs and unpacked data for BlockProven events raised by the TaikoL1Client contract.

func (*TaikoL1ClientBlockProvenIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TaikoL1ClientBlockProvenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientBlockProvenIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TaikoL1ClientBlockVerified

type TaikoL1ClientBlockVerified struct {
	Id        *big.Int
	BlockHash [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

TaikoL1ClientBlockVerified represents a BlockVerified event raised by the TaikoL1Client contract.

type TaikoL1ClientBlockVerifiedIterator

type TaikoL1ClientBlockVerifiedIterator struct {
	Event *TaikoL1ClientBlockVerified // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TaikoL1ClientBlockVerifiedIterator is returned from FilterBlockVerified and is used to iterate over the raw logs and unpacked data for BlockVerified events raised by the TaikoL1Client contract.

func (*TaikoL1ClientBlockVerifiedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TaikoL1ClientBlockVerifiedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientBlockVerifiedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TaikoL1ClientCaller

type TaikoL1ClientCaller struct {
	// contains filtered or unexported fields
}

TaikoL1ClientCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewTaikoL1ClientCaller

func NewTaikoL1ClientCaller(address common.Address, caller bind.ContractCaller) (*TaikoL1ClientCaller, error)

NewTaikoL1ClientCaller creates a new read-only instance of TaikoL1Client, bound to a specific deployed contract.

func (*TaikoL1ClientCaller) AddressManager

func (_TaikoL1Client *TaikoL1ClientCaller) AddressManager(opts *bind.CallOpts) (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*TaikoL1ClientCaller) GetBlockProvers added in v0.1.5

func (_TaikoL1Client *TaikoL1ClientCaller) GetBlockProvers(opts *bind.CallOpts, id *big.Int, parentHash [32]byte) ([]common.Address, error)

GetBlockProvers is a free data retrieval call binding the contract method 0xea04adba.

Solidity: function getBlockProvers(uint256 id, bytes32 parentHash) view returns(address[])

func (*TaikoL1ClientCaller) GetConstants

func (_TaikoL1Client *TaikoL1ClientCaller) GetConstants(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, [32]byte, *big.Int, *big.Int, *big.Int, [4]byte, [32]byte, error)

GetConstants is a free data retrieval call binding the contract method 0x9a295e73.

Solidity: function getConstants() pure returns(uint256, uint256, uint256, uint256, uint256, uint256, uint256, uint256, bytes32, uint256, uint256, uint256, bytes4, bytes32)

func (*TaikoL1ClientCaller) GetLatestSyncedHeader

func (_TaikoL1Client *TaikoL1ClientCaller) GetLatestSyncedHeader(opts *bind.CallOpts) ([32]byte, error)

GetLatestSyncedHeader is a free data retrieval call binding the contract method 0x5155ce9f.

Solidity: function getLatestSyncedHeader() view returns(bytes32)

func (*TaikoL1ClientCaller) GetProposedBlock

func (_TaikoL1Client *TaikoL1ClientCaller) GetProposedBlock(opts *bind.CallOpts, id *big.Int) (LibDataProposedBlock, error)

GetProposedBlock is a free data retrieval call binding the contract method 0x8972b10c.

Solidity: function getProposedBlock(uint256 id) view returns((bytes32))

func (*TaikoL1ClientCaller) GetStateVariables

func (_TaikoL1Client *TaikoL1ClientCaller) GetStateVariables(opts *bind.CallOpts) (uint64, uint64, uint64, uint64, error)

GetStateVariables is a free data retrieval call binding the contract method 0xdde89cf5.

Solidity: function getStateVariables() view returns(uint64, uint64, uint64, uint64)

func (*TaikoL1ClientCaller) GetSyncedHeader

func (_TaikoL1Client *TaikoL1ClientCaller) GetSyncedHeader(opts *bind.CallOpts, number *big.Int) ([32]byte, error)

GetSyncedHeader is a free data retrieval call binding the contract method 0x25bf86f2.

Solidity: function getSyncedHeader(uint256 number) view returns(bytes32)

func (*TaikoL1ClientCaller) IsCommitValid

func (_TaikoL1Client *TaikoL1ClientCaller) IsCommitValid(opts *bind.CallOpts, commitSlot *big.Int, commitHeight *big.Int, commitHash [32]byte) (bool, error)

IsCommitValid is a free data retrieval call binding the contract method 0x340d9599.

Solidity: function isCommitValid(uint256 commitSlot, uint256 commitHeight, bytes32 commitHash) view returns(bool)

func (*TaikoL1ClientCaller) IsHalted added in v0.1.5

func (_TaikoL1Client *TaikoL1ClientCaller) IsHalted(opts *bind.CallOpts) (bool, error)

IsHalted is a free data retrieval call binding the contract method 0xc7ff1584.

Solidity: function isHalted() view returns(bool)

func (*TaikoL1ClientCaller) IsProverWhitelisted

func (_TaikoL1Client *TaikoL1ClientCaller) IsProverWhitelisted(opts *bind.CallOpts, prover common.Address) (bool, error)

IsProverWhitelisted is a free data retrieval call binding the contract method 0x664d0896.

Solidity: function isProverWhitelisted(address prover) view returns(bool)

func (*TaikoL1ClientCaller) Owner

func (_TaikoL1Client *TaikoL1ClientCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*TaikoL1ClientCaller) Resolve

func (_TaikoL1Client *TaikoL1ClientCaller) Resolve(opts *bind.CallOpts, name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string name) view returns(address)

func (*TaikoL1ClientCaller) Resolve0

func (_TaikoL1Client *TaikoL1ClientCaller) Resolve0(opts *bind.CallOpts, chainId *big.Int, name string) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xf16c7934.

Solidity: function resolve(uint256 chainId, string name) view returns(address)

func (*TaikoL1ClientCaller) SignWithGoldenTouch

func (_TaikoL1Client *TaikoL1ClientCaller) SignWithGoldenTouch(opts *bind.CallOpts, hash [32]byte, k uint8) (struct {
	V uint8
	R *big.Int
	S *big.Int
}, error)

SignWithGoldenTouch is a free data retrieval call binding the contract method 0xdadec12a.

Solidity: function signWithGoldenTouch(bytes32 hash, uint8 k) view returns(uint8 v, uint256 r, uint256 s)

func (*TaikoL1ClientCaller) State

func (_TaikoL1Client *TaikoL1ClientCaller) State(opts *bind.CallOpts) (struct {
	StatusBits           uint64
	GenesisHeight        uint64
	LatestVerifiedHeight uint64
	LatestVerifiedId     uint64
	NextBlockId          uint64
}, error)

State is a free data retrieval call binding the contract method 0xc19d93fb.

Solidity: function state() view returns(uint64 statusBits, uint64 genesisHeight, uint64 latestVerifiedHeight, uint64 latestVerifiedId, uint64 nextBlockId)

type TaikoL1ClientCallerRaw

type TaikoL1ClientCallerRaw struct {
	Contract *TaikoL1ClientCaller // Generic read-only contract binding to access the raw methods on
}

TaikoL1ClientCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*TaikoL1ClientCallerRaw) Call

func (_TaikoL1Client *TaikoL1ClientCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type TaikoL1ClientCallerSession

type TaikoL1ClientCallerSession struct {
	Contract *TaikoL1ClientCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

TaikoL1ClientCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*TaikoL1ClientCallerSession) AddressManager

func (_TaikoL1Client *TaikoL1ClientCallerSession) AddressManager() (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*TaikoL1ClientCallerSession) GetBlockProvers added in v0.1.5

func (_TaikoL1Client *TaikoL1ClientCallerSession) GetBlockProvers(id *big.Int, parentHash [32]byte) ([]common.Address, error)

GetBlockProvers is a free data retrieval call binding the contract method 0xea04adba.

Solidity: function getBlockProvers(uint256 id, bytes32 parentHash) view returns(address[])

func (*TaikoL1ClientCallerSession) GetConstants

func (_TaikoL1Client *TaikoL1ClientCallerSession) GetConstants() (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, [32]byte, *big.Int, *big.Int, *big.Int, [4]byte, [32]byte, error)

GetConstants is a free data retrieval call binding the contract method 0x9a295e73.

Solidity: function getConstants() pure returns(uint256, uint256, uint256, uint256, uint256, uint256, uint256, uint256, bytes32, uint256, uint256, uint256, bytes4, bytes32)

func (*TaikoL1ClientCallerSession) GetLatestSyncedHeader

func (_TaikoL1Client *TaikoL1ClientCallerSession) GetLatestSyncedHeader() ([32]byte, error)

GetLatestSyncedHeader is a free data retrieval call binding the contract method 0x5155ce9f.

Solidity: function getLatestSyncedHeader() view returns(bytes32)

func (*TaikoL1ClientCallerSession) GetProposedBlock

func (_TaikoL1Client *TaikoL1ClientCallerSession) GetProposedBlock(id *big.Int) (LibDataProposedBlock, error)

GetProposedBlock is a free data retrieval call binding the contract method 0x8972b10c.

Solidity: function getProposedBlock(uint256 id) view returns((bytes32))

func (*TaikoL1ClientCallerSession) GetStateVariables

func (_TaikoL1Client *TaikoL1ClientCallerSession) GetStateVariables() (uint64, uint64, uint64, uint64, error)

GetStateVariables is a free data retrieval call binding the contract method 0xdde89cf5.

Solidity: function getStateVariables() view returns(uint64, uint64, uint64, uint64)

func (*TaikoL1ClientCallerSession) GetSyncedHeader

func (_TaikoL1Client *TaikoL1ClientCallerSession) GetSyncedHeader(number *big.Int) ([32]byte, error)

GetSyncedHeader is a free data retrieval call binding the contract method 0x25bf86f2.

Solidity: function getSyncedHeader(uint256 number) view returns(bytes32)

func (*TaikoL1ClientCallerSession) IsCommitValid

func (_TaikoL1Client *TaikoL1ClientCallerSession) IsCommitValid(commitSlot *big.Int, commitHeight *big.Int, commitHash [32]byte) (bool, error)

IsCommitValid is a free data retrieval call binding the contract method 0x340d9599.

Solidity: function isCommitValid(uint256 commitSlot, uint256 commitHeight, bytes32 commitHash) view returns(bool)

func (*TaikoL1ClientCallerSession) IsHalted added in v0.1.5

func (_TaikoL1Client *TaikoL1ClientCallerSession) IsHalted() (bool, error)

IsHalted is a free data retrieval call binding the contract method 0xc7ff1584.

Solidity: function isHalted() view returns(bool)

func (*TaikoL1ClientCallerSession) IsProverWhitelisted

func (_TaikoL1Client *TaikoL1ClientCallerSession) IsProverWhitelisted(prover common.Address) (bool, error)

IsProverWhitelisted is a free data retrieval call binding the contract method 0x664d0896.

Solidity: function isProverWhitelisted(address prover) view returns(bool)

func (*TaikoL1ClientCallerSession) Owner

func (_TaikoL1Client *TaikoL1ClientCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*TaikoL1ClientCallerSession) Resolve

func (_TaikoL1Client *TaikoL1ClientCallerSession) Resolve(name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string name) view returns(address)

func (*TaikoL1ClientCallerSession) Resolve0

func (_TaikoL1Client *TaikoL1ClientCallerSession) Resolve0(chainId *big.Int, name string) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xf16c7934.

Solidity: function resolve(uint256 chainId, string name) view returns(address)

func (*TaikoL1ClientCallerSession) SignWithGoldenTouch

func (_TaikoL1Client *TaikoL1ClientCallerSession) SignWithGoldenTouch(hash [32]byte, k uint8) (struct {
	V uint8
	R *big.Int
	S *big.Int
}, error)

SignWithGoldenTouch is a free data retrieval call binding the contract method 0xdadec12a.

Solidity: function signWithGoldenTouch(bytes32 hash, uint8 k) view returns(uint8 v, uint256 r, uint256 s)

func (*TaikoL1ClientCallerSession) State

func (_TaikoL1Client *TaikoL1ClientCallerSession) State() (struct {
	StatusBits           uint64
	GenesisHeight        uint64
	LatestVerifiedHeight uint64
	LatestVerifiedId     uint64
	NextBlockId          uint64
}, error)

State is a free data retrieval call binding the contract method 0xc19d93fb.

Solidity: function state() view returns(uint64 statusBits, uint64 genesisHeight, uint64 latestVerifiedHeight, uint64 latestVerifiedId, uint64 nextBlockId)

type TaikoL1ClientFilterer

type TaikoL1ClientFilterer struct {
	// contains filtered or unexported fields
}

TaikoL1ClientFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewTaikoL1ClientFilterer

func NewTaikoL1ClientFilterer(address common.Address, filterer bind.ContractFilterer) (*TaikoL1ClientFilterer, error)

NewTaikoL1ClientFilterer creates a new log filterer instance of TaikoL1Client, bound to a specific deployed contract.

func (*TaikoL1ClientFilterer) FilterBlockCommitted

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterBlockCommitted(opts *bind.FilterOpts) (*TaikoL1ClientBlockCommittedIterator, error)

FilterBlockCommitted is a free log retrieval operation binding the contract event 0xd925166ecbc7d0fa7893e375c60319a9fbb17d83674eb3a8d3d57fd89ce3e7fc.

Solidity: event BlockCommitted(uint64 commitSlot, uint64 commitHeight, bytes32 commitHash)

func (*TaikoL1ClientFilterer) FilterBlockProposed

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterBlockProposed(opts *bind.FilterOpts, id []*big.Int) (*TaikoL1ClientBlockProposedIterator, error)

FilterBlockProposed is a free log retrieval operation binding the contract event 0x344fc5d5f80c4a29bd7e06ad7c28a0c8c9c08d682129da3a31936d5982e4f044.

Solidity: event BlockProposed(uint256 indexed id, (uint256,uint256,bytes32,address,bytes32,bytes32,bytes,uint64,uint64,uint64,uint64) meta)

func (*TaikoL1ClientFilterer) FilterBlockProven

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterBlockProven(opts *bind.FilterOpts, id []*big.Int) (*TaikoL1ClientBlockProvenIterator, error)

FilterBlockProven is a free log retrieval operation binding the contract event 0xf66e10e397da1b4c87429bd76e1d3b85fd417c38c5d43c8ea3e2ec45935bada0.

Solidity: event BlockProven(uint256 indexed id, bytes32 parentHash, bytes32 blockHash, uint64 timestamp, uint64 provenAt, address prover)

func (*TaikoL1ClientFilterer) FilterBlockVerified

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterBlockVerified(opts *bind.FilterOpts, id []*big.Int) (*TaikoL1ClientBlockVerifiedIterator, error)

FilterBlockVerified is a free log retrieval operation binding the contract event 0x68b82650828a9621868d09dc161400acbe189fa002e3fb7cf9dea5c2c6f928ee.

Solidity: event BlockVerified(uint256 indexed id, bytes32 blockHash)

func (*TaikoL1ClientFilterer) FilterHalted added in v0.1.5

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterHalted(opts *bind.FilterOpts) (*TaikoL1ClientHaltedIterator, error)

FilterHalted is a free log retrieval operation binding the contract event 0x92333b0b676476985757350034668cb9ee247674ac7a7479de10cd761381f733.

Solidity: event Halted(bool halted)

func (*TaikoL1ClientFilterer) FilterHeaderSynced

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterHeaderSynced(opts *bind.FilterOpts, height []*big.Int, srcHeight []*big.Int) (*TaikoL1ClientHeaderSyncedIterator, error)

FilterHeaderSynced is a free log retrieval operation binding the contract event 0x930c750845026c7bb04c0e3d9111d512b4c86981713c4944a35a10a4a7a854f3.

Solidity: event HeaderSynced(uint256 indexed height, uint256 indexed srcHeight, bytes32 srcHash)

func (*TaikoL1ClientFilterer) FilterInitialized

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterInitialized(opts *bind.FilterOpts) (*TaikoL1ClientInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*TaikoL1ClientFilterer) FilterOwnershipTransferred

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TaikoL1ClientOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TaikoL1ClientFilterer) FilterProverWhitelisted

func (_TaikoL1Client *TaikoL1ClientFilterer) FilterProverWhitelisted(opts *bind.FilterOpts, prover []common.Address) (*TaikoL1ClientProverWhitelistedIterator, error)

FilterProverWhitelisted is a free log retrieval operation binding the contract event 0x3ab5de546d706301c6736d6e367d46508c2bd77d9fa8a52813f74fa8a0d8a424.

Solidity: event ProverWhitelisted(address indexed prover, bool whitelisted)

func (*TaikoL1ClientFilterer) ParseBlockCommitted

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseBlockCommitted(log types.Log) (*TaikoL1ClientBlockCommitted, error)

ParseBlockCommitted is a log parse operation binding the contract event 0xd925166ecbc7d0fa7893e375c60319a9fbb17d83674eb3a8d3d57fd89ce3e7fc.

Solidity: event BlockCommitted(uint64 commitSlot, uint64 commitHeight, bytes32 commitHash)

func (*TaikoL1ClientFilterer) ParseBlockProposed

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseBlockProposed(log types.Log) (*TaikoL1ClientBlockProposed, error)

ParseBlockProposed is a log parse operation binding the contract event 0x344fc5d5f80c4a29bd7e06ad7c28a0c8c9c08d682129da3a31936d5982e4f044.

Solidity: event BlockProposed(uint256 indexed id, (uint256,uint256,bytes32,address,bytes32,bytes32,bytes,uint64,uint64,uint64,uint64) meta)

func (*TaikoL1ClientFilterer) ParseBlockProven

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseBlockProven(log types.Log) (*TaikoL1ClientBlockProven, error)

ParseBlockProven is a log parse operation binding the contract event 0xf66e10e397da1b4c87429bd76e1d3b85fd417c38c5d43c8ea3e2ec45935bada0.

Solidity: event BlockProven(uint256 indexed id, bytes32 parentHash, bytes32 blockHash, uint64 timestamp, uint64 provenAt, address prover)

func (*TaikoL1ClientFilterer) ParseBlockVerified

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseBlockVerified(log types.Log) (*TaikoL1ClientBlockVerified, error)

ParseBlockVerified is a log parse operation binding the contract event 0x68b82650828a9621868d09dc161400acbe189fa002e3fb7cf9dea5c2c6f928ee.

Solidity: event BlockVerified(uint256 indexed id, bytes32 blockHash)

func (*TaikoL1ClientFilterer) ParseHalted added in v0.1.5

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseHalted(log types.Log) (*TaikoL1ClientHalted, error)

ParseHalted is a log parse operation binding the contract event 0x92333b0b676476985757350034668cb9ee247674ac7a7479de10cd761381f733.

Solidity: event Halted(bool halted)

func (*TaikoL1ClientFilterer) ParseHeaderSynced

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseHeaderSynced(log types.Log) (*TaikoL1ClientHeaderSynced, error)

ParseHeaderSynced is a log parse operation binding the contract event 0x930c750845026c7bb04c0e3d9111d512b4c86981713c4944a35a10a4a7a854f3.

Solidity: event HeaderSynced(uint256 indexed height, uint256 indexed srcHeight, bytes32 srcHash)

func (*TaikoL1ClientFilterer) ParseInitialized

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseInitialized(log types.Log) (*TaikoL1ClientInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*TaikoL1ClientFilterer) ParseOwnershipTransferred

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseOwnershipTransferred(log types.Log) (*TaikoL1ClientOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TaikoL1ClientFilterer) ParseProverWhitelisted

func (_TaikoL1Client *TaikoL1ClientFilterer) ParseProverWhitelisted(log types.Log) (*TaikoL1ClientProverWhitelisted, error)

ParseProverWhitelisted is a log parse operation binding the contract event 0x3ab5de546d706301c6736d6e367d46508c2bd77d9fa8a52813f74fa8a0d8a424.

Solidity: event ProverWhitelisted(address indexed prover, bool whitelisted)

func (*TaikoL1ClientFilterer) WatchBlockCommitted

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchBlockCommitted(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientBlockCommitted) (event.Subscription, error)

WatchBlockCommitted is a free log subscription operation binding the contract event 0xd925166ecbc7d0fa7893e375c60319a9fbb17d83674eb3a8d3d57fd89ce3e7fc.

Solidity: event BlockCommitted(uint64 commitSlot, uint64 commitHeight, bytes32 commitHash)

func (*TaikoL1ClientFilterer) WatchBlockProposed

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchBlockProposed(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientBlockProposed, id []*big.Int) (event.Subscription, error)

WatchBlockProposed is a free log subscription operation binding the contract event 0x344fc5d5f80c4a29bd7e06ad7c28a0c8c9c08d682129da3a31936d5982e4f044.

Solidity: event BlockProposed(uint256 indexed id, (uint256,uint256,bytes32,address,bytes32,bytes32,bytes,uint64,uint64,uint64,uint64) meta)

func (*TaikoL1ClientFilterer) WatchBlockProven

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchBlockProven(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientBlockProven, id []*big.Int) (event.Subscription, error)

WatchBlockProven is a free log subscription operation binding the contract event 0xf66e10e397da1b4c87429bd76e1d3b85fd417c38c5d43c8ea3e2ec45935bada0.

Solidity: event BlockProven(uint256 indexed id, bytes32 parentHash, bytes32 blockHash, uint64 timestamp, uint64 provenAt, address prover)

func (*TaikoL1ClientFilterer) WatchBlockVerified

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchBlockVerified(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientBlockVerified, id []*big.Int) (event.Subscription, error)

WatchBlockVerified is a free log subscription operation binding the contract event 0x68b82650828a9621868d09dc161400acbe189fa002e3fb7cf9dea5c2c6f928ee.

Solidity: event BlockVerified(uint256 indexed id, bytes32 blockHash)

func (*TaikoL1ClientFilterer) WatchHalted added in v0.1.5

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchHalted(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientHalted) (event.Subscription, error)

WatchHalted is a free log subscription operation binding the contract event 0x92333b0b676476985757350034668cb9ee247674ac7a7479de10cd761381f733.

Solidity: event Halted(bool halted)

func (*TaikoL1ClientFilterer) WatchHeaderSynced

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchHeaderSynced(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientHeaderSynced, height []*big.Int, srcHeight []*big.Int) (event.Subscription, error)

WatchHeaderSynced is a free log subscription operation binding the contract event 0x930c750845026c7bb04c0e3d9111d512b4c86981713c4944a35a10a4a7a854f3.

Solidity: event HeaderSynced(uint256 indexed height, uint256 indexed srcHeight, bytes32 srcHash)

func (*TaikoL1ClientFilterer) WatchInitialized

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*TaikoL1ClientFilterer) WatchOwnershipTransferred

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*TaikoL1ClientFilterer) WatchProverWhitelisted

func (_TaikoL1Client *TaikoL1ClientFilterer) WatchProverWhitelisted(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientProverWhitelisted, prover []common.Address) (event.Subscription, error)

WatchProverWhitelisted is a free log subscription operation binding the contract event 0x3ab5de546d706301c6736d6e367d46508c2bd77d9fa8a52813f74fa8a0d8a424.

Solidity: event ProverWhitelisted(address indexed prover, bool whitelisted)

type TaikoL1ClientHalted added in v0.1.5

type TaikoL1ClientHalted struct {
	Halted bool
	Raw    types.Log // Blockchain specific contextual infos
}

TaikoL1ClientHalted represents a Halted event raised by the TaikoL1Client contract.

type TaikoL1ClientHaltedIterator added in v0.1.5

type TaikoL1ClientHaltedIterator struct {
	Event *TaikoL1ClientHalted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TaikoL1ClientHaltedIterator is returned from FilterHalted and is used to iterate over the raw logs and unpacked data for Halted events raised by the TaikoL1Client contract.

func (*TaikoL1ClientHaltedIterator) Close added in v0.1.5

func (it *TaikoL1ClientHaltedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*TaikoL1ClientHaltedIterator) Error added in v0.1.5

func (it *TaikoL1ClientHaltedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientHaltedIterator) Next added in v0.1.5

func (it *TaikoL1ClientHaltedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TaikoL1ClientHeaderSynced

type TaikoL1ClientHeaderSynced struct {
	Height    *big.Int
	SrcHeight *big.Int
	SrcHash   [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

TaikoL1ClientHeaderSynced represents a HeaderSynced event raised by the TaikoL1Client contract.

type TaikoL1ClientHeaderSyncedIterator

type TaikoL1ClientHeaderSyncedIterator struct {
	Event *TaikoL1ClientHeaderSynced // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TaikoL1ClientHeaderSyncedIterator is returned from FilterHeaderSynced and is used to iterate over the raw logs and unpacked data for HeaderSynced events raised by the TaikoL1Client contract.

func (*TaikoL1ClientHeaderSyncedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TaikoL1ClientHeaderSyncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientHeaderSyncedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TaikoL1ClientInitialized

type TaikoL1ClientInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

TaikoL1ClientInitialized represents a Initialized event raised by the TaikoL1Client contract.

type TaikoL1ClientInitializedIterator

type TaikoL1ClientInitializedIterator struct {
	Event *TaikoL1ClientInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TaikoL1ClientInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the TaikoL1Client contract.

func (*TaikoL1ClientInitializedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TaikoL1ClientInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TaikoL1ClientOwnershipTransferred

type TaikoL1ClientOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

TaikoL1ClientOwnershipTransferred represents a OwnershipTransferred event raised by the TaikoL1Client contract.

type TaikoL1ClientOwnershipTransferredIterator

type TaikoL1ClientOwnershipTransferredIterator struct {
	Event *TaikoL1ClientOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TaikoL1ClientOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the TaikoL1Client contract.

func (*TaikoL1ClientOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TaikoL1ClientOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TaikoL1ClientProverWhitelisted

type TaikoL1ClientProverWhitelisted struct {
	Prover      common.Address
	Whitelisted bool
	Raw         types.Log // Blockchain specific contextual infos
}

TaikoL1ClientProverWhitelisted represents a ProverWhitelisted event raised by the TaikoL1Client contract.

type TaikoL1ClientProverWhitelistedIterator

type TaikoL1ClientProverWhitelistedIterator struct {
	Event *TaikoL1ClientProverWhitelisted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TaikoL1ClientProverWhitelistedIterator is returned from FilterProverWhitelisted and is used to iterate over the raw logs and unpacked data for ProverWhitelisted events raised by the TaikoL1Client contract.

func (*TaikoL1ClientProverWhitelistedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TaikoL1ClientProverWhitelistedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL1ClientProverWhitelistedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TaikoL1ClientRaw

type TaikoL1ClientRaw struct {
	Contract *TaikoL1Client // Generic contract binding to access the raw methods on
}

TaikoL1ClientRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*TaikoL1ClientRaw) Call

func (_TaikoL1Client *TaikoL1ClientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*TaikoL1ClientRaw) Transact

func (_TaikoL1Client *TaikoL1ClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TaikoL1ClientRaw) Transfer

func (_TaikoL1Client *TaikoL1ClientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TaikoL1ClientSession

type TaikoL1ClientSession struct {
	Contract     *TaikoL1Client    // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

TaikoL1ClientSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*TaikoL1ClientSession) AddressManager

func (_TaikoL1Client *TaikoL1ClientSession) AddressManager() (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*TaikoL1ClientSession) CommitBlock

func (_TaikoL1Client *TaikoL1ClientSession) CommitBlock(commitSlot uint64, commitHash [32]byte) (*types.Transaction, error)

CommitBlock is a paid mutator transaction binding the contract method 0x7e7a262c.

Solidity: function commitBlock(uint64 commitSlot, bytes32 commitHash) returns()

func (*TaikoL1ClientSession) GetBlockProvers added in v0.1.5

func (_TaikoL1Client *TaikoL1ClientSession) GetBlockProvers(id *big.Int, parentHash [32]byte) ([]common.Address, error)

GetBlockProvers is a free data retrieval call binding the contract method 0xea04adba.

Solidity: function getBlockProvers(uint256 id, bytes32 parentHash) view returns(address[])

func (*TaikoL1ClientSession) GetConstants

func (_TaikoL1Client *TaikoL1ClientSession) GetConstants() (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, [32]byte, *big.Int, *big.Int, *big.Int, [4]byte, [32]byte, error)

GetConstants is a free data retrieval call binding the contract method 0x9a295e73.

Solidity: function getConstants() pure returns(uint256, uint256, uint256, uint256, uint256, uint256, uint256, uint256, bytes32, uint256, uint256, uint256, bytes4, bytes32)

func (*TaikoL1ClientSession) GetLatestSyncedHeader

func (_TaikoL1Client *TaikoL1ClientSession) GetLatestSyncedHeader() ([32]byte, error)

GetLatestSyncedHeader is a free data retrieval call binding the contract method 0x5155ce9f.

Solidity: function getLatestSyncedHeader() view returns(bytes32)

func (*TaikoL1ClientSession) GetProposedBlock

func (_TaikoL1Client *TaikoL1ClientSession) GetProposedBlock(id *big.Int) (LibDataProposedBlock, error)

GetProposedBlock is a free data retrieval call binding the contract method 0x8972b10c.

Solidity: function getProposedBlock(uint256 id) view returns((bytes32))

func (*TaikoL1ClientSession) GetStateVariables

func (_TaikoL1Client *TaikoL1ClientSession) GetStateVariables() (uint64, uint64, uint64, uint64, error)

GetStateVariables is a free data retrieval call binding the contract method 0xdde89cf5.

Solidity: function getStateVariables() view returns(uint64, uint64, uint64, uint64)

func (*TaikoL1ClientSession) GetSyncedHeader

func (_TaikoL1Client *TaikoL1ClientSession) GetSyncedHeader(number *big.Int) ([32]byte, error)

GetSyncedHeader is a free data retrieval call binding the contract method 0x25bf86f2.

Solidity: function getSyncedHeader(uint256 number) view returns(bytes32)

func (*TaikoL1ClientSession) Halt added in v0.1.5

func (_TaikoL1Client *TaikoL1ClientSession) Halt(toHalt bool) (*types.Transaction, error)

Halt is a paid mutator transaction binding the contract method 0x96a38d22.

Solidity: function halt(bool toHalt) returns()

func (*TaikoL1ClientSession) Init

func (_TaikoL1Client *TaikoL1ClientSession) Init(_addressManager common.Address, _genesisBlockHash [32]byte) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x2cc0b254.

Solidity: function init(address _addressManager, bytes32 _genesisBlockHash) returns()

func (*TaikoL1ClientSession) IsCommitValid

func (_TaikoL1Client *TaikoL1ClientSession) IsCommitValid(commitSlot *big.Int, commitHeight *big.Int, commitHash [32]byte) (bool, error)

IsCommitValid is a free data retrieval call binding the contract method 0x340d9599.

Solidity: function isCommitValid(uint256 commitSlot, uint256 commitHeight, bytes32 commitHash) view returns(bool)

func (*TaikoL1ClientSession) IsHalted added in v0.1.5

func (_TaikoL1Client *TaikoL1ClientSession) IsHalted() (bool, error)

IsHalted is a free data retrieval call binding the contract method 0xc7ff1584.

Solidity: function isHalted() view returns(bool)

func (*TaikoL1ClientSession) IsProverWhitelisted

func (_TaikoL1Client *TaikoL1ClientSession) IsProverWhitelisted(prover common.Address) (bool, error)

IsProverWhitelisted is a free data retrieval call binding the contract method 0x664d0896.

Solidity: function isProverWhitelisted(address prover) view returns(bool)

func (*TaikoL1ClientSession) Owner

func (_TaikoL1Client *TaikoL1ClientSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*TaikoL1ClientSession) ProposeBlock

func (_TaikoL1Client *TaikoL1ClientSession) ProposeBlock(inputs [][]byte) (*types.Transaction, error)

ProposeBlock is a paid mutator transaction binding the contract method 0xa043dbdf.

Solidity: function proposeBlock(bytes[] inputs) returns()

func (*TaikoL1ClientSession) ProveBlock

func (_TaikoL1Client *TaikoL1ClientSession) ProveBlock(blockIndex *big.Int, inputs [][]byte) (*types.Transaction, error)

ProveBlock is a paid mutator transaction binding the contract method 0x8ed7b3be.

Solidity: function proveBlock(uint256 blockIndex, bytes[] inputs) returns()

func (*TaikoL1ClientSession) ProveBlockInvalid

func (_TaikoL1Client *TaikoL1ClientSession) ProveBlockInvalid(blockIndex *big.Int, inputs [][]byte) (*types.Transaction, error)

ProveBlockInvalid is a paid mutator transaction binding the contract method 0xa279cec7.

Solidity: function proveBlockInvalid(uint256 blockIndex, bytes[] inputs) returns()

func (*TaikoL1ClientSession) RenounceOwnership

func (_TaikoL1Client *TaikoL1ClientSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TaikoL1ClientSession) Resolve

func (_TaikoL1Client *TaikoL1ClientSession) Resolve(name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string name) view returns(address)

func (*TaikoL1ClientSession) Resolve0

func (_TaikoL1Client *TaikoL1ClientSession) Resolve0(chainId *big.Int, name string) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xf16c7934.

Solidity: function resolve(uint256 chainId, string name) view returns(address)

func (*TaikoL1ClientSession) SignWithGoldenTouch

func (_TaikoL1Client *TaikoL1ClientSession) SignWithGoldenTouch(hash [32]byte, k uint8) (struct {
	V uint8
	R *big.Int
	S *big.Int
}, error)

SignWithGoldenTouch is a free data retrieval call binding the contract method 0xdadec12a.

Solidity: function signWithGoldenTouch(bytes32 hash, uint8 k) view returns(uint8 v, uint256 r, uint256 s)

func (*TaikoL1ClientSession) State

func (_TaikoL1Client *TaikoL1ClientSession) State() (struct {
	StatusBits           uint64
	GenesisHeight        uint64
	LatestVerifiedHeight uint64
	LatestVerifiedId     uint64
	NextBlockId          uint64
}, error)

State is a free data retrieval call binding the contract method 0xc19d93fb.

Solidity: function state() view returns(uint64 statusBits, uint64 genesisHeight, uint64 latestVerifiedHeight, uint64 latestVerifiedId, uint64 nextBlockId)

func (*TaikoL1ClientSession) TransferOwnership

func (_TaikoL1Client *TaikoL1ClientSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*TaikoL1ClientSession) VerifyBlocks

func (_TaikoL1Client *TaikoL1ClientSession) VerifyBlocks(maxBlocks *big.Int) (*types.Transaction, error)

VerifyBlocks is a paid mutator transaction binding the contract method 0x2fb5ae0a.

Solidity: function verifyBlocks(uint256 maxBlocks) returns()

func (*TaikoL1ClientSession) WhitelistProver

func (_TaikoL1Client *TaikoL1ClientSession) WhitelistProver(prover common.Address, whitelisted bool) (*types.Transaction, error)

WhitelistProver is a paid mutator transaction binding the contract method 0xa28088ea.

Solidity: function whitelistProver(address prover, bool whitelisted) returns()

type TaikoL1ClientTransactor

type TaikoL1ClientTransactor struct {
	// contains filtered or unexported fields
}

TaikoL1ClientTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewTaikoL1ClientTransactor

func NewTaikoL1ClientTransactor(address common.Address, transactor bind.ContractTransactor) (*TaikoL1ClientTransactor, error)

NewTaikoL1ClientTransactor creates a new write-only instance of TaikoL1Client, bound to a specific deployed contract.

func (*TaikoL1ClientTransactor) CommitBlock

func (_TaikoL1Client *TaikoL1ClientTransactor) CommitBlock(opts *bind.TransactOpts, commitSlot uint64, commitHash [32]byte) (*types.Transaction, error)

CommitBlock is a paid mutator transaction binding the contract method 0x7e7a262c.

Solidity: function commitBlock(uint64 commitSlot, bytes32 commitHash) returns()

func (*TaikoL1ClientTransactor) Halt added in v0.1.5

func (_TaikoL1Client *TaikoL1ClientTransactor) Halt(opts *bind.TransactOpts, toHalt bool) (*types.Transaction, error)

Halt is a paid mutator transaction binding the contract method 0x96a38d22.

Solidity: function halt(bool toHalt) returns()

func (*TaikoL1ClientTransactor) Init

func (_TaikoL1Client *TaikoL1ClientTransactor) Init(opts *bind.TransactOpts, _addressManager common.Address, _genesisBlockHash [32]byte) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x2cc0b254.

Solidity: function init(address _addressManager, bytes32 _genesisBlockHash) returns()

func (*TaikoL1ClientTransactor) ProposeBlock

func (_TaikoL1Client *TaikoL1ClientTransactor) ProposeBlock(opts *bind.TransactOpts, inputs [][]byte) (*types.Transaction, error)

ProposeBlock is a paid mutator transaction binding the contract method 0xa043dbdf.

Solidity: function proposeBlock(bytes[] inputs) returns()

func (*TaikoL1ClientTransactor) ProveBlock

func (_TaikoL1Client *TaikoL1ClientTransactor) ProveBlock(opts *bind.TransactOpts, blockIndex *big.Int, inputs [][]byte) (*types.Transaction, error)

ProveBlock is a paid mutator transaction binding the contract method 0x8ed7b3be.

Solidity: function proveBlock(uint256 blockIndex, bytes[] inputs) returns()

func (*TaikoL1ClientTransactor) ProveBlockInvalid

func (_TaikoL1Client *TaikoL1ClientTransactor) ProveBlockInvalid(opts *bind.TransactOpts, blockIndex *big.Int, inputs [][]byte) (*types.Transaction, error)

ProveBlockInvalid is a paid mutator transaction binding the contract method 0xa279cec7.

Solidity: function proveBlockInvalid(uint256 blockIndex, bytes[] inputs) returns()

func (*TaikoL1ClientTransactor) RenounceOwnership

func (_TaikoL1Client *TaikoL1ClientTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TaikoL1ClientTransactor) TransferOwnership

func (_TaikoL1Client *TaikoL1ClientTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*TaikoL1ClientTransactor) VerifyBlocks

func (_TaikoL1Client *TaikoL1ClientTransactor) VerifyBlocks(opts *bind.TransactOpts, maxBlocks *big.Int) (*types.Transaction, error)

VerifyBlocks is a paid mutator transaction binding the contract method 0x2fb5ae0a.

Solidity: function verifyBlocks(uint256 maxBlocks) returns()

func (*TaikoL1ClientTransactor) WhitelistProver

func (_TaikoL1Client *TaikoL1ClientTransactor) WhitelistProver(opts *bind.TransactOpts, prover common.Address, whitelisted bool) (*types.Transaction, error)

WhitelistProver is a paid mutator transaction binding the contract method 0xa28088ea.

Solidity: function whitelistProver(address prover, bool whitelisted) returns()

type TaikoL1ClientTransactorRaw

type TaikoL1ClientTransactorRaw struct {
	Contract *TaikoL1ClientTransactor // Generic write-only contract binding to access the raw methods on
}

TaikoL1ClientTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*TaikoL1ClientTransactorRaw) Transact

func (_TaikoL1Client *TaikoL1ClientTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TaikoL1ClientTransactorRaw) Transfer

func (_TaikoL1Client *TaikoL1ClientTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TaikoL1ClientTransactorSession

type TaikoL1ClientTransactorSession struct {
	Contract     *TaikoL1ClientTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

TaikoL1ClientTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*TaikoL1ClientTransactorSession) CommitBlock

func (_TaikoL1Client *TaikoL1ClientTransactorSession) CommitBlock(commitSlot uint64, commitHash [32]byte) (*types.Transaction, error)

CommitBlock is a paid mutator transaction binding the contract method 0x7e7a262c.

Solidity: function commitBlock(uint64 commitSlot, bytes32 commitHash) returns()

func (*TaikoL1ClientTransactorSession) Halt added in v0.1.5

func (_TaikoL1Client *TaikoL1ClientTransactorSession) Halt(toHalt bool) (*types.Transaction, error)

Halt is a paid mutator transaction binding the contract method 0x96a38d22.

Solidity: function halt(bool toHalt) returns()

func (*TaikoL1ClientTransactorSession) Init

func (_TaikoL1Client *TaikoL1ClientTransactorSession) Init(_addressManager common.Address, _genesisBlockHash [32]byte) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x2cc0b254.

Solidity: function init(address _addressManager, bytes32 _genesisBlockHash) returns()

func (*TaikoL1ClientTransactorSession) ProposeBlock

func (_TaikoL1Client *TaikoL1ClientTransactorSession) ProposeBlock(inputs [][]byte) (*types.Transaction, error)

ProposeBlock is a paid mutator transaction binding the contract method 0xa043dbdf.

Solidity: function proposeBlock(bytes[] inputs) returns()

func (*TaikoL1ClientTransactorSession) ProveBlock

func (_TaikoL1Client *TaikoL1ClientTransactorSession) ProveBlock(blockIndex *big.Int, inputs [][]byte) (*types.Transaction, error)

ProveBlock is a paid mutator transaction binding the contract method 0x8ed7b3be.

Solidity: function proveBlock(uint256 blockIndex, bytes[] inputs) returns()

func (*TaikoL1ClientTransactorSession) ProveBlockInvalid

func (_TaikoL1Client *TaikoL1ClientTransactorSession) ProveBlockInvalid(blockIndex *big.Int, inputs [][]byte) (*types.Transaction, error)

ProveBlockInvalid is a paid mutator transaction binding the contract method 0xa279cec7.

Solidity: function proveBlockInvalid(uint256 blockIndex, bytes[] inputs) returns()

func (*TaikoL1ClientTransactorSession) RenounceOwnership

func (_TaikoL1Client *TaikoL1ClientTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*TaikoL1ClientTransactorSession) TransferOwnership

func (_TaikoL1Client *TaikoL1ClientTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*TaikoL1ClientTransactorSession) VerifyBlocks

func (_TaikoL1Client *TaikoL1ClientTransactorSession) VerifyBlocks(maxBlocks *big.Int) (*types.Transaction, error)

VerifyBlocks is a paid mutator transaction binding the contract method 0x2fb5ae0a.

Solidity: function verifyBlocks(uint256 maxBlocks) returns()

func (*TaikoL1ClientTransactorSession) WhitelistProver

func (_TaikoL1Client *TaikoL1ClientTransactorSession) WhitelistProver(prover common.Address, whitelisted bool) (*types.Transaction, error)

WhitelistProver is a paid mutator transaction binding the contract method 0xa28088ea.

Solidity: function whitelistProver(address prover, bool whitelisted) returns()

type V1TaikoL2Client

type V1TaikoL2Client struct {
	V1TaikoL2ClientCaller     // Read-only binding to the contract
	V1TaikoL2ClientTransactor // Write-only binding to the contract
	V1TaikoL2ClientFilterer   // Log filterer for contract events
}

V1TaikoL2Client is an auto generated Go binding around an Ethereum contract.

func NewV1TaikoL2Client

func NewV1TaikoL2Client(address common.Address, backend bind.ContractBackend) (*V1TaikoL2Client, error)

NewV1TaikoL2Client creates a new instance of V1TaikoL2Client, bound to a specific deployed contract.

type V1TaikoL2ClientBlockInvalidated

type V1TaikoL2ClientBlockInvalidated struct {
	TxListHash [32]byte
	Raw        types.Log // Blockchain specific contextual infos
}

V1TaikoL2ClientBlockInvalidated represents a BlockInvalidated event raised by the V1TaikoL2Client contract.

type V1TaikoL2ClientBlockInvalidatedIterator

type V1TaikoL2ClientBlockInvalidatedIterator struct {
	Event *V1TaikoL2ClientBlockInvalidated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V1TaikoL2ClientBlockInvalidatedIterator is returned from FilterBlockInvalidated and is used to iterate over the raw logs and unpacked data for BlockInvalidated events raised by the V1TaikoL2Client contract.

func (*V1TaikoL2ClientBlockInvalidatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V1TaikoL2ClientBlockInvalidatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V1TaikoL2ClientBlockInvalidatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V1TaikoL2ClientCaller

type V1TaikoL2ClientCaller struct {
	// contains filtered or unexported fields
}

V1TaikoL2ClientCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewV1TaikoL2ClientCaller

func NewV1TaikoL2ClientCaller(address common.Address, caller bind.ContractCaller) (*V1TaikoL2ClientCaller, error)

NewV1TaikoL2ClientCaller creates a new read-only instance of V1TaikoL2Client, bound to a specific deployed contract.

func (*V1TaikoL2ClientCaller) AddressManager

func (_V1TaikoL2Client *V1TaikoL2ClientCaller) AddressManager(opts *bind.CallOpts) (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*V1TaikoL2ClientCaller) GetBlockHash

func (_V1TaikoL2Client *V1TaikoL2ClientCaller) GetBlockHash(opts *bind.CallOpts, number *big.Int) ([32]byte, error)

GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.

Solidity: function getBlockHash(uint256 number) view returns(bytes32)

func (*V1TaikoL2ClientCaller) GetConstants

func (_V1TaikoL2Client *V1TaikoL2ClientCaller) GetConstants(opts *bind.CallOpts) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, [32]byte, *big.Int, *big.Int, *big.Int, [4]byte, [32]byte, error)

GetConstants is a free data retrieval call binding the contract method 0x9a295e73.

Solidity: function getConstants() pure returns(uint256, uint256, uint256, uint256, uint256, uint256, uint256, uint256, bytes32, uint256, uint256, uint256, bytes4, bytes32)

func (*V1TaikoL2ClientCaller) GetLatestSyncedHeader

func (_V1TaikoL2Client *V1TaikoL2ClientCaller) GetLatestSyncedHeader(opts *bind.CallOpts) ([32]byte, error)

GetLatestSyncedHeader is a free data retrieval call binding the contract method 0x5155ce9f.

Solidity: function getLatestSyncedHeader() view returns(bytes32)

func (*V1TaikoL2ClientCaller) GetSyncedHeader

func (_V1TaikoL2Client *V1TaikoL2ClientCaller) GetSyncedHeader(opts *bind.CallOpts, number *big.Int) ([32]byte, error)

GetSyncedHeader is a free data retrieval call binding the contract method 0x25bf86f2.

Solidity: function getSyncedHeader(uint256 number) view returns(bytes32)

func (*V1TaikoL2ClientCaller) LatestSyncedHeader

func (_V1TaikoL2Client *V1TaikoL2ClientCaller) LatestSyncedHeader(opts *bind.CallOpts) ([32]byte, error)

LatestSyncedHeader is a free data retrieval call binding the contract method 0xc8d772ab.

Solidity: function latestSyncedHeader() view returns(bytes32)

func (*V1TaikoL2ClientCaller) PublicInputHash

func (_V1TaikoL2Client *V1TaikoL2ClientCaller) PublicInputHash(opts *bind.CallOpts) ([32]byte, error)

PublicInputHash is a free data retrieval call binding the contract method 0xdac5df78.

Solidity: function publicInputHash() view returns(bytes32)

func (*V1TaikoL2ClientCaller) Resolve

func (_V1TaikoL2Client *V1TaikoL2ClientCaller) Resolve(opts *bind.CallOpts, name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string name) view returns(address)

func (*V1TaikoL2ClientCaller) Resolve0

func (_V1TaikoL2Client *V1TaikoL2ClientCaller) Resolve0(opts *bind.CallOpts, chainId *big.Int, name string) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xf16c7934.

Solidity: function resolve(uint256 chainId, string name) view returns(address)

type V1TaikoL2ClientCallerRaw

type V1TaikoL2ClientCallerRaw struct {
	Contract *V1TaikoL2ClientCaller // Generic read-only contract binding to access the raw methods on
}

V1TaikoL2ClientCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*V1TaikoL2ClientCallerRaw) Call

func (_V1TaikoL2Client *V1TaikoL2ClientCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type V1TaikoL2ClientCallerSession

type V1TaikoL2ClientCallerSession struct {
	Contract *V1TaikoL2ClientCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts          // Call options to use throughout this session
}

V1TaikoL2ClientCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*V1TaikoL2ClientCallerSession) AddressManager

func (_V1TaikoL2Client *V1TaikoL2ClientCallerSession) AddressManager() (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*V1TaikoL2ClientCallerSession) GetBlockHash

func (_V1TaikoL2Client *V1TaikoL2ClientCallerSession) GetBlockHash(number *big.Int) ([32]byte, error)

GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.

Solidity: function getBlockHash(uint256 number) view returns(bytes32)

func (*V1TaikoL2ClientCallerSession) GetConstants

func (_V1TaikoL2Client *V1TaikoL2ClientCallerSession) GetConstants() (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, [32]byte, *big.Int, *big.Int, *big.Int, [4]byte, [32]byte, error)

GetConstants is a free data retrieval call binding the contract method 0x9a295e73.

Solidity: function getConstants() pure returns(uint256, uint256, uint256, uint256, uint256, uint256, uint256, uint256, bytes32, uint256, uint256, uint256, bytes4, bytes32)

func (*V1TaikoL2ClientCallerSession) GetLatestSyncedHeader

func (_V1TaikoL2Client *V1TaikoL2ClientCallerSession) GetLatestSyncedHeader() ([32]byte, error)

GetLatestSyncedHeader is a free data retrieval call binding the contract method 0x5155ce9f.

Solidity: function getLatestSyncedHeader() view returns(bytes32)

func (*V1TaikoL2ClientCallerSession) GetSyncedHeader

func (_V1TaikoL2Client *V1TaikoL2ClientCallerSession) GetSyncedHeader(number *big.Int) ([32]byte, error)

GetSyncedHeader is a free data retrieval call binding the contract method 0x25bf86f2.

Solidity: function getSyncedHeader(uint256 number) view returns(bytes32)

func (*V1TaikoL2ClientCallerSession) LatestSyncedHeader

func (_V1TaikoL2Client *V1TaikoL2ClientCallerSession) LatestSyncedHeader() ([32]byte, error)

LatestSyncedHeader is a free data retrieval call binding the contract method 0xc8d772ab.

Solidity: function latestSyncedHeader() view returns(bytes32)

func (*V1TaikoL2ClientCallerSession) PublicInputHash

func (_V1TaikoL2Client *V1TaikoL2ClientCallerSession) PublicInputHash() ([32]byte, error)

PublicInputHash is a free data retrieval call binding the contract method 0xdac5df78.

Solidity: function publicInputHash() view returns(bytes32)

func (*V1TaikoL2ClientCallerSession) Resolve

func (_V1TaikoL2Client *V1TaikoL2ClientCallerSession) Resolve(name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string name) view returns(address)

func (*V1TaikoL2ClientCallerSession) Resolve0

func (_V1TaikoL2Client *V1TaikoL2ClientCallerSession) Resolve0(chainId *big.Int, name string) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xf16c7934.

Solidity: function resolve(uint256 chainId, string name) view returns(address)

type V1TaikoL2ClientFilterer

type V1TaikoL2ClientFilterer struct {
	// contains filtered or unexported fields
}

V1TaikoL2ClientFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewV1TaikoL2ClientFilterer

func NewV1TaikoL2ClientFilterer(address common.Address, filterer bind.ContractFilterer) (*V1TaikoL2ClientFilterer, error)

NewV1TaikoL2ClientFilterer creates a new log filterer instance of V1TaikoL2Client, bound to a specific deployed contract.

func (*V1TaikoL2ClientFilterer) FilterBlockInvalidated

func (_V1TaikoL2Client *V1TaikoL2ClientFilterer) FilterBlockInvalidated(opts *bind.FilterOpts, txListHash [][32]byte) (*V1TaikoL2ClientBlockInvalidatedIterator, error)

FilterBlockInvalidated is a free log retrieval operation binding the contract event 0x64b299ff9f8ba674288abb53380419048a4271dda03b837ecba6b40e6ddea4a2.

Solidity: event BlockInvalidated(bytes32 indexed txListHash)

func (*V1TaikoL2ClientFilterer) FilterHeaderSynced

func (_V1TaikoL2Client *V1TaikoL2ClientFilterer) FilterHeaderSynced(opts *bind.FilterOpts, height []*big.Int, srcHeight []*big.Int) (*V1TaikoL2ClientHeaderSyncedIterator, error)

FilterHeaderSynced is a free log retrieval operation binding the contract event 0x930c750845026c7bb04c0e3d9111d512b4c86981713c4944a35a10a4a7a854f3.

Solidity: event HeaderSynced(uint256 indexed height, uint256 indexed srcHeight, bytes32 srcHash)

func (*V1TaikoL2ClientFilterer) ParseBlockInvalidated

func (_V1TaikoL2Client *V1TaikoL2ClientFilterer) ParseBlockInvalidated(log types.Log) (*V1TaikoL2ClientBlockInvalidated, error)

ParseBlockInvalidated is a log parse operation binding the contract event 0x64b299ff9f8ba674288abb53380419048a4271dda03b837ecba6b40e6ddea4a2.

Solidity: event BlockInvalidated(bytes32 indexed txListHash)

func (*V1TaikoL2ClientFilterer) ParseHeaderSynced

func (_V1TaikoL2Client *V1TaikoL2ClientFilterer) ParseHeaderSynced(log types.Log) (*V1TaikoL2ClientHeaderSynced, error)

ParseHeaderSynced is a log parse operation binding the contract event 0x930c750845026c7bb04c0e3d9111d512b4c86981713c4944a35a10a4a7a854f3.

Solidity: event HeaderSynced(uint256 indexed height, uint256 indexed srcHeight, bytes32 srcHash)

func (*V1TaikoL2ClientFilterer) WatchBlockInvalidated

func (_V1TaikoL2Client *V1TaikoL2ClientFilterer) WatchBlockInvalidated(opts *bind.WatchOpts, sink chan<- *V1TaikoL2ClientBlockInvalidated, txListHash [][32]byte) (event.Subscription, error)

WatchBlockInvalidated is a free log subscription operation binding the contract event 0x64b299ff9f8ba674288abb53380419048a4271dda03b837ecba6b40e6ddea4a2.

Solidity: event BlockInvalidated(bytes32 indexed txListHash)

func (*V1TaikoL2ClientFilterer) WatchHeaderSynced

func (_V1TaikoL2Client *V1TaikoL2ClientFilterer) WatchHeaderSynced(opts *bind.WatchOpts, sink chan<- *V1TaikoL2ClientHeaderSynced, height []*big.Int, srcHeight []*big.Int) (event.Subscription, error)

WatchHeaderSynced is a free log subscription operation binding the contract event 0x930c750845026c7bb04c0e3d9111d512b4c86981713c4944a35a10a4a7a854f3.

Solidity: event HeaderSynced(uint256 indexed height, uint256 indexed srcHeight, bytes32 srcHash)

type V1TaikoL2ClientHeaderSynced

type V1TaikoL2ClientHeaderSynced struct {
	Height    *big.Int
	SrcHeight *big.Int
	SrcHash   [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

V1TaikoL2ClientHeaderSynced represents a HeaderSynced event raised by the V1TaikoL2Client contract.

type V1TaikoL2ClientHeaderSyncedIterator

type V1TaikoL2ClientHeaderSyncedIterator struct {
	Event *V1TaikoL2ClientHeaderSynced // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

V1TaikoL2ClientHeaderSyncedIterator is returned from FilterHeaderSynced and is used to iterate over the raw logs and unpacked data for HeaderSynced events raised by the V1TaikoL2Client contract.

func (*V1TaikoL2ClientHeaderSyncedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*V1TaikoL2ClientHeaderSyncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*V1TaikoL2ClientHeaderSyncedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type V1TaikoL2ClientRaw

type V1TaikoL2ClientRaw struct {
	Contract *V1TaikoL2Client // Generic contract binding to access the raw methods on
}

V1TaikoL2ClientRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*V1TaikoL2ClientRaw) Call

func (_V1TaikoL2Client *V1TaikoL2ClientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*V1TaikoL2ClientRaw) Transact

func (_V1TaikoL2Client *V1TaikoL2ClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*V1TaikoL2ClientRaw) Transfer

func (_V1TaikoL2Client *V1TaikoL2ClientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type V1TaikoL2ClientSession

type V1TaikoL2ClientSession struct {
	Contract     *V1TaikoL2Client  // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

V1TaikoL2ClientSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*V1TaikoL2ClientSession) AddressManager

func (_V1TaikoL2Client *V1TaikoL2ClientSession) AddressManager() (common.Address, error)

AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.

Solidity: function addressManager() view returns(address)

func (*V1TaikoL2ClientSession) Anchor

func (_V1TaikoL2Client *V1TaikoL2ClientSession) Anchor(l1Height *big.Int, l1Hash [32]byte) (*types.Transaction, error)

Anchor is a paid mutator transaction binding the contract method 0xa0ca2d08.

Solidity: function anchor(uint256 l1Height, bytes32 l1Hash) returns()

func (*V1TaikoL2ClientSession) GetBlockHash

func (_V1TaikoL2Client *V1TaikoL2ClientSession) GetBlockHash(number *big.Int) ([32]byte, error)

GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.

Solidity: function getBlockHash(uint256 number) view returns(bytes32)

func (*V1TaikoL2ClientSession) GetConstants

func (_V1TaikoL2Client *V1TaikoL2ClientSession) GetConstants() (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, [32]byte, *big.Int, *big.Int, *big.Int, [4]byte, [32]byte, error)

GetConstants is a free data retrieval call binding the contract method 0x9a295e73.

Solidity: function getConstants() pure returns(uint256, uint256, uint256, uint256, uint256, uint256, uint256, uint256, bytes32, uint256, uint256, uint256, bytes4, bytes32)

func (*V1TaikoL2ClientSession) GetLatestSyncedHeader

func (_V1TaikoL2Client *V1TaikoL2ClientSession) GetLatestSyncedHeader() ([32]byte, error)

GetLatestSyncedHeader is a free data retrieval call binding the contract method 0x5155ce9f.

Solidity: function getLatestSyncedHeader() view returns(bytes32)

func (*V1TaikoL2ClientSession) GetSyncedHeader

func (_V1TaikoL2Client *V1TaikoL2ClientSession) GetSyncedHeader(number *big.Int) ([32]byte, error)

GetSyncedHeader is a free data retrieval call binding the contract method 0x25bf86f2.

Solidity: function getSyncedHeader(uint256 number) view returns(bytes32)

func (*V1TaikoL2ClientSession) InvalidateBlock

func (_V1TaikoL2Client *V1TaikoL2ClientSession) InvalidateBlock(txList []byte, hint uint8, txIdx *big.Int) (*types.Transaction, error)

InvalidateBlock is a paid mutator transaction binding the contract method 0x975e09a0.

Solidity: function invalidateBlock(bytes txList, uint8 hint, uint256 txIdx) returns()

func (*V1TaikoL2ClientSession) LatestSyncedHeader

func (_V1TaikoL2Client *V1TaikoL2ClientSession) LatestSyncedHeader() ([32]byte, error)

LatestSyncedHeader is a free data retrieval call binding the contract method 0xc8d772ab.

Solidity: function latestSyncedHeader() view returns(bytes32)

func (*V1TaikoL2ClientSession) PublicInputHash

func (_V1TaikoL2Client *V1TaikoL2ClientSession) PublicInputHash() ([32]byte, error)

PublicInputHash is a free data retrieval call binding the contract method 0xdac5df78.

Solidity: function publicInputHash() view returns(bytes32)

func (*V1TaikoL2ClientSession) Resolve

func (_V1TaikoL2Client *V1TaikoL2ClientSession) Resolve(name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string name) view returns(address)

func (*V1TaikoL2ClientSession) Resolve0

func (_V1TaikoL2Client *V1TaikoL2ClientSession) Resolve0(chainId *big.Int, name string) (common.Address, error)

Resolve0 is a free data retrieval call binding the contract method 0xf16c7934.

Solidity: function resolve(uint256 chainId, string name) view returns(address)

type V1TaikoL2ClientTransactor

type V1TaikoL2ClientTransactor struct {
	// contains filtered or unexported fields
}

V1TaikoL2ClientTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewV1TaikoL2ClientTransactor

func NewV1TaikoL2ClientTransactor(address common.Address, transactor bind.ContractTransactor) (*V1TaikoL2ClientTransactor, error)

NewV1TaikoL2ClientTransactor creates a new write-only instance of V1TaikoL2Client, bound to a specific deployed contract.

func (*V1TaikoL2ClientTransactor) Anchor

func (_V1TaikoL2Client *V1TaikoL2ClientTransactor) Anchor(opts *bind.TransactOpts, l1Height *big.Int, l1Hash [32]byte) (*types.Transaction, error)

Anchor is a paid mutator transaction binding the contract method 0xa0ca2d08.

Solidity: function anchor(uint256 l1Height, bytes32 l1Hash) returns()

func (*V1TaikoL2ClientTransactor) InvalidateBlock

func (_V1TaikoL2Client *V1TaikoL2ClientTransactor) InvalidateBlock(opts *bind.TransactOpts, txList []byte, hint uint8, txIdx *big.Int) (*types.Transaction, error)

InvalidateBlock is a paid mutator transaction binding the contract method 0x975e09a0.

Solidity: function invalidateBlock(bytes txList, uint8 hint, uint256 txIdx) returns()

type V1TaikoL2ClientTransactorRaw

type V1TaikoL2ClientTransactorRaw struct {
	Contract *V1TaikoL2ClientTransactor // Generic write-only contract binding to access the raw methods on
}

V1TaikoL2ClientTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*V1TaikoL2ClientTransactorRaw) Transact

func (_V1TaikoL2Client *V1TaikoL2ClientTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*V1TaikoL2ClientTransactorRaw) Transfer

func (_V1TaikoL2Client *V1TaikoL2ClientTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type V1TaikoL2ClientTransactorSession

type V1TaikoL2ClientTransactorSession struct {
	Contract     *V1TaikoL2ClientTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts          // Transaction auth options to use throughout this session
}

V1TaikoL2ClientTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*V1TaikoL2ClientTransactorSession) Anchor

func (_V1TaikoL2Client *V1TaikoL2ClientTransactorSession) Anchor(l1Height *big.Int, l1Hash [32]byte) (*types.Transaction, error)

Anchor is a paid mutator transaction binding the contract method 0xa0ca2d08.

Solidity: function anchor(uint256 l1Height, bytes32 l1Hash) returns()

func (*V1TaikoL2ClientTransactorSession) InvalidateBlock

func (_V1TaikoL2Client *V1TaikoL2ClientTransactorSession) InvalidateBlock(txList []byte, hint uint8, txIdx *big.Int) (*types.Transaction, error)

InvalidateBlock is a paid mutator transaction binding the contract method 0x975e09a0.

Solidity: function invalidateBlock(bytes txList, uint8 hint, uint256 txIdx) returns()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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