Documentation ¶
Index ¶
- func NewCmdCreateZKCert() *cobra.Command
- func NewCmdEncryptZKCert() *cobra.Command
- func NewCmdGenerateEdDSAKeyPair() *cobra.Command
- func NewCmdIssueZKCert() *cobra.Command
- func NewCmdRenewZKCert() *cobra.Command
- func NewCmdRevokeZKCert() *cobra.Command
- func NewRootCmd() *cobra.Command
- type RecordRegistry
- type RecordRegistryCaller
- type RecordRegistryTransactor
- type RegistryEventParser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreateZKCert ¶
func NewCmdEncryptZKCert ¶
func NewCmdIssueZKCert ¶
func NewCmdRenewZKCert ¶
func NewCmdRevokeZKCert ¶
func NewRootCmd ¶
Types ¶
type RecordRegistry ¶
type RecordRegistry interface { RegistryEventParser RecordRegistryTransactor RecordRegistryCaller }
type RecordRegistryCaller ¶
type RecordRegistryTransactor ¶
type RecordRegistryTransactor interface { AddZkCertificate( opts *bind.TransactOpts, leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte, ) (*types.Transaction, error) RevokeZkCertificate( opts *bind.TransactOpts, leafIndex *big.Int, zkCertificateHash [32]byte, merkleProof [][32]byte, ) (*types.Transaction, error) }
type RegistryEventParser ¶
type RegistryEventParser interface { ParseZkCertificateAddition(log types.Log) (*contracts.ZkCertificateRegistryZkCertificateAddition, error) ParseZkCertificateRevocation(log types.Log) (*contracts.ZkCertificateRegistryZkCertificateRevocation, error) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.