@superfluid-finance/ethereum-contracts 1.3.2-dev.8696fa0.0 → 1.3.2-dev.9e41aae.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 (110) 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 +18 -18
  5. package/build/contracts/AgreementLibrary.json +165 -165
  6. package/build/contracts/BaseRelayRecipient.json +55 -55
  7. package/build/contracts/BatchLiquidator.json +208 -208
  8. package/build/contracts/BatchOperation.json +599 -599
  9. package/build/contracts/CFAv1Library.json +389 -389
  10. package/build/contracts/CallUtils.json +198 -198
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1525 -1525
  12. package/build/contracts/ConstantFlowAgreementV1.json +932 -932
  13. package/build/contracts/Context.json +1 -1
  14. package/build/contracts/ContextDefinitions.json +599 -599
  15. package/build/contracts/Create2.json +1 -1
  16. package/build/contracts/CustomSuperTokenBase.json +19 -19
  17. package/build/contracts/ERC165.json +1 -1
  18. package/build/contracts/ERC1820Implementer.json +1 -1
  19. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  20. package/build/contracts/ERC20.json +1 -1
  21. package/build/contracts/ERC20Burnable.json +1 -1
  22. package/build/contracts/ERC20Pausable.json +1 -1
  23. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  24. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  25. package/build/contracts/ERC777Helper.json +380 -380
  26. package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
  27. package/build/contracts/ERC777RecipientReverting.json +855 -855
  28. package/build/contracts/EnumerableSet.json +1 -1
  29. package/build/contracts/EventsEmitter.json +43 -43
  30. package/build/contracts/ExclusiveInflowTestApp.json +1525 -1525
  31. package/build/contracts/FixedSizeData.json +200 -200
  32. package/build/contracts/FlowExchangeTestApp.json +1526 -1526
  33. package/build/contracts/FlowOperatorDefinitions.json +599 -599
  34. package/build/contracts/FullUpgradableSuperTokenProxy.json +112 -112
  35. package/build/contracts/IAccessControl.json +1 -1
  36. package/build/contracts/IAccessControlEnumerable.json +1 -1
  37. package/build/contracts/IConstantFlowAgreementV1.json +567 -567
  38. package/build/contracts/IDAv1Library.json +430 -430
  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 +640 -640
  49. package/build/contracts/IMaticBridgedNativeSuperToken.json +62 -62
  50. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +62 -62
  51. package/build/contracts/IMultiSigWallet.json +24 -24
  52. package/build/contracts/IPureSuperToken.json +42 -42
  53. package/build/contracts/IPureSuperTokenCustom.json +42 -42
  54. package/build/contracts/IRelayRecipient.json +27 -27
  55. package/build/contracts/IResolver.json +38 -38
  56. package/build/contracts/ISETH.json +47 -47
  57. package/build/contracts/ISETHCustom.json +47 -47
  58. package/build/contracts/ISuperAgreement.json +50 -50
  59. package/build/contracts/ISuperApp.json +191 -191
  60. package/build/contracts/ISuperToken.json +523 -523
  61. package/build/contracts/ISuperTokenFactory.json +160 -160
  62. package/build/contracts/ISuperfluid.json +826 -826
  63. package/build/contracts/ISuperfluidGovernance.json +242 -242
  64. package/build/contracts/ISuperfluidToken.json +389 -389
  65. package/build/contracts/ITOGAv1.json +1441 -1441
  66. package/build/contracts/ITOGAv2.json +1441 -1441
  67. package/build/contracts/Initializable.json +1 -1
  68. package/build/contracts/InstantDistributionAgreementV1.json +567 -567
  69. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +228 -228
  70. package/build/contracts/NonClosableOutflowTestApp.json +1526 -1526
  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 +106 -106
  75. package/build/contracts/Resolver.json +98 -98
  76. package/build/contracts/SETHProxy.json +224 -224
  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 +1525 -1525
  81. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  82. package/build/contracts/StreamRedirector.json +704 -704
  83. package/build/contracts/Strings.json +1 -1
  84. package/build/contracts/SuperAppBase.json +42 -42
  85. package/build/contracts/SuperAppDefinitions.json +599 -599
  86. package/build/contracts/SuperToken.json +2362 -2362
  87. package/build/contracts/SuperTokenFactory.json +747 -747
  88. package/build/contracts/SuperTokenFactoryBase.json +737 -737
  89. package/build/contracts/SuperTokenFactoryHelper.json +740 -740
  90. package/build/contracts/SuperUpgrader.json +437 -437
  91. package/build/contracts/Superfluid.json +4860 -4860
  92. package/build/contracts/SuperfluidFrameworkDeployer.json +690 -690
  93. package/build/contracts/SuperfluidGovernanceBase.json +3933 -2158
  94. package/build/contracts/SuperfluidGovernanceConfigs.json +599 -599
  95. package/build/contracts/SuperfluidGovernanceII.json +7488 -4364
  96. package/build/contracts/SuperfluidGovernanceIIProxy.json +131 -131
  97. package/build/contracts/SuperfluidLoader.json +207 -207
  98. package/build/contracts/SuperfluidToken.json +1404 -1404
  99. package/build/contracts/TOGA.json +1458 -1458
  100. package/build/contracts/TestGovernance.json +8293 -5439
  101. package/build/contracts/TestToken.json +93 -93
  102. package/build/contracts/TokenCustodian.json +214 -214
  103. package/build/contracts/TokenInfo.json +32 -32
  104. package/build/contracts/UUPSProxiable.json +139 -139
  105. package/build/contracts/UUPSProxy.json +81 -81
  106. package/build/contracts/UUPSUtils.json +37 -37
  107. package/build/contracts-sizes.txt +1 -1
  108. package/contracts/gov/SuperfluidGovernanceBase.sol +98 -35
  109. package/package.json +2 -2
  110. package/scripts/gov-create-new-app-registration-key.js +9 -19
