diff --git a/packages/taiko-client/bindings/pacaya/.githead b/packages/taiko-client/bindings/pacaya/.githead
new file mode 100644
index 0000000000..5d07a0bd38
--- /dev/null
+++ b/packages/taiko-client/bindings/pacaya/.githead
@@ -0,0 +1 @@
+b73d7737db7e52e0f016d3f2d03de6d16886b40f
diff --git a/packages/taiko-client/bindings/pacaya/gen_fork_manager.go b/packages/taiko-client/bindings/pacaya/gen_fork_manager.go
new file mode 100644
index 0000000000..c4a279ca16
--- /dev/null
+++ b/packages/taiko-client/bindings/pacaya/gen_fork_manager.go
@@ -0,0 +1,1377 @@
+// Code generated - DO NOT EDIT.
+// This file is a generated binding and any manual changes will be lost.
+
+package pacaya
+
+import (
+ "errors"
+ "math/big"
+ "strings"
+
+ ethereum "github.com/ethereum/go-ethereum"
+ "github.com/ethereum/go-ethereum/accounts/abi"
+ "github.com/ethereum/go-ethereum/accounts/abi/bind"
+ "github.com/ethereum/go-ethereum/common"
+ "github.com/ethereum/go-ethereum/core/types"
+ "github.com/ethereum/go-ethereum/event"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var (
+ _ = errors.New
+ _ = big.NewInt
+ _ = strings.NewReader
+ _ = ethereum.NotFound
+ _ = bind.Bind
+ _ = common.Big1
+ _ = types.BloomLookup
+ _ = event.NewSubscription
+ _ = abi.ConvertType
+)
+
+// ForkManagerMetaData contains all meta data concerning the ForkManager contract.
+var ForkManagerMetaData = &bind.MetaData{
+ ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_oldFork\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_currFork\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"fallback\",\"stateMutability\":\"payable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"acceptOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"isForkManager\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"newFork\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"oldFork\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pendingOwner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proxiableUUID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeTo\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeToAndCall\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"event\",\"name\":\"AdminChanged\",\"inputs\":[{\"name\":\"previousAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"newAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BeaconUpgraded\",\"inputs\":[{\"name\":\"beacon\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferStarted\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Upgraded\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"ForkAddressIsZero\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidParams\",\"inputs\":[]}]",
+}
+
+// ForkManagerABI is the input ABI used to generate the binding from.
+// Deprecated: Use ForkManagerMetaData.ABI instead.
+var ForkManagerABI = ForkManagerMetaData.ABI
+
+// ForkManager is an auto generated Go binding around an Ethereum contract.
+type ForkManager struct {
+ ForkManagerCaller // Read-only binding to the contract
+ ForkManagerTransactor // Write-only binding to the contract
+ ForkManagerFilterer // Log filterer for contract events
+}
+
+// ForkManagerCaller is an auto generated read-only Go binding around an Ethereum contract.
+type ForkManagerCaller struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// ForkManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.
+type ForkManagerTransactor struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// ForkManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
+type ForkManagerFilterer struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// ForkManagerSession is an auto generated Go binding around an Ethereum contract,
+// with pre-set call and transact options.
+type ForkManagerSession struct {
+ Contract *ForkManager // 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
+}
+
+// ForkManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract,
+// with pre-set call options.
+type ForkManagerCallerSession struct {
+ Contract *ForkManagerCaller // Generic contract caller binding to set the session for
+ CallOpts bind.CallOpts // Call options to use throughout this session
+}
+
+// ForkManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
+// with pre-set transact options.
+type ForkManagerTransactorSession struct {
+ Contract *ForkManagerTransactor // Generic contract transactor binding to set the session for
+ TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
+}
+
+// ForkManagerRaw is an auto generated low-level Go binding around an Ethereum contract.
+type ForkManagerRaw struct {
+ Contract *ForkManager // Generic contract binding to access the raw methods on
+}
+
+// ForkManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
+type ForkManagerCallerRaw struct {
+ Contract *ForkManagerCaller // Generic read-only contract binding to access the raw methods on
+}
+
+// ForkManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
+type ForkManagerTransactorRaw struct {
+ Contract *ForkManagerTransactor // Generic write-only contract binding to access the raw methods on
+}
+
+// NewForkManager creates a new instance of ForkManager, bound to a specific deployed contract.
+func NewForkManager(address common.Address, backend bind.ContractBackend) (*ForkManager, error) {
+ contract, err := bindForkManager(address, backend, backend, backend)
+ if err != nil {
+ return nil, err
+ }
+ return &ForkManager{ForkManagerCaller: ForkManagerCaller{contract: contract}, ForkManagerTransactor: ForkManagerTransactor{contract: contract}, ForkManagerFilterer: ForkManagerFilterer{contract: contract}}, nil
+}
+
+// NewForkManagerCaller creates a new read-only instance of ForkManager, bound to a specific deployed contract.
+func NewForkManagerCaller(address common.Address, caller bind.ContractCaller) (*ForkManagerCaller, error) {
+ contract, err := bindForkManager(address, caller, nil, nil)
+ if err != nil {
+ return nil, err
+ }
+ return &ForkManagerCaller{contract: contract}, nil
+}
+
+// NewForkManagerTransactor creates a new write-only instance of ForkManager, bound to a specific deployed contract.
+func NewForkManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*ForkManagerTransactor, error) {
+ contract, err := bindForkManager(address, nil, transactor, nil)
+ if err != nil {
+ return nil, err
+ }
+ return &ForkManagerTransactor{contract: contract}, nil
+}
+
+// NewForkManagerFilterer creates a new log filterer instance of ForkManager, bound to a specific deployed contract.
+func NewForkManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*ForkManagerFilterer, error) {
+ contract, err := bindForkManager(address, nil, nil, filterer)
+ if err != nil {
+ return nil, err
+ }
+ return &ForkManagerFilterer{contract: contract}, nil
+}
+
+// bindForkManager binds a generic wrapper to an already deployed contract.
+func bindForkManager(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
+ parsed, err := ForkManagerMetaData.GetAbi()
+ if err != nil {
+ return nil, err
+ }
+ return bind.NewBoundContract(address, *parsed, caller, transactor, filterer), nil
+}
+
+// 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 (_ForkManager *ForkManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
+ return _ForkManager.Contract.ForkManagerCaller.contract.Call(opts, result, method, params...)
+}
+
+// Transfer initiates a plain transaction to move funds to the contract, calling
+// its default method if one is available.
+func (_ForkManager *ForkManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _ForkManager.Contract.ForkManagerTransactor.contract.Transfer(opts)
+}
+
+// Transact invokes the (paid) contract method with params as input values.
+func (_ForkManager *ForkManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
+ return _ForkManager.Contract.ForkManagerTransactor.contract.Transact(opts, method, params...)
+}
+
+// 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 (_ForkManager *ForkManagerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
+ return _ForkManager.Contract.contract.Call(opts, result, method, params...)
+}
+
+// Transfer initiates a plain transaction to move funds to the contract, calling
+// its default method if one is available.
+func (_ForkManager *ForkManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _ForkManager.Contract.contract.Transfer(opts)
+}
+
+// Transact invokes the (paid) contract method with params as input values.
+func (_ForkManager *ForkManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
+ return _ForkManager.Contract.contract.Transact(opts, method, params...)
+}
+
+// IsForkManager is a free data retrieval call binding the contract method 0xff10b03f.
+//
+// Solidity: function isForkManager() pure returns(bool)
+func (_ForkManager *ForkManagerCaller) IsForkManager(opts *bind.CallOpts) (bool, error) {
+ var out []interface{}
+ err := _ForkManager.contract.Call(opts, &out, "isForkManager")
+
+ if err != nil {
+ return *new(bool), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
+
+ return out0, err
+
+}
+
+// IsForkManager is a free data retrieval call binding the contract method 0xff10b03f.
+//
+// Solidity: function isForkManager() pure returns(bool)
+func (_ForkManager *ForkManagerSession) IsForkManager() (bool, error) {
+ return _ForkManager.Contract.IsForkManager(&_ForkManager.CallOpts)
+}
+
+// IsForkManager is a free data retrieval call binding the contract method 0xff10b03f.
+//
+// Solidity: function isForkManager() pure returns(bool)
+func (_ForkManager *ForkManagerCallerSession) IsForkManager() (bool, error) {
+ return _ForkManager.Contract.IsForkManager(&_ForkManager.CallOpts)
+}
+
+// NewFork is a free data retrieval call binding the contract method 0x863acc33.
+//
+// Solidity: function newFork() view returns(address)
+func (_ForkManager *ForkManagerCaller) NewFork(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _ForkManager.contract.Call(opts, &out, "newFork")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// NewFork is a free data retrieval call binding the contract method 0x863acc33.
+//
+// Solidity: function newFork() view returns(address)
+func (_ForkManager *ForkManagerSession) NewFork() (common.Address, error) {
+ return _ForkManager.Contract.NewFork(&_ForkManager.CallOpts)
+}
+
+// NewFork is a free data retrieval call binding the contract method 0x863acc33.
+//
+// Solidity: function newFork() view returns(address)
+func (_ForkManager *ForkManagerCallerSession) NewFork() (common.Address, error) {
+ return _ForkManager.Contract.NewFork(&_ForkManager.CallOpts)
+}
+
+// OldFork is a free data retrieval call binding the contract method 0xdf6060fb.
+//
+// Solidity: function oldFork() view returns(address)
+func (_ForkManager *ForkManagerCaller) OldFork(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _ForkManager.contract.Call(opts, &out, "oldFork")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// OldFork is a free data retrieval call binding the contract method 0xdf6060fb.
+//
+// Solidity: function oldFork() view returns(address)
+func (_ForkManager *ForkManagerSession) OldFork() (common.Address, error) {
+ return _ForkManager.Contract.OldFork(&_ForkManager.CallOpts)
+}
+
+// OldFork is a free data retrieval call binding the contract method 0xdf6060fb.
+//
+// Solidity: function oldFork() view returns(address)
+func (_ForkManager *ForkManagerCallerSession) OldFork() (common.Address, error) {
+ return _ForkManager.Contract.OldFork(&_ForkManager.CallOpts)
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_ForkManager *ForkManagerCaller) Owner(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _ForkManager.contract.Call(opts, &out, "owner")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_ForkManager *ForkManagerSession) Owner() (common.Address, error) {
+ return _ForkManager.Contract.Owner(&_ForkManager.CallOpts)
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_ForkManager *ForkManagerCallerSession) Owner() (common.Address, error) {
+ return _ForkManager.Contract.Owner(&_ForkManager.CallOpts)
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_ForkManager *ForkManagerCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _ForkManager.contract.Call(opts, &out, "pendingOwner")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_ForkManager *ForkManagerSession) PendingOwner() (common.Address, error) {
+ return _ForkManager.Contract.PendingOwner(&_ForkManager.CallOpts)
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_ForkManager *ForkManagerCallerSession) PendingOwner() (common.Address, error) {
+ return _ForkManager.Contract.PendingOwner(&_ForkManager.CallOpts)
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_ForkManager *ForkManagerCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error) {
+ var out []interface{}
+ err := _ForkManager.contract.Call(opts, &out, "proxiableUUID")
+
+ if err != nil {
+ return *new([32]byte), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
+
+ return out0, err
+
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_ForkManager *ForkManagerSession) ProxiableUUID() ([32]byte, error) {
+ return _ForkManager.Contract.ProxiableUUID(&_ForkManager.CallOpts)
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_ForkManager *ForkManagerCallerSession) ProxiableUUID() ([32]byte, error) {
+ return _ForkManager.Contract.ProxiableUUID(&_ForkManager.CallOpts)
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_ForkManager *ForkManagerTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _ForkManager.contract.Transact(opts, "acceptOwnership")
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_ForkManager *ForkManagerSession) AcceptOwnership() (*types.Transaction, error) {
+ return _ForkManager.Contract.AcceptOwnership(&_ForkManager.TransactOpts)
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_ForkManager *ForkManagerTransactorSession) AcceptOwnership() (*types.Transaction, error) {
+ return _ForkManager.Contract.AcceptOwnership(&_ForkManager.TransactOpts)
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_ForkManager *ForkManagerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _ForkManager.contract.Transact(opts, "renounceOwnership")
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_ForkManager *ForkManagerSession) RenounceOwnership() (*types.Transaction, error) {
+ return _ForkManager.Contract.RenounceOwnership(&_ForkManager.TransactOpts)
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_ForkManager *ForkManagerTransactorSession) RenounceOwnership() (*types.Transaction, error) {
+ return _ForkManager.Contract.RenounceOwnership(&_ForkManager.TransactOpts)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_ForkManager *ForkManagerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) {
+ return _ForkManager.contract.Transact(opts, "transferOwnership", newOwner)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_ForkManager *ForkManagerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) {
+ return _ForkManager.Contract.TransferOwnership(&_ForkManager.TransactOpts, newOwner)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_ForkManager *ForkManagerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) {
+ return _ForkManager.Contract.TransferOwnership(&_ForkManager.TransactOpts, newOwner)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_ForkManager *ForkManagerTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error) {
+ return _ForkManager.contract.Transact(opts, "upgradeTo", newImplementation)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_ForkManager *ForkManagerSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error) {
+ return _ForkManager.Contract.UpgradeTo(&_ForkManager.TransactOpts, newImplementation)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_ForkManager *ForkManagerTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error) {
+ return _ForkManager.Contract.UpgradeTo(&_ForkManager.TransactOpts, newImplementation)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_ForkManager *ForkManagerTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _ForkManager.contract.Transact(opts, "upgradeToAndCall", newImplementation, data)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_ForkManager *ForkManagerSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _ForkManager.Contract.UpgradeToAndCall(&_ForkManager.TransactOpts, newImplementation, data)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_ForkManager *ForkManagerTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _ForkManager.Contract.UpgradeToAndCall(&_ForkManager.TransactOpts, newImplementation, data)
+}
+
+// Fallback is a paid mutator transaction binding the contract fallback function.
+//
+// Solidity: fallback() payable returns()
+func (_ForkManager *ForkManagerTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error) {
+ return _ForkManager.contract.RawTransact(opts, calldata)
+}
+
+// Fallback is a paid mutator transaction binding the contract fallback function.
+//
+// Solidity: fallback() payable returns()
+func (_ForkManager *ForkManagerSession) Fallback(calldata []byte) (*types.Transaction, error) {
+ return _ForkManager.Contract.Fallback(&_ForkManager.TransactOpts, calldata)
+}
+
+// Fallback is a paid mutator transaction binding the contract fallback function.
+//
+// Solidity: fallback() payable returns()
+func (_ForkManager *ForkManagerTransactorSession) Fallback(calldata []byte) (*types.Transaction, error) {
+ return _ForkManager.Contract.Fallback(&_ForkManager.TransactOpts, calldata)
+}
+
+// Receive is a paid mutator transaction binding the contract receive function.
+//
+// Solidity: receive() payable returns()
+func (_ForkManager *ForkManagerTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _ForkManager.contract.RawTransact(opts, nil) // calldata is disallowed for receive function
+}
+
+// Receive is a paid mutator transaction binding the contract receive function.
+//
+// Solidity: receive() payable returns()
+func (_ForkManager *ForkManagerSession) Receive() (*types.Transaction, error) {
+ return _ForkManager.Contract.Receive(&_ForkManager.TransactOpts)
+}
+
+// Receive is a paid mutator transaction binding the contract receive function.
+//
+// Solidity: receive() payable returns()
+func (_ForkManager *ForkManagerTransactorSession) Receive() (*types.Transaction, error) {
+ return _ForkManager.Contract.Receive(&_ForkManager.TransactOpts)
+}
+
+// ForkManagerAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the ForkManager contract.
+type ForkManagerAdminChangedIterator struct {
+ Event *ForkManagerAdminChanged // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ForkManagerAdminChangedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ForkManagerAdminChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ForkManagerAdminChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ForkManagerAdminChangedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ForkManagerAdminChangedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ForkManagerAdminChanged represents a AdminChanged event raised by the ForkManager contract.
+type ForkManagerAdminChanged struct {
+ PreviousAdmin common.Address
+ NewAdmin common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_ForkManager *ForkManagerFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ForkManagerAdminChangedIterator, error) {
+
+ logs, sub, err := _ForkManager.contract.FilterLogs(opts, "AdminChanged")
+ if err != nil {
+ return nil, err
+ }
+ return &ForkManagerAdminChangedIterator{contract: _ForkManager.contract, event: "AdminChanged", logs: logs, sub: sub}, nil
+}
+
+// WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_ForkManager *ForkManagerFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ForkManagerAdminChanged) (event.Subscription, error) {
+
+ logs, sub, err := _ForkManager.contract.WatchLogs(opts, "AdminChanged")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ForkManagerAdminChanged)
+ if err := _ForkManager.contract.UnpackLog(event, "AdminChanged", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_ForkManager *ForkManagerFilterer) ParseAdminChanged(log types.Log) (*ForkManagerAdminChanged, error) {
+ event := new(ForkManagerAdminChanged)
+ if err := _ForkManager.contract.UnpackLog(event, "AdminChanged", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// ForkManagerBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the ForkManager contract.
+type ForkManagerBeaconUpgradedIterator struct {
+ Event *ForkManagerBeaconUpgraded // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ForkManagerBeaconUpgradedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ForkManagerBeaconUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ForkManagerBeaconUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ForkManagerBeaconUpgradedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ForkManagerBeaconUpgradedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ForkManagerBeaconUpgraded represents a BeaconUpgraded event raised by the ForkManager contract.
+type ForkManagerBeaconUpgraded struct {
+ Beacon common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_ForkManager *ForkManagerFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ForkManagerBeaconUpgradedIterator, error) {
+
+ var beaconRule []interface{}
+ for _, beaconItem := range beacon {
+ beaconRule = append(beaconRule, beaconItem)
+ }
+
+ logs, sub, err := _ForkManager.contract.FilterLogs(opts, "BeaconUpgraded", beaconRule)
+ if err != nil {
+ return nil, err
+ }
+ return &ForkManagerBeaconUpgradedIterator{contract: _ForkManager.contract, event: "BeaconUpgraded", logs: logs, sub: sub}, nil
+}
+
+// WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_ForkManager *ForkManagerFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ForkManagerBeaconUpgraded, beacon []common.Address) (event.Subscription, error) {
+
+ var beaconRule []interface{}
+ for _, beaconItem := range beacon {
+ beaconRule = append(beaconRule, beaconItem)
+ }
+
+ logs, sub, err := _ForkManager.contract.WatchLogs(opts, "BeaconUpgraded", beaconRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ForkManagerBeaconUpgraded)
+ if err := _ForkManager.contract.UnpackLog(event, "BeaconUpgraded", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_ForkManager *ForkManagerFilterer) ParseBeaconUpgraded(log types.Log) (*ForkManagerBeaconUpgraded, error) {
+ event := new(ForkManagerBeaconUpgraded)
+ if err := _ForkManager.contract.UnpackLog(event, "BeaconUpgraded", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// ForkManagerInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ForkManager contract.
+type ForkManagerInitializedIterator struct {
+ Event *ForkManagerInitialized // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ForkManagerInitializedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ForkManagerInitialized)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ForkManagerInitialized)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ForkManagerInitializedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ForkManagerInitializedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ForkManagerInitialized represents a Initialized event raised by the ForkManager contract.
+type ForkManagerInitialized struct {
+ Version uint8
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_ForkManager *ForkManagerFilterer) FilterInitialized(opts *bind.FilterOpts) (*ForkManagerInitializedIterator, error) {
+
+ logs, sub, err := _ForkManager.contract.FilterLogs(opts, "Initialized")
+ if err != nil {
+ return nil, err
+ }
+ return &ForkManagerInitializedIterator{contract: _ForkManager.contract, event: "Initialized", logs: logs, sub: sub}, nil
+}
+
+// WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_ForkManager *ForkManagerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ForkManagerInitialized) (event.Subscription, error) {
+
+ logs, sub, err := _ForkManager.contract.WatchLogs(opts, "Initialized")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ForkManagerInitialized)
+ if err := _ForkManager.contract.UnpackLog(event, "Initialized", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_ForkManager *ForkManagerFilterer) ParseInitialized(log types.Log) (*ForkManagerInitialized, error) {
+ event := new(ForkManagerInitialized)
+ if err := _ForkManager.contract.UnpackLog(event, "Initialized", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// ForkManagerOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the ForkManager contract.
+type ForkManagerOwnershipTransferStartedIterator struct {
+ Event *ForkManagerOwnershipTransferStarted // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ForkManagerOwnershipTransferStartedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ForkManagerOwnershipTransferStarted)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ForkManagerOwnershipTransferStarted)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ForkManagerOwnershipTransferStartedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ForkManagerOwnershipTransferStartedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ForkManagerOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the ForkManager contract.
+type ForkManagerOwnershipTransferStarted struct {
+ PreviousOwner common.Address
+ NewOwner common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_ForkManager *ForkManagerFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ForkManagerOwnershipTransferStartedIterator, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _ForkManager.contract.FilterLogs(opts, "OwnershipTransferStarted", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return &ForkManagerOwnershipTransferStartedIterator{contract: _ForkManager.contract, event: "OwnershipTransferStarted", logs: logs, sub: sub}, nil
+}
+
+// WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_ForkManager *ForkManagerFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *ForkManagerOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _ForkManager.contract.WatchLogs(opts, "OwnershipTransferStarted", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ForkManagerOwnershipTransferStarted)
+ if err := _ForkManager.contract.UnpackLog(event, "OwnershipTransferStarted", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_ForkManager *ForkManagerFilterer) ParseOwnershipTransferStarted(log types.Log) (*ForkManagerOwnershipTransferStarted, error) {
+ event := new(ForkManagerOwnershipTransferStarted)
+ if err := _ForkManager.contract.UnpackLog(event, "OwnershipTransferStarted", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// ForkManagerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ForkManager contract.
+type ForkManagerOwnershipTransferredIterator struct {
+ Event *ForkManagerOwnershipTransferred // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ForkManagerOwnershipTransferredIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ForkManagerOwnershipTransferred)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ForkManagerOwnershipTransferred)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ForkManagerOwnershipTransferredIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ForkManagerOwnershipTransferredIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ForkManagerOwnershipTransferred represents a OwnershipTransferred event raised by the ForkManager contract.
+type ForkManagerOwnershipTransferred struct {
+ PreviousOwner common.Address
+ NewOwner common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_ForkManager *ForkManagerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ForkManagerOwnershipTransferredIterator, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _ForkManager.contract.FilterLogs(opts, "OwnershipTransferred", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return &ForkManagerOwnershipTransferredIterator{contract: _ForkManager.contract, event: "OwnershipTransferred", logs: logs, sub: sub}, nil
+}
+
+// WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_ForkManager *ForkManagerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ForkManagerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _ForkManager.contract.WatchLogs(opts, "OwnershipTransferred", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ForkManagerOwnershipTransferred)
+ if err := _ForkManager.contract.UnpackLog(event, "OwnershipTransferred", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_ForkManager *ForkManagerFilterer) ParseOwnershipTransferred(log types.Log) (*ForkManagerOwnershipTransferred, error) {
+ event := new(ForkManagerOwnershipTransferred)
+ if err := _ForkManager.contract.UnpackLog(event, "OwnershipTransferred", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// ForkManagerUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the ForkManager contract.
+type ForkManagerUpgradedIterator struct {
+ Event *ForkManagerUpgraded // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ForkManagerUpgradedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ForkManagerUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ForkManagerUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ForkManagerUpgradedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ForkManagerUpgradedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ForkManagerUpgraded represents a Upgraded event raised by the ForkManager contract.
+type ForkManagerUpgraded struct {
+ Implementation common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_ForkManager *ForkManagerFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ForkManagerUpgradedIterator, error) {
+
+ var implementationRule []interface{}
+ for _, implementationItem := range implementation {
+ implementationRule = append(implementationRule, implementationItem)
+ }
+
+ logs, sub, err := _ForkManager.contract.FilterLogs(opts, "Upgraded", implementationRule)
+ if err != nil {
+ return nil, err
+ }
+ return &ForkManagerUpgradedIterator{contract: _ForkManager.contract, event: "Upgraded", logs: logs, sub: sub}, nil
+}
+
+// WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_ForkManager *ForkManagerFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ForkManagerUpgraded, implementation []common.Address) (event.Subscription, error) {
+
+ var implementationRule []interface{}
+ for _, implementationItem := range implementation {
+ implementationRule = append(implementationRule, implementationItem)
+ }
+
+ logs, sub, err := _ForkManager.contract.WatchLogs(opts, "Upgraded", implementationRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ForkManagerUpgraded)
+ if err := _ForkManager.contract.UnpackLog(event, "Upgraded", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_ForkManager *ForkManagerFilterer) ParseUpgraded(log types.Log) (*ForkManagerUpgraded, error) {
+ event := new(ForkManagerUpgraded)
+ if err := _ForkManager.contract.UnpackLog(event, "Upgraded", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
diff --git a/packages/taiko-client/bindings/pacaya/gen_prover_set.go b/packages/taiko-client/bindings/pacaya/gen_prover_set.go
new file mode 100644
index 0000000000..74474019d3
--- /dev/null
+++ b/packages/taiko-client/bindings/pacaya/gen_prover_set.go
@@ -0,0 +1,2350 @@
+// Code generated - DO NOT EDIT.
+// This file is a generated binding and any manual changes will be lost.
+
+package pacaya
+
+import (
+ "errors"
+ "math/big"
+ "strings"
+
+ ethereum "github.com/ethereum/go-ethereum"
+ "github.com/ethereum/go-ethereum/accounts/abi"
+ "github.com/ethereum/go-ethereum/accounts/abi/bind"
+ "github.com/ethereum/go-ethereum/common"
+ "github.com/ethereum/go-ethereum/core/types"
+ "github.com/ethereum/go-ethereum/event"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var (
+ _ = errors.New
+ _ = big.NewInt
+ _ = strings.NewReader
+ _ = ethereum.NotFound
+ _ = bind.Bind
+ _ = common.Big1
+ _ = types.BloomLookup
+ _ = event.NewSubscription
+ _ = abi.ConvertType
+)
+
+// ProverSetMetaData contains all meta data concerning the ProverSet contract.
+var ProverSetMetaData = &bind.MetaData{
+ ABI: "[{\"type\":\"function\",\"name\":\"acceptOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"admin\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approveAllowance\",\"inputs\":[{\"name\":\"_address\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_allowance\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"delegate\",\"inputs\":[{\"name\":\"_delegatee\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"depositBond\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"enableProver\",\"inputs\":[{\"name\":\"_prover\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_isProver\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"impl\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"inNonReentrant\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"init\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_admin\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_rollupResolver\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"isProver\",\"inputs\":[{\"name\":\"prover\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"isProver\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"isValidSignature\",\"inputs\":[{\"name\":\"_hash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_signature\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"magicValue_\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pendingOwner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposeBlocksV3\",\"inputs\":[{\"name\":\"_paramsArray\",\"type\":\"tuple[]\",\"internalType\":\"structITaikoInbox.BlockParamsV3[]\",\"components\":[{\"name\":\"parentMetaHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"anchorBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"anchorInput\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"timestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"txListOffset\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"txListSize\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"blobIndex\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"signalSlots\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"}]},{\"name\":\"_txList\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_revertIfNotFirstProposal\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"metas_\",\"type\":\"tuple[]\",\"internalType\":\"structITaikoInbox.BlockMetadataV3[]\",\"components\":[{\"name\":\"difficulty\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"txListHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"extraData\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"coinbase\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"blockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"gasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"timestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"parentMetaHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"proposer\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"livenessBond\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"proposedAt\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"proposedIn\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"txListOffset\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"txListSize\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"blobIndex\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"anchorBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"anchorBlockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"signalSlots\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"},{\"name\":\"anchorInput\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"baseFeeConfig\",\"type\":\"tuple\",\"internalType\":\"structLibSharedData.BaseFeeConfig\",\"components\":[{\"name\":\"adjustmentQuotient\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"sharingPctg\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"gasIssuancePerSecond\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"minGasExcess\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"maxGasIssuancePerBlock\",\"type\":\"uint32\",\"internalType\":\"uint32\"}]}]}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"proveBlocksV3\",\"inputs\":[{\"name\":\"_metas\",\"type\":\"tuple[]\",\"internalType\":\"structITaikoInbox.BlockMetadataV3[]\",\"components\":[{\"name\":\"difficulty\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"txListHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"extraData\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"coinbase\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"blockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"gasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"timestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"parentMetaHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"proposer\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"livenessBond\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"proposedAt\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"proposedIn\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"txListOffset\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"txListSize\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"blobIndex\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"anchorBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"anchorBlockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"signalSlots\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"},{\"name\":\"anchorInput\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"baseFeeConfig\",\"type\":\"tuple\",\"internalType\":\"structLibSharedData.BaseFeeConfig\",\"components\":[{\"name\":\"adjustmentQuotient\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"sharingPctg\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"gasIssuancePerSecond\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"minGasExcess\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"maxGasIssuancePerBlock\",\"type\":\"uint32\",\"internalType\":\"uint32\"}]}]},{\"name\":\"_transitions\",\"type\":\"tuple[]\",\"internalType\":\"structITaikoInbox.TransitionV3[]\",\"components\":[{\"name\":\"parentHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"proxiableUUID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_chainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"resolver\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIResolver\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setResolver\",\"inputs\":[{\"name\":\"_resolver\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"unpause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeTo\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeToAndCall\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"withdrawBond\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawEtherToAdmin\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawToAdmin\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"AdminChanged\",\"inputs\":[{\"name\":\"previousAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"newAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BeaconUpgraded\",\"inputs\":[{\"name\":\"beacon\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferStarted\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Paused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ProverEnabled\",\"inputs\":[{\"name\":\"prover\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"enabled\",\"type\":\"bool\",\"indexed\":true,\"internalType\":\"bool\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ResolverUpdated\",\"inputs\":[{\"name\":\"oldResolver\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"newResolver\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Upgraded\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"ACCESS_DENIED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ETH_TRANSFER_FAILED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"FUNC_NOT_IMPLEMENTED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"INVALID_BOND_TOKEN\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"INVALID_PAUSE_STATUS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"INVALID_STATUS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NOT_FIRST_PROPOSAL\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"PERMISSION_DENIED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"REENTRANT_CALL\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_NOT_FOUND\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_ADDRESS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_VALUE\",\"inputs\":[]}]",
+}
+
+// ProverSetABI is the input ABI used to generate the binding from.
+// Deprecated: Use ProverSetMetaData.ABI instead.
+var ProverSetABI = ProverSetMetaData.ABI
+
+// ProverSet is an auto generated Go binding around an Ethereum contract.
+type ProverSet struct {
+ ProverSetCaller // Read-only binding to the contract
+ ProverSetTransactor // Write-only binding to the contract
+ ProverSetFilterer // Log filterer for contract events
+}
+
+// ProverSetCaller is an auto generated read-only Go binding around an Ethereum contract.
+type ProverSetCaller struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// ProverSetTransactor is an auto generated write-only Go binding around an Ethereum contract.
+type ProverSetTransactor struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// ProverSetFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
+type ProverSetFilterer struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// ProverSetSession is an auto generated Go binding around an Ethereum contract,
+// with pre-set call and transact options.
+type ProverSetSession struct {
+ Contract *ProverSet // 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
+}
+
+// ProverSetCallerSession is an auto generated read-only Go binding around an Ethereum contract,
+// with pre-set call options.
+type ProverSetCallerSession struct {
+ Contract *ProverSetCaller // Generic contract caller binding to set the session for
+ CallOpts bind.CallOpts // Call options to use throughout this session
+}
+
+// ProverSetTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
+// with pre-set transact options.
+type ProverSetTransactorSession struct {
+ Contract *ProverSetTransactor // Generic contract transactor binding to set the session for
+ TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
+}
+
+// ProverSetRaw is an auto generated low-level Go binding around an Ethereum contract.
+type ProverSetRaw struct {
+ Contract *ProverSet // Generic contract binding to access the raw methods on
+}
+
+// ProverSetCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
+type ProverSetCallerRaw struct {
+ Contract *ProverSetCaller // Generic read-only contract binding to access the raw methods on
+}
+
+// ProverSetTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
+type ProverSetTransactorRaw struct {
+ Contract *ProverSetTransactor // Generic write-only contract binding to access the raw methods on
+}
+
+// NewProverSet creates a new instance of ProverSet, bound to a specific deployed contract.
+func NewProverSet(address common.Address, backend bind.ContractBackend) (*ProverSet, error) {
+ contract, err := bindProverSet(address, backend, backend, backend)
+ if err != nil {
+ return nil, err
+ }
+ return &ProverSet{ProverSetCaller: ProverSetCaller{contract: contract}, ProverSetTransactor: ProverSetTransactor{contract: contract}, ProverSetFilterer: ProverSetFilterer{contract: contract}}, nil
+}
+
+// NewProverSetCaller creates a new read-only instance of ProverSet, bound to a specific deployed contract.
+func NewProverSetCaller(address common.Address, caller bind.ContractCaller) (*ProverSetCaller, error) {
+ contract, err := bindProverSet(address, caller, nil, nil)
+ if err != nil {
+ return nil, err
+ }
+ return &ProverSetCaller{contract: contract}, nil
+}
+
+// NewProverSetTransactor creates a new write-only instance of ProverSet, bound to a specific deployed contract.
+func NewProverSetTransactor(address common.Address, transactor bind.ContractTransactor) (*ProverSetTransactor, error) {
+ contract, err := bindProverSet(address, nil, transactor, nil)
+ if err != nil {
+ return nil, err
+ }
+ return &ProverSetTransactor{contract: contract}, nil
+}
+
+// NewProverSetFilterer creates a new log filterer instance of ProverSet, bound to a specific deployed contract.
+func NewProverSetFilterer(address common.Address, filterer bind.ContractFilterer) (*ProverSetFilterer, error) {
+ contract, err := bindProverSet(address, nil, nil, filterer)
+ if err != nil {
+ return nil, err
+ }
+ return &ProverSetFilterer{contract: contract}, nil
+}
+
+// bindProverSet binds a generic wrapper to an already deployed contract.
+func bindProverSet(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
+ parsed, err := ProverSetMetaData.GetAbi()
+ if err != nil {
+ return nil, err
+ }
+ return bind.NewBoundContract(address, *parsed, caller, transactor, filterer), nil
+}
+
+// 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 (_ProverSet *ProverSetRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
+ return _ProverSet.Contract.ProverSetCaller.contract.Call(opts, result, method, params...)
+}
+
+// Transfer initiates a plain transaction to move funds to the contract, calling
+// its default method if one is available.
+func (_ProverSet *ProverSetRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _ProverSet.Contract.ProverSetTransactor.contract.Transfer(opts)
+}
+
+// Transact invokes the (paid) contract method with params as input values.
+func (_ProverSet *ProverSetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
+ return _ProverSet.Contract.ProverSetTransactor.contract.Transact(opts, method, params...)
+}
+
+// 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 (_ProverSet *ProverSetCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
+ return _ProverSet.Contract.contract.Call(opts, result, method, params...)
+}
+
+// Transfer initiates a plain transaction to move funds to the contract, calling
+// its default method if one is available.
+func (_ProverSet *ProverSetTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _ProverSet.Contract.contract.Transfer(opts)
+}
+
+// Transact invokes the (paid) contract method with params as input values.
+func (_ProverSet *ProverSetTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
+ return _ProverSet.Contract.contract.Transact(opts, method, params...)
+}
+
+// Admin is a free data retrieval call binding the contract method 0xf851a440.
+//
+// Solidity: function admin() view returns(address)
+func (_ProverSet *ProverSetCaller) Admin(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _ProverSet.contract.Call(opts, &out, "admin")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Admin is a free data retrieval call binding the contract method 0xf851a440.
+//
+// Solidity: function admin() view returns(address)
+func (_ProverSet *ProverSetSession) Admin() (common.Address, error) {
+ return _ProverSet.Contract.Admin(&_ProverSet.CallOpts)
+}
+
+// Admin is a free data retrieval call binding the contract method 0xf851a440.
+//
+// Solidity: function admin() view returns(address)
+func (_ProverSet *ProverSetCallerSession) Admin() (common.Address, error) {
+ return _ProverSet.Contract.Admin(&_ProverSet.CallOpts)
+}
+
+// Impl is a free data retrieval call binding the contract method 0x8abf6077.
+//
+// Solidity: function impl() view returns(address)
+func (_ProverSet *ProverSetCaller) Impl(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _ProverSet.contract.Call(opts, &out, "impl")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Impl is a free data retrieval call binding the contract method 0x8abf6077.
+//
+// Solidity: function impl() view returns(address)
+func (_ProverSet *ProverSetSession) Impl() (common.Address, error) {
+ return _ProverSet.Contract.Impl(&_ProverSet.CallOpts)
+}
+
+// Impl is a free data retrieval call binding the contract method 0x8abf6077.
+//
+// Solidity: function impl() view returns(address)
+func (_ProverSet *ProverSetCallerSession) Impl() (common.Address, error) {
+ return _ProverSet.Contract.Impl(&_ProverSet.CallOpts)
+}
+
+// InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
+//
+// Solidity: function inNonReentrant() view returns(bool)
+func (_ProverSet *ProverSetCaller) InNonReentrant(opts *bind.CallOpts) (bool, error) {
+ var out []interface{}
+ err := _ProverSet.contract.Call(opts, &out, "inNonReentrant")
+
+ if err != nil {
+ return *new(bool), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
+
+ return out0, err
+
+}
+
+// InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
+//
+// Solidity: function inNonReentrant() view returns(bool)
+func (_ProverSet *ProverSetSession) InNonReentrant() (bool, error) {
+ return _ProverSet.Contract.InNonReentrant(&_ProverSet.CallOpts)
+}
+
+// InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
+//
+// Solidity: function inNonReentrant() view returns(bool)
+func (_ProverSet *ProverSetCallerSession) InNonReentrant() (bool, error) {
+ return _ProverSet.Contract.InNonReentrant(&_ProverSet.CallOpts)
+}
+
+// IsProver is a free data retrieval call binding the contract method 0x0a245924.
+//
+// Solidity: function isProver(address prover) view returns(bool isProver)
+func (_ProverSet *ProverSetCaller) IsProver(opts *bind.CallOpts, prover common.Address) (bool, error) {
+ var out []interface{}
+ err := _ProverSet.contract.Call(opts, &out, "isProver", prover)
+
+ if err != nil {
+ return *new(bool), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
+
+ return out0, err
+
+}
+
+// IsProver is a free data retrieval call binding the contract method 0x0a245924.
+//
+// Solidity: function isProver(address prover) view returns(bool isProver)
+func (_ProverSet *ProverSetSession) IsProver(prover common.Address) (bool, error) {
+ return _ProverSet.Contract.IsProver(&_ProverSet.CallOpts, prover)
+}
+
+// IsProver is a free data retrieval call binding the contract method 0x0a245924.
+//
+// Solidity: function isProver(address prover) view returns(bool isProver)
+func (_ProverSet *ProverSetCallerSession) IsProver(prover common.Address) (bool, error) {
+ return _ProverSet.Contract.IsProver(&_ProverSet.CallOpts, prover)
+}
+
+// IsValidSignature is a free data retrieval call binding the contract method 0x1626ba7e.
+//
+// Solidity: function isValidSignature(bytes32 _hash, bytes _signature) view returns(bytes4 magicValue_)
+func (_ProverSet *ProverSetCaller) IsValidSignature(opts *bind.CallOpts, _hash [32]byte, _signature []byte) ([4]byte, error) {
+ var out []interface{}
+ err := _ProverSet.contract.Call(opts, &out, "isValidSignature", _hash, _signature)
+
+ if err != nil {
+ return *new([4]byte), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new([4]byte)).(*[4]byte)
+
+ return out0, err
+
+}
+
+// IsValidSignature is a free data retrieval call binding the contract method 0x1626ba7e.
+//
+// Solidity: function isValidSignature(bytes32 _hash, bytes _signature) view returns(bytes4 magicValue_)
+func (_ProverSet *ProverSetSession) IsValidSignature(_hash [32]byte, _signature []byte) ([4]byte, error) {
+ return _ProverSet.Contract.IsValidSignature(&_ProverSet.CallOpts, _hash, _signature)
+}
+
+// IsValidSignature is a free data retrieval call binding the contract method 0x1626ba7e.
+//
+// Solidity: function isValidSignature(bytes32 _hash, bytes _signature) view returns(bytes4 magicValue_)
+func (_ProverSet *ProverSetCallerSession) IsValidSignature(_hash [32]byte, _signature []byte) ([4]byte, error) {
+ return _ProverSet.Contract.IsValidSignature(&_ProverSet.CallOpts, _hash, _signature)
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_ProverSet *ProverSetCaller) Owner(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _ProverSet.contract.Call(opts, &out, "owner")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_ProverSet *ProverSetSession) Owner() (common.Address, error) {
+ return _ProverSet.Contract.Owner(&_ProverSet.CallOpts)
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_ProverSet *ProverSetCallerSession) Owner() (common.Address, error) {
+ return _ProverSet.Contract.Owner(&_ProverSet.CallOpts)
+}
+
+// Paused is a free data retrieval call binding the contract method 0x5c975abb.
+//
+// Solidity: function paused() view returns(bool)
+func (_ProverSet *ProverSetCaller) Paused(opts *bind.CallOpts) (bool, error) {
+ var out []interface{}
+ err := _ProverSet.contract.Call(opts, &out, "paused")
+
+ if err != nil {
+ return *new(bool), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
+
+ return out0, err
+
+}
+
+// Paused is a free data retrieval call binding the contract method 0x5c975abb.
+//
+// Solidity: function paused() view returns(bool)
+func (_ProverSet *ProverSetSession) Paused() (bool, error) {
+ return _ProverSet.Contract.Paused(&_ProverSet.CallOpts)
+}
+
+// Paused is a free data retrieval call binding the contract method 0x5c975abb.
+//
+// Solidity: function paused() view returns(bool)
+func (_ProverSet *ProverSetCallerSession) Paused() (bool, error) {
+ return _ProverSet.Contract.Paused(&_ProverSet.CallOpts)
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_ProverSet *ProverSetCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _ProverSet.contract.Call(opts, &out, "pendingOwner")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_ProverSet *ProverSetSession) PendingOwner() (common.Address, error) {
+ return _ProverSet.Contract.PendingOwner(&_ProverSet.CallOpts)
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_ProverSet *ProverSetCallerSession) PendingOwner() (common.Address, error) {
+ return _ProverSet.Contract.PendingOwner(&_ProverSet.CallOpts)
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_ProverSet *ProverSetCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error) {
+ var out []interface{}
+ err := _ProverSet.contract.Call(opts, &out, "proxiableUUID")
+
+ if err != nil {
+ return *new([32]byte), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
+
+ return out0, err
+
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_ProverSet *ProverSetSession) ProxiableUUID() ([32]byte, error) {
+ return _ProverSet.Contract.ProxiableUUID(&_ProverSet.CallOpts)
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_ProverSet *ProverSetCallerSession) ProxiableUUID() ([32]byte, error) {
+ return _ProverSet.Contract.ProxiableUUID(&_ProverSet.CallOpts)
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
+//
+// Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_ProverSet *ProverSetCaller) Resolve(opts *bind.CallOpts, _chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ var out []interface{}
+ err := _ProverSet.contract.Call(opts, &out, "resolve", _chainId, _name, _allowZeroAddress)
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
+//
+// Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_ProverSet *ProverSetSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _ProverSet.Contract.Resolve(&_ProverSet.CallOpts, _chainId, _name, _allowZeroAddress)
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
+//
+// Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_ProverSet *ProverSetCallerSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _ProverSet.Contract.Resolve(&_ProverSet.CallOpts, _chainId, _name, _allowZeroAddress)
+}
+
+// Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
+//
+// Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_ProverSet *ProverSetCaller) Resolve0(opts *bind.CallOpts, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ var out []interface{}
+ err := _ProverSet.contract.Call(opts, &out, "resolve0", _name, _allowZeroAddress)
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
+//
+// Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_ProverSet *ProverSetSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _ProverSet.Contract.Resolve0(&_ProverSet.CallOpts, _name, _allowZeroAddress)
+}
+
+// Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
+//
+// Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_ProverSet *ProverSetCallerSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _ProverSet.Contract.Resolve0(&_ProverSet.CallOpts, _name, _allowZeroAddress)
+}
+
+// Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
+//
+// Solidity: function resolver() view returns(address)
+func (_ProverSet *ProverSetCaller) Resolver(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _ProverSet.contract.Call(opts, &out, "resolver")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
+//
+// Solidity: function resolver() view returns(address)
+func (_ProverSet *ProverSetSession) Resolver() (common.Address, error) {
+ return _ProverSet.Contract.Resolver(&_ProverSet.CallOpts)
+}
+
+// Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
+//
+// Solidity: function resolver() view returns(address)
+func (_ProverSet *ProverSetCallerSession) Resolver() (common.Address, error) {
+ return _ProverSet.Contract.Resolver(&_ProverSet.CallOpts)
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_ProverSet *ProverSetTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "acceptOwnership")
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_ProverSet *ProverSetSession) AcceptOwnership() (*types.Transaction, error) {
+ return _ProverSet.Contract.AcceptOwnership(&_ProverSet.TransactOpts)
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_ProverSet *ProverSetTransactorSession) AcceptOwnership() (*types.Transaction, error) {
+ return _ProverSet.Contract.AcceptOwnership(&_ProverSet.TransactOpts)
+}
+
+// ApproveAllowance is a paid mutator transaction binding the contract method 0x0a1553a5.
+//
+// Solidity: function approveAllowance(address _address, uint256 _allowance) returns()
+func (_ProverSet *ProverSetTransactor) ApproveAllowance(opts *bind.TransactOpts, _address common.Address, _allowance *big.Int) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "approveAllowance", _address, _allowance)
+}
+
+// ApproveAllowance is a paid mutator transaction binding the contract method 0x0a1553a5.
+//
+// Solidity: function approveAllowance(address _address, uint256 _allowance) returns()
+func (_ProverSet *ProverSetSession) ApproveAllowance(_address common.Address, _allowance *big.Int) (*types.Transaction, error) {
+ return _ProverSet.Contract.ApproveAllowance(&_ProverSet.TransactOpts, _address, _allowance)
+}
+
+// ApproveAllowance is a paid mutator transaction binding the contract method 0x0a1553a5.
+//
+// Solidity: function approveAllowance(address _address, uint256 _allowance) returns()
+func (_ProverSet *ProverSetTransactorSession) ApproveAllowance(_address common.Address, _allowance *big.Int) (*types.Transaction, error) {
+ return _ProverSet.Contract.ApproveAllowance(&_ProverSet.TransactOpts, _address, _allowance)
+}
+
+// Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.
+//
+// Solidity: function delegate(address _delegatee) returns()
+func (_ProverSet *ProverSetTransactor) Delegate(opts *bind.TransactOpts, _delegatee common.Address) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "delegate", _delegatee)
+}
+
+// Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.
+//
+// Solidity: function delegate(address _delegatee) returns()
+func (_ProverSet *ProverSetSession) Delegate(_delegatee common.Address) (*types.Transaction, error) {
+ return _ProverSet.Contract.Delegate(&_ProverSet.TransactOpts, _delegatee)
+}
+
+// Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.
+//
+// Solidity: function delegate(address _delegatee) returns()
+func (_ProverSet *ProverSetTransactorSession) Delegate(_delegatee common.Address) (*types.Transaction, error) {
+ return _ProverSet.Contract.Delegate(&_ProverSet.TransactOpts, _delegatee)
+}
+
+// DepositBond is a paid mutator transaction binding the contract method 0x4dcb05f9.
+//
+// Solidity: function depositBond(uint256 _amount) returns()
+func (_ProverSet *ProverSetTransactor) DepositBond(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "depositBond", _amount)
+}
+
+// DepositBond is a paid mutator transaction binding the contract method 0x4dcb05f9.
+//
+// Solidity: function depositBond(uint256 _amount) returns()
+func (_ProverSet *ProverSetSession) DepositBond(_amount *big.Int) (*types.Transaction, error) {
+ return _ProverSet.Contract.DepositBond(&_ProverSet.TransactOpts, _amount)
+}
+
+// DepositBond is a paid mutator transaction binding the contract method 0x4dcb05f9.
+//
+// Solidity: function depositBond(uint256 _amount) returns()
+func (_ProverSet *ProverSetTransactorSession) DepositBond(_amount *big.Int) (*types.Transaction, error) {
+ return _ProverSet.Contract.DepositBond(&_ProverSet.TransactOpts, _amount)
+}
+
+// EnableProver is a paid mutator transaction binding the contract method 0xcb4cd0a4.
+//
+// Solidity: function enableProver(address _prover, bool _isProver) returns()
+func (_ProverSet *ProverSetTransactor) EnableProver(opts *bind.TransactOpts, _prover common.Address, _isProver bool) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "enableProver", _prover, _isProver)
+}
+
+// EnableProver is a paid mutator transaction binding the contract method 0xcb4cd0a4.
+//
+// Solidity: function enableProver(address _prover, bool _isProver) returns()
+func (_ProverSet *ProverSetSession) EnableProver(_prover common.Address, _isProver bool) (*types.Transaction, error) {
+ return _ProverSet.Contract.EnableProver(&_ProverSet.TransactOpts, _prover, _isProver)
+}
+
+// EnableProver is a paid mutator transaction binding the contract method 0xcb4cd0a4.
+//
+// Solidity: function enableProver(address _prover, bool _isProver) returns()
+func (_ProverSet *ProverSetTransactorSession) EnableProver(_prover common.Address, _isProver bool) (*types.Transaction, error) {
+ return _ProverSet.Contract.EnableProver(&_ProverSet.TransactOpts, _prover, _isProver)
+}
+
+// Init is a paid mutator transaction binding the contract method 0x184b9559.
+//
+// Solidity: function init(address _owner, address _admin, address _rollupResolver) returns()
+func (_ProverSet *ProverSetTransactor) Init(opts *bind.TransactOpts, _owner common.Address, _admin common.Address, _rollupResolver common.Address) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "init", _owner, _admin, _rollupResolver)
+}
+
+// Init is a paid mutator transaction binding the contract method 0x184b9559.
+//
+// Solidity: function init(address _owner, address _admin, address _rollupResolver) returns()
+func (_ProverSet *ProverSetSession) Init(_owner common.Address, _admin common.Address, _rollupResolver common.Address) (*types.Transaction, error) {
+ return _ProverSet.Contract.Init(&_ProverSet.TransactOpts, _owner, _admin, _rollupResolver)
+}
+
+// Init is a paid mutator transaction binding the contract method 0x184b9559.
+//
+// Solidity: function init(address _owner, address _admin, address _rollupResolver) returns()
+func (_ProverSet *ProverSetTransactorSession) Init(_owner common.Address, _admin common.Address, _rollupResolver common.Address) (*types.Transaction, error) {
+ return _ProverSet.Contract.Init(&_ProverSet.TransactOpts, _owner, _admin, _rollupResolver)
+}
+
+// Pause is a paid mutator transaction binding the contract method 0x8456cb59.
+//
+// Solidity: function pause() returns()
+func (_ProverSet *ProverSetTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "pause")
+}
+
+// Pause is a paid mutator transaction binding the contract method 0x8456cb59.
+//
+// Solidity: function pause() returns()
+func (_ProverSet *ProverSetSession) Pause() (*types.Transaction, error) {
+ return _ProverSet.Contract.Pause(&_ProverSet.TransactOpts)
+}
+
+// Pause is a paid mutator transaction binding the contract method 0x8456cb59.
+//
+// Solidity: function pause() returns()
+func (_ProverSet *ProverSetTransactorSession) Pause() (*types.Transaction, error) {
+ return _ProverSet.Contract.Pause(&_ProverSet.TransactOpts)
+}
+
+// ProposeBlocksV3 is a paid mutator transaction binding the contract method 0xedbf20b5.
+//
+// Solidity: function proposeBlocksV3((bytes32,uint64,bytes32,uint64,uint32,uint32,uint8,bytes32[])[] _paramsArray, bytes _txList, bool _revertIfNotFirstProposal) returns((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] metas_)
+func (_ProverSet *ProverSetTransactor) ProposeBlocksV3(opts *bind.TransactOpts, _paramsArray []ITaikoInboxBlockParamsV3, _txList []byte, _revertIfNotFirstProposal bool) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "proposeBlocksV3", _paramsArray, _txList, _revertIfNotFirstProposal)
+}
+
+// ProposeBlocksV3 is a paid mutator transaction binding the contract method 0xedbf20b5.
+//
+// Solidity: function proposeBlocksV3((bytes32,uint64,bytes32,uint64,uint32,uint32,uint8,bytes32[])[] _paramsArray, bytes _txList, bool _revertIfNotFirstProposal) returns((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] metas_)
+func (_ProverSet *ProverSetSession) ProposeBlocksV3(_paramsArray []ITaikoInboxBlockParamsV3, _txList []byte, _revertIfNotFirstProposal bool) (*types.Transaction, error) {
+ return _ProverSet.Contract.ProposeBlocksV3(&_ProverSet.TransactOpts, _paramsArray, _txList, _revertIfNotFirstProposal)
+}
+
+// ProposeBlocksV3 is a paid mutator transaction binding the contract method 0xedbf20b5.
+//
+// Solidity: function proposeBlocksV3((bytes32,uint64,bytes32,uint64,uint32,uint32,uint8,bytes32[])[] _paramsArray, bytes _txList, bool _revertIfNotFirstProposal) returns((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] metas_)
+func (_ProverSet *ProverSetTransactorSession) ProposeBlocksV3(_paramsArray []ITaikoInboxBlockParamsV3, _txList []byte, _revertIfNotFirstProposal bool) (*types.Transaction, error) {
+ return _ProverSet.Contract.ProposeBlocksV3(&_ProverSet.TransactOpts, _paramsArray, _txList, _revertIfNotFirstProposal)
+}
+
+// ProveBlocksV3 is a paid mutator transaction binding the contract method 0xf0c00397.
+//
+// Solidity: function proveBlocksV3((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] _metas, (bytes32,bytes32,bytes32)[] _transitions, bytes _proof) returns()
+func (_ProverSet *ProverSetTransactor) ProveBlocksV3(opts *bind.TransactOpts, _metas []ITaikoInboxBlockMetadataV3, _transitions []ITaikoInboxTransitionV3, _proof []byte) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "proveBlocksV3", _metas, _transitions, _proof)
+}
+
+// ProveBlocksV3 is a paid mutator transaction binding the contract method 0xf0c00397.
+//
+// Solidity: function proveBlocksV3((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] _metas, (bytes32,bytes32,bytes32)[] _transitions, bytes _proof) returns()
+func (_ProverSet *ProverSetSession) ProveBlocksV3(_metas []ITaikoInboxBlockMetadataV3, _transitions []ITaikoInboxTransitionV3, _proof []byte) (*types.Transaction, error) {
+ return _ProverSet.Contract.ProveBlocksV3(&_ProverSet.TransactOpts, _metas, _transitions, _proof)
+}
+
+// ProveBlocksV3 is a paid mutator transaction binding the contract method 0xf0c00397.
+//
+// Solidity: function proveBlocksV3((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] _metas, (bytes32,bytes32,bytes32)[] _transitions, bytes _proof) returns()
+func (_ProverSet *ProverSetTransactorSession) ProveBlocksV3(_metas []ITaikoInboxBlockMetadataV3, _transitions []ITaikoInboxTransitionV3, _proof []byte) (*types.Transaction, error) {
+ return _ProverSet.Contract.ProveBlocksV3(&_ProverSet.TransactOpts, _metas, _transitions, _proof)
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_ProverSet *ProverSetTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "renounceOwnership")
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_ProverSet *ProverSetSession) RenounceOwnership() (*types.Transaction, error) {
+ return _ProverSet.Contract.RenounceOwnership(&_ProverSet.TransactOpts)
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_ProverSet *ProverSetTransactorSession) RenounceOwnership() (*types.Transaction, error) {
+ return _ProverSet.Contract.RenounceOwnership(&_ProverSet.TransactOpts)
+}
+
+// SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.
+//
+// Solidity: function setResolver(address _resolver) returns()
+func (_ProverSet *ProverSetTransactor) SetResolver(opts *bind.TransactOpts, _resolver common.Address) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "setResolver", _resolver)
+}
+
+// SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.
+//
+// Solidity: function setResolver(address _resolver) returns()
+func (_ProverSet *ProverSetSession) SetResolver(_resolver common.Address) (*types.Transaction, error) {
+ return _ProverSet.Contract.SetResolver(&_ProverSet.TransactOpts, _resolver)
+}
+
+// SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.
+//
+// Solidity: function setResolver(address _resolver) returns()
+func (_ProverSet *ProverSetTransactorSession) SetResolver(_resolver common.Address) (*types.Transaction, error) {
+ return _ProverSet.Contract.SetResolver(&_ProverSet.TransactOpts, _resolver)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_ProverSet *ProverSetTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "transferOwnership", newOwner)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_ProverSet *ProverSetSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) {
+ return _ProverSet.Contract.TransferOwnership(&_ProverSet.TransactOpts, newOwner)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_ProverSet *ProverSetTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) {
+ return _ProverSet.Contract.TransferOwnership(&_ProverSet.TransactOpts, newOwner)
+}
+
+// Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
+//
+// Solidity: function unpause() returns()
+func (_ProverSet *ProverSetTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "unpause")
+}
+
+// Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
+//
+// Solidity: function unpause() returns()
+func (_ProverSet *ProverSetSession) Unpause() (*types.Transaction, error) {
+ return _ProverSet.Contract.Unpause(&_ProverSet.TransactOpts)
+}
+
+// Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
+//
+// Solidity: function unpause() returns()
+func (_ProverSet *ProverSetTransactorSession) Unpause() (*types.Transaction, error) {
+ return _ProverSet.Contract.Unpause(&_ProverSet.TransactOpts)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_ProverSet *ProverSetTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "upgradeTo", newImplementation)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_ProverSet *ProverSetSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error) {
+ return _ProverSet.Contract.UpgradeTo(&_ProverSet.TransactOpts, newImplementation)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_ProverSet *ProverSetTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error) {
+ return _ProverSet.Contract.UpgradeTo(&_ProverSet.TransactOpts, newImplementation)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_ProverSet *ProverSetTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "upgradeToAndCall", newImplementation, data)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_ProverSet *ProverSetSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _ProverSet.Contract.UpgradeToAndCall(&_ProverSet.TransactOpts, newImplementation, data)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_ProverSet *ProverSetTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _ProverSet.Contract.UpgradeToAndCall(&_ProverSet.TransactOpts, newImplementation, data)
+}
+
+// WithdrawBond is a paid mutator transaction binding the contract method 0xc3daab96.
+//
+// Solidity: function withdrawBond(uint256 _amount) returns()
+func (_ProverSet *ProverSetTransactor) WithdrawBond(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "withdrawBond", _amount)
+}
+
+// WithdrawBond is a paid mutator transaction binding the contract method 0xc3daab96.
+//
+// Solidity: function withdrawBond(uint256 _amount) returns()
+func (_ProverSet *ProverSetSession) WithdrawBond(_amount *big.Int) (*types.Transaction, error) {
+ return _ProverSet.Contract.WithdrawBond(&_ProverSet.TransactOpts, _amount)
+}
+
+// WithdrawBond is a paid mutator transaction binding the contract method 0xc3daab96.
+//
+// Solidity: function withdrawBond(uint256 _amount) returns()
+func (_ProverSet *ProverSetTransactorSession) WithdrawBond(_amount *big.Int) (*types.Transaction, error) {
+ return _ProverSet.Contract.WithdrawBond(&_ProverSet.TransactOpts, _amount)
+}
+
+// WithdrawEtherToAdmin is a paid mutator transaction binding the contract method 0x7ddb9fec.
+//
+// Solidity: function withdrawEtherToAdmin(uint256 _amount) returns()
+func (_ProverSet *ProverSetTransactor) WithdrawEtherToAdmin(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "withdrawEtherToAdmin", _amount)
+}
+
+// WithdrawEtherToAdmin is a paid mutator transaction binding the contract method 0x7ddb9fec.
+//
+// Solidity: function withdrawEtherToAdmin(uint256 _amount) returns()
+func (_ProverSet *ProverSetSession) WithdrawEtherToAdmin(_amount *big.Int) (*types.Transaction, error) {
+ return _ProverSet.Contract.WithdrawEtherToAdmin(&_ProverSet.TransactOpts, _amount)
+}
+
+// WithdrawEtherToAdmin is a paid mutator transaction binding the contract method 0x7ddb9fec.
+//
+// Solidity: function withdrawEtherToAdmin(uint256 _amount) returns()
+func (_ProverSet *ProverSetTransactorSession) WithdrawEtherToAdmin(_amount *big.Int) (*types.Transaction, error) {
+ return _ProverSet.Contract.WithdrawEtherToAdmin(&_ProverSet.TransactOpts, _amount)
+}
+
+// WithdrawToAdmin is a paid mutator transaction binding the contract method 0x8bd809fd.
+//
+// Solidity: function withdrawToAdmin(uint256 _amount) returns()
+func (_ProverSet *ProverSetTransactor) WithdrawToAdmin(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error) {
+ return _ProverSet.contract.Transact(opts, "withdrawToAdmin", _amount)
+}
+
+// WithdrawToAdmin is a paid mutator transaction binding the contract method 0x8bd809fd.
+//
+// Solidity: function withdrawToAdmin(uint256 _amount) returns()
+func (_ProverSet *ProverSetSession) WithdrawToAdmin(_amount *big.Int) (*types.Transaction, error) {
+ return _ProverSet.Contract.WithdrawToAdmin(&_ProverSet.TransactOpts, _amount)
+}
+
+// WithdrawToAdmin is a paid mutator transaction binding the contract method 0x8bd809fd.
+//
+// Solidity: function withdrawToAdmin(uint256 _amount) returns()
+func (_ProverSet *ProverSetTransactorSession) WithdrawToAdmin(_amount *big.Int) (*types.Transaction, error) {
+ return _ProverSet.Contract.WithdrawToAdmin(&_ProverSet.TransactOpts, _amount)
+}
+
+// ProverSetAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the ProverSet contract.
+type ProverSetAdminChangedIterator struct {
+ Event *ProverSetAdminChanged // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ProverSetAdminChangedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetAdminChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetAdminChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ProverSetAdminChangedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ProverSetAdminChangedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ProverSetAdminChanged represents a AdminChanged event raised by the ProverSet contract.
+type ProverSetAdminChanged struct {
+ PreviousAdmin common.Address
+ NewAdmin common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_ProverSet *ProverSetFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ProverSetAdminChangedIterator, error) {
+
+ logs, sub, err := _ProverSet.contract.FilterLogs(opts, "AdminChanged")
+ if err != nil {
+ return nil, err
+ }
+ return &ProverSetAdminChangedIterator{contract: _ProverSet.contract, event: "AdminChanged", logs: logs, sub: sub}, nil
+}
+
+// WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_ProverSet *ProverSetFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ProverSetAdminChanged) (event.Subscription, error) {
+
+ logs, sub, err := _ProverSet.contract.WatchLogs(opts, "AdminChanged")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ProverSetAdminChanged)
+ if err := _ProverSet.contract.UnpackLog(event, "AdminChanged", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_ProverSet *ProverSetFilterer) ParseAdminChanged(log types.Log) (*ProverSetAdminChanged, error) {
+ event := new(ProverSetAdminChanged)
+ if err := _ProverSet.contract.UnpackLog(event, "AdminChanged", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// ProverSetBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the ProverSet contract.
+type ProverSetBeaconUpgradedIterator struct {
+ Event *ProverSetBeaconUpgraded // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ProverSetBeaconUpgradedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetBeaconUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetBeaconUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ProverSetBeaconUpgradedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ProverSetBeaconUpgradedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ProverSetBeaconUpgraded represents a BeaconUpgraded event raised by the ProverSet contract.
+type ProverSetBeaconUpgraded struct {
+ Beacon common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_ProverSet *ProverSetFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ProverSetBeaconUpgradedIterator, error) {
+
+ var beaconRule []interface{}
+ for _, beaconItem := range beacon {
+ beaconRule = append(beaconRule, beaconItem)
+ }
+
+ logs, sub, err := _ProverSet.contract.FilterLogs(opts, "BeaconUpgraded", beaconRule)
+ if err != nil {
+ return nil, err
+ }
+ return &ProverSetBeaconUpgradedIterator{contract: _ProverSet.contract, event: "BeaconUpgraded", logs: logs, sub: sub}, nil
+}
+
+// WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_ProverSet *ProverSetFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ProverSetBeaconUpgraded, beacon []common.Address) (event.Subscription, error) {
+
+ var beaconRule []interface{}
+ for _, beaconItem := range beacon {
+ beaconRule = append(beaconRule, beaconItem)
+ }
+
+ logs, sub, err := _ProverSet.contract.WatchLogs(opts, "BeaconUpgraded", beaconRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ProverSetBeaconUpgraded)
+ if err := _ProverSet.contract.UnpackLog(event, "BeaconUpgraded", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_ProverSet *ProverSetFilterer) ParseBeaconUpgraded(log types.Log) (*ProverSetBeaconUpgraded, error) {
+ event := new(ProverSetBeaconUpgraded)
+ if err := _ProverSet.contract.UnpackLog(event, "BeaconUpgraded", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// ProverSetInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ProverSet contract.
+type ProverSetInitializedIterator struct {
+ Event *ProverSetInitialized // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ProverSetInitializedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetInitialized)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetInitialized)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ProverSetInitializedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ProverSetInitializedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ProverSetInitialized represents a Initialized event raised by the ProverSet contract.
+type ProverSetInitialized struct {
+ Version uint8
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_ProverSet *ProverSetFilterer) FilterInitialized(opts *bind.FilterOpts) (*ProverSetInitializedIterator, error) {
+
+ logs, sub, err := _ProverSet.contract.FilterLogs(opts, "Initialized")
+ if err != nil {
+ return nil, err
+ }
+ return &ProverSetInitializedIterator{contract: _ProverSet.contract, event: "Initialized", logs: logs, sub: sub}, nil
+}
+
+// WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_ProverSet *ProverSetFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ProverSetInitialized) (event.Subscription, error) {
+
+ logs, sub, err := _ProverSet.contract.WatchLogs(opts, "Initialized")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ProverSetInitialized)
+ if err := _ProverSet.contract.UnpackLog(event, "Initialized", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_ProverSet *ProverSetFilterer) ParseInitialized(log types.Log) (*ProverSetInitialized, error) {
+ event := new(ProverSetInitialized)
+ if err := _ProverSet.contract.UnpackLog(event, "Initialized", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// ProverSetOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the ProverSet contract.
+type ProverSetOwnershipTransferStartedIterator struct {
+ Event *ProverSetOwnershipTransferStarted // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ProverSetOwnershipTransferStartedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetOwnershipTransferStarted)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetOwnershipTransferStarted)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ProverSetOwnershipTransferStartedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ProverSetOwnershipTransferStartedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ProverSetOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the ProverSet contract.
+type ProverSetOwnershipTransferStarted struct {
+ PreviousOwner common.Address
+ NewOwner common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_ProverSet *ProverSetFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ProverSetOwnershipTransferStartedIterator, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _ProverSet.contract.FilterLogs(opts, "OwnershipTransferStarted", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return &ProverSetOwnershipTransferStartedIterator{contract: _ProverSet.contract, event: "OwnershipTransferStarted", logs: logs, sub: sub}, nil
+}
+
+// WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_ProverSet *ProverSetFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *ProverSetOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _ProverSet.contract.WatchLogs(opts, "OwnershipTransferStarted", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ProverSetOwnershipTransferStarted)
+ if err := _ProverSet.contract.UnpackLog(event, "OwnershipTransferStarted", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_ProverSet *ProverSetFilterer) ParseOwnershipTransferStarted(log types.Log) (*ProverSetOwnershipTransferStarted, error) {
+ event := new(ProverSetOwnershipTransferStarted)
+ if err := _ProverSet.contract.UnpackLog(event, "OwnershipTransferStarted", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// ProverSetOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ProverSet contract.
+type ProverSetOwnershipTransferredIterator struct {
+ Event *ProverSetOwnershipTransferred // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ProverSetOwnershipTransferredIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetOwnershipTransferred)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetOwnershipTransferred)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ProverSetOwnershipTransferredIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ProverSetOwnershipTransferredIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ProverSetOwnershipTransferred represents a OwnershipTransferred event raised by the ProverSet contract.
+type ProverSetOwnershipTransferred struct {
+ PreviousOwner common.Address
+ NewOwner common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_ProverSet *ProverSetFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ProverSetOwnershipTransferredIterator, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _ProverSet.contract.FilterLogs(opts, "OwnershipTransferred", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return &ProverSetOwnershipTransferredIterator{contract: _ProverSet.contract, event: "OwnershipTransferred", logs: logs, sub: sub}, nil
+}
+
+// WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_ProverSet *ProverSetFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ProverSetOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _ProverSet.contract.WatchLogs(opts, "OwnershipTransferred", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ProverSetOwnershipTransferred)
+ if err := _ProverSet.contract.UnpackLog(event, "OwnershipTransferred", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_ProverSet *ProverSetFilterer) ParseOwnershipTransferred(log types.Log) (*ProverSetOwnershipTransferred, error) {
+ event := new(ProverSetOwnershipTransferred)
+ if err := _ProverSet.contract.UnpackLog(event, "OwnershipTransferred", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// ProverSetPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the ProverSet contract.
+type ProverSetPausedIterator struct {
+ Event *ProverSetPaused // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ProverSetPausedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetPaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetPaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ProverSetPausedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ProverSetPausedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ProverSetPaused represents a Paused event raised by the ProverSet contract.
+type ProverSetPaused struct {
+ Account common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
+//
+// Solidity: event Paused(address account)
+func (_ProverSet *ProverSetFilterer) FilterPaused(opts *bind.FilterOpts) (*ProverSetPausedIterator, error) {
+
+ logs, sub, err := _ProverSet.contract.FilterLogs(opts, "Paused")
+ if err != nil {
+ return nil, err
+ }
+ return &ProverSetPausedIterator{contract: _ProverSet.contract, event: "Paused", logs: logs, sub: sub}, nil
+}
+
+// WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
+//
+// Solidity: event Paused(address account)
+func (_ProverSet *ProverSetFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ProverSetPaused) (event.Subscription, error) {
+
+ logs, sub, err := _ProverSet.contract.WatchLogs(opts, "Paused")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ProverSetPaused)
+ if err := _ProverSet.contract.UnpackLog(event, "Paused", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
+//
+// Solidity: event Paused(address account)
+func (_ProverSet *ProverSetFilterer) ParsePaused(log types.Log) (*ProverSetPaused, error) {
+ event := new(ProverSetPaused)
+ if err := _ProverSet.contract.UnpackLog(event, "Paused", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// ProverSetProverEnabledIterator is returned from FilterProverEnabled and is used to iterate over the raw logs and unpacked data for ProverEnabled events raised by the ProverSet contract.
+type ProverSetProverEnabledIterator struct {
+ Event *ProverSetProverEnabled // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ProverSetProverEnabledIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetProverEnabled)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetProverEnabled)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ProverSetProverEnabledIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ProverSetProverEnabledIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ProverSetProverEnabled represents a ProverEnabled event raised by the ProverSet contract.
+type ProverSetProverEnabled struct {
+ Prover common.Address
+ Enabled bool
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterProverEnabled is a free log retrieval operation binding the contract event 0x9f0c7298008bc8a24d3717fb47d215e91deb098d3486d802bf98cf6d177633a7.
+//
+// Solidity: event ProverEnabled(address indexed prover, bool indexed enabled)
+func (_ProverSet *ProverSetFilterer) FilterProverEnabled(opts *bind.FilterOpts, prover []common.Address, enabled []bool) (*ProverSetProverEnabledIterator, error) {
+
+ var proverRule []interface{}
+ for _, proverItem := range prover {
+ proverRule = append(proverRule, proverItem)
+ }
+ var enabledRule []interface{}
+ for _, enabledItem := range enabled {
+ enabledRule = append(enabledRule, enabledItem)
+ }
+
+ logs, sub, err := _ProverSet.contract.FilterLogs(opts, "ProverEnabled", proverRule, enabledRule)
+ if err != nil {
+ return nil, err
+ }
+ return &ProverSetProverEnabledIterator{contract: _ProverSet.contract, event: "ProverEnabled", logs: logs, sub: sub}, nil
+}
+
+// WatchProverEnabled is a free log subscription operation binding the contract event 0x9f0c7298008bc8a24d3717fb47d215e91deb098d3486d802bf98cf6d177633a7.
+//
+// Solidity: event ProverEnabled(address indexed prover, bool indexed enabled)
+func (_ProverSet *ProverSetFilterer) WatchProverEnabled(opts *bind.WatchOpts, sink chan<- *ProverSetProverEnabled, prover []common.Address, enabled []bool) (event.Subscription, error) {
+
+ var proverRule []interface{}
+ for _, proverItem := range prover {
+ proverRule = append(proverRule, proverItem)
+ }
+ var enabledRule []interface{}
+ for _, enabledItem := range enabled {
+ enabledRule = append(enabledRule, enabledItem)
+ }
+
+ logs, sub, err := _ProverSet.contract.WatchLogs(opts, "ProverEnabled", proverRule, enabledRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ProverSetProverEnabled)
+ if err := _ProverSet.contract.UnpackLog(event, "ProverEnabled", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseProverEnabled is a log parse operation binding the contract event 0x9f0c7298008bc8a24d3717fb47d215e91deb098d3486d802bf98cf6d177633a7.
+//
+// Solidity: event ProverEnabled(address indexed prover, bool indexed enabled)
+func (_ProverSet *ProverSetFilterer) ParseProverEnabled(log types.Log) (*ProverSetProverEnabled, error) {
+ event := new(ProverSetProverEnabled)
+ if err := _ProverSet.contract.UnpackLog(event, "ProverEnabled", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// ProverSetResolverUpdatedIterator is returned from FilterResolverUpdated and is used to iterate over the raw logs and unpacked data for ResolverUpdated events raised by the ProverSet contract.
+type ProverSetResolverUpdatedIterator struct {
+ Event *ProverSetResolverUpdated // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ProverSetResolverUpdatedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetResolverUpdated)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetResolverUpdated)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ProverSetResolverUpdatedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ProverSetResolverUpdatedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ProverSetResolverUpdated represents a ResolverUpdated event raised by the ProverSet contract.
+type ProverSetResolverUpdated struct {
+ OldResolver common.Address
+ NewResolver common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterResolverUpdated is a free log retrieval operation binding the contract event 0x84b83d2b66cac119ccaaca68b476b0dc5371d5f2fd27f697770a910175fd38b6.
+//
+// Solidity: event ResolverUpdated(address oldResolver, address newResolver)
+func (_ProverSet *ProverSetFilterer) FilterResolverUpdated(opts *bind.FilterOpts) (*ProverSetResolverUpdatedIterator, error) {
+
+ logs, sub, err := _ProverSet.contract.FilterLogs(opts, "ResolverUpdated")
+ if err != nil {
+ return nil, err
+ }
+ return &ProverSetResolverUpdatedIterator{contract: _ProverSet.contract, event: "ResolverUpdated", logs: logs, sub: sub}, nil
+}
+
+// WatchResolverUpdated is a free log subscription operation binding the contract event 0x84b83d2b66cac119ccaaca68b476b0dc5371d5f2fd27f697770a910175fd38b6.
+//
+// Solidity: event ResolverUpdated(address oldResolver, address newResolver)
+func (_ProverSet *ProverSetFilterer) WatchResolverUpdated(opts *bind.WatchOpts, sink chan<- *ProverSetResolverUpdated) (event.Subscription, error) {
+
+ logs, sub, err := _ProverSet.contract.WatchLogs(opts, "ResolverUpdated")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ProverSetResolverUpdated)
+ if err := _ProverSet.contract.UnpackLog(event, "ResolverUpdated", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseResolverUpdated is a log parse operation binding the contract event 0x84b83d2b66cac119ccaaca68b476b0dc5371d5f2fd27f697770a910175fd38b6.
+//
+// Solidity: event ResolverUpdated(address oldResolver, address newResolver)
+func (_ProverSet *ProverSetFilterer) ParseResolverUpdated(log types.Log) (*ProverSetResolverUpdated, error) {
+ event := new(ProverSetResolverUpdated)
+ if err := _ProverSet.contract.UnpackLog(event, "ResolverUpdated", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// ProverSetUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the ProverSet contract.
+type ProverSetUnpausedIterator struct {
+ Event *ProverSetUnpaused // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ProverSetUnpausedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetUnpaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetUnpaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ProverSetUnpausedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ProverSetUnpausedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ProverSetUnpaused represents a Unpaused event raised by the ProverSet contract.
+type ProverSetUnpaused struct {
+ Account common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
+//
+// Solidity: event Unpaused(address account)
+func (_ProverSet *ProverSetFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ProverSetUnpausedIterator, error) {
+
+ logs, sub, err := _ProverSet.contract.FilterLogs(opts, "Unpaused")
+ if err != nil {
+ return nil, err
+ }
+ return &ProverSetUnpausedIterator{contract: _ProverSet.contract, event: "Unpaused", logs: logs, sub: sub}, nil
+}
+
+// WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
+//
+// Solidity: event Unpaused(address account)
+func (_ProverSet *ProverSetFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ProverSetUnpaused) (event.Subscription, error) {
+
+ logs, sub, err := _ProverSet.contract.WatchLogs(opts, "Unpaused")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ProverSetUnpaused)
+ if err := _ProverSet.contract.UnpackLog(event, "Unpaused", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
+//
+// Solidity: event Unpaused(address account)
+func (_ProverSet *ProverSetFilterer) ParseUnpaused(log types.Log) (*ProverSetUnpaused, error) {
+ event := new(ProverSetUnpaused)
+ if err := _ProverSet.contract.UnpackLog(event, "Unpaused", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// ProverSetUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the ProverSet contract.
+type ProverSetUpgradedIterator struct {
+ Event *ProverSetUpgraded // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *ProverSetUpgradedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(ProverSetUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *ProverSetUpgradedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *ProverSetUpgradedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// ProverSetUpgraded represents a Upgraded event raised by the ProverSet contract.
+type ProverSetUpgraded struct {
+ Implementation common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_ProverSet *ProverSetFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ProverSetUpgradedIterator, error) {
+
+ var implementationRule []interface{}
+ for _, implementationItem := range implementation {
+ implementationRule = append(implementationRule, implementationItem)
+ }
+
+ logs, sub, err := _ProverSet.contract.FilterLogs(opts, "Upgraded", implementationRule)
+ if err != nil {
+ return nil, err
+ }
+ return &ProverSetUpgradedIterator{contract: _ProverSet.contract, event: "Upgraded", logs: logs, sub: sub}, nil
+}
+
+// WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_ProverSet *ProverSetFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ProverSetUpgraded, implementation []common.Address) (event.Subscription, error) {
+
+ var implementationRule []interface{}
+ for _, implementationItem := range implementation {
+ implementationRule = append(implementationRule, implementationItem)
+ }
+
+ logs, sub, err := _ProverSet.contract.WatchLogs(opts, "Upgraded", implementationRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(ProverSetUpgraded)
+ if err := _ProverSet.contract.UnpackLog(event, "Upgraded", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_ProverSet *ProverSetFilterer) ParseUpgraded(log types.Log) (*ProverSetUpgraded, error) {
+ event := new(ProverSetUpgraded)
+ if err := _ProverSet.contract.UnpackLog(event, "Upgraded", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
diff --git a/packages/taiko-client/bindings/pacaya/gen_resolver_base.go b/packages/taiko-client/bindings/pacaya/gen_resolver_base.go
new file mode 100644
index 0000000000..939226e13a
--- /dev/null
+++ b/packages/taiko-client/bindings/pacaya/gen_resolver_base.go
@@ -0,0 +1,212 @@
+// Code generated - DO NOT EDIT.
+// This file is a generated binding and any manual changes will be lost.
+
+package pacaya
+
+import (
+ "errors"
+ "math/big"
+ "strings"
+
+ ethereum "github.com/ethereum/go-ethereum"
+ "github.com/ethereum/go-ethereum/accounts/abi"
+ "github.com/ethereum/go-ethereum/accounts/abi/bind"
+ "github.com/ethereum/go-ethereum/common"
+ "github.com/ethereum/go-ethereum/core/types"
+ "github.com/ethereum/go-ethereum/event"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var (
+ _ = errors.New
+ _ = big.NewInt
+ _ = strings.NewReader
+ _ = ethereum.NotFound
+ _ = bind.Bind
+ _ = common.Big1
+ _ = types.BloomLookup
+ _ = event.NewSubscription
+ _ = abi.ConvertType
+)
+
+// ResolverBaseMetaData contains all meta data concerning the ResolverBase contract.
+var ResolverBaseMetaData = &bind.MetaData{
+ ABI: "[{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"addr_\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"error\",\"name\":\"RESOLVED_TO_ZERO_ADDRESS\",\"inputs\":[]}]",
+}
+
+// ResolverBaseABI is the input ABI used to generate the binding from.
+// Deprecated: Use ResolverBaseMetaData.ABI instead.
+var ResolverBaseABI = ResolverBaseMetaData.ABI
+
+// ResolverBase is an auto generated Go binding around an Ethereum contract.
+type ResolverBase struct {
+ ResolverBaseCaller // Read-only binding to the contract
+ ResolverBaseTransactor // Write-only binding to the contract
+ ResolverBaseFilterer // Log filterer for contract events
+}
+
+// ResolverBaseCaller is an auto generated read-only Go binding around an Ethereum contract.
+type ResolverBaseCaller struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// ResolverBaseTransactor is an auto generated write-only Go binding around an Ethereum contract.
+type ResolverBaseTransactor struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// ResolverBaseFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
+type ResolverBaseFilterer struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// ResolverBaseSession is an auto generated Go binding around an Ethereum contract,
+// with pre-set call and transact options.
+type ResolverBaseSession struct {
+ Contract *ResolverBase // 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
+}
+
+// ResolverBaseCallerSession is an auto generated read-only Go binding around an Ethereum contract,
+// with pre-set call options.
+type ResolverBaseCallerSession struct {
+ Contract *ResolverBaseCaller // Generic contract caller binding to set the session for
+ CallOpts bind.CallOpts // Call options to use throughout this session
+}
+
+// ResolverBaseTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
+// with pre-set transact options.
+type ResolverBaseTransactorSession struct {
+ Contract *ResolverBaseTransactor // Generic contract transactor binding to set the session for
+ TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
+}
+
+// ResolverBaseRaw is an auto generated low-level Go binding around an Ethereum contract.
+type ResolverBaseRaw struct {
+ Contract *ResolverBase // Generic contract binding to access the raw methods on
+}
+
+// ResolverBaseCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
+type ResolverBaseCallerRaw struct {
+ Contract *ResolverBaseCaller // Generic read-only contract binding to access the raw methods on
+}
+
+// ResolverBaseTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
+type ResolverBaseTransactorRaw struct {
+ Contract *ResolverBaseTransactor // Generic write-only contract binding to access the raw methods on
+}
+
+// NewResolverBase creates a new instance of ResolverBase, bound to a specific deployed contract.
+func NewResolverBase(address common.Address, backend bind.ContractBackend) (*ResolverBase, error) {
+ contract, err := bindResolverBase(address, backend, backend, backend)
+ if err != nil {
+ return nil, err
+ }
+ return &ResolverBase{ResolverBaseCaller: ResolverBaseCaller{contract: contract}, ResolverBaseTransactor: ResolverBaseTransactor{contract: contract}, ResolverBaseFilterer: ResolverBaseFilterer{contract: contract}}, nil
+}
+
+// NewResolverBaseCaller creates a new read-only instance of ResolverBase, bound to a specific deployed contract.
+func NewResolverBaseCaller(address common.Address, caller bind.ContractCaller) (*ResolverBaseCaller, error) {
+ contract, err := bindResolverBase(address, caller, nil, nil)
+ if err != nil {
+ return nil, err
+ }
+ return &ResolverBaseCaller{contract: contract}, nil
+}
+
+// NewResolverBaseTransactor creates a new write-only instance of ResolverBase, bound to a specific deployed contract.
+func NewResolverBaseTransactor(address common.Address, transactor bind.ContractTransactor) (*ResolverBaseTransactor, error) {
+ contract, err := bindResolverBase(address, nil, transactor, nil)
+ if err != nil {
+ return nil, err
+ }
+ return &ResolverBaseTransactor{contract: contract}, nil
+}
+
+// NewResolverBaseFilterer creates a new log filterer instance of ResolverBase, bound to a specific deployed contract.
+func NewResolverBaseFilterer(address common.Address, filterer bind.ContractFilterer) (*ResolverBaseFilterer, error) {
+ contract, err := bindResolverBase(address, nil, nil, filterer)
+ if err != nil {
+ return nil, err
+ }
+ return &ResolverBaseFilterer{contract: contract}, nil
+}
+
+// bindResolverBase binds a generic wrapper to an already deployed contract.
+func bindResolverBase(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
+ parsed, err := ResolverBaseMetaData.GetAbi()
+ if err != nil {
+ return nil, err
+ }
+ return bind.NewBoundContract(address, *parsed, caller, transactor, filterer), nil
+}
+
+// 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 (_ResolverBase *ResolverBaseRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
+ return _ResolverBase.Contract.ResolverBaseCaller.contract.Call(opts, result, method, params...)
+}
+
+// Transfer initiates a plain transaction to move funds to the contract, calling
+// its default method if one is available.
+func (_ResolverBase *ResolverBaseRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _ResolverBase.Contract.ResolverBaseTransactor.contract.Transfer(opts)
+}
+
+// Transact invokes the (paid) contract method with params as input values.
+func (_ResolverBase *ResolverBaseRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
+ return _ResolverBase.Contract.ResolverBaseTransactor.contract.Transact(opts, method, params...)
+}
+
+// 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 (_ResolverBase *ResolverBaseCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
+ return _ResolverBase.Contract.contract.Call(opts, result, method, params...)
+}
+
+// Transfer initiates a plain transaction to move funds to the contract, calling
+// its default method if one is available.
+func (_ResolverBase *ResolverBaseTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _ResolverBase.Contract.contract.Transfer(opts)
+}
+
+// Transact invokes the (paid) contract method with params as input values.
+func (_ResolverBase *ResolverBaseTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
+ return _ResolverBase.Contract.contract.Transact(opts, method, params...)
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x6c6563f6.
+//
+// Solidity: function resolve(uint256 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address addr_)
+func (_ResolverBase *ResolverBaseCaller) Resolve(opts *bind.CallOpts, _chainId *big.Int, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ var out []interface{}
+ err := _ResolverBase.contract.Call(opts, &out, "resolve", _chainId, _name, _allowZeroAddress)
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x6c6563f6.
+//
+// Solidity: function resolve(uint256 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address addr_)
+func (_ResolverBase *ResolverBaseSession) Resolve(_chainId *big.Int, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _ResolverBase.Contract.Resolve(&_ResolverBase.CallOpts, _chainId, _name, _allowZeroAddress)
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x6c6563f6.
+//
+// Solidity: function resolve(uint256 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address addr_)
+func (_ResolverBase *ResolverBaseCallerSession) Resolve(_chainId *big.Int, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _ResolverBase.Contract.Resolve(&_ResolverBase.CallOpts, _chainId, _name, _allowZeroAddress)
+}
diff --git a/packages/taiko-client/bindings/pacaya/gen_taiko_anchor.go b/packages/taiko-client/bindings/pacaya/gen_taiko_anchor.go
new file mode 100644
index 0000000000..6e50fc1e9c
--- /dev/null
+++ b/packages/taiko-client/bindings/pacaya/gen_taiko_anchor.go
@@ -0,0 +1,2794 @@
+// Code generated - DO NOT EDIT.
+// This file is a generated binding and any manual changes will be lost.
+
+package pacaya
+
+import (
+ "errors"
+ "math/big"
+ "strings"
+
+ ethereum "github.com/ethereum/go-ethereum"
+ "github.com/ethereum/go-ethereum/accounts/abi"
+ "github.com/ethereum/go-ethereum/accounts/abi/bind"
+ "github.com/ethereum/go-ethereum/common"
+ "github.com/ethereum/go-ethereum/core/types"
+ "github.com/ethereum/go-ethereum/event"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var (
+ _ = errors.New
+ _ = big.NewInt
+ _ = strings.NewReader
+ _ = ethereum.NotFound
+ _ = bind.Bind
+ _ = common.Big1
+ _ = types.BloomLookup
+ _ = event.NewSubscription
+ _ = abi.ConvertType
+)
+
+// TaikoAnchorClientMetaData contains all meta data concerning the TaikoAnchorClient contract.
+var TaikoAnchorClientMetaData = &bind.MetaData{
+ ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_pacayaForkHeight\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"GOLDEN_TOUCH_ADDRESS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"acceptOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"adjustExcess\",\"inputs\":[{\"name\":\"_currGasExcess\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_currGasTarget\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_newGasTarget\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[{\"name\":\"newGasExcess_\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"anchor\",\"inputs\":[{\"name\":\"_l1BlockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_l1StateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_l1BlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_parentGasUsed\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"anchorInput\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"anchorV3\",\"inputs\":[{\"name\":\"_anchorBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_anchorStateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_anchorInput\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_parentGasUsed\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_baseFeeConfig\",\"type\":\"tuple\",\"internalType\":\"structLibSharedData.BaseFeeConfig\",\"components\":[{\"name\":\"adjustmentQuotient\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"sharingPctg\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"gasIssuancePerSecond\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"minGasExcess\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"maxGasIssuancePerBlock\",\"type\":\"uint32\",\"internalType\":\"uint32\"}]},{\"name\":\"_signalSlots\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"calculateBaseFee\",\"inputs\":[{\"name\":\"_baseFeeConfig\",\"type\":\"tuple\",\"internalType\":\"structLibSharedData.BaseFeeConfig\",\"components\":[{\"name\":\"adjustmentQuotient\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"sharingPctg\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"gasIssuancePerSecond\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"minGasExcess\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"maxGasIssuancePerBlock\",\"type\":\"uint32\",\"internalType\":\"uint32\"}]},{\"name\":\"_blocktime\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_parentGasExcess\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_parentGasUsed\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[{\"name\":\"basefee_\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"parentGasExcess_\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"getBasefee\",\"inputs\":[{\"name\":\"_anchorBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_parentGasUsed\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[{\"name\":\"basefee_\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"parentGasExcess_\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"getBasefeeV2\",\"inputs\":[{\"name\":\"_parentGasUsed\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_blockTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_baseFeeConfig\",\"type\":\"tuple\",\"internalType\":\"structLibSharedData.BaseFeeConfig\",\"components\":[{\"name\":\"adjustmentQuotient\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"sharingPctg\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"gasIssuancePerSecond\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"minGasExcess\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"maxGasIssuancePerBlock\",\"type\":\"uint32\",\"internalType\":\"uint32\"}]}],\"outputs\":[{\"name\":\"basefee_\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"newGasTarget_\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"newGasExcess_\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getBlockHash\",\"inputs\":[{\"name\":\"_blockId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"impl\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"inNonReentrant\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"init\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_rollupResolver\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_l1ChainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_initialGasExcess\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"isOnL1\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"l1ChainId\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"lastSyncedBlock\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pacayaForkHeight\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"parentGasExcess\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"parentGasTarget\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"parentTimestamp\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pendingOwner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proxiableUUID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"publicInputHash\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_chainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"resolver\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIResolver\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setResolver\",\"inputs\":[{\"name\":\"_resolver\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"skipFeeCheck\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"unpause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeTo\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeToAndCall\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"withdraw\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_to\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"AdminChanged\",\"inputs\":[{\"name\":\"previousAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"newAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Anchored\",\"inputs\":[{\"name\":\"parentHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"parentGasExcess\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BeaconUpgraded\",\"inputs\":[{\"name\":\"beacon\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"EIP1559Update\",\"inputs\":[{\"name\":\"oldGasTarget\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"},{\"name\":\"newGasTarget\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"},{\"name\":\"oldGasExcess\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"},{\"name\":\"newGasExcess\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"},{\"name\":\"basefee\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferStarted\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Paused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ResolverUpdated\",\"inputs\":[{\"name\":\"oldResolver\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"newResolver\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Upgraded\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"ACCESS_DENIED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ETH_TRANSFER_FAILED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"FUNC_NOT_IMPLEMENTED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"INVALID_PAUSE_STATUS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"L2_BASEFEE_MISMATCH\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"L2_DEPRECATED_METHOD\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"L2_FORK_ERROR\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"L2_INVALID_L1_CHAIN_ID\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"L2_INVALID_L2_CHAIN_ID\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"L2_INVALID_PARAM\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"L2_INVALID_SENDER\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"L2_PUBLIC_INPUT_HASH_MISMATCH\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"L2_TOO_LATE\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"REENTRANT_CALL\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_NOT_FOUND\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_ADDRESS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_VALUE\",\"inputs\":[]}]",
+}
+
+// TaikoAnchorClientABI is the input ABI used to generate the binding from.
+// Deprecated: Use TaikoAnchorClientMetaData.ABI instead.
+var TaikoAnchorClientABI = TaikoAnchorClientMetaData.ABI
+
+// TaikoAnchorClient is an auto generated Go binding around an Ethereum contract.
+type TaikoAnchorClient struct {
+ TaikoAnchorClientCaller // Read-only binding to the contract
+ TaikoAnchorClientTransactor // Write-only binding to the contract
+ TaikoAnchorClientFilterer // Log filterer for contract events
+}
+
+// TaikoAnchorClientCaller is an auto generated read-only Go binding around an Ethereum contract.
+type TaikoAnchorClientCaller struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// TaikoAnchorClientTransactor is an auto generated write-only Go binding around an Ethereum contract.
+type TaikoAnchorClientTransactor struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// TaikoAnchorClientFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
+type TaikoAnchorClientFilterer struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// TaikoAnchorClientSession is an auto generated Go binding around an Ethereum contract,
+// with pre-set call and transact options.
+type TaikoAnchorClientSession struct {
+ Contract *TaikoAnchorClient // 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
+}
+
+// TaikoAnchorClientCallerSession is an auto generated read-only Go binding around an Ethereum contract,
+// with pre-set call options.
+type TaikoAnchorClientCallerSession struct {
+ Contract *TaikoAnchorClientCaller // Generic contract caller binding to set the session for
+ CallOpts bind.CallOpts // Call options to use throughout this session
+}
+
+// TaikoAnchorClientTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
+// with pre-set transact options.
+type TaikoAnchorClientTransactorSession struct {
+ Contract *TaikoAnchorClientTransactor // Generic contract transactor binding to set the session for
+ TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
+}
+
+// TaikoAnchorClientRaw is an auto generated low-level Go binding around an Ethereum contract.
+type TaikoAnchorClientRaw struct {
+ Contract *TaikoAnchorClient // Generic contract binding to access the raw methods on
+}
+
+// TaikoAnchorClientCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
+type TaikoAnchorClientCallerRaw struct {
+ Contract *TaikoAnchorClientCaller // Generic read-only contract binding to access the raw methods on
+}
+
+// TaikoAnchorClientTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
+type TaikoAnchorClientTransactorRaw struct {
+ Contract *TaikoAnchorClientTransactor // Generic write-only contract binding to access the raw methods on
+}
+
+// NewTaikoAnchorClient creates a new instance of TaikoAnchorClient, bound to a specific deployed contract.
+func NewTaikoAnchorClient(address common.Address, backend bind.ContractBackend) (*TaikoAnchorClient, error) {
+ contract, err := bindTaikoAnchorClient(address, backend, backend, backend)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClient{TaikoAnchorClientCaller: TaikoAnchorClientCaller{contract: contract}, TaikoAnchorClientTransactor: TaikoAnchorClientTransactor{contract: contract}, TaikoAnchorClientFilterer: TaikoAnchorClientFilterer{contract: contract}}, nil
+}
+
+// NewTaikoAnchorClientCaller creates a new read-only instance of TaikoAnchorClient, bound to a specific deployed contract.
+func NewTaikoAnchorClientCaller(address common.Address, caller bind.ContractCaller) (*TaikoAnchorClientCaller, error) {
+ contract, err := bindTaikoAnchorClient(address, caller, nil, nil)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClientCaller{contract: contract}, nil
+}
+
+// NewTaikoAnchorClientTransactor creates a new write-only instance of TaikoAnchorClient, bound to a specific deployed contract.
+func NewTaikoAnchorClientTransactor(address common.Address, transactor bind.ContractTransactor) (*TaikoAnchorClientTransactor, error) {
+ contract, err := bindTaikoAnchorClient(address, nil, transactor, nil)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClientTransactor{contract: contract}, nil
+}
+
+// NewTaikoAnchorClientFilterer creates a new log filterer instance of TaikoAnchorClient, bound to a specific deployed contract.
+func NewTaikoAnchorClientFilterer(address common.Address, filterer bind.ContractFilterer) (*TaikoAnchorClientFilterer, error) {
+ contract, err := bindTaikoAnchorClient(address, nil, nil, filterer)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClientFilterer{contract: contract}, nil
+}
+
+// bindTaikoAnchorClient binds a generic wrapper to an already deployed contract.
+func bindTaikoAnchorClient(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
+ parsed, err := TaikoAnchorClientMetaData.GetAbi()
+ if err != nil {
+ return nil, err
+ }
+ return bind.NewBoundContract(address, *parsed, caller, transactor, filterer), nil
+}
+
+// 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 (_TaikoAnchorClient *TaikoAnchorClientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
+ return _TaikoAnchorClient.Contract.TaikoAnchorClientCaller.contract.Call(opts, result, method, params...)
+}
+
+// Transfer initiates a plain transaction to move funds to the contract, calling
+// its default method if one is available.
+func (_TaikoAnchorClient *TaikoAnchorClientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.TaikoAnchorClientTransactor.contract.Transfer(opts)
+}
+
+// Transact invokes the (paid) contract method with params as input values.
+func (_TaikoAnchorClient *TaikoAnchorClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.TaikoAnchorClientTransactor.contract.Transact(opts, method, params...)
+}
+
+// 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 (_TaikoAnchorClient *TaikoAnchorClientCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
+ return _TaikoAnchorClient.Contract.contract.Call(opts, result, method, params...)
+}
+
+// Transfer initiates a plain transaction to move funds to the contract, calling
+// its default method if one is available.
+func (_TaikoAnchorClient *TaikoAnchorClientTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.contract.Transfer(opts)
+}
+
+// Transact invokes the (paid) contract method with params as input values.
+func (_TaikoAnchorClient *TaikoAnchorClientTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.contract.Transact(opts, method, params...)
+}
+
+// GOLDENTOUCHADDRESS is a free data retrieval call binding the contract method 0x9ee512f2.
+//
+// Solidity: function GOLDEN_TOUCH_ADDRESS() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) GOLDENTOUCHADDRESS(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "GOLDEN_TOUCH_ADDRESS")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// GOLDENTOUCHADDRESS is a free data retrieval call binding the contract method 0x9ee512f2.
+//
+// Solidity: function GOLDEN_TOUCH_ADDRESS() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) GOLDENTOUCHADDRESS() (common.Address, error) {
+ return _TaikoAnchorClient.Contract.GOLDENTOUCHADDRESS(&_TaikoAnchorClient.CallOpts)
+}
+
+// GOLDENTOUCHADDRESS is a free data retrieval call binding the contract method 0x9ee512f2.
+//
+// Solidity: function GOLDEN_TOUCH_ADDRESS() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) GOLDENTOUCHADDRESS() (common.Address, error) {
+ return _TaikoAnchorClient.Contract.GOLDENTOUCHADDRESS(&_TaikoAnchorClient.CallOpts)
+}
+
+// AdjustExcess is a free data retrieval call binding the contract method 0x136dc4a8.
+//
+// Solidity: function adjustExcess(uint64 _currGasExcess, uint64 _currGasTarget, uint64 _newGasTarget) pure returns(uint64 newGasExcess_)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) AdjustExcess(opts *bind.CallOpts, _currGasExcess uint64, _currGasTarget uint64, _newGasTarget uint64) (uint64, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "adjustExcess", _currGasExcess, _currGasTarget, _newGasTarget)
+
+ if err != nil {
+ return *new(uint64), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64)
+
+ return out0, err
+
+}
+
+// AdjustExcess is a free data retrieval call binding the contract method 0x136dc4a8.
+//
+// Solidity: function adjustExcess(uint64 _currGasExcess, uint64 _currGasTarget, uint64 _newGasTarget) pure returns(uint64 newGasExcess_)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) AdjustExcess(_currGasExcess uint64, _currGasTarget uint64, _newGasTarget uint64) (uint64, error) {
+ return _TaikoAnchorClient.Contract.AdjustExcess(&_TaikoAnchorClient.CallOpts, _currGasExcess, _currGasTarget, _newGasTarget)
+}
+
+// AdjustExcess is a free data retrieval call binding the contract method 0x136dc4a8.
+//
+// Solidity: function adjustExcess(uint64 _currGasExcess, uint64 _currGasTarget, uint64 _newGasTarget) pure returns(uint64 newGasExcess_)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) AdjustExcess(_currGasExcess uint64, _currGasTarget uint64, _newGasTarget uint64) (uint64, error) {
+ return _TaikoAnchorClient.Contract.AdjustExcess(&_TaikoAnchorClient.CallOpts, _currGasExcess, _currGasTarget, _newGasTarget)
+}
+
+// AnchorInput is a free data retrieval call binding the contract method 0x99df1bb9.
+//
+// Solidity: function anchorInput() view returns(bytes32)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) AnchorInput(opts *bind.CallOpts) ([32]byte, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "anchorInput")
+
+ if err != nil {
+ return *new([32]byte), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
+
+ return out0, err
+
+}
+
+// AnchorInput is a free data retrieval call binding the contract method 0x99df1bb9.
+//
+// Solidity: function anchorInput() view returns(bytes32)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) AnchorInput() ([32]byte, error) {
+ return _TaikoAnchorClient.Contract.AnchorInput(&_TaikoAnchorClient.CallOpts)
+}
+
+// AnchorInput is a free data retrieval call binding the contract method 0x99df1bb9.
+//
+// Solidity: function anchorInput() view returns(bytes32)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) AnchorInput() ([32]byte, error) {
+ return _TaikoAnchorClient.Contract.AnchorInput(&_TaikoAnchorClient.CallOpts)
+}
+
+// CalculateBaseFee is a free data retrieval call binding the contract method 0xe902461a.
+//
+// Solidity: function calculateBaseFee((uint8,uint8,uint32,uint64,uint32) _baseFeeConfig, uint64 _blocktime, uint64 _parentGasExcess, uint32 _parentGasUsed) pure returns(uint256 basefee_, uint64 parentGasExcess_)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) CalculateBaseFee(opts *bind.CallOpts, _baseFeeConfig LibSharedDataBaseFeeConfig, _blocktime uint64, _parentGasExcess uint64, _parentGasUsed uint32) (struct {
+ Basefee *big.Int
+ ParentGasExcess uint64
+}, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "calculateBaseFee", _baseFeeConfig, _blocktime, _parentGasExcess, _parentGasUsed)
+
+ outstruct := new(struct {
+ Basefee *big.Int
+ ParentGasExcess uint64
+ })
+ if err != nil {
+ return *outstruct, err
+ }
+
+ outstruct.Basefee = *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
+ outstruct.ParentGasExcess = *abi.ConvertType(out[1], new(uint64)).(*uint64)
+
+ return *outstruct, err
+
+}
+
+// CalculateBaseFee is a free data retrieval call binding the contract method 0xe902461a.
+//
+// Solidity: function calculateBaseFee((uint8,uint8,uint32,uint64,uint32) _baseFeeConfig, uint64 _blocktime, uint64 _parentGasExcess, uint32 _parentGasUsed) pure returns(uint256 basefee_, uint64 parentGasExcess_)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) CalculateBaseFee(_baseFeeConfig LibSharedDataBaseFeeConfig, _blocktime uint64, _parentGasExcess uint64, _parentGasUsed uint32) (struct {
+ Basefee *big.Int
+ ParentGasExcess uint64
+}, error) {
+ return _TaikoAnchorClient.Contract.CalculateBaseFee(&_TaikoAnchorClient.CallOpts, _baseFeeConfig, _blocktime, _parentGasExcess, _parentGasUsed)
+}
+
+// CalculateBaseFee is a free data retrieval call binding the contract method 0xe902461a.
+//
+// Solidity: function calculateBaseFee((uint8,uint8,uint32,uint64,uint32) _baseFeeConfig, uint64 _blocktime, uint64 _parentGasExcess, uint32 _parentGasUsed) pure returns(uint256 basefee_, uint64 parentGasExcess_)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) CalculateBaseFee(_baseFeeConfig LibSharedDataBaseFeeConfig, _blocktime uint64, _parentGasExcess uint64, _parentGasUsed uint32) (struct {
+ Basefee *big.Int
+ ParentGasExcess uint64
+}, error) {
+ return _TaikoAnchorClient.Contract.CalculateBaseFee(&_TaikoAnchorClient.CallOpts, _baseFeeConfig, _blocktime, _parentGasExcess, _parentGasUsed)
+}
+
+// GetBasefee is a free data retrieval call binding the contract method 0xa7e022d1.
+//
+// Solidity: function getBasefee(uint64 _anchorBlockId, uint32 _parentGasUsed) pure returns(uint256 basefee_, uint64 parentGasExcess_)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) GetBasefee(opts *bind.CallOpts, _anchorBlockId uint64, _parentGasUsed uint32) (struct {
+ Basefee *big.Int
+ ParentGasExcess uint64
+}, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "getBasefee", _anchorBlockId, _parentGasUsed)
+
+ outstruct := new(struct {
+ Basefee *big.Int
+ ParentGasExcess uint64
+ })
+ if err != nil {
+ return *outstruct, err
+ }
+
+ outstruct.Basefee = *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
+ outstruct.ParentGasExcess = *abi.ConvertType(out[1], new(uint64)).(*uint64)
+
+ return *outstruct, err
+
+}
+
+// GetBasefee is a free data retrieval call binding the contract method 0xa7e022d1.
+//
+// Solidity: function getBasefee(uint64 _anchorBlockId, uint32 _parentGasUsed) pure returns(uint256 basefee_, uint64 parentGasExcess_)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) GetBasefee(_anchorBlockId uint64, _parentGasUsed uint32) (struct {
+ Basefee *big.Int
+ ParentGasExcess uint64
+}, error) {
+ return _TaikoAnchorClient.Contract.GetBasefee(&_TaikoAnchorClient.CallOpts, _anchorBlockId, _parentGasUsed)
+}
+
+// GetBasefee is a free data retrieval call binding the contract method 0xa7e022d1.
+//
+// Solidity: function getBasefee(uint64 _anchorBlockId, uint32 _parentGasUsed) pure returns(uint256 basefee_, uint64 parentGasExcess_)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) GetBasefee(_anchorBlockId uint64, _parentGasUsed uint32) (struct {
+ Basefee *big.Int
+ ParentGasExcess uint64
+}, error) {
+ return _TaikoAnchorClient.Contract.GetBasefee(&_TaikoAnchorClient.CallOpts, _anchorBlockId, _parentGasUsed)
+}
+
+// GetBasefeeV2 is a free data retrieval call binding the contract method 0x893f5460.
+//
+// Solidity: function getBasefeeV2(uint32 _parentGasUsed, uint64 _blockTimestamp, (uint8,uint8,uint32,uint64,uint32) _baseFeeConfig) view returns(uint256 basefee_, uint64 newGasTarget_, uint64 newGasExcess_)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) GetBasefeeV2(opts *bind.CallOpts, _parentGasUsed uint32, _blockTimestamp uint64, _baseFeeConfig LibSharedDataBaseFeeConfig) (struct {
+ Basefee *big.Int
+ NewGasTarget uint64
+ NewGasExcess uint64
+}, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "getBasefeeV2", _parentGasUsed, _blockTimestamp, _baseFeeConfig)
+
+ outstruct := new(struct {
+ Basefee *big.Int
+ NewGasTarget uint64
+ NewGasExcess uint64
+ })
+ if err != nil {
+ return *outstruct, err
+ }
+
+ outstruct.Basefee = *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
+ outstruct.NewGasTarget = *abi.ConvertType(out[1], new(uint64)).(*uint64)
+ outstruct.NewGasExcess = *abi.ConvertType(out[2], new(uint64)).(*uint64)
+
+ return *outstruct, err
+
+}
+
+// GetBasefeeV2 is a free data retrieval call binding the contract method 0x893f5460.
+//
+// Solidity: function getBasefeeV2(uint32 _parentGasUsed, uint64 _blockTimestamp, (uint8,uint8,uint32,uint64,uint32) _baseFeeConfig) view returns(uint256 basefee_, uint64 newGasTarget_, uint64 newGasExcess_)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) GetBasefeeV2(_parentGasUsed uint32, _blockTimestamp uint64, _baseFeeConfig LibSharedDataBaseFeeConfig) (struct {
+ Basefee *big.Int
+ NewGasTarget uint64
+ NewGasExcess uint64
+}, error) {
+ return _TaikoAnchorClient.Contract.GetBasefeeV2(&_TaikoAnchorClient.CallOpts, _parentGasUsed, _blockTimestamp, _baseFeeConfig)
+}
+
+// GetBasefeeV2 is a free data retrieval call binding the contract method 0x893f5460.
+//
+// Solidity: function getBasefeeV2(uint32 _parentGasUsed, uint64 _blockTimestamp, (uint8,uint8,uint32,uint64,uint32) _baseFeeConfig) view returns(uint256 basefee_, uint64 newGasTarget_, uint64 newGasExcess_)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) GetBasefeeV2(_parentGasUsed uint32, _blockTimestamp uint64, _baseFeeConfig LibSharedDataBaseFeeConfig) (struct {
+ Basefee *big.Int
+ NewGasTarget uint64
+ NewGasExcess uint64
+}, error) {
+ return _TaikoAnchorClient.Contract.GetBasefeeV2(&_TaikoAnchorClient.CallOpts, _parentGasUsed, _blockTimestamp, _baseFeeConfig)
+}
+
+// GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.
+//
+// Solidity: function getBlockHash(uint256 _blockId) view returns(bytes32)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) GetBlockHash(opts *bind.CallOpts, _blockId *big.Int) ([32]byte, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "getBlockHash", _blockId)
+
+ if err != nil {
+ return *new([32]byte), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
+
+ return out0, err
+
+}
+
+// GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.
+//
+// Solidity: function getBlockHash(uint256 _blockId) view returns(bytes32)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) GetBlockHash(_blockId *big.Int) ([32]byte, error) {
+ return _TaikoAnchorClient.Contract.GetBlockHash(&_TaikoAnchorClient.CallOpts, _blockId)
+}
+
+// GetBlockHash is a free data retrieval call binding the contract method 0xee82ac5e.
+//
+// Solidity: function getBlockHash(uint256 _blockId) view returns(bytes32)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) GetBlockHash(_blockId *big.Int) ([32]byte, error) {
+ return _TaikoAnchorClient.Contract.GetBlockHash(&_TaikoAnchorClient.CallOpts, _blockId)
+}
+
+// Impl is a free data retrieval call binding the contract method 0x8abf6077.
+//
+// Solidity: function impl() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) Impl(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "impl")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Impl is a free data retrieval call binding the contract method 0x8abf6077.
+//
+// Solidity: function impl() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) Impl() (common.Address, error) {
+ return _TaikoAnchorClient.Contract.Impl(&_TaikoAnchorClient.CallOpts)
+}
+
+// Impl is a free data retrieval call binding the contract method 0x8abf6077.
+//
+// Solidity: function impl() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) Impl() (common.Address, error) {
+ return _TaikoAnchorClient.Contract.Impl(&_TaikoAnchorClient.CallOpts)
+}
+
+// InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
+//
+// Solidity: function inNonReentrant() view returns(bool)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) InNonReentrant(opts *bind.CallOpts) (bool, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "inNonReentrant")
+
+ if err != nil {
+ return *new(bool), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
+
+ return out0, err
+
+}
+
+// InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
+//
+// Solidity: function inNonReentrant() view returns(bool)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) InNonReentrant() (bool, error) {
+ return _TaikoAnchorClient.Contract.InNonReentrant(&_TaikoAnchorClient.CallOpts)
+}
+
+// InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
+//
+// Solidity: function inNonReentrant() view returns(bool)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) InNonReentrant() (bool, error) {
+ return _TaikoAnchorClient.Contract.InNonReentrant(&_TaikoAnchorClient.CallOpts)
+}
+
+// IsOnL1 is a free data retrieval call binding the contract method 0xa4b23554.
+//
+// Solidity: function isOnL1() pure returns(bool)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) IsOnL1(opts *bind.CallOpts) (bool, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "isOnL1")
+
+ if err != nil {
+ return *new(bool), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
+
+ return out0, err
+
+}
+
+// IsOnL1 is a free data retrieval call binding the contract method 0xa4b23554.
+//
+// Solidity: function isOnL1() pure returns(bool)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) IsOnL1() (bool, error) {
+ return _TaikoAnchorClient.Contract.IsOnL1(&_TaikoAnchorClient.CallOpts)
+}
+
+// IsOnL1 is a free data retrieval call binding the contract method 0xa4b23554.
+//
+// Solidity: function isOnL1() pure returns(bool)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) IsOnL1() (bool, error) {
+ return _TaikoAnchorClient.Contract.IsOnL1(&_TaikoAnchorClient.CallOpts)
+}
+
+// L1ChainId is a free data retrieval call binding the contract method 0x12622e5b.
+//
+// Solidity: function l1ChainId() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) L1ChainId(opts *bind.CallOpts) (uint64, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "l1ChainId")
+
+ if err != nil {
+ return *new(uint64), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64)
+
+ return out0, err
+
+}
+
+// L1ChainId is a free data retrieval call binding the contract method 0x12622e5b.
+//
+// Solidity: function l1ChainId() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) L1ChainId() (uint64, error) {
+ return _TaikoAnchorClient.Contract.L1ChainId(&_TaikoAnchorClient.CallOpts)
+}
+
+// L1ChainId is a free data retrieval call binding the contract method 0x12622e5b.
+//
+// Solidity: function l1ChainId() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) L1ChainId() (uint64, error) {
+ return _TaikoAnchorClient.Contract.L1ChainId(&_TaikoAnchorClient.CallOpts)
+}
+
+// LastSyncedBlock is a free data retrieval call binding the contract method 0x33d5ac9b.
+//
+// Solidity: function lastSyncedBlock() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) LastSyncedBlock(opts *bind.CallOpts) (uint64, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "lastSyncedBlock")
+
+ if err != nil {
+ return *new(uint64), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64)
+
+ return out0, err
+
+}
+
+// LastSyncedBlock is a free data retrieval call binding the contract method 0x33d5ac9b.
+//
+// Solidity: function lastSyncedBlock() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) LastSyncedBlock() (uint64, error) {
+ return _TaikoAnchorClient.Contract.LastSyncedBlock(&_TaikoAnchorClient.CallOpts)
+}
+
+// LastSyncedBlock is a free data retrieval call binding the contract method 0x33d5ac9b.
+//
+// Solidity: function lastSyncedBlock() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) LastSyncedBlock() (uint64, error) {
+ return _TaikoAnchorClient.Contract.LastSyncedBlock(&_TaikoAnchorClient.CallOpts)
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) Owner(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "owner")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) Owner() (common.Address, error) {
+ return _TaikoAnchorClient.Contract.Owner(&_TaikoAnchorClient.CallOpts)
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) Owner() (common.Address, error) {
+ return _TaikoAnchorClient.Contract.Owner(&_TaikoAnchorClient.CallOpts)
+}
+
+// PacayaForkHeight is a free data retrieval call binding the contract method 0xba9f41e8.
+//
+// Solidity: function pacayaForkHeight() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) PacayaForkHeight(opts *bind.CallOpts) (uint64, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "pacayaForkHeight")
+
+ if err != nil {
+ return *new(uint64), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64)
+
+ return out0, err
+
+}
+
+// PacayaForkHeight is a free data retrieval call binding the contract method 0xba9f41e8.
+//
+// Solidity: function pacayaForkHeight() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) PacayaForkHeight() (uint64, error) {
+ return _TaikoAnchorClient.Contract.PacayaForkHeight(&_TaikoAnchorClient.CallOpts)
+}
+
+// PacayaForkHeight is a free data retrieval call binding the contract method 0xba9f41e8.
+//
+// Solidity: function pacayaForkHeight() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) PacayaForkHeight() (uint64, error) {
+ return _TaikoAnchorClient.Contract.PacayaForkHeight(&_TaikoAnchorClient.CallOpts)
+}
+
+// ParentGasExcess is a free data retrieval call binding the contract method 0xb8c7b30c.
+//
+// Solidity: function parentGasExcess() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) ParentGasExcess(opts *bind.CallOpts) (uint64, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "parentGasExcess")
+
+ if err != nil {
+ return *new(uint64), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64)
+
+ return out0, err
+
+}
+
+// ParentGasExcess is a free data retrieval call binding the contract method 0xb8c7b30c.
+//
+// Solidity: function parentGasExcess() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) ParentGasExcess() (uint64, error) {
+ return _TaikoAnchorClient.Contract.ParentGasExcess(&_TaikoAnchorClient.CallOpts)
+}
+
+// ParentGasExcess is a free data retrieval call binding the contract method 0xb8c7b30c.
+//
+// Solidity: function parentGasExcess() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) ParentGasExcess() (uint64, error) {
+ return _TaikoAnchorClient.Contract.ParentGasExcess(&_TaikoAnchorClient.CallOpts)
+}
+
+// ParentGasTarget is a free data retrieval call binding the contract method 0xa7137c0f.
+//
+// Solidity: function parentGasTarget() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) ParentGasTarget(opts *bind.CallOpts) (uint64, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "parentGasTarget")
+
+ if err != nil {
+ return *new(uint64), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64)
+
+ return out0, err
+
+}
+
+// ParentGasTarget is a free data retrieval call binding the contract method 0xa7137c0f.
+//
+// Solidity: function parentGasTarget() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) ParentGasTarget() (uint64, error) {
+ return _TaikoAnchorClient.Contract.ParentGasTarget(&_TaikoAnchorClient.CallOpts)
+}
+
+// ParentGasTarget is a free data retrieval call binding the contract method 0xa7137c0f.
+//
+// Solidity: function parentGasTarget() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) ParentGasTarget() (uint64, error) {
+ return _TaikoAnchorClient.Contract.ParentGasTarget(&_TaikoAnchorClient.CallOpts)
+}
+
+// ParentTimestamp is a free data retrieval call binding the contract method 0x539b8ade.
+//
+// Solidity: function parentTimestamp() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) ParentTimestamp(opts *bind.CallOpts) (uint64, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "parentTimestamp")
+
+ if err != nil {
+ return *new(uint64), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64)
+
+ return out0, err
+
+}
+
+// ParentTimestamp is a free data retrieval call binding the contract method 0x539b8ade.
+//
+// Solidity: function parentTimestamp() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) ParentTimestamp() (uint64, error) {
+ return _TaikoAnchorClient.Contract.ParentTimestamp(&_TaikoAnchorClient.CallOpts)
+}
+
+// ParentTimestamp is a free data retrieval call binding the contract method 0x539b8ade.
+//
+// Solidity: function parentTimestamp() view returns(uint64)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) ParentTimestamp() (uint64, error) {
+ return _TaikoAnchorClient.Contract.ParentTimestamp(&_TaikoAnchorClient.CallOpts)
+}
+
+// Paused is a free data retrieval call binding the contract method 0x5c975abb.
+//
+// Solidity: function paused() view returns(bool)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) Paused(opts *bind.CallOpts) (bool, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "paused")
+
+ if err != nil {
+ return *new(bool), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
+
+ return out0, err
+
+}
+
+// Paused is a free data retrieval call binding the contract method 0x5c975abb.
+//
+// Solidity: function paused() view returns(bool)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) Paused() (bool, error) {
+ return _TaikoAnchorClient.Contract.Paused(&_TaikoAnchorClient.CallOpts)
+}
+
+// Paused is a free data retrieval call binding the contract method 0x5c975abb.
+//
+// Solidity: function paused() view returns(bool)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) Paused() (bool, error) {
+ return _TaikoAnchorClient.Contract.Paused(&_TaikoAnchorClient.CallOpts)
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "pendingOwner")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) PendingOwner() (common.Address, error) {
+ return _TaikoAnchorClient.Contract.PendingOwner(&_TaikoAnchorClient.CallOpts)
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) PendingOwner() (common.Address, error) {
+ return _TaikoAnchorClient.Contract.PendingOwner(&_TaikoAnchorClient.CallOpts)
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "proxiableUUID")
+
+ if err != nil {
+ return *new([32]byte), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
+
+ return out0, err
+
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) ProxiableUUID() ([32]byte, error) {
+ return _TaikoAnchorClient.Contract.ProxiableUUID(&_TaikoAnchorClient.CallOpts)
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) ProxiableUUID() ([32]byte, error) {
+ return _TaikoAnchorClient.Contract.ProxiableUUID(&_TaikoAnchorClient.CallOpts)
+}
+
+// PublicInputHash is a free data retrieval call binding the contract method 0xdac5df78.
+//
+// Solidity: function publicInputHash() view returns(bytes32)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) PublicInputHash(opts *bind.CallOpts) ([32]byte, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "publicInputHash")
+
+ if err != nil {
+ return *new([32]byte), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
+
+ return out0, err
+
+}
+
+// PublicInputHash is a free data retrieval call binding the contract method 0xdac5df78.
+//
+// Solidity: function publicInputHash() view returns(bytes32)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) PublicInputHash() ([32]byte, error) {
+ return _TaikoAnchorClient.Contract.PublicInputHash(&_TaikoAnchorClient.CallOpts)
+}
+
+// PublicInputHash is a free data retrieval call binding the contract method 0xdac5df78.
+//
+// Solidity: function publicInputHash() view returns(bytes32)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) PublicInputHash() ([32]byte, error) {
+ return _TaikoAnchorClient.Contract.PublicInputHash(&_TaikoAnchorClient.CallOpts)
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
+//
+// Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) Resolve(opts *bind.CallOpts, _chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "resolve", _chainId, _name, _allowZeroAddress)
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
+//
+// Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _TaikoAnchorClient.Contract.Resolve(&_TaikoAnchorClient.CallOpts, _chainId, _name, _allowZeroAddress)
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
+//
+// Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _TaikoAnchorClient.Contract.Resolve(&_TaikoAnchorClient.CallOpts, _chainId, _name, _allowZeroAddress)
+}
+
+// Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
+//
+// Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) Resolve0(opts *bind.CallOpts, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "resolve0", _name, _allowZeroAddress)
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
+//
+// Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _TaikoAnchorClient.Contract.Resolve0(&_TaikoAnchorClient.CallOpts, _name, _allowZeroAddress)
+}
+
+// Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
+//
+// Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _TaikoAnchorClient.Contract.Resolve0(&_TaikoAnchorClient.CallOpts, _name, _allowZeroAddress)
+}
+
+// Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
+//
+// Solidity: function resolver() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) Resolver(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "resolver")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
+//
+// Solidity: function resolver() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) Resolver() (common.Address, error) {
+ return _TaikoAnchorClient.Contract.Resolver(&_TaikoAnchorClient.CallOpts)
+}
+
+// Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
+//
+// Solidity: function resolver() view returns(address)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) Resolver() (common.Address, error) {
+ return _TaikoAnchorClient.Contract.Resolver(&_TaikoAnchorClient.CallOpts)
+}
+
+// SkipFeeCheck is a free data retrieval call binding the contract method 0x2f980473.
+//
+// Solidity: function skipFeeCheck() pure returns(bool)
+func (_TaikoAnchorClient *TaikoAnchorClientCaller) SkipFeeCheck(opts *bind.CallOpts) (bool, error) {
+ var out []interface{}
+ err := _TaikoAnchorClient.contract.Call(opts, &out, "skipFeeCheck")
+
+ if err != nil {
+ return *new(bool), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
+
+ return out0, err
+
+}
+
+// SkipFeeCheck is a free data retrieval call binding the contract method 0x2f980473.
+//
+// Solidity: function skipFeeCheck() pure returns(bool)
+func (_TaikoAnchorClient *TaikoAnchorClientSession) SkipFeeCheck() (bool, error) {
+ return _TaikoAnchorClient.Contract.SkipFeeCheck(&_TaikoAnchorClient.CallOpts)
+}
+
+// SkipFeeCheck is a free data retrieval call binding the contract method 0x2f980473.
+//
+// Solidity: function skipFeeCheck() pure returns(bool)
+func (_TaikoAnchorClient *TaikoAnchorClientCallerSession) SkipFeeCheck() (bool, error) {
+ return _TaikoAnchorClient.Contract.SkipFeeCheck(&_TaikoAnchorClient.CallOpts)
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoAnchorClient.contract.Transact(opts, "acceptOwnership")
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_TaikoAnchorClient *TaikoAnchorClientSession) AcceptOwnership() (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.AcceptOwnership(&_TaikoAnchorClient.TransactOpts)
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactorSession) AcceptOwnership() (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.AcceptOwnership(&_TaikoAnchorClient.TransactOpts)
+}
+
+// Anchor is a paid mutator transaction binding the contract method 0xda69d3db.
+//
+// Solidity: function anchor(bytes32 _l1BlockHash, bytes32 _l1StateRoot, uint64 _l1BlockId, uint32 _parentGasUsed) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactor) Anchor(opts *bind.TransactOpts, _l1BlockHash [32]byte, _l1StateRoot [32]byte, _l1BlockId uint64, _parentGasUsed uint32) (*types.Transaction, error) {
+ return _TaikoAnchorClient.contract.Transact(opts, "anchor", _l1BlockHash, _l1StateRoot, _l1BlockId, _parentGasUsed)
+}
+
+// Anchor is a paid mutator transaction binding the contract method 0xda69d3db.
+//
+// Solidity: function anchor(bytes32 _l1BlockHash, bytes32 _l1StateRoot, uint64 _l1BlockId, uint32 _parentGasUsed) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientSession) Anchor(_l1BlockHash [32]byte, _l1StateRoot [32]byte, _l1BlockId uint64, _parentGasUsed uint32) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.Anchor(&_TaikoAnchorClient.TransactOpts, _l1BlockHash, _l1StateRoot, _l1BlockId, _parentGasUsed)
+}
+
+// Anchor is a paid mutator transaction binding the contract method 0xda69d3db.
+//
+// Solidity: function anchor(bytes32 _l1BlockHash, bytes32 _l1StateRoot, uint64 _l1BlockId, uint32 _parentGasUsed) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactorSession) Anchor(_l1BlockHash [32]byte, _l1StateRoot [32]byte, _l1BlockId uint64, _parentGasUsed uint32) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.Anchor(&_TaikoAnchorClient.TransactOpts, _l1BlockHash, _l1StateRoot, _l1BlockId, _parentGasUsed)
+}
+
+// AnchorV3 is a paid mutator transaction binding the contract method 0xa9edc416.
+//
+// Solidity: function anchorV3(uint64 _anchorBlockId, bytes32 _anchorStateRoot, bytes32 _anchorInput, uint32 _parentGasUsed, (uint8,uint8,uint32,uint64,uint32) _baseFeeConfig, bytes32[] _signalSlots) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactor) AnchorV3(opts *bind.TransactOpts, _anchorBlockId uint64, _anchorStateRoot [32]byte, _anchorInput [32]byte, _parentGasUsed uint32, _baseFeeConfig LibSharedDataBaseFeeConfig, _signalSlots [][32]byte) (*types.Transaction, error) {
+ return _TaikoAnchorClient.contract.Transact(opts, "anchorV3", _anchorBlockId, _anchorStateRoot, _anchorInput, _parentGasUsed, _baseFeeConfig, _signalSlots)
+}
+
+// AnchorV3 is a paid mutator transaction binding the contract method 0xa9edc416.
+//
+// Solidity: function anchorV3(uint64 _anchorBlockId, bytes32 _anchorStateRoot, bytes32 _anchorInput, uint32 _parentGasUsed, (uint8,uint8,uint32,uint64,uint32) _baseFeeConfig, bytes32[] _signalSlots) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientSession) AnchorV3(_anchorBlockId uint64, _anchorStateRoot [32]byte, _anchorInput [32]byte, _parentGasUsed uint32, _baseFeeConfig LibSharedDataBaseFeeConfig, _signalSlots [][32]byte) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.AnchorV3(&_TaikoAnchorClient.TransactOpts, _anchorBlockId, _anchorStateRoot, _anchorInput, _parentGasUsed, _baseFeeConfig, _signalSlots)
+}
+
+// AnchorV3 is a paid mutator transaction binding the contract method 0xa9edc416.
+//
+// Solidity: function anchorV3(uint64 _anchorBlockId, bytes32 _anchorStateRoot, bytes32 _anchorInput, uint32 _parentGasUsed, (uint8,uint8,uint32,uint64,uint32) _baseFeeConfig, bytes32[] _signalSlots) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactorSession) AnchorV3(_anchorBlockId uint64, _anchorStateRoot [32]byte, _anchorInput [32]byte, _parentGasUsed uint32, _baseFeeConfig LibSharedDataBaseFeeConfig, _signalSlots [][32]byte) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.AnchorV3(&_TaikoAnchorClient.TransactOpts, _anchorBlockId, _anchorStateRoot, _anchorInput, _parentGasUsed, _baseFeeConfig, _signalSlots)
+}
+
+// Init is a paid mutator transaction binding the contract method 0x5950f9f1.
+//
+// Solidity: function init(address _owner, address _rollupResolver, uint64 _l1ChainId, uint64 _initialGasExcess) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactor) Init(opts *bind.TransactOpts, _owner common.Address, _rollupResolver common.Address, _l1ChainId uint64, _initialGasExcess uint64) (*types.Transaction, error) {
+ return _TaikoAnchorClient.contract.Transact(opts, "init", _owner, _rollupResolver, _l1ChainId, _initialGasExcess)
+}
+
+// Init is a paid mutator transaction binding the contract method 0x5950f9f1.
+//
+// Solidity: function init(address _owner, address _rollupResolver, uint64 _l1ChainId, uint64 _initialGasExcess) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientSession) Init(_owner common.Address, _rollupResolver common.Address, _l1ChainId uint64, _initialGasExcess uint64) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.Init(&_TaikoAnchorClient.TransactOpts, _owner, _rollupResolver, _l1ChainId, _initialGasExcess)
+}
+
+// Init is a paid mutator transaction binding the contract method 0x5950f9f1.
+//
+// Solidity: function init(address _owner, address _rollupResolver, uint64 _l1ChainId, uint64 _initialGasExcess) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactorSession) Init(_owner common.Address, _rollupResolver common.Address, _l1ChainId uint64, _initialGasExcess uint64) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.Init(&_TaikoAnchorClient.TransactOpts, _owner, _rollupResolver, _l1ChainId, _initialGasExcess)
+}
+
+// Pause is a paid mutator transaction binding the contract method 0x8456cb59.
+//
+// Solidity: function pause() returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoAnchorClient.contract.Transact(opts, "pause")
+}
+
+// Pause is a paid mutator transaction binding the contract method 0x8456cb59.
+//
+// Solidity: function pause() returns()
+func (_TaikoAnchorClient *TaikoAnchorClientSession) Pause() (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.Pause(&_TaikoAnchorClient.TransactOpts)
+}
+
+// Pause is a paid mutator transaction binding the contract method 0x8456cb59.
+//
+// Solidity: function pause() returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactorSession) Pause() (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.Pause(&_TaikoAnchorClient.TransactOpts)
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoAnchorClient.contract.Transact(opts, "renounceOwnership")
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_TaikoAnchorClient *TaikoAnchorClientSession) RenounceOwnership() (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.RenounceOwnership(&_TaikoAnchorClient.TransactOpts)
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactorSession) RenounceOwnership() (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.RenounceOwnership(&_TaikoAnchorClient.TransactOpts)
+}
+
+// SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.
+//
+// Solidity: function setResolver(address _resolver) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactor) SetResolver(opts *bind.TransactOpts, _resolver common.Address) (*types.Transaction, error) {
+ return _TaikoAnchorClient.contract.Transact(opts, "setResolver", _resolver)
+}
+
+// SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.
+//
+// Solidity: function setResolver(address _resolver) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientSession) SetResolver(_resolver common.Address) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.SetResolver(&_TaikoAnchorClient.TransactOpts, _resolver)
+}
+
+// SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.
+//
+// Solidity: function setResolver(address _resolver) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactorSession) SetResolver(_resolver common.Address) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.SetResolver(&_TaikoAnchorClient.TransactOpts, _resolver)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) {
+ return _TaikoAnchorClient.contract.Transact(opts, "transferOwnership", newOwner)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.TransferOwnership(&_TaikoAnchorClient.TransactOpts, newOwner)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.TransferOwnership(&_TaikoAnchorClient.TransactOpts, newOwner)
+}
+
+// Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
+//
+// Solidity: function unpause() returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoAnchorClient.contract.Transact(opts, "unpause")
+}
+
+// Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
+//
+// Solidity: function unpause() returns()
+func (_TaikoAnchorClient *TaikoAnchorClientSession) Unpause() (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.Unpause(&_TaikoAnchorClient.TransactOpts)
+}
+
+// Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
+//
+// Solidity: function unpause() returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactorSession) Unpause() (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.Unpause(&_TaikoAnchorClient.TransactOpts)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error) {
+ return _TaikoAnchorClient.contract.Transact(opts, "upgradeTo", newImplementation)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.UpgradeTo(&_TaikoAnchorClient.TransactOpts, newImplementation)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.UpgradeTo(&_TaikoAnchorClient.TransactOpts, newImplementation)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _TaikoAnchorClient.contract.Transact(opts, "upgradeToAndCall", newImplementation, data)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_TaikoAnchorClient *TaikoAnchorClientSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.UpgradeToAndCall(&_TaikoAnchorClient.TransactOpts, newImplementation, data)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.UpgradeToAndCall(&_TaikoAnchorClient.TransactOpts, newImplementation, data)
+}
+
+// Withdraw is a paid mutator transaction binding the contract method 0xf940e385.
+//
+// Solidity: function withdraw(address _token, address _to) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactor) Withdraw(opts *bind.TransactOpts, _token common.Address, _to common.Address) (*types.Transaction, error) {
+ return _TaikoAnchorClient.contract.Transact(opts, "withdraw", _token, _to)
+}
+
+// Withdraw is a paid mutator transaction binding the contract method 0xf940e385.
+//
+// Solidity: function withdraw(address _token, address _to) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientSession) Withdraw(_token common.Address, _to common.Address) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.Withdraw(&_TaikoAnchorClient.TransactOpts, _token, _to)
+}
+
+// Withdraw is a paid mutator transaction binding the contract method 0xf940e385.
+//
+// Solidity: function withdraw(address _token, address _to) returns()
+func (_TaikoAnchorClient *TaikoAnchorClientTransactorSession) Withdraw(_token common.Address, _to common.Address) (*types.Transaction, error) {
+ return _TaikoAnchorClient.Contract.Withdraw(&_TaikoAnchorClient.TransactOpts, _token, _to)
+}
+
+// TaikoAnchorClientAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientAdminChangedIterator struct {
+ Event *TaikoAnchorClientAdminChanged // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoAnchorClientAdminChangedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientAdminChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientAdminChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoAnchorClientAdminChangedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoAnchorClientAdminChangedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoAnchorClientAdminChanged represents a AdminChanged event raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientAdminChanged struct {
+ PreviousAdmin common.Address
+ NewAdmin common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*TaikoAnchorClientAdminChangedIterator, error) {
+
+ logs, sub, err := _TaikoAnchorClient.contract.FilterLogs(opts, "AdminChanged")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClientAdminChangedIterator{contract: _TaikoAnchorClient.contract, event: "AdminChanged", logs: logs, sub: sub}, nil
+}
+
+// WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *TaikoAnchorClientAdminChanged) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoAnchorClient.contract.WatchLogs(opts, "AdminChanged")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoAnchorClientAdminChanged)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "AdminChanged", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) ParseAdminChanged(log types.Log) (*TaikoAnchorClientAdminChanged, error) {
+ event := new(TaikoAnchorClientAdminChanged)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "AdminChanged", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoAnchorClientAnchoredIterator is returned from FilterAnchored and is used to iterate over the raw logs and unpacked data for Anchored events raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientAnchoredIterator struct {
+ Event *TaikoAnchorClientAnchored // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoAnchorClientAnchoredIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientAnchored)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientAnchored)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoAnchorClientAnchoredIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoAnchorClientAnchoredIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoAnchorClientAnchored represents a Anchored event raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientAnchored struct {
+ ParentHash [32]byte
+ ParentGasExcess uint64
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterAnchored is a free log retrieval operation binding the contract event 0x41c3f410f5c8ac36bb46b1dccef0de0f964087c9e688795fa02ecfa2c20b3fe4.
+//
+// Solidity: event Anchored(bytes32 parentHash, uint64 parentGasExcess)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) FilterAnchored(opts *bind.FilterOpts) (*TaikoAnchorClientAnchoredIterator, error) {
+
+ logs, sub, err := _TaikoAnchorClient.contract.FilterLogs(opts, "Anchored")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClientAnchoredIterator{contract: _TaikoAnchorClient.contract, event: "Anchored", logs: logs, sub: sub}, nil
+}
+
+// WatchAnchored is a free log subscription operation binding the contract event 0x41c3f410f5c8ac36bb46b1dccef0de0f964087c9e688795fa02ecfa2c20b3fe4.
+//
+// Solidity: event Anchored(bytes32 parentHash, uint64 parentGasExcess)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) WatchAnchored(opts *bind.WatchOpts, sink chan<- *TaikoAnchorClientAnchored) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoAnchorClient.contract.WatchLogs(opts, "Anchored")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoAnchorClientAnchored)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "Anchored", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseAnchored is a log parse operation binding the contract event 0x41c3f410f5c8ac36bb46b1dccef0de0f964087c9e688795fa02ecfa2c20b3fe4.
+//
+// Solidity: event Anchored(bytes32 parentHash, uint64 parentGasExcess)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) ParseAnchored(log types.Log) (*TaikoAnchorClientAnchored, error) {
+ event := new(TaikoAnchorClientAnchored)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "Anchored", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoAnchorClientBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientBeaconUpgradedIterator struct {
+ Event *TaikoAnchorClientBeaconUpgraded // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoAnchorClientBeaconUpgradedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientBeaconUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientBeaconUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoAnchorClientBeaconUpgradedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoAnchorClientBeaconUpgradedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoAnchorClientBeaconUpgraded represents a BeaconUpgraded event raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientBeaconUpgraded struct {
+ Beacon common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*TaikoAnchorClientBeaconUpgradedIterator, error) {
+
+ var beaconRule []interface{}
+ for _, beaconItem := range beacon {
+ beaconRule = append(beaconRule, beaconItem)
+ }
+
+ logs, sub, err := _TaikoAnchorClient.contract.FilterLogs(opts, "BeaconUpgraded", beaconRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClientBeaconUpgradedIterator{contract: _TaikoAnchorClient.contract, event: "BeaconUpgraded", logs: logs, sub: sub}, nil
+}
+
+// WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *TaikoAnchorClientBeaconUpgraded, beacon []common.Address) (event.Subscription, error) {
+
+ var beaconRule []interface{}
+ for _, beaconItem := range beacon {
+ beaconRule = append(beaconRule, beaconItem)
+ }
+
+ logs, sub, err := _TaikoAnchorClient.contract.WatchLogs(opts, "BeaconUpgraded", beaconRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoAnchorClientBeaconUpgraded)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "BeaconUpgraded", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) ParseBeaconUpgraded(log types.Log) (*TaikoAnchorClientBeaconUpgraded, error) {
+ event := new(TaikoAnchorClientBeaconUpgraded)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "BeaconUpgraded", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoAnchorClientEIP1559UpdateIterator is returned from FilterEIP1559Update and is used to iterate over the raw logs and unpacked data for EIP1559Update events raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientEIP1559UpdateIterator struct {
+ Event *TaikoAnchorClientEIP1559Update // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoAnchorClientEIP1559UpdateIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientEIP1559Update)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientEIP1559Update)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoAnchorClientEIP1559UpdateIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoAnchorClientEIP1559UpdateIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoAnchorClientEIP1559Update represents a EIP1559Update event raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientEIP1559Update struct {
+ OldGasTarget uint64
+ NewGasTarget uint64
+ OldGasExcess uint64
+ NewGasExcess uint64
+ Basefee *big.Int
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterEIP1559Update is a free log retrieval operation binding the contract event 0x781ae5c2215806150d5c71a4ed5336e5dc3ad32aef04fc0f626a6ee0c2f8d1c8.
+//
+// Solidity: event EIP1559Update(uint64 oldGasTarget, uint64 newGasTarget, uint64 oldGasExcess, uint64 newGasExcess, uint256 basefee)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) FilterEIP1559Update(opts *bind.FilterOpts) (*TaikoAnchorClientEIP1559UpdateIterator, error) {
+
+ logs, sub, err := _TaikoAnchorClient.contract.FilterLogs(opts, "EIP1559Update")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClientEIP1559UpdateIterator{contract: _TaikoAnchorClient.contract, event: "EIP1559Update", logs: logs, sub: sub}, nil
+}
+
+// WatchEIP1559Update is a free log subscription operation binding the contract event 0x781ae5c2215806150d5c71a4ed5336e5dc3ad32aef04fc0f626a6ee0c2f8d1c8.
+//
+// Solidity: event EIP1559Update(uint64 oldGasTarget, uint64 newGasTarget, uint64 oldGasExcess, uint64 newGasExcess, uint256 basefee)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) WatchEIP1559Update(opts *bind.WatchOpts, sink chan<- *TaikoAnchorClientEIP1559Update) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoAnchorClient.contract.WatchLogs(opts, "EIP1559Update")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoAnchorClientEIP1559Update)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "EIP1559Update", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseEIP1559Update is a log parse operation binding the contract event 0x781ae5c2215806150d5c71a4ed5336e5dc3ad32aef04fc0f626a6ee0c2f8d1c8.
+//
+// Solidity: event EIP1559Update(uint64 oldGasTarget, uint64 newGasTarget, uint64 oldGasExcess, uint64 newGasExcess, uint256 basefee)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) ParseEIP1559Update(log types.Log) (*TaikoAnchorClientEIP1559Update, error) {
+ event := new(TaikoAnchorClientEIP1559Update)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "EIP1559Update", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoAnchorClientInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientInitializedIterator struct {
+ Event *TaikoAnchorClientInitialized // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoAnchorClientInitializedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientInitialized)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientInitialized)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoAnchorClientInitializedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoAnchorClientInitializedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoAnchorClientInitialized represents a Initialized event raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientInitialized struct {
+ Version uint8
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) FilterInitialized(opts *bind.FilterOpts) (*TaikoAnchorClientInitializedIterator, error) {
+
+ logs, sub, err := _TaikoAnchorClient.contract.FilterLogs(opts, "Initialized")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClientInitializedIterator{contract: _TaikoAnchorClient.contract, event: "Initialized", logs: logs, sub: sub}, nil
+}
+
+// WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TaikoAnchorClientInitialized) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoAnchorClient.contract.WatchLogs(opts, "Initialized")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoAnchorClientInitialized)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "Initialized", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) ParseInitialized(log types.Log) (*TaikoAnchorClientInitialized, error) {
+ event := new(TaikoAnchorClientInitialized)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "Initialized", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoAnchorClientOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientOwnershipTransferStartedIterator struct {
+ Event *TaikoAnchorClientOwnershipTransferStarted // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoAnchorClientOwnershipTransferStartedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientOwnershipTransferStarted)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientOwnershipTransferStarted)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoAnchorClientOwnershipTransferStartedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoAnchorClientOwnershipTransferStartedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoAnchorClientOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientOwnershipTransferStarted struct {
+ PreviousOwner common.Address
+ NewOwner common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TaikoAnchorClientOwnershipTransferStartedIterator, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _TaikoAnchorClient.contract.FilterLogs(opts, "OwnershipTransferStarted", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClientOwnershipTransferStartedIterator{contract: _TaikoAnchorClient.contract, event: "OwnershipTransferStarted", logs: logs, sub: sub}, nil
+}
+
+// WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *TaikoAnchorClientOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _TaikoAnchorClient.contract.WatchLogs(opts, "OwnershipTransferStarted", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoAnchorClientOwnershipTransferStarted)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "OwnershipTransferStarted", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) ParseOwnershipTransferStarted(log types.Log) (*TaikoAnchorClientOwnershipTransferStarted, error) {
+ event := new(TaikoAnchorClientOwnershipTransferStarted)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "OwnershipTransferStarted", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoAnchorClientOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientOwnershipTransferredIterator struct {
+ Event *TaikoAnchorClientOwnershipTransferred // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoAnchorClientOwnershipTransferredIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientOwnershipTransferred)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientOwnershipTransferred)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoAnchorClientOwnershipTransferredIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoAnchorClientOwnershipTransferredIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoAnchorClientOwnershipTransferred represents a OwnershipTransferred event raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientOwnershipTransferred struct {
+ PreviousOwner common.Address
+ NewOwner common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TaikoAnchorClientOwnershipTransferredIterator, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _TaikoAnchorClient.contract.FilterLogs(opts, "OwnershipTransferred", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClientOwnershipTransferredIterator{contract: _TaikoAnchorClient.contract, event: "OwnershipTransferred", logs: logs, sub: sub}, nil
+}
+
+// WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TaikoAnchorClientOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _TaikoAnchorClient.contract.WatchLogs(opts, "OwnershipTransferred", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoAnchorClientOwnershipTransferred)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "OwnershipTransferred", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) ParseOwnershipTransferred(log types.Log) (*TaikoAnchorClientOwnershipTransferred, error) {
+ event := new(TaikoAnchorClientOwnershipTransferred)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "OwnershipTransferred", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoAnchorClientPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientPausedIterator struct {
+ Event *TaikoAnchorClientPaused // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoAnchorClientPausedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientPaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientPaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoAnchorClientPausedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoAnchorClientPausedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoAnchorClientPaused represents a Paused event raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientPaused struct {
+ Account common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
+//
+// Solidity: event Paused(address account)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) FilterPaused(opts *bind.FilterOpts) (*TaikoAnchorClientPausedIterator, error) {
+
+ logs, sub, err := _TaikoAnchorClient.contract.FilterLogs(opts, "Paused")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClientPausedIterator{contract: _TaikoAnchorClient.contract, event: "Paused", logs: logs, sub: sub}, nil
+}
+
+// WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
+//
+// Solidity: event Paused(address account)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *TaikoAnchorClientPaused) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoAnchorClient.contract.WatchLogs(opts, "Paused")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoAnchorClientPaused)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "Paused", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
+//
+// Solidity: event Paused(address account)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) ParsePaused(log types.Log) (*TaikoAnchorClientPaused, error) {
+ event := new(TaikoAnchorClientPaused)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "Paused", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoAnchorClientResolverUpdatedIterator is returned from FilterResolverUpdated and is used to iterate over the raw logs and unpacked data for ResolverUpdated events raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientResolverUpdatedIterator struct {
+ Event *TaikoAnchorClientResolverUpdated // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoAnchorClientResolverUpdatedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientResolverUpdated)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientResolverUpdated)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoAnchorClientResolverUpdatedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoAnchorClientResolverUpdatedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoAnchorClientResolverUpdated represents a ResolverUpdated event raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientResolverUpdated struct {
+ OldResolver common.Address
+ NewResolver common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterResolverUpdated is a free log retrieval operation binding the contract event 0x84b83d2b66cac119ccaaca68b476b0dc5371d5f2fd27f697770a910175fd38b6.
+//
+// Solidity: event ResolverUpdated(address oldResolver, address newResolver)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) FilterResolverUpdated(opts *bind.FilterOpts) (*TaikoAnchorClientResolverUpdatedIterator, error) {
+
+ logs, sub, err := _TaikoAnchorClient.contract.FilterLogs(opts, "ResolverUpdated")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClientResolverUpdatedIterator{contract: _TaikoAnchorClient.contract, event: "ResolverUpdated", logs: logs, sub: sub}, nil
+}
+
+// WatchResolverUpdated is a free log subscription operation binding the contract event 0x84b83d2b66cac119ccaaca68b476b0dc5371d5f2fd27f697770a910175fd38b6.
+//
+// Solidity: event ResolverUpdated(address oldResolver, address newResolver)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) WatchResolverUpdated(opts *bind.WatchOpts, sink chan<- *TaikoAnchorClientResolverUpdated) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoAnchorClient.contract.WatchLogs(opts, "ResolverUpdated")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoAnchorClientResolverUpdated)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "ResolverUpdated", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseResolverUpdated is a log parse operation binding the contract event 0x84b83d2b66cac119ccaaca68b476b0dc5371d5f2fd27f697770a910175fd38b6.
+//
+// Solidity: event ResolverUpdated(address oldResolver, address newResolver)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) ParseResolverUpdated(log types.Log) (*TaikoAnchorClientResolverUpdated, error) {
+ event := new(TaikoAnchorClientResolverUpdated)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "ResolverUpdated", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoAnchorClientUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientUnpausedIterator struct {
+ Event *TaikoAnchorClientUnpaused // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoAnchorClientUnpausedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientUnpaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientUnpaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoAnchorClientUnpausedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoAnchorClientUnpausedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoAnchorClientUnpaused represents a Unpaused event raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientUnpaused struct {
+ Account common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
+//
+// Solidity: event Unpaused(address account)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) FilterUnpaused(opts *bind.FilterOpts) (*TaikoAnchorClientUnpausedIterator, error) {
+
+ logs, sub, err := _TaikoAnchorClient.contract.FilterLogs(opts, "Unpaused")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClientUnpausedIterator{contract: _TaikoAnchorClient.contract, event: "Unpaused", logs: logs, sub: sub}, nil
+}
+
+// WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
+//
+// Solidity: event Unpaused(address account)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *TaikoAnchorClientUnpaused) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoAnchorClient.contract.WatchLogs(opts, "Unpaused")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoAnchorClientUnpaused)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "Unpaused", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
+//
+// Solidity: event Unpaused(address account)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) ParseUnpaused(log types.Log) (*TaikoAnchorClientUnpaused, error) {
+ event := new(TaikoAnchorClientUnpaused)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "Unpaused", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoAnchorClientUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientUpgradedIterator struct {
+ Event *TaikoAnchorClientUpgraded // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoAnchorClientUpgradedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoAnchorClientUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoAnchorClientUpgradedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoAnchorClientUpgradedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoAnchorClientUpgraded represents a Upgraded event raised by the TaikoAnchorClient contract.
+type TaikoAnchorClientUpgraded struct {
+ Implementation common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*TaikoAnchorClientUpgradedIterator, error) {
+
+ var implementationRule []interface{}
+ for _, implementationItem := range implementation {
+ implementationRule = append(implementationRule, implementationItem)
+ }
+
+ logs, sub, err := _TaikoAnchorClient.contract.FilterLogs(opts, "Upgraded", implementationRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoAnchorClientUpgradedIterator{contract: _TaikoAnchorClient.contract, event: "Upgraded", logs: logs, sub: sub}, nil
+}
+
+// WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *TaikoAnchorClientUpgraded, implementation []common.Address) (event.Subscription, error) {
+
+ var implementationRule []interface{}
+ for _, implementationItem := range implementation {
+ implementationRule = append(implementationRule, implementationItem)
+ }
+
+ logs, sub, err := _TaikoAnchorClient.contract.WatchLogs(opts, "Upgraded", implementationRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoAnchorClientUpgraded)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "Upgraded", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_TaikoAnchorClient *TaikoAnchorClientFilterer) ParseUpgraded(log types.Log) (*TaikoAnchorClientUpgraded, error) {
+ event := new(TaikoAnchorClientUpgraded)
+ if err := _TaikoAnchorClient.contract.UnpackLog(event, "Upgraded", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
diff --git a/packages/taiko-client/bindings/pacaya/gen_taiko_inbox.go b/packages/taiko-client/bindings/pacaya/gen_taiko_inbox.go
new file mode 100644
index 0000000000..eea35aac48
--- /dev/null
+++ b/packages/taiko-client/bindings/pacaya/gen_taiko_inbox.go
@@ -0,0 +1,3912 @@
+// Code generated - DO NOT EDIT.
+// This file is a generated binding and any manual changes will be lost.
+
+package pacaya
+
+import (
+ "errors"
+ "math/big"
+ "strings"
+
+ ethereum "github.com/ethereum/go-ethereum"
+ "github.com/ethereum/go-ethereum/accounts/abi"
+ "github.com/ethereum/go-ethereum/accounts/abi/bind"
+ "github.com/ethereum/go-ethereum/common"
+ "github.com/ethereum/go-ethereum/core/types"
+ "github.com/ethereum/go-ethereum/event"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var (
+ _ = errors.New
+ _ = big.NewInt
+ _ = strings.NewReader
+ _ = ethereum.NotFound
+ _ = bind.Bind
+ _ = common.Big1
+ _ = types.BloomLookup
+ _ = event.NewSubscription
+ _ = abi.ConvertType
+)
+
+// ITaikoInboxBlockMetadataV3 is an auto generated low-level Go binding around an user-defined struct.
+type ITaikoInboxBlockMetadataV3 struct {
+ Difficulty [32]byte
+ TxListHash [32]byte
+ ExtraData [32]byte
+ Coinbase common.Address
+ BlockId uint64
+ GasLimit uint32
+ Timestamp uint64
+ ParentMetaHash [32]byte
+ Proposer common.Address
+ LivenessBond *big.Int
+ ProposedAt uint64
+ ProposedIn uint64
+ TxListOffset uint32
+ TxListSize uint32
+ BlobIndex uint8
+ AnchorBlockId uint64
+ AnchorBlockHash [32]byte
+ SignalSlots [][32]byte
+ AnchorInput [32]byte
+ BaseFeeConfig LibSharedDataBaseFeeConfig
+}
+
+// ITaikoInboxBlockParamsV3 is an auto generated low-level Go binding around an user-defined struct.
+type ITaikoInboxBlockParamsV3 struct {
+ ParentMetaHash [32]byte
+ AnchorBlockId uint64
+ AnchorInput [32]byte
+ Timestamp uint64
+ TxListOffset uint32
+ TxListSize uint32
+ BlobIndex uint8
+ SignalSlots [][32]byte
+}
+
+// ITaikoInboxBlockV3 is an auto generated low-level Go binding around an user-defined struct.
+type ITaikoInboxBlockV3 struct {
+ MetaHash [32]byte
+ Reserved2 common.Address
+ Reserved3 *big.Int
+ BlockId uint64
+ Timestamp uint64
+ AnchorBlockId uint64
+ NextTransitionId *big.Int
+ Reserved1 bool
+ VerifiedTransitionId *big.Int
+}
+
+// ITaikoInboxConfigV3 is an auto generated low-level Go binding around an user-defined struct.
+type ITaikoInboxConfigV3 struct {
+ ChainId uint64
+ BlockMaxProposals uint64
+ BlockRingBufferSize uint64
+ MaxBlocksToVerify uint64
+ BlockMaxGasLimit uint32
+ LivenessBond *big.Int
+ StateRootSyncInternal uint8
+ MaxAnchorHeightOffset uint64
+ BaseFeeConfig LibSharedDataBaseFeeConfig
+ ProvingWindow uint16
+ MaxSignalsToReceive uint8
+ ForkHeights ITaikoInboxForkHeights
+}
+
+// ITaikoInboxForkHeights is an auto generated low-level Go binding around an user-defined struct.
+type ITaikoInboxForkHeights struct {
+ Ontake uint64
+ Pacaya uint64
+}
+
+// ITaikoInboxStats1 is an auto generated low-level Go binding around an user-defined struct.
+type ITaikoInboxStats1 struct {
+ Reserved1 uint64
+ Reserved2 uint64
+ LastSyncedBlockId uint64
+ LastSyncedAt uint64
+}
+
+// ITaikoInboxStats2 is an auto generated low-level Go binding around an user-defined struct.
+type ITaikoInboxStats2 struct {
+ NumBlocks uint64
+ LastVerifiedBlockId uint64
+ Paused bool
+ LastProposedIn *big.Int
+ LastUnpausedAt uint64
+}
+
+// ITaikoInboxTransitionV3 is an auto generated low-level Go binding around an user-defined struct.
+type ITaikoInboxTransitionV3 struct {
+ ParentHash [32]byte
+ BlockHash [32]byte
+ StateRoot [32]byte
+}
+
+// LibSharedDataBaseFeeConfig is an auto generated low-level Go binding around an user-defined struct.
+type LibSharedDataBaseFeeConfig struct {
+ AdjustmentQuotient uint8
+ SharingPctg uint8
+ GasIssuancePerSecond uint32
+ MinGasExcess uint64
+ MaxGasIssuancePerBlock uint32
+}
+
+// TaikoInboxClientMetaData contains all meta data concerning the TaikoInboxClient contract.
+var TaikoInboxClientMetaData = &bind.MetaData{
+ ABI: "[{\"type\":\"function\",\"name\":\"acceptOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"bondBalanceOf\",\"inputs\":[{\"name\":\"_user\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"bondToken\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"depositBond\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"getBlockV3\",\"inputs\":[{\"name\":\"_blockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[{\"name\":\"blk_\",\"type\":\"tuple\",\"internalType\":\"structITaikoInbox.BlockV3\",\"components\":[{\"name\":\"metaHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_reserved2\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_reserved3\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"blockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"timestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"anchorBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"nextTransitionId\",\"type\":\"uint24\",\"internalType\":\"uint24\"},{\"name\":\"_reserved1\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"verifiedTransitionId\",\"type\":\"uint24\",\"internalType\":\"uint24\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getBlockVerifyingTransition\",\"inputs\":[{\"name\":\"_blockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[{\"name\":\"tran_\",\"type\":\"tuple\",\"internalType\":\"structITaikoInbox.TransitionV3\",\"components\":[{\"name\":\"parentHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getConfigV3\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structITaikoInbox.ConfigV3\",\"components\":[{\"name\":\"chainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"blockMaxProposals\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"blockRingBufferSize\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"maxBlocksToVerify\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"blockMaxGasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"livenessBond\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"stateRootSyncInternal\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"maxAnchorHeightOffset\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"baseFeeConfig\",\"type\":\"tuple\",\"internalType\":\"structLibSharedData.BaseFeeConfig\",\"components\":[{\"name\":\"adjustmentQuotient\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"sharingPctg\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"gasIssuancePerSecond\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"minGasExcess\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"maxGasIssuancePerBlock\",\"type\":\"uint32\",\"internalType\":\"uint32\"}]},{\"name\":\"provingWindow\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"maxSignalsToReceive\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"forkHeights\",\"type\":\"tuple\",\"internalType\":\"structITaikoInbox.ForkHeights\",\"components\":[{\"name\":\"ontake\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"pacaya\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getLastSyncedTransitionV3\",\"inputs\":[],\"outputs\":[{\"name\":\"blockId_\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"tran_\",\"type\":\"tuple\",\"internalType\":\"structITaikoInbox.TransitionV3\",\"components\":[{\"name\":\"parentHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getLastVerifiedTransitionV3\",\"inputs\":[],\"outputs\":[{\"name\":\"blockId_\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"tran_\",\"type\":\"tuple\",\"internalType\":\"structITaikoInbox.TransitionV3\",\"components\":[{\"name\":\"parentHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getStats1\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structITaikoInbox.Stats1\",\"components\":[{\"name\":\"__reserved1\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"__reserved2\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"lastSyncedBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"lastSyncedAt\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getStats2\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structITaikoInbox.Stats2\",\"components\":[{\"name\":\"numBlocks\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"lastVerifiedBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"paused\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"lastProposedIn\",\"type\":\"uint56\",\"internalType\":\"uint56\"},{\"name\":\"lastUnpausedAt\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getTransitionV3\",\"inputs\":[{\"name\":\"_blockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_tid\",\"type\":\"uint24\",\"internalType\":\"uint24\"}],\"outputs\":[{\"name\":\"tran_\",\"type\":\"tuple\",\"internalType\":\"structITaikoInbox.TransitionV3\",\"components\":[{\"name\":\"parentHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"impl\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"inNonReentrant\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"init\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_rollupResolver\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_genesisBlockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"isOnL1\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pendingOwner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposeBlocksV3\",\"inputs\":[{\"name\":\"_proposer\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_coinbase\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_paramsArray\",\"type\":\"tuple[]\",\"internalType\":\"structITaikoInbox.BlockParamsV3[]\",\"components\":[{\"name\":\"parentMetaHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"anchorBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"anchorInput\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"timestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"txListOffset\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"txListSize\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"blobIndex\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"signalSlots\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"}]},{\"name\":\"_txList\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"metas_\",\"type\":\"tuple[]\",\"internalType\":\"structITaikoInbox.BlockMetadataV3[]\",\"components\":[{\"name\":\"difficulty\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"txListHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"extraData\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"coinbase\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"blockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"gasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"timestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"parentMetaHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"proposer\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"livenessBond\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"proposedAt\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"proposedIn\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"txListOffset\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"txListSize\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"blobIndex\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"anchorBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"anchorBlockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"signalSlots\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"},{\"name\":\"anchorInput\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"baseFeeConfig\",\"type\":\"tuple\",\"internalType\":\"structLibSharedData.BaseFeeConfig\",\"components\":[{\"name\":\"adjustmentQuotient\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"sharingPctg\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"gasIssuancePerSecond\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"minGasExcess\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"maxGasIssuancePerBlock\",\"type\":\"uint32\",\"internalType\":\"uint32\"}]}]}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"proveBlocksV3\",\"inputs\":[{\"name\":\"_metas\",\"type\":\"tuple[]\",\"internalType\":\"structITaikoInbox.BlockMetadataV3[]\",\"components\":[{\"name\":\"difficulty\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"txListHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"extraData\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"coinbase\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"blockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"gasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"timestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"parentMetaHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"proposer\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"livenessBond\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"proposedAt\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"proposedIn\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"txListOffset\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"txListSize\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"blobIndex\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"anchorBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"anchorBlockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"signalSlots\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"},{\"name\":\"anchorInput\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"baseFeeConfig\",\"type\":\"tuple\",\"internalType\":\"structLibSharedData.BaseFeeConfig\",\"components\":[{\"name\":\"adjustmentQuotient\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"sharingPctg\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"gasIssuancePerSecond\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"minGasExcess\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"maxGasIssuancePerBlock\",\"type\":\"uint32\",\"internalType\":\"uint32\"}]}]},{\"name\":\"_transitions\",\"type\":\"tuple[]\",\"internalType\":\"structITaikoInbox.TransitionV3[]\",\"components\":[{\"name\":\"parentHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"proxiableUUID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_chainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"resolver\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIResolver\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setResolver\",\"inputs\":[{\"name\":\"_resolver\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"state\",\"inputs\":[],\"outputs\":[{\"name\":\"__reserve1\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"stats1\",\"type\":\"tuple\",\"internalType\":\"structITaikoInbox.Stats1\",\"components\":[{\"name\":\"__reserved1\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"__reserved2\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"lastSyncedBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"lastSyncedAt\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"stats2\",\"type\":\"tuple\",\"internalType\":\"structITaikoInbox.Stats2\",\"components\":[{\"name\":\"numBlocks\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"lastVerifiedBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"paused\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"lastProposedIn\",\"type\":\"uint56\",\"internalType\":\"uint56\"},{\"name\":\"lastUnpausedAt\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"unpause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeTo\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeToAndCall\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"withdrawBond\",\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"AdminChanged\",\"inputs\":[{\"name\":\"previousAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"newAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BeaconUpgraded\",\"inputs\":[{\"name\":\"beacon\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BlockVerifiedV3\",\"inputs\":[{\"name\":\"blockId\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"},{\"name\":\"blockHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BlocksProposedV3\",\"inputs\":[{\"name\":\"metas\",\"type\":\"tuple[]\",\"indexed\":false,\"internalType\":\"structITaikoInbox.BlockMetadataV3[]\",\"components\":[{\"name\":\"difficulty\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"txListHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"extraData\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"coinbase\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"blockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"gasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"timestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"parentMetaHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"proposer\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"livenessBond\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"proposedAt\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"proposedIn\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"txListOffset\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"txListSize\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"blobIndex\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"anchorBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"anchorBlockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"signalSlots\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"},{\"name\":\"anchorInput\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"baseFeeConfig\",\"type\":\"tuple\",\"internalType\":\"structLibSharedData.BaseFeeConfig\",\"components\":[{\"name\":\"adjustmentQuotient\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"sharingPctg\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"gasIssuancePerSecond\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"minGasExcess\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"maxGasIssuancePerBlock\",\"type\":\"uint32\",\"internalType\":\"uint32\"}]}]},{\"name\":\"calldataUsed\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"},{\"name\":\"txListInCalldata\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BlocksProvedV3\",\"inputs\":[{\"name\":\"verifier\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"blockIds\",\"type\":\"uint64[]\",\"indexed\":false,\"internalType\":\"uint64[]\"},{\"name\":\"transitions\",\"type\":\"tuple[]\",\"indexed\":false,\"internalType\":\"structITaikoInbox.TransitionV3[]\",\"components\":[{\"name\":\"parentHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BondCredited\",\"inputs\":[{\"name\":\"user\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BondDebited\",\"inputs\":[{\"name\":\"user\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BondDeposited\",\"inputs\":[{\"name\":\"user\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BondWithdrawn\",\"inputs\":[{\"name\":\"user\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferStarted\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Paused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ResolverUpdated\",\"inputs\":[{\"name\":\"oldResolver\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"newResolver\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Stats1Updated\",\"inputs\":[{\"name\":\"stats1\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structITaikoInbox.Stats1\",\"components\":[{\"name\":\"__reserved1\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"__reserved2\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"lastSyncedBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"lastSyncedAt\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Stats2Updated\",\"inputs\":[{\"name\":\"stats2\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structITaikoInbox.Stats2\",\"components\":[{\"name\":\"numBlocks\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"lastVerifiedBlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"paused\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"lastProposedIn\",\"type\":\"uint56\",\"internalType\":\"uint56\"},{\"name\":\"lastUnpausedAt\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TransitionOverwrittenV3\",\"inputs\":[{\"name\":\"blockId\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"},{\"name\":\"tran\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structITaikoInbox.TransitionV3\",\"components\":[{\"name\":\"parentHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Upgraded\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"ACCESS_DENIED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AnchorBlockIdSmallerThanParent\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AnchorBlockIdTooLarge\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AnchorBlockIdTooSmall\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ArraySizesMismatch\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"BlobIndexZero\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"BlobNotFound\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"BlockNotFound\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"BlockVerified\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ContractPaused\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"CustomProposerMissing\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"CustomProposerNotAllowed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ETH_TRANSFER_FAILED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"EtherNotPaidAsBond\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"FUNC_NOT_IMPLEMENTED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"INVALID_PAUSE_STATUS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InsufficientBond\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidForkHeight\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidGenesisBlockHash\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidTransitionBlockHash\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidTransitionParentHash\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidTransitionStateRoot\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"MetaHashMismatch\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"MsgValueNotZero\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NoBlocksToPropose\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NoBlocksToProve\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotPreconfRouter\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ParentMetaHashMismatch\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ProverNotPermitted\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"REENTRANT_CALL\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_NOT_FOUND\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"SignalNotSent\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TimestampSmallerThanParent\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TimestampTooLarge\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TimestampTooSmall\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TooManyBlocks\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TooManySignals\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TransitionNotFound\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_ADDRESS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_VALUE\",\"inputs\":[]}]",
+}
+
+// TaikoInboxClientABI is the input ABI used to generate the binding from.
+// Deprecated: Use TaikoInboxClientMetaData.ABI instead.
+var TaikoInboxClientABI = TaikoInboxClientMetaData.ABI
+
+// TaikoInboxClient is an auto generated Go binding around an Ethereum contract.
+type TaikoInboxClient struct {
+ TaikoInboxClientCaller // Read-only binding to the contract
+ TaikoInboxClientTransactor // Write-only binding to the contract
+ TaikoInboxClientFilterer // Log filterer for contract events
+}
+
+// TaikoInboxClientCaller is an auto generated read-only Go binding around an Ethereum contract.
+type TaikoInboxClientCaller struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// TaikoInboxClientTransactor is an auto generated write-only Go binding around an Ethereum contract.
+type TaikoInboxClientTransactor struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// TaikoInboxClientFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
+type TaikoInboxClientFilterer struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// TaikoInboxClientSession is an auto generated Go binding around an Ethereum contract,
+// with pre-set call and transact options.
+type TaikoInboxClientSession struct {
+ Contract *TaikoInboxClient // 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
+}
+
+// TaikoInboxClientCallerSession is an auto generated read-only Go binding around an Ethereum contract,
+// with pre-set call options.
+type TaikoInboxClientCallerSession struct {
+ Contract *TaikoInboxClientCaller // Generic contract caller binding to set the session for
+ CallOpts bind.CallOpts // Call options to use throughout this session
+}
+
+// TaikoInboxClientTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
+// with pre-set transact options.
+type TaikoInboxClientTransactorSession struct {
+ Contract *TaikoInboxClientTransactor // Generic contract transactor binding to set the session for
+ TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
+}
+
+// TaikoInboxClientRaw is an auto generated low-level Go binding around an Ethereum contract.
+type TaikoInboxClientRaw struct {
+ Contract *TaikoInboxClient // Generic contract binding to access the raw methods on
+}
+
+// TaikoInboxClientCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
+type TaikoInboxClientCallerRaw struct {
+ Contract *TaikoInboxClientCaller // Generic read-only contract binding to access the raw methods on
+}
+
+// TaikoInboxClientTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
+type TaikoInboxClientTransactorRaw struct {
+ Contract *TaikoInboxClientTransactor // Generic write-only contract binding to access the raw methods on
+}
+
+// NewTaikoInboxClient creates a new instance of TaikoInboxClient, bound to a specific deployed contract.
+func NewTaikoInboxClient(address common.Address, backend bind.ContractBackend) (*TaikoInboxClient, error) {
+ contract, err := bindTaikoInboxClient(address, backend, backend, backend)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClient{TaikoInboxClientCaller: TaikoInboxClientCaller{contract: contract}, TaikoInboxClientTransactor: TaikoInboxClientTransactor{contract: contract}, TaikoInboxClientFilterer: TaikoInboxClientFilterer{contract: contract}}, nil
+}
+
+// NewTaikoInboxClientCaller creates a new read-only instance of TaikoInboxClient, bound to a specific deployed contract.
+func NewTaikoInboxClientCaller(address common.Address, caller bind.ContractCaller) (*TaikoInboxClientCaller, error) {
+ contract, err := bindTaikoInboxClient(address, caller, nil, nil)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientCaller{contract: contract}, nil
+}
+
+// NewTaikoInboxClientTransactor creates a new write-only instance of TaikoInboxClient, bound to a specific deployed contract.
+func NewTaikoInboxClientTransactor(address common.Address, transactor bind.ContractTransactor) (*TaikoInboxClientTransactor, error) {
+ contract, err := bindTaikoInboxClient(address, nil, transactor, nil)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientTransactor{contract: contract}, nil
+}
+
+// NewTaikoInboxClientFilterer creates a new log filterer instance of TaikoInboxClient, bound to a specific deployed contract.
+func NewTaikoInboxClientFilterer(address common.Address, filterer bind.ContractFilterer) (*TaikoInboxClientFilterer, error) {
+ contract, err := bindTaikoInboxClient(address, nil, nil, filterer)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientFilterer{contract: contract}, nil
+}
+
+// bindTaikoInboxClient binds a generic wrapper to an already deployed contract.
+func bindTaikoInboxClient(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
+ parsed, err := TaikoInboxClientMetaData.GetAbi()
+ if err != nil {
+ return nil, err
+ }
+ return bind.NewBoundContract(address, *parsed, caller, transactor, filterer), nil
+}
+
+// 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 (_TaikoInboxClient *TaikoInboxClientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
+ return _TaikoInboxClient.Contract.TaikoInboxClientCaller.contract.Call(opts, result, method, params...)
+}
+
+// Transfer initiates a plain transaction to move funds to the contract, calling
+// its default method if one is available.
+func (_TaikoInboxClient *TaikoInboxClientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.TaikoInboxClientTransactor.contract.Transfer(opts)
+}
+
+// Transact invokes the (paid) contract method with params as input values.
+func (_TaikoInboxClient *TaikoInboxClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.TaikoInboxClientTransactor.contract.Transact(opts, method, params...)
+}
+
+// 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 (_TaikoInboxClient *TaikoInboxClientCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
+ return _TaikoInboxClient.Contract.contract.Call(opts, result, method, params...)
+}
+
+// Transfer initiates a plain transaction to move funds to the contract, calling
+// its default method if one is available.
+func (_TaikoInboxClient *TaikoInboxClientTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.contract.Transfer(opts)
+}
+
+// Transact invokes the (paid) contract method with params as input values.
+func (_TaikoInboxClient *TaikoInboxClientTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.contract.Transact(opts, method, params...)
+}
+
+// BondBalanceOf is a free data retrieval call binding the contract method 0xa9c2c835.
+//
+// Solidity: function bondBalanceOf(address _user) view returns(uint256)
+func (_TaikoInboxClient *TaikoInboxClientCaller) BondBalanceOf(opts *bind.CallOpts, _user common.Address) (*big.Int, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "bondBalanceOf", _user)
+
+ if err != nil {
+ return *new(*big.Int), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
+
+ return out0, err
+
+}
+
+// BondBalanceOf is a free data retrieval call binding the contract method 0xa9c2c835.
+//
+// Solidity: function bondBalanceOf(address _user) view returns(uint256)
+func (_TaikoInboxClient *TaikoInboxClientSession) BondBalanceOf(_user common.Address) (*big.Int, error) {
+ return _TaikoInboxClient.Contract.BondBalanceOf(&_TaikoInboxClient.CallOpts, _user)
+}
+
+// BondBalanceOf is a free data retrieval call binding the contract method 0xa9c2c835.
+//
+// Solidity: function bondBalanceOf(address _user) view returns(uint256)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) BondBalanceOf(_user common.Address) (*big.Int, error) {
+ return _TaikoInboxClient.Contract.BondBalanceOf(&_TaikoInboxClient.CallOpts, _user)
+}
+
+// BondToken is a free data retrieval call binding the contract method 0xc28f4392.
+//
+// Solidity: function bondToken() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientCaller) BondToken(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "bondToken")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// BondToken is a free data retrieval call binding the contract method 0xc28f4392.
+//
+// Solidity: function bondToken() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientSession) BondToken() (common.Address, error) {
+ return _TaikoInboxClient.Contract.BondToken(&_TaikoInboxClient.CallOpts)
+}
+
+// BondToken is a free data retrieval call binding the contract method 0xc28f4392.
+//
+// Solidity: function bondToken() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) BondToken() (common.Address, error) {
+ return _TaikoInboxClient.Contract.BondToken(&_TaikoInboxClient.CallOpts)
+}
+
+// GetBlockV3 is a free data retrieval call binding the contract method 0x913dae50.
+//
+// Solidity: function getBlockV3(uint64 _blockId) view returns((bytes32,address,uint96,uint64,uint64,uint64,uint24,bool,uint24) blk_)
+func (_TaikoInboxClient *TaikoInboxClientCaller) GetBlockV3(opts *bind.CallOpts, _blockId uint64) (ITaikoInboxBlockV3, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "getBlockV3", _blockId)
+
+ if err != nil {
+ return *new(ITaikoInboxBlockV3), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(ITaikoInboxBlockV3)).(*ITaikoInboxBlockV3)
+
+ return out0, err
+
+}
+
+// GetBlockV3 is a free data retrieval call binding the contract method 0x913dae50.
+//
+// Solidity: function getBlockV3(uint64 _blockId) view returns((bytes32,address,uint96,uint64,uint64,uint64,uint24,bool,uint24) blk_)
+func (_TaikoInboxClient *TaikoInboxClientSession) GetBlockV3(_blockId uint64) (ITaikoInboxBlockV3, error) {
+ return _TaikoInboxClient.Contract.GetBlockV3(&_TaikoInboxClient.CallOpts, _blockId)
+}
+
+// GetBlockV3 is a free data retrieval call binding the contract method 0x913dae50.
+//
+// Solidity: function getBlockV3(uint64 _blockId) view returns((bytes32,address,uint96,uint64,uint64,uint64,uint24,bool,uint24) blk_)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) GetBlockV3(_blockId uint64) (ITaikoInboxBlockV3, error) {
+ return _TaikoInboxClient.Contract.GetBlockV3(&_TaikoInboxClient.CallOpts, _blockId)
+}
+
+// GetBlockVerifyingTransition is a free data retrieval call binding the contract method 0x091ffecb.
+//
+// Solidity: function getBlockVerifyingTransition(uint64 _blockId) view returns((bytes32,bytes32,bytes32) tran_)
+func (_TaikoInboxClient *TaikoInboxClientCaller) GetBlockVerifyingTransition(opts *bind.CallOpts, _blockId uint64) (ITaikoInboxTransitionV3, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "getBlockVerifyingTransition", _blockId)
+
+ if err != nil {
+ return *new(ITaikoInboxTransitionV3), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(ITaikoInboxTransitionV3)).(*ITaikoInboxTransitionV3)
+
+ return out0, err
+
+}
+
+// GetBlockVerifyingTransition is a free data retrieval call binding the contract method 0x091ffecb.
+//
+// Solidity: function getBlockVerifyingTransition(uint64 _blockId) view returns((bytes32,bytes32,bytes32) tran_)
+func (_TaikoInboxClient *TaikoInboxClientSession) GetBlockVerifyingTransition(_blockId uint64) (ITaikoInboxTransitionV3, error) {
+ return _TaikoInboxClient.Contract.GetBlockVerifyingTransition(&_TaikoInboxClient.CallOpts, _blockId)
+}
+
+// GetBlockVerifyingTransition is a free data retrieval call binding the contract method 0x091ffecb.
+//
+// Solidity: function getBlockVerifyingTransition(uint64 _blockId) view returns((bytes32,bytes32,bytes32) tran_)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) GetBlockVerifyingTransition(_blockId uint64) (ITaikoInboxTransitionV3, error) {
+ return _TaikoInboxClient.Contract.GetBlockVerifyingTransition(&_TaikoInboxClient.CallOpts, _blockId)
+}
+
+// GetConfigV3 is a free data retrieval call binding the contract method 0x35a350b3.
+//
+// Solidity: function getConfigV3() view returns((uint64,uint64,uint64,uint64,uint32,uint96,uint8,uint64,(uint8,uint8,uint32,uint64,uint32),uint16,uint8,(uint64,uint64)))
+func (_TaikoInboxClient *TaikoInboxClientCaller) GetConfigV3(opts *bind.CallOpts) (ITaikoInboxConfigV3, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "getConfigV3")
+
+ if err != nil {
+ return *new(ITaikoInboxConfigV3), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(ITaikoInboxConfigV3)).(*ITaikoInboxConfigV3)
+
+ return out0, err
+
+}
+
+// GetConfigV3 is a free data retrieval call binding the contract method 0x35a350b3.
+//
+// Solidity: function getConfigV3() view returns((uint64,uint64,uint64,uint64,uint32,uint96,uint8,uint64,(uint8,uint8,uint32,uint64,uint32),uint16,uint8,(uint64,uint64)))
+func (_TaikoInboxClient *TaikoInboxClientSession) GetConfigV3() (ITaikoInboxConfigV3, error) {
+ return _TaikoInboxClient.Contract.GetConfigV3(&_TaikoInboxClient.CallOpts)
+}
+
+// GetConfigV3 is a free data retrieval call binding the contract method 0x35a350b3.
+//
+// Solidity: function getConfigV3() view returns((uint64,uint64,uint64,uint64,uint32,uint96,uint8,uint64,(uint8,uint8,uint32,uint64,uint32),uint16,uint8,(uint64,uint64)))
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) GetConfigV3() (ITaikoInboxConfigV3, error) {
+ return _TaikoInboxClient.Contract.GetConfigV3(&_TaikoInboxClient.CallOpts)
+}
+
+// GetLastSyncedTransitionV3 is a free data retrieval call binding the contract method 0x4ce9b9d5.
+//
+// Solidity: function getLastSyncedTransitionV3() view returns(uint64 blockId_, (bytes32,bytes32,bytes32) tran_)
+func (_TaikoInboxClient *TaikoInboxClientCaller) GetLastSyncedTransitionV3(opts *bind.CallOpts) (struct {
+ BlockId uint64
+ Tran ITaikoInboxTransitionV3
+}, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "getLastSyncedTransitionV3")
+
+ outstruct := new(struct {
+ BlockId uint64
+ Tran ITaikoInboxTransitionV3
+ })
+ if err != nil {
+ return *outstruct, err
+ }
+
+ outstruct.BlockId = *abi.ConvertType(out[0], new(uint64)).(*uint64)
+ outstruct.Tran = *abi.ConvertType(out[1], new(ITaikoInboxTransitionV3)).(*ITaikoInboxTransitionV3)
+
+ return *outstruct, err
+
+}
+
+// GetLastSyncedTransitionV3 is a free data retrieval call binding the contract method 0x4ce9b9d5.
+//
+// Solidity: function getLastSyncedTransitionV3() view returns(uint64 blockId_, (bytes32,bytes32,bytes32) tran_)
+func (_TaikoInboxClient *TaikoInboxClientSession) GetLastSyncedTransitionV3() (struct {
+ BlockId uint64
+ Tran ITaikoInboxTransitionV3
+}, error) {
+ return _TaikoInboxClient.Contract.GetLastSyncedTransitionV3(&_TaikoInboxClient.CallOpts)
+}
+
+// GetLastSyncedTransitionV3 is a free data retrieval call binding the contract method 0x4ce9b9d5.
+//
+// Solidity: function getLastSyncedTransitionV3() view returns(uint64 blockId_, (bytes32,bytes32,bytes32) tran_)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) GetLastSyncedTransitionV3() (struct {
+ BlockId uint64
+ Tran ITaikoInboxTransitionV3
+}, error) {
+ return _TaikoInboxClient.Contract.GetLastSyncedTransitionV3(&_TaikoInboxClient.CallOpts)
+}
+
+// GetLastVerifiedTransitionV3 is a free data retrieval call binding the contract method 0xb4bc8f93.
+//
+// Solidity: function getLastVerifiedTransitionV3() view returns(uint64 blockId_, (bytes32,bytes32,bytes32) tran_)
+func (_TaikoInboxClient *TaikoInboxClientCaller) GetLastVerifiedTransitionV3(opts *bind.CallOpts) (struct {
+ BlockId uint64
+ Tran ITaikoInboxTransitionV3
+}, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "getLastVerifiedTransitionV3")
+
+ outstruct := new(struct {
+ BlockId uint64
+ Tran ITaikoInboxTransitionV3
+ })
+ if err != nil {
+ return *outstruct, err
+ }
+
+ outstruct.BlockId = *abi.ConvertType(out[0], new(uint64)).(*uint64)
+ outstruct.Tran = *abi.ConvertType(out[1], new(ITaikoInboxTransitionV3)).(*ITaikoInboxTransitionV3)
+
+ return *outstruct, err
+
+}
+
+// GetLastVerifiedTransitionV3 is a free data retrieval call binding the contract method 0xb4bc8f93.
+//
+// Solidity: function getLastVerifiedTransitionV3() view returns(uint64 blockId_, (bytes32,bytes32,bytes32) tran_)
+func (_TaikoInboxClient *TaikoInboxClientSession) GetLastVerifiedTransitionV3() (struct {
+ BlockId uint64
+ Tran ITaikoInboxTransitionV3
+}, error) {
+ return _TaikoInboxClient.Contract.GetLastVerifiedTransitionV3(&_TaikoInboxClient.CallOpts)
+}
+
+// GetLastVerifiedTransitionV3 is a free data retrieval call binding the contract method 0xb4bc8f93.
+//
+// Solidity: function getLastVerifiedTransitionV3() view returns(uint64 blockId_, (bytes32,bytes32,bytes32) tran_)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) GetLastVerifiedTransitionV3() (struct {
+ BlockId uint64
+ Tran ITaikoInboxTransitionV3
+}, error) {
+ return _TaikoInboxClient.Contract.GetLastVerifiedTransitionV3(&_TaikoInboxClient.CallOpts)
+}
+
+// GetStats1 is a free data retrieval call binding the contract method 0x12ad809c.
+//
+// Solidity: function getStats1() view returns((uint64,uint64,uint64,uint64))
+func (_TaikoInboxClient *TaikoInboxClientCaller) GetStats1(opts *bind.CallOpts) (ITaikoInboxStats1, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "getStats1")
+
+ if err != nil {
+ return *new(ITaikoInboxStats1), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(ITaikoInboxStats1)).(*ITaikoInboxStats1)
+
+ return out0, err
+
+}
+
+// GetStats1 is a free data retrieval call binding the contract method 0x12ad809c.
+//
+// Solidity: function getStats1() view returns((uint64,uint64,uint64,uint64))
+func (_TaikoInboxClient *TaikoInboxClientSession) GetStats1() (ITaikoInboxStats1, error) {
+ return _TaikoInboxClient.Contract.GetStats1(&_TaikoInboxClient.CallOpts)
+}
+
+// GetStats1 is a free data retrieval call binding the contract method 0x12ad809c.
+//
+// Solidity: function getStats1() view returns((uint64,uint64,uint64,uint64))
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) GetStats1() (ITaikoInboxStats1, error) {
+ return _TaikoInboxClient.Contract.GetStats1(&_TaikoInboxClient.CallOpts)
+}
+
+// GetStats2 is a free data retrieval call binding the contract method 0x26baca1c.
+//
+// Solidity: function getStats2() view returns((uint64,uint64,bool,uint56,uint64))
+func (_TaikoInboxClient *TaikoInboxClientCaller) GetStats2(opts *bind.CallOpts) (ITaikoInboxStats2, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "getStats2")
+
+ if err != nil {
+ return *new(ITaikoInboxStats2), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(ITaikoInboxStats2)).(*ITaikoInboxStats2)
+
+ return out0, err
+
+}
+
+// GetStats2 is a free data retrieval call binding the contract method 0x26baca1c.
+//
+// Solidity: function getStats2() view returns((uint64,uint64,bool,uint56,uint64))
+func (_TaikoInboxClient *TaikoInboxClientSession) GetStats2() (ITaikoInboxStats2, error) {
+ return _TaikoInboxClient.Contract.GetStats2(&_TaikoInboxClient.CallOpts)
+}
+
+// GetStats2 is a free data retrieval call binding the contract method 0x26baca1c.
+//
+// Solidity: function getStats2() view returns((uint64,uint64,bool,uint56,uint64))
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) GetStats2() (ITaikoInboxStats2, error) {
+ return _TaikoInboxClient.Contract.GetStats2(&_TaikoInboxClient.CallOpts)
+}
+
+// GetTransitionV3 is a free data retrieval call binding the contract method 0x1b1f2414.
+//
+// Solidity: function getTransitionV3(uint64 _blockId, uint24 _tid) view returns((bytes32,bytes32,bytes32) tran_)
+func (_TaikoInboxClient *TaikoInboxClientCaller) GetTransitionV3(opts *bind.CallOpts, _blockId uint64, _tid *big.Int) (ITaikoInboxTransitionV3, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "getTransitionV3", _blockId, _tid)
+
+ if err != nil {
+ return *new(ITaikoInboxTransitionV3), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(ITaikoInboxTransitionV3)).(*ITaikoInboxTransitionV3)
+
+ return out0, err
+
+}
+
+// GetTransitionV3 is a free data retrieval call binding the contract method 0x1b1f2414.
+//
+// Solidity: function getTransitionV3(uint64 _blockId, uint24 _tid) view returns((bytes32,bytes32,bytes32) tran_)
+func (_TaikoInboxClient *TaikoInboxClientSession) GetTransitionV3(_blockId uint64, _tid *big.Int) (ITaikoInboxTransitionV3, error) {
+ return _TaikoInboxClient.Contract.GetTransitionV3(&_TaikoInboxClient.CallOpts, _blockId, _tid)
+}
+
+// GetTransitionV3 is a free data retrieval call binding the contract method 0x1b1f2414.
+//
+// Solidity: function getTransitionV3(uint64 _blockId, uint24 _tid) view returns((bytes32,bytes32,bytes32) tran_)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) GetTransitionV3(_blockId uint64, _tid *big.Int) (ITaikoInboxTransitionV3, error) {
+ return _TaikoInboxClient.Contract.GetTransitionV3(&_TaikoInboxClient.CallOpts, _blockId, _tid)
+}
+
+// Impl is a free data retrieval call binding the contract method 0x8abf6077.
+//
+// Solidity: function impl() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientCaller) Impl(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "impl")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Impl is a free data retrieval call binding the contract method 0x8abf6077.
+//
+// Solidity: function impl() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientSession) Impl() (common.Address, error) {
+ return _TaikoInboxClient.Contract.Impl(&_TaikoInboxClient.CallOpts)
+}
+
+// Impl is a free data retrieval call binding the contract method 0x8abf6077.
+//
+// Solidity: function impl() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) Impl() (common.Address, error) {
+ return _TaikoInboxClient.Contract.Impl(&_TaikoInboxClient.CallOpts)
+}
+
+// InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
+//
+// Solidity: function inNonReentrant() view returns(bool)
+func (_TaikoInboxClient *TaikoInboxClientCaller) InNonReentrant(opts *bind.CallOpts) (bool, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "inNonReentrant")
+
+ if err != nil {
+ return *new(bool), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
+
+ return out0, err
+
+}
+
+// InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
+//
+// Solidity: function inNonReentrant() view returns(bool)
+func (_TaikoInboxClient *TaikoInboxClientSession) InNonReentrant() (bool, error) {
+ return _TaikoInboxClient.Contract.InNonReentrant(&_TaikoInboxClient.CallOpts)
+}
+
+// InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
+//
+// Solidity: function inNonReentrant() view returns(bool)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) InNonReentrant() (bool, error) {
+ return _TaikoInboxClient.Contract.InNonReentrant(&_TaikoInboxClient.CallOpts)
+}
+
+// IsOnL1 is a free data retrieval call binding the contract method 0xa4b23554.
+//
+// Solidity: function isOnL1() pure returns(bool)
+func (_TaikoInboxClient *TaikoInboxClientCaller) IsOnL1(opts *bind.CallOpts) (bool, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "isOnL1")
+
+ if err != nil {
+ return *new(bool), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
+
+ return out0, err
+
+}
+
+// IsOnL1 is a free data retrieval call binding the contract method 0xa4b23554.
+//
+// Solidity: function isOnL1() pure returns(bool)
+func (_TaikoInboxClient *TaikoInboxClientSession) IsOnL1() (bool, error) {
+ return _TaikoInboxClient.Contract.IsOnL1(&_TaikoInboxClient.CallOpts)
+}
+
+// IsOnL1 is a free data retrieval call binding the contract method 0xa4b23554.
+//
+// Solidity: function isOnL1() pure returns(bool)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) IsOnL1() (bool, error) {
+ return _TaikoInboxClient.Contract.IsOnL1(&_TaikoInboxClient.CallOpts)
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientCaller) Owner(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "owner")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientSession) Owner() (common.Address, error) {
+ return _TaikoInboxClient.Contract.Owner(&_TaikoInboxClient.CallOpts)
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) Owner() (common.Address, error) {
+ return _TaikoInboxClient.Contract.Owner(&_TaikoInboxClient.CallOpts)
+}
+
+// Paused is a free data retrieval call binding the contract method 0x5c975abb.
+//
+// Solidity: function paused() view returns(bool)
+func (_TaikoInboxClient *TaikoInboxClientCaller) Paused(opts *bind.CallOpts) (bool, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "paused")
+
+ if err != nil {
+ return *new(bool), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
+
+ return out0, err
+
+}
+
+// Paused is a free data retrieval call binding the contract method 0x5c975abb.
+//
+// Solidity: function paused() view returns(bool)
+func (_TaikoInboxClient *TaikoInboxClientSession) Paused() (bool, error) {
+ return _TaikoInboxClient.Contract.Paused(&_TaikoInboxClient.CallOpts)
+}
+
+// Paused is a free data retrieval call binding the contract method 0x5c975abb.
+//
+// Solidity: function paused() view returns(bool)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) Paused() (bool, error) {
+ return _TaikoInboxClient.Contract.Paused(&_TaikoInboxClient.CallOpts)
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "pendingOwner")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientSession) PendingOwner() (common.Address, error) {
+ return _TaikoInboxClient.Contract.PendingOwner(&_TaikoInboxClient.CallOpts)
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) PendingOwner() (common.Address, error) {
+ return _TaikoInboxClient.Contract.PendingOwner(&_TaikoInboxClient.CallOpts)
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_TaikoInboxClient *TaikoInboxClientCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "proxiableUUID")
+
+ if err != nil {
+ return *new([32]byte), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
+
+ return out0, err
+
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_TaikoInboxClient *TaikoInboxClientSession) ProxiableUUID() ([32]byte, error) {
+ return _TaikoInboxClient.Contract.ProxiableUUID(&_TaikoInboxClient.CallOpts)
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) ProxiableUUID() ([32]byte, error) {
+ return _TaikoInboxClient.Contract.ProxiableUUID(&_TaikoInboxClient.CallOpts)
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
+//
+// Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientCaller) Resolve(opts *bind.CallOpts, _chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "resolve", _chainId, _name, _allowZeroAddress)
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
+//
+// Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _TaikoInboxClient.Contract.Resolve(&_TaikoInboxClient.CallOpts, _chainId, _name, _allowZeroAddress)
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
+//
+// Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _TaikoInboxClient.Contract.Resolve(&_TaikoInboxClient.CallOpts, _chainId, _name, _allowZeroAddress)
+}
+
+// Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
+//
+// Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientCaller) Resolve0(opts *bind.CallOpts, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "resolve0", _name, _allowZeroAddress)
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
+//
+// Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _TaikoInboxClient.Contract.Resolve0(&_TaikoInboxClient.CallOpts, _name, _allowZeroAddress)
+}
+
+// Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
+//
+// Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _TaikoInboxClient.Contract.Resolve0(&_TaikoInboxClient.CallOpts, _name, _allowZeroAddress)
+}
+
+// Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
+//
+// Solidity: function resolver() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientCaller) Resolver(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "resolver")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
+//
+// Solidity: function resolver() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientSession) Resolver() (common.Address, error) {
+ return _TaikoInboxClient.Contract.Resolver(&_TaikoInboxClient.CallOpts)
+}
+
+// Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
+//
+// Solidity: function resolver() view returns(address)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) Resolver() (common.Address, error) {
+ return _TaikoInboxClient.Contract.Resolver(&_TaikoInboxClient.CallOpts)
+}
+
+// State is a free data retrieval call binding the contract method 0xc19d93fb.
+//
+// Solidity: function state() view returns(bytes32 __reserve1, (uint64,uint64,uint64,uint64) stats1, (uint64,uint64,bool,uint56,uint64) stats2)
+func (_TaikoInboxClient *TaikoInboxClientCaller) State(opts *bind.CallOpts) (struct {
+ Reserve1 [32]byte
+ Stats1 ITaikoInboxStats1
+ Stats2 ITaikoInboxStats2
+}, error) {
+ var out []interface{}
+ err := _TaikoInboxClient.contract.Call(opts, &out, "state")
+
+ outstruct := new(struct {
+ Reserve1 [32]byte
+ Stats1 ITaikoInboxStats1
+ Stats2 ITaikoInboxStats2
+ })
+ if err != nil {
+ return *outstruct, err
+ }
+
+ outstruct.Reserve1 = *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
+ outstruct.Stats1 = *abi.ConvertType(out[1], new(ITaikoInboxStats1)).(*ITaikoInboxStats1)
+ outstruct.Stats2 = *abi.ConvertType(out[2], new(ITaikoInboxStats2)).(*ITaikoInboxStats2)
+
+ return *outstruct, err
+
+}
+
+// State is a free data retrieval call binding the contract method 0xc19d93fb.
+//
+// Solidity: function state() view returns(bytes32 __reserve1, (uint64,uint64,uint64,uint64) stats1, (uint64,uint64,bool,uint56,uint64) stats2)
+func (_TaikoInboxClient *TaikoInboxClientSession) State() (struct {
+ Reserve1 [32]byte
+ Stats1 ITaikoInboxStats1
+ Stats2 ITaikoInboxStats2
+}, error) {
+ return _TaikoInboxClient.Contract.State(&_TaikoInboxClient.CallOpts)
+}
+
+// State is a free data retrieval call binding the contract method 0xc19d93fb.
+//
+// Solidity: function state() view returns(bytes32 __reserve1, (uint64,uint64,uint64,uint64) stats1, (uint64,uint64,bool,uint56,uint64) stats2)
+func (_TaikoInboxClient *TaikoInboxClientCallerSession) State() (struct {
+ Reserve1 [32]byte
+ Stats1 ITaikoInboxStats1
+ Stats2 ITaikoInboxStats2
+}, error) {
+ return _TaikoInboxClient.Contract.State(&_TaikoInboxClient.CallOpts)
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoInboxClient.contract.Transact(opts, "acceptOwnership")
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_TaikoInboxClient *TaikoInboxClientSession) AcceptOwnership() (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.AcceptOwnership(&_TaikoInboxClient.TransactOpts)
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactorSession) AcceptOwnership() (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.AcceptOwnership(&_TaikoInboxClient.TransactOpts)
+}
+
+// DepositBond is a paid mutator transaction binding the contract method 0x4dcb05f9.
+//
+// Solidity: function depositBond(uint256 _amount) payable returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactor) DepositBond(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error) {
+ return _TaikoInboxClient.contract.Transact(opts, "depositBond", _amount)
+}
+
+// DepositBond is a paid mutator transaction binding the contract method 0x4dcb05f9.
+//
+// Solidity: function depositBond(uint256 _amount) payable returns()
+func (_TaikoInboxClient *TaikoInboxClientSession) DepositBond(_amount *big.Int) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.DepositBond(&_TaikoInboxClient.TransactOpts, _amount)
+}
+
+// DepositBond is a paid mutator transaction binding the contract method 0x4dcb05f9.
+//
+// Solidity: function depositBond(uint256 _amount) payable returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactorSession) DepositBond(_amount *big.Int) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.DepositBond(&_TaikoInboxClient.TransactOpts, _amount)
+}
+
+// Init is a paid mutator transaction binding the contract method 0x347258aa.
+//
+// Solidity: function init(address _owner, address _rollupResolver, bytes32 _genesisBlockHash) returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactor) Init(opts *bind.TransactOpts, _owner common.Address, _rollupResolver common.Address, _genesisBlockHash [32]byte) (*types.Transaction, error) {
+ return _TaikoInboxClient.contract.Transact(opts, "init", _owner, _rollupResolver, _genesisBlockHash)
+}
+
+// Init is a paid mutator transaction binding the contract method 0x347258aa.
+//
+// Solidity: function init(address _owner, address _rollupResolver, bytes32 _genesisBlockHash) returns()
+func (_TaikoInboxClient *TaikoInboxClientSession) Init(_owner common.Address, _rollupResolver common.Address, _genesisBlockHash [32]byte) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.Init(&_TaikoInboxClient.TransactOpts, _owner, _rollupResolver, _genesisBlockHash)
+}
+
+// Init is a paid mutator transaction binding the contract method 0x347258aa.
+//
+// Solidity: function init(address _owner, address _rollupResolver, bytes32 _genesisBlockHash) returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactorSession) Init(_owner common.Address, _rollupResolver common.Address, _genesisBlockHash [32]byte) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.Init(&_TaikoInboxClient.TransactOpts, _owner, _rollupResolver, _genesisBlockHash)
+}
+
+// Pause is a paid mutator transaction binding the contract method 0x8456cb59.
+//
+// Solidity: function pause() returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoInboxClient.contract.Transact(opts, "pause")
+}
+
+// Pause is a paid mutator transaction binding the contract method 0x8456cb59.
+//
+// Solidity: function pause() returns()
+func (_TaikoInboxClient *TaikoInboxClientSession) Pause() (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.Pause(&_TaikoInboxClient.TransactOpts)
+}
+
+// Pause is a paid mutator transaction binding the contract method 0x8456cb59.
+//
+// Solidity: function pause() returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactorSession) Pause() (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.Pause(&_TaikoInboxClient.TransactOpts)
+}
+
+// ProposeBlocksV3 is a paid mutator transaction binding the contract method 0x1ae3641c.
+//
+// Solidity: function proposeBlocksV3(address _proposer, address _coinbase, (bytes32,uint64,bytes32,uint64,uint32,uint32,uint8,bytes32[])[] _paramsArray, bytes _txList) returns((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] metas_)
+func (_TaikoInboxClient *TaikoInboxClientTransactor) ProposeBlocksV3(opts *bind.TransactOpts, _proposer common.Address, _coinbase common.Address, _paramsArray []ITaikoInboxBlockParamsV3, _txList []byte) (*types.Transaction, error) {
+ return _TaikoInboxClient.contract.Transact(opts, "proposeBlocksV3", _proposer, _coinbase, _paramsArray, _txList)
+}
+
+// ProposeBlocksV3 is a paid mutator transaction binding the contract method 0x1ae3641c.
+//
+// Solidity: function proposeBlocksV3(address _proposer, address _coinbase, (bytes32,uint64,bytes32,uint64,uint32,uint32,uint8,bytes32[])[] _paramsArray, bytes _txList) returns((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] metas_)
+func (_TaikoInboxClient *TaikoInboxClientSession) ProposeBlocksV3(_proposer common.Address, _coinbase common.Address, _paramsArray []ITaikoInboxBlockParamsV3, _txList []byte) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.ProposeBlocksV3(&_TaikoInboxClient.TransactOpts, _proposer, _coinbase, _paramsArray, _txList)
+}
+
+// ProposeBlocksV3 is a paid mutator transaction binding the contract method 0x1ae3641c.
+//
+// Solidity: function proposeBlocksV3(address _proposer, address _coinbase, (bytes32,uint64,bytes32,uint64,uint32,uint32,uint8,bytes32[])[] _paramsArray, bytes _txList) returns((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] metas_)
+func (_TaikoInboxClient *TaikoInboxClientTransactorSession) ProposeBlocksV3(_proposer common.Address, _coinbase common.Address, _paramsArray []ITaikoInboxBlockParamsV3, _txList []byte) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.ProposeBlocksV3(&_TaikoInboxClient.TransactOpts, _proposer, _coinbase, _paramsArray, _txList)
+}
+
+// ProveBlocksV3 is a paid mutator transaction binding the contract method 0xf0c00397.
+//
+// Solidity: function proveBlocksV3((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] _metas, (bytes32,bytes32,bytes32)[] _transitions, bytes _proof) returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactor) ProveBlocksV3(opts *bind.TransactOpts, _metas []ITaikoInboxBlockMetadataV3, _transitions []ITaikoInboxTransitionV3, _proof []byte) (*types.Transaction, error) {
+ return _TaikoInboxClient.contract.Transact(opts, "proveBlocksV3", _metas, _transitions, _proof)
+}
+
+// ProveBlocksV3 is a paid mutator transaction binding the contract method 0xf0c00397.
+//
+// Solidity: function proveBlocksV3((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] _metas, (bytes32,bytes32,bytes32)[] _transitions, bytes _proof) returns()
+func (_TaikoInboxClient *TaikoInboxClientSession) ProveBlocksV3(_metas []ITaikoInboxBlockMetadataV3, _transitions []ITaikoInboxTransitionV3, _proof []byte) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.ProveBlocksV3(&_TaikoInboxClient.TransactOpts, _metas, _transitions, _proof)
+}
+
+// ProveBlocksV3 is a paid mutator transaction binding the contract method 0xf0c00397.
+//
+// Solidity: function proveBlocksV3((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] _metas, (bytes32,bytes32,bytes32)[] _transitions, bytes _proof) returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactorSession) ProveBlocksV3(_metas []ITaikoInboxBlockMetadataV3, _transitions []ITaikoInboxTransitionV3, _proof []byte) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.ProveBlocksV3(&_TaikoInboxClient.TransactOpts, _metas, _transitions, _proof)
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoInboxClient.contract.Transact(opts, "renounceOwnership")
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_TaikoInboxClient *TaikoInboxClientSession) RenounceOwnership() (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.RenounceOwnership(&_TaikoInboxClient.TransactOpts)
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactorSession) RenounceOwnership() (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.RenounceOwnership(&_TaikoInboxClient.TransactOpts)
+}
+
+// SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.
+//
+// Solidity: function setResolver(address _resolver) returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactor) SetResolver(opts *bind.TransactOpts, _resolver common.Address) (*types.Transaction, error) {
+ return _TaikoInboxClient.contract.Transact(opts, "setResolver", _resolver)
+}
+
+// SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.
+//
+// Solidity: function setResolver(address _resolver) returns()
+func (_TaikoInboxClient *TaikoInboxClientSession) SetResolver(_resolver common.Address) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.SetResolver(&_TaikoInboxClient.TransactOpts, _resolver)
+}
+
+// SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.
+//
+// Solidity: function setResolver(address _resolver) returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactorSession) SetResolver(_resolver common.Address) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.SetResolver(&_TaikoInboxClient.TransactOpts, _resolver)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) {
+ return _TaikoInboxClient.contract.Transact(opts, "transferOwnership", newOwner)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_TaikoInboxClient *TaikoInboxClientSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.TransferOwnership(&_TaikoInboxClient.TransactOpts, newOwner)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.TransferOwnership(&_TaikoInboxClient.TransactOpts, newOwner)
+}
+
+// Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
+//
+// Solidity: function unpause() returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoInboxClient.contract.Transact(opts, "unpause")
+}
+
+// Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
+//
+// Solidity: function unpause() returns()
+func (_TaikoInboxClient *TaikoInboxClientSession) Unpause() (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.Unpause(&_TaikoInboxClient.TransactOpts)
+}
+
+// Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
+//
+// Solidity: function unpause() returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactorSession) Unpause() (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.Unpause(&_TaikoInboxClient.TransactOpts)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error) {
+ return _TaikoInboxClient.contract.Transact(opts, "upgradeTo", newImplementation)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_TaikoInboxClient *TaikoInboxClientSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.UpgradeTo(&_TaikoInboxClient.TransactOpts, newImplementation)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.UpgradeTo(&_TaikoInboxClient.TransactOpts, newImplementation)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _TaikoInboxClient.contract.Transact(opts, "upgradeToAndCall", newImplementation, data)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_TaikoInboxClient *TaikoInboxClientSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.UpgradeToAndCall(&_TaikoInboxClient.TransactOpts, newImplementation, data)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.UpgradeToAndCall(&_TaikoInboxClient.TransactOpts, newImplementation, data)
+}
+
+// WithdrawBond is a paid mutator transaction binding the contract method 0xc3daab96.
+//
+// Solidity: function withdrawBond(uint256 _amount) returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactor) WithdrawBond(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error) {
+ return _TaikoInboxClient.contract.Transact(opts, "withdrawBond", _amount)
+}
+
+// WithdrawBond is a paid mutator transaction binding the contract method 0xc3daab96.
+//
+// Solidity: function withdrawBond(uint256 _amount) returns()
+func (_TaikoInboxClient *TaikoInboxClientSession) WithdrawBond(_amount *big.Int) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.WithdrawBond(&_TaikoInboxClient.TransactOpts, _amount)
+}
+
+// WithdrawBond is a paid mutator transaction binding the contract method 0xc3daab96.
+//
+// Solidity: function withdrawBond(uint256 _amount) returns()
+func (_TaikoInboxClient *TaikoInboxClientTransactorSession) WithdrawBond(_amount *big.Int) (*types.Transaction, error) {
+ return _TaikoInboxClient.Contract.WithdrawBond(&_TaikoInboxClient.TransactOpts, _amount)
+}
+
+// TaikoInboxClientAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the TaikoInboxClient contract.
+type TaikoInboxClientAdminChangedIterator struct {
+ Event *TaikoInboxClientAdminChanged // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientAdminChangedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientAdminChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientAdminChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientAdminChangedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientAdminChangedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientAdminChanged represents a AdminChanged event raised by the TaikoInboxClient contract.
+type TaikoInboxClientAdminChanged struct {
+ PreviousAdmin common.Address
+ NewAdmin common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*TaikoInboxClientAdminChangedIterator, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "AdminChanged")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientAdminChangedIterator{contract: _TaikoInboxClient.contract, event: "AdminChanged", logs: logs, sub: sub}, nil
+}
+
+// WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientAdminChanged) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "AdminChanged")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientAdminChanged)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "AdminChanged", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseAdminChanged(log types.Log) (*TaikoInboxClientAdminChanged, error) {
+ event := new(TaikoInboxClientAdminChanged)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "AdminChanged", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the TaikoInboxClient contract.
+type TaikoInboxClientBeaconUpgradedIterator struct {
+ Event *TaikoInboxClientBeaconUpgraded // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientBeaconUpgradedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBeaconUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBeaconUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientBeaconUpgradedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientBeaconUpgradedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientBeaconUpgraded represents a BeaconUpgraded event raised by the TaikoInboxClient contract.
+type TaikoInboxClientBeaconUpgraded struct {
+ Beacon common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*TaikoInboxClientBeaconUpgradedIterator, error) {
+
+ var beaconRule []interface{}
+ for _, beaconItem := range beacon {
+ beaconRule = append(beaconRule, beaconItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "BeaconUpgraded", beaconRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientBeaconUpgradedIterator{contract: _TaikoInboxClient.contract, event: "BeaconUpgraded", logs: logs, sub: sub}, nil
+}
+
+// WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientBeaconUpgraded, beacon []common.Address) (event.Subscription, error) {
+
+ var beaconRule []interface{}
+ for _, beaconItem := range beacon {
+ beaconRule = append(beaconRule, beaconItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "BeaconUpgraded", beaconRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientBeaconUpgraded)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BeaconUpgraded", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseBeaconUpgraded(log types.Log) (*TaikoInboxClientBeaconUpgraded, error) {
+ event := new(TaikoInboxClientBeaconUpgraded)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BeaconUpgraded", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientBlockVerifiedV3Iterator is returned from FilterBlockVerifiedV3 and is used to iterate over the raw logs and unpacked data for BlockVerifiedV3 events raised by the TaikoInboxClient contract.
+type TaikoInboxClientBlockVerifiedV3Iterator struct {
+ Event *TaikoInboxClientBlockVerifiedV3 // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientBlockVerifiedV3Iterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBlockVerifiedV3)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBlockVerifiedV3)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientBlockVerifiedV3Iterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientBlockVerifiedV3Iterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientBlockVerifiedV3 represents a BlockVerifiedV3 event raised by the TaikoInboxClient contract.
+type TaikoInboxClientBlockVerifiedV3 struct {
+ BlockId uint64
+ BlockHash [32]byte
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterBlockVerifiedV3 is a free log retrieval operation binding the contract event 0x0c6010e5df64c8bb074f2b8cce8cebbecb566a0a582945fbd427b1a9b3880e6a.
+//
+// Solidity: event BlockVerifiedV3(uint64 blockId, bytes32 blockHash)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterBlockVerifiedV3(opts *bind.FilterOpts) (*TaikoInboxClientBlockVerifiedV3Iterator, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "BlockVerifiedV3")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientBlockVerifiedV3Iterator{contract: _TaikoInboxClient.contract, event: "BlockVerifiedV3", logs: logs, sub: sub}, nil
+}
+
+// WatchBlockVerifiedV3 is a free log subscription operation binding the contract event 0x0c6010e5df64c8bb074f2b8cce8cebbecb566a0a582945fbd427b1a9b3880e6a.
+//
+// Solidity: event BlockVerifiedV3(uint64 blockId, bytes32 blockHash)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchBlockVerifiedV3(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientBlockVerifiedV3) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "BlockVerifiedV3")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientBlockVerifiedV3)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BlockVerifiedV3", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseBlockVerifiedV3 is a log parse operation binding the contract event 0x0c6010e5df64c8bb074f2b8cce8cebbecb566a0a582945fbd427b1a9b3880e6a.
+//
+// Solidity: event BlockVerifiedV3(uint64 blockId, bytes32 blockHash)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseBlockVerifiedV3(log types.Log) (*TaikoInboxClientBlockVerifiedV3, error) {
+ event := new(TaikoInboxClientBlockVerifiedV3)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BlockVerifiedV3", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientBlocksProposedV3Iterator is returned from FilterBlocksProposedV3 and is used to iterate over the raw logs and unpacked data for BlocksProposedV3 events raised by the TaikoInboxClient contract.
+type TaikoInboxClientBlocksProposedV3Iterator struct {
+ Event *TaikoInboxClientBlocksProposedV3 // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientBlocksProposedV3Iterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBlocksProposedV3)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBlocksProposedV3)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientBlocksProposedV3Iterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientBlocksProposedV3Iterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientBlocksProposedV3 represents a BlocksProposedV3 event raised by the TaikoInboxClient contract.
+type TaikoInboxClientBlocksProposedV3 struct {
+ Metas []ITaikoInboxBlockMetadataV3
+ CalldataUsed bool
+ TxListInCalldata []byte
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterBlocksProposedV3 is a free log retrieval operation binding the contract event 0xe8d8c0f6e16c8365e311c514a5e584aacce5e7feff32944159640b218d3bd9fe.
+//
+// Solidity: event BlocksProposedV3((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] metas, bool calldataUsed, bytes txListInCalldata)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterBlocksProposedV3(opts *bind.FilterOpts) (*TaikoInboxClientBlocksProposedV3Iterator, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "BlocksProposedV3")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientBlocksProposedV3Iterator{contract: _TaikoInboxClient.contract, event: "BlocksProposedV3", logs: logs, sub: sub}, nil
+}
+
+// WatchBlocksProposedV3 is a free log subscription operation binding the contract event 0xe8d8c0f6e16c8365e311c514a5e584aacce5e7feff32944159640b218d3bd9fe.
+//
+// Solidity: event BlocksProposedV3((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] metas, bool calldataUsed, bytes txListInCalldata)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchBlocksProposedV3(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientBlocksProposedV3) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "BlocksProposedV3")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientBlocksProposedV3)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BlocksProposedV3", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseBlocksProposedV3 is a log parse operation binding the contract event 0xe8d8c0f6e16c8365e311c514a5e584aacce5e7feff32944159640b218d3bd9fe.
+//
+// Solidity: event BlocksProposedV3((bytes32,bytes32,bytes32,address,uint64,uint32,uint64,bytes32,address,uint96,uint64,uint64,uint32,uint32,uint8,uint64,bytes32,bytes32[],bytes32,(uint8,uint8,uint32,uint64,uint32))[] metas, bool calldataUsed, bytes txListInCalldata)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseBlocksProposedV3(log types.Log) (*TaikoInboxClientBlocksProposedV3, error) {
+ event := new(TaikoInboxClientBlocksProposedV3)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BlocksProposedV3", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientBlocksProvedV3Iterator is returned from FilterBlocksProvedV3 and is used to iterate over the raw logs and unpacked data for BlocksProvedV3 events raised by the TaikoInboxClient contract.
+type TaikoInboxClientBlocksProvedV3Iterator struct {
+ Event *TaikoInboxClientBlocksProvedV3 // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientBlocksProvedV3Iterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBlocksProvedV3)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBlocksProvedV3)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientBlocksProvedV3Iterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientBlocksProvedV3Iterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientBlocksProvedV3 represents a BlocksProvedV3 event raised by the TaikoInboxClient contract.
+type TaikoInboxClientBlocksProvedV3 struct {
+ Verifier common.Address
+ BlockIds []uint64
+ Transitions []ITaikoInboxTransitionV3
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterBlocksProvedV3 is a free log retrieval operation binding the contract event 0xe37e2b7e729a231c8fc8d14836621423d770a371110ae582ff31a1c82be6b8f8.
+//
+// Solidity: event BlocksProvedV3(address verifier, uint64[] blockIds, (bytes32,bytes32,bytes32)[] transitions)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterBlocksProvedV3(opts *bind.FilterOpts) (*TaikoInboxClientBlocksProvedV3Iterator, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "BlocksProvedV3")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientBlocksProvedV3Iterator{contract: _TaikoInboxClient.contract, event: "BlocksProvedV3", logs: logs, sub: sub}, nil
+}
+
+// WatchBlocksProvedV3 is a free log subscription operation binding the contract event 0xe37e2b7e729a231c8fc8d14836621423d770a371110ae582ff31a1c82be6b8f8.
+//
+// Solidity: event BlocksProvedV3(address verifier, uint64[] blockIds, (bytes32,bytes32,bytes32)[] transitions)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchBlocksProvedV3(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientBlocksProvedV3) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "BlocksProvedV3")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientBlocksProvedV3)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BlocksProvedV3", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseBlocksProvedV3 is a log parse operation binding the contract event 0xe37e2b7e729a231c8fc8d14836621423d770a371110ae582ff31a1c82be6b8f8.
+//
+// Solidity: event BlocksProvedV3(address verifier, uint64[] blockIds, (bytes32,bytes32,bytes32)[] transitions)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseBlocksProvedV3(log types.Log) (*TaikoInboxClientBlocksProvedV3, error) {
+ event := new(TaikoInboxClientBlocksProvedV3)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BlocksProvedV3", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientBondCreditedIterator is returned from FilterBondCredited and is used to iterate over the raw logs and unpacked data for BondCredited events raised by the TaikoInboxClient contract.
+type TaikoInboxClientBondCreditedIterator struct {
+ Event *TaikoInboxClientBondCredited // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientBondCreditedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBondCredited)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBondCredited)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientBondCreditedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientBondCreditedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientBondCredited represents a BondCredited event raised by the TaikoInboxClient contract.
+type TaikoInboxClientBondCredited struct {
+ User common.Address
+ Amount *big.Int
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterBondCredited is a free log retrieval operation binding the contract event 0x6de6fe586196fa05b73b973026c5fda3968a2933989bff3a0b6bd57644fab606.
+//
+// Solidity: event BondCredited(address indexed user, uint256 amount)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterBondCredited(opts *bind.FilterOpts, user []common.Address) (*TaikoInboxClientBondCreditedIterator, error) {
+
+ var userRule []interface{}
+ for _, userItem := range user {
+ userRule = append(userRule, userItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "BondCredited", userRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientBondCreditedIterator{contract: _TaikoInboxClient.contract, event: "BondCredited", logs: logs, sub: sub}, nil
+}
+
+// WatchBondCredited is a free log subscription operation binding the contract event 0x6de6fe586196fa05b73b973026c5fda3968a2933989bff3a0b6bd57644fab606.
+//
+// Solidity: event BondCredited(address indexed user, uint256 amount)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchBondCredited(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientBondCredited, user []common.Address) (event.Subscription, error) {
+
+ var userRule []interface{}
+ for _, userItem := range user {
+ userRule = append(userRule, userItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "BondCredited", userRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientBondCredited)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BondCredited", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseBondCredited is a log parse operation binding the contract event 0x6de6fe586196fa05b73b973026c5fda3968a2933989bff3a0b6bd57644fab606.
+//
+// Solidity: event BondCredited(address indexed user, uint256 amount)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseBondCredited(log types.Log) (*TaikoInboxClientBondCredited, error) {
+ event := new(TaikoInboxClientBondCredited)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BondCredited", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientBondDebitedIterator is returned from FilterBondDebited and is used to iterate over the raw logs and unpacked data for BondDebited events raised by the TaikoInboxClient contract.
+type TaikoInboxClientBondDebitedIterator struct {
+ Event *TaikoInboxClientBondDebited // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientBondDebitedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBondDebited)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBondDebited)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientBondDebitedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientBondDebitedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientBondDebited represents a BondDebited event raised by the TaikoInboxClient contract.
+type TaikoInboxClientBondDebited struct {
+ User common.Address
+ Amount *big.Int
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterBondDebited is a free log retrieval operation binding the contract event 0x85f32beeaff2d0019a8d196f06790c9a652191759c46643311344fd38920423c.
+//
+// Solidity: event BondDebited(address indexed user, uint256 amount)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterBondDebited(opts *bind.FilterOpts, user []common.Address) (*TaikoInboxClientBondDebitedIterator, error) {
+
+ var userRule []interface{}
+ for _, userItem := range user {
+ userRule = append(userRule, userItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "BondDebited", userRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientBondDebitedIterator{contract: _TaikoInboxClient.contract, event: "BondDebited", logs: logs, sub: sub}, nil
+}
+
+// WatchBondDebited is a free log subscription operation binding the contract event 0x85f32beeaff2d0019a8d196f06790c9a652191759c46643311344fd38920423c.
+//
+// Solidity: event BondDebited(address indexed user, uint256 amount)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchBondDebited(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientBondDebited, user []common.Address) (event.Subscription, error) {
+
+ var userRule []interface{}
+ for _, userItem := range user {
+ userRule = append(userRule, userItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "BondDebited", userRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientBondDebited)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BondDebited", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseBondDebited is a log parse operation binding the contract event 0x85f32beeaff2d0019a8d196f06790c9a652191759c46643311344fd38920423c.
+//
+// Solidity: event BondDebited(address indexed user, uint256 amount)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseBondDebited(log types.Log) (*TaikoInboxClientBondDebited, error) {
+ event := new(TaikoInboxClientBondDebited)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BondDebited", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientBondDepositedIterator is returned from FilterBondDeposited and is used to iterate over the raw logs and unpacked data for BondDeposited events raised by the TaikoInboxClient contract.
+type TaikoInboxClientBondDepositedIterator struct {
+ Event *TaikoInboxClientBondDeposited // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientBondDepositedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBondDeposited)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBondDeposited)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientBondDepositedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientBondDepositedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientBondDeposited represents a BondDeposited event raised by the TaikoInboxClient contract.
+type TaikoInboxClientBondDeposited struct {
+ User common.Address
+ Amount *big.Int
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterBondDeposited is a free log retrieval operation binding the contract event 0x8ed8c6869618197b68315ade66e75ed3906c97b111fa3ab81e5760046825c7db.
+//
+// Solidity: event BondDeposited(address indexed user, uint256 amount)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterBondDeposited(opts *bind.FilterOpts, user []common.Address) (*TaikoInboxClientBondDepositedIterator, error) {
+
+ var userRule []interface{}
+ for _, userItem := range user {
+ userRule = append(userRule, userItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "BondDeposited", userRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientBondDepositedIterator{contract: _TaikoInboxClient.contract, event: "BondDeposited", logs: logs, sub: sub}, nil
+}
+
+// WatchBondDeposited is a free log subscription operation binding the contract event 0x8ed8c6869618197b68315ade66e75ed3906c97b111fa3ab81e5760046825c7db.
+//
+// Solidity: event BondDeposited(address indexed user, uint256 amount)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchBondDeposited(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientBondDeposited, user []common.Address) (event.Subscription, error) {
+
+ var userRule []interface{}
+ for _, userItem := range user {
+ userRule = append(userRule, userItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "BondDeposited", userRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientBondDeposited)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BondDeposited", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseBondDeposited is a log parse operation binding the contract event 0x8ed8c6869618197b68315ade66e75ed3906c97b111fa3ab81e5760046825c7db.
+//
+// Solidity: event BondDeposited(address indexed user, uint256 amount)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseBondDeposited(log types.Log) (*TaikoInboxClientBondDeposited, error) {
+ event := new(TaikoInboxClientBondDeposited)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BondDeposited", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientBondWithdrawnIterator is returned from FilterBondWithdrawn and is used to iterate over the raw logs and unpacked data for BondWithdrawn events raised by the TaikoInboxClient contract.
+type TaikoInboxClientBondWithdrawnIterator struct {
+ Event *TaikoInboxClientBondWithdrawn // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientBondWithdrawnIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBondWithdrawn)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientBondWithdrawn)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientBondWithdrawnIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientBondWithdrawnIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientBondWithdrawn represents a BondWithdrawn event raised by the TaikoInboxClient contract.
+type TaikoInboxClientBondWithdrawn struct {
+ User common.Address
+ Amount *big.Int
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterBondWithdrawn is a free log retrieval operation binding the contract event 0x0d41118e36df44efb77a471fc49fb9c0be0406d802ef95520e9fbf606e65b455.
+//
+// Solidity: event BondWithdrawn(address indexed user, uint256 amount)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterBondWithdrawn(opts *bind.FilterOpts, user []common.Address) (*TaikoInboxClientBondWithdrawnIterator, error) {
+
+ var userRule []interface{}
+ for _, userItem := range user {
+ userRule = append(userRule, userItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "BondWithdrawn", userRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientBondWithdrawnIterator{contract: _TaikoInboxClient.contract, event: "BondWithdrawn", logs: logs, sub: sub}, nil
+}
+
+// WatchBondWithdrawn is a free log subscription operation binding the contract event 0x0d41118e36df44efb77a471fc49fb9c0be0406d802ef95520e9fbf606e65b455.
+//
+// Solidity: event BondWithdrawn(address indexed user, uint256 amount)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchBondWithdrawn(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientBondWithdrawn, user []common.Address) (event.Subscription, error) {
+
+ var userRule []interface{}
+ for _, userItem := range user {
+ userRule = append(userRule, userItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "BondWithdrawn", userRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientBondWithdrawn)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BondWithdrawn", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseBondWithdrawn is a log parse operation binding the contract event 0x0d41118e36df44efb77a471fc49fb9c0be0406d802ef95520e9fbf606e65b455.
+//
+// Solidity: event BondWithdrawn(address indexed user, uint256 amount)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseBondWithdrawn(log types.Log) (*TaikoInboxClientBondWithdrawn, error) {
+ event := new(TaikoInboxClientBondWithdrawn)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "BondWithdrawn", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the TaikoInboxClient contract.
+type TaikoInboxClientInitializedIterator struct {
+ Event *TaikoInboxClientInitialized // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientInitializedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientInitialized)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientInitialized)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientInitializedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientInitializedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientInitialized represents a Initialized event raised by the TaikoInboxClient contract.
+type TaikoInboxClientInitialized struct {
+ Version uint8
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterInitialized(opts *bind.FilterOpts) (*TaikoInboxClientInitializedIterator, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "Initialized")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientInitializedIterator{contract: _TaikoInboxClient.contract, event: "Initialized", logs: logs, sub: sub}, nil
+}
+
+// WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientInitialized) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "Initialized")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientInitialized)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "Initialized", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseInitialized(log types.Log) (*TaikoInboxClientInitialized, error) {
+ event := new(TaikoInboxClientInitialized)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "Initialized", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the TaikoInboxClient contract.
+type TaikoInboxClientOwnershipTransferStartedIterator struct {
+ Event *TaikoInboxClientOwnershipTransferStarted // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientOwnershipTransferStartedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientOwnershipTransferStarted)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientOwnershipTransferStarted)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientOwnershipTransferStartedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientOwnershipTransferStartedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the TaikoInboxClient contract.
+type TaikoInboxClientOwnershipTransferStarted struct {
+ PreviousOwner common.Address
+ NewOwner common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TaikoInboxClientOwnershipTransferStartedIterator, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "OwnershipTransferStarted", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientOwnershipTransferStartedIterator{contract: _TaikoInboxClient.contract, event: "OwnershipTransferStarted", logs: logs, sub: sub}, nil
+}
+
+// WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "OwnershipTransferStarted", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientOwnershipTransferStarted)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "OwnershipTransferStarted", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseOwnershipTransferStarted(log types.Log) (*TaikoInboxClientOwnershipTransferStarted, error) {
+ event := new(TaikoInboxClientOwnershipTransferStarted)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "OwnershipTransferStarted", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the TaikoInboxClient contract.
+type TaikoInboxClientOwnershipTransferredIterator struct {
+ Event *TaikoInboxClientOwnershipTransferred // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientOwnershipTransferredIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientOwnershipTransferred)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientOwnershipTransferred)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientOwnershipTransferredIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientOwnershipTransferredIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientOwnershipTransferred represents a OwnershipTransferred event raised by the TaikoInboxClient contract.
+type TaikoInboxClientOwnershipTransferred struct {
+ PreviousOwner common.Address
+ NewOwner common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TaikoInboxClientOwnershipTransferredIterator, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "OwnershipTransferred", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientOwnershipTransferredIterator{contract: _TaikoInboxClient.contract, event: "OwnershipTransferred", logs: logs, sub: sub}, nil
+}
+
+// WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "OwnershipTransferred", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientOwnershipTransferred)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "OwnershipTransferred", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseOwnershipTransferred(log types.Log) (*TaikoInboxClientOwnershipTransferred, error) {
+ event := new(TaikoInboxClientOwnershipTransferred)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "OwnershipTransferred", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the TaikoInboxClient contract.
+type TaikoInboxClientPausedIterator struct {
+ Event *TaikoInboxClientPaused // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientPausedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientPaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientPaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientPausedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientPausedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientPaused represents a Paused event raised by the TaikoInboxClient contract.
+type TaikoInboxClientPaused struct {
+ Account common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
+//
+// Solidity: event Paused(address account)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterPaused(opts *bind.FilterOpts) (*TaikoInboxClientPausedIterator, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "Paused")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientPausedIterator{contract: _TaikoInboxClient.contract, event: "Paused", logs: logs, sub: sub}, nil
+}
+
+// WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
+//
+// Solidity: event Paused(address account)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientPaused) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "Paused")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientPaused)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "Paused", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
+//
+// Solidity: event Paused(address account)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParsePaused(log types.Log) (*TaikoInboxClientPaused, error) {
+ event := new(TaikoInboxClientPaused)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "Paused", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientResolverUpdatedIterator is returned from FilterResolverUpdated and is used to iterate over the raw logs and unpacked data for ResolverUpdated events raised by the TaikoInboxClient contract.
+type TaikoInboxClientResolverUpdatedIterator struct {
+ Event *TaikoInboxClientResolverUpdated // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientResolverUpdatedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientResolverUpdated)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientResolverUpdated)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientResolverUpdatedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientResolverUpdatedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientResolverUpdated represents a ResolverUpdated event raised by the TaikoInboxClient contract.
+type TaikoInboxClientResolverUpdated struct {
+ OldResolver common.Address
+ NewResolver common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterResolverUpdated is a free log retrieval operation binding the contract event 0x84b83d2b66cac119ccaaca68b476b0dc5371d5f2fd27f697770a910175fd38b6.
+//
+// Solidity: event ResolverUpdated(address oldResolver, address newResolver)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterResolverUpdated(opts *bind.FilterOpts) (*TaikoInboxClientResolverUpdatedIterator, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "ResolverUpdated")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientResolverUpdatedIterator{contract: _TaikoInboxClient.contract, event: "ResolverUpdated", logs: logs, sub: sub}, nil
+}
+
+// WatchResolverUpdated is a free log subscription operation binding the contract event 0x84b83d2b66cac119ccaaca68b476b0dc5371d5f2fd27f697770a910175fd38b6.
+//
+// Solidity: event ResolverUpdated(address oldResolver, address newResolver)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchResolverUpdated(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientResolverUpdated) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "ResolverUpdated")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientResolverUpdated)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "ResolverUpdated", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseResolverUpdated is a log parse operation binding the contract event 0x84b83d2b66cac119ccaaca68b476b0dc5371d5f2fd27f697770a910175fd38b6.
+//
+// Solidity: event ResolverUpdated(address oldResolver, address newResolver)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseResolverUpdated(log types.Log) (*TaikoInboxClientResolverUpdated, error) {
+ event := new(TaikoInboxClientResolverUpdated)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "ResolverUpdated", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientStats1UpdatedIterator is returned from FilterStats1Updated and is used to iterate over the raw logs and unpacked data for Stats1Updated events raised by the TaikoInboxClient contract.
+type TaikoInboxClientStats1UpdatedIterator struct {
+ Event *TaikoInboxClientStats1Updated // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientStats1UpdatedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientStats1Updated)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientStats1Updated)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientStats1UpdatedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientStats1UpdatedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientStats1Updated represents a Stats1Updated event raised by the TaikoInboxClient contract.
+type TaikoInboxClientStats1Updated struct {
+ Stats1 ITaikoInboxStats1
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterStats1Updated is a free log retrieval operation binding the contract event 0xcfbcbd3a81b749a28e6289bc350363f1949bb0a58ba7120d8dd4ef4b3617dff8.
+//
+// Solidity: event Stats1Updated((uint64,uint64,uint64,uint64) stats1)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterStats1Updated(opts *bind.FilterOpts) (*TaikoInboxClientStats1UpdatedIterator, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "Stats1Updated")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientStats1UpdatedIterator{contract: _TaikoInboxClient.contract, event: "Stats1Updated", logs: logs, sub: sub}, nil
+}
+
+// WatchStats1Updated is a free log subscription operation binding the contract event 0xcfbcbd3a81b749a28e6289bc350363f1949bb0a58ba7120d8dd4ef4b3617dff8.
+//
+// Solidity: event Stats1Updated((uint64,uint64,uint64,uint64) stats1)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchStats1Updated(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientStats1Updated) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "Stats1Updated")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientStats1Updated)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "Stats1Updated", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseStats1Updated is a log parse operation binding the contract event 0xcfbcbd3a81b749a28e6289bc350363f1949bb0a58ba7120d8dd4ef4b3617dff8.
+//
+// Solidity: event Stats1Updated((uint64,uint64,uint64,uint64) stats1)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseStats1Updated(log types.Log) (*TaikoInboxClientStats1Updated, error) {
+ event := new(TaikoInboxClientStats1Updated)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "Stats1Updated", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientStats2UpdatedIterator is returned from FilterStats2Updated and is used to iterate over the raw logs and unpacked data for Stats2Updated events raised by the TaikoInboxClient contract.
+type TaikoInboxClientStats2UpdatedIterator struct {
+ Event *TaikoInboxClientStats2Updated // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientStats2UpdatedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientStats2Updated)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientStats2Updated)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientStats2UpdatedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientStats2UpdatedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientStats2Updated represents a Stats2Updated event raised by the TaikoInboxClient contract.
+type TaikoInboxClientStats2Updated struct {
+ Stats2 ITaikoInboxStats2
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterStats2Updated is a free log retrieval operation binding the contract event 0x7156d026e6a3864d290a971910746f96477d3901e33c4b2375e4ee00dabe7d87.
+//
+// Solidity: event Stats2Updated((uint64,uint64,bool,uint56,uint64) stats2)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterStats2Updated(opts *bind.FilterOpts) (*TaikoInboxClientStats2UpdatedIterator, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "Stats2Updated")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientStats2UpdatedIterator{contract: _TaikoInboxClient.contract, event: "Stats2Updated", logs: logs, sub: sub}, nil
+}
+
+// WatchStats2Updated is a free log subscription operation binding the contract event 0x7156d026e6a3864d290a971910746f96477d3901e33c4b2375e4ee00dabe7d87.
+//
+// Solidity: event Stats2Updated((uint64,uint64,bool,uint56,uint64) stats2)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchStats2Updated(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientStats2Updated) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "Stats2Updated")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientStats2Updated)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "Stats2Updated", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseStats2Updated is a log parse operation binding the contract event 0x7156d026e6a3864d290a971910746f96477d3901e33c4b2375e4ee00dabe7d87.
+//
+// Solidity: event Stats2Updated((uint64,uint64,bool,uint56,uint64) stats2)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseStats2Updated(log types.Log) (*TaikoInboxClientStats2Updated, error) {
+ event := new(TaikoInboxClientStats2Updated)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "Stats2Updated", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientTransitionOverwrittenV3Iterator is returned from FilterTransitionOverwrittenV3 and is used to iterate over the raw logs and unpacked data for TransitionOverwrittenV3 events raised by the TaikoInboxClient contract.
+type TaikoInboxClientTransitionOverwrittenV3Iterator struct {
+ Event *TaikoInboxClientTransitionOverwrittenV3 // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientTransitionOverwrittenV3Iterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientTransitionOverwrittenV3)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientTransitionOverwrittenV3)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientTransitionOverwrittenV3Iterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientTransitionOverwrittenV3Iterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientTransitionOverwrittenV3 represents a TransitionOverwrittenV3 event raised by the TaikoInboxClient contract.
+type TaikoInboxClientTransitionOverwrittenV3 struct {
+ BlockId uint64
+ Tran ITaikoInboxTransitionV3
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterTransitionOverwrittenV3 is a free log retrieval operation binding the contract event 0x5257a43cf39a2cf67c02c0d5505c6f56a144a944c24be08138d0a5f9476202e1.
+//
+// Solidity: event TransitionOverwrittenV3(uint64 blockId, (bytes32,bytes32,bytes32) tran)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterTransitionOverwrittenV3(opts *bind.FilterOpts) (*TaikoInboxClientTransitionOverwrittenV3Iterator, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "TransitionOverwrittenV3")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientTransitionOverwrittenV3Iterator{contract: _TaikoInboxClient.contract, event: "TransitionOverwrittenV3", logs: logs, sub: sub}, nil
+}
+
+// WatchTransitionOverwrittenV3 is a free log subscription operation binding the contract event 0x5257a43cf39a2cf67c02c0d5505c6f56a144a944c24be08138d0a5f9476202e1.
+//
+// Solidity: event TransitionOverwrittenV3(uint64 blockId, (bytes32,bytes32,bytes32) tran)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchTransitionOverwrittenV3(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientTransitionOverwrittenV3) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "TransitionOverwrittenV3")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientTransitionOverwrittenV3)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "TransitionOverwrittenV3", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseTransitionOverwrittenV3 is a log parse operation binding the contract event 0x5257a43cf39a2cf67c02c0d5505c6f56a144a944c24be08138d0a5f9476202e1.
+//
+// Solidity: event TransitionOverwrittenV3(uint64 blockId, (bytes32,bytes32,bytes32) tran)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseTransitionOverwrittenV3(log types.Log) (*TaikoInboxClientTransitionOverwrittenV3, error) {
+ event := new(TaikoInboxClientTransitionOverwrittenV3)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "TransitionOverwrittenV3", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the TaikoInboxClient contract.
+type TaikoInboxClientUnpausedIterator struct {
+ Event *TaikoInboxClientUnpaused // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientUnpausedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientUnpaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientUnpaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientUnpausedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientUnpausedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientUnpaused represents a Unpaused event raised by the TaikoInboxClient contract.
+type TaikoInboxClientUnpaused struct {
+ Account common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
+//
+// Solidity: event Unpaused(address account)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterUnpaused(opts *bind.FilterOpts) (*TaikoInboxClientUnpausedIterator, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "Unpaused")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientUnpausedIterator{contract: _TaikoInboxClient.contract, event: "Unpaused", logs: logs, sub: sub}, nil
+}
+
+// WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
+//
+// Solidity: event Unpaused(address account)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientUnpaused) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "Unpaused")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientUnpaused)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "Unpaused", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
+//
+// Solidity: event Unpaused(address account)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseUnpaused(log types.Log) (*TaikoInboxClientUnpaused, error) {
+ event := new(TaikoInboxClientUnpaused)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "Unpaused", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoInboxClientUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the TaikoInboxClient contract.
+type TaikoInboxClientUpgradedIterator struct {
+ Event *TaikoInboxClientUpgraded // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoInboxClientUpgradedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoInboxClientUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoInboxClientUpgradedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoInboxClientUpgradedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoInboxClientUpgraded represents a Upgraded event raised by the TaikoInboxClient contract.
+type TaikoInboxClientUpgraded struct {
+ Implementation common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*TaikoInboxClientUpgradedIterator, error) {
+
+ var implementationRule []interface{}
+ for _, implementationItem := range implementation {
+ implementationRule = append(implementationRule, implementationItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.FilterLogs(opts, "Upgraded", implementationRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoInboxClientUpgradedIterator{contract: _TaikoInboxClient.contract, event: "Upgraded", logs: logs, sub: sub}, nil
+}
+
+// WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *TaikoInboxClientUpgraded, implementation []common.Address) (event.Subscription, error) {
+
+ var implementationRule []interface{}
+ for _, implementationItem := range implementation {
+ implementationRule = append(implementationRule, implementationItem)
+ }
+
+ logs, sub, err := _TaikoInboxClient.contract.WatchLogs(opts, "Upgraded", implementationRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoInboxClientUpgraded)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "Upgraded", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_TaikoInboxClient *TaikoInboxClientFilterer) ParseUpgraded(log types.Log) (*TaikoInboxClientUpgraded, error) {
+ event := new(TaikoInboxClientUpgraded)
+ if err := _TaikoInboxClient.contract.UnpackLog(event, "Upgraded", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
diff --git a/packages/taiko-client/bindings/pacaya/gen_taiko_token.go b/packages/taiko-client/bindings/pacaya/gen_taiko_token.go
new file mode 100644
index 0000000000..c0ac43ff49
--- /dev/null
+++ b/packages/taiko-client/bindings/pacaya/gen_taiko_token.go
@@ -0,0 +1,3425 @@
+// Code generated - DO NOT EDIT.
+// This file is a generated binding and any manual changes will be lost.
+
+package pacaya
+
+import (
+ "errors"
+ "math/big"
+ "strings"
+
+ ethereum "github.com/ethereum/go-ethereum"
+ "github.com/ethereum/go-ethereum/accounts/abi"
+ "github.com/ethereum/go-ethereum/accounts/abi/bind"
+ "github.com/ethereum/go-ethereum/common"
+ "github.com/ethereum/go-ethereum/core/types"
+ "github.com/ethereum/go-ethereum/event"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var (
+ _ = errors.New
+ _ = big.NewInt
+ _ = strings.NewReader
+ _ = ethereum.NotFound
+ _ = bind.Bind
+ _ = common.Big1
+ _ = types.BloomLookup
+ _ = event.NewSubscription
+ _ = abi.ConvertType
+)
+
+// ERC20VotesUpgradeableCheckpoint is an auto generated low-level Go binding around an user-defined struct.
+type ERC20VotesUpgradeableCheckpoint struct {
+ FromBlock uint32
+ Votes *big.Int
+}
+
+// TaikoTokenMetaData contains all meta data concerning the TaikoToken contract.
+var TaikoTokenMetaData = &bind.MetaData{
+ ABI: "[{\"type\":\"function\",\"name\":\"CLOCK_MODE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"DOMAIN_SEPARATOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"acceptOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"batchTransfer\",\"inputs\":[{\"name\":\"recipients\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"amounts\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"checkpoints\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"pos\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structERC20VotesUpgradeable.Checkpoint\",\"components\":[{\"name\":\"fromBlock\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"votes\",\"type\":\"uint224\",\"internalType\":\"uint224\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"clock\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint48\",\"internalType\":\"uint48\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decreaseAllowance\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"subtractedValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"delegate\",\"inputs\":[{\"name\":\"delegatee\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"delegateBySig\",\"inputs\":[{\"name\":\"delegatee\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"expiry\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"v\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"r\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"s\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"delegates\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"eip712Domain\",\"inputs\":[],\"outputs\":[{\"name\":\"fields\",\"type\":\"bytes1\",\"internalType\":\"bytes1\"},{\"name\":\"name\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"version\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"verifyingContract\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"salt\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"extensions\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getPastTotalSupply\",\"inputs\":[{\"name\":\"timepoint\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getPastVotes\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"timepoint\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getVotes\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"impl\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"inNonReentrant\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"increaseAllowance\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"addedValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"init\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_recipient\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nonces\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"numCheckpoints\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pendingOwner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"permit\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"deadline\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"v\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"r\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"s\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"proxiableUUID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_chainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"resolver\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIResolver\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setResolver\",\"inputs\":[{\"name\":\"_resolver\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"unpause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeTo\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeToAndCall\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"event\",\"name\":\"AdminChanged\",\"inputs\":[{\"name\":\"previousAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"newAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BeaconUpgraded\",\"inputs\":[{\"name\":\"beacon\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"DelegateChanged\",\"inputs\":[{\"name\":\"delegator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"fromDelegate\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"toDelegate\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"DelegateVotesChanged\",\"inputs\":[{\"name\":\"delegate\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"previousBalance\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"newBalance\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"EIP712DomainChanged\",\"inputs\":[],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferStarted\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Paused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ResolverUpdated\",\"inputs\":[{\"name\":\"oldResolver\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"newResolver\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Upgraded\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"ACCESS_DENIED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"FUNC_NOT_IMPLEMENTED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"INVALID_PAUSE_STATUS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"REENTRANT_CALL\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_NOT_FOUND\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TT_INVALID_PARAM\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_ADDRESS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_VALUE\",\"inputs\":[]}]",
+}
+
+// TaikoTokenABI is the input ABI used to generate the binding from.
+// Deprecated: Use TaikoTokenMetaData.ABI instead.
+var TaikoTokenABI = TaikoTokenMetaData.ABI
+
+// TaikoToken is an auto generated Go binding around an Ethereum contract.
+type TaikoToken struct {
+ TaikoTokenCaller // Read-only binding to the contract
+ TaikoTokenTransactor // Write-only binding to the contract
+ TaikoTokenFilterer // Log filterer for contract events
+}
+
+// TaikoTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
+type TaikoTokenCaller struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// TaikoTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
+type TaikoTokenTransactor struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// TaikoTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
+type TaikoTokenFilterer struct {
+ contract *bind.BoundContract // Generic contract wrapper for the low level calls
+}
+
+// TaikoTokenSession is an auto generated Go binding around an Ethereum contract,
+// with pre-set call and transact options.
+type TaikoTokenSession struct {
+ Contract *TaikoToken // 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
+}
+
+// TaikoTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract,
+// with pre-set call options.
+type TaikoTokenCallerSession struct {
+ Contract *TaikoTokenCaller // Generic contract caller binding to set the session for
+ CallOpts bind.CallOpts // Call options to use throughout this session
+}
+
+// TaikoTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
+// with pre-set transact options.
+type TaikoTokenTransactorSession struct {
+ Contract *TaikoTokenTransactor // Generic contract transactor binding to set the session for
+ TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
+}
+
+// TaikoTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
+type TaikoTokenRaw struct {
+ Contract *TaikoToken // Generic contract binding to access the raw methods on
+}
+
+// TaikoTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
+type TaikoTokenCallerRaw struct {
+ Contract *TaikoTokenCaller // Generic read-only contract binding to access the raw methods on
+}
+
+// TaikoTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
+type TaikoTokenTransactorRaw struct {
+ Contract *TaikoTokenTransactor // Generic write-only contract binding to access the raw methods on
+}
+
+// NewTaikoToken creates a new instance of TaikoToken, bound to a specific deployed contract.
+func NewTaikoToken(address common.Address, backend bind.ContractBackend) (*TaikoToken, error) {
+ contract, err := bindTaikoToken(address, backend, backend, backend)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoToken{TaikoTokenCaller: TaikoTokenCaller{contract: contract}, TaikoTokenTransactor: TaikoTokenTransactor{contract: contract}, TaikoTokenFilterer: TaikoTokenFilterer{contract: contract}}, nil
+}
+
+// NewTaikoTokenCaller creates a new read-only instance of TaikoToken, bound to a specific deployed contract.
+func NewTaikoTokenCaller(address common.Address, caller bind.ContractCaller) (*TaikoTokenCaller, error) {
+ contract, err := bindTaikoToken(address, caller, nil, nil)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenCaller{contract: contract}, nil
+}
+
+// NewTaikoTokenTransactor creates a new write-only instance of TaikoToken, bound to a specific deployed contract.
+func NewTaikoTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*TaikoTokenTransactor, error) {
+ contract, err := bindTaikoToken(address, nil, transactor, nil)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenTransactor{contract: contract}, nil
+}
+
+// NewTaikoTokenFilterer creates a new log filterer instance of TaikoToken, bound to a specific deployed contract.
+func NewTaikoTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*TaikoTokenFilterer, error) {
+ contract, err := bindTaikoToken(address, nil, nil, filterer)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenFilterer{contract: contract}, nil
+}
+
+// bindTaikoToken binds a generic wrapper to an already deployed contract.
+func bindTaikoToken(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
+ parsed, err := TaikoTokenMetaData.GetAbi()
+ if err != nil {
+ return nil, err
+ }
+ return bind.NewBoundContract(address, *parsed, caller, transactor, filterer), nil
+}
+
+// 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 (_TaikoToken *TaikoTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
+ return _TaikoToken.Contract.TaikoTokenCaller.contract.Call(opts, result, method, params...)
+}
+
+// Transfer initiates a plain transaction to move funds to the contract, calling
+// its default method if one is available.
+func (_TaikoToken *TaikoTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoToken.Contract.TaikoTokenTransactor.contract.Transfer(opts)
+}
+
+// Transact invokes the (paid) contract method with params as input values.
+func (_TaikoToken *TaikoTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
+ return _TaikoToken.Contract.TaikoTokenTransactor.contract.Transact(opts, method, params...)
+}
+
+// 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 (_TaikoToken *TaikoTokenCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
+ return _TaikoToken.Contract.contract.Call(opts, result, method, params...)
+}
+
+// Transfer initiates a plain transaction to move funds to the contract, calling
+// its default method if one is available.
+func (_TaikoToken *TaikoTokenTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoToken.Contract.contract.Transfer(opts)
+}
+
+// Transact invokes the (paid) contract method with params as input values.
+func (_TaikoToken *TaikoTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
+ return _TaikoToken.Contract.contract.Transact(opts, method, params...)
+}
+
+// CLOCKMODE is a free data retrieval call binding the contract method 0x4bf5d7e9.
+//
+// Solidity: function CLOCK_MODE() pure returns(string)
+func (_TaikoToken *TaikoTokenCaller) CLOCKMODE(opts *bind.CallOpts) (string, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "CLOCK_MODE")
+
+ if err != nil {
+ return *new(string), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(string)).(*string)
+
+ return out0, err
+
+}
+
+// CLOCKMODE is a free data retrieval call binding the contract method 0x4bf5d7e9.
+//
+// Solidity: function CLOCK_MODE() pure returns(string)
+func (_TaikoToken *TaikoTokenSession) CLOCKMODE() (string, error) {
+ return _TaikoToken.Contract.CLOCKMODE(&_TaikoToken.CallOpts)
+}
+
+// CLOCKMODE is a free data retrieval call binding the contract method 0x4bf5d7e9.
+//
+// Solidity: function CLOCK_MODE() pure returns(string)
+func (_TaikoToken *TaikoTokenCallerSession) CLOCKMODE() (string, error) {
+ return _TaikoToken.Contract.CLOCKMODE(&_TaikoToken.CallOpts)
+}
+
+// DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
+//
+// Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
+func (_TaikoToken *TaikoTokenCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "DOMAIN_SEPARATOR")
+
+ if err != nil {
+ return *new([32]byte), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
+
+ return out0, err
+
+}
+
+// DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
+//
+// Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
+func (_TaikoToken *TaikoTokenSession) DOMAINSEPARATOR() ([32]byte, error) {
+ return _TaikoToken.Contract.DOMAINSEPARATOR(&_TaikoToken.CallOpts)
+}
+
+// DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
+//
+// Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
+func (_TaikoToken *TaikoTokenCallerSession) DOMAINSEPARATOR() ([32]byte, error) {
+ return _TaikoToken.Contract.DOMAINSEPARATOR(&_TaikoToken.CallOpts)
+}
+
+// Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
+//
+// Solidity: function allowance(address owner, address spender) view returns(uint256)
+func (_TaikoToken *TaikoTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "allowance", owner, spender)
+
+ if err != nil {
+ return *new(*big.Int), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
+
+ return out0, err
+
+}
+
+// Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
+//
+// Solidity: function allowance(address owner, address spender) view returns(uint256)
+func (_TaikoToken *TaikoTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error) {
+ return _TaikoToken.Contract.Allowance(&_TaikoToken.CallOpts, owner, spender)
+}
+
+// Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
+//
+// Solidity: function allowance(address owner, address spender) view returns(uint256)
+func (_TaikoToken *TaikoTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error) {
+ return _TaikoToken.Contract.Allowance(&_TaikoToken.CallOpts, owner, spender)
+}
+
+// BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
+//
+// Solidity: function balanceOf(address account) view returns(uint256)
+func (_TaikoToken *TaikoTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "balanceOf", account)
+
+ if err != nil {
+ return *new(*big.Int), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
+
+ return out0, err
+
+}
+
+// BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
+//
+// Solidity: function balanceOf(address account) view returns(uint256)
+func (_TaikoToken *TaikoTokenSession) BalanceOf(account common.Address) (*big.Int, error) {
+ return _TaikoToken.Contract.BalanceOf(&_TaikoToken.CallOpts, account)
+}
+
+// BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
+//
+// Solidity: function balanceOf(address account) view returns(uint256)
+func (_TaikoToken *TaikoTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error) {
+ return _TaikoToken.Contract.BalanceOf(&_TaikoToken.CallOpts, account)
+}
+
+// Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.
+//
+// Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint224))
+func (_TaikoToken *TaikoTokenCaller) Checkpoints(opts *bind.CallOpts, account common.Address, pos uint32) (ERC20VotesUpgradeableCheckpoint, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "checkpoints", account, pos)
+
+ if err != nil {
+ return *new(ERC20VotesUpgradeableCheckpoint), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(ERC20VotesUpgradeableCheckpoint)).(*ERC20VotesUpgradeableCheckpoint)
+
+ return out0, err
+
+}
+
+// Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.
+//
+// Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint224))
+func (_TaikoToken *TaikoTokenSession) Checkpoints(account common.Address, pos uint32) (ERC20VotesUpgradeableCheckpoint, error) {
+ return _TaikoToken.Contract.Checkpoints(&_TaikoToken.CallOpts, account, pos)
+}
+
+// Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.
+//
+// Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint224))
+func (_TaikoToken *TaikoTokenCallerSession) Checkpoints(account common.Address, pos uint32) (ERC20VotesUpgradeableCheckpoint, error) {
+ return _TaikoToken.Contract.Checkpoints(&_TaikoToken.CallOpts, account, pos)
+}
+
+// Clock is a free data retrieval call binding the contract method 0x91ddadf4.
+//
+// Solidity: function clock() view returns(uint48)
+func (_TaikoToken *TaikoTokenCaller) Clock(opts *bind.CallOpts) (*big.Int, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "clock")
+
+ if err != nil {
+ return *new(*big.Int), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
+
+ return out0, err
+
+}
+
+// Clock is a free data retrieval call binding the contract method 0x91ddadf4.
+//
+// Solidity: function clock() view returns(uint48)
+func (_TaikoToken *TaikoTokenSession) Clock() (*big.Int, error) {
+ return _TaikoToken.Contract.Clock(&_TaikoToken.CallOpts)
+}
+
+// Clock is a free data retrieval call binding the contract method 0x91ddadf4.
+//
+// Solidity: function clock() view returns(uint48)
+func (_TaikoToken *TaikoTokenCallerSession) Clock() (*big.Int, error) {
+ return _TaikoToken.Contract.Clock(&_TaikoToken.CallOpts)
+}
+
+// Decimals is a free data retrieval call binding the contract method 0x313ce567.
+//
+// Solidity: function decimals() view returns(uint8)
+func (_TaikoToken *TaikoTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "decimals")
+
+ if err != nil {
+ return *new(uint8), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(uint8)).(*uint8)
+
+ return out0, err
+
+}
+
+// Decimals is a free data retrieval call binding the contract method 0x313ce567.
+//
+// Solidity: function decimals() view returns(uint8)
+func (_TaikoToken *TaikoTokenSession) Decimals() (uint8, error) {
+ return _TaikoToken.Contract.Decimals(&_TaikoToken.CallOpts)
+}
+
+// Decimals is a free data retrieval call binding the contract method 0x313ce567.
+//
+// Solidity: function decimals() view returns(uint8)
+func (_TaikoToken *TaikoTokenCallerSession) Decimals() (uint8, error) {
+ return _TaikoToken.Contract.Decimals(&_TaikoToken.CallOpts)
+}
+
+// Delegates is a free data retrieval call binding the contract method 0x587cde1e.
+//
+// Solidity: function delegates(address account) view returns(address)
+func (_TaikoToken *TaikoTokenCaller) Delegates(opts *bind.CallOpts, account common.Address) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "delegates", account)
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Delegates is a free data retrieval call binding the contract method 0x587cde1e.
+//
+// Solidity: function delegates(address account) view returns(address)
+func (_TaikoToken *TaikoTokenSession) Delegates(account common.Address) (common.Address, error) {
+ return _TaikoToken.Contract.Delegates(&_TaikoToken.CallOpts, account)
+}
+
+// Delegates is a free data retrieval call binding the contract method 0x587cde1e.
+//
+// Solidity: function delegates(address account) view returns(address)
+func (_TaikoToken *TaikoTokenCallerSession) Delegates(account common.Address) (common.Address, error) {
+ return _TaikoToken.Contract.Delegates(&_TaikoToken.CallOpts, account)
+}
+
+// Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
+//
+// Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
+func (_TaikoToken *TaikoTokenCaller) Eip712Domain(opts *bind.CallOpts) (struct {
+ Fields [1]byte
+ Name string
+ Version string
+ ChainId *big.Int
+ VerifyingContract common.Address
+ Salt [32]byte
+ Extensions []*big.Int
+}, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "eip712Domain")
+
+ outstruct := new(struct {
+ Fields [1]byte
+ Name string
+ Version string
+ ChainId *big.Int
+ VerifyingContract common.Address
+ Salt [32]byte
+ Extensions []*big.Int
+ })
+ if err != nil {
+ return *outstruct, err
+ }
+
+ outstruct.Fields = *abi.ConvertType(out[0], new([1]byte)).(*[1]byte)
+ outstruct.Name = *abi.ConvertType(out[1], new(string)).(*string)
+ outstruct.Version = *abi.ConvertType(out[2], new(string)).(*string)
+ outstruct.ChainId = *abi.ConvertType(out[3], new(*big.Int)).(**big.Int)
+ outstruct.VerifyingContract = *abi.ConvertType(out[4], new(common.Address)).(*common.Address)
+ outstruct.Salt = *abi.ConvertType(out[5], new([32]byte)).(*[32]byte)
+ outstruct.Extensions = *abi.ConvertType(out[6], new([]*big.Int)).(*[]*big.Int)
+
+ return *outstruct, err
+
+}
+
+// Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
+//
+// Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
+func (_TaikoToken *TaikoTokenSession) Eip712Domain() (struct {
+ Fields [1]byte
+ Name string
+ Version string
+ ChainId *big.Int
+ VerifyingContract common.Address
+ Salt [32]byte
+ Extensions []*big.Int
+}, error) {
+ return _TaikoToken.Contract.Eip712Domain(&_TaikoToken.CallOpts)
+}
+
+// Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
+//
+// Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
+func (_TaikoToken *TaikoTokenCallerSession) Eip712Domain() (struct {
+ Fields [1]byte
+ Name string
+ Version string
+ ChainId *big.Int
+ VerifyingContract common.Address
+ Salt [32]byte
+ Extensions []*big.Int
+}, error) {
+ return _TaikoToken.Contract.Eip712Domain(&_TaikoToken.CallOpts)
+}
+
+// GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.
+//
+// Solidity: function getPastTotalSupply(uint256 timepoint) view returns(uint256)
+func (_TaikoToken *TaikoTokenCaller) GetPastTotalSupply(opts *bind.CallOpts, timepoint *big.Int) (*big.Int, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "getPastTotalSupply", timepoint)
+
+ if err != nil {
+ return *new(*big.Int), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
+
+ return out0, err
+
+}
+
+// GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.
+//
+// Solidity: function getPastTotalSupply(uint256 timepoint) view returns(uint256)
+func (_TaikoToken *TaikoTokenSession) GetPastTotalSupply(timepoint *big.Int) (*big.Int, error) {
+ return _TaikoToken.Contract.GetPastTotalSupply(&_TaikoToken.CallOpts, timepoint)
+}
+
+// GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.
+//
+// Solidity: function getPastTotalSupply(uint256 timepoint) view returns(uint256)
+func (_TaikoToken *TaikoTokenCallerSession) GetPastTotalSupply(timepoint *big.Int) (*big.Int, error) {
+ return _TaikoToken.Contract.GetPastTotalSupply(&_TaikoToken.CallOpts, timepoint)
+}
+
+// GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.
+//
+// Solidity: function getPastVotes(address account, uint256 timepoint) view returns(uint256)
+func (_TaikoToken *TaikoTokenCaller) GetPastVotes(opts *bind.CallOpts, account common.Address, timepoint *big.Int) (*big.Int, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "getPastVotes", account, timepoint)
+
+ if err != nil {
+ return *new(*big.Int), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
+
+ return out0, err
+
+}
+
+// GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.
+//
+// Solidity: function getPastVotes(address account, uint256 timepoint) view returns(uint256)
+func (_TaikoToken *TaikoTokenSession) GetPastVotes(account common.Address, timepoint *big.Int) (*big.Int, error) {
+ return _TaikoToken.Contract.GetPastVotes(&_TaikoToken.CallOpts, account, timepoint)
+}
+
+// GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.
+//
+// Solidity: function getPastVotes(address account, uint256 timepoint) view returns(uint256)
+func (_TaikoToken *TaikoTokenCallerSession) GetPastVotes(account common.Address, timepoint *big.Int) (*big.Int, error) {
+ return _TaikoToken.Contract.GetPastVotes(&_TaikoToken.CallOpts, account, timepoint)
+}
+
+// GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.
+//
+// Solidity: function getVotes(address account) view returns(uint256)
+func (_TaikoToken *TaikoTokenCaller) GetVotes(opts *bind.CallOpts, account common.Address) (*big.Int, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "getVotes", account)
+
+ if err != nil {
+ return *new(*big.Int), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
+
+ return out0, err
+
+}
+
+// GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.
+//
+// Solidity: function getVotes(address account) view returns(uint256)
+func (_TaikoToken *TaikoTokenSession) GetVotes(account common.Address) (*big.Int, error) {
+ return _TaikoToken.Contract.GetVotes(&_TaikoToken.CallOpts, account)
+}
+
+// GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.
+//
+// Solidity: function getVotes(address account) view returns(uint256)
+func (_TaikoToken *TaikoTokenCallerSession) GetVotes(account common.Address) (*big.Int, error) {
+ return _TaikoToken.Contract.GetVotes(&_TaikoToken.CallOpts, account)
+}
+
+// Impl is a free data retrieval call binding the contract method 0x8abf6077.
+//
+// Solidity: function impl() view returns(address)
+func (_TaikoToken *TaikoTokenCaller) Impl(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "impl")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Impl is a free data retrieval call binding the contract method 0x8abf6077.
+//
+// Solidity: function impl() view returns(address)
+func (_TaikoToken *TaikoTokenSession) Impl() (common.Address, error) {
+ return _TaikoToken.Contract.Impl(&_TaikoToken.CallOpts)
+}
+
+// Impl is a free data retrieval call binding the contract method 0x8abf6077.
+//
+// Solidity: function impl() view returns(address)
+func (_TaikoToken *TaikoTokenCallerSession) Impl() (common.Address, error) {
+ return _TaikoToken.Contract.Impl(&_TaikoToken.CallOpts)
+}
+
+// InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
+//
+// Solidity: function inNonReentrant() view returns(bool)
+func (_TaikoToken *TaikoTokenCaller) InNonReentrant(opts *bind.CallOpts) (bool, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "inNonReentrant")
+
+ if err != nil {
+ return *new(bool), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
+
+ return out0, err
+
+}
+
+// InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
+//
+// Solidity: function inNonReentrant() view returns(bool)
+func (_TaikoToken *TaikoTokenSession) InNonReentrant() (bool, error) {
+ return _TaikoToken.Contract.InNonReentrant(&_TaikoToken.CallOpts)
+}
+
+// InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
+//
+// Solidity: function inNonReentrant() view returns(bool)
+func (_TaikoToken *TaikoTokenCallerSession) InNonReentrant() (bool, error) {
+ return _TaikoToken.Contract.InNonReentrant(&_TaikoToken.CallOpts)
+}
+
+// Name is a free data retrieval call binding the contract method 0x06fdde03.
+//
+// Solidity: function name() view returns(string)
+func (_TaikoToken *TaikoTokenCaller) Name(opts *bind.CallOpts) (string, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "name")
+
+ if err != nil {
+ return *new(string), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(string)).(*string)
+
+ return out0, err
+
+}
+
+// Name is a free data retrieval call binding the contract method 0x06fdde03.
+//
+// Solidity: function name() view returns(string)
+func (_TaikoToken *TaikoTokenSession) Name() (string, error) {
+ return _TaikoToken.Contract.Name(&_TaikoToken.CallOpts)
+}
+
+// Name is a free data retrieval call binding the contract method 0x06fdde03.
+//
+// Solidity: function name() view returns(string)
+func (_TaikoToken *TaikoTokenCallerSession) Name() (string, error) {
+ return _TaikoToken.Contract.Name(&_TaikoToken.CallOpts)
+}
+
+// Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
+//
+// Solidity: function nonces(address owner) view returns(uint256)
+func (_TaikoToken *TaikoTokenCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "nonces", owner)
+
+ if err != nil {
+ return *new(*big.Int), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
+
+ return out0, err
+
+}
+
+// Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
+//
+// Solidity: function nonces(address owner) view returns(uint256)
+func (_TaikoToken *TaikoTokenSession) Nonces(owner common.Address) (*big.Int, error) {
+ return _TaikoToken.Contract.Nonces(&_TaikoToken.CallOpts, owner)
+}
+
+// Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
+//
+// Solidity: function nonces(address owner) view returns(uint256)
+func (_TaikoToken *TaikoTokenCallerSession) Nonces(owner common.Address) (*big.Int, error) {
+ return _TaikoToken.Contract.Nonces(&_TaikoToken.CallOpts, owner)
+}
+
+// NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.
+//
+// Solidity: function numCheckpoints(address account) view returns(uint32)
+func (_TaikoToken *TaikoTokenCaller) NumCheckpoints(opts *bind.CallOpts, account common.Address) (uint32, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "numCheckpoints", account)
+
+ if err != nil {
+ return *new(uint32), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(uint32)).(*uint32)
+
+ return out0, err
+
+}
+
+// NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.
+//
+// Solidity: function numCheckpoints(address account) view returns(uint32)
+func (_TaikoToken *TaikoTokenSession) NumCheckpoints(account common.Address) (uint32, error) {
+ return _TaikoToken.Contract.NumCheckpoints(&_TaikoToken.CallOpts, account)
+}
+
+// NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.
+//
+// Solidity: function numCheckpoints(address account) view returns(uint32)
+func (_TaikoToken *TaikoTokenCallerSession) NumCheckpoints(account common.Address) (uint32, error) {
+ return _TaikoToken.Contract.NumCheckpoints(&_TaikoToken.CallOpts, account)
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_TaikoToken *TaikoTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "owner")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_TaikoToken *TaikoTokenSession) Owner() (common.Address, error) {
+ return _TaikoToken.Contract.Owner(&_TaikoToken.CallOpts)
+}
+
+// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
+//
+// Solidity: function owner() view returns(address)
+func (_TaikoToken *TaikoTokenCallerSession) Owner() (common.Address, error) {
+ return _TaikoToken.Contract.Owner(&_TaikoToken.CallOpts)
+}
+
+// Paused is a free data retrieval call binding the contract method 0x5c975abb.
+//
+// Solidity: function paused() view returns(bool)
+func (_TaikoToken *TaikoTokenCaller) Paused(opts *bind.CallOpts) (bool, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "paused")
+
+ if err != nil {
+ return *new(bool), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
+
+ return out0, err
+
+}
+
+// Paused is a free data retrieval call binding the contract method 0x5c975abb.
+//
+// Solidity: function paused() view returns(bool)
+func (_TaikoToken *TaikoTokenSession) Paused() (bool, error) {
+ return _TaikoToken.Contract.Paused(&_TaikoToken.CallOpts)
+}
+
+// Paused is a free data retrieval call binding the contract method 0x5c975abb.
+//
+// Solidity: function paused() view returns(bool)
+func (_TaikoToken *TaikoTokenCallerSession) Paused() (bool, error) {
+ return _TaikoToken.Contract.Paused(&_TaikoToken.CallOpts)
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_TaikoToken *TaikoTokenCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "pendingOwner")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_TaikoToken *TaikoTokenSession) PendingOwner() (common.Address, error) {
+ return _TaikoToken.Contract.PendingOwner(&_TaikoToken.CallOpts)
+}
+
+// PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
+//
+// Solidity: function pendingOwner() view returns(address)
+func (_TaikoToken *TaikoTokenCallerSession) PendingOwner() (common.Address, error) {
+ return _TaikoToken.Contract.PendingOwner(&_TaikoToken.CallOpts)
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_TaikoToken *TaikoTokenCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "proxiableUUID")
+
+ if err != nil {
+ return *new([32]byte), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
+
+ return out0, err
+
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_TaikoToken *TaikoTokenSession) ProxiableUUID() ([32]byte, error) {
+ return _TaikoToken.Contract.ProxiableUUID(&_TaikoToken.CallOpts)
+}
+
+// ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
+//
+// Solidity: function proxiableUUID() view returns(bytes32)
+func (_TaikoToken *TaikoTokenCallerSession) ProxiableUUID() ([32]byte, error) {
+ return _TaikoToken.Contract.ProxiableUUID(&_TaikoToken.CallOpts)
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
+//
+// Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoToken *TaikoTokenCaller) Resolve(opts *bind.CallOpts, _chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "resolve", _chainId, _name, _allowZeroAddress)
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
+//
+// Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoToken *TaikoTokenSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _TaikoToken.Contract.Resolve(&_TaikoToken.CallOpts, _chainId, _name, _allowZeroAddress)
+}
+
+// Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
+//
+// Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoToken *TaikoTokenCallerSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _TaikoToken.Contract.Resolve(&_TaikoToken.CallOpts, _chainId, _name, _allowZeroAddress)
+}
+
+// Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
+//
+// Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoToken *TaikoTokenCaller) Resolve0(opts *bind.CallOpts, _name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "resolve0", _name, _allowZeroAddress)
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
+//
+// Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoToken *TaikoTokenSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _TaikoToken.Contract.Resolve0(&_TaikoToken.CallOpts, _name, _allowZeroAddress)
+}
+
+// Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
+//
+// Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
+func (_TaikoToken *TaikoTokenCallerSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error) {
+ return _TaikoToken.Contract.Resolve0(&_TaikoToken.CallOpts, _name, _allowZeroAddress)
+}
+
+// Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
+//
+// Solidity: function resolver() view returns(address)
+func (_TaikoToken *TaikoTokenCaller) Resolver(opts *bind.CallOpts) (common.Address, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "resolver")
+
+ if err != nil {
+ return *new(common.Address), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
+
+ return out0, err
+
+}
+
+// Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
+//
+// Solidity: function resolver() view returns(address)
+func (_TaikoToken *TaikoTokenSession) Resolver() (common.Address, error) {
+ return _TaikoToken.Contract.Resolver(&_TaikoToken.CallOpts)
+}
+
+// Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
+//
+// Solidity: function resolver() view returns(address)
+func (_TaikoToken *TaikoTokenCallerSession) Resolver() (common.Address, error) {
+ return _TaikoToken.Contract.Resolver(&_TaikoToken.CallOpts)
+}
+
+// Symbol is a free data retrieval call binding the contract method 0x95d89b41.
+//
+// Solidity: function symbol() pure returns(string)
+func (_TaikoToken *TaikoTokenCaller) Symbol(opts *bind.CallOpts) (string, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "symbol")
+
+ if err != nil {
+ return *new(string), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(string)).(*string)
+
+ return out0, err
+
+}
+
+// Symbol is a free data retrieval call binding the contract method 0x95d89b41.
+//
+// Solidity: function symbol() pure returns(string)
+func (_TaikoToken *TaikoTokenSession) Symbol() (string, error) {
+ return _TaikoToken.Contract.Symbol(&_TaikoToken.CallOpts)
+}
+
+// Symbol is a free data retrieval call binding the contract method 0x95d89b41.
+//
+// Solidity: function symbol() pure returns(string)
+func (_TaikoToken *TaikoTokenCallerSession) Symbol() (string, error) {
+ return _TaikoToken.Contract.Symbol(&_TaikoToken.CallOpts)
+}
+
+// TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
+//
+// Solidity: function totalSupply() view returns(uint256)
+func (_TaikoToken *TaikoTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) {
+ var out []interface{}
+ err := _TaikoToken.contract.Call(opts, &out, "totalSupply")
+
+ if err != nil {
+ return *new(*big.Int), err
+ }
+
+ out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
+
+ return out0, err
+
+}
+
+// TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
+//
+// Solidity: function totalSupply() view returns(uint256)
+func (_TaikoToken *TaikoTokenSession) TotalSupply() (*big.Int, error) {
+ return _TaikoToken.Contract.TotalSupply(&_TaikoToken.CallOpts)
+}
+
+// TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
+//
+// Solidity: function totalSupply() view returns(uint256)
+func (_TaikoToken *TaikoTokenCallerSession) TotalSupply() (*big.Int, error) {
+ return _TaikoToken.Contract.TotalSupply(&_TaikoToken.CallOpts)
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_TaikoToken *TaikoTokenTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "acceptOwnership")
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_TaikoToken *TaikoTokenSession) AcceptOwnership() (*types.Transaction, error) {
+ return _TaikoToken.Contract.AcceptOwnership(&_TaikoToken.TransactOpts)
+}
+
+// AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
+//
+// Solidity: function acceptOwnership() returns()
+func (_TaikoToken *TaikoTokenTransactorSession) AcceptOwnership() (*types.Transaction, error) {
+ return _TaikoToken.Contract.AcceptOwnership(&_TaikoToken.TransactOpts)
+}
+
+// Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
+//
+// Solidity: function approve(address spender, uint256 amount) returns(bool)
+func (_TaikoToken *TaikoTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "approve", spender, amount)
+}
+
+// Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
+//
+// Solidity: function approve(address spender, uint256 amount) returns(bool)
+func (_TaikoToken *TaikoTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.Contract.Approve(&_TaikoToken.TransactOpts, spender, amount)
+}
+
+// Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
+//
+// Solidity: function approve(address spender, uint256 amount) returns(bool)
+func (_TaikoToken *TaikoTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.Contract.Approve(&_TaikoToken.TransactOpts, spender, amount)
+}
+
+// BatchTransfer is a paid mutator transaction binding the contract method 0x88d695b2.
+//
+// Solidity: function batchTransfer(address[] recipients, uint256[] amounts) returns(bool)
+func (_TaikoToken *TaikoTokenTransactor) BatchTransfer(opts *bind.TransactOpts, recipients []common.Address, amounts []*big.Int) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "batchTransfer", recipients, amounts)
+}
+
+// BatchTransfer is a paid mutator transaction binding the contract method 0x88d695b2.
+//
+// Solidity: function batchTransfer(address[] recipients, uint256[] amounts) returns(bool)
+func (_TaikoToken *TaikoTokenSession) BatchTransfer(recipients []common.Address, amounts []*big.Int) (*types.Transaction, error) {
+ return _TaikoToken.Contract.BatchTransfer(&_TaikoToken.TransactOpts, recipients, amounts)
+}
+
+// BatchTransfer is a paid mutator transaction binding the contract method 0x88d695b2.
+//
+// Solidity: function batchTransfer(address[] recipients, uint256[] amounts) returns(bool)
+func (_TaikoToken *TaikoTokenTransactorSession) BatchTransfer(recipients []common.Address, amounts []*big.Int) (*types.Transaction, error) {
+ return _TaikoToken.Contract.BatchTransfer(&_TaikoToken.TransactOpts, recipients, amounts)
+}
+
+// DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
+//
+// Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
+func (_TaikoToken *TaikoTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "decreaseAllowance", spender, subtractedValue)
+}
+
+// DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
+//
+// Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
+func (_TaikoToken *TaikoTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.Contract.DecreaseAllowance(&_TaikoToken.TransactOpts, spender, subtractedValue)
+}
+
+// DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
+//
+// Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
+func (_TaikoToken *TaikoTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.Contract.DecreaseAllowance(&_TaikoToken.TransactOpts, spender, subtractedValue)
+}
+
+// Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.
+//
+// Solidity: function delegate(address delegatee) returns()
+func (_TaikoToken *TaikoTokenTransactor) Delegate(opts *bind.TransactOpts, delegatee common.Address) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "delegate", delegatee)
+}
+
+// Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.
+//
+// Solidity: function delegate(address delegatee) returns()
+func (_TaikoToken *TaikoTokenSession) Delegate(delegatee common.Address) (*types.Transaction, error) {
+ return _TaikoToken.Contract.Delegate(&_TaikoToken.TransactOpts, delegatee)
+}
+
+// Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.
+//
+// Solidity: function delegate(address delegatee) returns()
+func (_TaikoToken *TaikoTokenTransactorSession) Delegate(delegatee common.Address) (*types.Transaction, error) {
+ return _TaikoToken.Contract.Delegate(&_TaikoToken.TransactOpts, delegatee)
+}
+
+// DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.
+//
+// Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()
+func (_TaikoToken *TaikoTokenTransactor) DelegateBySig(opts *bind.TransactOpts, delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "delegateBySig", delegatee, nonce, expiry, v, r, s)
+}
+
+// DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.
+//
+// Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()
+func (_TaikoToken *TaikoTokenSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
+ return _TaikoToken.Contract.DelegateBySig(&_TaikoToken.TransactOpts, delegatee, nonce, expiry, v, r, s)
+}
+
+// DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.
+//
+// Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()
+func (_TaikoToken *TaikoTokenTransactorSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
+ return _TaikoToken.Contract.DelegateBySig(&_TaikoToken.TransactOpts, delegatee, nonce, expiry, v, r, s)
+}
+
+// IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
+//
+// Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
+func (_TaikoToken *TaikoTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "increaseAllowance", spender, addedValue)
+}
+
+// IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
+//
+// Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
+func (_TaikoToken *TaikoTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.Contract.IncreaseAllowance(&_TaikoToken.TransactOpts, spender, addedValue)
+}
+
+// IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
+//
+// Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
+func (_TaikoToken *TaikoTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.Contract.IncreaseAllowance(&_TaikoToken.TransactOpts, spender, addedValue)
+}
+
+// Init is a paid mutator transaction binding the contract method 0xf09a4016.
+//
+// Solidity: function init(address _owner, address _recipient) returns()
+func (_TaikoToken *TaikoTokenTransactor) Init(opts *bind.TransactOpts, _owner common.Address, _recipient common.Address) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "init", _owner, _recipient)
+}
+
+// Init is a paid mutator transaction binding the contract method 0xf09a4016.
+//
+// Solidity: function init(address _owner, address _recipient) returns()
+func (_TaikoToken *TaikoTokenSession) Init(_owner common.Address, _recipient common.Address) (*types.Transaction, error) {
+ return _TaikoToken.Contract.Init(&_TaikoToken.TransactOpts, _owner, _recipient)
+}
+
+// Init is a paid mutator transaction binding the contract method 0xf09a4016.
+//
+// Solidity: function init(address _owner, address _recipient) returns()
+func (_TaikoToken *TaikoTokenTransactorSession) Init(_owner common.Address, _recipient common.Address) (*types.Transaction, error) {
+ return _TaikoToken.Contract.Init(&_TaikoToken.TransactOpts, _owner, _recipient)
+}
+
+// Pause is a paid mutator transaction binding the contract method 0x8456cb59.
+//
+// Solidity: function pause() returns()
+func (_TaikoToken *TaikoTokenTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "pause")
+}
+
+// Pause is a paid mutator transaction binding the contract method 0x8456cb59.
+//
+// Solidity: function pause() returns()
+func (_TaikoToken *TaikoTokenSession) Pause() (*types.Transaction, error) {
+ return _TaikoToken.Contract.Pause(&_TaikoToken.TransactOpts)
+}
+
+// Pause is a paid mutator transaction binding the contract method 0x8456cb59.
+//
+// Solidity: function pause() returns()
+func (_TaikoToken *TaikoTokenTransactorSession) Pause() (*types.Transaction, error) {
+ return _TaikoToken.Contract.Pause(&_TaikoToken.TransactOpts)
+}
+
+// Permit is a paid mutator transaction binding the contract method 0xd505accf.
+//
+// Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
+func (_TaikoToken *TaikoTokenTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "permit", owner, spender, value, deadline, v, r, s)
+}
+
+// Permit is a paid mutator transaction binding the contract method 0xd505accf.
+//
+// Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
+func (_TaikoToken *TaikoTokenSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
+ return _TaikoToken.Contract.Permit(&_TaikoToken.TransactOpts, owner, spender, value, deadline, v, r, s)
+}
+
+// Permit is a paid mutator transaction binding the contract method 0xd505accf.
+//
+// Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
+func (_TaikoToken *TaikoTokenTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
+ return _TaikoToken.Contract.Permit(&_TaikoToken.TransactOpts, owner, spender, value, deadline, v, r, s)
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_TaikoToken *TaikoTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "renounceOwnership")
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_TaikoToken *TaikoTokenSession) RenounceOwnership() (*types.Transaction, error) {
+ return _TaikoToken.Contract.RenounceOwnership(&_TaikoToken.TransactOpts)
+}
+
+// RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
+//
+// Solidity: function renounceOwnership() returns()
+func (_TaikoToken *TaikoTokenTransactorSession) RenounceOwnership() (*types.Transaction, error) {
+ return _TaikoToken.Contract.RenounceOwnership(&_TaikoToken.TransactOpts)
+}
+
+// SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.
+//
+// Solidity: function setResolver(address _resolver) returns()
+func (_TaikoToken *TaikoTokenTransactor) SetResolver(opts *bind.TransactOpts, _resolver common.Address) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "setResolver", _resolver)
+}
+
+// SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.
+//
+// Solidity: function setResolver(address _resolver) returns()
+func (_TaikoToken *TaikoTokenSession) SetResolver(_resolver common.Address) (*types.Transaction, error) {
+ return _TaikoToken.Contract.SetResolver(&_TaikoToken.TransactOpts, _resolver)
+}
+
+// SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.
+//
+// Solidity: function setResolver(address _resolver) returns()
+func (_TaikoToken *TaikoTokenTransactorSession) SetResolver(_resolver common.Address) (*types.Transaction, error) {
+ return _TaikoToken.Contract.SetResolver(&_TaikoToken.TransactOpts, _resolver)
+}
+
+// Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
+//
+// Solidity: function transfer(address to, uint256 amount) returns(bool)
+func (_TaikoToken *TaikoTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "transfer", to, amount)
+}
+
+// Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
+//
+// Solidity: function transfer(address to, uint256 amount) returns(bool)
+func (_TaikoToken *TaikoTokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.Contract.Transfer(&_TaikoToken.TransactOpts, to, amount)
+}
+
+// Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
+//
+// Solidity: function transfer(address to, uint256 amount) returns(bool)
+func (_TaikoToken *TaikoTokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.Contract.Transfer(&_TaikoToken.TransactOpts, to, amount)
+}
+
+// TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
+//
+// Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
+func (_TaikoToken *TaikoTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "transferFrom", from, to, amount)
+}
+
+// TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
+//
+// Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
+func (_TaikoToken *TaikoTokenSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.Contract.TransferFrom(&_TaikoToken.TransactOpts, from, to, amount)
+}
+
+// TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
+//
+// Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
+func (_TaikoToken *TaikoTokenTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error) {
+ return _TaikoToken.Contract.TransferFrom(&_TaikoToken.TransactOpts, from, to, amount)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_TaikoToken *TaikoTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "transferOwnership", newOwner)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_TaikoToken *TaikoTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) {
+ return _TaikoToken.Contract.TransferOwnership(&_TaikoToken.TransactOpts, newOwner)
+}
+
+// TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
+//
+// Solidity: function transferOwnership(address newOwner) returns()
+func (_TaikoToken *TaikoTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error) {
+ return _TaikoToken.Contract.TransferOwnership(&_TaikoToken.TransactOpts, newOwner)
+}
+
+// Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
+//
+// Solidity: function unpause() returns()
+func (_TaikoToken *TaikoTokenTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "unpause")
+}
+
+// Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
+//
+// Solidity: function unpause() returns()
+func (_TaikoToken *TaikoTokenSession) Unpause() (*types.Transaction, error) {
+ return _TaikoToken.Contract.Unpause(&_TaikoToken.TransactOpts)
+}
+
+// Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
+//
+// Solidity: function unpause() returns()
+func (_TaikoToken *TaikoTokenTransactorSession) Unpause() (*types.Transaction, error) {
+ return _TaikoToken.Contract.Unpause(&_TaikoToken.TransactOpts)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_TaikoToken *TaikoTokenTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "upgradeTo", newImplementation)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_TaikoToken *TaikoTokenSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error) {
+ return _TaikoToken.Contract.UpgradeTo(&_TaikoToken.TransactOpts, newImplementation)
+}
+
+// UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
+//
+// Solidity: function upgradeTo(address newImplementation) returns()
+func (_TaikoToken *TaikoTokenTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error) {
+ return _TaikoToken.Contract.UpgradeTo(&_TaikoToken.TransactOpts, newImplementation)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_TaikoToken *TaikoTokenTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _TaikoToken.contract.Transact(opts, "upgradeToAndCall", newImplementation, data)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_TaikoToken *TaikoTokenSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _TaikoToken.Contract.UpgradeToAndCall(&_TaikoToken.TransactOpts, newImplementation, data)
+}
+
+// UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
+//
+// Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
+func (_TaikoToken *TaikoTokenTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error) {
+ return _TaikoToken.Contract.UpgradeToAndCall(&_TaikoToken.TransactOpts, newImplementation, data)
+}
+
+// TaikoTokenAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the TaikoToken contract.
+type TaikoTokenAdminChangedIterator struct {
+ Event *TaikoTokenAdminChanged // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoTokenAdminChangedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenAdminChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenAdminChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoTokenAdminChangedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoTokenAdminChangedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoTokenAdminChanged represents a AdminChanged event raised by the TaikoToken contract.
+type TaikoTokenAdminChanged struct {
+ PreviousAdmin common.Address
+ NewAdmin common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_TaikoToken *TaikoTokenFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*TaikoTokenAdminChangedIterator, error) {
+
+ logs, sub, err := _TaikoToken.contract.FilterLogs(opts, "AdminChanged")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenAdminChangedIterator{contract: _TaikoToken.contract, event: "AdminChanged", logs: logs, sub: sub}, nil
+}
+
+// WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_TaikoToken *TaikoTokenFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *TaikoTokenAdminChanged) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoToken.contract.WatchLogs(opts, "AdminChanged")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoTokenAdminChanged)
+ if err := _TaikoToken.contract.UnpackLog(event, "AdminChanged", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
+//
+// Solidity: event AdminChanged(address previousAdmin, address newAdmin)
+func (_TaikoToken *TaikoTokenFilterer) ParseAdminChanged(log types.Log) (*TaikoTokenAdminChanged, error) {
+ event := new(TaikoTokenAdminChanged)
+ if err := _TaikoToken.contract.UnpackLog(event, "AdminChanged", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the TaikoToken contract.
+type TaikoTokenApprovalIterator struct {
+ Event *TaikoTokenApproval // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoTokenApprovalIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenApproval)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenApproval)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoTokenApprovalIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoTokenApprovalIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoTokenApproval represents a Approval event raised by the TaikoToken contract.
+type TaikoTokenApproval struct {
+ Owner common.Address
+ Spender common.Address
+ Value *big.Int
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
+//
+// Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
+func (_TaikoToken *TaikoTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TaikoTokenApprovalIterator, error) {
+
+ var ownerRule []interface{}
+ for _, ownerItem := range owner {
+ ownerRule = append(ownerRule, ownerItem)
+ }
+ var spenderRule []interface{}
+ for _, spenderItem := range spender {
+ spenderRule = append(spenderRule, spenderItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.FilterLogs(opts, "Approval", ownerRule, spenderRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenApprovalIterator{contract: _TaikoToken.contract, event: "Approval", logs: logs, sub: sub}, nil
+}
+
+// WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
+//
+// Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
+func (_TaikoToken *TaikoTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TaikoTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error) {
+
+ var ownerRule []interface{}
+ for _, ownerItem := range owner {
+ ownerRule = append(ownerRule, ownerItem)
+ }
+ var spenderRule []interface{}
+ for _, spenderItem := range spender {
+ spenderRule = append(spenderRule, spenderItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.WatchLogs(opts, "Approval", ownerRule, spenderRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoTokenApproval)
+ if err := _TaikoToken.contract.UnpackLog(event, "Approval", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
+//
+// Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
+func (_TaikoToken *TaikoTokenFilterer) ParseApproval(log types.Log) (*TaikoTokenApproval, error) {
+ event := new(TaikoTokenApproval)
+ if err := _TaikoToken.contract.UnpackLog(event, "Approval", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoTokenBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the TaikoToken contract.
+type TaikoTokenBeaconUpgradedIterator struct {
+ Event *TaikoTokenBeaconUpgraded // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoTokenBeaconUpgradedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenBeaconUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenBeaconUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoTokenBeaconUpgradedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoTokenBeaconUpgradedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoTokenBeaconUpgraded represents a BeaconUpgraded event raised by the TaikoToken contract.
+type TaikoTokenBeaconUpgraded struct {
+ Beacon common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_TaikoToken *TaikoTokenFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*TaikoTokenBeaconUpgradedIterator, error) {
+
+ var beaconRule []interface{}
+ for _, beaconItem := range beacon {
+ beaconRule = append(beaconRule, beaconItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.FilterLogs(opts, "BeaconUpgraded", beaconRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenBeaconUpgradedIterator{contract: _TaikoToken.contract, event: "BeaconUpgraded", logs: logs, sub: sub}, nil
+}
+
+// WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_TaikoToken *TaikoTokenFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *TaikoTokenBeaconUpgraded, beacon []common.Address) (event.Subscription, error) {
+
+ var beaconRule []interface{}
+ for _, beaconItem := range beacon {
+ beaconRule = append(beaconRule, beaconItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.WatchLogs(opts, "BeaconUpgraded", beaconRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoTokenBeaconUpgraded)
+ if err := _TaikoToken.contract.UnpackLog(event, "BeaconUpgraded", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
+//
+// Solidity: event BeaconUpgraded(address indexed beacon)
+func (_TaikoToken *TaikoTokenFilterer) ParseBeaconUpgraded(log types.Log) (*TaikoTokenBeaconUpgraded, error) {
+ event := new(TaikoTokenBeaconUpgraded)
+ if err := _TaikoToken.contract.UnpackLog(event, "BeaconUpgraded", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoTokenDelegateChangedIterator is returned from FilterDelegateChanged and is used to iterate over the raw logs and unpacked data for DelegateChanged events raised by the TaikoToken contract.
+type TaikoTokenDelegateChangedIterator struct {
+ Event *TaikoTokenDelegateChanged // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoTokenDelegateChangedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenDelegateChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenDelegateChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoTokenDelegateChangedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoTokenDelegateChangedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoTokenDelegateChanged represents a DelegateChanged event raised by the TaikoToken contract.
+type TaikoTokenDelegateChanged struct {
+ Delegator common.Address
+ FromDelegate common.Address
+ ToDelegate common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterDelegateChanged is a free log retrieval operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.
+//
+// Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)
+func (_TaikoToken *TaikoTokenFilterer) FilterDelegateChanged(opts *bind.FilterOpts, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (*TaikoTokenDelegateChangedIterator, error) {
+
+ var delegatorRule []interface{}
+ for _, delegatorItem := range delegator {
+ delegatorRule = append(delegatorRule, delegatorItem)
+ }
+ var fromDelegateRule []interface{}
+ for _, fromDelegateItem := range fromDelegate {
+ fromDelegateRule = append(fromDelegateRule, fromDelegateItem)
+ }
+ var toDelegateRule []interface{}
+ for _, toDelegateItem := range toDelegate {
+ toDelegateRule = append(toDelegateRule, toDelegateItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.FilterLogs(opts, "DelegateChanged", delegatorRule, fromDelegateRule, toDelegateRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenDelegateChangedIterator{contract: _TaikoToken.contract, event: "DelegateChanged", logs: logs, sub: sub}, nil
+}
+
+// WatchDelegateChanged is a free log subscription operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.
+//
+// Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)
+func (_TaikoToken *TaikoTokenFilterer) WatchDelegateChanged(opts *bind.WatchOpts, sink chan<- *TaikoTokenDelegateChanged, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (event.Subscription, error) {
+
+ var delegatorRule []interface{}
+ for _, delegatorItem := range delegator {
+ delegatorRule = append(delegatorRule, delegatorItem)
+ }
+ var fromDelegateRule []interface{}
+ for _, fromDelegateItem := range fromDelegate {
+ fromDelegateRule = append(fromDelegateRule, fromDelegateItem)
+ }
+ var toDelegateRule []interface{}
+ for _, toDelegateItem := range toDelegate {
+ toDelegateRule = append(toDelegateRule, toDelegateItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.WatchLogs(opts, "DelegateChanged", delegatorRule, fromDelegateRule, toDelegateRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoTokenDelegateChanged)
+ if err := _TaikoToken.contract.UnpackLog(event, "DelegateChanged", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseDelegateChanged is a log parse operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.
+//
+// Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)
+func (_TaikoToken *TaikoTokenFilterer) ParseDelegateChanged(log types.Log) (*TaikoTokenDelegateChanged, error) {
+ event := new(TaikoTokenDelegateChanged)
+ if err := _TaikoToken.contract.UnpackLog(event, "DelegateChanged", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoTokenDelegateVotesChangedIterator is returned from FilterDelegateVotesChanged and is used to iterate over the raw logs and unpacked data for DelegateVotesChanged events raised by the TaikoToken contract.
+type TaikoTokenDelegateVotesChangedIterator struct {
+ Event *TaikoTokenDelegateVotesChanged // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoTokenDelegateVotesChangedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenDelegateVotesChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenDelegateVotesChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoTokenDelegateVotesChangedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoTokenDelegateVotesChangedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoTokenDelegateVotesChanged represents a DelegateVotesChanged event raised by the TaikoToken contract.
+type TaikoTokenDelegateVotesChanged struct {
+ Delegate common.Address
+ PreviousBalance *big.Int
+ NewBalance *big.Int
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterDelegateVotesChanged is a free log retrieval operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.
+//
+// Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)
+func (_TaikoToken *TaikoTokenFilterer) FilterDelegateVotesChanged(opts *bind.FilterOpts, delegate []common.Address) (*TaikoTokenDelegateVotesChangedIterator, error) {
+
+ var delegateRule []interface{}
+ for _, delegateItem := range delegate {
+ delegateRule = append(delegateRule, delegateItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.FilterLogs(opts, "DelegateVotesChanged", delegateRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenDelegateVotesChangedIterator{contract: _TaikoToken.contract, event: "DelegateVotesChanged", logs: logs, sub: sub}, nil
+}
+
+// WatchDelegateVotesChanged is a free log subscription operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.
+//
+// Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)
+func (_TaikoToken *TaikoTokenFilterer) WatchDelegateVotesChanged(opts *bind.WatchOpts, sink chan<- *TaikoTokenDelegateVotesChanged, delegate []common.Address) (event.Subscription, error) {
+
+ var delegateRule []interface{}
+ for _, delegateItem := range delegate {
+ delegateRule = append(delegateRule, delegateItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.WatchLogs(opts, "DelegateVotesChanged", delegateRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoTokenDelegateVotesChanged)
+ if err := _TaikoToken.contract.UnpackLog(event, "DelegateVotesChanged", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseDelegateVotesChanged is a log parse operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.
+//
+// Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)
+func (_TaikoToken *TaikoTokenFilterer) ParseDelegateVotesChanged(log types.Log) (*TaikoTokenDelegateVotesChanged, error) {
+ event := new(TaikoTokenDelegateVotesChanged)
+ if err := _TaikoToken.contract.UnpackLog(event, "DelegateVotesChanged", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoTokenEIP712DomainChangedIterator is returned from FilterEIP712DomainChanged and is used to iterate over the raw logs and unpacked data for EIP712DomainChanged events raised by the TaikoToken contract.
+type TaikoTokenEIP712DomainChangedIterator struct {
+ Event *TaikoTokenEIP712DomainChanged // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoTokenEIP712DomainChangedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenEIP712DomainChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenEIP712DomainChanged)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoTokenEIP712DomainChangedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoTokenEIP712DomainChangedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoTokenEIP712DomainChanged represents a EIP712DomainChanged event raised by the TaikoToken contract.
+type TaikoTokenEIP712DomainChanged struct {
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterEIP712DomainChanged is a free log retrieval operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
+//
+// Solidity: event EIP712DomainChanged()
+func (_TaikoToken *TaikoTokenFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*TaikoTokenEIP712DomainChangedIterator, error) {
+
+ logs, sub, err := _TaikoToken.contract.FilterLogs(opts, "EIP712DomainChanged")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenEIP712DomainChangedIterator{contract: _TaikoToken.contract, event: "EIP712DomainChanged", logs: logs, sub: sub}, nil
+}
+
+// WatchEIP712DomainChanged is a free log subscription operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
+//
+// Solidity: event EIP712DomainChanged()
+func (_TaikoToken *TaikoTokenFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *TaikoTokenEIP712DomainChanged) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoToken.contract.WatchLogs(opts, "EIP712DomainChanged")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoTokenEIP712DomainChanged)
+ if err := _TaikoToken.contract.UnpackLog(event, "EIP712DomainChanged", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseEIP712DomainChanged is a log parse operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
+//
+// Solidity: event EIP712DomainChanged()
+func (_TaikoToken *TaikoTokenFilterer) ParseEIP712DomainChanged(log types.Log) (*TaikoTokenEIP712DomainChanged, error) {
+ event := new(TaikoTokenEIP712DomainChanged)
+ if err := _TaikoToken.contract.UnpackLog(event, "EIP712DomainChanged", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoTokenInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the TaikoToken contract.
+type TaikoTokenInitializedIterator struct {
+ Event *TaikoTokenInitialized // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoTokenInitializedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenInitialized)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenInitialized)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoTokenInitializedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoTokenInitializedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoTokenInitialized represents a Initialized event raised by the TaikoToken contract.
+type TaikoTokenInitialized struct {
+ Version uint8
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_TaikoToken *TaikoTokenFilterer) FilterInitialized(opts *bind.FilterOpts) (*TaikoTokenInitializedIterator, error) {
+
+ logs, sub, err := _TaikoToken.contract.FilterLogs(opts, "Initialized")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenInitializedIterator{contract: _TaikoToken.contract, event: "Initialized", logs: logs, sub: sub}, nil
+}
+
+// WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_TaikoToken *TaikoTokenFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TaikoTokenInitialized) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoToken.contract.WatchLogs(opts, "Initialized")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoTokenInitialized)
+ if err := _TaikoToken.contract.UnpackLog(event, "Initialized", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
+//
+// Solidity: event Initialized(uint8 version)
+func (_TaikoToken *TaikoTokenFilterer) ParseInitialized(log types.Log) (*TaikoTokenInitialized, error) {
+ event := new(TaikoTokenInitialized)
+ if err := _TaikoToken.contract.UnpackLog(event, "Initialized", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoTokenOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the TaikoToken contract.
+type TaikoTokenOwnershipTransferStartedIterator struct {
+ Event *TaikoTokenOwnershipTransferStarted // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoTokenOwnershipTransferStartedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenOwnershipTransferStarted)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenOwnershipTransferStarted)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoTokenOwnershipTransferStartedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoTokenOwnershipTransferStartedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoTokenOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the TaikoToken contract.
+type TaikoTokenOwnershipTransferStarted struct {
+ PreviousOwner common.Address
+ NewOwner common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_TaikoToken *TaikoTokenFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TaikoTokenOwnershipTransferStartedIterator, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.FilterLogs(opts, "OwnershipTransferStarted", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenOwnershipTransferStartedIterator{contract: _TaikoToken.contract, event: "OwnershipTransferStarted", logs: logs, sub: sub}, nil
+}
+
+// WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_TaikoToken *TaikoTokenFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *TaikoTokenOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.WatchLogs(opts, "OwnershipTransferStarted", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoTokenOwnershipTransferStarted)
+ if err := _TaikoToken.contract.UnpackLog(event, "OwnershipTransferStarted", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
+//
+// Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
+func (_TaikoToken *TaikoTokenFilterer) ParseOwnershipTransferStarted(log types.Log) (*TaikoTokenOwnershipTransferStarted, error) {
+ event := new(TaikoTokenOwnershipTransferStarted)
+ if err := _TaikoToken.contract.UnpackLog(event, "OwnershipTransferStarted", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the TaikoToken contract.
+type TaikoTokenOwnershipTransferredIterator struct {
+ Event *TaikoTokenOwnershipTransferred // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoTokenOwnershipTransferredIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenOwnershipTransferred)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenOwnershipTransferred)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoTokenOwnershipTransferredIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoTokenOwnershipTransferredIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoTokenOwnershipTransferred represents a OwnershipTransferred event raised by the TaikoToken contract.
+type TaikoTokenOwnershipTransferred struct {
+ PreviousOwner common.Address
+ NewOwner common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_TaikoToken *TaikoTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TaikoTokenOwnershipTransferredIterator, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.FilterLogs(opts, "OwnershipTransferred", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenOwnershipTransferredIterator{contract: _TaikoToken.contract, event: "OwnershipTransferred", logs: logs, sub: sub}, nil
+}
+
+// WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_TaikoToken *TaikoTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TaikoTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) {
+
+ var previousOwnerRule []interface{}
+ for _, previousOwnerItem := range previousOwner {
+ previousOwnerRule = append(previousOwnerRule, previousOwnerItem)
+ }
+ var newOwnerRule []interface{}
+ for _, newOwnerItem := range newOwner {
+ newOwnerRule = append(newOwnerRule, newOwnerItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.WatchLogs(opts, "OwnershipTransferred", previousOwnerRule, newOwnerRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoTokenOwnershipTransferred)
+ if err := _TaikoToken.contract.UnpackLog(event, "OwnershipTransferred", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
+//
+// Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
+func (_TaikoToken *TaikoTokenFilterer) ParseOwnershipTransferred(log types.Log) (*TaikoTokenOwnershipTransferred, error) {
+ event := new(TaikoTokenOwnershipTransferred)
+ if err := _TaikoToken.contract.UnpackLog(event, "OwnershipTransferred", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoTokenPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the TaikoToken contract.
+type TaikoTokenPausedIterator struct {
+ Event *TaikoTokenPaused // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoTokenPausedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenPaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenPaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoTokenPausedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoTokenPausedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoTokenPaused represents a Paused event raised by the TaikoToken contract.
+type TaikoTokenPaused struct {
+ Account common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
+//
+// Solidity: event Paused(address account)
+func (_TaikoToken *TaikoTokenFilterer) FilterPaused(opts *bind.FilterOpts) (*TaikoTokenPausedIterator, error) {
+
+ logs, sub, err := _TaikoToken.contract.FilterLogs(opts, "Paused")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenPausedIterator{contract: _TaikoToken.contract, event: "Paused", logs: logs, sub: sub}, nil
+}
+
+// WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
+//
+// Solidity: event Paused(address account)
+func (_TaikoToken *TaikoTokenFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *TaikoTokenPaused) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoToken.contract.WatchLogs(opts, "Paused")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoTokenPaused)
+ if err := _TaikoToken.contract.UnpackLog(event, "Paused", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
+//
+// Solidity: event Paused(address account)
+func (_TaikoToken *TaikoTokenFilterer) ParsePaused(log types.Log) (*TaikoTokenPaused, error) {
+ event := new(TaikoTokenPaused)
+ if err := _TaikoToken.contract.UnpackLog(event, "Paused", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoTokenResolverUpdatedIterator is returned from FilterResolverUpdated and is used to iterate over the raw logs and unpacked data for ResolverUpdated events raised by the TaikoToken contract.
+type TaikoTokenResolverUpdatedIterator struct {
+ Event *TaikoTokenResolverUpdated // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoTokenResolverUpdatedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenResolverUpdated)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenResolverUpdated)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoTokenResolverUpdatedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoTokenResolverUpdatedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoTokenResolverUpdated represents a ResolverUpdated event raised by the TaikoToken contract.
+type TaikoTokenResolverUpdated struct {
+ OldResolver common.Address
+ NewResolver common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterResolverUpdated is a free log retrieval operation binding the contract event 0x84b83d2b66cac119ccaaca68b476b0dc5371d5f2fd27f697770a910175fd38b6.
+//
+// Solidity: event ResolverUpdated(address oldResolver, address newResolver)
+func (_TaikoToken *TaikoTokenFilterer) FilterResolverUpdated(opts *bind.FilterOpts) (*TaikoTokenResolverUpdatedIterator, error) {
+
+ logs, sub, err := _TaikoToken.contract.FilterLogs(opts, "ResolverUpdated")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenResolverUpdatedIterator{contract: _TaikoToken.contract, event: "ResolverUpdated", logs: logs, sub: sub}, nil
+}
+
+// WatchResolverUpdated is a free log subscription operation binding the contract event 0x84b83d2b66cac119ccaaca68b476b0dc5371d5f2fd27f697770a910175fd38b6.
+//
+// Solidity: event ResolverUpdated(address oldResolver, address newResolver)
+func (_TaikoToken *TaikoTokenFilterer) WatchResolverUpdated(opts *bind.WatchOpts, sink chan<- *TaikoTokenResolverUpdated) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoToken.contract.WatchLogs(opts, "ResolverUpdated")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoTokenResolverUpdated)
+ if err := _TaikoToken.contract.UnpackLog(event, "ResolverUpdated", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseResolverUpdated is a log parse operation binding the contract event 0x84b83d2b66cac119ccaaca68b476b0dc5371d5f2fd27f697770a910175fd38b6.
+//
+// Solidity: event ResolverUpdated(address oldResolver, address newResolver)
+func (_TaikoToken *TaikoTokenFilterer) ParseResolverUpdated(log types.Log) (*TaikoTokenResolverUpdated, error) {
+ event := new(TaikoTokenResolverUpdated)
+ if err := _TaikoToken.contract.UnpackLog(event, "ResolverUpdated", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the TaikoToken contract.
+type TaikoTokenTransferIterator struct {
+ Event *TaikoTokenTransfer // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoTokenTransferIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenTransfer)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenTransfer)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoTokenTransferIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoTokenTransferIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoTokenTransfer represents a Transfer event raised by the TaikoToken contract.
+type TaikoTokenTransfer struct {
+ From common.Address
+ To common.Address
+ Value *big.Int
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
+//
+// Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
+func (_TaikoToken *TaikoTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TaikoTokenTransferIterator, error) {
+
+ var fromRule []interface{}
+ for _, fromItem := range from {
+ fromRule = append(fromRule, fromItem)
+ }
+ var toRule []interface{}
+ for _, toItem := range to {
+ toRule = append(toRule, toItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.FilterLogs(opts, "Transfer", fromRule, toRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenTransferIterator{contract: _TaikoToken.contract, event: "Transfer", logs: logs, sub: sub}, nil
+}
+
+// WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
+//
+// Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
+func (_TaikoToken *TaikoTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TaikoTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error) {
+
+ var fromRule []interface{}
+ for _, fromItem := range from {
+ fromRule = append(fromRule, fromItem)
+ }
+ var toRule []interface{}
+ for _, toItem := range to {
+ toRule = append(toRule, toItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.WatchLogs(opts, "Transfer", fromRule, toRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoTokenTransfer)
+ if err := _TaikoToken.contract.UnpackLog(event, "Transfer", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
+//
+// Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
+func (_TaikoToken *TaikoTokenFilterer) ParseTransfer(log types.Log) (*TaikoTokenTransfer, error) {
+ event := new(TaikoTokenTransfer)
+ if err := _TaikoToken.contract.UnpackLog(event, "Transfer", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoTokenUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the TaikoToken contract.
+type TaikoTokenUnpausedIterator struct {
+ Event *TaikoTokenUnpaused // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoTokenUnpausedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenUnpaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenUnpaused)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoTokenUnpausedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoTokenUnpausedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoTokenUnpaused represents a Unpaused event raised by the TaikoToken contract.
+type TaikoTokenUnpaused struct {
+ Account common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
+//
+// Solidity: event Unpaused(address account)
+func (_TaikoToken *TaikoTokenFilterer) FilterUnpaused(opts *bind.FilterOpts) (*TaikoTokenUnpausedIterator, error) {
+
+ logs, sub, err := _TaikoToken.contract.FilterLogs(opts, "Unpaused")
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenUnpausedIterator{contract: _TaikoToken.contract, event: "Unpaused", logs: logs, sub: sub}, nil
+}
+
+// WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
+//
+// Solidity: event Unpaused(address account)
+func (_TaikoToken *TaikoTokenFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *TaikoTokenUnpaused) (event.Subscription, error) {
+
+ logs, sub, err := _TaikoToken.contract.WatchLogs(opts, "Unpaused")
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoTokenUnpaused)
+ if err := _TaikoToken.contract.UnpackLog(event, "Unpaused", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
+//
+// Solidity: event Unpaused(address account)
+func (_TaikoToken *TaikoTokenFilterer) ParseUnpaused(log types.Log) (*TaikoTokenUnpaused, error) {
+ event := new(TaikoTokenUnpaused)
+ if err := _TaikoToken.contract.UnpackLog(event, "Unpaused", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
+
+// TaikoTokenUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the TaikoToken contract.
+type TaikoTokenUpgradedIterator struct {
+ Event *TaikoTokenUpgraded // Event containing the contract specifics and raw log
+
+ contract *bind.BoundContract // Generic contract to use for unpacking event data
+ event string // Event name to use for unpacking event data
+
+ logs chan types.Log // Log channel receiving the found contract events
+ sub ethereum.Subscription // Subscription for errors, completion and termination
+ done bool // Whether the subscription completed delivering logs
+ fail error // Occurred error to stop iteration
+}
+
+// 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.
+func (it *TaikoTokenUpgradedIterator) Next() bool {
+ // If the iterator failed, stop iterating
+ if it.fail != nil {
+ return false
+ }
+ // If the iterator completed, deliver directly whatever's available
+ if it.done {
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ default:
+ return false
+ }
+ }
+ // Iterator still in progress, wait for either a data or an error event
+ select {
+ case log := <-it.logs:
+ it.Event = new(TaikoTokenUpgraded)
+ if err := it.contract.UnpackLog(it.Event, it.event, log); err != nil {
+ it.fail = err
+ return false
+ }
+ it.Event.Raw = log
+ return true
+
+ case err := <-it.sub.Err():
+ it.done = true
+ it.fail = err
+ return it.Next()
+ }
+}
+
+// Error returns any retrieval or parsing error occurred during filtering.
+func (it *TaikoTokenUpgradedIterator) Error() error {
+ return it.fail
+}
+
+// Close terminates the iteration process, releasing any pending underlying
+// resources.
+func (it *TaikoTokenUpgradedIterator) Close() error {
+ it.sub.Unsubscribe()
+ return nil
+}
+
+// TaikoTokenUpgraded represents a Upgraded event raised by the TaikoToken contract.
+type TaikoTokenUpgraded struct {
+ Implementation common.Address
+ Raw types.Log // Blockchain specific contextual infos
+}
+
+// FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_TaikoToken *TaikoTokenFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*TaikoTokenUpgradedIterator, error) {
+
+ var implementationRule []interface{}
+ for _, implementationItem := range implementation {
+ implementationRule = append(implementationRule, implementationItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.FilterLogs(opts, "Upgraded", implementationRule)
+ if err != nil {
+ return nil, err
+ }
+ return &TaikoTokenUpgradedIterator{contract: _TaikoToken.contract, event: "Upgraded", logs: logs, sub: sub}, nil
+}
+
+// WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_TaikoToken *TaikoTokenFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *TaikoTokenUpgraded, implementation []common.Address) (event.Subscription, error) {
+
+ var implementationRule []interface{}
+ for _, implementationItem := range implementation {
+ implementationRule = append(implementationRule, implementationItem)
+ }
+
+ logs, sub, err := _TaikoToken.contract.WatchLogs(opts, "Upgraded", implementationRule)
+ if err != nil {
+ return nil, err
+ }
+ return event.NewSubscription(func(quit <-chan struct{}) error {
+ defer sub.Unsubscribe()
+ for {
+ select {
+ case log := <-logs:
+ // New log arrived, parse the event and forward to the user
+ event := new(TaikoTokenUpgraded)
+ if err := _TaikoToken.contract.UnpackLog(event, "Upgraded", log); err != nil {
+ return err
+ }
+ event.Raw = log
+
+ select {
+ case sink <- event:
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ case err := <-sub.Err():
+ return err
+ case <-quit:
+ return nil
+ }
+ }
+ }), nil
+}
+
+// ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
+//
+// Solidity: event Upgraded(address indexed implementation)
+func (_TaikoToken *TaikoTokenFilterer) ParseUpgraded(log types.Log) (*TaikoTokenUpgraded, error) {
+ event := new(TaikoTokenUpgraded)
+ if err := _TaikoToken.contract.UnpackLog(event, "Upgraded", log); err != nil {
+ return nil, err
+ }
+ event.Raw = log
+ return event, nil
+}
diff --git a/packages/taiko-client/scripts/gen_bindings.sh b/packages/taiko-client/scripts/gen_bindings.sh
index ade1ce8658..0142a17102 100755
--- a/packages/taiko-client/scripts/gen_bindings.sh
+++ b/packages/taiko-client/scripts/gen_bindings.sh
@@ -51,6 +51,10 @@ cat ../protocol/out/layer1/ProverSet.sol/ProverSet.json |
jq .abi |
${ABIGEN_BIN} --abi - --type ProverSet --pkg ${FORK} --out $DIR/../bindings/${FORK}/gen_prover_set.go
+cat ../protocol/out/layer1/ForkManager.sol/ForkManager.json |
+ jq .abi |
+ ${ABIGEN_BIN} --abi - --type ForkManager --pkg ${FORK} --out $DIR/../bindings/${FORK}/gen_fork_manager.go
+
git -C ../../ log --format="%H" -n 1 >./bindings/${FORK}/.githead
echo "🻠Go contract bindings generated!"