guardianprover

package
v0.3.1-0...-ee1233d Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GuardianProverABI = GuardianProverMetaData.ABI

GuardianProverABI is the input ABI used to generate the binding from. Deprecated: Use GuardianProverMetaData.ABI instead.

View Source
var GuardianProverMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"MIN_NUM_GUARDIANS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"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\":\"approve\",\"inputs\":[{\"name\":\"_meta\",\"type\":\"tuple\",\"internalType\":\"structTaikoData.BlockMetadata\",\"components\":[{\"name\":\"l1Hash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"difficulty\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blobHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"extraData\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"depositsHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"coinbase\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"id\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"gasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"timestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"l1Height\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"txListByteOffset\",\"type\":\"uint24\",\"internalType\":\"uint24\"},{\"name\":\"txListByteSize\",\"type\":\"uint24\",\"internalType\":\"uint24\"},{\"name\":\"minTier\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"blobUsed\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"parentMetaHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_tran\",\"type\":\"tuple\",\"internalType\":\"structTaikoData.Transition\",\"components\":[{\"name\":\"parentHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"graffiti\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_proof\",\"type\":\"tuple\",\"internalType\":\"structTaikoData.TierProof\",\"components\":[{\"name\":\"tier\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[{\"name\":\"approved_\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"guardianIds\",\"inputs\":[{\"name\":\"guardian\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"id\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"guardians\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"init\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_addressManager\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"isApproved\",\"inputs\":[{\"name\":\"_hash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"minGuardians\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"numGuardians\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"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\":\"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\":\"setGuardians\",\"inputs\":[{\"name\":\"_newGuardians\",\"type\":\"address[]\",\"internalType\":\"address[]\"},{\"name\":\"_minGuardians\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"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\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"stateMutability\":\"view\"},{\"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\":\"Approved\",\"inputs\":[{\"name\":\"operationId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"approvalBits\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"proofSubmitted\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BeaconUpgraded\",\"inputs\":[{\"name\":\"beacon\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"GuardianApproval\",\"inputs\":[{\"name\":\"addr\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"blockId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"blockHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"approved\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"GuardiansUpdated\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint32\",\"indexed\":false,\"internalType\":\"uint32\"},{\"name\":\"guardians\",\"type\":\"address[]\",\"indexed\":false,\"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\":\"INVALID_GUARDIAN\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"INVALID_GUARDIAN_SET\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"INVALID_MIN_GUARDIANS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"INVALID_PAUSE_STATUS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"INVALID_PROOF\",\"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_ADDR_MANAGER\",\"inputs\":[]}]",
}

GuardianProverMetaData contains all meta data concerning the GuardianProver contract.

Functions

This section is empty.

Types

type GuardianProver

type GuardianProver struct {
	GuardianProverCaller     // Read-only binding to the contract
	GuardianProverTransactor // Write-only binding to the contract
	GuardianProverFilterer   // Log filterer for contract events
}

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

func NewGuardianProver

func NewGuardianProver(address common.Address, backend bind.ContractBackend) (*GuardianProver, error)

NewGuardianProver creates a new instance of GuardianProver, bound to a specific deployed contract.

type GuardianProverAdminChanged

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

GuardianProverAdminChanged represents a AdminChanged event raised by the GuardianProver contract.

type GuardianProverAdminChangedIterator

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

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

func (*GuardianProverAdminChangedIterator) Close

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

func (*GuardianProverAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GuardianProverAdminChangedIterator) 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 GuardianProverApproved

type GuardianProverApproved struct {
	OperationId    *big.Int
	ApprovalBits   *big.Int
	ProofSubmitted bool
	Raw            types.Log // Blockchain specific contextual infos
}

GuardianProverApproved represents a Approved event raised by the GuardianProver contract.

type GuardianProverApprovedIterator

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

GuardianProverApprovedIterator is returned from FilterApproved and is used to iterate over the raw logs and unpacked data for Approved events raised by the GuardianProver contract.

func (*GuardianProverApprovedIterator) Close

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

func (*GuardianProverApprovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GuardianProverApprovedIterator) 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 GuardianProverBeaconUpgraded

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

