sgxverifier

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 SgxVerifierABI = SgxVerifierMetaData.ABI

SgxVerifierABI is the input ABI used to generate the binding from. Deprecated: Use SgxVerifierMetaData.ABI instead.

View Source
var SgxVerifierMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"INSTANCE_EXPIRY\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"INSTANCE_VALIDITY_DELAY\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"acceptOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"addInstances\",\"inputs\":[{\"name\":\"_instances\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"addressManager\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"addressRegistered\",\"inputs\":[{\"name\":\"instanceAddress\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"alreadyAttested\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"deleteInstances\",\"inputs\":[{\"name\":\"_ids\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"impl\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"inNonReentrant\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"init\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_rollupAddressManager\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"instances\",\"inputs\":[{\"name\":\"instanceId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"validSince\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"lastUnpausedAt\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nextInstanceId\",\"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\":\"registerInstance\",\"inputs\":[{\"name\":\"_attestation\",\"type\":\"tuple\",\"internalType\":\"structV3Struct.ParsedV3QuoteStruct\",\"components\":[{\"name\":\"header\",\"type\":\"tuple\",\"internalType\":\"structV3Struct.Header\",\"components\":[{\"name\":\"version\",\"type\":\"bytes2\",\"internalType\":\"bytes2\"},{\"name\":\"attestationKeyType\",\"type\":\"bytes2\",\"internalType\":\"bytes2\"},{\"name\":\"teeType\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"},{\"name\":\"qeSvn\",\"type\":\"bytes2\",\"internalType\":\"bytes2\"},{\"name\":\"pceSvn\",\"type\":\"bytes2\",\"internalType\":\"bytes2\"},{\"name\":\"qeVendorId\",\"type\":\"bytes16\",\"internalType\":\"bytes16\"},{\"name\":\"userData\",\"type\":\"bytes20\",\"internalType\":\"bytes20\"}]},{\"name\":\"localEnclaveReport\",\"type\":\"tuple\",\"internalType\":\"structV3Struct.EnclaveReport\",\"components\":[{\"name\":\"cpuSvn\",\"type\":\"bytes16\",\"internalType\":\"bytes16\"},{\"name\":\"miscSelect\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"},{\"name\":\"reserved1\",\"type\":\"bytes28\",\"internalType\":\"bytes28\"},{\"name\":\"attributes\",\"type\":\"bytes16\",\"internalType\":\"bytes16\"},{\"name\":\"mrEnclave\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"reserved2\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"mrSigner\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"reserved3\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"isvProdId\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"isvSvn\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"reserved4\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"reportData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"v3AuthData\",\"type\":\"tuple\",\"internalType\":\"structV3Struct.ECDSAQuoteV3AuthData\",\"components\":[{\"name\":\"ecdsa256BitSignature\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"ecdsaAttestationKey\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"pckSignedQeReport\",\"type\":\"tuple\",\"internalType\":\"structV3Struct.EnclaveReport\",\"components\":[{\"name\":\"cpuSvn\",\"type\":\"bytes16\",\"internalType\":\"bytes16\"},{\"name\":\"miscSelect\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"},{\"name\":\"reserved1\",\"type\":\"bytes28\",\"internalType\":\"bytes28\"},{\"name\":\"attributes\",\"type\":\"bytes16\",\"internalType\":\"bytes16\"},{\"name\":\"mrEnclave\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"reserved2\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"mrSigner\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"reserved3\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"isvProdId\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"isvSvn\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"reserved4\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"reportData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"qeReportSignature\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"qeAuthData\",\"type\":\"tuple\",\"internalType\":\"structV3Struct.QEAuthData\",\"components\":[{\"name\":\"parsedDataSize\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"certification\",\"type\":\"tuple\",\"internalType\":\"structV3Struct.CertificationData\",\"components\":[{\"name\":\"certType\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"certDataSize\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"decodedCertDataArray\",\"type\":\"bytes[3]\",\"internalType\":\"bytes[3]\"}]}]}]}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_chainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"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\":\"verifyBatchProof\",\"inputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"internalType\":\"structIVerifier.ContextV2[]\",\"components\":[{\"name\":\"metaHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blobHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"prover\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"blockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"isContesting\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"blobUsed\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"msgSender\",\"type\":\"address\",\"internalType\":\"address\"},{\"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\":\"\",\"type\":\"tuple\",\"internalType\":\"structTaikoData.TierProof\",\"components\":[{\"name\":\"tier\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"verifyProof\",\"inputs\":[{\"name\":\"_ctx\",\"type\":\"tuple\",\"internalType\":\"structIVerifier.Context\",\"components\":[{\"name\":\"metaHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blobHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"prover\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"blockId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"isContesting\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"blobUsed\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"msgSender\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"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\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"AdminChanged\",\"inputs\":[{\"name\":\"previousAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"newAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BeaconUpgraded\",\"inputs\":[{\"name\":\"beacon\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"InstanceAdded\",\"inputs\":[{\"name\":\"id\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"instance\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"replaced\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"validSince\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"InstanceDeleted\",\"inputs\":[{\"name\":\"id\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"instance\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"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\":\"FUNC_NOT_IMPLEMENTED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"INVALID_PAUSE_STATUS\",\"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\":\"SGX_ALREADY_ATTESTED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"SGX_INVALID_ATTESTATION\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"SGX_INVALID_INSTANCE\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"SGX_INVALID_PROOF\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"SGX_RA_NOT_SUPPORTED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_ADDRESS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_VALUE\",\"inputs\":[]}]",
}

