taikol2

package
v0.0.0-...-3966bb1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TaikoL2ABI = TaikoL2MetaData.ABI

TaikoL2ABI is the input ABI used to generate the binding from. Deprecated: Use TaikoL2MetaData.ABI instead.

View Source
var TaikoL2MetaData = &bind.MetaData{
	ABI: "[{\"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\":\"addressManager\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"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\":\"gasExcess\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getBasefee\",\"inputs\":[{\"name\":\"_l1BlockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_parentGasUsed\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[{\"name\":\"basefee_\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"gasExcess_\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getBlockHash\",\"inputs\":[{\"name\":\"_blockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getConfig\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structLibL2Config.Config\",\"components\":[{\"name\":\"gasTargetPerL1Block\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"basefeeAdjustmentQuotient\",\"type\":\"uint8\",\"internalType\":\"uint8\"}]}],\"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\":\"_addressManager\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_l1ChainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_gasExcess\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"l1ChainId\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"l2Hashes\",\"inputs\":[{\"name\":\"blockId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"lastSyncedBlock\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"lastUnpausedAt\",\"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\":\"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\":\"addresspayable\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"addresspayable\"}],\"stateMutability\":\"view\"},{\"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\":\"gasExcess\",\"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\":\"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\":\"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\":\"EIP1559_INVALID_PARAMS\",\"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_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\":\"Overflow\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"REENTRANT_CALL\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_DENIED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_INVALID_MANAGER\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_UNEXPECTED_CHAINID\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_ZERO_ADDR\",\"inputs\":[{\"name\":\"chainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"ZERO_ADDRESS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_VALUE\",\"inputs\":[]}]",
}

TaikoL2MetaData contains all meta data concerning the TaikoL2 contract.

Functions

This section is empty.

Types

type LibL2ConfigConfig

type LibL2ConfigConfig struct {
	GasTargetPerL1Block       uint32
	BasefeeAdjustmentQuotient uint8
}

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

type TaikoL2

type TaikoL2 struct {
	TaikoL2Caller     // Read-only binding to the contract
	TaikoL2Transactor // Write-only binding to the contract
	TaikoL2Filterer   // Log filterer for contract events
}

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

func NewTaikoL2

func NewTaikoL2(address common.Address, backend bind.ContractBackend) (*TaikoL2, error)

NewTaikoL2 creates a new instance of TaikoL2, bound to a specific deployed contract.

type TaikoL2AdminChanged

type TaikoL2AdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

TaikoL2AdminChanged represents a AdminChanged event raised by the TaikoL2 contract.

type TaikoL2AdminChangedIterator

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

TaikoL2AdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the TaikoL2 contract.

func (*TaikoL2AdminChangedIterator) Close

func (it *TaikoL2AdminChangedIterator) Close() error

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

func (*TaikoL2AdminChangedIterator) Error

func (it *TaikoL2AdminChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL2AdminChangedIterator) Next

func (it *TaikoL2AdminChangedIterator) Next() bool

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

type TaikoL2Anchored

type TaikoL2Anchored struct {
	ParentHash [32]byte
	GasExcess  uint64
	Raw        types.Log // Blockchain specific contextual infos
}

TaikoL2Anchored represents a Anchored event raised by the TaikoL2 contract.

type TaikoL2AnchoredIterator

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

TaikoL2AnchoredIterator is returned from FilterAnchored and is used to iterate over the raw logs and unpacked data for Anchored events raised by the TaikoL2 contract.

func (*TaikoL2AnchoredIterator) Close

func (it *TaikoL2AnchoredIterator) Close() error

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

func (*TaikoL2AnchoredIterator) Error

func (it *TaikoL2AnchoredIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL2AnchoredIterator) Next

func (it *TaikoL2AnchoredIterator) Next() bool

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

type TaikoL2BeaconUpgraded

type TaikoL2BeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

TaikoL2BeaconUpgraded represents a BeaconUpgraded event raised by the TaikoL2 contract.

type TaikoL2BeaconUpgradedIterator

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

TaikoL2BeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the TaikoL2 contract.

func (*TaikoL2BeaconUpgradedIterator) Close

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

func (*TaikoL2BeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL2BeaconUpgradedIterator) Next

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

type TaikoL2Caller

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

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

func NewTaikoL2Caller

