@superfluid-finance/ethereum-contracts 1.2.2-dev.ec379f7.0 → 1.2.3-dev.c960cdd.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.
Files changed (112) hide show
  1. package/build/contracts/AccessControl.json +1 -1
  2. package/build/contracts/AccessControlEnumerable.json +1 -1
  3. package/build/contracts/Address.json +1 -1
  4. package/build/contracts/AgreementBase.json +9 -9
  5. package/build/contracts/AgreementLibrary.json +1 -1
  6. package/build/contracts/BaseRelayRecipient.json +1 -1
  7. package/build/contracts/BatchLiquidator.json +1023 -1023
  8. package/build/contracts/BatchOperation.json +1 -1
  9. package/build/contracts/CFAv1Library.json +1 -1
  10. package/build/contracts/CallUtils.json +1 -1
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +3580 -3580
  12. package/build/contracts/ConstantFlowAgreementV1.json +5088 -5088
  13. package/build/contracts/Context.json +1 -1
  14. package/build/contracts/ContextDefinitions.json +1 -1
  15. package/build/contracts/Create2.json +1 -1
  16. package/build/contracts/CustomSuperTokenBase.json +1 -1
  17. package/build/contracts/ERC165.json +1 -1
  18. package/build/contracts/ERC1820Implementer.json +79 -79
  19. package/build/contracts/ERC1820RegistryCompiled.json +256 -0
  20. package/build/contracts/ERC20.json +1008 -1008
  21. package/build/contracts/ERC20Burnable.json +1 -1
  22. package/build/contracts/ERC20Pausable.json +1 -1
  23. package/build/contracts/ERC20PresetMinterPauser.json +1816 -1816
  24. package/build/contracts/ERC20WithTokenInfo.json +1 -1
  25. package/build/contracts/ERC721.json +1834 -1834
  26. package/build/contracts/ERC777Helper.json +660 -660
  27. package/build/contracts/ERC777RecipientDrainingGas.json +1871 -1871
  28. package/build/contracts/ERC777RecipientReverting.json +1893 -1893
  29. package/build/contracts/EnumerableSet.json +1 -1
  30. package/build/contracts/ExclusiveInflowTestApp.json +3608 -3608
  31. package/build/contracts/FixedSizeData.json +405 -405
  32. package/build/contracts/FlowExchangeTestApp.json +3718 -3718
  33. package/build/contracts/FlowOperatorDefinitions.json +1 -1
  34. package/build/contracts/FullUpgradableSuperTokenProxy.json +316 -316
  35. package/build/contracts/IAccessControl.json +1 -1
  36. package/build/contracts/IAccessControlEnumerable.json +1 -1
  37. package/build/contracts/IConstantFlowAgreementV1.json +1 -1
  38. package/build/contracts/IDAv1Library.json +1 -1
  39. package/build/contracts/IERC165.json +1 -1
  40. package/build/contracts/IERC1820Implementer.json +1 -1
  41. package/build/contracts/IERC1820Registry.json +1 -1
  42. package/build/contracts/IERC20.json +1 -1
  43. package/build/contracts/IERC20Metadata.json +1 -1
  44. package/build/contracts/IERC721.json +1 -1
  45. package/build/contracts/IERC721Metadata.json +1 -1
  46. package/build/contracts/IERC721Receiver.json +1 -1
  47. package/build/contracts/IERC777.json +1 -1
  48. package/build/contracts/IERC777Recipient.json +1 -1
  49. package/build/contracts/IERC777Sender.json +1 -1
  50. package/build/contracts/IInstantDistributionAgreementV1.json +1 -1
  51. package/build/contracts/IMaticBridgedNativeSuperToken.json +1 -1
  52. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +1 -1
  53. package/build/contracts/IMultiSigWallet.json +1 -1
  54. package/build/contracts/IPureSuperToken.json +1 -1
  55. package/build/contracts/IPureSuperTokenCustom.json +1 -1
  56. package/build/contracts/IRelayRecipient.json +1 -1
  57. package/build/contracts/IResolver.json +1 -1
  58. package/build/contracts/ISETH.json +1 -1
  59. package/build/contracts/ISETHCustom.json +1 -1
  60. package/build/contracts/ISuperAgreement.json +1 -1
  61. package/build/contracts/ISuperApp.json +1 -1
  62. package/build/contracts/ISuperToken.json +1 -1
  63. package/build/contracts/ISuperTokenFactory.json +1 -1
  64. package/build/contracts/ISuperfluid.json +1 -1
  65. package/build/contracts/ISuperfluidGovernance.json +1 -1
  66. package/build/contracts/ISuperfluidToken.json +1 -1
  67. package/build/contracts/ITOGAv1.json +2143 -2143
  68. package/build/contracts/ITOGAv2.json +2143 -2143
  69. package/build/contracts/Initializable.json +1 -1
  70. package/build/contracts/InstantDistributionAgreementV1.json +5413 -5413
  71. package/build/contracts/Int96SafeMath.json +504 -504
  72. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +968 -968
  73. package/build/contracts/NonClosableOutflowTestApp.json +3483 -3483
  74. package/build/contracts/Ownable.json +1 -1
  75. package/build/contracts/Pausable.json +1 -1
  76. package/build/contracts/Proxy.json +1 -1
  77. package/build/contracts/PureSuperToken.json +691 -691
  78. package/build/contracts/Resolver.json +1058 -1058
  79. package/build/contracts/SETHProxy.json +658 -658
  80. package/build/contracts/SafeCast.json +1 -1
  81. package/build/contracts/SafeERC20.json +1 -1
  82. package/build/contracts/SafeMath.json +1 -1
  83. package/build/contracts/SelfDeletingFlowTestApp.json +3580 -3580
  84. package/build/contracts/SlotsBitmapLibrary.json +1704 -1704
  85. package/build/contracts/Strings.json +1 -1
  86. package/build/contracts/SuperAppBase.json +1 -1
  87. package/build/contracts/SuperAppDefinitions.json +1 -1
  88. package/build/contracts/SuperToken.json +9035 -9035
  89. package/build/contracts/SuperTokenFactory.json +2071 -2071
  90. package/build/contracts/SuperTokenFactoryBase.json +988 -988
  91. package/build/contracts/SuperTokenFactoryHelper.json +1092 -1092
  92. package/build/contracts/SuperUpgrader.json +2492 -2492
  93. package/build/contracts/Superfluid.json +12968 -12968
  94. package/build/contracts/SuperfluidFrameworkDeployer.json +3440 -2173
  95. package/build/contracts/SuperfluidGovernanceBase.json +8 -8
  96. package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
  97. package/build/contracts/SuperfluidGovernanceII.json +2019 -2019
  98. package/build/contracts/SuperfluidGovernanceIIProxy.json +224 -224
  99. package/build/contracts/SuperfluidLoader.json +749 -749
  100. package/build/contracts/SuperfluidToken.json +2233 -2233
  101. package/build/contracts/TOGA.json +4118 -4118
  102. package/build/contracts/TestGovernance.json +2399 -2399
  103. package/build/contracts/TestToken.json +1267 -1267
  104. package/build/contracts/TokenCustodian.json +903 -903
  105. package/build/contracts/TokenInfo.json +1 -1
  106. package/build/contracts/UInt128SafeMath.json +174 -174
  107. package/build/contracts/UUPSProxiable.json +233 -233
  108. package/build/contracts/UUPSProxy.json +257 -257
  109. package/build/contracts/UUPSUtils.json +85 -85
  110. package/contracts/libs/ERC1820RegistryCompiled.sol +10 -0
  111. package/contracts/utils/SuperfluidFrameworkDeployer.sol +24 -9
  112. package/package.json +2 -2
