Documentation ¶
Index ¶
Constants ¶
View Source
const CoinBasePayloadVersion byte = 0x04
View Source
const DeployCodePayloadVersion byte = 0x00
View Source
const RecordPayloadVersion byte = 0x00
View Source
const RegisterPayloadVersion byte = 0x00
View Source
const TransferAssetayloadVersion byte = 0x00
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployCode ¶
type DeployCode struct { Code *FunctionCode Name string CodeVersion string Author string Email string Description string }
func (*DeployCode) Data ¶
func (dc *DeployCode) Data(version byte) []byte
func (*DeployCode) Deserialize ¶
func (dc *DeployCode) Deserialize(r io.Reader, version byte) error
type Record ¶
func (*Record) Deserialize ¶
Deserialize is the implement of SignableData interface.
type RegisterAsset ¶
func (*RegisterAsset) Data ¶
func (a *RegisterAsset) Data(version byte) []byte
func (*RegisterAsset) Deserialize ¶
func (a *RegisterAsset) Deserialize(r io.Reader, version byte) error
type TransferAsset ¶
type TransferAsset struct { }
func (*TransferAsset) Data ¶
func (a *TransferAsset) Data(version byte) []byte
func (*TransferAsset) Deserialize ¶
func (a *TransferAsset) Deserialize(r io.Reader, version byte) error
Click to show internal directories.
Click to hide internal directories.