contracts

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package contracts provides a set of abstractions and utilities for interacting with Ethereum smart contracts, specifically the ones that are required for type-safe blockchain interaction in this SDK.

The package includes metadata, ABIs, and various entities for these contracts, allowing users to conveniently work with Ethereum contracts associated with guardian roles, KYC records, and related events. It encapsulates the complexity of contract interactions and facilitates the integration of Ethereum smart contract functionality into Go applications.

Index

Constants

This section is empty.

Variables

View Source
var GuardianRegistryABI = GuardianRegistryMetaData.ABI

GuardianRegistryABI is the input ABI used to generate the binding from. Deprecated: Use GuardianRegistryMetaData.ABI instead.

View Source
var GuardianRegistryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"guardian\",\"type\":\"address\"},{\"internalType\":\"uint256[2]\",\"name\":\"pubKey\",\"type\":\"uint256[2]\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"grantGuardianRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"guardians\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"whitelisted\",\"type\":\"bool\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"guardian\",\"type\":\"address\"}],\"name\":\"isWhitelisted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"newOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"pubKeyToAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceGuardianRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"guardian\",\"type\":\"address\"}],\"name\":\"revokeGuardianRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"setNewOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

GuardianRegistryMetaData contains all meta data concerning the GuardianRegistry contract.

View Source
var ZkCertificateRegistryABI = ZkCertificateRegistryMetaData.ABI

ZkCertificateRegistryABI is the input ABI used to generate the binding from. Deprecated: Use ZkCertificateRegistryMetaData.ABI instead.

View Source
var ZkCertificateRegistryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"GuardianRegistry_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"treeDepth_\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"description_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":\"bytes32\",\"name\":\"zkCertificateLeafHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"Guardian\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"zkCertificateAddition\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"zkCertificateLeafHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"Guardian\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"zkCertificateRevocation\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ZERO_VALUE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"ZkCertificateHashToCommitedGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"ZkCertificateHashToIndexInQueue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"ZkCertificateHashToQueueTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"ZkCertificateQueue\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"ZkCertificateToGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_GuardianRegistry\",\"outputs\":[{\"internalType\":\"contractGuardianRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"leafIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zkCertificateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"merkleProof\",\"type\":\"bytes32[]\"}],\"name\":\"addZkCertificate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newTime\",\"type\":\"uint256\"}],\"name\":\"changeQueueExpirationTime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"zkCertificateHash\",\"type\":\"bytes32\"}],\"name\":\"checkZkCertificateHashInQueue\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentQueuePointer\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"description\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMerkleRoots\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"zkCertificateHash\",\"type\":\"bytes32\"}],\"name\":\"getTimeParameters\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_left\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_right\",\"type\":\"bytes32\"}],\"name\":\"hashLeftRight\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initBlockHeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"merkleRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"merkleRootIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"merkleRootValidIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"merkleRoots\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"newOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextLeafIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"queueExpirationTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"zkCertificateHash\",\"type\":\"bytes32\"}],\"name\":\"registerToQueue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"leafIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zkCertificateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"merkleProof\",\"type\":\"bytes32[]\"}],\"name\":\"revokeZkCertificate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"setNewOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treeDepth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treeSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_merkleRoot\",\"type\":\"bytes32\"}],\"name\":\"verifyMerkleRoot\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ZkCertificateRegistryMetaData contains all meta data concerning the ZkCertificateRegistry contract.

View Source
var ZkKYCRegistryABI = ZkKYCRegistryMetaData.ABI

ZkKYCRegistryABI is the input ABI used to generate the binding from. Deprecated: Use ZkKYCRegistryMetaData.ABI instead.

View Source
var ZkKYCRegistryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"GuardianRegistry_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"treeDepth_\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"description_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":\"bytes32\",\"name\":\"zkCertificateLeafHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"Guardian\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"zkCertificateAddition\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"zkCertificateLeafHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"Guardian\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"zkCertificateRevocation\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ZERO_VALUE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"ZkCertificateHashToCommitedGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"ZkCertificateHashToIndexInQueue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"ZkCertificateHashToQueueTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"ZkCertificateQueue\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"ZkCertificateToGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_GuardianRegistry\",\"outputs\":[{\"internalType\":\"contractGuardianRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"name\":\"addZkCertificate\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"leafIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zkCertificateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"merkleProof\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"idHash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"saltHash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expirationTime\",\"type\":\"uint256\"}],\"name\":\"addZkKYC\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newTime\",\"type\":\"uint256\"}],\"name\":\"changeQueueExpirationTime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"zkCertificateHash\",\"type\":\"bytes32\"}],\"name\":\"checkZkCertificateHashInQueue\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentQueuePointer\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"description\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMerkleRoots\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"zkCertificateHash\",\"type\":\"bytes32\"}],\"name\":\"getTimeParameters\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_left\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_right\",\"type\":\"bytes32\"}],\"name\":\"hashLeftRight\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"humanIDSaltRegistry\",\"outputs\":[{\"internalType\":\"contractHumanIDSaltRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initBlockHeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"merkleRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"merkleRootIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"merkleRootValidIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"merkleRoots\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"newOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextLeafIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"queueExpirationTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"zkCertificateHash\",\"type\":\"bytes32\"}],\"name\":\"registerToQueue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"leafIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zkCertificateHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"merkleProof\",\"type\":\"bytes32[]\"}],\"name\":\"revokeZkCertificate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"setNewOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treeDepth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treeSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_merkleRoot\",\"type\":\"bytes32\"}],\"name\":\"verifyMerkleRoot\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ZkKYCRegistryMetaData contains all meta data concerning the ZkKYCRegistry contract.

Functions

This section is empty.

Types

type GuardianRegistry

type GuardianRegistry struct {
	GuardianRegistryCaller     // Read-only binding to the contract
	GuardianRegistryTransactor // Write-only binding to the contract
	GuardianRegistryFilterer   // Log filterer for contract events
}

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

func NewGuardianRegistry

func NewGuardianRegistry(address common.Address, backend bind.ContractBackend) (*GuardianRegistry, error)

NewGuardianRegistry creates a new instance of GuardianRegistry, bound to a specific deployed contract.

type GuardianRegistryCaller

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

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

func NewGuardianRegistryCaller

func NewGuardianRegistryCaller(address common.Address, caller bind.ContractCaller) (*GuardianRegistryCaller, error)

NewGuardianRegistryCaller creates a new read-only instance of GuardianRegistry, bound to a specific deployed contract.

func (*GuardianRegistryCaller) Guardians

func (_GuardianRegistry *GuardianRegistryCaller) Guardians(opts *bind.CallOpts, arg0 common.Address) (struct {
	Whitelisted bool
	Name        string
}, error)

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

Solidity: function guardians(address ) view returns(bool whitelisted, string name)

func (*GuardianRegistryCaller) IsWhitelisted

func (_GuardianRegistry *GuardianRegistryCaller) IsWhitelisted(opts *bind.CallOpts, guardian common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address guardian) view returns(bool)

func (*GuardianRegistryCaller) NewOwner

func (_GuardianRegistry *GuardianRegistryCaller) NewOwner(opts *bind.CallOpts) (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*GuardianRegistryCaller) Owner

func (_GuardianRegistry *GuardianRegistryCaller) 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 (*GuardianRegistryCaller) PubKeyToAddress

func (_GuardianRegistry *GuardianRegistryCaller) PubKeyToAddress(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (common.Address, error)

PubKeyToAddress is a free data retrieval call binding the contract method 0x7b9bff31.

Solidity: function pubKeyToAddress(uint256 , uint256 ) view returns(address)

type GuardianRegistryCallerRaw

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

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

func (*GuardianRegistryCallerRaw) Call

func (_GuardianRegistry *GuardianRegistryCallerRaw) 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 GuardianRegistryCallerSession

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

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

func (*GuardianRegistryCallerSession) Guardians

func (_GuardianRegistry *GuardianRegistryCallerSession) Guardians(arg0 common.Address) (struct {
	Whitelisted bool
	Name        string
}, error)

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

Solidity: function guardians(address ) view returns(bool whitelisted, string name)

func (*GuardianRegistryCallerSession) IsWhitelisted

func (_GuardianRegistry *GuardianRegistryCallerSession) IsWhitelisted(guardian common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address guardian) view returns(bool)

func (*GuardianRegistryCallerSession) NewOwner

func (_GuardianRegistry *GuardianRegistryCallerSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*GuardianRegistryCallerSession) Owner

func (_GuardianRegistry *GuardianRegistryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*GuardianRegistryCallerSession) PubKeyToAddress

func (_GuardianRegistry *GuardianRegistryCallerSession) PubKeyToAddress(arg0 *big.Int, arg1 *big.Int) (common.Address, error)

PubKeyToAddress is a free data retrieval call binding the contract method 0x7b9bff31.

Solidity: function pubKeyToAddress(uint256 , uint256 ) view returns(address)

type GuardianRegistryFilterer

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

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

func NewGuardianRegistryFilterer

func NewGuardianRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*GuardianRegistryFilterer, error)

NewGuardianRegistryFilterer creates a new log filterer instance of GuardianRegistry, bound to a specific deployed contract.

func (*GuardianRegistryFilterer) FilterOwnershipTransferred

func (_GuardianRegistry *GuardianRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*GuardianRegistryOwnershipTransferredIterator, error)

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

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

func (*GuardianRegistryFilterer) ParseOwnershipTransferred

func (_GuardianRegistry *GuardianRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*GuardianRegistryOwnershipTransferred, error)

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

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

func (*GuardianRegistryFilterer) WatchOwnershipTransferred

func (_GuardianRegistry *GuardianRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *GuardianRegistryOwnershipTransferred, 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 GuardianRegistryOwnershipTransferred

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

GuardianRegistryOwnershipTransferred represents a OwnershipTransferred event raised by the GuardianRegistry contract.

type GuardianRegistryOwnershipTransferredIterator

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

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

func (*GuardianRegistryOwnershipTransferredIterator) Close

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

func (*GuardianRegistryOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GuardianRegistryOwnershipTransferredIterator) 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 GuardianRegistryRaw

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

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

func (*GuardianRegistryRaw) Call

func (_GuardianRegistry *GuardianRegistryRaw) 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 (*GuardianRegistryRaw) Transact

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

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

func (*GuardianRegistryRaw) Transfer

func (_GuardianRegistry *GuardianRegistryRaw) 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 GuardianRegistrySession

type GuardianRegistrySession struct {
	Contract     *GuardianRegistry // 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
}

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

func (*GuardianRegistrySession) GrantGuardianRole

func (_GuardianRegistry *GuardianRegistrySession) GrantGuardianRole(guardian common.Address, pubKey [2]*big.Int, name string) (*types.Transaction, error)

GrantGuardianRole is a paid mutator transaction binding the contract method 0x06b7e1e8.

Solidity: function grantGuardianRole(address guardian, uint256[2] pubKey, string name) returns()

func (*GuardianRegistrySession) Guardians

func (_GuardianRegistry *GuardianRegistrySession) Guardians(arg0 common.Address) (struct {
	Whitelisted bool
	Name        string
}, error)

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

Solidity: function guardians(address ) view returns(bool whitelisted, string name)

func (*GuardianRegistrySession) IsWhitelisted

func (_GuardianRegistry *GuardianRegistrySession) IsWhitelisted(guardian common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address guardian) view returns(bool)

func (*GuardianRegistrySession) NewOwner

func (_GuardianRegistry *GuardianRegistrySession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*GuardianRegistrySession) Owner

func (_GuardianRegistry *GuardianRegistrySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*GuardianRegistrySession) PubKeyToAddress

func (_GuardianRegistry *GuardianRegistrySession) PubKeyToAddress(arg0 *big.Int, arg1 *big.Int) (common.Address, error)

PubKeyToAddress is a free data retrieval call binding the contract method 0x7b9bff31.

Solidity: function pubKeyToAddress(uint256 , uint256 ) view returns(address)

func (*GuardianRegistrySession) RenounceGuardianRole

func (_GuardianRegistry *GuardianRegistrySession) RenounceGuardianRole() (*types.Transaction, error)

RenounceGuardianRole is a paid mutator transaction binding the contract method 0x34d03190.

Solidity: function renounceGuardianRole() returns()

func (*GuardianRegistrySession) RenounceOwnership

func (_GuardianRegistry *GuardianRegistrySession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GuardianRegistrySession) RevokeGuardianRole

func (_GuardianRegistry *GuardianRegistrySession) RevokeGuardianRole(guardian common.Address) (*types.Transaction, error)

RevokeGuardianRole is a paid mutator transaction binding the contract method 0x4b4b5389.

Solidity: function revokeGuardianRole(address guardian) returns()

func (*GuardianRegistrySession) SetNewOwner

func (_GuardianRegistry *GuardianRegistrySession) SetNewOwner(_newOwner common.Address) (*types.Transaction, error)

SetNewOwner is a paid mutator transaction binding the contract method 0xf5a1f5b4.

Solidity: function setNewOwner(address _newOwner) returns()

func (*GuardianRegistrySession) TransferOwnership

func (_GuardianRegistry *GuardianRegistrySession) TransferOwnership() (*types.Transaction, error)

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

Solidity: function transferOwnership() returns()

type GuardianRegistryTransactor

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

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

func NewGuardianRegistryTransactor

func NewGuardianRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*GuardianRegistryTransactor, error)

