base

package
v0.0.0-...-59a8832 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 22 Imported by: 43

Documentation

Index

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")
)
View Source
var (
	ErrInvalidLengthNumberData        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNumberData          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupNumberData = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthStringData        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStringData          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStringData = 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 NewDecData

func NewDecData(value sdkTypes.Dec) data.DecData

func NewHeightData

func NewHeightData(value types.Height) data.HeightData

func NewIDData

func NewIDData(value ids.ID) data.IDData

func NewLinkedData

func NewLinkedData(resourceID ids.HashID, extensionID ids.StringID, serviceEndpoint string) data.LinkedData

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 sdkTypes.Int) data.NumberData

func NewStringData

func NewStringData(value string) data.StringData

func PrototypeAccAddressData

func PrototypeAccAddressData() data.Data

func PrototypeAnyData

func PrototypeAnyData() data.AnyData

func PrototypeBooleanData

func PrototypeBooleanData() data.BooleanData

func PrototypeDecData

func PrototypeDecData() data.DecData

func PrototypeHeightData

func PrototypeHeightData() data.HeightData

func PrototypeIDData

func PrototypeIDData() data.IDData

func PrototypeLinkedData

func PrototypeLinkedData() data.LinkedData

func PrototypeListData

func PrototypeListData() data.ListData

func PrototypeNumberData

func PrototypeNumberData() data.NumberData

func PrototypeStringData

func PrototypeStringData() data.StringData

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(legacyAmino *codec.LegacyAmino)

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() sdkTypes.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) MarshalTo

func (m *AccAddressData) MarshalTo(dAtA []byte) (int, 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) AsString

func (x *AnyData) AsString() string

func (*AnyData) Bytes

func (x *AnyData) Bytes() []byte

func (*AnyData) Descriptor

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

func (*AnyData) FromString

func (x *AnyData) FromString(dataString string) (data.Data, error)

func (*AnyData) GenerateHashID

func (x *AnyData) GenerateHashID() ids.HashID

func (*AnyData) Get

func (x *AnyData) Get() data.Data

func (*AnyData) GetAccAddressData

func (m *AnyData) GetAccAddressData() *AccAddressData

func (*AnyData) GetBondWeight

func (x *AnyData) GetBondWeight() sdkTypes.Int

func (*AnyData) GetBooleanData

func (m *AnyData) GetBooleanData() *BooleanData

func (*AnyData) GetDecData

func (m *AnyData) GetDecData() *DecData

func (*AnyData) GetHeightData

func (m *AnyData) GetHeightData() *HeightData

func (*AnyData) GetID

func (x *AnyData) GetID() ids.DataID

func (*AnyData) GetIDData

func (m *AnyData) GetIDData() *IDData

func (*AnyData) GetImpl

func (m *AnyData) GetImpl() isAnyData_Impl

func (*AnyData) GetLinkedData

func (m *AnyData) GetLinkedData() *LinkedData

func (*AnyData) GetListData

func (m *AnyData) GetListData() *ListData

func (*AnyData) GetNumberData

func (m *AnyData) GetNumberData() *NumberData

func (*AnyData) GetStringData

func (m *AnyData) GetStringData() *StringData

func (*AnyData) GetTypeID

func (x *AnyData) GetTypeID() ids.StringID

func (*AnyData) IsAnyData

func (x *AnyData) IsAnyData()

func (*AnyData) Marshal

func (m *AnyData) Marshal() (dAtA []byte, err error)

func (*AnyData) MarshalTo

func (m *AnyData) MarshalTo(dAtA []byte) (int, error)

func (*AnyData) MarshalToSizedBuffer

func (m *AnyData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AnyData) ProtoMessage

func (*AnyData) ProtoMessage()

func (*AnyData) Reset

func (m *AnyData) Reset()

func (*AnyData) Size

func (m *AnyData) Size() (n int)

func (*AnyData) String

func (m *AnyData) String() string

func (*AnyData) ToAnyData

func (x *AnyData) ToAnyData() data.AnyData

func (*AnyData) Unmarshal

func (m *AnyData) Unmarshal(dAtA []byte) error

func (*AnyData) ValidateBasic

func (x *AnyData) ValidateBasic() error

func (*AnyData) XXX_DiscardUnknown

