@superfluid-finance/ethereum-contracts 1.7.2-dev.09f3be3.0 → 1.7.2-dev.1ef77a5.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 (188) 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/SuperAppBaseFlowTester.sol/SuperAppBaseFlowTester.json +15 -15
  5. package/build/contracts/AccessControl.json +1 -1
  6. package/build/contracts/AccessControlEnumerable.json +1 -1
  7. package/build/contracts/Address.json +1 -1
  8. package/build/contracts/AgreementBase.json +18 -18
  9. package/build/contracts/AgreementLibrary.json +165 -165
  10. package/build/contracts/BaseRelayRecipient.json +57 -57
  11. package/build/contracts/BatchLiquidator.json +382 -382
  12. package/build/contracts/BatchOperation.json +614 -614
  13. package/build/contracts/CFAv1Forwarder.json +1250 -1250
  14. package/build/contracts/CFAv1ForwarderDeployerLibrary.json +2384 -2384
  15. package/build/contracts/CFAv1Library.json +389 -389
  16. package/build/contracts/CallUtils.json +198 -198
  17. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1525 -1525
  18. package/build/contracts/ConstantFlowAgreementV1.json +1087 -1087
  19. package/build/contracts/ConstantInflowNFT.json +402 -402
  20. package/build/contracts/ConstantOutflowNFT.json +661 -661
  21. package/build/contracts/Context.json +1 -1
  22. package/build/contracts/ContextDefinitions.json +614 -614
  23. package/build/contracts/CustomSuperTokenBase.json +19 -19
  24. package/build/contracts/ERC165.json +1 -1
  25. package/build/contracts/ERC1820Implementer.json +1 -1
  26. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  27. package/build/contracts/ERC20.json +1 -1
  28. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  29. package/build/contracts/ERC777Helper.json +384 -384
  30. package/build/contracts/ERC777RecipientDrainingGas.json +863 -863
  31. package/build/contracts/ERC777RecipientReverting.json +863 -863
  32. package/build/contracts/EnumerableSet.json +1 -1
  33. package/build/contracts/EventsEmitter.json +43 -43
  34. package/build/contracts/ExclusiveInflowTestApp.json +1525 -1525
  35. package/build/contracts/FixedSizeData.json +200 -200
  36. package/build/contracts/FlowExchangeTestApp.json +1526 -1526
  37. package/build/contracts/FlowNFTBase.json +1280 -1280
  38. package/build/contracts/FlowOperatorDefinitions.json +614 -614
  39. package/build/contracts/ForwarderBase.json +190 -190
  40. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  41. package/build/contracts/IAccessControl.json +1 -1
  42. package/build/contracts/IAccessControlEnumerable.json +1 -1
  43. package/build/contracts/IConstantFlowAgreementV1.json +677 -677
  44. package/build/contracts/IConstantInflowNFT.json +54 -54
  45. package/build/contracts/IConstantOutflowNFT.json +107 -107
  46. package/build/contracts/IDAv1Forwarder.json +912 -912
  47. package/build/contracts/IDAv1ForwarderDeployerLibrary.json +2384 -2384
  48. package/build/contracts/IDAv1Library.json +430 -430
  49. package/build/contracts/IERC165.json +1 -1
  50. package/build/contracts/IERC1820Implementer.json +1 -1
  51. package/build/contracts/IERC1820Registry.json +1 -1
  52. package/build/contracts/IERC20.json +1 -1
  53. package/build/contracts/IERC20Metadata.json +1 -1
  54. package/build/contracts/IERC20Permit.json +1 -1
  55. package/build/contracts/IERC721.json +1 -1
  56. package/build/contracts/IERC721Metadata.json +1 -1
  57. package/build/contracts/IERC777.json +1 -1
  58. package/build/contracts/IERC777Recipient.json +1 -1
  59. package/build/contracts/IERC777Sender.json +1 -1
  60. package/build/contracts/IFlowNFTBase.json +115 -115
  61. package/build/contracts/IInstantDistributionAgreementV1.json +667 -667
  62. package/build/contracts/IMultiSigWallet.json +31 -31
  63. package/build/contracts/IPoolAdminNFT.json +7 -7
  64. package/build/contracts/IPoolMemberNFT.json +7 -7
  65. package/build/contracts/IPureSuperToken.json +62 -62
  66. package/build/contracts/IPureSuperTokenCustom.json +62 -62
  67. package/build/contracts/IRelayRecipient.json +27 -27
  68. package/build/contracts/IResolver.json +38 -38
  69. package/build/contracts/ISETH.json +67 -67
  70. package/build/contracts/ISETHCustom.json +67 -67
  71. package/build/contracts/ISuperAgreement.json +50 -50
  72. package/build/contracts/ISuperApp.json +191 -191
  73. package/build/contracts/ISuperToken.json +695 -695
  74. package/build/contracts/ISuperTokenFactory.json +225 -225
  75. package/build/contracts/ISuperfluid.json +904 -904
  76. package/build/contracts/ISuperfluidGovernance.json +251 -251
  77. package/build/contracts/ISuperfluidToken.json +407 -407
  78. package/build/contracts/ITOGAv1.json +1346 -1346
  79. package/build/contracts/ITOGAv2.json +1346 -1346
  80. package/build/contracts/ITOGAv3.json +1346 -1346
  81. package/build/contracts/Initializable.json +1 -1
  82. package/build/contracts/InstantDistributionAgreementV1.json +594 -594
  83. package/build/contracts/Math.json +1 -1
  84. package/build/contracts/NonClosableOutflowTestApp.json +1526 -1526
  85. package/build/contracts/Ownable.json +1 -1
  86. package/build/contracts/Proxy.json +1 -1
  87. package/build/contracts/ProxyDeployerLibrary.json +2382 -2382
  88. package/build/contracts/PureSuperToken.json +106 -106
  89. package/build/contracts/Resolver.json +98 -98
  90. package/build/contracts/SETHProxy.json +224 -224
  91. package/build/contracts/SafeCast.json +1 -1
  92. package/build/contracts/SafeERC20.json +1 -1
  93. package/build/contracts/SafeGasLibrary.json +51 -51
  94. package/build/contracts/SafeMath.json +1 -1
  95. package/build/contracts/SelfDeletingFlowTestApp.json +1525 -1525
  96. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  97. package/build/contracts/StreamRedirector.json +704 -704
  98. package/build/contracts/Strings.json +1 -1
  99. package/build/contracts/SuperAppBase.json +42 -42
  100. package/build/contracts/SuperAppBaseFlow.json +800 -800
  101. package/build/contracts/SuperAppDefinitions.json +614 -614
  102. package/build/contracts/SuperToken.json +2714 -2714
  103. package/build/contracts/SuperTokenDeployerLibrary.json +2383 -2383
  104. package/build/contracts/SuperTokenFactory.json +1347 -1347
  105. package/build/contracts/SuperTokenFactoryBase.json +1329 -1329
  106. package/build/contracts/SuperTokenV1Library.json +1483 -1483
  107. package/build/contracts/SuperUpgrader.json +439 -439
  108. package/build/contracts/Superfluid.json +5196 -5196
  109. package/build/contracts/SuperfluidCFAv1DeployerLibrary.json +2383 -2383
  110. package/build/contracts/SuperfluidFrameworkDeployer.json +1260 -1260
  111. package/build/contracts/SuperfluidFrameworkDeploymentSteps.json +2382 -2382
  112. package/build/contracts/SuperfluidGovDeployerLibrary.json +2383 -2383
  113. package/build/contracts/SuperfluidGovernanceBase.json +2449 -2449
  114. package/build/contracts/SuperfluidGovernanceConfigs.json +614 -614
  115. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  116. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  117. package/build/contracts/SuperfluidHostDeployerLibrary.json +2382 -2382
  118. package/build/contracts/SuperfluidIDAv1DeployerLibrary.json +2383 -2383
  119. package/build/contracts/SuperfluidLoader.json +207 -207
  120. package/build/contracts/SuperfluidLoaderDeployerLibrary.json +2384 -2384
  121. package/build/contracts/SuperfluidLoaderLibrary.json +552 -417
  122. package/build/contracts/SuperfluidNFTLogicDeployerLibrary.json +2387 -2387
  123. package/build/contracts/SuperfluidPeripheryDeployerLibrary.json +2385 -2385
  124. package/build/contracts/SuperfluidToken.json +1423 -1423
  125. package/build/contracts/TOGA.json +1360 -1360
  126. package/build/contracts/TestGovernance.json +250 -250
  127. package/build/contracts/TestResolver.json +47 -47
  128. package/build/contracts/TestToken.json +102 -102
  129. package/build/contracts/TokenDeployerLibrary.json +2384 -2384
  130. package/build/contracts/TokenInfo.json +32 -32
  131. package/build/contracts/UUPSProxiable.json +139 -139
  132. package/build/contracts/UUPSProxy.json +81 -81
  133. package/build/contracts/UUPSUtils.json +37 -37
  134. package/build/contracts-sizes.txt +15 -15
  135. package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts +9 -9
  136. package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts.map +1 -1
  137. package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts +9 -9
  138. package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts.map +1 -1
  139. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.d.ts +10 -10
  140. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js +13 -13
  141. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js.map +1 -1
  142. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts +1 -1
  143. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts.map +1 -1
  144. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js +1 -1
  145. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js.map +1 -1
  146. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts +11 -11
  147. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts.map +1 -1
  148. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js +14 -14
  149. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js.map +1 -1
  150. package/contracts/apps/SuperAppBaseFlow.sol +8 -8
  151. package/contracts/apps/SuperfluidLoaderLibrary.sol +5 -2
  152. package/package.json +5 -5
  153. package/ops-scripts/.eslintrc.js +0 -15
  154. package/ops-scripts/artifacts/ERC1820Registry.json +0 -5
  155. package/ops-scripts/deploy-aux-contracts.js +0 -99
  156. package/ops-scripts/deploy-deterministically.js +0 -169
  157. package/ops-scripts/deploy-erc1820.js +0 -83
  158. package/ops-scripts/deploy-framework.js +0 -895
  159. package/ops-scripts/deploy-mfa.ts +0 -27
  160. package/ops-scripts/deploy-super-token.js +0 -206
  161. package/ops-scripts/deploy-test-environment.js +0 -98
  162. package/ops-scripts/deploy-test-token.js +0 -86
  163. package/ops-scripts/deploy-unlisted-pure-super-token.js +0 -69
  164. package/ops-scripts/deploy-unlisted-super-token.js +0 -68
  165. package/ops-scripts/gov-create-new-app-registration-key.js +0 -75
  166. package/ops-scripts/gov-create-new-factory-registration.js +0 -49
  167. package/ops-scripts/gov-set-3Ps-config.js +0 -67
  168. package/ops-scripts/gov-set-reward-address.js +0 -60
  169. package/ops-scripts/gov-set-token-min-deposit.js +0 -53
  170. package/ops-scripts/gov-set-trusted-forwarder.js +0 -80
  171. package/ops-scripts/gov-transfer-framework-ownership.js +0 -90
  172. package/ops-scripts/gov-upgrade-governance.js +0 -87
  173. package/ops-scripts/gov-upgrade-super-token-logic.js +0 -193
  174. package/ops-scripts/info-inspect-account.js +0 -118
  175. package/ops-scripts/info-list-apps.js +0 -55
  176. package/ops-scripts/info-print-contract-addresses.js +0 -136
  177. package/ops-scripts/info-scan-deployments.js +0 -63
  178. package/ops-scripts/info-show-protocol.js +0 -400
  179. package/ops-scripts/libs/common.js +0 -436
  180. package/ops-scripts/libs/getConfig.js +0 -289
  181. package/ops-scripts/libs/truffleScriptRunnerFactory.js +0 -97
  182. package/ops-scripts/resolver-list-super-token.js +0 -73
  183. package/ops-scripts/resolver-register-token.js +0 -72
  184. package/ops-scripts/resolver-reset-deployment.js +0 -54
  185. package/ops-scripts/resolver-set-key-value.js +0 -69
  186. package/ops-scripts/resolver-unlist-super-token.js +0 -61
  187. package/ops-scripts/tmp-trigger-token-transfer.js +0 -33
  188. package/ops-scripts/validate-nft-addresses.ts +0 -49