NewGuardianRegistryTransactor creates a new write-only instance of GuardianRegistry, bound to a specific deployed contract.

func (*GuardianRegistryTransactor) GrantGuardianRole

func (_GuardianRegistry *GuardianRegistryTransactor) GrantGuardianRole(opts *bind.TransactOpts, guardian common.Address, pubKey [2]*big.Int, name string) (*types.Transaction, error)

GrantGuardianRole is a paid mutator transaction binding the contract method 0x06b7e1e8.

Solidity: function grantGuardianRole(address guardian, uint256[2] pubKey, string name) returns()

func (*GuardianRegistryTransactor) RenounceGuardianRole

func (_GuardianRegistry *GuardianRegistryTransactor) RenounceGuardianRole(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceGuardianRole is a paid mutator transaction binding the contract method 0x34d03190.

Solidity: function renounceGuardianRole() returns()

func (*GuardianRegistryTransactor) RenounceOwnership

func (_GuardianRegistry *GuardianRegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GuardianRegistryTransactor) RevokeGuardianRole

func (_GuardianRegistry *GuardianRegistryTransactor) RevokeGuardianRole(opts *bind.TransactOpts, guardian common.Address) (*types.Transaction, error)

RevokeGuardianRole is a paid mutator transaction binding the contract method 0x4b4b5389.

Solidity: function revokeGuardianRole(address guardian) returns()

func (*GuardianRegistryTransactor) SetNewOwner

func (_GuardianRegistry *GuardianRegistryTransactor) SetNewOwner(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)

SetNewOwner is a paid mutator transaction binding the contract method 0xf5a1f5b4.

Solidity: function setNewOwner(address _newOwner) returns()

func (*GuardianRegistryTransactor) TransferOwnership

func (_GuardianRegistry *GuardianRegistryTransactor) TransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function transferOwnership() returns()

type GuardianRegistryTransactorRaw

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

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

func (*GuardianRegistryTransactorRaw) Transact

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

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

func (*GuardianRegistryTransactorRaw) Transfer

func (_GuardianRegistry *GuardianRegistryTransactorRaw) 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 GuardianRegistryTransactorSession

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

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

func (*GuardianRegistryTransactorSession) GrantGuardianRole

func (_GuardianRegistry *GuardianRegistryTransactorSession) GrantGuardianRole(guardian common.Address, pubKey [2]*big.Int, name string) (*types.Transaction, error)

GrantGuardianRole is a paid mutator transaction binding the contract method 0x06b7e1e8.

Solidity: function grantGuardianRole(address guardian, uint256[2] pubKey, string name) returns()

func (*GuardianRegistryTransactorSession) RenounceGuardianRole

func (_GuardianRegistry *GuardianRegistryTransactorSession) RenounceGuardianRole() (*types.Transaction, error)

RenounceGuardianRole is a paid mutator transaction binding the contract method 0x34d03190.

Solidity: function renounceGuardianRole() returns()

func (*GuardianRegistryTransactorSession) RenounceOwnership

func (_GuardianRegistry *GuardianRegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*GuardianRegistryTransactorSession) RevokeGuardianRole

func (_GuardianRegistry *GuardianRegistryTransactorSession) RevokeGuardianRole(guardian common.Address) (*types.Transaction, error)

RevokeGuardianRole is a paid mutator transaction binding the contract method 0x4b4b5389.

Solidity: function revokeGuardianRole(address guardian) returns()

func (*GuardianRegistryTransactorSession) SetNewOwner

func (_GuardianRegistry *GuardianRegistryTransactorSession) SetNewOwner(_newOwner common.Address) (*types.Transaction, error)

SetNewOwner is a paid mutator transaction binding the contract method 0xf5a1f5b4.

Solidity: function setNewOwner(address _newOwner) returns()

func (*GuardianRegistryTransactorSession) TransferOwnership

func (_GuardianRegistry *GuardianRegistryTransactorSession) TransferOwnership() (*types.Transaction, error)

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

Solidity: function transferOwnership() returns()

type ZkCertificateRegistry added in v1.1.0

type ZkCertificateRegistry struct {
	ZkCertificateRegistryCaller     // Read-only binding to the contract
	ZkCertificateRegistryTransactor // Write-only binding to the contract
	ZkCertificateRegistryFilterer   // Log filterer for contract events
}

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

func NewZkCertificateRegistry added in v1.1.0

func NewZkCertificateRegistry(address common.Address, backend bind.ContractBackend) (*ZkCertificateRegistry, error)

NewZkCertificateRegistry creates a new instance of ZkCertificateRegistry, bound to a specific deployed contract.

type ZkCertificateRegistryCaller added in v1.1.0

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

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

func NewZkCertificateRegistryCaller added in v1.1.0

func NewZkCertificateRegistryCaller(address common.Address, caller bind.ContractCaller) (*ZkCertificateRegistryCaller, error)

NewZkCertificateRegistryCaller creates a new read-only instance of ZkCertificateRegistry, bound to a specific deployed contract.

func (*ZkCertificateRegistryCaller) CheckZkCertificateHashInQueue added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) CheckZkCertificateHashInQueue(opts *bind.CallOpts, zkCertificateHash [32]byte) (bool, error)

CheckZkCertificateHashInQueue is a free data retrieval call binding the contract method 0x574aeb69.

Solidity: function checkZkCertificateHashInQueue(bytes32 zkCertificateHash) view returns(bool)

func (*ZkCertificateRegistryCaller) CurrentQueuePointer added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) CurrentQueuePointer(opts *bind.CallOpts) (*big.Int, error)

CurrentQueuePointer is a free data retrieval call binding the contract method 0xb0e7f5bc.

Solidity: function currentQueuePointer() view returns(uint256)

func (*ZkCertificateRegistryCaller) Description added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) Description(opts *bind.CallOpts) (string, error)

Description is a free data retrieval call binding the contract method 0x7284e416.

Solidity: function description() view returns(string)

func (*ZkCertificateRegistryCaller) GetMerkleRoots added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) GetMerkleRoots(opts *bind.CallOpts) ([][32]byte, error)

GetMerkleRoots is a free data retrieval call binding the contract method 0x85135a1a.

Solidity: function getMerkleRoots() view returns(bytes32[])

func (*ZkCertificateRegistryCaller) GetTimeParameters added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) GetTimeParameters(opts *bind.CallOpts, zkCertificateHash [32]byte) (*big.Int, *big.Int, error)

GetTimeParameters is a free data retrieval call binding the contract method 0xc7b6c5f5.

Solidity: function getTimeParameters(bytes32 zkCertificateHash) view returns(uint256, uint256)

func (*ZkCertificateRegistryCaller) GuardianRegistry added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) GuardianRegistry(opts *bind.CallOpts) (common.Address, error)

GuardianRegistry is a free data retrieval call binding the contract method 0x0a1a9950.

Solidity: function _GuardianRegistry() view returns(address)

func (*ZkCertificateRegistryCaller) HashLeftRight added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) HashLeftRight(opts *bind.CallOpts, _left [32]byte, _right [32]byte) ([32]byte, error)

HashLeftRight is a free data retrieval call binding the contract method 0x38bf282e.

Solidity: function hashLeftRight(bytes32 _left, bytes32 _right) pure returns(bytes32)

func (*ZkCertificateRegistryCaller) InitBlockHeight added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) InitBlockHeight(opts *bind.CallOpts) (*big.Int, error)

InitBlockHeight is a free data retrieval call binding the contract method 0xef4b4119.

Solidity: function initBlockHeight() view returns(uint256)

func (*ZkCertificateRegistryCaller) MerkleRoot added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) MerkleRoot(opts *bind.CallOpts) ([32]byte, error)

MerkleRoot is a free data retrieval call binding the contract method 0x2eb4a7ab.

Solidity: function merkleRoot() view returns(bytes32)

func (*ZkCertificateRegistryCaller) MerkleRootIndex added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) MerkleRootIndex(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

MerkleRootIndex is a free data retrieval call binding the contract method 0x390f2b65.

Solidity: function merkleRootIndex(bytes32 ) view returns(uint256)

func (*ZkCertificateRegistryCaller) MerkleRootValidIndex added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) MerkleRootValidIndex(opts *bind.CallOpts) (*big.Int, error)

MerkleRootValidIndex is a free data retrieval call binding the contract method 0xb0033450.

Solidity: function merkleRootValidIndex() view returns(uint256)

func (*ZkCertificateRegistryCaller) MerkleRoots added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) MerkleRoots(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

MerkleRoots is a free data retrieval call binding the contract method 0x71c5ecb1.

Solidity: function merkleRoots(uint256 ) view returns(bytes32)

func (*ZkCertificateRegistryCaller) NewOwner added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) NewOwner(opts *bind.CallOpts) (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*ZkCertificateRegistryCaller) NextLeafIndex added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) NextLeafIndex(opts *bind.CallOpts) (*big.Int, error)

NextLeafIndex is a free data retrieval call binding the contract method 0x0be4f422.

Solidity: function nextLeafIndex() view returns(uint256)

func (*ZkCertificateRegistryCaller) Owner added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) 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 (*ZkCertificateRegistryCaller) QueueExpirationTime added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) QueueExpirationTime(opts *bind.CallOpts) (*big.Int, error)

QueueExpirationTime is a free data retrieval call binding the contract method 0x03f2ee35.

Solidity: function queueExpirationTime() view returns(uint256)

func (*ZkCertificateRegistryCaller) TreeDepth added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) TreeDepth(opts *bind.CallOpts) (*big.Int, error)

TreeDepth is a free data retrieval call binding the contract method 0x16a56c41.

Solidity: function treeDepth() view returns(uint256)

func (*ZkCertificateRegistryCaller) TreeSize added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) TreeSize(opts *bind.CallOpts) (*big.Int, error)

TreeSize is a free data retrieval call binding the contract method 0x8d1ddfb1.

Solidity: function treeSize() view returns(uint256)

func (*ZkCertificateRegistryCaller) VerifyMerkleRoot added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) VerifyMerkleRoot(opts *bind.CallOpts, _merkleRoot [32]byte) (bool, error)

