verifiers

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SBTIdentityVerifierABI = SBTIdentityVerifierMetaData.ABI

SBTIdentityVerifierABI is the input ABI used to generate the binding from. Deprecated: Use SBTIdentityVerifierMetaData.ABI instead.

View Source
var SBTIdentityVerifierMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"identityId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"senderAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenID\",\"type\":\"uint256\"}],\"name\":\"SBTIdentityProved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"SBT_IDENTITY_PROOF_QUERY_ID\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIZKPQueriesStorage\",\"name\":\"zkpQueriesStorage_\",\"type\":\"address\"},{\"internalType\":\"contractIVerifiedSBT\",\"name\":\"sbtToken_\",\"type\":\"address\"}],\"name\":\"__SBTIdentityVerifier_init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"addressToIdentityId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"schema_\",\"type\":\"uint256\"}],\"name\":\"getAllowedIssuers\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"identityId_\",\"type\":\"uint256\"}],\"name\":\"getIdentityProofInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"senderAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sbtTokenId\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isProved\",\"type\":\"bool\"}],\"internalType\":\"structISBTIdentityVerifier.SBTIdentityProofInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"schema_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"issuerId_\",\"type\":\"uint256\"}],\"name\":\"isAllowedIssuer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"userAddr_\",\"type\":\"address\"}],\"name\":\"isIdentityProved\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"identityId_\",\"type\":\"uint256\"}],\"name\":\"isIdentityProved\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"issuerId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"issuerState\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"merkleProof\",\"type\":\"bytes32[]\"}],\"internalType\":\"structILightweightState.StatesMerkleData\",\"name\":\"statesMerkleData\",\"type\":\"tuple\"},{\"internalType\":\"uint256[]\",\"name\":\"inputs\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[2]\",\"name\":\"a\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[2][2]\",\"name\":\"b\",\"type\":\"uint256[2][2]\"},{\"internalType\":\"uint256[2]\",\"name\":\"c\",\"type\":\"uint256[2]\"}],\"internalType\":\"structIBaseVerifier.ProveIdentityParams\",\"name\":\"proveIdentityParams_\",\"type\":\"tuple\"}],\"name\":\"proveIdentity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sbtToken\",\"outputs\":[{\"internalType\":\"contractIVerifiedSBT\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIZKPQueriesStorage\",\"name\":\"newZKPQueriesStorage_\",\"type\":\"address\"}],\"name\":\"setZKPQueriesStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"issuerId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"issuerState\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"merkleProof\",\"type\":\"bytes32[]\"}],\"internalType\":\"structILightweightState.StatesMerkleData\",\"name\":\"statesMerkleData\",\"type\":\"tuple\"},{\"internalType\":\"uint256[]\",\"name\":\"inputs\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[2]\",\"name\":\"a\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[2][2]\",\"name\":\"b\",\"type\":\"uint256[2][2]\"},{\"internalType\":\"uint256[2]\",\"name\":\"c\",\"type\":\"uint256[2]\"}],\"internalType\":\"structIBaseVerifier.ProveIdentityParams\",\"name\":\"proveIdentityParams_\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"newIdentitiesStatesRoot\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"root\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"createdAtTimestamp\",\"type\":\"uint256\"}],\"internalType\":\"structILightweightState.GistRootData\",\"name\":\"gistData\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"proof\",\"type\":\"bytes\"}],\"internalType\":\"structIBaseVerifier.TransitStateParams\",\"name\":\"transitStateParams_\",\"type\":\"tuple\"}],\"name\":\"transitStateAndProveIdentity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"schema_\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"issuerIds_\",\"type\":\"uint256[]\"},{\"internalType\":\"bool\",\"name\":\"isAdding_\",\"type\":\"bool\"}],\"name\":\"updateAllowedIssuers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"zkpQueriesStorage\",\"outputs\":[{\"internalType\":\"contractIZKPQueriesStorage\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

SBTIdentityVerifierMetaData contains all meta data concerning the SBTIdentityVerifier contract.

Functions

This section is empty.

Types

type IBaseVerifierProveIdentityParams

type IBaseVerifierProveIdentityParams struct {
	StatesMerkleData ILightweightStateStatesMerkleData
	Inputs           []*big.Int
	A                [2]*big.Int
	B                [2][2]*big.Int
	C                [2]*big.Int
}

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

