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