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