@superfluid-finance/ethereum-contracts 1.3.2-dev.b9b1fe8.0 → 1.3.2-dev.bf84335.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 (116) 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 +4 -4
  6. package/build/contracts/BaseRelayRecipient.json +1 -1
  7. package/build/contracts/BatchLiquidator.json +1046 -1046
  8. package/build/contracts/BatchOperation.json +530 -530
  9. package/build/contracts/CFAv1Library.json +4 -4
  10. package/build/contracts/CallUtils.json +1 -1
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1575 -1575
  12. package/build/contracts/ConstantFlowAgreementV1.json +6639 -6639
  13. package/build/contracts/Context.json +1 -1
  14. package/build/contracts/ContextDefinitions.json +530 -530
  15. package/build/contracts/Create2.json +1 -1
  16. package/build/contracts/CustomSuperTokenBase.json +2 -2
  17. package/build/contracts/ERC165.json +1 -1
  18. package/build/contracts/ERC1820Implementer.json +79 -79
  19. package/build/contracts/ERC1820RegistryCompiled.json +1 -1
  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/ERC777Helper.json +1 -1
  26. package/build/contracts/ERC777RecipientDrainingGas.json +354 -354
  27. package/build/contracts/ERC777RecipientReverting.json +377 -377
  28. package/build/contracts/EnumerableSet.json +1 -1
  29. package/build/contracts/EventsEmitter.json +1 -1
  30. package/build/contracts/ExclusiveInflowTestApp.json +1603 -1603
  31. package/build/contracts/FixedSizeData.json +1 -1
  32. package/build/contracts/FlowExchangeTestApp.json +1713 -1713
  33. package/build/contracts/FlowOperatorDefinitions.json +530 -530
  34. package/build/contracts/FullUpgradableSuperTokenProxy.json +306 -306
  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 +4 -4
  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/IERC20Permit.json +1 -1
  45. package/build/contracts/IERC777.json +1 -1
  46. package/build/contracts/IERC777Recipient.json +1 -1
  47. package/build/contracts/IERC777Sender.json +1 -1
  48. package/build/contracts/IInstantDistributionAgreementV1.json +1 -1
  49. package/build/contracts/IMaticBridgedNativeSuperToken.json +2 -2
  50. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +2 -2
  51. package/build/contracts/IMultiSigWallet.json +1 -1
  52. package/build/contracts/IPureSuperToken.json +2 -2
  53. package/build/contracts/IPureSuperTokenCustom.json +2 -2
  54. package/build/contracts/IRelayRecipient.json +1 -1
  55. package/build/contracts/IResolver.json +1 -1
  56. package/build/contracts/ISETH.json +2 -2
  57. package/build/contracts/ISETHCustom.json +2 -2
  58. package/build/contracts/ISuperAgreement.json +1 -1
  59. package/build/contracts/ISuperApp.json +2 -2
  60. package/build/contracts/ISuperToken.json +2 -2
  61. package/build/contracts/ISuperTokenFactory.json +2 -2
  62. package/build/contracts/ISuperfluid.json +369 -369
  63. package/build/contracts/ISuperfluidGovernance.json +2 -2
  64. package/build/contracts/ISuperfluidToken.json +1 -1
  65. package/build/contracts/ITOGAv1.json +2144 -2144
  66. package/build/contracts/ITOGAv2.json +2144 -2144
  67. package/build/contracts/Initializable.json +1 -1
  68. package/build/contracts/InstantDistributionAgreementV1.json +5430 -5430
  69. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +971 -971
  70. package/build/contracts/NonClosableOutflowTestApp.json +1478 -1478
  71. package/build/contracts/Ownable.json +1 -1
  72. package/build/contracts/Pausable.json +1 -1
  73. package/build/contracts/Proxy.json +1 -1
  74. package/build/contracts/PureSuperToken.json +694 -694
  75. package/build/contracts/Resolver.json +1058 -1058
  76. package/build/contracts/SETHProxy.json +661 -661
  77. package/build/contracts/SafeCast.json +1 -1
  78. package/build/contracts/SafeERC20.json +1 -1
  79. package/build/contracts/SafeMath.json +1 -1
  80. package/build/contracts/SelfDeletingFlowTestApp.json +1575 -1575
  81. package/build/contracts/SlotsBitmapLibrary.json +973 -973
  82. package/build/contracts/StreamRedirector.json +16865 -0
  83. package/build/contracts/Strings.json +1 -1
  84. package/build/contracts/SuperAppBase.json +2 -2
  85. package/build/contracts/SuperAppDefinitions.json +530 -530
  86. package/build/contracts/SuperToken.json +9089 -9089
  87. package/build/contracts/SuperTokenFactory.json +2116 -2116
  88. package/build/contracts/SuperTokenFactoryBase.json +1012 -1012
  89. package/build/contracts/SuperTokenFactoryHelper.json +1118 -1118
  90. package/build/contracts/SuperUpgrader.json +2495 -2495
  91. package/build/contracts/Superfluid.json +13443 -13590
  92. package/build/contracts/SuperfluidFrameworkDeployer.json +2423 -2423
  93. package/build/contracts/SuperfluidGovernanceBase.json +21 -21
  94. package/build/contracts/SuperfluidGovernanceConfigs.json +530 -530
  95. package/build/contracts/SuperfluidGovernanceII.json +2080 -2080
  96. package/build/contracts/SuperfluidGovernanceIIProxy.json +227 -227
  97. package/build/contracts/SuperfluidLoader.json +752 -752
  98. package/build/contracts/SuperfluidToken.json +2293 -2293
  99. package/build/contracts/TOGA.json +4121 -4121
  100. package/build/contracts/TestGovernance.json +2402 -2402
  101. package/build/contracts/TestToken.json +1254 -1254
  102. package/build/contracts/TokenCustodian.json +903 -903
  103. package/build/contracts/TokenInfo.json +1 -1
  104. package/build/contracts/UUPSProxiable.json +247 -247
  105. package/build/contracts/UUPSProxy.json +257 -257
  106. package/build/contracts/UUPSUtils.json +85 -85
  107. package/build/contracts-sizes.txt +1 -1
  108. package/contracts/agreements/ConstantFlowAgreementV1.sol +1 -1
  109. package/contracts/interfaces/superfluid/Definitions.sol +6 -6
  110. package/contracts/interfaces/superfluid/ISuperfluid.sol +4 -4
  111. package/contracts/mocks/AgreementMock.sol +2 -2
  112. package/contracts/mocks/StreamRedirector.sol +179 -0
  113. package/contracts/mocks/SuperAppMocks.sol +3 -4
  114. package/contracts/mocks/SuperfluidMock.sol +2 -2
  115. package/contracts/superfluid/Superfluid.sol +20 -15
  116. package/package.json +3 -3
@@ -97,44 +97,44 @@
97
97
  858
98
98
  ],
99
99
  "UUPSProxiable": [
100
- 36611
100
+ 37025
101
101
  ],
102
102
  "UUPSUtils": [
103
- 36692
103
+ 37106
104
104
  ]
105
105
  },
106
- "id": 36612,
106
+ "id": 37026,
107
107
  "license": "AGPLv3",
108
108
  "nodeType": "SourceUnit",