@@ -32,22 +32,22 @@
32
32
  {
33
33
  "ast": {
34
34
  "nodeType": "YulBlock",
35
- "src": "0:1013:110",
35
+ "src": "0:1013:111",
36
36
  "statements": [
37
37
  {
38
38
  "nodeType": "YulBlock",
39
- "src": "6:3:110",
39
+ "src": "6:3:111",
40
40
  "statements": []
41
41
  },
42
42
  {
43
43
  "body": {
44
44
  "nodeType": "YulBlock",
45
- "src": "84:216:110",
45
+ "src": "84:216:111",
46
46
  "statements": [
47
47
  {
48
48
  "body": {
49
49
  "nodeType": "YulBlock",
50
- "src": "130:16:110",
50
+ "src": "130:16:111",
51
51
  "statements": [
52
52
  {
53
53
  "expression": {
@@ -55,14 +55,14 @@
55
55
  {
56
56
  "kind": "number",
57
57
  "nodeType": "YulLiteral",
58
- "src": "139:1:110",
58
+ "src": "139:1:111",
59
59
  "type": "",
60
60
  "value": "0"
61
61
  },
62
62
  {
63
63
  "kind": "number",
64
64
  "nodeType": "YulLiteral",
65
- "src": "142:1:110",
65
+ "src": "142:1:111",
66
66
  "type": "",
67
67
  "value": "0"
68
68
  }
@@ -70,13 +70,13 @@
70
70
  "functionName": {
71
71
  "name": "revert",
72
72
  "nodeType": "YulIdentifier",
73
- "src": "132:6:110"
73
+ "src": "132:6:111"
74
74
  },
75
75
  "nodeType": "YulFunctionCall",
76
- "src": "132:12:110"
76
+ "src": "132:12:111"
77
77
  },
78
78
  "nodeType": "YulExpressionStatement",
79
- "src": "132:12:110"
79
+ "src": "132:12:111"
80
80
  }
81
81
  ]
82
82
  },
@@ -87,26 +87,26 @@
87
87
  {
88
88
  "name": "dataEnd",
89
89
  "nodeType": "YulIdentifier",
90
- "src": "105:7:110"
90
+ "src": "105:7:111"
91
91
  },
92
92
  {
93
93
  "name": "headStart",
94
94
  "nodeType": "YulIdentifier",
95
- "src": "114:9:110"
95
+ "src": "114:9:111"
96
96
  }
97
97
  ],
98
98
  "functionName": {
99
99
  "name": "sub",
100
100
  "nodeType": "YulIdentifier",
101
- "src": "101:3:110"
101
+ "src": "101:3:111"
102
102
  },
103
103
  "nodeType": "YulFunctionCall",
104
- "src": "101:23:110"
104
+ "src": "101:23:111"
105
105
  },
106
106
  {
107
107
  "kind": "number",
108
108
  "nodeType": "YulLiteral",
109
- "src": "126:2:110",
109
+ "src": "126:2:111",
110
110
  "type": "",
111
111
  "value": "32"
112
112
  }
@@ -114,38 +114,38 @@
114
114
  "functionName": {
115
115
  "name": "slt",
116
116
  "nodeType": "YulIdentifier",
117
- "src": "97:3:110"
117
+ "src": "97:3:111"
118
118
  },
119
119
  "nodeType": "YulFunctionCall",
120
- "src": "97:32:110"
120
+ "src": "97:32:111"
121
121
  },
122
122
  "nodeType": "YulIf",
123
- "src": "94:52:110"
123
+ "src": "94:52:111"
124
124
  },
125
125
  {
126
126
  "nodeType": "YulVariableDeclaration",
127
- "src": "155:36:110",
127
+ "src": "155:36:111",
128
128
  "value": {
129
129
  "arguments": [
130
130
  {
131
131
  "name": "headStart",
132
132
  "nodeType": "YulIdentifier",
133
- "src": "181:9:110"
133
+ "src": "181:9:111"
134
134
  }
135
135
  ],
136
136
  "functionName": {
137
137
  "name": "calldataload",
138
138
  "nodeType": "YulIdentifier",
139
- "src": "168:12:110"
139
+ "src": "168:12:111"
140
140
  },
141
141
  "nodeType": "YulFunctionCall",
142
- "src": "168:23:110"
142
+ "src": "168:23:111"
143
143
  },
144
144
  "variables": [
145
145
  {
146
146
  "name": "value",
147
147
  "nodeType": "YulTypedName",
148
- "src": "159:5:110",
148
+ "src": "159:5:111",
149
149
  "type": ""
150
150
  }
151
151
  ]
@@ -153,7 +153,7 @@
153
153
  {
154
154
  "body": {
155
155
  "nodeType": "YulBlock",
156
- "src": "254:16:110",
156
+ "src": "254:16:111",
157
157
  "statements": [
158
158
  {
159
159
  "expression": {
@@ -161,14 +161,14 @@
161
161
  {
162
162
  "kind": "number",
163
163
  "nodeType": "YulLiteral",
164
- "src": "263:1:110",
164
+ "src": "263:1:111",
165
165
  "type": "",
166
166
  "value": "0"
167
167
  },
168
168
  {
169
169
  "kind": "number",
170
170
  "nodeType": "YulLiteral",
171
- "src": "266:1:110",
171
+ "src": "266:1:111",
172
172
  "type": "",
173
173
  "value": "0"
174
174
  }
@@ -176,13 +176,13 @@
176
176
  "functionName": {
177
177
  "name": "revert",
178
178
  "nodeType": "YulIdentifier",
179
- "src": "256:6:110"
179
+ "src": "256:6:111"
180
180
  },
181
181
  "nodeType": "YulFunctionCall",
182
- "src": "256:12:110"
182
+ "src": "256:12:111"
183
183
  },
184
184
  "nodeType": "YulExpressionStatement",
185
- "src": "256:12:110"
185
+ "src": "256:12:111"
186
186
  }
187
187
  ]
188
188
  },
@@ -193,14 +193,14 @@
193
193
  {
194
194
  "name": "value",
195
195
  "nodeType": "YulIdentifier",
196
- "src": "213:5:110"
196
+ "src": "213:5:111"
197
197
  },
198
198
  {
199
199
  "arguments": [
200
200
  {
201
201
  "name": "value",
202
202
  "nodeType": "YulIdentifier",
203
- "src": "224:5:110"
203
+ "src": "224:5:111"
204
204
  },
205
205
  {
206
206
  "arguments": [
@@ -209,14 +209,14 @@
209
209
  {
210
210
  "kind": "number",
211
211
  "nodeType": "YulLiteral",
212
- "src": "239:3:110",
212
+ "src": "239:3:111",
213
213
  "type": "",
214
214
  "value": "160"
215
215
  },
216
216
  {
217
217
  "kind": "number",
218
218
  "nodeType": "YulLiteral",
219
- "src": "244:1:110",
219
+ "src": "244:1:111",
220
220
  "type": "",
221
221
  "value": "1"
222
222
  }
@@ -224,15 +224,15 @@
224
224
  "functionName": {
225
225
  "name": "shl",
226
226
  "nodeType": "YulIdentifier",
227
- "src": "235:3:110"
227
+ "src": "235:3:111"
228
228
  },
229
229
  "nodeType": "YulFunctionCall",
230
- "src": "235:11:110"
230
+ "src": "235:11:111"
231
231
  },
232
232
  {
233
233
  "kind": "number",
234
234
  "nodeType": "YulLiteral",
235
- "src": "248:1:110",
235
+ "src": "248:1:111",
236
236
  "type": "",
237
237
  "value": "1"
238
238
  }
@@ -240,54 +240,54 @@
240
240
  "functionName": {
241
241
  "name": "sub",
242
242
  "nodeType": "YulIdentifier",
243
- "src": "231:3:110"
243
+ "src": "231:3:111"
244
244
  },
245
245
  "nodeType": "YulFunctionCall",
246
- "src": "231:19:110"
246
+ "src": "231:19:111"
247
247
  }
248
248
  ],
249
249
  "functionName": {
250
250
  "name": "and",
251
251
  "nodeType": "YulIdentifier",
252
- "src": "220:3:110"
252
+ "src": "220:3:111"
253
253
  },
254
254
  "nodeType": "YulFunctionCall",
255
- "src": "220:31:110"
255
+ "src": "220:31:111"
256
256
  }
257
257
  ],
258
258
  "functionName": {
259
259
  "name": "eq",
260
260
  "nodeType": "YulIdentifier",
261
- "src": "210:2:110"
261
+ "src": "210:2:111"
262
262
  },
263
263
  "nodeType": "YulFunctionCall",
264
- "src": "210:42:110"
264
+ "src": "210:42:111"
265
265
  }
266
266
  ],
267
267
  "functionName": {
268
268
  "name": "iszero",
269
269
  "nodeType": "YulIdentifier",
270
- "src": "203:6:110"
270
+ "src": "203:6:111"
271
271
  },
272
272
  "nodeType": "YulFunctionCall",
273
- "src": "203:50:110"
273
+ "src": "203:50:111"
274
274
  },
275
275
  "nodeType": "YulIf",
276
- "src": "200:70:110"
276
+ "src": "200:70:111"
277
277
  },
278
278
  {
279
279
  "nodeType": "YulAssignment",
280
- "src": "279:15:110",
280
+ "src": "279:15:111",
281
281
  "value": {
282
282
  "name": "value",
283
283
  "nodeType": "YulIdentifier",
284
- "src": "289:5:110"
284
+ "src": "289:5:111"
285
285
  },
286
286
  "variableNames": [
287
287
  {
288
288
  "name": "value0",
289
289
  "nodeType": "YulIdentifier",
290
- "src": "279:6:110"
290
+ "src": "279:6:111"
291
291
  }
292
292
  ]
293
293
  }
