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 DCToken
- func (*DCToken) Descriptor() ([]byte, []int)
- func (this *DCToken) Equal(that interface{}) bool
- func (m *DCToken) GetProperties() []byte
- func (m *DCToken) GetReserved() []byte
- func (m *DCToken) GetTokenMetaData() *MetaData
- func (m *DCToken) GetType() uint32
- func (m *DCToken) GetValue() *math_big.Int
- func (this *DCToken) GoString() string
- func (m *DCToken) Marshal() (dAtA []byte, err error)
- func (m *DCToken) MarshalTo(dAtA []byte) (int, error)
- func (m *DCToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DCToken) ProtoMessage()
- func (m *DCToken) Reset()
- func (m *DCToken) Size() (n int)
- func (this *DCToken) String() string
- func (m *DCToken) Unmarshal(dAtA []byte) error
- func (m *DCToken) XXX_DiscardUnknown()
- func (m *DCToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DCToken) XXX_Merge(src proto.Message)
- func (m *DCToken) XXX_Size() int
- func (m *DCToken) 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 DCToken ¶
type DCToken struct { Type uint32 `protobuf:"varint,1,opt,name=Type,proto3" json:"Type"` Value *math_big.Int `` /* 134-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"` }
DCToken holds the data for a Dharitri Core Token (DCT) transaction
func (*DCToken) Descriptor ¶
func (*DCToken) GetProperties ¶
func (*DCToken) GetReserved ¶
func (*DCToken) GetTokenMetaData ¶
func (*DCToken) MarshalToSizedBuffer ¶
func (*DCToken) ProtoMessage ¶
func (*DCToken) ProtoMessage()
func (*DCToken) XXX_DiscardUnknown ¶
func (m *DCToken) XXX_DiscardUnknown()
func (*DCToken) XXX_Marshal ¶
func (*DCToken) XXX_Unmarshal ¶
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.