VerifyMerkleRoot is a free data retrieval call binding the contract method 0x0820dc2f.

Solidity: function verifyMerkleRoot(bytes32 _merkleRoot) view returns(bool)

func (*ZkCertificateRegistryCaller) ZEROVALUE added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) ZEROVALUE(opts *bind.CallOpts) ([32]byte, error)

ZEROVALUE is a free data retrieval call binding the contract method 0xec732959.

Solidity: function ZERO_VALUE() view returns(bytes32)

func (*ZkCertificateRegistryCaller) ZkCertificateHashToCommitedGuardian added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) ZkCertificateHashToCommitedGuardian(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)

ZkCertificateHashToCommitedGuardian is a free data retrieval call binding the contract method 0xc36600fe.

Solidity: function ZkCertificateHashToCommitedGuardian(bytes32 ) view returns(address)

func (*ZkCertificateRegistryCaller) ZkCertificateHashToIndexInQueue added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) ZkCertificateHashToIndexInQueue(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

ZkCertificateHashToIndexInQueue is a free data retrieval call binding the contract method 0xccdc65d8.

Solidity: function ZkCertificateHashToIndexInQueue(bytes32 ) view returns(uint256)

func (*ZkCertificateRegistryCaller) ZkCertificateHashToQueueTime added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) ZkCertificateHashToQueueTime(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

ZkCertificateHashToQueueTime is a free data retrieval call binding the contract method 0x4e86710b.

Solidity: function ZkCertificateHashToQueueTime(bytes32 ) view returns(uint256)

func (*ZkCertificateRegistryCaller) ZkCertificateQueue added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) ZkCertificateQueue(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

ZkCertificateQueue is a free data retrieval call binding the contract method 0x37b1b263.

Solidity: function ZkCertificateQueue(uint256 ) view returns(bytes32)

func (*ZkCertificateRegistryCaller) ZkCertificateToGuardian added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) ZkCertificateToGuardian(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)

ZkCertificateToGuardian is a free data retrieval call binding the contract method 0xe09c8a15.

Solidity: function ZkCertificateToGuardian(bytes32 ) view returns(address)

type ZkCertificateRegistryCallerRaw added in v1.1.0

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

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

func (*ZkCertificateRegistryCallerRaw) Call added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerRaw) 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 ZkCertificateRegistryCallerSession added in v1.1.0

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

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

func (*ZkCertificateRegistryCallerSession) CheckZkCertificateHashInQueue added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) CheckZkCertificateHashInQueue(zkCertificateHash [32]byte) (bool, error)

CheckZkCertificateHashInQueue is a free data retrieval call binding the contract method 0x574aeb69.

Solidity: function checkZkCertificateHashInQueue(bytes32 zkCertificateHash) view returns(bool)

func (*ZkCertificateRegistryCallerSession) CurrentQueuePointer added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) CurrentQueuePointer() (*big.Int, error)

CurrentQueuePointer is a free data retrieval call binding the contract method 0xb0e7f5bc.

Solidity: function currentQueuePointer() view returns(uint256)

func (*ZkCertificateRegistryCallerSession) Description added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) Description() (string, error)

Description is a free data retrieval call binding the contract method 0x7284e416.

Solidity: function description() view returns(string)

func (*ZkCertificateRegistryCallerSession) GetMerkleRoots added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) GetMerkleRoots() ([][32]byte, error)

GetMerkleRoots is a free data retrieval call binding the contract method 0x85135a1a.

Solidity: function getMerkleRoots() view returns(bytes32[])

func (*ZkCertificateRegistryCallerSession) GetTimeParameters added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) GetTimeParameters(zkCertificateHash [32]byte) (*big.Int, *big.Int, error)

GetTimeParameters is a free data retrieval call binding the contract method 0xc7b6c5f5.

Solidity: function getTimeParameters(bytes32 zkCertificateHash) view returns(uint256, uint256)

func (*ZkCertificateRegistryCallerSession) GuardianRegistry added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) GuardianRegistry() (common.Address, error)

GuardianRegistry is a free data retrieval call binding the contract method 0x0a1a9950.

Solidity: function _GuardianRegistry() view returns(address)

func (*ZkCertificateRegistryCallerSession) HashLeftRight added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) HashLeftRight(_left [32]byte, _right [32]byte) ([32]byte, error)

HashLeftRight is a free data retrieval call binding the contract method 0x38bf282e.

Solidity: function hashLeftRight(bytes32 _left, bytes32 _right) pure returns(bytes32)

func (*ZkCertificateRegistryCallerSession) InitBlockHeight added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) InitBlockHeight() (*big.Int, error)

InitBlockHeight is a free data retrieval call binding the contract method 0xef4b4119.

Solidity: function initBlockHeight() view returns(uint256)

func (*ZkCertificateRegistryCallerSession) MerkleRoot added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) MerkleRoot() ([32]byte, error)

MerkleRoot is a free data retrieval call binding the contract method 0x2eb4a7ab.

Solidity: function merkleRoot() view returns(bytes32)

func (*ZkCertificateRegistryCallerSession) MerkleRootIndex added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) MerkleRootIndex(arg0 [32]byte) (*big.Int, error)

MerkleRootIndex is a free data retrieval call binding the contract method 0x390f2b65.

Solidity: function merkleRootIndex(bytes32 ) view returns(uint256)

func (*ZkCertificateRegistryCallerSession) MerkleRootValidIndex added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) MerkleRootValidIndex() (*big.Int, error)

MerkleRootValidIndex is a free data retrieval call binding the contract method 0xb0033450.

Solidity: function merkleRootValidIndex() view returns(uint256)

func (*ZkCertificateRegistryCallerSession) MerkleRoots added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) MerkleRoots(arg0 *big.Int) ([32]byte, error)

MerkleRoots is a free data retrieval call binding the contract method 0x71c5ecb1.

Solidity: function merkleRoots(uint256 ) view returns(bytes32)

func (*ZkCertificateRegistryCallerSession) NewOwner added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*ZkCertificateRegistryCallerSession) NextLeafIndex added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) NextLeafIndex() (*big.Int, error)

NextLeafIndex is a free data retrieval call binding the contract method 0x0be4f422.

Solidity: function nextLeafIndex() view returns(uint256)

func (*ZkCertificateRegistryCallerSession) Owner added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ZkCertificateRegistryCallerSession) QueueExpirationTime added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) QueueExpirationTime() (*big.Int, error)

QueueExpirationTime is a free data retrieval call binding the contract method 0x03f2ee35.

Solidity: function queueExpirationTime() view returns(uint256)

func (*ZkCertificateRegistryCallerSession) TreeDepth added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) TreeDepth() (*big.Int, error)

TreeDepth is a free data retrieval call binding the contract method 0x16a56c41.

Solidity: function treeDepth() view returns(uint256)

func (*ZkCertificateRegistryCallerSession) TreeSize added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) TreeSize() (*big.Int, error)

TreeSize is a free data retrieval call binding the contract method 0x8d1ddfb1.

Solidity: function treeSize() view returns(uint256)

func (*ZkCertificateRegistryCallerSession) VerifyMerkleRoot added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) VerifyMerkleRoot(_merkleRoot [32]byte) (bool, error)

VerifyMerkleRoot is a free data retrieval call binding the contract method 0x0820dc2f.

Solidity: function verifyMerkleRoot(bytes32 _merkleRoot) view returns(bool)

func (*ZkCertificateRegistryCallerSession) ZEROVALUE added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) ZEROVALUE() ([32]byte, error)

ZEROVALUE is a free data retrieval call binding the contract method 0xec732959.

Solidity: function ZERO_VALUE() view returns(bytes32)

func (*ZkCertificateRegistryCallerSession) ZkCertificateHashToCommitedGuardian added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) ZkCertificateHashToCommitedGuardian(arg0 [32]byte) (common.Address, error)

ZkCertificateHashToCommitedGuardian is a free data retrieval call binding the contract method 0xc36600fe.

Solidity: function ZkCertificateHashToCommitedGuardian(bytes32 ) view returns(address)

func (*ZkCertificateRegistryCallerSession) ZkCertificateHashToIndexInQueue added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) ZkCertificateHashToIndexInQueue(arg0 [32]byte) (*big.Int, error)

ZkCertificateHashToIndexInQueue is a free data retrieval call binding the contract method 0xccdc65d8.

Solidity: function ZkCertificateHashToIndexInQueue(bytes32 ) view returns(uint256)

func (*ZkCertificateRegistryCallerSession) ZkCertificateHashToQueueTime added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) ZkCertificateHashToQueueTime(arg0 [32]byte) (*big.Int, error)

ZkCertificateHashToQueueTime is a free data retrieval call binding the contract method 0x4e86710b.

Solidity: function ZkCertificateHashToQueueTime(bytes32 ) view returns(uint256)

func (*ZkCertificateRegistryCallerSession) ZkCertificateQueue added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) ZkCertificateQueue(arg0 *big.Int) ([32]byte, error)

ZkCertificateQueue is a free data retrieval call binding the contract method 0x37b1b263.

Solidity: function ZkCertificateQueue(uint256 ) view returns(bytes32)

func (*ZkCertificateRegistryCallerSession) ZkCertificateToGuardian added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) ZkCertificateToGuardian(arg0 [32]byte) (common.Address, error)

ZkCertificateToGuardian is a free data retrieval call binding the contract method 0xe09c8a15.

Solidity: function ZkCertificateToGuardian(bytes32 ) view returns(address)

type ZkCertificateRegistryFilterer added in v1.1.0

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

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

func NewZkCertificateRegistryFilterer added in v1.1.0

func NewZkCertificateRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ZkCertificateRegistryFilterer, error)

NewZkCertificateRegistryFilterer creates a new log filterer instance of ZkCertificateRegistry, bound to a specific deployed contract.

func (*ZkCertificateRegistryFilterer) FilterInitialized added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*ZkCertificateRegistryInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*ZkCertificateRegistryFilterer) FilterOwnershipTransferred added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ZkCertificateRegistryOwnershipTransferredIterator, error)

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

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

func (*ZkCertificateRegistryFilterer) FilterZkCertificateAddition added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) FilterZkCertificateAddition(opts *bind.FilterOpts, zkCertificateLeafHash [][32]byte, Guardian []common.Address) (*ZkCertificateRegistryZkCertificateAdditionIterator, error)

FilterZkCertificateAddition is a free log retrieval operation binding the contract event 0xd8ed161990bf70dd13139e68384461b9fffbd1d3433c3bd56a9ccd22e0118cb6.

Solidity: event zkCertificateAddition(bytes32 indexed zkCertificateLeafHash, address indexed Guardian, uint256 index)

func (*ZkCertificateRegistryFilterer) FilterZkCertificateRevocation added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) FilterZkCertificateRevocation(opts *bind.FilterOpts, zkCertificateLeafHash [][32]byte, Guardian []common.Address) (*ZkCertificateRegistryZkCertificateRevocationIterator, error)

FilterZkCertificateRevocation is a free log retrieval operation binding the contract event 0x2d6db1db44b3ed99e9b90701d664345ef76dd37336779182d6251abf294840a6.

Solidity: event zkCertificateRevocation(bytes32 indexed zkCertificateLeafHash, address indexed Guardian, uint256 index)

func (*ZkCertificateRegistryFilterer) ParseInitialized added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) ParseInitialized(log types.Log) (*ZkCertificateRegistryInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*ZkCertificateRegistryFilterer) ParseOwnershipTransferred added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*ZkCertificateRegistryOwnershipTransferred, error)

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

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

func (*ZkCertificateRegistryFilterer) ParseZkCertificateAddition added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) ParseZkCertificateAddition(log types.Log) (*ZkCertificateRegistryZkCertificateAddition, error)

