cmd

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreateZKCert

func NewCmdCreateZKCert() *cobra.Command

func NewCmdEncryptZKCert

func NewCmdEncryptZKCert() *cobra.Command

func NewCmdGenerateEdDSAKeyPair

func NewCmdGenerateEdDSAKeyPair() *cobra.Command

func NewCmdIssueZKCert

func NewCmdIssueZKCert() *cobra.Command

func NewCmdRenewZKCert

func NewCmdRenewZKCert() *cobra.Command

func NewCmdRevokeZKCert

func NewCmdRevokeZKCert() *cobra.Command

func NewRootCmd

func NewRootCmd() *cobra.Command

Types

type RecordRegistry

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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