Documentation ¶
Index ¶
- Variables
- type ZkCertificateRegistry
- type ZkCertificateRegistryCaller
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) Description(opts *bind.CallOpts) (string, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) GetMerkleRoots(opts *bind.CallOpts) ([][32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) GuardianRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) HashLeftRight(opts *bind.CallOpts, _left [32]byte, _right [32]byte) ([32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) InitBlockHeight(opts *bind.CallOpts) (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) MerkleRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) MerkleRootIndex(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) MerkleRootValidIndex(opts *bind.CallOpts) (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) MerkleRoots(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) NextLeafIndex(opts *bind.CallOpts) (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) TreeDepth(opts *bind.CallOpts) (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) TreeSize(opts *bind.CallOpts) (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) VerifyMerkleRoot(opts *bind.CallOpts, _merkleRoot [32]byte) (bool, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) ZEROVALUE(opts *bind.CallOpts) ([32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCaller) ZkCertificateToGuardian(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
- type ZkCertificateRegistryCallerRaw
- type ZkCertificateRegistryCallerSession
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) Description() (string, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) GetMerkleRoots() ([][32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) GuardianRegistry() (common.Address, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) HashLeftRight(_left [32]byte, _right [32]byte) ([32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) InitBlockHeight() (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) MerkleRoot() ([32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) MerkleRootIndex(arg0 [32]byte) (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) MerkleRootValidIndex() (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) MerkleRoots(arg0 *big.Int) ([32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) NextLeafIndex() (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) TreeDepth() (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) TreeSize() (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) VerifyMerkleRoot(_merkleRoot [32]byte) (bool, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) ZEROVALUE() ([32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryCallerSession) ZkCertificateToGuardian(arg0 [32]byte) (common.Address, error)
- type ZkCertificateRegistryFilterer
- func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*ZkCertificateRegistryInitializedIterator, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) FilterZkCertificateAddition(opts *bind.FilterOpts, zkCertificateLeafHash [][32]byte, ...) (*ZkCertificateRegistryZkCertificateAdditionIterator, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) FilterZkCertificateRevocation(opts *bind.FilterOpts, zkCertificateLeafHash [][32]byte, ...) (*ZkCertificateRegistryZkCertificateRevocationIterator, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) ParseInitialized(log types.Log) (*ZkCertificateRegistryInitialized, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) ParseZkCertificateAddition(log types.Log) (*ZkCertificateRegistryZkCertificateAddition, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) ParseZkCertificateRevocation(log types.Log) (*ZkCertificateRegistryZkCertificateRevocation, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ZkCertificateRegistryInitialized) (event.Subscription, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) WatchZkCertificateAddition(opts *bind.WatchOpts, sink chan<- *ZkCertificateRegistryZkCertificateAddition, ...) (event.Subscription, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryFilterer) WatchZkCertificateRevocation(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type ZkCertificateRegistryInitialized
- type ZkCertificateRegistryInitializedIterator
- type ZkCertificateRegistryRaw
- func (_ZkCertificateRegistry *ZkCertificateRegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ZkCertificateRegistry *ZkCertificateRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ZkCertificateRegistrySession
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) AddZkCertificate(leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte) (*types.Transaction, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) Description() (string, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) GetMerkleRoots() ([][32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) GuardianRegistry() (common.Address, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) HashLeftRight(_left [32]byte, _right [32]byte) ([32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) InitBlockHeight() (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) MerkleRoot() ([32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) MerkleRootIndex(arg0 [32]byte) (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) MerkleRootValidIndex() (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) MerkleRoots(arg0 *big.Int) ([32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) NextLeafIndex() (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) RevokeZkCertificate(leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte) (*types.Transaction, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) TreeDepth() (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) TreeSize() (*big.Int, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) VerifyMerkleRoot(_merkleRoot [32]byte) (bool, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) ZEROVALUE() ([32]byte, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistrySession) ZkCertificateToGuardian(arg0 [32]byte) (common.Address, error)
- type ZkCertificateRegistryTransactor
- func (_ZkCertificateRegistry *ZkCertificateRegistryTransactor) AddZkCertificate(opts *bind.TransactOpts, leafIndex *big.Int, zkCertificateHash [32]byte, ...) (*types.Transaction, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryTransactor) RevokeZkCertificate(opts *bind.TransactOpts, leafIndex *big.Int, zkCertificateHash [32]byte, ...) (*types.Transaction, error)
- type ZkCertificateRegistryTransactorRaw
- type ZkCertificateRegistryTransactorSession
- func (_ZkCertificateRegistry *ZkCertificateRegistryTransactorSession) AddZkCertificate(leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte) (*types.Transaction, error)
- func (_ZkCertificateRegistry *ZkCertificateRegistryTransactorSession) RevokeZkCertificate(leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte) (*types.Transaction, error)
- type ZkCertificateRegistryZkCertificateAddition
- type ZkCertificateRegistryZkCertificateAdditionIterator
- type ZkCertificateRegistryZkCertificateRevocation
- type ZkCertificateRegistryZkCertificateRevocationIterator
Constants ¶
This section is empty.
Variables ¶
var ZkCertificateRegistryABI = ZkCertificateRegistryMetaData.ABI
ZkCertificateRegistryABI is the input ABI used to generate the binding from. Deprecated: Use ZkCertificateRegistryMetaData.ABI instead.
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\":\"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\":\"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\":[],\"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\":\"_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\":\"nextLeafIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":[],\"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.
Functions ¶
This section is empty.
Types ¶
type ZkCertificateRegistry ¶
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 ¶
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 ¶
type ZkCertificateRegistryCaller struct {
// contains filtered or unexported fields
}
ZkCertificateRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewZkCertificateRegistryCaller ¶
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) Description ¶
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 ¶
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) GuardianRegistry ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) NextLeafIndex ¶
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) TreeDepth ¶
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 ¶
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 ¶
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 ¶
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) ZkCertificateToGuardian ¶
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 ¶
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 ¶
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 ¶
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) Description ¶
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 ¶
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) GuardianRegistry ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) NextLeafIndex ¶
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) TreeDepth ¶
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 ¶
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 ¶
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 ¶
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) ZkCertificateToGuardian ¶
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 ¶
type ZkCertificateRegistryFilterer struct {
// contains filtered or unexported fields
}
ZkCertificateRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewZkCertificateRegistryFilterer ¶
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 ¶
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) FilterZkCertificateAddition ¶
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 ¶
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 ¶
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) ParseZkCertificateAddition ¶
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 ¶
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 ¶
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) WatchZkCertificateAddition ¶
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 ¶
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 ¶
type ZkCertificateRegistryInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
ZkCertificateRegistryInitialized represents a Initialized event raised by the ZkCertificateRegistry contract.
type ZkCertificateRegistryInitializedIterator ¶
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 ¶
func (it *ZkCertificateRegistryInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZkCertificateRegistryInitializedIterator) Error ¶
func (it *ZkCertificateRegistryInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZkCertificateRegistryInitializedIterator) Next ¶
func (it *ZkCertificateRegistryInitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ZkCertificateRegistryRaw ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) Description ¶
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 ¶
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) GuardianRegistry ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) NextLeafIndex ¶
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) RevokeZkCertificate ¶
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) TreeDepth ¶
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 ¶
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 ¶
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 ¶
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) ZkCertificateToGuardian ¶
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 ¶
type ZkCertificateRegistryTransactor struct {
// contains filtered or unexported fields
}
ZkCertificateRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewZkCertificateRegistryTransactor ¶
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 ¶
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) RevokeZkCertificate ¶
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()
type ZkCertificateRegistryTransactorRaw ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) RevokeZkCertificate ¶
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()
type ZkCertificateRegistryZkCertificateAddition ¶
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 ¶
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 ¶
func (it *ZkCertificateRegistryZkCertificateAdditionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZkCertificateRegistryZkCertificateAdditionIterator) Error ¶
func (it *ZkCertificateRegistryZkCertificateAdditionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZkCertificateRegistryZkCertificateAdditionIterator) Next ¶
func (it *ZkCertificateRegistryZkCertificateAdditionIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ZkCertificateRegistryZkCertificateRevocation ¶
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 ¶
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 ¶
func (it *ZkCertificateRegistryZkCertificateRevocationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ZkCertificateRegistryZkCertificateRevocationIterator) Error ¶
func (it *ZkCertificateRegistryZkCertificateRevocationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ZkCertificateRegistryZkCertificateRevocationIterator) Next ¶
func (it *ZkCertificateRegistryZkCertificateRevocationIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.