@superfluid-finance/ethereum-contracts 1.7.2-dev.09f3be3.0 → 1.7.2-dev.36bfd5f.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 (173) hide show
  1. package/artifacts/contracts/apps/SuperfluidLoaderLibrary.sol/SuperfluidLoaderLibrary.json +2 -2
  2. package/build/contracts/AccessControl.json +1 -1
  3. package/build/contracts/AccessControlEnumerable.json +1 -1
  4. package/build/contracts/Address.json +1 -1
  5. package/build/contracts/AgreementBase.json +18 -18
  6. package/build/contracts/AgreementLibrary.json +165 -165
  7. package/build/contracts/BaseRelayRecipient.json +57 -57
  8. package/build/contracts/BatchLiquidator.json +382 -382
  9. package/build/contracts/BatchOperation.json +614 -614
  10. package/build/contracts/CFAv1Forwarder.json +1250 -1250
  11. package/build/contracts/CFAv1ForwarderDeployerLibrary.json +2384 -2384
  12. package/build/contracts/CFAv1Library.json +389 -389
  13. package/build/contracts/CallUtils.json +198 -198
  14. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1525 -1525
  15. package/build/contracts/ConstantFlowAgreementV1.json +1087 -1087
  16. package/build/contracts/ConstantInflowNFT.json +402 -402
  17. package/build/contracts/ConstantOutflowNFT.json +661 -661
  18. package/build/contracts/Context.json +1 -1
  19. package/build/contracts/ContextDefinitions.json +614 -614
  20. package/build/contracts/CustomSuperTokenBase.json +19 -19
  21. package/build/contracts/ERC165.json +1 -1
  22. package/build/contracts/ERC1820Implementer.json +1 -1
  23. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  24. package/build/contracts/ERC20.json +1 -1
  25. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  26. package/build/contracts/ERC777Helper.json +384 -384
  27. package/build/contracts/ERC777RecipientDrainingGas.json +863 -863
  28. package/build/contracts/ERC777RecipientReverting.json +863 -863
  29. package/build/contracts/EnumerableSet.json +1 -1
  30. package/build/contracts/EventsEmitter.json +43 -43
  31. package/build/contracts/ExclusiveInflowTestApp.json +1525 -1525
  32. package/build/contracts/FixedSizeData.json +200 -200
  33. package/build/contracts/FlowExchangeTestApp.json +1526 -1526
  34. package/build/contracts/FlowNFTBase.json +1280 -1280
  35. package/build/contracts/FlowOperatorDefinitions.json +614 -614
  36. package/build/contracts/ForwarderBase.json +190 -190
  37. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  38. package/build/contracts/IAccessControl.json +1 -1
  39. package/build/contracts/IAccessControlEnumerable.json +1 -1
  40. package/build/contracts/IConstantFlowAgreementV1.json +677 -677
  41. package/build/contracts/IConstantInflowNFT.json +54 -54
  42. package/build/contracts/IConstantOutflowNFT.json +107 -107
  43. package/build/contracts/IDAv1Forwarder.json +912 -912
  44. package/build/contracts/IDAv1ForwarderDeployerLibrary.json +2384 -2384
  45. package/build/contracts/IDAv1Library.json +430 -430
  46. package/build/contracts/IERC165.json +1 -1
  47. package/build/contracts/IERC1820Implementer.json +1 -1
  48. package/build/contracts/IERC1820Registry.json +1 -1
  49. package/build/contracts/IERC20.json +1 -1
  50. package/build/contracts/IERC20Metadata.json +1 -1
  51. package/build/contracts/IERC20Permit.json +1 -1
  52. package/build/contracts/IERC721.json +1 -1
  53. package/build/contracts/IERC721Metadata.json +1 -1
  54. package/build/contracts/IERC777.json +1 -1
  55. package/build/contracts/IERC777Recipient.json +1 -1
  56. package/build/contracts/IERC777Sender.json +1 -1
  57. package/build/contracts/IFlowNFTBase.json +115 -115
  58. package/build/contracts/IInstantDistributionAgreementV1.json +667 -667
  59. package/build/contracts/IMultiSigWallet.json +31 -31
  60. package/build/contracts/IPoolAdminNFT.json +7 -7
  61. package/build/contracts/IPoolMemberNFT.json +7 -7
  62. package/build/contracts/IPureSuperToken.json +62 -62
  63. package/build/contracts/IPureSuperTokenCustom.json +62 -62
  64. package/build/contracts/IRelayRecipient.json +27 -27
  65. package/build/contracts/IResolver.json +38 -38
  66. package/build/contracts/ISETH.json +67 -67
  67. package/build/contracts/ISETHCustom.json +67 -67
  68. package/build/contracts/ISuperAgreement.json +50 -50
  69. package/build/contracts/ISuperApp.json +191 -191
  70. package/build/contracts/ISuperToken.json +695 -695
  71. package/build/contracts/ISuperTokenFactory.json +225 -225
  72. package/build/contracts/ISuperfluid.json +904 -904
  73. package/build/contracts/ISuperfluidGovernance.json +251 -251
  74. package/build/contracts/ISuperfluidToken.json +407 -407
  75. package/build/contracts/ITOGAv1.json +1346 -1346
  76. package/build/contracts/ITOGAv2.json +1346 -1346
  77. package/build/contracts/ITOGAv3.json +1346 -1346
  78. package/build/contracts/Initializable.json +1 -1
  79. package/build/contracts/InstantDistributionAgreementV1.json +594 -594
  80. package/build/contracts/Math.json +1 -1
  81. package/build/contracts/NonClosableOutflowTestApp.json +1526 -1526
  82. package/build/contracts/Ownable.json +1 -1
  83. package/build/contracts/Proxy.json +1 -1
  84. package/build/contracts/ProxyDeployerLibrary.json +2382 -2382
  85. package/build/contracts/PureSuperToken.json +106 -106
  86. package/build/contracts/Resolver.json +98 -98
  87. package/build/contracts/SETHProxy.json +224 -224
  88. package/build/contracts/SafeCast.json +1 -1
  89. package/build/contracts/SafeERC20.json +1 -1
  90. package/build/contracts/SafeGasLibrary.json +51 -51
  91. package/build/contracts/SafeMath.json +1 -1
  92. package/build/contracts/SelfDeletingFlowTestApp.json +1525 -1525
  93. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  94. package/build/contracts/StreamRedirector.json +704 -704
  95. package/build/contracts/Strings.json +1 -1
  96. package/build/contracts/SuperAppBase.json +42 -42
  97. package/build/contracts/SuperAppBaseFlow.json +138 -138
  98. package/build/contracts/SuperAppDefinitions.json +614 -614
  99. package/build/contracts/SuperToken.json +2714 -2714
  100. package/build/contracts/SuperTokenDeployerLibrary.json +2383 -2383
  101. package/build/contracts/SuperTokenFactory.json +1347 -1347
  102. package/build/contracts/SuperTokenFactoryBase.json +1329 -1329
  103. package/build/contracts/SuperTokenV1Library.json +1483 -1483
  104. package/build/contracts/SuperUpgrader.json +439 -439
  105. package/build/contracts/Superfluid.json +5196 -5196
  106. package/build/contracts/SuperfluidCFAv1DeployerLibrary.json +2383 -2383
  107. package/build/contracts/SuperfluidFrameworkDeployer.json +1260 -1260
  108. package/build/contracts/SuperfluidFrameworkDeploymentSteps.json +2382 -2382
  109. package/build/contracts/SuperfluidGovDeployerLibrary.json +2383 -2383
  110. package/build/contracts/SuperfluidGovernanceBase.json +2449 -2449
  111. package/build/contracts/SuperfluidGovernanceConfigs.json +614 -614
  112. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  113. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  114. package/build/contracts/SuperfluidHostDeployerLibrary.json +2382 -2382
  115. package/build/contracts/SuperfluidIDAv1DeployerLibrary.json +2383 -2383
  116. package/build/contracts/SuperfluidLoader.json +207 -207
  117. package/build/contracts/SuperfluidLoaderDeployerLibrary.json +2384 -2384
  118. package/build/contracts/SuperfluidLoaderLibrary.json +485 -351
  119. package/build/contracts/SuperfluidNFTLogicDeployerLibrary.json +2387 -2387
  120. package/build/contracts/SuperfluidPeripheryDeployerLibrary.json +2385 -2385
  121. package/build/contracts/SuperfluidToken.json +1423 -1423
  122. package/build/contracts/TOGA.json +1360 -1360
  123. package/build/contracts/TestGovernance.json +250 -250
  124. package/build/contracts/TestResolver.json +47 -47
  125. package/build/contracts/TestToken.json +102 -102
  126. package/build/contracts/TokenDeployerLibrary.json +2384 -2384
  127. package/build/contracts/TokenInfo.json +32 -32
  128. package/build/contracts/UUPSProxiable.json +139 -139
  129. package/build/contracts/UUPSProxy.json +81 -81
  130. package/build/contracts/UUPSUtils.json +37 -37
  131. package/build/contracts-sizes.txt +15 -15
  132. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts +1 -1
  133. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts.map +1 -1
  134. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js +1 -1
  135. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js.map +1 -1
  136. package/contracts/apps/SuperfluidLoaderLibrary.sol +4 -1
  137. package/package.json +3 -4
  138. package/ops-scripts/.eslintrc.js +0 -15
  139. package/ops-scripts/artifacts/ERC1820Registry.json +0 -5
  140. package/ops-scripts/deploy-aux-contracts.js +0 -99
  141. package/ops-scripts/deploy-deterministically.js +0 -169
  142. package/ops-scripts/deploy-erc1820.js +0 -83
  143. package/ops-scripts/deploy-framework.js +0 -895
  144. package/ops-scripts/deploy-mfa.ts +0 -27
  145. package/ops-scripts/deploy-super-token.js +0 -206
  146. package/ops-scripts/deploy-test-environment.js +0 -98
  147. package/ops-scripts/deploy-test-token.js +0 -86
  148. package/ops-scripts/deploy-unlisted-pure-super-token.js +0 -69
  149. package/ops-scripts/deploy-unlisted-super-token.js +0 -68
  150. package/ops-scripts/gov-create-new-app-registration-key.js +0 -75
  151. package/ops-scripts/gov-create-new-factory-registration.js +0 -49
  152. package/ops-scripts/gov-set-3Ps-config.js +0 -67
  153. package/ops-scripts/gov-set-reward-address.js +0 -60
  154. package/ops-scripts/gov-set-token-min-deposit.js +0 -53
  155. package/ops-scripts/gov-set-trusted-forwarder.js +0 -80
  156. package/ops-scripts/gov-transfer-framework-ownership.js +0 -90
  157. package/ops-scripts/gov-upgrade-governance.js +0 -87
  158. package/ops-scripts/gov-upgrade-super-token-logic.js +0 -193
  159. package/ops-scripts/info-inspect-account.js +0 -118
  160. package/ops-scripts/info-list-apps.js +0 -55
  161. package/ops-scripts/info-print-contract-addresses.js +0 -136
  162. package/ops-scripts/info-scan-deployments.js +0 -63
  163. package/ops-scripts/info-show-protocol.js +0 -400
  164. package/ops-scripts/libs/common.js +0 -436
  165. package/ops-scripts/libs/getConfig.js +0 -289
  166. package/ops-scripts/libs/truffleScriptRunnerFactory.js +0 -97
  167. package/ops-scripts/resolver-list-super-token.js +0 -73
  168. package/ops-scripts/resolver-register-token.js +0 -72
  169. package/ops-scripts/resolver-reset-deployment.js +0 -54
  170. package/ops-scripts/resolver-set-key-value.js +0 -69
  171. package/ops-scripts/resolver-unlist-super-token.js +0 -61
  172. package/ops-scripts/tmp-trigger-token-transfer.js +0 -33
  173. package/ops-scripts/validate-nft-addresses.ts +0 -49