109
109
  "nodes": [
110
110
  {
111
- "id": 36516,
111
+ "id": 36930,
112
112
  "literals": [
113
113
  "solidity",
114
114
  "0.8",
115
115
  ".14"
116
116
  ],
117
117
  "nodeType": "PragmaDirective",
118
- "src": "35:23:94"
118
+ "src": "35:23:95"
119
119
  },
120
120
  {
121
121
  "absolutePath": "project:/contracts/upgradability/UUPSUtils.sol",
122
122
  "file": "./UUPSUtils.sol",
123
- "id": 36518,
123
+ "id": 36932,
124
124
  "nameLocation": "-1:-1:-1",
125
125
  "nodeType": "ImportDirective",
126
- "scope": 36612,
127
- "sourceUnit": 36693,
128
- "src": "60:44:94",
126
+ "scope": 37026,
127
+ "sourceUnit": 37107,
128
+ "src": "60:44:95",
129
129
  "symbolAliases": [
130
130
  {
131
131
  "foreign": {
132
- "id": 36517,
132
+ "id": 36931,
133
133
  "name": "UUPSUtils",
134
134
  "nodeType": "Identifier",
135
135
  "overloadedDeclarations": [],
136
- "referencedDeclaration": 36692,
137
- "src": "69:9:94",
136
+ "referencedDeclaration": 37106,
137
+ "src": "69:9:95",
138
138
  "typeDescriptions": {}
139
139
  },
140
140
  "nameLocation": "-1:-1:-1"
@@ -145,21 +145,21 @@
145
145
  {
146
146
  "absolutePath": "@openzeppelin/contracts/proxy/utils/Initializable.sol",
147
147
  "file": "@openzeppelin/contracts/proxy/utils/Initializable.sol",
148
- "id": 36520,
148
+ "id": 36934,
149
149
  "nameLocation": "-1:-1:-1",
150
150
  "nodeType": "ImportDirective",
151
- "scope": 36612,
151
+ "scope": 37026,
152
152
  "sourceUnit": 859,
153
- "src": "105:86:94",
153
+ "src": "105:86:95",
154
154
  "symbolAliases": [
155
155
  {
156
156
  "foreign": {
157
- "id": 36519,
157
+ "id": 36933,
158
158
  "name": "Initializable",
159
159
  "nodeType": "Identifier",
160
160
  "overloadedDeclarations": [],
161
161
  "referencedDeclaration": 858,
162
- "src": "114:13:94",
162
+ "src": "114:13:95",
163
163
  "typeDescriptions": {}
164
164
  },
165
165
  "nameLocation": "-1:-1:-1"
@@ -172,41 +172,41 @@
172
172
  "baseContracts": [
173
173
  {
174
174
  "baseName": {
175
- "id": 36522,
175
+ "id": 36936,
176
176
  "name": "Initializable",
177
177
  "nodeType": "IdentifierPath",
178
178
  "referencedDeclaration": 858,
179
- "src": "310:13:94"
179
+ "src": "310:13:95"
180
180
  },
181
- "id": 36523,
181
+ "id": 36937,
182
182
  "nodeType": "InheritanceSpecifier",
183
- "src": "310:13:94"
183
+ "src": "310:13:95"
184
184
  }
185
185
  ],
186
186
  "canonicalName": "UUPSProxiable",
187
187
  "contractDependencies": [],
188
188
  "contractKind": "contract",
189
189
  "documentation": {
190
- "id": 36521,
190
+ "id": 36935,
191
191
  "nodeType": "StructuredDocumentation",
192
- "src": "193:81:94",
192
+ "src": "193:81:95",
193
193
  "text": " @title UUPS (Universal Upgradeable Proxy Standard) Proxiable contract."
194
194
  },
195
195
  "fullyImplemented": false,
196
- "id": 36611,
196
+ "id": 37025,
197
197
  "linearizedBaseContracts": [
198
- 36611,
198
+ 37025,
199
199
  858
200
200
  ],
201
201
  "name": "UUPSProxiable",
202
- "nameLocation": "293:13:94",
202
+ "nameLocation": "293:13:95",
203
203
  "nodeType": "ContractDefinition",
204
204
  "nodes": [
205
205
  {
206
206
  "body": {
207
- "id": 36533,
207
+ "id": 36947,
208
208
  "nodeType": "Block",
209
- "src": "472:50:94",
209
+ "src": "472:50:95",
210
210
  "statements": [
211
211
  {
212
212
  "expression": {
@@ -214,32 +214,32 @@
214
214
  "expression": {
215
215
  "argumentTypes": [],
216
216
  "expression": {
217
- "id": 36529,
217
+ "id": 36943,
218
218
  "name": "UUPSUtils",
219
219
  "nodeType": "Identifier",
220
220
  "overloadedDeclarations": [],
221
- "referencedDeclaration": 36692,
222
- "src": "489:9:94",
221
+ "referencedDeclaration": 37106,
222
+ "src": "489:9:95",
223
223
  "typeDescriptions": {
224
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$36692_$",
224
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$37106_$",
225
225
  "typeString": "type(library UUPSUtils)"
226
226
  }
227
227
  },
228
- "id": 36530,
228
+ "id": 36944,
229
229
  "isConstant": false,
230
230
  "isLValue": false,
231
231
  "isPure": false,
232
232
  "lValueRequested": false,
233
233
  "memberName": "implementation",
234
234
  "nodeType": "MemberAccess",
235
- "referencedDeclaration": 36683,
236
- "src": "489:24:94",
235
+ "referencedDeclaration": 37097,
236
+ "src": "489:24:95",
237
237
  "typeDescriptions": {
238
238
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
239
239
  "typeString": "function () view returns (address)"
240
240
  }
241
241
  },
242
- "id": 36531,
242
+ "id": 36945,
243
243
  "isConstant": false,
244
244
  "isLValue": false,
245
245
  "isPure": false,
@@ -247,53 +247,53 @@
247
247
  "lValueRequested": false,
248
248
  "names": [],
249
249
  "nodeType": "FunctionCall",
250
- "src": "489:26:94",
250
+ "src": "489:26:95",
251
251
  "tryCall": false,
252
252
  "typeDescriptions": {
253
253
  "typeIdentifier": "t_address",
254
254
  "typeString": "address"
255
255
  }
256
256
  },
257
- "functionReturnParameters": 36528,
258
- "id": 36532,
257
+ "functionReturnParameters": 36942,
258
+ "id": 36946,
259
259
  "nodeType": "Return",
260
- "src": "482:33:94"
260
+ "src": "482:33:95"
261
261
  }
262
262
  ]
263
263
  },
264
264
  "documentation": {
265
- "id": 36524,
265
+ "id": 36938,
266
266
  "nodeType": "StructuredDocumentation",
267
- "src": "331:64:94",
267
+ "src": "331:64:95",
268
268
  "text": " @dev Get current implementation code address."
269
269
  },
270
270
  "functionSelector": "50d75d25",
271
- "id": 36534,
271
+ "id": 36948,
272
272
  "implemented": true,
273
273
  "kind": "function",
274
274
  "modifiers": [],
275
275
  "name": "getCodeAddress",
276
- "nameLocation": "409:14:94",
276
+ "nameLocation": "409:14:95",
277
277
  "nodeType": "FunctionDefinition",
278
278
  "parameters": {
279
- "id": 36525,
279
+ "id": 36939,
280
280
  "nodeType": "ParameterList",
281
281
  "parameters": [],
282
- "src": "423:2:94"
282
+ "src": "423:2:95"
283
283
  },
284
284
  "returnParameters": {
285
- "id": 36528,
285
+ "id": 36942,
286
286
  "nodeType": "ParameterList",
287
287
  "parameters": [
288
288
  {
289
289
  "constant": false,
290
- "id": 36527,
290
+ "id": 36941,
291
291
  "mutability": "mutable",
292
292
  "name": "codeAddress",
293
- "nameLocation": "455:11:94",
293
+ "nameLocation": "455:11:95",
294
294
  "nodeType": "VariableDeclaration",
295
- "scope": 36534,
296
- "src": "447:19:94",
295
+ "scope": 36948,
296
+ "src": "447:19:95",
297
297
  "stateVariable": false,
298
298
  "storageLocation": "default",
299
299
  "typeDescriptions": {
@@ -301,10 +301,10 @@
301
301
  "typeString": "address"
302
302
  },
303
303
  "typeName": {
304
- "id": 36526,
304
+ "id": 36940,
305
305
  "name": "address",
306
306
  "nodeType": "ElementaryTypeName",
307
- "src": "447:7:94",
307
+ "src": "447:7:95",
308
308
  "stateMutability": "nonpayable",
309
309
  "typeDescriptions": {
310
310
  "typeIdentifier": "t_address",
@@ -314,36 +314,36 @@
314
314
  "visibility": "internal"
315
315
  }
316
316
  ],
317
- "src": "446:21:94"
317
+ "src": "446:21:95"
318
318
  },
319
- "scope": 36611,
320
- "src": "400:122:94",
319
+ "scope": 37025,
320
+ "src": "400:122:95",
321
321
  "stateMutability": "view",
322
322
  "virtual": false,
323
323
  "visibility": "public"
324
324
  },
325
325
  {
326
326
  "functionSelector": "46951954",
327
- "id": 36539,
327
+ "id": 36953,
328
328
  "implemented": false,
329
329
  "kind": "function",
330
330
  "modifiers": [],
331
331
  "name": "updateCode",
332
- "nameLocation": "537:10:94",
332
+ "nameLocation": "537:10:95",
333
333
  "nodeType": "FunctionDefinition",
334
334
  "parameters": {
335
- "id": 36537,
335
+ "id": 36951,
336
336
  "nodeType": "ParameterList",
337
337
  "parameters": [
338
338
  {
339
339
  "constant": false,
340
- "id": 36536,
340
+ "id": 36950,
341
341
  "mutability": "mutable",
342
342
  "name": "newAddress",
343
- "nameLocation": "556:10:94",
343
+ "nameLocation": "556:10:95",
344
344
  "nodeType": "VariableDeclaration",
345
- "scope": 36539,
346
- "src": "548:18:94",
345
+ "scope": 36953,
346
+ "src": "548:18:95",
347
347
  "stateVariable": false,
348
348
  "storageLocation": "default",
349
349
  "typeDescriptions": {
@@ -351,10 +351,10 @@
351
351
  "typeString": "address"
352
352
  },
353
353
  "typeName": {
354
- "id": 36535,
354
+ "id": 36949,
355
355
  "name": "address",
356
356
  "nodeType": "ElementaryTypeName",
357
- "src": "548:7:94",
357
+ "src": "548:7:95",
358
358
  "stateMutability": "nonpayable",
359
359
  "typeDescriptions": {
360
360
  "typeIdentifier": "t_address",
@@ -364,101 +364,101 @@
364
364
  "visibility": "internal"
365
365
  }
366
366
  ],
367
- "src": "547:20:94"
367
+ "src": "547:20:95"
368
368
  },
369
369
  "returnParameters": {
370
- "id": 36538,
370
+ "id": 36952,
371
371
  "nodeType": "ParameterList",
372
372
  "parameters": [],
373
- "src": "584:0:94"
373
+ "src": "584:0:95"
374
374
  },
375
- "scope": 36611,
376
- "src": "528:57:94",
375
+ "scope": 37025,
376
+ "src": "528:57:95",
377
377
  "stateMutability": "nonpayable",
378
378
  "virtual": true,
379
379
  "visibility": "external"
380
380
  },
381
381
  {
382
382
  "body": {
383
- "id": 36544,
383
+ "id": 36958,
384
384
  "nodeType": "Block",
385
- "src": "772:3:94",
385
+ "src": "772:3:95",
386
386
  "statements": []
387
387
  },
388
388
  "functionSelector": "9903ad38",
389
- "id": 36545,
389
+ "id": 36959,
390
390
  "implemented": true,
391
391
  "kind": "function",
392
392
  "modifiers": [
393
393
  {
394
- "id": 36542,
394
+ "id": 36956,
395
395
  "kind": "modifierInvocation",
396
396
  "modifierName": {
397
- "id": 36541,
397
+ "id": 36955,
398
398
  "name": "initializer",
399
399
  "nodeType": "IdentifierPath",
400
400
  "referencedDeclaration": 778,
401
- "src": "760:11:94"
401
+ "src": "760:11:95"
402
402
  },
403
403
  "nodeType": "ModifierInvocation",
404
- "src": "760:11:94"
404
+ "src": "760:11:95"
405
405
  }
406
406
  ],
407
407
  "name": "castrate",
408
- "nameLocation": "740:8:94",
408
+ "nameLocation": "740:8:95",
409
409
  "nodeType": "FunctionDefinition",
410
410
  "parameters": {
411
- "id": 36540,
411
+ "id": 36954,
412
412
  "nodeType": "ParameterList",
413
413
  "parameters": [],
414
- "src": "748:2:94"
414
+ "src": "748:2:95"
415
415
  },
416
416
  "returnParameters": {
417
- "id": 36543,
417
+ "id": 36957,
418
418
  "nodeType": "ParameterList",
419
419
  "parameters": [],
420
- "src": "772:0:94"
420
+ "src": "772:0:95"
421
421
  },
422
- "scope": 36611,
423
- "src": "731:44:94",
422
+ "scope": 37025,
423
+ "src": "731:44:95",
424
424
  "stateMutability": "nonpayable",
425
425
  "virtual": false,
426
426
  "visibility": "external"
427
427
  },
428
428
  {
429
429
  "documentation": {
430
- "id": 36546,
430
+ "id": 36960,
431
431
  "nodeType": "StructuredDocumentation",
432
- "src": "781:286:94",
432
+ "src": "781:286:95",
433
433
  "text": " @dev Proxiable UUID marker function, this would help to avoid wrong logic\n contract to be used for upgrading.\n NOTE: The semantics of the UUID deviates from the actual UUPS standard,\n where it is equivalent of _IMPLEMENTATION_SLOT."
434
434
  },
435
435
  "functionSelector": "52d1902d",
436
- "id": 36551,
436
+ "id": 36965,
437
437
  "implemented": false,
438
438
  "kind": "function",
439
439
  "modifiers": [],
440
440
  "name": "proxiableUUID",
441
- "nameLocation": "1081:13:94",
441
+ "nameLocation": "1081:13:95",
442
442
  "nodeType": "FunctionDefinition",
443
443
  "parameters": {
444
- "id": 36547,
444
+ "id": 36961,
445
445
  "nodeType": "ParameterList",
446
446
  "parameters": [],
447
- "src": "1094:2:94"
447
+ "src": "1094:2:95"
448
448
  },
449
449
  "returnParameters": {
450
- "id": 36550,
450
+ "id": 36964,
451
451
  "nodeType": "ParameterList",
452
452
  "parameters": [
453
453
  {
454
454
  "constant": false,
455
- "id": 36549,
455
+ "id": 36963,
456
456
  "mutability": "mutable",
457
457
  "name": "",
458
458
  "nameLocation": "-1:-1:-1",
459
459
  "nodeType": "VariableDeclaration",
460
- "scope": 36551,
461
- "src": "1126:7:94",
460
+ "scope": 36965,
461
+ "src": "1126:7:95",
462
462
  "stateVariable": false,
463
463
  "storageLocation": "default",
464
464
  "typeDescriptions": {
@@ -466,10 +466,10 @@
466
466
  "typeString": "bytes32"
467
467
  },
468
468
  "typeName": {
469
- "id": 36548,
469
+ "id": 36962,
470
470
  "name": "bytes32",
471
471
  "nodeType": "ElementaryTypeName",
472
- "src": "1126:7:94",
472
+ "src": "1126:7:95",
473
473
  "typeDescriptions": {
474
474
  "typeIdentifier": "t_bytes32",
475
475
  "typeString": "bytes32"
@@ -478,19 +478,19 @@
478
478
  "visibility": "internal"
479
479
  }
480
480
  ],
481
- "src": "1125:9:94"
481
+ "src": "1125:9:95"
482
482
  },
483
- "scope": 36611,
484
- "src": "1072:63:94",
483
+ "scope": 37025,
484
+ "src": "1072:63:95",
485
485
  "stateMutability": "view",
486
486
  "virtual": true,
487
487
  "visibility": "public"
488
488
  },
489
489
  {
490
490
  "body": {
491
- "id": 36603,
491
+ "id": 37017,
492
492
  "nodeType": "Block",
493
- "src": "1350:515:94",
493
+ "src": "1350:515:95",
494
494
  "statements": [
495
495
  {
496
496
  "expression": {
@@ -500,7 +500,7 @@
500
500
  "typeIdentifier": "t_address",
501
501
  "typeString": "address"
502
502
  },
503
- "id": 36565,
503
+ "id": 36979,
504
504
  "isConstant": false,
505
505
  "isLValue": false,
506
506
  "isPure": false,
@@ -510,32 +510,32 @@
510
510
  "expression": {
511
511
  "argumentTypes": [],
512
512
  "expression": {
513
- "id": 36558,
513
+ "id": 36972,
514
514
  "name": "UUPSUtils",
515
515
  "nodeType": "Identifier",
516
516
  "overloadedDeclarations": [],
517
- "referencedDeclaration": 36692,
518
- "src": "1419:9:94",
517
+ "referencedDeclaration": 37106,
518
+ "src": "1419:9:95",
519
519
  "typeDescriptions": {
520
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$36692_$",
520
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$37106_$",
521
521
  "typeString": "type(library UUPSUtils)"
522
522
  }
523
523
  },
524
- "id": 36559,
524
+ "id": 36973,
525
525
  "isConstant": false,
526
526
  "isLValue": false,
527
527
  "isPure": false,
528
528
  "lValueRequested": false,
529
529
  "memberName": "implementation",
530
530
  "nodeType": "MemberAccess",
531
- "referencedDeclaration": 36683,
532
- "src": "1419:24:94",
531
+ "referencedDeclaration": 37097,
532
+ "src": "1419:24:95",
533
533
  "typeDescriptions": {
534
534
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
535
535
  "typeString": "function () view returns (address)"
536
536
  }
537
537
  },
538
- "id": 36560,
538
+ "id": 36974,
539
539
  "isConstant": false,
540
540
  "isLValue": false,
541
541
  "isPure": false,
@@ -543,7 +543,7 @@
543
543
  "lValueRequested": false,
544
544
  "names": [],
545
545
  "nodeType": "FunctionCall",
546
- "src": "1419:26:94",
546
+ "src": "1419:26:95",
547
547
  "tryCall": false,
548
548
  "typeDescriptions": {
549
549
  "typeIdentifier": "t_address",
@@ -556,14 +556,14 @@
556
556
  "arguments": [
557
557
  {
558
558
  "hexValue": "30",
559
- "id": 36563,
559
+ "id": 36977,
560
560
  "isConstant": false,
561
561
  "isLValue": false,
562
562
  "isPure": true,
563
563
  "kind": "number",
564
564
  "lValueRequested": false,
565
565
  "nodeType": "Literal",
566
- "src": "1457:1:94",
566
+ "src": "1457:1:95",
567
567
  "typeDescriptions": {
568
568
  "typeIdentifier": "t_rational_0_by_1",
569
569
  "typeString": "int_const 0"
@@ -578,26 +578,26 @@
578
578
  "typeString": "int_const 0"
579
579
  }
580
580
  ],
581
- "id": 36562,
581
+ "id": 36976,
582
582
  "isConstant": false,
583
583
  "isLValue": false,
584
584
  "isPure": true,
585
585
  "lValueRequested": false,
586
586
  "nodeType": "ElementaryTypeNameExpression",
587
- "src": "1449:7:94",
587
+ "src": "1449:7:95",
588
588
  "typeDescriptions": {
589
589
  "typeIdentifier": "t_type$_t_address_$",
590
590
  "typeString": "type(address)"
591
591
  },
592
592
  "typeName": {
593
- "id": 36561,
593
+ "id": 36975,
594
594
  "name": "address",
595
595
  "nodeType": "ElementaryTypeName",
596
- "src": "1449:7:94",
596
+ "src": "1449:7:95",
597
597
  "typeDescriptions": {}
598
598
  }
599
599
  },
600
- "id": 36564,
600
+ "id": 36978,
601
601
  "isConstant": false,
602
602
  "isLValue": false,
603
603
  "isPure": true,
@@ -605,14 +605,14 @@
605
605
  "lValueRequested": false,
606
606
  "names": [],
607
607
  "nodeType": "FunctionCall",
608
- "src": "1449:10:94",
608
+ "src": "1449:10:95",
609
609
  "tryCall": false,
610
610
  "typeDescriptions": {
611
611
  "typeIdentifier": "t_address",
612
612
  "typeString": "address"
613
613
  }
614
614
  },
615
- "src": "1419:40:94",
615
+ "src": "1419:40:95",
616
616
  "typeDescriptions": {
617
617
  "typeIdentifier": "t_bool",
618
618
  "typeString": "bool"
@@ -620,14 +620,14 @@
620
620
  },
621
621
  {
622
622
  "hexValue": "5555505350726f786961626c653a206e6f742075706772616461626c65",
623
- "id": 36566,
623
+ "id": 36980,
624
624
  "isConstant": false,
625
625
  "isLValue": false,
626
626
  "isPure": true,
627
627
  "kind": "string",
628
628
  "lValueRequested": false,
629
629
  "nodeType": "Literal",
630
- "src": "1461:31:94",
630
+ "src": "1461:31:95",
631
631
  "typeDescriptions": {
632
632
  "typeIdentifier": "t_stringliteral_befd5f2ffca520b9208eba0ffa41bf9e0aed29a8580655fdb778030efa521bea",
633
633
  "typeString": "literal_string \"UUPSProxiable: not upgradable\""
@@ -646,7 +646,7 @@
646
646
  "typeString": "literal_string \"UUPSProxiable: not upgradable\""
647
647
  }
648
648
  ],
649
- "id": 36557,
649
+ "id": 36971,
650
650
  "name": "require",
651
651
  "nodeType": "Identifier",
652
652
  "overloadedDeclarations": [
@@ -654,13 +654,13 @@
654
654
  4294967278
655
655
  ],
656
656
  "referencedDeclaration": 4294967278,
657
- "src": "1411:7:94",
657
+ "src": "1411:7:95",
658
658
  "typeDescriptions": {
659
659
  "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
660
660
  "typeString": "function (bool,string memory) pure"
661
661
  }
662
662
  },
663
- "id": 36567,
663
+ "id": 36981,
664
664
  "isConstant": false,
665
665
  "isLValue": false,
666
666
  "isPure": false,
@@ -668,16 +668,16 @@
668
668
  "lValueRequested": false,
669
669
  "names": [],
670
670
  "nodeType": "FunctionCall",
671
- "src": "1411:82:94",
671
+ "src": "1411:82:95",
672
672
  "tryCall": false,
673
673
  "typeDescriptions": {
674
674
  "typeIdentifier": "t_tuple$__$",
675
675
  "typeString": "tuple()"
676
676
  }
677
677
  },
678
- "id": 36568,
678
+ "id": 36982,
679
679
  "nodeType": "ExpressionStatement",
680
- "src": "1411:82:94"
680
+ "src": "1411:82:95"
681
681
  },
682
682
  {
683
683
  "expression": {
@@ -687,7 +687,7 @@
687
687
  "typeIdentifier": "t_bytes32",
688
688
  "typeString": "bytes32"
689
689
  },
690
- "id": 36577,
690
+ "id": 36991,
691
691
  "isConstant": false,
692
692
  "isLValue": false,
693
693
  "isPure": false,
@@ -696,18 +696,18 @@
696
696
  "arguments": [],
697
697
  "expression": {
698
698
  "argumentTypes": [],
699
- "id": 36570,
699
+ "id": 36984,
700
700
  "name": "proxiableUUID",
701
701
  "nodeType": "Identifier",
702
702
  "overloadedDeclarations": [],
703
- "referencedDeclaration": 36551,
704
- "src": "1524:13:94",
703
+ "referencedDeclaration": 36965,
704
+ "src": "1524:13:95",
705
705
  "typeDescriptions": {
706
706
  "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes32_$",
707
707
  "typeString": "function () view returns (bytes32)"
708
708
  }
709
709
  },
710
- "id": 36571,
710
+ "id": 36985,
711
711
  "isConstant": false,
712
712
  "isLValue": false,
713
713
  "isPure": false,
@@ -715,7 +715,7 @@
715
715
  "lValueRequested": false,
716
716
  "names": [],
717
717
  "nodeType": "FunctionCall",
718
- "src": "1524:15:94",
718
+ "src": "1524:15:95",
719
719
  "tryCall": false,
720
720
  "typeDescriptions": {
721
721
  "typeIdentifier": "t_bytes32",
@@ -731,12 +731,12 @@
731
731
  "expression": {
732
732
  "arguments": [
733
733
  {
734
- "id": 36573,
734
+ "id": 36987,
735
735
  "name": "newAddress",
736
736
  "nodeType": "Identifier",
737
737
  "overloadedDeclarations": [],
738
- "referencedDeclaration": 36554,
739
- "src": "1557:10:94",
738
+ "referencedDeclaration": 36968,
739
+ "src": "1557:10:95",
740
740
  "typeDescriptions": {
741
741
  "typeIdentifier": "t_address",
742
742
  "typeString": "address"
@@ -750,18 +750,18 @@
750
750
  "typeString": "address"
751
751
  }
752
752
  ],
753
- "id": 36572,
753
+ "id": 36986,
754
754
  "name": "UUPSProxiable",
755
755
  "nodeType": "Identifier",
756
756
  "overloadedDeclarations": [],
757
- "referencedDeclaration": 36611,
758
- "src": "1543:13:94",
757
+ "referencedDeclaration": 37025,
758
+ "src": "1543:13:95",
759
759
  "typeDescriptions": {
760
- "typeIdentifier": "t_type$_t_contract$_UUPSProxiable_$36611_$",
760
+ "typeIdentifier": "t_type$_t_contract$_UUPSProxiable_$37025_$",
761
761
  "typeString": "type(contract UUPSProxiable)"
762
762
  }
763
763
  },
764
- "id": 36574,
764
+ "id": 36988,
765
765
  "isConstant": false,
766
766
  "isLValue": false,
767
767
  "isPure": false,
@@ -769,28 +769,28 @@
769
769
  "lValueRequested": false,
770
770
  "names": [],
771
771
  "nodeType": "FunctionCall",
772
- "src": "1543:25:94",
772
+ "src": "1543:25:95",
773
773
  "tryCall": false,
774
774
  "typeDescriptions": {
775
- "typeIdentifier": "t_contract$_UUPSProxiable_$36611",
775
+ "typeIdentifier": "t_contract$_UUPSProxiable_$37025",
776
776
  "typeString": "contract UUPSProxiable"
777
777
  }
778
778
  },
779
- "id": 36575,
779
+ "id": 36989,
780
780
  "isConstant": false,
781
781
  "isLValue": false,
782
782
  "isPure": false,
783
783
  "lValueRequested": false,
784
784
  "memberName": "proxiableUUID",
785
785
  "nodeType": "MemberAccess",
786
- "referencedDeclaration": 36551,
787
- "src": "1543:39:94",
786
+ "referencedDeclaration": 36965,
787
+ "src": "1543:39:95",
788
788
  "typeDescriptions": {
789
789
  "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$",
790
790
  "typeString": "function () view external returns (bytes32)"
791
791
  }
792
792
  },
793
- "id": 36576,
793
+ "id": 36990,
794
794
  "isConstant": false,
795
795
  "isLValue": false,
796
796
  "isPure": false,
@@ -798,14 +798,14 @@
798
798
  "lValueRequested": false,
799
799
  "names": [],
800
800
  "nodeType": "FunctionCall",
801
- "src": "1543:41:94",
801
+ "src": "1543:41:95",
802
802
  "tryCall": false,
803
803
  "typeDescriptions": {
804
804
  "typeIdentifier": "t_bytes32",
805
805
  "typeString": "bytes32"
806
806
  }
807
807
  },
808
- "src": "1524:60:94",
808
+ "src": "1524:60:95",
809
809
  "typeDescriptions": {
810
810
  "typeIdentifier": "t_bool",
811
811
  "typeString": "bool"
@@ -813,14 +813,14 @@
813
813
  },
814
814
  {
815
815
  "hexValue": "5555505350726f786961626c653a206e6f7420636f6d70617469626c65206c6f676963",
816
- "id": 36578,
816
+ "id": 36992,
817
817
  "isConstant": false,
818
818
  "isLValue": false,
819
819
  "isPure": true,
820
820
  "kind": "string",
821
821
  "lValueRequested": false,
822
822
  "nodeType": "Literal",
823
- "src": "1598:37:94",
823
+ "src": "1598:37:95",
824
824
  "typeDescriptions": {
825
825
  "typeIdentifier": "t_stringliteral_0c74ad657035ec53451093745d5caa5909a42dace836130f97873b36755af913",
826
826
  "typeString": "literal_string \"UUPSProxiable: not compatible logic\""
@@ -839,7 +839,7 @@
839
839
  "typeString": "literal_string \"UUPSProxiable: not compatible logic\""
840
840
  }
841
841
  ],
842
- "id": 36569,
842
+ "id": 36983,
843
843
  "name": "require",
844
844
  "nodeType": "Identifier",
845
845
  "overloadedDeclarations": [
@@ -847,13 +847,13 @@
847
847
  4294967278
848
848
  ],
849
849
  "referencedDeclaration": 4294967278,
850
- "src": "1503:7:94",
850
+ "src": "1503:7:95",
851
851
  "typeDescriptions": {
852
852
  "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
853
853
  "typeString": "function (bool,string memory) pure"
854
854
  }
855
855
  },
856
- "id": 36579,
856
+ "id": 36993,
857
857
  "isConstant": false,
858
858
  "isLValue": false,
859
859
  "isPure": false,
@@ -861,16 +861,16 @@
861
861
  "lValueRequested": false,
862
862
  "names": [],
863
863
  "nodeType": "FunctionCall",
864
- "src": "1503:142:94",
864
+ "src": "1503:142:95",
865
865
  "tryCall": false,
866
866
  "typeDescriptions": {
867
867
  "typeIdentifier": "t_tuple$__$",
868
868
  "typeString": "tuple()"
869
869
  }
870
870
  },
871
- "id": 36580,
871
+ "id": 36994,
872
872
  "nodeType": "ExpressionStatement",
873
- "src": "1503:142:94"
873
+ "src": "1503:142:95"
874
874
  },
875
875
  {
876
876
  "expression": {
@@ -880,7 +880,7 @@
880
880
  "typeIdentifier": "t_address",
881
881
  "typeString": "address"
882
882
  },
883
- "id": 36587,
883
+ "id": 37001,
884
884
  "isConstant": false,
885
885
  "isLValue": false,
886
886
  "isPure": false,
@@ -888,14 +888,14 @@
888
888
  "leftExpression": {
889
889
  "arguments": [
890
890
  {
891
- "id": 36584,
891
+ "id": 36998,
892
892
  "name": "this",
893
893
  "nodeType": "Identifier",
894
894
  "overloadedDeclarations": [],
895
895
  "referencedDeclaration": 4294967268,
896
- "src": "1684:4:94",
896
+ "src": "1684:4:95",
897
897
  "typeDescriptions": {
898
- "typeIdentifier": "t_contract$_UUPSProxiable_$36611",
898
+ "typeIdentifier": "t_contract$_UUPSProxiable_$37025",
899
899
  "typeString": "contract UUPSProxiable"
900
900
  }
901
901
  }
@@ -903,30 +903,30 @@
903
903
  "expression": {
904
904
  "argumentTypes": [
905
905
  {
906
- "typeIdentifier": "t_contract$_UUPSProxiable_$36611",
906
+ "typeIdentifier": "t_contract$_UUPSProxiable_$37025",
907
907
  "typeString": "contract UUPSProxiable"
908
908
  }
909
909
  ],
910
- "id": 36583,
910
+ "id": 36997,
911
911
  "isConstant": false,
912
912
  "isLValue": false,
913
913
  "isPure": true,
914
914
  "lValueRequested": false,
915
915
  "nodeType": "ElementaryTypeNameExpression",
916
- "src": "1676:7:94",
916
+ "src": "1676:7:95",
917
917
  "typeDescriptions": {
918
918
  "typeIdentifier": "t_type$_t_address_$",
919
919
  "typeString": "type(address)"
920
920
  },
921
921
  "typeName": {
922
- "id": 36582,
922
+ "id": 36996,
923
923
  "name": "address",
924
924
  "nodeType": "ElementaryTypeName",
925
- "src": "1676:7:94",
925
+ "src": "1676:7:95",
926
926
  "typeDescriptions": {}
927
927
  }
928
928
  },
929
- "id": 36585,
929
+ "id": 36999,
930
930
  "isConstant": false,
931
931
  "isLValue": false,
932
932
  "isPure": false,
@@ -934,7 +934,7 @@
934
934
  "lValueRequested": false,
935
935
  "names": [],
936
936
  "nodeType": "FunctionCall",
937
- "src": "1676:13:94",
937
+ "src": "1676:13:95",
938
938
  "tryCall": false,
939
939
  "typeDescriptions": {
940
940
  "typeIdentifier": "t_address",
@@ -944,18 +944,18 @@
944
944
  "nodeType": "BinaryOperation",
945
945
  "operator": "!=",
946
946
  "rightExpression": {
947
- "id": 36586,
947
+ "id": 37000,
948
948
  "name": "newAddress",
949
949
  "nodeType": "Identifier",
950
950
  "overloadedDeclarations": [],
951
- "referencedDeclaration": 36554,
952
- "src": "1693:10:94",
951
+ "referencedDeclaration": 36968,
952
+ "src": "1693:10:95",
953
953
  "typeDescriptions": {
954
954
  "typeIdentifier": "t_address",
955
955
  "typeString": "address"
956
956
  }
957
957
  },
958
- "src": "1676:27:94",
958
+ "src": "1676:27:95",
959
959
  "typeDescriptions": {
960
960
  "typeIdentifier": "t_bool",
961
961
  "typeString": "bool"
@@ -963,14 +963,14 @@
963
963
  },
964
964
  {
965
965
  "hexValue": "5555505350726f786961626c653a2070726f7879206c6f6f70",
966
- "id": 36588,
966
+ "id": 37002,
967
967
  "isConstant": false,
968
968
  "isLValue": false,
969
969
  "isPure": true,
970
970
  "kind": "string",
971
971
  "lValueRequested": false,
972
972
  "nodeType": "Literal",
973
- "src": "1717:27:94",
973
+ "src": "1717:27:95",
974
974
  "typeDescriptions": {
975
975
  "typeIdentifier": "t_stringliteral_7cebf0bf1547141b7b7f87cc08cf4eb6b11676b9b00928b28fdc7e005edd97c0",
976
976
  "typeString": "literal_string \"UUPSProxiable: proxy loop\""
@@ -989,7 +989,7 @@
989
989
  "typeString": "literal_string \"UUPSProxiable: proxy loop\""
990
990
  }
991
991
  ],
992
- "id": 36581,
992
+ "id": 36995,
993
993
  "name": "require",
994
994
  "nodeType": "Identifier",
995
995
  "overloadedDeclarations": [
@@ -997,13 +997,13 @@
997
997
  4294967278
998
998
  ],
999
999
  "referencedDeclaration": 4294967278,
1000
- "src": "1655:7:94",
1000
+ "src": "1655:7:95",
1001
1001
  "typeDescriptions": {
1002
1002
  "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
1003
1003
  "typeString": "function (bool,string memory) pure"
1004
1004
  }
1005
1005
  },
1006
- "id": 36589,
1006
+ "id": 37003,
1007
1007
  "isConstant": false,
1008
1008
  "isLValue": false,
1009
1009
  "isPure": false,
@@ -1011,27 +1011,27 @@
1011
1011
  "lValueRequested": false,
1012
1012
  "names": [],
1013
1013
  "nodeType": "FunctionCall",
1014
- "src": "1655:99:94",
1014
+ "src": "1655:99:95",
1015
1015
  "tryCall": false,
1016
1016
  "typeDescriptions": {
1017
1017
  "typeIdentifier": "t_tuple$__$",
1018
1018
  "typeString": "tuple()"
1019
1019
  }
1020
1020
  },
1021
- "id": 36590,
1021
+ "id": 37004,
1022
1022
  "nodeType": "ExpressionStatement",
1023
- "src": "1655:99:94"
1023
+ "src": "1655:99:95"
1024
1024
  },
1025
1025
  {
1026
1026
  "expression": {
1027
1027
  "arguments": [
1028
1028
  {
1029
- "id": 36594,
1029
+ "id": 37008,
1030
1030
  "name": "newAddress",
1031
1031
  "nodeType": "Identifier",
1032
1032
  "overloadedDeclarations": [],
1033
- "referencedDeclaration": 36554,
1034
- "src": "1792:10:94",
1033
+ "referencedDeclaration": 36968,
1034
+ "src": "1792:10:95",
1035
1035
  "typeDescriptions": {
1036
1036
  "typeIdentifier": "t_address",
1037
1037
  "typeString": "address"
@@ -1046,32 +1046,32 @@
1046
1046
  }
1047
1047
  ],
1048
1048
  "expression": {
1049
- "id": 36591,
1049
+ "id": 37005,
1050
1050
  "name": "UUPSUtils",
1051
1051
  "nodeType": "Identifier",
1052
1052
  "overloadedDeclarations": [],
1053
- "referencedDeclaration": 36692,
1054
- "src": "1764:9:94",
1053
+ "referencedDeclaration": 37106,
1054
+ "src": "1764:9:95",
1055
1055
  "typeDescriptions": {
1056
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$36692_$",
1056
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$37106_$",
1057
1057
  "typeString": "type(library UUPSUtils)"
1058
1058
  }
1059
1059
  },
1060
- "id": 36593,
1060
+ "id": 37007,
1061
1061
  "isConstant": false,
1062
1062
  "isLValue": false,
1063
1063
  "isPure": false,
1064
1064
  "lValueRequested": false,
1065
1065
  "memberName": "setImplementation",
1066
1066
  "nodeType": "MemberAccess",
1067
- "referencedDeclaration": 36691,
1068
- "src": "1764:27:94",
1067
+ "referencedDeclaration": 37105,
1068
+ "src": "1764:27:95",
1069
1069
  "typeDescriptions": {
1070
1070
  "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
1071
1071
  "typeString": "function (address)"
1072
1072
  }
1073
1073
  },
1074
- "id": 36595,
1074
+ "id": 37009,
1075
1075
  "isConstant": false,
1076
1076
  "isLValue": false,
1077
1077
  "isPure": false,
@@ -1079,16 +1079,16 @@
1079
1079
  "lValueRequested": false,
1080
1080
  "names": [],
1081
1081
  "nodeType": "FunctionCall",
1082
- "src": "1764:39:94",
1082
+ "src": "1764:39:95",
1083
1083
  "tryCall": false,
1084
1084
  "typeDescriptions": {
1085
1085
  "typeIdentifier": "t_tuple$__$",
1086
1086
  "typeString": "tuple()"
1087
1087
  }
1088
1088
  },
1089
- "id": 36596,
1089
+ "id": 37010,
1090
1090
  "nodeType": "ExpressionStatement",
1091
- "src": "1764:39:94"
1091
+ "src": "1764:39:95"
1092
1092
  },
1093
1093
  {
1094
1094
  "eventCall": {
@@ -1097,18 +1097,18 @@
1097
1097
  "arguments": [],
1098
1098
  "expression": {
1099
1099
  "argumentTypes": [],
1100
- "id": 36598,
1100
+ "id": 37012,
1101
1101
  "name": "proxiableUUID",
1102
1102
  "nodeType": "Identifier",
1103
1103
  "overloadedDeclarations": [],
1104
- "referencedDeclaration": 36551,
1105
- "src": "1830:13:94",
1104
+ "referencedDeclaration": 36965,
1105
+ "src": "1830:13:95",
1106
1106
  "typeDescriptions": {
1107
1107
  "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes32_$",
1108
1108
  "typeString": "function () view returns (bytes32)"
1109
1109
  }
1110
1110
  },
1111
- "id": 36599,
1111
+ "id": 37013,
1112
1112
  "isConstant": false,
1113
1113
  "isLValue": false,
1114
1114
  "isPure": false,
@@ -1116,7 +1116,7 @@
1116
1116
  "lValueRequested": false,
1117
1117
  "names": [],
1118
1118
  "nodeType": "FunctionCall",
1119
- "src": "1830:15:94",
1119
+ "src": "1830:15:95",
1120
1120
  "tryCall": false,
1121
1121
  "typeDescriptions": {
1122
1122
  "typeIdentifier": "t_bytes32",
@@ -1124,12 +1124,12 @@
1124
1124
  }
1125
1125
  },
1126
1126
  {
1127
- "id": 36600,
1127
+ "id": 37014,
1128
1128
  "name": "newAddress",
1129
1129
  "nodeType": "Identifier",
1130
1130
  "overloadedDeclarations": [],
1131
- "referencedDeclaration": 36554,
1132
- "src": "1847:10:94",
1131
+ "referencedDeclaration": 36968,
1132
+ "src": "1847:10:95",
1133
1133
  "typeDescriptions": {
1134
1134
  "typeIdentifier": "t_address",
1135
1135
  "typeString": "address"
@@ -1147,18 +1147,18 @@
1147
1147
  "typeString": "address"
1148
1148
  }
1149
1149
  ],
1150
- "id": 36597,
1150
+ "id": 37011,
1151
1151
  "name": "CodeUpdated",
1152
1152
  "nodeType": "Identifier",
1153
1153
  "overloadedDeclarations": [],
1154
- "referencedDeclaration": 36610,
1155
- "src": "1818:11:94",
1154
+ "referencedDeclaration": 37024,
1155
+ "src": "1818:11:95",
1156
1156
  "typeDescriptions": {
1157
1157
  "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$",
1158
1158
  "typeString": "function (bytes32,address)"
1159
1159
  }
1160
1160
  },
1161
- "id": 36601,
1161
+ "id": 37015,
1162
1162
  "isConstant": false,
1163
1163
  "isLValue": false,
1164
1164
  "isPure": false,
@@ -1166,45 +1166,45 @@
1166
1166
  "lValueRequested": false,
1167
1167
  "names": [],
1168
1168
  "nodeType": "FunctionCall",
1169
- "src": "1818:40:94",
1169
+ "src": "1818:40:95",
1170
1170
  "tryCall": false,
1171
1171
  "typeDescriptions": {
1172
1172
  "typeIdentifier": "t_tuple$__$",
1173
1173
  "typeString": "tuple()"
1174
1174
  }
1175
1175
  },
1176
- "id": 36602,
1176
+ "id": 37016,
1177
1177
  "nodeType": "EmitStatement",
1178
- "src": "1813:45:94"
1178
+ "src": "1813:45:95"
1179
1179
  }
1180
1180
  ]
1181
1181
  },
1182
1182
  "documentation": {
1183
- "id": 36552,
1183
+ "id": 36966,
1184
1184
  "nodeType": "StructuredDocumentation",
1185
- "src": "1141:143:94",
1185
+ "src": "1141:143:95",
1186
1186
  "text": " @dev Update code address function.\n It is internal, so the derived contract could setup its own permission logic."
1187
1187
  },
1188
- "id": 36604,
1188
+ "id": 37018,
1189
1189
  "implemented": true,
1190
1190
  "kind": "function",
1191
1191
  "modifiers": [],
1192
1192
  "name": "_updateCodeAddress",
1193
- "nameLocation": "1298:18:94",
1193
+ "nameLocation": "1298:18:95",
1194
1194
  "nodeType": "FunctionDefinition",
1195
1195
  "parameters": {
1196
- "id": 36555,
1196
+ "id": 36969,
1197
1197
  "nodeType": "ParameterList",
1198
1198
  "parameters": [
1199
1199
  {
1200
1200
  "constant": false,
1201
- "id": 36554,
1201
+ "id": 36968,
1202
1202
  "mutability": "mutable",
1203
1203
  "name": "newAddress",
1204
- "nameLocation": "1325:10:94",
1204
+ "nameLocation": "1325:10:95",
1205
1205
  "nodeType": "VariableDeclaration",
1206
- "scope": 36604,
1207
- "src": "1317:18:94",
1206
+ "scope": 37018,
1207
+ "src": "1317:18:95",
1208
1208
  "stateVariable": false,
1209
1209
  "storageLocation": "default",
1210
1210
  "typeDescriptions": {
@@ -1212,10 +1212,10 @@
1212
1212
  "typeString": "address"
1213
1213
  },
1214
1214
  "typeName": {
1215
- "id": 36553,
1215
+ "id": 36967,
1216
1216
  "name": "address",
1217
1217
  "nodeType": "ElementaryTypeName",
1218
- "src": "1317:7:94",
1218
+ "src": "1317:7:95",
1219
1219
  "stateMutability": "nonpayable",
1220
1220
  "typeDescriptions": {
1221
1221
  "typeIdentifier": "t_address",
@@ -1225,16 +1225,16 @@
1225
1225
  "visibility": "internal"
1226
1226
  }
1227
1227
  ],
1228
- "src": "1316:20:94"
1228
+ "src": "1316:20:95"
1229
1229
  },
1230
1230
  "returnParameters": {
1231
- "id": 36556,
1231
+ "id": 36970,
1232
1232
  "nodeType": "ParameterList",
1233
1233
  "parameters": [],
1234
- "src": "1350:0:94"
1234
+ "src": "1350:0:95"
1235
1235
  },
1236
- "scope": 36611,
1237
- "src": "1289:576:94",
1236
+ "scope": 37025,
1237
+ "src": "1289:576:95",
1238
1238
  "stateMutability": "nonpayable",
1239
1239
  "virtual": false,
1240
1240
  "visibility": "internal"
@@ -1242,24 +1242,24 @@
1242
1242
  {
1243
1243
  "anonymous": false,
1244
1244
  "eventSelector": "e011bc04c286c344a8fcbb8de77f953da762c3e25d8cdea984147fc4168a5dcc",
1245
- "id": 36610,
1245
+ "id": 37024,
1246
1246
  "name": "CodeUpdated",
1247
- "nameLocation": "1877:11:94",
1247
+ "nameLocation": "1877:11:95",
1248
1248
  "nodeType": "EventDefinition",
1249
1249
  "parameters": {
1250
- "id": 36609,
1250
+ "id": 37023,
1251
1251
  "nodeType": "ParameterList",
1252
1252
  "parameters": [
1253
1253
  {
1254
1254
  "constant": false,
1255
- "id": 36606,
1255
+ "id": 37020,
1256
1256
  "indexed": false,
1257
1257
  "mutability": "mutable",
1258
1258
  "name": "uuid",
1259
- "nameLocation": "1897:4:94",
1259
+ "nameLocation": "1897:4:95",
1260
1260
  "nodeType": "VariableDeclaration",
1261
- "scope": 36610,
1262
- "src": "1889:12:94",
1261
+ "scope": 37024,
1262
+ "src": "1889:12:95",
1263
1263
  "stateVariable": false,
1264
1264
  "storageLocation": "default",
1265
1265
  "typeDescriptions": {
@@ -1267,10 +1267,10 @@
1267
1267
  "typeString": "bytes32"
1268
1268
  },
1269
1269
  "typeName": {
1270
- "id": 36605,
1270
+ "id": 37019,
1271
1271
  "name": "bytes32",
1272
1272
  "nodeType": "ElementaryTypeName",
1273
- "src": "1889:7:94",
1273
+ "src": "1889:7:95",
1274
1274
  "typeDescriptions": {
1275
1275
  "typeIdentifier": "t_bytes32",
1276
1276
  "typeString": "bytes32"
@@ -1280,14 +1280,14 @@
1280
1280
  },
1281
1281
  {
1282
1282
  "constant": false,
1283
- "id": 36608,
1283
+ "id": 37022,
1284
1284
  "indexed": false,
1285
1285
  "mutability": "mutable",
1286
1286
  "name": "codeAddress",
1287
- "nameLocation": "1911:11:94",
1287
+ "nameLocation": "1911:11:95",
1288
1288
  "nodeType": "VariableDeclaration",
1289
- "scope": 36610,
1290
- "src": "1903:19:94",
1289
+ "scope": 37024,
1290
+ "src": "1903:19:95",
1291
1291
  "stateVariable": false,
1292
1292
  "storageLocation": "default",
1293
1293
  "typeDescriptions": {
@@ -1295,10 +1295,10 @@
1295
1295
  "typeString": "address"
1296
1296
  },
1297
1297
  "typeName": {
1298
- "id": 36607,
1298
+ "id": 37021,
1299
1299
  "name": "address",
1300
1300
  "nodeType": "ElementaryTypeName",
1301
- "src": "1903:7:94",
1301
+ "src": "1903:7:95",
1302
1302
  "stateMutability": "nonpayable",
1303
1303
  "typeDescriptions": {
1304
1304
  "typeIdentifier": "t_address",
@@ -1308,17 +1308,17 @@
1308
1308
  "visibility": "internal"
1309
1309
  }
1310
1310
  ],
1311
- "src": "1888:35:94"
1311
+ "src": "1888:35:95"
1312
1312
  },
1313
- "src": "1871:53:94"
1313
+ "src": "1871:53:95"
1314
1314
  }
1315
1315
  ],
1316
- "scope": 36612,
1317
- "src": "275:1652:94",
1316
+ "scope": 37026,
1317
+ "src": "275:1652:95",
1318
1318
  "usedErrors": []
1319
1319
  }
1320
1320
  ],
1321
- "src": "35:1893:94"
1321
+ "src": "35:1893:95"
1322
1322
  },
1323
1323
  "compiler": {
1324
1324
  "name": "solc",
@@ -1326,7 +1326,7 @@
1326
1326
  },
1327
1327
  "networks": {},
1328
1328
  "schemaVersion": "3.4.8",
1329
- "updatedAt": "2022-08-09T13:23:52.466Z",
1329
+ "updatedAt": "2022-08-11T12:58:52.102Z",
1330
1330
  "devdoc": {
1331
1331
  "kind": "dev",
1332
1332
  "methods": {