@@ -97,18 +97,18 @@
97
97
  858
98
98
  ],
99
99
  "UUPSProxiable": [
100
- 37017
100
+ 37139
101
101
  ],
102
102
  "UUPSUtils": [
103
- 37098
103
+ 37220
104
104
  ]
105
105
  },
106
- "id": 37018,
106
+ "id": 37140,
107
107
  "license": "AGPLv3",
108
108
  "nodeType": "SourceUnit",
109
109
  "nodes": [
110
110
  {
111
- "id": 36922,
111
+ "id": 37044,
112
112
  "literals": [
113
113
  "solidity",
114
114
  "0.8",
@@ -120,20 +120,20 @@
120
120
  {
121
121
  "absolutePath": "project:/contracts/upgradability/UUPSUtils.sol",
122
122
  "file": "./UUPSUtils.sol",
123
- "id": 36924,
123
+ "id": 37046,
124
124
  "nameLocation": "-1:-1:-1",
125
125
  "nodeType": "ImportDirective",
126
- "scope": 37018,
127
- "sourceUnit": 37099,
126
+ "scope": 37140,
127
+ "sourceUnit": 37221,
128
128
  "src": "60:44:95",
129
129
  "symbolAliases": [
130
130
  {
131
131
  "foreign": {
132
- "id": 36923,
132
+ "id": 37045,
133
133
  "name": "UUPSUtils",
134
134
  "nodeType": "Identifier",
135
135
  "overloadedDeclarations": [],
136
- "referencedDeclaration": 37098,
136
+ "referencedDeclaration": 37220,
137
137
  "src": "69:9:95",
138
138
  "typeDescriptions": {}
139
139
  },
@@ -145,16 +145,16 @@
145
145
  {
146
146
  "absolutePath": "@openzeppelin/contracts/proxy/utils/Initializable.sol",
147
147
  "file": "@openzeppelin/contracts/proxy/utils/Initializable.sol",
148
- "id": 36926,
148
+ "id": 37048,
149
149
  "nameLocation": "-1:-1:-1",
150
150
  "nodeType": "ImportDirective",
151
- "scope": 37018,
151
+ "scope": 37140,
152
152
  "sourceUnit": 859,
153
153
  "src": "105:86:95",
154
154
  "symbolAliases": [
155
155
  {
156
156
  "foreign": {
157
- "id": 36925,
157
+ "id": 37047,
158
158
  "name": "Initializable",
159
159
  "nodeType": "Identifier",
160
160
  "overloadedDeclarations": [],
@@ -172,13 +172,13 @@
172
172
  "baseContracts": [
173
173
  {
174
174
  "baseName": {
175
- "id": 36928,
175
+ "id": 37050,
176
176
  "name": "Initializable",
177
177
  "nodeType": "IdentifierPath",
178
178
  "referencedDeclaration": 858,
179
179
  "src": "310:13:95"
180
180
  },
181
- "id": 36929,
181
+ "id": 37051,
182
182
  "nodeType": "InheritanceSpecifier",
183
183
  "src": "310:13:95"
184
184
  }
@@ -187,15 +187,15 @@
187
187
  "contractDependencies": [],
188
188
  "contractKind": "contract",
189
189
  "documentation": {
190
- "id": 36927,
190
+ "id": 37049,
191
191
  "nodeType": "StructuredDocumentation",
192
192
  "src": "193:81:95",
193
193
  "text": " @title UUPS (Universal Upgradeable Proxy Standard) Proxiable contract."
194
194
  },
195
195
  "fullyImplemented": false,
196
- "id": 37017,
196
+ "id": 37139,
197
197
  "linearizedBaseContracts": [
198
- 37017,
198
+ 37139,
199
199
  858
200
200
  ],
201
201
  "name": "UUPSProxiable",
@@ -204,7 +204,7 @@
204
204
  "nodes": [
205
205
  {
206
206
  "body": {
207
- "id": 36939,
207
+ "id": 37061,
208
208
  "nodeType": "Block",
209
209
  "src": "472:50:95",
210
210
  "statements": [
@@ -214,32 +214,32 @@
214
214
  "expression": {
215
215
  "argumentTypes": [],
216
216
  "expression": {
217
- "id": 36935,
217
+ "id": 37057,
218
218
  "name": "UUPSUtils",
219
219
  "nodeType": "Identifier",
220
220
  "overloadedDeclarations": [],
221
- "referencedDeclaration": 37098,
221
+ "referencedDeclaration": 37220,
222
222
  "src": "489:9:95",
223
223
  "typeDescriptions": {
224
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$37098_$",
224
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$37220_$",
225
225
  "typeString": "type(library UUPSUtils)"
226
226
  }
227
227
  },
228
- "id": 36936,
228
+ "id": 37058,
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": 37089,
235
+ "referencedDeclaration": 37211,
236
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": 36937,
242
+ "id": 37059,
243
243
  "isConstant": false,
244
244
  "isLValue": false,
245
245
  "isPure": false,
@@ -254,21 +254,21 @@
254
254
  "typeString": "address"
255
255
  }
256
256
  },
257
- "functionReturnParameters": 36934,
258
- "id": 36938,
257
+ "functionReturnParameters": 37056,
258
+ "id": 37060,
259
259
  "nodeType": "Return",
260
260
  "src": "482:33:95"
261
261
  }
262
262
  ]
263
263
  },
264
264
  "documentation": {
265
- "id": 36930,
265
+ "id": 37052,
266
266
  "nodeType": "StructuredDocumentation",
267
267
  "src": "331:64:95",
268
268
  "text": " @dev Get current implementation code address."
269
269
  },
270
270
  "functionSelector": "50d75d25",
271
- "id": 36940,
271
+ "id": 37062,
272
272
  "implemented": true,
273
273
  "kind": "function",
274
274
  "modifiers": [],
@@ -276,23 +276,23 @@
276
276
  "nameLocation": "409:14:95",
277
277
  "nodeType": "FunctionDefinition",
278
278
  "parameters": {
279
- "id": 36931,
279
+ "id": 37053,
280
280
  "nodeType": "ParameterList",
281
281
  "parameters": [],
282
282
  "src": "423:2:95"
283
283
  },
284
284
  "returnParameters": {
285
- "id": 36934,
285
+ "id": 37056,
286
286
  "nodeType": "ParameterList",
287
287
  "parameters": [
288
288
  {
289
289
  "constant": false,
290
- "id": 36933,
290
+ "id": 37055,
291
291
  "mutability": "mutable",
292
292
  "name": "codeAddress",
293
293
  "nameLocation": "455:11:95",
294
294
  "nodeType": "VariableDeclaration",
295
- "scope": 36940,
295
+ "scope": 37062,
296
296
  "src": "447:19:95",
297
297
  "stateVariable": false,
298
298
  "storageLocation": "default",
@@ -301,7 +301,7 @@
301
301
  "typeString": "address"
302
302
  },
303
303
  "typeName": {
304
- "id": 36932,
304
+ "id": 37054,
305
305
  "name": "address",
306
306
  "nodeType": "ElementaryTypeName",
307
307
  "src": "447:7:95",
@@ -316,7 +316,7 @@
316
316
  ],
317
317
  "src": "446:21:95"
318
318
  },
319
- "scope": 37017,
319
+ "scope": 37139,
320
320
  "src": "400:122:95",
321
321
  "stateMutability": "view",
322
322
  "virtual": false,
@@ -324,7 +324,7 @@
324
324
  },
325
325
  {
326
326
  "functionSelector": "46951954",
327
- "id": 36945,
327
+ "id": 37067,
328
328
  "implemented": false,
329
329
  "kind": "function",
330
330
  "modifiers": [],
@@ -332,17 +332,17 @@
332
332
  "nameLocation": "537:10:95",
333
333
  "nodeType": "FunctionDefinition",
334
334
  "parameters": {
335
- "id": 36943,
335
+ "id": 37065,
336
336
  "nodeType": "ParameterList",
337
337
  "parameters": [
338
338
  {
339
339
  "constant": false,
340
- "id": 36942,
340
+ "id": 37064,
341
341
  "mutability": "mutable",
342
342
  "name": "newAddress",
343
343
  "nameLocation": "556:10:95",
344
344
  "nodeType": "VariableDeclaration",
345
- "scope": 36945,
345
+ "scope": 37067,
346
346
  "src": "548:18:95",
347
347
  "stateVariable": false,
348
348
  "storageLocation": "default",
@@ -351,7 +351,7 @@
351
351
  "typeString": "address"
352
352
  },
353
353
  "typeName": {
354
- "id": 36941,
354
+ "id": 37063,
355
355
  "name": "address",
356
356
  "nodeType": "ElementaryTypeName",
357
357
  "src": "548:7:95",
@@ -367,12 +367,12 @@
367
367
  "src": "547:20:95"
368
368
  },
369
369
  "returnParameters": {
370
- "id": 36944,
370
+ "id": 37066,
371
371
  "nodeType": "ParameterList",
372
372
  "parameters": [],
373
373
  "src": "584:0:95"
374
374
  },
375
- "scope": 37017,
375
+ "scope": 37139,
376
376
  "src": "528:57:95",
377
377
  "stateMutability": "nonpayable",
378
378
  "virtual": true,
@@ -380,21 +380,21 @@
380
380
  },
381
381
  {
382
382
  "body": {
383
- "id": 36950,
383
+ "id": 37072,
384
384
  "nodeType": "Block",
385
385
  "src": "772:3:95",
386
386
  "statements": []
387
387
  },
388
388
  "functionSelector": "9903ad38",
389
- "id": 36951,
389
+ "id": 37073,
390
390
  "implemented": true,
391
391
  "kind": "function",
392
392
  "modifiers": [
393
393
  {
394
- "id": 36948,
394
+ "id": 37070,
395
395
  "kind": "modifierInvocation",
396
396
  "modifierName": {
397
- "id": 36947,
397
+ "id": 37069,
398
398
  "name": "initializer",
399
399
  "nodeType": "IdentifierPath",
400
400
  "referencedDeclaration": 778,
@@ -408,18 +408,18 @@
408
408
  "nameLocation": "740:8:95",
409
409
  "nodeType": "FunctionDefinition",
410
410
  "parameters": {
411
- "id": 36946,
411
+ "id": 37068,
412
412
  "nodeType": "ParameterList",
413
413
  "parameters": [],
414
414
  "src": "748:2:95"
415
415
  },
416
416
  "returnParameters": {
417
- "id": 36949,
417
+ "id": 37071,
418
418
  "nodeType": "ParameterList",
419
419
  "parameters": [],
420
420
  "src": "772:0:95"
421
421
  },
422
- "scope": 37017,
422
+ "scope": 37139,
423
423
  "src": "731:44:95",
424
424
  "stateMutability": "nonpayable",
425
425
  "virtual": false,
@@ -427,13 +427,13 @@
427
427
  },
428
428
  {
429
429
  "documentation": {
430
- "id": 36952,
430
+ "id": 37074,
431
431
  "nodeType": "StructuredDocumentation",
432
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": 36957,
436
+ "id": 37079,
437
437
  "implemented": false,
438
438
  "kind": "function",
439
439
  "modifiers": [],
@@ -441,23 +441,23 @@
441
441
  "nameLocation": "1081:13:95",
442
442
  "nodeType": "FunctionDefinition",
443
443
  "parameters": {
444
- "id": 36953,
444
+ "id": 37075,
445
445
  "nodeType": "ParameterList",
446
446
  "parameters": [],
447
447
  "src": "1094:2:95"
448
448
  },
449
449
  "returnParameters": {
450
- "id": 36956,
450
+ "id": 37078,
451
451
  "nodeType": "ParameterList",
452
452
  "parameters": [
453
453
  {
454
454
  "constant": false,
455
- "id": 36955,
455
+ "id": 37077,
456
456
  "mutability": "mutable",
457
457
  "name": "",
458
458
  "nameLocation": "-1:-1:-1",
459
459
  "nodeType": "VariableDeclaration",
460
- "scope": 36957,
460
+ "scope": 37079,
461
461
  "src": "1126:7:95",
462
462
  "stateVariable": false,
463
463
  "storageLocation": "default",
@@ -466,7 +466,7 @@
466
466
  "typeString": "bytes32"
467
467
  },
468
468
  "typeName": {
469
- "id": 36954,
469
+ "id": 37076,
470
470
  "name": "bytes32",
471
471
  "nodeType": "ElementaryTypeName",
472
472
  "src": "1126:7:95",
@@ -480,7 +480,7 @@
480
480
  ],
481
481
  "src": "1125:9:95"
482
482
  },
483
- "scope": 37017,
483
+ "scope": 37139,
484
484
  "src": "1072:63:95",
485
485
  "stateMutability": "view",
486
486
  "virtual": true,
@@ -488,7 +488,7 @@
488
488
  },
489
489
  {
490
490
  "body": {
491
- "id": 37009,
491
+ "id": 37131,
492
492
  "nodeType": "Block",
493
493
  "src": "1350:515:95",
494
494
  "statements": [
@@ -500,7 +500,7 @@
500
500
  "typeIdentifier": "t_address",
501
501
  "typeString": "address"
502
502
  },
503
- "id": 36971,
503
+ "id": 37093,
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": 36964,
513
+ "id": 37086,
514
514
  "name": "UUPSUtils",
515
515
  "nodeType": "Identifier",
516
516
  "overloadedDeclarations": [],
517
- "referencedDeclaration": 37098,
517
+ "referencedDeclaration": 37220,
518
518
  "src": "1419:9:95",
519
519
  "typeDescriptions": {
520
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$37098_$",
520
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$37220_$",
521
521
  "typeString": "type(library UUPSUtils)"
522
522
  }
523
523
  },
524
- "id": 36965,
524
+ "id": 37087,
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": 37089,
531
+ "referencedDeclaration": 37211,
532
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": 36966,
538
+ "id": 37088,
539
539
  "isConstant": false,
540
540
  "isLValue": false,
541
541
  "isPure": false,
@@ -556,7 +556,7 @@
556
556
  "arguments": [
557
557
  {
558
558
  "hexValue": "30",
559
- "id": 36969,
559
+ "id": 37091,
560
560
  "isConstant": false,
561
561
  "isLValue": false,
562
562
  "isPure": true,
@@ -578,7 +578,7 @@
578
578
  "typeString": "int_const 0"
579
579
  }
580
580
  ],
581
- "id": 36968,
581
+ "id": 37090,
582
582
  "isConstant": false,
583
583
  "isLValue": false,
584
584
  "isPure": true,
@@ -590,14 +590,14 @@
590
590
  "typeString": "type(address)"
591
591
  },
592
592
  "typeName": {
593
- "id": 36967,
593
+ "id": 37089,
594
594
  "name": "address",
595
595
  "nodeType": "ElementaryTypeName",
596
596
  "src": "1449:7:95",
597
597
  "typeDescriptions": {}
598
598
  }
599
599
  },
600
- "id": 36970,
600
+ "id": 37092,
601
601
  "isConstant": false,
602
602
  "isLValue": false,
603
603
  "isPure": true,
@@ -620,7 +620,7 @@
620
620
  },
621
621
  {
622
622
  "hexValue": "5555505350726f786961626c653a206e6f742075706772616461626c65",
623
- "id": 36972,
623
+ "id": 37094,
624
624
  "isConstant": false,
625
625
  "isLValue": false,
626
626
  "isPure": true,
@@ -646,7 +646,7 @@
646
646
  "typeString": "literal_string \"UUPSProxiable: not upgradable\""
647
647
  }
648
648
  ],
649
- "id": 36963,
649
+ "id": 37085,
650
650
  "name": "require",
651
651
  "nodeType": "Identifier",
652
652
  "overloadedDeclarations": [
@@ -660,7 +660,7 @@
660
660
  "typeString": "function (bool,string memory) pure"
661
661
  }
662
662
  },
663
- "id": 36973,
663
+ "id": 37095,
664
664
  "isConstant": false,
665
665
  "isLValue": false,
666
666
  "isPure": false,
@@ -675,7 +675,7 @@
675
675
  "typeString": "tuple()"
676
676
  }
677
677
  },
678
- "id": 36974,
678
+ "id": 37096,
679
679
  "nodeType": "ExpressionStatement",
680
680
  "src": "1411:82:95"
681
681
  },
@@ -687,7 +687,7 @@
687
687
  "typeIdentifier": "t_bytes32",
688
688
  "typeString": "bytes32"
689
689
  },
690
- "id": 36983,
690
+ "id": 37105,
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": 36976,
699
+ "id": 37098,
700
700
  "name": "proxiableUUID",
701
701
  "nodeType": "Identifier",
702
702
  "overloadedDeclarations": [],
703
- "referencedDeclaration": 36957,
703
+ "referencedDeclaration": 37079,
704
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": 36977,
710
+ "id": 37099,
711
711
  "isConstant": false,
712
712
  "isLValue": false,
713
713
  "isPure": false,
@@ -731,11 +731,11 @@
731
731
  "expression": {
732
732
  "arguments": [
733
733
  {
734
- "id": 36979,
734
+ "id": 37101,
735
735
  "name": "newAddress",
736
736
  "nodeType": "Identifier",
737
737
  "overloadedDeclarations": [],
738
- "referencedDeclaration": 36960,
738
+ "referencedDeclaration": 37082,
739
739
  "src": "1557:10:95",
740
740
  "typeDescriptions": {
741
741
  "typeIdentifier": "t_address",
@@ -750,18 +750,18 @@
750
750
  "typeString": "address"
751
751
  }
752
752
  ],
753
- "id": 36978,
753
+ "id": 37100,
754
754
  "name": "UUPSProxiable",
755
755
  "nodeType": "Identifier",
756
756
  "overloadedDeclarations": [],
757
- "referencedDeclaration": 37017,
757
+ "referencedDeclaration": 37139,
758
758
  "src": "1543:13:95",
759
759
  "typeDescriptions": {
760
- "typeIdentifier": "t_type$_t_contract$_UUPSProxiable_$37017_$",
760
+ "typeIdentifier": "t_type$_t_contract$_UUPSProxiable_$37139_$",
761
761
  "typeString": "type(contract UUPSProxiable)"
762
762
  }
763
763
  },
764
- "id": 36980,
764
+ "id": 37102,
765
765
  "isConstant": false,
766
766
  "isLValue": false,
767
767
  "isPure": false,
@@ -772,25 +772,25 @@
772
772
  "src": "1543:25:95",
773
773
  "tryCall": false,
774
774
  "typeDescriptions": {
775
- "typeIdentifier": "t_contract$_UUPSProxiable_$37017",
775
+ "typeIdentifier": "t_contract$_UUPSProxiable_$37139",
776
776
  "typeString": "contract UUPSProxiable"
777
777
  }
778
778
  },
779
- "id": 36981,
779
+ "id": 37103,
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": 36957,
786
+ "referencedDeclaration": 37079,
787
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": 36982,
793
+ "id": 37104,
794
794
  "isConstant": false,
795
795
  "isLValue": false,
796
796
  "isPure": false,
@@ -813,7 +813,7 @@
813
813
  },
814
814
  {
815
815
  "hexValue": "5555505350726f786961626c653a206e6f7420636f6d70617469626c65206c6f676963",
816
- "id": 36984,
816
+ "id": 37106,
817
817
  "isConstant": false,
818
818
  "isLValue": false,
819
819
  "isPure": true,
@@ -839,7 +839,7 @@
839
839
  "typeString": "literal_string \"UUPSProxiable: not compatible logic\""
840
840
  }
841
841
  ],
842
- "id": 36975,
842
+ "id": 37097,
843
843
  "name": "require",
844
844
  "nodeType": "Identifier",
845
845
  "overloadedDeclarations": [
@@ -853,7 +853,7 @@
853
853
  "typeString": "function (bool,string memory) pure"
854
854
  }
855
855
  },
856
- "id": 36985,
856
+ "id": 37107,
857
857
  "isConstant": false,
858
858
  "isLValue": false,
859
859
  "isPure": false,
@@ -868,7 +868,7 @@
868
868
  "typeString": "tuple()"
869
869
  }
870
870
  },
871
- "id": 36986,
871
+ "id": 37108,
872
872
  "nodeType": "ExpressionStatement",
873
873
  "src": "1503:142:95"
874
874
  },
@@ -880,7 +880,7 @@
880
880
  "typeIdentifier": "t_address",
881
881
  "typeString": "address"
882
882
  },
883
- "id": 36993,
883
+ "id": 37115,
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": 36990,
891
+ "id": 37112,
892
892
  "name": "this",
893
893
  "nodeType": "Identifier",
894
894
  "overloadedDeclarations": [],
895
895
  "referencedDeclaration": 4294967268,
896
896
  "src": "1684:4:95",
897
897
  "typeDescriptions": {
898
- "typeIdentifier": "t_contract$_UUPSProxiable_$37017",
898
+ "typeIdentifier": "t_contract$_UUPSProxiable_$37139",
899
899
  "typeString": "contract UUPSProxiable"
900
900
  }
901
901
  }
@@ -903,11 +903,11 @@
903
903
  "expression": {
904
904
  "argumentTypes": [
905
905
  {
906
- "typeIdentifier": "t_contract$_UUPSProxiable_$37017",
906
+ "typeIdentifier": "t_contract$_UUPSProxiable_$37139",
907
907
  "typeString": "contract UUPSProxiable"
908
908
  }
909
909
  ],
910
- "id": 36989,
910
+ "id": 37111,
911
911
  "isConstant": false,
912
912
  "isLValue": false,
913
913
  "isPure": true,
@@ -919,14 +919,14 @@
919
919
  "typeString": "type(address)"
920
920
  },
921
921
  "typeName": {
922
- "id": 36988,
922
+ "id": 37110,
923
923
  "name": "address",
924
924
  "nodeType": "ElementaryTypeName",
925
925
  "src": "1676:7:95",
926
926
  "typeDescriptions": {}
927
927
  }
928
928
  },
929
- "id": 36991,
929
+ "id": 37113,
930
930
  "isConstant": false,
931
931
  "isLValue": false,
932
932
  "isPure": false,
@@ -944,11 +944,11 @@
944
944
  "nodeType": "BinaryOperation",
945
945
  "operator": "!=",
946
946
  "rightExpression": {
947
- "id": 36992,
947
+ "id": 37114,
948
948
  "name": "newAddress",
949
949
  "nodeType": "Identifier",
950
950
  "overloadedDeclarations": [],
951
- "referencedDeclaration": 36960,
951
+ "referencedDeclaration": 37082,
952
952
  "src": "1693:10:95",
953
953
  "typeDescriptions": {
954
954
  "typeIdentifier": "t_address",
@@ -963,7 +963,7 @@
963
963
  },
964
964
  {
965
965
  "hexValue": "5555505350726f786961626c653a2070726f7879206c6f6f70",
966
- "id": 36994,
966
+ "id": 37116,
967
967
  "isConstant": false,
968
968
  "isLValue": false,
969
969
  "isPure": true,
@@ -989,7 +989,7 @@
989
989
  "typeString": "literal_string \"UUPSProxiable: proxy loop\""
990
990
  }
991
991
  ],
992
- "id": 36987,
992
+ "id": 37109,
993
993
  "name": "require",
994
994
  "nodeType": "Identifier",
995
995
  "overloadedDeclarations": [
@@ -1003,7 +1003,7 @@
1003
1003
  "typeString": "function (bool,string memory) pure"
1004
1004
  }
1005
1005
  },
