pp

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Identity

type Identity struct {
	Raw []byte `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"`
	// contains filtered or unexported fields
}

func (*Identity) Descriptor deprecated

func (*Identity) Descriptor() ([]byte, []int)

Deprecated: Use Identity.ProtoReflect.Descriptor instead.

func (*Identity) GetRaw

func (x *Identity) GetRaw() []byte

func (*Identity) ProtoMessage

func (*Identity) ProtoMessage()

func (*Identity) ProtoReflect

func (x *Identity) ProtoReflect() protoreflect.Message

func (*Identity) Reset

func (x *Identity) Reset()

func (*Identity) String

func (x *Identity) String() string

type PublicParameters

type PublicParameters struct {
	TokenDriverName    string      `protobuf:"bytes,1,opt,name=token_driver_name,json=tokenDriverName,proto3" json:"token_driver_name,omitempty"`           // the name of the token driver
	TokenDriverVersion uint64      `protobuf:"varint,2,opt,name=token_driver_version,json=tokenDriverVersion,proto3" json:"token_driver_version,omitempty"` // the version of token driver
	Auditor            *Identity   `protobuf:"bytes,7,opt,name=auditor,proto3" json:"auditor,omitempty"`                                                    // is the public key of the auditor.
	Issuers            []*Identity `protobuf:"bytes,8,rep,name=issuers,proto3" json:"issuers,omitempty"`                                                    // is a list of public keys of the entities that can issue tokens.
	MaxToken           uint64      `protobuf:"varint,9,opt,name=max_token,json=maxToken,proto3" json:"max_token,omitempty"`                                 // is the maximum quantity a token can hold
	QuantityPrecision  uint64      `protobuf:"varint,10,opt,name=quantity_precision,json=quantityPrecision,proto3" json:"quantity_precision,omitempty"`     // is the precision used to represent quantities
	// contains filtered or unexported fields
}

PublicParameters describes typed public parameters

func (*PublicParameters) Descriptor deprecated

func (*PublicParameters) Descriptor() ([]byte, []int)

Deprecated: Use PublicParameters.ProtoReflect.Descriptor instead.

func (*PublicParameters) GetAuditor

func (x *PublicParameters) GetAuditor() *Identity

func (*PublicParameters) GetIssuers

func (x *PublicParameters) GetIssuers() []*Identity

func (*PublicParameters) GetMaxToken

func (x *PublicParameters) GetMaxToken() uint64

func (*PublicParameters) GetQuantityPrecision

func (x *PublicParameters) GetQuantityPrecision() uint64

func (*PublicParameters) GetTokenDriverName

func (x *PublicParameters) GetTokenDriverName() string

func (*PublicParameters) GetTokenDriverVersion

func (x *PublicParameters) GetTokenDriverVersion() uint64

func (*PublicParameters) ProtoMessage

func (*PublicParameters) ProtoMessage()

func (*PublicParameters) ProtoReflect

func (x *PublicParameters) ProtoReflect() protoreflect.Message

func (*PublicParameters) Reset

func (x *PublicParameters) Reset()

func (*PublicParameters) String

func (x *PublicParameters) String() string

Jump to

Keyboard shortcuts

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