@@ -299,13 +299,13 @@
299
299
  {
300
300
  "name": "headStart",
301
301
  "nodeType": "YulTypedName",
302
- "src": "50:9:110",
302
+ "src": "50:9:111",
303
303
  "type": ""
304
304
  },
305
305
  {
306
306
  "name": "dataEnd",
307
307
  "nodeType": "YulTypedName",
308
- "src": "61:7:110",
308
+ "src": "61:7:111",
309
309
  "type": ""
310
310
  }
311
311
  ],
@@ -313,16 +313,16 @@
313
313
  {
314
314
  "name": "value0",
315
315
  "nodeType": "YulTypedName",
316
- "src": "73:6:110",
316
+ "src": "73:6:111",
317
317
  "type": ""
318
318
  }
319
319
  ],
320
- "src": "14:286:110"
320
+ "src": "14:286:111"
321
321
  },
322
322
  {
323
323
  "body": {
324
324
  "nodeType": "YulBlock",
325
- "src": "479:173:110",
325
+ "src": "479:173:111",
326
326
  "statements": [
327
327
  {
328
328
  "expression": {
@@ -330,12 +330,12 @@
330
330
  {
331
331
  "name": "headStart",
332
332
  "nodeType": "YulIdentifier",
333
- "src": "496:9:110"
333
+ "src": "496:9:111"
334
334
  },
335
335
  {
336
336
  "kind": "number",
337
337
  "nodeType": "YulLiteral",
338
- "src": "507:2:110",
338
+ "src": "507:2:111",
339
339
  "type": "",
340
340
  "value": "32"
341
341
  }
@@ -343,13 +343,13 @@
343
343
  "functionName": {
344
344
  "name": "mstore",
345
345
  "nodeType": "YulIdentifier",
346
- "src": "489:6:110"
346
+ "src": "489:6:111"
347
347
  },
348
348
  "nodeType": "YulFunctionCall",
349
- "src": "489:21:110"
349
+ "src": "489:21:111"
350
350
  },
351
351
  "nodeType": "YulExpressionStatement",
352
- "src": "489:21:110"
352
+ "src": "489:21:111"
353
353
  },
354
354
  {
355
355
  "expression": {
@@ -359,12 +359,12 @@
359
359
  {
360
360
  "name": "headStart",
361
361
  "nodeType": "YulIdentifier",
362
- "src": "530:9:110"
362
+ "src": "530:9:111"
363
363
  },
364
364
  {
365
365
  "kind": "number",
366
366
  "nodeType": "YulLiteral",
367
- "src": "541:2:110",
367
+ "src": "541:2:111",
368
368
  "type": "",
369
369
  "value": "32"
370
370
  }
@@ -372,15 +372,15 @@
372
372
  "functionName": {
373
373
  "name": "add",
374
374
  "nodeType": "YulIdentifier",
375
- "src": "526:3:110"
375
+ "src": "526:3:111"
376
376
  },
377
377
  "nodeType": "YulFunctionCall",
378
- "src": "526:18:110"
378
+ "src": "526:18:111"
379
379
  },
380
380
  {
381
381
  "kind": "number",
382
382
  "nodeType": "YulLiteral",
383
- "src": "546:2:110",
383
+ "src": "546:2:111",
384
384
  "type": "",
385
385
  "value": "23"
386
386
  }
@@ -388,13 +388,13 @@
388
388
  "functionName": {
389
389
  "name": "mstore",
390
390
  "nodeType": "YulIdentifier",
391
- "src": "519:6:110"
391
+ "src": "519:6:111"
392
392
  },
393
393
  "nodeType": "YulFunctionCall",
394
- "src": "519:30:110"
394
+ "src": "519:30:111"
395
395
  },
396
396
  "nodeType": "YulExpressionStatement",
397
- "src": "519:30:110"
397
+ "src": "519:30:111"
398
398
  },
399
399
  {
400
400
  "expression": {
@@ -404,12 +404,12 @@
404
404
  {
405
405
  "name": "headStart",
406
406
  "nodeType": "YulIdentifier",
407
- "src": "569:9:110"
407
+ "src": "569:9:111"
408
408
  },
409
409
  {
410
410
  "kind": "number",
411
411
  "nodeType": "YulLiteral",
412
- "src": "580:2:110",
412
+ "src": "580:2:111",
413
413
  "type": "",
414
414
  "value": "64"
415
415
  }
@@ -417,16 +417,16 @@
417
417
  "functionName": {
418
418
  "name": "add",
419
419
  "nodeType": "YulIdentifier",
420
- "src": "565:3:110"
420
+ "src": "565:3:111"
421
421
  },
422
422
  "nodeType": "YulFunctionCall",
423
- "src": "565:18:110"
423
+ "src": "565:18:111"
424
424
  },
425
425
  {
426
426
  "hexValue": "5555505350726f78793a207a65726f2061646472657373",
427
427
  "kind": "string",
428
428
  "nodeType": "YulLiteral",
429
- "src": "585:25:110",
429
+ "src": "585:25:111",
430
430
  "type": "",
431
431
  "value": "UUPSProxy: zero address"
432
432
  }
@@ -434,28 +434,28 @@
434
434
  "functionName": {
435
435
  "name": "mstore",
436
436
  "nodeType": "YulIdentifier",
437
- "src": "558:6:110"
437
+ "src": "558:6:111"
438
438
  },
439
439
  "nodeType": "YulFunctionCall",
440
- "src": "558:53:110"
440
+ "src": "558:53:111"
441
441
  },
442
442
  "nodeType": "YulExpressionStatement",
443
- "src": "558:53:110"
443
+ "src": "558:53:111"
444
444
  },
445
445
  {
446
446
  "nodeType": "YulAssignment",
447
- "src": "620:26:110",
447
+ "src": "620:26:111",
448
448
  "value": {
449
449
  "arguments": [
450
450
  {
451
451
  "name": "headStart",
452
452
  "nodeType": "YulIdentifier",
453
- "src": "632:9:110"
453
+ "src": "632:9:111"
454
454
  },
455
455
  {
456
456
  "kind": "number",
457
457
  "nodeType": "YulLiteral",
458
- "src": "643:2:110",
458
+ "src": "643:2:111",
459
459
  "type": "",
460
460
  "value": "96"
461
461
  }
@@ -463,16 +463,16 @@
463
463
  "functionName": {
464
464
  "name": "add",
465
465
  "nodeType": "YulIdentifier",
466
- "src": "628:3:110"
466
+ "src": "628:3:111"
467
467
  },
468
468
  "nodeType": "YulFunctionCall",
469
- "src": "628:18:110"
469
+ "src": "628:18:111"
470
470
  },
471
471
  "variableNames": [
472
472
  {
473
473
  "name": "tail",
474
474
  "nodeType": "YulIdentifier",
475
- "src": "620:4:110"
475
+ "src": "620:4:111"
476
476
  }
477
477
  ]
478
478
  }
@@ -484,7 +484,7 @@
484
484
  {
485
485
  "name": "headStart",
486
486
  "nodeType": "YulTypedName",
487
- "src": "456:9:110",
487
+ "src": "456:9:111",
488
488
  "type": ""
489
489
  }
490
490
  ],
@@ -492,16 +492,16 @@
492
492
  {
493
493
  "name": "tail",
494
494
  "nodeType": "YulTypedName",
495
- "src": "470:4:110",
495
+ "src": "470:4:111",
496
496
  "type": ""
497
497
  }
498
498
  ],
499
- "src": "305:347:110"
499
+ "src": "305:347:111"
500
500
  },