func (m *AnyData) XXX_DiscardUnknown()

func (*AnyData) XXX_Marshal

func (m *AnyData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnyData) XXX_Merge

func (m *AnyData) XXX_Merge(src proto.Message)

func (*AnyData) XXX_OneofWrappers

func (*AnyData) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AnyData) XXX_Size

func (m *AnyData) XXX_Size() int

func (*AnyData) XXX_Unmarshal

func (m *AnyData) XXX_Unmarshal(b []byte) error

func (*AnyData) ZeroValue

func (x *AnyData) ZeroValue() data.Data

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) MarshalTo

func (m *AnyData_DecData) MarshalTo(dAtA []byte) (int, error)

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) MarshalTo

func (m *AnyData_IDData) MarshalTo(dAtA []byte) (int, error)

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) MarshalTo

func (m *AnyData_ListData) MarshalTo(dAtA []byte) (int, error)

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() sdkTypes.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) MarshalTo

func (m *AnyListableData) MarshalTo(dAtA []byte) (int, 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() sdkTypes.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) MarshalTo

func (m *BooleanData) MarshalTo(dAtA []byte) (int, 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) AsString

func (decData *DecData) AsString() string

func (*DecData) Bytes

func (decData *DecData) Bytes() []byte

func (*DecData) Compare

func (decData *DecData) Compare(listableData data.ListableData) int

func (*DecData) Descriptor

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

func (*DecData) FromString

func (decData *DecData) FromString(dataString string) (data.Data, error)

func (*DecData) GenerateHashID

func (decData *DecData) GenerateHashID() ids.HashID

func (*DecData) Get

func (decData *DecData) Get() sdkTypes.Dec

func (*DecData) GetBondWeight

func (decData *DecData) GetBondWeight() sdkTypes.Int

func (*DecData) GetID

func (decData *DecData) GetID() ids.DataID

func (*DecData) GetTypeID

func (decData *DecData) GetTypeID() ids.StringID

func (*DecData) Marshal

func (m *DecData) Marshal() (dAtA []byte, err error)

func (*DecData) MarshalTo

func (m *DecData) MarshalTo(dAtA []byte) (int, error)

func (*DecData) MarshalToSizedBuffer

func (m *DecData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DecData) ProtoMessage

func (*DecData) ProtoMessage()

func (*DecData) Reset

func (m *DecData) Reset()

func (*DecData) Size

func (m *DecData) Size() (n int)

func (*DecData) String

func (m *DecData) String() string

func (*DecData) ToAnyData

func (decData *DecData) ToAnyData() data.AnyData

func (*DecData) ToAnyListableData

func (decData *DecData) ToAnyListableData() data.AnyListableData

func (*DecData) Unmarshal

func (m *DecData) Unmarshal(dAtA []byte) error

func (*DecData) ValidateBasic

func (decData *DecData) ValidateBasic() error

func (*DecData) XXX_DiscardUnknown

func (m *DecData) XXX_DiscardUnknown()

func (*DecData) XXX_Marshal

func (m *DecData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DecData) XXX_Merge

func (m *DecData) XXX_Merge(src proto.Message)

func (*DecData) XXX_Size

func (m *DecData) XXX_Size() int

func (*DecData) XXX_Unmarshal

func (m *DecData) XXX_Unmarshal(b []byte) error

func (*DecData) ZeroValue

func (decData *DecData) ZeroValue() data.Data

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() sdkTypes.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) MarshalTo

func (m *HeightData) MarshalTo(dAtA []byte) (int, 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) AsString

func (idData *IDData) AsString() string

func (*IDData) Bytes

func (idData *IDData) Bytes() []byte

func (*IDData) Compare

func (idData *IDData) Compare(listableData data.ListableData) int

func (*IDData) Descriptor

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

func (*IDData) FromString

func (idData *IDData) FromString(dataString string) (data.Data, error)

func (*IDData) GenerateHashID

func (idData *IDData) GenerateHashID() ids.HashID

func (*IDData) Get

func (idData *IDData) Get() ids.AnyID

func (*IDData) GetBondWeight

func (idData *IDData) GetBondWeight() sdkTypes.Int

func (*IDData) GetID

func (idData *IDData) GetID() ids.DataID

func (*IDData) GetTypeID