type IBaseVerifierTransitStateParams

type IBaseVerifierTransitStateParams struct {
	NewIdentitiesStatesRoot [32]byte
	GistData                ILightweightStateGistRootData
	Proof                   []byte
}

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

type ILightweightStateGistRootData

type ILightweightStateGistRootData struct {
	Root               *big.Int
	CreatedAtTimestamp *big.Int
}

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

type ILightweightStateStatesMerkleData

type ILightweightStateStatesMerkleData struct {
	IssuerId           *big.Int
	IssuerState        *big.Int
	CreatedAtTimestamp *big.Int
	MerkleProof        [][32]byte
}

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

type ISBTIdentityVerifierSBTIdentityProofInfo

type ISBTIdentityVerifierSBTIdentityProofInfo struct {
	SenderAddr common.Address
	SbtTokenId *big.Int
	IsProved   bool
}

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

type SBTIdentityVerifier

type SBTIdentityVerifier struct {
	SBTIdentityVerifierCaller     // Read-only binding to the contract
	SBTIdentityVerifierTransactor // Write-only binding to the contract
	SBTIdentityVerifierFilterer   // Log filterer for contract events
}

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

func NewSBTIdentityVerifier

func NewSBTIdentityVerifier(address common.Address, backend bind.ContractBackend) (*SBTIdentityVerifier, error)

NewSBTIdentityVerifier creates a new instance of SBTIdentityVerifier, bound to a specific deployed contract.

type SBTIdentityVerifierAdminChanged

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

SBTIdentityVerifierAdminChanged represents a AdminChanged event raised by the SBTIdentityVerifier contract.

type SBTIdentityVerifierAdminChangedIterator

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

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

func (*SBTIdentityVerifierAdminChangedIterator) Close

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

func (*SBTIdentityVerifierAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SBTIdentityVerifierAdminChangedIterator) 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 SBTIdentityVerifierBeaconUpgraded

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

SBTIdentityVerifierBeaconUpgraded represents a BeaconUpgraded event raised by the SBTIdentityVerifier contract.

type SBTIdentityVerifierBeaconUpgradedIterator

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

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

func (*SBTIdentityVerifierBeaconUpgradedIterator) Close

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

func (*SBTIdentityVerifierBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SBTIdentityVerifierBeaconUpgradedIterator) 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 SBTIdentityVerifierCaller

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

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

func NewSBTIdentityVerifierCaller

func NewSBTIdentityVerifierCaller(address common.Address, caller bind.ContractCaller) (*SBTIdentityVerifierCaller, error)

NewSBTIdentityVerifierCaller creates a new read-only instance of SBTIdentityVerifier, bound to a specific deployed contract.

func (*SBTIdentityVerifierCaller) AddressToIdentityId

