@ayanworks/polygon-did-registry-contract 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1924 @@
1
+ {
2
+ "contractName": "Migrations",
3
+ "abi": [
4
+ {
5
+ "inputs": [],
6
+ "name": "last_completed_migration",
7
+ "outputs": [
8
+ {
9
+ "internalType": "uint256",
10
+ "name": "",
11
+ "type": "uint256"
12
+ }
13
+ ],
14
+ "stateMutability": "view",
15
+ "type": "function"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "owner",
20
+ "outputs": [
21
+ {
22
+ "internalType": "address",
23
+ "name": "",
24
+ "type": "address"
25
+ }
26
+ ],
27
+ "stateMutability": "view",
28
+ "type": "function"
29
+ },
30
+ {
31
+ "inputs": [
32
+ {
33
+ "internalType": "uint256",
34
+ "name": "completed",
35
+ "type": "uint256"
36
+ }
37
+ ],
38
+ "name": "setCompleted",
39
+ "outputs": [],
40
+ "stateMutability": "nonpayable",
41
+ "type": "function"
42
+ }
43
+ ],
44
+ "metadata": "{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"last_completed_migration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"completed\",\"type\":\"uint256\"}],\"name\":\"setCompleted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/Migrations.sol\":\"Migrations\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/Migrations.sol\":{\"keccak256\":\"0x7eaedbb1a3e4e0f585d9063393872f88ded247ca3c3c3c8492ea18e7629a6411\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4a3eb571cee910095df65a06a1c1d3f89187c72a3c184ef87a7538d9aa39ad07\",\"dweb:/ipfs/QmdqR3vrSSGR49qFGZr49Mb39z7dgD6tSzEDoaqtM31o61\"]}},\"version\":1}",
45
+ "bytecode": "0x6080604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561005057600080fd5b50610327806100606000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063445df0ac146100465780638da5cb5b14610064578063fdacd57614610082575b600080fd5b61004e61009e565b60405161005b9190610179565b60405180910390f35b61006c6100a4565b60405161007991906101d5565b60405180910390f35b61009c60048036038101906100979190610221565b6100c8565b005b60015481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014d906102d1565b60405180910390fd5b8060018190555050565b6000819050919050565b61017381610160565b82525050565b600060208201905061018e600083018461016a565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006101bf82610194565b9050919050565b6101cf816101b4565b82525050565b60006020820190506101ea60008301846101c6565b92915050565b600080fd5b6101fe81610160565b811461020957600080fd5b50565b60008135905061021b816101f5565b92915050565b600060208284031215610237576102366101f0565b5b60006102458482850161020c565b91505092915050565b600082825260208201905092915050565b7f546869732066756e6374696f6e206973207265737472696374656420746f207460008201527f686520636f6e74726163742773206f776e657200000000000000000000000000602082015250565b60006102bb60338361024e565b91506102c68261025f565b604082019050919050565b600060208201905081810360008301526102ea816102ae565b905091905056fea26469706673582212205dca1aff29d0fbb145975f8cd99149315d3897703086ca83bf94fcd2c4fefd0e64736f6c634300080f0033",
46
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063445df0ac146100465780638da5cb5b14610064578063fdacd57614610082575b600080fd5b61004e61009e565b60405161005b9190610179565b60405180910390f35b61006c6100a4565b60405161007991906101d5565b60405180910390f35b61009c60048036038101906100979190610221565b6100c8565b005b60015481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161014d906102d1565b60405180910390fd5b8060018190555050565b6000819050919050565b61017381610160565b82525050565b600060208201905061018e600083018461016a565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006101bf82610194565b9050919050565b6101cf816101b4565b82525050565b60006020820190506101ea60008301846101c6565b92915050565b600080fd5b6101fe81610160565b811461020957600080fd5b50565b60008135905061021b816101f5565b92915050565b600060208284031215610237576102366101f0565b5b60006102458482850161020c565b91505092915050565b600082825260208201905092915050565b7f546869732066756e6374696f6e206973207265737472696374656420746f207460008201527f686520636f6e74726163742773206f776e657200000000000000000000000000602082015250565b60006102bb60338361024e565b91506102c68261025f565b604082019050919050565b600060208201905081810360008301526102ea816102ae565b905091905056fea26469706673582212205dca1aff29d0fbb145975f8cd99149315d3897703086ca83bf94fcd2c4fefd0e64736f6c634300080f0033",
47
+ "immutableReferences": {},
48
+ "generatedSources": [],
49
+ "deployedGeneratedSources": [
50
+ {
51
+ "ast": {
52
+ "nodeType": "YulBlock",
53
+ "src": "0:3176:2",
54
+ "statements": [
55
+ {
56
+ "body": {
57
+ "nodeType": "YulBlock",
58
+ "src": "52:32:2",
59
+ "statements": [
60
+ {
61
+ "nodeType": "YulAssignment",
62
+ "src": "62:16:2",
63
+ "value": {
64
+ "name": "value",
65
+ "nodeType": "YulIdentifier",
66
+ "src": "73:5:2"
67
+ },
68
+ "variableNames": [
69
+ {
70
+ "name": "cleaned",
71
+ "nodeType": "YulIdentifier",
72
+ "src": "62:7:2"
73
+ }
74
+ ]
75
+ }
76
+ ]
77
+ },
78
+ "name": "cleanup_t_uint256",
79
+ "nodeType": "YulFunctionDefinition",
80
+ "parameters": [
81
+ {
82
+ "name": "value",
83
+ "nodeType": "YulTypedName",
84
+ "src": "34:5:2",
85
+ "type": ""
86
+ }
87
+ ],
88
+ "returnVariables": [
89
+ {
90
+ "name": "cleaned",
91
+ "nodeType": "YulTypedName",
92
+ "src": "44:7:2",
93
+ "type": ""
94
+ }
95
+ ],
96
+ "src": "7:77:2"
97
+ },
98
+ {
99
+ "body": {
100
+ "nodeType": "YulBlock",
101
+ "src": "155:53:2",
102
+ "statements": [
103
+ {
104
+ "expression": {
105
+ "arguments": [
106
+ {
107
+ "name": "pos",
108
+ "nodeType": "YulIdentifier",
109
+ "src": "172:3:2"
110
+ },
111
+ {
112
+ "arguments": [
113
+ {
114
+ "name": "value",
115
+ "nodeType": "YulIdentifier",
116
+ "src": "195:5:2"
117
+ }
118
+ ],
119
+ "functionName": {
120
+ "name": "cleanup_t_uint256",
121
+ "nodeType": "YulIdentifier",
122
+ "src": "177:17:2"
123
+ },
124
+ "nodeType": "YulFunctionCall",
125
+ "src": "177:24:2"
126
+ }
127
+ ],
128
+ "functionName": {
129
+ "name": "mstore",
130
+ "nodeType": "YulIdentifier",
131
+ "src": "165:6:2"
132
+ },
133
+ "nodeType": "YulFunctionCall",
134
+ "src": "165:37:2"
135
+ },
136
+ "nodeType": "YulExpressionStatement",
137
+ "src": "165:37:2"
138
+ }
139
+ ]
140
+ },
141
+ "name": "abi_encode_t_uint256_to_t_uint256_fromStack",
142
+ "nodeType": "YulFunctionDefinition",
143
+ "parameters": [
144
+ {
145
+ "name": "value",
146
+ "nodeType": "YulTypedName",
147
+ "src": "143:5:2",
148
+ "type": ""
149
+ },
150
+ {
151
+ "name": "pos",
152
+ "nodeType": "YulTypedName",
153
+ "src": "150:3:2",
154
+ "type": ""
155
+ }
156
+ ],
157
+ "src": "90:118:2"
158
+ },
159
+ {
160
+ "body": {
161
+ "nodeType": "YulBlock",
162
+ "src": "312:124:2",
163
+ "statements": [
164
+ {
165
+ "nodeType": "YulAssignment",
166
+ "src": "322:26:2",
167
+ "value": {
168
+ "arguments": [
169
+ {
170
+ "name": "headStart",
171
+ "nodeType": "YulIdentifier",
172
+ "src": "334:9:2"
173
+ },
174
+ {
175
+ "kind": "number",
176
+ "nodeType": "YulLiteral",
177
+ "src": "345:2:2",
178
+ "type": "",
179
+ "value": "32"
180
+ }
181
+ ],
182
+ "functionName": {
183
+ "name": "add",
184
+ "nodeType": "YulIdentifier",
185
+ "src": "330:3:2"
186
+ },
187
+ "nodeType": "YulFunctionCall",
188
+ "src": "330:18:2"
189
+ },
190
+ "variableNames": [
191
+ {
192
+ "name": "tail",
193
+ "nodeType": "YulIdentifier",
194
+ "src": "322:4:2"
195
+ }
196
+ ]
197
+ },
198
+ {
199
+ "expression": {
200
+ "arguments": [
201
+ {
202
+ "name": "value0",
203
+ "nodeType": "YulIdentifier",
204
+ "src": "402:6:2"
205
+ },
206
+ {
207
+ "arguments": [
208
+ {
209
+ "name": "headStart",
210
+ "nodeType": "YulIdentifier",
211
+ "src": "415:9:2"
212
+ },
213
+ {
214
+ "kind": "number",
215
+ "nodeType": "YulLiteral",
216
+ "src": "426:1:2",
217
+ "type": "",
218
+ "value": "0"
219
+ }
220
+ ],
221
+ "functionName": {
222
+ "name": "add",
223
+ "nodeType": "YulIdentifier",
224
+ "src": "411:3:2"
225
+ },
226
+ "nodeType": "YulFunctionCall",
227
+ "src": "411:17:2"
228
+ }
229
+ ],
230
+ "functionName": {
231
+ "name": "abi_encode_t_uint256_to_t_uint256_fromStack",
232
+ "nodeType": "YulIdentifier",
233
+ "src": "358:43:2"
234
+ },
235
+ "nodeType": "YulFunctionCall",
236
+ "src": "358:71:2"
237
+ },
238
+ "nodeType": "YulExpressionStatement",
239
+ "src": "358:71:2"
240
+ }
241
+ ]
242
+ },
243
+ "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed",
244
+ "nodeType": "YulFunctionDefinition",
245
+ "parameters": [
246
+ {
247
+ "name": "headStart",
248
+ "nodeType": "YulTypedName",
249
+ "src": "284:9:2",
250
+ "type": ""
251
+ },
252
+ {
253
+ "name": "value0",
254
+ "nodeType": "YulTypedName",
255
+ "src": "296:6:2",
256
+ "type": ""
257
+ }
258
+ ],
259
+ "returnVariables": [
260
+ {
261
+ "name": "tail",
262
+ "nodeType": "YulTypedName",
263
+ "src": "307:4:2",
264
+ "type": ""
265
+ }
266
+ ],
267
+ "src": "214:222:2"
268
+ },
269
+ {
270
+ "body": {
271
+ "nodeType": "YulBlock",
272
+ "src": "487:81:2",
273
+ "statements": [
274
+ {
275
+ "nodeType": "YulAssignment",
276
+ "src": "497:65:2",
277
+ "value": {
278
+ "arguments": [
279
+ {
280
+ "name": "value",
281
+ "nodeType": "YulIdentifier",
282
+ "src": "512:5:2"
283
+ },
284
+ {
285
+ "kind": "number",
286
+ "nodeType": "YulLiteral",
287
+ "src": "519:42:2",
288
+ "type": "",
289
+ "value": "0xffffffffffffffffffffffffffffffffffffffff"
290
+ }
291
+ ],
292
+ "functionName": {
293
+ "name": "and",
294
+ "nodeType": "YulIdentifier",
295
+ "src": "508:3:2"
296
+ },
297
+ "nodeType": "YulFunctionCall",
298
+ "src": "508:54:2"
299
+ },
300
+ "variableNames": [
301
+ {
302
+ "name": "cleaned",
303
+ "nodeType": "YulIdentifier",
304
+ "src": "497:7:2"
305
+ }
306
+ ]
307
+ }
308
+ ]
309
+ },
310
+ "name": "cleanup_t_uint160",
311
+ "nodeType": "YulFunctionDefinition",
312
+ "parameters": [
313
+ {
314
+ "name": "value",
315
+ "nodeType": "YulTypedName",
316
+ "src": "469:5:2",
317
+ "type": ""
318
+ }
319
+ ],
320
+ "returnVariables": [
321
+ {
322
+ "name": "cleaned",
323
+ "nodeType": "YulTypedName",
324
+ "src": "479:7:2",
325
+ "type": ""
326
+ }
327
+ ],
328
+ "src": "442:126:2"
329
+ },
330
+ {
331
+ "body": {
332
+ "nodeType": "YulBlock",
333
+ "src": "619:51:2",
334
+ "statements": [
335
+ {
336
+ "nodeType": "YulAssignment",
337
+ "src": "629:35:2",
338
+ "value": {
339
+ "arguments": [
340
+ {
341
+ "name": "value",
342
+ "nodeType": "YulIdentifier",
343
+ "src": "658:5:2"
344
+ }
345
+ ],
346
+ "functionName": {
347
+ "name": "cleanup_t_uint160",
348
+ "nodeType": "YulIdentifier",
349
+ "src": "640:17:2"
350
+ },
351
+ "nodeType": "YulFunctionCall",
352
+ "src": "640:24:2"
353
+ },
354
+ "variableNames": [
355
+ {
356
+ "name": "cleaned",
357
+ "nodeType": "YulIdentifier",
358
+ "src": "629:7:2"
359
+ }
360
+ ]
361
+ }
362
+ ]
363
+ },
364
+ "name": "cleanup_t_address",
365
+ "nodeType": "YulFunctionDefinition",
366
+ "parameters": [
367
+ {
368
+ "name": "value",
369
+ "nodeType": "YulTypedName",
370
+ "src": "601:5:2",
371
+ "type": ""
372
+ }
373
+ ],
374
+ "returnVariables": [
375
+ {
376
+ "name": "cleaned",
377
+ "nodeType": "YulTypedName",
378
+ "src": "611:7:2",
379
+ "type": ""
380
+ }
381
+ ],
382
+ "src": "574:96:2"
383
+ },
384
+ {
385
+ "body": {
386
+ "nodeType": "YulBlock",
387
+ "src": "741:53:2",
388
+ "statements": [
389
+ {
390
+ "expression": {
391
+ "arguments": [
392
+ {
393
+ "name": "pos",
394
+ "nodeType": "YulIdentifier",
395
+ "src": "758:3:2"
396
+ },
397
+ {
398
+ "arguments": [
399
+ {
400
+ "name": "value",
401
+ "nodeType": "YulIdentifier",
402
+ "src": "781:5:2"
403
+ }
404
+ ],
405
+ "functionName": {
406
+ "name": "cleanup_t_address",
407
+ "nodeType": "YulIdentifier",
408
+ "src": "763:17:2"
409
+ },
410
+ "nodeType": "YulFunctionCall",
411
+ "src": "763:24:2"
412
+ }
413
+ ],
414
+ "functionName": {
415
+ "name": "mstore",
416
+ "nodeType": "YulIdentifier",
417
+ "src": "751:6:2"
418
+ },
419
+ "nodeType": "YulFunctionCall",
420
+ "src": "751:37:2"
421
+ },
422
+ "nodeType": "YulExpressionStatement",
423
+ "src": "751:37:2"
424
+ }
425
+ ]
426
+ },
427
+ "name": "abi_encode_t_address_to_t_address_fromStack",
428
+ "nodeType": "YulFunctionDefinition",
429
+ "parameters": [
430
+ {
431
+ "name": "value",
432
+ "nodeType": "YulTypedName",
433
+ "src": "729:5:2",
434
+ "type": ""
435
+ },
436
+ {
437
+ "name": "pos",
438
+ "nodeType": "YulTypedName",
439
+ "src": "736:3:2",
440
+ "type": ""
441
+ }
442
+ ],
443
+ "src": "676:118:2"
444
+ },
445
+ {
446
+ "body": {
447
+ "nodeType": "YulBlock",
448
+ "src": "898:124:2",
449
+ "statements": [
450
+ {
451
+ "nodeType": "YulAssignment",
452
+ "src": "908:26:2",
453
+ "value": {
454
+ "arguments": [
455
+ {
456
+ "name": "headStart",
457
+ "nodeType": "YulIdentifier",
458
+ "src": "920:9:2"
459
+ },
460
+ {
461
+ "kind": "number",
462
+ "nodeType": "YulLiteral",
463
+ "src": "931:2:2",
464
+ "type": "",
465
+ "value": "32"
466
+ }
467
+ ],
468
+ "functionName": {
469
+ "name": "add",
470
+ "nodeType": "YulIdentifier",
471
+ "src": "916:3:2"
472
+ },
473
+ "nodeType": "YulFunctionCall",
474
+ "src": "916:18:2"
475
+ },
476
+ "variableNames": [
477
+ {
478
+ "name": "tail",
479
+ "nodeType": "YulIdentifier",
480
+ "src": "908:4:2"
481
+ }
482
+ ]
483
+ },
484
+ {
485
+ "expression": {
486
+ "arguments": [
487
+ {
488
+ "name": "value0",
489
+ "nodeType": "YulIdentifier",
490
+ "src": "988:6:2"
491
+ },
492
+ {
493
+ "arguments": [
494
+ {
495
+ "name": "headStart",
496
+ "nodeType": "YulIdentifier",
497
+ "src": "1001:9:2"
498
+ },
499
+ {
500
+ "kind": "number",
501
+ "nodeType": "YulLiteral",
502
+ "src": "1012:1:2",
503
+ "type": "",
504
+ "value": "0"
505
+ }
506
+ ],
507
+ "functionName": {
508
+ "name": "add",
509
+ "nodeType": "YulIdentifier",
510
+ "src": "997:3:2"
511
+ },
512
+ "nodeType": "YulFunctionCall",
513
+ "src": "997:17:2"
514
+ }
515
+ ],
516
+ "functionName": {
517
+ "name": "abi_encode_t_address_to_t_address_fromStack",
518
+ "nodeType": "YulIdentifier",
519
+ "src": "944:43:2"
520
+ },
521
+ "nodeType": "YulFunctionCall",
522
+ "src": "944:71:2"
523
+ },
524
+ "nodeType": "YulExpressionStatement",
525
+ "src": "944:71:2"
526
+ }
527
+ ]
528
+ },
529
+ "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed",
530
+ "nodeType": "YulFunctionDefinition",
531
+ "parameters": [
532
+ {
533
+ "name": "headStart",
534
+ "nodeType": "YulTypedName",
535
+ "src": "870:9:2",
536
+ "type": ""
537
+ },
538
+ {
539
+ "name": "value0",
540
+ "nodeType": "YulTypedName",
541
+ "src": "882:6:2",
542
+ "type": ""
543
+ }
544
+ ],
545
+ "returnVariables": [
546
+ {
547
+ "name": "tail",
548
+ "nodeType": "YulTypedName",
549
+ "src": "893:4:2",
550
+ "type": ""
551
+ }
552
+ ],
553
+ "src": "800:222:2"
554
+ },
555
+ {
556
+ "body": {
557
+ "nodeType": "YulBlock",
558
+ "src": "1068:35:2",
559
+ "statements": [
560
+ {
561
+ "nodeType": "YulAssignment",
562
+ "src": "1078:19:2",
563
+ "value": {
564
+ "arguments": [
565
+ {
566
+ "kind": "number",
567
+ "nodeType": "YulLiteral",
568
+ "src": "1094:2:2",
569
+ "type": "",
570
+ "value": "64"
571
+ }
572
+ ],
573
+ "functionName": {
574
+ "name": "mload",
575
+ "nodeType": "YulIdentifier",
576
+ "src": "1088:5:2"
577
+ },
578
+ "nodeType": "YulFunctionCall",
579
+ "src": "1088:9:2"
580
+ },
581
+ "variableNames": [
582
+ {
583
+ "name": "memPtr",
584
+ "nodeType": "YulIdentifier",
585
+ "src": "1078:6:2"
586
+ }
587
+ ]
588
+ }
589
+ ]
590
+ },
591
+ "name": "allocate_unbounded",
592
+ "nodeType": "YulFunctionDefinition",
593
+ "returnVariables": [
594
+ {
595
+ "name": "memPtr",
596
+ "nodeType": "YulTypedName",
597
+ "src": "1061:6:2",
598
+ "type": ""
599
+ }
600
+ ],
601
+ "src": "1028:75:2"
602
+ },
603
+ {
604
+ "body": {
605
+ "nodeType": "YulBlock",
606
+ "src": "1198:28:2",
607
+ "statements": [
608
+ {
609
+ "expression": {
610
+ "arguments": [
611
+ {
612
+ "kind": "number",
613
+ "nodeType": "YulLiteral",
614
+ "src": "1215:1:2",
615
+ "type": "",
616
+ "value": "0"
617
+ },
618
+ {
619
+ "kind": "number",
620
+ "nodeType": "YulLiteral",
621
+ "src": "1218:1:2",
622
+ "type": "",
623
+ "value": "0"
624
+ }
625
+ ],
626
+ "functionName": {
627
+ "name": "revert",
628
+ "nodeType": "YulIdentifier",
629
+ "src": "1208:6:2"
630
+ },
631
+ "nodeType": "YulFunctionCall",
632
+ "src": "1208:12:2"
633
+ },
634
+ "nodeType": "YulExpressionStatement",
635
+ "src": "1208:12:2"
636
+ }
637
+ ]
638
+ },
639
+ "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
640
+ "nodeType": "YulFunctionDefinition",
641
+ "src": "1109:117:2"
642
+ },
643
+ {
644
+ "body": {
645
+ "nodeType": "YulBlock",
646
+ "src": "1321:28:2",
647
+ "statements": [
648
+ {
649
+ "expression": {
650
+ "arguments": [
651
+ {
652
+ "kind": "number",
653
+ "nodeType": "YulLiteral",
654
+ "src": "1338:1:2",
655
+ "type": "",
656
+ "value": "0"
657
+ },
658
+ {
659
+ "kind": "number",
660
+ "nodeType": "YulLiteral",
661
+ "src": "1341:1:2",
662
+ "type": "",
663
+ "value": "0"
664
+ }
665
+ ],
666
+ "functionName": {
667
+ "name": "revert",
668
+ "nodeType": "YulIdentifier",
669
+ "src": "1331:6:2"
670
+ },
671
+ "nodeType": "YulFunctionCall",
672
+ "src": "1331:12:2"
673
+ },
674
+ "nodeType": "YulExpressionStatement",
675
+ "src": "1331:12:2"
676
+ }
677
+ ]
678
+ },
679
+ "name": "revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db",
680
+ "nodeType": "YulFunctionDefinition",
681
+ "src": "1232:117:2"
682
+ },
683
+ {
684
+ "body": {
685
+ "nodeType": "YulBlock",
686
+ "src": "1398:79:2",
687
+ "statements": [
688
+ {
689
+ "body": {
690
+ "nodeType": "YulBlock",
691
+ "src": "1455:16:2",
692
+ "statements": [
693
+ {
694
+ "expression": {
695
+ "arguments": [
696
+ {
697
+ "kind": "number",
698
+ "nodeType": "YulLiteral",
699
+ "src": "1464:1:2",
700
+ "type": "",
701
+ "value": "0"
702
+ },
703
+ {
704
+ "kind": "number",
705
+ "nodeType": "YulLiteral",
706
+ "src": "1467:1:2",
707
+ "type": "",
708
+ "value": "0"
709
+ }
710
+ ],
711
+ "functionName": {
712
+ "name": "revert",
713
+ "nodeType": "YulIdentifier",
714
+ "src": "1457:6:2"
715
+ },
716
+ "nodeType": "YulFunctionCall",
717
+ "src": "1457:12:2"
718
+ },
719
+ "nodeType": "YulExpressionStatement",
720
+ "src": "1457:12:2"
721
+ }
722
+ ]
723
+ },
724
+ "condition": {
725
+ "arguments": [
726
+ {
727
+ "arguments": [
728
+ {
729
+ "name": "value",
730
+ "nodeType": "YulIdentifier",
731
+ "src": "1421:5:2"
732
+ },
733
+ {
734
+ "arguments": [
735
+ {
736
+ "name": "value",
737
+ "nodeType": "YulIdentifier",
738
+ "src": "1446:5:2"
739
+ }
740
+ ],
741
+ "functionName": {
742
+ "name": "cleanup_t_uint256",
743
+ "nodeType": "YulIdentifier",
744
+ "src": "1428:17:2"
745
+ },
746
+ "nodeType": "YulFunctionCall",
747
+ "src": "1428:24:2"
748
+ }
749
+ ],
750
+ "functionName": {
751
+ "name": "eq",
752
+ "nodeType": "YulIdentifier",
753
+ "src": "1418:2:2"
754
+ },
755
+ "nodeType": "YulFunctionCall",
756
+ "src": "1418:35:2"
757
+ }
758
+ ],
759
+ "functionName": {
760
+ "name": "iszero",
761
+ "nodeType": "YulIdentifier",
762
+ "src": "1411:6:2"
763
+ },
764
+ "nodeType": "YulFunctionCall",
765
+ "src": "1411:43:2"
766
+ },
767
+ "nodeType": "YulIf",
768
+ "src": "1408:63:2"
769
+ }
770
+ ]
771
+ },
772
+ "name": "validator_revert_t_uint256",
773
+ "nodeType": "YulFunctionDefinition",
774
+ "parameters": [
775
+ {
776
+ "name": "value",
777
+ "nodeType": "YulTypedName",
778
+ "src": "1391:5:2",
779
+ "type": ""
780
+ }
781
+ ],
782
+ "src": "1355:122:2"
783
+ },
784
+ {
785
+ "body": {
786
+ "nodeType": "YulBlock",
787
+ "src": "1535:87:2",
788
+ "statements": [
789
+ {
790
+ "nodeType": "YulAssignment",
791
+ "src": "1545:29:2",
792
+ "value": {
793
+ "arguments": [
794
+ {
795
+ "name": "offset",
796
+ "nodeType": "YulIdentifier",
797
+ "src": "1567:6:2"
798
+ }
799
+ ],
800
+ "functionName": {
801
+ "name": "calldataload",
802
+ "nodeType": "YulIdentifier",
803
+ "src": "1554:12:2"
804
+ },
805
+ "nodeType": "YulFunctionCall",
806
+ "src": "1554:20:2"
807
+ },
808
+ "variableNames": [
809
+ {
810
+ "name": "value",
811
+ "nodeType": "YulIdentifier",
812
+ "src": "1545:5:2"
813
+ }
814
+ ]
815
+ },
816
+ {
817
+ "expression": {
818
+ "arguments": [
819
+ {
820
+ "name": "value",
821
+ "nodeType": "YulIdentifier",
822
+ "src": "1610:5:2"
823
+ }
824
+ ],
825
+ "functionName": {
826
+ "name": "validator_revert_t_uint256",
827
+ "nodeType": "YulIdentifier",
828
+ "src": "1583:26:2"
829
+ },
830
+ "nodeType": "YulFunctionCall",
831
+ "src": "1583:33:2"
832
+ },
833
+ "nodeType": "YulExpressionStatement",
834
+ "src": "1583:33:2"
835
+ }
836
+ ]
837
+ },
838
+ "name": "abi_decode_t_uint256",
839
+ "nodeType": "YulFunctionDefinition",
840
+ "parameters": [
841
+ {
842
+ "name": "offset",
843
+ "nodeType": "YulTypedName",
844
+ "src": "1513:6:2",
845
+ "type": ""
846
+ },
847
+ {
848
+ "name": "end",
849
+ "nodeType": "YulTypedName",
850
+ "src": "1521:3:2",
851
+ "type": ""
852
+ }
853
+ ],
854
+ "returnVariables": [
855
+ {
856
+ "name": "value",
857
+ "nodeType": "YulTypedName",
858
+ "src": "1529:5:2",
859
+ "type": ""
860
+ }
861
+ ],
862
+ "src": "1483:139:2"
863
+ },
864
+ {
865
+ "body": {
866
+ "nodeType": "YulBlock",
867
+ "src": "1694:263:2",
868
+ "statements": [
869
+ {
870
+ "body": {
871
+ "nodeType": "YulBlock",
872
+ "src": "1740:83:2",
873
+ "statements": [
874
+ {
875
+ "expression": {
876
+ "arguments": [],
877
+ "functionName": {
878
+ "name": "revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b",
879
+ "nodeType": "YulIdentifier",
880
+ "src": "1742:77:2"
881
+ },
882
+ "nodeType": "YulFunctionCall",
883
+ "src": "1742:79:2"
884
+ },
885
+ "nodeType": "YulExpressionStatement",
886
+ "src": "1742:79:2"
887
+ }
888
+ ]
889
+ },
890
+ "condition": {
891
+ "arguments": [
892
+ {
893
+ "arguments": [
894
+ {
895
+ "name": "dataEnd",
896
+ "nodeType": "YulIdentifier",
897
+ "src": "1715:7:2"
898
+ },
899
+ {
900
+ "name": "headStart",
901
+ "nodeType": "YulIdentifier",
902
+ "src": "1724:9:2"
903
+ }
904
+ ],
905
+ "functionName": {
906
+ "name": "sub",
907
+ "nodeType": "YulIdentifier",
908
+ "src": "1711:3:2"
909
+ },
910
+ "nodeType": "YulFunctionCall",
911
+ "src": "1711:23:2"
912
+ },
913
+ {
914
+ "kind": "number",
915
+ "nodeType": "YulLiteral",
916
+ "src": "1736:2:2",
917
+ "type": "",
918
+ "value": "32"
919
+ }
920
+ ],
921
+ "functionName": {
922
+ "name": "slt",
923
+ "nodeType": "YulIdentifier",
924
+ "src": "1707:3:2"
925
+ },
926
+ "nodeType": "YulFunctionCall",
927
+ "src": "1707:32:2"
928
+ },
929
+ "nodeType": "YulIf",
930
+ "src": "1704:119:2"
931
+ },
932
+ {
933
+ "nodeType": "YulBlock",
934
+ "src": "1833:117:2",
935
+ "statements": [
936
+ {
937
+ "nodeType": "YulVariableDeclaration",
938
+ "src": "1848:15:2",
939
+ "value": {
940
+ "kind": "number",
941
+ "nodeType": "YulLiteral",
942
+ "src": "1862:1:2",
943
+ "type": "",
944
+ "value": "0"
945
+ },
946
+ "variables": [
947
+ {
948
+ "name": "offset",
949
+ "nodeType": "YulTypedName",
950
+ "src": "1852:6:2",
951
+ "type": ""
952
+ }
953
+ ]
954
+ },
955
+ {
956
+ "nodeType": "YulAssignment",
957
+ "src": "1877:63:2",
958
+ "value": {
959
+ "arguments": [
960
+ {
961
+ "arguments": [
962
+ {
963
+ "name": "headStart",
964
+ "nodeType": "YulIdentifier",
965
+ "src": "1912:9:2"
966
+ },
967
+ {
968
+ "name": "offset",
969
+ "nodeType": "YulIdentifier",
970
+ "src": "1923:6:2"
971
+ }
972
+ ],
973
+ "functionName": {
974
+ "name": "add",
975
+ "nodeType": "YulIdentifier",
976
+ "src": "1908:3:2"
977
+ },
978
+ "nodeType": "YulFunctionCall",
979
+ "src": "1908:22:2"
980
+ },
981
+ {
982
+ "name": "dataEnd",
983
+ "nodeType": "YulIdentifier",
984
+ "src": "1932:7:2"
985
+ }
986
+ ],
987
+ "functionName": {
988
+ "name": "abi_decode_t_uint256",
989
+ "nodeType": "YulIdentifier",
990
+ "src": "1887:20:2"
991
+ },
992
+ "nodeType": "YulFunctionCall",
993
+ "src": "1887:53:2"
994
+ },
995
+ "variableNames": [
996
+ {
997
+ "name": "value0",
998
+ "nodeType": "YulIdentifier",
999
+ "src": "1877:6:2"
1000
+ }
1001
+ ]
1002
+ }
1003
+ ]
1004
+ }
1005
+ ]
1006
+ },
1007
+ "name": "abi_decode_tuple_t_uint256",
1008
+ "nodeType": "YulFunctionDefinition",
1009
+ "parameters": [
1010
+ {
1011
+ "name": "headStart",
1012
+ "nodeType": "YulTypedName",
1013
+ "src": "1664:9:2",
1014
+ "type": ""
1015
+ },
1016
+ {
1017
+ "name": "dataEnd",
1018
+ "nodeType": "YulTypedName",
1019
+ "src": "1675:7:2",
1020
+ "type": ""
1021
+ }
1022
+ ],
1023
+ "returnVariables": [
1024
+ {
1025
+ "name": "value0",
1026
+ "nodeType": "YulTypedName",
1027
+ "src": "1687:6:2",
1028
+ "type": ""
1029
+ }
1030
+ ],
1031
+ "src": "1628:329:2"
1032
+ },
1033
+ {
1034
+ "body": {
1035
+ "nodeType": "YulBlock",
1036
+ "src": "2059:73:2",
1037
+ "statements": [
1038
+ {
1039
+ "expression": {
1040
+ "arguments": [
1041
+ {
1042
+ "name": "pos",
1043
+ "nodeType": "YulIdentifier",
1044
+ "src": "2076:3:2"
1045
+ },
1046
+ {
1047
+ "name": "length",
1048
+ "nodeType": "YulIdentifier",
1049
+ "src": "2081:6:2"
1050
+ }
1051
+ ],
1052
+ "functionName": {
1053
+ "name": "mstore",
1054
+ "nodeType": "YulIdentifier",
1055
+ "src": "2069:6:2"
1056
+ },
1057
+ "nodeType": "YulFunctionCall",
1058
+ "src": "2069:19:2"
1059
+ },
1060
+ "nodeType": "YulExpressionStatement",
1061
+ "src": "2069:19:2"
1062
+ },
1063
+ {
1064
+ "nodeType": "YulAssignment",
1065
+ "src": "2097:29:2",
1066
+ "value": {
1067
+ "arguments": [
1068
+ {
1069
+ "name": "pos",
1070
+ "nodeType": "YulIdentifier",
1071
+ "src": "2116:3:2"
1072
+ },
1073
+ {
1074
+ "kind": "number",
1075
+ "nodeType": "YulLiteral",
1076
+ "src": "2121:4:2",
1077
+ "type": "",
1078
+ "value": "0x20"
1079
+ }
1080
+ ],
1081
+ "functionName": {
1082
+ "name": "add",
1083
+ "nodeType": "YulIdentifier",
1084
+ "src": "2112:3:2"
1085
+ },
1086
+ "nodeType": "YulFunctionCall",
1087
+ "src": "2112:14:2"
1088
+ },
1089
+ "variableNames": [
1090
+ {
1091
+ "name": "updated_pos",
1092
+ "nodeType": "YulIdentifier",
1093
+ "src": "2097:11:2"
1094
+ }
1095
+ ]
1096
+ }
1097
+ ]
1098
+ },
1099
+ "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
1100
+ "nodeType": "YulFunctionDefinition",
1101
+ "parameters": [
1102
+ {
1103
+ "name": "pos",
1104
+ "nodeType": "YulTypedName",
1105
+ "src": "2031:3:2",
1106
+ "type": ""
1107
+ },
1108
+ {
1109
+ "name": "length",
1110
+ "nodeType": "YulTypedName",
1111
+ "src": "2036:6:2",
1112
+ "type": ""
1113
+ }
1114
+ ],
1115
+ "returnVariables": [
1116
+ {
1117
+ "name": "updated_pos",
1118
+ "nodeType": "YulTypedName",
1119
+ "src": "2047:11:2",
1120
+ "type": ""
1121
+ }
1122
+ ],
1123
+ "src": "1963:169:2"
1124
+ },
1125
+ {
1126
+ "body": {
1127
+ "nodeType": "YulBlock",
1128
+ "src": "2244:132:2",
1129
+ "statements": [
1130
+ {
1131
+ "expression": {
1132
+ "arguments": [
1133
+ {
1134
+ "arguments": [
1135
+ {
1136
+ "name": "memPtr",
1137
+ "nodeType": "YulIdentifier",
1138
+ "src": "2266:6:2"
1139
+ },
1140
+ {
1141
+ "kind": "number",
1142
+ "nodeType": "YulLiteral",
1143
+ "src": "2274:1:2",
1144
+ "type": "",
1145
+ "value": "0"
1146
+ }
1147
+ ],
1148
+ "functionName": {
1149
+ "name": "add",
1150
+ "nodeType": "YulIdentifier",
1151
+ "src": "2262:3:2"
1152
+ },
1153
+ "nodeType": "YulFunctionCall",
1154
+ "src": "2262:14:2"
1155
+ },
1156
+ {
1157
+ "hexValue": "546869732066756e6374696f6e206973207265737472696374656420746f2074",
1158
+ "kind": "string",
1159
+ "nodeType": "YulLiteral",
1160
+ "src": "2278:34:2",
1161
+ "type": "",
1162
+ "value": "This function is restricted to t"
1163
+ }
1164
+ ],
1165
+ "functionName": {
1166
+ "name": "mstore",
1167
+ "nodeType": "YulIdentifier",
1168
+ "src": "2255:6:2"
1169
+ },
1170
+ "nodeType": "YulFunctionCall",
1171
+ "src": "2255:58:2"
1172
+ },
1173
+ "nodeType": "YulExpressionStatement",
1174
+ "src": "2255:58:2"
1175
+ },
1176
+ {
1177
+ "expression": {
1178
+ "arguments": [
1179
+ {
1180
+ "arguments": [
1181
+ {
1182
+ "name": "memPtr",
1183
+ "nodeType": "YulIdentifier",
1184
+ "src": "2334:6:2"
1185
+ },
1186
+ {
1187
+ "kind": "number",
1188
+ "nodeType": "YulLiteral",
1189
+ "src": "2342:2:2",
1190
+ "type": "",
1191
+ "value": "32"
1192
+ }
1193
+ ],
1194
+ "functionName": {
1195
+ "name": "add",
1196
+ "nodeType": "YulIdentifier",
1197
+ "src": "2330:3:2"
1198
+ },
1199
+ "nodeType": "YulFunctionCall",
1200
+ "src": "2330:15:2"
1201
+ },
1202
+ {
1203
+ "hexValue": "686520636f6e74726163742773206f776e6572",
1204
+ "kind": "string",
1205
+ "nodeType": "YulLiteral",
1206
+ "src": "2347:21:2",
1207
+ "type": "",
1208
+ "value": "he contract's owner"
1209
+ }
1210
+ ],
1211
+ "functionName": {
1212
+ "name": "mstore",
1213
+ "nodeType": "YulIdentifier",
1214
+ "src": "2323:6:2"
1215
+ },
1216
+ "nodeType": "YulFunctionCall",
1217
+ "src": "2323:46:2"
1218
+ },
1219
+ "nodeType": "YulExpressionStatement",
1220
+ "src": "2323:46:2"
1221
+ }
1222
+ ]
1223
+ },
1224
+ "name": "store_literal_in_memory_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1",
1225
+ "nodeType": "YulFunctionDefinition",
1226
+ "parameters": [
1227
+ {
1228
+ "name": "memPtr",
1229
+ "nodeType": "YulTypedName",
1230
+ "src": "2236:6:2",
1231
+ "type": ""
1232
+ }
1233
+ ],
1234
+ "src": "2138:238:2"
1235
+ },
1236
+ {
1237
+ "body": {
1238
+ "nodeType": "YulBlock",
1239
+ "src": "2528:220:2",
1240
+ "statements": [
1241
+ {
1242
+ "nodeType": "YulAssignment",
1243
+ "src": "2538:74:2",
1244
+ "value": {
1245
+ "arguments": [
1246
+ {
1247
+ "name": "pos",
1248
+ "nodeType": "YulIdentifier",
1249
+ "src": "2604:3:2"
1250
+ },
1251
+ {
1252
+ "kind": "number",
1253
+ "nodeType": "YulLiteral",
1254
+ "src": "2609:2:2",
1255
+ "type": "",
1256
+ "value": "51"
1257
+ }
1258
+ ],
1259
+ "functionName": {
1260
+ "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack",
1261
+ "nodeType": "YulIdentifier",
1262
+ "src": "2545:58:2"
1263
+ },
1264
+ "nodeType": "YulFunctionCall",
1265
+ "src": "2545:67:2"
1266
+ },
1267
+ "variableNames": [
1268
+ {
1269
+ "name": "pos",
1270
+ "nodeType": "YulIdentifier",
1271
+ "src": "2538:3:2"
1272
+ }
1273
+ ]
1274
+ },
1275
+ {
1276
+ "expression": {
1277
+ "arguments": [
1278
+ {
1279
+ "name": "pos",
1280
+ "nodeType": "YulIdentifier",
1281
+ "src": "2710:3:2"
1282
+ }
1283
+ ],
1284
+ "functionName": {
1285
+ "name": "store_literal_in_memory_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1",
1286
+ "nodeType": "YulIdentifier",
1287
+ "src": "2621:88:2"
1288
+ },
1289
+ "nodeType": "YulFunctionCall",
1290
+ "src": "2621:93:2"
1291
+ },
1292
+ "nodeType": "YulExpressionStatement",
1293
+ "src": "2621:93:2"
1294
+ },
1295
+ {
1296
+ "nodeType": "YulAssignment",
1297
+ "src": "2723:19:2",
1298
+ "value": {
1299
+ "arguments": [
1300
+ {
1301
+ "name": "pos",
1302
+ "nodeType": "YulIdentifier",
1303
+ "src": "2734:3:2"
1304
+ },
1305
+ {
1306
+ "kind": "number",
1307
+ "nodeType": "YulLiteral",
1308
+ "src": "2739:2:2",
1309
+ "type": "",
1310
+ "value": "64"
1311
+ }
1312
+ ],
1313
+ "functionName": {
1314
+ "name": "add",
1315
+ "nodeType": "YulIdentifier",
1316
+ "src": "2730:3:2"
1317
+ },
1318
+ "nodeType": "YulFunctionCall",
1319
+ "src": "2730:12:2"
1320
+ },
1321
+ "variableNames": [
1322
+ {
1323
+ "name": "end",
1324
+ "nodeType": "YulIdentifier",
1325
+ "src": "2723:3:2"
1326
+ }
1327
+ ]
1328
+ }
1329
+ ]
1330
+ },
1331
+ "name": "abi_encode_t_stringliteral_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1_to_t_string_memory_ptr_fromStack",
1332
+ "nodeType": "YulFunctionDefinition",
1333
+ "parameters": [
1334
+ {
1335
+ "name": "pos",
1336
+ "nodeType": "YulTypedName",
1337
+ "src": "2516:3:2",
1338
+ "type": ""
1339
+ }
1340
+ ],
1341
+ "returnVariables": [
1342
+ {
1343
+ "name": "end",
1344
+ "nodeType": "YulTypedName",
1345
+ "src": "2524:3:2",
1346
+ "type": ""
1347
+ }
1348
+ ],
1349
+ "src": "2382:366:2"
1350
+ },
1351
+ {
1352
+ "body": {
1353
+ "nodeType": "YulBlock",
1354
+ "src": "2925:248:2",
1355
+ "statements": [
1356
+ {
1357
+ "nodeType": "YulAssignment",
1358
+ "src": "2935:26:2",
1359
+ "value": {
1360
+ "arguments": [
1361
+ {
1362
+ "name": "headStart",
1363
+ "nodeType": "YulIdentifier",
1364
+ "src": "2947:9:2"
1365
+ },
1366
+ {
1367
+ "kind": "number",
1368
+ "nodeType": "YulLiteral",
1369
+ "src": "2958:2:2",
1370
+ "type": "",
1371
+ "value": "32"
1372
+ }
1373
+ ],
1374
+ "functionName": {
1375
+ "name": "add",
1376
+ "nodeType": "YulIdentifier",
1377
+ "src": "2943:3:2"
1378
+ },
1379
+ "nodeType": "YulFunctionCall",
1380
+ "src": "2943:18:2"
1381
+ },
1382
+ "variableNames": [
1383
+ {
1384
+ "name": "tail",
1385
+ "nodeType": "YulIdentifier",
1386
+ "src": "2935:4:2"
1387
+ }
1388
+ ]
1389
+ },
1390
+ {
1391
+ "expression": {
1392
+ "arguments": [
1393
+ {
1394
+ "arguments": [
1395
+ {
1396
+ "name": "headStart",
1397
+ "nodeType": "YulIdentifier",
1398
+ "src": "2982:9:2"
1399
+ },
1400
+ {
1401
+ "kind": "number",
1402
+ "nodeType": "YulLiteral",
1403
+ "src": "2993:1:2",
1404
+ "type": "",
1405
+ "value": "0"
1406
+ }
1407
+ ],
1408
+ "functionName": {
1409
+ "name": "add",
1410
+ "nodeType": "YulIdentifier",
1411
+ "src": "2978:3:2"
1412
+ },
1413
+ "nodeType": "YulFunctionCall",
1414
+ "src": "2978:17:2"
1415
+ },
1416
+ {
1417
+ "arguments": [
1418
+ {
1419
+ "name": "tail",
1420
+ "nodeType": "YulIdentifier",
1421
+ "src": "3001:4:2"
1422
+ },
1423
+ {
1424
+ "name": "headStart",
1425
+ "nodeType": "YulIdentifier",
1426
+ "src": "3007:9:2"
1427
+ }
1428
+ ],
1429
+ "functionName": {
1430
+ "name": "sub",
1431
+ "nodeType": "YulIdentifier",
1432
+ "src": "2997:3:2"
1433
+ },
1434
+ "nodeType": "YulFunctionCall",
1435
+ "src": "2997:20:2"
1436
+ }
1437
+ ],
1438
+ "functionName": {
1439
+ "name": "mstore",
1440
+ "nodeType": "YulIdentifier",
1441
+ "src": "2971:6:2"
1442
+ },
1443
+ "nodeType": "YulFunctionCall",
1444
+ "src": "2971:47:2"
1445
+ },
1446
+ "nodeType": "YulExpressionStatement",
1447
+ "src": "2971:47:2"
1448
+ },
1449
+ {
1450
+ "nodeType": "YulAssignment",
1451
+ "src": "3027:139:2",
1452
+ "value": {
1453
+ "arguments": [
1454
+ {
1455
+ "name": "tail",
1456
+ "nodeType": "YulIdentifier",
1457
+ "src": "3161:4:2"
1458
+ }
1459
+ ],
1460
+ "functionName": {
1461
+ "name": "abi_encode_t_stringliteral_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1_to_t_string_memory_ptr_fromStack",
1462
+ "nodeType": "YulIdentifier",
1463
+ "src": "3035:124:2"
1464
+ },
1465
+ "nodeType": "YulFunctionCall",
1466
+ "src": "3035:131:2"
1467
+ },
1468
+ "variableNames": [
1469
+ {
1470
+ "name": "tail",
1471
+ "nodeType": "YulIdentifier",
1472
+ "src": "3027:4:2"
1473
+ }
1474
+ ]
1475
+ }
1476
+ ]
1477
+ },
1478
+ "name": "abi_encode_tuple_t_stringliteral_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1__to_t_string_memory_ptr__fromStack_reversed",
1479
+ "nodeType": "YulFunctionDefinition",
1480
+ "parameters": [
1481
+ {
1482
+ "name": "headStart",
1483
+ "nodeType": "YulTypedName",
1484
+ "src": "2905:9:2",
1485
+ "type": ""
1486
+ }
1487
+ ],
1488
+ "returnVariables": [
1489
+ {
1490
+ "name": "tail",
1491
+ "nodeType": "YulTypedName",
1492
+ "src": "2920:4:2",
1493
+ "type": ""
1494
+ }
1495
+ ],
1496
+ "src": "2754:419:2"
1497
+ }
1498
+ ]
1499
+ },
1500
+ "contents": "{\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() {\n revert(0, 0)\n }\n\n function revert_error_c1322bf8034eace5e0b5c7295db60986aa89aae5e0ea0873e4689e076861a5db() {\n revert(0, 0)\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert_error_dbdddcbe895c83990c08b3492a0e83918d802a52331272ac6fdb6a7c4aea3b1b() }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function store_literal_in_memory_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1(memPtr) {\n\n mstore(add(memPtr, 0), \"This function is restricted to t\")\n\n mstore(add(memPtr, 32), \"he contract's owner\")\n\n }\n\n function abi_encode_t_stringliteral_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 51)\n store_literal_in_memory_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_tuple_t_stringliteral_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n}\n",
1501
+ "id": 2,
1502
+ "language": "Yul",
1503
+ "name": "#utility.yul"
1504
+ }
1505
+ ],
1506
+ "sourceMap": "66:352:0:-:0;;;113:10;90:33;;;;;;;;;;;;;;;;;;;;66:352;;;;;;;;;;;;;;;;",
1507
+ "deployedSourceMap": "66:352:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;127:36;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;90:33;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;313:103;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;127:36;;;;:::o;90:33::-;;;;;;;;;;;;:::o;313:103::-;225:5;;;;;;;;;;211:19;;:10;:19;;;196:101;;;;;;;;;;;;:::i;:::-;;;;;;;;;402:9:::1;375:24;:36;;;;313:103:::0;:::o;7:77:2:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;442:126::-;479:7;519:42;512:5;508:54;497:65;;442:126;;;:::o;574:96::-;611:7;640:24;658:5;640:24;:::i;:::-;629:35;;574:96;;;:::o;676:118::-;763:24;781:5;763:24;:::i;:::-;758:3;751:37;676:118;;:::o;800:222::-;893:4;931:2;920:9;916:18;908:26;;944:71;1012:1;1001:9;997:17;988:6;944:71;:::i;:::-;800:222;;;;:::o;1109:117::-;1218:1;1215;1208:12;1355:122;1428:24;1446:5;1428:24;:::i;:::-;1421:5;1418:35;1408:63;;1467:1;1464;1457:12;1408:63;1355:122;:::o;1483:139::-;1529:5;1567:6;1554:20;1545:29;;1583:33;1610:5;1583:33;:::i;:::-;1483:139;;;;:::o;1628:329::-;1687:6;1736:2;1724:9;1715:7;1711:23;1707:32;1704:119;;;1742:79;;:::i;:::-;1704:119;1862:1;1887:53;1932:7;1923:6;1912:9;1908:22;1887:53;:::i;:::-;1877:63;;1833:117;1628:329;;;;:::o;1963:169::-;2047:11;2081:6;2076:3;2069:19;2121:4;2116:3;2112:14;2097:29;;1963:169;;;;:::o;2138:238::-;2278:34;2274:1;2266:6;2262:14;2255:58;2347:21;2342:2;2334:6;2330:15;2323:46;2138:238;:::o;2382:366::-;2524:3;2545:67;2609:2;2604:3;2545:67;:::i;:::-;2538:74;;2621:93;2710:3;2621:93;:::i;:::-;2739:2;2734:3;2730:12;2723:19;;2382:366;;;:::o;2754:419::-;2920:4;2958:2;2947:9;2943:18;2935:26;;3007:9;3001:4;2997:20;2993:1;2982:9;2978:17;2971:47;3035:131;3161:4;3035:131;:::i;:::-;3027:139;;2754:419;;;:::o",
1508
+ "source": "// SPDX-License-Identifier: MIT\npragma solidity >=0.4.22 <0.9.0;\n\ncontract Migrations {\n address public owner = msg.sender;\n uint public last_completed_migration;\n\n modifier restricted() {\n require(\n msg.sender == owner,\n \"This function is restricted to the contract's owner\"\n );\n _;\n }\n\n function setCompleted(uint completed) public restricted {\n last_completed_migration = completed;\n }\n}\n",
1509
+ "sourcePath": "/home/user/PolygonDEP/polygon-did-registry-contract/contracts/Migrations.sol",
1510
+ "ast": {
1511
+ "absolutePath": "project:/contracts/Migrations.sol",
1512
+ "exportedSymbols": {
1513
+ "Migrations": [
1514
+ 32
1515
+ ]
1516
+ },
1517
+ "id": 33,
1518
+ "license": "MIT",
1519
+ "nodeType": "SourceUnit",
1520
+ "nodes": [
1521
+ {
1522
+ "id": 1,
1523
+ "literals": [
1524
+ "solidity",
1525
+ ">=",
1526
+ "0.4",
1527
+ ".22",
1528
+ "<",
1529
+ "0.9",
1530
+ ".0"
1531
+ ],
1532
+ "nodeType": "PragmaDirective",
1533
+ "src": "32:32:0"
1534
+ },
1535
+ {
1536
+ "abstract": false,
1537
+ "baseContracts": [],
1538
+ "canonicalName": "Migrations",
1539
+ "contractDependencies": [],
1540
+ "contractKind": "contract",
1541
+ "fullyImplemented": true,
1542
+ "id": 32,
1543
+ "linearizedBaseContracts": [
1544
+ 32
1545
+ ],
1546
+ "name": "Migrations",
1547
+ "nameLocation": "75:10:0",
1548
+ "nodeType": "ContractDefinition",
1549
+ "nodes": [
1550
+ {
1551
+ "constant": false,
1552
+ "functionSelector": "8da5cb5b",
1553
+ "id": 5,
1554
+ "mutability": "mutable",
1555
+ "name": "owner",
1556
+ "nameLocation": "105:5:0",
1557
+ "nodeType": "VariableDeclaration",
1558
+ "scope": 32,
1559
+ "src": "90:33:0",
1560
+ "stateVariable": true,
1561
+ "storageLocation": "default",
1562
+ "typeDescriptions": {
1563
+ "typeIdentifier": "t_address",
1564
+ "typeString": "address"
1565
+ },
1566
+ "typeName": {
1567
+ "id": 2,
1568
+ "name": "address",
1569
+ "nodeType": "ElementaryTypeName",
1570
+ "src": "90:7:0",
1571
+ "stateMutability": "nonpayable",
1572
+ "typeDescriptions": {
1573
+ "typeIdentifier": "t_address",
1574
+ "typeString": "address"
1575
+ }
1576
+ },
1577
+ "value": {
1578
+ "expression": {
1579
+ "id": 3,
1580
+ "name": "msg",
1581
+ "nodeType": "Identifier",
1582
+ "overloadedDeclarations": [],
1583
+ "referencedDeclaration": 4294967281,
1584
+ "src": "113:3:0",
1585
+ "typeDescriptions": {
1586
+ "typeIdentifier": "t_magic_message",
1587
+ "typeString": "msg"
1588
+ }
1589
+ },
1590
+ "id": 4,
1591
+ "isConstant": false,
1592
+ "isLValue": false,
1593
+ "isPure": false,
1594
+ "lValueRequested": false,
1595
+ "memberName": "sender",
1596
+ "nodeType": "MemberAccess",
1597
+ "src": "113:10:0",
1598
+ "typeDescriptions": {
1599
+ "typeIdentifier": "t_address",
1600
+ "typeString": "address"
1601
+ }
1602
+ },
1603
+ "visibility": "public"
1604
+ },
1605
+ {
1606
+ "constant": false,
1607
+ "functionSelector": "445df0ac",
1608
+ "id": 7,
1609
+ "mutability": "mutable",
1610
+ "name": "last_completed_migration",
1611
+ "nameLocation": "139:24:0",
1612
+ "nodeType": "VariableDeclaration",
1613
+ "scope": 32,
1614
+ "src": "127:36:0",
1615
+ "stateVariable": true,
1616
+ "storageLocation": "default",
1617
+ "typeDescriptions": {
1618
+ "typeIdentifier": "t_uint256",
1619
+ "typeString": "uint256"
1620
+ },
1621
+ "typeName": {
1622
+ "id": 6,
1623
+ "name": "uint",
1624
+ "nodeType": "ElementaryTypeName",
1625
+ "src": "127:4:0",
1626
+ "typeDescriptions": {
1627
+ "typeIdentifier": "t_uint256",
1628
+ "typeString": "uint256"
1629
+ }
1630
+ },
1631
+ "visibility": "public"
1632
+ },
1633
+ {
1634
+ "body": {
1635
+ "id": 18,
1636
+ "nodeType": "Block",
1637
+ "src": "190:119:0",
1638
+ "statements": [
1639
+ {
1640
+ "expression": {
1641
+ "arguments": [
1642
+ {
1643
+ "commonType": {
1644
+ "typeIdentifier": "t_address",
1645
+ "typeString": "address"
1646
+ },
1647
+ "id": 13,
1648
+ "isConstant": false,
1649
+ "isLValue": false,
1650
+ "isPure": false,
1651
+ "lValueRequested": false,
1652
+ "leftExpression": {
1653
+ "expression": {
1654
+ "id": 10,
1655
+ "name": "msg",
1656
+ "nodeType": "Identifier",
1657
+ "overloadedDeclarations": [],
1658
+ "referencedDeclaration": 4294967281,
1659
+ "src": "211:3:0",
1660
+ "typeDescriptions": {
1661
+ "typeIdentifier": "t_magic_message",
1662
+ "typeString": "msg"
1663
+ }
1664
+ },
1665
+ "id": 11,
1666
+ "isConstant": false,
1667
+ "isLValue": false,
1668
+ "isPure": false,
1669
+ "lValueRequested": false,
1670
+ "memberName": "sender",
1671
+ "nodeType": "MemberAccess",
1672
+ "src": "211:10:0",
1673
+ "typeDescriptions": {
1674
+ "typeIdentifier": "t_address",
1675
+ "typeString": "address"
1676
+ }
1677
+ },
1678
+ "nodeType": "BinaryOperation",
1679
+ "operator": "==",
1680
+ "rightExpression": {
1681
+ "id": 12,
1682
+ "name": "owner",
1683
+ "nodeType": "Identifier",
1684
+ "overloadedDeclarations": [],
1685
+ "referencedDeclaration": 5,
1686
+ "src": "225:5:0",
1687
+ "typeDescriptions": {
1688
+ "typeIdentifier": "t_address",
1689
+ "typeString": "address"
1690
+ }
1691
+ },
1692
+ "src": "211:19:0",
1693
+ "typeDescriptions": {
1694
+ "typeIdentifier": "t_bool",
1695
+ "typeString": "bool"
1696
+ }
1697
+ },
1698
+ {
1699
+ "hexValue": "546869732066756e6374696f6e206973207265737472696374656420746f2074686520636f6e74726163742773206f776e6572",
1700
+ "id": 14,
1701
+ "isConstant": false,
1702
+ "isLValue": false,
1703
+ "isPure": true,
1704
+ "kind": "string",
1705
+ "lValueRequested": false,
1706
+ "nodeType": "Literal",
1707
+ "src": "238:53:0",
1708
+ "typeDescriptions": {
1709
+ "typeIdentifier": "t_stringliteral_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1",
1710
+ "typeString": "literal_string \"This function is restricted to the contract's owner\""
1711
+ },
1712
+ "value": "This function is restricted to the contract's owner"
1713
+ }
1714
+ ],
1715
+ "expression": {
1716
+ "argumentTypes": [
1717
+ {
1718
+ "typeIdentifier": "t_bool",
1719
+ "typeString": "bool"
1720
+ },
1721
+ {
1722
+ "typeIdentifier": "t_stringliteral_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1",
1723
+ "typeString": "literal_string \"This function is restricted to the contract's owner\""
1724
+ }
1725
+ ],
1726
+ "id": 9,
1727
+ "name": "require",
1728
+ "nodeType": "Identifier",
1729
+ "overloadedDeclarations": [
1730
+ 4294967278,
1731
+ 4294967278
1732
+ ],
1733
+ "referencedDeclaration": 4294967278,
1734
+ "src": "196:7:0",
1735
+ "typeDescriptions": {
1736
+ "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
1737
+ "typeString": "function (bool,string memory) pure"
1738
+ }
1739
+ },
1740
+ "id": 15,
1741
+ "isConstant": false,
1742
+ "isLValue": false,
1743
+ "isPure": false,
1744
+ "kind": "functionCall",
1745
+ "lValueRequested": false,
1746
+ "names": [],
1747
+ "nodeType": "FunctionCall",
1748
+ "src": "196:101:0",
1749
+ "tryCall": false,
1750
+ "typeDescriptions": {
1751
+ "typeIdentifier": "t_tuple$__$",
1752
+ "typeString": "tuple()"
1753
+ }
1754
+ },
1755
+ "id": 16,
1756
+ "nodeType": "ExpressionStatement",
1757
+ "src": "196:101:0"
1758
+ },
1759
+ {
1760
+ "id": 17,
1761
+ "nodeType": "PlaceholderStatement",
1762
+ "src": "303:1:0"
1763
+ }
1764
+ ]
1765
+ },
1766
+ "id": 19,
1767
+ "name": "restricted",
1768
+ "nameLocation": "177:10:0",
1769
+ "nodeType": "ModifierDefinition",
1770
+ "parameters": {
1771
+ "id": 8,
1772
+ "nodeType": "ParameterList",
1773
+ "parameters": [],
1774
+ "src": "187:2:0"
1775
+ },
1776
+ "src": "168:141:0",
1777
+ "virtual": false,
1778
+ "visibility": "internal"
1779
+ },
1780
+ {
1781
+ "body": {
1782
+ "id": 30,
1783
+ "nodeType": "Block",
1784
+ "src": "369:47:0",
1785
+ "statements": [
1786
+ {
1787
+ "expression": {
1788
+ "id": 28,
1789
+ "isConstant": false,
1790
+ "isLValue": false,
1791
+ "isPure": false,
1792
+ "lValueRequested": false,
1793
+ "leftHandSide": {
1794
+ "id": 26,
1795
+ "name": "last_completed_migration",
1796
+ "nodeType": "Identifier",
1797
+ "overloadedDeclarations": [],
1798
+ "referencedDeclaration": 7,
1799
+ "src": "375:24:0",
1800
+ "typeDescriptions": {
1801
+ "typeIdentifier": "t_uint256",
1802
+ "typeString": "uint256"
1803
+ }
1804
+ },
1805
+ "nodeType": "Assignment",
1806
+ "operator": "=",
1807
+ "rightHandSide": {
1808
+ "id": 27,
1809
+ "name": "completed",
1810
+ "nodeType": "Identifier",
1811
+ "overloadedDeclarations": [],
1812
+ "referencedDeclaration": 21,
1813
+ "src": "402:9:0",
1814
+ "typeDescriptions": {
1815
+ "typeIdentifier": "t_uint256",
1816
+ "typeString": "uint256"
1817
+ }
1818
+ },
1819
+ "src": "375:36:0",
1820
+ "typeDescriptions": {
1821
+ "typeIdentifier": "t_uint256",
1822
+ "typeString": "uint256"
1823
+ }
1824
+ },
1825
+ "id": 29,
1826
+ "nodeType": "ExpressionStatement",
1827
+ "src": "375:36:0"
1828
+ }
1829
+ ]
1830
+ },
1831
+ "functionSelector": "fdacd576",
1832
+ "id": 31,
1833
+ "implemented": true,
1834
+ "kind": "function",
1835
+ "modifiers": [
1836
+ {
1837
+ "id": 24,
1838
+ "kind": "modifierInvocation",
1839
+ "modifierName": {
1840
+ "id": 23,
1841
+ "name": "restricted",
1842
+ "nodeType": "IdentifierPath",
1843
+ "referencedDeclaration": 19,
1844
+ "src": "358:10:0"
1845
+ },
1846
+ "nodeType": "ModifierInvocation",
1847
+ "src": "358:10:0"
1848
+ }
1849
+ ],
1850
+ "name": "setCompleted",
1851
+ "nameLocation": "322:12:0",
1852
+ "nodeType": "FunctionDefinition",
1853
+ "parameters": {
1854
+ "id": 22,
1855
+ "nodeType": "ParameterList",
1856
+ "parameters": [
1857
+ {
1858
+ "constant": false,
1859
+ "id": 21,
1860
+ "mutability": "mutable",
1861
+ "name": "completed",
1862
+ "nameLocation": "340:9:0",
1863
+ "nodeType": "VariableDeclaration",
1864
+ "scope": 31,
1865
+ "src": "335:14:0",
1866
+ "stateVariable": false,
1867
+ "storageLocation": "default",
1868
+ "typeDescriptions": {
1869
+ "typeIdentifier": "t_uint256",
1870
+ "typeString": "uint256"
1871
+ },
1872
+ "typeName": {
1873
+ "id": 20,
1874
+ "name": "uint",
1875
+ "nodeType": "ElementaryTypeName",
1876
+ "src": "335:4:0",
1877
+ "typeDescriptions": {
1878
+ "typeIdentifier": "t_uint256",
1879
+ "typeString": "uint256"
1880
+ }
1881
+ },
1882
+ "visibility": "internal"
1883
+ }
1884
+ ],
1885
+ "src": "334:16:0"
1886
+ },
1887
+ "returnParameters": {
1888
+ "id": 25,
1889
+ "nodeType": "ParameterList",
1890
+ "parameters": [],
1891
+ "src": "369:0:0"
1892
+ },
1893
+ "scope": 32,
1894
+ "src": "313:103:0",
1895
+ "stateMutability": "nonpayable",
1896
+ "virtual": false,
1897
+ "visibility": "public"
1898
+ }
1899
+ ],
1900
+ "scope": 33,
1901
+ "src": "66:352:0",
1902
+ "usedErrors": []
1903
+ }
1904
+ ],
1905
+ "src": "32:387:0"
1906
+ },
1907
+ "compiler": {
1908
+ "name": "solc",
1909
+ "version": "0.8.15+commit.e14f2714.Emscripten.clang"
1910
+ },
1911
+ "networks": {},
1912
+ "schemaVersion": "3.4.8",
1913
+ "updatedAt": "2022-08-03T06:22:40.995Z",
1914
+ "devdoc": {
1915
+ "kind": "dev",
1916
+ "methods": {},
1917
+ "version": 1
1918
+ },
1919
+ "userdoc": {
1920
+ "kind": "user",
1921
+ "methods": {},
1922
+ "version": 1
1923
+ }
1924
+ }