TEELivenessVerifier

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TEELivenessVerifierABI = TEELivenessVerifierMetaData.ABI

TEELivenessVerifierABI is the input ABI used to generate the binding from. Deprecated: Use TEELivenessVerifierMetaData.ABI instead.

View Source
var TEELivenessVerifierMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"attestValiditySeconds\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"attestedProverAddr\",\"inputs\":[{\"name\":\"proverKey\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"proverAddr\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"attestedProvers\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"pubkey\",\"type\":\"tuple\",\"internalType\":\"structTEELivenessVerifier.Pubkey\",\"components\":[{\"name\":\"x\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"y\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"time\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"attestedReports\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"changeAttestValiditySeconds\",\"inputs\":[{\"name\":\"val\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"changeAttestationImpl\",\"inputs\":[{\"name\":\"_attestationAddr\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"changeMaxBlockNumberDiff\",\"inputs\":[{\"name\":\"_maxBlockNumberDiff\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"dcapAttestation\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIAttestation\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_initialOwner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_attestationAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_maxBlockNumberDiff\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_attestValiditySeconds\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"maxBlockNumberDiff\",\"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\":\"reinitialize\",\"inputs\":[{\"name\":\"i\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"_initialOwner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_attestationAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_maxBlockNumberDiff\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_attestValiditySeconds\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"submitLivenessProofV2\",\"inputs\":[{\"name\":\"_data\",\"type\":\"tuple\",\"internalType\":\"structTEELivenessVerifier.ReportDataV2\",\"components\":[{\"name\":\"pubkey\",\"type\":\"tuple\",\"internalType\":\"structTEELivenessVerifier.Pubkey\",\"components\":[{\"name\":\"x\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"y\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"referenceBlockNumber\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"referenceBlockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"proverAddressHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_report\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"verifyAttestationV2\",\"inputs\":[{\"name\":\"pubkeyX\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"pubkeyY\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"verifyLivenessProof\",\"inputs\":[{\"name\":\"pubkeyX\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"pubkeyY\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"verifyLivenessProofV2\",\"inputs\":[{\"name\":\"pubkeyX\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"pubkeyY\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"proverKey\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"verifyMrEnclave\",\"inputs\":[{\"name\":\"_mrenclave\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"verifyMrSigner\",\"inputs\":[{\"name\":\"_mrsigner\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"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}]",
}

TEELivenessVerifierMetaData contains all meta data concerning the TEELivenessVerifier contract.

Functions

This section is empty.

Types

type TEELivenessVerifier

type TEELivenessVerifier struct {
	TEELivenessVerifierCaller     // Read-only binding to the contract
	TEELivenessVerifierTransactor // Write-only binding to the contract
	TEELivenessVerifierFilterer   // Log filterer for contract events
}

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

func NewTEELivenessVerifier

func NewTEELivenessVerifier(address common.Address, backend bind.ContractBackend) (*TEELivenessVerifier, error)

NewTEELivenessVerifier creates a new instance of TEELivenessVerifier, bound to a specific deployed contract.

type TEELivenessVerifierCaller

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

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

func NewTEELivenessVerifierCaller

func NewTEELivenessVerifierCaller(address common.Address, caller bind.ContractCaller) (*TEELivenessVerifierCaller, error)

NewTEELivenessVerifierCaller creates a new read-only instance of TEELivenessVerifier, bound to a specific deployed contract.

func (*TEELivenessVerifierCaller) AttestValiditySeconds

func (_TEELivenessVerifier *TEELivenessVerifierCaller) AttestValiditySeconds(opts *bind.CallOpts) (*big.Int, error)

AttestValiditySeconds is a free data retrieval call binding the contract method 0x95aa79ca.

Solidity: function attestValiditySeconds() view returns(uint256)

func (*TEELivenessVerifierCaller) AttestedProverAddr added in v0.5.0

func (_TEELivenessVerifier *TEELivenessVerifierCaller) AttestedProverAddr(opts *bind.CallOpts, proverKey [32]byte) (common.Address, error)

AttestedProverAddr is a free data retrieval call binding the contract method 0x80c19970.

Solidity: function attestedProverAddr(bytes32 proverKey) view returns(address proverAddr)

func (*TEELivenessVerifierCaller) AttestedProvers