GuardianProverBeaconUpgraded represents a BeaconUpgraded event raised by the GuardianProver contract.

type GuardianProverBeaconUpgradedIterator

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

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

func (*GuardianProverBeaconUpgradedIterator) Close

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

func (*GuardianProverBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GuardianProverBeaconUpgradedIterator) 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 GuardianProverCaller

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

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

func NewGuardianProverCaller

func NewGuardianProverCaller(address common.Address, caller bind.ContractCaller) (*GuardianProverCaller, error)

NewGuardianProverCaller creates a new read-only instance of GuardianProver, bound to a specific deployed contract.

func (*GuardianProverCaller) AddressManager

func (_GuardianProver *GuardianProverCaller) 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 (*GuardianProverCaller) GuardianIds

func (_GuardianProver *GuardianProverCaller) GuardianIds(opts *bind.CallOpts, guardian common.Address) (*big.Int, error)

GuardianIds is a free data retrieval call binding the contract method 0xb6158373.

Solidity: function guardianIds(address guardian) view returns(uint256 id)

func (*GuardianProverCaller) Guardians

func (_GuardianProver *GuardianProverCaller) Guardians(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Guardians is a free data retrieval call binding the contract method 0xf560c734.

Solidity: function guardians(uint256 ) view returns(address)

func (*GuardianProverCaller) IsApproved

func (_GuardianProver *GuardianProverCaller) IsApproved(opts *bind.CallOpts, _hash [32]byte) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x48aefc32.

Solidity: function isApproved(bytes32 _hash) view returns(bool)

func (*GuardianProverCaller) MINNUMGUARDIANS

func (_GuardianProver *GuardianProverCaller) MINNUMGUARDIANS(opts *bind.CallOpts) (*big.Int, error)

MINNUMGUARDIANS is a free data retrieval call binding the contract method 0x353ce811.

Solidity: function MIN_NUM_GUARDIANS() view returns(uint256)

func (*GuardianProverCaller) MinGuardians

func (_GuardianProver *GuardianProverCaller) MinGuardians(opts *bind.CallOpts) (uint32, error)

MinGuardians is a free data retrieval call binding the contract method 0x2d6f5ca7.

Solidity: function minGuardians() view returns(uint32)

func (*GuardianProverCaller) NumGuardians

func (_GuardianProver *GuardianProverCaller) NumGuardians(opts *bind.CallOpts) (*big.Int, error)

NumGuardians is a free data retrieval call binding the contract method 0xd13cbca3.

Solidity: function numGuardians() view returns(uint256)

func (*GuardianProverCaller) Owner

func (_GuardianProver *GuardianProverCaller) 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 (*GuardianProverCaller) Paused

func (_GuardianProver *GuardianProverCaller) 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 (*GuardianProverCaller) PendingOwner

func (_GuardianProver *GuardianProverCaller) 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 (*GuardianProverCaller) ProxiableUUID

func (_GuardianProver *GuardianProverCaller) 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 (*GuardianProverCaller) Resolve

func (_GuardianProver *GuardianProverCaller) 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 (*GuardianProverCaller) Resolve0

func (_GuardianProver *GuardianProverCaller) 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 (*GuardianProverCaller) Version

func (_GuardianProver *GuardianProverCaller) Version(opts *bind.CallOpts) (uint32, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint32)

type GuardianProverCallerRaw

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

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

func (*GuardianProverCallerRaw) Call

func (_GuardianProver *GuardianProverCallerRaw) 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 GuardianProverCallerSession

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

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

func (*GuardianProverCallerSession) AddressManager

func (_GuardianProver *GuardianProverCallerSession) AddressManager() (common.Address, error)

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

Solidity: function addressManager() view returns(address)

func (*GuardianProverCallerSession) GuardianIds

func (_GuardianProver *GuardianProverCallerSession) GuardianIds(guardian common.Address) (*big.Int, error)

GuardianIds is a free data retrieval call binding the contract method 0xb6158373.

Solidity: function guardianIds(address guardian) view returns(uint256 id)

func (*GuardianProverCallerSession) Guardians

func (_GuardianProver *GuardianProverCallerSession) Guardians(arg0 *big.Int) (common.Address, error)

Guardians is a free data retrieval call binding the contract method 0xf560c734.

Solidity: function guardians(uint256 ) view returns(address)

func (*GuardianProverCallerSession) IsApproved

func (_GuardianProver *GuardianProverCallerSession) IsApproved(_hash [32]byte) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x48aefc32.

Solidity: function isApproved(bytes32 _hash) view returns(bool)

func (*GuardianProverCallerSession) MINNUMGUARDIANS

func (_GuardianProver *GuardianProverCallerSession) MINNUMGUARDIANS() (*big.Int, error)

MINNUMGUARDIANS is a free data retrieval call binding the contract method 0x353ce811.

Solidity: function MIN_NUM_GUARDIANS() view returns(uint256)

func (*GuardianProverCallerSession) MinGuardians

func (_GuardianProver *GuardianProverCallerSession) MinGuardians() (uint32, error)

MinGuardians is a free data retrieval call binding the contract method 0x2d6f5ca7.

Solidity: function minGuardians() view returns(uint32)

func (*GuardianProverCallerSession) NumGuardians

func (_GuardianProver *GuardianProverCallerSession) NumGuardians() (*big.Int, error)

NumGuardians is a free data retrieval call binding the contract method 0xd13cbca3.

Solidity: function numGuardians() view returns(uint256)

func (*GuardianProverCallerSession) Owner

func (_GuardianProver *GuardianProverCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*GuardianProverCallerSession) Paused

func (_GuardianProver *GuardianProverCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*GuardianProverCallerSession) PendingOwner

func (_GuardianProver *GuardianProverCallerSession) PendingOwner() (common.Address, error)

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

Solidity: function pendingOwner() view returns(address)

func (*GuardianProverCallerSession) ProxiableUUID

func (_GuardianProver *GuardianProverCallerSession) ProxiableUUID() ([32]byte, error)

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*GuardianProverCallerSession) Resolve