func (_SBTIdentityVerifier *SBTIdentityVerifierCaller) AddressToIdentityId(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

AddressToIdentityId is a free data retrieval call binding the contract method 0xb4528ff9.

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

func (*SBTIdentityVerifierCaller) GetAllowedIssuers

func (_SBTIdentityVerifier *SBTIdentityVerifierCaller) GetAllowedIssuers(opts *bind.CallOpts, schema_ *big.Int) ([]*big.Int, error)

GetAllowedIssuers is a free data retrieval call binding the contract method 0xef8dbdd3.

Solidity: function getAllowedIssuers(uint256 schema_) view returns(uint256[])

func (*SBTIdentityVerifierCaller) GetIdentityProofInfo

func (_SBTIdentityVerifier *SBTIdentityVerifierCaller) GetIdentityProofInfo(opts *bind.CallOpts, identityId_ *big.Int) (ISBTIdentityVerifierSBTIdentityProofInfo, error)

GetIdentityProofInfo is a free data retrieval call binding the contract method 0x5332d5ec.

Solidity: function getIdentityProofInfo(uint256 identityId_) view returns((address,uint256,bool))

func (*SBTIdentityVerifierCaller) IsAllowedIssuer

func (_SBTIdentityVerifier *SBTIdentityVerifierCaller) IsAllowedIssuer(opts *bind.CallOpts, schema_ *big.Int, issuerId_ *big.Int) (bool, error)

IsAllowedIssuer is a free data retrieval call binding the contract method 0x969f407e.

Solidity: function isAllowedIssuer(uint256 schema_, uint256 issuerId_) view returns(bool)

func (*SBTIdentityVerifierCaller) IsIdentityProved

func (_SBTIdentityVerifier *SBTIdentityVerifierCaller) IsIdentityProved(opts *bind.CallOpts, userAddr_ common.Address) (bool, error)

IsIdentityProved is a free data retrieval call binding the contract method 0x413a3b43.

Solidity: function isIdentityProved(address userAddr_) view returns(bool)

func (*SBTIdentityVerifierCaller) IsIdentityProved0

func (_SBTIdentityVerifier *SBTIdentityVerifierCaller) IsIdentityProved0(opts *bind.CallOpts, identityId_ *big.Int) (bool, error)

IsIdentityProved0 is a free data retrieval call binding the contract method 0x5428764d.

Solidity: function isIdentityProved(uint256 identityId_) view returns(bool)

func (*SBTIdentityVerifierCaller) Owner

func (_SBTIdentityVerifier *SBTIdentityVerifierCaller) 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 (*SBTIdentityVerifierCaller) ProxiableUUID

func (_SBTIdentityVerifier *SBTIdentityVerifierCaller) 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 (*SBTIdentityVerifierCaller) SBTIDENTITYPROOFQUERYID

func (_SBTIdentityVerifier *SBTIdentityVerifierCaller) SBTIDENTITYPROOFQUERYID(opts *bind.CallOpts) (string, error)

SBTIDENTITYPROOFQUERYID is a free data retrieval call binding the contract method 0x2dff9de4.

Solidity: function SBT_IDENTITY_PROOF_QUERY_ID() view returns(string)

func (*SBTIdentityVerifierCaller) SbtToken

func (_SBTIdentityVerifier *SBTIdentityVerifierCaller) SbtToken(opts *bind.CallOpts) (common.Address, error)

SbtToken is a free data retrieval call binding the contract method 0xe359d997.

Solidity: function sbtToken() view returns(address)

func (*SBTIdentityVerifierCaller) ZkpQueriesStorage

func (_SBTIdentityVerifier *SBTIdentityVerifierCaller) ZkpQueriesStorage(opts *bind.CallOpts) (common.Address, error)

ZkpQueriesStorage is a free data retrieval call binding the contract method 0xb4db08cc.

Solidity: function zkpQueriesStorage() view returns(address)

type SBTIdentityVerifierCallerRaw

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

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

func (*SBTIdentityVerifierCallerRaw) Call

func (_SBTIdentityVerifier *SBTIdentityVerifierCallerRaw) 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 SBTIdentityVerifierCallerSession

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

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

func (*SBTIdentityVerifierCallerSession) AddressToIdentityId

func (_SBTIdentityVerifier *SBTIdentityVerifierCallerSession) AddressToIdentityId(arg0 common.Address) (*big.Int, error)

AddressToIdentityId is a free data retrieval call binding the contract method 0xb4528ff9.

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

func (*SBTIdentityVerifierCallerSession) GetAllowedIssuers

func (_SBTIdentityVerifier *SBTIdentityVerifierCallerSession) GetAllowedIssuers(schema_ *big.Int) ([]*big.Int, error)

GetAllowedIssuers is a free data retrieval call binding the contract method 0xef8dbdd3.

Solidity: function getAllowedIssuers(uint256 schema_) view returns(uint256[])

func (*SBTIdentityVerifierCallerSession) GetIdentityProofInfo

func (_SBTIdentityVerifier *SBTIdentityVerifierCallerSession) GetIdentityProofInfo(identityId_ *big.Int) (ISBTIdentityVerifierSBTIdentityProofInfo, error)

GetIdentityProofInfo is a free data retrieval call binding the contract method 0x5332d5ec.

Solidity: function getIdentityProofInfo(uint256 identityId_) view returns((address,uint256,bool))

func (*SBTIdentityVerifierCallerSession) IsAllowedIssuer

func (_SBTIdentityVerifier *SBTIdentityVerifierCallerSession) IsAllowedIssuer(schema_ *big.Int, issuerId_ *big.Int) (bool, error)

IsAllowedIssuer is a free data retrieval call binding the contract method 0x969f407e.

Solidity: function isAllowedIssuer(uint256 schema_, uint256 issuerId_) view returns(bool)

func (*SBTIdentityVerifierCallerSession) IsIdentityProved

func (_SBTIdentityVerifier *SBTIdentityVerifierCallerSession) IsIdentityProved(userAddr_ common.Address) (bool, error)

IsIdentityProved is a free data retrieval call binding the contract method 0x413a3b43.

Solidity: function isIdentityProved(address userAddr_) view returns(bool)

func (*SBTIdentityVerifierCallerSession) IsIdentityProved0

func (_SBTIdentityVerifier *SBTIdentityVerifierCallerSession) IsIdentityProved0(identityId_ *big.Int) (bool, error)

IsIdentityProved0 is a free data retrieval call binding the contract method 0x5428764d.

Solidity: function isIdentityProved(uint256 identityId_) view returns(bool)

func (*SBTIdentityVerifierCallerSession) Owner

func (_SBTIdentityVerifier *SBTIdentityVerifierCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SBTIdentityVerifierCallerSession) ProxiableUUID

func (_SBTIdentityVerifier *SBTIdentityVerifierCallerSession) ProxiableUUID() ([32]byte, error)

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*SBTIdentityVerifierCallerSession) SBTIDENTITYPROOFQUERYID

