@ayanworks/polygon-did-registry-contract 0.0.1 → 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.
@@ -2,7 +2,6 @@
2
2
  "contractName": "Migrations",
3
3
  "abi": [
4
4
  {
5
- "constant": true,
6
5
  "inputs": [],
7
6
  "name": "last_completed_migration",
8
7
  "outputs": [
@@ -12,12 +11,10 @@
12
11
  "type": "uint256"
13
12
  }
14
13
  ],
15
- "payable": false,
16
14
  "stateMutability": "view",
17
15
  "type": "function"
18
16
  },
19
17
  {
20
- "constant": true,
21
18
  "inputs": [],
22
19
  "name": "owner",
23
20
  "outputs": [
@@ -27,12 +24,10 @@
27
24
  "type": "address"
28
25
  }
29
26
  ],
30
- "payable": false,
31
27
  "stateMutability": "view",
32
28
  "type": "function"
33
29
  },
34
30
  {
35
- "constant": false,
36
31
  "inputs": [
37
32
  {
38
33
  "internalType": "uint256",
@@ -42,26 +37,1485 @@
42
37
  ],
43
38
  "name": "setCompleted",
44
39
  "outputs": [],
45
- "payable": false,
46
40
  "stateMutability": "nonpayable",
47
41
  "type": "function"
48
42
  }
49
43
  ],
