@superfluid-finance/ethereum-contracts 1.2.2-dev.6a8632e.0 → 1.2.2-dev.bd59c6c.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 (118) hide show
  1. package/build/contracts/AccessControl.json +1 -1
  2. package/build/contracts/AccessControlEnumerable.json +1 -1
  3. package/build/contracts/Address.json +1 -1
  4. package/build/contracts/AgreementBase.json +18 -18
  5. package/build/contracts/AgreementLibrary.json +450 -243
  6. package/build/contracts/BaseRelayRecipient.json +112 -112
  7. package/build/contracts/BatchLiquidator.json +178 -178
  8. package/build/contracts/BatchOperation.json +1138 -1138
  9. package/build/contracts/CFAv1Library.json +2531 -2531
  10. package/build/contracts/CallUtils.json +478 -478
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1521 -1521
  12. package/build/contracts/ConstantFlowAgreementV1.json +19315 -18335
  13. package/build/contracts/Context.json +1 -1
  14. package/build/contracts/ContextDefinitions.json +1138 -1138
  15. package/build/contracts/Create2.json +1 -1
  16. package/build/contracts/CustomSuperTokenBase.json +31 -31
  17. package/build/contracts/ERC165.json +1 -1
  18. package/build/contracts/ERC1820Implementer.json +1 -1
  19. package/build/contracts/ERC20.json +1 -1
  20. package/build/contracts/ERC20Burnable.json +1 -1
  21. package/build/contracts/ERC20Pausable.json +1 -1
  22. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  23. package/build/contracts/ERC20WithTokenInfo.json +36 -36
  24. package/build/contracts/ERC721.json +1 -1
  25. package/build/contracts/ERC777Helper.json +660 -660
  26. package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
  27. package/build/contracts/ERC777RecipientReverting.json +855 -855
  28. package/build/contracts/EnumerableSet.json +1 -1
  29. package/build/contracts/ExclusiveInflowTestApp.json +1521 -1521
  30. package/build/contracts/FixedSizeData.json +405 -405
  31. package/build/contracts/FlowExchangeTestApp.json +1522 -1522
  32. package/build/contracts/FlowOperatorDefinitions.json +1138 -1138
  33. package/build/contracts/FullUpgradableSuperTokenProxy.json +113 -113
  34. package/build/contracts/IAccessControl.json +1 -1
  35. package/build/contracts/IAccessControlEnumerable.json +1 -1
  36. package/build/contracts/IConstantFlowAgreementV1.json +1036 -1036
  37. package/build/contracts/IDAv1Library.json +4183 -4183
  38. package/build/contracts/IERC165.json +1 -1
  39. package/build/contracts/IERC1820Implementer.json +1 -1
  40. package/build/contracts/IERC1820Registry.json +1 -1
  41. package/build/contracts/IERC20.json +1 -1
  42. package/build/contracts/IERC20Metadata.json +1 -1
  43. package/build/contracts/IERC721.json +1 -1
  44. package/build/contracts/IERC721Metadata.json +1 -1
  45. package/build/contracts/IERC721Receiver.json +1 -1
  46. package/build/contracts/IERC777.json +1 -1
  47. package/build/contracts/IERC777Recipient.json +1 -1
  48. package/build/contracts/IERC777Sender.json +1 -1
  49. package/build/contracts/IInstantDistributionAgreementV1.json +1182 -1182
  50. package/build/contracts/IMaticBridgedNativeSuperToken.json +110 -110
  51. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +110 -110
  52. package/build/contracts/IMultiSigWallet.json +45 -45
  53. package/build/contracts/IPureSuperToken.json +69 -69
  54. package/build/contracts/IPureSuperTokenCustom.json +69 -69
  55. package/build/contracts/IRelayRecipient.json +49 -49
  56. package/build/contracts/IResolver.json +73 -73
  57. package/build/contracts/ISETH.json +79 -79
  58. package/build/contracts/ISETHCustom.json +79 -79
  59. package/build/contracts/ISuperAgreement.json +88 -88
  60. package/build/contracts/ISuperApp.json +351 -351
  61. package/build/contracts/ISuperToken.json +1008 -1008
  62. package/build/contracts/ISuperTokenFactory.json +280 -280
  63. package/build/contracts/ISuperfluid.json +1466 -1466
  64. package/build/contracts/ISuperfluidGovernance.json +404 -404
  65. package/build/contracts/ISuperfluidToken.json +774 -774
  66. package/build/contracts/ITOGAv1.json +1431 -1431
  67. package/build/contracts/ITOGAv2.json +1431 -1431
  68. package/build/contracts/Initializable.json +1 -1
  69. package/build/contracts/InstantDistributionAgreementV1.json +9343 -9343
  70. package/build/contracts/Int96SafeMath.json +504 -504
  71. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +228 -228
  72. package/build/contracts/NonClosableOutflowTestApp.json +1522 -1522
  73. package/build/contracts/Ownable.json +1 -1
  74. package/build/contracts/Pausable.json +1 -1
  75. package/build/contracts/Proxy.json +1 -1
  76. package/build/contracts/PureSuperToken.json +106 -106
  77. package/build/contracts/Resolver.json +98 -98
  78. package/build/contracts/SETHProxy.json +224 -224
  79. package/build/contracts/SafeCast.json +1 -1
  80. package/build/contracts/SafeERC20.json +1 -1
  81. package/build/contracts/SafeMath.json +1 -1
  82. package/build/contracts/SelfDeletingFlowTestApp.json +1521 -1521
  83. package/build/contracts/SlotsBitmapLibrary.json +794 -794
  84. package/build/contracts/Strings.json +1 -1
  85. package/build/contracts/SuperAppBase.json +394 -394
  86. package/build/contracts/SuperAppDefinitions.json +1138 -1138
  87. package/build/contracts/SuperToken.json +2351 -2351
  88. package/build/contracts/SuperTokenFactory.json +731 -731
  89. package/build/contracts/SuperTokenFactoryBase.json +721 -721
  90. package/build/contracts/SuperTokenFactoryHelper.json +724 -724
  91. package/build/contracts/SuperUpgrader.json +437 -437
  92. package/build/contracts/Superfluid.json +9812 -10169
  93. package/build/contracts/SuperfluidFrameworkDeployer.json +535 -535
  94. package/build/contracts/SuperfluidGovernanceBase.json +3471 -3789
  95. package/build/contracts/SuperfluidGovernanceConfigs.json +1138 -1138
  96. package/build/contracts/SuperfluidGovernanceII.json +2097 -2347
  97. package/build/contracts/SuperfluidGovernanceIIProxy.json +214 -214
  98. package/build/contracts/SuperfluidLoader.json +207 -207
  99. package/build/contracts/SuperfluidToken.json +1345 -1345
  100. package/build/contracts/TOGA.json +1448 -1448
  101. package/build/contracts/TestGovernance.json +2195 -2445
  102. package/build/contracts/TestToken.json +94 -94
  103. package/build/contracts/TokenCustodian.json +214 -214
  104. package/build/contracts/TokenInfo.json +58 -58
  105. package/build/contracts/UInt128SafeMath.json +97 -97
  106. package/build/contracts/UUPSProxiable.json +132 -132
  107. package/build/contracts/UUPSProxy.json +81 -81
  108. package/build/contracts/UUPSUtils.json +37 -37
  109. package/build/contracts-sizes.txt +3 -4
  110. package/contracts/agreements/AgreementLibrary.sol +1 -0
  111. package/contracts/agreements/ConstantFlowAgreementV1.sol +71 -35
  112. package/contracts/agreements/InstantDistributionAgreementV1.sol +3 -2
  113. package/contracts/gov/SuperfluidGovernanceBase.sol +9 -26
  114. package/contracts/{agreements → libs}/SlotsBitmapLibrary.sol +1 -3
  115. package/contracts/mocks/SuperfluidMock.sol +2 -2
  116. package/contracts/superfluid/Superfluid.sol +5 -10
  117. package/package.json +2 -1
  118. package/scripts/gov-create-new-app-registration-key.js +26 -3
