@superfluid-finance/ethereum-contracts 1.7.2-dev.c99f6f9.0 → 1.7.2-dev.dae8ea5.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 (209) hide show
  1. package/README.md +2 -2
  2. package/artifacts/contracts/apps/SuperAppBaseFlow.sol/SuperAppBaseFlow.json +13 -13
  3. package/artifacts/contracts/apps/SuperfluidLoaderLibrary.sol/SuperfluidLoaderLibrary.json +2 -2
  4. package/artifacts/contracts/mocks/IDASuperAppTester.sol/IDASuperAppTester.json +2 -2
  5. package/artifacts/contracts/mocks/MockSmartWallet.sol/MockSmartWallet.json +2 -2
  6. package/artifacts/contracts/mocks/SuperAppBaseFlowTester.sol/SuperAppBaseFlowTester.json +15 -15
  7. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock.json +2 -2
  8. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMock.json +2 -2
  9. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel.json +2 -2
  10. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux.json +2 -2
  11. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockNotSelfRegistering.json +2 -2
  12. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx.json +2 -2
  13. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx.json +2 -2
  14. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp.json +2 -2
  15. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey.json +2 -2
  16. package/artifacts/contracts/mocks/SuperfluidMock.sol/SuperfluidMock.json +2 -2
  17. package/artifacts/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester.json +2 -2
  18. package/artifacts/contracts/superfluid/Superfluid.sol/Superfluid.json +2 -2
  19. package/artifacts/contracts/utils/SuperfluidFrameworkDeployer.sol/SuperfluidFrameworkDeployer.json +2 -2
  20. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/CFAv1ForwarderDeployerLibrary.json +2 -2
  21. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/IDAv1ForwarderDeployerLibrary.json +2 -2
  22. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/ProxyDeployerLibrary.json +2 -2
  23. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperTokenDeployerLibrary.json +2 -2
  24. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidCFAv1DeployerLibrary.json +2 -2
  25. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidFrameworkDeploymentSteps.json +2 -2
  26. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidGovDeployerLibrary.json +2 -2
  27. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidHostDeployerLibrary.json +2 -2
  28. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidIDAv1DeployerLibrary.json +2 -2
  29. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidLoaderDeployerLibrary.json +2 -2
  30. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidNFTLogicDeployerLibrary.json +2 -2
  31. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidPeripheryDeployerLibrary.json +2 -2
  32. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/TokenDeployerLibrary.json +2 -2
  33. package/build/contracts/AccessControl.json +1 -1
  34. package/build/contracts/AccessControlEnumerable.json +1 -1
  35. package/build/contracts/Address.json +1 -1
  36. package/build/contracts/AgreementBase.json +18 -18
  37. package/build/contracts/AgreementLibrary.json +165 -165
  38. package/build/contracts/BaseRelayRecipient.json +57 -57
  39. package/build/contracts/BatchLiquidator.json +382 -382
  40. package/build/contracts/BatchOperation.json +614 -614
  41. package/build/contracts/CFAv1Forwarder.json +1250 -1250
  42. package/build/contracts/CFAv1ForwarderDeployerLibrary.json +2387 -2387
  43. package/build/contracts/CFAv1Library.json +389 -389
  44. package/build/contracts/CallUtils.json +198 -198
  45. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1525 -1525
  46. package/build/contracts/ConstantFlowAgreementV1.json +1087 -1087
  47. package/build/contracts/ConstantInflowNFT.json +402 -402
  48. package/build/contracts/ConstantOutflowNFT.json +661 -661
  49. package/build/contracts/Context.json +1 -1
  50. package/build/contracts/ContextDefinitions.json +614 -614
  51. package/build/contracts/CustomSuperTokenBase.json +19 -19
  52. package/build/contracts/ERC165.json +1 -1
  53. package/build/contracts/ERC1820Implementer.json +1 -1
  54. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  55. package/build/contracts/ERC20.json +1 -1
  56. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  57. package/build/contracts/ERC777Helper.json +384 -384
  58. package/build/contracts/ERC777RecipientDrainingGas.json +863 -863
  59. package/build/contracts/ERC777RecipientReverting.json +863 -863
  60. package/build/contracts/EnumerableSet.json +1 -1
  61. package/build/contracts/EventsEmitter.json +43 -43
  62. package/build/contracts/ExclusiveInflowTestApp.json +1525 -1525
  63. package/build/contracts/FixedSizeData.json +200 -200
  64. package/build/contracts/FlowExchangeTestApp.json +1526 -1526
  65. package/build/contracts/FlowNFTBase.json +1280 -1280
  66. package/build/contracts/FlowOperatorDefinitions.json +614 -614
  67. package/build/contracts/ForwarderBase.json +190 -190
  68. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  69. package/build/contracts/IAccessControl.json +1 -1
  70. package/build/contracts/IAccessControlEnumerable.json +1 -1
  71. package/build/contracts/IConstantFlowAgreementV1.json +677 -677
  72. package/build/contracts/IConstantInflowNFT.json +54 -54
  73. package/build/contracts/IConstantOutflowNFT.json +107 -107
  74. package/build/contracts/IDAv1Forwarder.json +912 -912
  75. package/build/contracts/IDAv1ForwarderDeployerLibrary.json +2387 -2387
  76. package/build/contracts/IDAv1Library.json +430 -430
  77. package/build/contracts/IERC165.json +1 -1
  78. package/build/contracts/IERC1820Implementer.json +1 -1
  79. package/build/contracts/IERC1820Registry.json +1 -1
  80. package/build/contracts/IERC20.json +1 -1
  81. package/build/contracts/IERC20Metadata.json +1 -1
  82. package/build/contracts/IERC20Permit.json +1 -1
  83. package/build/contracts/IERC721.json +1 -1
  84. package/build/contracts/IERC721Metadata.json +1 -1
  85. package/build/contracts/IERC777.json +1 -1
  86. package/build/contracts/IERC777Recipient.json +1 -1
  87. package/build/contracts/IERC777Sender.json +1 -1
  88. package/build/contracts/IFlowNFTBase.json +115 -115
  89. package/build/contracts/IInstantDistributionAgreementV1.json +667 -667
  90. package/build/contracts/IMultiSigWallet.json +31 -31
  91. package/build/contracts/IPoolAdminNFT.json +7 -7
  92. package/build/contracts/IPoolMemberNFT.json +7 -7
  93. package/build/contracts/IPureSuperToken.json +62 -62
  94. package/build/contracts/IPureSuperTokenCustom.json +62 -62
  95. package/build/contracts/IRelayRecipient.json +27 -27
  96. package/build/contracts/IResolver.json +38 -38
  97. package/build/contracts/ISETH.json +67 -67
  98. package/build/contracts/ISETHCustom.json +67 -67
  99. package/build/contracts/ISuperAgreement.json +50 -50
  100. package/build/contracts/ISuperApp.json +191 -191
  101. package/build/contracts/ISuperToken.json +695 -695
  102. package/build/contracts/ISuperTokenFactory.json +225 -225
  103. package/build/contracts/ISuperfluid.json +904 -904
  104. package/build/contracts/ISuperfluidGovernance.json +251 -251
  105. package/build/contracts/ISuperfluidToken.json +407 -407
  106. package/build/contracts/ITOGAv1.json +1346 -1346
  107. package/build/contracts/ITOGAv2.json +1346 -1346
  108. package/build/contracts/ITOGAv3.json +1346 -1346
  109. package/build/contracts/Initializable.json +1 -1
  110. package/build/contracts/InstantDistributionAgreementV1.json +594 -594
  111. package/build/contracts/Math.json +1 -1
  112. package/build/contracts/NonClosableOutflowTestApp.json +1526 -1526
  113. package/build/contracts/Ownable.json +1 -1
  114. package/build/contracts/Proxy.json +1 -1
  115. package/build/contracts/ProxyDeployerLibrary.json +2385 -2385
  116. package/build/contracts/PureSuperToken.json +106 -106
  117. package/build/contracts/Resolver.json +98 -98
  118. package/build/contracts/SETHProxy.json +224 -224
  119. package/build/contracts/SafeCast.json +1 -1
  120. package/build/contracts/SafeERC20.json +1 -1
  121. package/build/contracts/SafeGasLibrary.json +51 -51
  122. package/build/contracts/SafeMath.json +1 -1
  123. package/build/contracts/SelfDeletingFlowTestApp.json +1525 -1525
  124. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  125. package/build/contracts/StreamRedirector.json +704 -704
  126. package/build/contracts/Strings.json +1 -1
  127. package/build/contracts/SuperAppBase.json +42 -42
  128. package/build/contracts/SuperAppBaseFlow.json +1580 -1537
  129. package/build/contracts/SuperAppDefinitions.json +614 -614
  130. package/build/contracts/SuperToken.json +2714 -2714
  131. package/build/contracts/SuperTokenDeployerLibrary.json +2386 -2386
  132. package/build/contracts/SuperTokenFactory.json +1347 -1347
  133. package/build/contracts/SuperTokenFactoryBase.json +1329 -1329
  134. package/build/contracts/SuperTokenV1Library.json +5632 -5632
  135. package/build/contracts/SuperUpgrader.json +439 -439
  136. package/build/contracts/Superfluid.json +7999 -7996
  137. package/build/contracts/SuperfluidCFAv1DeployerLibrary.json +2386 -2386
  138. package/build/contracts/SuperfluidFrameworkDeployer.json +1263 -1263
  139. package/build/contracts/SuperfluidFrameworkDeploymentSteps.json +2385 -2385
  140. package/build/contracts/SuperfluidGovDeployerLibrary.json +2386 -2386
  141. package/build/contracts/SuperfluidGovernanceBase.json +2449 -2449
  142. package/build/contracts/SuperfluidGovernanceConfigs.json +614 -614
  143. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  144. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  145. package/build/contracts/SuperfluidHostDeployerLibrary.json +2385 -2385
  146. package/build/contracts/SuperfluidIDAv1DeployerLibrary.json +2386 -2386
  147. package/build/contracts/SuperfluidLoader.json +207 -207
  148. package/build/contracts/SuperfluidLoaderDeployerLibrary.json +2387 -2387
  149. package/build/contracts/SuperfluidLoaderLibrary.json +481 -480
  150. package/build/contracts/SuperfluidNFTLogicDeployerLibrary.json +2390 -2390
  151. package/build/contracts/SuperfluidPeripheryDeployerLibrary.json +2388 -2388
  152. package/build/contracts/SuperfluidToken.json +1423 -1423
  153. package/build/contracts/TOGA.json +1360 -1360
  154. package/build/contracts/TestGovernance.json +250 -250
  155. package/build/contracts/TestResolver.json +47 -47
  156. package/build/contracts/TestToken.json +102 -102
  157. package/build/contracts/TokenDeployerLibrary.json +2387 -2387
  158. package/build/contracts/TokenInfo.json +32 -32
  159. package/build/contracts/UUPSProxiable.json +139 -139
  160. package/build/contracts/UUPSProxy.json +81 -81
  161. package/build/contracts/UUPSUtils.json +37 -37
  162. package/build/contracts-sizes.txt +15 -15
  163. package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts +9 -9
  164. package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts.map +1 -1
  165. package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts +9 -9
  166. package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts.map +1 -1
  167. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.d.ts +10 -10
  168. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js +13 -13
  169. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js.map +1 -1
  170. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts +1 -1
  171. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js +1 -1
  172. package/build/typechain/factories/contracts/mocks/IDASuperAppTester__factory.d.ts +1 -1
  173. package/build/typechain/factories/contracts/mocks/IDASuperAppTester__factory.js +1 -1
  174. package/build/typechain/factories/contracts/mocks/MockSmartWallet__factory.d.ts +1 -1
  175. package/build/typechain/factories/contracts/mocks/MockSmartWallet__factory.js +1 -1
  176. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts +11 -11
  177. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts.map +1 -1
  178. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js +14 -14
  179. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js.map +1 -1
  180. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock__factory.d.ts +1 -1
  181. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock__factory.js +1 -1
  182. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel__factory.d.ts +1 -1
  183. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel__factory.js +1 -1
  184. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux__factory.d.ts +1 -1
  185. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux__factory.js +1 -1
  186. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx__factory.d.ts +1 -1
  187. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx__factory.js +1 -1
  188. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx__factory.d.ts +1 -1
  189. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx__factory.js +1 -1
  190. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp__factory.d.ts +1 -1
  191. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp__factory.js +1 -1
  192. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey__factory.d.ts +1 -1
  193. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey__factory.js +1 -1
  194. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock__factory.d.ts +1 -1
  195. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock__factory.js +1 -1
  196. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidMock__factory.d.ts +1 -1
  197. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidMock__factory.js +1 -1
  198. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester__factory.d.ts +1 -1
  199. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester__factory.js +1 -1
  200. package/build/typechain/factories/contracts/superfluid/Superfluid__factory.d.ts +1 -1
  201. package/build/typechain/factories/contracts/superfluid/Superfluid__factory.js +1 -1
  202. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeployer__factory.d.ts +1 -1
  203. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeployer__factory.js +1 -1
  204. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeploymentSteps__factory.d.ts +1 -1
  205. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeploymentSteps__factory.js +1 -1
  206. package/contracts/apps/SuperAppBaseFlow.sol +11 -10
  207. package/contracts/apps/SuperfluidLoaderLibrary.sol +1 -1
  208. package/contracts/superfluid/Superfluid.sol +1 -0
  209. package/package.json +4 -3
