Documentation
¶
Index ¶
- Variables
- func CurrentHeight(context context.Context) types.Height
- func NewHeight(value int64) types.Height
- func NewSignature(id ids.ID, signatureBytes []byte, validityHeight types.Height) types.Signature
- func NewSplit(ownerID ids.IdentityID, ownableID ids.OwnableID, value sdkTypes.Dec) types.Split
- func RegisterLegacyAminoCodec(legacyAmino *codec.LegacyAmino)
- type Height
- func (height *Height) Bytes() []byte
- func (height *Height) Compare(compareHeight types.Height) int
- func (*Height) Descriptor() ([]byte, []int)
- func (height *Height) Get() int64
- func (m *Height) Marshal() (dAtA []byte, err error)
- func (m *Height) MarshalTo(dAtA []byte) (int, error)
- func (m *Height) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Height) ProtoMessage()
- func (m *Height) Reset()
- func (m *Height) Size() (n int)
- func (m *Height) String() string
- func (m *Height) Unmarshal(dAtA []byte) error
- func (height *Height) ValidateBasic() error
- func (m *Height) XXX_DiscardUnknown()
- func (m *Height) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Height) XXX_Merge(src proto.Message)
- func (m *Height) XXX_Size() int
- func (m *Height) XXX_Unmarshal(b []byte) error
- type Split
- func (split *Split) CanSend(outValue sdkTypes.Dec) bool
- func (*Split) Descriptor() ([]byte, []int)
- func (split *Split) GetOwnableID() ids.OwnableID
- func (split *Split) GetOwnerID() ids.IdentityID
- func (split *Split) GetValue() sdkTypes.Dec
- func (m *Split) Marshal() (dAtA []byte, err error)
- func (m *Split) MarshalTo(dAtA []byte) (int, error)
- func (m *Split) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Split) ProtoMessage()
- func (split *Split) Receive(inValue sdkTypes.Dec) types.Split
- func (m *Split) Reset()
- func (split *Split) Send(outValue sdkTypes.Dec) types.Split
- func (m *Split) Size() (n int)
- func (m *Split) String() string
- func (m *Split) Unmarshal(dAtA []byte) error
- func (split *Split) ValidateBasic() error
- func (m *Split) XXX_DiscardUnknown()
- func (m *Split) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Split) XXX_Merge(src proto.Message)
- func (m *Split) XXX_Size() int
- func (m *Split) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewSignature ¶
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(legacyAmino *codec.LegacyAmino)
Types ¶
type Height ¶
type Height struct {
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*Height) Descriptor ¶
func (*Height) MarshalToSizedBuffer ¶
func (*Height) ProtoMessage ¶
func (*Height) ProtoMessage()
func (*Height) ValidateBasic ¶
func (*Height) XXX_DiscardUnknown ¶
func (m *Height) XXX_DiscardUnknown()
func (*Height) XXX_Marshal ¶
func (*Height) XXX_Unmarshal ¶
type Split ¶
type Split struct { OwnerID *base.IdentityID `protobuf:"bytes,1,opt,name=owner_i_d,json=ownerID,proto3" json:"owner_i_d,omitempty"` OwnableID *base.AnyOwnableID `protobuf:"bytes,2,opt,name=ownable_i_d,json=ownableID,proto3" json:"ownable_i_d,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` }
func (*Split) Descriptor ¶
func (*Split) GetOwnableID ¶
func (*Split) GetOwnerID ¶
func (split *Split) GetOwnerID() ids.IdentityID
func (*Split) ProtoMessage ¶
func (*Split) ProtoMessage()
func (*Split) ValidateBasic ¶
func (*Split) XXX_DiscardUnknown ¶
func (m *Split) XXX_DiscardUnknown()
func (*Split) XXX_Marshal ¶
func (*Split) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.