func (_TEELivenessVerifier *TEELivenessVerifierCaller) AttestedProvers(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Pubkey TEELivenessVerifierPubkey
	Time   *big.Int
}, error)

AttestedProvers is a free data retrieval call binding the contract method 0x3b7a3d82.

Solidity: function attestedProvers(bytes32 ) view returns((bytes32,bytes32) pubkey, uint256 time)

func (*TEELivenessVerifierCaller) AttestedReports

func (_TEELivenessVerifier *TEELivenessVerifierCaller) AttestedReports(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

AttestedReports is a free data retrieval call binding the contract method 0x74e1a553.

Solidity: function attestedReports(bytes32 ) view returns(bool)

func (*TEELivenessVerifierCaller) DcapAttestation

func (_TEELivenessVerifier *TEELivenessVerifierCaller) DcapAttestation(opts *bind.CallOpts) (common.Address, error)

DcapAttestation is a free data retrieval call binding the contract method 0x48e9b136.

Solidity: function dcapAttestation() view returns(address)

func (*TEELivenessVerifierCaller) MaxBlockNumberDiff added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierCaller) MaxBlockNumberDiff(opts *bind.CallOpts) (*big.Int, error)

MaxBlockNumberDiff is a free data retrieval call binding the contract method 0xfeb1cb80.

Solidity: function maxBlockNumberDiff() view returns(uint256)

func (*TEELivenessVerifierCaller) Owner

func (_TEELivenessVerifier *TEELivenessVerifierCaller) 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 (*TEELivenessVerifierCaller) VerifyAttestationV2 added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierCaller) VerifyAttestationV2(opts *bind.CallOpts, pubkeyX [32]byte, pubkeyY [32]byte, data []byte) (bool, error)

VerifyAttestationV2 is a free data retrieval call binding the contract method 0xce3234b8.

Solidity: function verifyAttestationV2(bytes32 pubkeyX, bytes32 pubkeyY, bytes data) view returns(bool)

func (*TEELivenessVerifierCaller) VerifyLivenessProof

func (_TEELivenessVerifier *TEELivenessVerifierCaller) VerifyLivenessProof(opts *bind.CallOpts, pubkeyX [32]byte, pubkeyY [32]byte) (bool, error)

VerifyLivenessProof is a free data retrieval call binding the contract method 0xb72c58b1.

Solidity: function verifyLivenessProof(bytes32 pubkeyX, bytes32 pubkeyY) view returns(bool)

func (*TEELivenessVerifierCaller) VerifyLivenessProofV2 added in v0.5.0

func (_TEELivenessVerifier *TEELivenessVerifierCaller) VerifyLivenessProofV2(opts *bind.CallOpts, pubkeyX [32]byte, pubkeyY [32]byte, proverKey common.Address) (bool, error)

VerifyLivenessProofV2 is a free data retrieval call binding the contract method 0xa14065dc.

Solidity: function verifyLivenessProofV2(bytes32 pubkeyX, bytes32 pubkeyY, address proverKey) view returns(bool)

func (*TEELivenessVerifierCaller) VerifyMrEnclave

func (_TEELivenessVerifier *TEELivenessVerifierCaller) VerifyMrEnclave(opts *bind.CallOpts, _mrenclave [32]byte) (bool, error)

VerifyMrEnclave is a free data retrieval call binding the contract method 0x18a98d6f.

Solidity: function verifyMrEnclave(bytes32 _mrenclave) view returns(bool)

func (*TEELivenessVerifierCaller) VerifyMrSigner

func (_TEELivenessVerifier *TEELivenessVerifierCaller) VerifyMrSigner(opts *bind.CallOpts, _mrsigner [32]byte) (bool, error)

VerifyMrSigner is a free data retrieval call binding the contract method 0xc64b860f.

Solidity: function verifyMrSigner(bytes32 _mrsigner) view returns(bool)

type TEELivenessVerifierCallerRaw

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

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

func (*TEELivenessVerifierCallerRaw) Call

func (_TEELivenessVerifier *TEELivenessVerifierCallerRaw) 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 TEELivenessVerifierCallerSession

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

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

func (*TEELivenessVerifierCallerSession) AttestValiditySeconds

func (_TEELivenessVerifier *TEELivenessVerifierCallerSession) AttestValiditySeconds() (*big.Int, error)

