@superfluid-finance/ethereum-contracts 1.4.1-dev.e675dbc.0 → 1.4.2-dev.e06ddfc.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 (115) 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 +28 -28
  5. package/build/contracts/AgreementLibrary.json +165 -165
  6. package/build/contracts/BaseRelayRecipient.json +55 -55
  7. package/build/contracts/BatchLiquidator.json +208 -208
  8. package/build/contracts/BatchOperation.json +784 -784
  9. package/build/contracts/CFAv1Forwarder.json +2299 -2473
  10. package/build/contracts/CFAv1Library.json +2279 -2279
  11. package/build/contracts/CallUtils.json +198 -198
  12. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1544 -1544
  13. package/build/contracts/ConstantFlowAgreementV1.json +8579 -8423
  14. package/build/contracts/Context.json +1 -1
  15. package/build/contracts/ContextDefinitions.json +784 -784
  16. package/build/contracts/Create2.json +1 -1
  17. package/build/contracts/CustomSuperTokenBase.json +19 -19
  18. package/build/contracts/ERC165.json +1 -1
  19. package/build/contracts/ERC1820Implementer.json +1 -1
  20. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  21. package/build/contracts/ERC20.json +1 -1
  22. package/build/contracts/ERC20Burnable.json +1 -1
  23. package/build/contracts/ERC20Pausable.json +1 -1
  24. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  25. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  26. package/build/contracts/ERC777Helper.json +380 -380
  27. package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
  28. package/build/contracts/ERC777RecipientReverting.json +855 -855
  29. package/build/contracts/EnumerableSet.json +1 -1
  30. package/build/contracts/EventsEmitter.json +43 -43
  31. package/build/contracts/ExclusiveInflowTestApp.json +1544 -1544
  32. package/build/contracts/FixedSizeData.json +200 -200
  33. package/build/contracts/FlowExchangeTestApp.json +1545 -1545
  34. package/build/contracts/FlowOperatorDefinitions.json +784 -784
  35. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  36. package/build/contracts/IAccessControl.json +1 -1
  37. package/build/contracts/IAccessControlEnumerable.json +1 -1
  38. package/build/contracts/IConstantFlowAgreementV1.json +608 -608
  39. package/build/contracts/IDAv1Library.json +2611 -2611
  40. package/build/contracts/IERC165.json +1 -1
  41. package/build/contracts/IERC1820Implementer.json +1 -1
  42. package/build/contracts/IERC1820Registry.json +1 -1
  43. package/build/contracts/IERC20.json +1 -1
  44. package/build/contracts/IERC20Metadata.json +1 -1
  45. package/build/contracts/IERC20Permit.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 +652 -652
  50. package/build/contracts/IMultiSigWallet.json +24 -24
  51. package/build/contracts/IPureSuperToken.json +47 -47
  52. package/build/contracts/IPureSuperTokenCustom.json +47 -47
  53. package/build/contracts/IRelayRecipient.json +27 -27
  54. package/build/contracts/IResolver.json +38 -38
  55. package/build/contracts/ISETH.json +52 -52
  56. package/build/contracts/ISETHCustom.json +52 -52
  57. package/build/contracts/ISuperAgreement.json +50 -50
  58. package/build/contracts/ISuperApp.json +191 -191
  59. package/build/contracts/ISuperToken.json +544 -544
  60. package/build/contracts/ISuperTokenFactory.json +166 -166
  61. package/build/contracts/ISuperfluid.json +874 -874
  62. package/build/contracts/ISuperfluidGovernance.json +254 -254
  63. package/build/contracts/ISuperfluidToken.json +395 -395
  64. package/build/contracts/ITOGAv1.json +1441 -1441
  65. package/build/contracts/ITOGAv2.json +1441 -1441
  66. package/build/contracts/Initializable.json +1 -1
  67. package/build/contracts/InstantDistributionAgreementV1.json +5893 -5893
  68. package/build/contracts/NonClosableOutflowTestApp.json +1545 -1545
  69. package/build/contracts/Ownable.json +1 -1
  70. package/build/contracts/Pausable.json +1 -1
  71. package/build/contracts/Proxy.json +1 -1
  72. package/build/contracts/PureSuperToken.json +106 -106
  73. package/build/contracts/Resolver.json +98 -98
  74. package/build/contracts/SETHProxy.json +224 -224
  75. package/build/contracts/SafeCast.json +1 -1
  76. package/build/contracts/SafeERC20.json +1 -1
  77. package/build/contracts/SafeMath.json +1 -1
  78. package/build/contracts/SelfDeletingFlowTestApp.json +1544 -1544
  79. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  80. package/build/contracts/StreamRedirector.json +745 -745
  81. package/build/contracts/Strings.json +1 -1
  82. package/build/contracts/SuperAppBase.json +239 -239
  83. package/build/contracts/SuperAppDefinitions.json +784 -784
  84. package/build/contracts/SuperToken.json +2475 -2475
  85. package/build/contracts/SuperTokenFactory.json +774 -774
  86. package/build/contracts/SuperTokenFactoryBase.json +764 -764
  87. package/build/contracts/SuperTokenFactoryHelper.json +767 -767
  88. package/build/contracts/SuperUpgrader.json +437 -437
  89. package/build/contracts/Superfluid.json +5082 -5082
  90. package/build/contracts/SuperfluidErrors.json +784 -784
  91. package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
  92. package/build/contracts/SuperfluidGovernanceBase.json +2459 -2459
  93. package/build/contracts/SuperfluidGovernanceConfigs.json +784 -784
  94. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  95. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  96. package/build/contracts/SuperfluidLoader.json +207 -207
  97. package/build/contracts/SuperfluidToken.json +1471 -1471
  98. package/build/contracts/TOGA.json +1457 -1457
  99. package/build/contracts/TestGovernance.json +250 -250
  100. package/build/contracts/TestToken.json +93 -93
  101. package/build/contracts/TokenCustodian.json +214 -214
  102. package/build/contracts/TokenInfo.json +32 -32
  103. package/build/contracts/UUPSProxiable.json +139 -139
  104. package/build/contracts/UUPSProxy.json +81 -81
  105. package/build/contracts/UUPSUtils.json +37 -37
  106. package/build/contracts-sizes.txt +1 -1
  107. package/contracts/agreements/ConstantFlowAgreementV1.sol +8 -3
  108. package/contracts/utils/CFAv1Forwarder.sol +2 -6
  109. package/package.json +10 -6
  110. package/scripts/deploy-deterministically.js +35 -24
  111. package/scripts/deploy-framework.js +65 -38
  112. package/scripts/gov-upgrade-governance.js +87 -0
  113. package/scripts/info-print-contract-addresses.js +1 -1
  114. package/scripts/libs/common.js +2 -1
  115. package/scripts/libs/getConfig.js +1 -1