ParseZkCertificateAddition is a log parse operation binding the contract event 0xd8ed161990bf70dd13139e68384461b9fffbd1d3433c3bd56a9ccd22e0118cb6.

Solidity: event zkCertificateAddition(bytes32 indexed zkCertificateLeafHash, address indexed Guardian, uint256 index)

func (*ZkCertificateRegistryFilterer) ParseZkCertificateRevocation added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) ParseZkCertificateRevocation(log types.Log) (*ZkCertificateRegistryZkCertificateRevocation, error)

ParseZkCertificateRevocation is a log parse operation binding the contract event 0x2d6db1db44b3ed99e9b90701d664345ef76dd37336779182d6251abf294840a6.

Solidity: event zkCertificateRevocation(bytes32 indexed zkCertificateLeafHash, address indexed Guardian, uint256 index)

func (*ZkCertificateRegistryFilterer) WatchInitialized added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ZkCertificateRegistryInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*ZkCertificateRegistryFilterer) WatchOwnershipTransferred added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ZkCertificateRegistryOwnershipTransferred, 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 (*ZkCertificateRegistryFilterer) WatchZkCertificateAddition added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) WatchZkCertificateAddition(opts *bind.WatchOpts, sink chan<- *ZkCertificateRegistryZkCertificateAddition, zkCertificateLeafHash [][32]byte, Guardian []common.Address) (event.Subscription, error)

WatchZkCertificateAddition is a free log subscription operation binding the contract event 0xd8ed161990bf70dd13139e68384461b9fffbd1d3433c3bd56a9ccd22e0118cb6.

Solidity: event zkCertificateAddition(bytes32 indexed zkCertificateLeafHash, address indexed Guardian, uint256 index)

func (*ZkCertificateRegistryFilterer) WatchZkCertificateRevocation added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) WatchZkCertificateRevocation(opts *bind.WatchOpts, sink chan<- *ZkCertificateRegistryZkCertificateRevocation, zkCertificateLeafHash [][32]byte, Guardian []common.Address) (event.Subscription, error)

WatchZkCertificateRevocation is a free log subscription operation binding the contract event 0x2d6db1db44b3ed99e9b90701d664345ef76dd37336779182d6251abf294840a6.

Solidity: event zkCertificateRevocation(bytes32 indexed zkCertificateLeafHash, address indexed Guardian, uint256 index)

type ZkCertificateRegistryInitialized added in v1.1.0

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

ZkCertificateRegistryInitialized represents a Initialized event raised by the ZkCertificateRegistry contract.

type ZkCertificateRegistryInitializedIterator added in v1.1.0

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

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

func (*ZkCertificateRegistryInitializedIterator) Close added in v1.1.0

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

func (*ZkCertificateRegistryInitializedIterator) Error added in v1.1.0

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkCertificateRegistryInitializedIterator) Next added in v1.1.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 ZkCertificateRegistryOwnershipTransferred added in v1.5.0

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

ZkCertificateRegistryOwnershipTransferred represents a OwnershipTransferred event raised by the ZkCertificateRegistry contract.

type ZkCertificateRegistryOwnershipTransferredIterator added in v1.5.0

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

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

func (*ZkCertificateRegistryOwnershipTransferredIterator) Close added in v1.5.0

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

func (*ZkCertificateRegistryOwnershipTransferredIterator) Error added in v1.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkCertificateRegistryOwnershipTransferredIterator) Next added in v1.5.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 ZkCertificateRegistryRaw added in v1.1.0

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

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

func (*ZkCertificateRegistryRaw) Call added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryRaw) 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 (*ZkCertificateRegistryRaw) Transact added in v1.1.0

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

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

func (*ZkCertificateRegistryRaw) Transfer added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryRaw) 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 ZkCertificateRegistrySession added in v1.1.0

type ZkCertificateRegistrySession struct {
	Contract     *ZkCertificateRegistry // 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
}

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

func (*ZkCertificateRegistrySession) AddZkCertificate added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) AddZkCertificate(leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte) (*types.Transaction, error)

AddZkCertificate is a paid mutator transaction binding the contract method 0x89a64453.

Solidity: function addZkCertificate(uint256 leafIndex, bytes32 zkCertificateHash, bytes32[] merkleProof) returns()

func (*ZkCertificateRegistrySession) ChangeQueueExpirationTime added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) ChangeQueueExpirationTime(newTime *big.Int) (*types.Transaction, error)

ChangeQueueExpirationTime is a paid mutator transaction binding the contract method 0x6a7d1e44.

Solidity: function changeQueueExpirationTime(uint256 newTime) returns()

func (*ZkCertificateRegistrySession) CheckZkCertificateHashInQueue added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) CheckZkCertificateHashInQueue(zkCertificateHash [32]byte) (bool, error)

CheckZkCertificateHashInQueue is a free data retrieval call binding the contract method 0x574aeb69.

Solidity: function checkZkCertificateHashInQueue(bytes32 zkCertificateHash) view returns(bool)

func (*ZkCertificateRegistrySession) CurrentQueuePointer added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) CurrentQueuePointer() (*big.Int, error)

CurrentQueuePointer is a free data retrieval call binding the contract method 0xb0e7f5bc.

Solidity: function currentQueuePointer() view returns(uint256)

func (*ZkCertificateRegistrySession) Description added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) Description() (string, error)

Description is a free data retrieval call binding the contract method 0x7284e416.

Solidity: function description() view returns(string)

func (*ZkCertificateRegistrySession) GetMerkleRoots added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) GetMerkleRoots() ([][32]byte, error)

GetMerkleRoots is a free data retrieval call binding the contract method 0x85135a1a.

Solidity: function getMerkleRoots() view returns(bytes32[])

func (*ZkCertificateRegistrySession) GetTimeParameters added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) GetTimeParameters(zkCertificateHash [32]byte) (*big.Int, *big.Int, error)

GetTimeParameters is a free data retrieval call binding the contract method 0xc7b6c5f5.

Solidity: function getTimeParameters(bytes32 zkCertificateHash) view returns(uint256, uint256)

func (*ZkCertificateRegistrySession) GuardianRegistry added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) GuardianRegistry() (common.Address, error)

GuardianRegistry is a free data retrieval call binding the contract method 0x0a1a9950.

Solidity: function _GuardianRegistry() view returns(address)

func (*ZkCertificateRegistrySession) HashLeftRight added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) HashLeftRight(_left [32]byte, _right [32]byte) ([32]byte, error)

HashLeftRight is a free data retrieval call binding the contract method 0x38bf282e.

Solidity: function hashLeftRight(bytes32 _left, bytes32 _right) pure returns(bytes32)

func (*ZkCertificateRegistrySession) InitBlockHeight added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) InitBlockHeight() (*big.Int, error)

InitBlockHeight is a free data retrieval call binding the contract method 0xef4b4119.

Solidity: function initBlockHeight() view returns(uint256)

func (*ZkCertificateRegistrySession) MerkleRoot added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) MerkleRoot() ([32]byte, error)

MerkleRoot is a free data retrieval call binding the contract method 0x2eb4a7ab.

Solidity: function merkleRoot() view returns(bytes32)

func (*ZkCertificateRegistrySession) MerkleRootIndex added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) MerkleRootIndex(arg0 [32]byte) (*big.Int, error)

MerkleRootIndex is a free data retrieval call binding the contract method 0x390f2b65.

Solidity: function merkleRootIndex(bytes32 ) view returns(uint256)

func (*ZkCertificateRegistrySession) MerkleRootValidIndex added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) MerkleRootValidIndex() (*big.Int, error)

MerkleRootValidIndex is a free data retrieval call binding the contract method 0xb0033450.

Solidity: function merkleRootValidIndex() view returns(uint256)

func (*ZkCertificateRegistrySession) MerkleRoots added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) MerkleRoots(arg0 *big.Int) ([32]byte, error)

MerkleRoots is a free data retrieval call binding the contract method 0x71c5ecb1.

Solidity: function merkleRoots(uint256 ) view returns(bytes32)

func (*ZkCertificateRegistrySession) NewOwner added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*ZkCertificateRegistrySession) NextLeafIndex added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) NextLeafIndex() (*big.Int, error)

NextLeafIndex is a free data retrieval call binding the contract method 0x0be4f422.

Solidity: function nextLeafIndex() view returns(uint256)

func (*ZkCertificateRegistrySession) Owner added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ZkCertificateRegistrySession) QueueExpirationTime added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) QueueExpirationTime() (*big.Int, error)

QueueExpirationTime is a free data retrieval call binding the contract method 0x03f2ee35.

Solidity: function queueExpirationTime() view returns(uint256)

func (*ZkCertificateRegistrySession) RegisterToQueue added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) RegisterToQueue(zkCertificateHash [32]byte) (*types.Transaction, error)

RegisterToQueue is a paid mutator transaction binding the contract method 0x9de27abe.

Solidity: function registerToQueue(bytes32 zkCertificateHash) returns()

func (*ZkCertificateRegistrySession) RenounceOwnership added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ZkCertificateRegistrySession) RevokeZkCertificate added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) RevokeZkCertificate(leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte) (*types.Transaction, error)

RevokeZkCertificate is a paid mutator transaction binding the contract method 0xa2873348.

Solidity: function revokeZkCertificate(uint256 leafIndex, bytes32 zkCertificateHash, bytes32[] merkleProof) returns()

func (*ZkCertificateRegistrySession) SetNewOwner added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) SetNewOwner(_newOwner common.Address) (*types.Transaction, error)

SetNewOwner is a paid mutator transaction binding the contract method 0xf5a1f5b4.

Solidity: function setNewOwner(address _newOwner) returns()

func (*ZkCertificateRegistrySession) TransferOwnership added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) TransferOwnership() (*types.Transaction, error)

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

Solidity: function transferOwnership() returns()

func (*ZkCertificateRegistrySession) TreeDepth added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) TreeDepth() (*big.Int, error)

TreeDepth is a free data retrieval call binding the contract method 0x16a56c41.

Solidity: function treeDepth() view returns(uint256)

func (*ZkCertificateRegistrySession) TreeSize added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) TreeSize() (*big.Int, error)

TreeSize is a free data retrieval call binding the contract method 0x8d1ddfb1.

Solidity: function treeSize() view returns(uint256)

func (*ZkCertificateRegistrySession) VerifyMerkleRoot added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) VerifyMerkleRoot(_merkleRoot [32]byte) (bool, error)

VerifyMerkleRoot is a free data retrieval call binding the contract method 0x0820dc2f.

Solidity: function verifyMerkleRoot(bytes32 _merkleRoot) view returns(bool)

func (*ZkCertificateRegistrySession) ZEROVALUE added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) ZEROVALUE() ([32]byte, error)

ZEROVALUE is a free data retrieval call binding the contract method 0xec732959.

Solidity: function ZERO_VALUE() view returns(bytes32)

func (*ZkCertificateRegistrySession) ZkCertificateHashToCommitedGuardian added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) ZkCertificateHashToCommitedGuardian(arg0 [32]byte) (common.Address, error)

ZkCertificateHashToCommitedGuardian is a free data retrieval call binding the contract method 0xc36600fe.

Solidity: function ZkCertificateHashToCommitedGuardian(bytes32 ) view returns(address)

func (*ZkCertificateRegistrySession) ZkCertificateHashToIndexInQueue added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) ZkCertificateHashToIndexInQueue(arg0 [32]byte) (*big.Int, error)

ZkCertificateHashToIndexInQueue is a free data retrieval call binding the contract method 0xccdc65d8.

Solidity: function ZkCertificateHashToIndexInQueue(bytes32 ) view returns(uint256)

