Skip to content

Commit 2889505

Browse files
fix: Nested structs referenced by name are now decoded correctly
1 parent f509b8e commit 2889505

16 files changed

+1183
-53
lines changed

.idea/prettier.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/code/interfaces/types_app_arc56.Arc56Contract.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The ARCs used and/or supported by this contract. All contracts implicitly suppor
3636

3737
#### Defined in
3838

39-
[src/types/app-arc56.ts:244](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L244)
39+
[src/types/app-arc56.ts:248](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L248)
4040

4141
___
4242

@@ -55,7 +55,7 @@ Supported bare actions for the contract. An action is a combination of call/crea
5555

5656
#### Defined in
5757

58-
[src/types/app-arc56.ts:292](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L292)
58+
[src/types/app-arc56.ts:296](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L296)
5959

6060
___
6161

@@ -74,7 +74,7 @@ The compiled bytecode for the application. MUST be omitted if included as part o
7474

7575
#### Defined in
7676

77-
[src/types/app-arc56.ts:313](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L313)
77+
[src/types/app-arc56.ts:317](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L317)
7878

7979
___
8080

@@ -97,7 +97,7 @@ Information used to get the given byteCode and/or PC values in sourceInfo. MUST
9797

9898
#### Defined in
9999

100-
[src/types/app-arc56.ts:320](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L320)
100+
[src/types/app-arc56.ts:324](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L324)
101101

102102
___
103103

@@ -109,7 +109,7 @@ Optional, user-friendly description for the interface
109109

110110
#### Defined in
111111

112-
[src/types/app-arc56.ts:248](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L248)
112+
[src/types/app-arc56.ts:252](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L252)
113113

114114
___
115115

@@ -121,7 +121,7 @@ ARC-28 events that MAY be emitted by this contract
121121

122122
#### Defined in
123123

124-
[src/types/app-arc56.ts:332](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L332)
124+
[src/types/app-arc56.ts:336](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L336)
125125

126126
___
127127

@@ -133,7 +133,7 @@ All of the methods that the contract implements
133133

134134
#### Defined in
135135

136-
[src/types/app-arc56.ts:265](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L265)
136+
[src/types/app-arc56.ts:269](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L269)
137137

138138
___
139139

@@ -145,7 +145,7 @@ A user-friendly name for the contract
145145

146146
#### Defined in
147147

148-
[src/types/app-arc56.ts:246](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L246)
148+
[src/types/app-arc56.ts:250](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L250)
149149

150150
___
151151

@@ -165,7 +165,7 @@ included, but the corresponding genesis hash key MUST also be defined
165165

166166
#### Defined in
167167

168-
[src/types/app-arc56.ts:256](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L256)
168+
[src/types/app-arc56.ts:260](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L260)
169169

170170
___
171171

@@ -181,7 +181,7 @@ The scratch variables used during runtime
181181

182182
#### Defined in
183183

184-
[src/types/app-arc56.ts:343](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L343)
184+
[src/types/app-arc56.ts:347](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L347)
185185

186186
___
187187

@@ -200,7 +200,7 @@ The pre-compiled TEAL that may contain template variables. MUST be omitted if in
200200

201201
#### Defined in
202202

203-
[src/types/app-arc56.ts:306](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L306)
203+
[src/types/app-arc56.ts:310](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L310)
204204

205205
___
206206

@@ -219,7 +219,7 @@ Information about the TEAL programs
219219

220220
#### Defined in
221221

222-
[src/types/app-arc56.ts:299](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L299)
222+
[src/types/app-arc56.ts:303](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L303)
223223

224224
___
225225

@@ -249,7 +249,7 @@ ___
249249

250250
#### Defined in
251251

252-
[src/types/app-arc56.ts:266](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L266)
252+
[src/types/app-arc56.ts:270](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L270)
253253

254254
___
255255

@@ -265,7 +265,7 @@ Named structs used by the application. Each struct field appears in the same ord
265265

266266
#### Defined in
267267

268-
[src/types/app-arc56.ts:263](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L263)
268+
[src/types/app-arc56.ts:267](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L267)
269269

270270
___
271271