func (_SBTIdentityVerifier *SBTIdentityVerifierCallerSession) SBTIDENTITYPROOFQUERYID() (string, error)

SBTIDENTITYPROOFQUERYID is a free data retrieval call binding the contract method 0x2dff9de4.

Solidity: function SBT_IDENTITY_PROOF_QUERY_ID() view returns(string)

func (*SBTIdentityVerifierCallerSession) SbtToken

func (_SBTIdentityVerifier *SBTIdentityVerifierCallerSession) SbtToken() (common.Address, error)

SbtToken is a free data retrieval call binding the contract method 0xe359d997.

Solidity: function sbtToken() view returns(address)

func (*SBTIdentityVerifierCallerSession) ZkpQueriesStorage

func (_SBTIdentityVerifier *SBTIdentityVerifierCallerSession) ZkpQueriesStorage() (common.Address, error)

ZkpQueriesStorage is a free data retrieval call binding the contract method 0xb4db08cc.

Solidity: function zkpQueriesStorage() view returns(address)

type SBTIdentityVerifierFilterer

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

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

func NewSBTIdentityVerifierFilterer

func NewSBTIdentityVerifierFilterer(address common.Address, filterer bind.ContractFilterer) (*SBTIdentityVerifierFilterer, error)

NewSBTIdentityVerifierFilterer creates a new log filterer instance of SBTIdentityVerifier, bound to a specific deployed contract.

func (*SBTIdentityVerifierFilterer) FilterAdminChanged

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*SBTIdentityVerifierAdminChangedIterator, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*SBTIdentityVerifierFilterer) FilterBeaconUpgraded

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*SBTIdentityVerifierBeaconUpgradedIterator, error)

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*SBTIdentityVerifierFilterer) FilterInitialized

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) FilterInitialized(opts *bind.FilterOpts) (*SBTIdentityVerifierInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*SBTIdentityVerifierFilterer) FilterOwnershipTransferred

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SBTIdentityVerifierOwnershipTransferredIterator, error)

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

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

func (*SBTIdentityVerifierFilterer) FilterSBTIdentityProved

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) FilterSBTIdentityProved(opts *bind.FilterOpts, identityId []*big.Int) (*SBTIdentityVerifierSBTIdentityProvedIterator, error)

FilterSBTIdentityProved is a free log retrieval operation binding the contract event 0x33d963db6181e83a89d884ce98977f9cf447ffef066289de3ced2d2006441391.

Solidity: event SBTIdentityProved(uint256 indexed identityId, address senderAddr, address tokenAddr, uint256 tokenID)

func (*SBTIdentityVerifierFilterer) FilterUpgraded

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*SBTIdentityVerifierUpgradedIterator, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*SBTIdentityVerifierFilterer) ParseAdminChanged

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) ParseAdminChanged(log types.Log) (*SBTIdentityVerifierAdminChanged, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*SBTIdentityVerifierFilterer) ParseBeaconUpgraded

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) ParseBeaconUpgraded(log types.Log) (*SBTIdentityVerifierBeaconUpgraded, error)

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*SBTIdentityVerifierFilterer) ParseInitialized

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) ParseInitialized(log types.Log) (*SBTIdentityVerifierInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*SBTIdentityVerifierFilterer) ParseOwnershipTransferred

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) ParseOwnershipTransferred(log types.Log) (*SBTIdentityVerifierOwnershipTransferred, error)

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

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

