cmd

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 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 RecordRegistryCaller

type RecordRegistryCaller interface {
	GuardianRegistry(opts *bind.CallOpts) (common.Address, error)
}

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)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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