Documentation ¶
Index ¶
- Variables
- type DCTRoles
- func (*DCTRoles) Descriptor() ([]byte, []int)
- func (this *DCTRoles) Equal(that interface{}) bool
- func (m *DCTRoles) GetRoles() [][]byte
- func (this *DCTRoles) GoString() string
- func (m *DCTRoles) Marshal() (dAtA []byte, err error)
- func (m *DCTRoles) MarshalTo(dAtA []byte) (int, error)
- func (m *DCTRoles) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DCTRoles) ProtoMessage()
- func (m *DCTRoles) Reset()
- func (m *DCTRoles) Size() (n int)
- func (this *DCTRoles) String() string
- func (m *DCTRoles) Unmarshal(dAtA []byte) error
- func (m *DCTRoles) XXX_DiscardUnknown()
- func (m *DCTRoles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DCTRoles) XXX_Merge(src proto.Message)
- func (m *DCTRoles) XXX_Size() int
- func (m *DCTRoles) XXX_Unmarshal(b []byte) error
- type ESDigitalToken
- func (*ESDigitalToken) Descriptor() ([]byte, []int)
- func (this *ESDigitalToken) Equal(that interface{}) bool
- func (m *ESDigitalToken) GetProperties() []byte
- func (m *ESDigitalToken) GetReserved() []byte
- func (m *ESDigitalToken) GetTokenMetaData() *MetaData
- func (m *ESDigitalToken) GetType() uint32
- func (m *ESDigitalToken) GetValue() *math_big.Int
- func (this *ESDigitalToken) GoString() string
- func (m *ESDigitalToken) Marshal() (dAtA []byte, err error)
- func (m *ESDigitalToken) MarshalTo(dAtA []byte) (int, error)
- func (m *ESDigitalToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ESDigitalToken) ProtoMessage()
- func (m *ESDigitalToken) Reset()
- func (m *ESDigitalToken) Size() (n int)
- func (this *ESDigitalToken) String() string
- func (m *ESDigitalToken) Unmarshal(dAtA []byte) error
- func (m *ESDigitalToken) XXX_DiscardUnknown()
- func (m *ESDigitalToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ESDigitalToken) XXX_Merge(src proto.Message)
- func (m *ESDigitalToken) XXX_Size() int
- func (m *ESDigitalToken) XXX_Unmarshal(b []byte) error
- type MetaData
- func (*MetaData) Descriptor() ([]byte, []int)
- func (this *MetaData) Equal(that interface{}) bool
- func (m *MetaData) GetAttributes() []byte
- func (m *MetaData) GetCreator() []byte
- func (m *MetaData) GetHash() []byte
- func (m *MetaData) GetName() []byte
- func (m *MetaData) GetNonce() uint64
- func (m *MetaData) GetRoyalties() uint32
- func (m *MetaData) GetURIs() [][]byte
- func (this *MetaData) GoString() string
- func (m *MetaData) Marshal() (dAtA []byte, err error)
- func (m *MetaData) MarshalTo(dAtA []byte) (int, error)
- func (m *MetaData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MetaData) ProtoMessage()
- func (m *MetaData) Reset()
- func (m *MetaData) Size() (n int)
- func (this *MetaData) String() string
- func (m *MetaData) Unmarshal(dAtA []byte) error
- func (m *MetaData) XXX_DiscardUnknown()
- func (m *MetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetaData) XXX_Merge(src proto.Message)
- func (m *MetaData) XXX_Size() int
- func (m *MetaData) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DCTRoles ¶
type DCTRoles struct {
Roles [][]byte `protobuf:"bytes,1,rep,name=Roles,proto3" json:"roles"`
}
DCTRoles holds the roles for a given token and the given address
func (*DCTRoles) Descriptor ¶
func (*DCTRoles) MarshalToSizedBuffer ¶
func (*DCTRoles) ProtoMessage ¶
func (*DCTRoles) ProtoMessage()
func (*DCTRoles) XXX_DiscardUnknown ¶
func (m *DCTRoles) XXX_DiscardUnknown()
func (*DCTRoles) XXX_Marshal ¶
func (*DCTRoles) XXX_Unmarshal ¶
type ESDigitalToken ¶ added in v0.1.4
type ESDigitalToken struct { Type uint32 `protobuf:"varint,1,opt,name=Type,proto3" json:"Type"` Value *math_big.Int `` /* 129-byte string literal not displayed */ Properties []byte `protobuf:"bytes,3,opt,name=Properties,proto3" json:"Properties"` TokenMetaData *MetaData `protobuf:"bytes,4,opt,name=TokenMetaData,proto3" json:"MetaData"` Reserved []byte `protobuf:"bytes,5,opt,name=Reserved,proto3" json:"Reserved"` }
ESDigitalToken holds the data for a Dharitri Core Token (DCT) transaction
func (*ESDigitalToken) Descriptor ¶ added in v0.1.4
func (*ESDigitalToken) Descriptor() ([]byte, []int)
func (*ESDigitalToken) Equal ¶ added in v0.1.4
func (this *ESDigitalToken) Equal(that interface{}) bool
func (*ESDigitalToken) GetProperties ¶ added in v0.1.4
func (m *ESDigitalToken) GetProperties() []byte
func (*ESDigitalToken) GetReserved ¶ added in v0.1.4
func (m *ESDigitalToken) GetReserved() []byte
func (*ESDigitalToken) GetTokenMetaData ¶ added in v0.1.4
func (m *ESDigitalToken) GetTokenMetaData() *MetaData
func (*ESDigitalToken) GetType ¶ added in v0.1.4
func (m *ESDigitalToken) GetType() uint32
func (*ESDigitalToken) GetValue ¶ added in v0.1.4
func (m *ESDigitalToken) GetValue() *math_big.Int
func (*ESDigitalToken) GoString ¶ added in v0.1.4
func (this *ESDigitalToken) GoString() string
func (*ESDigitalToken) Marshal ¶ added in v0.1.4
func (m *ESDigitalToken) Marshal() (dAtA []byte, err error)
func (*ESDigitalToken) MarshalTo ¶ added in v0.1.4
func (m *ESDigitalToken) MarshalTo(dAtA []byte) (int, error)
func (*ESDigitalToken) MarshalToSizedBuffer ¶ added in v0.1.4
func (m *ESDigitalToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ESDigitalToken) ProtoMessage ¶ added in v0.1.4
func (*ESDigitalToken) ProtoMessage()
func (*ESDigitalToken) Reset ¶ added in v0.1.4
func (m *ESDigitalToken) Reset()
func (*ESDigitalToken) Size ¶ added in v0.1.4
func (m *ESDigitalToken) Size() (n int)
func (*ESDigitalToken) String ¶ added in v0.1.4
func (this *ESDigitalToken) String() string
func (*ESDigitalToken) Unmarshal ¶ added in v0.1.4
func (m *ESDigitalToken) Unmarshal(dAtA []byte) error
func (*ESDigitalToken) XXX_DiscardUnknown ¶ added in v0.1.4
func (m *ESDigitalToken) XXX_DiscardUnknown()
func (*ESDigitalToken) XXX_Marshal ¶ added in v0.1.4
func (m *ESDigitalToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ESDigitalToken) XXX_Merge ¶ added in v0.1.4
func (m *ESDigitalToken) XXX_Merge(src proto.Message)
func (*ESDigitalToken) XXX_Size ¶ added in v0.1.4
func (m *ESDigitalToken) XXX_Size() int
func (*ESDigitalToken) XXX_Unmarshal ¶ added in v0.1.4
func (m *ESDigitalToken) XXX_Unmarshal(b []byte) error
type MetaData ¶
type MetaData struct { Nonce uint64 `protobuf:"varint,1,opt,name=Nonce,proto3" json:"Nonce"` Name []byte `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name"` Creator []byte `protobuf:"bytes,3,opt,name=Creator,proto3" json:"Creator"` Royalties uint32 `protobuf:"varint,4,opt,name=Royalties,proto3" json:"Royalties"` Hash []byte `protobuf:"bytes,5,opt,name=Hash,proto3" json:"Hash"` URIs [][]byte `protobuf:"bytes,6,rep,name=URIs,proto3" json:"URIs"` Attributes []byte `protobuf:"bytes,7,opt,name=Attributes,proto3" json:"Attributes"` }
MetaData hold the metadata structure for the DCT token
func (*MetaData) Descriptor ¶
func (*MetaData) GetAttributes ¶
func (*MetaData) GetCreator ¶
func (*MetaData) GetRoyalties ¶
func (*MetaData) MarshalToSizedBuffer ¶
func (*MetaData) ProtoMessage ¶
func (*MetaData) ProtoMessage()
func (*MetaData) XXX_DiscardUnknown ¶
func (m *MetaData) XXX_DiscardUnknown()
func (*MetaData) XXX_Marshal ¶
func (*MetaData) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.