Documentation ¶
Index ¶
- Variables
- type Amount
- func (*Amount) Descriptor() ([]byte, []int)
- func (m *Amount) GetHi() uint64
- func (m *Amount) GetLo() uint64
- func (m *Amount) Marshal() (dAtA []byte, err error)
- func (m *Amount) MarshalTo(dAtA []byte) (int, error)
- func (m *Amount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Amount) ProtoMessage()
- func (m *Amount) Reset()
- func (m *Amount) Size() (n int)
- func (m *Amount) String() string
- func (m *Amount) Unmarshal(dAtA []byte) error
- func (m *Amount) XXX_DiscardUnknown()
- func (m *Amount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Amount) XXX_Merge(src proto.Message)
- func (m *Amount) XXX_Size() int
- func (m *Amount) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
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"` }
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 ¶
func (*Amount) MarshalToSizedBuffer ¶
func (*Amount) ProtoMessage ¶
func (*Amount) ProtoMessage()
func (*Amount) XXX_DiscardUnknown ¶
func (m *Amount) XXX_DiscardUnknown()
func (*Amount) XXX_Marshal ¶
func (*Amount) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.