func (*SBTIdentityVerifierFilterer) ParseSBTIdentityProved

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) ParseSBTIdentityProved(log types.Log) (*SBTIdentityVerifierSBTIdentityProved, error)

ParseSBTIdentityProved is a log parse operation binding the contract event 0x33d963db6181e83a89d884ce98977f9cf447ffef066289de3ced2d2006441391.

Solidity: event SBTIdentityProved(uint256 indexed identityId, address senderAddr, address tokenAddr, uint256 tokenID)

func (*SBTIdentityVerifierFilterer) ParseUpgraded

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) ParseUpgraded(log types.Log) (*SBTIdentityVerifierUpgraded, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*SBTIdentityVerifierFilterer) WatchAdminChanged

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *SBTIdentityVerifierAdminChanged) (event.Subscription, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*SBTIdentityVerifierFilterer) WatchBeaconUpgraded

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *SBTIdentityVerifierBeaconUpgraded, 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 (*SBTIdentityVerifierFilterer) WatchInitialized

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *SBTIdentityVerifierInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*SBTIdentityVerifierFilterer) WatchOwnershipTransferred

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SBTIdentityVerifierOwnershipTransferred, 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 (*SBTIdentityVerifierFilterer) WatchSBTIdentityProved

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) WatchSBTIdentityProved(opts *bind.WatchOpts, sink chan<- *SBTIdentityVerifierSBTIdentityProved, identityId []*big.Int) (event.Subscription, error)

WatchSBTIdentityProved is a free log subscription operation binding the contract event 0x33d963db6181e83a89d884ce98977f9cf447ffef066289de3ced2d2006441391.

Solidity: event SBTIdentityProved(uint256 indexed identityId, address senderAddr, address tokenAddr, uint256 tokenID)

func (*SBTIdentityVerifierFilterer) WatchUpgraded

func (_SBTIdentityVerifier *SBTIdentityVerifierFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *SBTIdentityVerifierUpgraded, 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 SBTIdentityVerifierInitialized

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

SBTIdentityVerifierInitialized represents a Initialized event raised by the SBTIdentityVerifier contract.

type SBTIdentityVerifierInitializedIterator

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

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

func (*SBTIdentityVerifierInitializedIterator) Close

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

func (*SBTIdentityVerifierInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SBTIdentityVerifierInitializedIterator) 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 SBTIdentityVerifierOwnershipTransferred

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

SBTIdentityVerifierOwnershipTransferred represents a OwnershipTransferred event raised by the SBTIdentityVerifier contract.

type SBTIdentityVerifierOwnershipTransferredIterator

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

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

func (*SBTIdentityVerifierOwnershipTransferredIterator) Close

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

func (*SBTIdentityVerifierOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SBTIdentityVerifierOwnershipTransferredIterator) 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 SBTIdentityVerifierRaw

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

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

func (*SBTIdentityVerifierRaw) Call

func (_SBTIdentityVerifier *SBTIdentityVerifierRaw) 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 (*SBTIdentityVerifierRaw) Transact

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

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

func (*SBTIdentityVerifierRaw) Transfer

func (_SBTIdentityVerifier *SBTIdentityVerifierRaw) 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 SBTIdentityVerifierSBTIdentityProved

type SBTIdentityVerifierSBTIdentityProved struct {
	IdentityId *big.Int
	SenderAddr common.Address
	TokenAddr  common.Address
	TokenID    *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

SBTIdentityVerifierSBTIdentityProved represents a SBTIdentityProved event raised by the SBTIdentityVerifier contract.

type SBTIdentityVerifierSBTIdentityProvedIterator

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

SBTIdentityVerifierSBTIdentityProvedIterator is returned from FilterSBTIdentityProved and is used to iterate over the raw logs and unpacked data for SBTIdentityProved events raised by the SBTIdentityVerifier contract.

func (*SBTIdentityVerifierSBTIdentityProvedIterator) Close

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

func (*SBTIdentityVerifierSBTIdentityProvedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SBTIdentityVerifierSBTIdentityProvedIterator) 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 SBTIdentityVerifierSession

type SBTIdentityVerifierSession struct {
	Contract     *SBTIdentityVerifier // 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
}

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

func (*SBTIdentityVerifierSession) AddressToIdentityId

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) AddressToIdentityId(arg0 common.Address) (*big.Int, error)

AddressToIdentityId is a free data retrieval call binding the contract method 0xb4528ff9.

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

func (*SBTIdentityVerifierSession) GetAllowedIssuers

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) GetAllowedIssuers(schema_ *big.Int) ([]*big.Int, error)