func (_GuardianProver *GuardianProverCallerSession) 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 (*GuardianProverCallerSession) Resolve0

func (_GuardianProver *GuardianProverCallerSession) 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 (*GuardianProverCallerSession) Version

func (_GuardianProver *GuardianProverCallerSession) Version() (uint32, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint32)

type GuardianProverFilterer

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

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

func NewGuardianProverFilterer

func NewGuardianProverFilterer(address common.Address, filterer bind.ContractFilterer) (*GuardianProverFilterer, error)

NewGuardianProverFilterer creates a new log filterer instance of GuardianProver, bound to a specific deployed contract.

func (*GuardianProverFilterer) FilterAdminChanged

func (_GuardianProver *GuardianProverFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*GuardianProverAdminChangedIterator, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*GuardianProverFilterer) FilterApproved

func (_GuardianProver *GuardianProverFilterer) FilterApproved(opts *bind.FilterOpts, operationId []*big.Int) (*GuardianProverApprovedIterator, error)

FilterApproved is a free log retrieval operation binding the contract event 0x344afde5e92a836ece804d851bb090d420129616171e9911ade0a3f4d785e311.

Solidity: event Approved(uint256 indexed operationId, uint256 approvalBits, bool proofSubmitted)

func (*GuardianProverFilterer) FilterBeaconUpgraded

func (_GuardianProver *GuardianProverFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*GuardianProverBeaconUpgradedIterator, error)

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*GuardianProverFilterer) FilterGuardianApproval

func (_GuardianProver *GuardianProverFilterer) FilterGuardianApproval(opts *bind.FilterOpts, addr []common.Address, blockId []*big.Int) (*GuardianProverGuardianApprovalIterator, error)

FilterGuardianApproval is a free log retrieval operation binding the contract event 0xe8c2cf5cee75fed09b8bc1c4011bc44d2ea541b61d107bde7137397fa71589af.

Solidity: event GuardianApproval(address indexed addr, uint256 indexed blockId, bytes32 blockHash, bool approved)

func (*GuardianProverFilterer) FilterGuardiansUpdated

func (_GuardianProver *GuardianProverFilterer) FilterGuardiansUpdated(opts *bind.FilterOpts) (*GuardianProverGuardiansUpdatedIterator, error)