@@ -49,21 +49,21 @@
49
49
  "absolutePath": "project:/contracts/interfaces/tokens/ISETH.sol",
50
50
  "exportedSymbols": {
51
51
  "ISETH": [
52
- 25510
52
+ 25521
53
53
  ],
54
54
  "ISETHCustom": [
55
- 25504
55
+ 25515
56
56
  ],
57
57
  "ISuperToken": [
58
- 24383
58
+ 24394
59
59
  ]
60
60
  },
61
- "id": 25511,
61
+ "id": 25522,
62
62
  "license": "MIT",
63
63
  "nodeType": "SourceUnit",
64
64
  "nodes": [
65
65
  {
66
- "id": 25487,
66
+ "id": 25498,
67
67
  "literals": [
68
68
  "solidity",
69
69
  ">=",
@@ -76,20 +76,20 @@
76
76
  {
77
77
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperToken.sol",
78
78
  "file": "../superfluid/ISuperToken.sol",
79
- "id": 25489,
79
+ "id": 25500,
80
80
  "nameLocation": "-1:-1:-1",
81
81
  "nodeType": "ImportDirective",
82
- "scope": 25511,
83
- "sourceUnit": 24384,
82
+ "scope": 25522,
83
+ "sourceUnit": 24395,
84
84
  "src": "59:60:60",
85
85
  "symbolAliases": [
86
86
  {
87
87
  "foreign": {
88
- "id": 25488,
88
+ "id": 25499,
89
89
  "name": "ISuperToken",
90
90
  "nodeType": "Identifier",
91
91
  "overloadedDeclarations": [],
92
- "referencedDeclaration": 24383,
92
+ "referencedDeclaration": 24394,
93
93
  "src": "68:11:60",
94
94
  "typeDescriptions": {}
95
95
  },
@@ -105,15 +105,15 @@
105
105
  "contractDependencies": [],
106
106
  "contractKind": "interface",
107
107
  "documentation": {
108
- "id": 25490,
108
+ "id": 25501,
109
109
  "nodeType": "StructuredDocumentation",
110
110
  "src": "122:79:60",
111
111
  "text": " @title Super ETH (SETH) custom token interface\n @author Superfluid"
112
112
  },
113
113
  "fullyImplemented": false,
114
- "id": 25504,
114
+ "id": 25515,
115
115
  "linearizedBaseContracts": [
116
- 25504
116
+ 25515
117
117
  ],
118
118
  "name": "ISETHCustom",
119
119
  "nameLocation": "212:11:60",
@@ -121,7 +121,7 @@
121
121
  "nodes": [
122
122
  {
123
123
  "functionSelector": "cf81464b",
124
- "id": 25493,
124
+ "id": 25504,
125
125
  "implemented": false,
126
126
  "kind": "function",
127
127
  "modifiers": [],
@@ -129,18 +129,18 @@
129
129
  "nameLocation": "265:12:60",
130
130
  "nodeType": "FunctionDefinition",
131
131
  "parameters": {
132
- "id": 25491,
132
+ "id": 25502,
133
133
  "nodeType": "ParameterList",
134
134
  "parameters": [],
135
135
  "src": "277:2:60"
136
136
  },
137
137
  "returnParameters": {
138
- "id": 25492,
138
+ "id": 25503,
139
139
  "nodeType": "ParameterList",
140
140
  "parameters": [],
141
141
  "src": "296:0:60"
142
142
  },
143
- "scope": 25504,
143
+ "scope": 25515,
144
144
  "src": "256:41:60",
145
145
  "stateMutability": "payable",
146
146
  "virtual": false,
@@ -148,7 +148,7 @@
148
148
  },
149
149
  {
150
150
  "functionSelector": "7687d19b",
151
- "id": 25498,
151
+ "id": 25509,
152
152
  "implemented": false,
153
153
  "kind": "function",
154
154
  "modifiers": [],
@@ -156,17 +156,17 @@
156
156
  "nameLocation": "311:14:60",
157
157
  "nodeType": "FunctionDefinition",
158
158
  "parameters": {
159
- "id": 25496,
159
+ "id": 25507,
160
160
  "nodeType": "ParameterList",
161
161
  "parameters": [
162
162
  {
163
163
  "constant": false,
164
- "id": 25495,
164
+ "id": 25506,
165
165
  "mutability": "mutable",
166
166
  "name": "to",
167
167
  "nameLocation": "334:2:60",
168
168
  "nodeType": "VariableDeclaration",
169
- "scope": 25498,
169
+ "scope": 25509,
170
170
  "src": "326:10:60",
171
171
  "stateVariable": false,
172
172
  "storageLocation": "default",
@@ -175,7 +175,7 @@
175
175
  "typeString": "address"
176
176
  },
177
177
  "typeName": {
178
- "id": 25494,
178
+ "id": 25505,
179
179
  "name": "address",
180
180
  "nodeType": "ElementaryTypeName",
181
181
  "src": "326:7:60",
@@ -191,12 +191,12 @@
191
191
  "src": "325:12:60"
192
192
  },
193
193
  "returnParameters": {
194
- "id": 25497,
194
+ "id": 25508,
195
195
  "nodeType": "ParameterList",
196
196
  "parameters": [],
197
197
  "src": "354:0:60"
198
198
  },
199
- "scope": 25504,
199
+ "scope": 25515,
200
200
  "src": "302:53:60",
201
201
  "stateMutability": "payable",
202
202
  "virtual": false,
@@ -204,7 +204,7 @@
204
204
  },
205
205
  {
206
206
  "functionSelector": "160e8be3",
207
- "id": 25503,
207
+ "id": 25514,
208
208
  "implemented": false,
209
209
  "kind": "function",
210
210
  "modifiers": [],
@@ -212,17 +212,17 @@
212
212
  "nameLocation": "369:14:60",
213
213
  "nodeType": "FunctionDefinition",
214
214
  "parameters": {
215
- "id": 25501,
215
+ "id": 25512,
216
216
  "nodeType": "ParameterList",
217
217
  "parameters": [
218
218
  {
219
219
  "constant": false,
220
- "id": 25500,
220
+ "id": 25511,
221
221
  "mutability": "mutable",
222
222
  "name": "wad",
223
223
  "nameLocation": "389:3:60",
224
224
  "nodeType": "VariableDeclaration",
225
- "scope": 25503,
225
+ "scope": 25514,
226
226
  "src": "384:8:60",
227
227
  "stateVariable": false,
228
228
  "storageLocation": "default",
@@ -231,7 +231,7 @@
231
231
  "typeString": "uint256"
232
232
  },
233
233
  "typeName": {
234
- "id": 25499,
234
+ "id": 25510,
235
235
  "name": "uint",
236
236
  "nodeType": "ElementaryTypeName",
237
237
  "src": "384:4:60",
@@ -246,19 +246,19 @@
246
246
  "src": "383:10:60"
247
247
  },
248
248
  "returnParameters": {
249
- "id": 25502,
249
+ "id": 25513,
250
250
  "nodeType": "ParameterList",
251
251
  "parameters": [],
252
252
  "src": "402:0:60"
253
253
  },
254
- "scope": 25504,
254
+ "scope": 25515,
255
255
  "src": "360:43:60",
256
256
  "stateMutability": "nonpayable",
257
257
  "virtual": false,
258
258
  "visibility": "external"
259
259
  }
260
260
  ],
261
- "scope": 25511,
261
+ "scope": 25522,
262
262
  "src": "202:203:60",
263
263
  "usedErrors": []
264
264
  },
@@ -267,31 +267,31 @@
267
267
  "baseContracts": [
268
268
  {
269
269
  "baseName": {
270
- "id": 25506,
270
+ "id": 25517,
271
271
  "name": "ISETHCustom",
272
272
  "nameLocations": [
273
273
  "543:11:60"
274
274
  ],
275
275
  "nodeType": "IdentifierPath",
276
- "referencedDeclaration": 25504,
276
+ "referencedDeclaration": 25515,
277
277
  "src": "543:11:60"
278
278
  },
279
- "id": 25507,
279
+ "id": 25518,
280
280
  "nodeType": "InheritanceSpecifier",
281
281
  "src": "543:11:60"
282
282
  },
283
283
  {
284
284
  "baseName": {
285
- "id": 25508,
285
+ "id": 25519,
286
286
  "name": "ISuperToken",
287
287
  "nameLocations": [
288
288
  "556:11:60"
289
289
  ],
290
290
  "nodeType": "IdentifierPath",
291
- "referencedDeclaration": 24383,
291
+ "referencedDeclaration": 24394,
292
292
  "src": "556:11:60"
293
293
  },
294
- "id": 25509,
294
+ "id": 25520,
295
295
  "nodeType": "InheritanceSpecifier",
296
296
  "src": "556:11:60"
297
297
  }
@@ -300,49 +300,49 @@
300
300
  "contractDependencies": [],
301
301
  "contractKind": "interface",
302
302
  "documentation": {
303
- "id": 25505,
303
+ "id": 25516,
304
304
  "nodeType": "StructuredDocumentation",
305
305
  "src": "407:71:60",
306
306
  "text": " @title Super ETH (SETH) full interface\n @author Superfluid"
307
307
  },
308
308
  "fullyImplemented": false,
309
- "id": 25510,
309
+ "id": 25521,
310
310
  "linearizedBaseContracts": [
311
- 25510,
312
- 24383,
311
+ 25521,
312
+ 24394,
313
313
  2188,
314
314
  1540,
315
- 25532,
316
- 25452,
317
- 25504
315
+ 25543,
316
+ 25463,
317
+ 25515
318
318
  ],
319
319
  "name": "ISETH",
320
320
  "nameLocation": "534:5:60",
321
321
  "nodeType": "ContractDefinition",
322
322
  "nodes": [],
323
- "scope": 25511,
323
+ "scope": 25522,
324
324
  "src": "524:46:60",
325
325
  "usedErrors": [
326
- 23940,
327
- 23942,
328
- 23944,
329
- 23946,
330
- 23948,
331
- 23950,
332
- 23952,
333
- 23954,
334
- 23956,
335
- 23958,
336
- 23960,
337
- 23962,
338
- 23964,
339
- 23966,
340
- 25173,
341
- 25175,
342
- 25177,
343
- 25179,
344
- 25181,
345
- 25183
326
+ 23951,
327
+ 23953,
328
+ 23955,
329
+ 23957,
330
+ 23959,
331
+ 23961,
332
+ 23963,
333
+ 23965,
334
+ 23967,
335
+ 23969,
336
+ 23971,
337
+ 23973,
338
+ 23975,
339
+ 23977,
340
+ 25184,
341
+ 25186,
342
+ 25188,
343
+ 25190,
344
+ 25192,
345
+ 25194
346
346
  ]
347
347
  }
348
348
  ],
@@ -354,7 +354,7 @@
354
354
  },
355
355
  "networks": {},
356
356
  "schemaVersion": "3.4.13",
357
- "updatedAt": "2023-06-28T11:03:18.857Z",
357
+ "updatedAt": "2023-07-07T14:28:48.675Z",
358
358
  "devdoc": {
359
359
  "author": "Superfluid",
360
360
  "kind": "dev",