50
- "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"last_completed_migration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"completed\",\"type\":\"uint256\"}],\"name\":\"setCompleted\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/home/user/Documents/Polygon/polygon-did-registry-contract/contracts/Migrations.sol\":\"Migrations\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/user/Documents/Polygon/polygon-did-registry-contract/contracts/Migrations.sol\":{\"keccak256\":\"0x7eaedbb1a3e4e0f585d9063393872f88ded247ca3c3c3c8492ea18e7629a6411\",\"urls\":[\"bzz-raw://4a3eb571cee910095df65a06a1c1d3f89187c72a3c184ef87a7538d9aa39ad07\",\"dweb:/ipfs/QmdqR3vrSSGR49qFGZr49Mb39z7dgD6tSzEDoaqtM31o61\"]}},\"version\":1}",
51
- "bytecode": "0x6080604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561005057600080fd5b5061021e806100606000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063445df0ac146100465780638da5cb5b14610064578063fdacd576146100ae575b600080fd5b61004e6100dc565b6040518082815260200191505060405180910390f35b61006c6100e2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100da600480360360208110156100c457600080fd5b8101908080359060200190929190505050610107565b005b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146101ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806101b76033913960400191505060405180910390fd5b806001819055505056fe546869732066756e6374696f6e206973207265737472696374656420746f2074686520636f6e74726163742773206f776e6572a265627a7a7231582013fdc4bf44463ef4ff6217b9739a79d0aeff0e92cb98096904d8d125c9373f6c64736f6c63430005100032",
52
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063445df0ac146100465780638da5cb5b14610064578063fdacd576146100ae575b600080fd5b61004e6100dc565b6040518082815260200191505060405180910390f35b61006c6100e2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100da600480360360208110156100c457600080fd5b8101908080359060200190929190505050610107565b005b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146101ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806101b76033913960400191505060405180910390fd5b806001819055505056fe546869732066756e6374696f6e206973207265737472696374656420746f2074686520636f6e74726163742773206f776e6572a265627a7a7231582013fdc4bf44463ef4ff6217b9739a79d0aeff0e92cb98096904d8d125c9373f6c64736f6c63430005100032",
53
- "sourceMap": "66:352:0:-;;;113:10;90:33;;;;;;;;;;;;;;;;;;;;66:352;8:9:-1;5:2;;;30:1;27;20:12;5:2;66:352:0;;;;;;;",
54
- "deployedSourceMap": "66:352:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;66:352:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;127:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;90:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;313:103;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;313:103:0;;;;;;;;;;;;;;;;;:::i;:::-;;127:36;;;;:::o;90:33::-;;;;;;;;;;;;;:::o;313:103::-;225:5;;;;;;;;;;;211:19;;:10;:19;;;196:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;402:9;375:24;:36;;;;313:103;:::o",
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",
55
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",
56
- "sourcePath": "/home/user/Documents/Polygon/polygon-did-registry-contract/contracts/Migrations.sol",
1509
+ "sourcePath": "/home/user/PolygonDEP/polygon-did-registry-contract/contracts/Migrations.sol",
57
1510
  "ast": {
58
- "absolutePath": "/home/user/Documents/Polygon/polygon-did-registry-contract/contracts/Migrations.sol",
1511
+ "absolutePath": "project:/contracts/Migrations.sol",
59
1512
  "exportedSymbols": {
60
1513
  "Migrations": [
61
1514
  32
62
1515
  ]
63
1516
  },
64
1517
  "id": 33,
1518
+ "license": "MIT",
65
1519
  "nodeType": "SourceUnit",
66
1520
  "nodes": [
67
1521
  {
@@ -79,22 +1533,27 @@
79
1533
  "src": "32:32:0"
80
1534
  },
81
1535
  {
1536
+ "abstract": false,
82
1537
  "baseContracts": [],
1538
+ "canonicalName": "Migrations",
83
1539
  "contractDependencies": [],
84
1540
  "contractKind": "contract",
85
- "documentation": null,
86
1541
  "fullyImplemented": true,
87
1542
  "id": 32,
88
1543
  "linearizedBaseContracts": [
89
1544
  32
90
1545
  ],
91
1546
  "name": "Migrations",
1547
+ "nameLocation": "75:10:0",
92
1548
  "nodeType": "ContractDefinition",
93
1549
  "nodes": [
94
1550
  {
95
1551
  "constant": false,
1552
+ "functionSelector": "8da5cb5b",
96
1553
  "id": 5,
1554
+ "mutability": "mutable",
97
1555
  "name": "owner",
1556
+ "nameLocation": "105:5:0",
98
1557
  "nodeType": "VariableDeclaration",
99
1558
  "scope": 32,
100
1559
  "src": "90:33:0",
@@ -116,14 +1575,12 @@
116
1575
  }
117
1576
  },
118
1577
  "value": {
119
- "argumentTypes": null,
120
1578
  "expression": {
121
- "argumentTypes": null,
122
1579
  "id": 3,
123
1580
  "name": "msg",
124
1581
  "nodeType": "Identifier",
125
1582
  "overloadedDeclarations": [],
126
- "referencedDeclaration": 251,
1583
+ "referencedDeclaration": 4294967281,
127
1584
  "src": "113:3:0",
128
1585
  "typeDescriptions": {
129
1586
  "typeIdentifier": "t_magic_message",
@@ -137,19 +1594,21 @@
137
1594
  "lValueRequested": false,
138
1595
  "memberName": "sender",
139
1596
  "nodeType": "MemberAccess",
140
- "referencedDeclaration": null,
141
1597
  "src": "113:10:0",
142
1598
  "typeDescriptions": {
143
- "typeIdentifier": "t_address_payable",
144
- "typeString": "address payable"
1599
+ "typeIdentifier": "t_address",
1600
+ "typeString": "address"
145
1601
  }
146
1602
  },
147
1603
  "visibility": "public"
148
1604
  },
149
1605
  {
150
1606
  "constant": false,
1607
+ "functionSelector": "445df0ac",
151
1608
  "id": 7,
1609
+ "mutability": "mutable",
152
1610
  "name": "last_completed_migration",
1611
+ "nameLocation": "139:24:0",
153
1612
  "nodeType": "VariableDeclaration",
154
1613
  "scope": 32,
155
1614
  "src": "127:36:0",
@@ -169,7 +1628,6 @@
169
1628
  "typeString": "uint256"
170
1629
  }
171
1630
  },
172
- "value": null,
173
1631
  "visibility": "public"
174
1632
  },
175
1633
  {
@@ -180,10 +1638,8 @@
180
1638
  "statements": [
181
1639
  {
182
1640
  "expression": {
183
- "argumentTypes": null,
184
1641
  "arguments": [
185
1642
  {
186
- "argumentTypes": null,
187
1643
  "commonType": {
188
1644
  "typeIdentifier": "t_address",
189
1645
  "typeString": "address"
@@ -194,14 +1650,12 @@
194
1650
  "isPure": false,
195
1651
  "lValueRequested": false,
196
1652
  "leftExpression": {
197
- "argumentTypes": null,
198
1653
  "expression": {
199
- "argumentTypes": null,
200
1654
  "id": 10,
201
1655
  "name": "msg",
202
1656
  "nodeType": "Identifier",
203
1657
  "overloadedDeclarations": [],
204
- "referencedDeclaration": 251,
1658
+ "referencedDeclaration": 4294967281,
205
1659
  "src": "211:3:0",
206
1660
  "typeDescriptions": {
207
1661
  "typeIdentifier": "t_magic_message",
@@ -215,17 +1669,15 @@
215
1669
  "lValueRequested": false,
216
1670
  "memberName": "sender",
217
1671
  "nodeType": "MemberAccess",
218
- "referencedDeclaration": null,
219
1672
  "src": "211:10:0",
220
1673
  "typeDescriptions": {
221
- "typeIdentifier": "t_address_payable",
222
- "typeString": "address payable"
1674
+ "typeIdentifier": "t_address",
1675
+ "typeString": "address"
223
1676
  }
224
1677
  },
225
1678
  "nodeType": "BinaryOperation",
226
1679
  "operator": "==",
227
1680
  "rightExpression": {
228
- "argumentTypes": null,
229
1681
  "id": 12,
230
1682
  "name": "owner",
231
1683
  "nodeType": "Identifier",
@@ -244,7 +1696,6 @@
244
1696
  }
245
1697
  },
246
1698
  {
247
- "argumentTypes": null,
248
1699
  "hexValue": "546869732066756e6374696f6e206973207265737472696374656420746f2074686520636f6e74726163742773206f776e6572",
249
1700
  "id": 14,
250
1701
  "isConstant": false,
@@ -254,7 +1705,6 @@
254
1705
  "lValueRequested": false,
255
1706
  "nodeType": "Literal",
256
1707
  "src": "238:53:0",
257
- "subdenomination": null,
258
1708
  "typeDescriptions": {
259
1709
  "typeIdentifier": "t_stringliteral_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1",
260
1710
  "typeString": "literal_string \"This function is restricted to the contract's owner\""
@@ -277,10 +1727,10 @@
277
1727
  "name": "require",
278
1728
  "nodeType": "Identifier",
279
1729
  "overloadedDeclarations": [
280
- 254,
281
- 255
1730
+ 4294967278,
1731
+ 4294967278
282
1732
  ],
283
- "referencedDeclaration": 255,
1733
+ "referencedDeclaration": 4294967278,
284
1734
  "src": "196:7:0",
285
1735
  "typeDescriptions": {
286
1736
  "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
@@ -296,6 +1746,7 @@
296
1746
  "names": [],
297
1747
  "nodeType": "FunctionCall",
298
1748
  "src": "196:101:0",
1749
+ "tryCall": false,
299
1750
  "typeDescriptions": {
300
1751
  "typeIdentifier": "t_tuple$__$",
301
1752
  "typeString": "tuple()"
@@ -312,9 +1763,9 @@
312
1763
  }
313
1764
  ]
314
1765
  },
315
- "documentation": null,
316
1766
  "id": 19,
317
1767
  "name": "restricted",
1768
+ "nameLocation": "177:10:0",
318
1769
  "nodeType": "ModifierDefinition",
319
1770
  "parameters": {
320
1771
  "id": 8,
@@ -323,6 +1774,7 @@
323
1774
  "src": "187:2:0"
324
1775
  },
325
1776
  "src": "168:141:0",
1777
+ "virtual": false,
326
1778
  "visibility": "internal"
327
1779
  },
328
1780
  {
@@ -333,14 +1785,12 @@
333
1785
  "statements": [
334
1786
  {
335
1787
  "expression": {
336
- "argumentTypes": null,
337
1788
  "id": 28,
338
1789
  "isConstant": false,
339
1790
  "isLValue": false,
340
1791
  "isPure": false,
341
1792
  "lValueRequested": false,
342
1793
  "leftHandSide": {
343
- "argumentTypes": null,
344
1794
  "id": 26,
345
1795
  "name": "last_completed_migration",
346
1796
  "nodeType": "Identifier",
@@ -355,7 +1805,6 @@
355
1805
  "nodeType": "Assignment",
356
1806
  "operator": "=",
357
1807
  "rightHandSide": {
358
- "argumentTypes": null,
359
1808
  "id": 27,
360
1809
  "name": "completed",
361
1810
  "nodeType": "Identifier",
@@ -379,32 +1828,27 @@
379
1828
  }
380
1829
  ]
381
1830
  },
382
- "documentation": null,
1831
+ "functionSelector": "fdacd576",
383
1832
  "id": 31,
384
1833
  "implemented": true,
385
1834
  "kind": "function",
386
1835
  "modifiers": [
387
1836
  {
388
- "arguments": null,
389
1837
  "id": 24,
1838
+ "kind": "modifierInvocation",
390
1839
  "modifierName": {
391
- "argumentTypes": null,
392
1840
  "id": 23,
393
1841
  "name": "restricted",
394
- "nodeType": "Identifier",
395
- "overloadedDeclarations": [],
1842
+ "nodeType": "IdentifierPath",
396
1843
  "referencedDeclaration": 19,
397
- "src": "358:10:0",
398
- "typeDescriptions": {
399
- "typeIdentifier": "t_modifier$__$",
400
- "typeString": "modifier ()"
401
- }
1844
+ "src": "358:10:0"
402
1845
  },
403
1846
  "nodeType": "ModifierInvocation",
404
1847
  "src": "358:10:0"
405
1848
  }
406
1849
  ],
407
1850
  "name": "setCompleted",
1851
+ "nameLocation": "322:12:0",
408
1852
  "nodeType": "FunctionDefinition",
409
1853
  "parameters": {
410
1854
  "id": 22,
@@ -413,7 +1857,9 @@
413
1857
  {
414
1858
  "constant": false,
415
1859
  "id": 21,
1860
+ "mutability": "mutable",
416
1861
  "name": "completed",
1862
+ "nameLocation": "340:9:0",
417
1863
  "nodeType": "VariableDeclaration",
418
1864
  "scope": 31,
419
1865
  "src": "335:14:0",
@@ -433,7 +1879,6 @@
433
1879
  "typeString": "uint256"
434
1880
  }
435
1881
  },
436
- "value": null,
437
1882
  "visibility": "internal"
438
1883
  }
439
1884
  ],
@@ -448,484 +1893,32 @@
448
1893
  "scope": 32,
449
1894
  "src": "313:103:0",
450
1895
  "stateMutability": "nonpayable",
451
- "superFunction": null,
1896
+ "virtual": false,
452
1897
  "visibility": "public"
453
1898
  }
454
1899
  ],
455
1900
  "scope": 33,
456
- "src": "66:352:0"
457
- }
458
- ],
459
- "src": "32:387:0"
460
- },
461
- "legacyAST": {
462
- "attributes": {
463
- "absolutePath": "/home/user/Documents/Polygon/polygon-did-registry-contract/contracts/Migrations.sol",
464
- "exportedSymbols": {
465
- "Migrations": [
466
- 32
467
- ]
468
- }
469
- },
470
- "children": [
471
- {
472
- "attributes": {
473
- "literals": [
474
- "solidity",
475
- ">=",
476
- "0.4",
477
- ".22",
478
- "<",
479
- "0.9",
480
- ".0"
481
- ]
482
- },
483
- "id": 1,
484
- "name": "PragmaDirective",
485
- "src": "32:32:0"
486
- },
487
- {
488
- "attributes": {
489
- "baseContracts": [
490
- null
491
- ],
492
- "contractDependencies": [
493
- null
494
- ],
495
- "contractKind": "contract",
496
- "documentation": null,
497
- "fullyImplemented": true,
498
- "linearizedBaseContracts": [
499
- 32
500
- ],
501
- "name": "Migrations",
502
- "scope": 33
503
- },
504
- "children": [
505
- {
506
- "attributes": {
507
- "constant": false,
508
- "name": "owner",
509
- "scope": 32,
510
- "stateVariable": true,
511
- "storageLocation": "default",
512
- "type": "address",
513
- "visibility": "public"
514
- },
515
- "children": [
516
- {
517
- "attributes": {
518
- "name": "address",
519
- "stateMutability": "nonpayable",
520
- "type": "address"
521
- },
522
- "id": 2,
523
- "name": "ElementaryTypeName",
524
- "src": "90:7:0"
525
- },
526
- {
527
- "attributes": {
528
- "argumentTypes": null,
529
- "isConstant": false,
530
- "isLValue": false,
531
- "isPure": false,
532
- "lValueRequested": false,
533
- "member_name": "sender",
534
- "referencedDeclaration": null,
535
- "type": "address payable"
536
- },
537
- "children": [
538
- {
539
- "attributes": {
540
- "argumentTypes": null,
541
- "overloadedDeclarations": [
542
- null
543
- ],
544
- "referencedDeclaration": 251,
545
- "type": "msg",
546
- "value": "msg"
547
- },
548
- "id": 3,
549
- "name": "Identifier",
550
- "src": "113:3:0"
551
- }
552
- ],
553
- "id": 4,
554
- "name": "MemberAccess",
555
- "src": "113:10:0"
556
- }
557
- ],
558
- "id": 5,
559
- "name": "VariableDeclaration",
560
- "src": "90:33:0"
561
- },
562
- {
563
- "attributes": {
564
- "constant": false,
565
- "name": "last_completed_migration",
566
- "scope": 32,
567
- "stateVariable": true,
568
- "storageLocation": "default",
569
- "type": "uint256",
570
- "value": null,
571
- "visibility": "public"
572
- },
573
- "children": [
574
- {
575
- "attributes": {
576
- "name": "uint",
577
- "type": "uint256"
578
- },
579
- "id": 6,
580
- "name": "ElementaryTypeName",
581
- "src": "127:4:0"
582
- }
583
- ],
584
- "id": 7,
585
- "name": "VariableDeclaration",
586
- "src": "127:36:0"
587
- },
588
- {
589
- "attributes": {
590
- "documentation": null,
591
- "name": "restricted",
592
- "visibility": "internal"
593
- },
594
- "children": [
595
- {
596
- "attributes": {
597
- "parameters": [
598
- null
599
- ]
600
- },
601
- "children": [],
602
- "id": 8,
603
- "name": "ParameterList",
604
- "src": "187:2:0"
605
- },
606
- {
607
- "children": [
608
- {
609
- "children": [
610
- {
611
- "attributes": {
612
- "argumentTypes": null,
613
- "isConstant": false,
614
- "isLValue": false,
615
- "isPure": false,
616
- "isStructConstructorCall": false,
617
- "lValueRequested": false,
618
- "names": [
619
- null
620
- ],
621
- "type": "tuple()",
622
- "type_conversion": false
623
- },
624
- "children": [
625
- {
626
- "attributes": {
627
- "argumentTypes": [
628
- {
629
- "typeIdentifier": "t_bool",
630
- "typeString": "bool"
631
- },
632
- {
633
- "typeIdentifier": "t_stringliteral_f60fe2d9d123295bf92ecf95167f1fa709e374da35e4c083bd39dc2d82acd8b1",
634
- "typeString": "literal_string \"This function is restricted to the contract's owner\""
635
- }
636
- ],
637
- "overloadedDeclarations": [
638
- 254,
639
- 255
640
- ],
641
- "referencedDeclaration": 255,
642
- "type": "function (bool,string memory) pure",
643
- "value": "require"
644
- },
645
- "id": 9,
646
- "name": "Identifier",
647
- "src": "196:7:0"
648
- },
649
- {
650
- "attributes": {
651
- "argumentTypes": null,
652
- "commonType": {
653
- "typeIdentifier": "t_address",
654
- "typeString": "address"
655
- },
656
- "isConstant": false,
657
- "isLValue": false,
658
- "isPure": false,
659
- "lValueRequested": false,
660
- "operator": "==",
661
- "type": "bool"
662
- },
663
- "children": [
664
- {
665
- "attributes": {
666
- "argumentTypes": null,
667
- "isConstant": false,
668
- "isLValue": false,
669
- "isPure": false,
670
- "lValueRequested": false,
671
- "member_name": "sender",
672
- "referencedDeclaration": null,
673
- "type": "address payable"
674
- },
675
- "children": [
676
- {
677
- "attributes": {
678
- "argumentTypes": null,
679
- "overloadedDeclarations": [
680
- null
681
- ],
682
- "referencedDeclaration": 251,
683
- "type": "msg",
684
- "value": "msg"
685
- },
686
- "id": 10,
687
- "name": "Identifier",
688
- "src": "211:3:0"
689
- }
690
- ],
691
- "id": 11,
692
- "name": "MemberAccess",
693
- "src": "211:10:0"
694
- },
695
- {
696
- "attributes": {
697
- "argumentTypes": null,
698
- "overloadedDeclarations": [
699
- null
700
- ],
701
- "referencedDeclaration": 5,
702
- "type": "address",
703
- "value": "owner"
704
- },
705
- "id": 12,
706
- "name": "Identifier",
707
- "src": "225:5:0"
708
- }
709
- ],
710
- "id": 13,
711
- "name": "BinaryOperation",
712
- "src": "211:19:0"
713
- },
714
- {
715
- "attributes": {
716
- "argumentTypes": null,
717
- "hexvalue": "546869732066756e6374696f6e206973207265737472696374656420746f2074686520636f6e74726163742773206f776e6572",
718
- "isConstant": false,
719
- "isLValue": false,
720
- "isPure": true,
721
- "lValueRequested": false,
722
- "subdenomination": null,
723
- "token": "string",
724
- "type": "literal_string \"This function is restricted to the contract's owner\"",
725
- "value": "This function is restricted to the contract's owner"
726
- },
727
- "id": 14,
728
- "name": "Literal",
729
- "src": "238:53:0"
730
- }
731
- ],
732
- "id": 15,
733
- "name": "FunctionCall",
734
- "src": "196:101:0"
735
- }
736
- ],
737
- "id": 16,
738
- "name": "ExpressionStatement",
739
- "src": "196:101:0"
740
- },
741
- {
742
- "id": 17,
743
- "name": "PlaceholderStatement",
744
- "src": "303:1:0"
745
- }
746
- ],
747
- "id": 18,
748
- "name": "Block",
749
- "src": "190:119:0"
750
- }
751
- ],
752
- "id": 19,
753
- "name": "ModifierDefinition",
754
- "src": "168:141:0"
755
- },
756
- {
757
- "attributes": {
758
- "documentation": null,
759
- "implemented": true,
760
- "isConstructor": false,
761
- "kind": "function",
762
- "name": "setCompleted",
763
- "scope": 32,
764
- "stateMutability": "nonpayable",
765
- "superFunction": null,
766
- "visibility": "public"
767
- },
768
- "children": [
769
- {
770
- "children": [
771
- {
772
- "attributes": {
773
- "constant": false,
774
- "name": "completed",
775
- "scope": 31,
776
- "stateVariable": false,
777
- "storageLocation": "default",
778
- "type": "uint256",
779
- "value": null,
780
- "visibility": "internal"
781
- },
782
- "children": [
783
- {
784
- "attributes": {
785
- "name": "uint",
786
- "type": "uint256"
787
- },
788
- "id": 20,
789
- "name": "ElementaryTypeName",
790
- "src": "335:4:0"
791
- }
792
- ],
793
- "id": 21,
794
- "name": "VariableDeclaration",
795
- "src": "335:14:0"
796
- }
797
- ],
798
- "id": 22,
799
- "name": "ParameterList",
800
- "src": "334:16:0"
801
- },
802
- {
803
- "attributes": {
804
- "parameters": [
805
- null
806
- ]
807
- },
808
- "children": [],
809
- "id": 25,
810
- "name": "ParameterList",
811
- "src": "369:0:0"
812
- },
813
- {
814
- "attributes": {
815
- "arguments": null
816
- },
817
- "children": [
818
- {
819
- "attributes": {
820
- "argumentTypes": null,
821
- "overloadedDeclarations": [
822
- null
823
- ],
824
- "referencedDeclaration": 19,
825
- "type": "modifier ()",
826
- "value": "restricted"
827
- },
828
- "id": 23,
829
- "name": "Identifier",
830
- "src": "358:10:0"
831
- }
832
- ],
833
- "id": 24,
834
- "name": "ModifierInvocation",
835
- "src": "358:10:0"
836
- },
837
- {
838
- "children": [
839
- {
840
- "children": [
841
- {
842
- "attributes": {
843
- "argumentTypes": null,
844
- "isConstant": false,
845
- "isLValue": false,
846
- "isPure": false,
847
- "lValueRequested": false,
848
- "operator": "=",
849
- "type": "uint256"
850
- },
851
- "children": [
852
- {
853
- "attributes": {
854
- "argumentTypes": null,
855
- "overloadedDeclarations": [
856
- null
857
- ],
858
- "referencedDeclaration": 7,
859
- "type": "uint256",
860
- "value": "last_completed_migration"
861
- },
862
- "id": 26,
863
- "name": "Identifier",
864
- "src": "375:24:0"
865
- },
866
- {
867
- "attributes": {
868
- "argumentTypes": null,
869
- "overloadedDeclarations": [
870
- null
871
- ],
872
- "referencedDeclaration": 21,
873
- "type": "uint256",
874
- "value": "completed"
875
- },
876
- "id": 27,
877
- "name": "Identifier",
878
- "src": "402:9:0"
879
- }
880
- ],
881
- "id": 28,
882
- "name": "Assignment",
883
- "src": "375:36:0"
884
- }
885
- ],
886
- "id": 29,
887
- "name": "ExpressionStatement",
888
- "src": "375:36:0"
889
- }
890
- ],
891
- "id": 30,
892
- "name": "Block",
893
- "src": "369:47:0"
894
- }
895
- ],
896
- "id": 31,
897
- "name": "FunctionDefinition",
898
- "src": "313:103:0"
899
- }
900
- ],
901
- "id": 32,
902
- "name": "ContractDefinition",
903
- "src": "66:352:0"
1901
+ "src": "66:352:0",
1902
+ "usedErrors": []
904
1903
  }
905
1904
  ],
906
- "id": 33,
907
- "name": "SourceUnit",
908
1905
  "src": "32:387:0"
909
1906
  },
910
1907
  "compiler": {
911
1908
  "name": "solc",
912
- "version": "0.5.16+commit.9c3226ce.Emscripten.clang"
913
- },
914
- "networks": {
915
- "80001": {
916
- "events": {},
917
- "links": {},
918
- "address": "0xFc7510C87EdE2F9A7A2F8d77Bd8EB56b7b2F0d61",
919
- "transactionHash": "0x4d84b7c9f99dfd93c22a65dc6287f68676e378f7c501365128b8a00b76ee4e0e"
920
- }
1909
+ "version": "0.8.15+commit.e14f2714.Emscripten.clang"
921
1910
  },
922
- "schemaVersion": "3.3.4",
923
- "updatedAt": "2021-04-23T11:49:01.308Z",
924
- "networkType": "ethereum",
1911
+ "networks": {},
1912
+ "schemaVersion": "3.4.8",
1913
+ "updatedAt": "2022-08-03T06:22:40.995Z",
925
1914
  "devdoc": {
926
- "methods": {}
1915
+ "kind": "dev",
1916
+ "methods": {},
1917
+ "version": 1
927
1918
  },
928
1919
  "userdoc": {
929
- "methods": {}
1920
+ "kind": "user",
1921
+ "methods": {},
1922
+ "version": 1
930
1923
  }
931
1924
  }