Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseJSON ¶
ParseJSON parses string representing JSON array with Cadence arguments.
Cadence arguments must be defined in the JSON-Cadence format https://developers.flow.com/cadence/json-cadence-spec
func ParseWithoutType ¶
func ParseWithoutType(args []string, code []byte, fileName string) (scriptArgs []cadence.Value, err error)
ParseWithoutType parses arguments passed as string slice based on the Cadence code.
Using the Cadence code required arguments are computed and then extracted from passed slice of arguments. The fileName argument is optional and can be empty if not present.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.