func (*ZkCertificateRegistrySession) ZkCertificateHashToQueueTime added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) ZkCertificateHashToQueueTime(arg0 [32]byte) (*big.Int, error)

ZkCertificateHashToQueueTime is a free data retrieval call binding the contract method 0x4e86710b.

Solidity: function ZkCertificateHashToQueueTime(bytes32 ) view returns(uint256)

func (*ZkCertificateRegistrySession) ZkCertificateQueue added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) ZkCertificateQueue(arg0 *big.Int) ([32]byte, error)

ZkCertificateQueue is a free data retrieval call binding the contract method 0x37b1b263.

Solidity: function ZkCertificateQueue(uint256 ) view returns(bytes32)

func (*ZkCertificateRegistrySession) ZkCertificateToGuardian added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistrySession) ZkCertificateToGuardian(arg0 [32]byte) (common.Address, error)

ZkCertificateToGuardian is a free data retrieval call binding the contract method 0xe09c8a15.

Solidity: function ZkCertificateToGuardian(bytes32 ) view returns(address)

type ZkCertificateRegistryTransactor added in v1.1.0

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

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

func NewZkCertificateRegistryTransactor added in v1.1.0

func NewZkCertificateRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ZkCertificateRegistryTransactor, error)

NewZkCertificateRegistryTransactor creates a new write-only instance of ZkCertificateRegistry, bound to a specific deployed contract.

func (*ZkCertificateRegistryTransactor) AddZkCertificate added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactor) AddZkCertificate(opts *bind.TransactOpts, leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte) (*types.Transaction, error)

AddZkCertificate is a paid mutator transaction binding the contract method 0x89a64453.

Solidity: function addZkCertificate(uint256 leafIndex, bytes32 zkCertificateHash, bytes32[] merkleProof) returns()

func (*ZkCertificateRegistryTransactor) ChangeQueueExpirationTime added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactor) ChangeQueueExpirationTime(opts *bind.TransactOpts, newTime *big.Int) (*types.Transaction, error)

ChangeQueueExpirationTime is a paid mutator transaction binding the contract method 0x6a7d1e44.

Solidity: function changeQueueExpirationTime(uint256 newTime) returns()

func (*ZkCertificateRegistryTransactor) RegisterToQueue added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactor) RegisterToQueue(opts *bind.TransactOpts, zkCertificateHash [32]byte) (*types.Transaction, error)

RegisterToQueue is a paid mutator transaction binding the contract method 0x9de27abe.

Solidity: function registerToQueue(bytes32 zkCertificateHash) returns()

func (*ZkCertificateRegistryTransactor) RenounceOwnership added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ZkCertificateRegistryTransactor) RevokeZkCertificate added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactor) RevokeZkCertificate(opts *bind.TransactOpts, leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte) (*types.Transaction, error)

RevokeZkCertificate is a paid mutator transaction binding the contract method 0xa2873348.

Solidity: function revokeZkCertificate(uint256 leafIndex, bytes32 zkCertificateHash, bytes32[] merkleProof) returns()

func (*ZkCertificateRegistryTransactor) SetNewOwner added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactor) SetNewOwner(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)

SetNewOwner is a paid mutator transaction binding the contract method 0xf5a1f5b4.

Solidity: function setNewOwner(address _newOwner) returns()

func (*ZkCertificateRegistryTransactor) TransferOwnership added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactor) TransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function transferOwnership() returns()

type ZkCertificateRegistryTransactorRaw added in v1.1.0

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

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

func (*ZkCertificateRegistryTransactorRaw) Transact added in v1.1.0

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

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

func (*ZkCertificateRegistryTransactorRaw) Transfer added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactorRaw) 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 ZkCertificateRegistryTransactorSession added in v1.1.0

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

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

func (*ZkCertificateRegistryTransactorSession) AddZkCertificate added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactorSession) AddZkCertificate(leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte) (*types.Transaction, error)

AddZkCertificate is a paid mutator transaction binding the contract method 0x89a64453.

Solidity: function addZkCertificate(uint256 leafIndex, bytes32 zkCertificateHash, bytes32[] merkleProof) returns()

func (*ZkCertificateRegistryTransactorSession) ChangeQueueExpirationTime added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactorSession) ChangeQueueExpirationTime(newTime *big.Int) (*types.Transaction, error)

ChangeQueueExpirationTime is a paid mutator transaction binding the contract method 0x6a7d1e44.

Solidity: function changeQueueExpirationTime(uint256 newTime) returns()

func (*ZkCertificateRegistryTransactorSession) RegisterToQueue added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactorSession) RegisterToQueue(zkCertificateHash [32]byte) (*types.Transaction, error)

RegisterToQueue is a paid mutator transaction binding the contract method 0x9de27abe.

Solidity: function registerToQueue(bytes32 zkCertificateHash) returns()

func (*ZkCertificateRegistryTransactorSession) RenounceOwnership added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ZkCertificateRegistryTransactorSession) RevokeZkCertificate added in v1.1.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactorSession) RevokeZkCertificate(leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte) (*types.Transaction, error)

RevokeZkCertificate is a paid mutator transaction binding the contract method 0xa2873348.

Solidity: function revokeZkCertificate(uint256 leafIndex, bytes32 zkCertificateHash, bytes32[] merkleProof) returns()

func (*ZkCertificateRegistryTransactorSession) SetNewOwner added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactorSession) SetNewOwner(_newOwner common.Address) (*types.Transaction, error)

SetNewOwner is a paid mutator transaction binding the contract method 0xf5a1f5b4.

Solidity: function setNewOwner(address _newOwner) returns()

func (*ZkCertificateRegistryTransactorSession) TransferOwnership added in v1.5.0

func (_ZkCertificateRegistry *ZkCertificateRegistryTransactorSession) TransferOwnership() (*types.Transaction, error)

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

Solidity: function transferOwnership() returns()

type ZkCertificateRegistryZkCertificateAddition added in v1.1.0

type ZkCertificateRegistryZkCertificateAddition struct {
	ZkCertificateLeafHash [32]byte
	Guardian              common.Address
	Index                 *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

ZkCertificateRegistryZkCertificateAddition represents a ZkCertificateAddition event raised by the ZkCertificateRegistry contract.

type ZkCertificateRegistryZkCertificateAdditionIterator added in v1.1.0

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

ZkCertificateRegistryZkCertificateAdditionIterator is returned from FilterZkCertificateAddition and is used to iterate over the raw logs and unpacked data for ZkCertificateAddition events raised by the ZkCertificateRegistry contract.

func (*ZkCertificateRegistryZkCertificateAdditionIterator) Close added in v1.1.0

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

func (*ZkCertificateRegistryZkCertificateAdditionIterator) Error added in v1.1.0

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkCertificateRegistryZkCertificateAdditionIterator) Next added in v1.1.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 ZkCertificateRegistryZkCertificateRevocation added in v1.1.0

type ZkCertificateRegistryZkCertificateRevocation struct {
	ZkCertificateLeafHash [32]byte
	Guardian              common.Address
	Index                 *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

ZkCertificateRegistryZkCertificateRevocation represents a ZkCertificateRevocation event raised by the ZkCertificateRegistry contract.

type ZkCertificateRegistryZkCertificateRevocationIterator added in v1.1.0

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

ZkCertificateRegistryZkCertificateRevocationIterator is returned from FilterZkCertificateRevocation and is used to iterate over the raw logs and unpacked data for ZkCertificateRevocation events raised by the ZkCertificateRegistry contract.

func (*ZkCertificateRegistryZkCertificateRevocationIterator) Close added in v1.1.0

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

func (*ZkCertificateRegistryZkCertificateRevocationIterator) Error added in v1.1.0

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkCertificateRegistryZkCertificateRevocationIterator) Next added in v1.1.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 ZkKYCRegistry added in v1.6.0

type ZkKYCRegistry struct {
	ZkKYCRegistryCaller     // Read-only binding to the contract
	ZkKYCRegistryTransactor // Write-only binding to the contract
	ZkKYCRegistryFilterer   // Log filterer for contract events
}

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

func NewZkKYCRegistry added in v1.6.0

func NewZkKYCRegistry(address common.Address, backend bind.ContractBackend) (*ZkKYCRegistry, error)

NewZkKYCRegistry creates a new instance of ZkKYCRegistry, bound to a specific deployed contract.

type ZkKYCRegistryCaller added in v1.6.0

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

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

func NewZkKYCRegistryCaller added in v1.6.0

func NewZkKYCRegistryCaller(address common.Address, caller bind.ContractCaller) (*ZkKYCRegistryCaller, error)

NewZkKYCRegistryCaller creates a new read-only instance of ZkKYCRegistry, bound to a specific deployed contract.

func (*ZkKYCRegistryCaller) AddZkCertificate added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) AddZkCertificate(opts *bind.CallOpts, arg0 *big.Int, arg1 [32]byte, arg2 [][32]byte) error

AddZkCertificate is a free data retrieval call binding the contract method 0x89a64453.

Solidity: function addZkCertificate(uint256 , bytes32 , bytes32[] ) pure returns()

func (*ZkKYCRegistryCaller) CheckZkCertificateHashInQueue added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) CheckZkCertificateHashInQueue(opts *bind.CallOpts, zkCertificateHash [32]byte) (bool, error)

CheckZkCertificateHashInQueue is a free data retrieval call binding the contract method 0x574aeb69.

Solidity: function checkZkCertificateHashInQueue(bytes32 zkCertificateHash) view returns(bool)

func (*ZkKYCRegistryCaller) CurrentQueuePointer added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) CurrentQueuePointer(opts *bind.CallOpts) (*big.Int, error)

CurrentQueuePointer is a free data retrieval call binding the contract method 0xb0e7f5bc.

Solidity: function currentQueuePointer() view returns(uint256)

func (*ZkKYCRegistryCaller) Description added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) Description(opts *bind.CallOpts) (string, error)

Description is a free data retrieval call binding the contract method 0x7284e416.

Solidity: function description() view returns(string)

func (*ZkKYCRegistryCaller) GetMerkleRoots added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) GetMerkleRoots(opts *bind.CallOpts) ([][32]byte, error)

GetMerkleRoots is a free data retrieval call binding the contract method 0x85135a1a.

Solidity: function getMerkleRoots() view returns(bytes32[])

func (*ZkKYCRegistryCaller) GetTimeParameters added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) GetTimeParameters(opts *bind.CallOpts, zkCertificateHash [32]byte) (*big.Int, *big.Int, error)

GetTimeParameters is a free data retrieval call binding the contract method 0xc7b6c5f5.

Solidity: function getTimeParameters(bytes32 zkCertificateHash) view returns(uint256, uint256)

func (*ZkKYCRegistryCaller) GuardianRegistry added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) GuardianRegistry(opts *bind.CallOpts) (common.Address, error)

GuardianRegistry is a free data retrieval call binding the contract method 0x0a1a9950.

Solidity: function _GuardianRegistry() view returns(address)

func (*ZkKYCRegistryCaller) HashLeftRight added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) HashLeftRight(opts *bind.CallOpts, _left [32]byte, _right [32]byte) ([32]byte, error)

HashLeftRight is a free data retrieval call binding the contract method 0x38bf282e.

Solidity: function hashLeftRight(bytes32 _left, bytes32 _right) pure returns(bytes32)

func (*ZkKYCRegistryCaller) HumanIDSaltRegistry added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) HumanIDSaltRegistry(opts *bind.CallOpts) (common.Address, error)

HumanIDSaltRegistry is a free data retrieval call binding the contract method 0x290939b6.

Solidity: function humanIDSaltRegistry() view returns(address)

func (*ZkKYCRegistryCaller) InitBlockHeight added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) InitBlockHeight(opts *bind.CallOpts) (*big.Int, error)

InitBlockHeight is a free data retrieval call binding the contract method 0xef4b4119.

