Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SmartContractResultGoToCapn ¶ added in v1.0.3
func SmartContractResultGoToCapn(seg *capn.Segment, src *SmartContractResult) capnp.SmartContractResultCapn
SmartContractResultGoToCapn is a helper function to copy fields from a SmartContractResult object to a SmartContractResultCapn object
Types ¶
type SmartContractResult ¶
type SmartContractResult struct { Nonce uint64 `capid:"0" json:"nonce"` Value *big.Int `capid:"1" json:"value"` RcvAddr []byte `capid:"2" json:"receiver"` SndAddr []byte `capid:"3" json:"sender"` Code []byte `capid:"4" json:"code,omitempty"` Data []byte `capid:"5" json:"data,omitempty"` TxHash []byte `capid:"6" json:"txHash"` }
SmartContractResult holds all the data needed for a value transfer
func SmartContractResultCapnToGo ¶ added in v1.0.3
func SmartContractResultCapnToGo(src capnp.SmartContractResultCapn, dest *SmartContractResult) *SmartContractResult
SmartContractResultCapnToGo is a helper function to copy fields from a SmartContractResultCapn object to a SmartContractResult object
Click to show internal directories.
Click to hide internal directories.