{ "name": "Templates", "desc": "", "methods": [ { "name": "tmpl", "args": [], "returns": { "type": "void" }, "actions": { "create": [], "call": [ "NoOp" ] } }, { "name": "specificLengthTemplateVar", "args": [], "returns": { "type": "void" }, "actions": { "create": [], "call": [ "NoOp" ] } }, { "name": "throwError", "args": [], "returns": { "type": "void" }, "actions": { "create": [], "call": [ "NoOp" ] } }, { "name": "itobTemplateVar", "args": [], "returns": { "type": "byte[]" }, "actions": { "create": [], "call": [ "NoOp" ] } }, { "name": "createApplication", "args": [], "returns": { "type": "void" }, "actions": { "create": [ "NoOp" ], "call": [] } } ], "arcs": [ 4, 56 ], "structs": {}, "state": { "schema": { "global": { "bytes": 0, "ints": 0 }, "local": { "bytes": 0, "ints": 0 } }, "keys": { "global": {}, "local": {}, "box": {} }, "maps": { "global": {}, "local": {}, "box": {} } }, "bareActions": { "create": [], "call": [] }, "sourceInfo": { "approval": { "sourceInfo": [ { "teal": 15, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 1, 2 ] }, { "teal": 16, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 3 ] }, { "teal": 17, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 4, 5 ] }, { "teal": 18, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 6 ] }, { "teal": 19, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 7, 8 ] }, { "teal": 20, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 9 ] }, { "teal": 21, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35 ] }, { "teal": 25, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "errorMessage": "The requested action is not implemented in this contract. Are you using the correct OnComplete? Did you set your app ID?", "pc": [ 36 ] }, { "teal": 30, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:12", "pc": [ 37, 38, 39 ] }, { "teal": 31, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:12", "pc": [ 40 ] }, { "teal": 32, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:12", "pc": [ 41 ] }, { "teal": 36, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:12", "pc": [ 42, 43, 44 ] }, { "teal": 40, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:13", "pc": [ 45 ] }, { "teal": 41, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:13", "pc": [ 46 ] }, { "teal": 45, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:14", "pc": [ 47 ] }, { "teal": 46, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:14", "pc": [ 48 ] }, { "teal": 47, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:12", "pc": [ 49 ] }, { "teal": 52, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:17", "pc": [ 50, 51, 52 ] }, { "teal": 53, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:17", "pc": [ 53 ] }, { "teal": 54, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:17", "pc": [ 54 ] }, { "teal": 58, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:17", "pc": [ 55, 56, 57 ] }, { "teal": 62, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:18", "pc": [ 58 ] }, { "teal": 63, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:18", "pc": [ 59 ] }, { "teal": 64, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:18", "pc": [ 60 ] }, { "teal": 65, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:18", "pc": [ 61 ] }, { "teal": 66, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:17", "pc": [ 62 ] }, { "teal": 71, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:21", "pc": [ 63, 64, 65 ] }, { "teal": 72, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:21", "pc": [ 66 ] }, { "teal": 73, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:21", "pc": [ 67 ] }, { "teal": 77, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:21", "pc": [ 68, 69, 70 ] }, { "teal": 80, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:22", "errorMessage": "this is an error", "pc": [ 71 ] }, { "teal": 81, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:21", "pc": [ 72 ] }, { "teal": 86, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:25", "pc": [ 73, 74, 75, 76, 77, 78 ] }, { "teal": 89, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:25", "pc": [ 79, 80, 81 ] }, { "teal": 90, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:25", "pc": [ 82 ] }, { "teal": 91, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:25", "pc": [ 83 ] }, { "teal": 92, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:25", "pc": [ 84 ] }, { "teal": 93, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:25", "pc": [ 85, 86, 87 ] }, { "teal": 94, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:25", "pc": [ 88 ] }, { "teal": 95, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:25", "pc": [ 89 ] }, { "teal": 96, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:25", "pc": [ 90 ] }, { "teal": 97, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:25", "pc": [ 91 ] }, { "teal": 98, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:25", "pc": [ 92 ] }, { "teal": 99, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:25", "pc": [ 93 ] }, { "teal": 103, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:25", "pc": [ 94, 95, 96 ] }, { "teal": 107, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:26", "pc": [ 97 ] }, { "teal": 108, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:26", "pc": [ 98 ] }, { "teal": 109, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:25", "pc": [ 99 ] }, { "teal": 112, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 100 ] }, { "teal": 113, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 101 ] }, { "teal": 116, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 102, 103, 104, 105, 106, 107 ] }, { "teal": 117, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 108, 109, 110 ] }, { "teal": 118, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 111, 112, 113, 114 ] }, { "teal": 121, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "errorMessage": "this contract does not implement the given ABI method for create NoOp", "pc": [ 115 ] }, { "teal": 124, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 116, 117, 118, 119, 120, 121 ] }, { "teal": 125, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 122, 123, 124, 125, 126, 127 ] }, { "teal": 126, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 128, 129, 130, 131, 132, 133 ] }, { "teal": 127, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 134, 135, 136, 137, 138, 139 ] }, { "teal": 128, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 140, 141, 142 ] }, { "teal": 129, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "pc": [ 143, 144, 145, 146, 147, 148, 149, 150, 151, 152 ] }, { "teal": 132, "source": "tests/example-contracts/arc56_templates/templates.algo.ts:3", "errorMessage": "this contract does not implement the given ABI method for call NoOp", "pc": [ 153 ] } ], "pcOffsetMethod": "cblocks" }, "clear": { "sourceInfo": [], "pcOffsetMethod": "none" } }, "source": { "approval": "I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FyKCl2b2lkIgoJcHVzaGJ5dGVzIDB4M2Q4NzBkODcgLy8gbWV0aG9kICJ0aHJvd0Vycm9yKCl2b2lkIgoJcHVzaGJ5dGVzIDB4YmMwYjE3MDYgLy8gbWV0aG9kICJpdG9iVGVtcGxhdGVWYXIoKWJ5dGVbXSIKCXR4bmEgQXBwbGljYXRpb25BcmdzIDAKCW1hdGNoICphYmlfcm91dGVfdG1wbCAqYWJpX3JvdXRlX3NwZWNpZmljTGVuZ3RoVGVtcGxhdGVWYXIgKmFiaV9yb3V0ZV90aHJvd0Vycm9yICphYmlfcm91dGVfaXRvYlRlbXBsYXRlVmFyCgoJLy8gdGhpcyBjb250cmFjdCBkb2VzIG5vdCBpbXBsZW1lbnQgdGhlIGdpdmVuIEFCSSBtZXRob2QgZm9yIGNhbGwgTm9PcAoJZXJy", "clear": "I3ByYWdtYSB2ZXJzaW9uIDEw" }, "templateVariables": { "bytesTmplVar": { "type": "byte[]" }, "uint64TmplVar": { "type": "uint64" }, "bytes32TmplVar": { "type": "byte[32]" }, "bytes64TmplVar": { "type": "byte[64]" } }, "scratchVariables": { "bytesTmplVar": { "type": "byte[]", "slot": 200 }, "uint64TmplVar": { "type": "uint64", "slot": 201 }, "bytes32TmplVar": { "type": "byte[32]", "slot": 202 }, "bytes64TmplVar": { "type": "byte[64]", "slot": 203 } }, "compilerInfo": { "compiler": "algod", "compilerVersion": { "major": 3, "minor": 26, "patch": 0, "commitHash": "0d10b244" } } }