@@ -281,4 +281,4 @@ A mapping of template variable names as they appear in the TEAL (not including T
281281

282282
#### Defined in
283283

284-
[src/types/app-arc56.ts:334](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L334)
284+
[src/types/app-arc56.ts:338](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L338)

docs/code/interfaces/types_app_arc56.Event.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The arguments of the event, in order
2424

2525
#### Defined in
2626

27-
[src/types/app-arc56.ts:434](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L434)
27+
[src/types/app-arc56.ts:438](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L438)
2828

2929
___
3030

@@ -36,7 +36,7 @@ Optional, user-friendly description for the event
3636

3737
#### Defined in
3838

39-
[src/types/app-arc56.ts:432](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L432)
39+
[src/types/app-arc56.ts:436](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L436)
4040

4141
___
4242

@@ -48,4 +48,4 @@ The name of the event
4848

4949
#### Defined in
5050

51-
[src/types/app-arc56.ts:430](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L430)
51+
[src/types/app-arc56.ts:434](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L434)

docs/code/interfaces/types_app_arc56.Method.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ an action is a combination of call/create and an OnComplete
3636

3737
#### Defined in
3838

39-
[src/types/app-arc56.ts:393](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L393)
39+
[src/types/app-arc56.ts:397](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L397)
4040

4141
___
4242

@@ -48,7 +48,7 @@ The arguments of the method, in order
4848

4949
#### Defined in
5050

51-
[src/types/app-arc56.ts:358](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L358)
51+
[src/types/app-arc56.ts:362](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L362)
5252

5353
___
5454

@@ -60,7 +60,7 @@ Optional, user-friendly description for the method
6060

6161
#### Defined in
6262

63-
[src/types/app-arc56.ts:356](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L356)
63+
[src/types/app-arc56.ts:360](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L360)
6464

6565
___
6666

@@ -72,7 +72,7 @@ ARC-28 events that MAY be emitted by this method
7272

7373
#### Defined in
7474

75-
[src/types/app-arc56.ts:402](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L402)
75+
[src/types/app-arc56.ts:406](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L406)
7676

7777
___
7878

@@ -84,7 +84,7 @@ The name of the method
8484

8585
#### Defined in
8686

87-
[src/types/app-arc56.ts:354](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L354)
87+
[src/types/app-arc56.ts:358](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L358)
8888

8989
___
9090

@@ -96,7 +96,7 @@ If this method does not write anything to the ledger (ARC-22)
9696

9797
#### Defined in
9898

99-
[src/types/app-arc56.ts:400](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L400)
99+
[src/types/app-arc56.ts:404](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L404)
100100

101101
___
102102

@@ -122,7 +122,7 @@ Information that clients can use when calling the method
122122

123123
#### Defined in
124124

125-
[src/types/app-arc56.ts:404](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L404)
125+
[src/types/app-arc56.ts:408](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L408)
126126

127127
___
128128

@@ -142,4 +142,4 @@ Information about the method's return value
142142

143143
#### Defined in
144144

145-
[src/types/app-arc56.ts:384](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L384)
145+
[src/types/app-arc56.ts:388](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L388)

docs/code/interfaces/types_app_arc56.ProgramSourceInfo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ How the program counter offset is calculated
2323

2424
#### Defined in
2525

26-
[src/types/app-arc56.ts:515](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L515)
26+
[src/types/app-arc56.ts:519](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L519)
2727

2828
___
2929

@@ -35,4 +35,4 @@ The source information for the program
3535

3636
#### Defined in
3737

38-
[src/types/app-arc56.ts:510](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L510)
38+
[src/types/app-arc56.ts:514](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L514)

docs/code/interfaces/types_app_arc56.StorageKey.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Description of what this storage key holds
2525

2626
#### Defined in
2727

28-
[src/types/app-arc56.ts:475](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L475)
28+
[src/types/app-arc56.ts:479](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L479)
2929

3030
___
3131

@@ -37,7 +37,7 @@ The bytes of the key encoded as base64
3737

3838
#### Defined in
3939

40-
[src/types/app-arc56.ts:482](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L482)
40+
[src/types/app-arc56.ts:486](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L486)
4141

4242
___
4343

@@ -49,7 +49,7 @@ The type of the key
4949

5050
#### Defined in
5151

52-
[src/types/app-arc56.ts:477](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L477)
52+
[src/types/app-arc56.ts:481](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L481)
5353

5454
___
5555

@@ -61,4 +61,4 @@ The type of the value
6161

6262
#### Defined in
6363

64-
[src/types/app-arc56.ts:480](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L480)
64+
[src/types/app-arc56.ts:484](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L484)

docs/code/interfaces/types_app_arc56.StorageMap.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Description of what the key-value pairs in this mapping hold
2525

2626
#### Defined in
2727

28-
[src/types/app-arc56.ts:488](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L488)
28+
[src/types/app-arc56.ts:492](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L492)
2929

3030
___
3131

@@ -37,7 +37,7 @@ The type of the keys in the map
3737

3838
#### Defined in
3939

40-
[src/types/app-arc56.ts:490](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L490)
40+
[src/types/app-arc56.ts:494](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L494)
4141

4242
___
4343

@@ -49,7 +49,7 @@ The base64-encoded prefix of the map keys
4949

5050
#### Defined in
5151

52-
[src/types/app-arc56.ts:494](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L494)
52+
[src/types/app-arc56.ts:498](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L498)
5353

5454
___
5555

@@ -61,4 +61,4 @@ The type of the values in the map
6161

6262
#### Defined in
6363

64-
[src/types/app-arc56.ts:492](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L492)
64+
[src/types/app-arc56.ts:496](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L496)

docs/code/interfaces/types_app_arc56.StructField.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The name of the struct field
2323

2424
#### Defined in
2525

26-
[src/types/app-arc56.ts:467](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L467)
26+
[src/types/app-arc56.ts:471](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L471)
2727

2828
___
2929

@@ -35,4 +35,4 @@ The type of the struct field's value
3535

3636
#### Defined in
3737

38-
[src/types/app-arc56.ts:469](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L469)
38+
[src/types/app-arc56.ts:473](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/app-arc56.ts#L473)

0 commit comments

Comments
 (0)