1006
- "id": 36995,
1006
+ "id": 37117,
1007
1007
  "isConstant": false,
1008
1008
  "isLValue": false,
1009
1009
  "isPure": false,
@@ -1018,7 +1018,7 @@
1018
1018
  "typeString": "tuple()"
1019
1019
  }
1020
1020
  },
1021
- "id": 36996,
1021
+ "id": 37118,
1022
1022
  "nodeType": "ExpressionStatement",
1023
1023
  "src": "1655:99:95"
1024
1024
  },
@@ -1026,11 +1026,11 @@
1026
1026
  "expression": {
1027
1027
  "arguments": [
1028
1028
  {
1029
- "id": 37000,
1029
+ "id": 37122,
1030
1030
  "name": "newAddress",
1031
1031
  "nodeType": "Identifier",
1032
1032
  "overloadedDeclarations": [],
1033
- "referencedDeclaration": 36960,
1033
+ "referencedDeclaration": 37082,
1034
1034
  "src": "1792:10:95",
1035
1035
  "typeDescriptions": {
1036
1036
  "typeIdentifier": "t_address",
@@ -1046,32 +1046,32 @@
1046
1046
  }
1047
1047
  ],
1048
1048
  "expression": {
1049
- "id": 36997,
1049
+ "id": 37119,
1050
1050
  "name": "UUPSUtils",
1051
1051
  "nodeType": "Identifier",
1052
1052
  "overloadedDeclarations": [],
1053
- "referencedDeclaration": 37098,
1053
+ "referencedDeclaration": 37220,
1054
1054
  "src": "1764:9:95",
1055
1055
  "typeDescriptions": {
1056
- "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$37098_$",
1056
+ "typeIdentifier": "t_type$_t_contract$_UUPSUtils_$37220_$",
1057
1057
  "typeString": "type(library UUPSUtils)"
1058
1058
  }
1059
1059
  },
1060
- "id": 36999,
1060
+ "id": 37121,
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": 37097,
1067
+ "referencedDeclaration": 37219,
1068
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": 37001,
1074
+ "id": 37123,
1075
1075
  "isConstant": false,
1076
1076
  "isLValue": false,
1077
1077
  "isPure": false,
@@ -1086,7 +1086,7 @@
1086
1086
  "typeString": "tuple()"
1087
1087
  }
1088
1088
  },