@@ -39,21 +39,21 @@
39
39
  "absolutePath": "project:/contracts/interfaces/tokens/IPureSuperToken.sol",
40
40
  "exportedSymbols": {
41
41
  "IPureSuperToken": [
42
- 20968
42
+ 20980
43
43
  ],
44
44
  "IPureSuperTokenCustom": [
45
- 20962
45
+ 20974
46
46
  ],
47
47
  "ISuperToken": [
48
- 19928
48
+ 19940
49
49
  ]
50
50
  },
51
- "id": 20969,
51
+ "id": 20981,
52
52
  "license": "AGPLv3",
53
53
  "nodeType": "SourceUnit",
54
54
  "nodes": [
55
55
  {
56
- "id": 20949,
56
+ "id": 20961,
57
57
  "literals": [
58
58
  "solidity",
59
59
  ">=",
@@ -66,20 +66,20 @@
66
66
  {
67
67
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperToken.sol",
68
68
  "file": "../superfluid/ISuperToken.sol",
69
- "id": 20951,
69
+ "id": 20963,
70
70
  "nameLocation": "-1:-1:-1",
71
71
  "nodeType": "ImportDirective",
72
- "scope": 20969,
73
- "sourceUnit": 19929,
72
+ "scope": 20981,
73
+ "sourceUnit": 19941,
74
74
  "src": "62:60:52",
75
75
  "symbolAliases": [
76
76
  {
77
77
  "foreign": {
78
- "id": 20950,
78
+ "id": 20962,
79
79
  "name": "ISuperToken",
80
80
  "nodeType": "Identifier",
81
81
  "overloadedDeclarations": [],
82
- "referencedDeclaration": 19928,
82
+ "referencedDeclaration": 19940,
83
83
  "src": "71:11:52",
84
84
  "typeDescriptions": {}
85
85
  },
@@ -95,15 +95,15 @@
95
95
  "contractDependencies": [],
96
96
  "contractKind": "interface",
97
97
  "documentation": {
98
- "id": 20952,
98
+ "id": 20964,
99
99
  "nodeType": "StructuredDocumentation",
100
100
  "src": "124:73:52",
101
101
  "text": " @title Pure Super Token custom interface\n @author Superfluid"
102
102
  },
103
103
  "fullyImplemented": false,
104
- "id": 20962,
104
+ "id": 20974,
105
105
  "linearizedBaseContracts": [
106
- 20962
106
+ 20974
107
107
  ],
108
108
  "name": "IPureSuperTokenCustom",
109
109
  "nameLocation": "208:21:52",
@@ -111,7 +111,7 @@
111
111
  "nodes": [
112
112
  {
113
113
  "functionSelector": "b119490e",
114
- "id": 20961,
114
+ "id": 20973,
115
115
  "implemented": false,
116
116
  "kind": "function",
117
117
  "modifiers": [],
@@ -119,17 +119,17 @@
119
119
  "nameLocation": "245:10:52",
120
120
  "nodeType": "FunctionDefinition",
121
121
  "parameters": {
122
- "id": 20959,
122
+ "id": 20971,
123
123
  "nodeType": "ParameterList",
124
124
  "parameters": [
125
125
  {
126
126
  "constant": false,
127
- "id": 20954,
127
+ "id": 20966,
128
128
  "mutability": "mutable",
129
129
  "name": "name",
130
130
  "nameLocation": "272:4:52",
131
131
  "nodeType": "VariableDeclaration",
132
- "scope": 20961,
132
+ "scope": 20973,
133
133
  "src": "256:20:52",
134
134
  "stateVariable": false,
135
135
  "storageLocation": "calldata",
@@ -138,7 +138,7 @@
138
138
  "typeString": "string"
139
139
  },
140
140
  "typeName": {
141
- "id": 20953,
141
+ "id": 20965,
142
142
  "name": "string",
143
143
  "nodeType": "ElementaryTypeName",
144
144
  "src": "256:6:52",
@@ -151,12 +151,12 @@
151
151
  },
152
152
  {
153
153
  "constant": false,
154
- "id": 20956,
154
+ "id": 20968,
155
155
  "mutability": "mutable",
156
156
  "name": "symbol",
157
157
  "nameLocation": "294:6:52",
158
158
  "nodeType": "VariableDeclaration",
159
- "scope": 20961,
159
+ "scope": 20973,
160
160
  "src": "278:22:52",
161
161
  "stateVariable": false,
162
162
  "storageLocation": "calldata",
@@ -165,7 +165,7 @@
165
165
  "typeString": "string"
166
166
  },
167
167
  "typeName": {
168
- "id": 20955,
168
+ "id": 20967,
169
169
  "name": "string",
170
170
  "nodeType": "ElementaryTypeName",
171
171
  "src": "278:6:52",
@@ -178,12 +178,12 @@
178
178
  },
179
179
  {
180
180
  "constant": false,
181
- "id": 20958,
181
+ "id": 20970,
182
182
  "mutability": "mutable",
183
183
  "name": "initialSupply",
184
184
  "nameLocation": "310:13:52",
185
185
  "nodeType": "VariableDeclaration",
186
- "scope": 20961,
186
+ "scope": 20973,
187
187
  "src": "302:21:52",
188
188
  "stateVariable": false,
189
189
  "storageLocation": "default",
@@ -192,7 +192,7 @@
192
192
  "typeString": "uint256"
193
193
  },
194
194
  "typeName": {
195
- "id": 20957,
195
+ "id": 20969,
196
196
  "name": "uint256",
197
197
  "nodeType": "ElementaryTypeName",
198
198
  "src": "302:7:52",
@@ -207,19 +207,19 @@
207
207
  "src": "255:69:52"
208
208
  },
209
209
  "returnParameters": {
210
- "id": 20960,
210
+ "id": 20972,
211
211
  "nodeType": "ParameterList",
212
212
  "parameters": [],
213
213
  "src": "333:0:52"
214
214
  },
215
- "scope": 20962,
215
+ "scope": 20974,
216
216
  "src": "236:98:52",
217
217
  "stateMutability": "nonpayable",
218
218
  "virtual": false,
219
219
  "visibility": "external"
220
220
  }
221
221
  ],
222
- "scope": 20969,
222
+ "scope": 20981,
223
223
  "src": "198:138:52",
224
224
  "usedErrors": []
225
225
  },
@@ -228,31 +228,31 @@
228
228
  "baseContracts": [
229
229
  {
230
230
  "baseName": {
231
- "id": 20964,
231
+ "id": 20976,
232
232
  "name": "IPureSuperTokenCustom",
233
233
  "nameLocations": [
234
234
  "434:21:52"
235
235
  ],
236
236
  "nodeType": "IdentifierPath",
237
- "referencedDeclaration": 20962,
237
+ "referencedDeclaration": 20974,
238
238
  "src": "434:21:52"
239
239
  },
240
- "id": 20965,
240
+ "id": 20977,
241
241
  "nodeType": "InheritanceSpecifier",
242
242
  "src": "434:21:52"
243
243
  },
244
244
  {
245
245
  "baseName": {
246
- "id": 20966,
246
+ "id": 20978,
247
247
  "name": "ISuperToken",
248
248
  "nameLocations": [
249
249
  "457:11:52"
250
250
  ],
251
251
  "nodeType": "IdentifierPath",
252
- "referencedDeclaration": 19928,
252
+ "referencedDeclaration": 19940,
253
253
  "src": "457:11:52"
254
254
  },
255
- "id": 20967,
255
+ "id": 20979,
256
256
  "nodeType": "InheritanceSpecifier",
257
257
  "src": "457:11:52"
258
258
  }
@@ -261,34 +261,34 @@
261
261
  "contractDependencies": [],
262
262
  "contractKind": "interface",
263
263
  "documentation": {
264
- "id": 20963,
264
+ "id": 20975,
265
265
  "nodeType": "StructuredDocumentation",
266
266
  "src": "338:66:52",
267
267
  "text": " @title Pure Super Token interface\n @author Superfluid"
268
268
  },
269
269
  "fullyImplemented": false,
270
- "id": 20968,
270
+ "id": 20980,
271
271
  "linearizedBaseContracts": [
272
- 20968,
273
- 19928,
272
+ 20980,
273
+ 19940,
274
274
  2352,
275
275
  1630,
276
- 21015,
277
- 20935,
278
- 20962
276
+ 21027,
277
+ 20947,
278
+ 20974
279
279
  ],
280
280
  "name": "IPureSuperToken",
281
281
  "nameLocation": "415:15:52",
282
282
  "nodeType": "ContractDefinition",
283
283
  "nodes": [],
284
- "scope": 20969,
284
+ "scope": 20981,
285
285
  "src": "405:66:52",
286
286
  "usedErrors": [
287
- 19565,
288
- 19567,
289
- 19569,
290
- 19571,
291
- 19573
287
+ 19577,
288
+ 19579,
289
+ 19581,
290
+ 19583,
291
+ 19585
292
292
  ]
293
293
  }
294
294
  ],
@@ -300,7 +300,7 @@
300
300
  },
301
301
  "networks": {},
302
302
  "schemaVersion": "3.4.9",
303
- "updatedAt": "2022-09-05T13:33:18.745Z",
303
+ "updatedAt": "2022-09-21T11:06:18.154Z",
304
304
  "devdoc": {
305
305
  "author": "Superfluid",
306
306
  "kind": "dev",
@@ -48,15 +48,15 @@
48
48
  "absolutePath": "project:/contracts/interfaces/utils/IRelayRecipient.sol",
49
49
  "exportedSymbols": {
50
50
  "IRelayRecipient": [
51
- 21048
51
+ 21060
52
52
  ]
53
53
  },
54
- "id": 21049,
54
+ "id": 21061,
55
55
  "license": "AGPLv3",
56
56
  "nodeType": "SourceUnit",
57
57
  "nodes": [
58
58
  {
59
- "id": 21032,
59
+ "id": 21044,
60
60
  "literals": [
61
61
  "solidity",
62
62
  ">=",
@@ -73,15 +73,15 @@
73
73
  "contractDependencies": [],
74
74
  "contractKind": "interface",
75
75
  "documentation": {
76
- "id": 21033,
76
+ "id": 21045,
77
77
  "nodeType": "StructuredDocumentation",
78
78
  "src": "171:232:56",
79
79
  "text": " @title Relay recipient interface\n @author Superfluid\n @dev A contract must implement this interface in order to support relayed transactions\n @dev It is better to inherit the BaseRelayRecipient as its implementation"
80
80
  },
81
81
  "fullyImplemented": false,
82
- "id": 21048,
82
+ "id": 21060,
83
83
  "linearizedBaseContracts": [
84
- 21048
84
+ 21060
85
85
  ],
86
86
  "name": "IRelayRecipient",
87
87
  "nameLocation": "414:15:56",
@@ -89,13 +89,13 @@
89
89
  "nodes": [
90
90
  {
91
91
  "documentation": {
92
- "id": 21034,
92
+ "id": 21046,
93
93
  "nodeType": "StructuredDocumentation",
94
94
  "src": "437:222:56",
95
95
  "text": " @notice Returns if the forwarder is trusted to forward relayed transactions to us.\n @dev the forwarder is required to verify the sender's signature, and verify\n the call is not a replay."
96
96
  },
97
97
  "functionSelector": "572b6c05",
98
- "id": 21041,
98
+ "id": 21053,
99
99
  "implemented": false,
100
100
  "kind": "function",
101
101
  "modifiers": [],
@@ -103,17 +103,17 @@
103
103
  "nameLocation": "673:18:56",
104
104
  "nodeType": "FunctionDefinition",
105
105
  "parameters": {
106
- "id": 21037,
106
+ "id": 21049,
107
107
  "nodeType": "ParameterList",
108
108
  "parameters": [
109
109
  {
110
110
  "constant": false,
111
- "id": 21036,
111
+ "id": 21048,
112
112
  "mutability": "mutable",
113
113
  "name": "forwarder",
114
114
  "nameLocation": "700:9:56",
115
115
  "nodeType": "VariableDeclaration",
116
- "scope": 21041,
116
+ "scope": 21053,
117
117
  "src": "692:17:56",
118
118
  "stateVariable": false,
119
119
  "storageLocation": "default",
@@ -122,7 +122,7 @@
122
122
  "typeString": "address"
123
123
  },
124
124
  "typeName": {
125
- "id": 21035,
125
+ "id": 21047,
126
126
  "name": "address",
127
127
  "nodeType": "ElementaryTypeName",
128
128
  "src": "692:7:56",
@@ -138,17 +138,17 @@
138
138
  "src": "691:19:56"
139
139
  },
140
140
  "returnParameters": {
141
- "id": 21040,
141
+ "id": 21052,
142
142
  "nodeType": "ParameterList",
143
143
  "parameters": [
144
144
  {
145
145
  "constant": false,
146
- "id": 21039,
146
+ "id": 21051,
147
147
  "mutability": "mutable",
148
148
  "name": "",
149
149
  "nameLocation": "-1:-1:-1",
150
150
  "nodeType": "VariableDeclaration",
151
- "scope": 21041,
151
+ "scope": 21053,
152
152
  "src": "733:4:56",
153
153
  "stateVariable": false,
154
154
  "storageLocation": "default",
@@ -157,7 +157,7 @@
157
157
  "typeString": "bool"
158
158
  },
159
159
  "typeName": {
160
- "id": 21038,
160
+ "id": 21050,
161
161
  "name": "bool",
162
162
  "nodeType": "ElementaryTypeName",
163
163
  "src": "733:4:56",
@@ -171,7 +171,7 @@
171
171
  ],
172
172
  "src": "732:6:56"
173
173
  },
174
- "scope": 21048,
174
+ "scope": 21060,
175
175
  "src": "664:75:56",
176
176
  "stateMutability": "view",
177
177
  "virtual": false,
@@ -179,13 +179,13 @@
179
179
  },
180
180
  {
181
181
  "documentation": {
182
- "id": 21042,
182
+ "id": 21054,
183
183
  "nodeType": "StructuredDocumentation",
184
184
  "src": "745:203:56",
185
185
  "text": " @dev EIP 2771 version\n NOTE:\n - It is not clear if it is actually from the EIP 2771....\n - https://docs.biconomy.io/guides/enable-gasless-transactions/eip-2771"
186
186
  },
187
187
  "functionSelector": "486ff0cd",
188
- "id": 21047,
188
+ "id": 21059,
189
189
  "implemented": false,
190
190
  "kind": "function",
191
191
  "modifiers": [],
@@ -193,23 +193,23 @@
193
193
  "nameLocation": "962:16:56",
194
194
  "nodeType": "FunctionDefinition",
195
195
  "parameters": {
196
- "id": 21043,
196
+ "id": 21055,
197
197
  "nodeType": "ParameterList",
198
198
  "parameters": [],
199
199
  "src": "978:2:56"
200
200
  },
201
201
  "returnParameters": {
202
- "id": 21046,
202
+ "id": 21058,
203
203
  "nodeType": "ParameterList",
204
204
  "parameters": [
205
205
  {
206
206
  "constant": false,
207
- "id": 21045,
207
+ "id": 21057,
208
208
  "mutability": "mutable",
209
209
  "name": "",
210
210
  "nameLocation": "-1:-1:-1",
211
211
  "nodeType": "VariableDeclaration",
212
- "scope": 21047,
212
+ "scope": 21059,
213
213
  "src": "1004:13:56",
214
214
  "stateVariable": false,
215
215
  "storageLocation": "memory",
@@ -218,7 +218,7 @@
218
218
  "typeString": "string"
219
219
  },
220
220
  "typeName": {
221
- "id": 21044,
221
+ "id": 21056,
222
222
  "name": "string",
223
223
  "nodeType": "ElementaryTypeName",
224
224
  "src": "1004:6:56",
@@ -232,14 +232,14 @@
232
232
  ],
233
233
  "src": "1003:15:56"
234
234
  },
235
- "scope": 21048,
235
+ "scope": 21060,
236
236
  "src": "953:66:56",
237
237
  "stateMutability": "view",
238
238
  "virtual": false,
239
239
  "visibility": "external"
240
240
  }
241
241
  ],
242
- "scope": 21049,
242
+ "scope": 21061,
243
243
  "src": "404:617:56",
244
244
  "usedErrors": []
245
245
  }
@@ -252,7 +252,7 @@
252
252
  },
253
253
  "networks": {},
254
254
  "schemaVersion": "3.4.9",
255
- "updatedAt": "2022-09-05T13:33:18.750Z",
255
+ "updatedAt": "2022-09-21T11:06:18.157Z",
256
256
  "devdoc": {
257
257
  "author": "Superfluid",
258
258
  "details": "A contract must implement this interface in order to support relayed transactionsIt is better to inherit the BaseRelayRecipient as its implementation",