FilterGuardiansUpdated is a free log retrieval operation binding the contract event 0x5132e5b598a417dfc5c7488e5360aef3e865fe4b238cd5ea2a8282e0ca8d10ef.

Solidity: event GuardiansUpdated(uint32 version, address[] guardians)

func (*GuardianProverFilterer) FilterInitialized

func (_GuardianProver *GuardianProverFilterer) FilterInitialized(opts *bind.FilterOpts) (*GuardianProverInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*GuardianProverFilterer) FilterOwnershipTransferStarted

func (_GuardianProver *GuardianProverFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*GuardianProverOwnershipTransferStartedIterator, error)

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

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

func (*GuardianProverFilterer) FilterOwnershipTransferred

func (_GuardianProver *GuardianProverFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*GuardianProverOwnershipTransferredIterator, error)

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

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

func (*GuardianProverFilterer) FilterPaused

func (_GuardianProver *GuardianProverFilterer) FilterPaused(opts *bind.FilterOpts) (*GuardianProverPausedIterator, error)

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

Solidity: event Paused(address account)

func (*GuardianProverFilterer) FilterUnpaused

func (_GuardianProver *GuardianProverFilterer) FilterUnpaused(opts *bind.FilterOpts) (*GuardianProverUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*GuardianProverFilterer) FilterUpgraded

func (_GuardianProver *GuardianProverFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*GuardianProverUpgradedIterator, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*GuardianProverFilterer) ParseAdminChanged

func (_GuardianProver *GuardianProverFilterer) ParseAdminChanged(log types.Log) (*GuardianProverAdminChanged, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*GuardianProverFilterer) ParseApproved

func (_GuardianProver *GuardianProverFilterer) ParseApproved(log types.Log) (*GuardianProverApproved, error)

ParseApproved is a log parse operation binding the contract event 0x344afde5e92a836ece804d851bb090d420129616171e9911ade0a3f4d785e311.

Solidity: event Approved(uint256 indexed operationId, uint256 approvalBits, bool proofSubmitted)

func (*GuardianProverFilterer) ParseBeaconUpgraded

func (_GuardianProver *GuardianProverFilterer) ParseBeaconUpgraded(log types.Log) (*GuardianProverBeaconUpgraded, error)

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*GuardianProverFilterer) ParseGuardianApproval

func (_GuardianProver *GuardianProverFilterer) ParseGuardianApproval(log types.Log) (*GuardianProverGuardianApproval, error)

ParseGuardianApproval is a log parse operation binding the contract event 0xe8c2cf5cee75fed09b8bc1c4011bc44d2ea541b61d107bde7137397fa71589af.

Solidity: event GuardianApproval(address indexed addr, uint256 indexed blockId, bytes32 blockHash, bool approved)

func (*GuardianProverFilterer) ParseGuardiansUpdated

func (_GuardianProver *GuardianProverFilterer) ParseGuardiansUpdated(log types.Log) (*GuardianProverGuardiansUpdated, error)

ParseGuardiansUpdated is a log parse operation binding the contract event 0x5132e5b598a417dfc5c7488e5360aef3e865fe4b238cd5ea2a8282e0ca8d10ef.

Solidity: event GuardiansUpdated(uint32 version, address[] guardians)

func (*GuardianProverFilterer) ParseInitialized

func (_GuardianProver *GuardianProverFilterer) ParseInitialized(log types.Log) (*GuardianProverInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*GuardianProverFilterer) ParseOwnershipTransferStarted

func (_GuardianProver *GuardianProverFilterer) ParseOwnershipTransferStarted(log types.Log) (*GuardianProverOwnershipTransferStarted, error)

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

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

func (*GuardianProverFilterer) ParseOwnershipTransferred

func (_GuardianProver *GuardianProverFilterer) ParseOwnershipTransferred(log types.Log) (*GuardianProverOwnershipTransferred, error)

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

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

func (*GuardianProverFilterer) ParsePaused

func (_GuardianProver *GuardianProverFilterer) ParsePaused(log types.Log) (*GuardianProverPaused, error)

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

Solidity: event Paused(address account)

func (*GuardianProverFilterer) ParseUnpaused

