You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/code/subcontexts/contract-context/classes/ContractContext.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
# Class: ContractContext
8
8
9
-
Defined in: [src/subcontexts/contract-context.ts:122](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/contract-context.ts#L122)
9
+
Defined in: [src/subcontexts/contract-context.ts:138](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/contract-context.ts#L138)
10
10
11
11
Provides a context for creating contracts and registering created contract instances
12
12
with test execution context.
@@ -27,7 +27,7 @@ with test execution context.
27
27
28
28
> **create**\<`T`\>(`type`, ...`args`): `T`
29
29
30
-
Defined in: [src/subcontexts/contract-context.ts:134](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/contract-context.ts#L134)
30
+
Defined in: [src/subcontexts/contract-context.ts:150](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/contract-context.ts#L150)
31
31
32
32
Creates a new contract instance and register the created instance with test execution context.
Defined in: [src/subcontexts/contract-context.ts:156](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/contract-context.ts#L156)
73
+
Defined in: [src/subcontexts/contract-context.ts:172](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/contract-context.ts#L172)
Copy file name to clipboardExpand all lines: docs/code/subcontexts/ledger-context/classes/LedgerContext.md
+31-31Lines changed: 31 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ The contract to add.
134
134
135
135
> **boxExists**(`app`, `key`): `boolean`
136
136
137
-
Defined in: [src/subcontexts/ledger-context.ts:379](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L379)
137
+
Defined in: [src/subcontexts/ledger-context.ts:377](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L377)
138
138
139
139
Checks if a box exists for an application by key.
140
140
@@ -164,7 +164,7 @@ True if the box exists, false otherwise.
164
164
165
165
> **deleteBox**(`app`, `key`): `boolean`
166
166
167
-
Defined in: [src/subcontexts/ledger-context.ts:367](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L367)
167
+
Defined in: [src/subcontexts/ledger-context.ts:365](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L365)
168
168
169
169
Deletes a box for an application by key.
170
170
@@ -194,35 +194,31 @@ True if the box was deleted, false otherwise.
194
194
195
195
> **getAccount**(`address`): `Account`
196
196
197
-
Defined in: [src/subcontexts/ledger-context.ts:60](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L60)
197
+
Defined in: [src/subcontexts/ledger-context.ts:59](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L59)
Defined in: [src/subcontexts/ledger-context.ts:86](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L86)
221
+
Defined in: [src/subcontexts/ledger-context.ts:82](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L82)
226
222
227
223
Retrieves an application by application ID.
228
224
@@ -250,7 +246,7 @@ If the application is unknown.
Defined in: [src/subcontexts/ledger-context.ts:115](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L115)
249
+
Defined in: [src/subcontexts/ledger-context.ts:111](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L111)
254
250
255
251
Retrieves an application for a given approval program.
256
252
@@ -274,7 +270,7 @@ The application or undefined if not found.
Defined in: [src/subcontexts/ledger-context.ts:99](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L99)
273
+
Defined in: [src/subcontexts/ledger-context.ts:95](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L95)
278
274
279
275
Retrieves an application for a given contract.
280
276
@@ -302,7 +298,7 @@ If the contract is unknown.
302
298
303
299
> **getAsset**(`assetId`): `Asset`
304
300
305
-
Defined in: [src/subcontexts/ledger-context.ts:73](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L73)
301
+
Defined in: [src/subcontexts/ledger-context.ts:69](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L69)
306
302
307
303
Retrieves an asset by asset ID.
308
304
@@ -330,7 +326,7 @@ If the asset is unknown.
330
326
331
327
> **getBlockData**(`index`): `BlockData`
332
328
333
-
Defined in: [src/subcontexts/ledger-context.ts:249](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L249)
329
+
Defined in: [src/subcontexts/ledger-context.ts:245](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L245)
334
330
335
331
Retrieves block data by index.
336
332
@@ -358,7 +354,7 @@ If the block is not set.
358
354
359
355
> **getBox**(`app`, `key`): `Uint8Array`
360
356
361
-
Defined in: [src/subcontexts/ledger-context.ts:342](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L342)
357
+
Defined in: [src/subcontexts/ledger-context.ts:340](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L340)
Defined in: [src/subcontexts/ledger-context.ts:263](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L263)
387
+
Defined in: [src/subcontexts/ledger-context.ts:259](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L259)
392
388
393
389
Retrieves global state for an application by key.
394
390
@@ -418,7 +414,7 @@ The global state and a boolean indicating if it was found.
Defined in: [src/subcontexts/ledger-context.ts:298](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L298)
417
+
Defined in: [src/subcontexts/ledger-context.ts:294](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L294)
422
418
423
419
Retrieves local state for an application and account by key.
424
420
@@ -428,7 +424,7 @@ Retrieves local state for an application and account by key.
428
424
429
425
The application.
430
426
431
-
`Application` | `BaseContract`
427
+
`uint64` | `Application` | `BaseContract`
432
428
433
429
##### account
434
430
@@ -454,7 +450,7 @@ The local state and a boolean indicating if it was found.
454
450
455
451
> **patchAccountData**(`account`, `data`): `void`
456
452
457
-
Defined in: [src/subcontexts/ledger-context.ts:171](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L171)
453
+
Defined in: [src/subcontexts/ledger-context.ts:167](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L167)
458
454
459
455
Patches account data with the provided partial data.
460
456
@@ -482,7 +478,7 @@ The partial account data.
482
478
483
479
> **patchApplicationData**(`app`, `data`): `void`
484
480
485
-
Defined in: [src/subcontexts/ledger-context.ts:188](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L188)
481
+
Defined in: [src/subcontexts/ledger-context.ts:184](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L184)
486
482
487
483
Patches application data with the provided partial data.
488
484
@@ -510,7 +506,7 @@ The partial application data.
510
506
511
507
> **patchAssetData**(`asset`, `data`): `void`
512
508
513
-
Defined in: [src/subcontexts/ledger-context.ts:208](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L208)
509
+
Defined in: [src/subcontexts/ledger-context.ts:204](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L204)
514
510
515
511
Patches asset data with the provided partial data.
516
512
@@ -536,7 +532,7 @@ The partial asset data.
536
532
537
533
> **patchBlockData**(`index`, `data`): `void`
538
534
539
-
Defined in: [src/subcontexts/ledger-context.ts:234](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L234)
535
+
Defined in: [src/subcontexts/ledger-context.ts:230](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L230)
540
536
541
537
Patches block data with the provided partial data.
542
538
@@ -564,7 +560,7 @@ The partial block data.
564
560
565
561
> **patchGlobalData**(`data`): `void`
566
562
567
-
Defined in: [src/subcontexts/ledger-context.ts:159](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L159)
563
+
Defined in: [src/subcontexts/ledger-context.ts:155](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L155)
568
564
569
565
Patches global data with the provided partial data.
570
566
@@ -586,7 +582,7 @@ The partial global data.
586
582
587
583
> **patchVoterData**(`account`, `data`): `void`
588
584
589
-
Defined in: [src/subcontexts/ledger-context.ts:221](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L221)
585
+
Defined in: [src/subcontexts/ledger-context.ts:217](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L217)
590
586
591
587
Patches voter data with the provided partial data.
592
588
@@ -614,7 +610,7 @@ The partial voter data.
614
610
615
611
> **setBox**(`app`, `key`, `value`): `void`
616
612
617
-
Defined in: [src/subcontexts/ledger-context.ts:354](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L354)
613
+
Defined in: [src/subcontexts/ledger-context.ts:352](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L352)
Defined in: [src/subcontexts/ledger-context.ts:278](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L278)
647
+
Defined in: [src/subcontexts/ledger-context.ts:274](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L274)
Defined in: [src/subcontexts/ledger-context.ts:319](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L319)
681
+
Defined in: [src/subcontexts/ledger-context.ts:316](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L316)
686
682
687
683
Sets local state for an application and account by key.
Defined in: [src/subcontexts/ledger-context.ts:145](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L145)
725
+
Defined in: [src/subcontexts/ledger-context.ts:141](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/ledger-context.ts#L141)
726
726
727
727
Update asset holdings for account, only specified values will be updated.
Copy file name to clipboardExpand all lines: docs/code/subcontexts/transaction-context/classes/DeferredAppCall.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
# Class: DeferredAppCall\<TParams, TReturn\>
8
8
9
-
Defined in: [src/subcontexts/transaction-context.ts:60](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L60)
9
+
Defined in: [src/subcontexts/transaction-context.ts:59](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L59)
10
10
11
11
Represents a deferred application call.
12
12
@@ -22,7 +22,7 @@ Represents a deferred application call.
Defined in: [src/subcontexts/transaction-context.ts:61](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L61)
25
+
Defined in: [src/subcontexts/transaction-context.ts:60](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L60)
26
26
27
27
#### Parameters
28
28
@@ -56,15 +56,15 @@ Defined in: [src/subcontexts/transaction-context.ts:61](https://github.com/algor
56
56
57
57
> `readonly`**txns**: `Transaction`[]
58
58
59
-
Defined in: [src/subcontexts/transaction-context.ts:63](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L63)
59
+
Defined in: [src/subcontexts/transaction-context.ts:62](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L62)
60
60
61
61
## Methods
62
62
63
63
### submit()
64
64
65
65
> **submit**(): `TReturn`
66
66
67
-
Defined in: [src/subcontexts/transaction-context.ts:73](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L73)
67
+
Defined in: [src/subcontexts/transaction-context.ts:72](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L72)
Copy file name to clipboardExpand all lines: docs/code/subcontexts/transaction-context/classes/ItxnGroup.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
# Class: ItxnGroup
8
8
9
-
Defined in: [src/subcontexts/transaction-context.ts:475](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L475)
9
+
Defined in: [src/subcontexts/transaction-context.ts:485](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L485)
10
10
11
11
Represents a group of inner transactions.
12
12
@@ -16,7 +16,7 @@ Represents a group of inner transactions.
Defined in: [src/subcontexts/transaction-context.ts:477](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L477)
19
+
Defined in: [src/subcontexts/transaction-context.ts:487](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L487)
20
20
21
21
#### Parameters
22
22
@@ -34,15 +34,15 @@ Defined in: [src/subcontexts/transaction-context.ts:477](https://github.com/algo
34
34
35
35
> **itxns**: `InnerTxn`[] = `[]`
36
36
37
-
Defined in: [src/subcontexts/transaction-context.ts:476](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L476)
37
+
Defined in: [src/subcontexts/transaction-context.ts:486](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L486)
Defined in: [src/subcontexts/transaction-context.ts:486](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L486)
45
+
Defined in: [src/subcontexts/transaction-context.ts:496](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L496)
46
46
47
47
Gets an application inner transaction by index.
48
48
@@ -66,7 +66,7 @@ The application inner transaction.
Defined in: [src/subcontexts/transaction-context.ts:495](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L495)
69
+
Defined in: [src/subcontexts/transaction-context.ts:505](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L505)
70
70
71
71
Gets an asset configuration inner transaction by index.
72
72
@@ -90,7 +90,7 @@ The asset configuration inner transaction.
Defined in: [src/subcontexts/transaction-context.ts:513](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L513)
93
+
Defined in: [src/subcontexts/transaction-context.ts:523](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L523)
94
94
95
95
Gets an asset freeze inner transaction by index.
96
96
@@ -114,7 +114,7 @@ The asset freeze inner transaction.
Defined in: [src/subcontexts/transaction-context.ts:504](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L504)
117
+
Defined in: [src/subcontexts/transaction-context.ts:514](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L514)
118
118
119
119
Gets an asset transfer inner transaction by index.
120
120
@@ -138,7 +138,7 @@ The asset transfer inner transaction.
138
138
139
139
> **getInnerTxn**(`index`?): `InnerTxn`
140
140
141
-
Defined in: [src/subcontexts/transaction-context.ts:540](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L540)
141
+
Defined in: [src/subcontexts/transaction-context.ts:550](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L550)
Defined in: [src/subcontexts/transaction-context.ts:522](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L522)
165
+
Defined in: [src/subcontexts/transaction-context.ts:532](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L532)
166
166
167
167
Gets a key registration inner transaction by index.
168
168
@@ -186,7 +186,7 @@ The key registration inner transaction.
Defined in: [src/subcontexts/transaction-context.ts:531](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L531)
189
+
Defined in: [src/subcontexts/transaction-context.ts:541](https://github.com/algorandfoundation/algorand-typescript-testing/blob/main/src/subcontexts/transaction-context.ts#L541)
0 commit comments