SgxVerifierMetaData contains all meta data concerning the SgxVerifier contract.

Functions

This section is empty.

Types

type IVerifierContext

type IVerifierContext struct {
	MetaHash     [32]byte
	BlobHash     [32]byte
	Prover       common.Address
	BlockId      uint64
	IsContesting bool
	BlobUsed     bool
	MsgSender    common.Address
}

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

type IVerifierContextV2

type IVerifierContextV2 struct {
	MetaHash     [32]byte
	BlobHash     [32]byte
	Prover       common.Address
	BlockId      uint64
	IsContesting bool
	BlobUsed     bool
	MsgSender    common.Address
	Tran         TaikoDataTransition
}

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

type SgxVerifier

type SgxVerifier struct {
	SgxVerifierCaller     // Read-only binding to the contract
	SgxVerifierTransactor // Write-only binding to the contract
	SgxVerifierFilterer   // Log filterer for contract events
}

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

func NewSgxVerifier

func NewSgxVerifier(address common.Address, backend bind.ContractBackend) (*SgxVerifier, error)

NewSgxVerifier creates a new instance of SgxVerifier, bound to a specific deployed contract.

type SgxVerifierAdminChanged

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

SgxVerifierAdminChanged represents a AdminChanged event raised by the SgxVerifier contract.

type SgxVerifierAdminChangedIterator

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

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

func (*SgxVerifierAdminChangedIterator) Close

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

func (*SgxVerifierAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SgxVerifierAdminChangedIterator) 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 SgxVerifierBeaconUpgraded

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

SgxVerifierBeaconUpgraded represents a BeaconUpgraded event raised by the SgxVerifier contract.

type SgxVerifierBeaconUpgradedIterator

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

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

func (*SgxVerifierBeaconUpgradedIterator) Close

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

func (*SgxVerifierBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SgxVerifierBeaconUpgradedIterator) 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 SgxVerifierCaller

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

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

func NewSgxVerifierCaller

func NewSgxVerifierCaller(address common.Address, caller bind.ContractCaller) (*SgxVerifierCaller, error)

NewSgxVerifierCaller creates a new read-only instance of SgxVerifier, bound to a specific deployed contract.

func (*SgxVerifierCaller) AddressManager

func (_SgxVerifier *SgxVerifierCaller) 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 (*SgxVerifierCaller) AddressRegistered

func (_SgxVerifier *SgxVerifierCaller) AddressRegistered(opts *bind.CallOpts, instanceAddress common.Address) (bool, error)

AddressRegistered is a free data retrieval call binding the contract method 0x9d7809b5.

Solidity: function addressRegistered(address instanceAddress) view returns(bool alreadyAttested)

func (*SgxVerifierCaller) INSTANCEEXPIRY

func (_SgxVerifier *SgxVerifierCaller) INSTANCEEXPIRY(opts *bind.CallOpts) (uint64, error)

INSTANCEEXPIRY is a free data retrieval call binding the contract method 0xd632cf35.

Solidity: function INSTANCE_EXPIRY() view returns(uint64)

func (*SgxVerifierCaller) INSTANCEVALIDITYDELAY

func (_SgxVerifier *SgxVerifierCaller) INSTANCEVALIDITYDELAY(opts *bind.CallOpts) (uint64, error)

INSTANCEVALIDITYDELAY is a free data retrieval call binding the contract method 0xb51ec328.

Solidity: function INSTANCE_VALIDITY_DELAY() view returns(uint64)

func (*SgxVerifierCaller) Impl

func (_SgxVerifier *SgxVerifierCaller) 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 (*SgxVerifierCaller) InNonReentrant

func (_SgxVerifier *SgxVerifierCaller) 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 (*SgxVerifierCaller) Instances

func (_SgxVerifier *SgxVerifierCaller) Instances(opts *bind.CallOpts, instanceId *big.Int) (struct {
	Addr       common.Address
	ValidSince uint64
}, error)

Instances is a free data retrieval call binding the contract method 0xa2f7b3a5.

Solidity: function instances(uint256 instanceId) view returns(address addr, uint64 validSince)

func (*SgxVerifierCaller) LastUnpausedAt

func (_SgxVerifier *SgxVerifierCaller) 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 (*SgxVerifierCaller) NextInstanceId

func (_SgxVerifier *SgxVerifierCaller) NextInstanceId(opts *bind.CallOpts) (*big.Int, error)

NextInstanceId is a free data retrieval call binding the contract method 0xee45abb0.

Solidity: function nextInstanceId() view returns(uint256)

func (*SgxVerifierCaller) Owner

func (_SgxVerifier *SgxVerifierCaller) 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 (*SgxVerifierCaller) Paused

func (_SgxVerifier *SgxVerifierCaller) 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 (*SgxVerifierCaller) PendingOwner

func (_SgxVerifier *SgxVerifierCaller) 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 (*SgxVerifierCaller) ProxiableUUID

func (_SgxVerifier *SgxVerifierCaller) 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 (*SgxVerifierCaller) Resolve

func (_SgxVerifier *SgxVerifierCaller) 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 (*SgxVerifierCaller) Resolve0

func (_SgxVerifier *SgxVerifierCaller) 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 (*SgxVerifierCaller) VerifyBatchProof