501
501
  {
502
502
  "body": {
503
503
  "nodeType": "YulBlock",
504
- "src": "831:180:110",
504
+ "src": "831:180:111",
505
505
  "statements": [
506
506
  {
507
507
  "expression": {
@@ -509,12 +509,12 @@
509
509
  {
510
510
  "name": "headStart",
511
511
  "nodeType": "YulIdentifier",
512
- "src": "848:9:110"
512
+ "src": "848:9:111"
513
513
  },
514
514
  {
515
515
  "kind": "number",
516
516
  "nodeType": "YulLiteral",
517
- "src": "859:2:110",
517
+ "src": "859:2:111",
518
518
  "type": "",
519
519
  "value": "32"
520
520
  }
@@ -522,13 +522,13 @@
522
522
  "functionName": {
523
523
  "name": "mstore",
524
524
  "nodeType": "YulIdentifier",
525
- "src": "841:6:110"
525
+ "src": "841:6:111"
526
526
  },
527
527
  "nodeType": "YulFunctionCall",
528
- "src": "841:21:110"
528
+ "src": "841:21:111"
529
529
  },
530
530
  "nodeType": "YulExpressionStatement",
531
- "src": "841:21:110"
531
+ "src": "841:21:111"
532
532
  },
533
533
  {
534
534
  "expression": {
@@ -538,12 +538,12 @@
538
538
  {
539
539
  "name": "headStart",
540
540
  "nodeType": "YulIdentifier",
541
- "src": "882:9:110"
541
+ "src": "882:9:111"
542
542
  },
543
543
  {
544
544
  "kind": "number",
545
545
  "nodeType": "YulLiteral",
546
- "src": "893:2:110",
546
+ "src": "893:2:111",
547
547
  "type": "",
548
548
  "value": "32"
549
549
  }
@@ -551,15 +551,15 @@
551
551
  "functionName": {
552
552
  "name": "add",
553
553
  "nodeType": "YulIdentifier",
554
- "src": "878:3:110"
554
+ "src": "878:3:111"
555
555
  },
556
556
  "nodeType": "YulFunctionCall",
557
- "src": "878:18:110"
557
+ "src": "878:18:111"
558
558
  },
559
559
  {
560
560
  "kind": "number",
561
561
  "nodeType": "YulLiteral",
562
- "src": "898:2:110",
562
+ "src": "898:2:111",
563
563
  "type": "",
564
564
  "value": "30"
565
565
  }
@@ -567,13 +567,13 @@
567
567
  "functionName": {
568
568
  "name": "mstore",
569
569
  "nodeType": "YulIdentifier",
570
- "src": "871:6:110"
570
+ "src": "871:6:111"
571
571
  },
572
572
  "nodeType": "YulFunctionCall",
573
- "src": "871:30:110"
573
+ "src": "871:30:111"
574
574
  },
575
575
  "nodeType": "YulExpressionStatement",
576
- "src": "871:30:110"
576
+ "src": "871:30:111"
577
577
  },
578
578
  {
579
579
  "expression": {
@@ -583,12 +583,12 @@
583
583
  {
584
584
  "name": "headStart",
585
585
  "nodeType": "YulIdentifier",
586
- "src": "921:9:110"
586
+ "src": "921:9:111"
587
587
  },
588
588
  {
589
589
  "kind": "number",
590
590
  "nodeType": "YulLiteral",
591
- "src": "932:2:110",
591
+ "src": "932:2:111",
592
592
  "type": "",
593
593
  "value": "64"
594
594
  }
@@ -596,16 +596,16 @@
596
596
  "functionName": {
597
597
  "name": "add",
598
598
  "nodeType": "YulIdentifier",
599
- "src": "917:3:110"
599
+ "src": "917:3:111"
600
600
  },
601
601
  "nodeType": "YulFunctionCall",
602
- "src": "917:18:110"
602
+ "src": "917:18:111"
603
603
  },
604
604
  {
605
605
  "hexValue": "5555505350726f78793a20616c726561647920696e697469616c697a6564",
606
606
  "kind": "string",
607
607
  "nodeType": "YulLiteral",
608
- "src": "937:32:110",
608
+ "src": "937:32:111",
609
609
  "type": "",
610
610
  "value": "UUPSProxy: already initialized"
611
611
  }
@@ -613,28 +613,28 @@
613
613
  "functionName": {
614
614
  "name": "mstore",
615
615
  "nodeType": "YulIdentifier",
616
- "src": "910:6:110"
616
+ "src": "910:6:111"
617
617
  },
618
618
  "nodeType": "YulFunctionCall",
619
- "src": "910:60:110"
619
+ "src": "910:60:111"
620
620
  },
621
621
  "nodeType": "YulExpressionStatement",
622
- "src": "910:60:110"
622
+ "src": "910:60:111"
623
623
  },
624
624
  {
625
625
  "nodeType": "YulAssignment",
626
- "src": "979:26:110",
626
+ "src": "979:26:111",
627
627
  "value": {
628
628
  "arguments": [
629
629
  {
630
630
  "name": "headStart",
631
631
  "nodeType": "YulIdentifier",
632
- "src": "991:9:110"
632
+ "src": "991:9:111"
633
633
  },
634
634
  {
635
635
  "kind": "number",
636
636
  "nodeType": "YulLiteral",
637
- "src": "1002:2:110",
637
+ "src": "1002:2:111",
638
638
  "type": "",
639
639
  "value": "96"
640
640
  }
@@ -642,16 +642,16 @@
642
642
  "functionName": {
643
643
  "name": "add",
644
644
  "nodeType": "YulIdentifier",
645
- "src": "987:3:110"
645
+ "src": "987:3:111"
646
646
  },
647
647
  "nodeType": "YulFunctionCall",
648
- "src": "987:18:110"
648
+ "src": "987:18:111"
649
649
  },
650
650
  "variableNames": [
651
651
  {
652
652
  "name": "tail",
653
653
  "nodeType": "YulIdentifier",
654
- "src": "979:4:110"
654
+ "src": "979:4:111"
655
655
  }
656
656
  ]
657
657
  }
@@ -663,7 +663,7 @@
663
663
  {
664
664
  "name": "headStart",
665
665
  "nodeType": "YulTypedName",
666
- "src": "808:9:110",
666
+ "src": "808:9:111",
667
667
  "type": ""
668
668
  }
669
669
  ],
@@ -671,22 +671,22 @@
671
671
  {
672
672
  "name": "tail",
673
673
  "nodeType": "YulTypedName",
674
- "src": "822:4:110",
674
+ "src": "822:4:111",
675
675
  "type": ""
676
676
  }
677
677
  ],
678
- "src": "657:354:110"
678
+ "src": "657:354:111"
679
679
  }
680
680
  ]
681
681
  },
682
682
  "contents": "{\n { }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_ddef727975921b7952b7e20fd4290233907fcf50863b08b5223d979ede27321e__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 23)\n mstore(add(headStart, 64), \"UUPSProxy: zero address\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_b83493ae559d613bdaa11f876d4e817b661ed75187e4a486b85abafea5a50e6c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 30)\n mstore(add(headStart, 64), \"UUPSProxy: already initialized\")\n tail := add(headStart, 96)\n }\n}",
683
- "id": 110,
683
+ "id": 111,
684
684
  "language": "Yul",
685
685
  "name": "#utility.yul"
686
686
  }
687
687
  ],