AttestValiditySeconds is a free data retrieval call binding the contract method 0x95aa79ca.

Solidity: function attestValiditySeconds() view returns(uint256)

func (*TEELivenessVerifierCallerSession) AttestedProverAddr added in v0.5.0

func (_TEELivenessVerifier *TEELivenessVerifierCallerSession) AttestedProverAddr(proverKey [32]byte) (common.Address, error)

AttestedProverAddr is a free data retrieval call binding the contract method 0x80c19970.

Solidity: function attestedProverAddr(bytes32 proverKey) view returns(address proverAddr)

func (*TEELivenessVerifierCallerSession) AttestedProvers

func (_TEELivenessVerifier *TEELivenessVerifierCallerSession) AttestedProvers(arg0 [32]byte) (struct {
	Pubkey TEELivenessVerifierPubkey
	Time   *big.Int
}, error)

AttestedProvers is a free data retrieval call binding the contract method 0x3b7a3d82.

Solidity: function attestedProvers(bytes32 ) view returns((bytes32,bytes32) pubkey, uint256 time)

func (*TEELivenessVerifierCallerSession) AttestedReports

func (_TEELivenessVerifier *TEELivenessVerifierCallerSession) AttestedReports(arg0 [32]byte) (bool, error)

AttestedReports is a free data retrieval call binding the contract method 0x74e1a553.

Solidity: function attestedReports(bytes32 ) view returns(bool)

func (*TEELivenessVerifierCallerSession) DcapAttestation

func (_TEELivenessVerifier *TEELivenessVerifierCallerSession) DcapAttestation() (common.Address, error)

DcapAttestation is a free data retrieval call binding the contract method 0x48e9b136.

Solidity: function dcapAttestation() view returns(address)

func (*TEELivenessVerifierCallerSession) MaxBlockNumberDiff added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierCallerSession) MaxBlockNumberDiff() (*big.Int, error)

MaxBlockNumberDiff is a free data retrieval call binding the contract method 0xfeb1cb80.

Solidity: function maxBlockNumberDiff() view returns(uint256)

func (*TEELivenessVerifierCallerSession) Owner

func (_TEELivenessVerifier *TEELivenessVerifierCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TEELivenessVerifierCallerSession) VerifyAttestationV2 added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierCallerSession) VerifyAttestationV2(pubkeyX [32]byte, pubkeyY [32]byte, data []byte) (bool, error)

VerifyAttestationV2 is a free data retrieval call binding the contract method 0xce3234b8.

Solidity: function verifyAttestationV2(bytes32 pubkeyX, bytes32 pubkeyY, bytes data) view returns(bool)

func (*TEELivenessVerifierCallerSession) VerifyLivenessProof

func (_TEELivenessVerifier *TEELivenessVerifierCallerSession) VerifyLivenessProof(pubkeyX [32]byte, pubkeyY [32]byte) (bool, error)

VerifyLivenessProof is a free data retrieval call binding the contract method 0xb72c58b1.

Solidity: function verifyLivenessProof(bytes32 pubkeyX, bytes32 pubkeyY) view returns(bool)

func (*TEELivenessVerifierCallerSession) VerifyLivenessProofV2 added in v0.5.0

func (_TEELivenessVerifier *TEELivenessVerifierCallerSession) VerifyLivenessProofV2(pubkeyX [32]byte, pubkeyY [32]byte, proverKey common.Address) (bool, error)

VerifyLivenessProofV2 is a free data retrieval call binding the contract method 0xa14065dc.

Solidity: function verifyLivenessProofV2(bytes32 pubkeyX, bytes32 pubkeyY, address proverKey) view returns(bool)

func (*TEELivenessVerifierCallerSession) VerifyMrEnclave

func (_TEELivenessVerifier *TEELivenessVerifierCallerSession) VerifyMrEnclave(_mrenclave [32]byte) (bool, error)

VerifyMrEnclave is a free data retrieval call binding the contract method 0x18a98d6f.

Solidity: function verifyMrEnclave(bytes32 _mrenclave) view returns(bool)

func (*TEELivenessVerifierCallerSession) VerifyMrSigner

func (_TEELivenessVerifier *TEELivenessVerifierCallerSession) VerifyMrSigner(_mrsigner [32]byte) (bool, error)

VerifyMrSigner is a free data retrieval call binding the contract method 0xc64b860f.

