Versions in this module Expand all Collapse all v2 v2.0.1 Jul 5, 2020 Changes in this version + const BookkeeperPayloadVersion + type Bookkeeper struct + Action BookkeeperAction + Cert []byte + Issuer keypair.PublicKey + PubKey keypair.PublicKey + func (self *Bookkeeper) Deserialization(source *common.ZeroCopySource) error + func (self *Bookkeeper) Serialization(sink *common.ZeroCopySink) + type BookkeeperAction byte + const BookkeeperAction_ADD + const BookkeeperAction_SUB + type DeployCode struct + Author string + Description string + Email string + Name string + Version string + func CreateDeployCode(code []byte, vmType uint32, name []byte, version []byte, author []byte, ...) (*DeployCode, error) + func NewDeployCode(code []byte, vmType VmType, name, version, author, email, description string) (*DeployCode, error) + func (dc *DeployCode) Address() common.Address + func (dc *DeployCode) Deserialization(source *common.ZeroCopySource) error + func (dc *DeployCode) GetNeoCode() ([]byte, error) + func (dc *DeployCode) GetRawCode() []byte + func (dc *DeployCode) GetWasmCode() ([]byte, error) + func (dc *DeployCode) Serialization(sink *common.ZeroCopySink) + func (dc *DeployCode) ToArray() []byte + func (dc *DeployCode) VmType() VmType + type InvokeCode struct + Code []byte + func (self *InvokeCode) Deserialization(source *common.ZeroCopySource) error + func (self *InvokeCode) Serialization(sink *common.ZeroCopySink) + type VmType byte + const NEOVM_TYPE + const WASMVM_TYPE + func VmTypeFromByte(ty byte) (VmType, error)