@@ -2238,6 +2238,73 @@ dynamicScratchSlot:
2238
2238
assert
2239
2239
retsub
2240
2240
2241
+ // incrementScratchSlot()void
2242
+ *abi_route_incrementScratchSlot:
2243
+ // execute incrementScratchSlot()void
2244
+ callsub incrementScratchSlot
2245
+ int 1
2246
+ return
2247
+
2248
+ // incrementScratchSlot(): void
2249
+ incrementScratchSlot:
2250
+ proto 0 0
2251
+
2252
+ // tests/contracts/general.algo.ts:448
2253
+ // this.scratch.value = 1337
2254
+ int 1337
2255
+ store 0
2256
+
2257
+ // tests/contracts/general.algo.ts:449
2258
+ // this.scratch.value += 1
2259
+ load 0
2260
+ int 1
2261
+ +
2262
+ store 0
2263
+
2264
+ // tests/contracts/general.algo.ts:450
2265
+ // assert(this.scratch.value === 1338)
2266
+ load 0
2267
+ int 1338
2268
+ ==
2269
+ assert
2270
+ retsub
2271
+
2272
+ // incrementDynamicScratchSlot()void
2273
+ *abi_route_incrementDynamicScratchSlot:
2274
+ // execute incrementDynamicScratchSlot()void
2275
+ callsub incrementDynamicScratchSlot
2276
+ int 1
2277
+ return
2278
+
2279
+ // incrementDynamicScratchSlot(): void
2280
+ incrementDynamicScratchSlot:
2281
+ proto 0 0
2282
+
2283
+ // tests/contracts/general.algo.ts:454
2284
+ // this.dynamicScratch(2).value = 1337
2285
+ int 2
2286
+ int 1337
2287
+ stores
2288
+
2289
+ // tests/contracts/general.algo.ts:455
2290
+ // this.dynamicScratch(2).value += 1
2291
+ int 2
2292
+ loads
2293
+ int 1
2294
+ +
2295
+ int 2
2296
+ swap
2297
+ stores
2298
+
2299
+ // tests/contracts/general.algo.ts:456
2300
+ // assert(this.dynamicScratch(2).value === 1338)
2301
+ int 2
2302
+ loads
2303
+ int 1338
2304
+ ==
2305
+ assert
2306
+ retsub
2307
+
2241
2308
*abi_route_createApplication:
2242
2309
int 1
2243
2310
return
@@ -2309,8 +2376,10 @@ dynamicScratchSlot:
2309
2376
method "staticValueLen(uint256)void"
2310
2377
method "staticTypeLen()void"
2311
2378
method "dynamicScratchSlot()void"
2379
+ method "incrementScratchSlot()void"
2380
+ method "incrementDynamicScratchSlot()void"
2312
2381
txna ApplicationArgs 0
2313
- match *abi_route_txnTypeEnum *abi_route_txnGroupLength *abi_route_asserts *abi_route_verifyTxnFromArg *abi_route_verifyTxnFromTxnGroup *abi_route_verifyTxnCondition *abi_route_verifyTxnIncludedIn *abi_route_verifyTxnNotIncludedIn *abi_route_submitPendingGroup *abi_route_methodWithTxnArgs *abi_route_shift *abi_route_fromBytes *abi_route_fromUint64 *abi_route_bzeroFunction *abi_route_events *abi_route_letOptimization *abi_route_staticContractProperties *abi_route_numberToString *abi_route_methodOnParens *abi_route_stringSubstring *abi_route_idProperty *abi_route_scratchSlot *abi_route_ecdsa *abi_route_verifyTxnTypes *abi_route_stringPlusEquals *abi_route_importedProgram *abi_route_callPrivateDefinedLater *abi_route_interalPublicMethod *abi_route_callInternalPublicMethod *abi_route_appLoadScratch *abi_route_uintNWithUnderscore *abi_route_opUp *abi_route_returnValueOnAssignment *abi_route_returnArrayValueOnAssignment *abi_route_returnStorageValueOnAssignment *abi_route_returnOperatorAssignmentValue *abi_route_returnArrayValueOnOperatorAssignment *abi_route_returnArrayInStorageValueOnOperatorAssignment *abi_route_consts *abi_route_assertWithMessage *abi_route_opcodeAliases *abi_route_vrfVerifyOp *abi_route_ecMath *abi_route_gitxn *abi_route_getSetBytes *abi_route_getSetUint64 *abi_route_blockOp *abi_route_b64 *abi_route_json *abi_route_bitlenOp *abi_route_computedConst *abi_route_multiComputedConst *abi_route_computedConstAsStaticArrayLength *abi_route_readSchema *abi_route_comparisonOr *abi_route_txnArgsMethod *abi_route_callTxnArgsMethod *abi_route_staticValueLen *abi_route_staticTypeLen *abi_route_dynamicScratchSlot
2382
+ match *abi_route_txnTypeEnum *abi_route_txnGroupLength *abi_route_asserts *abi_route_verifyTxnFromArg *abi_route_verifyTxnFromTxnGroup *abi_route_verifyTxnCondition *abi_route_verifyTxnIncludedIn *abi_route_verifyTxnNotIncludedIn *abi_route_submitPendingGroup *abi_route_methodWithTxnArgs *abi_route_shift *abi_route_fromBytes *abi_route_fromUint64 *abi_route_bzeroFunction *abi_route_events *abi_route_letOptimization *abi_route_staticContractProperties *abi_route_numberToString *abi_route_methodOnParens *abi_route_stringSubstring *abi_route_idProperty *abi_route_scratchSlot *abi_route_ecdsa *abi_route_verifyTxnTypes *abi_route_stringPlusEquals *abi_route_importedProgram *abi_route_callPrivateDefinedLater *abi_route_interalPublicMethod *abi_route_callInternalPublicMethod *abi_route_appLoadScratch *abi_route_uintNWithUnderscore *abi_route_opUp *abi_route_returnValueOnAssignment *abi_route_returnArrayValueOnAssignment *abi_route_returnStorageValueOnAssignment *abi_route_returnOperatorAssignmentValue *abi_route_returnArrayValueOnOperatorAssignment *abi_route_returnArrayInStorageValueOnOperatorAssignment *abi_route_consts *abi_route_assertWithMessage *abi_route_opcodeAliases *abi_route_vrfVerifyOp *abi_route_ecMath *abi_route_gitxn *abi_route_getSetBytes *abi_route_getSetUint64 *abi_route_blockOp *abi_route_b64 *abi_route_json *abi_route_bitlenOp *abi_route_computedConst *abi_route_multiComputedConst *abi_route_computedConstAsStaticArrayLength *abi_route_readSchema *abi_route_comparisonOr *abi_route_txnArgsMethod *abi_route_callTxnArgsMethod *abi_route_staticValueLen *abi_route_staticTypeLen *abi_route_dynamicScratchSlot *abi_route_incrementScratchSlot *abi_route_incrementDynamicScratchSlot
2314
2383
err
2315
2384
2316
2385
*intToAscii:
0 commit comments