func NewTaikoL2Caller(address common.Address, caller bind.ContractCaller) (*TaikoL2Caller, error)

NewTaikoL2Caller creates a new read-only instance of TaikoL2, bound to a specific deployed contract.

func (*TaikoL2Caller) AddressManager

func (_TaikoL2 *TaikoL2Caller) AddressManager(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function addressManager() view returns(address)

func (*TaikoL2Caller) GOLDENTOUCHADDRESS

func (_TaikoL2 *TaikoL2Caller) GOLDENTOUCHADDRESS(opts *bind.CallOpts) (common.Address, error)

GOLDENTOUCHADDRESS is a free data retrieval call binding the contract method 0x9ee512f2.

Solidity: function GOLDEN_TOUCH_ADDRESS() view returns(address)

func (*TaikoL2Caller) GasExcess

func (_TaikoL2 *TaikoL2Caller) GasExcess(opts *bind.CallOpts) (uint64, error)

GasExcess is a free data retrieval call binding the contract method 0xf535bd56.

Solidity: function gasExcess() view returns(uint64)

func (*TaikoL2Caller) GetBasefee

func (_TaikoL2 *TaikoL2Caller) GetBasefee(opts *bind.CallOpts, _l1BlockId uint64, _parentGasUsed uint32) (struct {
	Basefee   *big.Int
	GasExcess uint64
}, error)

GetBasefee is a free data retrieval call binding the contract method 0xa7e022d1.

Solidity: function getBasefee(uint64 _l1BlockId, uint32 _parentGasUsed) view returns(uint256 basefee_, uint64 gasExcess_)

func (*TaikoL2Caller) GetBlockHash

func (_TaikoL2 *TaikoL2Caller) GetBlockHash(opts *bind.CallOpts, _blockId uint64) ([32]byte, error)

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

Solidity: function getBlockHash(uint64 _blockId) view returns(bytes32)

func (*TaikoL2Caller) GetConfig

func (_TaikoL2 *TaikoL2Caller) GetConfig(opts *bind.CallOpts) (LibL2ConfigConfig, error)

GetConfig is a free data retrieval call binding the contract method 0xc3f909d4.

Solidity: function getConfig() view returns((uint32,uint8))

func (*TaikoL2Caller) Impl

func (_TaikoL2 *TaikoL2Caller) Impl(opts *bind.CallOpts) (common.Address, error)

Impl is a free data retrieval call binding the contract method 0x8abf6077.

Solidity: function impl() view returns(address)

func (*TaikoL2Caller) InNonReentrant

func (_TaikoL2 *TaikoL2Caller) InNonReentrant(opts *bind.CallOpts) (bool, error)

InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.

Solidity: function inNonReentrant() view returns(bool)

func (*TaikoL2Caller) L1ChainId

func (_TaikoL2 *TaikoL2Caller) L1ChainId(opts *bind.CallOpts) (uint64, error)

L1ChainId is a free data retrieval call binding the contract method 0x12622e5b.

Solidity: function l1ChainId() view returns(uint64)

func (*TaikoL2Caller) L2Hashes

func (_TaikoL2 *TaikoL2Caller) L2Hashes(opts *bind.CallOpts, blockId *big.Int) ([32]byte, error)

L2Hashes is a free data retrieval call binding the contract method 0x8551f41e.

Solidity: function l2Hashes(uint256 blockId) view returns(bytes32 blockHash)

func (*TaikoL2Caller) LastSyncedBlock

func (_TaikoL2 *TaikoL2Caller) LastSyncedBlock(opts *bind.CallOpts) (uint64, error)

LastSyncedBlock is a free data retrieval call binding the contract method 0x33d5ac9b.

Solidity: function lastSyncedBlock() view returns(uint64)

func (*TaikoL2Caller) LastUnpausedAt

func (_TaikoL2 *TaikoL2Caller) LastUnpausedAt(opts *bind.CallOpts) (uint64, error)

LastUnpausedAt is a free data retrieval call binding the contract method 0xe07baba6.

Solidity: function lastUnpausedAt() view returns(uint64)

func (*TaikoL2Caller) Owner

func (_TaikoL2 *TaikoL2Caller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TaikoL2Caller) Paused

func (_TaikoL2 *TaikoL2Caller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*TaikoL2Caller) PendingOwner

func (_TaikoL2 *TaikoL2Caller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*TaikoL2Caller) ProxiableUUID

func (_TaikoL2 *TaikoL2Caller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*TaikoL2Caller) PublicInputHash

func (_TaikoL2 *TaikoL2Caller) PublicInputHash(opts *bind.CallOpts) ([32]byte, error)

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

Solidity: function publicInputHash() view returns(bytes32)

func (*TaikoL2Caller) Resolve

func (_TaikoL2 *TaikoL2Caller) Resolve(opts *bind.CallOpts, _chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)

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 (*TaikoL2Caller) Resolve0

func (_TaikoL2 *TaikoL2Caller) Resolve0(opts *bind.CallOpts, _name [32]byte, _allowZeroAddress bool) (common.Address, error)

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

Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)

