Documentation ¶
Index ¶
- type FunctionCode
- func (fc *FunctionCode) CodeHash() Uint160
- func (fc *FunctionCode) Deserialize(r io.Reader) error
- func (fc *FunctionCode) GetCode() []byte
- func (fc *FunctionCode) GetParameterTypes() []ContractParameterType
- func (fc *FunctionCode) GetReturnType() ContractParameterType
- func (fc *FunctionCode) Serialize(w io.Writer) error
- type ICode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionCode ¶
type FunctionCode struct { // Contract Code Code []byte // Contract parameter type list ParameterTypes []ContractParameterType // Contract return type list ReturnType ContractParameterType // contains filtered or unexported fields }
func (*FunctionCode) CodeHash ¶
func (fc *FunctionCode) CodeHash() Uint160
method of ICode Get the hash of the smart contract
func (*FunctionCode) Deserialize ¶
func (fc *FunctionCode) Deserialize(r io.Reader) error
method of SerializableData
func (*FunctionCode) GetParameterTypes ¶
func (fc *FunctionCode) GetParameterTypes() []ContractParameterType
method of ICode Get the list of parameter value
func (*FunctionCode) GetReturnType ¶
func (fc *FunctionCode) GetReturnType() ContractParameterType
method of ICode Get the list of return value
Click to show internal directories.
Click to hide internal directories.