Versions in this module Expand all Collapse all v1 v1.1.2 Sep 16, 2021 Changes in this version + func Instantiate(body []byte, params []*Param, recursive bool, args []ContractArg) ([]byte, error) + type Clause struct + BlockHeight []string + Contracts []string + HashCalls []HashCall + Name string + Params []*Param + Values []ValueInfo + type Contract struct + Body chainjson.HexBytes + Clauses []*Clause + Name string + Opcodes string + Params []*Param + Recursive bool + Steps []Step + Value ValueInfo + func Compile(r io.Reader) ([]*Contract, error) + type ContractArg struct + B *bool + I *int64 + S *chainjson.HexBytes + func (a *ContractArg) UnmarshalJSON(b []byte) error + type HashCall struct + Arg string + ArgType string + HashType string + type IfStatmentBody struct + type Param struct + InferredType typeDesc + Name string + Type typeDesc + type Step struct + Opcodes string + Stack string + type ValueInfo struct + Amount string + Asset string + Name string + Program string