func (*TaikoL2Caller) SkipFeeCheck

func (_TaikoL2 *TaikoL2Caller) SkipFeeCheck(opts *bind.CallOpts) (bool, error)

SkipFeeCheck is a free data retrieval call binding the contract method 0x2f980473.

Solidity: function skipFeeCheck() pure returns(bool)

type TaikoL2CallerRaw

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

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

func (*TaikoL2CallerRaw) Call

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

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

type TaikoL2CallerSession

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

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

func (*TaikoL2CallerSession) AddressManager

func (_TaikoL2 *TaikoL2CallerSession) AddressManager() (common.Address, error)

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

Solidity: function addressManager() view returns(address)

func (*TaikoL2CallerSession) GOLDENTOUCHADDRESS

func (_TaikoL2 *TaikoL2CallerSession) GOLDENTOUCHADDRESS() (common.Address, error)

GOLDENTOUCHADDRESS is a free data retrieval call binding the contract method 0x9ee512f2.

Solidity: function GOLDEN_TOUCH_ADDRESS() view returns(address)

func (*TaikoL2CallerSession) GasExcess

func (_TaikoL2 *TaikoL2CallerSession) GasExcess() (uint64, error)

GasExcess is a free data retrieval call binding the contract method 0xf535bd56.

Solidity: function gasExcess() view returns(uint64)

func (*TaikoL2CallerSession) GetBasefee

func (_TaikoL2 *TaikoL2CallerSession) GetBasefee(_l1BlockId uint64, _parentGasUsed uint32) (struct {
	Basefee   *big.Int
	GasExcess uint64
}, error)

GetBasefee is a free data retrieval call binding the contract method 0xa7e022d1.

Solidity: function getBasefee(uint64 _l1BlockId, uint32 _parentGasUsed) view returns(uint256 basefee_, uint64 gasExcess_)

func (*TaikoL2CallerSession) GetBlockHash

func (_TaikoL2 *TaikoL2CallerSession) GetBlockHash(_blockId uint64) ([32]byte, error)

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

Solidity: function getBlockHash(uint64 _blockId) view returns(bytes32)

func (*TaikoL2CallerSession) GetConfig

func (_TaikoL2 *TaikoL2CallerSession) GetConfig() (LibL2ConfigConfig, error)

GetConfig is a free data retrieval call binding the contract method 0xc3f909d4.

Solidity: function getConfig() view returns((uint32,uint8))

func (*TaikoL2CallerSession) Impl

func (_TaikoL2 *TaikoL2CallerSession) Impl() (common.Address, error)

Impl is a free data retrieval call binding the contract method 0x8abf6077.

Solidity: function impl() view returns(address)

func (*TaikoL2CallerSession) InNonReentrant

func (_TaikoL2 *TaikoL2CallerSession) InNonReentrant() (bool, error)

InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.

Solidity: function inNonReentrant() view returns(bool)

func (*TaikoL2CallerSession) L1ChainId

func (_TaikoL2 *TaikoL2CallerSession) L1ChainId() (uint64, error)

L1ChainId is a free data retrieval call binding the contract method 0x12622e5b.

Solidity: function l1ChainId() view returns(uint64)

func (*TaikoL2CallerSession) L2Hashes

func (_TaikoL2 *TaikoL2CallerSession) L2Hashes(blockId *big.Int) ([32]byte, error)

L2Hashes is a free data retrieval call binding the contract method 0x8551f41e.