GetAllowedIssuers is a free data retrieval call binding the contract method 0xef8dbdd3.

Solidity: function getAllowedIssuers(uint256 schema_) view returns(uint256[])

func (*SBTIdentityVerifierSession) GetIdentityProofInfo

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) GetIdentityProofInfo(identityId_ *big.Int) (ISBTIdentityVerifierSBTIdentityProofInfo, error)

GetIdentityProofInfo is a free data retrieval call binding the contract method 0x5332d5ec.

Solidity: function getIdentityProofInfo(uint256 identityId_) view returns((address,uint256,bool))

func (*SBTIdentityVerifierSession) IsAllowedIssuer

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) IsAllowedIssuer(schema_ *big.Int, issuerId_ *big.Int) (bool, error)

IsAllowedIssuer is a free data retrieval call binding the contract method 0x969f407e.

Solidity: function isAllowedIssuer(uint256 schema_, uint256 issuerId_) view returns(bool)

func (*SBTIdentityVerifierSession) IsIdentityProved

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) IsIdentityProved(userAddr_ common.Address) (bool, error)

IsIdentityProved is a free data retrieval call binding the contract method 0x413a3b43.

Solidity: function isIdentityProved(address userAddr_) view returns(bool)

func (*SBTIdentityVerifierSession) IsIdentityProved0

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) IsIdentityProved0(identityId_ *big.Int) (bool, error)

IsIdentityProved0 is a free data retrieval call binding the contract method 0x5428764d.

Solidity: function isIdentityProved(uint256 identityId_) view returns(bool)

func (*SBTIdentityVerifierSession) Owner

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SBTIdentityVerifierSession) ProveIdentity

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) ProveIdentity(proveIdentityParams_ IBaseVerifierProveIdentityParams) (*types.Transaction, error)

ProveIdentity is a paid mutator transaction binding the contract method 0x008b9130.

Solidity: function proveIdentity(((uint256,uint256,uint256,bytes32[]),uint256[],uint256[2],uint256[2][2],uint256[2]) proveIdentityParams_) returns()

func (*SBTIdentityVerifierSession) ProxiableUUID

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) ProxiableUUID() ([32]byte, error)

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*SBTIdentityVerifierSession) RenounceOwnership

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SBTIdentityVerifierSession) SBTIDENTITYPROOFQUERYID

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) SBTIDENTITYPROOFQUERYID() (string, error)

SBTIDENTITYPROOFQUERYID is a free data retrieval call binding the contract method 0x2dff9de4.

Solidity: function SBT_IDENTITY_PROOF_QUERY_ID() view returns(string)

func (*SBTIdentityVerifierSession) SBTIdentityVerifierInit

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) SBTIdentityVerifierInit(zkpQueriesStorage_ common.Address, sbtToken_ common.Address) (*types.Transaction, error)

SBTIdentityVerifierInit is a paid mutator transaction binding the contract method 0x935454d3.

Solidity: function __SBTIdentityVerifier_init(address zkpQueriesStorage_, address sbtToken_) returns()

func (*SBTIdentityVerifierSession) SbtToken

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) SbtToken() (common.Address, error)

SbtToken is a free data retrieval call binding the contract method 0xe359d997.

Solidity: function sbtToken() view returns(address)

func (*SBTIdentityVerifierSession) SetZKPQueriesStorage

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) SetZKPQueriesStorage(newZKPQueriesStorage_ common.Address) (*types.Transaction, error)

SetZKPQueriesStorage is a paid mutator transaction binding the contract method 0xddebe5c0.