Solidity: function verifyMrSigner(bytes32 _mrsigner) view returns(bool)

type TEELivenessVerifierFilterer

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

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

func NewTEELivenessVerifierFilterer

func NewTEELivenessVerifierFilterer(address common.Address, filterer bind.ContractFilterer) (*TEELivenessVerifierFilterer, error)

NewTEELivenessVerifierFilterer creates a new log filterer instance of TEELivenessVerifier, bound to a specific deployed contract.

func (*TEELivenessVerifierFilterer) FilterInitialized added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierFilterer) FilterInitialized(opts *bind.FilterOpts) (*TEELivenessVerifierInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*TEELivenessVerifierFilterer) FilterOwnershipTransferred added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TEELivenessVerifierOwnershipTransferredIterator, error)

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

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

func (*TEELivenessVerifierFilterer) ParseInitialized added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierFilterer) ParseInitialized(log types.Log) (*TEELivenessVerifierInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*TEELivenessVerifierFilterer) ParseOwnershipTransferred added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierFilterer) ParseOwnershipTransferred(log types.Log) (*TEELivenessVerifierOwnershipTransferred, error)

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

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

func (*TEELivenessVerifierFilterer) WatchInitialized added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *TEELivenessVerifierInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*TEELivenessVerifierFilterer) WatchOwnershipTransferred added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TEELivenessVerifierOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

type TEELivenessVerifierInitialized added in v0.2.0

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

TEELivenessVerifierInitialized represents a Initialized event raised by the TEELivenessVerifier contract.

type TEELivenessVerifierInitializedIterator added in v0.2.0

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

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

func (*TEELivenessVerifierInitializedIterator) Close added in v0.2.0

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

func (*TEELivenessVerifierInitializedIterator) Error added in v0.2.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TEELivenessVerifierInitializedIterator) Next added in v0.2.0

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 TEELivenessVerifierOwnershipTransferred added in v0.2.0

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

TEELivenessVerifierOwnershipTransferred represents a OwnershipTransferred event raised by the TEELivenessVerifier contract.

type TEELivenessVerifierOwnershipTransferredIterator added in v0.2.0

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

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

func (*TEELivenessVerifierOwnershipTransferredIterator) Close added in v0.2.0

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

func (*TEELivenessVerifierOwnershipTransferredIterator) Error added in v0.2.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TEELivenessVerifierOwnershipTransferredIterator) Next added in v0.2.0

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 TEELivenessVerifierPubkey

type TEELivenessVerifierPubkey struct {
	X [32]byte
	Y [32]byte
}

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

type TEELivenessVerifierRaw

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

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

func (*TEELivenessVerifierRaw) Call

func (_TEELivenessVerifier *TEELivenessVerifierRaw) 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 (*TEELivenessVerifierRaw) Transact

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

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

func (*TEELivenessVerifierRaw) Transfer

func (_TEELivenessVerifier *TEELivenessVerifierRaw) 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 TEELivenessVerifierReportDataV2 added in v0.2.0

type TEELivenessVerifierReportDataV2 struct {
	Pubkey               TEELivenessVerifierPubkey
	ReferenceBlockNumber *big.Int
	ReferenceBlockHash   [32]byte
	ProverAddressHash    [32]byte
}

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

type TEELivenessVerifierSession

type TEELivenessVerifierSession struct {
	Contract     *TEELivenessVerifier // 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
}

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

func (*TEELivenessVerifierSession) AttestValiditySeconds

func (_TEELivenessVerifier *TEELivenessVerifierSession) AttestValiditySeconds() (*big.Int, error)

AttestValiditySeconds is a free data retrieval call binding the contract method 0x95aa79ca.

Solidity: function attestValiditySeconds() view returns(uint256)

func (*TEELivenessVerifierSession) AttestedProverAddr added in v0.5.0

func (_TEELivenessVerifier *TEELivenessVerifierSession) AttestedProverAddr(proverKey [32]byte) (common.Address, error)

AttestedProverAddr is a free data retrieval call binding the contract method 0x80c19970.

Solidity: function attestedProverAddr(bytes32 proverKey) view returns(address proverAddr)

func (*TEELivenessVerifierSession) AttestedProvers

