@superfluid-finance/ethereum-contracts 1.0.1-dev.d7224df.0 → 1.0.1-dev.fbe38e2.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/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 +19 -19
- package/build/contracts/AgreementLibrary.json +1 -1
- package/build/contracts/BaseRelayRecipient.json +99 -99
- package/build/contracts/BatchLiquidator.json +323 -323
- package/build/contracts/BatchOperation.json +1 -1
- package/build/contracts/CFAv1Library.json +1 -1
- package/build/contracts/CallUtils.json +1 -1
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1 -1
- package/build/contracts/ConstantFlowAgreementV1.json +3 -3
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +1 -1
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +1 -1
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- package/build/contracts/ERC20.json +1 -1
- package/build/contracts/ERC20WithTokenInfo.json +1 -1
- package/build/contracts/ERC721.json +1 -1
- package/build/contracts/ERC777Helper.json +1 -1
- package/build/contracts/ERC777RecipientDrainingGas.json +1 -1
- package/build/contracts/ERC777RecipientReverting.json +1 -1
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/ExclusiveInflowTestApp.json +1 -1
- package/build/contracts/FixedSizeData.json +1 -1
- package/build/contracts/FlowExchangeTestApp.json +1 -1
- package/build/contracts/FullUpgradableSuperTokenProxy.json +193 -193
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.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/IERC721.json +1 -1
- package/build/contracts/IERC721Metadata.json +1 -1
- package/build/contracts/IERC721Receiver.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/IMaticBridgedNativeSuperToken.json +1 -1
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +1 -1
- package/build/contracts/IMultiSigWallet.json +1 -1
- package/build/contracts/INativeSuperToken.json +1 -1
- package/build/contracts/INativeSuperTokenCustom.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 +2351 -2351
- package/build/contracts/ITOGAv2.json +2351 -2351
- package/build/contracts/IWETH.json +1091 -1091
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +3 -3
- package/build/contracts/Int96SafeMath.json +1 -1
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +377 -377
- package/build/contracts/MultiFlowApp.json +3087 -3087
- package/build/contracts/NativeSuperTokenProxy.json +171 -171
- package/build/contracts/NonClosableOutflowTestApp.json +1 -1
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/Resolver.json +179 -179
- package/build/contracts/SETHProxy.json +1095 -1095
- package/build/contracts/SETHReceiveLogic.json +1094 -1094
- 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 +1 -1
- package/build/contracts/SlotsBitmapLibrary.json +1 -1
- 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 +85 -85
- package/build/contracts/SuperTokenFactory.json +105 -105
- package/build/contracts/SuperTokenFactoryBase.json +105 -105
- package/build/contracts/SuperTokenFactoryHelper.json +105 -105
- package/build/contracts/SuperUpgrader.json +837 -837
- package/build/contracts/Superfluid.json +11131 -9312
- package/build/contracts/SuperfluidGovernanceBase.json +17 -17
- package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
- package/build/contracts/SuperfluidGovernanceII.json +31 -31
- package/build/contracts/SuperfluidGovernanceIIProxy.json +31 -31
- package/build/contracts/SuperfluidLoader.json +294 -294
- package/build/contracts/SuperfluidToken.json +2411 -2411
- package/build/contracts/TOGA.json +2359 -2359
- package/build/contracts/TestGovernance.json +335 -335
- package/build/contracts/TestToken.json +187 -187
- package/build/contracts/TokenCustodian.json +427 -427
- package/build/contracts/TokenInfo.json +1 -1
- package/build/contracts/UInt128SafeMath.json +1 -1
- package/build/contracts/UUPSProxiable.json +265 -265
- package/build/contracts/UUPSProxy.json +163 -163
- package/build/contracts/UUPSUtils.json +73 -73
- package/build/contracts/strings.json +1 -1
- package/build/contracts-sizes.txt +1 -1
- package/contracts/superfluid/Superfluid.sol +15 -0
- package/package.json +2 -2
- package/scripts/libs/getConfig.js +53 -2
|
@@ -48,18 +48,18 @@
|
|
|
48
48
|
"absolutePath": "project:/contracts/ux/BaseRelayRecipient.sol",
|
|
49
49
|
"exportedSymbols": {
|
|
50
50
|
"BaseRelayRecipient": [
|
|
51
|
-
|
|
51
|
+
38163
|
|
52
52
|
],
|
|
53
53
|
"IRelayRecipient": [
|
|
54
54
|
19978
|
|
55
55
|
]
|
|
56
56
|
},
|
|
57
|
-
"id":
|
|
57
|
+
"id": 38164,
|
|
58
58
|
"license": "AGPLv3",
|
|
59
59
|
"nodeType": "SourceUnit",
|
|
60
60
|
"nodes": [
|
|
61
61
|
{
|
|
62
|
-
"id":
|
|
62
|
+
"id": 38127,
|
|
63
63
|
"literals": [
|
|
64
64
|
"solidity",
|
|
65
65
|
"0.8",
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
{
|
|
72
72
|
"absolutePath": "project:/contracts/interfaces/ux/IRelayRecipient.sol",
|
|
73
73
|
"file": "../interfaces/ux/IRelayRecipient.sol",
|
|
74
|
-
"id":
|
|
74
|
+
"id": 38128,
|
|
75
75
|
"nameLocation": "-1:-1:-1",
|
|
76
76
|
"nodeType": "ImportDirective",
|
|
77
|
-
"scope":
|
|
77
|
+
"scope": 38164,
|
|
78
78
|
"sourceUnit": 19979,
|
|
79
79
|
"src": "60:46:102",
|
|
80
80
|
"symbolAliases": [],
|
|
@@ -85,13 +85,13 @@
|
|
|
85
85
|
"baseContracts": [
|
|
86
86
|
{
|
|
87
87
|
"baseName": {
|
|
88
|
-
"id":
|
|
88
|
+
"id": 38130,
|
|
89
89
|
"name": "IRelayRecipient",
|
|
90
90
|
"nodeType": "IdentifierPath",
|
|
91
91
|
"referencedDeclaration": 19978,
|
|
92
92
|
"src": "488:15:102"
|
|
93
93
|
},
|
|
94
|
-
"id":
|
|
94
|
+
"id": 38131,
|
|
95
95
|
"nodeType": "InheritanceSpecifier",
|
|
96
96
|
"src": "488:15:102"
|
|
97
97
|
}
|
|
@@ -100,15 +100,15 @@
|
|
|
100
100
|
"contractDependencies": [],
|
|
101
101
|
"contractKind": "contract",
|
|
102
102
|
"documentation": {
|
|
103
|
-
"id":
|
|
103
|
+
"id": 38129,
|
|
104
104
|
"nodeType": "StructuredDocumentation",
|
|
105
105
|
"src": "108:339:102",
|
|
106
106
|
"text": " @title Base relay recipient contract\n @author Superfluid\n @dev A base contract to be inherited by any contract that want to receive relayed transactions\n A subclass must use \"_msgSender()\" instead of \"msg.sender\"\n MODIFIED FROM: https://github.com/opengsn/forwarder/blob/master/contracts/BaseRelayRecipient.sol"
|
|
107
107
|
},
|
|
108
108
|
"fullyImplemented": false,
|
|
109
|
-
"id":
|
|
109
|
+
"id": 38163,
|
|
110
110
|
"linearizedBaseContracts": [
|
|
111
|
-
|
|
111
|
+
38163,
|
|
112
112
|
19978
|
|
113
113
|
],
|
|
114
114
|
"name": "BaseRelayRecipient",
|
|
@@ -120,13 +120,13 @@
|
|
|
120
120
|
19971
|
|
121
121
|
],
|
|
122
122
|
"documentation": {
|
|
123
|
-
"id":
|
|
123
|
+
"id": 38132,
|
|
124
124
|
"nodeType": "StructuredDocumentation",
|
|
125
125
|
"src": "511:57:102",
|
|
126
126
|
"text": " @dev Check if the forwarder is trusted"
|
|
127
127
|
},
|
|
128
128
|
"functionSelector": "572b6c05",
|
|
129
|
-
"id":
|
|
129
|
+
"id": 38140,
|
|
130
130
|
"implemented": false,
|
|
131
131
|
"kind": "function",
|
|
132
132
|
"modifiers": [],
|
|
@@ -134,23 +134,23 @@
|
|
|
134
134
|
"nameLocation": "582:18:102",
|
|
135
135
|
"nodeType": "FunctionDefinition",
|
|
136
136
|
"overrides": {
|
|
137
|
-
"id":
|
|
137
|
+
"id": 38136,
|
|
138
138
|
"nodeType": "OverrideSpecifier",
|
|
139
139
|
"overrides": [],
|
|
140
140
|
"src": "640:8:102"
|
|
141
141
|
},
|
|
142
142
|
"parameters": {
|
|
143
|
-
"id":
|
|
143
|
+
"id": 38135,
|
|
144
144
|
"nodeType": "ParameterList",
|
|
145
145
|
"parameters": [
|
|
146
146
|
{
|
|
147
147
|
"constant": false,
|
|
148
|
-
"id":
|
|
148
|
+
"id": 38134,
|
|
149
149
|
"mutability": "mutable",
|
|
150
150
|
"name": "forwarder",
|
|
151
151
|
"nameLocation": "609:9:102",
|
|
152
152
|
"nodeType": "VariableDeclaration",
|
|
153
|
-
"scope":
|
|
153
|
+
"scope": 38140,
|
|
154
154
|
"src": "601:17:102",
|
|
155
155
|
"stateVariable": false,
|
|
156
156
|
"storageLocation": "default",
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"typeString": "address"
|
|
160
160
|
},
|
|
161
161
|
"typeName": {
|
|
162
|
-
"id":
|
|
162
|
+
"id": 38133,
|
|
163
163
|
"name": "address",
|
|
164
164
|
"nodeType": "ElementaryTypeName",
|
|
165
165
|
"src": "601:7:102",
|
|
@@ -175,17 +175,17 @@
|
|
|
175
175
|
"src": "600:19:102"
|
|
176
176
|
},
|
|
177
177
|
"returnParameters": {
|
|
178
|
-
"id":
|
|
178
|
+
"id": 38139,
|
|
179
179
|
"nodeType": "ParameterList",
|
|
180
180
|
"parameters": [
|
|
181
181
|
{
|
|
182
182
|
"constant": false,
|
|
183
|
-
"id":
|
|
183
|
+
"id": 38138,
|
|
184
184
|
"mutability": "mutable",
|
|
185
185
|
"name": "",
|
|
186
186
|
"nameLocation": "-1:-1:-1",
|
|
187
187
|
"nodeType": "VariableDeclaration",
|
|
188
|
-
"scope":
|
|
188
|
+
"scope": 38140,
|
|
189
189
|
"src": "657:4:102",
|
|
190
190
|
"stateVariable": false,
|
|
191
191
|
"storageLocation": "default",
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
"typeString": "bool"
|
|
195
195
|
},
|
|
196
196
|
"typeName": {
|
|
197
|
-
"id":
|
|
197
|
+
"id": 38137,
|
|
198
198
|
"name": "bool",
|
|
199
199
|
"nodeType": "ElementaryTypeName",
|
|
200
200
|
"src": "657:4:102",
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
],
|
|
209
209
|
"src": "656:6:102"
|
|
210
210
|
},
|
|
211
|
-
"scope":
|
|
211
|
+
"scope": 38163,
|
|
212
212
|
"src": "573:90:102",
|
|
213
213
|
"stateMutability": "view",
|
|
214
214
|
"virtual": true,
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
218
|
"body": {
|
|
219
|
-
"id":
|
|
219
|
+
"id": 38161,
|
|
220
220
|
"nodeType": "Block",
|
|
221
221
|
"src": "1023:419:102",
|
|
222
222
|
"statements": [
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
"typeIdentifier": "t_bool",
|
|
229
229
|
"typeString": "bool"
|
|
230
230
|
},
|
|
231
|
-
"id":
|
|
231
|
+
"id": 38156,
|
|
232
232
|
"isConstant": false,
|
|
233
233
|
"isLValue": false,
|
|
234
234
|
"isPure": false,
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
"typeIdentifier": "t_uint256",
|
|
239
239
|
"typeString": "uint256"
|
|
240
240
|
},
|
|
241
|
-
"id":
|
|
241
|
+
"id": 38151,
|
|
242
242
|
"isConstant": false,
|
|
243
243
|
"isLValue": false,
|
|
244
244
|
"isPure": false,
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
"leftExpression": {
|
|
247
247
|
"expression": {
|
|
248
248
|
"expression": {
|
|
249
|
-
"id":
|
|
249
|
+
"id": 38147,
|
|
250
250
|
"name": "msg",
|
|
251
251
|
"nodeType": "Identifier",
|
|
252
252
|
"overloadedDeclarations": [],
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
"typeString": "msg"
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
|
-
"id":
|
|
260
|
+
"id": 38148,
|
|
261
261
|
"isConstant": false,
|
|
262
262
|
"isLValue": false,
|
|
263
263
|
"isPure": false,
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
"typeString": "bytes calldata"
|
|
271
271
|
}
|
|
272
272
|
},
|
|
273
|
-
"id":
|
|
273
|
+
"id": 38149,
|
|
274
274
|
"isConstant": false,
|
|
275
275
|
"isLValue": false,
|
|
276
276
|
"isPure": false,
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
"operator": ">=",
|
|
288
288
|
"rightExpression": {
|
|
289
289
|
"hexValue": "3234",
|
|
290
|
-
"id":
|
|
290
|
+
"id": 38150,
|
|
291
291
|
"isConstant": false,
|
|
292
292
|
"isLValue": false,
|
|
293
293
|
"isPure": true,
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
"arguments": [
|
|
314
314
|
{
|
|
315
315
|
"expression": {
|
|
316
|
-
"id":
|
|
316
|
+
"id": 38153,
|
|
317
317
|
"name": "msg",
|
|
318
318
|
"nodeType": "Identifier",
|
|
319
319
|
"overloadedDeclarations": [],
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
"typeString": "msg"
|
|
325
325
|
}
|
|
326
326
|
},
|
|
327
|
-
"id":
|
|
327
|
+
"id": 38154,
|
|
328
328
|
"isConstant": false,
|
|
329
329
|
"isLValue": false,
|
|
330
330
|
"isPure": false,
|
|
@@ -345,18 +345,18 @@
|
|
|
345
345
|
"typeString": "address"
|
|
346
346
|
}
|
|
347
347
|
],
|
|
348
|
-
"id":
|
|
348
|
+
"id": 38152,
|
|
349
349
|
"name": "isTrustedForwarder",
|
|
350
350
|
"nodeType": "Identifier",
|
|
351
351
|
"overloadedDeclarations": [],
|
|
352
|
-
"referencedDeclaration":
|
|
352
|
+
"referencedDeclaration": 38140,
|
|
353
353
|
"src": "1066:18:102",
|
|
354
354
|
"typeDescriptions": {
|
|
355
355
|
"typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$",
|
|
356
356
|
"typeString": "function (address) view returns (bool)"
|
|
357
357
|
}
|
|
358
358
|
},
|
|
359
|
-
"id":
|
|
359
|
+
"id": 38155,
|
|
360
360
|
"isConstant": false,
|
|
361
361
|
"isLValue": false,
|
|
362
362
|
"isPure": false,
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
381
|
"hexValue": "4e6f74207472757374656420666f72776172646572",
|
|
382
|
-
"id":
|
|
382
|
+
"id": 38157,
|
|
383
383
|
"isConstant": false,
|
|
384
384
|
"isLValue": false,
|
|
385
385
|
"isPure": true,
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
"typeString": "literal_string \"Not trusted forwarder\""
|
|
406
406
|
}
|
|
407
407
|
],
|
|
408
|
-
"id":
|
|
408
|
+
"id": 38146,
|
|
409
409
|
"name": "require",
|
|
410
410
|
"nodeType": "Identifier",
|
|
411
411
|
"overloadedDeclarations": [
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
"typeString": "function (bool,string memory) pure"
|
|
420
420
|
}
|
|
421
421
|
},
|
|
422
|
-
"id":
|
|
422
|
+
"id": 38158,
|
|
423
423
|
"isConstant": false,
|
|
424
424
|
"isLValue": false,
|
|
425
425
|
"isPure": false,
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
"typeString": "tuple()"
|
|
435
435
|
}
|
|
436
436
|
},
|
|
437
|
-
"id":
|
|
437
|
+
"id": 38159,
|
|
438
438
|
"nodeType": "ExpressionStatement",
|
|
439
439
|
"src": "1033:89:102"
|
|
440
440
|
},
|
|
@@ -516,26 +516,26 @@
|
|
|
516
516
|
"evmVersion": "london",
|
|
517
517
|
"externalReferences": [
|
|
518
518
|
{
|
|
519
|
-
"declaration":
|
|
519
|
+
"declaration": 38144,
|
|
520
520
|
"isOffset": false,
|
|
521
521
|
"isSlot": false,
|
|
522
522
|
"src": "1375:3:102",
|
|
523
523
|
"valueSize": 1
|
|
524
524
|
}
|
|
525
525
|
],
|
|
526
|
-
"id":
|
|
526
|
+
"id": 38160,
|
|
527
527
|
"nodeType": "InlineAssembly",
|
|
528
528
|
"src": "1352:84:102"
|
|
529
529
|
}
|
|
530
530
|
]
|
|
531
531
|
},
|
|
532
532
|
"documentation": {
|
|
533
|
-
"id":
|
|
533
|
+
"id": 38141,
|
|
534
534
|
"nodeType": "StructuredDocumentation",
|
|
535
535
|
"src": "669:264:102",
|
|
536
536
|
"text": " @dev Return the transaction signer of this call\n if the call came through our trusted forwarder, return the original sender.\n otherwise, return `msg.sender`.\n should be used in the contract anywhere instead of msg.sender"
|
|
537
537
|
},
|
|
538
|
-
"id":
|
|
538
|
+
"id": 38162,
|
|
539
539
|
"implemented": true,
|
|
540
540
|
"kind": "function",
|
|
541
541
|
"modifiers": [],
|
|
@@ -543,23 +543,23 @@
|
|
|
543
543
|
"nameLocation": "947:21:102",
|
|
544
544
|
"nodeType": "FunctionDefinition",
|
|
545
545
|
"parameters": {
|
|
546
|
-
"id":
|
|
546
|
+
"id": 38142,
|
|
547
547
|
"nodeType": "ParameterList",
|
|
548
548
|
"parameters": [],
|
|
549
549
|
"src": "968:2:102"
|
|
550
550
|
},
|
|
551
551
|
"returnParameters": {
|
|
552
|
-
"id":
|
|
552
|
+
"id": 38145,
|
|
553
553
|
"nodeType": "ParameterList",
|
|
554
554
|
"parameters": [
|
|
555
555
|
{
|
|
556
556
|
"constant": false,
|
|
557
|
-
"id":
|
|
557
|
+
"id": 38144,
|
|
558
558
|
"mutability": "mutable",
|
|
559
559
|
"name": "ret",
|
|
560
560
|
"nameLocation": "1018:3:102",
|
|
561
561
|
"nodeType": "VariableDeclaration",
|
|
562
|
-
"scope":
|
|
562
|
+
"scope": 38162,
|
|
563
563
|
"src": "1002:19:102",
|
|
564
564
|
"stateVariable": false,
|
|
565
565
|
"storageLocation": "default",
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
"typeString": "address payable"
|
|
569
569
|
},
|
|
570
570
|
"typeName": {
|
|
571
|
-
"id":
|
|
571
|
+
"id": 38143,
|
|
572
572
|
"name": "address",
|
|
573
573
|
"nodeType": "ElementaryTypeName",
|
|
574
574
|
"src": "1002:15:102",
|
|
@@ -583,14 +583,14 @@
|
|
|
583
583
|
],
|
|
584
584
|
"src": "1001:21:102"
|
|
585
585
|
},
|
|
586
|
-
"scope":
|
|
586
|
+
"scope": 38163,
|
|
587
587
|
"src": "938:504:102",
|
|
588
588
|
"stateMutability": "view",
|
|
589
589
|
"virtual": true,
|
|
590
590
|
"visibility": "internal"
|
|
591
591
|
}
|
|
592
592
|
],
|
|
593
|
-
"scope":
|
|
593
|
+
"scope": 38164,
|
|
594
594
|
"src": "448:997:102",
|
|
595
595
|
"usedErrors": []
|
|
596
596
|
}
|
|
@@ -601,18 +601,18 @@
|
|
|
601
601
|
"absolutePath": "project:/contracts/ux/BaseRelayRecipient.sol",
|
|
602
602
|
"exportedSymbols": {
|
|
603
603
|
"BaseRelayRecipient": [
|
|
604
|
-
|
|
604
|
+
38163
|
|
605
605
|
],
|
|
606
606
|
"IRelayRecipient": [
|
|
607
607
|
19978
|
|
608
608
|
]
|
|
609
609
|
},
|
|
610
|
-
"id":
|
|
610
|
+
"id": 38164,
|
|
611
611
|
"license": "AGPLv3",
|
|
612
612
|
"nodeType": "SourceUnit",
|
|
613
613
|
"nodes": [
|
|
614
614
|
{
|
|
615
|
-
"id":
|
|
615
|
+
"id": 38127,
|
|
616
616
|
"literals": [
|
|
617
617
|
"solidity",
|
|
618
618
|
"0.8",
|
|
@@ -624,10 +624,10 @@
|
|
|
624
624
|
{
|
|
625
625
|
"absolutePath": "project:/contracts/interfaces/ux/IRelayRecipient.sol",
|
|
626
626
|
"file": "../interfaces/ux/IRelayRecipient.sol",
|
|
627
|
-
"id":
|
|
627
|
+
"id": 38128,
|
|
628
628
|
"nameLocation": "-1:-1:-1",
|
|
629
629
|
"nodeType": "ImportDirective",
|
|
630
|
-
"scope":
|
|
630
|
+
"scope": 38164,
|
|
631
631
|
"sourceUnit": 19979,
|
|
632
632
|
"src": "60:46:102",
|
|
633
633
|
"symbolAliases": [],
|
|
@@ -638,13 +638,13 @@
|
|
|
638
638
|
"baseContracts": [
|
|
639
639
|
{
|
|
640
640
|
"baseName": {
|
|
641
|
-
"id":
|
|
641
|
+
"id": 38130,
|
|
642
642
|
"name": "IRelayRecipient",
|
|
643
643
|
"nodeType": "IdentifierPath",
|
|
644
644
|
"referencedDeclaration": 19978,
|
|
645
645
|
"src": "488:15:102"
|
|
646
646
|
},
|
|
647
|
-
"id":
|
|
647
|
+
"id": 38131,
|
|
648
648
|
"nodeType": "InheritanceSpecifier",
|
|
649
649
|
"src": "488:15:102"
|
|
650
650
|
}
|
|
@@ -653,15 +653,15 @@
|
|
|
653
653
|
"contractDependencies": [],
|
|
654
654
|
"contractKind": "contract",
|
|
655
655
|
"documentation": {
|
|
656
|
-
"id":
|
|
656
|
+
"id": 38129,
|
|
657
657
|
"nodeType": "StructuredDocumentation",
|
|
658
658
|
"src": "108:339:102",
|
|
659
659
|
"text": " @title Base relay recipient contract\n @author Superfluid\n @dev A base contract to be inherited by any contract that want to receive relayed transactions\n A subclass must use \"_msgSender()\" instead of \"msg.sender\"\n MODIFIED FROM: https://github.com/opengsn/forwarder/blob/master/contracts/BaseRelayRecipient.sol"
|
|
660
660
|
},
|
|
661
661
|
"fullyImplemented": false,
|
|
662
|
-
"id":
|
|
662
|
+
"id": 38163,
|
|
663
663
|
"linearizedBaseContracts": [
|
|
664
|
-
|
|
664
|
+
38163,
|
|
665
665
|
19978
|
|
666
666
|
],
|
|
667
667
|
"name": "BaseRelayRecipient",
|
|
@@ -673,13 +673,13 @@
|
|
|
673
673
|
19971
|
|
674
674
|
],
|
|
675
675
|
"documentation": {
|
|
676
|
-
"id":
|
|
676
|
+
"id": 38132,
|
|
677
677
|
"nodeType": "StructuredDocumentation",
|
|
678
678
|
"src": "511:57:102",
|
|
679
679
|
"text": " @dev Check if the forwarder is trusted"
|
|
680
680
|
},
|
|
681
681
|
"functionSelector": "572b6c05",
|
|
682
|
-
"id":
|
|
682
|
+
"id": 38140,
|
|
683
683
|
"implemented": false,
|
|
684
684
|
"kind": "function",
|
|
685
685
|
"modifiers": [],
|
|
@@ -687,23 +687,23 @@
|
|
|
687
687
|
"nameLocation": "582:18:102",
|
|
688
688
|
"nodeType": "FunctionDefinition",
|
|
689
689
|
"overrides": {
|
|
690
|
-
"id":
|
|
690
|
+
"id": 38136,
|
|
691
691
|
"nodeType": "OverrideSpecifier",
|
|
692
692
|
"overrides": [],
|
|
693
693
|
"src": "640:8:102"
|
|
694
694
|
},
|
|
695
695
|
"parameters": {
|
|
696
|
-
"id":
|
|
696
|
+
"id": 38135,
|
|
697
697
|
"nodeType": "ParameterList",
|
|
698
698
|
"parameters": [
|
|
699
699
|
{
|
|
700
700
|
"constant": false,
|
|
701
|
-
"id":
|
|
701
|
+
"id": 38134,
|
|
702
702
|
"mutability": "mutable",
|
|
703
703
|
"name": "forwarder",
|
|
704
704
|
"nameLocation": "609:9:102",
|
|
705
705
|
"nodeType": "VariableDeclaration",
|
|
706
|
-
"scope":
|
|
706
|
+
"scope": 38140,
|
|
707
707
|
"src": "601:17:102",
|
|
708
708
|
"stateVariable": false,
|
|
709
709
|
"storageLocation": "default",
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
"typeString": "address"
|
|
713
713
|
},
|
|
714
714
|
"typeName": {
|
|
715
|
-
"id":
|
|
715
|
+
"id": 38133,
|
|
716
716
|
"name": "address",
|
|
717
717
|
"nodeType": "ElementaryTypeName",
|
|
718
718
|
"src": "601:7:102",
|
|
@@ -728,17 +728,17 @@
|
|
|
728
728
|
"src": "600:19:102"
|
|
729
729
|
},
|
|
730
730
|
"returnParameters": {
|
|
731
|
-
"id":
|
|
731
|
+
"id": 38139,
|
|
732
732
|
"nodeType": "ParameterList",
|
|
733
733
|
"parameters": [
|
|
734
734
|
{
|
|
735
735
|
"constant": false,
|
|
736
|
-
"id":
|
|
736
|
+
"id": 38138,
|
|
737
737
|
"mutability": "mutable",
|
|
738
738
|
"name": "",
|
|
739
739
|
"nameLocation": "-1:-1:-1",
|
|
740
740
|
"nodeType": "VariableDeclaration",
|
|
741
|
-
"scope":
|
|
741
|
+
"scope": 38140,
|
|
742
742
|
"src": "657:4:102",
|
|
743
743
|
"stateVariable": false,
|
|
744
744
|
"storageLocation": "default",
|
|
@@ -747,7 +747,7 @@
|
|
|
747
747
|
"typeString": "bool"
|
|
748
748
|
},
|
|
749
749
|
"typeName": {
|
|
750
|
-
"id":
|
|
750
|
+
"id": 38137,
|
|
751
751
|
"name": "bool",
|
|
752
752
|
"nodeType": "ElementaryTypeName",
|
|
753
753
|
"src": "657:4:102",
|
|
@@ -761,7 +761,7 @@
|
|
|
761
761
|
],
|
|
762
762
|
"src": "656:6:102"
|
|
763
763
|
},
|
|
764
|
-
"scope":
|
|
764
|
+
"scope": 38163,
|
|
765
765
|
"src": "573:90:102",
|
|
766
766
|
"stateMutability": "view",
|
|
767
767
|
"virtual": true,
|
|
@@ -769,7 +769,7 @@
|
|
|
769
769
|
},
|
|
770
770
|
{
|
|
771
771
|
"body": {
|
|
772
|
-
"id":
|
|
772
|
+
"id": 38161,
|
|
773
773
|
"nodeType": "Block",
|
|
774
774
|
"src": "1023:419:102",
|
|
775
775
|
"statements": [
|
|
@@ -781,7 +781,7 @@
|
|
|
781
781
|
"typeIdentifier": "t_bool",
|
|
782
782
|
"typeString": "bool"
|
|
783
783
|
},
|
|
784
|
-
"id":
|
|
784
|
+
"id": 38156,
|
|
785
785
|
"isConstant": false,
|
|
786
786
|
"isLValue": false,
|
|
787
787
|
"isPure": false,
|
|
@@ -791,7 +791,7 @@
|
|
|
791
791
|
"typeIdentifier": "t_uint256",
|
|
792
792
|
"typeString": "uint256"
|
|
793
793
|
},
|
|
794
|
-
"id":
|
|
794
|
+
"id": 38151,
|
|
795
795
|
"isConstant": false,
|
|
796
796
|
"isLValue": false,
|
|
797
797
|
"isPure": false,
|
|
@@ -799,7 +799,7 @@
|
|
|
799
799
|
"leftExpression": {
|
|
800
800
|
"expression": {
|
|
801
801
|
"expression": {
|
|
802
|
-
"id":
|
|
802
|
+
"id": 38147,
|
|
803
803
|
"name": "msg",
|
|
804
804
|
"nodeType": "Identifier",
|
|
805
805
|
"overloadedDeclarations": [],
|
|
@@ -810,7 +810,7 @@
|
|
|
810
810
|
"typeString": "msg"
|
|
811
811
|
}
|
|
812
812
|
},
|
|
813
|
-
"id":
|
|
813
|
+
"id": 38148,
|
|
814
814
|
"isConstant": false,
|
|
815
815
|
"isLValue": false,
|
|
816
816
|
"isPure": false,
|
|
@@ -823,7 +823,7 @@
|
|
|
823
823
|
"typeString": "bytes calldata"
|
|
824
824
|
}
|
|
825
825
|
},
|
|
826
|
-
"id":
|
|
826
|
+
"id": 38149,
|
|
827
827
|
"isConstant": false,
|
|
828
828
|
"isLValue": false,
|
|
829
829
|
"isPure": false,
|
|
@@ -840,7 +840,7 @@
|
|
|
840
840
|
"operator": ">=",
|
|
841
841
|
"rightExpression": {
|
|
842
842
|
"hexValue": "3234",
|
|
843
|
-
"id":
|
|
843
|
+
"id": 38150,
|
|
844
844
|
"isConstant": false,
|
|
845
845
|
"isLValue": false,
|
|
846
846
|
"isPure": true,
|
|
@@ -866,7 +866,7 @@
|
|
|
866
866
|
"arguments": [
|
|
867
867
|
{
|
|
868
868
|
"expression": {
|
|
869
|
-
"id":
|
|
869
|
+
"id": 38153,
|
|
870
870
|
"name": "msg",
|
|
871
871
|
"nodeType": "Identifier",
|
|
872
872
|
"overloadedDeclarations": [],
|
|
@@ -877,7 +877,7 @@
|
|
|
877
877
|
"typeString": "msg"
|
|
878
878
|
}
|
|
879
879
|
},
|
|
880
|
-
"id":
|
|
880
|
+
"id": 38154,
|
|
881
881
|
"isConstant": false,
|
|
882
882
|
"isLValue": false,
|
|
883
883
|
"isPure": false,
|
|
@@ -898,18 +898,18 @@
|
|
|
898
898
|
"typeString": "address"
|
|
899
899
|
}
|
|
900
900
|
],
|
|
901
|
-
"id":
|
|
901
|
+
"id": 38152,
|
|
902
902
|
"name": "isTrustedForwarder",
|
|
903
903
|
"nodeType": "Identifier",
|
|
904
904
|
"overloadedDeclarations": [],
|
|
905
|
-
"referencedDeclaration":
|
|
905
|
+
"referencedDeclaration": 38140,
|
|
906
906
|
"src": "1066:18:102",
|
|
907
907
|
"typeDescriptions": {
|
|
908
908
|
"typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$",
|
|
909
909
|
"typeString": "function (address) view returns (bool)"
|
|
910
910
|
}
|
|
911
911
|
},
|
|
912
|
-
"id":
|
|
912
|
+
"id": 38155,
|
|
913
913
|
"isConstant": false,
|
|
914
914
|
"isLValue": false,
|
|
915
915
|
"isPure": false,
|
|
@@ -932,7 +932,7 @@
|
|
|
932
932
|
},
|
|
933
933
|
{
|
|
934
934
|
"hexValue": "4e6f74207472757374656420666f72776172646572",
|
|
935
|
-
"id":
|
|
935
|
+
"id": 38157,
|
|
936
936
|
"isConstant": false,
|
|
937
937
|
"isLValue": false,
|
|
938
938
|
"isPure": true,
|
|
@@ -958,7 +958,7 @@
|
|
|
958
958
|
"typeString": "literal_string \"Not trusted forwarder\""
|
|
959
959
|
}
|
|
960
960
|
],
|
|
961
|
-
"id":
|
|
961
|
+
"id": 38146,
|
|
962
962
|
"name": "require",
|
|
963
963
|
"nodeType": "Identifier",
|
|
964
964
|
"overloadedDeclarations": [
|
|
@@ -972,7 +972,7 @@
|
|
|
972
972
|
"typeString": "function (bool,string memory) pure"
|
|
973
973
|
}
|
|
974
974
|
},
|
|
975
|
-
"id":
|
|
975
|
+
"id": 38158,
|
|
976
976
|
"isConstant": false,
|
|
977
977
|
"isLValue": false,
|
|
978
978
|
"isPure": false,
|
|
@@ -987,7 +987,7 @@
|
|
|
987
987
|
"typeString": "tuple()"
|
|
988
988
|
}
|
|
989
989
|
},
|
|
990
|
-
"id":
|
|
990
|
+
"id": 38159,
|
|
991
991
|
"nodeType": "ExpressionStatement",
|
|
992
992
|
"src": "1033:89:102"
|
|
993
993
|
},
|
|
@@ -1069,26 +1069,26 @@
|
|
|
1069
1069
|
"evmVersion": "london",
|
|
1070
1070
|
"externalReferences": [
|
|
1071
1071
|
{
|
|
1072
|
-
"declaration":
|
|
1072
|
+
"declaration": 38144,
|
|
1073
1073
|
"isOffset": false,
|
|
1074
1074
|
"isSlot": false,
|
|
1075
1075
|
"src": "1375:3:102",
|
|
1076
1076
|
"valueSize": 1
|
|
1077
1077
|
}
|
|
1078
1078
|
],
|
|
1079
|
-
"id":
|
|
1079
|
+
"id": 38160,
|
|
1080
1080
|
"nodeType": "InlineAssembly",
|
|
1081
1081
|
"src": "1352:84:102"
|
|
1082
1082
|
}
|
|
1083
1083
|
]
|
|
1084
1084
|
},
|
|
1085
1085
|
"documentation": {
|
|
1086
|
-
"id":
|
|
1086
|
+
"id": 38141,
|
|
1087
1087
|
"nodeType": "StructuredDocumentation",
|
|
1088
1088
|
"src": "669:264:102",
|
|
1089
1089
|
"text": " @dev Return the transaction signer of this call\n if the call came through our trusted forwarder, return the original sender.\n otherwise, return `msg.sender`.\n should be used in the contract anywhere instead of msg.sender"
|
|
1090
1090
|
},
|
|
1091
|
-
"id":
|
|
1091
|
+
"id": 38162,
|
|
1092
1092
|
"implemented": true,
|
|
1093
1093
|
"kind": "function",
|
|
1094
1094
|
"modifiers": [],
|
|
@@ -1096,23 +1096,23 @@
|
|
|
1096
1096
|
"nameLocation": "947:21:102",
|
|
1097
1097
|
"nodeType": "FunctionDefinition",
|
|
1098
1098
|
"parameters": {
|
|
1099
|
-
"id":
|
|
1099
|
+
"id": 38142,
|
|
1100
1100
|
"nodeType": "ParameterList",
|
|
1101
1101
|
"parameters": [],
|
|
1102
1102
|
"src": "968:2:102"
|
|
1103
1103
|
},
|
|
1104
1104
|
"returnParameters": {
|
|
1105
|
-
"id":
|
|
1105
|
+
"id": 38145,
|
|
1106
1106
|
"nodeType": "ParameterList",
|
|
1107
1107
|
"parameters": [
|
|
1108
1108
|
{
|
|
1109
1109
|
"constant": false,
|
|
1110
|
-
"id":
|
|
1110
|
+
"id": 38144,
|
|
1111
1111
|
"mutability": "mutable",
|
|
1112
1112
|
"name": "ret",
|
|
1113
1113
|
"nameLocation": "1018:3:102",
|
|
1114
1114
|
"nodeType": "VariableDeclaration",
|
|
1115
|
-
"scope":
|
|
1115
|
+
"scope": 38162,
|
|
1116
1116
|
"src": "1002:19:102",
|
|
1117
1117
|
"stateVariable": false,
|
|
1118
1118
|
"storageLocation": "default",
|
|
@@ -1121,7 +1121,7 @@
|
|
|
1121
1121
|
"typeString": "address payable"
|
|
1122
1122
|
},
|
|
1123
1123
|
"typeName": {
|
|
1124
|
-
"id":
|
|
1124
|
+
"id": 38143,
|
|
1125
1125
|
"name": "address",
|
|
1126
1126
|
"nodeType": "ElementaryTypeName",
|
|
1127
1127
|
"src": "1002:15:102",
|
|
@@ -1136,14 +1136,14 @@
|
|
|
1136
1136
|
],
|
|
1137
1137
|
"src": "1001:21:102"
|
|
1138
1138
|
},
|
|
1139
|
-
"scope":
|
|
1139
|
+
"scope": 38163,
|
|
1140
1140
|
"src": "938:504:102",
|
|
1141
1141
|
"stateMutability": "view",
|
|
1142
1142
|
"virtual": true,
|
|
1143
1143
|
"visibility": "internal"
|
|
1144
1144
|
}
|
|
1145
1145
|
],
|
|
1146
|
-
"scope":
|
|
1146
|
+
"scope": 38164,
|
|
1147
1147
|
"src": "448:997:102",
|
|
1148
1148
|
"usedErrors": []
|
|
1149
1149
|
}
|
|
@@ -1156,7 +1156,7 @@
|
|
|
1156
1156
|
},
|
|
1157
1157
|
"networks": {},
|
|
1158
1158
|
"schemaVersion": "3.4.4",
|
|
1159
|
-
"updatedAt": "2022-03-
|
|
1159
|
+
"updatedAt": "2022-03-16T15:02:43.013Z",
|
|
1160
1160
|
"devdoc": {
|
|
1161
1161
|
"author": "Superfluid",
|
|
1162
1162
|
"details": "A base contract to be inherited by any contract that want to receive relayed transactions A subclass must use \"_msgSender()\" instead of \"msg.sender\" MODIFIED FROM: https://github.com/opengsn/forwarder/blob/master/contracts/BaseRelayRecipient.sol",
|