func (_SgxVerifier *SgxVerifierCaller) VerifyBatchProof(opts *bind.CallOpts, arg0 []IVerifierContextV2, arg1 TaikoDataTierProof) error

VerifyBatchProof is a free data retrieval call binding the contract method 0x7103b6da.

Solidity: function verifyBatchProof((bytes32,bytes32,address,uint64,bool,bool,address,(bytes32,bytes32,bytes32,bytes32))[] , (uint16,bytes) ) view returns()

type SgxVerifierCallerRaw

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

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

func (*SgxVerifierCallerRaw) Call

func (_SgxVerifier *SgxVerifierCallerRaw) 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 SgxVerifierCallerSession

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

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

func (*SgxVerifierCallerSession) AddressManager

func (_SgxVerifier *SgxVerifierCallerSession) AddressManager() (common.Address, error)

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

Solidity: function addressManager() view returns(address)

func (*SgxVerifierCallerSession) AddressRegistered

func (_SgxVerifier *SgxVerifierCallerSession) AddressRegistered(instanceAddress common.Address) (bool, error)

AddressRegistered is a free data retrieval call binding the contract method 0x9d7809b5.

Solidity: function addressRegistered(address instanceAddress) view returns(bool alreadyAttested)

func (*SgxVerifierCallerSession) INSTANCEEXPIRY

func (_SgxVerifier *SgxVerifierCallerSession) INSTANCEEXPIRY() (uint64, error)

INSTANCEEXPIRY is a free data retrieval call binding the contract method 0xd632cf35.

Solidity: function INSTANCE_EXPIRY() view returns(uint64)

func (*SgxVerifierCallerSession) INSTANCEVALIDITYDELAY

func (_SgxVerifier *SgxVerifierCallerSession) INSTANCEVALIDITYDELAY() (uint64, error)

INSTANCEVALIDITYDELAY is a free data retrieval call binding the contract method 0xb51ec328.

Solidity: function INSTANCE_VALIDITY_DELAY() view returns(uint64)

func (*SgxVerifierCallerSession) Impl

func (_SgxVerifier *SgxVerifierCallerSession) Impl() (common.Address, error)

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

Solidity: function impl() view returns(address)

func (*SgxVerifierCallerSession) InNonReentrant

func (_SgxVerifier *SgxVerifierCallerSession) InNonReentrant() (bool, error)

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

Solidity: function inNonReentrant() view returns(bool)

func (*SgxVerifierCallerSession) Instances

func (_SgxVerifier *SgxVerifierCallerSession) Instances(instanceId *big.Int) (struct {
	Addr       common.Address
	ValidSince uint64
}, error)

Instances is a free data retrieval call binding the contract method 0xa2f7b3a5.

Solidity: function instances(uint256 instanceId) view returns(address addr, uint64 validSince)

func (*SgxVerifierCallerSession) LastUnpausedAt

func (_SgxVerifier *SgxVerifierCallerSession) LastUnpausedAt() (uint64, error)

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

Solidity: function lastUnpausedAt() view returns(uint64)

func (*SgxVerifierCallerSession) NextInstanceId

func (_SgxVerifier *SgxVerifierCallerSession) NextInstanceId() (*big.Int, error)

NextInstanceId is a free data retrieval call binding the contract method 0xee45abb0.

Solidity: function nextInstanceId() view returns(uint256)

func (*SgxVerifierCallerSession) Owner

func (_SgxVerifier *SgxVerifierCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SgxVerifierCallerSession) Paused

func (_SgxVerifier *SgxVerifierCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*SgxVerifierCallerSession) PendingOwner

func (_SgxVerifier *SgxVerifierCallerSession) PendingOwner() (common.Address, error)

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

Solidity: function pendingOwner() view returns(address)

func (*SgxVerifierCallerSession) ProxiableUUID

func (_SgxVerifier *SgxVerifierCallerSession) ProxiableUUID() ([32]byte, error)

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*SgxVerifierCallerSession) Resolve

func (_SgxVerifier *SgxVerifierCallerSession) 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 (*SgxVerifierCallerSession) Resolve0

func (_SgxVerifier *SgxVerifierCallerSession) 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 (*SgxVerifierCallerSession) VerifyBatchProof

func (_SgxVerifier *SgxVerifierCallerSession) VerifyBatchProof(arg0 []IVerifierContextV2, arg1 TaikoDataTierProof) error

VerifyBatchProof is a free data retrieval call binding the contract method 0x7103b6da.

Solidity: function verifyBatchProof((bytes32,bytes32,address,uint64,bool,bool,address,(bytes32,bytes32,bytes32,bytes32))[] , (uint16,bytes) ) view returns()

type SgxVerifierFilterer

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

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

func NewSgxVerifierFilterer

func NewSgxVerifierFilterer(address common.Address, filterer bind.ContractFilterer) (*SgxVerifierFilterer, error)

NewSgxVerifierFilterer creates a new log filterer instance of SgxVerifier, bound to a specific deployed contract.

func (*SgxVerifierFilterer) FilterAdminChanged

func (_SgxVerifier *SgxVerifierFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*SgxVerifierAdminChangedIterator, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*SgxVerifierFilterer) FilterBeaconUpgraded

func (_SgxVerifier *SgxVerifierFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*SgxVerifierBeaconUpgradedIterator, error)

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*SgxVerifierFilterer) FilterInitialized