Solidity: function l2Hashes(uint256 blockId) view returns(bytes32 blockHash)

func (*TaikoL2CallerSession) LastSyncedBlock

func (_TaikoL2 *TaikoL2CallerSession) LastSyncedBlock() (uint64, error)

LastSyncedBlock is a free data retrieval call binding the contract method 0x33d5ac9b.

Solidity: function lastSyncedBlock() view returns(uint64)

func (*TaikoL2CallerSession) LastUnpausedAt

func (_TaikoL2 *TaikoL2CallerSession) LastUnpausedAt() (uint64, error)

LastUnpausedAt is a free data retrieval call binding the contract method 0xe07baba6.

Solidity: function lastUnpausedAt() view returns(uint64)

func (*TaikoL2CallerSession) Owner

func (_TaikoL2 *TaikoL2CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TaikoL2CallerSession) Paused

func (_TaikoL2 *TaikoL2CallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*TaikoL2CallerSession) PendingOwner

func (_TaikoL2 *TaikoL2CallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*TaikoL2CallerSession) ProxiableUUID

func (_TaikoL2 *TaikoL2CallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*TaikoL2CallerSession) PublicInputHash

func (_TaikoL2 *TaikoL2CallerSession) PublicInputHash() ([32]byte, error)

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

Solidity: function publicInputHash() view returns(bytes32)

func (*TaikoL2CallerSession) Resolve

func (_TaikoL2 *TaikoL2CallerSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)

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 (*TaikoL2CallerSession) Resolve0

func (_TaikoL2 *TaikoL2CallerSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error)

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

Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)

func (*TaikoL2CallerSession) SkipFeeCheck

func (_TaikoL2 *TaikoL2CallerSession) SkipFeeCheck() (bool, error)

SkipFeeCheck is a free data retrieval call binding the contract method 0x2f980473.

Solidity: function skipFeeCheck() pure returns(bool)

type TaikoL2Filterer

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

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

func NewTaikoL2Filterer

func NewTaikoL2Filterer(address common.Address, filterer bind.ContractFilterer) (*TaikoL2Filterer, error)

NewTaikoL2Filterer creates a new log filterer instance of TaikoL2, bound to a specific deployed contract.

func (*TaikoL2Filterer) FilterAdminChanged

func (_TaikoL2 *TaikoL2Filterer) FilterAdminChanged(opts *bind.FilterOpts) (*TaikoL2AdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*TaikoL2Filterer) FilterAnchored

func (_TaikoL2 *TaikoL2Filterer) FilterAnchored(opts *bind.FilterOpts) (*TaikoL2AnchoredIterator, error)

FilterAnchored is a free log retrieval operation binding the contract event 0x41c3f410f5c8ac36bb46b1dccef0de0f964087c9e688795fa02ecfa2c20b3fe4.

Solidity: event Anchored(bytes32 parentHash, uint64 gasExcess)

func (*TaikoL2Filterer) FilterBeaconUpgraded

func (_TaikoL2 *TaikoL2Filterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*TaikoL2BeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*TaikoL2Filterer) FilterInitialized

func (_TaikoL2 *TaikoL2Filterer) FilterInitialized(opts *bind.FilterOpts) (*TaikoL2InitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*TaikoL2Filterer) FilterOwnershipTransferStarted

func (_TaikoL2 *TaikoL2Filterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TaikoL2OwnershipTransferStartedIterator, error)

FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

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

func (*TaikoL2Filterer) FilterOwnershipTransferred

func (_TaikoL2 *TaikoL2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TaikoL2OwnershipTransferredIterator, error)

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

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

func (*TaikoL2Filterer) FilterPaused

func (_TaikoL2 *TaikoL2Filterer) FilterPaused(opts *bind.FilterOpts) (*TaikoL2PausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*TaikoL2Filterer) FilterUnpaused

func (_TaikoL2 *TaikoL2Filterer) FilterUnpaused(opts *bind.FilterOpts) (*TaikoL2UnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*TaikoL2Filterer) FilterUpgraded

func (_TaikoL2 *TaikoL2Filterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*TaikoL2UpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*TaikoL2Filterer) ParseAdminChanged

func (_TaikoL2 *TaikoL2Filterer) ParseAdminChanged(log types.Log) (*TaikoL2AdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*TaikoL2Filterer) ParseAnchored

