Documentation ¶
Index ¶
- Variables
- func NewAccAddressData(value sdkTypes.AccAddress) data.AccAddressData
- func NewBooleanData(value bool) data.BooleanData
- func NewDecData(value sdkTypes.Dec) data.DecData
- func NewHeightData(value types.Height) data.HeightData
- func NewIDData(value ids.ID) data.IDData
- func NewLinkedData(resourceID ids.HashID, extensionID ids.StringID, serviceEndpoint string) data.LinkedData
- func NewListData(listableData ...data.ListableData) data.ListData
- func NewNumberData(value math.Int) data.NumberData
- func NewStringData(value string) data.StringData
- func PrototypeAccAddressData() data.Data
- func PrototypeAnyData() data.AnyData
- func PrototypeBooleanData() data.BooleanData
- func PrototypeDecData() data.DecData
- func PrototypeHeightData() data.HeightData
- func PrototypeIDData() data.IDData
- func PrototypeLinkedData() data.LinkedData
- func PrototypeListData() data.ListData
- func PrototypeNumberData() data.NumberData
- func PrototypeStringData() data.StringData
- type AccAddressData
- func (accAddressData *AccAddressData) AsString() string
- func (accAddressData *AccAddressData) Bytes() []byte
- func (accAddressData *AccAddressData) Compare(listableData data.ListableData) int
- func (*AccAddressData) Descriptor() ([]byte, []int)
- func (accAddressData *AccAddressData) FromString(dataString string) (data.Data, error)
- func (accAddressData *AccAddressData) GenerateHashID() ids.HashID
- func (accAddressData *AccAddressData) Get() sdkTypes.AccAddress
- func (accAddressData *AccAddressData) GetBondWeight() math.Int
- func (accAddressData *AccAddressData) GetID() ids.DataID
- func (accAddressData *AccAddressData) GetTypeID() ids.StringID
- func (m *AccAddressData) Marshal() (dAtA []byte, err error)
- func (m *AccAddressData) MarshalTo(dAtA []byte) (int, error)
- func (m *AccAddressData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccAddressData) ProtoMessage()
- func (m *AccAddressData) Reset()
- func (m *AccAddressData) Size() (n int)
- func (m *AccAddressData) String() string
- func (accAddressData *AccAddressData) ToAnyData() data.AnyData
- func (accAddressData *AccAddressData) ToAnyListableData() data.AnyListableData
- func (m *AccAddressData) Unmarshal(dAtA []byte) error
- func (accAddressData *AccAddressData) ValidateBasic() error
- func (m *AccAddressData) XXX_DiscardUnknown()
- func (m *AccAddressData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccAddressData) XXX_Merge(src proto.Message)
- func (m *AccAddressData) XXX_Size() int
- func (m *AccAddressData) XXX_Unmarshal(b []byte) error
- func (accAddressData *AccAddressData) ZeroValue() data.Data
- type AnyData
- func (anyData *AnyData) AsString() string
- func (anyData *AnyData) Bytes() []byte
- func (*AnyData) Descriptor() ([]byte, []int)
- func (anyData *AnyData) FromString(dataString string) (data.Data, error)
- func (anyData *AnyData) GenerateHashID() ids.HashID
- func (anyData *AnyData) Get() data.Data
- func (m *AnyData) GetAccAddressData() *AccAddressData
- func (anyData *AnyData) GetBondWeight() math.Int
- func (m *AnyData) GetBooleanData() *BooleanData
- func (m *AnyData) GetDecData() *DecData
- func (m *AnyData) GetHeightData() *HeightData
- func (anyData *AnyData) GetID() ids.DataID
- func (m *AnyData) GetIDData() *IDData
- func (m *AnyData) GetImpl() isAnyData_Impl
- func (m *AnyData) GetLinkedData() *LinkedData
- func (m *AnyData) GetListData() *ListData
- func (m *AnyData) GetNumberData() *NumberData
- func (m *AnyData) GetStringData() *StringData
- func (anyData *AnyData) GetTypeID() ids.StringID
- func (anyData *AnyData) IsAnyData()
- func (m *AnyData) Marshal() (dAtA []byte, err error)
- func (m *AnyData) MarshalTo(dAtA []byte) (int, error)
- func (m *AnyData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnyData) ProtoMessage()
- func (m *AnyData) Reset()
- func (m *AnyData) Size() (n int)
- func (m *AnyData) String() string
- func (anyData *AnyData) ToAnyData() data.AnyData
- func (m *AnyData) Unmarshal(dAtA []byte) error
- func (anyData *AnyData) ValidateBasic() error
- func (m *AnyData) XXX_DiscardUnknown()
- func (m *AnyData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnyData) XXX_Merge(src proto.Message)
- func (*AnyData) XXX_OneofWrappers() []interface{}
- func (m *AnyData) XXX_Size() int
- func (m *AnyData) XXX_Unmarshal(b []byte) error
- func (anyData *AnyData) ZeroValue() data.Data
- type AnyData_AccAddressData
- type AnyData_BooleanData
- type AnyData_DecData
- type AnyData_HeightData
- type AnyData_IDData
- type AnyData_LinkedData
- type AnyData_ListData
- type AnyData_NumberData
- type AnyData_StringData
- type AnyListableData
- func (anyListableData *AnyListableData) AsString() string
- func (anyListableData *AnyListableData) Bytes() []byte
- func (anyListableData *AnyListableData) Compare(listableData data.ListableData) int
- func (*AnyListableData) Descriptor() ([]byte, []int)
- func (anyListableData *AnyListableData) FromString(dataString string) (data.Data, error)
- func (anyListableData *AnyListableData) GenerateHashID() ids.HashID
- func (anyListableData *AnyListableData) Get() data.Data
- func (m *AnyListableData) GetAccAddressData() *AccAddressData
- func (anyListableData *AnyListableData) GetBondWeight() math.Int
- func (m *AnyListableData) GetBooleanData() *BooleanData
- func (m *AnyListableData) GetDecData() *DecData
- func (m *AnyListableData) GetHeightData() *HeightData
- func (anyListableData *AnyListableData) GetID() ids.DataID
- func (m *AnyListableData) GetIDData() *IDData
- func (m *AnyListableData) GetImpl() isAnyListableData_Impl
- func (m *AnyListableData) GetLinkedData() *LinkedData
- func (m *AnyListableData) GetNumberData() *NumberData
- func (m *AnyListableData) GetStringData() *StringData
- func (anyListableData *AnyListableData) GetTypeID() ids.StringID
- func (anyListableData *AnyListableData) IsAnyListableData()
- func (m *AnyListableData) Marshal() (dAtA []byte, err error)
- func (m *AnyListableData) MarshalTo(dAtA []byte) (int, error)
- func (m *AnyListableData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AnyListableData) ProtoMessage()
- func (m *AnyListableData) Reset()
- func (m *AnyListableData) Size() (n int)
- func (m *AnyListableData) String() string
- func (anyListableData *AnyListableData) ToAnyData() data.AnyData
- func (anyListableData *AnyListableData) ToAnyListableData() data.AnyListableData
- func (m *AnyListableData) Unmarshal(dAtA []byte) error
- func (anyListableData *AnyListableData) ValidateBasic() error
- func (m *AnyListableData) XXX_DiscardUnknown()
- func (m *AnyListableData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AnyListableData) XXX_Merge(src proto.Message)
- func (*AnyListableData) XXX_OneofWrappers() []interface{}
- func (m *AnyListableData) XXX_Size() int
- func (m *AnyListableData) XXX_Unmarshal(b []byte) error
- func (anyListableData *AnyListableData) ZeroValue() data.Data
- type AnyListableData_AccAddressData
- type AnyListableData_BooleanData
- type AnyListableData_DecData
- type AnyListableData_HeightData
- type AnyListableData_IDData
- type AnyListableData_LinkedData
- type AnyListableData_NumberData
- type AnyListableData_StringData
- type BooleanData
- func (booleanData *BooleanData) AsString() string
- func (booleanData *BooleanData) Bytes() []byte
- func (booleanData *BooleanData) Compare(listableData data.ListableData) int
- func (*BooleanData) Descriptor() ([]byte, []int)
- func (booleanData *BooleanData) FromString(dataString string) (data.Data, error)
- func (booleanData *BooleanData) GenerateHashID() ids.HashID
- func (booleanData *BooleanData) Get() bool
- func (booleanData *BooleanData) GetBondWeight() math.Int
- func (booleanData *BooleanData) GetID() ids.DataID
- func (booleanData *BooleanData) GetTypeID() ids.StringID
- func (m *BooleanData) Marshal() (dAtA []byte, err error)
- func (m *BooleanData) MarshalTo(dAtA []byte) (int, error)
- func (m *BooleanData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BooleanData) ProtoMessage()
- func (m *BooleanData) Reset()
- func (m *BooleanData) Size() (n int)
- func (m *BooleanData) String() string
- func (booleanData *BooleanData) ToAnyData() data.AnyData
- func (booleanData *BooleanData) ToAnyListableData() data.AnyListableData
- func (m *BooleanData) Unmarshal(dAtA []byte) error
- func (booleanData *BooleanData) ValidateBasic() error
- func (m *BooleanData) XXX_DiscardUnknown()
- func (m *BooleanData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BooleanData) XXX_Merge(src proto.Message)
- func (m *BooleanData) XXX_Size() int
- func (m *BooleanData) XXX_Unmarshal(b []byte) error
- func (booleanData *BooleanData) ZeroValue() data.Data
- type DecData
- func (decData *DecData) AsString() string
- func (decData *DecData) Bytes() []byte
- func (decData *DecData) Compare(listableData data.ListableData) int
- func (*DecData) Descriptor() ([]byte, []int)
- func (decData *DecData) FromString(dataString string) (data.Data, error)
- func (decData *DecData) GenerateHashID() ids.HashID
- func (decData *DecData) Get() sdkTypes.Dec
- func (decData *DecData) GetBondWeight() math.Int
- func (decData *DecData) GetID() ids.DataID
- func (decData *DecData) GetTypeID() ids.StringID
- func (m *DecData) Marshal() (dAtA []byte, err error)
- func (m *DecData) MarshalTo(dAtA []byte) (int, error)
- func (m *DecData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DecData) ProtoMessage()
- func (m *DecData) Reset()
- func (m *DecData) Size() (n int)
- func (m *DecData) String() string
- func (decData *DecData) ToAnyData() data.AnyData
- func (decData *DecData) ToAnyListableData() data.AnyListableData
- func (m *DecData) Unmarshal(dAtA []byte) error
- func (decData *DecData) ValidateBasic() error
- func (m *DecData) XXX_DiscardUnknown()
- func (m *DecData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DecData) XXX_Merge(src proto.Message)
- func (m *DecData) XXX_Size() int
- func (m *DecData) XXX_Unmarshal(b []byte) error
- func (decData *DecData) ZeroValue() data.Data
- type HeightData
- func (heightData *HeightData) AsString() string
- func (heightData *HeightData) Bytes() []byte
- func (heightData *HeightData) Compare(listableData data.ListableData) int
- func (*HeightData) Descriptor() ([]byte, []int)
- func (heightData *HeightData) FromString(dataString string) (data.Data, error)
- func (heightData *HeightData) GenerateHashID() ids.HashID
- func (heightData *HeightData) Get() types.Height
- func (heightData *HeightData) GetBondWeight() math.Int
- func (heightData *HeightData) GetID() ids.DataID
- func (heightData *HeightData) GetTypeID() ids.StringID
- func (m *HeightData) Marshal() (dAtA []byte, err error)
- func (m *HeightData) MarshalTo(dAtA []byte) (int, error)
- func (m *HeightData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HeightData) ProtoMessage()
- func (m *HeightData) Reset()
- func (m *HeightData) Size() (n int)
- func (m *HeightData) String() string
- func (heightData *HeightData) ToAnyData() data.AnyData
- func (heightData *HeightData) ToAnyListableData() data.AnyListableData
- func (m *HeightData) Unmarshal(dAtA []byte) error
- func (heightData *HeightData) ValidateBasic() error
- func (m *HeightData) XXX_DiscardUnknown()
- func (m *HeightData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeightData) XXX_Merge(src proto.Message)
- func (m *HeightData) XXX_Size() int
- func (m *HeightData) XXX_Unmarshal(b []byte) error
- func (heightData *HeightData) ZeroValue() data.Data
- type IDData
- func (idData *IDData) AsString() string
- func (idData *IDData) Bytes() []byte
- func (idData *IDData) Compare(listableData data.ListableData) int
- func (*IDData) Descriptor() ([]byte, []int)
- func (idData *IDData) FromString(dataString string) (data.Data, error)
- func (idData *IDData) GenerateHashID() ids.HashID
- func (idData *IDData) Get() ids.AnyID
- func (idData *IDData) GetBondWeight() math.Int
- func (idData *IDData) GetID() ids.DataID
- func (idData *IDData) GetTypeID() ids.StringID
- func (m *IDData) Marshal() (dAtA []byte, err error)
- func (m *IDData) MarshalTo(dAtA []byte) (int, error)
- func (m *IDData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IDData) ProtoMessage()
- func (m *IDData) Reset()
- func (m *IDData) Size() (n int)
- func (m *IDData) String() string
- func (idData *IDData) ToAnyData() data.AnyData
- func (idData *IDData) ToAnyListableData() data.AnyListableData
- func (m *IDData) Unmarshal(dAtA []byte) error
- func (idData *IDData) ValidateBasic() error
- func (m *IDData) XXX_DiscardUnknown()
- func (m *IDData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IDData) XXX_Merge(src proto.Message)
- func (m *IDData) XXX_Size() int
- func (m *IDData) XXX_Unmarshal(b []byte) error
- func (idData *IDData) ZeroValue() data.Data
- type LinkedData
- func (linkedData *LinkedData) AsString() string
- func (linkedData *LinkedData) Bytes() []byte
- func (linkedData *LinkedData) Compare(listableData data.ListableData) int
- func (*LinkedData) Descriptor() ([]byte, []int)
- func (*LinkedData) FromString(dataString string) (data.Data, error)
- func (linkedData *LinkedData) GenerateHashID() ids.HashID
- func (linkedData *LinkedData) GetBondWeight() math.Int
- func (linkedData *LinkedData) GetExtensionID() ids.StringID
- func (linkedData *LinkedData) GetID() ids.DataID
- func (linkedData *LinkedData) GetResourceID() ids.HashID
- func (linkedData *LinkedData) GetServiceEndpoint() string
- func (linkedData *LinkedData) GetTypeID() ids.StringID
- func (m *LinkedData) Marshal() (dAtA []byte, err error)
- func (m *LinkedData) MarshalTo(dAtA []byte) (int, error)
- func (m *LinkedData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LinkedData) ProtoMessage()
- func (m *LinkedData) Reset()
- func (m *LinkedData) Size() (n int)
- func (m *LinkedData) String() string
- func (linkedData *LinkedData) ToAnyData() data.AnyData
- func (linkedData *LinkedData) ToAnyListableData() data.AnyListableData
- func (m *LinkedData) Unmarshal(dAtA []byte) error
- func (linkedData *LinkedData) ValidateBasic() error
- func (m *LinkedData) XXX_DiscardUnknown()
- func (m *LinkedData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LinkedData) XXX_Merge(src proto.Message)
- func (m *LinkedData) XXX_Size() int
- func (m *LinkedData) XXX_Unmarshal(b []byte) error
- func (linkedData *LinkedData) ZeroValue() data.Data
- type ListData
- func (listData *ListData) Add(listableData ...data.ListableData) data.ListData
- func (listData *ListData) AsString() string
- func (listData *ListData) Bytes() []byte
- func (*ListData) Descriptor() ([]byte, []int)
- func (listData *ListData) FromString(dataString string) (data.Data, error)
- func (listData *ListData) GenerateHashID() ids.HashID
- func (listData *ListData) Get() []data.AnyListableData
- func (listData *ListData) GetBondWeight() math.Int
- func (listData *ListData) GetID() ids.DataID
- func (listData *ListData) GetTypeID() ids.StringID
- func (m *ListData) Marshal() (dAtA []byte, err error)
- func (m *ListData) MarshalTo(dAtA []byte) (int, error)
- func (m *ListData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListData) ProtoMessage()
- func (listData *ListData) Remove(data ...data.ListableData) data.ListData
- func (m *ListData) Reset()
- func (listData *ListData) Search(data data.ListableData) (int, bool)
- func (m *ListData) Size() (n int)
- func (m *ListData) String() string
- func (listData *ListData) ToAnyData() data.AnyData
- func (m *ListData) Unmarshal(dAtA []byte) error
- func (listData *ListData) ValidateBasic() error
- func (listData *ListData) ValidateWithoutLengthCheck() error
- func (m *ListData) XXX_DiscardUnknown()
- func (m *ListData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListData) XXX_Merge(src proto.Message)
- func (m *ListData) XXX_Size() int
- func (m *ListData) XXX_Unmarshal(b []byte) error
- func (listData *ListData) ZeroValue() data.Data
- type NumberData
- func (numberData *NumberData) AsString() string
- func (numberData *NumberData) Bytes() []byte
- func (numberData *NumberData) Compare(listableData data.ListableData) int
- func (*NumberData) Descriptor() ([]byte, []int)
- func (numberData *NumberData) FromString(dataString string) (data.Data, error)
- func (numberData *NumberData) GenerateHashID() ids.HashID
- func (numberData *NumberData) Get() math.Int
- func (numberData *NumberData) GetBondWeight() math.Int
- func (numberData *NumberData) GetID() ids.DataID
- func (numberData *NumberData) GetTypeID() ids.StringID
- func (m *NumberData) Marshal() (dAtA []byte, err error)
- func (m *NumberData) MarshalTo(dAtA []byte) (int, error)
- func (m *NumberData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NumberData) ProtoMessage()
- func (m *NumberData) Reset()
- func (m *NumberData) Size() (n int)
- func (m *NumberData) String() string
- func (numberData *NumberData) ToAnyData() data.AnyData
- func (numberData *NumberData) ToAnyListableData() data.AnyListableData
- func (m *NumberData) Unmarshal(dAtA []byte) error
- func (numberData *NumberData) ValidateBasic() error
- func (m *NumberData) XXX_DiscardUnknown()
- func (m *NumberData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NumberData) XXX_Merge(src proto.Message)
- func (m *NumberData) XXX_Size() int
- func (m *NumberData) XXX_Unmarshal(b []byte) error
- func (numberData *NumberData) ZeroValue() data.Data
- type StringData
- func (stringData *StringData) AsString() string
- func (stringData *StringData) Bytes() []byte
- func (stringData *StringData) Compare(listableData data.ListableData) int
- func (*StringData) Descriptor() ([]byte, []int)
- func (stringData *StringData) FromString(dataString string) (data.Data, error)
- func (stringData *StringData) GenerateHashID() ids.HashID
- func (stringData *StringData) Get() string
- func (stringData *StringData) GetBondWeight() math.Int
- func (stringData *StringData) GetID() ids.DataID
- func (stringData *StringData) GetTypeID() ids.StringID
- func (m *StringData) Marshal() (dAtA []byte, err error)
- func (m *StringData) MarshalTo(dAtA []byte) (int, error)
- func (m *StringData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StringData) ProtoMessage()
- func (m *StringData) Reset()
- func (m *StringData) Size() (n int)
- func (m *StringData) String() string
- func (stringData *StringData) ToAnyData() data.AnyData
- func (stringData *StringData) ToAnyListableData() data.AnyListableData
- func (m *StringData) Unmarshal(dAtA []byte) error
- func (stringData *StringData) ValidateBasic() error
- func (m *StringData) XXX_DiscardUnknown()
- func (m *StringData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringData) XXX_Merge(src proto.Message)
- func (m *StringData) XXX_Size() int
- func (m *StringData) XXX_Unmarshal(b []byte) error
- func (stringData *StringData) ZeroValue() data.Data
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthAccAddressData = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAccAddressData = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAccAddressData = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthAnyData = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAnyData = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAnyData = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthAnyListableData = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAnyListableData = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAnyListableData = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthBooleanData = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBooleanData = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBooleanData = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthDecData = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDecData = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDecData = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthHeightData = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowHeightData = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupHeightData = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthIdData = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowIdData = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupIdData = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthLinkedData = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLinkedData = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupLinkedData = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthListData = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowListData = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupListData = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func NewAccAddressData ¶
func NewAccAddressData(value sdkTypes.AccAddress) data.AccAddressData
func NewBooleanData ¶
func NewBooleanData(value bool) data.BooleanData
func NewHeightData ¶
func NewHeightData(value types.Height) data.HeightData
func NewLinkedData ¶
func NewListData ¶
func NewListData(listableData ...data.ListableData) data.ListData
NewListData * onus of ensuring all data are of the same type is on DataList
func NewNumberData ¶
func NewNumberData(value math.Int) data.NumberData
func NewStringData ¶
func NewStringData(value string) data.StringData
func PrototypeAccAddressData ¶
func PrototypeAnyData ¶
func PrototypeBooleanData ¶
func PrototypeBooleanData() data.BooleanData
func PrototypeDecData ¶
func PrototypeHeightData ¶
func PrototypeHeightData() data.HeightData
func PrototypeIDData ¶
func PrototypeLinkedData ¶
func PrototypeLinkedData() data.LinkedData
func PrototypeListData ¶
func PrototypeNumberData ¶
func PrototypeNumberData() data.NumberData
func PrototypeStringData ¶
func PrototypeStringData() data.StringData
Types ¶
type AccAddressData ¶
type AccAddressData struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*AccAddressData) AsString ¶
func (accAddressData *AccAddressData) AsString() string
func (*AccAddressData) Bytes ¶
func (accAddressData *AccAddressData) Bytes() []byte
func (*AccAddressData) Compare ¶
func (accAddressData *AccAddressData) Compare(listableData data.ListableData) int
func (*AccAddressData) Descriptor ¶
func (*AccAddressData) Descriptor() ([]byte, []int)
func (*AccAddressData) FromString ¶
func (accAddressData *AccAddressData) FromString(dataString string) (data.Data, error)
func (*AccAddressData) GenerateHashID ¶
func (accAddressData *AccAddressData) GenerateHashID() ids.HashID
func (*AccAddressData) Get ¶
func (accAddressData *AccAddressData) Get() sdkTypes.AccAddress
func (*AccAddressData) GetBondWeight ¶
func (accAddressData *AccAddressData) GetBondWeight() math.Int
func (*AccAddressData) GetID ¶
func (accAddressData *AccAddressData) GetID() ids.DataID
func (*AccAddressData) GetTypeID ¶
func (accAddressData *AccAddressData) GetTypeID() ids.StringID
func (*AccAddressData) Marshal ¶
func (m *AccAddressData) Marshal() (dAtA []byte, err error)
func (*AccAddressData) MarshalToSizedBuffer ¶
func (m *AccAddressData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccAddressData) ProtoMessage ¶
func (*AccAddressData) ProtoMessage()
func (*AccAddressData) Reset ¶
func (m *AccAddressData) Reset()
func (*AccAddressData) Size ¶
func (m *AccAddressData) Size() (n int)
func (*AccAddressData) String ¶
func (m *AccAddressData) String() string
func (*AccAddressData) ToAnyData ¶
func (accAddressData *AccAddressData) ToAnyData() data.AnyData
func (*AccAddressData) ToAnyListableData ¶
func (accAddressData *AccAddressData) ToAnyListableData() data.AnyListableData
func (*AccAddressData) Unmarshal ¶
func (m *AccAddressData) Unmarshal(dAtA []byte) error
func (*AccAddressData) ValidateBasic ¶
func (accAddressData *AccAddressData) ValidateBasic() error
func (*AccAddressData) XXX_DiscardUnknown ¶
func (m *AccAddressData) XXX_DiscardUnknown()
func (*AccAddressData) XXX_Marshal ¶
func (m *AccAddressData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccAddressData) XXX_Merge ¶
func (m *AccAddressData) XXX_Merge(src proto.Message)
func (*AccAddressData) XXX_Size ¶
func (m *AccAddressData) XXX_Size() int
func (*AccAddressData) XXX_Unmarshal ¶
func (m *AccAddressData) XXX_Unmarshal(b []byte) error
func (*AccAddressData) ZeroValue ¶
func (accAddressData *AccAddressData) ZeroValue() data.Data
type AnyData ¶
type AnyData struct { // Types that are valid to be assigned to Impl: // *AnyData_AccAddressData // *AnyData_BooleanData // *AnyData_DecData // *AnyData_HeightData // *AnyData_IDData // *AnyData_ListData // *AnyData_LinkedData // *AnyData_NumberData // *AnyData_StringData Impl isAnyData_Impl `protobuf_oneof:"impl"` }
func (*AnyData) Descriptor ¶
func (*AnyData) FromString ¶
func (*AnyData) GenerateHashID ¶
func (*AnyData) GetAccAddressData ¶
func (m *AnyData) GetAccAddressData() *AccAddressData
func (*AnyData) GetBondWeight ¶
func (*AnyData) GetBooleanData ¶
func (m *AnyData) GetBooleanData() *BooleanData
func (*AnyData) GetDecData ¶
func (*AnyData) GetHeightData ¶
func (m *AnyData) GetHeightData() *HeightData
func (*AnyData) GetLinkedData ¶
func (m *AnyData) GetLinkedData() *LinkedData
func (*AnyData) GetListData ¶
func (*AnyData) GetNumberData ¶
func (m *AnyData) GetNumberData() *NumberData
func (*AnyData) GetStringData ¶
func (m *AnyData) GetStringData() *StringData
func (*AnyData) MarshalToSizedBuffer ¶
func (*AnyData) ProtoMessage ¶
func (*AnyData) ProtoMessage()
func (*AnyData) ValidateBasic ¶
func (*AnyData) XXX_DiscardUnknown ¶
func (m *AnyData) XXX_DiscardUnknown()
func (*AnyData) XXX_Marshal ¶
func (*AnyData) XXX_OneofWrappers ¶
func (*AnyData) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*AnyData) XXX_Unmarshal ¶
type AnyData_AccAddressData ¶
type AnyData_AccAddressData struct {
AccAddressData *AccAddressData `protobuf:"bytes,1,opt,name=acc_address_data,json=accAddressData,proto3,oneof" json:"acc_address_data,omitempty"`
}
func (*AnyData_AccAddressData) MarshalTo ¶
func (m *AnyData_AccAddressData) MarshalTo(dAtA []byte) (int, error)
func (*AnyData_AccAddressData) MarshalToSizedBuffer ¶
func (m *AnyData_AccAddressData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyData_AccAddressData) Size ¶
func (m *AnyData_AccAddressData) Size() (n int)
type AnyData_BooleanData ¶
type AnyData_BooleanData struct {
BooleanData *BooleanData `protobuf:"bytes,2,opt,name=boolean_data,json=booleanData,proto3,oneof" json:"boolean_data,omitempty"`
}
func (*AnyData_BooleanData) MarshalTo ¶
func (m *AnyData_BooleanData) MarshalTo(dAtA []byte) (int, error)
func (*AnyData_BooleanData) MarshalToSizedBuffer ¶
func (m *AnyData_BooleanData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyData_BooleanData) Size ¶
func (m *AnyData_BooleanData) Size() (n int)
type AnyData_DecData ¶
type AnyData_DecData struct {
DecData *DecData `protobuf:"bytes,3,opt,name=dec_data,json=decData,proto3,oneof" json:"dec_data,omitempty"`
}
func (*AnyData_DecData) MarshalToSizedBuffer ¶
func (m *AnyData_DecData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyData_DecData) Size ¶
func (m *AnyData_DecData) Size() (n int)
type AnyData_HeightData ¶
type AnyData_HeightData struct {
HeightData *HeightData `protobuf:"bytes,4,opt,name=height_data,json=heightData,proto3,oneof" json:"height_data,omitempty"`
}
func (*AnyData_HeightData) MarshalTo ¶
func (m *AnyData_HeightData) MarshalTo(dAtA []byte) (int, error)
func (*AnyData_HeightData) MarshalToSizedBuffer ¶
func (m *AnyData_HeightData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyData_HeightData) Size ¶
func (m *AnyData_HeightData) Size() (n int)
type AnyData_IDData ¶
type AnyData_IDData struct {
IDData *IDData `protobuf:"bytes,5,opt,name=i_d_data,json=iDData,proto3,oneof" json:"i_d_data,omitempty"`
}
func (*AnyData_IDData) MarshalToSizedBuffer ¶
func (m *AnyData_IDData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyData_IDData) Size ¶
func (m *AnyData_IDData) Size() (n int)
type AnyData_LinkedData ¶
type AnyData_LinkedData struct {
LinkedData *LinkedData `protobuf:"bytes,7,opt,name=linked_data,json=linkedData,proto3,oneof" json:"linked_data,omitempty"`
}
func (*AnyData_LinkedData) MarshalTo ¶
func (m *AnyData_LinkedData) MarshalTo(dAtA []byte) (int, error)
func (*AnyData_LinkedData) MarshalToSizedBuffer ¶
func (m *AnyData_LinkedData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyData_LinkedData) Size ¶
func (m *AnyData_LinkedData) Size() (n int)
type AnyData_ListData ¶
type AnyData_ListData struct {
ListData *ListData `protobuf:"bytes,6,opt,name=list_data,json=listData,proto3,oneof" json:"list_data,omitempty"`
}
func (*AnyData_ListData) MarshalToSizedBuffer ¶
func (m *AnyData_ListData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyData_ListData) Size ¶
func (m *AnyData_ListData) Size() (n int)
type AnyData_NumberData ¶
type AnyData_NumberData struct {
NumberData *NumberData `protobuf:"bytes,8,opt,name=number_data,json=numberData,proto3,oneof" json:"number_data,omitempty"`
}
func (*AnyData_NumberData) MarshalTo ¶
func (m *AnyData_NumberData) MarshalTo(dAtA []byte) (int, error)
func (*AnyData_NumberData) MarshalToSizedBuffer ¶
func (m *AnyData_NumberData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyData_NumberData) Size ¶
func (m *AnyData_NumberData) Size() (n int)
type AnyData_StringData ¶
type AnyData_StringData struct {
StringData *StringData `protobuf:"bytes,9,opt,name=string_data,json=stringData,proto3,oneof" json:"string_data,omitempty"`
}
func (*AnyData_StringData) MarshalTo ¶
func (m *AnyData_StringData) MarshalTo(dAtA []byte) (int, error)
func (*AnyData_StringData) MarshalToSizedBuffer ¶
func (m *AnyData_StringData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyData_StringData) Size ¶
func (m *AnyData_StringData) Size() (n int)
type AnyListableData ¶
type AnyListableData struct { // Types that are valid to be assigned to Impl: // *AnyListableData_AccAddressData // *AnyListableData_BooleanData // *AnyListableData_DecData // *AnyListableData_HeightData // *AnyListableData_IDData // *AnyListableData_LinkedData // *AnyListableData_NumberData // *AnyListableData_StringData Impl isAnyListableData_Impl `protobuf_oneof:"impl"` }
func (*AnyListableData) AsString ¶
func (anyListableData *AnyListableData) AsString() string
func (*AnyListableData) Bytes ¶
func (anyListableData *AnyListableData) Bytes() []byte
func (*AnyListableData) Compare ¶
func (anyListableData *AnyListableData) Compare(listableData data.ListableData) int
func (*AnyListableData) Descriptor ¶
func (*AnyListableData) Descriptor() ([]byte, []int)
func (*AnyListableData) FromString ¶
func (anyListableData *AnyListableData) FromString(dataString string) (data.Data, error)
func (*AnyListableData) GenerateHashID ¶
func (anyListableData *AnyListableData) GenerateHashID() ids.HashID
func (*AnyListableData) Get ¶
func (anyListableData *AnyListableData) Get() data.Data
func (*AnyListableData) GetAccAddressData ¶
func (m *AnyListableData) GetAccAddressData() *AccAddressData
func (*AnyListableData) GetBondWeight ¶
func (anyListableData *AnyListableData) GetBondWeight() math.Int
func (*AnyListableData) GetBooleanData ¶
func (m *AnyListableData) GetBooleanData() *BooleanData
func (*AnyListableData) GetDecData ¶
func (m *AnyListableData) GetDecData() *DecData
func (*AnyListableData) GetHeightData ¶
func (m *AnyListableData) GetHeightData() *HeightData
func (*AnyListableData) GetID ¶
func (anyListableData *AnyListableData) GetID() ids.DataID
func (*AnyListableData) GetIDData ¶
func (m *AnyListableData) GetIDData() *IDData
func (*AnyListableData) GetImpl ¶
func (m *AnyListableData) GetImpl() isAnyListableData_Impl
func (*AnyListableData) GetLinkedData ¶
func (m *AnyListableData) GetLinkedData() *LinkedData
func (*AnyListableData) GetNumberData ¶
func (m *AnyListableData) GetNumberData() *NumberData
func (*AnyListableData) GetStringData ¶
func (m *AnyListableData) GetStringData() *StringData
func (*AnyListableData) GetTypeID ¶
func (anyListableData *AnyListableData) GetTypeID() ids.StringID
func (*AnyListableData) IsAnyListableData ¶
func (anyListableData *AnyListableData) IsAnyListableData()
func (*AnyListableData) Marshal ¶
func (m *AnyListableData) Marshal() (dAtA []byte, err error)
func (*AnyListableData) MarshalToSizedBuffer ¶
func (m *AnyListableData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyListableData) ProtoMessage ¶
func (*AnyListableData) ProtoMessage()
func (*AnyListableData) Reset ¶
func (m *AnyListableData) Reset()
func (*AnyListableData) Size ¶
func (m *AnyListableData) Size() (n int)
func (*AnyListableData) String ¶
func (m *AnyListableData) String() string
func (*AnyListableData) ToAnyData ¶
func (anyListableData *AnyListableData) ToAnyData() data.AnyData
func (*AnyListableData) ToAnyListableData ¶
func (anyListableData *AnyListableData) ToAnyListableData() data.AnyListableData
func (*AnyListableData) Unmarshal ¶
func (m *AnyListableData) Unmarshal(dAtA []byte) error
func (*AnyListableData) ValidateBasic ¶
func (anyListableData *AnyListableData) ValidateBasic() error
func (*AnyListableData) XXX_DiscardUnknown ¶
func (m *AnyListableData) XXX_DiscardUnknown()
func (*AnyListableData) XXX_Marshal ¶
func (m *AnyListableData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnyListableData) XXX_Merge ¶
func (m *AnyListableData) XXX_Merge(src proto.Message)
func (*AnyListableData) XXX_OneofWrappers ¶
func (*AnyListableData) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*AnyListableData) XXX_Size ¶
func (m *AnyListableData) XXX_Size() int
func (*AnyListableData) XXX_Unmarshal ¶
func (m *AnyListableData) XXX_Unmarshal(b []byte) error
func (*AnyListableData) ZeroValue ¶
func (anyListableData *AnyListableData) ZeroValue() data.Data
type AnyListableData_AccAddressData ¶
type AnyListableData_AccAddressData struct {
AccAddressData *AccAddressData `protobuf:"bytes,1,opt,name=acc_address_data,json=accAddressData,proto3,oneof" json:"acc_address_data,omitempty"`
}
func (*AnyListableData_AccAddressData) MarshalTo ¶
func (m *AnyListableData_AccAddressData) MarshalTo(dAtA []byte) (int, error)
func (*AnyListableData_AccAddressData) MarshalToSizedBuffer ¶
func (m *AnyListableData_AccAddressData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyListableData_AccAddressData) Size ¶
func (m *AnyListableData_AccAddressData) Size() (n int)
type AnyListableData_BooleanData ¶
type AnyListableData_BooleanData struct {
BooleanData *BooleanData `protobuf:"bytes,2,opt,name=boolean_data,json=booleanData,proto3,oneof" json:"boolean_data,omitempty"`
}
func (*AnyListableData_BooleanData) MarshalTo ¶
func (m *AnyListableData_BooleanData) MarshalTo(dAtA []byte) (int, error)
func (*AnyListableData_BooleanData) MarshalToSizedBuffer ¶
func (m *AnyListableData_BooleanData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyListableData_BooleanData) Size ¶
func (m *AnyListableData_BooleanData) Size() (n int)
type AnyListableData_DecData ¶
type AnyListableData_DecData struct {
DecData *DecData `protobuf:"bytes,3,opt,name=dec_data,json=decData,proto3,oneof" json:"dec_data,omitempty"`
}
func (*AnyListableData_DecData) MarshalTo ¶
func (m *AnyListableData_DecData) MarshalTo(dAtA []byte) (int, error)
func (*AnyListableData_DecData) MarshalToSizedBuffer ¶
func (m *AnyListableData_DecData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyListableData_DecData) Size ¶
func (m *AnyListableData_DecData) Size() (n int)
type AnyListableData_HeightData ¶
type AnyListableData_HeightData struct {
HeightData *HeightData `protobuf:"bytes,4,opt,name=height_data,json=heightData,proto3,oneof" json:"height_data,omitempty"`
}
func (*AnyListableData_HeightData) MarshalTo ¶
func (m *AnyListableData_HeightData) MarshalTo(dAtA []byte) (int, error)
func (*AnyListableData_HeightData) MarshalToSizedBuffer ¶
func (m *AnyListableData_HeightData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyListableData_HeightData) Size ¶
func (m *AnyListableData_HeightData) Size() (n int)
type AnyListableData_IDData ¶
type AnyListableData_IDData struct {
IDData *IDData `protobuf:"bytes,5,opt,name=i_d_data,json=iDData,proto3,oneof" json:"i_d_data,omitempty"`
}
func (*AnyListableData_IDData) MarshalTo ¶
func (m *AnyListableData_IDData) MarshalTo(dAtA []byte) (int, error)
func (*AnyListableData_IDData) MarshalToSizedBuffer ¶
func (m *AnyListableData_IDData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyListableData_IDData) Size ¶
func (m *AnyListableData_IDData) Size() (n int)
type AnyListableData_LinkedData ¶
type AnyListableData_LinkedData struct {
LinkedData *LinkedData `protobuf:"bytes,6,opt,name=linked_data,json=linkedData,proto3,oneof" json:"linked_data,omitempty"`
}
func (*AnyListableData_LinkedData) MarshalTo ¶
func (m *AnyListableData_LinkedData) MarshalTo(dAtA []byte) (int, error)
func (*AnyListableData_LinkedData) MarshalToSizedBuffer ¶
func (m *AnyListableData_LinkedData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyListableData_LinkedData) Size ¶
func (m *AnyListableData_LinkedData) Size() (n int)
type AnyListableData_NumberData ¶
type AnyListableData_NumberData struct {
NumberData *NumberData `protobuf:"bytes,7,opt,name=number_data,json=numberData,proto3,oneof" json:"number_data,omitempty"`
}
func (*AnyListableData_NumberData) MarshalTo ¶
func (m *AnyListableData_NumberData) MarshalTo(dAtA []byte) (int, error)
func (*AnyListableData_NumberData) MarshalToSizedBuffer ¶
func (m *AnyListableData_NumberData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyListableData_NumberData) Size ¶
func (m *AnyListableData_NumberData) Size() (n int)
type AnyListableData_StringData ¶
type AnyListableData_StringData struct {
StringData *StringData `protobuf:"bytes,8,opt,name=string_data,json=stringData,proto3,oneof" json:"string_data,omitempty"`
}
func (*AnyListableData_StringData) MarshalTo ¶
func (m *AnyListableData_StringData) MarshalTo(dAtA []byte) (int, error)
func (*AnyListableData_StringData) MarshalToSizedBuffer ¶
func (m *AnyListableData_StringData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AnyListableData_StringData) Size ¶
func (m *AnyListableData_StringData) Size() (n int)
type BooleanData ¶
type BooleanData struct {
Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*BooleanData) AsString ¶
func (booleanData *BooleanData) AsString() string
func (*BooleanData) Bytes ¶
func (booleanData *BooleanData) Bytes() []byte
func (*BooleanData) Compare ¶
func (booleanData *BooleanData) Compare(listableData data.ListableData) int
func (*BooleanData) Descriptor ¶
func (*BooleanData) Descriptor() ([]byte, []int)
func (*BooleanData) FromString ¶
func (booleanData *BooleanData) FromString(dataString string) (data.Data, error)
func (*BooleanData) GenerateHashID ¶
func (booleanData *BooleanData) GenerateHashID() ids.HashID
func (*BooleanData) Get ¶
func (booleanData *BooleanData) Get() bool
func (*BooleanData) GetBondWeight ¶
func (booleanData *BooleanData) GetBondWeight() math.Int
func (*BooleanData) GetID ¶
func (booleanData *BooleanData) GetID() ids.DataID
func (*BooleanData) GetTypeID ¶
func (booleanData *BooleanData) GetTypeID() ids.StringID
func (*BooleanData) Marshal ¶
func (m *BooleanData) Marshal() (dAtA []byte, err error)
func (*BooleanData) MarshalToSizedBuffer ¶
func (m *BooleanData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BooleanData) ProtoMessage ¶
func (*BooleanData) ProtoMessage()
func (*BooleanData) Reset ¶
func (m *BooleanData) Reset()
func (*BooleanData) Size ¶
func (m *BooleanData) Size() (n int)
func (*BooleanData) String ¶
func (m *BooleanData) String() string
func (*BooleanData) ToAnyData ¶
func (booleanData *BooleanData) ToAnyData() data.AnyData
func (*BooleanData) ToAnyListableData ¶
func (booleanData *BooleanData) ToAnyListableData() data.AnyListableData
func (*BooleanData) Unmarshal ¶
func (m *BooleanData) Unmarshal(dAtA []byte) error
func (*BooleanData) ValidateBasic ¶
func (booleanData *BooleanData) ValidateBasic() error
func (*BooleanData) XXX_DiscardUnknown ¶
func (m *BooleanData) XXX_DiscardUnknown()
func (*BooleanData) XXX_Marshal ¶
func (m *BooleanData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BooleanData) XXX_Merge ¶
func (m *BooleanData) XXX_Merge(src proto.Message)
func (*BooleanData) XXX_Size ¶
func (m *BooleanData) XXX_Size() int
func (*BooleanData) XXX_Unmarshal ¶
func (m *BooleanData) XXX_Unmarshal(b []byte) error
func (*BooleanData) ZeroValue ¶
func (booleanData *BooleanData) ZeroValue() data.Data
type DecData ¶
type DecData struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*DecData) Descriptor ¶
func (*DecData) FromString ¶
func (*DecData) GenerateHashID ¶
func (*DecData) GetBondWeight ¶
func (*DecData) MarshalToSizedBuffer ¶
func (*DecData) ProtoMessage ¶
func (*DecData) ProtoMessage()
func (*DecData) ToAnyListableData ¶
func (decData *DecData) ToAnyListableData() data.AnyListableData
func (*DecData) ValidateBasic ¶
func (*DecData) XXX_DiscardUnknown ¶
func (m *DecData) XXX_DiscardUnknown()
func (*DecData) XXX_Marshal ¶
func (*DecData) XXX_Unmarshal ¶
type HeightData ¶
type HeightData struct {
Value *base.Height `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*HeightData) AsString ¶
func (heightData *HeightData) AsString() string
func (*HeightData) Bytes ¶
func (heightData *HeightData) Bytes() []byte
func (*HeightData) Compare ¶
func (heightData *HeightData) Compare(listableData data.ListableData) int
func (*HeightData) Descriptor ¶
func (*HeightData) Descriptor() ([]byte, []int)
func (*HeightData) FromString ¶
func (heightData *HeightData) FromString(dataString string) (data.Data, error)
func (*HeightData) GenerateHashID ¶
func (heightData *HeightData) GenerateHashID() ids.HashID
func (*HeightData) Get ¶
func (heightData *HeightData) Get() types.Height
func (*HeightData) GetBondWeight ¶
func (heightData *HeightData) GetBondWeight() math.Int
func (*HeightData) GetID ¶
func (heightData *HeightData) GetID() ids.DataID
func (*HeightData) GetTypeID ¶
func (heightData *HeightData) GetTypeID() ids.StringID
func (*HeightData) Marshal ¶
func (m *HeightData) Marshal() (dAtA []byte, err error)
func (*HeightData) MarshalToSizedBuffer ¶
func (m *HeightData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HeightData) ProtoMessage ¶
func (*HeightData) ProtoMessage()
func (*HeightData) Reset ¶
func (m *HeightData) Reset()
func (*HeightData) Size ¶
func (m *HeightData) Size() (n int)
func (*HeightData) String ¶
func (m *HeightData) String() string
func (*HeightData) ToAnyData ¶
func (heightData *HeightData) ToAnyData() data.AnyData
func (*HeightData) ToAnyListableData ¶
func (heightData *HeightData) ToAnyListableData() data.AnyListableData
func (*HeightData) Unmarshal ¶
func (m *HeightData) Unmarshal(dAtA []byte) error
func (*HeightData) ValidateBasic ¶
func (heightData *HeightData) ValidateBasic() error
func (*HeightData) XXX_DiscardUnknown ¶
func (m *HeightData) XXX_DiscardUnknown()
func (*HeightData) XXX_Marshal ¶
func (m *HeightData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeightData) XXX_Merge ¶
func (m *HeightData) XXX_Merge(src proto.Message)
func (*HeightData) XXX_Size ¶
func (m *HeightData) XXX_Size() int
func (*HeightData) XXX_Unmarshal ¶
func (m *HeightData) XXX_Unmarshal(b []byte) error
func (*HeightData) ZeroValue ¶
func (heightData *HeightData) ZeroValue() data.Data
type IDData ¶
type IDData struct {
Value *base.AnyID `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*IDData) Descriptor ¶
func (*IDData) GenerateHashID ¶
func (*IDData) GetBondWeight ¶
func (*IDData) MarshalToSizedBuffer ¶
func (*IDData) ProtoMessage ¶
func (*IDData) ProtoMessage()
func (*IDData) ToAnyListableData ¶
func (idData *IDData) ToAnyListableData() data.AnyListableData
func (*IDData) ValidateBasic ¶
func (*IDData) XXX_DiscardUnknown ¶
func (m *IDData) XXX_DiscardUnknown()
func (*IDData) XXX_Marshal ¶
func (*IDData) XXX_Unmarshal ¶
type LinkedData ¶
type LinkedData struct { ResourceID *base.HashID `protobuf:"bytes,1,opt,name=resource_i_d,json=resourceID,proto3" json:"resource_i_d,omitempty"` ExtensionID *base.StringID `protobuf:"bytes,2,opt,name=extension_i_d,json=extensionID,proto3" json:"extension_i_d,omitempty"` ServiceEndpoint string `protobuf:"bytes,3,opt,name=service_endpoint,json=serviceEndpoint,proto3" json:"service_endpoint,omitempty"` }
func (*LinkedData) AsString ¶
func (linkedData *LinkedData) AsString() string
func (*LinkedData) Bytes ¶
func (linkedData *LinkedData) Bytes() []byte
func (*LinkedData) Compare ¶
func (linkedData *LinkedData) Compare(listableData data.ListableData) int
func (*LinkedData) Descriptor ¶
func (*LinkedData) Descriptor() ([]byte, []int)
func (*LinkedData) FromString ¶
func (*LinkedData) FromString(dataString string) (data.Data, error)
func (*LinkedData) GenerateHashID ¶
func (linkedData *LinkedData) GenerateHashID() ids.HashID
func (*LinkedData) GetBondWeight ¶
func (linkedData *LinkedData) GetBondWeight() math.Int
func (*LinkedData) GetExtensionID ¶
func (linkedData *LinkedData) GetExtensionID() ids.StringID
func (*LinkedData) GetID ¶
func (linkedData *LinkedData) GetID() ids.DataID
func (*LinkedData) GetResourceID ¶
func (linkedData *LinkedData) GetResourceID() ids.HashID
func (*LinkedData) GetServiceEndpoint ¶
func (linkedData *LinkedData) GetServiceEndpoint() string
func (*LinkedData) GetTypeID ¶
func (linkedData *LinkedData) GetTypeID() ids.StringID
func (*LinkedData) Marshal ¶
func (m *LinkedData) Marshal() (dAtA []byte, err error)
func (*LinkedData) MarshalToSizedBuffer ¶
func (m *LinkedData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LinkedData) ProtoMessage ¶
func (*LinkedData) ProtoMessage()
func (*LinkedData) Reset ¶
func (m *LinkedData) Reset()
func (*LinkedData) Size ¶
func (m *LinkedData) Size() (n int)
func (*LinkedData) String ¶
func (m *LinkedData) String() string
func (*LinkedData) ToAnyData ¶
func (linkedData *LinkedData) ToAnyData() data.AnyData
func (*LinkedData) ToAnyListableData ¶
func (linkedData *LinkedData) ToAnyListableData() data.AnyListableData
func (*LinkedData) Unmarshal ¶
func (m *LinkedData) Unmarshal(dAtA []byte) error
func (*LinkedData) ValidateBasic ¶
func (linkedData *LinkedData) ValidateBasic() error
func (*LinkedData) XXX_DiscardUnknown ¶
func (m *LinkedData) XXX_DiscardUnknown()
func (*LinkedData) XXX_Marshal ¶
func (m *LinkedData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LinkedData) XXX_Merge ¶
func (m *LinkedData) XXX_Merge(src proto.Message)
func (*LinkedData) XXX_Size ¶
func (m *LinkedData) XXX_Size() int
func (*LinkedData) XXX_Unmarshal ¶
func (m *LinkedData) XXX_Unmarshal(b []byte) error
func (*LinkedData) ZeroValue ¶
func (linkedData *LinkedData) ZeroValue() data.Data
type ListData ¶
type ListData struct {
Value []*AnyListableData `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
}
func (*ListData) Add ¶
func (listData *ListData) Add(listableData ...data.ListableData) data.ListData
func (*ListData) Descriptor ¶
func (*ListData) FromString ¶
func (*ListData) GenerateHashID ¶
func (*ListData) Get ¶
func (listData *ListData) Get() []data.AnyListableData
func (*ListData) GetBondWeight ¶
func (*ListData) MarshalToSizedBuffer ¶
func (*ListData) ProtoMessage ¶
func (*ListData) ProtoMessage()
func (*ListData) ValidateBasic ¶
func (*ListData) ValidateWithoutLengthCheck ¶
func (*ListData) XXX_DiscardUnknown ¶
func (m *ListData) XXX_DiscardUnknown()
func (*ListData) XXX_Marshal ¶
func (*ListData) XXX_Unmarshal ¶
type NumberData ¶
type NumberData struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*NumberData) AsString ¶
func (numberData *NumberData) AsString() string
func (*NumberData) Bytes ¶
func (numberData *NumberData) Bytes() []byte
func (*NumberData) Compare ¶
func (numberData *NumberData) Compare(listableData data.ListableData) int
func (*NumberData) Descriptor ¶
func (*NumberData) Descriptor() ([]byte, []int)
func (*NumberData) FromString ¶
func (numberData *NumberData) FromString(dataString string) (data.Data, error)
func (*NumberData) GenerateHashID ¶
func (numberData *NumberData) GenerateHashID() ids.HashID
func (*NumberData) Get ¶
func (numberData *NumberData) Get() math.Int
func (*NumberData) GetBondWeight ¶
func (numberData *NumberData) GetBondWeight() math.Int
func (*NumberData) GetID ¶
func (numberData *NumberData) GetID() ids.DataID
func (*NumberData) GetTypeID ¶
func (numberData *NumberData) GetTypeID() ids.StringID
func (*NumberData) Marshal ¶
func (m *NumberData) Marshal() (dAtA []byte, err error)
func (*NumberData) MarshalToSizedBuffer ¶
func (m *NumberData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NumberData) ProtoMessage ¶
func (*NumberData) ProtoMessage()
func (*NumberData) Reset ¶
func (m *NumberData) Reset()
func (*NumberData) Size ¶
func (m *NumberData) Size() (n int)
func (*NumberData) String ¶
func (m *NumberData) String() string
func (*NumberData) ToAnyData ¶
func (numberData *NumberData) ToAnyData() data.AnyData
func (*NumberData) ToAnyListableData ¶
func (numberData *NumberData) ToAnyListableData() data.AnyListableData
func (*NumberData) Unmarshal ¶
func (m *NumberData) Unmarshal(dAtA []byte) error
func (*NumberData) ValidateBasic ¶
func (numberData *NumberData) ValidateBasic() error
func (*NumberData) XXX_DiscardUnknown ¶
func (m *NumberData) XXX_DiscardUnknown()
func (*NumberData) XXX_Marshal ¶
func (m *NumberData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NumberData) XXX_Merge ¶
func (m *NumberData) XXX_Merge(src proto.Message)
func (*NumberData) XXX_Size ¶
func (m *NumberData) XXX_Size() int
func (*NumberData) XXX_Unmarshal ¶
func (m *NumberData) XXX_Unmarshal(b []byte) error
func (*NumberData) ZeroValue ¶
func (numberData *NumberData) ZeroValue() data.Data
type StringData ¶
type StringData struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*StringData) AsString ¶
func (stringData *StringData) AsString() string
func (*StringData) Bytes ¶
func (stringData *StringData) Bytes() []byte
func (*StringData) Compare ¶
func (stringData *StringData) Compare(listableData data.ListableData) int
func (*StringData) Descriptor ¶
func (*StringData) Descriptor() ([]byte, []int)
func (*StringData) FromString ¶
func (stringData *StringData) FromString(dataString string) (data.Data, error)
func (*StringData) GenerateHashID ¶
func (stringData *StringData) GenerateHashID() ids.HashID
func (*StringData) Get ¶
func (stringData *StringData) Get() string
func (*StringData) GetBondWeight ¶
func (stringData *StringData) GetBondWeight() math.Int
func (*StringData) GetID ¶
func (stringData *StringData) GetID() ids.DataID
func (*StringData) GetTypeID ¶
func (stringData *StringData) GetTypeID() ids.StringID
func (*StringData) Marshal ¶
func (m *StringData) Marshal() (dAtA []byte, err error)
func (*StringData) MarshalToSizedBuffer ¶
func (m *StringData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StringData) ProtoMessage ¶
func (*StringData) ProtoMessage()
func (*StringData) Reset ¶
func (m *StringData) Reset()
func (*StringData) Size ¶
func (m *StringData) Size() (n int)
func (*StringData) String ¶
func (m *StringData) String() string
func (*StringData) ToAnyData ¶
func (stringData *StringData) ToAnyData() data.AnyData
func (*StringData) ToAnyListableData ¶
func (stringData *StringData) ToAnyListableData() data.AnyListableData
func (*StringData) Unmarshal ¶
func (m *StringData) Unmarshal(dAtA []byte) error
func (*StringData) ValidateBasic ¶
func (stringData *StringData) ValidateBasic() error
func (*StringData) XXX_DiscardUnknown ¶
func (m *StringData) XXX_DiscardUnknown()
func (*StringData) XXX_Marshal ¶
func (m *StringData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringData) XXX_Merge ¶
func (m *StringData) XXX_Merge(src proto.Message)
func (*StringData) XXX_Size ¶
func (m *StringData) XXX_Size() int
func (*StringData) XXX_Unmarshal ¶
func (m *StringData) XXX_Unmarshal(b []byte) error
func (*StringData) ZeroValue ¶
func (stringData *StringData) ZeroValue() data.Data
Source Files ¶
- acc_address_data.go
- acc_address_data.pb.go
- any_data.go
- any_data.pb.go
- any_listable_data.go
- any_listable_data.pb.go
- boolean_data.go
- boolean_data.pb.go
- dec_data.go
- dec_data.pb.go
- height_data.go
- height_data.pb.go
- id_data.go
- id_data.pb.go
- linked_data.go
- linked_data.pb.go
- list_data.go
- list_data.pb.go
- number_data.go
- number_data.pb.go
- string_data.go
- string_data.pb.go
Click to show internal directories.
Click to hide internal directories.