Solidity: function setZKPQueriesStorage(address newZKPQueriesStorage_) returns()

func (*SBTIdentityVerifierSession) TransferOwnership

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) 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 (*SBTIdentityVerifierSession) TransitStateAndProveIdentity

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) TransitStateAndProveIdentity(proveIdentityParams_ IBaseVerifierProveIdentityParams, transitStateParams_ IBaseVerifierTransitStateParams) (*types.Transaction, error)

TransitStateAndProveIdentity is a paid mutator transaction binding the contract method 0xd2fbb694.

Solidity: function transitStateAndProveIdentity(((uint256,uint256,uint256,bytes32[]),uint256[],uint256[2],uint256[2][2],uint256[2]) proveIdentityParams_, (bytes32,(uint256,uint256),bytes) transitStateParams_) returns()

func (*SBTIdentityVerifierSession) UpdateAllowedIssuers

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) UpdateAllowedIssuers(schema_ *big.Int, issuerIds_ []*big.Int, isAdding_ bool) (*types.Transaction, error)

UpdateAllowedIssuers is a paid mutator transaction binding the contract method 0x051788a5.

Solidity: function updateAllowedIssuers(uint256 schema_, uint256[] issuerIds_, bool isAdding_) returns()

func (*SBTIdentityVerifierSession) UpgradeTo

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) 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 (*SBTIdentityVerifierSession) UpgradeToAndCall

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) 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 (*SBTIdentityVerifierSession) ZkpQueriesStorage

func (_SBTIdentityVerifier *SBTIdentityVerifierSession) ZkpQueriesStorage() (common.Address, error)

ZkpQueriesStorage is a free data retrieval call binding the contract method 0xb4db08cc.

Solidity: function zkpQueriesStorage() view returns(address)

type SBTIdentityVerifierTransactor

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

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

func NewSBTIdentityVerifierTransactor

func NewSBTIdentityVerifierTransactor(address common.Address, transactor bind.ContractTransactor) (*SBTIdentityVerifierTransactor, error)

NewSBTIdentityVerifierTransactor creates a new write-only instance of SBTIdentityVerifier, bound to a specific deployed contract.

func (*SBTIdentityVerifierTransactor) ProveIdentity

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactor) ProveIdentity(opts *bind.TransactOpts, proveIdentityParams_ IBaseVerifierProveIdentityParams) (*types.Transaction, error)

ProveIdentity is a paid mutator transaction binding the contract method 0x008b9130.

Solidity: function proveIdentity(((uint256,uint256,uint256,bytes32[]),uint256[],uint256[2],uint256[2][2],uint256[2]) proveIdentityParams_) returns()

func (*SBTIdentityVerifierTransactor) RenounceOwnership

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SBTIdentityVerifierTransactor) SBTIdentityVerifierInit

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactor) SBTIdentityVerifierInit(opts *bind.TransactOpts, zkpQueriesStorage_ common.Address, sbtToken_ common.Address) (*types.Transaction, error)

SBTIdentityVerifierInit is a paid mutator transaction binding the contract method 0x935454d3.

Solidity: function __SBTIdentityVerifier_init(address zkpQueriesStorage_, address sbtToken_) returns()

func (*SBTIdentityVerifierTransactor) SetZKPQueriesStorage

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactor) SetZKPQueriesStorage(opts *bind.TransactOpts, newZKPQueriesStorage_ common.Address) (*types.Transaction, error)

SetZKPQueriesStorage is a paid mutator transaction binding the contract method 0xddebe5c0.

Solidity: function setZKPQueriesStorage(address newZKPQueriesStorage_) returns()

func (*SBTIdentityVerifierTransactor) TransferOwnership

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactor) 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 (*SBTIdentityVerifierTransactor) TransitStateAndProveIdentity

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactor) TransitStateAndProveIdentity(opts *bind.TransactOpts, proveIdentityParams_ IBaseVerifierProveIdentityParams, transitStateParams_ IBaseVerifierTransitStateParams) (*types.Transaction, error)

TransitStateAndProveIdentity is a paid mutator transaction binding the contract method 0xd2fbb694.

Solidity: function transitStateAndProveIdentity(((uint256,uint256,uint256,bytes32[]),uint256[],uint256[2],uint256[2][2],uint256[2]) proveIdentityParams_, (bytes32,(uint256,uint256),bytes) transitStateParams_) returns()

