@superfluid-finance/ethereum-contracts 1.2.3-dev.3df6de8.0 → 1.2.3-dev.4eebafa.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 (118) 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 +10 -10
  5. package/build/contracts/AgreementLibrary.json +4 -4
  6. package/build/contracts/BaseRelayRecipient.json +1 -1
  7. package/build/contracts/BatchLiquidator.json +1385 -1242
  8. package/build/contracts/BatchOperation.json +1 -1
  9. package/build/contracts/CFAv1Library.json +3437 -3625
  10. package/build/contracts/CallUtils.json +1 -1
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +4440 -4451
  12. package/build/contracts/ConstantFlowAgreementV1.json +5204 -5204
  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 +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 +1874 -1874
  27. package/build/contracts/ERC777RecipientReverting.json +1896 -1896
  28. package/build/contracts/EnumerableSet.json +1 -1
  29. package/build/contracts/EventsEmitter.json +414 -0
  30. package/build/contracts/ExclusiveInflowTestApp.json +4468 -4479
  31. package/build/contracts/FixedSizeData.json +405 -405
  32. package/build/contracts/FlowExchangeTestApp.json +4578 -4589
  33. package/build/contracts/FlowOperatorDefinitions.json +1 -1
  34. package/build/contracts/FullUpgradableSuperTokenProxy.json +319 -319
  35. package/build/contracts/IAccessControl.json +1 -1
  36. package/build/contracts/IAccessControlEnumerable.json +1 -1
  37. package/build/contracts/IConstantFlowAgreementV1.json +2 -2
  38. package/build/contracts/IDAv1Library.json +3227 -3403
  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/IERC777.json +1 -1
  45. package/build/contracts/IERC777Recipient.json +1 -1
  46. package/build/contracts/IERC777Sender.json +1 -1
  47. package/build/contracts/IInstantDistributionAgreementV1.json +2 -2
  48. package/build/contracts/IMaticBridgedNativeSuperToken.json +6 -6
  49. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +2 -2
  50. package/build/contracts/IMultiSigWallet.json +1 -1
  51. package/build/contracts/IPureSuperToken.json +6 -6
  52. package/build/contracts/IPureSuperTokenCustom.json +2 -2
  53. package/build/contracts/IRelayRecipient.json +1 -1
  54. package/build/contracts/IResolver.json +1 -1
  55. package/build/contracts/ISETH.json +6 -6
  56. package/build/contracts/ISETHCustom.json +2 -2
  57. package/build/contracts/ISuperAgreement.json +2 -2
  58. package/build/contracts/ISuperApp.json +2 -2
  59. package/build/contracts/ISuperToken.json +6 -6
  60. package/build/contracts/ISuperTokenFactory.json +2 -2
  61. package/build/contracts/ISuperfluid.json +2 -2
  62. package/build/contracts/ISuperfluidGovernance.json +2 -2
  63. package/build/contracts/ISuperfluidToken.json +122 -122
  64. package/build/contracts/ITOGAv1.json +2689 -2739
  65. package/build/contracts/ITOGAv2.json +2689 -2739
  66. package/build/contracts/Initializable.json +1 -1
  67. package/build/contracts/InstantDistributionAgreementV1.json +5387 -5387
  68. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +971 -971
  69. package/build/contracts/NonClosableOutflowTestApp.json +4343 -4354
  70. package/build/contracts/Ownable.json +1 -1
  71. package/build/contracts/Pausable.json +1 -1
  72. package/build/contracts/Proxy.json +1 -1
  73. package/build/contracts/PureSuperToken.json +694 -694
  74. package/build/contracts/Resolver.json +1058 -1058
  75. package/build/contracts/SETHProxy.json +661 -661
  76. package/build/contracts/SafeCast.json +1 -1
  77. package/build/contracts/SafeERC20.json +1 -1
  78. package/build/contracts/SafeMath.json +1 -1
  79. package/build/contracts/SelfDeletingFlowTestApp.json +4440 -4451
  80. package/build/contracts/SlotsBitmapLibrary.json +1757 -1757
  81. package/build/contracts/Strings.json +1 -1
  82. package/build/contracts/SuperAppBase.json +2 -2
  83. package/build/contracts/SuperAppDefinitions.json +1 -1
  84. package/build/contracts/SuperToken.json +9757 -9515
  85. package/build/contracts/SuperTokenFactory.json +2074 -2074
  86. package/build/contracts/SuperTokenFactoryBase.json +989 -989
  87. package/build/contracts/SuperTokenFactoryHelper.json +1095 -1095
  88. package/build/contracts/SuperUpgrader.json +2495 -2495
  89. package/build/contracts/Superfluid.json +12978 -12978
  90. package/build/contracts/SuperfluidFrameworkDeployer.json +2042 -2042
  91. package/build/contracts/SuperfluidGovernanceBase.json +9 -9
  92. package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
  93. package/build/contracts/SuperfluidGovernanceII.json +2022 -2022
  94. package/build/contracts/SuperfluidGovernanceIIProxy.json +227 -227
  95. package/build/contracts/SuperfluidLoader.json +752 -752
  96. package/build/contracts/SuperfluidToken.json +3476 -2953
  97. package/build/contracts/TOGA.json +4681 -4731
  98. package/build/contracts/TestGovernance.json +2402 -2402
  99. package/build/contracts/TestToken.json +1267 -1267
  100. package/build/contracts/TokenCustodian.json +903 -903
  101. package/build/contracts/TokenInfo.json +1 -1
  102. package/build/contracts/UUPSProxiable.json +233 -233
  103. package/build/contracts/UUPSProxy.json +257 -257
  104. package/build/contracts/UUPSUtils.json +85 -85
  105. package/build/contracts-sizes.txt +6 -6
  106. package/contracts/apps/CFAv1Library.sol +147 -111
  107. package/contracts/apps/IDAv1Library.sol +133 -101
  108. package/contracts/interfaces/superfluid/ISuperfluidToken.sol +8 -8
  109. package/contracts/libs/EventsEmitter.sol +16 -0
  110. package/contracts/mocks/CFAAppMocks.sol +52 -36
  111. package/contracts/mocks/CustomSuperTokenMock.sol +11 -4
  112. package/contracts/mocks/IDASuperAppTester.sol +24 -18
  113. package/contracts/mocks/MultiFlowTesterApp.sol +33 -24
  114. package/contracts/mocks/SuperAppMocks.sol +54 -40
  115. package/contracts/superfluid/SuperfluidToken.sol +33 -31
  116. package/contracts/utils/BatchLiquidator.sol +15 -11
  117. package/contracts/utils/TOGA.sol +40 -30
  118. package/package.json +2 -2
@@ -77,44 +77,44 @@
77
77
  762
78
78
  ],
79
79
  "UUPSProxiable": [
80
- 34761
80
+ 34838
81
81
  ],
82
82
  "UUPSUtils": [
83
- 34842
83
+ 34919
84
84
  ]
85
85
  },