Solidity: function initBlockHeight() view returns(uint256)

func (*ZkKYCRegistryCaller) MerkleRoot added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) MerkleRoot(opts *bind.CallOpts) ([32]byte, error)

MerkleRoot is a free data retrieval call binding the contract method 0x2eb4a7ab.

Solidity: function merkleRoot() view returns(bytes32)

func (*ZkKYCRegistryCaller) MerkleRootIndex added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) MerkleRootIndex(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

MerkleRootIndex is a free data retrieval call binding the contract method 0x390f2b65.

Solidity: function merkleRootIndex(bytes32 ) view returns(uint256)

func (*ZkKYCRegistryCaller) MerkleRootValidIndex added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) MerkleRootValidIndex(opts *bind.CallOpts) (*big.Int, error)

MerkleRootValidIndex is a free data retrieval call binding the contract method 0xb0033450.

Solidity: function merkleRootValidIndex() view returns(uint256)

func (*ZkKYCRegistryCaller) MerkleRoots added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) MerkleRoots(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

MerkleRoots is a free data retrieval call binding the contract method 0x71c5ecb1.

Solidity: function merkleRoots(uint256 ) view returns(bytes32)

func (*ZkKYCRegistryCaller) NewOwner added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) NewOwner(opts *bind.CallOpts) (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*ZkKYCRegistryCaller) NextLeafIndex added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) NextLeafIndex(opts *bind.CallOpts) (*big.Int, error)

NextLeafIndex is a free data retrieval call binding the contract method 0x0be4f422.

Solidity: function nextLeafIndex() view returns(uint256)

func (*ZkKYCRegistryCaller) Owner added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) 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 (*ZkKYCRegistryCaller) QueueExpirationTime added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) QueueExpirationTime(opts *bind.CallOpts) (*big.Int, error)

QueueExpirationTime is a free data retrieval call binding the contract method 0x03f2ee35.

Solidity: function queueExpirationTime() view returns(uint256)

func (*ZkKYCRegistryCaller) TreeDepth added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) TreeDepth(opts *bind.CallOpts) (*big.Int, error)

TreeDepth is a free data retrieval call binding the contract method 0x16a56c41.

Solidity: function treeDepth() view returns(uint256)

func (*ZkKYCRegistryCaller) TreeSize added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) TreeSize(opts *bind.CallOpts) (*big.Int, error)

TreeSize is a free data retrieval call binding the contract method 0x8d1ddfb1.

Solidity: function treeSize() view returns(uint256)

func (*ZkKYCRegistryCaller) VerifyMerkleRoot added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) VerifyMerkleRoot(opts *bind.CallOpts, _merkleRoot [32]byte) (bool, error)

VerifyMerkleRoot is a free data retrieval call binding the contract method 0x0820dc2f.

Solidity: function verifyMerkleRoot(bytes32 _merkleRoot) view returns(bool)

func (*ZkKYCRegistryCaller) ZEROVALUE added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) ZEROVALUE(opts *bind.CallOpts) ([32]byte, error)

ZEROVALUE is a free data retrieval call binding the contract method 0xec732959.

Solidity: function ZERO_VALUE() view returns(bytes32)

func (*ZkKYCRegistryCaller) ZkCertificateHashToCommitedGuardian added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) ZkCertificateHashToCommitedGuardian(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)

ZkCertificateHashToCommitedGuardian is a free data retrieval call binding the contract method 0xc36600fe.

Solidity: function ZkCertificateHashToCommitedGuardian(bytes32 ) view returns(address)

func (*ZkKYCRegistryCaller) ZkCertificateHashToIndexInQueue added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) ZkCertificateHashToIndexInQueue(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

ZkCertificateHashToIndexInQueue is a free data retrieval call binding the contract method 0xccdc65d8.

Solidity: function ZkCertificateHashToIndexInQueue(bytes32 ) view returns(uint256)

func (*ZkKYCRegistryCaller) ZkCertificateHashToQueueTime added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) ZkCertificateHashToQueueTime(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

ZkCertificateHashToQueueTime is a free data retrieval call binding the contract method 0x4e86710b.

Solidity: function ZkCertificateHashToQueueTime(bytes32 ) view returns(uint256)

func (*ZkKYCRegistryCaller) ZkCertificateQueue added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) ZkCertificateQueue(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

ZkCertificateQueue is a free data retrieval call binding the contract method 0x37b1b263.

Solidity: function ZkCertificateQueue(uint256 ) view returns(bytes32)

func (*ZkKYCRegistryCaller) ZkCertificateToGuardian added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCaller) ZkCertificateToGuardian(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)

ZkCertificateToGuardian is a free data retrieval call binding the contract method 0xe09c8a15.

Solidity: function ZkCertificateToGuardian(bytes32 ) view returns(address)

type ZkKYCRegistryCallerRaw added in v1.6.0

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

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

func (*ZkKYCRegistryCallerRaw) Call added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerRaw) 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 ZkKYCRegistryCallerSession added in v1.6.0

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

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

func (*ZkKYCRegistryCallerSession) AddZkCertificate added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) AddZkCertificate(arg0 *big.Int, arg1 [32]byte, arg2 [][32]byte) error

AddZkCertificate is a free data retrieval call binding the contract method 0x89a64453.

Solidity: function addZkCertificate(uint256 , bytes32 , bytes32[] ) pure returns()

func (*ZkKYCRegistryCallerSession) CheckZkCertificateHashInQueue added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) CheckZkCertificateHashInQueue(zkCertificateHash [32]byte) (bool, error)

CheckZkCertificateHashInQueue is a free data retrieval call binding the contract method 0x574aeb69.

Solidity: function checkZkCertificateHashInQueue(bytes32 zkCertificateHash) view returns(bool)

func (*ZkKYCRegistryCallerSession) CurrentQueuePointer added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) CurrentQueuePointer() (*big.Int, error)

CurrentQueuePointer is a free data retrieval call binding the contract method 0xb0e7f5bc.

Solidity: function currentQueuePointer() view returns(uint256)

func (*ZkKYCRegistryCallerSession) Description added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) Description() (string, error)

Description is a free data retrieval call binding the contract method 0x7284e416.

Solidity: function description() view returns(string)

func (*ZkKYCRegistryCallerSession) GetMerkleRoots added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) GetMerkleRoots() ([][32]byte, error)

GetMerkleRoots is a free data retrieval call binding the contract method 0x85135a1a.

Solidity: function getMerkleRoots() view returns(bytes32[])

func (*ZkKYCRegistryCallerSession) GetTimeParameters added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) GetTimeParameters(zkCertificateHash [32]byte) (*big.Int, *big.Int, error)

GetTimeParameters is a free data retrieval call binding the contract method 0xc7b6c5f5.

Solidity: function getTimeParameters(bytes32 zkCertificateHash) view returns(uint256, uint256)

func (*ZkKYCRegistryCallerSession) GuardianRegistry added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) GuardianRegistry() (common.Address, error)

GuardianRegistry is a free data retrieval call binding the contract method 0x0a1a9950.

Solidity: function _GuardianRegistry() view returns(address)

func (*ZkKYCRegistryCallerSession) HashLeftRight added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) HashLeftRight(_left [32]byte, _right [32]byte) ([32]byte, error)

HashLeftRight is a free data retrieval call binding the contract method 0x38bf282e.

Solidity: function hashLeftRight(bytes32 _left, bytes32 _right) pure returns(bytes32)

func (*ZkKYCRegistryCallerSession) HumanIDSaltRegistry added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) HumanIDSaltRegistry() (common.Address, error)

HumanIDSaltRegistry is a free data retrieval call binding the contract method 0x290939b6.

Solidity: function humanIDSaltRegistry() view returns(address)

func (*ZkKYCRegistryCallerSession) InitBlockHeight added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) InitBlockHeight() (*big.Int, error)

InitBlockHeight is a free data retrieval call binding the contract method 0xef4b4119.

Solidity: function initBlockHeight() view returns(uint256)

func (*ZkKYCRegistryCallerSession) MerkleRoot added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) MerkleRoot() ([32]byte, error)

MerkleRoot is a free data retrieval call binding the contract method 0x2eb4a7ab.

Solidity: function merkleRoot() view returns(bytes32)

func (*ZkKYCRegistryCallerSession) MerkleRootIndex added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) MerkleRootIndex(arg0 [32]byte) (*big.Int, error)

MerkleRootIndex is a free data retrieval call binding the contract method 0x390f2b65.

Solidity: function merkleRootIndex(bytes32 ) view returns(uint256)

func (*ZkKYCRegistryCallerSession) MerkleRootValidIndex added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) MerkleRootValidIndex() (*big.Int, error)

MerkleRootValidIndex is a free data retrieval call binding the contract method 0xb0033450.

Solidity: function merkleRootValidIndex() view returns(uint256)

func (*ZkKYCRegistryCallerSession) MerkleRoots added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) MerkleRoots(arg0 *big.Int) ([32]byte, error)

MerkleRoots is a free data retrieval call binding the contract method 0x71c5ecb1.

Solidity: function merkleRoots(uint256 ) view returns(bytes32)

func (*ZkKYCRegistryCallerSession) NewOwner added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*ZkKYCRegistryCallerSession) NextLeafIndex added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) NextLeafIndex() (*big.Int, error)

NextLeafIndex is a free data retrieval call binding the contract method 0x0be4f422.

Solidity: function nextLeafIndex() view returns(uint256)

func (*ZkKYCRegistryCallerSession) Owner added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ZkKYCRegistryCallerSession) QueueExpirationTime added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) QueueExpirationTime() (*big.Int, error)

QueueExpirationTime is a free data retrieval call binding the contract method 0x03f2ee35.

Solidity: function queueExpirationTime() view returns(uint256)

func (*ZkKYCRegistryCallerSession) TreeDepth added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) TreeDepth() (*big.Int, error)

TreeDepth is a free data retrieval call binding the contract method 0x16a56c41.

Solidity: function treeDepth() view returns(uint256)

func (*ZkKYCRegistryCallerSession) TreeSize added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) TreeSize() (*big.Int, error)

TreeSize is a free data retrieval call binding the contract method 0x8d1ddfb1.

Solidity: function treeSize() view returns(uint256)

func (*ZkKYCRegistryCallerSession) VerifyMerkleRoot added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) VerifyMerkleRoot(_merkleRoot [32]byte) (bool, error)

VerifyMerkleRoot is a free data retrieval call binding the contract method 0x0820dc2f.

Solidity: function verifyMerkleRoot(bytes32 _merkleRoot) view returns(bool)

func (*ZkKYCRegistryCallerSession) ZEROVALUE added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) ZEROVALUE() ([32]byte, error)

ZEROVALUE is a free data retrieval call binding the contract method 0xec732959.

Solidity: function ZERO_VALUE() view returns(bytes32)

func (*ZkKYCRegistryCallerSession) ZkCertificateHashToCommitedGuardian added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) ZkCertificateHashToCommitedGuardian(arg0 [32]byte) (common.Address, error)

ZkCertificateHashToCommitedGuardian is a free data retrieval call binding the contract method 0xc36600fe.

Solidity: function ZkCertificateHashToCommitedGuardian(bytes32 ) view returns(address)

func (*ZkKYCRegistryCallerSession) ZkCertificateHashToIndexInQueue added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) ZkCertificateHashToIndexInQueue(arg0 [32]byte) (*big.Int, error)

ZkCertificateHashToIndexInQueue is a free data retrieval call binding the contract method 0xccdc65d8.

Solidity: function ZkCertificateHashToIndexInQueue(bytes32 ) view returns(uint256)

func (*ZkKYCRegistryCallerSession) ZkCertificateHashToQueueTime added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) ZkCertificateHashToQueueTime(arg0 [32]byte) (*big.Int, error)