func (_TaikoL2 *TaikoL2Filterer) ParseAnchored(log types.Log) (*TaikoL2Anchored, error)

ParseAnchored is a log parse operation binding the contract event 0x41c3f410f5c8ac36bb46b1dccef0de0f964087c9e688795fa02ecfa2c20b3fe4.

Solidity: event Anchored(bytes32 parentHash, uint64 gasExcess)

func (*TaikoL2Filterer) ParseBeaconUpgraded

func (_TaikoL2 *TaikoL2Filterer) ParseBeaconUpgraded(log types.Log) (*TaikoL2BeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*TaikoL2Filterer) ParseInitialized

func (_TaikoL2 *TaikoL2Filterer) ParseInitialized(log types.Log) (*TaikoL2Initialized, error)

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

Solidity: event Initialized(uint8 version)

func (*TaikoL2Filterer) ParseOwnershipTransferStarted

func (_TaikoL2 *TaikoL2Filterer) ParseOwnershipTransferStarted(log types.Log) (*TaikoL2OwnershipTransferStarted, error)

ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

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

func (*TaikoL2Filterer) ParseOwnershipTransferred

func (_TaikoL2 *TaikoL2Filterer) ParseOwnershipTransferred(log types.Log) (*TaikoL2OwnershipTransferred, error)

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

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

func (*TaikoL2Filterer) ParsePaused

func (_TaikoL2 *TaikoL2Filterer) ParsePaused(log types.Log) (*TaikoL2Paused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*TaikoL2Filterer) ParseUnpaused

func (_TaikoL2 *TaikoL2Filterer) ParseUnpaused(log types.Log) (*TaikoL2Unpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*TaikoL2Filterer) ParseUpgraded

func (_TaikoL2 *TaikoL2Filterer) ParseUpgraded(log types.Log) (*TaikoL2Upgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*TaikoL2Filterer) WatchAdminChanged

func (_TaikoL2 *TaikoL2Filterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *TaikoL2AdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*TaikoL2Filterer) WatchAnchored

func (_TaikoL2 *TaikoL2Filterer) WatchAnchored(opts *bind.WatchOpts, sink chan<- *TaikoL2Anchored) (event.Subscription, error)

WatchAnchored is a free log subscription operation binding the contract event 0x41c3f410f5c8ac36bb46b1dccef0de0f964087c9e688795fa02ecfa2c20b3fe4.

Solidity: event Anchored(bytes32 parentHash, uint64 gasExcess)

func (*TaikoL2Filterer) WatchBeaconUpgraded

func (_TaikoL2 *TaikoL2Filterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *TaikoL2BeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*TaikoL2Filterer) WatchInitialized

func (_TaikoL2 *TaikoL2Filterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TaikoL2Initialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*TaikoL2Filterer) WatchOwnershipTransferStarted