1089
- "id": 37002,
1089
+ "id": 37124,
1090
1090
  "nodeType": "ExpressionStatement",
1091
1091
  "src": "1764:39:95"
1092
1092
  },
@@ -1097,18 +1097,18 @@
1097
1097
  "arguments": [],
1098
1098
  "expression": {
1099
1099
  "argumentTypes": [],
1100
- "id": 37004,
1100
+ "id": 37126,
1101
1101
  "name": "proxiableUUID",
1102
1102
  "nodeType": "Identifier",
1103
1103
  "overloadedDeclarations": [],
1104
- "referencedDeclaration": 36957,
1104
+ "referencedDeclaration": 37079,
1105
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": 37005,
1111
+ "id": 37127,
1112
1112
  "isConstant": false,
1113
1113
  "isLValue": false,
1114
1114
  "isPure": false,
@@ -1124,11 +1124,11 @@
1124
1124
  }
1125
1125
  },
1126
1126
  {
1127
- "id": 37006,
1127
+ "id": 37128,
1128
1128
  "name": "newAddress",
1129
1129
  "nodeType": "Identifier",
1130
1130
  "overloadedDeclarations": [],
1131
- "referencedDeclaration": 36960,
1131
+ "referencedDeclaration": 37082,
1132
1132
  "src": "1847:10:95",
1133
1133
  "typeDescriptions": {
1134
1134
  "typeIdentifier": "t_address",
@@ -1147,18 +1147,18 @@
1147
1147
  "typeString": "address"
1148
1148
  }
1149
1149
  ],
