@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
@@ -15,18 +15,18 @@
15
15
  "absolutePath": "project:/contracts/interfaces/superfluid/CustomSuperTokenBase.sol",
16
16
  "exportedSymbols": {
17
17
  "CustomSuperTokenBase": [
18
- 23145
18
+ 23148
19
19
  ],
20
20
  "ISuperToken": [
21
- 24394
21
+ 24397
22
22
  ]
23
23
  },
24
- "id": 23146,
24
+ "id": 23149,
25
25
  "license": "MIT",
26
26
  "nodeType": "SourceUnit",
27
27
  "nodes": [
28
28
  {
29
- "id": 23137,
29
+ "id": 23140,
30
30
  "literals": [
31
31
  "solidity",
32
32
  ">=",
@@ -39,20 +39,20 @@
39
39
  {
40
40
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperToken.sol",
41
41
  "file": "../../interfaces/superfluid/ISuperToken.sol",
42
- "id": 23139,
42
+ "id": 23142,
43
43
  "nameLocation": "-1:-1:-1",
44
44
  "nodeType": "ImportDirective",
45
- "scope": 23146,
46
- "sourceUnit": 24395,
45
+ "scope": 23149,
46
+ "sourceUnit": 24398,
47
47
  "src": "59:78:44",
48
48
  "symbolAliases": [
49
49
  {
50
50
  "foreign": {
51
- "id": 23138,
51
+ "id": 23141,
52
52
  "name": "ISuperToken",
53
53
  "nodeType": "Identifier",
54
54
  "overloadedDeclarations": [],
55
- "referencedDeclaration": 24394,
55
+ "referencedDeclaration": 24397,
56
56
  "src": "72:11:44",
57
57
  "typeDescriptions": {}
58
58
  },
@@ -68,15 +68,15 @@
68
68
  "contractDependencies": [],
69
69
  "contractKind": "contract",
70
70
  "documentation": {
71
- "id": 23140,
71
+ "id": 23143,
72
72
  "nodeType": "StructuredDocumentation",
73
73
  "src": "139:491:44",
74
74
  "text": " @title Custom super token base contract\n @author Superfluid\n NOTE:\n - Because of how solidity lays out its storage variables and how custom\n super tokens inherit the SuperToken standard implementation, it is\n required that the custom token proxy pads its implementation\n with reserved storage used by the Super Token implementation.\n - You will need to append your own proxy implementation after the base\n - Refer to SETH.sol for an example how it is used."
75
75
  },
76
76
  "fullyImplemented": true,
77
- "id": 23145,
77
+ "id": 23148,
78
78
  "linearizedBaseContracts": [
79
- 23145
79
+ 23148
80
80
  ],
81
81
  "name": "CustomSuperTokenBase",
82
82
  "nameLocation": "649:20:44",
@@ -84,12 +84,12 @@
84
84
  "nodes": [
85
85
  {
86
86
  "constant": false,
87
- "id": 23144,
87
+ "id": 23147,
88
88
  "mutability": "mutable",
89
89
  "name": "_storagePaddings",
90
90
  "nameLocation": "780:16:44",
91
91
  "nodeType": "VariableDeclaration",
92
- "scope": 23145,
92
+ "scope": 23148,
93
93
  "src": "759:37:44",
94
94
  "stateVariable": true,
95
95
  "storageLocation": "default",
@@ -99,7 +99,7 @@
99
99
  },
100
100
  "typeName": {
101
101
  "baseType": {
102
- "id": 23141,
102
+ "id": 23144,
103
103
  "name": "uint256",
104
104
  "nodeType": "ElementaryTypeName",
105
105
  "src": "759:7:44",
@@ -108,10 +108,10 @@
108
108
  "typeString": "uint256"
109
109
  }
110
110
  },
111
- "id": 23143,
111
+ "id": 23146,
112
112
  "length": {
113
113
  "hexValue": "3332",
114
- "id": 23142,
114
+ "id": 23145,
115
115
  "isConstant": false,
116
116
  "isLValue": false,
117
117
  "isPure": true,
@@ -135,7 +135,7 @@
135
135
  "visibility": "internal"
136
136
  }
137
137
  ],
138
- "scope": 23146,
138
+ "scope": 23149,
139
139
  "src": "631:168:44",
140
140
  "usedErrors": []
141
141
  }
@@ -148,7 +148,7 @@
148
148
  },
149
149
  "networks": {},
150
150
  "schemaVersion": "3.4.13",
151
- "updatedAt": "2023-07-12T09:52:15.878Z",
151
+ "updatedAt": "2023-08-06T18:11:20.907Z",
152
152
  "devdoc": {
153
153
  "author": "Superfluid NOTE: - Because of how solidity lays out its storage variables and how custom super tokens inherit the SuperToken standard implementation, it is required that the custom token proxy pads its implementation with reserved storage used by the Super Token implementation. - You will need to append your own proxy implementation after the base - Refer to SETH.sol for an example how it is used.",
154
154
  "kind": "dev",
@@ -325,7 +325,7 @@
325
325
  },
326
326
  "networks": {},
327
327
  "schemaVersion": "3.4.13",
328
- "updatedAt": "2023-07-12T09:52:15.709Z",
328
+ "updatedAt": "2023-08-06T18:11:20.750Z",
329
329
  "devdoc": {
330
330
  "details": "Implementation of the {IERC165} interface. Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check for the additional interface id that will be supported. For example: ```solidity function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); } ``` Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.",
331
331
  "kind": "dev",
@@ -1198,7 +1198,7 @@
1198
1198
  },
1199
1199
  "networks": {},
1200
1200
  "schemaVersion": "3.4.13",
1201
- "updatedAt": "2023-07-12T09:52:15.709Z",
1201
+ "updatedAt": "2023-08-06T18:11:20.751Z",
1202
1202
  "devdoc": {
1203
1203
  "details": "Implementation of the {IERC1820Implementer} interface. Contracts may inherit from this and call {_registerInterfaceForAddress} to declare their willingness to be implementers. {IERC1820Registry-setInterfaceImplementer} should then be called for the registration to be complete.",
1204
1204
  "kind": "dev",
@@ -15,15 +15,15 @@
15
15
  "absolutePath": "project:/contracts/libs/ERC1820RegistryCompiled.sol",
16
16
  "exportedSymbols": {
17
17
  "ERC1820RegistryCompiled": [
18
- 25801
18
+ 25804
19
19
  ]
20
20
  },
21
- "id": 25802,
21
+ "id": 25805,
22
22
  "license": "AGPLv3",
23
23
  "nodeType": "SourceUnit",
24
24
  "nodes": [
25
25
  {
26
- "id": 25787,
26
+ "id": 25790,
27
27
  "literals": [
28
28
  "solidity",
29
29
  "0.8",
@@ -39,15 +39,15 @@
39
39
  "contractDependencies": [],
40
40
  "contractKind": "library",
41
41
  "documentation": {
42
- "id": 25788,
42
+ "id": 25791,
43
43
  "nodeType": "StructuredDocumentation",
44
44
  "src": "135:114:67",
45
45
  "text": "@dev This is meant to be used by test framework to get the raw bytecode without compiling the origin contract"
46
46
  },
47
47
  "fullyImplemented": true,
48
- "id": 25801,
48
+ "id": 25804,
49
49
  "linearizedBaseContracts": [
50
- 25801
50
+ 25804
51
51
  ],
52
52
  "name": "ERC1820RegistryCompiled",
53
53
  "nameLocation": "257:23:67",
@@ -55,12 +55,12 @@
55
55
  "nodes": [
56
56
  {
57
57
  "constant": true,
58
- "id": 25794,
58
+ "id": 25797,
59
59
  "mutability": "constant",
60
60
  "name": "at",
61
61
  "nameLocation": "313:2:67",
62
62
  "nodeType": "VariableDeclaration",
63
- "scope": 25801,
63
+ "scope": 25804,
64
64
  "src": "287:82:67",
65
65
  "stateVariable": true,
66
66
  "storageLocation": "default",
@@ -69,7 +69,7 @@
69
69
  "typeString": "address"
70
70
  },
71
71
  "typeName": {
72
- "id": 25789,
72
+ "id": 25792,
73
73
  "name": "address",
74
74
  "nodeType": "ElementaryTypeName",
75
75
  "src": "287:7:67",
@@ -83,7 +83,7 @@
83
83
  "arguments": [
84
84
  {
85
85
  "hexValue": "307831383230613442373631384264453731446365386364633733614142364339353930356661443234",
86
- "id": 25792,
86
+ "id": 25795,
87
87
  "isConstant": false,
88
88
  "isLValue": false,
89
89
  "isPure": true,
@@ -105,7 +105,7 @@
105
105
  "typeString": "address"
106
106
  }
107
107
  ],
108
- "id": 25791,
108
+ "id": 25794,
109
109
  "isConstant": false,
110
110
  "isLValue": false,
111
111
  "isPure": true,
@@ -117,14 +117,14 @@
117
117
  "typeString": "type(address)"
118
118
  },
119
119
  "typeName": {
120
- "id": 25790,
120
+ "id": 25793,
121
121
  "name": "address",
122
122
  "nodeType": "ElementaryTypeName",
123
123
  "src": "318:7:67",
124
124
  "typeDescriptions": {}
125
125
  }
126
126
  },
127
- "id": 25793,
127
+ "id": 25796,
128
128
  "isConstant": false,
129
129
  "isLValue": false,
130
130
  "isPure": true,
@@ -144,12 +144,12 @@
144
144
  },
145
145
  {
146
146
  "constant": true,
147
- "id": 25800,
147
+ "id": 25803,
148
148
  "mutability": "constant",
149
149
  "name": "bin",
150
150
  "nameLocation": "399:3:67",
151
151
  "nodeType": "VariableDeclaration",
152
- "scope": 25801,
152
+ "scope": 25804,
153
153
  "src": "375:5044:67",
154
154
  "stateVariable": true,
155
155
  "storageLocation": "default",
@@ -158,7 +158,7 @@
158
158
  "typeString": "bytes"
159
159
  },
160
160
  "typeName": {
161
- "id": 25795,
161
+ "id": 25798,
162
162
  "name": "bytes",
163
163
  "nodeType": "ElementaryTypeName",
164
164
  "src": "375:5:67",
@@ -171,7 +171,7 @@
171
171
  "arguments": [
172
172
  {
173
173
  "hexValue": "608060405234801561001057600080fd5b50600436106100a5576000357c010000000000000000000000000000000000000000000000000000000090048063a41e7d5111610078578063a41e7d51146101d4578063aabbb8ca1461020a578063b705676514610236578063f712f3e814610280576100a5565b806329965a1d146100aa5780633d584063146100e25780635df8122f1461012457806365ba36c114610152575b600080fd5b6100e0600480360360608110156100c057600080fd5b50600160a060020a038135811691602081013591604090910135166102b6565b005b610108600480360360208110156100f857600080fd5b5035600160a060020a0316610570565b60408051600160a060020a039092168252519081900360200190f35b6100e06004803603604081101561013a57600080fd5b50600160a060020a03813581169160200135166105bc565b6101c26004803603602081101561016857600080fd5b81019060208101813564010000000081111561018357600080fd5b82018360208201111561019557600080fd5b803590602001918460018302840111640100000000831117156101b757600080fd5b5090925090506106b3565b60408051918252519081900360200190f35b6100e0600480360360408110156101ea57600080fd5b508035600160a060020a03169060200135600160e060020a0319166106ee565b6101086004803603604081101561022057600080fd5b50600160a060020a038135169060200135610778565b61026c6004803603604081101561024c57600080fd5b508035600160a060020a03169060200135600160e060020a0319166107ef565b604080519115158252519081900360200190f35b61026c6004803603604081101561029657600080fd5b508035600160a060020a03169060200135600160e060020a0319166108aa565b6000600160a060020a038416156102cd57836102cf565b335b9050336102db82610570565b600160a060020a031614610339576040805160e560020a62461bcd02815260206004820152600f60248201527f4e6f7420746865206d616e616765720000000000000000000000000000000000604482015290519081900360640190fd5b6103428361092a565b15610397576040805160e560020a62461bcd02815260206004820152601a60248201527f4d757374206e6f7420626520616e204552433136352068617368000000000000604482015290519081900360640190fd5b600160a060020a038216158015906103b85750600160a060020a0382163314155b156104ff5760405160200180807f455243313832305f4143434550545f4d4147494300000000000000000000000081525060140190506040516020818303038152906040528051906020012082600160a060020a031663249cb3fa85846040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083815260200182600160a060020a0316600160a060020a031681526020019250505060206040518083038186803b15801561047e57600080fd5b505afa158015610492573d6000803e3d6000fd5b505050506040513d60208110156104a857600080fd5b5051146104ff576040805160e560020a62461bcd02815260206004820181905260248201527f446f6573206e6f7420696d706c656d656e742074686520696e74657266616365604482015290519081900360640190fd5b600160a060020a03818116600081815260208181526040808320888452909152808220805473ffffffffffffffffffffffffffffffffffffffff19169487169485179055518692917f93baa6efbd2244243bfee6ce4cfdd1d04fc4c0e9a786abd3a41313bd352db15391a450505050565b600160a060020a03818116600090815260016020526040812054909116151561059a5750806105b7565b50600160a060020a03808216600090815260016020526040902054165b919050565b336105c683610570565b600160a060020a031614610624576040805160e560020a62461bcd02815260206004820152600f60248201527f4e6f7420746865206d616e616765720000000000000000000000000000000000604482015290519081900360640190fd5b81600160a060020a031681600160a060020a0316146106435780610646565b60005b600160a060020a03838116600081815260016020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169585169590951790945592519184169290917f605c2dbf762e5f7d60a546d42e7205dcb1b011ebc62a61736a57c9089d3a43509190a35050565b600082826040516020018083838082843780830192505050925050506040516020818303038152906040528051906020012090505b92915050565b6106f882826107ef565b610703576000610705565b815b600160a060020a03928316600081815260208181526040808320600160e060020a031996909616808452958252808320805473ffffffffffffffffffffffffffffffffffffffff19169590971694909417909555908152600284528181209281529190925220805460ff19166001179055565b600080600160a060020a038416156107905783610792565b335b905061079d8361092a565b156107c357826107ad82826108aa565b6107b85760006107ba565b815b925050506106e8565b600160a060020a0390811660009081526020818152604080832086845290915290205416905092915050565b6000808061081d857f01ffc9a70000000000000000000000000000000000000000000000000000000061094c565b909250905081158061082d575080155b1561083d576000925050506106e8565b61084f85600160e060020a031961094c565b909250905081158061086057508015155b15610870576000925050506106e8565b61087a858561094c565b909250905060018214801561088f5750806001145b1561089f576001925050506106e8565b506000949350505050565b600160a060020a0382166000908152600260209081526040808320600160e060020a03198516845290915281205460ff1615156108f2576108eb83836107ef565b90506106e8565b50600160a060020a03808316600081815260208181526040808320600160e060020a0319871684529091529020549091161492915050565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff161590565b6040517f01ffc9a7000000000000000000000000000000000000000000000000000000008082526004820183905260009182919060208160248189617530fa90519096909550935050505056fea165627a7a72305820377f4a2d4301ede9949f163f319021a6e9c687c292a5e2b2c4734c126b524e6c0029",
174
- "id": 25798,
174
+ "id": 25801,
175
175
  "isConstant": false,
176
176
  "isLValue": false,
177
177
  "isPure": true,
@@ -192,7 +192,7 @@
192
192
  "typeString": "literal_string hex\"608060405234801561001057600080fd5b50600436106100a5576000357c010000000000000000000000000000000000000000000000000000000090048063a41e7d5111610078578063a41e7d51146101d4578063aabbb8ca1461020a578063b705676514610236578063f712f3e814610280576100a5565b806329965a1d146100aa5780633d584063146100e25780635df8122f1461012457806365ba36c114610152575b600080fd5b6100e0600480360360608110156100c057600080fd5b50600160a060020a038135811691602081013591604090910135166102b6565b005b610108600480360360208110156100f857600080fd5b5035600160a060020a0316610570565b60408051600160a060020a039092168252519081900360200190f35b6100e06004803603604081101561013a57600080fd5b50600160a060020a03813581169160200135166105bc565b6101c26004803603602081101561016857600080fd5b81019060208101813564010000000081111561018357600080fd5b82018360208201111561019557600080fd5b803590602001918460018302840111640100000000831117156101b757600080fd5b5090925090506106b3565b60408051918252519081900360200190f35b6100e0600480360360408110156101ea57600080fd5b508035600160a060020a03169060200135600160e060020a0319166106ee565b6101086004803603604081101561022057600080fd5b50600160a060020a038135169060200135610778565b61026c6004803603604081101561024c57600080fd5b508035600160a060020a03169060200135600160e060020a0319166107ef565b604080519115158252519081900360200190f35b61026c6004803603604081101561029657600080fd5b508035600160a060020a03169060200135600160e060020a0319166108aa565b6000600160a060020a038416156102cd57836102cf565b335b9050336102db82610570565b600160a060020a031614610339576040805160e560020a62461bcd02815260206004820152600f60248201527f4e6f7420746865206d616e616765720000000000000000000000000000000000604482015290519081900360640190fd5b6103428361092a565b15610397576040805160e560020a62461bcd02815260206004820152601a60248201527f4d757374206e6f7420626520616e204552433136352068617368000000000000604482015290519081900360640190fd5b600160a060020a038216158015906103b85750600160a060020a0382163314155b156104ff5760405160200180807f455243313832305f4143434550545f4d4147494300000000000000000000000081525060140190506040516020818303038152906040528051906020012082600160a060020a031663249cb3fa85846040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083815260200182600160a060020a0316600160a060020a031681526020019250505060206040518083038186803b15801561047e57600080fd5b505afa158015610492573d6000803e3d6000fd5b505050506040513d60208110156104a857600080fd5b5051146104ff576040805160e560020a62461bcd02815260206004820181905260248201527f446f6573206e6f7420696d706c656d656e742074686520696e74657266616365604482015290519081900360640190fd5b600160a060020a03818116600081815260208181526040808320888452909152808220805473ffffffffffffffffffffffffffffffffffffffff19169487169485179055518692917f93baa6efbd2244243bfee6ce4cfdd1d04fc4c0e9a786abd3a41313bd352db15391a450505050565b600160a060020a03818116600090815260016020526040812054909116151561059a5750806105b7565b50600160a060020a03808216600090815260016020526040902054165b919050565b336105c683610570565b600160a060020a031614610624576040805160e560020a62461bcd02815260206004820152600f60248201527f4e6f7420746865206d616e616765720000000000000000000000000000000000604482015290519081900360640190fd5b81600160a060020a031681600160a060020a0316146106435780610646565b60005b600160a060020a03838116600081815260016020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169585169590951790945592519184169290917f605c2dbf762e5f7d60a546d42e7205dcb1b011ebc62a61736a57c9089d3a43509190a35050565b600082826040516020018083838082843780830192505050925050506040516020818303038152906040528051906020012090505b92915050565b6106f882826107ef565b610703576000610705565b815b600160a060020a03928316600081815260208181526040808320600160e060020a031996909616808452958252808320805473ffffffffffffffffffffffffffffffffffffffff19169590971694909417909555908152600284528181209281529190925220805460ff19166001179055565b600080600160a060020a038416156107905783610792565b335b905061079d8361092a565b156107c357826107ad82826108aa565b6107b85760006107ba565b815b925050506106e8565b600160a060020a0390811660009081526020818152604080832086845290915290205416905092915050565b6000808061081d857f01ffc9a70000000000000000000000000000000000000000000000000000000061094c565b909250905081158061082d575080155b1561083d576000925050506106e8565b61084f85600160e060020a031961094c565b909250905081158061086057508015155b15610870576000925050506106e8565b61087a858561094c565b909250905060018214801561088f5750806001145b1561089f576001925050506106e8565b506000949350505050565b600160a060020a0382166000908152600260209081526040808320600160e060020a03198516845290915281205460ff1615156108f2576108eb83836107ef565b90506106e8565b50600160a060020a03808316600081815260208181526040808320600160e060020a0319871684529091529020549091161492915050565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff161590565b6040517f01ffc9a7000000000000000000000000000000000000000000000000000000008082526004820183905260009182919060208160248189617530fa90519096909550935050505056fea165627a7a72305820377f4a2d4301ede9949f163f319021a6e9c687c292a5e2b2c4734c126b524e6c0029\""
193
193
  }
194
194
  ],
195
- "id": 25797,
195
+ "id": 25800,
196
196
  "isConstant": false,
197
197
  "isLValue": false,
198
198
  "isPure": true,
@@ -204,14 +204,14 @@
204
204
  "typeString": "type(bytes storage pointer)"
205
205
  },
206
206
  "typeName": {
207
- "id": 25796,
207
+ "id": 25799,
208
208
  "name": "bytes",
209
209
  "nodeType": "ElementaryTypeName",
210
210
  "src": "405:5:67",
211
211
  "typeDescriptions": {}
212
212
  }
213
213
  },
214
- "id": 25799,
214
+ "id": 25802,
215
215
  "isConstant": false,
216
216
  "isLValue": false,
217
217
  "isPure": true,
@@ -230,7 +230,7 @@
230
230
  "visibility": "internal"
231
231
  }
232
232
  ],
233
- "scope": 25802,
233
+ "scope": 25805,
234
234
  "src": "249:5173:67",
235
235
  "usedErrors": []
236
236
  }
@@ -243,7 +243,7 @@
243
243
  },
244
244
  "networks": {},
245
245
  "schemaVersion": "3.4.13",
246
- "updatedAt": "2023-07-12T09:52:15.921Z",
246
+ "updatedAt": "2023-08-06T18:11:20.944Z",
247
247
  "devdoc": {
248
248
  "details": "This is meant to be used by test framework to get the raw bytecode without compiling the origin contract",
249
249
  "kind": "dev",
@@ -15059,7 +15059,7 @@
15059
15059
  },
15060
15060
  "networks": {},
15061
15061
  "schemaVersion": "3.4.13",
15062
- "updatedAt": "2023-07-12T09:52:15.690Z",
15062
+ "updatedAt": "2023-08-06T18:11:20.714Z",
15063
15063
  "devdoc": {
15064
15064
  "details": "Implementation of the {IERC20} interface. This implementation is agnostic to the way tokens are created. This means that a supply mechanism has to be added in a derived contract using {_mint}. For a generic mechanism see {ERC20PresetMinterPauser}. TIP: For a detailed writeup see our guide https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How to implement supply mechanisms]. We have followed general OpenZeppelin Contracts guidelines: functions revert instead returning `false` on failure. This behavior is nonetheless conventional and does not conflict with the expectations of ERC20 applications. Additionally, an {Approval} event is emitted on calls to {transferFrom}. This allows applications to reconstruct the allowance for all accounts just by listening to said events. Other implementations of the EIP may not emit these events, as it isn't required by the specification. Finally, the non-standard {decreaseAllowance} and {increaseAllowance} functions have been added to mitigate the well-known issues around setting allowances. See {IERC20-approve}.",
15065
15065
  "events": {
@@ -238,21 +238,21 @@
238
238
  "absolutePath": "project:/contracts/interfaces/tokens/ERC20WithTokenInfo.sol",
239
239
  "exportedSymbols": {
240
240
  "ERC20WithTokenInfo": [
241
- 25475
241
+ 25478
242
242
  ],
243
243
  "IERC20": [
244
244
  1540
245
245
  ],
246
246
  "TokenInfo": [
247
- 25543
247
+ 25546
248
248
  ]
249
249
  },
250
- "id": 25476,
250
+ "id": 25479,
251
251
  "license": "MIT",
252
252
  "nodeType": "SourceUnit",
253
253
  "nodes": [
254
254
  {
255
- "id": 25465,
255
+ "id": 25468,
256
256
  "literals": [
257
257
  "solidity",
258
258
  ">=",
@@ -265,16 +265,16 @@
265
265
  {
266
266
  "absolutePath": "@openzeppelin/contracts/token/ERC20/IERC20.sol",
267
267
  "file": "@openzeppelin/contracts/token/ERC20/IERC20.sol",
268
- "id": 25467,
268
+ "id": 25470,
269
269
  "nameLocation": "-1:-1:-1",
270
270
  "nodeType": "ImportDirective",
271
- "scope": 25476,
271
+ "scope": 25479,
272
272
  "sourceUnit": 1541,
273
273
  "src": "59:72:58",
274
274
  "symbolAliases": [
275
275
  {
276
276
  "foreign": {
277
- "id": 25466,
277
+ "id": 25469,
278
278
  "name": "IERC20",
279
279
  "nodeType": "Identifier",
280
280
  "overloadedDeclarations": [],
@@ -290,20 +290,20 @@
290
290
  {
291
291
  "absolutePath": "project:/contracts/interfaces/tokens/TokenInfo.sol",
292
292
  "file": "./TokenInfo.sol",
293
- "id": 25469,
293
+ "id": 25472,
294
294
  "nameLocation": "-1:-1:-1",
295
295
  "nodeType": "ImportDirective",
296
- "scope": 25476,
297
- "sourceUnit": 25544,
296
+ "scope": 25479,
297
+ "sourceUnit": 25547,
298
298
  "src": "132:44:58",
299
299
  "symbolAliases": [
300
300
  {
301
301
  "foreign": {
302
- "id": 25468,
302
+ "id": 25471,
303
303
  "name": "TokenInfo",
304
304
  "nodeType": "Identifier",
305
305
  "overloadedDeclarations": [],
306
- "referencedDeclaration": 25543,
306
+ "referencedDeclaration": 25546,
307
307
  "src": "141:9:58",
308
308
  "typeDescriptions": {}
309
309
  },
@@ -317,7 +317,7 @@
317
317
  "baseContracts": [
318
318
  {
319
319
  "baseName": {
320
- "id": 25471,
320
+ "id": 25474,
321
321
  "name": "IERC20",
322
322
  "nameLocations": [
323
323
  "527:6:58"
@@ -326,22 +326,22 @@
326
326
  "referencedDeclaration": 1540,
327
327
  "src": "527:6:58"
328
328
  },
329
- "id": 25472,
329
+ "id": 25475,
330
330
  "nodeType": "InheritanceSpecifier",
331
331
  "src": "527:6:58"
332
332
  },
333
333
  {
334
334
  "baseName": {
335
- "id": 25473,
335
+ "id": 25476,
336
336
  "name": "TokenInfo",
337
337
  "nameLocations": [
338
338
  "535:9:58"
339
339
  ],
340
340
  "nodeType": "IdentifierPath",
341
- "referencedDeclaration": 25543,
341
+ "referencedDeclaration": 25546,
342
342
  "src": "535:9:58"
343
343
  },
344
- "id": 25474,
344
+ "id": 25477,
345
345
  "nodeType": "InheritanceSpecifier",
346
346
  "src": "535:9:58"
347
347
  }
@@ -350,23 +350,23 @@
350
350
  "contractDependencies": [],
351
351
  "contractKind": "contract",
352
352
  "documentation": {
353
- "id": 25470,
353
+ "id": 25473,
354
354
  "nodeType": "StructuredDocumentation",
355
355
  "src": "178:263:58",
356
356
  "text": " @title ERC20 token with token info interface\n @author Superfluid\n @dev Using abstract contract instead of interfaces because old solidity\n does not support interface inheriting other interfaces\n solhint-disable-next-line no-empty-blocks"
357
357
  },
358
358
  "fullyImplemented": false,
359
- "id": 25475,
359
+ "id": 25478,
360
360
  "linearizedBaseContracts": [
361
- 25475,
362
- 25543,
361
+ 25478,
362
+ 25546,
363
363
  1540
364
364
  ],
365
365
  "name": "ERC20WithTokenInfo",
366
366
  "nameLocation": "505:18:58",
367
367
  "nodeType": "ContractDefinition",
368
368
  "nodes": [],
369
- "scope": 25476,
369
+ "scope": 25479,
370
370
  "src": "487:60:58",
371
371
  "usedErrors": []
372
372
  }
@@ -379,7 +379,7 @@
379
379
  },
380
380
  "networks": {},
381
381
  "schemaVersion": "3.4.13",
382
- "updatedAt": "2023-07-12T09:52:15.913Z",
382
+ "updatedAt": "2023-08-06T18:11:20.937Z",
383
383
  "devdoc": {
384
384
  "author": "Superfluid",
385
385
  "details": "Using abstract contract instead of interfaces because old solidity does not support interface inheriting other interfaces solhint-disable-next-line no-empty-blocks",