@superfluid-finance/ethereum-contracts 1.4.4-dev.b157ec2.0 → 1.4.4-dev.c2b2de3.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.
- package/artifacts/contracts/utils/TOGA.sol/ITOGAv3.json +194 -0
- package/artifacts/contracts/utils/TOGA.sol/TOGA.json +2 -33
- package/build/contracts/AccessControl.json +1 -1
- package/build/contracts/AccessControlEnumerable.json +1 -1
- package/build/contracts/Address.json +1 -1
- package/build/contracts/AgreementBase.json +1 -1
- package/build/contracts/AgreementLibrary.json +1 -1
- package/build/contracts/BaseRelayRecipient.json +1 -1
- package/build/contracts/BatchLiquidator.json +723 -723
- package/build/contracts/BatchOperation.json +1 -1
- package/build/contracts/CFAv1Forwarder.json +2050 -2050
- package/build/contracts/CFAv1Library.json +1 -1
- package/build/contracts/CallUtils.json +1 -1
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1566 -1566
- package/build/contracts/ConstantFlowAgreementV1.json +4582 -4582
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +1 -1
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +79 -79
- package/build/contracts/ERC1820RegistryCompiled.json +1 -1
- package/build/contracts/ERC20.json +1289 -1289
- package/build/contracts/ERC20WithTokenInfo.json +1 -1
- package/build/contracts/ERC777Helper.json +1 -1
- package/build/contracts/ERC777RecipientDrainingGas.json +350 -350
- package/build/contracts/ERC777RecipientReverting.json +373 -373
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +1 -1
- package/build/contracts/ExclusiveInflowTestApp.json +1594 -1594
- package/build/contracts/FixedSizeData.json +1 -1
- package/build/contracts/FlowExchangeTestApp.json +1704 -1704
- package/build/contracts/FlowOperatorDefinitions.json +1 -1
- package/build/contracts/FullUpgradableSuperTokenProxy.json +74 -74
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementHook.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +1 -1
- package/build/contracts/IDAv1Library.json +1 -1
- package/build/contracts/IERC165.json +1 -1
- package/build/contracts/IERC1820Implementer.json +1 -1
- package/build/contracts/IERC1820Registry.json +1 -1
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Metadata.json +1 -1
- package/build/contracts/IERC20Permit.json +1 -1
- package/build/contracts/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +1 -1
- package/build/contracts/IMultiSigWallet.json +1 -1
- package/build/contracts/IPureSuperToken.json +1 -1
- package/build/contracts/IPureSuperTokenCustom.json +1 -1
- package/build/contracts/IRelayRecipient.json +1 -1
- package/build/contracts/IResolver.json +1 -1
- package/build/contracts/ISETH.json +1 -1
- package/build/contracts/ISETHCustom.json +1 -1
- package/build/contracts/ISuperAgreement.json +1 -1
- package/build/contracts/ISuperApp.json +1 -1
- package/build/contracts/ISuperToken.json +1 -1
- package/build/contracts/ISuperTokenFactory.json +1 -1
- package/build/contracts/ISuperfluid.json +1 -1
- package/build/contracts/ISuperfluidGovernance.json +1 -1
- package/build/contracts/ISuperfluidToken.json +1 -1
- package/build/contracts/ITOGAv1.json +2099 -2898
- package/build/contracts/ITOGAv2.json +2098 -2897
- package/build/contracts/ITOGAv3.json +10990 -0
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5077 -5077
- package/build/contracts/NonClosableOutflowTestApp.json +1469 -1469
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/PureSuperToken.json +534 -534
- package/build/contracts/Resolver.json +885 -885
- package/build/contracts/SETHProxy.json +293 -293
- package/build/contracts/SafeCast.json +1 -1
- package/build/contracts/SafeERC20.json +1 -1
- package/build/contracts/SafeMath.json +1 -1
- package/build/contracts/SelfDeletingFlowTestApp.json +1566 -1566
- package/build/contracts/SlotsBitmapLibrary.json +971 -971
- package/build/contracts/StreamRedirector.json +1956 -1956
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +1 -1
- package/build/contracts/SuperAppDefinitions.json +1 -1
- package/build/contracts/SuperToken.json +4575 -4575
- package/build/contracts/SuperTokenFactory.json +1753 -1753
- package/build/contracts/SuperTokenFactoryBase.json +1 -1
- package/build/contracts/SuperTokenFactoryHelper.json +104 -104
- package/build/contracts/SuperUpgrader.json +1718 -1718
- package/build/contracts/Superfluid.json +4566 -4566
- package/build/contracts/SuperfluidFrameworkDeployer.json +2400 -2400
- package/build/contracts/SuperfluidGovernanceBase.json +1 -1
- package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
- package/build/contracts/SuperfluidGovernanceII.json +2438 -2438
- package/build/contracts/SuperfluidGovernanceIIProxy.json +211 -211
- package/build/contracts/SuperfluidLoader.json +500 -500
- package/build/contracts/SuperfluidToken.json +1 -1
- package/build/contracts/TOGA.json +4255 -6226
- package/build/contracts/TestGovernance.json +2494 -2494
- package/build/contracts/TestResolver.json +964 -964
- package/build/contracts/TestToken.json +1478 -1478
- package/build/contracts/TokenInfo.json +1 -1
- package/build/contracts/UUPSProxiable.json +1 -1
- package/build/contracts/UUPSProxy.json +116 -116
- package/build/contracts/UUPSUtils.json +1 -1
- package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.d.ts +158 -0
- package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.d.ts.map +1 -0
- package/build/typechain/contracts/utils/{TokenCustodian.js → TOGA.sol/ITOGAv3.js} +1 -1
- package/build/typechain/contracts/utils/TOGA.sol/ITOGAv3.js.map +1 -0
- package/build/typechain/contracts/utils/TOGA.sol/TOGA.d.ts +1 -25
- package/build/typechain/contracts/utils/TOGA.sol/TOGA.d.ts.map +1 -1
- package/build/typechain/contracts/utils/TOGA.sol/index.d.ts +1 -0
- package/build/typechain/contracts/utils/TOGA.sol/index.d.ts.map +1 -1
- package/build/typechain/contracts/utils/index.d.ts +0 -1
- package/build/typechain/contracts/utils/index.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.d.ts +36 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.d.ts.map +1 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.js +203 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/ITOGAv3__factory.js.map +1 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.d.ts +3 -3
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.js +5 -36
- package/build/typechain/factories/contracts/utils/TOGA.sol/TOGA__factory.js.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.d.ts +1 -0
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.js +3 -1
- package/build/typechain/factories/contracts/utils/TOGA.sol/index.js.map +1 -1
- package/build/typechain/factories/contracts/utils/index.d.ts +0 -1
- package/build/typechain/factories/contracts/utils/index.d.ts.map +1 -1
- package/build/typechain/factories/contracts/utils/index.js +1 -3
- package/build/typechain/factories/contracts/utils/index.js.map +1 -1
- package/build/typechain/index.d.ts +2 -2
- package/build/typechain/index.d.ts.map +1 -1
- package/build/typechain/index.js +3 -3
- package/build/typechain/index.js.map +1 -1
- package/contracts/utils/TOGA.sol +16 -28
- package/package.json +2 -2
- package/scripts/deploy-aux-contracts.js +1 -5
- package/artifacts/contracts/utils/TokenCustodian.sol/TokenCustodian.json +0 -146
- package/build/contracts/TokenCustodian.json +0 -5052
- package/build/typechain/contracts/utils/TokenCustodian.d.ts +0 -114
- package/build/typechain/contracts/utils/TokenCustodian.d.ts.map +0 -1
- package/build/typechain/contracts/utils/TokenCustodian.js.map +0 -1
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.d.ts +0 -56
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.d.ts.map +0 -1
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.js +0 -178
- package/build/typechain/factories/contracts/utils/TokenCustodian__factory.js.map +0 -1
- package/contracts/utils/TokenCustodian.sol +0 -55
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
{
|
|
32
32
|
"ast": {
|
|
33
33
|
"nodeType": "YulBlock",
|
|
34
|
-
"src": "0:459:
|
|
34
|
+
"src": "0:459:103",
|
|
35
35
|
"statements": [
|
|
36
36
|
{
|
|
37
37
|
"nodeType": "YulBlock",
|
|
38
|
-
"src": "6:3:
|
|
38
|
+
"src": "6:3:103",
|
|
39
39
|
"statements": []
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"body": {
|
|
43
43
|
"nodeType": "YulBlock",
|
|
44
|
-
"src": "46:95:
|
|
44
|
+
"src": "46:95:103",
|
|
45
45
|
"statements": [
|
|
46
46
|
{
|
|
47
47
|
"expression": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
{
|
|
50
50
|
"kind": "number",
|
|
51
51
|
"nodeType": "YulLiteral",
|
|
52
|
-
"src": "63:1:
|
|
52
|
+
"src": "63:1:103",
|
|
53
53
|
"type": "",
|
|
54
54
|
"value": "0"
|
|
55
55
|
},
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
{
|
|
59
59
|
"kind": "number",
|
|
60
60
|
"nodeType": "YulLiteral",
|
|
61
|
-
"src": "70:3:
|
|
61
|
+
"src": "70:3:103",
|
|
62
62
|
"type": "",
|
|
63
63
|
"value": "224"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"kind": "number",
|
|
67
67
|
"nodeType": "YulLiteral",
|
|
68
|
-
"src": "75:10:
|
|
68
|
+
"src": "75:10:103",
|
|
69
69
|
"type": "",
|
|
70
70
|
"value": "0x4e487b71"
|
|
71
71
|
}
|
|
@@ -73,22 +73,22 @@
|
|
|
73
73
|
"functionName": {
|
|
74
74
|
"name": "shl",
|
|
75
75
|
"nodeType": "YulIdentifier",
|
|
76
|
-
"src": "66:3:
|
|
76
|
+
"src": "66:3:103"
|
|
77
77
|
},
|
|
78
78
|
"nodeType": "YulFunctionCall",
|
|
79
|
-
"src": "66:20:
|
|
79
|
+
"src": "66:20:103"
|
|
80
80
|
}
|
|
81
81
|
],
|
|
82
82
|
"functionName": {
|
|
83
83
|
"name": "mstore",
|
|
84
84
|
"nodeType": "YulIdentifier",
|
|
85
|
-
"src": "56:6:
|
|
85
|
+
"src": "56:6:103"
|
|
86
86
|
},
|
|
87
87
|
"nodeType": "YulFunctionCall",
|
|
88
|
-
"src": "56:31:
|
|
88
|
+
"src": "56:31:103"
|
|
89
89
|
},
|
|
90
90
|
"nodeType": "YulExpressionStatement",
|
|
91
|
-
"src": "56:31:
|
|
91
|
+
"src": "56:31:103"
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"expression": {
|
|
@@ -96,14 +96,14 @@
|
|
|
96
96
|
{
|
|
97
97
|
"kind": "number",
|
|
98
98
|
"nodeType": "YulLiteral",
|
|
99
|
-
"src": "103:1:
|
|
99
|
+
"src": "103:1:103",
|
|
100
100
|
"type": "",
|
|
101
101
|
"value": "4"
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
"kind": "number",
|
|
105
105
|
"nodeType": "YulLiteral",
|
|
106
|
-
"src": "106:4:
|
|
106
|
+
"src": "106:4:103",
|
|
107
107
|
"type": "",
|
|
108
108
|
"value": "0x01"
|
|
109
109
|
}
|
|
@@ -111,13 +111,13 @@
|
|
|
111
111
|
"functionName": {
|
|
112
112
|
"name": "mstore",
|
|
113
113
|
"nodeType": "YulIdentifier",
|
|
114
|
-
"src": "96:6:
|
|
114
|
+
"src": "96:6:103"
|
|
115
115
|
},
|
|
116
116
|
"nodeType": "YulFunctionCall",
|
|
117
|
-
"src": "96:15:
|
|
117
|
+
"src": "96:15:103"
|
|
118
118
|
},
|
|
119
119
|
"nodeType": "YulExpressionStatement",
|
|
120
|
-
"src": "96:15:
|
|
120
|
+
"src": "96:15:103"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
123
|
"expression": {
|
|
@@ -125,14 +125,14 @@
|
|
|
125
125
|
{
|
|
126
126
|
"kind": "number",
|
|
127
127
|
"nodeType": "YulLiteral",
|
|
128
|
-
"src": "127:1:
|
|
128
|
+
"src": "127:1:103",
|
|
129
129
|
"type": "",
|
|
130
130
|
"value": "0"
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
"kind": "number",
|
|
134
134
|
"nodeType": "YulLiteral",
|
|
135
|
-
"src": "130:4:
|
|
135
|
+
"src": "130:4:103",
|
|
136
136
|
"type": "",
|
|
137
137
|
"value": "0x24"
|
|
138
138
|
}
|
|
@@ -140,29 +140,29 @@
|
|
|
140
140
|
"functionName": {
|
|
141
141
|
"name": "revert",
|
|
142
142
|
"nodeType": "YulIdentifier",
|
|
143
|
-
"src": "120:6:
|
|
143
|
+
"src": "120:6:103"
|
|
144
144
|
},
|
|
145
145
|
"nodeType": "YulFunctionCall",
|
|
146
|
-
"src": "120:15:
|
|
146
|
+
"src": "120:15:103"
|
|
147
147
|
},
|
|
148
148
|
"nodeType": "YulExpressionStatement",
|
|
149
|
-
"src": "120:15:
|
|
149
|
+
"src": "120:15:103"
|
|
150
150
|
}
|
|
151
151
|
]
|
|
152
152
|
},
|
|
153
153
|
"name": "panic_error_0x01",
|
|
154
154
|
"nodeType": "YulFunctionDefinition",
|
|
155
|
-
"src": "14:127:
|
|
155
|
+
"src": "14:127:103"
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
"body": {
|
|
159
159
|
"nodeType": "YulBlock",
|
|
160
|
-
"src": "248:209:
|
|
160
|
+
"src": "248:209:103",
|
|
161
161
|
"statements": [
|
|
162
162
|
{
|
|
163
163
|
"body": {
|
|
164
164
|
"nodeType": "YulBlock",
|
|
165
|
-
"src": "294:16:
|
|
165
|
+
"src": "294:16:103",
|
|
166
166
|
"statements": [
|
|
167
167
|
{
|
|
168
168
|
"expression": {
|
|
@@ -170,14 +170,14 @@
|
|
|
170
170
|
{
|
|
171
171
|
"kind": "number",
|
|
172
172
|
"nodeType": "YulLiteral",
|
|
173
|
-
"src": "303:1:
|
|
173
|
+
"src": "303:1:103",
|
|
174
174
|
"type": "",
|
|
175
175
|
"value": "0"
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
"kind": "number",
|
|
179
179
|
"nodeType": "YulLiteral",
|
|
180
|
-
"src": "306:1:
|
|
180
|
+
"src": "306:1:103",
|
|
181
181
|
"type": "",
|
|
182
182
|
"value": "0"
|
|
183
183
|
}
|
|
@@ -185,13 +185,13 @@
|
|
|
185
185
|
"functionName": {
|
|
186
186
|
"name": "revert",
|
|
187
187
|
"nodeType": "YulIdentifier",
|
|
188
|
-
"src": "296:6:
|
|
188
|
+
"src": "296:6:103"
|
|
189
189
|
},
|
|
190
190
|
"nodeType": "YulFunctionCall",
|
|
191
|
-
"src": "296:12:
|
|
191
|
+
"src": "296:12:103"
|
|
192
192
|
},
|
|
193
193
|
"nodeType": "YulExpressionStatement",
|
|
194
|
-
"src": "296:12:
|
|
194
|
+
"src": "296:12:103"
|
|
195
195
|
}
|
|
196
196
|
]
|
|
197
197
|
},
|
|
@@ -202,26 +202,26 @@
|
|
|
202
202
|
{
|
|
203
203
|
"name": "dataEnd",
|
|
204
204
|
"nodeType": "YulIdentifier",
|
|
205
|
-
"src": "269:7:
|
|
205
|
+
"src": "269:7:103"
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
"name": "headStart",
|
|
209
209
|
"nodeType": "YulIdentifier",
|
|
210
|
-
"src": "278:9:
|
|
210
|
+
"src": "278:9:103"
|
|
211
211
|
}
|
|
212
212
|
],
|
|
213
213
|
"functionName": {
|
|
214
214
|
"name": "sub",
|
|
215
215
|
"nodeType": "YulIdentifier",
|
|
216
|
-
"src": "265:3:
|
|
216
|
+
"src": "265:3:103"
|
|
217
217
|
},
|
|
218
218
|
"nodeType": "YulFunctionCall",
|
|
219
|
-
"src": "265:23:
|
|
219
|
+
"src": "265:23:103"
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
222
|
"kind": "number",
|
|
223
223
|
"nodeType": "YulLiteral",
|
|
224
|
-
"src": "290:2:
|
|
224
|
+
"src": "290:2:103",
|
|
225
225
|
"type": "",
|
|
226
226
|
"value": "32"
|
|
227
227
|
}
|
|
@@ -229,38 +229,38 @@
|
|
|
229
229
|
"functionName": {
|
|
230
230
|
"name": "slt",
|
|
231
231
|
"nodeType": "YulIdentifier",
|
|
232
|
-
"src": "261:3:
|
|
232
|
+
"src": "261:3:103"
|
|
233
233
|
},
|
|
234
234
|
"nodeType": "YulFunctionCall",
|
|
235
|
-
"src": "261:32:
|
|
235
|
+
"src": "261:32:103"
|
|
236
236
|
},
|
|
237
237
|
"nodeType": "YulIf",
|
|
238
|
-
"src": "258:52:
|
|
238
|
+
"src": "258:52:103"
|
|
239
239
|
},
|
|
240
240
|
{
|
|
241
241
|
"nodeType": "YulVariableDeclaration",
|
|
242
|
-
"src": "319:29:
|
|
242
|
+
"src": "319:29:103",
|
|
243
243
|
"value": {
|
|
244
244
|
"arguments": [
|
|
245
245
|
{
|
|
246
246
|
"name": "headStart",
|
|
247
247
|
"nodeType": "YulIdentifier",
|
|
248
|
-
"src": "338:9:
|
|
248
|
+
"src": "338:9:103"
|
|
249
249
|
}
|
|
250
250
|
],
|
|
251
251
|
"functionName": {
|
|
252
252
|
"name": "mload",
|
|
253
253
|
"nodeType": "YulIdentifier",
|
|
254
|
-
"src": "332:5:
|
|
254
|
+
"src": "332:5:103"
|
|
255
255
|
},
|
|
256
256
|
"nodeType": "YulFunctionCall",
|
|
257
|
-
"src": "332:16:
|
|
257
|
+
"src": "332:16:103"
|
|
258
258
|
},
|
|
259
259
|
"variables": [
|
|
260
260
|
{
|
|
261
261
|
"name": "value",
|
|
262
262
|
"nodeType": "YulTypedName",
|
|
263
|
-
"src": "323:5:
|
|
263
|
+
"src": "323:5:103",
|
|
264
264
|
"type": ""
|
|
265
265
|
}
|
|
266
266
|
]
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
{
|
|
269
269
|
"body": {
|
|
270
270
|
"nodeType": "YulBlock",
|
|
271
|
-
"src": "411:16:
|
|
271
|
+
"src": "411:16:103",
|
|
272
272
|
"statements": [
|
|
273
273
|
{
|
|
274
274
|
"expression": {
|
|
@@ -276,14 +276,14 @@
|
|
|
276
276
|
{
|
|
277
277
|
"kind": "number",
|
|
278
278
|
"nodeType": "YulLiteral",
|
|
279
|
-
"src": "420:1:
|
|
279
|
+
"src": "420:1:103",
|
|
280
280
|
"type": "",
|
|
281
281
|
"value": "0"
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
"kind": "number",
|
|
285
285
|
"nodeType": "YulLiteral",
|
|
286
|
-
"src": "423:1:
|
|
286
|
+
"src": "423:1:103",
|
|
287
287
|
"type": "",
|
|
288
288
|
"value": "0"
|
|
289
289
|
}
|
|
@@ -291,13 +291,13 @@
|
|
|
291
291
|
"functionName": {
|
|
292
292
|
"name": "revert",
|
|
293
293
|
"nodeType": "YulIdentifier",
|
|
294
|
-
"src": "413:6:
|
|
294
|
+
"src": "413:6:103"
|
|
295
295
|
},
|
|
296
296
|
"nodeType": "YulFunctionCall",
|
|
297
|
-
"src": "413:12:
|
|
297
|
+
"src": "413:12:103"
|
|
298
298
|
},
|
|
299
299
|
"nodeType": "YulExpressionStatement",
|
|
300
|
-
"src": "413:12:
|
|
300
|
+
"src": "413:12:103"
|
|
301
301
|
}
|
|
302
302
|
]
|
|
303
303
|
},
|
|
@@ -308,14 +308,14 @@
|
|
|
308
308
|
{
|
|
309
309
|
"name": "value",
|
|
310
310
|
"nodeType": "YulIdentifier",
|
|
311
|
-
"src": "370:5:
|
|
311
|
+
"src": "370:5:103"
|
|
312
312
|
},
|
|
313
313
|
{
|
|
314
314
|
"arguments": [
|
|
315
315
|
{
|
|
316
316
|
"name": "value",
|
|
317
317
|
"nodeType": "YulIdentifier",
|
|
318
|
-
"src": "381:5:
|
|
318
|
+
"src": "381:5:103"
|
|
319
319
|
},
|
|
320
320
|
{
|
|
321
321
|
"arguments": [
|
|
@@ -324,14 +324,14 @@
|
|
|
324
324
|
{
|
|
325
325
|
"kind": "number",
|
|
326
326
|
"nodeType": "YulLiteral",
|
|
327
|
-
"src": "396:3:
|
|
327
|
+
"src": "396:3:103",
|
|
328
328
|
"type": "",
|
|
329
329
|
"value": "160"
|
|
330
330
|
},
|
|
331
331
|
{
|
|
332
332
|
"kind": "number",
|
|
333
333
|
"nodeType": "YulLiteral",
|
|
334
|
-
"src": "401:1:
|
|
334
|
+
"src": "401:1:103",
|
|
335
335
|
"type": "",
|
|
336
336
|
"value": "1"
|
|
337
337
|
}
|
|
@@ -339,15 +339,15 @@
|
|
|
339
339
|
"functionName": {
|
|
340
340
|
"name": "shl",
|
|
341
341
|
"nodeType": "YulIdentifier",
|
|
342
|
-
"src": "392:3:
|
|
342
|
+
"src": "392:3:103"
|
|
343
343
|
},
|
|
344
344
|
"nodeType": "YulFunctionCall",
|
|
345
|
-
"src": "392:11:
|
|
345
|
+
"src": "392:11:103"
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
348
|
"kind": "number",
|
|
349
349
|
"nodeType": "YulLiteral",
|
|
350
|
-
"src": "405:1:
|
|
350
|
+
"src": "405:1:103",
|
|
351
351
|
"type": "",
|
|
352
352
|
"value": "1"
|
|
353
353
|
}
|
|
@@ -355,54 +355,54 @@
|
|
|
355
355
|
"functionName": {
|
|
356
356
|
"name": "sub",
|
|
357
357
|
"nodeType": "YulIdentifier",
|
|
358
|
-
"src": "388:3:
|
|
358
|
+
"src": "388:3:103"
|
|
359
359
|
},
|
|
360
360
|
"nodeType": "YulFunctionCall",
|
|
361
|
-
"src": "388:19:
|
|
361
|
+
"src": "388:19:103"
|
|
362
362
|
}
|
|
363
363
|
],
|
|
364
364
|
"functionName": {
|
|
365
365
|
"name": "and",
|
|
366
366
|
"nodeType": "YulIdentifier",
|
|
367
|
-
"src": "377:3:
|
|
367
|
+
"src": "377:3:103"
|
|
368
368
|
},
|
|
369
369
|
"nodeType": "YulFunctionCall",
|
|
370
|
-
"src": "377:31:
|
|
370
|
+
"src": "377:31:103"
|
|
371
371
|
}
|
|
372
372
|
],
|
|
373
373
|
"functionName": {
|
|
374
374
|
"name": "eq",
|
|
375
375
|
"nodeType": "YulIdentifier",
|
|
376
|
-
"src": "367:2:
|
|
376
|
+
"src": "367:2:103"
|
|
377
377
|
},
|
|
378
378
|
"nodeType": "YulFunctionCall",
|
|
379
|
-
"src": "367:42:
|
|
379
|
+
"src": "367:42:103"
|
|
380
380
|
}
|
|
381
381
|
],
|
|
382
382
|
"functionName": {
|
|
383
383
|
"name": "iszero",
|
|
384
384
|
"nodeType": "YulIdentifier",
|
|
385
|
-
"src": "360:6:
|
|
385
|
+
"src": "360:6:103"
|
|
386
386
|
},
|
|
387
387
|
"nodeType": "YulFunctionCall",
|
|
388
|
-
"src": "360:50:
|
|
388
|
+
"src": "360:50:103"
|
|
389
389
|
},
|
|
390
390
|
"nodeType": "YulIf",
|
|
391
|
-
"src": "357:70:
|
|
391
|
+
"src": "357:70:103"
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
394
|
"nodeType": "YulAssignment",
|
|
395
|
-
"src": "436:15:
|
|
395
|
+
"src": "436:15:103",
|
|
396
396
|
"value": {
|
|
397
397
|
"name": "value",
|
|
398
398
|
"nodeType": "YulIdentifier",
|
|
399
|
-
"src": "446:5:
|
|
399
|
+
"src": "446:5:103"
|
|
400
400
|
},
|
|
401
401
|
"variableNames": [
|
|
402
402
|
{
|
|
403
403
|
"name": "value0",
|
|
404
404
|
"nodeType": "YulIdentifier",
|
|
405
|
-
"src": "436:6:
|
|
405
|
+
"src": "436:6:103"
|
|
406
406
|
}
|
|
407
407
|
]
|
|
408
408
|
}
|
|
@@ -414,13 +414,13 @@
|
|
|
414
414
|
{
|
|
415
415
|
"name": "headStart",
|
|
416
416
|
"nodeType": "YulTypedName",
|
|
417
|
-
"src": "214:9:
|
|
417
|
+
"src": "214:9:103",
|
|
418
418
|
"type": ""
|
|
419
419
|
},
|
|
420
420
|
{
|
|
421
421
|
"name": "dataEnd",
|
|
422
422
|
"nodeType": "YulTypedName",
|
|
423
|
-
"src": "225:7:
|
|
423
|
+
"src": "225:7:103",
|
|
424
424
|
"type": ""
|
|
425
425
|
}
|
|
426
426
|
],
|
|
@@ -428,22 +428,22 @@
|
|
|
428
428
|
{
|
|
429
429
|
"name": "value0",
|
|
430
430
|
"nodeType": "YulTypedName",
|
|
431
|
-
"src": "237:6:
|
|
431
|
+
"src": "237:6:103",
|
|
432
432
|
"type": ""
|
|
433
433
|
}
|
|
434
434
|
],
|
|
435
|
-
"src": "146:311:
|
|
435
|
+
"src": "146:311:103"
|
|
436
436
|
}
|
|
437
437
|
]
|
|
438
438
|
},
|
|
439
439
|
"contents": "{\n { }\n function panic_error_0x01()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x01)\n revert(0, 0x24)\n }\n function abi_decode_tuple_t_contract$_ISuperToken_$19536_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n value0 := value\n }\n}",
|
|
440
|
-
"id":
|
|
440
|
+
"id": 103,
|
|
441
441
|
"language": "Yul",
|
|
442
442
|
"name": "#utility.yul"
|
|
443
443
|
}
|
|
444
444
|
],
|
|
445
445
|
"sourceMap": "296:1000:83:-:0;;;;;;;;;;;;;;;;;;;",
|
|
446
|
-
"deployedSourceMap": "296:1000:83:-:0;;;;;;;;;;;;;;;;;;;;;;;2898:11:5;:9;:11::i;:::-;296:1000:83;;2675:11:5;:9;:11::i;605:368:83:-;;;;;;;;;;;;;:::i;2322:110:5:-;2397:28;2407:17;:15;:17::i;:::-;2397:9;:28::i;:::-;2322:110::o;605:368:83:-;738:13;732:20;-1:-1:-1;;;;;775:30:83;;;771:70;;814:27;;-1:-1:-1;;;814:27:83;;;;;;;;;;;771:70;-1:-1:-1;861:10:83;934:13;927:30;605:368::o;979:314::-;1161:13;1155:20;1038:12;;-1:-1:-1;;;;;1201:30:83;;1194:38;;;;:::i;:::-;1257:7;-1:-1:-1;;;;;1257:26:83;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1242:44;;;979:314;:::o;948:895:5:-;1286:14;1283:1;1280;1267:34;1500:1;1497;1481:14;1478:1;1462:14;1455:5;1442:60;1576:16;1573:1;1570;1555:38;1614:6;1681:66;;;;1796:16;1793:1;1786:27;1681:66;1716:16;1713:1;1706:27;14:127:
|
|
446
|
+
"deployedSourceMap": "296:1000:83:-:0;;;;;;;;;;;;;;;;;;;;;;;2898:11:5;:9;:11::i;:::-;296:1000:83;;2675:11:5;:9;:11::i;605:368:83:-;;;;;;;;;;;;;:::i;2322:110:5:-;2397:28;2407:17;:15;:17::i;:::-;2397:9;:28::i;:::-;2322:110::o;605:368:83:-;738:13;732:20;-1:-1:-1;;;;;775:30:83;;;771:70;;814:27;;-1:-1:-1;;;814:27:83;;;;;;;;;;;771:70;-1:-1:-1;861:10:83;934:13;927:30;605:368::o;979:314::-;1161:13;1155:20;1038:12;;-1:-1:-1;;;;;1201:30:83;;1194:38;;;;:::i;:::-;1257:7;-1:-1:-1;;;;;1257:26:83;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1242:44;;;979:314;:::o;948:895:5:-;1286:14;1283:1;1280;1267:34;1500:1;1497;1481:14;1478:1;1462:14;1455:5;1442:60;1576:16;1573:1;1570;1555:38;1614:6;1681:66;;;;1796:16;1793:1;1786:27;1681:66;1716:16;1713:1;1706:27;14:127:103;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:311;237:6;290:2;278:9;269:7;265:23;261:32;258:52;;;306:1;303;296:12;258:52;332:16;;-1:-1:-1;;;;;377:31:103;;367:42;;357:70;;423:1;420;413:12;357:70;446:5;146:311;-1:-1:-1;;;146:311:103:o",
|
|
447
447
|
"source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.16;\n\nimport { ISuperTokenFactory } from \"../interfaces/superfluid/ISuperTokenFactory.sol\";\nimport { Proxy } from \"@openzeppelin/contracts/proxy/Proxy.sol\";\n\n\n/**\n * @title Full upgradable super token proxy contract\n * @author Superfluid\n */\ncontract FullUpgradableSuperTokenProxy is Proxy {\n\n // web3.utils.keccak256(\"org.superfluid-finance.FullUpgradableSuperTokenWrapper.factory_slot\")\n bytes32 internal constant _FACTORY_SLOT = 0xb8fcd5719b3ddf8626f3664705a89b7fc476129a58c1aa5eda57c600cc1821a0;\n\n error FUSTP_ALREADY_INITIALIZED();\n\n function initialize() external\n {\n address factory;\n assembly { // solium-disable-line\n factory := sload(_FACTORY_SLOT)\n }\n if (address(factory) != address(0)) revert FUSTP_ALREADY_INITIALIZED();\n factory = msg.sender;\n assembly { // solium-disable-line\n sstore(_FACTORY_SLOT, factory)\n }\n }\n\n function _implementation() internal override view returns (address impl) {\n ISuperTokenFactory factory;\n assembly { // solium-disable-line\n factory := sload(_FACTORY_SLOT)\n }\n assert(address(factory) != address(0));\n return address(factory.getSuperTokenLogic());\n }\n\n}\n",
|
|
448
448
|
"sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/superfluid/FullUpgradableSuperTokenProxy.sol",
|
|
449
449
|
"ast": {
|
|
@@ -1498,7 +1498,7 @@
|
|
|
1498
1498
|
},
|
|
1499
1499
|
"networks": {},
|
|
1500
1500
|
"schemaVersion": "3.4.9",
|
|
1501
|
-
"updatedAt": "2022-
|
|
1501
|
+
"updatedAt": "2022-11-16T13:27:50.637Z",
|
|
1502
1502
|
"devdoc": {
|
|
1503
1503
|
"author": "Superfluid",
|
|
1504
1504
|
"kind": "dev",
|
|
@@ -1036,7 +1036,7 @@
|
|
|
1036
1036
|
},
|
|
1037
1037
|
"networks": {},
|
|
1038
1038
|
"schemaVersion": "3.4.9",
|
|
1039
|
-
"updatedAt": "2022-
|
|
1039
|
+
"updatedAt": "2022-11-16T13:27:50.164Z",
|
|
1040
1040
|
"devdoc": {
|
|
1041
1041
|
"details": "External interface of AccessControl declared to support ERC165 detection.",
|
|
1042
1042
|
"events": {
|
|
@@ -522,7 +522,7 @@
|
|
|
522
522
|
},
|
|
523
523
|
"networks": {},
|
|
524
524
|
"schemaVersion": "3.4.9",
|
|
525
|
-
"updatedAt": "2022-
|
|
525
|
+
"updatedAt": "2022-11-16T13:27:50.164Z",
|
|
526
526
|
"devdoc": {
|
|
527
527
|
"details": "External interface of AccessControlEnumerable declared to support ERC165 detection.",
|
|
528
528
|
"kind": "dev",
|
|
@@ -830,7 +830,7 @@
|
|
|
830
830
|
},
|
|
831
831
|
"networks": {},
|
|
832
832
|
"schemaVersion": "3.4.9",
|
|
833
|
-
"updatedAt": "2022-
|
|
833
|
+
"updatedAt": "2022-11-16T13:27:50.297Z",
|
|
834
834
|
"devdoc": {
|
|
835
835
|
"author": "Superfluid",
|
|
836
836
|
"details": "The contract that implements this interface MUST only allow the CFA contract to call it",
|
|
@@ -18022,7 +18022,7 @@
|
|
|
18022
18022
|
},
|
|
18023
18023
|
"networks": {},
|
|
18024
18024
|
"schemaVersion": "3.4.9",
|
|
18025
|
-
"updatedAt": "2022-
|
|
18025
|
+
"updatedAt": "2022-11-16T13:27:50.277Z",
|
|
18026
18026
|
"devdoc": {
|
|
18027
18027
|
"author": "Superfluid",
|
|
18028
18028
|
"details": "Set a variable of type `InitData` in the contract, then call this library's functions directly `initData.functionName()`.",
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
},
|
|
178
178
|
"networks": {},
|
|
179
179
|
"schemaVersion": "3.4.9",
|
|
180
|
-
"updatedAt": "2022-
|
|
180
|
+
"updatedAt": "2022-11-16T13:27:50.183Z",
|
|
181
181
|
"devdoc": {
|
|
182
182
|
"details": "Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.",
|
|
183
183
|
"kind": "dev",
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
},
|
|
211
211
|
"networks": {},
|
|
212
212
|
"schemaVersion": "3.4.9",
|
|
213
|
-
"updatedAt": "2022-
|
|
213
|
+
"updatedAt": "2022-11-16T13:27:50.183Z",
|
|
214
214
|
"devdoc": {
|
|
215
215
|
"details": "Interface for an ERC1820 implementer, as defined in the https://eips.ethereum.org/EIPS/eip-1820#interface-implementation-erc1820implementerinterface[EIP]. Used by contracts that will be registered as implementers in the {IERC1820Registry}.",
|
|
216
216
|
"kind": "dev",
|
|
@@ -1286,7 +1286,7 @@
|
|
|
1286
1286
|
},
|
|
1287
1287
|
"networks": {},
|
|
1288
1288
|
"schemaVersion": "3.4.9",
|
|
1289
|
-
"updatedAt": "2022-
|
|
1289
|
+
"updatedAt": "2022-11-16T13:27:50.183Z",
|
|
1290
1290
|
"devdoc": {
|
|
1291
1291
|
"details": "Interface of the global ERC1820 Registry, as defined in the https://eips.ethereum.org/EIPS/eip-1820[EIP]. Accounts may register implementers for interfaces in this registry, as well as query support. Implementers may be shared by multiple accounts, and can also implement more than a single interface for each account. Contracts can implement interfaces for themselves, but externally-owned accounts (EOA) must delegate this to a contract. {IERC165} interfaces can also be queried via the registry. For an in-depth explanation and source code analysis, see the EIP text.",
|
|
1292
1292
|
"kind": "dev",
|
|
@@ -1116,7 +1116,7 @@
|
|
|
1116
1116
|
},
|
|
1117
1117
|
"networks": {},
|
|
1118
1118
|
"schemaVersion": "3.4.9",
|
|
1119
|
-
"updatedAt": "2022-
|
|
1119
|
+
"updatedAt": "2022-11-16T13:27:50.172Z",
|
|
1120
1120
|
"devdoc": {
|
|
1121
1121
|
"details": "Interface of the ERC20 standard as defined in the EIP.",
|
|
1122
1122
|
"events": {
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
},
|
|
507
507
|
"networks": {},
|
|
508
508
|
"schemaVersion": "3.4.9",
|
|
509
|
-
"updatedAt": "2022-
|
|
509
|
+
"updatedAt": "2022-11-16T13:27:50.173Z",
|
|
510
510
|
"devdoc": {
|
|
511
511
|
"details": "Interface for the optional metadata functions from the ERC20 standard. _Available since v4.1._",
|
|
512
512
|
"kind": "dev",
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
},
|
|
521
521
|
"networks": {},
|
|
522
522
|
"schemaVersion": "3.4.9",
|
|
523
|
-
"updatedAt": "2022-
|
|
523
|
+
"updatedAt": "2022-11-16T13:27:50.174Z",
|
|
524
524
|
"devdoc": {
|
|
525
525
|
"details": "Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't need to send a transaction, and thus is not required to hold Ether at all.",
|
|
526
526
|
"kind": "dev",
|
|
@@ -2300,7 +2300,7 @@
|
|
|
2300
2300
|
},
|
|
2301
2301
|
"networks": {},
|
|
2302
2302
|
"schemaVersion": "3.4.9",
|
|
2303
|
-
"updatedAt": "2022-
|
|
2303
|
+
"updatedAt": "2022-11-16T13:27:50.176Z",
|
|
2304
2304
|
"devdoc": {
|
|
2305
2305
|
"details": "Interface of the ERC777Token standard as defined in the EIP. This contract uses the https://eips.ethereum.org/EIPS/eip-1820[ERC1820 registry standard] to let token holders and recipients react to token movements by using setting implementers for the associated interfaces in said registry. See {IERC1820Registry} and {ERC1820Implementer}.",
|
|
2306
2306
|
"events": {
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
},
|
|
307
307
|
"networks": {},
|
|
308
308
|
"schemaVersion": "3.4.9",
|
|
309
|
-
"updatedAt": "2022-
|
|
309
|
+
"updatedAt": "2022-11-16T13:27:50.177Z",
|
|
310
310
|
"devdoc": {
|
|
311
311
|
"details": "Interface of the ERC777TokensRecipient standard as defined in the EIP. Accounts can be notified of {IERC777} tokens being sent to them by having a contract implement this interface (contract holders can be their own implementer) and registering it on the https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry]. See {IERC1820Registry} and {ERC1820Implementer}.",
|
|
312
312
|
"kind": "dev",
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
},
|
|
307
307
|
"networks": {},
|
|
308
308
|
"schemaVersion": "3.4.9",
|
|
309
|
-
"updatedAt": "2022-
|
|
309
|
+
"updatedAt": "2022-11-16T13:27:50.178Z",
|
|
310
310
|
"devdoc": {
|
|
311
311
|
"details": "Interface of the ERC777TokensSender standard as defined in the EIP. {IERC777} Token holders can be notified of operations performed on their tokens by having a contract implement this interface (contract holders can be their own implementer) and registering it on the https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry]. See {IERC1820Registry} and {ERC1820Implementer}.",
|
|
312
312
|
"kind": "dev",
|