1150
- "id": 37003,
1150
+ "id": 37125,
1151
1151
  "name": "CodeUpdated",
1152
1152
  "nodeType": "Identifier",
1153
1153
  "overloadedDeclarations": [],
1154
- "referencedDeclaration": 37016,
1154
+ "referencedDeclaration": 37138,
1155
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": 37007,
1161
+ "id": 37129,
1162
1162
  "isConstant": false,
1163
1163
  "isLValue": false,
1164
1164
  "isPure": false,
@@ -1173,19 +1173,19 @@
1173
1173
  "typeString": "tuple()"
1174
1174
  }
1175
1175
  },
1176
- "id": 37008,
1176
+ "id": 37130,
1177
1177
  "nodeType": "EmitStatement",
1178
1178
  "src": "1813:45:95"
1179
1179
  }
1180
1180
  ]
1181
1181
  },
1182
1182
  "documentation": {
1183
- "id": 36958,
1183
+ "id": 37080,
1184
1184
  "nodeType": "StructuredDocumentation",
1185
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": 37010,
1188
+ "id": 37132,
1189
1189
  "implemented": true,
1190
1190
  "kind": "function",
1191
1191
  "modifiers": [],
@@ -1193,17 +1193,17 @@
1193
1193
  "nameLocation": "1298:18:95",
1194
1194
  "nodeType": "FunctionDefinition",
1195
1195
  "parameters": {
1196
- "id": 36961,
1196
+ "id": 37083,
1197
1197
  "nodeType": "ParameterList",
1198
1198
  "parameters": [
1199
1199
  {
1200
1200
  "constant": false,
1201
- "id": 36960,
1201
+ "id": 37082,
1202
1202
  "mutability": "mutable",
1203
1203
  "name": "newAddress",
1204
1204
  "nameLocation": "1325:10:95",
1205
1205
  "nodeType": "VariableDeclaration",
1206
- "scope": 37010,
1206
+ "scope": 37132,
1207
1207
  "src": "1317:18:95",
1208
1208
  "stateVariable": false,
1209
1209
  "storageLocation": "default",
@@ -1212,7 +1212,7 @@
1212
1212
  "typeString": "address"
1213
1213
  },
1214
1214
  "typeName": {
1215
- "id": 36959,
1215
+ "id": 37081,
1216
1216
  "name": "address",
1217
1217
  "nodeType": "ElementaryTypeName",
1218
1218
  "src": "1317:7:95",
@@ -1228,12 +1228,12 @@
1228
1228
  "src": "1316:20:95"
1229
1229
  },
1230
1230
  "returnParameters": {
1231
- "id": 36962,
1231
+ "id": 37084,
1232
1232
  "nodeType": "ParameterList",
1233
1233
  "parameters": [],
1234
1234
  "src": "1350:0:95"
1235
1235
  },
1236
- "scope": 37017,
1236
+ "scope": 37139,
1237
1237
  "src": "1289:576:95",
1238
1238
  "stateMutability": "nonpayable",
1239
1239
  "virtual": false,
@@ -1242,23 +1242,23 @@
1242
1242
  {
1243
1243
  "anonymous": false,
1244
1244
  "eventSelector": "e011bc04c286c344a8fcbb8de77f953da762c3e25d8cdea984147fc4168a5dcc",
1245
- "id": 37016,
1245
+ "id": 37138,
1246
1246
  "name": "CodeUpdated",
1247
1247
  "nameLocation": "1877:11:95",
1248
1248
  "nodeType": "EventDefinition",
1249
1249
  "parameters": {
1250
- "id": 37015,
1250
+ "id": 37137,
1251
1251
  "nodeType": "ParameterList",
1252
1252
  "parameters": [
1253
1253
  {
1254
1254
  "constant": false,
1255
- "id": 37012,
1255
+ "id": 37134,
1256
1256
  "indexed": false,
1257
1257
  "mutability": "mutable",
1258
1258
  "name": "uuid",
1259
1259
  "nameLocation": "1897:4:95",
1260
1260
  "nodeType": "VariableDeclaration",
1261
- "scope": 37016,
1261
+ "scope": 37138,
1262
1262
  "src": "1889:12:95",
1263
1263
  "stateVariable": false,
1264
1264
  "storageLocation": "default",
@@ -1267,7 +1267,7 @@
1267
1267
  "typeString": "bytes32"
1268
1268
  },
1269
1269
  "typeName": {
1270
- "id": 37011,
1270
+ "id": 37133,
1271
1271
  "name": "bytes32",
1272
1272
  "nodeType": "ElementaryTypeName",
1273
1273
  "src": "1889:7:95",
@@ -1280,13 +1280,13 @@
1280
1280
  },
1281
1281
  {
1282
1282
  "constant": false,
1283
- "id": 37014,
1283
+ "id": 37136,
1284
1284
  "indexed": false,
1285
1285
  "mutability": "mutable",
1286
1286
  "name": "codeAddress",
1287
1287
  "nameLocation": "1911:11:95",
1288
1288
  "nodeType": "VariableDeclaration",
1289
- "scope": 37016,
1289
+ "scope": 37138,
1290
1290
  "src": "1903:19:95",
1291
1291
  "stateVariable": false,
1292
1292
  "storageLocation": "default",
@@ -1295,7 +1295,7 @@
1295
1295
  "typeString": "address"
1296
1296
  },
1297
1297
  "typeName": {
1298
- "id": 37013,
1298
+ "id": 37135,
1299
1299
  "name": "address",
1300
1300
  "nodeType": "ElementaryTypeName",
1301
1301
  "src": "1903:7:95",
@@ -1313,7 +1313,7 @@
1313
1313
  "src": "1871:53:95"
1314
1314
  }
1315
1315
  ],
1316
- "scope": 37018,
1316
+ "scope": 37140,
1317
1317
  "src": "275:1652:95",
1318
1318
  "usedErrors": []
1319
1319
  }
@@ -1326,7 +1326,7 @@
1326
1326
  },
1327
1327
  "networks": {},
1328
1328
  "schemaVersion": "3.4.8",
1329
- "updatedAt": "2022-08-29T16:08:02.779Z",
1329
+ "updatedAt": "2022-08-30T13:03:13.790Z",
1330
1330
  "devdoc": {
1331
1331
  "kind": "dev",
1332
1332
  "methods": {