func (idData *IDData) GetTypeID() ids.StringID

func (*IDData) Marshal

func (m *IDData) Marshal() (dAtA []byte, err error)

func (*IDData) MarshalTo

func (m *IDData) MarshalTo(dAtA []byte) (int, error)

func (*IDData) MarshalToSizedBuffer

func (m *IDData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IDData) ProtoMessage

func (*IDData) ProtoMessage()

func (*IDData) Reset

func (m *IDData) Reset()

func (*IDData) Size

func (m *IDData) Size() (n int)

func (*IDData) String

func (m *IDData) String() string

func (*IDData) ToAnyData

func (idData *IDData) ToAnyData() data.AnyData

func (*IDData) ToAnyListableData

func (idData *IDData) ToAnyListableData() data.AnyListableData

func (*IDData) Unmarshal

func (m *IDData) Unmarshal(dAtA []byte) error

func (*IDData) ValidateBasic

func (idData *IDData) ValidateBasic() error

func (*IDData) XXX_DiscardUnknown

func (m *IDData) XXX_DiscardUnknown()

func (*IDData) XXX_Marshal

func (m *IDData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IDData) XXX_Merge

func (m *IDData) XXX_Merge(src proto.Message)

func (*IDData) XXX_Size

func (m *IDData) XXX_Size() int

func (*IDData) XXX_Unmarshal

func (m *IDData) XXX_Unmarshal(b []byte) error

func (*IDData) ZeroValue

func (idData *IDData) ZeroValue() data.Data

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() sdkTypes.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) MarshalTo

func (m *LinkedData) MarshalTo(dAtA []byte) (int, 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) AsString

func (listData *ListData) AsString() string

func (*ListData) Bytes

func (listData *ListData) Bytes() []byte

func (*ListData) Descriptor

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

func (*ListData) FromString

func (listData *ListData) FromString(dataString string) (data.Data, error)

func (*ListData) GenerateHashID

func (listData *ListData) GenerateHashID() ids.HashID

func (*ListData) Get

func (listData *ListData) Get() []data.AnyListableData

func (*ListData) GetBondWeight

func (listData *ListData) GetBondWeight() sdkTypes.Int

func (*ListData) GetID

func (listData *ListData) GetID() ids.DataID

func (*ListData) GetTypeID

func (listData *ListData) GetTypeID() ids.StringID

func (*ListData) Marshal

func (m *ListData) Marshal() (dAtA []byte, err error)

func (*ListData) MarshalTo

func (m *ListData) MarshalTo(dAtA []byte) (int, error)

func (*ListData) MarshalToSizedBuffer

func (m *ListData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListData) ProtoMessage

func (*ListData) ProtoMessage()

func (*ListData) Remove

func (listData *ListData) Remove(data ...data.ListableData) data.ListData

func (*ListData) Reset

func (m *ListData) Reset()

func (*ListData) Search

func (listData *ListData) Search(data data.ListableData) (int, bool)

func (*ListData) Size

func (m *ListData) Size() (n int)

func (*ListData) String

func (m *ListData) String() string

func (*ListData) ToAnyData

func (listData *ListData) ToAnyData() data.AnyData

func (*ListData) Unmarshal

func (m *ListData) Unmarshal(dAtA []byte) error

func (*ListData) ValidateBasic

func (listData *ListData) ValidateBasic() error

func (*ListData) ValidateWithoutLengthCheck

func (listData *ListData) ValidateWithoutLengthCheck() error

func (*ListData) XXX_DiscardUnknown

func (m *ListData) XXX_DiscardUnknown()

func (*ListData) XXX_Marshal

func (m *ListData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListData) XXX_Merge

func (m *ListData) XXX_Merge(src proto.Message)

func (*ListData) XXX_Size

func (m *ListData) XXX_Size() int

func (*ListData) XXX_Unmarshal

func (m *ListData) XXX_Unmarshal(b []byte) error

func (*ListData) ZeroValue

func (listData *ListData) ZeroValue() data.Data

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() sdkTypes.Int

func (*NumberData) GetBondWeight

func (numberData *NumberData) GetBondWeight() sdkTypes.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) MarshalTo

func (m *NumberData) MarshalTo(dAtA []byte) (int, 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() sdkTypes.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) MarshalTo

func (m *StringData) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

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