ZkCertificateHashToQueueTime is a free data retrieval call binding the contract method 0x4e86710b.

Solidity: function ZkCertificateHashToQueueTime(bytes32 ) view returns(uint256)

func (*ZkKYCRegistryCallerSession) ZkCertificateQueue added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) ZkCertificateQueue(arg0 *big.Int) ([32]byte, error)

ZkCertificateQueue is a free data retrieval call binding the contract method 0x37b1b263.

Solidity: function ZkCertificateQueue(uint256 ) view returns(bytes32)

func (*ZkKYCRegistryCallerSession) ZkCertificateToGuardian added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryCallerSession) ZkCertificateToGuardian(arg0 [32]byte) (common.Address, error)

ZkCertificateToGuardian is a free data retrieval call binding the contract method 0xe09c8a15.

Solidity: function ZkCertificateToGuardian(bytes32 ) view returns(address)

type ZkKYCRegistryFilterer added in v1.6.0

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

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

func NewZkKYCRegistryFilterer added in v1.6.0

func NewZkKYCRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ZkKYCRegistryFilterer, error)

NewZkKYCRegistryFilterer creates a new log filterer instance of ZkKYCRegistry, bound to a specific deployed contract.

func (*ZkKYCRegistryFilterer) FilterInitialized added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*ZkKYCRegistryInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*ZkKYCRegistryFilterer) FilterOwnershipTransferred added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ZkKYCRegistryOwnershipTransferredIterator, error)

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

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

func (*ZkKYCRegistryFilterer) FilterZkCertificateAddition added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryFilterer) FilterZkCertificateAddition(opts *bind.FilterOpts, zkCertificateLeafHash [][32]byte, Guardian []common.Address) (*ZkKYCRegistryZkCertificateAdditionIterator, error)

FilterZkCertificateAddition is a free log retrieval operation binding the contract event 0xd8ed161990bf70dd13139e68384461b9fffbd1d3433c3bd56a9ccd22e0118cb6.

Solidity: event zkCertificateAddition(bytes32 indexed zkCertificateLeafHash, address indexed Guardian, uint256 index)

func (*ZkKYCRegistryFilterer) FilterZkCertificateRevocation added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryFilterer) FilterZkCertificateRevocation(opts *bind.FilterOpts, zkCertificateLeafHash [][32]byte, Guardian []common.Address) (*ZkKYCRegistryZkCertificateRevocationIterator, error)

FilterZkCertificateRevocation is a free log retrieval operation binding the contract event 0x2d6db1db44b3ed99e9b90701d664345ef76dd37336779182d6251abf294840a6.

Solidity: event zkCertificateRevocation(bytes32 indexed zkCertificateLeafHash, address indexed Guardian, uint256 index)

func (*ZkKYCRegistryFilterer) ParseInitialized added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryFilterer) ParseInitialized(log types.Log) (*ZkKYCRegistryInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*ZkKYCRegistryFilterer) ParseOwnershipTransferred added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*ZkKYCRegistryOwnershipTransferred, error)

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

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

func (*ZkKYCRegistryFilterer) ParseZkCertificateAddition added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryFilterer) ParseZkCertificateAddition(log types.Log) (*ZkKYCRegistryZkCertificateAddition, error)

ParseZkCertificateAddition is a log parse operation binding the contract event 0xd8ed161990bf70dd13139e68384461b9fffbd1d3433c3bd56a9ccd22e0118cb6.

Solidity: event zkCertificateAddition(bytes32 indexed zkCertificateLeafHash, address indexed Guardian, uint256 index)

func (*ZkKYCRegistryFilterer) ParseZkCertificateRevocation added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryFilterer) ParseZkCertificateRevocation(log types.Log) (*ZkKYCRegistryZkCertificateRevocation, error)

ParseZkCertificateRevocation is a log parse operation binding the contract event 0x2d6db1db44b3ed99e9b90701d664345ef76dd37336779182d6251abf294840a6.

Solidity: event zkCertificateRevocation(bytes32 indexed zkCertificateLeafHash, address indexed Guardian, uint256 index)

func (*ZkKYCRegistryFilterer) WatchInitialized added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ZkKYCRegistryInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*ZkKYCRegistryFilterer) WatchOwnershipTransferred added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ZkKYCRegistryOwnershipTransferred, 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 (*ZkKYCRegistryFilterer) WatchZkCertificateAddition added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryFilterer) WatchZkCertificateAddition(opts *bind.WatchOpts, sink chan<- *ZkKYCRegistryZkCertificateAddition, zkCertificateLeafHash [][32]byte, Guardian []common.Address) (event.Subscription, error)

WatchZkCertificateAddition is a free log subscription operation binding the contract event 0xd8ed161990bf70dd13139e68384461b9fffbd1d3433c3bd56a9ccd22e0118cb6.

Solidity: event zkCertificateAddition(bytes32 indexed zkCertificateLeafHash, address indexed Guardian, uint256 index)

func (*ZkKYCRegistryFilterer) WatchZkCertificateRevocation added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryFilterer) WatchZkCertificateRevocation(opts *bind.WatchOpts, sink chan<- *ZkKYCRegistryZkCertificateRevocation, zkCertificateLeafHash [][32]byte, Guardian []common.Address) (event.Subscription, error)

WatchZkCertificateRevocation is a free log subscription operation binding the contract event 0x2d6db1db44b3ed99e9b90701d664345ef76dd37336779182d6251abf294840a6.

Solidity: event zkCertificateRevocation(bytes32 indexed zkCertificateLeafHash, address indexed Guardian, uint256 index)

type ZkKYCRegistryInitialized added in v1.6.0

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

ZkKYCRegistryInitialized represents a Initialized event raised by the ZkKYCRegistry contract.

type ZkKYCRegistryInitializedIterator added in v1.6.0

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

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

func (*ZkKYCRegistryInitializedIterator) Close added in v1.6.0

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

func (*ZkKYCRegistryInitializedIterator) Error added in v1.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkKYCRegistryInitializedIterator) Next added in v1.6.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 ZkKYCRegistryOwnershipTransferred added in v1.6.0

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

ZkKYCRegistryOwnershipTransferred represents a OwnershipTransferred event raised by the ZkKYCRegistry contract.

type ZkKYCRegistryOwnershipTransferredIterator added in v1.6.0

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

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

func (*ZkKYCRegistryOwnershipTransferredIterator) Close added in v1.6.0

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

func (*ZkKYCRegistryOwnershipTransferredIterator) Error added in v1.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkKYCRegistryOwnershipTransferredIterator) Next added in v1.6.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 ZkKYCRegistryRaw added in v1.6.0

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

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

func (*ZkKYCRegistryRaw) Call added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryRaw) 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 (*ZkKYCRegistryRaw) Transact added in v1.6.0

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

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

func (*ZkKYCRegistryRaw) Transfer added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryRaw) 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 ZkKYCRegistrySession added in v1.6.0

type ZkKYCRegistrySession struct {
	Contract     *ZkKYCRegistry    // 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
}

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

func (*ZkKYCRegistrySession) AddZkCertificate added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) AddZkCertificate(arg0 *big.Int, arg1 [32]byte, arg2 [][32]byte) error

AddZkCertificate is a free data retrieval call binding the contract method 0x89a64453.

Solidity: function addZkCertificate(uint256 , bytes32 , bytes32[] ) pure returns()

func (*ZkKYCRegistrySession) AddZkKYC added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) AddZkKYC(leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte, idHash *big.Int, saltHash *big.Int, expirationTime *big.Int) (*types.Transaction, error)

AddZkKYC is a paid mutator transaction binding the contract method 0xcb9508ec.

Solidity: function addZkKYC(uint256 leafIndex, bytes32 zkCertificateHash, bytes32[] merkleProof, uint256 idHash, uint256 saltHash, uint256 expirationTime) returns()

func (*ZkKYCRegistrySession) ChangeQueueExpirationTime added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) ChangeQueueExpirationTime(newTime *big.Int) (*types.Transaction, error)

ChangeQueueExpirationTime is a paid mutator transaction binding the contract method 0x6a7d1e44.

Solidity: function changeQueueExpirationTime(uint256 newTime) returns()

func (*ZkKYCRegistrySession) CheckZkCertificateHashInQueue added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) CheckZkCertificateHashInQueue(zkCertificateHash [32]byte) (bool, error)

CheckZkCertificateHashInQueue is a free data retrieval call binding the contract method 0x574aeb69.

Solidity: function checkZkCertificateHashInQueue(bytes32 zkCertificateHash) view returns(bool)

func (*ZkKYCRegistrySession) CurrentQueuePointer added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) CurrentQueuePointer() (*big.Int, error)

CurrentQueuePointer is a free data retrieval call binding the contract method 0xb0e7f5bc.

Solidity: function currentQueuePointer() view returns(uint256)

func (*ZkKYCRegistrySession) Description added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) Description() (string, error)

Description is a free data retrieval call binding the contract method 0x7284e416.

Solidity: function description() view returns(string)

func (*ZkKYCRegistrySession) GetMerkleRoots added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) GetMerkleRoots() ([][32]byte, error)

GetMerkleRoots is a free data retrieval call binding the contract method 0x85135a1a.

Solidity: function getMerkleRoots() view returns(bytes32[])

func (*ZkKYCRegistrySession) GetTimeParameters added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) GetTimeParameters(zkCertificateHash [32]byte) (*big.Int, *big.Int, error)

GetTimeParameters is a free data retrieval call binding the contract method 0xc7b6c5f5.

Solidity: function getTimeParameters(bytes32 zkCertificateHash) view returns(uint256, uint256)

func (*ZkKYCRegistrySession) GuardianRegistry added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) GuardianRegistry() (common.Address, error)

GuardianRegistry is a free data retrieval call binding the contract method 0x0a1a9950.

Solidity: function _GuardianRegistry() view returns(address)

func (*ZkKYCRegistrySession) HashLeftRight added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) HashLeftRight(_left [32]byte, _right [32]byte) ([32]byte, error)

HashLeftRight is a free data retrieval call binding the contract method 0x38bf282e.

Solidity: function hashLeftRight(bytes32 _left, bytes32 _right) pure returns(bytes32)

func (*ZkKYCRegistrySession) HumanIDSaltRegistry added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) HumanIDSaltRegistry() (common.Address, error)

HumanIDSaltRegistry is a free data retrieval call binding the contract method 0x290939b6.

Solidity: function humanIDSaltRegistry() view returns(address)

func (*ZkKYCRegistrySession) InitBlockHeight added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) InitBlockHeight() (*big.Int, error)

InitBlockHeight is a free data retrieval call binding the contract method 0xef4b4119.

Solidity: function initBlockHeight() view returns(uint256)

func (*ZkKYCRegistrySession) MerkleRoot added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) MerkleRoot() ([32]byte, error)

MerkleRoot is a free data retrieval call binding the contract method 0x2eb4a7ab.

Solidity: function merkleRoot() view returns(bytes32)

func (*ZkKYCRegistrySession) MerkleRootIndex added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) MerkleRootIndex(arg0 [32]byte) (*big.Int, error)

MerkleRootIndex is a free data retrieval call binding the contract method 0x390f2b65.

Solidity: function merkleRootIndex(bytes32 ) view returns(uint256)

func (*ZkKYCRegistrySession) MerkleRootValidIndex added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) MerkleRootValidIndex() (*big.Int, error)

MerkleRootValidIndex is a free data retrieval call binding the contract method 0xb0033450.

Solidity: function merkleRootValidIndex() view returns(uint256)

func (*ZkKYCRegistrySession) MerkleRoots added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) MerkleRoots(arg0 *big.Int) ([32]byte, error)