func (_TEELivenessVerifier *TEELivenessVerifierSession) AttestedProvers(arg0 [32]byte) (struct {
	Pubkey TEELivenessVerifierPubkey
	Time   *big.Int
}, error)

AttestedProvers is a free data retrieval call binding the contract method 0x3b7a3d82.

Solidity: function attestedProvers(bytes32 ) view returns((bytes32,bytes32) pubkey, uint256 time)

func (*TEELivenessVerifierSession) AttestedReports

func (_TEELivenessVerifier *TEELivenessVerifierSession) AttestedReports(arg0 [32]byte) (bool, error)

AttestedReports is a free data retrieval call binding the contract method 0x74e1a553.

Solidity: function attestedReports(bytes32 ) view returns(bool)

func (*TEELivenessVerifierSession) ChangeAttestValiditySeconds

func (_TEELivenessVerifier *TEELivenessVerifierSession) ChangeAttestValiditySeconds(val *big.Int) (*types.Transaction, error)

ChangeAttestValiditySeconds is a paid mutator transaction binding the contract method 0x315aa7d9.

Solidity: function changeAttestValiditySeconds(uint256 val) returns()

func (*TEELivenessVerifierSession) ChangeAttestationImpl added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierSession) ChangeAttestationImpl(_attestationAddr common.Address) (*types.Transaction, error)

ChangeAttestationImpl is a paid mutator transaction binding the contract method 0xdd6e7951.

Solidity: function changeAttestationImpl(address _attestationAddr) returns()

func (*TEELivenessVerifierSession) ChangeMaxBlockNumberDiff added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierSession) ChangeMaxBlockNumberDiff(_maxBlockNumberDiff *big.Int) (*types.Transaction, error)

ChangeMaxBlockNumberDiff is a paid mutator transaction binding the contract method 0x6cb5ec95.

Solidity: function changeMaxBlockNumberDiff(uint256 _maxBlockNumberDiff) returns()

func (*TEELivenessVerifierSession) DcapAttestation

func (_TEELivenessVerifier *TEELivenessVerifierSession) DcapAttestation() (common.Address, error)

DcapAttestation is a free data retrieval call binding the contract method 0x48e9b136.

Solidity: function dcapAttestation() view returns(address)

func (*TEELivenessVerifierSession) Initialize added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierSession) Initialize(_initialOwner common.Address, _attestationAddr common.Address, _maxBlockNumberDiff *big.Int, _attestValiditySeconds *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xeb990c59.

Solidity: function initialize(address _initialOwner, address _attestationAddr, uint256 _maxBlockNumberDiff, uint256 _attestValiditySeconds) returns()

func (*TEELivenessVerifierSession) MaxBlockNumberDiff added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierSession) MaxBlockNumberDiff() (*big.Int, error)

MaxBlockNumberDiff is a free data retrieval call binding the contract method 0xfeb1cb80.

Solidity: function maxBlockNumberDiff() view returns(uint256)

func (*TEELivenessVerifierSession) Owner

func (_TEELivenessVerifier *TEELivenessVerifierSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TEELivenessVerifierSession) Reinitialize added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierSession) Reinitialize(i uint8, _initialOwner common.Address, _attestationAddr common.Address, _maxBlockNumberDiff *big.Int, _attestValiditySeconds *big.Int) (*types.Transaction, error)

Reinitialize is a paid mutator transaction binding the contract method 0x8087b269.

Solidity: function reinitialize(uint8 i, address _initialOwner, address _attestationAddr, uint256 _maxBlockNumberDiff, uint256 _attestValiditySeconds) returns()

func (*TEELivenessVerifierSession) RenounceOwnership added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TEELivenessVerifierSession) SubmitLivenessProofV2 added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierSession) SubmitLivenessProofV2(_data TEELivenessVerifierReportDataV2, _report []byte) (*types.Transaction, error)

SubmitLivenessProofV2 is a paid mutator transaction binding the contract method 0xfb691bbe.

Solidity: function submitLivenessProofV2(((bytes32,bytes32),uint256,bytes32,bytes32) _data, bytes _report) returns()

func (*TEELivenessVerifierSession) TransferOwnership added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierSession) 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 (*TEELivenessVerifierSession) VerifyAttestationV2 added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierSession) VerifyAttestationV2(pubkeyX [32]byte, pubkeyY [32]byte, data []byte) (bool, error)