688
- "sourceMap": "655:716:99:-:0;;;;;;;;;;;;;;;;;;;",
689
- "deployedSourceMap": "655:716:99:-:0;;;;;;;;;;;;;;;;;;;;;;;2898:11:5;:9;:11::i;:::-;655:716:99;;2675:11:5;:9;:11::i;897:285:99:-;;;;;;;;;;-1:-1:-1;897:285:99;;;;;:::i;:::-;;:::i;2322:110:5:-;2397:28;2407:17;:15;:17::i;:::-;2397:9;:28::i;:::-;2322:110::o;897:285:99:-;-1:-1:-1;;;;;973:28:99;;965:64;;;;-1:-1:-1;;;965:64:99;;507:2:110;965:64:99;;;489:21:110;546:2;526:18;;;519:30;585:25;565:18;;;558:53;628:18;;965:64:99;;;;;;;;;1085:1;1047:26;751:20:100;745:27;;618:170;1047:26:99;-1:-1:-1;;;;;1047:40:99;;1039:83;;;;-1:-1:-1;;;1039:83:99;;859:2:110;1039:83:99;;;841:21:110;898:2;878:18;;;871:30;937:32;917:18;;;910:60;987:18;;1039:83:99;657:354:110;1039:83:99;1132:43;1160:14;988:20:100;964:87;839:228;1132:43:99;897:285;:::o;1238:130::-;1305:7;1335:26;751:20:100;745:27;;618:170;1335:26:99;1328:33;;1238:130;:::o;948:895:5:-;1286:14;1283:1;1280;1267:34;1500:1;1497;1481:14;1478:1;1462:14;1455:5;1442:60;1576:16;1573:1;1570;1555:38;1614:6;1681:66;;;;1796:16;1793:1;1786:27;1681:66;1716:16;1713:1;1706:27;14:286:110;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;168:23;;-1:-1:-1;;;;;220:31:110;;210:42;;200:70;;266:1;263;256:12;200:70;289:5;14:286;-1:-1:-1;;;14:286:110:o",
688
+ "sourceMap": "655:716:100:-:0;;;;;;;;;;;;;;;;;;;",
689
+ "deployedSourceMap": "655:716:100:-:0;;;;;;;;;;;;;;;;;;;;;;;2898:11:5;:9;:11::i;:::-;655:716:100;;2675:11:5;:9;:11::i;897:285:100:-;;;;;;;;;;-1:-1:-1;897:285:100;;;;;:::i;:::-;;:::i;2322:110:5:-;2397:28;2407:17;:15;:17::i;:::-;2397:9;:28::i;:::-;2322:110::o;897:285:100:-;-1:-1:-1;;;;;973:28:100;;965:64;;;;-1:-1:-1;;;965:64:100;;507:2:111;965:64:100;;;489:21:111;546:2;526:18;;;519:30;585:25;565:18;;;558:53;628:18;;965:64:100;;;;;;;;;1085:1;1047:26;751:20:101;745:27;;618:170;1047:26:100;-1:-1:-1;;;;;1047:40:100;;1039:83;;;;-1:-1:-1;;;1039:83:100;;859:2:111;1039:83:100;;;841:21:111;898:2;878:18;;;871:30;937:32;917:18;;;910:60;987:18;;1039:83:100;657:354:111;1039:83:100;1132:43;1160:14;988:20:101;964:87;839:228;1132:43:100;897:285;:::o;1238:130::-;1305:7;1335:26;751:20:101;745:27;;618:170;1335:26:100;1328:33;;1238:130;:::o;948:895:5:-;1286:14;1283:1;1280;1267:34;1500:1;1497;1481:14;1478:1;1462:14;1455:5;1442:60;1576:16;1573:1;1570;1555:38;1614:6;1681:66;;;;1796:16;1793:1;1786:27;1681:66;1716:16;1713:1;1706:27;14:286:111;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;168:23;;-1:-1:-1;;;;;220:31:111;;210:42;;200:70;;266:1;263;256:12;200:70;289:5;14:286;-1:-1:-1;;;14:286:111:o",
690
690
  "source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.13;\n\nimport { UUPSUtils } from \"./UUPSUtils.sol\";\nimport { Proxy } from \"@openzeppelin/contracts/proxy/Proxy.sol\";\n\n\n/**\n * @title UUPS (Universal Upgradeable Proxy Standard) Proxy\n *\n * NOTE:\n * - Compliant with [Universal Upgradeable Proxy Standard](https://eips.ethereum.org/EIPS/eip-1822)\n * - Compiiant with [Standard Proxy Storage Slots](https://eips.ethereum.org/EIPS/eip-1967)\n * - Implements delegation of calls to other contracts, with proper forwarding of\n * return values and bubbling of failures.\n * - It defines a fallback function that delegates all calls to the implementation.\n */\ncontract UUPSProxy is Proxy {\n\n /**\n * @dev Proxy initialization function.\n * This should only be called once and it is permission-less.\n * @param initialAddress Initial logic contract code address to be used.\n */\n function initializeProxy(address initialAddress) external {\n require(initialAddress != address(0), \"UUPSProxy: zero address\");\n require(UUPSUtils.implementation() == address(0), \"UUPSProxy: already initialized\");\n UUPSUtils.setImplementation(initialAddress);\n }\n\n /// @dev Proxy._implementation implementation\n function _implementation() internal virtual override view returns (address)\n {\n return UUPSUtils.implementation();\n }\n\n}\n",
691
691
  "sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/upgradability/UUPSProxy.sol",
692
692
  "ast": {
@@ -696,44 +696,44 @@
696
696
  688
697
697
  ],
698
698
  "UUPSProxy": [
699
- 36375
699
+ 36391
700
700
  ],
701
701
  "UUPSUtils": [
702
- 36399
702
+ 36415
703
703
  ]
704
704
  },
705
- "id": 36376,
705
+ "id": 36392,
706
706
  "license": "AGPLv3",
707
707
  "nodeType": "SourceUnit",