@@ -5333,18 +5333,18 @@
5333
5333
  440
5334
5334
  ],
5335
5335
  "IResolver": [
5336
- 25607
5336
+ 25610
5337
5337
  ],
5338
5338
  "Resolver": [
5339
- 48692
5339
+ 48697
5340
5340
  ]
5341
5341
  },
5342
- "id": 48693,
5342
+ "id": 48698,
5343
5343
  "license": "MIT",
5344
5344
  "nodeType": "SourceUnit",
5345
5345
  "nodes": [
5346
5346
  {
5347
- "id": 48626,
5347
+ "id": 48631,
5348
5348
  "literals": [
5349
5349
  "solidity",
5350
5350
  ">=",
@@ -5357,16 +5357,16 @@
5357
5357
  {
5358
5358
  "absolutePath": "@openzeppelin/contracts/access/AccessControlEnumerable.sol",
5359
5359
  "file": "@openzeppelin/contracts/access/AccessControlEnumerable.sol",
5360
- "id": 48628,
5360
+ "id": 48633,
5361
5361
  "nameLocation": "-1:-1:-1",
5362
5362
  "nodeType": "ImportDirective",
5363
- "scope": 48693,
5363
+ "scope": 48698,
5364
5364
  "sourceUnit": 441,
5365
5365
  "src": "58:101:115",
5366
5366
  "symbolAliases": [
5367
5367
  {
5368
5368
  "foreign": {
5369
- "id": 48627,
5369
+ "id": 48632,
5370
5370
  "name": "AccessControlEnumerable",
5371
5371
  "nodeType": "Identifier",
5372
5372
  "overloadedDeclarations": [],
@@ -5382,20 +5382,20 @@
5382
5382
  {
5383
5383
  "absolutePath": "project:/contracts/interfaces/utils/IResolver.sol",
5384
5384
  "file": "../interfaces/utils/IResolver.sol",
5385
- "id": 48630,
5385
+ "id": 48635,
5386
5386
  "nameLocation": "-1:-1:-1",
5387
5387
  "nodeType": "ImportDirective",
5388
- "scope": 48693,
5389
- "sourceUnit": 25608,
5388
+ "scope": 48698,
5389
+ "sourceUnit": 25611,
5390
5390
  "src": "160:62:115",
5391
5391
  "symbolAliases": [
5392
5392
  {
5393
5393
  "foreign": {
5394
- "id": 48629,
5394
+ "id": 48634,
5395
5395
  "name": "IResolver",
5396
5396
  "nodeType": "Identifier",
5397
5397
  "overloadedDeclarations": [],
5398
- "referencedDeclaration": 25607,
5398
+ "referencedDeclaration": 25610,
5399
5399
  "src": "169:9:115",
5400
5400
  "typeDescriptions": {}
5401
5401
  },
@@ -5409,22 +5409,22 @@
5409
5409
  "baseContracts": [
5410
5410
  {
5411
5411
  "baseName": {
5412
- "id": 48632,
5412
+ "id": 48637,
5413
5413
  "name": "IResolver",
5414
5414
  "nameLocations": [
5415
5415
  "543:9:115"
5416
5416
  ],
5417
5417
  "nodeType": "IdentifierPath",
5418
- "referencedDeclaration": 25607,
5418
+ "referencedDeclaration": 25610,
5419
5419
  "src": "543:9:115"
5420
5420
  },
5421
- "id": 48633,
5421
+ "id": 48638,
5422
5422
  "nodeType": "InheritanceSpecifier",
5423
5423
  "src": "543:9:115"
5424
5424
  },
5425
5425
  {
5426
5426
  "baseName": {
5427
- "id": 48634,
5427
+ "id": 48639,
5428
5428
  "name": "AccessControlEnumerable",
5429
5429
  "nameLocations": [
5430
5430
  "554:23:115"
@@ -5433,7 +5433,7 @@
5433
5433
  "referencedDeclaration": 440,
5434
5434
  "src": "554:23:115"
5435
5435
  },
5436
- "id": 48635,
5436
+ "id": 48640,
5437
5437
  "nodeType": "InheritanceSpecifier",
5438
5438
  "src": "554:23:115"
5439
5439
  }
@@ -5442,15 +5442,15 @@
5442
5442
  "contractDependencies": [],
5443
5443
  "contractKind": "contract",
5444
5444
  "documentation": {
5445
- "id": 48631,
5445
+ "id": 48636,
5446
5446
  "nodeType": "StructuredDocumentation",
5447
5447
  "src": "225:296:115",
5448
5448
  "text": " @title Resolver contract\n @author Superfluid\n @dev A simple implementation of IResolver using OZ AccessControl\n NOTE:\n Relevant events for indexing:\n - OZ Access Control events `RoleGranted`/`RoleRevoked`: admin add/remove\n - IResolver event `Set`: resolver name updates"
5449
5449
  },
5450
5450
  "fullyImplemented": true,
5451
- "id": 48692,
5451
+ "id": 48697,
5452
5452
  "linearizedBaseContracts": [
5453
- 48692,
5453
+ 48697,
5454
5454
  440,
5455
5455
  315,
5456
5456
  2779,
@@ -5458,7 +5458,7 @@
5458
5458
  538,
5459
5459
  513,
5460
5460
  2580,
5461
- 25607
5461
+ 25610
5462
5462
  ],
5463
5463
  "name": "Resolver",
5464
5464
  "nameLocation": "531:8:115",
@@ -5466,12 +5466,12 @@
5466
5466
  "nodes": [
5467
5467
  {
5468
5468
  "constant": false,
5469
- "id": 48639,
5469
+ "id": 48644,
5470
5470
  "mutability": "mutable",
5471
5471
  "name": "_registry",
5472
5472
  "nameLocation": "620:9:115",
5473
5473
  "nodeType": "VariableDeclaration",
5474
- "scope": 48692,
5474
+ "scope": 48697,
5475
5475
  "src": "585:44:115",
5476
5476
  "stateVariable": true,
5477
5477
  "storageLocation": "default",
@@ -5480,11 +5480,11 @@
5480
5480
  "typeString": "mapping(string => address)"
5481
5481
  },
5482
5482
  "typeName": {
5483
- "id": 48638,
5483
+ "id": 48643,
5484
5484
  "keyName": "",
5485
5485
  "keyNameLocation": "-1:-1:-1",
5486
5486
  "keyType": {
5487
- "id": 48636,
5487
+ "id": 48641,
5488
5488
  "name": "string",
5489
5489
  "nodeType": "ElementaryTypeName",
5490
5490
  "src": "593:6:115",
@@ -5502,7 +5502,7 @@
5502
5502
  "valueName": "",
5503
5503
  "valueNameLocation": "-1:-1:-1",
5504
5504
  "valueType": {
5505
- "id": 48637,
5505
+ "id": 48642,
5506
5506
  "name": "address",
5507
5507
  "nodeType": "ElementaryTypeName",
5508
5508
  "src": "603:7:115",
@@ -5517,7 +5517,7 @@
5517
5517
  },
5518
5518
  {
5519
5519
  "body": {
5520
- "id": 48648,
5520
+ "id": 48653,
5521
5521
  "nodeType": "Block",
5522
5522
  "src": "650:59:115",
5523
5523
  "statements": [
@@ -5525,7 +5525,7 @@
5525
5525
  "expression": {
5526
5526
  "arguments": [
5527
5527
  {
5528
- "id": 48643,
5528
+ "id": 48648,
5529
5529
  "name": "DEFAULT_ADMIN_ROLE",
5530
5530
  "nodeType": "Identifier",
5531
5531
  "overloadedDeclarations": [],
@@ -5538,7 +5538,7 @@
5538
5538
  },
5539
5539
  {
5540
5540
  "expression": {
5541
- "id": 48644,
5541
+ "id": 48649,
5542
5542
  "name": "msg",
5543
5543
  "nodeType": "Identifier",
5544
5544
  "overloadedDeclarations": [],
@@ -5549,7 +5549,7 @@
5549
5549
  "typeString": "msg"
5550
5550
  }
5551
5551
  },
5552
- "id": 48645,
5552
+ "id": 48650,
5553
5553
  "isConstant": false,
5554
5554
  "isLValue": false,
5555
5555
  "isPure": false,
@@ -5575,7 +5575,7 @@
5575
5575
  "typeString": "address"
5576
5576
  }
5577
5577
  ],
5578
- "id": 48642,
5578
+ "id": 48647,
5579
5579
  "name": "_setupRole",
5580
5580
  "nodeType": "Identifier",
5581
5581
  "overloadedDeclarations": [],
@@ -5586,7 +5586,7 @@
5586
5586
  "typeString": "function (bytes32,address)"
5587
5587
  }
5588
5588
  },
5589
- "id": 48646,
5589
+ "id": 48651,
5590
5590
  "isConstant": false,
5591
5591
  "isLValue": false,
5592
5592
  "isPure": false,
@@ -5602,13 +5602,13 @@
5602
5602
  "typeString": "tuple()"
5603
5603
  }
5604
5604
  },
5605
- "id": 48647,
5605
+ "id": 48652,
5606
5606
  "nodeType": "ExpressionStatement",
5607
5607
  "src": "660:42:115"
5608
5608
  }
5609
5609
  ]
5610
5610
  },
5611
- "id": 48649,
5611
+ "id": 48654,
5612
5612
  "implemented": true,
5613
5613
  "kind": "constructor",
5614
5614
  "modifiers": [],
@@ -5616,18 +5616,18 @@
5616
5616
  "nameLocation": "-1:-1:-1",
5617
5617
  "nodeType": "FunctionDefinition",
5618
5618
  "parameters": {
5619
- "id": 48640,
5619
+ "id": 48645,
5620
5620
  "nodeType": "ParameterList",
5621
5621
  "parameters": [],
5622
5622
  "src": "647:2:115"
5623
5623
  },
5624
5624
  "returnParameters": {
5625
- "id": 48641,
5625
+ "id": 48646,
5626
5626
  "nodeType": "ParameterList",
5627
5627
  "parameters": [],
5628
5628
  "src": "650:0:115"
5629
5629
  },
5630
- "scope": 48692,
5630
+ "scope": 48697,
5631
5631
  "src": "636:73:115",
5632
5632
  "stateMutability": "nonpayable",
5633
5633
  "virtual": false,
@@ -5635,10 +5635,10 @@
5635
5635
  },
5636
5636
  {
5637
5637
  "baseFunctions": [
5638
- 25598
5638
+ 25601
5639
5639
  ],
5640
5640
  "body": {
5641
- "id": 48677,
5641
+ "id": 48682,
5642
5642
  "nodeType": "Block",
5643
5643
  "src": "784:159:115",
5644
5644
  "statements": [
@@ -5648,7 +5648,7 @@
5648
5648
  {
5649
5649
  "arguments": [
5650
5650
  {
5651
- "id": 48659,
5651
+ "id": 48664,
5652
5652
  "name": "DEFAULT_ADMIN_ROLE",
5653
5653
  "nodeType": "Identifier",
5654
5654
  "overloadedDeclarations": [],
@@ -5663,7 +5663,7 @@
5663
5663
  "arguments": [],
5664
5664
  "expression": {
5665
5665
  "argumentTypes": [],
5666
- "id": 48660,
5666
+ "id": 48665,
5667
5667
  "name": "_msgSender",
5668
5668
  "nodeType": "Identifier",
5669
5669
  "overloadedDeclarations": [],
@@ -5674,7 +5674,7 @@
5674
5674
  "typeString": "function () view returns (address)"
5675
5675
  }
5676
5676
  },
5677
- "id": 48661,
5677
+ "id": 48666,
5678
5678
  "isConstant": false,
5679
5679
  "isLValue": false,
5680
5680
  "isPure": false,
@@ -5702,7 +5702,7 @@
5702
5702
  "typeString": "address"
5703
5703
  }
5704
5704
  ],
5705
- "id": 48658,
5705
+ "id": 48663,
5706
5706
  "name": "hasRole",
5707
5707
  "nodeType": "Identifier",
5708
5708
  "overloadedDeclarations": [],
@@ -5713,7 +5713,7 @@
5713
5713
  "typeString": "function (bytes32,address) view returns (bool)"
5714
5714
  }
5715
5715
  },
5716
- "id": 48662,
5716
+ "id": 48667,
5717
5717
  "isConstant": false,
5718
5718
  "isLValue": false,
5719
5719
  "isPure": false,
@@ -5731,7 +5731,7 @@
5731
5731
  },
5732
5732
  {
5733
5733
  "hexValue": "43616c6c6572206973206e6f7420616e2061646d696e",
5734
- "id": 48663,
5734
+ "id": 48668,
5735
5735
  "isConstant": false,
5736
5736
  "isLValue": false,
5737
5737
  "isPure": true,
@@ -5757,7 +5757,7 @@
5757
5757
  "typeString": "literal_string \"Caller is not an admin\""
5758
5758
  }
5759
5759
  ],
5760
- "id": 48657,
5760
+ "id": 48662,
5761
5761
  "name": "require",
5762
5762
  "nodeType": "Identifier",
5763
5763
  "overloadedDeclarations": [
@@ -5771,7 +5771,7 @@
5771
5771
  "typeString": "function (bool,string memory) pure"
5772
5772
  }
5773
5773
  },
5774
- "id": 48664,
5774
+ "id": 48669,
5775
5775
  "isConstant": false,
5776
5776
  "isLValue": false,
5777
5777
  "isPure": false,
@@ -5787,37 +5787,37 @@
5787
5787
  "typeString": "tuple()"
5788
5788
  }
5789
5789
  },
5790
- "id": 48665,
5790
+ "id": 48670,
5791
5791
  "nodeType": "ExpressionStatement",
5792
5792
  "src": "794:76:115"
5793
5793
  },
5794
5794
  {
5795
5795
  "expression": {
5796
- "id": 48670,
5796
+ "id": 48675,
5797
5797
  "isConstant": false,
5798
5798
  "isLValue": false,
5799
5799
  "isPure": false,
5800
5800
  "lValueRequested": false,
5801
5801
  "leftHandSide": {
5802
5802
  "baseExpression": {
5803
- "id": 48666,
5803
+ "id": 48671,
5804
5804
  "name": "_registry",
5805
5805
  "nodeType": "Identifier",
5806
5806
  "overloadedDeclarations": [],
5807
- "referencedDeclaration": 48639,
5807
+ "referencedDeclaration": 48644,
5808
5808
  "src": "880:9:115",
5809
5809
  "typeDescriptions": {
5810
5810
  "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_address_$",
5811
5811
  "typeString": "mapping(string memory => address)"
5812
5812
  }
5813
5813
  },
5814
- "id": 48668,
5814
+ "id": 48673,
5815
5815
  "indexExpression": {
5816
- "id": 48667,
5816
+ "id": 48672,
5817
5817
  "name": "name",
5818
5818
  "nodeType": "Identifier",
5819
5819
  "overloadedDeclarations": [],
5820
- "referencedDeclaration": 48651,
5820
+ "referencedDeclaration": 48656,
5821
5821
  "src": "890:4:115",
5822
5822
  "typeDescriptions": {
5823
5823
  "typeIdentifier": "t_string_calldata_ptr",
@@ -5838,11 +5838,11 @@
5838
5838
  "nodeType": "Assignment",
5839
5839
  "operator": "=",
5840
5840
  "rightHandSide": {
5841
- "id": 48669,
5841
+ "id": 48674,
5842
5842
  "name": "target",
5843
5843
  "nodeType": "Identifier",
5844
5844
  "overloadedDeclarations": [],
5845
- "referencedDeclaration": 48653,
5845
+ "referencedDeclaration": 48658,
5846
5846
  "src": "898:6:115",
5847
5847
  "typeDescriptions": {
5848
5848
  "typeIdentifier": "t_address",
@@ -5855,7 +5855,7 @@
5855
5855
  "typeString": "address"
5856
5856
  }
5857
5857
  },
5858
- "id": 48671,
5858
+ "id": 48676,
5859
5859
  "nodeType": "ExpressionStatement",
5860
5860
  "src": "880:24:115"
5861
5861
  },
@@ -5863,11 +5863,11 @@
5863
5863
  "eventCall": {
5864
5864
  "arguments": [
5865
5865
  {
5866
- "id": 48673,
5866
+ "id": 48678,
5867
5867
  "name": "name",
5868
5868
  "nodeType": "Identifier",
5869
5869
  "overloadedDeclarations": [],
5870
- "referencedDeclaration": 48651,
5870
+ "referencedDeclaration": 48656,
5871
5871
  "src": "923:4:115",
5872
5872
  "typeDescriptions": {
5873
5873
  "typeIdentifier": "t_string_calldata_ptr",
@@ -5875,11 +5875,11 @@
5875
5875
  }
5876
5876
  },
5877
5877
  {
5878
- "id": 48674,
5878
+ "id": 48679,
5879
5879
  "name": "target",
5880
5880
  "nodeType": "Identifier",
5881
5881
  "overloadedDeclarations": [],
5882
- "referencedDeclaration": 48653,
5882
+ "referencedDeclaration": 48658,
5883
5883
  "src": "929:6:115",
5884
5884
  "typeDescriptions": {
5885
5885
  "typeIdentifier": "t_address",
@@ -5898,18 +5898,18 @@
5898
5898
  "typeString": "address"
5899
5899
  }
5900
5900
  ],
5901
- "id": 48672,
5901
+ "id": 48677,
5902
5902
  "name": "Set",
5903
5903
  "nodeType": "Identifier",
5904
5904
  "overloadedDeclarations": [],
5905
- "referencedDeclaration": 25590,
5905
+ "referencedDeclaration": 25593,
5906
5906
  "src": "919:3:115",
5907
5907
  "typeDescriptions": {
5908
5908
  "typeIdentifier": "t_function_event_nonpayable$_t_string_memory_ptr_$_t_address_$returns$__$",
5909
5909
  "typeString": "function (string memory,address)"
5910
5910
  }
5911
5911
  },
5912
- "id": 48675,
5912
+ "id": 48680,
5913
5913
  "isConstant": false,
5914
5914
  "isLValue": false,
5915
5915
  "isPure": false,
@@ -5925,14 +5925,14 @@
5925
5925
  "typeString": "tuple()"
5926
5926
  }
5927
5927
  },
5928
- "id": 48676,
5928
+ "id": 48681,
5929
5929
  "nodeType": "EmitStatement",
5930
5930
  "src": "914:22:115"
5931
5931
  }
5932
5932
  ]
5933
5933
  },
5934
5934
  "functionSelector": "a815ff15",
5935
- "id": 48678,
5935
+ "id": 48683,
5936
5936
  "implemented": true,
5937
5937
  "kind": "function",
5938
5938
  "modifiers": [],
@@ -5940,23 +5940,23 @@
5940
5940
  "nameLocation": "724:3:115",
5941
5941
  "nodeType": "FunctionDefinition",
5942
5942
  "overrides": {
5943
- "id": 48655,
5943
+ "id": 48660,
5944
5944
  "nodeType": "OverrideSpecifier",
5945
5945
  "overrides": [],
5946
5946
  "src": "775:8:115"
5947
5947
  },
5948
5948
  "parameters": {
5949
- "id": 48654,
5949
+ "id": 48659,
5950
5950
  "nodeType": "ParameterList",
5951
5951
  "parameters": [
5952
5952
  {
5953
5953
  "constant": false,
5954
- "id": 48651,
5954
+ "id": 48656,
5955
5955
  "mutability": "mutable",
5956
5956
  "name": "name",
5957
5957
  "nameLocation": "744:4:115",
5958
5958
  "nodeType": "VariableDeclaration",
5959
- "scope": 48678,
5959
+ "scope": 48683,
5960
5960
  "src": "728:20:115",
5961
5961
  "stateVariable": false,
5962
5962
  "storageLocation": "calldata",
@@ -5965,7 +5965,7 @@
5965
5965
  "typeString": "string"
5966
5966
  },
5967
5967
  "typeName": {
5968
- "id": 48650,
5968
+ "id": 48655,
5969
5969
  "name": "string",
5970
5970
  "nodeType": "ElementaryTypeName",
5971
5971
  "src": "728:6:115",
@@ -5978,12 +5978,12 @@
5978
5978
  },
5979
5979
  {
5980
5980
  "constant": false,
5981
- "id": 48653,
5981
+ "id": 48658,
5982
5982
  "mutability": "mutable",
5983
5983
  "name": "target",
5984
5984
  "nameLocation": "758:6:115",
5985
5985
  "nodeType": "VariableDeclaration",
5986
- "scope": 48678,
5986
+ "scope": 48683,
5987
5987
  "src": "750:14:115",
5988
5988
  "stateVariable": false,
5989
5989
  "storageLocation": "default",
@@ -5992,7 +5992,7 @@
5992
5992
  "typeString": "address"
5993
5993
  },
5994
5994
  "typeName": {
5995
- "id": 48652,
5995
+ "id": 48657,
5996
5996
  "name": "address",
5997
5997
  "nodeType": "ElementaryTypeName",
5998
5998
  "src": "750:7:115",
@@ -6008,12 +6008,12 @@
6008
6008
  "src": "727:38:115"
6009
6009
  },
6010
6010
  "returnParameters": {
6011
- "id": 48656,
6011
+ "id": 48661,
6012
6012
  "nodeType": "ParameterList",
6013
6013
  "parameters": [],
6014
6014
  "src": "784:0:115"
6015
6015
  },
6016
- "scope": 48692,
6016
+ "scope": 48697,
6017
6017
  "src": "715:228:115",
6018
6018
  "stateMutability": "nonpayable",
6019
6019
  "virtual": false,
@@ -6021,34 +6021,34 @@
6021
6021
  },
6022
6022
  {
6023
6023
  "baseFunctions": [
6024
- 25606
6024
+ 25609
6025
6025
  ],
6026
6026
  "body": {
6027
- "id": 48690,
6027
+ "id": 48695,
6028
6028
  "nodeType": "Block",
6029
6029
  "src": "1025:39:115",
6030
6030
  "statements": [
6031
6031
  {
6032
6032
  "expression": {
6033
6033
  "baseExpression": {
6034
- "id": 48686,
6034
+ "id": 48691,
6035
6035
  "name": "_registry",
6036
6036
  "nodeType": "Identifier",
6037
6037
  "overloadedDeclarations": [],
6038
- "referencedDeclaration": 48639,
6038
+ "referencedDeclaration": 48644,
6039
6039
  "src": "1042:9:115",
6040
6040
  "typeDescriptions": {
6041
6041
  "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_address_$",
6042
6042
  "typeString": "mapping(string memory => address)"
6043
6043
  }
6044
6044
  },
6045
- "id": 48688,
6045
+ "id": 48693,
6046
6046
  "indexExpression": {
6047
- "id": 48687,
6047
+ "id": 48692,
6048
6048
  "name": "name",
6049
6049
  "nodeType": "Identifier",
6050
6050
  "overloadedDeclarations": [],
6051
- "referencedDeclaration": 48680,
6051
+ "referencedDeclaration": 48685,
6052
6052
  "src": "1052:4:115",
6053
6053
  "typeDescriptions": {
6054
6054
  "typeIdentifier": "t_string_calldata_ptr",
@@ -6066,15 +6066,15 @@
6066
6066
  "typeString": "address"
6067
6067
  }
6068
6068
  },
6069
- "functionReturnParameters": 48685,
6070
- "id": 48689,
6069
+ "functionReturnParameters": 48690,
6070
+ "id": 48694,
6071
6071
  "nodeType": "Return",
6072
6072
  "src": "1035:22:115"
6073
6073
  }
6074
6074
  ]
6075
6075
  },
6076
6076
  "functionSelector": "693ec85e",
6077
- "id": 48691,
6077
+ "id": 48696,
6078
6078
  "implemented": true,
6079
6079
  "kind": "function",
6080
6080
  "modifiers": [],
@@ -6082,23 +6082,23 @@
6082
6082
  "nameLocation": "958:3:115",
6083
6083
  "nodeType": "FunctionDefinition",
6084
6084
  "overrides": {
6085
- "id": 48682,
6085
+ "id": 48687,
6086
6086
  "nodeType": "OverrideSpecifier",
6087
6087
  "overrides": [],
6088
6088
  "src": "998:8:115"
6089
6089
  },
6090
6090
  "parameters": {
6091
- "id": 48681,
6091
+ "id": 48686,
6092
6092
  "nodeType": "ParameterList",
6093
6093
  "parameters": [
6094
6094
  {
6095
6095
  "constant": false,
6096
- "id": 48680,
6096
+ "id": 48685,
6097
6097
  "mutability": "mutable",
6098
6098
  "name": "name",
6099
6099
  "nameLocation": "978:4:115",
6100
6100
  "nodeType": "VariableDeclaration",
6101
- "scope": 48691,
6101
+ "scope": 48696,
6102
6102
  "src": "962:20:115",
6103
6103
  "stateVariable": false,
6104
6104
  "storageLocation": "calldata",
@@ -6107,7 +6107,7 @@
6107
6107
  "typeString": "string"
6108
6108
  },
6109
6109
  "typeName": {
6110
- "id": 48679,
6110
+ "id": 48684,
6111
6111
  "name": "string",
6112
6112
  "nodeType": "ElementaryTypeName",
6113
6113
  "src": "962:6:115",
@@ -6122,17 +6122,17 @@
6122
6122
  "src": "961:22:115"
6123
6123
  },
6124
6124
  "returnParameters": {
6125
- "id": 48685,
6125
+ "id": 48690,
6126
6126
  "nodeType": "ParameterList",
6127
6127
  "parameters": [
6128
6128
  {
6129
6129
  "constant": false,
6130
- "id": 48684,
6130
+ "id": 48689,
6131
6131
  "mutability": "mutable",
6132
6132
  "name": "",
6133
6133
  "nameLocation": "-1:-1:-1",
6134
6134
  "nodeType": "VariableDeclaration",
6135
- "scope": 48691,
6135
+ "scope": 48696,
6136
6136
  "src": "1016:7:115",
6137
6137
  "stateVariable": false,
6138
6138
  "storageLocation": "default",
@@ -6141,7 +6141,7 @@
6141
6141
  "typeString": "address"
6142
6142
  },
6143
6143
  "typeName": {
6144
- "id": 48683,
6144
+ "id": 48688,
6145
6145
  "name": "address",
6146
6146
  "nodeType": "ElementaryTypeName",
6147
6147
  "src": "1016:7:115",
@@ -6156,14 +6156,14 @@
6156
6156
  ],
6157
6157
  "src": "1015:9:115"
6158
6158
  },
6159
- "scope": 48692,
6159
+ "scope": 48697,
6160
6160
  "src": "949:115:115",
6161
6161
  "stateMutability": "view",
6162
6162
  "virtual": false,
6163
6163
  "visibility": "external"
6164
6164
  }
6165
6165
  ],
6166
- "scope": 48693,
6166
+ "scope": 48698,
6167
6167
  "src": "522:545:115",
6168
6168
  "usedErrors": []
6169
6169
  }
@@ -6176,7 +6176,7 @@
6176
6176
  },
6177
6177
  "networks": {},
6178
6178
  "schemaVersion": "3.4.13",
6179
- "updatedAt": "2023-07-12T09:52:16.604Z",
6179
+ "updatedAt": "2023-08-06T18:11:21.561Z",
6180
6180
  "devdoc": {
6181
6181
  "author": "Superfluid",
6182
6182
  "details": "A simple implementation of IResolver using OZ AccessControl NOTE: Relevant events for indexing: - OZ Access Control events `RoleGranted`/`RoleRevoked`: admin add/remove - IResolver event `Set`: resolver name updates",