Documentation
¶
Index ¶
- Variables
- type LibUtilsStateVariables
- type TaikoDataBlockMetadata
- type TaikoDataConfig
- type TaikoDataForkChoice
- type TaikoDataProposedBlock
- type TaikoL1Client
- type TaikoL1ClientBlockCommitted
- type TaikoL1ClientBlockCommittedIterator
- type TaikoL1ClientBlockProposed
- type TaikoL1ClientBlockProposedIterator
- type TaikoL1ClientBlockProven
- type TaikoL1ClientBlockProvenIterator
- type TaikoL1ClientBlockVerified
- type TaikoL1ClientBlockVerifiedIterator
- type TaikoL1ClientCaller
- func (_TaikoL1Client *TaikoL1ClientCaller) AddressManager(opts *bind.CallOpts) (common.Address, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) GetBlockFee(opts *bind.CallOpts) (*big.Int, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) GetConfig(opts *bind.CallOpts) (TaikoDataConfig, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) GetForkChoice(opts *bind.CallOpts, id *big.Int, parentHash [32]byte) (TaikoDataForkChoice, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) GetLatestSyncedHeader(opts *bind.CallOpts) ([32]byte, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) GetProofReward(opts *bind.CallOpts, provenAt uint64, proposedAt uint64) (*big.Int, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) GetProposedBlock(opts *bind.CallOpts, id *big.Int) (TaikoDataProposedBlock, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) GetRewardBalance(opts *bind.CallOpts, addr common.Address) (*big.Int, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) GetStateVariables(opts *bind.CallOpts) (LibUtilsStateVariables, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) GetSyncedHeader(opts *bind.CallOpts, number *big.Int) ([32]byte, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) IsCommitValid(opts *bind.CallOpts, commitSlot *big.Int, commitHeight *big.Int, ...) (bool, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) Resolve(opts *bind.CallOpts, name string, allowZeroAddress bool) (common.Address, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) Resolve0(opts *bind.CallOpts, chainId *big.Int, name string, allowZeroAddress bool) (common.Address, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) SignWithGoldenTouch(opts *bind.CallOpts, hash [32]byte, k uint8) (struct{ ... }, error)
- func (_TaikoL1Client *TaikoL1ClientCaller) State(opts *bind.CallOpts) (struct{ ... }, error)
- type TaikoL1ClientCallerRaw
- type TaikoL1ClientCallerSession
- func (_TaikoL1Client *TaikoL1ClientCallerSession) AddressManager() (common.Address, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) GetBlockFee() (*big.Int, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) GetConfig() (TaikoDataConfig, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) GetForkChoice(id *big.Int, parentHash [32]byte) (TaikoDataForkChoice, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) GetLatestSyncedHeader() ([32]byte, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) GetProofReward(provenAt uint64, proposedAt uint64) (*big.Int, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) GetProposedBlock(id *big.Int) (TaikoDataProposedBlock, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) GetRewardBalance(addr common.Address) (*big.Int, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) GetStateVariables() (LibUtilsStateVariables, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) GetSyncedHeader(number *big.Int) ([32]byte, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) IsCommitValid(commitSlot *big.Int, commitHeight *big.Int, commitHash [32]byte) (bool, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) Owner() (common.Address, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) Resolve(name string, allowZeroAddress bool) (common.Address, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) Resolve0(chainId *big.Int, name string, allowZeroAddress bool) (common.Address, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) SignWithGoldenTouch(hash [32]byte, k uint8) (struct{ ... }, error)
- func (_TaikoL1Client *TaikoL1ClientCallerSession) State() (struct{ ... }, error)
- type TaikoL1ClientFilterer
- func (_TaikoL1Client *TaikoL1ClientFilterer) FilterBlockCommitted(opts *bind.FilterOpts) (*TaikoL1ClientBlockCommittedIterator, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) FilterBlockProposed(opts *bind.FilterOpts, id []*big.Int) (*TaikoL1ClientBlockProposedIterator, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) FilterBlockProven(opts *bind.FilterOpts, id []*big.Int) (*TaikoL1ClientBlockProvenIterator, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) FilterBlockVerified(opts *bind.FilterOpts, id []*big.Int) (*TaikoL1ClientBlockVerifiedIterator, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) FilterHeaderSynced(opts *bind.FilterOpts, srcHeight []*big.Int) (*TaikoL1ClientHeaderSyncedIterator, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) FilterInitialized(opts *bind.FilterOpts) (*TaikoL1ClientInitializedIterator, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*TaikoL1ClientOwnershipTransferredIterator, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) ParseBlockCommitted(log types.Log) (*TaikoL1ClientBlockCommitted, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) ParseBlockProposed(log types.Log) (*TaikoL1ClientBlockProposed, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) ParseBlockProven(log types.Log) (*TaikoL1ClientBlockProven, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) ParseBlockVerified(log types.Log) (*TaikoL1ClientBlockVerified, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) ParseHeaderSynced(log types.Log) (*TaikoL1ClientHeaderSynced, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) ParseInitialized(log types.Log) (*TaikoL1ClientInitialized, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) ParseOwnershipTransferred(log types.Log) (*TaikoL1ClientOwnershipTransferred, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) WatchBlockCommitted(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientBlockCommitted) (event.Subscription, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) WatchBlockProposed(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientBlockProposed, id []*big.Int) (event.Subscription, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) WatchBlockProven(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientBlockProven, id []*big.Int) (event.Subscription, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) WatchBlockVerified(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientBlockVerified, id []*big.Int) (event.Subscription, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) WatchHeaderSynced(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientHeaderSynced, ...) (event.Subscription, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientInitialized) (event.Subscription, error)
- func (_TaikoL1Client *TaikoL1ClientFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientOwnershipTransferred, ...) (event.Subscription, error)
- type TaikoL1ClientHeaderSynced
- type TaikoL1ClientHeaderSyncedIterator
- type TaikoL1ClientInitialized
- type TaikoL1ClientInitializedIterator
- type TaikoL1ClientOwnershipTransferred
- type TaikoL1ClientOwnershipTransferredIterator
- type TaikoL1ClientRaw
- func (_TaikoL1Client *TaikoL1ClientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TaikoL1Client *TaikoL1ClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TaikoL1ClientSession
- func (_TaikoL1Client *TaikoL1ClientSession) AddressManager() (common.Address, error)
- func (_TaikoL1Client *TaikoL1ClientSession) CommitBlock(commitSlot uint64, commitHash [32]byte) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientSession) GetBlockFee() (*big.Int, error)
- func (_TaikoL1Client *TaikoL1ClientSession) GetConfig() (TaikoDataConfig, error)
- func (_TaikoL1Client *TaikoL1ClientSession) GetForkChoice(id *big.Int, parentHash [32]byte) (TaikoDataForkChoice, error)
- func (_TaikoL1Client *TaikoL1ClientSession) GetLatestSyncedHeader() ([32]byte, error)
- func (_TaikoL1Client *TaikoL1ClientSession) GetProofReward(provenAt uint64, proposedAt uint64) (*big.Int, error)
- func (_TaikoL1Client *TaikoL1ClientSession) GetProposedBlock(id *big.Int) (TaikoDataProposedBlock, error)
- func (_TaikoL1Client *TaikoL1ClientSession) GetRewardBalance(addr common.Address) (*big.Int, error)
- func (_TaikoL1Client *TaikoL1ClientSession) GetStateVariables() (LibUtilsStateVariables, error)
- func (_TaikoL1Client *TaikoL1ClientSession) GetSyncedHeader(number *big.Int) ([32]byte, error)
- func (_TaikoL1Client *TaikoL1ClientSession) Init(_addressManager common.Address, _genesisBlockHash [32]byte, _feeBase *big.Int) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientSession) IsCommitValid(commitSlot *big.Int, commitHeight *big.Int, commitHash [32]byte) (bool, error)
- func (_TaikoL1Client *TaikoL1ClientSession) Owner() (common.Address, error)
- func (_TaikoL1Client *TaikoL1ClientSession) ProposeBlock(inputs [][]byte) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientSession) ProveBlock(blockId *big.Int, inputs [][]byte) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientSession) ProveBlockInvalid(blockId *big.Int, inputs [][]byte) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientSession) RenounceOwnership() (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientSession) Resolve(name string, allowZeroAddress bool) (common.Address, error)
- func (_TaikoL1Client *TaikoL1ClientSession) Resolve0(chainId *big.Int, name string, allowZeroAddress bool) (common.Address, error)
- func (_TaikoL1Client *TaikoL1ClientSession) SignWithGoldenTouch(hash [32]byte, k uint8) (struct{ ... }, error)
- func (_TaikoL1Client *TaikoL1ClientSession) State() (struct{ ... }, error)
- func (_TaikoL1Client *TaikoL1ClientSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientSession) VerifyBlocks(maxBlocks *big.Int) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientSession) WithdrawBalance() (*types.Transaction, error)
- type TaikoL1ClientTransactor
- func (_TaikoL1Client *TaikoL1ClientTransactor) CommitBlock(opts *bind.TransactOpts, commitSlot uint64, commitHash [32]byte) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactor) Init(opts *bind.TransactOpts, _addressManager common.Address, ...) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactor) ProposeBlock(opts *bind.TransactOpts, inputs [][]byte) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactor) ProveBlock(opts *bind.TransactOpts, blockId *big.Int, inputs [][]byte) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactor) ProveBlockInvalid(opts *bind.TransactOpts, blockId *big.Int, inputs [][]byte) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactor) VerifyBlocks(opts *bind.TransactOpts, maxBlocks *big.Int) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactor) WithdrawBalance(opts *bind.TransactOpts) (*types.Transaction, error)
- type TaikoL1ClientTransactorRaw
- type TaikoL1ClientTransactorSession
- func (_TaikoL1Client *TaikoL1ClientTransactorSession) CommitBlock(commitSlot uint64, commitHash [32]byte) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactorSession) Init(_addressManager common.Address, _genesisBlockHash [32]byte, _feeBase *big.Int) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactorSession) ProposeBlock(inputs [][]byte) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactorSession) ProveBlock(blockId *big.Int, inputs [][]byte) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactorSession) ProveBlockInvalid(blockId *big.Int, inputs [][]byte) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactorSession) VerifyBlocks(maxBlocks *big.Int) (*types.Transaction, error)
- func (_TaikoL1Client *TaikoL1ClientTransactorSession) WithdrawBalance() (*types.Transaction, error)
- type TaikoL2Client
- type TaikoL2ClientBlockInvalidated
- type TaikoL2ClientBlockInvalidatedIterator
- type TaikoL2ClientCaller
- func (_TaikoL2Client *TaikoL2ClientCaller) AddressManager(opts *bind.CallOpts) (common.Address, error)
- func (_TaikoL2Client *TaikoL2ClientCaller) GetBlockHash(opts *bind.CallOpts, number *big.Int) ([32]byte, error)
- func (_TaikoL2Client *TaikoL2ClientCaller) GetConfig(opts *bind.CallOpts) (TaikoDataConfig, error)
- func (_TaikoL2Client *TaikoL2ClientCaller) GetLatestSyncedHeader(opts *bind.CallOpts) ([32]byte, error)
- func (_TaikoL2Client *TaikoL2ClientCaller) GetSyncedHeader(opts *bind.CallOpts, number *big.Int) ([32]byte, error)
- func (_TaikoL2Client *TaikoL2ClientCaller) LatestSyncedL1Height(opts *bind.CallOpts) (*big.Int, error)
- func (_TaikoL2Client *TaikoL2ClientCaller) Resolve(opts *bind.CallOpts, name string, allowZeroAddress bool) (common.Address, error)
- func (_TaikoL2Client *TaikoL2ClientCaller) Resolve0(opts *bind.CallOpts, chainId *big.Int, name string, allowZeroAddress bool) (common.Address, error)
- type TaikoL2ClientCallerRaw
- type TaikoL2ClientCallerSession
- func (_TaikoL2Client *TaikoL2ClientCallerSession) AddressManager() (common.Address, error)
- func (_TaikoL2Client *TaikoL2ClientCallerSession) GetBlockHash(number *big.Int) ([32]byte, error)
- func (_TaikoL2Client *TaikoL2ClientCallerSession) GetConfig() (TaikoDataConfig, error)
- func (_TaikoL2Client *TaikoL2ClientCallerSession) GetLatestSyncedHeader() ([32]byte, error)
- func (_TaikoL2Client *TaikoL2ClientCallerSession) GetSyncedHeader(number *big.Int) ([32]byte, error)
- func (_TaikoL2Client *TaikoL2ClientCallerSession) LatestSyncedL1Height() (*big.Int, error)
- func (_TaikoL2Client *TaikoL2ClientCallerSession) Resolve(name string, allowZeroAddress bool) (common.Address, error)
- func (_TaikoL2Client *TaikoL2ClientCallerSession) Resolve0(chainId *big.Int, name string, allowZeroAddress bool) (common.Address, error)
- type TaikoL2ClientFilterer
- func (_TaikoL2Client *TaikoL2ClientFilterer) FilterBlockInvalidated(opts *bind.FilterOpts, txListHash [][32]byte) (*TaikoL2ClientBlockInvalidatedIterator, error)
- func (_TaikoL2Client *TaikoL2ClientFilterer) FilterHeaderSynced(opts *bind.FilterOpts, srcHeight []*big.Int) (*TaikoL2ClientHeaderSyncedIterator, error)
- func (_TaikoL2Client *TaikoL2ClientFilterer) ParseBlockInvalidated(log types.Log) (*TaikoL2ClientBlockInvalidated, error)
- func (_TaikoL2Client *TaikoL2ClientFilterer) ParseHeaderSynced(log types.Log) (*TaikoL2ClientHeaderSynced, error)
- func (_TaikoL2Client *TaikoL2ClientFilterer) WatchBlockInvalidated(opts *bind.WatchOpts, sink chan<- *TaikoL2ClientBlockInvalidated, ...) (event.Subscription, error)
- func (_TaikoL2Client *TaikoL2ClientFilterer) WatchHeaderSynced(opts *bind.WatchOpts, sink chan<- *TaikoL2ClientHeaderSynced, ...) (event.Subscription, error)
- type TaikoL2ClientHeaderSynced
- type TaikoL2ClientHeaderSyncedIterator
- type TaikoL2ClientRaw
- func (_TaikoL2Client *TaikoL2ClientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TaikoL2Client *TaikoL2ClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TaikoL2Client *TaikoL2ClientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TaikoL2ClientSession
- func (_TaikoL2Client *TaikoL2ClientSession) AddressManager() (common.Address, error)
- func (_TaikoL2Client *TaikoL2ClientSession) Anchor(l1Height *big.Int, l1Hash [32]byte) (*types.Transaction, error)
- func (_TaikoL2Client *TaikoL2ClientSession) GetBlockHash(number *big.Int) ([32]byte, error)
- func (_TaikoL2Client *TaikoL2ClientSession) GetConfig() (TaikoDataConfig, error)
- func (_TaikoL2Client *TaikoL2ClientSession) GetLatestSyncedHeader() ([32]byte, error)
- func (_TaikoL2Client *TaikoL2ClientSession) GetSyncedHeader(number *big.Int) ([32]byte, error)
- func (_TaikoL2Client *TaikoL2ClientSession) InvalidateBlock(txList []byte, hint uint8, txIdx *big.Int) (*types.Transaction, error)
- func (_TaikoL2Client *TaikoL2ClientSession) LatestSyncedL1Height() (*big.Int, error)
- func (_TaikoL2Client *TaikoL2ClientSession) Resolve(name string, allowZeroAddress bool) (common.Address, error)
- func (_TaikoL2Client *TaikoL2ClientSession) Resolve0(chainId *big.Int, name string, allowZeroAddress bool) (common.Address, error)
- type TaikoL2ClientTransactor
- func (_TaikoL2Client *TaikoL2ClientTransactor) Anchor(opts *bind.TransactOpts, l1Height *big.Int, l1Hash [32]byte) (*types.Transaction, error)
- func (_TaikoL2Client *TaikoL2ClientTransactor) InvalidateBlock(opts *bind.TransactOpts, txList []byte, hint uint8, txIdx *big.Int) (*types.Transaction, error)
- type TaikoL2ClientTransactorRaw
- type TaikoL2ClientTransactorSession
Constants ¶
This section is empty.
Variables ¶
var ( // Account address and private key of golden touch account, defined in protocol's LibAnchorSignature. // ref: https://github.com/taikoxyz/taiko-mono/blob/main/packages/protocol/contracts/libs/LibAnchorSignature.sol GoldenTouchAddress = common.HexToAddress("0x0000777735367b36bC9B61C50022d9D0700dB4Ec") GoldenTouchPrivKey = "0x92954368afd3caa1f3ce3ead0069c1af414054aefe1ef9aeacc1bf426222ce38" )
var TaikoL1ClientABI = TaikoL1ClientMetaData.ABI
TaikoL1ClientABI is the input ABI used to generate the binding from. Deprecated: Use TaikoL1ClientMetaData.ABI instead.
var TaikoL1ClientMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"L1_0_FEE_BASE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ALREADY_PROVEN\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ANCHOR_CALLDATA\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ANCHOR_DEST\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ANCHOR_GAS_LIMIT\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ANCHOR_RECEIPT_ADDR\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ANCHOR_RECEIPT_DATA\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ANCHOR_RECEIPT_LOGS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ANCHOR_RECEIPT_PROOF\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ANCHOR_RECEIPT_STATUS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ANCHOR_RECEIPT_TOPICS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ANCHOR_SIG_R\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ANCHOR_SIG_S\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ANCHOR_TX_PROOF\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ANCHOR_TYPE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_BLOCK_NUMBER\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_BLOCK_NUMBER\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_CANNOT_BE_FIRST_PROVER\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_COMMITTED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_CONFLICT_PROOF\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_CONTRACT_NOT_ALLOWED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_DUP_PROVERS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_EXTRA_DATA\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_GAS_LIMIT\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INPUT_SIZE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_INVALID_PARAM\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_METADATA_FIELD\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_META_MISMATCH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_NOT_COMMITTED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_NOT_ORACLE_PROVER\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_PROOF_LENGTH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_PROVER\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_SOLO_PROPOSER\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_TOO_MANY_BLOCKS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_TX_LIST\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L1_ZKP\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RESOLVER_DENIED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RESOLVER_INVALID_ADDR\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"commitSlot\",\"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\":\"structTaikoData.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\":\"address\",\"name\":\"prover\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"provenAt\",\"type\":\"uint64\"}],\"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\":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\"},{\"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\":[],\"name\":\"getBlockFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConfig\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxNumBlocks\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockHashHistory\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxVerificationsPerTx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"commitConfirmations\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockMaxGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxTransactionsPerBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxBytesPerTxList\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minTxGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"anchorTxGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slotSmoothingFactor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardBurnBips\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"proposerDepositPctg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeBaseMAF\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockTimeMAF\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"proofTimeMAF\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"rewardMultiplierPctg\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"feeGracePeriodPctg\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"feeMaxPeriodPctg\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"blockTimeCap\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"proofTimeCap\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"bootstrapDiscountHalvingPeriod\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"enableTokenomics\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"enablePublicInputsCheck\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"enableAnchorValidation\",\"type\":\"bool\"}],\"internalType\":\"structTaikoData.Config\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"parentHash\",\"type\":\"bytes32\"}],\"name\":\"getForkChoice\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"prover\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"provenAt\",\"type\":\"uint64\"}],\"internalType\":\"structTaikoData.ForkChoice\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLatestSyncedHeader\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"provenAt\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"proposedAt\",\"type\":\"uint64\"}],\"name\":\"getProofReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"getProposedBlock\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"metaHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"deposit\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"proposer\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"proposedAt\",\"type\":\"uint64\"}],\"internalType\":\"structTaikoData.ProposedBlock\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getRewardBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStateVariables\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"feeBase\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"genesisHeight\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"genesisTimestamp\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"nextBlockId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"lastProposedAt\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"avgBlockTime\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"latestVerifiedHeight\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"latestVerifiedId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"avgProofTime\",\"type\":\"uint64\"}],\"internalType\":\"structLibUtils.StateVariables\",\"name\":\"\",\"type\":\"tuple\"}],\"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\":\"address\",\"name\":\"_addressManager\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_genesisBlockHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_feeBase\",\"type\":\"uint256\"}],\"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\":\"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\":\"blockId\",\"type\":\"uint256\"},{\"internalType\":\"bytes[]\",\"name\":\"inputs\",\"type\":\"bytes[]\"}],\"name\":\"proveBlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockId\",\"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\"},{\"internalType\":\"bool\",\"name\":\"allowZeroAddress\",\"type\":\"bool\"}],\"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\"},{\"internalType\":\"bool\",\"name\":\"allowZeroAddress\",\"type\":\"bool\"}],\"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\":\"genesisHeight\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"genesisTimestamp\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"__reservedA1\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"__reservedA2\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"feeBase\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"nextBlockId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"lastProposedAt\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"avgBlockTime\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"__avgGasLimit\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"latestVerifiedHeight\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"latestVerifiedId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"avgProofTime\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"__reservedC1\",\"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\":[],\"name\":\"withdrawBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
TaikoL1ClientMetaData contains all meta data concerning the TaikoL1Client contract.
var TaikoL2ClientABI = TaikoL2ClientMetaData.ABI
TaikoL2ClientABI is the input ABI used to generate the binding from. Deprecated: Use TaikoL2ClientMetaData.ABI instead.
var TaikoL2ClientMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addressManager\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ERR_INVALID_HINT\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERR_INVALID_TX_IDX\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERR_PARAMS_NOT_DEFAULTS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERR_VERIFICAITON_FAILURE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L2_INVALID_CHAIN_ID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L2_INVALID_GAS_PRICE\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L2_INVALID_SENDER\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"L2_PUBLIC_INPUT_HASH_MISMATCH\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RESOLVER_DENIED\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RESOLVER_INVALID_ADDR\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"txListHash\",\"type\":\"bytes32\"}],\"name\":\"BlockInvalidated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"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\":\"getConfig\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxNumBlocks\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockHashHistory\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxVerificationsPerTx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"commitConfirmations\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockMaxGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxTransactionsPerBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxBytesPerTxList\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minTxGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"anchorTxGasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slotSmoothingFactor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardBurnBips\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"proposerDepositPctg\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeBaseMAF\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockTimeMAF\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"proofTimeMAF\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"rewardMultiplierPctg\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"feeGracePeriodPctg\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"feeMaxPeriodPctg\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"blockTimeCap\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"proofTimeCap\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"bootstrapDiscountHalvingPeriod\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"enableTokenomics\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"enablePublicInputsCheck\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"enableAnchorValidation\",\"type\":\"bool\"}],\"internalType\":\"structTaikoData.Config\",\"name\":\"config\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"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.Hint\",\"name\":\"hint\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"txIdx\",\"type\":\"uint256\"}],\"name\":\"invalidateBlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestSyncedL1Height\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"bool\",\"name\":\"allowZeroAddress\",\"type\":\"bool\"}],\"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\"},{\"internalType\":\"bool\",\"name\":\"allowZeroAddress\",\"type\":\"bool\"}],\"name\":\"resolve\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
TaikoL2ClientMetaData contains all meta data concerning the TaikoL2Client contract.
Functions ¶
This section is empty.
Types ¶
type LibUtilsStateVariables ¶ added in v0.2.4
type LibUtilsStateVariables struct { FeeBase *big.Int GenesisHeight uint64 GenesisTimestamp uint64 NextBlockId uint64 LastProposedAt uint64 AvgBlockTime uint64 LatestVerifiedHeight uint64 LatestVerifiedId uint64 AvgProofTime uint64 }
LibUtilsStateVariables is an auto generated low-level Go binding around an user-defined struct.
type TaikoDataBlockMetadata ¶ added in v0.2.2
type TaikoDataBlockMetadata 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 }
TaikoDataBlockMetadata is an auto generated low-level Go binding around an user-defined struct.
type TaikoDataConfig ¶ added in v0.2.2
type TaikoDataConfig struct { ChainId *big.Int MaxNumBlocks *big.Int BlockHashHistory *big.Int MaxVerificationsPerTx *big.Int CommitConfirmations *big.Int BlockMaxGasLimit *big.Int MaxTransactionsPerBlock *big.Int MaxBytesPerTxList *big.Int MinTxGasLimit *big.Int AnchorTxGasLimit *big.Int SlotSmoothingFactor *big.Int RewardBurnBips *big.Int ProposerDepositPctg *big.Int FeeBaseMAF *big.Int BlockTimeMAF *big.Int ProofTimeMAF *big.Int RewardMultiplierPctg uint64 FeeGracePeriodPctg uint64 FeeMaxPeriodPctg uint64 BlockTimeCap uint64 ProofTimeCap uint64 BootstrapDiscountHalvingPeriod uint64 EnableTokenomics bool EnablePublicInputsCheck bool EnableAnchorValidation bool }
TaikoDataConfig is an auto generated low-level Go binding around an user-defined struct.
type TaikoDataForkChoice ¶ added in v0.2.4
TaikoDataForkChoice is an auto generated low-level Go binding around an user-defined struct.
type TaikoDataProposedBlock ¶ added in v0.2.2
type TaikoDataProposedBlock struct { MetaHash [32]byte Deposit *big.Int Proposer common.Address ProposedAt uint64 }
TaikoDataProposedBlock 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 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 ¶
func (it *TaikoL1ClientBlockCommittedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaikoL1ClientBlockCommittedIterator) Error ¶
func (it *TaikoL1ClientBlockCommittedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaikoL1ClientBlockCommittedIterator) Next ¶
func (it *TaikoL1ClientBlockCommittedIterator) 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 TaikoL1ClientBlockProposed ¶
type TaikoL1ClientBlockProposed struct { Id *big.Int Meta TaikoDataBlockMetadata 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 ¶
func (it *TaikoL1ClientBlockProposedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaikoL1ClientBlockProposedIterator) Error ¶
func (it *TaikoL1ClientBlockProposedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaikoL1ClientBlockProposedIterator) Next ¶
func (it *TaikoL1ClientBlockProposedIterator) 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 TaikoL1ClientBlockProven ¶
type TaikoL1ClientBlockProven struct { Id *big.Int ParentHash [32]byte BlockHash [32]byte Prover common.Address ProvenAt uint64 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 ¶
func (it *TaikoL1ClientBlockProvenIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaikoL1ClientBlockProvenIterator) Error ¶
func (it *TaikoL1ClientBlockProvenIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaikoL1ClientBlockProvenIterator) Next ¶
func (it *TaikoL1ClientBlockProvenIterator) 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 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 ¶
func (it *TaikoL1ClientBlockVerifiedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaikoL1ClientBlockVerifiedIterator) Error ¶
func (it *TaikoL1ClientBlockVerifiedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaikoL1ClientBlockVerifiedIterator) Next ¶
func (it *TaikoL1ClientBlockVerifiedIterator) 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 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) GetBlockFee ¶ added in v0.2.2
GetBlockFee is a free data retrieval call binding the contract method 0x7baf0bc7.
Solidity: function getBlockFee() view returns(uint256)
func (*TaikoL1ClientCaller) GetConfig ¶ added in v0.2.2
func (_TaikoL1Client *TaikoL1ClientCaller) GetConfig(opts *bind.CallOpts) (TaikoDataConfig, error)
GetConfig is a free data retrieval call binding the contract method 0xc3f909d4.
Solidity: function getConfig() pure returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint64,uint64,uint64,uint64,uint64,uint64,bool,bool,bool))
func (*TaikoL1ClientCaller) GetForkChoice ¶ added in v0.2.4
func (_TaikoL1Client *TaikoL1ClientCaller) GetForkChoice(opts *bind.CallOpts, id *big.Int, parentHash [32]byte) (TaikoDataForkChoice, error)
GetForkChoice is a free data retrieval call binding the contract method 0xe00ea1e1.
Solidity: function getForkChoice(uint256 id, bytes32 parentHash) view returns((bytes32,address,uint64))
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) GetProofReward ¶ added in v0.2.2
func (_TaikoL1Client *TaikoL1ClientCaller) GetProofReward(opts *bind.CallOpts, provenAt uint64, proposedAt uint64) (*big.Int, error)
GetProofReward is a free data retrieval call binding the contract method 0x4ee56f9e.
Solidity: function getProofReward(uint64 provenAt, uint64 proposedAt) view returns(uint256 reward)
func (*TaikoL1ClientCaller) GetProposedBlock ¶
func (_TaikoL1Client *TaikoL1ClientCaller) GetProposedBlock(opts *bind.CallOpts, id *big.Int) (TaikoDataProposedBlock, error)
GetProposedBlock is a free data retrieval call binding the contract method 0x8972b10c.
Solidity: function getProposedBlock(uint256 id) view returns((bytes32,uint256,address,uint64))
func (*TaikoL1ClientCaller) GetRewardBalance ¶ added in v0.5.0
func (_TaikoL1Client *TaikoL1ClientCaller) GetRewardBalance(opts *bind.CallOpts, addr common.Address) (*big.Int, error)
GetRewardBalance is a free data retrieval call binding the contract method 0xd5a849e9.
Solidity: function getRewardBalance(address addr) view returns(uint256)
func (*TaikoL1ClientCaller) GetStateVariables ¶
func (_TaikoL1Client *TaikoL1ClientCaller) GetStateVariables(opts *bind.CallOpts) (LibUtilsStateVariables, error)
GetStateVariables is a free data retrieval call binding the contract method 0xdde89cf5.
Solidity: function getStateVariables() view returns((uint256,uint64,uint64,uint64,uint64,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) Owner ¶
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, allowZeroAddress bool) (common.Address, error)
Resolve is a free data retrieval call binding the contract method 0x0ca4dffd.
Solidity: function resolve(string name, bool allowZeroAddress) view returns(address)
func (*TaikoL1ClientCaller) Resolve0 ¶
func (_TaikoL1Client *TaikoL1ClientCaller) Resolve0(opts *bind.CallOpts, chainId *big.Int, name string, allowZeroAddress bool) (common.Address, error)
Resolve0 is a free data retrieval call binding the contract method 0x1be2bfa7.
Solidity: function resolve(uint256 chainId, string name, bool allowZeroAddress) 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 { GenesisHeight uint64 GenesisTimestamp uint64 ReservedA1 uint64 ReservedA2 uint64 FeeBase *big.Int NextBlockId uint64 LastProposedAt uint64 AvgBlockTime uint64 AvgGasLimit uint64 LatestVerifiedHeight uint64 LatestVerifiedId uint64 AvgProofTime uint64 ReservedC1 uint64 }, error)
State is a free data retrieval call binding the contract method 0xc19d93fb.
Solidity: function state() view returns(uint64 genesisHeight, uint64 genesisTimestamp, uint64 __reservedA1, uint64 __reservedA2, uint256 feeBase, uint64 nextBlockId, uint64 lastProposedAt, uint64 avgBlockTime, uint64 __avgGasLimit, uint64 latestVerifiedHeight, uint64 latestVerifiedId, uint64 avgProofTime, uint64 __reservedC1)
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) GetBlockFee ¶ added in v0.2.2
func (_TaikoL1Client *TaikoL1ClientCallerSession) GetBlockFee() (*big.Int, error)
GetBlockFee is a free data retrieval call binding the contract method 0x7baf0bc7.
Solidity: function getBlockFee() view returns(uint256)
func (*TaikoL1ClientCallerSession) GetConfig ¶ added in v0.2.2
func (_TaikoL1Client *TaikoL1ClientCallerSession) GetConfig() (TaikoDataConfig, error)
GetConfig is a free data retrieval call binding the contract method 0xc3f909d4.
Solidity: function getConfig() pure returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint64,uint64,uint64,uint64,uint64,uint64,bool,bool,bool))
func (*TaikoL1ClientCallerSession) GetForkChoice ¶ added in v0.2.4
func (_TaikoL1Client *TaikoL1ClientCallerSession) GetForkChoice(id *big.Int, parentHash [32]byte) (TaikoDataForkChoice, error)
GetForkChoice is a free data retrieval call binding the contract method 0xe00ea1e1.
Solidity: function getForkChoice(uint256 id, bytes32 parentHash) view returns((bytes32,address,uint64))
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) GetProofReward ¶ added in v0.2.2
func (_TaikoL1Client *TaikoL1ClientCallerSession) GetProofReward(provenAt uint64, proposedAt uint64) (*big.Int, error)
GetProofReward is a free data retrieval call binding the contract method 0x4ee56f9e.
Solidity: function getProofReward(uint64 provenAt, uint64 proposedAt) view returns(uint256 reward)
func (*TaikoL1ClientCallerSession) GetProposedBlock ¶
func (_TaikoL1Client *TaikoL1ClientCallerSession) GetProposedBlock(id *big.Int) (TaikoDataProposedBlock, error)
GetProposedBlock is a free data retrieval call binding the contract method 0x8972b10c.
Solidity: function getProposedBlock(uint256 id) view returns((bytes32,uint256,address,uint64))
func (*TaikoL1ClientCallerSession) GetRewardBalance ¶ added in v0.5.0
func (_TaikoL1Client *TaikoL1ClientCallerSession) GetRewardBalance(addr common.Address) (*big.Int, error)
GetRewardBalance is a free data retrieval call binding the contract method 0xd5a849e9.
Solidity: function getRewardBalance(address addr) view returns(uint256)
func (*TaikoL1ClientCallerSession) GetStateVariables ¶
func (_TaikoL1Client *TaikoL1ClientCallerSession) GetStateVariables() (LibUtilsStateVariables, error)
GetStateVariables is a free data retrieval call binding the contract method 0xdde89cf5.
Solidity: function getStateVariables() view returns((uint256,uint64,uint64,uint64,uint64,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) 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, allowZeroAddress bool) (common.Address, error)
Resolve is a free data retrieval call binding the contract method 0x0ca4dffd.
Solidity: function resolve(string name, bool allowZeroAddress) view returns(address)
func (*TaikoL1ClientCallerSession) Resolve0 ¶
func (_TaikoL1Client *TaikoL1ClientCallerSession) Resolve0(chainId *big.Int, name string, allowZeroAddress bool) (common.Address, error)
Resolve0 is a free data retrieval call binding the contract method 0x1be2bfa7.
Solidity: function resolve(uint256 chainId, string name, bool allowZeroAddress) 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 { GenesisHeight uint64 GenesisTimestamp uint64 ReservedA1 uint64 ReservedA2 uint64 FeeBase *big.Int NextBlockId uint64 LastProposedAt uint64 AvgBlockTime uint64 AvgGasLimit uint64 LatestVerifiedHeight uint64 LatestVerifiedId uint64 AvgProofTime uint64 ReservedC1 uint64 }, error)
State is a free data retrieval call binding the contract method 0xc19d93fb.
Solidity: function state() view returns(uint64 genesisHeight, uint64 genesisTimestamp, uint64 __reservedA1, uint64 __reservedA2, uint256 feeBase, uint64 nextBlockId, uint64 lastProposedAt, uint64 avgBlockTime, uint64 __avgGasLimit, uint64 latestVerifiedHeight, uint64 latestVerifiedId, uint64 avgProofTime, uint64 __reservedC1)
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 0x51264991e22d808f3bcbb1cbffa82b752eae327c24055259a5c455c0aa5b7136.
Solidity: event BlockCommitted(uint64 commitSlot, 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 0x45848a3b2a67571e5876283456675aa3e05880e4f5a73447bd86cef5a181db38.
Solidity: event BlockProven(uint256 indexed id, bytes32 parentHash, bytes32 blockHash, address prover, uint64 provenAt)
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) FilterHeaderSynced ¶
func (_TaikoL1Client *TaikoL1ClientFilterer) FilterHeaderSynced(opts *bind.FilterOpts, srcHeight []*big.Int) (*TaikoL1ClientHeaderSyncedIterator, error)
FilterHeaderSynced is a free log retrieval operation binding the contract event 0x58313b60ec6c5bfc381e52f0de3ede0faac3cdffea26f7d6bcc3d09b61018691.
Solidity: event HeaderSynced(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) ParseBlockCommitted ¶
func (_TaikoL1Client *TaikoL1ClientFilterer) ParseBlockCommitted(log types.Log) (*TaikoL1ClientBlockCommitted, error)
ParseBlockCommitted is a log parse operation binding the contract event 0x51264991e22d808f3bcbb1cbffa82b752eae327c24055259a5c455c0aa5b7136.
Solidity: event BlockCommitted(uint64 commitSlot, 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 0x45848a3b2a67571e5876283456675aa3e05880e4f5a73447bd86cef5a181db38.
Solidity: event BlockProven(uint256 indexed id, bytes32 parentHash, bytes32 blockHash, address prover, uint64 provenAt)
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) ParseHeaderSynced ¶
func (_TaikoL1Client *TaikoL1ClientFilterer) ParseHeaderSynced(log types.Log) (*TaikoL1ClientHeaderSynced, error)
ParseHeaderSynced is a log parse operation binding the contract event 0x58313b60ec6c5bfc381e52f0de3ede0faac3cdffea26f7d6bcc3d09b61018691.
Solidity: event HeaderSynced(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) 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 0x51264991e22d808f3bcbb1cbffa82b752eae327c24055259a5c455c0aa5b7136.
Solidity: event BlockCommitted(uint64 commitSlot, 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 0x45848a3b2a67571e5876283456675aa3e05880e4f5a73447bd86cef5a181db38.
Solidity: event BlockProven(uint256 indexed id, bytes32 parentHash, bytes32 blockHash, address prover, uint64 provenAt)
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) WatchHeaderSynced ¶
func (_TaikoL1Client *TaikoL1ClientFilterer) WatchHeaderSynced(opts *bind.WatchOpts, sink chan<- *TaikoL1ClientHeaderSynced, srcHeight []*big.Int) (event.Subscription, error)
WatchHeaderSynced is a free log subscription operation binding the contract event 0x58313b60ec6c5bfc381e52f0de3ede0faac3cdffea26f7d6bcc3d09b61018691.
Solidity: event HeaderSynced(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)
type TaikoL1ClientHeaderSynced ¶
type TaikoL1ClientHeaderSynced struct { 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 ¶
func (it *TaikoL1ClientHeaderSyncedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaikoL1ClientHeaderSyncedIterator) Error ¶
func (it *TaikoL1ClientHeaderSyncedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaikoL1ClientHeaderSyncedIterator) Next ¶
func (it *TaikoL1ClientHeaderSyncedIterator) 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 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 ¶
func (it *TaikoL1ClientInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaikoL1ClientInitializedIterator) Error ¶
func (it *TaikoL1ClientInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaikoL1ClientInitializedIterator) Next ¶
func (it *TaikoL1ClientInitializedIterator) 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 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 ¶
func (it *TaikoL1ClientOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaikoL1ClientOwnershipTransferredIterator) Error ¶
func (it *TaikoL1ClientOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaikoL1ClientOwnershipTransferredIterator) Next ¶
func (it *TaikoL1ClientOwnershipTransferredIterator) 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 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) GetBlockFee ¶ added in v0.2.2
func (_TaikoL1Client *TaikoL1ClientSession) GetBlockFee() (*big.Int, error)
GetBlockFee is a free data retrieval call binding the contract method 0x7baf0bc7.
Solidity: function getBlockFee() view returns(uint256)
func (*TaikoL1ClientSession) GetConfig ¶ added in v0.2.2
func (_TaikoL1Client *TaikoL1ClientSession) GetConfig() (TaikoDataConfig, error)
GetConfig is a free data retrieval call binding the contract method 0xc3f909d4.
Solidity: function getConfig() pure returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint64,uint64,uint64,uint64,uint64,uint64,bool,bool,bool))
func (*TaikoL1ClientSession) GetForkChoice ¶ added in v0.2.4
func (_TaikoL1Client *TaikoL1ClientSession) GetForkChoice(id *big.Int, parentHash [32]byte) (TaikoDataForkChoice, error)
GetForkChoice is a free data retrieval call binding the contract method 0xe00ea1e1.
Solidity: function getForkChoice(uint256 id, bytes32 parentHash) view returns((bytes32,address,uint64))
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) GetProofReward ¶ added in v0.2.2
func (_TaikoL1Client *TaikoL1ClientSession) GetProofReward(provenAt uint64, proposedAt uint64) (*big.Int, error)
GetProofReward is a free data retrieval call binding the contract method 0x4ee56f9e.
Solidity: function getProofReward(uint64 provenAt, uint64 proposedAt) view returns(uint256 reward)
func (*TaikoL1ClientSession) GetProposedBlock ¶
func (_TaikoL1Client *TaikoL1ClientSession) GetProposedBlock(id *big.Int) (TaikoDataProposedBlock, error)
GetProposedBlock is a free data retrieval call binding the contract method 0x8972b10c.
Solidity: function getProposedBlock(uint256 id) view returns((bytes32,uint256,address,uint64))
func (*TaikoL1ClientSession) GetRewardBalance ¶ added in v0.5.0
GetRewardBalance is a free data retrieval call binding the contract method 0xd5a849e9.
Solidity: function getRewardBalance(address addr) view returns(uint256)
func (*TaikoL1ClientSession) GetStateVariables ¶
func (_TaikoL1Client *TaikoL1ClientSession) GetStateVariables() (LibUtilsStateVariables, error)
GetStateVariables is a free data retrieval call binding the contract method 0xdde89cf5.
Solidity: function getStateVariables() view returns((uint256,uint64,uint64,uint64,uint64,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) Init ¶
func (_TaikoL1Client *TaikoL1ClientSession) Init(_addressManager common.Address, _genesisBlockHash [32]byte, _feeBase *big.Int) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x9c5e9f06.
Solidity: function init(address _addressManager, bytes32 _genesisBlockHash, uint256 _feeBase) 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) 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(blockId *big.Int, inputs [][]byte) (*types.Transaction, error)
ProveBlock is a paid mutator transaction binding the contract method 0x8ed7b3be.
Solidity: function proveBlock(uint256 blockId, bytes[] inputs) returns()
func (*TaikoL1ClientSession) ProveBlockInvalid ¶
func (_TaikoL1Client *TaikoL1ClientSession) ProveBlockInvalid(blockId *big.Int, inputs [][]byte) (*types.Transaction, error)
ProveBlockInvalid is a paid mutator transaction binding the contract method 0xa279cec7.
Solidity: function proveBlockInvalid(uint256 blockId, 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, allowZeroAddress bool) (common.Address, error)
Resolve is a free data retrieval call binding the contract method 0x0ca4dffd.
Solidity: function resolve(string name, bool allowZeroAddress) view returns(address)
func (*TaikoL1ClientSession) Resolve0 ¶
func (_TaikoL1Client *TaikoL1ClientSession) Resolve0(chainId *big.Int, name string, allowZeroAddress bool) (common.Address, error)
Resolve0 is a free data retrieval call binding the contract method 0x1be2bfa7.
Solidity: function resolve(uint256 chainId, string name, bool allowZeroAddress) 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 { GenesisHeight uint64 GenesisTimestamp uint64 ReservedA1 uint64 ReservedA2 uint64 FeeBase *big.Int NextBlockId uint64 LastProposedAt uint64 AvgBlockTime uint64 AvgGasLimit uint64 LatestVerifiedHeight uint64 LatestVerifiedId uint64 AvgProofTime uint64 ReservedC1 uint64 }, error)
State is a free data retrieval call binding the contract method 0xc19d93fb.
Solidity: function state() view returns(uint64 genesisHeight, uint64 genesisTimestamp, uint64 __reservedA1, uint64 __reservedA2, uint256 feeBase, uint64 nextBlockId, uint64 lastProposedAt, uint64 avgBlockTime, uint64 __avgGasLimit, uint64 latestVerifiedHeight, uint64 latestVerifiedId, uint64 avgProofTime, uint64 __reservedC1)
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) WithdrawBalance ¶ added in v0.5.0
func (_TaikoL1Client *TaikoL1ClientSession) WithdrawBalance() (*types.Transaction, error)
WithdrawBalance is a paid mutator transaction binding the contract method 0x5fd8c710.
Solidity: function withdrawBalance() 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) Init ¶
func (_TaikoL1Client *TaikoL1ClientTransactor) Init(opts *bind.TransactOpts, _addressManager common.Address, _genesisBlockHash [32]byte, _feeBase *big.Int) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x9c5e9f06.
Solidity: function init(address _addressManager, bytes32 _genesisBlockHash, uint256 _feeBase) 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, blockId *big.Int, inputs [][]byte) (*types.Transaction, error)
ProveBlock is a paid mutator transaction binding the contract method 0x8ed7b3be.
Solidity: function proveBlock(uint256 blockId, bytes[] inputs) returns()
func (*TaikoL1ClientTransactor) ProveBlockInvalid ¶
func (_TaikoL1Client *TaikoL1ClientTransactor) ProveBlockInvalid(opts *bind.TransactOpts, blockId *big.Int, inputs [][]byte) (*types.Transaction, error)
ProveBlockInvalid is a paid mutator transaction binding the contract method 0xa279cec7.
Solidity: function proveBlockInvalid(uint256 blockId, 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) WithdrawBalance ¶ added in v0.5.0
func (_TaikoL1Client *TaikoL1ClientTransactor) WithdrawBalance(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawBalance is a paid mutator transaction binding the contract method 0x5fd8c710.
Solidity: function withdrawBalance() 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) Init ¶
func (_TaikoL1Client *TaikoL1ClientTransactorSession) Init(_addressManager common.Address, _genesisBlockHash [32]byte, _feeBase *big.Int) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x9c5e9f06.
Solidity: function init(address _addressManager, bytes32 _genesisBlockHash, uint256 _feeBase) 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(blockId *big.Int, inputs [][]byte) (*types.Transaction, error)
ProveBlock is a paid mutator transaction binding the contract method 0x8ed7b3be.
Solidity: function proveBlock(uint256 blockId, bytes[] inputs) returns()
func (*TaikoL1ClientTransactorSession) ProveBlockInvalid ¶
func (_TaikoL1Client *TaikoL1ClientTransactorSession) ProveBlockInvalid(blockId *big.Int, inputs [][]byte) (*types.Transaction, error)
ProveBlockInvalid is a paid mutator transaction binding the contract method 0xa279cec7.
Solidity: function proveBlockInvalid(uint256 blockId, 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) WithdrawBalance ¶ added in v0.5.0
func (_TaikoL1Client *TaikoL1ClientTransactorSession) WithdrawBalance() (*types.Transaction, error)
WithdrawBalance is a paid mutator transaction binding the contract method 0x5fd8c710.
Solidity: function withdrawBalance() returns()
type TaikoL2Client ¶ added in v0.1.7
type TaikoL2Client struct { TaikoL2ClientCaller // Read-only binding to the contract TaikoL2ClientTransactor // Write-only binding to the contract TaikoL2ClientFilterer // Log filterer for contract events }
TaikoL2Client is an auto generated Go binding around an Ethereum contract.
func NewTaikoL2Client ¶ added in v0.1.7
func NewTaikoL2Client(address common.Address, backend bind.ContractBackend) (*TaikoL2Client, error)
NewTaikoL2Client creates a new instance of TaikoL2Client, bound to a specific deployed contract.
type TaikoL2ClientBlockInvalidated ¶ added in v0.1.7
type TaikoL2ClientBlockInvalidated struct { TxListHash [32]byte Raw types.Log // Blockchain specific contextual infos }
TaikoL2ClientBlockInvalidated represents a BlockInvalidated event raised by the TaikoL2Client contract.
type TaikoL2ClientBlockInvalidatedIterator ¶ added in v0.1.7
type TaikoL2ClientBlockInvalidatedIterator struct { Event *TaikoL2ClientBlockInvalidated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TaikoL2ClientBlockInvalidatedIterator is returned from FilterBlockInvalidated and is used to iterate over the raw logs and unpacked data for BlockInvalidated events raised by the TaikoL2Client contract.
func (*TaikoL2ClientBlockInvalidatedIterator) Close ¶ added in v0.1.7
func (it *TaikoL2ClientBlockInvalidatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaikoL2ClientBlockInvalidatedIterator) Error ¶ added in v0.1.7
func (it *TaikoL2ClientBlockInvalidatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaikoL2ClientBlockInvalidatedIterator) Next ¶ added in v0.1.7
func (it *TaikoL2ClientBlockInvalidatedIterator) 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 TaikoL2ClientCaller ¶ added in v0.1.7
type TaikoL2ClientCaller struct {
// contains filtered or unexported fields
}
TaikoL2ClientCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTaikoL2ClientCaller ¶ added in v0.1.7
func NewTaikoL2ClientCaller(address common.Address, caller bind.ContractCaller) (*TaikoL2ClientCaller, error)
NewTaikoL2ClientCaller creates a new read-only instance of TaikoL2Client, bound to a specific deployed contract.
func (*TaikoL2ClientCaller) AddressManager ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) GetBlockHash ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) GetConfig ¶ added in v0.2.2
func (_TaikoL2Client *TaikoL2ClientCaller) GetConfig(opts *bind.CallOpts) (TaikoDataConfig, error)
GetConfig is a free data retrieval call binding the contract method 0xc3f909d4.
Solidity: function getConfig() view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint64,uint64,uint64,uint64,uint64,uint64,bool,bool,bool) config)
func (*TaikoL2ClientCaller) GetLatestSyncedHeader ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) GetSyncedHeader ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientCaller) 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 (*TaikoL2ClientCaller) LatestSyncedL1Height ¶ added in v0.2.4
func (_TaikoL2Client *TaikoL2ClientCaller) LatestSyncedL1Height(opts *bind.CallOpts) (*big.Int, error)
LatestSyncedL1Height is a free data retrieval call binding the contract method 0xc7b96908.
Solidity: function latestSyncedL1Height() view returns(uint256)
func (*TaikoL2ClientCaller) Resolve ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientCaller) Resolve(opts *bind.CallOpts, name string, allowZeroAddress bool) (common.Address, error)
Resolve is a free data retrieval call binding the contract method 0x0ca4dffd.
Solidity: function resolve(string name, bool allowZeroAddress) view returns(address)
func (*TaikoL2ClientCaller) Resolve0 ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientCaller) Resolve0(opts *bind.CallOpts, chainId *big.Int, name string, allowZeroAddress bool) (common.Address, error)
Resolve0 is a free data retrieval call binding the contract method 0x1be2bfa7.
Solidity: function resolve(uint256 chainId, string name, bool allowZeroAddress) view returns(address)
type TaikoL2ClientCallerRaw ¶ added in v0.1.7
type TaikoL2ClientCallerRaw struct {
Contract *TaikoL2ClientCaller // Generic read-only contract binding to access the raw methods on
}
TaikoL2ClientCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TaikoL2ClientCallerRaw) Call ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientCallerRaw) 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 TaikoL2ClientCallerSession ¶ added in v0.1.7
type TaikoL2ClientCallerSession struct { Contract *TaikoL2ClientCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TaikoL2ClientCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TaikoL2ClientCallerSession) AddressManager ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientCallerSession) AddressManager() (common.Address, error)
AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.
Solidity: function addressManager() view returns(address)
func (*TaikoL2ClientCallerSession) GetBlockHash ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientCallerSession) 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 (*TaikoL2ClientCallerSession) GetConfig ¶ added in v0.2.2
func (_TaikoL2Client *TaikoL2ClientCallerSession) GetConfig() (TaikoDataConfig, error)
GetConfig is a free data retrieval call binding the contract method 0xc3f909d4.
Solidity: function getConfig() view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint64,uint64,uint64,uint64,uint64,uint64,bool,bool,bool) config)
func (*TaikoL2ClientCallerSession) GetLatestSyncedHeader ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientCallerSession) GetLatestSyncedHeader() ([32]byte, error)
GetLatestSyncedHeader is a free data retrieval call binding the contract method 0x5155ce9f.
Solidity: function getLatestSyncedHeader() view returns(bytes32)
func (*TaikoL2ClientCallerSession) GetSyncedHeader ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientCallerSession) 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 (*TaikoL2ClientCallerSession) LatestSyncedL1Height ¶ added in v0.2.4
func (_TaikoL2Client *TaikoL2ClientCallerSession) LatestSyncedL1Height() (*big.Int, error)
LatestSyncedL1Height is a free data retrieval call binding the contract method 0xc7b96908.
Solidity: function latestSyncedL1Height() view returns(uint256)
func (*TaikoL2ClientCallerSession) Resolve ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientCallerSession) Resolve(name string, allowZeroAddress bool) (common.Address, error)
Resolve is a free data retrieval call binding the contract method 0x0ca4dffd.
Solidity: function resolve(string name, bool allowZeroAddress) view returns(address)
func (*TaikoL2ClientCallerSession) Resolve0 ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientCallerSession) Resolve0(chainId *big.Int, name string, allowZeroAddress bool) (common.Address, error)
Resolve0 is a free data retrieval call binding the contract method 0x1be2bfa7.
Solidity: function resolve(uint256 chainId, string name, bool allowZeroAddress) view returns(address)
type TaikoL2ClientFilterer ¶ added in v0.1.7
type TaikoL2ClientFilterer struct {
// contains filtered or unexported fields
}
TaikoL2ClientFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTaikoL2ClientFilterer ¶ added in v0.1.7
func NewTaikoL2ClientFilterer(address common.Address, filterer bind.ContractFilterer) (*TaikoL2ClientFilterer, error)
NewTaikoL2ClientFilterer creates a new log filterer instance of TaikoL2Client, bound to a specific deployed contract.
func (*TaikoL2ClientFilterer) FilterBlockInvalidated ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientFilterer) FilterBlockInvalidated(opts *bind.FilterOpts, txListHash [][32]byte) (*TaikoL2ClientBlockInvalidatedIterator, error)
FilterBlockInvalidated is a free log retrieval operation binding the contract event 0x64b299ff9f8ba674288abb53380419048a4271dda03b837ecba6b40e6ddea4a2.
Solidity: event BlockInvalidated(bytes32 indexed txListHash)
func (*TaikoL2ClientFilterer) FilterHeaderSynced ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientFilterer) FilterHeaderSynced(opts *bind.FilterOpts, srcHeight []*big.Int) (*TaikoL2ClientHeaderSyncedIterator, error)
FilterHeaderSynced is a free log retrieval operation binding the contract event 0x58313b60ec6c5bfc381e52f0de3ede0faac3cdffea26f7d6bcc3d09b61018691.
Solidity: event HeaderSynced(uint256 indexed srcHeight, bytes32 srcHash)
func (*TaikoL2ClientFilterer) ParseBlockInvalidated ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientFilterer) ParseBlockInvalidated(log types.Log) (*TaikoL2ClientBlockInvalidated, error)
ParseBlockInvalidated is a log parse operation binding the contract event 0x64b299ff9f8ba674288abb53380419048a4271dda03b837ecba6b40e6ddea4a2.
Solidity: event BlockInvalidated(bytes32 indexed txListHash)
func (*TaikoL2ClientFilterer) ParseHeaderSynced ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientFilterer) ParseHeaderSynced(log types.Log) (*TaikoL2ClientHeaderSynced, error)
ParseHeaderSynced is a log parse operation binding the contract event 0x58313b60ec6c5bfc381e52f0de3ede0faac3cdffea26f7d6bcc3d09b61018691.
Solidity: event HeaderSynced(uint256 indexed srcHeight, bytes32 srcHash)
func (*TaikoL2ClientFilterer) WatchBlockInvalidated ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientFilterer) WatchBlockInvalidated(opts *bind.WatchOpts, sink chan<- *TaikoL2ClientBlockInvalidated, 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 (*TaikoL2ClientFilterer) WatchHeaderSynced ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientFilterer) WatchHeaderSynced(opts *bind.WatchOpts, sink chan<- *TaikoL2ClientHeaderSynced, srcHeight []*big.Int) (event.Subscription, error)
WatchHeaderSynced is a free log subscription operation binding the contract event 0x58313b60ec6c5bfc381e52f0de3ede0faac3cdffea26f7d6bcc3d09b61018691.
Solidity: event HeaderSynced(uint256 indexed srcHeight, bytes32 srcHash)
type TaikoL2ClientHeaderSynced ¶ added in v0.1.7
type TaikoL2ClientHeaderSynced struct { SrcHeight *big.Int SrcHash [32]byte Raw types.Log // Blockchain specific contextual infos }
TaikoL2ClientHeaderSynced represents a HeaderSynced event raised by the TaikoL2Client contract.
type TaikoL2ClientHeaderSyncedIterator ¶ added in v0.1.7
type TaikoL2ClientHeaderSyncedIterator struct { Event *TaikoL2ClientHeaderSynced // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TaikoL2ClientHeaderSyncedIterator is returned from FilterHeaderSynced and is used to iterate over the raw logs and unpacked data for HeaderSynced events raised by the TaikoL2Client contract.
func (*TaikoL2ClientHeaderSyncedIterator) Close ¶ added in v0.1.7
func (it *TaikoL2ClientHeaderSyncedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TaikoL2ClientHeaderSyncedIterator) Error ¶ added in v0.1.7
func (it *TaikoL2ClientHeaderSyncedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TaikoL2ClientHeaderSyncedIterator) Next ¶ added in v0.1.7
func (it *TaikoL2ClientHeaderSyncedIterator) 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 TaikoL2ClientRaw ¶ added in v0.1.7
type TaikoL2ClientRaw struct {
Contract *TaikoL2Client // Generic contract binding to access the raw methods on
}
TaikoL2ClientRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TaikoL2ClientRaw) Call ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientRaw) 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 (*TaikoL2ClientRaw) Transact ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TaikoL2ClientRaw) Transfer ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientRaw) 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 TaikoL2ClientSession ¶ added in v0.1.7
type TaikoL2ClientSession struct { Contract *TaikoL2Client // 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 }
TaikoL2ClientSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TaikoL2ClientSession) AddressManager ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientSession) AddressManager() (common.Address, error)
AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.
Solidity: function addressManager() view returns(address)
func (*TaikoL2ClientSession) Anchor ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) GetBlockHash ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) GetConfig ¶ added in v0.2.2
func (_TaikoL2Client *TaikoL2ClientSession) GetConfig() (TaikoDataConfig, error)
GetConfig is a free data retrieval call binding the contract method 0xc3f909d4.
Solidity: function getConfig() view returns((uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint64,uint64,uint64,uint64,uint64,uint64,bool,bool,bool) config)
func (*TaikoL2ClientSession) GetLatestSyncedHeader ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientSession) GetLatestSyncedHeader() ([32]byte, error)
GetLatestSyncedHeader is a free data retrieval call binding the contract method 0x5155ce9f.
Solidity: function getLatestSyncedHeader() view returns(bytes32)
func (*TaikoL2ClientSession) GetSyncedHeader ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) InvalidateBlock ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientSession) 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 (*TaikoL2ClientSession) LatestSyncedL1Height ¶ added in v0.2.4
func (_TaikoL2Client *TaikoL2ClientSession) LatestSyncedL1Height() (*big.Int, error)
LatestSyncedL1Height is a free data retrieval call binding the contract method 0xc7b96908.
Solidity: function latestSyncedL1Height() view returns(uint256)
func (*TaikoL2ClientSession) Resolve ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientSession) Resolve(name string, allowZeroAddress bool) (common.Address, error)
Resolve is a free data retrieval call binding the contract method 0x0ca4dffd.
Solidity: function resolve(string name, bool allowZeroAddress) view returns(address)
func (*TaikoL2ClientSession) Resolve0 ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientSession) Resolve0(chainId *big.Int, name string, allowZeroAddress bool) (common.Address, error)
Resolve0 is a free data retrieval call binding the contract method 0x1be2bfa7.
Solidity: function resolve(uint256 chainId, string name, bool allowZeroAddress) view returns(address)
type TaikoL2ClientTransactor ¶ added in v0.1.7
type TaikoL2ClientTransactor struct {
// contains filtered or unexported fields
}
TaikoL2ClientTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTaikoL2ClientTransactor ¶ added in v0.1.7
func NewTaikoL2ClientTransactor(address common.Address, transactor bind.ContractTransactor) (*TaikoL2ClientTransactor, error)
NewTaikoL2ClientTransactor creates a new write-only instance of TaikoL2Client, bound to a specific deployed contract.
func (*TaikoL2ClientTransactor) Anchor ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientTransactor) 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 (*TaikoL2ClientTransactor) InvalidateBlock ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientTransactor) 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 TaikoL2ClientTransactorRaw ¶ added in v0.1.7
type TaikoL2ClientTransactorRaw struct {
Contract *TaikoL2ClientTransactor // Generic write-only contract binding to access the raw methods on
}
TaikoL2ClientTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TaikoL2ClientTransactorRaw) Transact ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TaikoL2ClientTransactorRaw) Transfer ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientTransactorRaw) 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 TaikoL2ClientTransactorSession ¶ added in v0.1.7
type TaikoL2ClientTransactorSession struct { Contract *TaikoL2ClientTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TaikoL2ClientTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TaikoL2ClientTransactorSession) Anchor ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientTransactorSession) 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 (*TaikoL2ClientTransactorSession) InvalidateBlock ¶ added in v0.1.7
func (_TaikoL2Client *TaikoL2ClientTransactorSession) 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()