func (_GuardianProver *GuardianProverFilterer) ParseUnpaused(log types.Log) (*GuardianProverUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*GuardianProverFilterer) ParseUpgraded

func (_GuardianProver *GuardianProverFilterer) ParseUpgraded(log types.Log) (*GuardianProverUpgraded, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*GuardianProverFilterer) WatchAdminChanged

func (_GuardianProver *GuardianProverFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *GuardianProverAdminChanged) (event.Subscription, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*GuardianProverFilterer) WatchApproved

func (_GuardianProver *GuardianProverFilterer) WatchApproved(opts *bind.WatchOpts, sink chan<- *GuardianProverApproved, operationId []*big.Int) (event.Subscription, error)

WatchApproved is a free log subscription operation binding the contract event 0x344afde5e92a836ece804d851bb090d420129616171e9911ade0a3f4d785e311.

Solidity: event Approved(uint256 indexed operationId, uint256 approvalBits, bool proofSubmitted)

func (*GuardianProverFilterer) WatchBeaconUpgraded

func (_GuardianProver *GuardianProverFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *GuardianProverBeaconUpgraded, 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 (*GuardianProverFilterer) WatchGuardianApproval

func (_GuardianProver *GuardianProverFilterer) WatchGuardianApproval(opts *bind.WatchOpts, sink chan<- *GuardianProverGuardianApproval, addr []common.Address, blockId []*big.Int) (event.Subscription, error)

WatchGuardianApproval is a free log subscription operation binding the contract event 0xe8c2cf5cee75fed09b8bc1c4011bc44d2ea541b61d107bde7137397fa71589af.

Solidity: event GuardianApproval(address indexed addr, uint256 indexed blockId, bytes32 blockHash, bool approved)

func (*GuardianProverFilterer) WatchGuardiansUpdated

func (_GuardianProver *GuardianProverFilterer) WatchGuardiansUpdated(opts *bind.WatchOpts, sink chan<- *GuardianProverGuardiansUpdated) (event.Subscription, error)

WatchGuardiansUpdated is a free log subscription operation binding the contract event 0x5132e5b598a417dfc5c7488e5360aef3e865fe4b238cd5ea2a8282e0ca8d10ef.

Solidity: event GuardiansUpdated(uint32 version, address[] guardians)

func (*GuardianProverFilterer) WatchInitialized

func (_GuardianProver *GuardianProverFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *GuardianProverInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*GuardianProverFilterer) WatchOwnershipTransferStarted

func (_GuardianProver *GuardianProverFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *GuardianProverOwnershipTransferStarted, 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 (*GuardianProverFilterer) WatchOwnershipTransferred

func (_GuardianProver *GuardianProverFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *GuardianProverOwnershipTransferred, 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 (*GuardianProverFilterer) WatchPaused

func (_GuardianProver *GuardianProverFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *GuardianProverPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*GuardianProverFilterer) WatchUnpaused

func (_GuardianProver *GuardianProverFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *GuardianProverUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

func (*GuardianProverFilterer) WatchUpgraded

func (_GuardianProver *GuardianProverFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *GuardianProverUpgraded, 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 GuardianProverGuardianApproval

type GuardianProverGuardianApproval struct {
	Addr      common.Address
	BlockId   *big.Int
	BlockHash [32]byte
	Approved  bool
	Raw       types.Log // Blockchain specific contextual infos
}

GuardianProverGuardianApproval represents a GuardianApproval event raised by the GuardianProver contract.

type GuardianProverGuardianApprovalIterator

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

GuardianProverGuardianApprovalIterator is returned from FilterGuardianApproval and is used to iterate over the raw logs and unpacked data for GuardianApproval events raised by the GuardianProver contract.

func (*GuardianProverGuardianApprovalIterator) Close

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

func (*GuardianProverGuardianApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GuardianProverGuardianApprovalIterator) 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 GuardianProverGuardiansUpdated

type GuardianProverGuardiansUpdated struct {
	Version   uint32
	Guardians []common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

GuardianProverGuardiansUpdated represents a GuardiansUpdated event raised by the GuardianProver contract.

type GuardianProverGuardiansUpdatedIterator

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

GuardianProverGuardiansUpdatedIterator is returned from FilterGuardiansUpdated and is used to iterate over the raw logs and unpacked data for GuardiansUpdated events raised by the GuardianProver contract.

func (*GuardianProverGuardiansUpdatedIterator) Close

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

func (*GuardianProverGuardiansUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GuardianProverGuardiansUpdatedIterator) 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 GuardianProverInitialized

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

GuardianProverInitialized represents a Initialized event raised by the GuardianProver contract.

type GuardianProverInitializedIterator

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

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

func (*GuardianProverInitializedIterator) Close

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

func (*GuardianProverInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GuardianProverInitializedIterator) 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 GuardianProverOwnershipTransferStarted

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

GuardianProverOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the GuardianProver contract.

type GuardianProverOwnershipTransferStartedIterator

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

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

func (*GuardianProverOwnershipTransferStartedIterator) Close

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

func (*GuardianProverOwnershipTransferStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GuardianProverOwnershipTransferStartedIterator) 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 GuardianProverOwnershipTransferred

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

GuardianProverOwnershipTransferred represents a OwnershipTransferred event raised by the GuardianProver contract.

type GuardianProverOwnershipTransferredIterator

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

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

func (*GuardianProverOwnershipTransferredIterator) Close

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

func (*GuardianProverOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GuardianProverOwnershipTransferredIterator) 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 GuardianProverPaused

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

GuardianProverPaused represents a Paused event raised by the GuardianProver contract.

type GuardianProverPausedIterator

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

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

func (*GuardianProverPausedIterator) Close

func (it *GuardianProverPausedIterator) Close() error

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

func (*GuardianProverPausedIterator) Error

func (it *GuardianProverPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GuardianProverPausedIterator) 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 GuardianProverRaw

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

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

func (*GuardianProverRaw) Call

func (_GuardianProver *GuardianProverRaw) 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 (*GuardianProverRaw) Transact

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

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

func (*GuardianProverRaw) Transfer

func (_GuardianProver *GuardianProverRaw) 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 GuardianProverSession

type GuardianProverSession struct {
	Contract     *GuardianProver   // 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
}

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

func (*GuardianProverSession) AcceptOwnership

func (_GuardianProver *GuardianProverSession) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*GuardianProverSession) AddressManager

func (_GuardianProver *GuardianProverSession) AddressManager() (common.Address, error)

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

Solidity: function addressManager() view returns(address)

func (*GuardianProverSession) Approve

Approve is a paid mutator transaction binding the contract method 0x492d2474.

Solidity: function approve((bytes32,bytes32,bytes32,bytes32,bytes32,address,uint64,uint32,uint64,uint64,uint24,uint24,uint16,bool,bytes32) _meta, (bytes32,bytes32,bytes32,bytes32) _tran, (uint16,bytes) _proof) returns(bool approved_)

func (*GuardianProverSession) GuardianIds

func (_GuardianProver *GuardianProverSession) GuardianIds(guardian common.Address) (*big.Int, error)

GuardianIds is a free data retrieval call binding the contract method 0xb6158373.

Solidity: function guardianIds(address guardian) view returns(uint256 id)

func (*GuardianProverSession) Guardians

func (_GuardianProver *GuardianProverSession) Guardians(arg0 *big.Int) (common.Address, error)

Guardians is a free data retrieval call binding the contract method 0xf560c734.

Solidity: function guardians(uint256 ) view returns(address)

func (*GuardianProverSession) Init

func (_GuardianProver *GuardianProverSession) Init(_owner common.Address, _addressManager common.Address) (*types.Transaction, error)

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

Solidity: function init(address _owner, address _addressManager) returns()

func (*GuardianProverSession) IsApproved

func (_GuardianProver *GuardianProverSession) IsApproved(_hash [32]byte) (bool, error)

IsApproved is a free data retrieval call binding the contract method 0x48aefc32.

Solidity: function isApproved(bytes32 _hash) view returns(bool)

func (*GuardianProverSession) MINNUMGUARDIANS

func (_GuardianProver *GuardianProverSession) MINNUMGUARDIANS() (*big.Int, error)

MINNUMGUARDIANS is a free data retrieval call binding the contract method 0x353ce811.

Solidity: function MIN_NUM_GUARDIANS() view returns(uint256)

func (*GuardianProverSession) MinGuardians

func (_GuardianProver *GuardianProverSession) MinGuardians() (uint32, error)

MinGuardians is a free data retrieval call binding the contract method 0x2d6f5ca7.

Solidity: function minGuardians() view returns(uint32)

func (*GuardianProverSession) NumGuardians

func (_GuardianProver *GuardianProverSession) NumGuardians() (*big.Int, error)

NumGuardians is a free data retrieval call binding the contract method 0xd13cbca3.

Solidity: function numGuardians() view returns(uint256)

func (*GuardianProverSession) Owner

func (_GuardianProver *GuardianProverSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*GuardianProverSession) Pause

func (_GuardianProver *GuardianProverSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*GuardianProverSession) Paused

func (_GuardianProver *GuardianProverSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*GuardianProverSession) PendingOwner

func (_GuardianProver *GuardianProverSession) PendingOwner() (common.Address, error)

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

Solidity: function pendingOwner() view returns(address)

func (*GuardianProverSession) ProxiableUUID

func (_GuardianProver *GuardianProverSession) ProxiableUUID() ([32]byte, error)

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*GuardianProverSession) RenounceOwnership

func (_GuardianProver *GuardianProverSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GuardianProverSession) Resolve

func (_GuardianProver *GuardianProverSession) 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 (*GuardianProverSession) Resolve0

func (_GuardianProver *GuardianProverSession) 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 (*GuardianProverSession) SetGuardians

func (_GuardianProver *GuardianProverSession) SetGuardians(_newGuardians []common.Address, _minGuardians uint8) (*types.Transaction, error)

SetGuardians is a paid mutator transaction binding the contract method 0xe94e9e99.

Solidity: function setGuardians(address[] _newGuardians, uint8 _minGuardians) returns()

func (*GuardianProverSession) TransferOwnership

func (_GuardianProver *GuardianProverSession) 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 (*GuardianProverSession) Unpause

func (_GuardianProver *GuardianProverSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*GuardianProverSession) UpgradeTo

func (_GuardianProver *GuardianProverSession) 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 (*GuardianProverSession) UpgradeToAndCall

func (_GuardianProver *GuardianProverSession) 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 (*GuardianProverSession) Version

func (_GuardianProver *GuardianProverSession) Version() (uint32, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint32)

type GuardianProverTransactor

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

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

func NewGuardianProverTransactor

func NewGuardianProverTransactor(address common.Address, transactor bind.ContractTransactor) (*GuardianProverTransactor, error)

NewGuardianProverTransactor creates a new write-only instance of GuardianProver, bound to a specific deployed contract.

func (*GuardianProverTransactor) AcceptOwnership

func (_GuardianProver *GuardianProverTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*GuardianProverTransactor) Approve

Approve is a paid mutator transaction binding the contract method 0x492d2474.

Solidity: function approve((bytes32,bytes32,bytes32,bytes32,bytes32,address,uint64,uint32,uint64,uint64,uint24,uint24,uint16,bool,bytes32) _meta, (bytes32,bytes32,bytes32,bytes32) _tran, (uint16,bytes) _proof) returns(bool approved_)

func (*GuardianProverTransactor) Init

func (_GuardianProver *GuardianProverTransactor) Init(opts *bind.TransactOpts, _owner common.Address, _addressManager common.Address) (*types.Transaction, error)

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

Solidity: function init(address _owner, address _addressManager) returns()

func (*GuardianProverTransactor) Pause

func (_GuardianProver *GuardianProverTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*GuardianProverTransactor) RenounceOwnership

func (_GuardianProver *GuardianProverTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GuardianProverTransactor) SetGuardians

func (_GuardianProver *GuardianProverTransactor) SetGuardians(opts *bind.TransactOpts, _newGuardians []common.Address, _minGuardians uint8) (*types.Transaction, error)

SetGuardians is a paid mutator transaction binding the contract method 0xe94e9e99.

Solidity: function setGuardians(address[] _newGuardians, uint8 _minGuardians) returns()

func (*GuardianProverTransactor) TransferOwnership

func (_GuardianProver *GuardianProverTransactor) 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 (*GuardianProverTransactor) Unpause

func (_GuardianProver *GuardianProverTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*GuardianProverTransactor) UpgradeTo

func (_GuardianProver *GuardianProverTransactor) 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 (*GuardianProverTransactor) UpgradeToAndCall

func (_GuardianProver *GuardianProverTransactor) 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()

type GuardianProverTransactorRaw

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

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

func (*GuardianProverTransactorRaw) Transact

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

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

func (*GuardianProverTransactorRaw) Transfer

func (_GuardianProver *GuardianProverTransactorRaw) 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 GuardianProverTransactorSession

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

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

func (*GuardianProverTransactorSession) AcceptOwnership

func (_GuardianProver *GuardianProverTransactorSession) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*GuardianProverTransactorSession) Approve

Approve is a paid mutator transaction binding the contract method 0x492d2474.

Solidity: function approve((bytes32,bytes32,bytes32,bytes32,bytes32,address,uint64,uint32,uint64,uint64,uint24,uint24,uint16,bool,bytes32) _meta, (bytes32,bytes32,bytes32,bytes32) _tran, (uint16,bytes) _proof) returns(bool approved_)

func (*GuardianProverTransactorSession) Init

func (_GuardianProver *GuardianProverTransactorSession) Init(_owner common.Address, _addressManager common.Address) (*types.Transaction, error)

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

Solidity: function init(address _owner, address _addressManager) returns()

func (*GuardianProverTransactorSession) Pause

func (_GuardianProver *GuardianProverTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*GuardianProverTransactorSession) RenounceOwnership

func (_GuardianProver *GuardianProverTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GuardianProverTransactorSession) SetGuardians

func (_GuardianProver *GuardianProverTransactorSession) SetGuardians(_newGuardians []common.Address, _minGuardians uint8) (*types.Transaction, error)

SetGuardians is a paid mutator transaction binding the contract method 0xe94e9e99.

Solidity: function setGuardians(address[] _newGuardians, uint8 _minGuardians) returns()

func (*GuardianProverTransactorSession) TransferOwnership

func (_GuardianProver *GuardianProverTransactorSession) 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 (*GuardianProverTransactorSession) Unpause

func (_GuardianProver *GuardianProverTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*GuardianProverTransactorSession) UpgradeTo

func (_GuardianProver *GuardianProverTransactorSession) 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 (*GuardianProverTransactorSession) UpgradeToAndCall

func (_GuardianProver *GuardianProverTransactorSession) 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()

type GuardianProverUnpaused

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

GuardianProverUnpaused represents a Unpaused event raised by the GuardianProver contract.

type GuardianProverUnpausedIterator

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

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

func (*GuardianProverUnpausedIterator) Close

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

func (*GuardianProverUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GuardianProverUnpausedIterator) 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 GuardianProverUpgraded

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

GuardianProverUpgraded represents a Upgraded event raised by the GuardianProver contract.

type GuardianProverUpgradedIterator

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

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

func (*GuardianProverUpgradedIterator) Close

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

func (*GuardianProverUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GuardianProverUpgradedIterator) 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 TaikoDataBlockMetadata

type TaikoDataBlockMetadata struct {
	L1Hash           [32]byte
	Difficulty       [32]byte
	BlobHash         [32]byte
	ExtraData        [32]byte
	DepositsHash     [32]byte
	Coinbase         common.Address
	Id               uint64
	GasLimit         uint32
	Timestamp        uint64
	L1Height         uint64
	TxListByteOffset *big.Int
	TxListByteSize   *big.Int
	MinTier          uint16
	BlobUsed         bool
	ParentMetaHash   [32]byte
}

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

type TaikoDataTierProof

type TaikoDataTierProof struct {
	Tier uint16
	Data []byte
}

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

type TaikoDataTransition

type TaikoDataTransition struct {
	ParentHash [32]byte
	BlockHash  [32]byte
	StateRoot  [32]byte
	Graffiti   [32]byte
}

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

Jump to

Keyboard shortcuts

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