func (_SgxVerifier *SgxVerifierFilterer) FilterInitialized(opts *bind.FilterOpts) (*SgxVerifierInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*SgxVerifierFilterer) FilterInstanceAdded

func (_SgxVerifier *SgxVerifierFilterer) FilterInstanceAdded(opts *bind.FilterOpts, id []*big.Int, instance []common.Address, replaced []common.Address) (*SgxVerifierInstanceAddedIterator, error)

FilterInstanceAdded is a free log retrieval operation binding the contract event 0xbbe529d240965181270c1e2e32a80761e8807dda1ee9765e326178bd6804a9cb.

Solidity: event InstanceAdded(uint256 indexed id, address indexed instance, address indexed replaced, uint256 validSince)

func (*SgxVerifierFilterer) FilterInstanceDeleted

func (_SgxVerifier *SgxVerifierFilterer) FilterInstanceDeleted(opts *bind.FilterOpts, id []*big.Int, instance []common.Address) (*SgxVerifierInstanceDeletedIterator, error)

FilterInstanceDeleted is a free log retrieval operation binding the contract event 0x89d0dca869ffe08b709ca9ff5adfd5ee8d9de2750d0561e15df614c7a2596d8e.

Solidity: event InstanceDeleted(uint256 indexed id, address indexed instance)

func (*SgxVerifierFilterer) FilterOwnershipTransferStarted

func (_SgxVerifier *SgxVerifierFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SgxVerifierOwnershipTransferStartedIterator, error)

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

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

func (*SgxVerifierFilterer) FilterOwnershipTransferred

func (_SgxVerifier *SgxVerifierFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SgxVerifierOwnershipTransferredIterator, error)

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

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

func (*SgxVerifierFilterer) FilterPaused

func (_SgxVerifier *SgxVerifierFilterer) FilterPaused(opts *bind.FilterOpts) (*SgxVerifierPausedIterator, error)

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

Solidity: event Paused(address account)

func (*SgxVerifierFilterer) FilterUnpaused

func (_SgxVerifier *SgxVerifierFilterer) FilterUnpaused(opts *bind.FilterOpts) (*SgxVerifierUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*SgxVerifierFilterer) FilterUpgraded

func (_SgxVerifier *SgxVerifierFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*SgxVerifierUpgradedIterator, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*SgxVerifierFilterer) ParseAdminChanged

func (_SgxVerifier *SgxVerifierFilterer) ParseAdminChanged(log types.Log) (*SgxVerifierAdminChanged, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*SgxVerifierFilterer) ParseBeaconUpgraded

func (_SgxVerifier *SgxVerifierFilterer) ParseBeaconUpgraded(log types.Log) (*SgxVerifierBeaconUpgraded, error)

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*SgxVerifierFilterer) ParseInitialized

func (_SgxVerifier *SgxVerifierFilterer) ParseInitialized(log types.Log) (*SgxVerifierInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*SgxVerifierFilterer) ParseInstanceAdded

func (_SgxVerifier *SgxVerifierFilterer) ParseInstanceAdded(log types.Log) (*SgxVerifierInstanceAdded, error)

ParseInstanceAdded is a log parse operation binding the contract event 0xbbe529d240965181270c1e2e32a80761e8807dda1ee9765e326178bd6804a9cb.

Solidity: event InstanceAdded(uint256 indexed id, address indexed instance, address indexed replaced, uint256 validSince)

func (*SgxVerifierFilterer) ParseInstanceDeleted

func (_SgxVerifier *SgxVerifierFilterer) ParseInstanceDeleted(log types.Log) (*SgxVerifierInstanceDeleted, error)

ParseInstanceDeleted is a log parse operation binding the contract event 0x89d0dca869ffe08b709ca9ff5adfd5ee8d9de2750d0561e15df614c7a2596d8e.

Solidity: event InstanceDeleted(uint256 indexed id, address indexed instance)

func (*SgxVerifierFilterer) ParseOwnershipTransferStarted

func (_SgxVerifier *SgxVerifierFilterer) ParseOwnershipTransferStarted(log types.Log) (*SgxVerifierOwnershipTransferStarted, error)

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

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

func (*SgxVerifierFilterer) ParseOwnershipTransferred

func (_SgxVerifier *SgxVerifierFilterer) ParseOwnershipTransferred(log types.Log) (*SgxVerifierOwnershipTransferred, error)

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

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

func (*SgxVerifierFilterer) ParsePaused

func (_SgxVerifier *SgxVerifierFilterer) ParsePaused(log types.Log) (*SgxVerifierPaused, error)

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

Solidity: event Paused(address account)

func (*SgxVerifierFilterer) ParseUnpaused

func (_SgxVerifier *SgxVerifierFilterer) ParseUnpaused(log types.Log) (*SgxVerifierUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*SgxVerifierFilterer) ParseUpgraded

func (_SgxVerifier *SgxVerifierFilterer) ParseUpgraded(log types.Log) (*SgxVerifierUpgraded, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*SgxVerifierFilterer) WatchAdminChanged

func (_SgxVerifier *SgxVerifierFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *SgxVerifierAdminChanged) (event.Subscription, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*SgxVerifierFilterer) WatchBeaconUpgraded