MerkleRoots is a free data retrieval call binding the contract method 0x71c5ecb1.

Solidity: function merkleRoots(uint256 ) view returns(bytes32)

func (*ZkKYCRegistrySession) NewOwner added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() view returns(address)

func (*ZkKYCRegistrySession) NextLeafIndex added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) NextLeafIndex() (*big.Int, error)

NextLeafIndex is a free data retrieval call binding the contract method 0x0be4f422.

Solidity: function nextLeafIndex() view returns(uint256)

func (*ZkKYCRegistrySession) Owner added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ZkKYCRegistrySession) QueueExpirationTime added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) QueueExpirationTime() (*big.Int, error)

QueueExpirationTime is a free data retrieval call binding the contract method 0x03f2ee35.

Solidity: function queueExpirationTime() view returns(uint256)

func (*ZkKYCRegistrySession) RegisterToQueue added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) RegisterToQueue(zkCertificateHash [32]byte) (*types.Transaction, error)

RegisterToQueue is a paid mutator transaction binding the contract method 0x9de27abe.

Solidity: function registerToQueue(bytes32 zkCertificateHash) returns()

func (*ZkKYCRegistrySession) RenounceOwnership added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ZkKYCRegistrySession) RevokeZkCertificate added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) RevokeZkCertificate(leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte) (*types.Transaction, error)

RevokeZkCertificate is a paid mutator transaction binding the contract method 0xa2873348.

Solidity: function revokeZkCertificate(uint256 leafIndex, bytes32 zkCertificateHash, bytes32[] merkleProof) returns()

func (*ZkKYCRegistrySession) SetNewOwner added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) SetNewOwner(_newOwner common.Address) (*types.Transaction, error)

SetNewOwner is a paid mutator transaction binding the contract method 0xf5a1f5b4.

Solidity: function setNewOwner(address _newOwner) returns()

func (*ZkKYCRegistrySession) TransferOwnership added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) TransferOwnership() (*types.Transaction, error)

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

Solidity: function transferOwnership() returns()

func (*ZkKYCRegistrySession) TreeDepth added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) TreeDepth() (*big.Int, error)

TreeDepth is a free data retrieval call binding the contract method 0x16a56c41.

Solidity: function treeDepth() view returns(uint256)

func (*ZkKYCRegistrySession) TreeSize added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) TreeSize() (*big.Int, error)

TreeSize is a free data retrieval call binding the contract method 0x8d1ddfb1.

Solidity: function treeSize() view returns(uint256)

func (*ZkKYCRegistrySession) VerifyMerkleRoot added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) VerifyMerkleRoot(_merkleRoot [32]byte) (bool, error)

VerifyMerkleRoot is a free data retrieval call binding the contract method 0x0820dc2f.

Solidity: function verifyMerkleRoot(bytes32 _merkleRoot) view returns(bool)

func (*ZkKYCRegistrySession) ZEROVALUE added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) ZEROVALUE() ([32]byte, error)

ZEROVALUE is a free data retrieval call binding the contract method 0xec732959.

Solidity: function ZERO_VALUE() view returns(bytes32)

func (*ZkKYCRegistrySession) ZkCertificateHashToCommitedGuardian added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) ZkCertificateHashToCommitedGuardian(arg0 [32]byte) (common.Address, error)

ZkCertificateHashToCommitedGuardian is a free data retrieval call binding the contract method 0xc36600fe.

Solidity: function ZkCertificateHashToCommitedGuardian(bytes32 ) view returns(address)

func (*ZkKYCRegistrySession) ZkCertificateHashToIndexInQueue added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) ZkCertificateHashToIndexInQueue(arg0 [32]byte) (*big.Int, error)

ZkCertificateHashToIndexInQueue is a free data retrieval call binding the contract method 0xccdc65d8.

Solidity: function ZkCertificateHashToIndexInQueue(bytes32 ) view returns(uint256)

func (*ZkKYCRegistrySession) ZkCertificateHashToQueueTime added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) ZkCertificateHashToQueueTime(arg0 [32]byte) (*big.Int, error)

ZkCertificateHashToQueueTime is a free data retrieval call binding the contract method 0x4e86710b.

Solidity: function ZkCertificateHashToQueueTime(bytes32 ) view returns(uint256)

func (*ZkKYCRegistrySession) ZkCertificateQueue added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) ZkCertificateQueue(arg0 *big.Int) ([32]byte, error)

ZkCertificateQueue is a free data retrieval call binding the contract method 0x37b1b263.

Solidity: function ZkCertificateQueue(uint256 ) view returns(bytes32)

func (*ZkKYCRegistrySession) ZkCertificateToGuardian added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistrySession) ZkCertificateToGuardian(arg0 [32]byte) (common.Address, error)

ZkCertificateToGuardian is a free data retrieval call binding the contract method 0xe09c8a15.

Solidity: function ZkCertificateToGuardian(bytes32 ) view returns(address)

type ZkKYCRegistryTransactor added in v1.6.0

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

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

func NewZkKYCRegistryTransactor added in v1.6.0

func NewZkKYCRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ZkKYCRegistryTransactor, error)

NewZkKYCRegistryTransactor creates a new write-only instance of ZkKYCRegistry, bound to a specific deployed contract.

func (*ZkKYCRegistryTransactor) AddZkKYC added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactor) AddZkKYC(opts *bind.TransactOpts, leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte, idHash *big.Int, saltHash *big.Int, expirationTime *big.Int) (*types.Transaction, error)

AddZkKYC is a paid mutator transaction binding the contract method 0xcb9508ec.

Solidity: function addZkKYC(uint256 leafIndex, bytes32 zkCertificateHash, bytes32[] merkleProof, uint256 idHash, uint256 saltHash, uint256 expirationTime) returns()

func (*ZkKYCRegistryTransactor) ChangeQueueExpirationTime added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactor) ChangeQueueExpirationTime(opts *bind.TransactOpts, newTime *big.Int) (*types.Transaction, error)

ChangeQueueExpirationTime is a paid mutator transaction binding the contract method 0x6a7d1e44.

Solidity: function changeQueueExpirationTime(uint256 newTime) returns()

func (*ZkKYCRegistryTransactor) RegisterToQueue added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactor) RegisterToQueue(opts *bind.TransactOpts, zkCertificateHash [32]byte) (*types.Transaction, error)

RegisterToQueue is a paid mutator transaction binding the contract method 0x9de27abe.

Solidity: function registerToQueue(bytes32 zkCertificateHash) returns()

func (*ZkKYCRegistryTransactor) RenounceOwnership added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ZkKYCRegistryTransactor) RevokeZkCertificate added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactor) RevokeZkCertificate(opts *bind.TransactOpts, leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte) (*types.Transaction, error)

RevokeZkCertificate is a paid mutator transaction binding the contract method 0xa2873348.

Solidity: function revokeZkCertificate(uint256 leafIndex, bytes32 zkCertificateHash, bytes32[] merkleProof) returns()

func (*ZkKYCRegistryTransactor) SetNewOwner added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactor) SetNewOwner(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)

SetNewOwner is a paid mutator transaction binding the contract method 0xf5a1f5b4.

Solidity: function setNewOwner(address _newOwner) returns()

func (*ZkKYCRegistryTransactor) TransferOwnership added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactor) TransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function transferOwnership() returns()

type ZkKYCRegistryTransactorRaw added in v1.6.0

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

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

func (*ZkKYCRegistryTransactorRaw) Transact added in v1.6.0

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

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

func (*ZkKYCRegistryTransactorRaw) Transfer added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactorRaw) 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 ZkKYCRegistryTransactorSession added in v1.6.0

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

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

func (*ZkKYCRegistryTransactorSession) AddZkKYC added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactorSession) AddZkKYC(leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte, idHash *big.Int, saltHash *big.Int, expirationTime *big.Int) (*types.Transaction, error)

AddZkKYC is a paid mutator transaction binding the contract method 0xcb9508ec.

Solidity: function addZkKYC(uint256 leafIndex, bytes32 zkCertificateHash, bytes32[] merkleProof, uint256 idHash, uint256 saltHash, uint256 expirationTime) returns()

func (*ZkKYCRegistryTransactorSession) ChangeQueueExpirationTime added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactorSession) ChangeQueueExpirationTime(newTime *big.Int) (*types.Transaction, error)

ChangeQueueExpirationTime is a paid mutator transaction binding the contract method 0x6a7d1e44.

Solidity: function changeQueueExpirationTime(uint256 newTime) returns()

func (*ZkKYCRegistryTransactorSession) RegisterToQueue added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactorSession) RegisterToQueue(zkCertificateHash [32]byte) (*types.Transaction, error)

RegisterToQueue is a paid mutator transaction binding the contract method 0x9de27abe.

Solidity: function registerToQueue(bytes32 zkCertificateHash) returns()

func (*ZkKYCRegistryTransactorSession) RenounceOwnership added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ZkKYCRegistryTransactorSession) RevokeZkCertificate added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactorSession) RevokeZkCertificate(leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte) (*types.Transaction, error)

RevokeZkCertificate is a paid mutator transaction binding the contract method 0xa2873348.

Solidity: function revokeZkCertificate(uint256 leafIndex, bytes32 zkCertificateHash, bytes32[] merkleProof) returns()

func (*ZkKYCRegistryTransactorSession) SetNewOwner added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactorSession) SetNewOwner(_newOwner common.Address) (*types.Transaction, error)

SetNewOwner is a paid mutator transaction binding the contract method 0xf5a1f5b4.

Solidity: function setNewOwner(address _newOwner) returns()

func (*ZkKYCRegistryTransactorSession) TransferOwnership added in v1.6.0

func (_ZkKYCRegistry *ZkKYCRegistryTransactorSession) TransferOwnership() (*types.Transaction, error)

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

Solidity: function transferOwnership() returns()

type ZkKYCRegistryZkCertificateAddition added in v1.6.0

type ZkKYCRegistryZkCertificateAddition struct {
	ZkCertificateLeafHash [32]byte
	Guardian              common.Address
	Index                 *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

ZkKYCRegistryZkCertificateAddition represents a ZkCertificateAddition event raised by the ZkKYCRegistry contract.

type ZkKYCRegistryZkCertificateAdditionIterator added in v1.6.0

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

ZkKYCRegistryZkCertificateAdditionIterator is returned from FilterZkCertificateAddition and is used to iterate over the raw logs and unpacked data for ZkCertificateAddition events raised by the ZkKYCRegistry contract.

func (*ZkKYCRegistryZkCertificateAdditionIterator) Close added in v1.6.0

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

func (*ZkKYCRegistryZkCertificateAdditionIterator) Error added in v1.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkKYCRegistryZkCertificateAdditionIterator) Next added in v1.6.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 ZkKYCRegistryZkCertificateRevocation added in v1.6.0

type ZkKYCRegistryZkCertificateRevocation struct {
	ZkCertificateLeafHash [32]byte
	Guardian              common.Address
	Index                 *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

ZkKYCRegistryZkCertificateRevocation represents a ZkCertificateRevocation event raised by the ZkKYCRegistry contract.

type ZkKYCRegistryZkCertificateRevocationIterator added in v1.6.0

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

ZkKYCRegistryZkCertificateRevocationIterator is returned from FilterZkCertificateRevocation and is used to iterate over the raw logs and unpacked data for ZkCertificateRevocation events raised by the ZkKYCRegistry contract.

func (*ZkKYCRegistryZkCertificateRevocationIterator) Close added in v1.6.0

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

func (*ZkKYCRegistryZkCertificateRevocationIterator) Error added in v1.6.0

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkKYCRegistryZkCertificateRevocationIterator) Next added in v1.6.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.

Jump to

Keyboard shortcuts

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