Versions in this module Expand all Collapse all v1 v1.1.1 Dec 23, 2020 v1.1.0 Feb 6, 2020 v1.0.10 Oct 24, 2019 v1.0.9 Apr 22, 2019 v1.0.8 Mar 4, 2019 v1.0.7 Nov 19, 2018 Changes in this version + type IfStatmentBody struct v1.0.7-hotfix-9e872c0 Dec 11, 2018 v1.0.5 Aug 30, 2018 v1.0.5-hotfix-6568627 Sep 3, 2018 v1.0.4 Jul 26, 2018 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 + Reqs []*ClauseReq + Values []ValueInfo + type ClauseReq struct + Amount string + Asset string + Name string + type Contract struct + Body chainjson.HexBytes + Clauses []*Clause + Name string + Opcodes string + Params []*Param + Recursive bool + Steps []Step + Value string + 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 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 v1.0.4-simd Jul 26, 2018 v1.0.3-hotfix-f53cde9 Jul 14, 2018