@superfluid-finance/ethereum-contracts 1.3.2-dev.32db5c3.0 → 1.3.2-dev.5081272.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 +9 -9
- package/build/contracts/AgreementLibrary.json +1 -1
- package/build/contracts/BaseRelayRecipient.json +112 -112
- package/build/contracts/BatchLiquidator.json +1043 -1043
- package/build/contracts/BatchOperation.json +1 -1
- package/build/contracts/CFAv1Forwarder.json +2042 -2042
- package/build/contracts/CFAv1Library.json +1 -1
- package/build/contracts/CallUtils.json +478 -478
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +3618 -3618
- package/build/contracts/ConstantFlowAgreementV1.json +5187 -5187
- 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 +79 -79
- package/build/contracts/ERC1820RegistryCompiled.json +43 -43
- package/build/contracts/ERC20.json +1008 -1008
- package/build/contracts/ERC20Burnable.json +1 -1
- package/build/contracts/ERC20Pausable.json +1 -1
- package/build/contracts/ERC20PresetMinterPauser.json +1816 -1816
- package/build/contracts/ERC20WithTokenInfo.json +6 -6
- package/build/contracts/ERC777Helper.json +660 -660
- package/build/contracts/ERC777RecipientDrainingGas.json +1871 -1871
- package/build/contracts/ERC777RecipientReverting.json +1893 -1893
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +82 -82
- package/build/contracts/ExclusiveInflowTestApp.json +3646 -3646
- package/build/contracts/FixedSizeData.json +405 -405
- package/build/contracts/FlowExchangeTestApp.json +3756 -3756
- package/build/contracts/FlowOperatorDefinitions.json +1 -1
- package/build/contracts/FullUpgradableSuperTokenProxy.json +303 -303
- 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/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 +45 -45
- package/build/contracts/IPureSuperToken.json +63 -63
- package/build/contracts/IPureSuperTokenCustom.json +63 -63
- package/build/contracts/IRelayRecipient.json +49 -49
- package/build/contracts/IResolver.json +73 -73
- package/build/contracts/ISETH.json +73 -73
- package/build/contracts/ISETHCustom.json +73 -73
- package/build/contracts/ISuperAgreement.json +1 -1
- package/build/contracts/ISuperApp.json +1 -1
- package/build/contracts/ISuperToken.json +12 -12
- package/build/contracts/ISuperTokenFactory.json +1 -1
- package/build/contracts/ISuperfluid.json +4 -4
- package/build/contracts/ISuperfluidGovernance.json +1 -1
- package/build/contracts/ISuperfluidToken.json +1 -1
- package/build/contracts/ITOGAv1.json +2143 -2143
- package/build/contracts/ITOGAv2.json +2143 -2143
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5442 -5442
- package/build/contracts/NonClosableOutflowTestApp.json +3521 -3521
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Pausable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/PureSuperToken.json +697 -697
- package/build/contracts/Resolver.json +1066 -1066
- package/build/contracts/SETHProxy.json +666 -666
- 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 +3618 -3618
- package/build/contracts/SlotsBitmapLibrary.json +1754 -1754
- package/build/contracts/StreamRedirector.json +2989 -2989
- 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 +9139 -9139
- package/build/contracts/SuperTokenFactory.json +2114 -2114
- package/build/contracts/SuperTokenFactoryBase.json +1012 -1012
- package/build/contracts/SuperTokenFactoryHelper.json +1116 -1116
- package/build/contracts/SuperUpgrader.json +2492 -2492
- package/build/contracts/Superfluid.json +12888 -12888
- package/build/contracts/SuperfluidFrameworkDeployer.json +2420 -2420
- package/build/contracts/SuperfluidGovernanceBase.json +20 -20
- package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
- package/build/contracts/SuperfluidGovernanceII.json +2613 -2613
- package/build/contracts/SuperfluidGovernanceIIProxy.json +224 -224
- package/build/contracts/SuperfluidLoader.json +767 -767
- package/build/contracts/SuperfluidToken.json +2331 -2331
- package/build/contracts/TOGA.json +4118 -4118
- package/build/contracts/TestGovernance.json +2886 -2886
- package/build/contracts/TestToken.json +1254 -1254
- package/build/contracts/TokenCustodian.json +903 -903
- package/build/contracts/TokenInfo.json +58 -58
- package/build/contracts/UUPSProxiable.json +247 -247
- package/build/contracts/UUPSProxy.json +257 -257
- package/build/contracts/UUPSUtils.json +85 -85
- package/package.json +2 -2
- package/build/contracts/IMaticBridgedNativeSuperToken.json +0 -2413
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +0 -508
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +0 -5567
- package/contracts/interfaces/tokens/IMaticBridgedNativeSuperToken.sol +0 -29
- package/contracts/tokens/MaticBridgedNativeSuperToken.sol +0 -46
- package/scripts/deploy-matic-bridged-native-super-token.js +0 -75
|
@@ -48,35 +48,35 @@
|
|
|
48
48
|
"absolutePath": "project:/contracts/libs/BaseRelayRecipient.sol",
|
|
49
49
|
"exportedSymbols": {
|
|
50
50
|
"BaseRelayRecipient": [
|
|
51
|
-
|
|
51
|
+
21504
|
|
52
52
|
],
|
|
53
53
|
"IRelayRecipient": [
|
|
54
|
-
|
|
54
|
+
21440
|
|
55
55
|
]
|
|
56
56
|
},
|
|
57
|
-
"id":
|
|
57
|
+
"id": 21505,
|
|
58
58
|
"license": "AGPLv3",
|
|
59
59
|
"nodeType": "SourceUnit",
|
|
60
60
|
"nodes": [
|
|
61
61
|
{
|
|
62
|
-
"id":
|
|
62
|
+
"id": 21468,
|
|
63
63
|
"literals": [
|
|
64
64
|
"solidity",
|
|
65
65
|
"0.8",
|
|
66
66
|
".14"
|
|
67
67
|
],
|
|
68
68
|
"nodeType": "PragmaDirective",
|
|
69
|
-
"src": "35:23:
|
|
69
|
+
"src": "35:23:59"
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"absolutePath": "project:/contracts/interfaces/utils/IRelayRecipient.sol",
|
|
73
73
|
"file": "../interfaces/utils/IRelayRecipient.sol",
|
|
74
|
-
"id":
|
|
74
|
+
"id": 21469,
|
|
75
75
|
"nameLocation": "-1:-1:-1",
|
|
76
76
|
"nodeType": "ImportDirective",
|
|
77
|
-
"scope":
|
|
78
|
-
"sourceUnit":
|
|
79
|
-
"src": "60:49:
|
|
77
|
+
"scope": 21505,
|
|
78
|
+
"sourceUnit": 21441,
|
|
79
|
+
"src": "60:49:59",
|
|
80
80
|
"symbolAliases": [],
|
|
81
81
|
"unitAlias": ""
|
|
82
82
|
},
|
|
@@ -85,73 +85,73 @@
|
|
|
85
85
|
"baseContracts": [
|
|
86
86
|
{
|
|
87
87
|
"baseName": {
|
|
88
|
-
"id":
|
|
88
|
+
"id": 21471,
|
|
89
89
|
"name": "IRelayRecipient",
|
|
90
90
|
"nodeType": "IdentifierPath",
|
|
91
|
-
"referencedDeclaration":
|
|
92
|
-
"src": "492:15:
|
|
91
|
+
"referencedDeclaration": 21440,
|
|
92
|
+
"src": "492:15:59"
|
|
93
93
|
},
|
|
94
|
-
"id":
|
|
94
|
+
"id": 21472,
|
|
95
95
|
"nodeType": "InheritanceSpecifier",
|
|
96
|
-
"src": "492:15:
|
|
96
|
+
"src": "492:15:59"
|
|
97
97
|
}
|
|
98
98
|
],
|
|
99
99
|
"canonicalName": "BaseRelayRecipient",
|
|
100
100
|
"contractDependencies": [],
|
|
101
101
|
"contractKind": "contract",
|
|
102
102
|
"documentation": {
|
|
103
|
-
"id":
|
|
103
|
+
"id": 21470,
|
|
104
104
|
"nodeType": "StructuredDocumentation",
|
|
105
|
-
"src": "112:339:
|
|
105
|
+
"src": "112:339:59",
|
|
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": 21504,
|
|
110
110
|
"linearizedBaseContracts": [
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
21504,
|
|
112
|
+
21440
|
|
113
113
|
],
|
|
114
114
|
"name": "BaseRelayRecipient",
|
|
115
|
-
"nameLocation": "470:18:
|
|
115
|
+
"nameLocation": "470:18:59",
|
|
116
116
|
"nodeType": "ContractDefinition",
|
|
117
117
|
"nodes": [
|
|
118
118
|
{
|
|
119
119
|
"baseFunctions": [
|
|
120
|
-
|
|
120
|
+
21433
|
|
121
121
|
],
|
|
122
122
|
"documentation": {
|
|
123
|
-
"id":
|
|
123
|
+
"id": 21473,
|
|
124
124
|
"nodeType": "StructuredDocumentation",
|
|
125
|
-
"src": "515:57:
|
|
125
|
+
"src": "515:57:59",
|
|
126
126
|
"text": " @dev Check if the forwarder is trusted"
|
|
127
127
|
},
|
|
128
128
|
"functionSelector": "572b6c05",
|
|
129
|
-
"id":
|
|
129
|
+
"id": 21481,
|
|
130
130
|
"implemented": false,
|
|
131
131
|
"kind": "function",
|
|
132
132
|
"modifiers": [],
|
|
133
133
|
"name": "isTrustedForwarder",
|
|
134
|
-
"nameLocation": "586:18:
|
|
134
|
+
"nameLocation": "586:18:59",
|
|
135
135
|
"nodeType": "FunctionDefinition",
|
|
136
136
|
"overrides": {
|
|
137
|
-
"id":
|
|
137
|
+
"id": 21477,
|
|
138
138
|
"nodeType": "OverrideSpecifier",
|
|
139
139
|
"overrides": [],
|
|
140
|
-
"src": "644:8:
|
|
140
|
+
"src": "644:8:59"
|
|
141
141
|
},
|
|
142
142
|
"parameters": {
|
|
143
|
-
"id":
|
|
143
|
+
"id": 21476,
|
|
144
144
|
"nodeType": "ParameterList",
|
|
145
145
|
"parameters": [
|
|
146
146
|
{
|
|
147
147
|
"constant": false,
|
|
148
|
-
"id":
|
|
148
|
+
"id": 21475,
|
|
149
149
|
"mutability": "mutable",
|
|
150
150
|
"name": "forwarder",
|
|
151
|
-
"nameLocation": "613:9:
|
|
151
|
+
"nameLocation": "613:9:59",
|
|
152
152
|
"nodeType": "VariableDeclaration",
|
|
153
|
-
"scope":
|
|
154
|
-
"src": "605:17:
|
|
153
|
+
"scope": 21481,
|
|
154
|
+
"src": "605:17:59",
|
|
155
155
|
"stateVariable": false,
|
|
156
156
|
"storageLocation": "default",
|
|
157
157
|
"typeDescriptions": {
|
|
@@ -159,10 +159,10 @@
|
|
|
159
159
|
"typeString": "address"
|
|
160
160
|
},
|
|
161
161
|
"typeName": {
|
|
162
|
-
"id":
|
|
162
|
+
"id": 21474,
|
|
163
163
|
"name": "address",
|
|
164
164
|
"nodeType": "ElementaryTypeName",
|
|
165
|
-
"src": "605:7:
|
|
165
|
+
"src": "605:7:59",
|
|
166
166
|
"stateMutability": "nonpayable",
|
|
167
167
|
"typeDescriptions": {
|
|
168
168
|
"typeIdentifier": "t_address",
|
|
@@ -172,21 +172,21 @@
|
|
|
172
172
|
"visibility": "internal"
|
|
173
173
|
}
|
|
174
174
|
],
|
|
175
|
-
"src": "604:19:
|
|
175
|
+
"src": "604:19:59"
|
|
176
176
|
},
|
|
177
177
|
"returnParameters": {
|
|
178
|
-
"id":
|
|
178
|
+
"id": 21480,
|
|
179
179
|
"nodeType": "ParameterList",
|
|
180
180
|
"parameters": [
|
|
181
181
|
{
|
|
182
182
|
"constant": false,
|
|
183
|
-
"id":
|
|
183
|
+
"id": 21479,
|
|
184
184
|
"mutability": "mutable",
|
|
185
185
|
"name": "",
|
|
186
186
|
"nameLocation": "-1:-1:-1",
|
|
187
187
|
"nodeType": "VariableDeclaration",
|
|
188
|
-
"scope":
|
|
189
|
-
"src": "661:4:
|
|
188
|
+
"scope": 21481,
|
|
189
|
+
"src": "661:4:59",
|
|
190
190
|
"stateVariable": false,
|
|
191
191
|
"storageLocation": "default",
|
|
192
192
|
"typeDescriptions": {
|
|
@@ -194,10 +194,10 @@
|
|
|
194
194
|
"typeString": "bool"
|
|
195
195
|
},
|
|
196
196
|
"typeName": {
|
|
197
|
-
"id":
|
|
197
|
+
"id": 21478,
|
|
198
198
|
"name": "bool",
|
|
199
199
|
"nodeType": "ElementaryTypeName",
|
|
200
|
-
"src": "661:4:
|
|
200
|
+
"src": "661:4:59",
|
|
201
201
|
"typeDescriptions": {
|
|
202
202
|
"typeIdentifier": "t_bool",
|
|
203
203
|
"typeString": "bool"
|
|
@@ -206,19 +206,19 @@
|
|
|
206
206
|
"visibility": "internal"
|
|
207
207
|
}
|
|
208
208
|
],
|
|
209
|
-
"src": "660:6:
|
|
209
|
+
"src": "660:6:59"
|
|
210
210
|
},
|
|
211
|
-
"scope":
|
|
212
|
-
"src": "577:90:
|
|
211
|
+
"scope": 21504,
|
|
212
|
+
"src": "577:90:59",
|
|
213
213
|
"stateMutability": "view",
|
|
214
214
|
"virtual": true,
|
|
215
215
|
"visibility": "public"
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
218
|
"body": {
|
|
219
|
-
"id":
|
|
219
|
+
"id": 21502,
|
|
220
220
|
"nodeType": "Block",
|
|
221
|
-
"src": "1027:419:
|
|
221
|
+
"src": "1027:419:59",
|
|
222
222
|
"statements": [
|
|
223
223
|
{
|
|
224
224
|
"expression": {
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
"typeIdentifier": "t_bool",
|
|
229
229
|
"typeString": "bool"
|
|
230
230
|
},
|
|
231
|
-
"id":
|
|
231
|
+
"id": 21497,
|
|
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": 21492,
|
|
242
242
|
"isConstant": false,
|
|
243
243
|
"isLValue": false,
|
|
244
244
|
"isPure": false,
|
|
@@ -246,38 +246,38 @@
|
|
|
246
246
|
"leftExpression": {
|
|
247
247
|
"expression": {
|
|
248
248
|
"expression": {
|
|
249
|
-
"id":
|
|
249
|
+
"id": 21488,
|
|
250
250
|
"name": "msg",
|
|
251
251
|
"nodeType": "Identifier",
|
|
252
252
|
"overloadedDeclarations": [],
|
|
253
253
|
"referencedDeclaration": 4294967281,
|
|
254
|
-
"src": "1045:3:
|
|
254
|
+
"src": "1045:3:59",
|
|
255
255
|
"typeDescriptions": {
|
|
256
256
|
"typeIdentifier": "t_magic_message",
|
|
257
257
|
"typeString": "msg"
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
|
-
"id":
|
|
260
|
+
"id": 21489,
|
|
261
261
|
"isConstant": false,
|
|
262
262
|
"isLValue": false,
|
|
263
263
|
"isPure": false,
|
|
264
264
|
"lValueRequested": false,
|
|
265
265
|
"memberName": "data",
|
|
266
266
|
"nodeType": "MemberAccess",
|
|
267
|
-
"src": "1045:8:
|
|
267
|
+
"src": "1045:8:59",
|
|
268
268
|
"typeDescriptions": {
|
|
269
269
|
"typeIdentifier": "t_bytes_calldata_ptr",
|
|
270
270
|
"typeString": "bytes calldata"
|
|
271
271
|
}
|
|
272
272
|
},
|
|
273
|
-
"id":
|
|
273
|
+
"id": 21490,
|
|
274
274
|
"isConstant": false,
|
|
275
275
|
"isLValue": false,
|
|
276
276
|
"isPure": false,
|
|
277
277
|
"lValueRequested": false,
|
|
278
278
|
"memberName": "length",
|
|
279
279
|
"nodeType": "MemberAccess",
|
|
280
|
-
"src": "1045:15:
|
|
280
|
+
"src": "1045:15:59",
|
|
281
281
|
"typeDescriptions": {
|
|
282
282
|
"typeIdentifier": "t_uint256",
|
|
283
283
|
"typeString": "uint256"
|
|
@@ -287,21 +287,21 @@
|
|
|
287
287
|
"operator": ">=",
|
|
288
288
|
"rightExpression": {
|
|
289
289
|
"hexValue": "3234",
|
|
290
|
-
"id":
|
|
290
|
+
"id": 21491,
|
|
291
291
|
"isConstant": false,
|
|
292
292
|
"isLValue": false,
|
|
293
293
|
"isPure": true,
|
|
294
294
|
"kind": "number",
|
|
295
295
|
"lValueRequested": false,
|
|
296
296
|
"nodeType": "Literal",
|
|
297
|
-
"src": "1064:2:
|
|
297
|
+
"src": "1064:2:59",
|
|
298
298
|
"typeDescriptions": {
|
|
299
299
|
"typeIdentifier": "t_rational_24_by_1",
|
|
300
300
|
"typeString": "int_const 24"
|
|
301
301
|
},
|
|
302
302
|
"value": "24"
|
|
303
303
|
},
|
|
304
|
-
"src": "1045:21:
|
|
304
|
+
"src": "1045:21:59",
|
|
305
305
|
"typeDescriptions": {
|
|
306
306
|
"typeIdentifier": "t_bool",
|
|
307
307
|
"typeString": "bool"
|
|
@@ -313,25 +313,25 @@
|
|
|
313
313
|
"arguments": [
|
|
314
314
|
{
|
|
315
315
|
"expression": {
|
|
316
|
-
"id":
|
|
316
|
+
"id": 21494,
|
|
317
317
|
"name": "msg",
|
|
318
318
|
"nodeType": "Identifier",
|
|
319
319
|
"overloadedDeclarations": [],
|
|
320
320
|
"referencedDeclaration": 4294967281,
|
|
321
|
-
"src": "1089:3:
|
|
321
|
+
"src": "1089:3:59",
|
|
322
322
|
"typeDescriptions": {
|
|
323
323
|
"typeIdentifier": "t_magic_message",
|
|
324
324
|
"typeString": "msg"
|
|
325
325
|
}
|
|
326
326
|
},
|
|
327
|
-
"id":
|
|
327
|
+
"id": 21495,
|
|
328
328
|
"isConstant": false,
|
|
329
329
|
"isLValue": false,
|
|
330
330
|
"isPure": false,
|
|
331
331
|
"lValueRequested": false,
|
|
332
332
|
"memberName": "sender",
|
|
333
333
|
"nodeType": "MemberAccess",
|
|
334
|
-
"src": "1089:10:
|
|
334
|
+
"src": "1089:10:59",
|
|
335
335
|
"typeDescriptions": {
|
|
336
336
|
"typeIdentifier": "t_address",
|
|
337
337
|
"typeString": "address"
|
|
@@ -345,18 +345,18 @@
|
|
|
345
345
|
"typeString": "address"
|
|
346
346
|
}
|
|
347
347
|
],
|
|
348
|
-
"id":
|
|
348
|
+
"id": 21493,
|
|
349
349
|
"name": "isTrustedForwarder",
|
|
350
350
|
"nodeType": "Identifier",
|
|
351
351
|
"overloadedDeclarations": [],
|
|
352
|
-
"referencedDeclaration":
|
|
353
|
-
"src": "1070:18:
|
|
352
|
+
"referencedDeclaration": 21481,
|
|
353
|
+
"src": "1070:18:59",
|
|
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": 21496,
|
|
360
360
|
"isConstant": false,
|
|
361
361
|
"isLValue": false,
|
|
362
362
|
"isPure": false,
|
|
@@ -364,14 +364,14 @@
|
|
|
364
364
|
"lValueRequested": false,
|
|
365
365
|
"names": [],
|
|
366
366
|
"nodeType": "FunctionCall",
|
|
367
|
-
"src": "1070:30:
|
|
367
|
+
"src": "1070:30:59",
|
|
368
368
|
"tryCall": false,
|
|
369
369
|
"typeDescriptions": {
|
|
370
370
|
"typeIdentifier": "t_bool",
|
|
371
371
|
"typeString": "bool"
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
|
-
"src": "1045:55:
|
|
374
|
+
"src": "1045:55:59",
|
|
375
375
|
"typeDescriptions": {
|
|
376
376
|
"typeIdentifier": "t_bool",
|
|
377
377
|
"typeString": "bool"
|
|
@@ -379,14 +379,14 @@
|
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
381
|
"hexValue": "4e6f74207472757374656420666f72776172646572",
|
|
382
|
-
"id":
|
|
382
|
+
"id": 21498,
|
|
383
383
|
"isConstant": false,
|
|
384
384
|
"isLValue": false,
|
|
385
385
|
"isPure": true,
|
|
386
386
|
"kind": "string",
|
|
387
387
|
"lValueRequested": false,
|
|
388
388
|
"nodeType": "Literal",
|
|
389
|
-
"src": "1102:23:
|
|
389
|
+
"src": "1102:23:59",
|
|
390
390
|
"typeDescriptions": {
|
|
391
391
|
"typeIdentifier": "t_stringliteral_c55544493bc7eeb535999264c70f56bda4911db54b18ae1e4ae3be74ec809c39",
|
|
392
392
|
"typeString": "literal_string \"Not trusted forwarder\""
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
"typeString": "literal_string \"Not trusted forwarder\""
|
|
406
406
|
}
|
|
407
407
|
],
|
|
408
|
-
"id":
|
|
408
|
+
"id": 21487,
|
|
409
409
|
"name": "require",
|
|
410
410
|
"nodeType": "Identifier",
|
|
411
411
|
"overloadedDeclarations": [
|
|
@@ -413,13 +413,13 @@
|
|
|
413
413
|
4294967278
|
|
414
414
|
],
|
|
415
415
|
"referencedDeclaration": 4294967278,
|
|
416
|
-
"src": "1037:7:
|
|
416
|
+
"src": "1037:7:59",
|
|
417
417
|
"typeDescriptions": {
|
|
418
418
|
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
419
419
|
"typeString": "function (bool,string memory) pure"
|
|
420
420
|
}
|
|
421
421
|
},
|
|
422
|
-
"id":
|
|
422
|
+
"id": 21499,
|
|
423
423
|
"isConstant": false,
|
|
424
424
|
"isLValue": false,
|
|
425
425
|
"isPure": false,
|
|
@@ -427,31 +427,31 @@
|
|
|
427
427
|
"lValueRequested": false,
|
|
428
428
|
"names": [],
|
|
429
429
|
"nodeType": "FunctionCall",
|
|
430
|
-
"src": "1037:89:
|
|
430
|
+
"src": "1037:89:59",
|
|
431
431
|
"tryCall": false,
|
|
432
432
|
"typeDescriptions": {
|
|
433
433
|
"typeIdentifier": "t_tuple$__$",
|
|
434
434
|
"typeString": "tuple()"
|
|
435
435
|
}
|
|
436
436
|
},
|
|
437
|
-
"id":
|
|
437
|
+
"id": 21500,
|
|
438
438
|
"nodeType": "ExpressionStatement",
|
|
439
|
-
"src": "1037:89:
|
|
439
|
+
"src": "1037:89:59"
|
|
440
440
|
},
|
|
441
441
|
{
|
|
442
442
|
"AST": {
|
|
443
443
|
"nodeType": "YulBlock",
|
|
444
|
-
"src": "1365:75:
|
|
444
|
+
"src": "1365:75:59",
|
|
445
445
|
"statements": [
|
|
446
446
|
{
|
|
447
447
|
"nodeType": "YulAssignment",
|
|
448
|
-
"src": "1379:51:
|
|
448
|
+
"src": "1379:51:59",
|
|
449
449
|
"value": {
|
|
450
450
|
"arguments": [
|
|
451
451
|
{
|
|
452
452
|
"kind": "number",
|
|
453
453
|
"nodeType": "YulLiteral",
|
|
454
|
-
"src": "1390:2:
|
|
454
|
+
"src": "1390:2:59",
|
|
455
455
|
"type": "",
|
|
456
456
|
"value": "96"
|
|
457
457
|
},
|
|
@@ -464,15 +464,15 @@
|
|
|
464
464
|
"functionName": {
|
|
465
465
|
"name": "calldatasize",
|
|
466
466
|
"nodeType": "YulIdentifier",
|
|
467
|
-
"src": "1410:12:
|
|
467
|
+
"src": "1410:12:59"
|
|
468
468
|
},
|
|
469
469
|
"nodeType": "YulFunctionCall",
|
|
470
|
-
"src": "1410:14:
|
|
470
|
+
"src": "1410:14:59"
|
|
471
471
|
},
|
|
472
472
|
{
|
|
473
473
|
"kind": "number",
|
|
474
474
|
"nodeType": "YulLiteral",
|
|
475
|
-
"src": "1425:2:
|
|
475
|
+
"src": "1425:2:59",
|
|
476
476
|
"type": "",
|
|
477
477
|
"value": "20"
|
|
478
478
|
}
|
|
@@ -480,34 +480,34 @@
|
|
|
480
480
|
"functionName": {
|
|
481
481
|
"name": "sub",
|
|
482
482
|
"nodeType": "YulIdentifier",
|
|
483
|
-
"src": "1406:3:
|
|
483
|
+
"src": "1406:3:59"
|
|
484
484
|
},
|
|
485
485
|
"nodeType": "YulFunctionCall",
|
|
486
|
-
"src": "1406:22:
|
|
486
|
+
"src": "1406:22:59"
|
|
487
487
|
}
|
|
488
488
|
],
|
|
489
489
|
"functionName": {
|
|
490
490
|
"name": "calldataload",
|
|
491
491
|
"nodeType": "YulIdentifier",
|
|
492
|
-
"src": "1393:12:
|
|
492
|
+
"src": "1393:12:59"
|
|
493
493
|
},
|
|
494
494
|
"nodeType": "YulFunctionCall",
|
|
495
|
-
"src": "1393:36:
|
|
495
|
+
"src": "1393:36:59"
|
|
496
496
|
}
|
|
497
497
|
],
|
|
498
498
|
"functionName": {
|
|
499
499
|
"name": "shr",
|
|
500
500
|
"nodeType": "YulIdentifier",
|
|
501
|
-
"src": "1386:3:
|
|
501
|
+
"src": "1386:3:59"
|
|
502
502
|
},
|
|
503
503
|
"nodeType": "YulFunctionCall",
|
|
504
|
-
"src": "1386:44:
|
|
504
|
+
"src": "1386:44:59"
|
|
505
505
|
},
|
|
506
506
|
"variableNames": [
|
|
507
507
|
{
|
|
508
508
|
"name": "ret",
|
|
509
509
|
"nodeType": "YulIdentifier",
|
|
510
|
-
"src": "1379:3:
|
|
510
|
+
"src": "1379:3:59"
|
|
511
511
|
}
|
|
512
512
|
]
|
|
513
513
|
}
|
|
@@ -516,51 +516,51 @@
|
|
|
516
516
|
"evmVersion": "london",
|
|
517
517
|
"externalReferences": [
|
|
518
518
|
{
|
|
519
|
-
"declaration":
|
|
519
|
+
"declaration": 21485,
|
|
520
520
|
"isOffset": false,
|
|
521
521
|
"isSlot": false,
|
|
522
|
-
"src": "1379:3:
|
|
522
|
+
"src": "1379:3:59",
|
|
523
523
|
"valueSize": 1
|
|
524
524
|
}
|
|
525
525
|
],
|
|
526
|
-
"id":
|
|
526
|
+
"id": 21501,
|
|
527
527
|
"nodeType": "InlineAssembly",
|
|
528
|
-
"src": "1356:84:
|
|
528
|
+
"src": "1356:84:59"
|
|
529
529
|
}
|
|
530
530
|
]
|
|
531
531
|
},
|
|
532
532
|
"documentation": {
|
|
533
|
-
"id":
|
|
533
|
+
"id": 21482,
|
|
534
534
|
"nodeType": "StructuredDocumentation",
|
|
535
|
-
"src": "673:264:
|
|
535
|
+
"src": "673:264:59",
|
|
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": 21503,
|
|
539
539
|
"implemented": true,
|
|
540
540
|
"kind": "function",
|
|
541
541
|
"modifiers": [],
|
|
542
542
|
"name": "_getTransactionSigner",
|
|
543
|
-
"nameLocation": "951:21:
|
|
543
|
+
"nameLocation": "951:21:59",
|
|
544
544
|
"nodeType": "FunctionDefinition",
|
|
545
545
|
"parameters": {
|
|
546
|
-
"id":
|
|
546
|
+
"id": 21483,
|
|
547
547
|
"nodeType": "ParameterList",
|
|
548
548
|
"parameters": [],
|
|
549
|
-
"src": "972:2:
|
|
549
|
+
"src": "972:2:59"
|
|
550
550
|
},
|
|
551
551
|
"returnParameters": {
|
|
552
|
-
"id":
|
|
552
|
+
"id": 21486,
|
|
553
553
|
"nodeType": "ParameterList",
|
|
554
554
|
"parameters": [
|
|
555
555
|
{
|
|
556
556
|
"constant": false,
|
|
557
|
-
"id":
|
|
557
|
+
"id": 21485,
|
|
558
558
|
"mutability": "mutable",
|
|
559
559
|
"name": "ret",
|
|
560
|
-
"nameLocation": "1022:3:
|
|
560
|
+
"nameLocation": "1022:3:59",
|
|
561
561
|
"nodeType": "VariableDeclaration",
|
|
562
|
-
"scope":
|
|
563
|
-
"src": "1006:19:
|
|
562
|
+
"scope": 21503,
|
|
563
|
+
"src": "1006:19:59",
|
|
564
564
|
"stateVariable": false,
|
|
565
565
|
"storageLocation": "default",
|
|
566
566
|
"typeDescriptions": {
|
|
@@ -568,10 +568,10 @@
|
|
|
568
568
|
"typeString": "address payable"
|
|
569
569
|
},
|
|
570
570
|
"typeName": {
|
|
571
|
-
"id":
|
|
571
|
+
"id": 21484,
|
|
572
572
|
"name": "address",
|
|
573
573
|
"nodeType": "ElementaryTypeName",
|
|
574
|
-
"src": "1006:15:
|
|
574
|
+
"src": "1006:15:59",
|
|
575
575
|
"stateMutability": "payable",
|
|
576
576
|
"typeDescriptions": {
|
|
577
577
|
"typeIdentifier": "t_address_payable",
|
|
@@ -581,21 +581,21 @@
|
|
|
581
581
|
"visibility": "internal"
|
|
582
582
|
}
|
|
583
583
|
],
|
|
584
|
-
"src": "1005:21:
|
|
584
|
+
"src": "1005:21:59"
|
|
585
585
|
},
|
|
586
|
-
"scope":
|
|
587
|
-
"src": "942:504:
|
|
586
|
+
"scope": 21504,
|
|
587
|
+
"src": "942:504:59",
|
|
588
588
|
"stateMutability": "view",
|
|
589
589
|
"virtual": true,
|
|
590
590
|
"visibility": "internal"
|
|
591
591
|
}
|
|
592
592
|
],
|
|
593
|
-
"scope":
|
|
594
|
-
"src": "452:997:
|
|
593
|
+
"scope": 21505,
|
|
594
|
+
"src": "452:997:59",
|
|
595
595
|
"usedErrors": []
|
|
596
596
|
}
|
|
597
597
|
],
|
|
598
|
-
"src": "35:1415:
|
|
598
|
+
"src": "35:1415:59"
|
|
599
599
|
},
|
|
600
600
|
"compiler": {
|
|
601
601
|
"name": "solc",
|
|
@@ -603,7 +603,7 @@
|
|
|
603
603
|
},
|
|
604
604
|
"networks": {},
|
|
605
605
|
"schemaVersion": "3.4.8",
|
|
606
|
-
"updatedAt": "2022-08-
|
|
606
|
+
"updatedAt": "2022-08-31T11:12:02.022Z",
|
|
607
607
|
"devdoc": {
|
|
608
608
|
"author": "Superfluid",
|
|
609
609
|
"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",
|