Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOperationDataFieldParser ¶
func NewOperationDataFieldParser(args *ArgsOperationDataFieldParser) (*operationDataFieldParser, error)
NewOperationDataFieldParser will return a new instance of operationDataFieldParser
Types ¶
type ArgsOperationDataFieldParser ¶
type ArgsOperationDataFieldParser struct {
AddressLength int
Marshalizer marshal.Marshalizer
}
ArgsOperationDataFieldParser holds all the components required to create a new instance of data field parser
type ResponseParseData ¶
type ResponseParseData struct {
// Operation field is used to store the name of the operation that the transaction will try to do
// an example of operation is `transfer` or `DCTTransfer etc
Operation string
// Function field is used to store the function name that the transaction will try to call from a smart contract
Function string
DCTValues []string
Tokens []string
Receivers [][]byte
ReceiversShardID []uint32
IsRelayed bool
}
ResponseParseData is the response with results after the data field was parsed
func NewResponseParseDataAsRelayed ¶
func NewResponseParseDataAsRelayed() *ResponseParseData
Click to show internal directories.
Click to hide internal directories.