numv1alpha1

package
v0.64.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_penumbra_core_num_v1alpha1_num_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Amount

type Amount struct {
	Lo uint64 `protobuf:"varint,1,opt,name=lo,proto3" json:"lo,omitempty"`
	Hi uint64 `protobuf:"varint,2,opt,name=hi,proto3" json:"hi,omitempty"`
	// contains filtered or unexported fields
}

The quantity of a particular Asset. Represented as a 128-bit unsigned integer, split over two fields, `lo` and `hi`, representing the low- and high-order bytes of the 128-bit value, respectively. Clients must assemble these bits in their implementation into a `uint128` or comparable data structure, in order to model the Amount accurately.

func (*Amount) Descriptor deprecated

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

Deprecated: Use Amount.ProtoReflect.Descriptor instead.

func (*Amount) GetHi

func (x *Amount) GetHi() uint64

func (*Amount) GetLo

func (x *Amount) GetLo() uint64

func (*Amount) ProtoMessage

func (*Amount) ProtoMessage()

func (*Amount) ProtoReflect

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

func (*Amount) Reset

func (x *Amount) Reset()

func (*Amount) String

func (x *Amount) String() string

Jump to

Keyboard shortcuts

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