func (_SgxVerifier *SgxVerifierFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *SgxVerifierBeaconUpgraded, 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 (*SgxVerifierFilterer) WatchInitialized

func (_SgxVerifier *SgxVerifierFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *SgxVerifierInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*SgxVerifierFilterer) WatchInstanceAdded

func (_SgxVerifier *SgxVerifierFilterer) WatchInstanceAdded(opts *bind.WatchOpts, sink chan<- *SgxVerifierInstanceAdded, id []*big.Int, instance []common.Address, replaced []common.Address) (event.Subscription, error)

WatchInstanceAdded is a free log subscription operation binding the contract event 0xbbe529d240965181270c1e2e32a80761e8807dda1ee9765e326178bd6804a9cb.

Solidity: event InstanceAdded(uint256 indexed id, address indexed instance, address indexed replaced, uint256 validSince)

func (*SgxVerifierFilterer) WatchInstanceDeleted

func (_SgxVerifier *SgxVerifierFilterer) WatchInstanceDeleted(opts *bind.WatchOpts, sink chan<- *SgxVerifierInstanceDeleted, id []*big.Int, instance []common.Address) (event.Subscription, error)

WatchInstanceDeleted is a free log subscription operation binding the contract event 0x89d0dca869ffe08b709ca9ff5adfd5ee8d9de2750d0561e15df614c7a2596d8e.

Solidity: event InstanceDeleted(uint256 indexed id, address indexed instance)

func (*SgxVerifierFilterer) WatchOwnershipTransferStarted

func (_SgxVerifier *SgxVerifierFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *SgxVerifierOwnershipTransferStarted, 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 (*SgxVerifierFilterer) WatchOwnershipTransferred

func (_SgxVerifier *SgxVerifierFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SgxVerifierOwnershipTransferred, 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 (*SgxVerifierFilterer) WatchPaused

func (_SgxVerifier *SgxVerifierFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *SgxVerifierPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*SgxVerifierFilterer) WatchUnpaused

func (_SgxVerifier *SgxVerifierFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *SgxVerifierUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

func (*SgxVerifierFilterer) WatchUpgraded

func (_SgxVerifier *SgxVerifierFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *SgxVerifierUpgraded, 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 SgxVerifierInitialized

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

SgxVerifierInitialized represents a Initialized event raised by the SgxVerifier contract.

type SgxVerifierInitializedIterator

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

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

func (*SgxVerifierInitializedIterator) Close

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

func (*SgxVerifierInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SgxVerifierInitializedIterator) 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 SgxVerifierInstanceAdded

type SgxVerifierInstanceAdded struct {
	Id         *big.Int
	Instance   common.Address
	Replaced   common.Address
	ValidSince *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

SgxVerifierInstanceAdded represents a InstanceAdded event raised by the SgxVerifier contract.

type SgxVerifierInstanceAddedIterator

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

SgxVerifierInstanceAddedIterator is returned from FilterInstanceAdded and is used to iterate over the raw logs and unpacked data for InstanceAdded events raised by the SgxVerifier contract.

func (*SgxVerifierInstanceAddedIterator) Close

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

func (*SgxVerifierInstanceAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SgxVerifierInstanceAddedIterator) 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 SgxVerifierInstanceDeleted

type SgxVerifierInstanceDeleted struct {
	Id       *big.Int
	Instance common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

SgxVerifierInstanceDeleted represents a InstanceDeleted event raised by the SgxVerifier contract.

type SgxVerifierInstanceDeletedIterator

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

SgxVerifierInstanceDeletedIterator is returned from FilterInstanceDeleted and is used to iterate over the raw logs and unpacked data for InstanceDeleted events raised by the SgxVerifier contract.

func (*SgxVerifierInstanceDeletedIterator) Close

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

func (*SgxVerifierInstanceDeletedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SgxVerifierInstanceDeletedIterator) 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 SgxVerifierOwnershipTransferStarted

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

SgxVerifierOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the SgxVerifier contract.

type SgxVerifierOwnershipTransferStartedIterator

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

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

func (*SgxVerifierOwnershipTransferStartedIterator) Close

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

func (*SgxVerifierOwnershipTransferStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SgxVerifierOwnershipTransferStartedIterator) 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 SgxVerifierOwnershipTransferred

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

SgxVerifierOwnershipTransferred represents a OwnershipTransferred event raised by the SgxVerifier contract.

type SgxVerifierOwnershipTransferredIterator

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

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

func (*SgxVerifierOwnershipTransferredIterator) Close

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

func (*SgxVerifierOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SgxVerifierOwnershipTransferredIterator) 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 SgxVerifierPaused

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

SgxVerifierPaused represents a Paused event raised by the SgxVerifier contract.

type SgxVerifierPausedIterator

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

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

func (*SgxVerifierPausedIterator) Close

func (it *SgxVerifierPausedIterator) Close() error

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

func (*SgxVerifierPausedIterator) Error

func (it *SgxVerifierPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SgxVerifierPausedIterator) Next

func (it *SgxVerifierPausedIterator) 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 SgxVerifierRaw

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

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

func (*SgxVerifierRaw) Call

func (_SgxVerifier *SgxVerifierRaw) 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 (*SgxVerifierRaw) Transact

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

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

func (*SgxVerifierRaw) Transfer

func (_SgxVerifier *SgxVerifierRaw) 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 SgxVerifierSession

type SgxVerifierSession struct {
	Contract     *SgxVerifier      // 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
}

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

func (*SgxVerifierSession) AcceptOwnership

func (_SgxVerifier *SgxVerifierSession) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*SgxVerifierSession) AddInstances

func (_SgxVerifier *SgxVerifierSession) AddInstances(_instances []common.Address) (*types.Transaction, error)

AddInstances is a paid mutator transaction binding the contract method 0x16107290.

Solidity: function addInstances(address[] _instances) returns(uint256[])

func (*SgxVerifierSession) AddressManager

func (_SgxVerifier *SgxVerifierSession) AddressManager() (common.Address, error)

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

Solidity: function addressManager() view returns(address)

func (*SgxVerifierSession) AddressRegistered

func (_SgxVerifier *SgxVerifierSession) AddressRegistered(instanceAddress common.Address) (bool, error)

AddressRegistered is a free data retrieval call binding the contract method 0x9d7809b5.

Solidity: function addressRegistered(address instanceAddress) view returns(bool alreadyAttested)

func (*SgxVerifierSession) DeleteInstances

func (_SgxVerifier *SgxVerifierSession) DeleteInstances(_ids []*big.Int) (*types.Transaction, error)

DeleteInstances is a paid mutator transaction binding the contract method 0x4ef36a56.

Solidity: function deleteInstances(uint256[] _ids) returns()

func (*SgxVerifierSession) INSTANCEEXPIRY

func (_SgxVerifier *SgxVerifierSession) INSTANCEEXPIRY() (uint64, error)

INSTANCEEXPIRY is a free data retrieval call binding the contract method 0xd632cf35.

Solidity: function INSTANCE_EXPIRY() view returns(uint64)

func (*SgxVerifierSession) INSTANCEVALIDITYDELAY

func (_SgxVerifier *SgxVerifierSession) INSTANCEVALIDITYDELAY() (uint64, error)

INSTANCEVALIDITYDELAY is a free data retrieval call binding the contract method 0xb51ec328.

Solidity: function INSTANCE_VALIDITY_DELAY() view returns(uint64)

func (*SgxVerifierSession) Impl

func (_SgxVerifier *SgxVerifierSession) Impl() (common.Address, error)

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

Solidity: function impl() view returns(address)

func (*SgxVerifierSession) InNonReentrant

func (_SgxVerifier *SgxVerifierSession) InNonReentrant() (bool, error)

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

Solidity: function inNonReentrant() view returns(bool)

func (*SgxVerifierSession) Init

func (_SgxVerifier *SgxVerifierSession) Init(_owner common.Address, _rollupAddressManager common.Address) (*types.Transaction, error)

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

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

func (*SgxVerifierSession) Instances

func (_SgxVerifier *SgxVerifierSession) Instances(instanceId *big.Int) (struct {
	Addr       common.Address
	ValidSince uint64
}, error)

Instances is a free data retrieval call binding the contract method 0xa2f7b3a5.

Solidity: function instances(uint256 instanceId) view returns(address addr, uint64 validSince)

func (*SgxVerifierSession) LastUnpausedAt

func (_SgxVerifier *SgxVerifierSession) LastUnpausedAt() (uint64, error)

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

Solidity: function lastUnpausedAt() view returns(uint64)

func (*SgxVerifierSession) NextInstanceId

func (_SgxVerifier *SgxVerifierSession) NextInstanceId() (*big.Int, error)

NextInstanceId is a free data retrieval call binding the contract method 0xee45abb0.

Solidity: function nextInstanceId() view returns(uint256)

func (*SgxVerifierSession) Owner

func (_SgxVerifier *SgxVerifierSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SgxVerifierSession) Pause

func (_SgxVerifier *SgxVerifierSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*SgxVerifierSession) Paused

func (_SgxVerifier *SgxVerifierSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*SgxVerifierSession) PendingOwner

func (_SgxVerifier *SgxVerifierSession) PendingOwner() (common.Address, error)

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

Solidity: function pendingOwner() view returns(address)

func (*SgxVerifierSession) ProxiableUUID

func (_SgxVerifier *SgxVerifierSession) ProxiableUUID() ([32]byte, error)

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*SgxVerifierSession) RegisterInstance

func (_SgxVerifier *SgxVerifierSession) RegisterInstance(_attestation V3StructParsedV3QuoteStruct) (*types.Transaction, error)

RegisterInstance is a paid mutator transaction binding the contract method 0xa91951a2.

Solidity: function registerInstance(((bytes2,bytes2,bytes4,bytes2,bytes2,bytes16,bytes20),(bytes16,bytes4,bytes28,bytes16,bytes32,bytes32,bytes32,bytes,uint16,uint16,bytes,bytes),(bytes,bytes,(bytes16,bytes4,bytes28,bytes16,bytes32,bytes32,bytes32,bytes,uint16,uint16,bytes,bytes),bytes,(uint16,bytes),(uint16,uint32,bytes[3]))) _attestation) returns(uint256)

func (*SgxVerifierSession) RenounceOwnership

func (_SgxVerifier *SgxVerifierSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SgxVerifierSession) Resolve

func (_SgxVerifier *SgxVerifierSession) 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 (*SgxVerifierSession) Resolve0

func (_SgxVerifier *SgxVerifierSession) 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 (*SgxVerifierSession) TransferOwnership

func (_SgxVerifier *SgxVerifierSession) 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 (*SgxVerifierSession) Unpause

func (_SgxVerifier *SgxVerifierSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*SgxVerifierSession) UpgradeTo

func (_SgxVerifier *SgxVerifierSession) 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 (*SgxVerifierSession) UpgradeToAndCall

func (_SgxVerifier *SgxVerifierSession) 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 (*SgxVerifierSession) VerifyBatchProof

func (_SgxVerifier *SgxVerifierSession) VerifyBatchProof(arg0 []IVerifierContextV2, arg1 TaikoDataTierProof) error

VerifyBatchProof is a free data retrieval call binding the contract method 0x7103b6da.

Solidity: function verifyBatchProof((bytes32,bytes32,address,uint64,bool,bool,address,(bytes32,bytes32,bytes32,bytes32))[] , (uint16,bytes) ) view returns()

func (*SgxVerifierSession) VerifyProof

func (_SgxVerifier *SgxVerifierSession) VerifyProof(_ctx IVerifierContext, _tran TaikoDataTransition, _proof TaikoDataTierProof) (*types.Transaction, error)

VerifyProof is a paid mutator transaction binding the contract method 0x21e89968.

Solidity: function verifyProof((bytes32,bytes32,address,uint64,bool,bool,address) _ctx, (bytes32,bytes32,bytes32,bytes32) _tran, (uint16,bytes) _proof) returns()

type SgxVerifierTransactor

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

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

func NewSgxVerifierTransactor

func NewSgxVerifierTransactor(address common.Address, transactor bind.ContractTransactor) (*SgxVerifierTransactor, error)

NewSgxVerifierTransactor creates a new write-only instance of SgxVerifier, bound to a specific deployed contract.

func (*SgxVerifierTransactor) AcceptOwnership

func (_SgxVerifier *SgxVerifierTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*SgxVerifierTransactor) AddInstances

func (_SgxVerifier *SgxVerifierTransactor) AddInstances(opts *bind.TransactOpts, _instances []common.Address) (*types.Transaction, error)

AddInstances is a paid mutator transaction binding the contract method 0x16107290.

Solidity: function addInstances(address[] _instances) returns(uint256[])

func (*SgxVerifierTransactor) DeleteInstances

func (_SgxVerifier *SgxVerifierTransactor) DeleteInstances(opts *bind.TransactOpts, _ids []*big.Int) (*types.Transaction, error)

DeleteInstances is a paid mutator transaction binding the contract method 0x4ef36a56.

Solidity: function deleteInstances(uint256[] _ids) returns()

func (*SgxVerifierTransactor) Init

func (_SgxVerifier *SgxVerifierTransactor) Init(opts *bind.TransactOpts, _owner common.Address, _rollupAddressManager common.Address) (*types.Transaction, error)

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

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

func (*SgxVerifierTransactor) Pause

func (_SgxVerifier *SgxVerifierTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*SgxVerifierTransactor) RegisterInstance

func (_SgxVerifier *SgxVerifierTransactor) RegisterInstance(opts *bind.TransactOpts, _attestation V3StructParsedV3QuoteStruct) (*types.Transaction, error)

RegisterInstance is a paid mutator transaction binding the contract method 0xa91951a2.

Solidity: function registerInstance(((bytes2,bytes2,bytes4,bytes2,bytes2,bytes16,bytes20),(bytes16,bytes4,bytes28,bytes16,bytes32,bytes32,bytes32,bytes,uint16,uint16,bytes,bytes),(bytes,bytes,(bytes16,bytes4,bytes28,bytes16,bytes32,bytes32,bytes32,bytes,uint16,uint16,bytes,bytes),bytes,(uint16,bytes),(uint16,uint32,bytes[3]))) _attestation) returns(uint256)

func (*SgxVerifierTransactor) RenounceOwnership

func (_SgxVerifier *SgxVerifierTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SgxVerifierTransactor) TransferOwnership

func (_SgxVerifier *SgxVerifierTransactor) 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 (*SgxVerifierTransactor) Unpause

func (_SgxVerifier *SgxVerifierTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*SgxVerifierTransactor) UpgradeTo

func (_SgxVerifier *SgxVerifierTransactor) 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 (*SgxVerifierTransactor) UpgradeToAndCall

func (_SgxVerifier *SgxVerifierTransactor) 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 (*SgxVerifierTransactor) VerifyProof

func (_SgxVerifier *SgxVerifierTransactor) VerifyProof(opts *bind.TransactOpts, _ctx IVerifierContext, _tran TaikoDataTransition, _proof TaikoDataTierProof) (*types.Transaction, error)

VerifyProof is a paid mutator transaction binding the contract method 0x21e89968.

Solidity: function verifyProof((bytes32,bytes32,address,uint64,bool,bool,address) _ctx, (bytes32,bytes32,bytes32,bytes32) _tran, (uint16,bytes) _proof) returns()

type SgxVerifierTransactorRaw

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

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

func (*SgxVerifierTransactorRaw) Transact

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

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

func (*SgxVerifierTransactorRaw) Transfer

func (_SgxVerifier *SgxVerifierTransactorRaw) 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 SgxVerifierTransactorSession

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

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

func (*SgxVerifierTransactorSession) AcceptOwnership

func (_SgxVerifier *SgxVerifierTransactorSession) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*SgxVerifierTransactorSession) AddInstances

func (_SgxVerifier *SgxVerifierTransactorSession) AddInstances(_instances []common.Address) (*types.Transaction, error)

AddInstances is a paid mutator transaction binding the contract method 0x16107290.

Solidity: function addInstances(address[] _instances) returns(uint256[])

func (*SgxVerifierTransactorSession) DeleteInstances

func (_SgxVerifier *SgxVerifierTransactorSession) DeleteInstances(_ids []*big.Int) (*types.Transaction, error)

DeleteInstances is a paid mutator transaction binding the contract method 0x4ef36a56.

Solidity: function deleteInstances(uint256[] _ids) returns()

func (*SgxVerifierTransactorSession) Init

func (_SgxVerifier *SgxVerifierTransactorSession) Init(_owner common.Address, _rollupAddressManager common.Address) (*types.Transaction, error)

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

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

func (*SgxVerifierTransactorSession) Pause

func (_SgxVerifier *SgxVerifierTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*SgxVerifierTransactorSession) RegisterInstance

func (_SgxVerifier *SgxVerifierTransactorSession) RegisterInstance(_attestation V3StructParsedV3QuoteStruct) (*types.Transaction, error)

RegisterInstance is a paid mutator transaction binding the contract method 0xa91951a2.

Solidity: function registerInstance(((bytes2,bytes2,bytes4,bytes2,bytes2,bytes16,bytes20),(bytes16,bytes4,bytes28,bytes16,bytes32,bytes32,bytes32,bytes,uint16,uint16,bytes,bytes),(bytes,bytes,(bytes16,bytes4,bytes28,bytes16,bytes32,bytes32,bytes32,bytes,uint16,uint16,bytes,bytes),bytes,(uint16,bytes),(uint16,uint32,bytes[3]))) _attestation) returns(uint256)

func (*SgxVerifierTransactorSession) RenounceOwnership

func (_SgxVerifier *SgxVerifierTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SgxVerifierTransactorSession) TransferOwnership

func (_SgxVerifier *SgxVerifierTransactorSession) 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 (*SgxVerifierTransactorSession) Unpause

func (_SgxVerifier *SgxVerifierTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*SgxVerifierTransactorSession) UpgradeTo

func (_SgxVerifier *SgxVerifierTransactorSession) 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 (*SgxVerifierTransactorSession) UpgradeToAndCall

func (_SgxVerifier *SgxVerifierTransactorSession) 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 (*SgxVerifierTransactorSession) VerifyProof

VerifyProof is a paid mutator transaction binding the contract method 0x21e89968.

Solidity: function verifyProof((bytes32,bytes32,address,uint64,bool,bool,address) _ctx, (bytes32,bytes32,bytes32,bytes32) _tran, (uint16,bytes) _proof) returns()

type SgxVerifierUnpaused

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

SgxVerifierUnpaused represents a Unpaused event raised by the SgxVerifier contract.

type SgxVerifierUnpausedIterator

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

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

func (*SgxVerifierUnpausedIterator) Close

func (it *SgxVerifierUnpausedIterator) Close() error

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

func (*SgxVerifierUnpausedIterator) Error

func (it *SgxVerifierUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SgxVerifierUnpausedIterator) Next

func (it *SgxVerifierUnpausedIterator) 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 SgxVerifierUpgraded

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

SgxVerifierUpgraded represents a Upgraded event raised by the SgxVerifier contract.

type SgxVerifierUpgradedIterator

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

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

func (*SgxVerifierUpgradedIterator) Close

func (it *SgxVerifierUpgradedIterator) Close() error

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

func (*SgxVerifierUpgradedIterator) Error

func (it *SgxVerifierUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SgxVerifierUpgradedIterator) Next

func (it *SgxVerifierUpgradedIterator) 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 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.

type V3StructCertificationData

type V3StructCertificationData struct {
	CertType             uint16
	CertDataSize         uint32
	DecodedCertDataArray [3][]byte
}

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

type V3StructECDSAQuoteV3AuthData

type V3StructECDSAQuoteV3AuthData struct {
	Ecdsa256BitSignature []byte
	EcdsaAttestationKey  []byte
	PckSignedQeReport    V3StructEnclaveReport
	QeReportSignature    []byte
	QeAuthData           V3StructQEAuthData
	Certification        V3StructCertificationData
}

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

type V3StructEnclaveReport

type V3StructEnclaveReport struct {
	CpuSvn     [16]byte
	MiscSelect [4]byte
	Reserved1  [28]byte
	Attributes [16]byte
	MrEnclave  [32]byte
	Reserved2  [32]byte
	MrSigner   [32]byte
	Reserved3  []byte
	IsvProdId  uint16
	IsvSvn     uint16
	Reserved4  []byte
	ReportData []byte
}

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

type V3StructHeader

type V3StructHeader struct {
	Version            [2]byte
	AttestationKeyType [2]byte
	TeeType            [4]byte
	QeSvn              [2]byte
	PceSvn             [2]byte
	QeVendorId         [16]byte
	UserData           [20]byte
}

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

type V3StructParsedV3QuoteStruct

type V3StructParsedV3QuoteStruct struct {
	Header             V3StructHeader
	LocalEnclaveReport V3StructEnclaveReport
	V3AuthData         V3StructECDSAQuoteV3AuthData
}

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

type V3StructQEAuthData

type V3StructQEAuthData struct {
	ParsedDataSize uint16
	Data           []byte
}

V3StructQEAuthData 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