@superfluid-finance/ethereum-contracts 1.2.2-dev.6a8632e.0 → 1.2.2-dev.787fef7.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
@@ -55,15 +55,15 @@
55
55
  "absolutePath": "project:/contracts/interfaces/tokens/TokenInfo.sol",
56
56
  "exportedSymbols": {
57
57
  "TokenInfo": [
58
- 19760
58
+ 19516
59
59
  ]
60
60
  },
61
- "id": 19761,
61
+ "id": 19517,
62
62
  "license": "AGPLv3",
63
63
  "nodeType": "SourceUnit",
64
64
  "nodes": [
65
65
  {
66
- "id": 19740,
66
+ "id": 19496,
67
67
  "literals": [
68
68
  "solidity",
69
69
  ">=",
@@ -71,7 +71,7 @@
71
71
  ".0"
72
72
  ],
73
73
  "nodeType": "PragmaDirective",
74
- "src": "35:25:59"
74
+ "src": "35:25:58"
75
75
  },
76
76
  {
77
77
  "abstract": false,
@@ -80,54 +80,54 @@
80
80
  "contractDependencies": [],
81
81
  "contractKind": "interface",
82
82
  "documentation": {
83
- "id": 19741,
83
+ "id": 19497,
84
84
  "nodeType": "StructuredDocumentation",
85
- "src": "62:188:59",
85
+ "src": "62:188:58",
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": 19760,
89
+ "id": 19516,
90
90
  "linearizedBaseContracts": [
91
- 19760
91
+ 19516
92
92
  ],
93
93
  "name": "TokenInfo",
94
- "nameLocation": "261:9:59",
94
+ "nameLocation": "261:9:58",
95
95
  "nodeType": "ContractDefinition",
96
96
  "nodes": [
97
97
  {
98
98
  "documentation": {
99
- "id": 19742,
99
+ "id": 19498,
100
100
  "nodeType": "StructuredDocumentation",
101
- "src": "277:54:59",
101
+ "src": "277:54:58",
102
102
  "text": " @dev Returns the name of the token."
103
103
  },
104
104
  "functionSelector": "06fdde03",
105
- "id": 19747,
105
+ "id": 19503,
106
106
  "implemented": false,
107
107
  "kind": "function",
108
108
  "modifiers": [],
109
109
  "name": "name",
110
- "nameLocation": "345:4:59",
110
+ "nameLocation": "345:4:58",
111
111
  "nodeType": "FunctionDefinition",
112
112
  "parameters": {
113
- "id": 19743,
113
+ "id": 19499,
114
114
  "nodeType": "ParameterList",
115
115
  "parameters": [],
116
- "src": "349:2:59"
116
+ "src": "349:2:58"
117
117
  },
118
118
  "returnParameters": {
119
- "id": 19746,
119
+ "id": 19502,
120
120
  "nodeType": "ParameterList",
121
121
  "parameters": [
122
122
  {
123
123
  "constant": false,
124
- "id": 19745,
124
+ "id": 19501,
125
125
  "mutability": "mutable",
126
126
  "name": "",
127
127
  "nameLocation": "-1:-1:-1",
128
128
  "nodeType": "VariableDeclaration",
129
- "scope": 19747,
130
- "src": "375:13:59",
129
+ "scope": 19503,
130
+ "src": "375:13:58",
131
131
  "stateVariable": false,
132
132
  "storageLocation": "memory",
133
133
  "typeDescriptions": {
@@ -135,10 +135,10 @@
135
135
  "typeString": "string"
136
136
  },
137
137
  "typeName": {
138
- "id": 19744,
138
+ "id": 19500,
139
139
  "name": "string",
140
140
  "nodeType": "ElementaryTypeName",
141
- "src": "375:6:59",
141
+ "src": "375:6:58",
142
142
  "typeDescriptions": {
143
143
  "typeIdentifier": "t_string_storage_ptr",
144
144
  "typeString": "string"
@@ -147,48 +147,48 @@
147
147
  "visibility": "internal"
148
148
  }
149
149
  ],
150
- "src": "374:15:59"
150
+ "src": "374:15:58"
151
151
  },
152
- "scope": 19760,
153
- "src": "336:54:59",
152
+ "scope": 19516,
153
+ "src": "336:54:58",
154
154
  "stateMutability": "view",
155
155
  "virtual": false,
156
156
  "visibility": "external"
157
157
  },
158
158
  {
159
159
  "documentation": {
160
- "id": 19748,
160
+ "id": 19504,
161
161
  "nodeType": "StructuredDocumentation",
162
- "src": "396:102:59",
162
+ "src": "396:102:58",
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": 19753,
166
+ "id": 19509,
167
167
  "implemented": false,
168
168
  "kind": "function",
169
169
  "modifiers": [],
170
170
  "name": "symbol",
171
- "nameLocation": "512:6:59",
171
+ "nameLocation": "512:6:58",
172
172
  "nodeType": "FunctionDefinition",
173
173
  "parameters": {
174
- "id": 19749,
174
+ "id": 19505,
175
175
  "nodeType": "ParameterList",
176
176
  "parameters": [],
177
- "src": "518:2:59"
177
+ "src": "518:2:58"
178
178
  },
179
179
  "returnParameters": {
180
- "id": 19752,
180
+ "id": 19508,
181
181
  "nodeType": "ParameterList",
182
182
  "parameters": [
183
183
  {
184
184
  "constant": false,
185
- "id": 19751,
185
+ "id": 19507,
186
186
  "mutability": "mutable",
187
187
  "name": "",
188
188
  "nameLocation": "-1:-1:-1",
189
189
  "nodeType": "VariableDeclaration",
190
- "scope": 19753,
191
- "src": "544:13:59",
190
+ "scope": 19509,
191
+ "src": "544:13:58",
192
192
  "stateVariable": false,
193
193
  "storageLocation": "memory",
194
194
  "typeDescriptions": {
@@ -196,10 +196,10 @@
196
196
  "typeString": "string"
197
197
  },
198
198
  "typeName": {
199
- "id": 19750,
199
+ "id": 19506,
200
200
  "name": "string",
201
201
  "nodeType": "ElementaryTypeName",
202
- "src": "544:6:59",
202
+ "src": "544:6:58",
203
203
  "typeDescriptions": {
204
204
  "typeIdentifier": "t_string_storage_ptr",
205
205
  "typeString": "string"
@@ -208,48 +208,48 @@
208
208
  "visibility": "internal"
209
209
  }
210
210
  ],
211
- "src": "543:15:59"
211
+ "src": "543:15:58"
212
212
  },
213
- "scope": 19760,
214
- "src": "503:56:59",
213
+ "scope": 19516,
214
+ "src": "503:56:58",
215
215
  "stateMutability": "view",
216
216
  "virtual": false,
217
217
  "visibility": "external"
218
218
  },
219
219
  {
220
220
  "documentation": {
221
- "id": 19754,
221
+ "id": 19510,
222
222
  "nodeType": "StructuredDocumentation",
223
- "src": "565:612:59",
223
+ "src": "565:612:58",
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": 19759,
227
+ "id": 19515,
228
228
  "implemented": false,
229
229
  "kind": "function",
230
230
  "modifiers": [],
231
231
  "name": "decimals",
232
- "nameLocation": "1191:8:59",
232
+ "nameLocation": "1191:8:58",
233
233
  "nodeType": "FunctionDefinition",
234
234
  "parameters": {
235
- "id": 19755,
235
+ "id": 19511,
236
236
  "nodeType": "ParameterList",
237
237
  "parameters": [],
238
- "src": "1199:2:59"
238
+ "src": "1199:2:58"
239
239
  },
240
240
  "returnParameters": {
241
- "id": 19758,
241
+ "id": 19514,
242
242
  "nodeType": "ParameterList",
243
243
  "parameters": [
244
244
  {
245
245
  "constant": false,
246
- "id": 19757,
246
+ "id": 19513,
247
247
  "mutability": "mutable",
248
248
  "name": "",
249
249
  "nameLocation": "-1:-1:-1",
250
250
  "nodeType": "VariableDeclaration",
251
- "scope": 19759,
252
- "src": "1225:5:59",
251
+ "scope": 19515,
252
+ "src": "1225:5:58",
253
253
  "stateVariable": false,
254
254
  "storageLocation": "default",
255
255
  "typeDescriptions": {
@@ -257,10 +257,10 @@
257
257
  "typeString": "uint8"
258
258
  },
259
259
  "typeName": {
260
- "id": 19756,
260
+ "id": 19512,
261
261
  "name": "uint8",
262
262
  "nodeType": "ElementaryTypeName",
263
- "src": "1225:5:59",
263
+ "src": "1225:5:58",
264
264
  "typeDescriptions": {
265
265
  "typeIdentifier": "t_uint8",
266
266
  "typeString": "uint8"
@@ -269,21 +269,21 @@
269
269
  "visibility": "internal"
270
270
  }
271
271
  ],
272
- "src": "1224:7:59"
272
+ "src": "1224:7:58"
273
273
  },
274
- "scope": 19760,
275
- "src": "1182:50:59",
274
+ "scope": 19516,
275
+ "src": "1182:50:58",
276
276
  "stateMutability": "view",
277
277
  "virtual": false,
278
278
  "visibility": "external"
279
279
  }
280
280
  ],
281
- "scope": 19761,
282
- "src": "251:983:59",
281
+ "scope": 19517,
282
+ "src": "251:983:58",
283
283
  "usedErrors": []
284
284
  }
285
285
  ],
286
- "src": "35:1200:59"
286
+ "src": "35:1200:58"
287
287
  },
288
288
  "compiler": {
289
289
  "name": "solc",
@@ -291,7 +291,7 @@
291
291
  },
292
292
  "networks": {},
293
293
  "schemaVersion": "3.4.7",
294
- "updatedAt": "2022-05-04T10:31:47.089Z",
294
+ "updatedAt": "2022-05-05T19:02:22.062Z",
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.",