func (_TaikoL2 *TaikoL2Filterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *TaikoL2OwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.

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

func (*TaikoL2Filterer) WatchOwnershipTransferred

func (_TaikoL2 *TaikoL2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TaikoL2OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*TaikoL2Filterer) WatchPaused

func (_TaikoL2 *TaikoL2Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *TaikoL2Paused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*TaikoL2Filterer) WatchUnpaused

func (_TaikoL2 *TaikoL2Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *TaikoL2Unpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*TaikoL2Filterer) WatchUpgraded

func (_TaikoL2 *TaikoL2Filterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *TaikoL2Upgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

type TaikoL2Initialized

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

TaikoL2Initialized represents a Initialized event raised by the TaikoL2 contract.

type TaikoL2InitializedIterator

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

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

func (*TaikoL2InitializedIterator) Close

func (it *TaikoL2InitializedIterator) Close() error

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

func (*TaikoL2InitializedIterator) Error

func (it *TaikoL2InitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL2InitializedIterator) Next

func (it *TaikoL2InitializedIterator) Next() bool

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

type TaikoL2OwnershipTransferStarted

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

TaikoL2OwnershipTransferStarted represents a OwnershipTransferStarted event raised by the TaikoL2 contract.

type TaikoL2OwnershipTransferStartedIterator

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

TaikoL2OwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the TaikoL2 contract.

func (*TaikoL2OwnershipTransferStartedIterator) Close

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

func (*TaikoL2OwnershipTransferStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL2OwnershipTransferStartedIterator) Next

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

type TaikoL2OwnershipTransferred

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

TaikoL2OwnershipTransferred represents a OwnershipTransferred event raised by the TaikoL2 contract.

type TaikoL2OwnershipTransferredIterator

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

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

func (*TaikoL2OwnershipTransferredIterator) Close

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

func (*TaikoL2OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL2OwnershipTransferredIterator) Next

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

type TaikoL2Paused

type TaikoL2Paused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

TaikoL2Paused represents a Paused event raised by the TaikoL2 contract.

type TaikoL2PausedIterator

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

TaikoL2PausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the TaikoL2 contract.

func (*TaikoL2PausedIterator) Close

func (it *TaikoL2PausedIterator) Close() error

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

func (*TaikoL2PausedIterator) Error

func (it *TaikoL2PausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL2PausedIterator) Next

func (it *TaikoL2PausedIterator) Next() bool

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

type TaikoL2Raw

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

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

func (*TaikoL2Raw) Call

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

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

func (*TaikoL2Raw) Transact

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

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

func (*TaikoL2Raw) Transfer

func (_TaikoL2 *TaikoL2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type TaikoL2Session

type TaikoL2Session struct {
	Contract     *TaikoL2          // 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
}

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

func (*TaikoL2Session) AcceptOwnership

func (_TaikoL2 *TaikoL2Session) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*TaikoL2Session) AddressManager

func (_TaikoL2 *TaikoL2Session) AddressManager() (common.Address, error)

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

Solidity: function addressManager() view returns(address)

func (*TaikoL2Session) Anchor

func (_TaikoL2 *TaikoL2Session) Anchor(_l1BlockHash [32]byte, _l1StateRoot [32]byte, _l1BlockId uint64, _parentGasUsed uint32) (*types.Transaction, error)

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

Solidity: function anchor(bytes32 _l1BlockHash, bytes32 _l1StateRoot, uint64 _l1BlockId, uint32 _parentGasUsed) returns()

func (*TaikoL2Session) GOLDENTOUCHADDRESS

func (_TaikoL2 *TaikoL2Session) GOLDENTOUCHADDRESS() (common.Address, error)

GOLDENTOUCHADDRESS is a free data retrieval call binding the contract method 0x9ee512f2.

Solidity: function GOLDEN_TOUCH_ADDRESS() view returns(address)

func (*TaikoL2Session) GasExcess

func (_TaikoL2 *TaikoL2Session) GasExcess() (uint64, error)

GasExcess is a free data retrieval call binding the contract method 0xf535bd56.

Solidity: function gasExcess() view returns(uint64)

func (*TaikoL2Session) GetBasefee

func (_TaikoL2 *TaikoL2Session) GetBasefee(_l1BlockId uint64, _parentGasUsed uint32) (struct {
	Basefee   *big.Int
	GasExcess uint64
}, error)

GetBasefee is a free data retrieval call binding the contract method 0xa7e022d1.

Solidity: function getBasefee(uint64 _l1BlockId, uint32 _parentGasUsed) view returns(uint256 basefee_, uint64 gasExcess_)

func (*TaikoL2Session) GetBlockHash

func (_TaikoL2 *TaikoL2Session) GetBlockHash(_blockId uint64) ([32]byte, error)

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

Solidity: function getBlockHash(uint64 _blockId) view returns(bytes32)

func (*TaikoL2Session) GetConfig

func (_TaikoL2 *TaikoL2Session) GetConfig() (LibL2ConfigConfig, error)

GetConfig is a free data retrieval call binding the contract method 0xc3f909d4.

Solidity: function getConfig() view returns((uint32,uint8))

func (*TaikoL2Session) Impl

func (_TaikoL2 *TaikoL2Session) Impl() (common.Address, error)

Impl is a free data retrieval call binding the contract method 0x8abf6077.

Solidity: function impl() view returns(address)

func (*TaikoL2Session) InNonReentrant

func (_TaikoL2 *TaikoL2Session) InNonReentrant() (bool, error)

InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.

Solidity: function inNonReentrant() view returns(bool)

func (*TaikoL2Session) Init

func (_TaikoL2 *TaikoL2Session) Init(_owner common.Address, _addressManager common.Address, _l1ChainId uint64, _gasExcess uint64) (*types.Transaction, error)

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

Solidity: function init(address _owner, address _addressManager, uint64 _l1ChainId, uint64 _gasExcess) returns()

func (*TaikoL2Session) L1ChainId

func (_TaikoL2 *TaikoL2Session) L1ChainId() (uint64, error)

L1ChainId is a free data retrieval call binding the contract method 0x12622e5b.

Solidity: function l1ChainId() view returns(uint64)

func (*TaikoL2Session) L2Hashes

func (_TaikoL2 *TaikoL2Session) L2Hashes(blockId *big.Int) ([32]byte, error)

L2Hashes is a free data retrieval call binding the contract method 0x8551f41e.

Solidity: function l2Hashes(uint256 blockId) view returns(bytes32 blockHash)

func (*TaikoL2Session) LastSyncedBlock

func (_TaikoL2 *TaikoL2Session) LastSyncedBlock() (uint64, error)

LastSyncedBlock is a free data retrieval call binding the contract method 0x33d5ac9b.

Solidity: function lastSyncedBlock() view returns(uint64)

func (*TaikoL2Session) LastUnpausedAt

func (_TaikoL2 *TaikoL2Session) LastUnpausedAt() (uint64, error)

LastUnpausedAt is a free data retrieval call binding the contract method 0xe07baba6.

Solidity: function lastUnpausedAt() view returns(uint64)

func (*TaikoL2Session) Owner

func (_TaikoL2 *TaikoL2Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TaikoL2Session) Pause

func (_TaikoL2 *TaikoL2Session) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*TaikoL2Session) Paused

func (_TaikoL2 *TaikoL2Session) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*TaikoL2Session) PendingOwner