86
- "id": 34762,
86
+ "id": 34839,
87
87
  "license": "AGPLv3",
88
88
  "nodeType": "SourceUnit",
89
89
  "nodes": [
90
90
  {
91
- "id": 34672,
91
+ "id": 34749,
92
92
  "literals": [
93
93
  "solidity",
94
94
  "0.8",
95
95
  ".13"
96
96
  ],
97
97
  "nodeType": "PragmaDirective",
98
- "src": "35:23:92"
98
+ "src": "35:23:93"
99
99
  },
100
100
  {
101
101
  "absolutePath": "project:/contracts/upgradability/UUPSUtils.sol",
102
102
  "file": "./UUPSUtils.sol",
103
- "id": 34674,
103
+ "id": 34751,
104
104
  "nameLocation": "-1:-1:-1",
105
105
  "nodeType": "ImportDirective",
106
- "scope": 34762,
107
- "sourceUnit": 34843,
108
- "src": "60:44:92",
106
+ "scope": 34839,
107
+ "sourceUnit": 34920,
108
+ "src": "60:44:93",
109
109
  "symbolAliases": [
110
110
  {
111
111
  "foreign": {
112
- "id": 34673,
112
+ "id": 34750,
113
113
  "name": "UUPSUtils",
114
114
  "nodeType": "Identifier",
115
115
  "overloadedDeclarations": [],
116
- "referencedDeclaration": 34842,
117
- "src": "69:9:92",
116
+ "referencedDeclaration": 34919,
117
+ "src": "69:9:93",
118
118
  "typeDescriptions": {}
119
119
  },
120
120
  "nameLocation": "-1:-1:-1"
@@ -125,21 +125,21 @@
125
125
  {
126
126
  "absolutePath": "@openzeppelin/contracts/proxy/utils/Initializable.sol",
127
127
  "file": "@openzeppelin/contracts/proxy/utils/Initializable.sol",
128
- "id": 34676,
128
+ "id": 34753,
129
129
  "nameLocation": "-1:-1:-1",
130
130
  "nodeType": "ImportDirective",
131
- "scope": 34762,
131
+ "scope": 34839,
132
132
  "sourceUnit": 763,
133
- "src": "105:86:92",
133
+ "src": "105:86:93",
134
134
  "symbolAliases": [
135
135
  {
136
136
  "foreign": {
137
- "id": 34675,
137
+ "id": 34752,
138
138
  "name": "Initializable",
139
139
  "nodeType": "Identifier",
140
140
  "overloadedDeclarations": [],
141
141
  "referencedDeclaration": 762,
142
- "src": "114:13:92",
142
+ "src": "114:13:93",
143
143
  "typeDescriptions": {}
144
144
  },
145
145
  "nameLocation": "-1:-1:-1"
@@ -152,41 +152,41 @@
152
152
  "baseContracts": [
153
153
  {
154
154
  "baseName": {
155
- "id": 34678,
155
+ "id": 34755,
156
156
  "name": "Initializable",
157
157
  "nodeType": "IdentifierPath",
158
158
  "referencedDeclaration": 762,
159
- "src": "310:13:92"
159
+ "src": "310:13:93"
160
160
  },
161
- "id": 34679,
161
+ "id": 34756,
162
162
  "nodeType": "InheritanceSpecifier",
163
- "src": "310:13:92"
163
+ "src": "310:13:93"
164
164
  }
165
165
  ],
166
166
  "canonicalName": "UUPSProxiable",
167
167
  "contractDependencies": [],
168
168
  "contractKind": "contract",
169
169
  "documentation": {
170
- "id": 34677,
170
+ "id": 34754,
171
171
  "nodeType": "StructuredDocumentation",
172
- "src": "193:81:92",
172
+ "src": "193:81:93",
173
173
  "text": " @title UUPS (Universal Upgradeable Proxy Standard) Proxiable contract."
174
174
  },
175
175
  "fullyImplemented": false,
176
- "id": 34761,
176
+ "id": 34838,
177
177
  "linearizedBaseContracts": [
178
- 34761,
178
+ 34838,
179
179
  762
180
180
  ],
181
181
  "name": "UUPSProxiable",
182
- "nameLocation": "293:13:92",
182
+ "nameLocation": "293:13:93",
183
183
  "nodeType": "ContractDefinition",
184
184
  "nodes": [
185
185
  {
186
186
  "body": {
187
- "id": 34689,
187
+ "id": 34766,
188
188
  "nodeType": "Block",
189
- "src": "472:50:92",
189
+ "src": "472:50:93",
190
190
  "statements": [
191
191
  {
192
192
  "expression": {
@@ -194,32 +194,32 @@
194
194
  "expression": {
195
195
  "argumentTypes": [],
196
196
  "expression": {
197
- "id": 34685,
197
+ "id": 34762,
198
198
  "name": "UUPSUtils",
199
199
  "nodeType": "Identifier",
200
200
  "overloadedDeclarations": [],
201
- "referencedDeclaration": 34842,
202
- "src": "489:9:92",
201
+ "referencedDeclaration": 34919,
202
+ "src": "489:9:93",
203
203
  "typeDescriptions": {
204
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$34842_$",
204
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$34919_$",
205
205
  "typeString": "type(library UUPSUtils)"
206
206
  }
207
207
  },
208
- "id": 34686,
208
+ "id": 34763,
209
209
  "isConstant": false,
210
210
  "isLValue": false,
211
211
  "isPure": false,
212
212
  "lValueRequested": false,
213
213
  "memberName": "implementation",
214
214
  "nodeType": "MemberAccess",
215
- "referencedDeclaration": 34833,
216
- "src": "489:24:92",
215
+ "referencedDeclaration": 34910,
216
+ "src": "489:24:93",
217
217
  "typeDescriptions": {
218
218
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
219
219
  "typeString": "function () view returns (address)"
220
220
  }
221
221
  },
222
- "id": 34687,
222
+ "id": 34764,
223
223
  "isConstant": false,
224
224
  "isLValue": false,
225
225
  "isPure": false,
@@ -227,53 +227,53 @@
227
227
  "lValueRequested": false,
228
228
  "names": [],
229
229
  "nodeType": "FunctionCall",
230
- "src": "489:26:92",
230
+ "src": "489:26:93",
231
231
  "tryCall": false,
232
232
  "typeDescriptions": {
233
233
  "typeIdentifier": "t_address",
234
234
  "typeString": "address"
235
235
  }
236
236
  },
237
- "functionReturnParameters": 34684,
238
- "id": 34688,
237
+ "functionReturnParameters": 34761,
238
+ "id": 34765,
239
239
  "nodeType": "Return",
240
- "src": "482:33:92"
240
+ "src": "482:33:93"
241
241
  }
242
242
  ]
243
243
  },
244
244
  "documentation": {
245
- "id": 34680,
245
+ "id": 34757,
246
246
  "nodeType": "StructuredDocumentation",
247
- "src": "331:64:92",
247
+ "src": "331:64:93",
248
248
  "text": " @dev Get current implementation code address."
249
249
  },
250
250
  "functionSelector": "50d75d25",
251
- "id": 34690,
251
+ "id": 34767,
252
252
  "implemented": true,
253
253
  "kind": "function",
254
254
  "modifiers": [],
255
255
  "name": "getCodeAddress",
256
- "nameLocation": "409:14:92",
256
+ "nameLocation": "409:14:93",
257
257
  "nodeType": "FunctionDefinition",
258
258
  "parameters": {
259
- "id": 34681,
259
+ "id": 34758,
260
260
  "nodeType": "ParameterList",
261
261
  "parameters": [],
262
- "src": "423:2:92"
262
+ "src": "423:2:93"
263
263
  },
264
264
  "returnParameters": {
265
- "id": 34684,
265
+ "id": 34761,
266
266
  "nodeType": "ParameterList",
267
267
  "parameters": [
268
268
  {
269
269
  "constant": false,
270
- "id": 34683,
270
+ "id": 34760,
271
271
  "mutability": "mutable",
272
272
  "name": "codeAddress",
273
- "nameLocation": "455:11:92",
273
+ "nameLocation": "455:11:93",
274
274
  "nodeType": "VariableDeclaration",
275
- "scope": 34690,
276
- "src": "447:19:92",
275
+ "scope": 34767,
276
+ "src": "447:19:93",
277
277
  "stateVariable": false,
278
278
  "storageLocation": "default",
279
279
  "typeDescriptions": {
@@ -281,10 +281,10 @@
281
281
  "typeString": "address"
282
282
  },
283
283
  "typeName": {
284
- "id": 34682,
284
+ "id": 34759,
285
285
  "name": "address",
286
286
  "nodeType": "ElementaryTypeName",
287
- "src": "447:7:92",
287
+ "src": "447:7:93",
288
288
  "stateMutability": "nonpayable",
289
289
  "typeDescriptions": {
290
290
  "typeIdentifier": "t_address",
@@ -294,36 +294,36 @@
294
294
  "visibility": "internal"
295
295
  }
296
296
  ],
297
- "src": "446:21:92"
297
+ "src": "446:21:93"
298
298
  },
299
- "scope": 34761,
300
- "src": "400:122:92",
299
+ "scope": 34838,
300
+ "src": "400:122:93",
301
301
  "stateMutability": "view",
302
302
  "virtual": false,
303
303
  "visibility": "public"
304
304
  },
305
305
  {
306
306
  "functionSelector": "46951954",
307
- "id": 34695,
307
+ "id": 34772,
308
308
  "implemented": false,
309
309
  "kind": "function",
310
310
  "modifiers": [],
311
311
  "name": "updateCode",
312
- "nameLocation": "537:10:92",
312
+ "nameLocation": "537:10:93",
313
313
  "nodeType": "FunctionDefinition",
314
314
  "parameters": {
315
- "id": 34693,
315
+ "id": 34770,
316
316
  "nodeType": "ParameterList",
317
317
  "parameters": [
318
318
  {
319
319
  "constant": false,
320
- "id": 34692,
320
+ "id": 34769,
321
321
  "mutability": "mutable",
322
322
  "name": "newAddress",
323
- "nameLocation": "556:10:92",
323
+ "nameLocation": "556:10:93",
324
324
  "nodeType": "VariableDeclaration",
325
- "scope": 34695,
326
- "src": "548:18:92",
325
+ "scope": 34772,
326
+ "src": "548:18:93",
327
327
  "stateVariable": false,
328
328
  "storageLocation": "default",
329
329
  "typeDescriptions": {
@@ -331,10 +331,10 @@
331
331
  "typeString": "address"
332
332
  },
333
333
  "typeName": {
334
- "id": 34691,
334
+ "id": 34768,
335
335
  "name": "address",
336
336
  "nodeType": "ElementaryTypeName",
337
- "src": "548:7:92",
337
+ "src": "548:7:93",
338
338
  "stateMutability": "nonpayable",
339
339
  "typeDescriptions": {
340
340
  "typeIdentifier": "t_address",
@@ -344,54 +344,54 @@
344
344
  "visibility": "internal"
345
345
  }
346
346
  ],
347
- "src": "547:20:92"
347
+ "src": "547:20:93"
348
348
  },
349
349
  "returnParameters": {
350
- "id": 34694,
350
+ "id": 34771,
351
351
  "nodeType": "ParameterList",
352
352
  "parameters": [],
353
- "src": "584:0:92"
353
+ "src": "584:0:93"
354
354
  },
355
- "scope": 34761,
356
- "src": "528:57:92",
355
+ "scope": 34838,
356
+ "src": "528:57:93",
357
357
  "stateMutability": "nonpayable",
358
358
  "virtual": true,
359
359
  "visibility": "external"
360
360
  },
361
361
  {
362
362
  "documentation": {
363
- "id": 34696,
363
+ "id": 34773,
364
364
  "nodeType": "StructuredDocumentation",
365
- "src": "591:286:92",
365
+ "src": "591:286:93",
366
366
  "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."
367
367
  },
368
368
  "functionSelector": "52d1902d",
369
- "id": 34701,
369
+ "id": 34778,
370
370
  "implemented": false,
371
371
  "kind": "function",
372
372
  "modifiers": [],
373
373
  "name": "proxiableUUID",
374
- "nameLocation": "891:13:92",
374
+ "nameLocation": "891:13:93",
375
375
  "nodeType": "FunctionDefinition",
376
376
  "parameters": {
377
- "id": 34697,
377
+ "id": 34774,
378
378
  "nodeType": "ParameterList",
379
379
  "parameters": [],
380
- "src": "904:2:92"
380
+ "src": "904:2:93"
381
381
  },
382
382
  "returnParameters": {
383
- "id": 34700,
383
+ "id": 34777,
384
384
  "nodeType": "ParameterList",
385
385
  "parameters": [
386
386
  {
387
387
  "constant": false,
388
- "id": 34699,
388
+ "id": 34776,
389
389
  "mutability": "mutable",
390
390
  "name": "",
391
391
  "nameLocation": "-1:-1:-1",
392
392
  "nodeType": "VariableDeclaration",
393
- "scope": 34701,
394
- "src": "936:7:92",
393
+ "scope": 34778,
394
+ "src": "936:7:93",
395
395
  "stateVariable": false,
396
396
  "storageLocation": "default",
397
397
  "typeDescriptions": {
@@ -399,10 +399,10 @@
399
399
  "typeString": "bytes32"
400
400
  },
401
401
  "typeName": {
402
- "id": 34698,
402
+ "id": 34775,
403
403
  "name": "bytes32",
404
404
  "nodeType": "ElementaryTypeName",
405
- "src": "936:7:92",
405
+ "src": "936:7:93",
406
406
  "typeDescriptions": {
407
407
  "typeIdentifier": "t_bytes32",
408
408
  "typeString": "bytes32"
@@ -411,19 +411,19 @@
411
411
  "visibility": "internal"
412
412
  }
413
413
  ],
414
- "src": "935:9:92"
414
+ "src": "935:9:93"
415
415
  },
416
- "scope": 34761,
417
- "src": "882:63:92",
416
+ "scope": 34838,
417
+ "src": "882:63:93",
418
418
  "stateMutability": "view",
419
419
  "virtual": true,
420
420
  "visibility": "public"
421
421
  },
422
422
  {
423
423
  "body": {
424
- "id": 34753,
424
+ "id": 34830,
425
425
  "nodeType": "Block",
426
- "src": "1160:515:92",
426
+ "src": "1160:515:93",
427
427
  "statements": [
428
428
  {
429
429
  "expression": {
@@ -433,7 +433,7 @@
433
433
  "typeIdentifier": "t_address",
434
434
  "typeString": "address"
435
435
  },
436
- "id": 34715,
436
+ "id": 34792,
437
437
  "isConstant": false,
438
438
  "isLValue": false,
439
439
  "isPure": false,
@@ -443,32 +443,32 @@
443
443
  "expression": {
444
444
  "argumentTypes": [],
445
445
  "expression": {
446
- "id": 34708,
446
+ "id": 34785,
447
447
  "name": "UUPSUtils",
448
448
  "nodeType": "Identifier",
449
449
  "overloadedDeclarations": [],
450
- "referencedDeclaration": 34842,
451
- "src": "1229:9:92",
450
+ "referencedDeclaration": 34919,
451
+ "src": "1229:9:93",
452
452
  "typeDescriptions": {
453
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$34842_$",
453
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$34919_$",
454
454
  "typeString": "type(library UUPSUtils)"
455
455
  }
456
456
  },
457
- "id": 34709,
457
+ "id": 34786,
458
458
  "isConstant": false,
459
459
  "isLValue": false,
460
460
  "isPure": false,
461
461
  "lValueRequested": false,
462
462
  "memberName": "implementation",
463
463
  "nodeType": "MemberAccess",
464
- "referencedDeclaration": 34833,
465
- "src": "1229:24:92",
464
+ "referencedDeclaration": 34910,
465
+ "src": "1229:24:93",
466
466
  "typeDescriptions": {
467
467
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
468
468
  "typeString": "function () view returns (address)"
469
469
  }
470
470
  },
471
- "id": 34710,
471
+ "id": 34787,
472
472
  "isConstant": false,
473
473
  "isLValue": false,
474
474
  "isPure": false,
@@ -476,7 +476,7 @@
476
476
  "lValueRequested": false,
477
477
  "names": [],
478
478
  "nodeType": "FunctionCall",
479
- "src": "1229:26:92",
479
+ "src": "1229:26:93",
480
480
  "tryCall": false,
481
481
  "typeDescriptions": {
482
482
  "typeIdentifier": "t_address",
@@ -489,14 +489,14 @@
489
489
  "arguments": [
490
490
  {
491
491
  "hexValue": "30",
492
- "id": 34713,
492
+ "id": 34790,
493
493
  "isConstant": false,
494
494
  "isLValue": false,
495
495
  "isPure": true,
496
496
  "kind": "number",
497
497
  "lValueRequested": false,
498
498
  "nodeType": "Literal",
499
- "src": "1267:1:92",
499
+ "src": "1267:1:93",
500
500
  "typeDescriptions": {
501
501
  "typeIdentifier": "t_rational_0_by_1",
502
502
  "typeString": "int_const 0"
@@ -511,26 +511,26 @@
511
511
  "typeString": "int_const 0"
512
512
  }
513
513
  ],
514
- "id": 34712,
514
+ "id": 34789,
515
515
  "isConstant": false,
516
516
  "isLValue": false,
517
517
  "isPure": true,
518
518
  "lValueRequested": false,
519
519
  "nodeType": "ElementaryTypeNameExpression",
520
- "src": "1259:7:92",
520
+ "src": "1259:7:93",
521
521
  "typeDescriptions": {
522
522
  "typeIdentifier": "t_type$_t_address_$",
523
523
  "typeString": "type(address)"
524
524
  },
525
525
  "typeName": {
526
- "id": 34711,
526
+ "id": 34788,
527
527
  "name": "address",
528
528
  "nodeType": "ElementaryTypeName",
529
- "src": "1259:7:92",
529
+ "src": "1259:7:93",
530
530
  "typeDescriptions": {}
531
531
  }
532
532
  },
533
- "id": 34714,
533
+ "id": 34791,
534
534
  "isConstant": false,
535
535
  "isLValue": false,
536
536
  "isPure": true,
@@ -538,14 +538,14 @@
538
538
  "lValueRequested": false,
539
539
  "names": [],
540
540
  "nodeType": "FunctionCall",
541
- "src": "1259:10:92",
541
+ "src": "1259:10:93",
542
542
  "tryCall": false,
543
543
  "typeDescriptions": {
544
544
  "typeIdentifier": "t_address",
545
545
  "typeString": "address"
546
546
  }
547
547
  },
548
- "src": "1229:40:92",
548
+ "src": "1229:40:93",
549
549
  "typeDescriptions": {
550
550
  "typeIdentifier": "t_bool",
551
551
  "typeString": "bool"
@@ -553,14 +553,14 @@
553
553
  },
554
554
  {
555
555
  "hexValue": "5555505350726f786961626c653a206e6f742075706772616461626c65",
556
- "id": 34716,
556
+ "id": 34793,
557
557
  "isConstant": false,
558
558
  "isLValue": false,
559
559
  "isPure": true,
560
560
  "kind": "string",
561
561
  "lValueRequested": false,
562
562
  "nodeType": "Literal",
563
- "src": "1271:31:92",
563
+ "src": "1271:31:93",
564
564
  "typeDescriptions": {
565
565
  "typeIdentifier": "t_stringliteral_befd5f2ffca520b9208eba0ffa41bf9e0aed29a8580655fdb778030efa521bea",
566
566
  "typeString": "literal_string \"UUPSProxiable: not upgradable\""
@@ -579,7 +579,7 @@
579
579
  "typeString": "literal_string \"UUPSProxiable: not upgradable\""
580
580
  }
581
581
  ],
582
- "id": 34707,
582
+ "id": 34784,
583
583
  "name": "require",
584
584
  "nodeType": "Identifier",
585
585
  "overloadedDeclarations": [
@@ -587,13 +587,13 @@
587
587
  4294967278
588
588
  ],
589
589
  "referencedDeclaration": 4294967278,
590
- "src": "1221:7:92",
590
+ "src": "1221:7:93",
591
591
  "typeDescriptions": {
592
592
  "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
593
593
  "typeString": "function (bool,string memory) pure"
594
594
  }
595
595
  },
596
- "id": 34717,
596
+ "id": 34794,
597
597
  "isConstant": false,
598
598
  "isLValue": false,
599
599
  "isPure": false,
@@ -601,16 +601,16 @@
601
601
  "lValueRequested": false,
602
602
  "names": [],
603
603
  "nodeType": "FunctionCall",
604
- "src": "1221:82:92",
604
+ "src": "1221:82:93",
605
605
  "tryCall": false,
606
606
  "typeDescriptions": {
607
607
  "typeIdentifier": "t_tuple$__$",
608
608
  "typeString": "tuple()"
609
609
  }
610
610
  },
611
- "id": 34718,
611
+ "id": 34795,
612
612
  "nodeType": "ExpressionStatement",
613
- "src": "1221:82:92"
613
+ "src": "1221:82:93"
614
614
  },
615
615
  {
616
616
  "expression": {
@@ -620,7 +620,7 @@
620
620
  "typeIdentifier": "t_bytes32",
621
621
  "typeString": "bytes32"
622
622
  },
623
- "id": 34727,
623
+ "id": 34804,
624
624
  "isConstant": false,
625
625
  "isLValue": false,
626
626
  "isPure": false,
@@ -629,18 +629,18 @@
629
629
  "arguments": [],
630
630
  "expression": {
631
631
  "argumentTypes": [],
632
- "id": 34720,
632
+ "id": 34797,
633
633
  "name": "proxiableUUID",
634
634
  "nodeType": "Identifier",
635
635
  "overloadedDeclarations": [],
636
- "referencedDeclaration": 34701,
637
- "src": "1334:13:92",
636
+ "referencedDeclaration": 34778,
637
+ "src": "1334:13:93",
638
638
  "typeDescriptions": {
639
639
  "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes32_$",
640
640
  "typeString": "function () view returns (bytes32)"
641
641
  }
642
642
  },
643
- "id": 34721,
643
+ "id": 34798,
644
644
  "isConstant": false,
645
645
  "isLValue": false,
646
646
  "isPure": false,
@@ -648,7 +648,7 @@
648
648
  "lValueRequested": false,
649
649
  "names": [],
650
650
  "nodeType": "FunctionCall",
651
- "src": "1334:15:92",
651
+ "src": "1334:15:93",
652
652
  "tryCall": false,
653
653
  "typeDescriptions": {
654
654
  "typeIdentifier": "t_bytes32",
@@ -664,12 +664,12 @@
664
664
  "expression": {
665
665
  "arguments": [
666
666
  {
667
- "id": 34723,
667
+ "id": 34800,
668
668
  "name": "newAddress",
669
669
  "nodeType": "Identifier",
670
670
  "overloadedDeclarations": [],
671
- "referencedDeclaration": 34704,
672
- "src": "1367:10:92",
671
+ "referencedDeclaration": 34781,
672
+ "src": "1367:10:93",
673
673
  "typeDescriptions": {
674
674
  "typeIdentifier": "t_address",
675
675
  "typeString": "address"
@@ -683,18 +683,18 @@
683
683
  "typeString": "address"
684
684
  }
685
685
  ],
686
- "id": 34722,
686
+ "id": 34799,
687
687
  "name": "UUPSProxiable",
688
688
  "nodeType": "Identifier",
689
689
  "overloadedDeclarations": [],
690
- "referencedDeclaration": 34761,
691
- "src": "1353:13:92",
690
+ "referencedDeclaration": 34838,
691
+ "src": "1353:13:93",
692
692
  "typeDescriptions": {
693
- "typeIdentifier": "t_type$_t_contract$_UUPSProxiable_$34761_$",
693
+ "typeIdentifier": "t_type$_t_contract$_UUPSProxiable_$34838_$",
694
694
  "typeString": "type(contract UUPSProxiable)"
695
695
  }
696
696
  },
697
- "id": 34724,
697
+ "id": 34801,
698
698
  "isConstant": false,
699
699
  "isLValue": false,
700
700
  "isPure": false,
@@ -702,28 +702,28 @@
702
702
  "lValueRequested": false,
703
703
  "names": [],
704
704
  "nodeType": "FunctionCall",
705
- "src": "1353:25:92",
705
+ "src": "1353:25:93",
706
706
  "tryCall": false,
707
707
  "typeDescriptions": {
708
- "typeIdentifier": "t_contract$_UUPSProxiable_$34761",
708
+ "typeIdentifier": "t_contract$_UUPSProxiable_$34838",
709
709
  "typeString": "contract UUPSProxiable"
710
710
  }
711
711
  },
712
- "id": 34725,
712
+ "id": 34802,
713
713
  "isConstant": false,
714
714
  "isLValue": false,
715
715
  "isPure": false,
716
716
  "lValueRequested": false,
717
717
  "memberName": "proxiableUUID",
718
718
  "nodeType": "MemberAccess",
719
- "referencedDeclaration": 34701,
720
- "src": "1353:39:92",
719
+ "referencedDeclaration": 34778,
720
+ "src": "1353:39:93",
721
721
  "typeDescriptions": {
722
722
  "typeIdentifier": "t_function_external_view$__$returns$_t_bytes32_$",
723
723
  "typeString": "function () view external returns (bytes32)"
724
724
  }
725
725
  },
726
- "id": 34726,
726
+ "id": 34803,
727
727
  "isConstant": false,
728
728
  "isLValue": false,
729
729
  "isPure": false,
@@ -731,14 +731,14 @@
731
731
  "lValueRequested": false,
732
732
  "names": [],
733
733
  "nodeType": "FunctionCall",
734
- "src": "1353:41:92",
734
+ "src": "1353:41:93",
735
735
  "tryCall": false,
736
736
  "typeDescriptions": {
737
737
  "typeIdentifier": "t_bytes32",
738
738
  "typeString": "bytes32"
739
739
  }
740
740
  },
741
- "src": "1334:60:92",
741
+ "src": "1334:60:93",
742
742
  "typeDescriptions": {
743
743
  "typeIdentifier": "t_bool",
744
744
  "typeString": "bool"
@@ -746,14 +746,14 @@
746
746
  },
747
747
  {
748
748
  "hexValue": "5555505350726f786961626c653a206e6f7420636f6d70617469626c65206c6f676963",
749
- "id": 34728,
749
+ "id": 34805,
750
750
  "isConstant": false,
751
751
  "isLValue": false,
752
752
  "isPure": true,
753
753
  "kind": "string",
754
754
  "lValueRequested": false,
755
755
  "nodeType": "Literal",
756
- "src": "1408:37:92",
756
+ "src": "1408:37:93",
757
757
  "typeDescriptions": {
758
758
  "typeIdentifier": "t_stringliteral_0c74ad657035ec53451093745d5caa5909a42dace836130f97873b36755af913",
759
759
  "typeString": "literal_string \"UUPSProxiable: not compatible logic\""
@@ -772,7 +772,7 @@
772
772
  "typeString": "literal_string \"UUPSProxiable: not compatible logic\""
773
773
  }
774
774
  ],
775
- "id": 34719,
775
+ "id": 34796,
776
776
  "name": "require",
777
777
  "nodeType": "Identifier",
778
778
  "overloadedDeclarations": [
@@ -780,13 +780,13 @@
780
780
  4294967278
781
781
  ],
782
782
  "referencedDeclaration": 4294967278,
783
- "src": "1313:7:92",
783
+ "src": "1313:7:93",
784
784
  "typeDescriptions": {
785
785
  "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
786
786
  "typeString": "function (bool,string memory) pure"
787
787
  }
788
788
  },
789
- "id": 34729,
789
+ "id": 34806,
790
790
  "isConstant": false,
791
791
  "isLValue": false,
792
792
  "isPure": false,
@@ -794,16 +794,16 @@
794
794
  "lValueRequested": false,
795
795
  "names": [],
796
796
  "nodeType": "FunctionCall",
797
- "src": "1313:142:92",
797
+ "src": "1313:142:93",
798
798
  "tryCall": false,
799
799
  "typeDescriptions": {
800
800
  "typeIdentifier": "t_tuple$__$",
801
801
  "typeString": "tuple()"
802
802
  }
803
803
  },
804
- "id": 34730,
804
+ "id": 34807,
805
805
  "nodeType": "ExpressionStatement",
806
- "src": "1313:142:92"
806
+ "src": "1313:142:93"
807
807
  },
808
808
  {
809
809
  "expression": {
@@ -813,7 +813,7 @@
813
813
  "typeIdentifier": "t_address",
814
814
  "typeString": "address"
815
815
  },
816
- "id": 34737,
816
+ "id": 34814,
817
817
  "isConstant": false,
818
818
  "isLValue": false,
819
819
  "isPure": false,
@@ -821,14 +821,14 @@
821
821
  "leftExpression": {
822
822
  "arguments": [
823
823
  {
824
- "id": 34734,
824
+ "id": 34811,
825
825
  "name": "this",
826
826
  "nodeType": "Identifier",
827
827
  "overloadedDeclarations": [],
828
828
  "referencedDeclaration": 4294967268,
829
- "src": "1494:4:92",
829
+ "src": "1494:4:93",
830
830
  "typeDescriptions": {
831
- "typeIdentifier": "t_contract$_UUPSProxiable_$34761",
831
+ "typeIdentifier": "t_contract$_UUPSProxiable_$34838",
832
832
  "typeString": "contract UUPSProxiable"
833
833
  }
834
834
  }
@@ -836,30 +836,30 @@
836
836
  "expression": {
837
837
  "argumentTypes": [
838
838
  {
839
- "typeIdentifier": "t_contract$_UUPSProxiable_$34761",
839
+ "typeIdentifier": "t_contract$_UUPSProxiable_$34838",
840
840
  "typeString": "contract UUPSProxiable"
841
841
  }
842
842
  ],
843
- "id": 34733,
843
+ "id": 34810,
844
844
  "isConstant": false,
845
845
  "isLValue": false,
846
846
  "isPure": true,
847
847
  "lValueRequested": false,
848
848
  "nodeType": "ElementaryTypeNameExpression",
849
- "src": "1486:7:92",
849
+ "src": "1486:7:93",
850
850
  "typeDescriptions": {
851
851
  "typeIdentifier": "t_type$_t_address_$",
852
852
  "typeString": "type(address)"
853
853
  },
854
854
  "typeName": {
855
- "id": 34732,
855
+ "id": 34809,
856
856
  "name": "address",
857
857
  "nodeType": "ElementaryTypeName",
858
- "src": "1486:7:92",
858
+ "src": "1486:7:93",
859
859
  "typeDescriptions": {}
860
860
  }
861
861
  },
862
- "id": 34735,
862
+ "id": 34812,
863
863
  "isConstant": false,
864
864
  "isLValue": false,
865
865
  "isPure": false,
@@ -867,7 +867,7 @@
867
867
  "lValueRequested": false,
868
868
  "names": [],
869
869
  "nodeType": "FunctionCall",
870
- "src": "1486:13:92",
870
+ "src": "1486:13:93",
871
871
  "tryCall": false,
872
872
  "typeDescriptions": {
873
873
  "typeIdentifier": "t_address",
@@ -877,18 +877,18 @@
877
877
  "nodeType": "BinaryOperation",
878
878
  "operator": "!=",
879
879
  "rightExpression": {
880
- "id": 34736,
880
+ "id": 34813,
881
881
  "name": "newAddress",
882
882
  "nodeType": "Identifier",
883
883
  "overloadedDeclarations": [],
884
- "referencedDeclaration": 34704,
885
- "src": "1503:10:92",
884
+ "referencedDeclaration": 34781,
885
+ "src": "1503:10:93",
886
886
  "typeDescriptions": {
887
887
  "typeIdentifier": "t_address",
888
888
  "typeString": "address"
889
889
  }
890
890
  },
891
- "src": "1486:27:92",
891
+ "src": "1486:27:93",
892
892
  "typeDescriptions": {
893
893
  "typeIdentifier": "t_bool",
894
894
  "typeString": "bool"
@@ -896,14 +896,14 @@
896
896
  },
897
897
  {
898
898
  "hexValue": "5555505350726f786961626c653a2070726f7879206c6f6f70",
899
- "id": 34738,
899
+ "id": 34815,
900
900
  "isConstant": false,
901
901
  "isLValue": false,
902
902
  "isPure": true,
903
903
  "kind": "string",
904
904
  "lValueRequested": false,
905
905
  "nodeType": "Literal",
906
- "src": "1527:27:92",
906
+ "src": "1527:27:93",
907
907
  "typeDescriptions": {
908
908
  "typeIdentifier": "t_stringliteral_7cebf0bf1547141b7b7f87cc08cf4eb6b11676b9b00928b28fdc7e005edd97c0",
909
909
  "typeString": "literal_string \"UUPSProxiable: proxy loop\""
@@ -922,7 +922,7 @@
922
922
  "typeString": "literal_string \"UUPSProxiable: proxy loop\""
923
923
  }
924
924
  ],
925
- "id": 34731,
925
+ "id": 34808,
926
926
  "name": "require",
927
927
  "nodeType": "Identifier",
928
928
  "overloadedDeclarations": [
@@ -930,13 +930,13 @@
930
930
  4294967278
931
931
  ],
932
932
  "referencedDeclaration": 4294967278,
933
- "src": "1465:7:92",
933
+ "src": "1465:7:93",
934
934
  "typeDescriptions": {
935
935
  "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
936
936
  "typeString": "function (bool,string memory) pure"
937
937
  }
938
938
  },
939
- "id": 34739,
939
+ "id": 34816,
940
940
  "isConstant": false,
941
941
  "isLValue": false,
942
942
  "isPure": false,
@@ -944,27 +944,27 @@
944
944
  "lValueRequested": false,
945
945
  "names": [],
946
946
  "nodeType": "FunctionCall",
947
- "src": "1465:99:92",
947
+ "src": "1465:99:93",
948
948
  "tryCall": false,
949
949
  "typeDescriptions": {
950
950
  "typeIdentifier": "t_tuple$__$",
951
951
  "typeString": "tuple()"
952
952
  }
953
953
  },
954
- "id": 34740,
954
+ "id": 34817,
955
955
  "nodeType": "ExpressionStatement",
956
- "src": "1465:99:92"
956
+ "src": "1465:99:93"
957
957
  },
958
958
  {
959
959
  "expression": {
960
960
  "arguments": [
961
961
  {
962
- "id": 34744,
962
+ "id": 34821,
963
963
  "name": "newAddress",
964
964
  "nodeType": "Identifier",
965
965
  "overloadedDeclarations": [],
966
- "referencedDeclaration": 34704,
967
- "src": "1602:10:92",
966
+ "referencedDeclaration": 34781,
967
+ "src": "1602:10:93",
968
968
  "typeDescriptions": {
969
969
  "typeIdentifier": "t_address",
970
970
  "typeString": "address"
@@ -979,32 +979,32 @@
979
979
  }
980
980
  ],
981
981
  "expression": {
982
- "id": 34741,
982
+ "id": 34818,
983
983
  "name": "UUPSUtils",
984
984
  "nodeType": "Identifier",
985
985
  "overloadedDeclarations": [],
986
- "referencedDeclaration": 34842,
987
- "src": "1574:9:92",
986
+ "referencedDeclaration": 34919,
987
+ "src": "1574:9:93",
988
988
  "typeDescriptions": {
989
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$34842_$",
989
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$34919_$",
990
990
  "typeString": "type(library UUPSUtils)"
991
991
  }
992
992
  },
993
- "id": 34743,
993
+ "id": 34820,
994
994
  "isConstant": false,
995
995
  "isLValue": false,
996
996
  "isPure": false,
997
997
  "lValueRequested": false,
998
998
  "memberName": "setImplementation",
999
999
  "nodeType": "MemberAccess",
1000
- "referencedDeclaration": 34841,
1001
- "src": "1574:27:92",
1000
+ "referencedDeclaration": 34918,
1001
+ "src": "1574:27:93",
1002
1002
  "typeDescriptions": {
1003
1003
  "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
1004
1004
  "typeString": "function (address)"
1005
1005
  }
1006
1006
  },
1007
- "id": 34745,
1007
+ "id": 34822,
1008
1008
  "isConstant": false,
1009
1009
  "isLValue": false,
1010
1010
  "isPure": false,
@@ -1012,16 +1012,16 @@
1012
1012
  "lValueRequested": false,
1013
1013
  "names": [],
1014
1014
  "nodeType": "FunctionCall",
1015
- "src": "1574:39:92",
1015
+ "src": "1574:39:93",
1016
1016
  "tryCall": false,
1017
1017
  "typeDescriptions": {
1018
1018
  "typeIdentifier": "t_tuple$__$",
1019
1019
  "typeString": "tuple()"
1020
1020
  }
1021
1021
  },
1022
- "id": 34746,
1022
+ "id": 34823,
1023
1023
  "nodeType": "ExpressionStatement",
1024
- "src": "1574:39:92"
1024
+ "src": "1574:39:93"
1025
1025
  },
1026
1026
  {
1027
1027
  "eventCall": {
@@ -1030,18 +1030,18 @@
1030
1030
  "arguments": [],
1031
1031
  "expression": {
1032
1032
  "argumentTypes": [],
1033
- "id": 34748,
1033
+ "id": 34825,
1034
1034
  "name": "proxiableUUID",
1035
1035
  "nodeType": "Identifier",
1036
1036
  "overloadedDeclarations": [],
1037
- "referencedDeclaration": 34701,
1038
- "src": "1640:13:92",
1037
+ "referencedDeclaration": 34778,
1038
+ "src": "1640:13:93",
1039
1039
  "typeDescriptions": {
1040
1040
  "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes32_$",
1041
1041
  "typeString": "function () view returns (bytes32)"
1042
1042
  }
1043
1043
  },
1044
- "id": 34749,
1044
+ "id": 34826,
1045
1045
  "isConstant": false,
1046
1046
  "isLValue": false,
1047
1047
  "isPure": false,
@@ -1049,7 +1049,7 @@
1049
1049
  "lValueRequested": false,
1050
1050
  "names": [],
1051
1051
  "nodeType": "FunctionCall",
1052
- "src": "1640:15:92",
1052
+ "src": "1640:15:93",
1053
1053
  "tryCall": false,
1054
1054
  "typeDescriptions": {
1055
1055
  "typeIdentifier": "t_bytes32",
@@ -1057,12 +1057,12 @@
1057
1057
  }
1058
1058
  },
1059
1059
  {
1060
- "id": 34750,
1060
+ "id": 34827,
1061
1061
  "name": "newAddress",
1062
1062
  "nodeType": "Identifier",
1063
1063
  "overloadedDeclarations": [],
1064
- "referencedDeclaration": 34704,
1065
- "src": "1657:10:92",
1064
+ "referencedDeclaration": 34781,
1065
+ "src": "1657:10:93",
1066
1066
  "typeDescriptions": {
1067
1067
  "typeIdentifier": "t_address",
1068
1068
  "typeString": "address"
@@ -1080,18 +1080,18 @@
1080
1080
  "typeString": "address"
1081
1081
  }
1082
1082
  ],
1083
- "id": 34747,
1083
+ "id": 34824,
1084
1084
  "name": "CodeUpdated",
1085
1085
  "nodeType": "Identifier",
1086
1086
  "overloadedDeclarations": [],
1087
- "referencedDeclaration": 34760,
1088
- "src": "1628:11:92",
1087
+ "referencedDeclaration": 34837,
1088
+ "src": "1628:11:93",
1089
1089
  "typeDescriptions": {
1090
1090
  "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$",
1091
1091
  "typeString": "function (bytes32,address)"
1092
1092
  }
1093
1093
  },
1094
- "id": 34751,
1094
+ "id": 34828,
1095
1095
  "isConstant": false,
1096
1096
  "isLValue": false,
1097
1097
  "isPure": false,
@@ -1099,45 +1099,45 @@
1099
1099
  "lValueRequested": false,
1100
1100
  "names": [],
1101
1101
  "nodeType": "FunctionCall",
1102
- "src": "1628:40:92",
1102
+ "src": "1628:40:93",
1103
1103
  "tryCall": false,
1104
1104
  "typeDescriptions": {
1105
1105
  "typeIdentifier": "t_tuple$__$",
1106
1106
  "typeString": "tuple()"
1107
1107
  }
1108
1108
  },
1109
- "id": 34752,
1109
+ "id": 34829,
1110
1110
  "nodeType": "EmitStatement",
1111
- "src": "1623:45:92"
1111
+ "src": "1623:45:93"
1112
1112
  }
1113
1113
  ]
1114
1114
  },
1115
1115
  "documentation": {
1116
- "id": 34702,
1116
+ "id": 34779,
1117
1117
  "nodeType": "StructuredDocumentation",
1118
- "src": "951:143:92",
1118
+ "src": "951:143:93",
1119
1119
  "text": " @dev Update code address function.\n It is internal, so the derived contract could setup its own permission logic."
1120
1120
  },
1121
- "id": 34754,
1121
+ "id": 34831,
1122
1122
  "implemented": true,
1123
1123
  "kind": "function",
1124
1124
  "modifiers": [],
1125
1125
  "name": "_updateCodeAddress",
1126
- "nameLocation": "1108:18:92",
1126
+ "nameLocation": "1108:18:93",
1127
1127
  "nodeType": "FunctionDefinition",
1128
1128
  "parameters": {
1129
- "id": 34705,
1129
+ "id": 34782,
1130
1130
  "nodeType": "ParameterList",
1131
1131
  "parameters": [
1132
1132
  {
1133
1133
  "constant": false,
1134
- "id": 34704,
1134
+ "id": 34781,
1135
1135
  "mutability": "mutable",
1136
1136
  "name": "newAddress",
1137
- "nameLocation": "1135:10:92",
1137
+ "nameLocation": "1135:10:93",
1138
1138
  "nodeType": "VariableDeclaration",
1139
- "scope": 34754,
1140
- "src": "1127:18:92",
1139
+ "scope": 34831,
1140
+ "src": "1127:18:93",
1141
1141
  "stateVariable": false,
1142
1142
  "storageLocation": "default",
1143
1143
  "typeDescriptions": {
@@ -1145,10 +1145,10 @@
1145
1145
  "typeString": "address"
1146
1146
  },
1147
1147
  "typeName": {
1148
- "id": 34703,
1148
+ "id": 34780,
1149
1149
  "name": "address",
1150
1150
  "nodeType": "ElementaryTypeName",
1151
- "src": "1127:7:92",
1151
+ "src": "1127:7:93",
1152
1152
  "stateMutability": "nonpayable",
1153
1153
  "typeDescriptions": {
1154
1154
  "typeIdentifier": "t_address",
@@ -1158,16 +1158,16 @@
1158
1158
  "visibility": "internal"
1159
1159
  }
1160
1160
  ],
1161
- "src": "1126:20:92"
1161
+ "src": "1126:20:93"
1162
1162
  },
1163
1163
  "returnParameters": {
1164
- "id": 34706,
1164
+ "id": 34783,
1165
1165
  "nodeType": "ParameterList",
1166
1166
  "parameters": [],
1167
- "src": "1160:0:92"
1167
+ "src": "1160:0:93"
1168
1168
  },
1169
- "scope": 34761,
1170
- "src": "1099:576:92",
1169
+ "scope": 34838,
1170
+ "src": "1099:576:93",
1171
1171
  "stateMutability": "nonpayable",
1172
1172
  "virtual": false,
1173
1173
  "visibility": "internal"
@@ -1175,24 +1175,24 @@
1175
1175
  {
1176
1176
  "anonymous": false,
1177
1177
  "eventSelector": "e011bc04c286c344a8fcbb8de77f953da762c3e25d8cdea984147fc4168a5dcc",
1178
- "id": 34760,
1178
+ "id": 34837,
1179
1179
  "name": "CodeUpdated",
1180
- "nameLocation": "1687:11:92",
1180
+ "nameLocation": "1687:11:93",
1181
1181
  "nodeType": "EventDefinition",
1182
1182
  "parameters": {
1183
- "id": 34759,
1183
+ "id": 34836,
1184
1184
  "nodeType": "ParameterList",
1185
1185
  "parameters": [
1186
1186
  {
1187
1187
  "constant": false,
1188
- "id": 34756,
1188
+ "id": 34833,
1189
1189
  "indexed": false,
1190
1190
  "mutability": "mutable",
1191
1191
  "name": "uuid",
1192
- "nameLocation": "1707:4:92",
1192
+ "nameLocation": "1707:4:93",
1193
1193
  "nodeType": "VariableDeclaration",
1194
- "scope": 34760,
1195
- "src": "1699:12:92",
1194
+ "scope": 34837,
1195
+ "src": "1699:12:93",
1196
1196
  "stateVariable": false,
1197
1197
  "storageLocation": "default",
1198
1198
  "typeDescriptions": {
@@ -1200,10 +1200,10 @@
1200
1200
  "typeString": "bytes32"
1201
1201
  },
1202
1202
  "typeName": {
1203
- "id": 34755,
1203
+ "id": 34832,
1204
1204
  "name": "bytes32",
1205
1205
  "nodeType": "ElementaryTypeName",
1206
- "src": "1699:7:92",
1206
+ "src": "1699:7:93",
1207
1207
  "typeDescriptions": {
1208
1208
  "typeIdentifier": "t_bytes32",
1209
1209
  "typeString": "bytes32"
@@ -1213,14 +1213,14 @@
1213
1213
  },
1214
1214
  {
1215
1215
  "constant": false,
1216
- "id": 34758,
1216
+ "id": 34835,
1217
1217
  "indexed": false,
1218
1218
  "mutability": "mutable",
1219
1219
  "name": "codeAddress",
1220
- "nameLocation": "1721:11:92",
1220
+ "nameLocation": "1721:11:93",
1221
1221
  "nodeType": "VariableDeclaration",
1222
- "scope": 34760,
1223
- "src": "1713:19:92",
1222
+ "scope": 34837,
1223
+ "src": "1713:19:93",
1224
1224
  "stateVariable": false,
1225
1225
  "storageLocation": "default",
1226
1226
  "typeDescriptions": {
@@ -1228,10 +1228,10 @@
1228
1228
  "typeString": "address"
1229
1229
  },
1230
1230
  "typeName": {
1231
- "id": 34757,
1231
+ "id": 34834,
1232
1232
  "name": "address",
1233
1233
  "nodeType": "ElementaryTypeName",
1234
- "src": "1713:7:92",
1234
+ "src": "1713:7:93",
1235
1235
  "stateMutability": "nonpayable",
1236
1236
  "typeDescriptions": {
1237
1237
  "typeIdentifier": "t_address",
@@ -1241,17 +1241,17 @@
1241
1241
  "visibility": "internal"
1242
1242
  }
1243
1243
  ],
1244
- "src": "1698:35:92"
1244
+ "src": "1698:35:93"
1245
1245
  },
1246
- "src": "1681:53:92"
1246
+ "src": "1681:53:93"
1247
1247
  }
1248
1248
  ],
1249
- "scope": 34762,
1250
- "src": "275:1462:92",
1249
+ "scope": 34839,
1250
+ "src": "275:1462:93",
1251
1251
  "usedErrors": []
1252
1252
  }
1253
1253
  ],
1254
- "src": "35:1703:92"
1254
+ "src": "35:1703:93"
1255
1255
  },
1256
1256
  "compiler": {
1257
1257
  "name": "solc",
@@ -1259,7 +1259,7 @@
1259
1259
  },
1260
1260
  "networks": {},
1261
1261
  "schemaVersion": "3.4.7",
1262
- "updatedAt": "2022-05-27T08:56:19.160Z",
1262
+ "updatedAt": "2022-06-06T10:25:55.518Z",
1263
1263
  "devdoc": {
1264
1264
  "kind": "dev",
1265
1265
  "methods": {