VerifyAttestationV2 is a free data retrieval call binding the contract method 0xce3234b8.

Solidity: function verifyAttestationV2(bytes32 pubkeyX, bytes32 pubkeyY, bytes data) view returns(bool)

func (*TEELivenessVerifierSession) VerifyLivenessProof

func (_TEELivenessVerifier *TEELivenessVerifierSession) VerifyLivenessProof(pubkeyX [32]byte, pubkeyY [32]byte) (bool, error)

VerifyLivenessProof is a free data retrieval call binding the contract method 0xb72c58b1.

Solidity: function verifyLivenessProof(bytes32 pubkeyX, bytes32 pubkeyY) view returns(bool)

func (*TEELivenessVerifierSession) VerifyLivenessProofV2 added in v0.5.0

func (_TEELivenessVerifier *TEELivenessVerifierSession) VerifyLivenessProofV2(pubkeyX [32]byte, pubkeyY [32]byte, proverKey common.Address) (bool, error)

VerifyLivenessProofV2 is a free data retrieval call binding the contract method 0xa14065dc.

Solidity: function verifyLivenessProofV2(bytes32 pubkeyX, bytes32 pubkeyY, address proverKey) view returns(bool)

func (*TEELivenessVerifierSession) VerifyMrEnclave

func (_TEELivenessVerifier *TEELivenessVerifierSession) VerifyMrEnclave(_mrenclave [32]byte) (bool, error)

VerifyMrEnclave is a free data retrieval call binding the contract method 0x18a98d6f.

Solidity: function verifyMrEnclave(bytes32 _mrenclave) view returns(bool)

func (*TEELivenessVerifierSession) VerifyMrSigner

func (_TEELivenessVerifier *TEELivenessVerifierSession) VerifyMrSigner(_mrsigner [32]byte) (bool, error)

VerifyMrSigner is a free data retrieval call binding the contract method 0xc64b860f.

Solidity: function verifyMrSigner(bytes32 _mrsigner) view returns(bool)

type TEELivenessVerifierTransactor

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

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

func NewTEELivenessVerifierTransactor

func NewTEELivenessVerifierTransactor(address common.Address, transactor bind.ContractTransactor) (*TEELivenessVerifierTransactor, error)

NewTEELivenessVerifierTransactor creates a new write-only instance of TEELivenessVerifier, bound to a specific deployed contract.

func (*TEELivenessVerifierTransactor) ChangeAttestValiditySeconds

func (_TEELivenessVerifier *TEELivenessVerifierTransactor) ChangeAttestValiditySeconds(opts *bind.TransactOpts, val *big.Int) (*types.Transaction, error)

ChangeAttestValiditySeconds is a paid mutator transaction binding the contract method 0x315aa7d9.

Solidity: function changeAttestValiditySeconds(uint256 val) returns()

func (*TEELivenessVerifierTransactor) ChangeAttestationImpl added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierTransactor) ChangeAttestationImpl(opts *bind.TransactOpts, _attestationAddr common.Address) (*types.Transaction, error)

ChangeAttestationImpl is a paid mutator transaction binding the contract method 0xdd6e7951.

Solidity: function changeAttestationImpl(address _attestationAddr) returns()

func (*TEELivenessVerifierTransactor) ChangeMaxBlockNumberDiff added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierTransactor) ChangeMaxBlockNumberDiff(opts *bind.TransactOpts, _maxBlockNumberDiff *big.Int) (*types.Transaction, error)

ChangeMaxBlockNumberDiff is a paid mutator transaction binding the contract method 0x6cb5ec95.

Solidity: function changeMaxBlockNumberDiff(uint256 _maxBlockNumberDiff) returns()

func (*TEELivenessVerifierTransactor) Initialize added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierTransactor) Initialize(opts *bind.TransactOpts, _initialOwner common.Address, _attestationAddr common.Address, _maxBlockNumberDiff *big.Int, _attestValiditySeconds *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xeb990c59.

Solidity: function initialize(address _initialOwner, address _attestationAddr, uint256 _maxBlockNumberDiff, uint256 _attestValiditySeconds) returns()

func (*TEELivenessVerifierTransactor) Reinitialize added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierTransactor) Reinitialize(opts *bind.TransactOpts, i uint8, _initialOwner common.Address, _attestationAddr common.Address, _maxBlockNumberDiff *big.Int, _attestValiditySeconds *big.Int) (*types.Transaction, error)