@@ -55,15 +55,15 @@
55
55
  "absolutePath": "project:/contracts/interfaces/tokens/TokenInfo.sol",
56
56
  "exportedSymbols": {
57
57
  "TokenInfo": [
58
- 25532
58
+ 25543
59
59
  ]
60
60
  },
61
- "id": 25533,
61
+ "id": 25544,
62
62
  "license": "MIT",
63
63
  "nodeType": "SourceUnit",
64
64
  "nodes": [
65
65
  {
66
- "id": 25512,
66
+ "id": 25523,
67
67
  "literals": [
68
68
  "solidity",
69
69
  ">=",
@@ -80,15 +80,15 @@
80
80
  "contractDependencies": [],
81
81
  "contractKind": "interface",
82
82
  "documentation": {
83
- "id": 25513,
83
+ "id": 25524,
84
84
  "nodeType": "StructuredDocumentation",
85
85
  "src": "59:188:61",
86
86
  "text": " @title ERC20 token info interface\n @author Superfluid\n @dev ERC20 standard interface does not specify these functions, but\n often the token implementations have them."
87
87
  },
88
88
  "fullyImplemented": false,
89
- "id": 25532,
89
+ "id": 25543,
90
90
  "linearizedBaseContracts": [
91
- 25532
91
+ 25543
92
92
  ],
93
93
  "name": "TokenInfo",
94
94
  "nameLocation": "258:9:61",
@@ -96,13 +96,13 @@
96
96
  "nodes": [
97
97
  {
98
98
  "documentation": {
99
- "id": 25514,
99
+ "id": 25525,
100
100
  "nodeType": "StructuredDocumentation",
101
101
  "src": "274:54:61",
102
102
  "text": " @dev Returns the name of the token."
103
103
  },
104
104
  "functionSelector": "06fdde03",
105
- "id": 25519,
105
+ "id": 25530,
106
106
  "implemented": false,
107
107
  "kind": "function",
108
108
  "modifiers": [],
@@ -110,23 +110,23 @@
110
110
  "nameLocation": "342:4:61",
111
111
  "nodeType": "FunctionDefinition",
112
112
  "parameters": {
113
- "id": 25515,
113
+ "id": 25526,
114
114
  "nodeType": "ParameterList",
115
115
  "parameters": [],
116
116
  "src": "346:2:61"
117
117
  },
118
118
  "returnParameters": {
119
- "id": 25518,
119
+ "id": 25529,
120
120
  "nodeType": "ParameterList",
121
121
  "parameters": [
122
122
  {
123
123
  "constant": false,
124
- "id": 25517,
124
+ "id": 25528,
125
125
  "mutability": "mutable",
126
126
  "name": "",
127
127
  "nameLocation": "-1:-1:-1",
128
128
  "nodeType": "VariableDeclaration",
129
- "scope": 25519,
129
+ "scope": 25530,
130
130
  "src": "372:13:61",
131
131
  "stateVariable": false,
132
132
  "storageLocation": "memory",
@@ -135,7 +135,7 @@
135
135
  "typeString": "string"
136
136
  },
137
137
  "typeName": {
138
- "id": 25516,
138
+ "id": 25527,
139
139
  "name": "string",
140
140
  "nodeType": "ElementaryTypeName",
141
141
  "src": "372:6:61",
@@ -149,7 +149,7 @@
149
149
  ],
150
150
  "src": "371:15:61"
151
151
  },
152
- "scope": 25532,
152
+ "scope": 25543,
153
153
  "src": "333:54:61",
154
154
  "stateMutability": "view",
155
155
  "virtual": false,
@@ -157,13 +157,13 @@
157
157
  },
158
158
  {
159
159
  "documentation": {
160
- "id": 25520,
160
+ "id": 25531,
161
161
  "nodeType": "StructuredDocumentation",
162
162
  "src": "393:102:61",
163
163
  "text": " @dev Returns the symbol of the token, usually a shorter version of the\n name."
164
164
  },
165
165
  "functionSelector": "95d89b41",
166
- "id": 25525,
166
+ "id": 25536,
167
167
  "implemented": false,
168
168
  "kind": "function",
169
169
  "modifiers": [],
@@ -171,23 +171,23 @@
171
171
  "nameLocation": "509:6:61",
172
172
  "nodeType": "FunctionDefinition",
173
173
  "parameters": {
174
- "id": 25521,
174
+ "id": 25532,
175
175
  "nodeType": "ParameterList",
176
176
  "parameters": [],
177
177
  "src": "515:2:61"
178
178
  },
179
179
  "returnParameters": {
180
- "id": 25524,
180
+ "id": 25535,
181
181
  "nodeType": "ParameterList",
182
182
  "parameters": [
183
183
  {
184
184
  "constant": false,
185
- "id": 25523,
185
+ "id": 25534,
186
186
  "mutability": "mutable",
187
187
  "name": "",
188
188
  "nameLocation": "-1:-1:-1",
189
189
  "nodeType": "VariableDeclaration",
190
- "scope": 25525,
190
+ "scope": 25536,
191
191
  "src": "541:13:61",
192
192
  "stateVariable": false,
193
193
  "storageLocation": "memory",
@@ -196,7 +196,7 @@
196
196
  "typeString": "string"
197
197
  },
198
198
  "typeName": {
199
- "id": 25522,
199
+ "id": 25533,
200
200
  "name": "string",
201
201
  "nodeType": "ElementaryTypeName",
202
202
  "src": "541:6:61",
@@ -210,7 +210,7 @@
210
210
  ],
211
211
  "src": "540:15:61"
212
212
  },
213
- "scope": 25532,
213
+ "scope": 25543,
214
214
  "src": "500:56:61",
215
215
  "stateMutability": "view",
216
216
  "virtual": false,
@@ -218,13 +218,13 @@
218
218
  },
219
219
  {
220
220
  "documentation": {
221
- "id": 25526,
221
+ "id": 25537,
222
222
  "nodeType": "StructuredDocumentation",
223
223
  "src": "562:612:61",
224
224
  "text": " @dev Returns the number of decimals used to get its user representation.\n For example, if `decimals` equals `2`, a balance of `505` tokens should\n be displayed to a user as `5,05` (`505 / 10 ** 2`).\n Tokens usually opt for a value of 18, imitating the relationship between\n Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is\n called.\n NOTE: This information is only used for _display_ purposes: it in\n no way affects any of the arithmetic of the contract, including\n {IERC20-balanceOf} and {IERC20-transfer}."
225
225
  },
226
226
  "functionSelector": "313ce567",
227
- "id": 25531,
227
+ "id": 25542,
228
228
  "implemented": false,
229
229
  "kind": "function",
230
230
  "modifiers": [],
@@ -232,23 +232,23 @@
232
232
  "nameLocation": "1188:8:61",
233
233
  "nodeType": "FunctionDefinition",
234
234
  "parameters": {
235
- "id": 25527,
235
+ "id": 25538,
236
236
  "nodeType": "ParameterList",
237
237
  "parameters": [],
238
238
  "src": "1196:2:61"
239
239
  },
240
240
  "returnParameters": {
241
- "id": 25530,
241
+ "id": 25541,
242
242
  "nodeType": "ParameterList",
243
243
  "parameters": [
244
244
  {
245
245
  "constant": false,
246
- "id": 25529,
246
+ "id": 25540,
247
247
  "mutability": "mutable",
248
248
  "name": "",
249
249
  "nameLocation": "-1:-1:-1",
250
250
  "nodeType": "VariableDeclaration",
251
- "scope": 25531,
251
+ "scope": 25542,
252
252
  "src": "1222:5:61",
253
253
  "stateVariable": false,
254
254
  "storageLocation": "default",
@@ -257,7 +257,7 @@
257
257
  "typeString": "uint8"
258
258
  },
259
259
  "typeName": {
260
- "id": 25528,
260
+ "id": 25539,
261
261
  "name": "uint8",
262
262
  "nodeType": "ElementaryTypeName",
263
263
  "src": "1222:5:61",
@@ -271,14 +271,14 @@
271
271
  ],
272
272
  "src": "1221:7:61"
273
273
  },
274
- "scope": 25532,
274
+ "scope": 25543,
275
275
  "src": "1179:50:61",
276
276
  "stateMutability": "view",
277
277
  "virtual": false,
278
278
  "visibility": "external"
279
279
  }
280
280
  ],
281
- "scope": 25533,
281
+ "scope": 25544,
282
282
  "src": "248:983:61",
283
283
  "usedErrors": []
284
284
  }
@@ -291,7 +291,7 @@
291
291
  },
292
292
  "networks": {},
293
293
  "schemaVersion": "3.4.13",
294
- "updatedAt": "2023-06-28T11:03:18.857Z",
294
+ "updatedAt": "2023-07-26T13:43:45.968Z",
295
295
  "devdoc": {
296
296
  "author": "Superfluid",
297
297
  "details": "ERC20 standard interface does not specify these functions, but often the token implementations have them.",