func (_TaikoL2 *TaikoL2Session) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*TaikoL2Session) ProxiableUUID

func (_TaikoL2 *TaikoL2Session) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*TaikoL2Session) PublicInputHash

func (_TaikoL2 *TaikoL2Session) PublicInputHash() ([32]byte, error)

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

Solidity: function publicInputHash() view returns(bytes32)

func (*TaikoL2Session) RenounceOwnership

func (_TaikoL2 *TaikoL2Session) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TaikoL2Session) Resolve

func (_TaikoL2 *TaikoL2Session) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)

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 (*TaikoL2Session) Resolve0

func (_TaikoL2 *TaikoL2Session) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error)

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

Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)

func (*TaikoL2Session) SkipFeeCheck

func (_TaikoL2 *TaikoL2Session) SkipFeeCheck() (bool, error)

SkipFeeCheck is a free data retrieval call binding the contract method 0x2f980473.

Solidity: function skipFeeCheck() pure returns(bool)

func (*TaikoL2Session) TransferOwnership

func (_TaikoL2 *TaikoL2Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*TaikoL2Session) Unpause

func (_TaikoL2 *TaikoL2Session) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*TaikoL2Session) UpgradeTo

func (_TaikoL2 *TaikoL2Session) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*TaikoL2Session) UpgradeToAndCall

func (_TaikoL2 *TaikoL2Session) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*TaikoL2Session) Withdraw

