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