func (*SBTIdentityVerifierTransactor) UpdateAllowedIssuers

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactor) UpdateAllowedIssuers(opts *bind.TransactOpts, schema_ *big.Int, issuerIds_ []*big.Int, isAdding_ bool) (*types.Transaction, error)

UpdateAllowedIssuers is a paid mutator transaction binding the contract method 0x051788a5.

Solidity: function updateAllowedIssuers(uint256 schema_, uint256[] issuerIds_, bool isAdding_) returns()

func (*SBTIdentityVerifierTransactor) UpgradeTo

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactor) 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 (*SBTIdentityVerifierTransactor) UpgradeToAndCall

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

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

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

type SBTIdentityVerifierTransactorRaw

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

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

func (*SBTIdentityVerifierTransactorRaw) Transact

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

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

func (*SBTIdentityVerifierTransactorRaw) Transfer

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactorRaw) 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 SBTIdentityVerifierTransactorSession

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

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

func (*SBTIdentityVerifierTransactorSession) ProveIdentity

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactorSession) ProveIdentity(proveIdentityParams_ IBaseVerifierProveIdentityParams) (*types.Transaction, error)

ProveIdentity is a paid mutator transaction binding the contract method 0x008b9130.

Solidity: function proveIdentity(((uint256,uint256,uint256,bytes32[]),uint256[],uint256[2],uint256[2][2],uint256[2]) proveIdentityParams_) returns()

func (*SBTIdentityVerifierTransactorSession) RenounceOwnership

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SBTIdentityVerifierTransactorSession) SBTIdentityVerifierInit

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactorSession) SBTIdentityVerifierInit(zkpQueriesStorage_ common.Address, sbtToken_ common.Address) (*types.Transaction, error)

SBTIdentityVerifierInit is a paid mutator transaction binding the contract method 0x935454d3.

Solidity: function __SBTIdentityVerifier_init(address zkpQueriesStorage_, address sbtToken_) returns()

func (*SBTIdentityVerifierTransactorSession) SetZKPQueriesStorage

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactorSession) SetZKPQueriesStorage(newZKPQueriesStorage_ common.Address) (*types.Transaction, error)

SetZKPQueriesStorage is a paid mutator transaction binding the contract method 0xddebe5c0.

Solidity: function setZKPQueriesStorage(address newZKPQueriesStorage_) returns()

func (*SBTIdentityVerifierTransactorSession) TransferOwnership

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactorSession) 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 (*SBTIdentityVerifierTransactorSession) TransitStateAndProveIdentity

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactorSession) TransitStateAndProveIdentity(proveIdentityParams_ IBaseVerifierProveIdentityParams, transitStateParams_ IBaseVerifierTransitStateParams) (*types.Transaction, error)

TransitStateAndProveIdentity is a paid mutator transaction binding the contract method 0xd2fbb694.

Solidity: function transitStateAndProveIdentity(((uint256,uint256,uint256,bytes32[]),uint256[],uint256[2],uint256[2][2],uint256[2]) proveIdentityParams_, (bytes32,(uint256,uint256),bytes) transitStateParams_) returns()

func (*SBTIdentityVerifierTransactorSession) UpdateAllowedIssuers

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactorSession) UpdateAllowedIssuers(schema_ *big.Int, issuerIds_ []*big.Int, isAdding_ bool) (*types.Transaction, error)

UpdateAllowedIssuers is a paid mutator transaction binding the contract method 0x051788a5.

Solidity: function updateAllowedIssuers(uint256 schema_, uint256[] issuerIds_, bool isAdding_) returns()

func (*SBTIdentityVerifierTransactorSession) UpgradeTo

func (_SBTIdentityVerifier *SBTIdentityVerifierTransactorSession) 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 (*SBTIdentityVerifierTransactorSession) UpgradeToAndCall

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

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

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

type SBTIdentityVerifierUpgraded

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

SBTIdentityVerifierUpgraded represents a Upgraded event raised by the SBTIdentityVerifier contract.

type SBTIdentityVerifierUpgradedIterator

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

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

func (*SBTIdentityVerifierUpgradedIterator) Close

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

func (*SBTIdentityVerifierUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

Jump to

Keyboard shortcuts

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