Reinitialize is a paid mutator transaction binding the contract method 0x8087b269.

Solidity: function reinitialize(uint8 i, address _initialOwner, address _attestationAddr, uint256 _maxBlockNumberDiff, uint256 _attestValiditySeconds) returns()

func (*TEELivenessVerifierTransactor) RenounceOwnership added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TEELivenessVerifierTransactor) SubmitLivenessProofV2 added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierTransactor) SubmitLivenessProofV2(opts *bind.TransactOpts, _data TEELivenessVerifierReportDataV2, _report []byte) (*types.Transaction, error)

SubmitLivenessProofV2 is a paid mutator transaction binding the contract method 0xfb691bbe.

Solidity: function submitLivenessProofV2(((bytes32,bytes32),uint256,bytes32,bytes32) _data, bytes _report) returns()

func (*TEELivenessVerifierTransactor) TransferOwnership added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierTransactor) 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()

type TEELivenessVerifierTransactorRaw

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

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

func (*TEELivenessVerifierTransactorRaw) Transact

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

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

func (*TEELivenessVerifierTransactorRaw) Transfer

func (_TEELivenessVerifier *TEELivenessVerifierTransactorRaw) 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 TEELivenessVerifierTransactorSession

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

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

func (*TEELivenessVerifierTransactorSession) ChangeAttestValiditySeconds

func (_TEELivenessVerifier *TEELivenessVerifierTransactorSession) ChangeAttestValiditySeconds(val *big.Int) (*types.Transaction, error)

ChangeAttestValiditySeconds is a paid mutator transaction binding the contract method 0x315aa7d9.

Solidity: function changeAttestValiditySeconds(uint256 val) returns()

func (*TEELivenessVerifierTransactorSession) ChangeAttestationImpl added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierTransactorSession) ChangeAttestationImpl(_attestationAddr common.Address) (*types.Transaction, error)

ChangeAttestationImpl is a paid mutator transaction binding the contract method 0xdd6e7951.

Solidity: function changeAttestationImpl(address _attestationAddr) returns()

func (*TEELivenessVerifierTransactorSession) ChangeMaxBlockNumberDiff added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierTransactorSession) ChangeMaxBlockNumberDiff(_maxBlockNumberDiff *big.Int) (*types.Transaction, error)

ChangeMaxBlockNumberDiff is a paid mutator transaction binding the contract method 0x6cb5ec95.

Solidity: function changeMaxBlockNumberDiff(uint256 _maxBlockNumberDiff) returns()

func (*TEELivenessVerifierTransactorSession) Initialize added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierTransactorSession) Initialize(_initialOwner common.Address, _attestationAddr common.Address, _maxBlockNumberDiff *big.Int, _attestValiditySeconds *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xeb990c59.

Solidity: function initialize(address _initialOwner, address _attestationAddr, uint256 _maxBlockNumberDiff, uint256 _attestValiditySeconds) returns()

func (*TEELivenessVerifierTransactorSession) Reinitialize added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierTransactorSession) Reinitialize(i uint8, _initialOwner common.Address, _attestationAddr common.Address, _maxBlockNumberDiff *big.Int, _attestValiditySeconds *big.Int) (*types.Transaction, error)

Reinitialize is a paid mutator transaction binding the contract method 0x8087b269.

Solidity: function reinitialize(uint8 i, address _initialOwner, address _attestationAddr, uint256 _maxBlockNumberDiff, uint256 _attestValiditySeconds) returns()

func (*TEELivenessVerifierTransactorSession) RenounceOwnership added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TEELivenessVerifierTransactorSession) SubmitLivenessProofV2 added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierTransactorSession) SubmitLivenessProofV2(_data TEELivenessVerifierReportDataV2, _report []byte) (*types.Transaction, error)

SubmitLivenessProofV2 is a paid mutator transaction binding the contract method 0xfb691bbe.

Solidity: function submitLivenessProofV2(((bytes32,bytes32),uint256,bytes32,bytes32) _data, bytes _report) returns()

func (*TEELivenessVerifierTransactorSession) TransferOwnership added in v0.2.0

func (_TEELivenessVerifier *TEELivenessVerifierTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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