func (_TaikoL2 *TaikoL2Session) Withdraw(_token common.Address, _to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf940e385.

Solidity: function withdraw(address _token, address _to) returns()

type TaikoL2Transactor

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

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

func NewTaikoL2Transactor

func NewTaikoL2Transactor(address common.Address, transactor bind.ContractTransactor) (*TaikoL2Transactor, error)

NewTaikoL2Transactor creates a new write-only instance of TaikoL2, bound to a specific deployed contract.

func (*TaikoL2Transactor) AcceptOwnership

func (_TaikoL2 *TaikoL2Transactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*TaikoL2Transactor) Anchor

func (_TaikoL2 *TaikoL2Transactor) Anchor(opts *bind.TransactOpts, _l1BlockHash [32]byte, _l1StateRoot [32]byte, _l1BlockId uint64, _parentGasUsed uint32) (*types.Transaction, error)

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

Solidity: function anchor(bytes32 _l1BlockHash, bytes32 _l1StateRoot, uint64 _l1BlockId, uint32 _parentGasUsed) returns()

func (*TaikoL2Transactor) Init

func (_TaikoL2 *TaikoL2Transactor) Init(opts *bind.TransactOpts, _owner common.Address, _addressManager common.Address, _l1ChainId uint64, _gasExcess uint64) (*types.Transaction, error)

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

Solidity: function init(address _owner, address _addressManager, uint64 _l1ChainId, uint64 _gasExcess) returns()

func (*TaikoL2Transactor) Pause

func (_TaikoL2 *TaikoL2Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*TaikoL2Transactor) RenounceOwnership

func (_TaikoL2 *TaikoL2Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TaikoL2Transactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*TaikoL2Transactor) Unpause

func (_TaikoL2 *TaikoL2Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*TaikoL2Transactor) UpgradeTo

func (_TaikoL2 *TaikoL2Transactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*TaikoL2Transactor) UpgradeToAndCall

func (_TaikoL2 *TaikoL2Transactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*TaikoL2Transactor) Withdraw

func (_TaikoL2 *TaikoL2Transactor) Withdraw(opts *bind.TransactOpts, _token common.Address, _to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf940e385.

Solidity: function withdraw(address _token, address _to) returns()

type TaikoL2TransactorRaw

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

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

func (*TaikoL2TransactorRaw) Transact

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

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

func (*TaikoL2TransactorRaw) Transfer

func (_TaikoL2 *TaikoL2TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type TaikoL2TransactorSession

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

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

func (*TaikoL2TransactorSession) AcceptOwnership

func (_TaikoL2 *TaikoL2TransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*TaikoL2TransactorSession) Anchor

func (_TaikoL2 *TaikoL2TransactorSession) Anchor(_l1BlockHash [32]byte, _l1StateRoot [32]byte, _l1BlockId uint64, _parentGasUsed uint32) (*types.Transaction, error)

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

Solidity: function anchor(bytes32 _l1BlockHash, bytes32 _l1StateRoot, uint64 _l1BlockId, uint32 _parentGasUsed) returns()

func (*TaikoL2TransactorSession) Init

func (_TaikoL2 *TaikoL2TransactorSession) Init(_owner common.Address, _addressManager common.Address, _l1ChainId uint64, _gasExcess uint64) (*types.Transaction, error)

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

Solidity: function init(address _owner, address _addressManager, uint64 _l1ChainId, uint64 _gasExcess) returns()

func (*TaikoL2TransactorSession) Pause

func (_TaikoL2 *TaikoL2TransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*TaikoL2TransactorSession) RenounceOwnership

func (_TaikoL2 *TaikoL2TransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TaikoL2TransactorSession) TransferOwnership

func (_TaikoL2 *TaikoL2TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*TaikoL2TransactorSession) Unpause

func (_TaikoL2 *TaikoL2TransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*TaikoL2TransactorSession) UpgradeTo

func (_TaikoL2 *TaikoL2TransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*TaikoL2TransactorSession) UpgradeToAndCall

func (_TaikoL2 *TaikoL2TransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*TaikoL2TransactorSession) Withdraw

func (_TaikoL2 *TaikoL2TransactorSession) Withdraw(_token common.Address, _to common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf940e385.

Solidity: function withdraw(address _token, address _to) returns()

type TaikoL2Unpaused

type TaikoL2Unpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

TaikoL2Unpaused represents a Unpaused event raised by the TaikoL2 contract.

type TaikoL2UnpausedIterator

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

TaikoL2UnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the TaikoL2 contract.

func (*TaikoL2UnpausedIterator) Close

func (it *TaikoL2UnpausedIterator) Close() error

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

func (*TaikoL2UnpausedIterator) Error

func (it *TaikoL2UnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL2UnpausedIterator) Next

func (it *TaikoL2UnpausedIterator) Next() bool

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

type TaikoL2Upgraded

type TaikoL2Upgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

TaikoL2Upgraded represents a Upgraded event raised by the TaikoL2 contract.

type TaikoL2UpgradedIterator

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

TaikoL2UpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the TaikoL2 contract.

func (*TaikoL2UpgradedIterator) Close

func (it *TaikoL2UpgradedIterator) Close() error

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

func (*TaikoL2UpgradedIterator) Error

func (it *TaikoL2UpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TaikoL2UpgradedIterator) Next

func (it *TaikoL2UpgradedIterator) Next() bool

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

Jump to

Keyboard shortcuts

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