@@ -49,21 +49,21 @@
49
49
  "absolutePath": "project:/contracts/interfaces/tokens/ISETH.sol",
50
50
  "exportedSymbols": {
51
51
  "ISETH": [
52
- 19738
52
+ 19494
53
53
  ],
54
54
  "ISETHCustom": [
55
- 19732
55
+ 19488
56
56
  ],
57
57
  "ISuperToken": [
58
- 18683
58
+ 18439
59
59
  ]
60
60
  },
61
- "id": 19739,
61
+ "id": 19495,
62
62
  "license": "AGPLv3",
63
63
  "nodeType": "SourceUnit",
64
64
  "nodes": [
65
65
  {
66
- "id": 19715,
66
+ "id": 19471,
67
67
  "literals": [
68
68
  "solidity",
69
69
  ">=",
@@ -71,26 +71,26 @@
71
71
  ".0"
72
72
  ],
73
73
  "nodeType": "PragmaDirective",
74
- "src": "35:25:58"
74
+ "src": "35:25:57"
75
75
  },
76
76
  {
77
77
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperToken.sol",
78
78
  "file": "../superfluid/ISuperToken.sol",
79
- "id": 19717,
79
+ "id": 19473,
80
80
  "nameLocation": "-1:-1:-1",
81
81
  "nodeType": "ImportDirective",
82
- "scope": 19739,
83
- "sourceUnit": 18684,
84
- "src": "62:60:58",
82
+ "scope": 19495,
83
+ "sourceUnit": 18440,
84
+ "src": "62:60:57",
85
85
  "symbolAliases": [
86
86
  {
87
87
  "foreign": {
88
- "id": 19716,
88
+ "id": 19472,
89
89
  "name": "ISuperToken",
90
90
  "nodeType": "Identifier",
91
91
  "overloadedDeclarations": [],
92
- "referencedDeclaration": 18683,
93
- "src": "71:11:58",
92
+ "referencedDeclaration": 18439,
93
+ "src": "71:11:57",
94
94
  "typeDescriptions": {}
95
95
  },
96
96
  "nameLocation": "-1:-1:-1"
@@ -105,69 +105,69 @@
105
105
  "contractDependencies": [],
106
106
  "contractKind": "interface",
107
107
  "documentation": {
108
- "id": 19718,
108
+ "id": 19474,
109
109
  "nodeType": "StructuredDocumentation",
110
- "src": "125:79:58",
110
+ "src": "125:79:57",
111
111
  "text": " @title Super ETH (SETH) custom token interface\n @author Superfluid"
112
112
  },
113
113
  "fullyImplemented": false,
114
- "id": 19732,
114
+ "id": 19488,
115
115
  "linearizedBaseContracts": [
116
- 19732
116
+ 19488
117
117
  ],
118
118
  "name": "ISETHCustom",
119
- "nameLocation": "215:11:58",
119
+ "nameLocation": "215:11:57",
120
120
  "nodeType": "ContractDefinition",
121
121
  "nodes": [
122
122
  {
123
123
  "functionSelector": "cf81464b",
124
- "id": 19721,
124
+ "id": 19477,
125
125
  "implemented": false,
126
126
  "kind": "function",
127
127
  "modifiers": [],
128
128
  "name": "upgradeByETH",
129
- "nameLocation": "268:12:58",
129
+ "nameLocation": "268:12:57",
130
130
  "nodeType": "FunctionDefinition",
131
131
  "parameters": {
132
- "id": 19719,
132
+ "id": 19475,
133
133
  "nodeType": "ParameterList",
134
134
  "parameters": [],
135
- "src": "280:2:58"
135
+ "src": "280:2:57"
136
136
  },
137
137
  "returnParameters": {
138
- "id": 19720,
138
+ "id": 19476,
139
139
  "nodeType": "ParameterList",
140
140
  "parameters": [],
141
- "src": "299:0:58"
141
+ "src": "299:0:57"
142
142
  },
143
- "scope": 19732,
144
- "src": "259:41:58",
143
+ "scope": 19488,
144
+ "src": "259:41:57",
145
145
  "stateMutability": "payable",
146
146
  "virtual": false,
147
147
  "visibility": "external"
148
148
  },
149
149
  {
150
150
  "functionSelector": "7687d19b",
151
- "id": 19726,
151
+ "id": 19482,
152
152
  "implemented": false,
153
153
  "kind": "function",
154
154
  "modifiers": [],
155
155
  "name": "upgradeByETHTo",
156
- "nameLocation": "314:14:58",
156
+ "nameLocation": "314:14:57",
157
157
  "nodeType": "FunctionDefinition",
158
158
  "parameters": {
159
- "id": 19724,
159
+ "id": 19480,
160
160
  "nodeType": "ParameterList",
161
161
  "parameters": [
162
162
  {
163
163
  "constant": false,
164
- "id": 19723,
164
+ "id": 19479,
165
165
  "mutability": "mutable",
166
166
  "name": "to",
167
- "nameLocation": "337:2:58",
167
+ "nameLocation": "337:2:57",
168
168
  "nodeType": "VariableDeclaration",
169
- "scope": 19726,
170
- "src": "329:10:58",
169
+ "scope": 19482,
170
+ "src": "329:10:57",
171
171
  "stateVariable": false,
172
172
  "storageLocation": "default",
173
173
  "typeDescriptions": {
@@ -175,10 +175,10 @@
175
175
  "typeString": "address"
176
176
  },
177
177
  "typeName": {
178
- "id": 19722,
178
+ "id": 19478,
179
179
  "name": "address",
180
180
  "nodeType": "ElementaryTypeName",
181
- "src": "329:7:58",
181
+ "src": "329:7:57",
182
182
  "stateMutability": "nonpayable",
183
183
  "typeDescriptions": {
184
184
  "typeIdentifier": "t_address",
@@ -188,42 +188,42 @@
188
188
  "visibility": "internal"
189
189
  }
190
190
  ],
191
- "src": "328:12:58"
191
+ "src": "328:12:57"
192
192
  },
193
193
  "returnParameters": {
194
- "id": 19725,
194
+ "id": 19481,
195
195
  "nodeType": "ParameterList",
196
196
  "parameters": [],
197
- "src": "357:0:58"
197
+ "src": "357:0:57"
198
198
  },
199
- "scope": 19732,
200
- "src": "305:53:58",
199
+ "scope": 19488,
200
+ "src": "305:53:57",
201
201
  "stateMutability": "payable",
202
202
  "virtual": false,
203
203
  "visibility": "external"
204
204
  },
205
205
  {
206
206
  "functionSelector": "160e8be3",
207
- "id": 19731,
207
+ "id": 19487,
208
208
  "implemented": false,
209
209
  "kind": "function",
210
210
  "modifiers": [],
211
211
  "name": "downgradeToETH",
212
- "nameLocation": "372:14:58",
212
+ "nameLocation": "372:14:57",
213
213
  "nodeType": "FunctionDefinition",
214
214
  "parameters": {
215
- "id": 19729,
215
+ "id": 19485,
216
216
  "nodeType": "ParameterList",
217
217
  "parameters": [
218
218
  {
219
219
  "constant": false,
220
- "id": 19728,
220
+ "id": 19484,
221
221
  "mutability": "mutable",
222
222
  "name": "wad",
223
- "nameLocation": "392:3:58",
223
+ "nameLocation": "392:3:57",
224
224
  "nodeType": "VariableDeclaration",
225
- "scope": 19731,
226
- "src": "387:8:58",
225
+ "scope": 19487,
226
+ "src": "387:8:57",
227
227
  "stateVariable": false,
228
228
  "storageLocation": "default",
229
229
  "typeDescriptions": {
@@ -231,10 +231,10 @@
231
231
  "typeString": "uint256"
232
232
  },
233
233
  "typeName": {
234
- "id": 19727,
234
+ "id": 19483,
235
235
  "name": "uint",
236
236
  "nodeType": "ElementaryTypeName",
237
- "src": "387:4:58",
237
+ "src": "387:4:57",
238
238
  "typeDescriptions": {
239
239
  "typeIdentifier": "t_uint256",
240
240
  "typeString": "uint256"
@@ -243,23 +243,23 @@
243
243
  "visibility": "internal"
244
244
  }
245
245
  ],
246
- "src": "386:10:58"
246
+ "src": "386:10:57"
247
247
  },
248
248
  "returnParameters": {
249
- "id": 19730,
249
+ "id": 19486,
250
250
  "nodeType": "ParameterList",
251
251
  "parameters": [],
252
- "src": "405:0:58"
252
+ "src": "405:0:57"
253
253
  },
254
- "scope": 19732,
255
- "src": "363:43:58",
254
+ "scope": 19488,
255
+ "src": "363:43:57",
256
256
  "stateMutability": "nonpayable",
257
257
  "virtual": false,
258
258
  "visibility": "external"
259
259
  }
260
260
  ],
261
- "scope": 19739,
262
- "src": "205:203:58",
261
+ "scope": 19495,
262
+ "src": "205:203:57",
263
263
  "usedErrors": []
264
264
  },
265
265
  {
@@ -267,59 +267,59 @@
267
267
  "baseContracts": [
268
268
  {
269
269
  "baseName": {
270
- "id": 19734,
270
+ "id": 19490,
271
271
  "name": "ISETHCustom",
272
272
  "nodeType": "IdentifierPath",
273
- "referencedDeclaration": 19732,
274
- "src": "546:11:58"
273
+ "referencedDeclaration": 19488,
274
+ "src": "546:11:57"
275
275
  },
276
- "id": 19735,
276
+ "id": 19491,
277
277
  "nodeType": "InheritanceSpecifier",
278
- "src": "546:11:58"
278
+ "src": "546:11:57"
279
279
  },
280
280
  {
281
281
  "baseName": {
282
- "id": 19736,
282
+ "id": 19492,
283
283
  "name": "ISuperToken",
284
284
  "nodeType": "IdentifierPath",
285
- "referencedDeclaration": 18683,
286
- "src": "559:11:58"
285
+ "referencedDeclaration": 18439,
286
+ "src": "559:11:57"
287
287
  },
288
- "id": 19737,
288
+ "id": 19493,
289
289
  "nodeType": "InheritanceSpecifier",
290
- "src": "559:11:58"
290
+ "src": "559:11:57"
291
291
  }
292
292
  ],
293
293
  "canonicalName": "ISETH",
294
294
  "contractDependencies": [],
295
295
  "contractKind": "interface",
296
296
  "documentation": {
297
- "id": 19733,
297
+ "id": 19489,
298
298
  "nodeType": "StructuredDocumentation",
299
- "src": "410:71:58",
299
+ "src": "410:71:57",
300
300
  "text": " @title Super ETH (SETH) full interface\n @author Superfluid"
301
301
  },
302
302
  "fullyImplemented": false,
303
- "id": 19738,
303
+ "id": 19494,
304
304
  "linearizedBaseContracts": [
305
- 19738,
306
- 18683,
305
+ 19494,
306
+ 18439,
307
307
  3172,
308
308
  1520,
309
- 19760,
310
- 19643,
311
- 19732
309
+ 19516,
310
+ 19399,
311
+ 19488
312
312
  ],
313
313
  "name": "ISETH",
314
- "nameLocation": "537:5:58",
314
+ "nameLocation": "537:5:57",
315
315
  "nodeType": "ContractDefinition",
316
316
  "nodes": [],
317
- "scope": 19739,
318
- "src": "527:46:58",
317
+ "scope": 19495,
318
+ "src": "527:46:57",
319
319
  "usedErrors": []
320
320
  }
321
321
  ],
322
- "src": "35:539:58"
322
+ "src": "35:539:57"
323
323
  },
324
324
  "compiler": {
325
325
  "name": "solc",
@@ -327,7 +327,7 @@
327
327
  },
328
328
  "networks": {},
329
329
  "schemaVersion": "3.4.7",
330
- "updatedAt": "2022-05-04T10:31:47.089Z",
330
+ "updatedAt": "2022-05-06T14:04:24.526Z",
331
331
  "devdoc": {
332
332
  "author": "Superfluid",
333
333
  "kind": "dev",