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 }
TODO: It would be nice to use the same ABI for every contract
type RecordRegistryCaller ¶
type RecordRegistryCaller interface {
GuardianRegistry(opts *bind.CallOpts) (common.Address, error)
}
TODO: It would be nice to use the same ABI for every contract
type RecordRegistryTransactor ¶
type RecordRegistryTransactor interface { AddZkKYCRecord( opts *bind.TransactOpts, leafIndex *big.Int, zkKYCRecordHash [32]byte, merkleProof [][32]byte, ) (*types.Transaction, error) RevokeZkKYCRecord( opts *bind.TransactOpts, leafIndex *big.Int, zkKYCRecordHash [32]byte, merkleProof [][32]byte, ) (*types.Transaction, error) }
TODO: It would be nice to use the same ABI for every contract
type RegistryEventParser ¶
type RegistryEventParser interface { ParseZkKYCRecordAddition(log types.Log) (*contracts.KYCRecordRegistryZkKYCRecordAddition, error) ParseZkKYCRecordRevocation(log types.Log) (*contracts.KYCRecordRegistryZkKYCRecordRevocation, error) }
TODO: It would be nice to use the same ABI for every contract
Source Files ¶
Click to show internal directories.
Click to hide internal directories.