708
708
  "nodes": [
709
709
  {
710
- "id": 36320,
710
+ "id": 36336,
711
711
  "literals": [
712
712
  "solidity",
713
713
  "0.8",
714
714
  ".13"
715
715
  ],
716
716
  "nodeType": "PragmaDirective",
717
- "src": "35:23:99"
717
+ "src": "35:23:100"
718
718
  },
719
719
  {
720
720
  "absolutePath": "project:/contracts/upgradability/UUPSUtils.sol",
721
721
  "file": "./UUPSUtils.sol",
722
- "id": 36322,
722
+ "id": 36338,
723
723
  "nameLocation": "-1:-1:-1",
724
724
  "nodeType": "ImportDirective",
725
- "scope": 36376,
726
- "sourceUnit": 36400,
727
- "src": "60:44:99",
725
+ "scope": 36392,
726
+ "sourceUnit": 36416,
727
+ "src": "60:44:100",
728
728
  "symbolAliases": [
729
729
  {
730
730
  "foreign": {
731
- "id": 36321,
731
+ "id": 36337,
732
732
  "name": "UUPSUtils",
733
733
  "nodeType": "Identifier",
734
734
  "overloadedDeclarations": [],
735
- "referencedDeclaration": 36399,
736
- "src": "69:9:99",
735
+ "referencedDeclaration": 36415,
736
+ "src": "69:9:100",
737
737
  "typeDescriptions": {}
738
738
  },
739
739
  "nameLocation": "-1:-1:-1"
@@ -744,21 +744,21 @@
744
744
  {
745
745
  "absolutePath": "@openzeppelin/contracts/proxy/Proxy.sol",
746
746
  "file": "@openzeppelin/contracts/proxy/Proxy.sol",
747
- "id": 36324,
747
+ "id": 36340,
748
748
  "nameLocation": "-1:-1:-1",
749
749
  "nodeType": "ImportDirective",
750
- "scope": 36376,
750
+ "scope": 36392,
751
751
  "sourceUnit": 689,
752
- "src": "105:64:99",
752
+ "src": "105:64:100",
753
753
  "symbolAliases": [
754
754
  {
755
755
  "foreign": {
756
- "id": 36323,
756
+ "id": 36339,
757
757
  "name": "Proxy",
758
758
  "nodeType": "Identifier",
759
759
  "overloadedDeclarations": [],
760
760
  "referencedDeclaration": 688,
761
- "src": "114:5:99",
761
+ "src": "114:5:100",
762
762
  "typeDescriptions": {}
763
763
  },
764
764
  "nameLocation": "-1:-1:-1"
@@ -771,41 +771,41 @@
771
771
  "baseContracts": [
772
772
  {
773
773
  "baseName": {
774
- "id": 36326,
774
+ "id": 36342,
775
775
  "name": "Proxy",
776
776
  "nodeType": "IdentifierPath",
777
777
  "referencedDeclaration": 688,
778
- "src": "677:5:99"
778
+ "src": "677:5:100"
779
779
  },
780
- "id": 36327,
780
+ "id": 36343,
781
781
  "nodeType": "InheritanceSpecifier",
782
- "src": "677:5:99"
782
+ "src": "677:5:100"
783
783
  }
784
784
  ],
785
785
  "canonicalName": "UUPSProxy",
786
786
  "contractDependencies": [],
787
787
  "contractKind": "contract",
788
788
  "documentation": {
789
- "id": 36325,
789
+ "id": 36341,
790
790
  "nodeType": "StructuredDocumentation",
791
- "src": "172:482:99",
791
+ "src": "172:482:100",
792
792
  "text": " @title UUPS (Universal Upgradeable Proxy Standard) Proxy\n NOTE:\n - Compliant with [Universal Upgradeable Proxy Standard](https://eips.ethereum.org/EIPS/eip-1822)\n - Compiiant with [Standard Proxy Storage Slots](https://eips.ethereum.org/EIPS/eip-1967)\n - Implements delegation of calls to other contracts, with proper forwarding of\n return values and bubbling of failures.\n - It defines a fallback function that delegates all calls to the implementation."
793
793
  },
794
794
  "fullyImplemented": true,
795
- "id": 36375,
795
+ "id": 36391,
796
796
  "linearizedBaseContracts": [
797
- 36375,
797
+ 36391,
798
798
  688
799
799
  ],
800
800
  "name": "UUPSProxy",
801
- "nameLocation": "664:9:99",
801
+ "nameLocation": "664:9:100",
802
802
  "nodeType": "ContractDefinition",
803
803
  "nodes": [
804
804
  {
805
805
  "body": {
806
- "id": 36361,
806
+ "id": 36377,
807
807
  "nodeType": "Block",
808
- "src": "955:227:99",
808
+ "src": "955:227:100",
809
809
  "statements": [
810
810
  {
811
811
  "expression": {
@@ -815,18 +815,18 @@
815
815
  "typeIdentifier": "t_address",
816
816
  "typeString": "address"
817
817
  },
818
- "id": 36339,
818
+ "id": 36355,
819
819
  "isConstant": false,
820
820
  "isLValue": false,
821
821
  "isPure": false,
822
822
  "lValueRequested": false,
823
823
  "leftExpression": {
824
- "id": 36334,
824
+ "id": 36350,
825
825
  "name": "initialAddress",
826
826
  "nodeType": "Identifier",
827
827
  "overloadedDeclarations": [],
828
- "referencedDeclaration": 36330,
829
- "src": "973:14:99",
828
+ "referencedDeclaration": 36346,
829
+ "src": "973:14:100",
830
830
  "typeDescriptions": {
831
831
  "typeIdentifier": "t_address",
832
832
  "typeString": "address"
@@ -838,14 +838,14 @@
838
838
  "arguments": [
839
839
  {
840
840
  "hexValue": "30",
841
- "id": 36337,
841
+ "id": 36353,
842
842
  "isConstant": false,
843
843
  "isLValue": false,
844
844
  "isPure": true,
845
845
  "kind": "number",
846
846
  "lValueRequested": false,
847
847
  "nodeType": "Literal",
848
- "src": "999:1:99",
848
+ "src": "999:1:100",
849
849
  "typeDescriptions": {
850
850
  "typeIdentifier": "t_rational_0_by_1",
851
851
  "typeString": "int_const 0"
@@ -860,26 +860,26 @@
860
860
  "typeString": "int_const 0"
861
861
  }
862
862
  ],
863
- "id": 36336,
863
+ "id": 36352,
864
864
  "isConstant": false,
865
865
  "isLValue": false,
866
866
  "isPure": true,
867
867
  "lValueRequested": false,
868
868
  "nodeType": "ElementaryTypeNameExpression",
869
- "src": "991:7:99",
869
+ "src": "991:7:100",
870
870
  "typeDescriptions": {
871
871
  "typeIdentifier": "t_type$_t_address_$",
872
872
  "typeString": "type(address)"
873
873
  },
874
874
  "typeName": {
875
- "id": 36335,
875
+ "id": 36351,
876
876
  "name": "address",
877
877
  "nodeType": "ElementaryTypeName",
878
- "src": "991:7:99",
878
+ "src": "991:7:100",
879
879
  "typeDescriptions": {}
880
880
  }
881
881
  },
882
- "id": 36338,
882
+ "id": 36354,
883
883
  "isConstant": false,
884
884
  "isLValue": false,
885
885
  "isPure": true,
@@ -887,14 +887,14 @@
887
887
  "lValueRequested": false,
888
888
  "names": [],
889
889
  "nodeType": "FunctionCall",
890
- "src": "991:10:99",
890
+ "src": "991:10:100",
891
891
  "tryCall": false,
892
892
  "typeDescriptions": {
893
893
  "typeIdentifier": "t_address",
894
894
  "typeString": "address"
895
895
  }
896
896
  },
897
- "src": "973:28:99",
897
+ "src": "973:28:100",
898
898
  "typeDescriptions": {
899
899
  "typeIdentifier": "t_bool",
900
900
  "typeString": "bool"
@@ -902,14 +902,14 @@
902
902
  },
903
903
  {
904
904
  "hexValue": "5555505350726f78793a207a65726f2061646472657373",
905
- "id": 36340,
905
+ "id": 36356,
906
906
  "isConstant": false,
907
907
  "isLValue": false,
908
908
  "isPure": true,
909
909
  "kind": "string",
910
910
  "lValueRequested": false,
911
911
  "nodeType": "Literal",
912
- "src": "1003:25:99",
912
+ "src": "1003:25:100",
913
913
  "typeDescriptions": {
914
914
  "typeIdentifier": "t_stringliteral_ddef727975921b7952b7e20fd4290233907fcf50863b08b5223d979ede27321e",
915
915
  "typeString": "literal_string \"UUPSProxy: zero address\""
@@ -928,7 +928,7 @@
928
928
  "typeString": "literal_string \"UUPSProxy: zero address\""
929
929
  }
930
930
  ],
931
- "id": 36333,
931
+ "id": 36349,
932
932
  "name": "require",
933
933
  "nodeType": "Identifier",
934
934
  "overloadedDeclarations": [
@@ -936,13 +936,13 @@
936
936
  4294967278
937
937
  ],
938
938
  "referencedDeclaration": 4294967278,
939
- "src": "965:7:99",
939
+ "src": "965:7:100",
940
940
  "typeDescriptions": {
941
941
  "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
942
942
  "typeString": "function (bool,string memory) pure"
943
943
  }
944
944
  },
945
- "id": 36341,
945
+ "id": 36357,
946
946
  "isConstant": false,
947
947
  "isLValue": false,
948
948
  "isPure": false,
@@ -950,16 +950,16 @@
950
950
  "lValueRequested": false,
951
951
  "names": [],
952
952
  "nodeType": "FunctionCall",
953
- "src": "965:64:99",
953
+ "src": "965:64:100",
954
954
  "tryCall": false,
955
955
  "typeDescriptions": {
956
956
  "typeIdentifier": "t_tuple$__$",
957
957
  "typeString": "tuple()"
958
958
  }
959
959
  },
960
- "id": 36342,
960
+ "id": 36358,
961
961
  "nodeType": "ExpressionStatement",
962
- "src": "965:64:99"
962
+ "src": "965:64:100"
963
963
  },
964
964
  {
965
965
  "expression": {
@@ -969,7 +969,7 @@
969
969
  "typeIdentifier": "t_address",
970
970
  "typeString": "address"
971
971
  },
972
- "id": 36351,
972
+ "id": 36367,
973
973
  "isConstant": false,
974
974
  "isLValue": false,
975
975
  "isPure": false,
@@ -979,32 +979,32 @@
979
979
  "expression": {
980
980
  "argumentTypes": [],
981
981
  "expression": {
982
- "id": 36344,
982
+ "id": 36360,
983
983
  "name": "UUPSUtils",
984
984
  "nodeType": "Identifier",
985
985
  "overloadedDeclarations": [],
986
- "referencedDeclaration": 36399,
987
- "src": "1047:9:99",
986
+ "referencedDeclaration": 36415,
987
+ "src": "1047:9:100",
988
988
  "typeDescriptions": {
989
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$36399_$",
989
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$36415_$",
990
990
  "typeString": "type(library UUPSUtils)"
991
991
  }
992
992
  },
993
- "id": 36345,
993
+ "id": 36361,
994
994
  "isConstant": false,
995
995
  "isLValue": false,
996
996
  "isPure": false,
997
997
  "lValueRequested": false,
998
998
  "memberName": "implementation",
999
999
  "nodeType": "MemberAccess",
1000
- "referencedDeclaration": 36390,
1001
- "src": "1047:24:99",
1000
+ "referencedDeclaration": 36406,
1001
+ "src": "1047:24:100",
1002
1002
  "typeDescriptions": {
1003
1003
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
1004
1004
  "typeString": "function () view returns (address)"
1005
1005
  }
1006
1006
  },
1007
- "id": 36346,
1007
+ "id": 36362,
1008
1008
  "isConstant": false,
1009
1009
  "isLValue": false,
1010
1010
  "isPure": false,
@@ -1012,7 +1012,7 @@
1012
1012
  "lValueRequested": false,
1013
1013
  "names": [],
1014
1014
  "nodeType": "FunctionCall",
1015
- "src": "1047:26:99",
1015
+ "src": "1047:26:100",
1016
1016
  "tryCall": false,
1017
1017
  "typeDescriptions": {
1018
1018
  "typeIdentifier": "t_address",
@@ -1025,14 +1025,14 @@
1025
1025
  "arguments": [
1026
1026
  {
1027
1027
  "hexValue": "30",
1028
- "id": 36349,
1028
+ "id": 36365,
1029
1029
  "isConstant": false,
1030
1030
  "isLValue": false,
1031
1031
  "isPure": true,
1032
1032
  "kind": "number",
1033
1033
  "lValueRequested": false,
1034
1034
  "nodeType": "Literal",
1035
- "src": "1085:1:99",
1035
+ "src": "1085:1:100",
1036
1036
  "typeDescriptions": {
1037
1037
  "typeIdentifier": "t_rational_0_by_1",
1038
1038
  "typeString": "int_const 0"
@@ -1047,26 +1047,26 @@
1047
1047
  "typeString": "int_const 0"
1048
1048
  }
1049
1049
  ],
1050
- "id": 36348,
1050
+ "id": 36364,
1051
1051
  "isConstant": false,
1052
1052
  "isLValue": false,
1053
1053
  "isPure": true,
1054
1054
  "lValueRequested": false,
1055
1055
  "nodeType": "ElementaryTypeNameExpression",
1056
- "src": "1077:7:99",
1056
+ "src": "1077:7:100",
1057
1057
  "typeDescriptions": {
1058
1058
  "typeIdentifier": "t_type$_t_address_$",
1059
1059
  "typeString": "type(address)"
1060
1060
  },
1061
1061
  "typeName": {
1062
- "id": 36347,
1062
+ "id": 36363,
1063
1063
  "name": "address",
1064
1064
  "nodeType": "ElementaryTypeName",
1065
- "src": "1077:7:99",
1065
+ "src": "1077:7:100",
1066
1066
  "typeDescriptions": {}
1067
1067
  }
1068
1068
  },
1069
- "id": 36350,
1069
+ "id": 36366,
1070
1070
  "isConstant": false,
1071
1071
  "isLValue": false,
1072
1072
  "isPure": true,
@@ -1074,14 +1074,14 @@
1074
1074
  "lValueRequested": false,
1075
1075
  "names": [],
1076
1076
  "nodeType": "FunctionCall",
1077
- "src": "1077:10:99",
1077
+ "src": "1077:10:100",
1078
1078
  "tryCall": false,
1079
1079
  "typeDescriptions": {
1080
1080
  "typeIdentifier": "t_address",
1081
1081
  "typeString": "address"
1082
1082
  }
1083
1083
  },
1084
- "src": "1047:40:99",
1084
+ "src": "1047:40:100",
1085
1085
  "typeDescriptions": {
1086
1086
  "typeIdentifier": "t_bool",
1087
1087
  "typeString": "bool"
@@ -1089,14 +1089,14 @@
1089
1089
  },
1090
1090
  {
1091
1091
  "hexValue": "5555505350726f78793a20616c726561647920696e697469616c697a6564",
1092
- "id": 36352,
1092
+ "id": 36368,
1093
1093
  "isConstant": false,
1094
1094
  "isLValue": false,
1095
1095
  "isPure": true,
1096
1096
  "kind": "string",
1097
1097
  "lValueRequested": false,
1098
1098
  "nodeType": "Literal",
1099
- "src": "1089:32:99",
1099
+ "src": "1089:32:100",
1100
1100
  "typeDescriptions": {
1101
1101
  "typeIdentifier": "t_stringliteral_b83493ae559d613bdaa11f876d4e817b661ed75187e4a486b85abafea5a50e6c",
1102
1102
  "typeString": "literal_string \"UUPSProxy: already initialized\""
@@ -1115,7 +1115,7 @@
1115
1115
  "typeString": "literal_string \"UUPSProxy: already initialized\""
1116
1116
  }
1117
1117
  ],
1118
- "id": 36343,
1118
+ "id": 36359,
1119
1119
  "name": "require",
1120
1120
  "nodeType": "Identifier",
1121
1121
  "overloadedDeclarations": [
@@ -1123,13 +1123,13 @@
1123
1123
  4294967278
1124
1124
  ],
1125
1125
  "referencedDeclaration": 4294967278,
1126
- "src": "1039:7:99",
1126
+ "src": "1039:7:100",
1127
1127
  "typeDescriptions": {
1128
1128
  "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
1129
1129
  "typeString": "function (bool,string memory) pure"
1130
1130
  }
1131
1131
  },
1132
- "id": 36353,
1132
+ "id": 36369,
1133
1133
  "isConstant": false,
1134
1134
  "isLValue": false,
1135
1135
  "isPure": false,
@@ -1137,27 +1137,27 @@
1137
1137
  "lValueRequested": false,
1138
1138
  "names": [],
1139
1139
  "nodeType": "FunctionCall",
1140
- "src": "1039:83:99",
1140
+ "src": "1039:83:100",
1141
1141
  "tryCall": false,
1142
1142
  "typeDescriptions": {
1143
1143
  "typeIdentifier": "t_tuple$__$",
1144
1144
  "typeString": "tuple()"
1145
1145
  }
1146
1146
  },
1147
- "id": 36354,
1147
+ "id": 36370,
1148
1148
  "nodeType": "ExpressionStatement",
1149
- "src": "1039:83:99"
1149
+ "src": "1039:83:100"
1150
1150
  },
1151
1151
  {
1152
1152
  "expression": {
1153
1153
  "arguments": [
1154
1154
  {
1155
- "id": 36358,
1155
+ "id": 36374,
1156
1156
  "name": "initialAddress",
1157
1157
  "nodeType": "Identifier",
1158
1158
  "overloadedDeclarations": [],
1159
- "referencedDeclaration": 36330,
1160
- "src": "1160:14:99",
1159
+ "referencedDeclaration": 36346,
1160
+ "src": "1160:14:100",
1161
1161
  "typeDescriptions": {
1162
1162
  "typeIdentifier": "t_address",
1163
1163
  "typeString": "address"
@@ -1172,32 +1172,32 @@
1172
1172
  }
1173
1173
  ],
1174
1174
  "expression": {
1175
- "id": 36355,
1175
+ "id": 36371,
1176
1176
  "name": "UUPSUtils",
1177
1177
  "nodeType": "Identifier",
1178
1178
  "overloadedDeclarations": [],
1179
- "referencedDeclaration": 36399,
1180
- "src": "1132:9:99",
1179
+ "referencedDeclaration": 36415,
1180
+ "src": "1132:9:100",
1181
1181
  "typeDescriptions": {
1182
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$36399_$",
1182
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$36415_$",
1183
1183
  "typeString": "type(library UUPSUtils)"
1184
1184
  }
1185
1185
  },
1186
- "id": 36357,
1186
+ "id": 36373,
1187
1187
  "isConstant": false,
1188
1188
  "isLValue": false,
1189
1189
  "isPure": false,
1190
1190
  "lValueRequested": false,
1191
1191
  "memberName": "setImplementation",
1192
1192
  "nodeType": "MemberAccess",
1193
- "referencedDeclaration": 36398,
1194
- "src": "1132:27:99",
1193
+ "referencedDeclaration": 36414,
1194
+ "src": "1132:27:100",
1195
1195
  "typeDescriptions": {
1196
1196
  "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
1197
1197
  "typeString": "function (address)"
1198
1198
  }
1199
1199
  },
1200
- "id": 36359,
1200
+ "id": 36375,
1201
1201
  "isConstant": false,
1202
1202
  "isLValue": false,
1203
1203
  "isPure": false,
@@ -1205,46 +1205,46 @@
1205
1205
  "lValueRequested": false,
1206
1206
  "names": [],
1207
1207
  "nodeType": "FunctionCall",
1208
- "src": "1132:43:99",
1208
+ "src": "1132:43:100",
1209
1209
  "tryCall": false,
1210
1210
  "typeDescriptions": {
1211
1211
  "typeIdentifier": "t_tuple$__$",
1212
1212
  "typeString": "tuple()"
1213
1213
  }
1214
1214
  },
1215
- "id": 36360,
1215
+ "id": 36376,
1216
1216
  "nodeType": "ExpressionStatement",
1217
- "src": "1132:43:99"
1217
+ "src": "1132:43:100"
1218
1218
  }
1219
1219
  ]
1220
1220
  },
1221
1221
  "documentation": {
1222
- "id": 36328,
1222
+ "id": 36344,
1223
1223
  "nodeType": "StructuredDocumentation",
1224
- "src": "690:202:99",
1224
+ "src": "690:202:100",
1225
1225
  "text": " @dev Proxy initialization function.\n This should only be called once and it is permission-less.\n @param initialAddress Initial logic contract code address to be used."
1226
1226
  },
1227
1227
  "functionSelector": "4a0687ef",
1228
- "id": 36362,
1228
+ "id": 36378,
1229
1229
  "implemented": true,
1230
1230
  "kind": "function",
1231
1231
  "modifiers": [],
1232
1232
  "name": "initializeProxy",
1233
- "nameLocation": "906:15:99",
1233
+ "nameLocation": "906:15:100",
1234
1234
  "nodeType": "FunctionDefinition",
1235
1235
  "parameters": {
1236
- "id": 36331,
1236
+ "id": 36347,
1237
1237
  "nodeType": "ParameterList",
1238
1238
  "parameters": [
1239
1239
  {
1240
1240
  "constant": false,
1241
- "id": 36330,
1241
+ "id": 36346,
1242
1242
  "mutability": "mutable",
1243
1243
  "name": "initialAddress",
1244
- "nameLocation": "930:14:99",
1244
+ "nameLocation": "930:14:100",
1245
1245
  "nodeType": "VariableDeclaration",
1246
- "scope": 36362,
1247
- "src": "922:22:99",
1246
+ "scope": 36378,
1247
+ "src": "922:22:100",
1248
1248
  "stateVariable": false,
1249
1249
  "storageLocation": "default",
1250
1250
  "typeDescriptions": {
@@ -1252,10 +1252,10 @@
1252
1252
  "typeString": "address"
1253
1253
  },
1254
1254
  "typeName": {
1255
- "id": 36329,
1255
+ "id": 36345,
1256
1256
  "name": "address",
1257
1257
  "nodeType": "ElementaryTypeName",
1258
- "src": "922:7:99",
1258
+ "src": "922:7:100",
1259
1259
  "stateMutability": "nonpayable",
1260
1260
  "typeDescriptions": {
1261
1261
  "typeIdentifier": "t_address",
@@ -1265,16 +1265,16 @@
1265
1265
  "visibility": "internal"
1266
1266
  }
1267
1267
  ],
1268
- "src": "921:24:99"
1268
+ "src": "921:24:100"
1269
1269
  },
1270
1270
  "returnParameters": {
1271
- "id": 36332,
1271
+ "id": 36348,
1272
1272
  "nodeType": "ParameterList",
1273
1273
  "parameters": [],
1274
- "src": "955:0:99"
1274
+ "src": "955:0:100"
1275
1275
  },
1276
- "scope": 36375,
1277
- "src": "897:285:99",
1276
+ "scope": 36391,
1277
+ "src": "897:285:100",
1278
1278
  "stateMutability": "nonpayable",
1279
1279
  "virtual": false,
1280
1280
  "visibility": "external"
@@ -1284,9 +1284,9 @@
1284
1284
  653
1285
1285
  ],
1286
1286
  "body": {
1287
- "id": 36373,
1287
+ "id": 36389,
1288
1288
  "nodeType": "Block",
1289
- "src": "1318:50:99",
1289
+ "src": "1318:50:100",
1290
1290
  "statements": [
1291
1291
  {
1292
1292
  "expression": {
@@ -1294,32 +1294,32 @@
1294
1294
  "expression": {
1295
1295
  "argumentTypes": [],
1296
1296
  "expression": {
1297
- "id": 36369,
1297
+ "id": 36385,
1298
1298
  "name": "UUPSUtils",
1299
1299
  "nodeType": "Identifier",
1300
1300
  "overloadedDeclarations": [],
1301
- "referencedDeclaration": 36399,
1302
- "src": "1335:9:99",
1301
+ "referencedDeclaration": 36415,
1302
+ "src": "1335:9:100",
1303
1303
  "typeDescriptions": {
1304
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$36399_$",
1304
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$36415_$",
1305
1305
  "typeString": "type(library UUPSUtils)"
1306
1306
  }
1307
1307
  },
1308
- "id": 36370,
1308
+ "id": 36386,
1309
1309
  "isConstant": false,
1310
1310
  "isLValue": false,
1311
1311
  "isPure": false,
1312
1312
  "lValueRequested": false,
1313
1313
  "memberName": "implementation",
1314
1314
  "nodeType": "MemberAccess",
1315
- "referencedDeclaration": 36390,
1316
- "src": "1335:24:99",
1315
+ "referencedDeclaration": 36406,
1316
+ "src": "1335:24:100",
1317
1317
  "typeDescriptions": {
1318
1318
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
1319
1319
  "typeString": "function () view returns (address)"
1320
1320
  }
1321
1321
  },
1322
- "id": 36371,
1322
+ "id": 36387,
1323
1323
  "isConstant": false,
1324
1324
  "isLValue": false,
1325
1325
  "isPure": false,
@@ -1327,58 +1327,58 @@
1327
1327
  "lValueRequested": false,
1328
1328
  "names": [],
1329
1329
  "nodeType": "FunctionCall",
1330
- "src": "1335:26:99",
1330
+ "src": "1335:26:100",
1331
1331
  "tryCall": false,
1332
1332
  "typeDescriptions": {
1333
1333
  "typeIdentifier": "t_address",
1334
1334
  "typeString": "address"
1335
1335
  }
1336
1336
  },
1337
- "functionReturnParameters": 36368,
1338
- "id": 36372,
1337
+ "functionReturnParameters": 36384,
1338
+ "id": 36388,
1339
1339
  "nodeType": "Return",
1340
- "src": "1328:33:99"
1340
+ "src": "1328:33:100"
1341
1341
  }
1342
1342
  ]
1343
1343
  },
1344
1344
  "documentation": {
1345
- "id": 36363,
1345
+ "id": 36379,
1346
1346
  "nodeType": "StructuredDocumentation",
1347
- "src": "1188:45:99",
1347
+ "src": "1188:45:100",
1348
1348
  "text": "@dev Proxy._implementation implementation"
1349
1349
  },
1350
- "id": 36374,
1350
+ "id": 36390,
1351
1351
  "implemented": true,
1352
1352
  "kind": "function",
1353
1353
  "modifiers": [],
1354
1354
  "name": "_implementation",
1355
- "nameLocation": "1247:15:99",
1355
+ "nameLocation": "1247:15:100",
1356
1356
  "nodeType": "FunctionDefinition",
1357
1357
  "overrides": {
1358
- "id": 36365,
1358
+ "id": 36381,
1359
1359
  "nodeType": "OverrideSpecifier",
1360
1360
  "overrides": [],
1361
- "src": "1282:8:99"
1361
+ "src": "1282:8:100"
1362
1362
  },
1363
1363
  "parameters": {
1364
- "id": 36364,
1364
+ "id": 36380,
1365
1365
  "nodeType": "ParameterList",
1366
1366
  "parameters": [],
1367
- "src": "1262:2:99"
1367
+ "src": "1262:2:100"
1368
1368
  },
1369
1369
  "returnParameters": {
1370
- "id": 36368,
1370
+ "id": 36384,
1371
1371
  "nodeType": "ParameterList",
1372
1372
  "parameters": [
1373
1373
  {
1374
1374
  "constant": false,
1375
- "id": 36367,
1375
+ "id": 36383,
1376
1376
  "mutability": "mutable",
1377
1377
  "name": "",
1378
1378
  "nameLocation": "-1:-1:-1",
1379
1379
  "nodeType": "VariableDeclaration",
1380
- "scope": 36374,
1381
- "src": "1305:7:99",
1380
+ "scope": 36390,
1381
+ "src": "1305:7:100",
1382
1382
  "stateVariable": false,
1383
1383
  "storageLocation": "default",
1384
1384
  "typeDescriptions": {
@@ -1386,10 +1386,10 @@
1386
1386
  "typeString": "address"
1387
1387
  },
1388
1388
  "typeName": {
1389
- "id": 36366,
1389
+ "id": 36382,
1390
1390
  "name": "address",
1391
1391
  "nodeType": "ElementaryTypeName",
1392
- "src": "1305:7:99",
1392
+ "src": "1305:7:100",
1393
1393
  "stateMutability": "nonpayable",
1394
1394
  "typeDescriptions": {
1395
1395
  "typeIdentifier": "t_address",
@@ -1399,21 +1399,21 @@
1399
1399
  "visibility": "internal"
1400
1400
  }
1401
1401
  ],
1402
- "src": "1304:9:99"
1402
+ "src": "1304:9:100"
1403
1403
  },
1404
- "scope": 36375,
1405
- "src": "1238:130:99",
1404
+ "scope": 36391,
1405
+ "src": "1238:130:100",
1406
1406
  "stateMutability": "view",
1407
1407
  "virtual": true,
1408
1408
  "visibility": "internal"
1409
1409
  }
1410
1410
  ],
1411
- "scope": 36376,
1412
- "src": "655:716:99",
1411
+ "scope": 36392,
1412
+ "src": "655:716:100",
1413
1413
  "usedErrors": []
1414
1414
  }
1415
1415
  ],
1416
- "src": "35:1337:99"
1416
+ "src": "35:1337:100"
1417
1417
  },
1418
1418
  "compiler": {
1419
1419
  "name": "solc",
@@ -1421,7 +1421,7 @@
1421
1421
  },
1422
1422
  "networks": {},
1423
1423
  "schemaVersion": "3.4.7",
1424
- "updatedAt": "2022-05-06T12:43:05.833Z",
1424
+ "updatedAt": "2022-05-09T18:30:12.031Z",
1425
1425
  "devdoc": {
1426
1426
  "kind": "dev",
1427
1427
  "methods": {