@superfluid-finance/ethereum-contracts 1.4.1 → 1.4.2-dev.e06ddfc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +28 -28
- package/build/contracts/AgreementLibrary.json +165 -165
- package/build/contracts/BaseRelayRecipient.json +55 -55
- package/build/contracts/BatchLiquidator.json +208 -208
- package/build/contracts/BatchOperation.json +788 -788
- package/build/contracts/CFAv1Forwarder.json +1321 -1321
- package/build/contracts/CFAv1Library.json +2279 -2279
- package/build/contracts/CallUtils.json +198 -198
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1544 -1544
- package/build/contracts/ConstantFlowAgreementV1.json +1702 -1622
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +788 -788
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +19 -19
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- package/build/contracts/ERC1820RegistryCompiled.json +22 -22
- package/build/contracts/ERC20.json +1 -1
- package/build/contracts/ERC20Burnable.json +1 -1
- package/build/contracts/ERC20Pausable.json +1 -1
- package/build/contracts/ERC20PresetMinterPauser.json +1 -1
- package/build/contracts/ERC20WithTokenInfo.json +23 -23
- package/build/contracts/ERC777Helper.json +380 -380
- package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
- package/build/contracts/ERC777RecipientReverting.json +855 -855
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +43 -43
- package/build/contracts/ExclusiveInflowTestApp.json +1544 -1544
- package/build/contracts/FixedSizeData.json +200 -200
- package/build/contracts/FlowExchangeTestApp.json +1545 -1545
- package/build/contracts/FlowOperatorDefinitions.json +788 -788
- package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +615 -615
- package/build/contracts/IDAv1Library.json +2611 -2611
- 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 +652 -652
- package/build/contracts/IMultiSigWallet.json +24 -24
- package/build/contracts/IPureSuperToken.json +47 -47
- package/build/contracts/IPureSuperTokenCustom.json +47 -47
- package/build/contracts/IRelayRecipient.json +27 -27
- package/build/contracts/IResolver.json +38 -38
- package/build/contracts/ISETH.json +52 -52
- package/build/contracts/ISETHCustom.json +52 -52
- package/build/contracts/ISuperAgreement.json +50 -50
- package/build/contracts/ISuperApp.json +191 -191
- package/build/contracts/ISuperToken.json +544 -544
- package/build/contracts/ISuperTokenFactory.json +166 -166
- package/build/contracts/ISuperfluid.json +886 -886
- package/build/contracts/ISuperfluidGovernance.json +254 -254
- package/build/contracts/ISuperfluidToken.json +395 -395
- package/build/contracts/ITOGAv1.json +1441 -1441
- package/build/contracts/ITOGAv2.json +1441 -1441
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5894 -5894
- package/build/contracts/NonClosableOutflowTestApp.json +1545 -1545
- 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 +106 -106
- package/build/contracts/Resolver.json +98 -98
- package/build/contracts/SETHProxy.json +224 -224
- 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 +1544 -1544
- package/build/contracts/SlotsBitmapLibrary.json +457 -457
- package/build/contracts/StreamRedirector.json +745 -745
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +239 -239
- package/build/contracts/SuperAppDefinitions.json +788 -788
- package/build/contracts/SuperToken.json +2477 -2477
- package/build/contracts/SuperTokenFactory.json +774 -774
- package/build/contracts/SuperTokenFactoryBase.json +764 -764
- package/build/contracts/SuperTokenFactoryHelper.json +767 -767
- package/build/contracts/SuperUpgrader.json +437 -437
- package/build/contracts/Superfluid.json +5096 -5096
- package/build/contracts/SuperfluidErrors.json +788 -788
- package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
- package/build/contracts/SuperfluidGovernanceBase.json +2459 -2459
- package/build/contracts/SuperfluidGovernanceConfigs.json +788 -788
- package/build/contracts/SuperfluidGovernanceII.json +155 -155
- package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
- package/build/contracts/SuperfluidLoader.json +207 -207
- package/build/contracts/SuperfluidToken.json +1471 -1471
- package/build/contracts/TOGA.json +1457 -1457
- package/build/contracts/TestGovernance.json +250 -250
- package/build/contracts/TestToken.json +93 -93
- package/build/contracts/TokenCustodian.json +214 -214
- package/build/contracts/TokenInfo.json +32 -32
- package/build/contracts/UUPSProxiable.json +139 -139
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +1 -1
- package/contracts/agreements/ConstantFlowAgreementV1.sol +4 -0
- package/package.json +9 -5
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
"absolutePath": "project:/contracts/libs/ERC777Helper.sol",
|
|
16
16
|
"exportedSymbols": {
|
|
17
17
|
"ERC777Helper": [
|
|
18
|
-
|
|
18
|
+
21534
|
|
19
19
|
],
|
|
20
20
|
"IERC1820Registry": [
|
|
21
21
|
3245
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
|
-
"id":
|
|
24
|
+
"id": 21535,
|
|
25
25
|
"license": "AGPLv3",
|
|
26
26
|
"nodeType": "SourceUnit",
|
|
27
27
|
"nodes": [
|
|
28
28
|
{
|
|
29
|
-
"id":
|
|
29
|
+
"id": 21281,
|
|
30
30
|
"literals": [
|
|
31
31
|
"solidity",
|
|
32
32
|
"0.8",
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
{
|
|
39
39
|
"absolutePath": "@openzeppelin/contracts/utils/introspection/IERC1820Registry.sol",
|
|
40
40
|
"file": "@openzeppelin/contracts/utils/introspection/IERC1820Registry.sol",
|
|
41
|
-
"id":
|
|
41
|
+
"id": 21283,
|
|
42
42
|
"nameLocation": "-1:-1:-1",
|
|
43
43
|
"nodeType": "ImportDirective",
|
|
44
|
-
"scope":
|
|
44
|
+
"scope": 21535,
|
|
45
45
|
"sourceUnit": 3246,
|
|
46
46
|
"src": "60:100:61",
|
|
47
47
|
"symbolAliases": [
|
|
48
48
|
{
|
|
49
49
|
"foreign": {
|
|
50
|
-
"id":
|
|
50
|
+
"id": 21282,
|
|
51
51
|
"name": "IERC1820Registry",
|
|
52
52
|
"nodeType": "Identifier",
|
|
53
53
|
"overloadedDeclarations": [],
|
|
@@ -67,15 +67,15 @@
|
|
|
67
67
|
"contractDependencies": [],
|
|
68
68
|
"contractKind": "library",
|
|
69
69
|
"documentation": {
|
|
70
|
-
"id":
|
|
70
|
+
"id": 21284,
|
|
71
71
|
"nodeType": "StructuredDocumentation",
|
|
72
72
|
"src": "162:61:61",
|
|
73
73
|
"text": " @title ERC777 helper library\n @author Superfluid"
|
|
74
74
|
},
|
|
75
75
|
"fullyImplemented": true,
|
|
76
|
-
"id":
|
|
76
|
+
"id": 21534,
|
|
77
77
|
"linearizedBaseContracts": [
|
|
78
|
-
|
|
78
|
+
21534
|
|
79
79
|
],
|
|
80
80
|
"name": "ERC777Helper",
|
|
81
81
|
"nameLocation": "232:12:61",
|
|
@@ -83,12 +83,12 @@
|
|
|
83
83
|
"nodes": [
|
|
84
84
|
{
|
|
85
85
|
"constant": true,
|
|
86
|
-
"id":
|
|
86
|
+
"id": 21290,
|
|
87
87
|
"mutability": "constant",
|
|
88
88
|
"name": "_ERC1820_REGISTRY",
|
|
89
89
|
"nameLocation": "287:17:61",
|
|
90
90
|
"nodeType": "VariableDeclaration",
|
|
91
|
-
"scope":
|
|
91
|
+
"scope": 21534,
|
|
92
92
|
"src": "252:123:61",
|
|
93
93
|
"stateVariable": true,
|
|
94
94
|
"storageLocation": "default",
|
|
@@ -97,10 +97,10 @@
|
|
|
97
97
|
"typeString": "contract IERC1820Registry"
|
|
98
98
|
},
|
|
99
99
|
"typeName": {
|
|
100
|
-
"id":
|
|
100
|
+
"id": 21286,
|
|
101
101
|
"nodeType": "UserDefinedTypeName",
|
|
102
102
|
"pathNode": {
|
|
103
|
-
"id":
|
|
103
|
+
"id": 21285,
|
|
104
104
|
"name": "IERC1820Registry",
|
|
105
105
|
"nameLocations": [
|
|
106
106
|
"252:16:61"
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"arguments": [
|
|
121
121
|
{
|
|
122
122
|
"hexValue": "307831383230613442373631384264453731446365386364633733614142364339353930356661443234",
|
|
123
|
-
"id":
|
|
123
|
+
"id": 21288,
|
|
124
124
|
"isConstant": false,
|
|
125
125
|
"isLValue": false,
|
|
126
126
|
"isPure": true,
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"typeString": "address"
|
|
143
143
|
}
|
|
144
144
|
],
|
|
145
|
-
"id":
|
|
145
|
+
"id": 21287,
|
|
146
146
|
"name": "IERC1820Registry",
|
|
147
147
|
"nodeType": "Identifier",
|
|
148
148
|
"overloadedDeclarations": [],
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"typeString": "type(contract IERC1820Registry)"
|
|
154
154
|
}
|
|
155
155
|
},
|
|
156
|
-
"id":
|
|
156
|
+
"id": 21289,
|
|
157
157
|
"isConstant": false,
|
|
158
158
|
"isLValue": false,
|
|
159
159
|
"isPure": true,
|
|
@@ -173,12 +173,12 @@
|
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
175
|
"constant": true,
|
|
176
|
-
"id":
|
|
176
|
+
"id": 21293,
|
|
177
177
|
"mutability": "constant",
|
|
178
178
|
"name": "_TOKENS_SENDER_INTERFACE_HASH",
|
|
179
179
|
"nameLocation": "447:29:61",
|
|
180
180
|
"nodeType": "VariableDeclaration",
|
|
181
|
-
"scope":
|
|
181
|
+
"scope": 21534,
|
|
182
182
|
"src": "421:132:61",
|
|
183
183
|
"stateVariable": true,
|
|
184
184
|
"storageLocation": "default",
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"typeString": "bytes32"
|
|
188
188
|
},
|
|
189
189
|
"typeName": {
|
|
190
|
-
"id":
|
|
190
|
+
"id": 21291,
|
|
191
191
|
"name": "bytes32",
|
|
192
192
|
"nodeType": "ElementaryTypeName",
|
|
193
193
|
"src": "421:7:61",
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
},
|
|
199
199
|
"value": {
|
|
200
200
|
"hexValue": "307832396464623538396231666235666337636633393439363163316164663566386336343534373631616466373935653637666531343966363538616265383935",
|
|
201
|
-
"id":
|
|
201
|
+
"id": 21292,
|
|
202
202
|
"isConstant": false,
|
|
203
203
|
"isLValue": false,
|
|
204
204
|
"isPure": true,
|
|
@@ -216,12 +216,12 @@
|
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
218
|
"constant": true,
|
|
219
|
-
"id":
|
|
219
|
+
"id": 21296,
|
|
220
220
|
"mutability": "constant",
|
|
221
221
|
"name": "_TOKENS_RECIPIENT_INTERFACE_HASH",
|
|
222
222
|
"nameLocation": "628:32:61",
|
|
223
223
|
"nodeType": "VariableDeclaration",
|
|
224
|
-
"scope":
|
|
224
|
+
"scope": 21534,
|
|
225
225
|
"src": "602:135:61",
|
|
226
226
|
"stateVariable": true,
|
|
227
227
|
"storageLocation": "default",
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
"typeString": "bytes32"
|
|
231
231
|
},
|
|
232
232
|
"typeName": {
|
|
233
|
-
"id":
|
|
233
|
+
"id": 21294,
|
|
234
234
|
"name": "bytes32",
|
|
235
235
|
"nodeType": "ElementaryTypeName",
|
|
236
236
|
"src": "602:7:61",
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
},
|
|
242
242
|
"value": {
|
|
243
243
|
"hexValue": "307862323831666338633132393534643232353434646234356465333135396133393237323839356231363961383532623331346639636337363265343463353362",
|
|
244
|
-
"id":
|
|
244
|
+
"id": 21295,
|
|
245
245
|
"isConstant": false,
|
|
246
246
|
"isLValue": false,
|
|
247
247
|
"isPure": true,
|
|
@@ -259,16 +259,16 @@
|
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
261
|
"canonicalName": "ERC777Helper.Operators",
|
|
262
|
-
"id":
|
|
262
|
+
"id": 21316,
|
|
263
263
|
"members": [
|
|
264
264
|
{
|
|
265
265
|
"constant": false,
|
|
266
|
-
"id":
|
|
266
|
+
"id": 21299,
|
|
267
267
|
"mutability": "mutable",
|
|
268
268
|
"name": "defaultOperatorsArray",
|
|
269
269
|
"nameLocation": "835:21:61",
|
|
270
270
|
"nodeType": "VariableDeclaration",
|
|
271
|
-
"scope":
|
|
271
|
+
"scope": 21316,
|
|
272
272
|
"src": "825:31:61",
|
|
273
273
|
"stateVariable": false,
|
|
274
274
|
"storageLocation": "default",
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
},
|
|
279
279
|
"typeName": {
|
|
280
280
|
"baseType": {
|
|
281
|
-
"id":
|
|
281
|
+
"id": 21297,
|
|
282
282
|
"name": "address",
|
|
283
283
|
"nodeType": "ElementaryTypeName",
|
|
284
284
|
"src": "825:7:61",
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
"typeString": "address"
|
|
289
289
|
}
|
|
290
290
|
},
|
|
291
|
-
"id":
|
|
291
|
+
"id": 21298,
|
|
292
292
|
"nodeType": "ArrayTypeName",
|
|
293
293
|
"src": "825:9:61",
|
|
294
294
|
"typeDescriptions": {
|
|
@@ -300,12 +300,12 @@
|
|
|
300
300
|
},
|
|
301
301
|
{
|
|
302
302
|
"constant": false,
|
|
303
|
-
"id":
|
|
303
|
+
"id": 21303,
|
|
304
304
|
"mutability": "mutable",
|
|
305
305
|
"name": "defaultOperators",
|
|
306
306
|
"nameLocation": "891:16:61",
|
|
307
307
|
"nodeType": "VariableDeclaration",
|
|
308
|
-
"scope":
|
|
308
|
+
"scope": 21316,
|
|
309
309
|
"src": "866:41:61",
|
|
310
310
|
"stateVariable": false,
|
|
311
311
|
"storageLocation": "default",
|
|
@@ -314,9 +314,9 @@
|
|
|
314
314
|
"typeString": "mapping(address => bool)"
|
|
315
315
|
},
|
|
316
316
|
"typeName": {
|
|
317
|
-
"id":
|
|
317
|
+
"id": 21302,
|
|
318
318
|
"keyType": {
|
|
319
|
-
"id":
|
|
319
|
+
"id": 21300,
|
|
320
320
|
"name": "address",
|
|
321
321
|
"nodeType": "ElementaryTypeName",
|
|
322
322
|
"src": "874:7:61",
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
"typeString": "mapping(address => bool)"
|
|
333
333
|
},
|
|
334
334
|
"valueType": {
|
|
335
|
-
"id":
|
|
335
|
+
"id": 21301,
|
|
336
336
|
"name": "bool",
|
|
337
337
|
"nodeType": "ElementaryTypeName",
|
|
338
338
|
"src": "885:4:61",
|
|
@@ -346,12 +346,12 @@
|
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
348
|
"constant": false,
|
|
349
|
-
"id":
|
|
349
|
+
"id": 21309,
|
|
350
350
|
"mutability": "mutable",
|
|
351
351
|
"name": "operators",
|
|
352
352
|
"nameLocation": "962:9:61",
|
|
353
353
|
"nodeType": "VariableDeclaration",
|
|
354
|
-
"scope":
|
|
354
|
+
"scope": 21316,
|
|
355
355
|
"src": "917:54:61",
|
|
356
356
|
"stateVariable": false,
|
|
357
357
|
"storageLocation": "default",
|
|
@@ -360,9 +360,9 @@
|
|
|
360
360
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
361
361
|
},
|
|
362
362
|
"typeName": {
|
|
363
|
-
"id":
|
|
363
|
+
"id": 21308,
|
|
364
364
|
"keyType": {
|
|
365
|
-
"id":
|
|
365
|
+
"id": 21304,
|
|
366
366
|
"name": "address",
|
|
367
367
|
"nodeType": "ElementaryTypeName",
|
|
368
368
|
"src": "925:7:61",
|
|
@@ -378,9 +378,9 @@
|
|
|
378
378
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
379
379
|
},
|
|
380
380
|
"valueType": {
|
|
381
|
-
"id":
|
|
381
|
+
"id": 21307,
|
|
382
382
|
"keyType": {
|
|
383
|
-
"id":
|
|
383
|
+
"id": 21305,
|
|
384
384
|
"name": "address",
|
|
385
385
|
"nodeType": "ElementaryTypeName",
|
|
386
386
|
"src": "944:7:61",
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
"typeString": "mapping(address => bool)"
|
|
397
397
|
},
|
|
398
398
|
"valueType": {
|
|
399
|
-
"id":
|
|
399
|
+
"id": 21306,
|
|
400
400
|
"name": "bool",
|
|
401
401
|
"nodeType": "ElementaryTypeName",
|
|
402
402
|
"src": "955:4:61",
|
|
@@ -411,12 +411,12 @@
|
|
|
411
411
|
},
|
|
412
412
|
{
|
|
413
413
|
"constant": false,
|
|
414
|
-
"id":
|
|
414
|
+
"id": 21315,
|
|
415
415
|
"mutability": "mutable",
|
|
416
416
|
"name": "revokedDefaultOperators",
|
|
417
417
|
"nameLocation": "1026:23:61",
|
|
418
418
|
"nodeType": "VariableDeclaration",
|
|
419
|
-
"scope":
|
|
419
|
+
"scope": 21316,
|
|
420
420
|
"src": "981:68:61",
|
|
421
421
|
"stateVariable": false,
|
|
422
422
|
"storageLocation": "default",
|
|
@@ -425,9 +425,9 @@
|
|
|
425
425
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
426
426
|
},
|
|
427
427
|
"typeName": {
|
|
428
|
-
"id":
|
|
428
|
+
"id": 21314,
|
|
429
429
|
"keyType": {
|
|
430
|
-
"id":
|
|
430
|
+
"id": 21310,
|
|
431
431
|
"name": "address",
|
|
432
432
|
"nodeType": "ElementaryTypeName",
|
|
433
433
|
"src": "989:7:61",
|
|
@@ -443,9 +443,9 @@
|
|
|
443
443
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
444
444
|
},
|
|
445
445
|
"valueType": {
|
|
446
|
-
"id":
|
|
446
|
+
"id": 21313,
|
|
447
447
|
"keyType": {
|
|
448
|
-
"id":
|
|
448
|
+
"id": 21311,
|
|
449
449
|
"name": "address",
|
|
450
450
|
"nodeType": "ElementaryTypeName",
|
|
451
451
|
"src": "1008:7:61",
|
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
"typeString": "mapping(address => bool)"
|
|
462
462
|
},
|
|
463
463
|
"valueType": {
|
|
464
|
-
"id":
|
|
464
|
+
"id": 21312,
|
|
465
465
|
"name": "bool",
|
|
466
466
|
"nodeType": "ElementaryTypeName",
|
|
467
467
|
"src": "1019:4:61",
|
|
@@ -478,13 +478,13 @@
|
|
|
478
478
|
"name": "Operators",
|
|
479
479
|
"nameLocation": "805:9:61",
|
|
480
480
|
"nodeType": "StructDefinition",
|
|
481
|
-
"scope":
|
|
481
|
+
"scope": 21534,
|
|
482
482
|
"src": "798:258:61",
|
|
483
483
|
"visibility": "public"
|
|
484
484
|
},
|
|
485
485
|
{
|
|
486
486
|
"body": {
|
|
487
|
-
"id":
|
|
487
|
+
"id": 21347,
|
|
488
488
|
"nodeType": "Block",
|
|
489
489
|
"src": "1104:204:61",
|
|
490
490
|
"statements": [
|
|
@@ -492,11 +492,11 @@
|
|
|
492
492
|
"expression": {
|
|
493
493
|
"arguments": [
|
|
494
494
|
{
|
|
495
|
-
"id":
|
|
495
|
+
"id": 21324,
|
|
496
496
|
"name": "token",
|
|
497
497
|
"nodeType": "Identifier",
|
|
498
498
|
"overloadedDeclarations": [],
|
|
499
|
-
"referencedDeclaration":
|
|
499
|
+
"referencedDeclaration": 21318,
|
|
500
500
|
"src": "1156:5:61",
|
|
501
501
|
"typeDescriptions": {
|
|
502
502
|
"typeIdentifier": "t_address",
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
"arguments": [
|
|
508
508
|
{
|
|
509
509
|
"hexValue": "455243373737546f6b656e",
|
|
510
|
-
"id":
|
|
510
|
+
"id": 21326,
|
|
511
511
|
"isConstant": false,
|
|
512
512
|
"isLValue": false,
|
|
513
513
|
"isPure": true,
|
|
@@ -529,7 +529,7 @@
|
|
|
529
529
|
"typeString": "literal_string \"ERC777Token\""
|
|
530
530
|
}
|
|
531
531
|
],
|
|
532
|
-
"id":
|
|
532
|
+
"id": 21325,
|
|
533
533
|
"name": "keccak256",
|
|
534
534
|
"nodeType": "Identifier",
|
|
535
535
|
"overloadedDeclarations": [],
|
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
541
541
|
}
|
|
542
542
|
},
|
|
543
|
-
"id":
|
|
543
|
+
"id": 21327,
|
|
544
544
|
"isConstant": false,
|
|
545
545
|
"isLValue": false,
|
|
546
546
|
"isPure": true,
|
|
@@ -559,14 +559,14 @@
|
|
|
559
559
|
{
|
|
560
560
|
"arguments": [
|
|
561
561
|
{
|
|
562
|
-
"id":
|
|
562
|
+
"id": 21330,
|
|
563
563
|
"name": "this",
|
|
564
564
|
"nodeType": "Identifier",
|
|
565
565
|
"overloadedDeclarations": [],
|
|
566
566
|
"referencedDeclaration": 4294967268,
|
|
567
567
|
"src": "1197:4:61",
|
|
568
568
|
"typeDescriptions": {
|
|
569
|
-
"typeIdentifier": "t_contract$_ERC777Helper_$
|
|
569
|
+
"typeIdentifier": "t_contract$_ERC777Helper_$21534",
|
|
570
570
|
"typeString": "library ERC777Helper"
|
|
571
571
|
}
|
|
572
572
|
}
|
|
@@ -574,11 +574,11 @@
|
|
|
574
574
|
"expression": {
|
|
575
575
|
"argumentTypes": [
|
|
576
576
|
{
|
|
577
|
-
"typeIdentifier": "t_contract$_ERC777Helper_$
|
|
577
|
+
"typeIdentifier": "t_contract$_ERC777Helper_$21534",
|
|
578
578
|
"typeString": "library ERC777Helper"
|
|
579
579
|
}
|
|
580
580
|
],
|
|
581
|
-
"id":
|
|
581
|
+
"id": 21329,
|
|
582
582
|
"isConstant": false,
|
|
583
583
|
"isLValue": false,
|
|
584
584
|
"isPure": true,
|
|
@@ -590,14 +590,14 @@
|
|
|
590
590
|
"typeString": "type(address)"
|
|
591
591
|
},
|
|
592
592
|
"typeName": {
|
|
593
|
-
"id":
|
|
593
|
+
"id": 21328,
|
|
594
594
|
"name": "address",
|
|
595
595
|
"nodeType": "ElementaryTypeName",
|
|
596
596
|
"src": "1189:7:61",
|
|
597
597
|
"typeDescriptions": {}
|
|
598
598
|
}
|
|
599
599
|
},
|
|
600
|
-
"id":
|
|
600
|
+
"id": 21331,
|
|
601
601
|
"isConstant": false,
|
|
602
602
|
"isLValue": false,
|
|
603
603
|
"isPure": false,
|
|
@@ -630,18 +630,18 @@
|
|
|
630
630
|
}
|
|
631
631
|
],
|
|
632
632
|
"expression": {
|
|
633
|
-
"id":
|
|
633
|
+
"id": 21321,
|
|
634
634
|
"name": "_ERC1820_REGISTRY",
|
|
635
635
|
"nodeType": "Identifier",
|
|
636
636
|
"overloadedDeclarations": [],
|
|
637
|
-
"referencedDeclaration":
|
|
637
|
+
"referencedDeclaration": 21290,
|
|
638
638
|
"src": "1114:17:61",
|
|
639
639
|
"typeDescriptions": {
|
|
640
640
|
"typeIdentifier": "t_contract$_IERC1820Registry_$3245",
|
|
641
641
|
"typeString": "contract IERC1820Registry"
|
|
642
642
|
}
|
|
643
643
|
},
|
|
644
|
-
"id":
|
|
644
|
+
"id": 21323,
|
|
645
645
|
"isConstant": false,
|
|
646
646
|
"isLValue": false,
|
|
647
647
|
"isPure": false,
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
"typeString": "function (address,bytes32,address) external"
|
|
657
657
|
}
|
|
658
658
|
},
|
|
659
|
-
"id":
|
|
659
|
+
"id": 21332,
|
|
660
660
|
"isConstant": false,
|
|
661
661
|
"isLValue": false,
|
|
662
662
|
"isPure": false,
|
|
@@ -672,7 +672,7 @@
|
|
|
672
672
|
"typeString": "tuple()"
|
|
673
673
|
}
|
|
674
674
|
},
|
|
675
|
-
"id":
|
|
675
|
+
"id": 21333,
|
|
676
676
|
"nodeType": "ExpressionStatement",
|
|
677
677
|
"src": "1114:89:61"
|
|
678
678
|
},
|
|
@@ -680,11 +680,11 @@
|
|
|
680
680
|
"expression": {
|
|
681
681
|
"arguments": [
|
|
682
682
|
{
|
|
683
|
-
"id":
|
|
683
|
+
"id": 21337,
|
|
684
684
|
"name": "token",
|
|
685
685
|
"nodeType": "Identifier",
|
|
686
686
|
"overloadedDeclarations": [],
|
|
687
|
-
"referencedDeclaration":
|
|
687
|
+
"referencedDeclaration": 21318,
|
|
688
688
|
"src": "1255:5:61",
|
|
689
689
|
"typeDescriptions": {
|
|
690
690
|
"typeIdentifier": "t_address",
|
|
@@ -695,7 +695,7 @@
|
|
|
695
695
|
"arguments": [
|
|
696
696
|
{
|
|
697
697
|
"hexValue": "4552433230546f6b656e",
|
|
698
|
-
"id":
|
|
698
|
+
"id": 21339,
|
|
699
699
|
"isConstant": false,
|
|
700
700
|
"isLValue": false,
|
|
701
701
|
"isPure": true,
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
"typeString": "literal_string \"ERC20Token\""
|
|
718
718
|
}
|
|
719
719
|
],
|
|
720
|
-
"id":
|
|
720
|
+
"id": 21338,
|
|
721
721
|
"name": "keccak256",
|
|
722
722
|
"nodeType": "Identifier",
|
|
723
723
|
"overloadedDeclarations": [],
|
|
@@ -728,7 +728,7 @@
|
|
|
728
728
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
729
729
|
}
|
|
730
730
|
},
|
|
731
|
-
"id":
|
|
731
|
+
"id": 21340,
|
|
732
732
|
"isConstant": false,
|
|
733
733
|
"isLValue": false,
|
|
734
734
|
"isPure": true,
|
|
@@ -747,14 +747,14 @@
|
|
|
747
747
|
{
|
|
748
748
|
"arguments": [
|
|
749
749
|
{
|
|
750
|
-
"id":
|
|
750
|
+
"id": 21343,
|
|
751
751
|
"name": "this",
|
|
752
752
|
"nodeType": "Identifier",
|
|
753
753
|
"overloadedDeclarations": [],
|
|
754
754
|
"referencedDeclaration": 4294967268,
|
|
755
755
|
"src": "1295:4:61",
|
|
756
756
|
"typeDescriptions": {
|
|
757
|
-
"typeIdentifier": "t_contract$_ERC777Helper_$
|
|
757
|
+
"typeIdentifier": "t_contract$_ERC777Helper_$21534",
|
|
758
758
|
"typeString": "library ERC777Helper"
|
|
759
759
|
}
|
|
760
760
|
}
|
|
@@ -762,11 +762,11 @@
|
|
|
762
762
|
"expression": {
|
|
763
763
|
"argumentTypes": [
|
|
764
764
|
{
|
|
765
|
-
"typeIdentifier": "t_contract$_ERC777Helper_$
|
|
765
|
+
"typeIdentifier": "t_contract$_ERC777Helper_$21534",
|
|
766
766
|
"typeString": "library ERC777Helper"
|
|
767
767
|
}
|
|
768
768
|
],
|
|
769
|
-
"id":
|
|
769
|
+
"id": 21342,
|
|
770
770
|
"isConstant": false,
|
|
771
771
|
"isLValue": false,
|
|
772
772
|
"isPure": true,
|
|
@@ -778,14 +778,14 @@
|
|
|
778
778
|
"typeString": "type(address)"
|
|
779
779
|
},
|
|
780
780
|
"typeName": {
|
|
781
|
-
"id":
|
|
781
|
+
"id": 21341,
|
|
782
782
|
"name": "address",
|
|
783
783
|
"nodeType": "ElementaryTypeName",
|
|
784
784
|
"src": "1287:7:61",
|
|
785
785
|
"typeDescriptions": {}
|
|
786
786
|
}
|
|
787
787
|
},
|
|
788
|
-
"id":
|
|
788
|
+
"id": 21344,
|
|
789
789
|
"isConstant": false,
|
|
790
790
|
"isLValue": false,
|
|
791
791
|
"isPure": false,
|
|
@@ -818,18 +818,18 @@
|
|
|
818
818
|
}
|
|
819
819
|
],
|
|
820
820
|
"expression": {
|
|
821
|
-
"id":
|
|
821
|
+
"id": 21334,
|
|
822
822
|
"name": "_ERC1820_REGISTRY",
|
|
823
823
|
"nodeType": "Identifier",
|
|
824
824
|
"overloadedDeclarations": [],
|
|
825
|
-
"referencedDeclaration":
|
|
825
|
+
"referencedDeclaration": 21290,
|
|
826
826
|
"src": "1213:17:61",
|
|
827
827
|
"typeDescriptions": {
|
|
828
828
|
"typeIdentifier": "t_contract$_IERC1820Registry_$3245",
|
|
829
829
|
"typeString": "contract IERC1820Registry"
|
|
830
830
|
}
|
|
831
831
|
},
|
|
832
|
-
"id":
|
|
832
|
+
"id": 21336,
|
|
833
833
|
"isConstant": false,
|
|
834
834
|
"isLValue": false,
|
|
835
835
|
"isPure": false,
|
|
@@ -844,7 +844,7 @@
|
|
|
844
844
|
"typeString": "function (address,bytes32,address) external"
|
|
845
845
|
}
|
|
846
846
|
},
|
|
847
|
-
"id":
|
|
847
|
+
"id": 21345,
|
|
848
848
|
"isConstant": false,
|
|
849
849
|
"isLValue": false,
|
|
850
850
|
"isPure": false,
|
|
@@ -860,13 +860,13 @@
|
|
|
860
860
|
"typeString": "tuple()"
|
|
861
861
|
}
|
|
862
862
|
},
|
|
863
|
-
"id":
|
|
863
|
+
"id": 21346,
|
|
864
864
|
"nodeType": "ExpressionStatement",
|
|
865
865
|
"src": "1213:88:61"
|
|
866
866
|
}
|
|
867
867
|
]
|
|
868
868
|
},
|
|
869
|
-
"id":
|
|
869
|
+
"id": 21348,
|
|
870
870
|
"implemented": true,
|
|
871
871
|
"kind": "function",
|
|
872
872
|
"modifiers": [],
|
|
@@ -874,17 +874,17 @@
|
|
|
874
874
|
"nameLocation": "1071:8:61",
|
|
875
875
|
"nodeType": "FunctionDefinition",
|
|
876
876
|
"parameters": {
|
|
877
|
-
"id":
|
|
877
|
+
"id": 21319,
|
|
878
878
|
"nodeType": "ParameterList",
|
|
879
879
|
"parameters": [
|
|
880
880
|
{
|
|
881
881
|
"constant": false,
|
|
882
|
-
"id":
|
|
882
|
+
"id": 21318,
|
|
883
883
|
"mutability": "mutable",
|
|
884
884
|
"name": "token",
|
|
885
885
|
"nameLocation": "1088:5:61",
|
|
886
886
|
"nodeType": "VariableDeclaration",
|
|
887
|
-
"scope":
|
|
887
|
+
"scope": 21348,
|
|
888
888
|
"src": "1080:13:61",
|
|
889
889
|
"stateVariable": false,
|
|
890
890
|
"storageLocation": "default",
|
|
@@ -893,7 +893,7 @@
|
|
|
893
893
|
"typeString": "address"
|
|
894
894
|
},
|
|
895
895
|
"typeName": {
|
|
896
|
-
"id":
|
|
896
|
+
"id": 21317,
|
|
897
897
|
"name": "address",
|
|
898
898
|
"nodeType": "ElementaryTypeName",
|
|
899
899
|
"src": "1080:7:61",
|
|
@@ -909,12 +909,12 @@
|
|
|
909
909
|
"src": "1079:15:61"
|
|
910
910
|
},
|
|
911
911
|
"returnParameters": {
|
|
912
|
-
"id":
|
|
912
|
+
"id": 21320,
|
|
913
913
|
"nodeType": "ParameterList",
|
|
914
914
|
"parameters": [],
|
|
915
915
|
"src": "1104:0:61"
|
|
916
916
|
},
|
|
917
|
-
"scope":
|
|
917
|
+
"scope": 21534,
|
|
918
918
|
"src": "1062:246:61",
|
|
919
919
|
"stateMutability": "nonpayable",
|
|
920
920
|
"virtual": false,
|
|
@@ -922,7 +922,7 @@
|
|
|
922
922
|
},
|
|
923
923
|
{
|
|
924
924
|
"body": {
|
|
925
|
-
"id":
|
|
925
|
+
"id": 21385,
|
|
926
926
|
"nodeType": "Block",
|
|
927
927
|
"src": "1429:251:61",
|
|
928
928
|
"statements": [
|
|
@@ -932,7 +932,7 @@
|
|
|
932
932
|
"typeIdentifier": "t_bool",
|
|
933
933
|
"typeString": "bool"
|
|
934
934
|
},
|
|
935
|
-
"id":
|
|
935
|
+
"id": 21383,
|
|
936
936
|
"isConstant": false,
|
|
937
937
|
"isLValue": false,
|
|
938
938
|
"isPure": false,
|
|
@@ -942,7 +942,7 @@
|
|
|
942
942
|
"typeIdentifier": "t_bool",
|
|
943
943
|
"typeString": "bool"
|
|
944
944
|
},
|
|
945
|
-
"id":
|
|
945
|
+
"id": 21376,
|
|
946
946
|
"isConstant": false,
|
|
947
947
|
"isLValue": false,
|
|
948
948
|
"isPure": false,
|
|
@@ -952,17 +952,17 @@
|
|
|
952
952
|
"typeIdentifier": "t_address",
|
|
953
953
|
"typeString": "address"
|
|
954
954
|
},
|
|
955
|
-
"id":
|
|
955
|
+
"id": 21362,
|
|
956
956
|
"isConstant": false,
|
|
957
957
|
"isLValue": false,
|
|
958
958
|
"isPure": false,
|
|
959
959
|
"lValueRequested": false,
|
|
960
960
|
"leftExpression": {
|
|
961
|
-
"id":
|
|
961
|
+
"id": 21360,
|
|
962
962
|
"name": "operator",
|
|
963
963
|
"nodeType": "Identifier",
|
|
964
964
|
"overloadedDeclarations": [],
|
|
965
|
-
"referencedDeclaration":
|
|
965
|
+
"referencedDeclaration": 21353,
|
|
966
966
|
"src": "1446:8:61",
|
|
967
967
|
"typeDescriptions": {
|
|
968
968
|
"typeIdentifier": "t_address",
|
|
@@ -972,11 +972,11 @@
|
|
|
972
972
|
"nodeType": "BinaryOperation",
|
|
973
973
|
"operator": "==",
|
|
974
974
|
"rightExpression": {
|
|
975
|
-
"id":
|
|
975
|
+
"id": 21361,
|
|
976
976
|
"name": "tokenHolder",
|
|
977
977
|
"nodeType": "Identifier",
|
|
978
978
|
"overloadedDeclarations": [],
|
|
979
|
-
"referencedDeclaration":
|
|
979
|
+
"referencedDeclaration": 21355,
|
|
980
980
|
"src": "1458:11:61",
|
|
981
981
|
"typeDescriptions": {
|
|
982
982
|
"typeIdentifier": "t_address",
|
|
@@ -998,7 +998,7 @@
|
|
|
998
998
|
"typeIdentifier": "t_bool",
|
|
999
999
|
"typeString": "bool"
|
|
1000
1000
|
},
|
|
1001
|
-
"id":
|
|
1001
|
+
"id": 21374,
|
|
1002
1002
|
"isConstant": false,
|
|
1003
1003
|
"isLValue": false,
|
|
1004
1004
|
"isPure": false,
|
|
@@ -1006,18 +1006,18 @@
|
|
|
1006
1006
|
"leftExpression": {
|
|
1007
1007
|
"baseExpression": {
|
|
1008
1008
|
"expression": {
|
|
1009
|
-
"id":
|
|
1009
|
+
"id": 21363,
|
|
1010
1010
|
"name": "self",
|
|
1011
1011
|
"nodeType": "Identifier",
|
|
1012
1012
|
"overloadedDeclarations": [],
|
|
1013
|
-
"referencedDeclaration":
|
|
1013
|
+
"referencedDeclaration": 21351,
|
|
1014
1014
|
"src": "1503:4:61",
|
|
1015
1015
|
"typeDescriptions": {
|
|
1016
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1016
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
1017
1017
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1018
1018
|
}
|
|
1019
1019
|
},
|
|
1020
|
-
"id":
|
|
1020
|
+
"id": 21364,
|
|
1021
1021
|
"isConstant": false,
|
|
1022
1022
|
"isLValue": true,
|
|
1023
1023
|
"isPure": false,
|
|
@@ -1025,20 +1025,20 @@
|
|
|
1025
1025
|
"memberLocation": "1508:16:61",
|
|
1026
1026
|
"memberName": "defaultOperators",
|
|
1027
1027
|
"nodeType": "MemberAccess",
|
|
1028
|
-
"referencedDeclaration":
|
|
1028
|
+
"referencedDeclaration": 21303,
|
|
1029
1029
|
"src": "1503:21:61",
|
|
1030
1030
|
"typeDescriptions": {
|
|
1031
1031
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
1032
1032
|
"typeString": "mapping(address => bool)"
|
|
1033
1033
|
}
|
|
1034
1034
|
},
|
|
1035
|
-
"id":
|
|
1035
|
+
"id": 21366,
|
|
1036
1036
|
"indexExpression": {
|
|
1037
|
-
"id":
|
|
1037
|
+
"id": 21365,
|
|
1038
1038
|
"name": "operator",
|
|
1039
1039
|
"nodeType": "Identifier",
|
|
1040
1040
|
"overloadedDeclarations": [],
|
|
1041
|
-
"referencedDeclaration":
|
|
1041
|
+
"referencedDeclaration": 21353,
|
|
1042
1042
|
"src": "1525:8:61",
|
|
1043
1043
|
"typeDescriptions": {
|
|
1044
1044
|
"typeIdentifier": "t_address",
|
|
@@ -1059,7 +1059,7 @@
|
|
|
1059
1059
|
"nodeType": "BinaryOperation",
|
|
1060
1060
|
"operator": "&&",
|
|
1061
1061
|
"rightExpression": {
|
|
1062
|
-
"id":
|
|
1062
|
+
"id": 21373,
|
|
1063
1063
|
"isConstant": false,
|
|
1064
1064
|
"isLValue": false,
|
|
1065
1065
|
"isPure": false,
|
|
@@ -1072,18 +1072,18 @@
|
|
|
1072
1072
|
"baseExpression": {
|
|
1073
1073
|
"baseExpression": {
|
|
1074
1074
|
"expression": {
|
|
1075
|
-
"id":
|
|
1075
|
+
"id": 21367,
|
|
1076
1076
|
"name": "self",
|
|
1077
1077
|
"nodeType": "Identifier",
|
|
1078
1078
|
"overloadedDeclarations": [],
|
|
1079
|
-
"referencedDeclaration":
|
|
1079
|
+
"referencedDeclaration": 21351,
|
|
1080
1080
|
"src": "1555:4:61",
|
|
1081
1081
|
"typeDescriptions": {
|
|
1082
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1082
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
1083
1083
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1084
1084
|
}
|
|
1085
1085
|
},
|
|
1086
|
-
"id":
|
|
1086
|
+
"id": 21368,
|
|
1087
1087
|
"isConstant": false,
|
|
1088
1088
|
"isLValue": true,
|
|
1089
1089
|
"isPure": false,
|
|
@@ -1091,20 +1091,20 @@
|
|
|
1091
1091
|
"memberLocation": "1560:23:61",
|
|
1092
1092
|
"memberName": "revokedDefaultOperators",
|
|
1093
1093
|
"nodeType": "MemberAccess",
|
|
1094
|
-
"referencedDeclaration":
|
|
1094
|
+
"referencedDeclaration": 21315,
|
|
1095
1095
|
"src": "1555:28:61",
|
|
1096
1096
|
"typeDescriptions": {
|
|
1097
1097
|
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$",
|
|
1098
1098
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
1099
1099
|
}
|
|
1100
1100
|
},
|
|
1101
|
-
"id":
|
|
1101
|
+
"id": 21370,
|
|
1102
1102
|
"indexExpression": {
|
|
1103
|
-
"id":
|
|
1103
|
+
"id": 21369,
|
|
1104
1104
|
"name": "tokenHolder",
|
|
1105
1105
|
"nodeType": "Identifier",
|
|
1106
1106
|
"overloadedDeclarations": [],
|
|
1107
|
-
"referencedDeclaration":
|
|
1107
|
+
"referencedDeclaration": 21355,
|
|
1108
1108
|
"src": "1584:11:61",
|
|
1109
1109
|
"typeDescriptions": {
|
|
1110
1110
|
"typeIdentifier": "t_address",
|
|
@@ -1122,13 +1122,13 @@
|
|
|
1122
1122
|
"typeString": "mapping(address => bool)"
|
|
1123
1123
|
}
|
|
1124
1124
|
},
|
|
1125
|
-
"id":
|
|
1125
|
+
"id": 21372,
|
|
1126
1126
|
"indexExpression": {
|
|
1127
|
-
"id":
|
|
1127
|
+
"id": 21371,
|
|
1128
1128
|
"name": "operator",
|
|
1129
1129
|
"nodeType": "Identifier",
|
|
1130
1130
|
"overloadedDeclarations": [],
|
|
1131
|
-
"referencedDeclaration":
|
|
1131
|
+
"referencedDeclaration": 21353,
|
|
1132
1132
|
"src": "1597:8:61",
|
|
1133
1133
|
"typeDescriptions": {
|
|
1134
1134
|
"typeIdentifier": "t_address",
|
|
@@ -1158,7 +1158,7 @@
|
|
|
1158
1158
|
}
|
|
1159
1159
|
}
|
|
1160
1160
|
],
|
|
1161
|
-
"id":
|
|
1161
|
+
"id": 21375,
|
|
1162
1162
|
"isConstant": false,
|
|
1163
1163
|
"isInlineArray": false,
|
|
1164
1164
|
"isLValue": false,
|
|
@@ -1183,18 +1183,18 @@
|
|
|
1183
1183
|
"baseExpression": {
|
|
1184
1184
|
"baseExpression": {
|
|
1185
1185
|
"expression": {
|
|
1186
|
-
"id":
|
|
1186
|
+
"id": 21377,
|
|
1187
1187
|
"name": "self",
|
|
1188
1188
|
"nodeType": "Identifier",
|
|
1189
1189
|
"overloadedDeclarations": [],
|
|
1190
|
-
"referencedDeclaration":
|
|
1190
|
+
"referencedDeclaration": 21351,
|
|
1191
1191
|
"src": "1636:4:61",
|
|
1192
1192
|
"typeDescriptions": {
|
|
1193
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1193
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
1194
1194
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1195
1195
|
}
|
|
1196
1196
|
},
|
|
1197
|
-
"id":
|
|
1197
|
+
"id": 21378,
|
|
1198
1198
|
"isConstant": false,
|
|
1199
1199
|
"isLValue": true,
|
|
1200
1200
|
"isPure": false,
|
|
@@ -1202,20 +1202,20 @@
|
|
|
1202
1202
|
"memberLocation": "1641:9:61",
|
|
1203
1203
|
"memberName": "operators",
|
|
1204
1204
|
"nodeType": "MemberAccess",
|
|
1205
|
-
"referencedDeclaration":
|
|
1205
|
+
"referencedDeclaration": 21309,
|
|
1206
1206
|
"src": "1636:14:61",
|
|
1207
1207
|
"typeDescriptions": {
|
|
1208
1208
|
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$",
|
|
1209
1209
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
1210
1210
|
}
|
|
1211
1211
|
},
|
|
1212
|
-
"id":
|
|
1212
|
+
"id": 21380,
|
|
1213
1213
|
"indexExpression": {
|
|
1214
|
-
"id":
|
|
1214
|
+
"id": 21379,
|
|
1215
1215
|
"name": "tokenHolder",
|
|
1216
1216
|
"nodeType": "Identifier",
|
|
1217
1217
|
"overloadedDeclarations": [],
|
|
1218
|
-
"referencedDeclaration":
|
|
1218
|
+
"referencedDeclaration": 21355,
|
|
1219
1219
|
"src": "1651:11:61",
|
|
1220
1220
|
"typeDescriptions": {
|
|
1221
1221
|
"typeIdentifier": "t_address",
|
|
@@ -1233,13 +1233,13 @@
|
|
|
1233
1233
|
"typeString": "mapping(address => bool)"
|
|
1234
1234
|
}
|
|
1235
1235
|
},
|
|
1236
|
-
"id":
|
|
1236
|
+
"id": 21382,
|
|
1237
1237
|
"indexExpression": {
|
|
1238
|
-
"id":
|
|
1238
|
+
"id": 21381,
|
|
1239
1239
|
"name": "operator",
|
|
1240
1240
|
"nodeType": "Identifier",
|
|
1241
1241
|
"overloadedDeclarations": [],
|
|
1242
|
-
"referencedDeclaration":
|
|
1242
|
+
"referencedDeclaration": 21353,
|
|
1243
1243
|
"src": "1664:8:61",
|
|
1244
1244
|
"typeDescriptions": {
|
|
1245
1245
|
"typeIdentifier": "t_address",
|
|
@@ -1263,14 +1263,14 @@
|
|
|
1263
1263
|
"typeString": "bool"
|
|
1264
1264
|
}
|
|
1265
1265
|
},
|
|
1266
|
-
"functionReturnParameters":
|
|
1267
|
-
"id":
|
|
1266
|
+
"functionReturnParameters": 21359,
|
|
1267
|
+
"id": 21384,
|
|
1268
1268
|
"nodeType": "Return",
|
|
1269
1269
|
"src": "1439:234:61"
|
|
1270
1270
|
}
|
|
1271
1271
|
]
|
|
1272
1272
|
},
|
|
1273
|
-
"id":
|
|
1273
|
+
"id": 21386,
|
|
1274
1274
|
"implemented": true,
|
|
1275
1275
|
"kind": "function",
|
|
1276
1276
|
"modifiers": [],
|
|
@@ -1278,41 +1278,41 @@
|
|
|
1278
1278
|
"nameLocation": "1323:13:61",
|
|
1279
1279
|
"nodeType": "FunctionDefinition",
|
|
1280
1280
|
"parameters": {
|
|
1281
|
-
"id":
|
|
1281
|
+
"id": 21356,
|
|
1282
1282
|
"nodeType": "ParameterList",
|
|
1283
1283
|
"parameters": [
|
|
1284
1284
|
{
|
|
1285
1285
|
"constant": false,
|
|
1286
|
-
"id":
|
|
1286
|
+
"id": 21351,
|
|
1287
1287
|
"mutability": "mutable",
|
|
1288
1288
|
"name": "self",
|
|
1289
1289
|
"nameLocation": "1355:4:61",
|
|
1290
1290
|
"nodeType": "VariableDeclaration",
|
|
1291
|
-
"scope":
|
|
1291
|
+
"scope": 21386,
|
|
1292
1292
|
"src": "1337:22:61",
|
|
1293
1293
|
"stateVariable": false,
|
|
1294
1294
|
"storageLocation": "storage",
|
|
1295
1295
|
"typeDescriptions": {
|
|
1296
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1296
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
1297
1297
|
"typeString": "struct ERC777Helper.Operators"
|
|
1298
1298
|
},
|
|
1299
1299
|
"typeName": {
|
|
1300
|
-
"id":
|
|
1300
|
+
"id": 21350,
|
|
1301
1301
|
"nodeType": "UserDefinedTypeName",
|
|
1302
1302
|
"pathNode": {
|
|
1303
|
-
"id":
|
|
1303
|
+
"id": 21349,
|
|
1304
1304
|
"name": "Operators",
|
|
1305
1305
|
"nameLocations": [
|
|
1306
1306
|
"1337:9:61"
|
|
1307
1307
|
],
|
|
1308
1308
|
"nodeType": "IdentifierPath",
|
|
1309
|
-
"referencedDeclaration":
|
|
1309
|
+
"referencedDeclaration": 21316,
|
|
1310
1310
|
"src": "1337:9:61"
|
|
1311
1311
|
},
|
|
1312
|
-
"referencedDeclaration":
|
|
1312
|
+
"referencedDeclaration": 21316,
|
|
1313
1313
|
"src": "1337:9:61",
|
|
1314
1314
|
"typeDescriptions": {
|
|
1315
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1315
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
1316
1316
|
"typeString": "struct ERC777Helper.Operators"
|
|
1317
1317
|
}
|
|
1318
1318
|
},
|
|
@@ -1320,12 +1320,12 @@
|
|
|
1320
1320
|
},
|
|
1321
1321
|
{
|
|
1322
1322
|
"constant": false,
|
|
1323
|
-
"id":
|
|
1323
|
+
"id": 21353,
|
|
1324
1324
|
"mutability": "mutable",
|
|
1325
1325
|
"name": "operator",
|
|
1326
1326
|
"nameLocation": "1369:8:61",
|
|
1327
1327
|
"nodeType": "VariableDeclaration",
|
|
1328
|
-
"scope":
|
|
1328
|
+
"scope": 21386,
|
|
1329
1329
|
"src": "1361:16:61",
|
|
1330
1330
|
"stateVariable": false,
|
|
1331
1331
|
"storageLocation": "default",
|
|
@@ -1334,7 +1334,7 @@
|
|
|
1334
1334
|
"typeString": "address"
|
|
1335
1335
|
},
|
|
1336
1336
|
"typeName": {
|
|
1337
|
-
"id":
|
|
1337
|
+
"id": 21352,
|
|
1338
1338
|
"name": "address",
|
|
1339
1339
|
"nodeType": "ElementaryTypeName",
|
|
1340
1340
|
"src": "1361:7:61",
|
|
@@ -1348,12 +1348,12 @@
|
|
|
1348
1348
|
},
|
|
1349
1349
|
{
|
|
1350
1350
|
"constant": false,
|
|
1351
|
-
"id":
|
|
1351
|
+
"id": 21355,
|
|
1352
1352
|
"mutability": "mutable",
|
|
1353
1353
|
"name": "tokenHolder",
|
|
1354
1354
|
"nameLocation": "1387:11:61",
|
|
1355
1355
|
"nodeType": "VariableDeclaration",
|
|
1356
|
-
"scope":
|
|
1356
|
+
"scope": 21386,
|
|
1357
1357
|
"src": "1379:19:61",
|
|
1358
1358
|
"stateVariable": false,
|
|
1359
1359
|
"storageLocation": "default",
|
|
@@ -1362,7 +1362,7 @@
|
|
|
1362
1362
|
"typeString": "address"
|
|
1363
1363
|
},
|
|
1364
1364
|
"typeName": {
|
|
1365
|
-
"id":
|
|
1365
|
+
"id": 21354,
|
|
1366
1366
|
"name": "address",
|
|
1367
1367
|
"nodeType": "ElementaryTypeName",
|
|
1368
1368
|
"src": "1379:7:61",
|
|
@@ -1378,17 +1378,17 @@
|
|
|
1378
1378
|
"src": "1336:63:61"
|
|
1379
1379
|
},
|
|
1380
1380
|
"returnParameters": {
|
|
1381
|
-
"id":
|
|
1381
|
+
"id": 21359,
|
|
1382
1382
|
"nodeType": "ParameterList",
|
|
1383
1383
|
"parameters": [
|
|
1384
1384
|
{
|
|
1385
1385
|
"constant": false,
|
|
1386
|
-
"id":
|
|
1386
|
+
"id": 21358,
|
|
1387
1387
|
"mutability": "mutable",
|
|
1388
1388
|
"name": "",
|
|
1389
1389
|
"nameLocation": "-1:-1:-1",
|
|
1390
1390
|
"nodeType": "VariableDeclaration",
|
|
1391
|
-
"scope":
|
|
1391
|
+
"scope": 21386,
|
|
1392
1392
|
"src": "1423:4:61",
|
|
1393
1393
|
"stateVariable": false,
|
|
1394
1394
|
"storageLocation": "default",
|
|
@@ -1397,7 +1397,7 @@
|
|
|
1397
1397
|
"typeString": "bool"
|
|
1398
1398
|
},
|
|
1399
1399
|
"typeName": {
|
|
1400
|
-
"id":
|
|
1400
|
+
"id": 21357,
|
|
1401
1401
|
"name": "bool",
|
|
1402
1402
|
"nodeType": "ElementaryTypeName",
|
|
1403
1403
|
"src": "1423:4:61",
|
|
@@ -1411,7 +1411,7 @@
|
|
|
1411
1411
|
],
|
|
1412
1412
|
"src": "1422:6:61"
|
|
1413
1413
|
},
|
|
1414
|
-
"scope":
|
|
1414
|
+
"scope": 21534,
|
|
1415
1415
|
"src": "1314:366:61",
|
|
1416
1416
|
"stateMutability": "view",
|
|
1417
1417
|
"virtual": false,
|
|
@@ -1419,7 +1419,7 @@
|
|
|
1419
1419
|
},
|
|
1420
1420
|
{
|
|
1421
1421
|
"body": {
|
|
1422
|
-
"id":
|
|
1422
|
+
"id": 21428,
|
|
1423
1423
|
"nodeType": "Block",
|
|
1424
1424
|
"src": "1780:288:61",
|
|
1425
1425
|
"statements": [
|
|
@@ -1431,17 +1431,17 @@
|
|
|
1431
1431
|
"typeIdentifier": "t_address",
|
|
1432
1432
|
"typeString": "address"
|
|
1433
1433
|
},
|
|
1434
|
-
"id":
|
|
1434
|
+
"id": 21399,
|
|
1435
1435
|
"isConstant": false,
|
|
1436
1436
|
"isLValue": false,
|
|
1437
1437
|
"isPure": false,
|
|
1438
1438
|
"lValueRequested": false,
|
|
1439
1439
|
"leftExpression": {
|
|
1440
|
-
"id":
|
|
1440
|
+
"id": 21397,
|
|
1441
1441
|
"name": "holder",
|
|
1442
1442
|
"nodeType": "Identifier",
|
|
1443
1443
|
"overloadedDeclarations": [],
|
|
1444
|
-
"referencedDeclaration":
|
|
1444
|
+
"referencedDeclaration": 21391,
|
|
1445
1445
|
"src": "1798:6:61",
|
|
1446
1446
|
"typeDescriptions": {
|
|
1447
1447
|
"typeIdentifier": "t_address",
|
|
@@ -1451,11 +1451,11 @@
|
|
|
1451
1451
|
"nodeType": "BinaryOperation",
|
|
1452
1452
|
"operator": "!=",
|
|
1453
1453
|
"rightExpression": {
|
|
1454
|
-
"id":
|
|
1454
|
+
"id": 21398,
|
|
1455
1455
|
"name": "operator",
|
|
1456
1456
|
"nodeType": "Identifier",
|
|
1457
1457
|
"overloadedDeclarations": [],
|
|
1458
|
-
"referencedDeclaration":
|
|
1458
|
+
"referencedDeclaration": 21393,
|
|
1459
1459
|
"src": "1808:8:61",
|
|
1460
1460
|
"typeDescriptions": {
|
|
1461
1461
|
"typeIdentifier": "t_address",
|
|
@@ -1470,7 +1470,7 @@
|
|
|
1470
1470
|
},
|
|
1471
1471
|
{
|
|
1472
1472
|
"hexValue": "4552433737374f70657261746f72733a20617574686f72697a696e672073656c66206173206f70657261746f72",
|
|
1473
|
-
"id":
|
|
1473
|
+
"id": 21400,
|
|
1474
1474
|
"isConstant": false,
|
|
1475
1475
|
"isLValue": false,
|
|
1476
1476
|
"isPure": true,
|
|
@@ -1496,7 +1496,7 @@
|
|
|
1496
1496
|
"typeString": "literal_string \"ERC777Operators: authorizing self as operator\""
|
|
1497
1497
|
}
|
|
1498
1498
|
],
|
|
1499
|
-
"id":
|
|
1499
|
+
"id": 21396,
|
|
1500
1500
|
"name": "require",
|
|
1501
1501
|
"nodeType": "Identifier",
|
|
1502
1502
|
"overloadedDeclarations": [
|
|
@@ -1510,7 +1510,7 @@
|
|
|
1510
1510
|
"typeString": "function (bool,string memory) pure"
|
|
1511
1511
|
}
|
|
1512
1512
|
},
|
|
1513
|
-
"id":
|
|
1513
|
+
"id": 21401,
|
|
1514
1514
|
"isConstant": false,
|
|
1515
1515
|
"isLValue": false,
|
|
1516
1516
|
"isPure": false,
|
|
@@ -1526,7 +1526,7 @@
|
|
|
1526
1526
|
"typeString": "tuple()"
|
|
1527
1527
|
}
|
|
1528
1528
|
},
|
|
1529
|
-
"id":
|
|
1529
|
+
"id": 21402,
|
|
1530
1530
|
"nodeType": "ExpressionStatement",
|
|
1531
1531
|
"src": "1790:76:61"
|
|
1532
1532
|
},
|
|
@@ -1534,18 +1534,18 @@
|
|
|
1534
1534
|
"condition": {
|
|
1535
1535
|
"baseExpression": {
|
|
1536
1536
|
"expression": {
|
|
1537
|
-
"id":
|
|
1537
|
+
"id": 21403,
|
|
1538
1538
|
"name": "self",
|
|
1539
1539
|
"nodeType": "Identifier",
|
|
1540
1540
|
"overloadedDeclarations": [],
|
|
1541
|
-
"referencedDeclaration":
|
|
1541
|
+
"referencedDeclaration": 21389,
|
|
1542
1542
|
"src": "1881:4:61",
|
|
1543
1543
|
"typeDescriptions": {
|
|
1544
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1544
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
1545
1545
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1546
1546
|
}
|
|
1547
1547
|
},
|
|
1548
|
-
"id":
|
|
1548
|
+
"id": 21404,
|
|
1549
1549
|
"isConstant": false,
|
|
1550
1550
|
"isLValue": true,
|
|
1551
1551
|
"isPure": false,
|
|
@@ -1553,20 +1553,20 @@
|
|
|
1553
1553
|
"memberLocation": "1886:16:61",
|
|
1554
1554
|
"memberName": "defaultOperators",
|
|
1555
1555
|
"nodeType": "MemberAccess",
|
|
1556
|
-
"referencedDeclaration":
|
|
1556
|
+
"referencedDeclaration": 21303,
|
|
1557
1557
|
"src": "1881:21:61",
|
|
1558
1558
|
"typeDescriptions": {
|
|
1559
1559
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
1560
1560
|
"typeString": "mapping(address => bool)"
|
|
1561
1561
|
}
|
|
1562
1562
|
},
|
|
1563
|
-
"id":
|
|
1563
|
+
"id": 21406,
|
|
1564
1564
|
"indexExpression": {
|
|
1565
|
-
"id":
|
|
1565
|
+
"id": 21405,
|
|
1566
1566
|
"name": "operator",
|
|
1567
1567
|
"nodeType": "Identifier",
|
|
1568
1568
|
"overloadedDeclarations": [],
|
|
1569
|
-
"referencedDeclaration":
|
|
1569
|
+
"referencedDeclaration": 21393,
|
|
1570
1570
|
"src": "1903:8:61",
|
|
1571
1571
|
"typeDescriptions": {
|
|
1572
1572
|
"typeIdentifier": "t_address",
|
|
@@ -1585,13 +1585,13 @@
|
|
|
1585
1585
|
}
|
|
1586
1586
|
},
|
|
1587
1587
|
"falseBody": {
|
|
1588
|
-
"id":
|
|
1588
|
+
"id": 21426,
|
|
1589
1589
|
"nodeType": "Block",
|
|
1590
1590
|
"src": "1998:64:61",
|
|
1591
1591
|
"statements": [
|
|
1592
1592
|
{
|
|
1593
1593
|
"expression": {
|
|
1594
|
-
"id":
|
|
1594
|
+
"id": 21424,
|
|
1595
1595
|
"isConstant": false,
|
|
1596
1596
|
"isLValue": false,
|
|
1597
1597
|
"isPure": false,
|
|
@@ -1600,18 +1600,18 @@
|
|
|
1600
1600
|
"baseExpression": {
|
|
1601
1601
|
"baseExpression": {
|
|
1602
1602
|
"expression": {
|
|
1603
|
-
"id":
|
|
1603
|
+
"id": 21416,
|
|
1604
1604
|
"name": "self",
|
|
1605
1605
|
"nodeType": "Identifier",
|
|
1606
1606
|
"overloadedDeclarations": [],
|
|
1607
|
-
"referencedDeclaration":
|
|
1607
|
+
"referencedDeclaration": 21389,
|
|
1608
1608
|
"src": "2012:4:61",
|
|
1609
1609
|
"typeDescriptions": {
|
|
1610
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1610
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
1611
1611
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1612
1612
|
}
|
|
1613
1613
|
},
|
|
1614
|
-
"id":
|
|
1614
|
+
"id": 21420,
|
|
1615
1615
|
"isConstant": false,
|
|
1616
1616
|
"isLValue": true,
|
|
1617
1617
|
"isPure": false,
|
|
@@ -1619,20 +1619,20 @@
|
|
|
1619
1619
|
"memberLocation": "2017:9:61",
|
|
1620
1620
|
"memberName": "operators",
|
|
1621
1621
|
"nodeType": "MemberAccess",
|
|
1622
|
-
"referencedDeclaration":
|
|
1622
|
+
"referencedDeclaration": 21309,
|
|
1623
1623
|
"src": "2012:14:61",
|
|
1624
1624
|
"typeDescriptions": {
|
|
1625
1625
|
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$",
|
|
1626
1626
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
1627
1627
|
}
|
|
1628
1628
|
},
|
|
1629
|
-
"id":
|
|
1629
|
+
"id": 21421,
|
|
1630
1630
|
"indexExpression": {
|
|
1631
|
-
"id":
|
|
1631
|
+
"id": 21418,
|
|
1632
1632
|
"name": "holder",
|
|
1633
1633
|
"nodeType": "Identifier",
|
|
1634
1634
|
"overloadedDeclarations": [],
|
|
1635
|
-
"referencedDeclaration":
|
|
1635
|
+
"referencedDeclaration": 21391,
|
|
1636
1636
|
"src": "2027:6:61",
|
|
1637
1637
|
"typeDescriptions": {
|
|
1638
1638
|
"typeIdentifier": "t_address",
|
|
@@ -1650,13 +1650,13 @@
|
|
|
1650
1650
|
"typeString": "mapping(address => bool)"
|
|
1651
1651
|
}
|
|
1652
1652
|
},
|
|
1653
|
-
"id":
|
|
1653
|
+
"id": 21422,
|
|
1654
1654
|
"indexExpression": {
|
|
1655
|
-
"id":
|
|
1655
|
+
"id": 21419,
|
|
1656
1656
|
"name": "operator",
|
|
1657
1657
|
"nodeType": "Identifier",
|
|
1658
1658
|
"overloadedDeclarations": [],
|
|
1659
|
-
"referencedDeclaration":
|
|
1659
|
+
"referencedDeclaration": 21393,
|
|
1660
1660
|
"src": "2035:8:61",
|
|
1661
1661
|
"typeDescriptions": {
|
|
1662
1662
|
"typeIdentifier": "t_address",
|
|
@@ -1678,7 +1678,7 @@
|
|
|
1678
1678
|
"operator": "=",
|
|
1679
1679
|
"rightHandSide": {
|
|
1680
1680
|
"hexValue": "74727565",
|
|
1681
|
-
"id":
|
|
1681
|
+
"id": 21423,
|
|
1682
1682
|
"isConstant": false,
|
|
1683
1683
|
"isLValue": false,
|
|
1684
1684
|
"isPure": true,
|
|
@@ -1698,23 +1698,23 @@
|
|
|
1698
1698
|
"typeString": "bool"
|
|
1699
1699
|
}
|
|
1700
1700
|
},
|
|
1701
|
-
"id":
|
|
1701
|
+
"id": 21425,
|
|
1702
1702
|
"nodeType": "ExpressionStatement",
|
|
1703
1703
|
"src": "2012:39:61"
|
|
1704
1704
|
}
|
|
1705
1705
|
]
|
|
1706
1706
|
},
|
|
1707
|
-
"id":
|
|
1707
|
+
"id": 21427,
|
|
1708
1708
|
"nodeType": "IfStatement",
|
|
1709
1709
|
"src": "1877:185:61",
|
|
1710
1710
|
"trueBody": {
|
|
1711
|
-
"id":
|
|
1711
|
+
"id": 21415,
|
|
1712
1712
|
"nodeType": "Block",
|
|
1713
1713
|
"src": "1914:78:61",
|
|
1714
1714
|
"statements": [
|
|
1715
1715
|
{
|
|
1716
1716
|
"expression": {
|
|
1717
|
-
"id":
|
|
1717
|
+
"id": 21413,
|
|
1718
1718
|
"isConstant": false,
|
|
1719
1719
|
"isLValue": false,
|
|
1720
1720
|
"isPure": false,
|
|
@@ -1727,18 +1727,18 @@
|
|
|
1727
1727
|
"baseExpression": {
|
|
1728
1728
|
"baseExpression": {
|
|
1729
1729
|
"expression": {
|
|
1730
|
-
"id":
|
|
1730
|
+
"id": 21407,
|
|
1731
1731
|
"name": "self",
|
|
1732
1732
|
"nodeType": "Identifier",
|
|
1733
1733
|
"overloadedDeclarations": [],
|
|
1734
|
-
"referencedDeclaration":
|
|
1734
|
+
"referencedDeclaration": 21389,
|
|
1735
1735
|
"src": "1935:4:61",
|
|
1736
1736
|
"typeDescriptions": {
|
|
1737
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1737
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
1738
1738
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1739
1739
|
}
|
|
1740
1740
|
},
|
|
1741
|
-
"id":
|
|
1741
|
+
"id": 21408,
|
|
1742
1742
|
"isConstant": false,
|
|
1743
1743
|
"isLValue": true,
|
|
1744
1744
|
"isPure": false,
|
|
@@ -1746,20 +1746,20 @@
|
|
|
1746
1746
|
"memberLocation": "1940:23:61",
|
|
1747
1747
|
"memberName": "revokedDefaultOperators",
|
|
1748
1748
|
"nodeType": "MemberAccess",
|
|
1749
|
-
"referencedDeclaration":
|
|
1749
|
+
"referencedDeclaration": 21315,
|
|
1750
1750
|
"src": "1935:28:61",
|
|
1751
1751
|
"typeDescriptions": {
|
|
1752
1752
|
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$",
|
|
1753
1753
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
1754
1754
|
}
|
|
1755
1755
|
},
|
|
1756
|
-
"id":
|
|
1756
|
+
"id": 21410,
|
|
1757
1757
|
"indexExpression": {
|
|
1758
|
-
"id":
|
|
1758
|
+
"id": 21409,
|
|
1759
1759
|
"name": "holder",
|
|
1760
1760
|
"nodeType": "Identifier",
|
|
1761
1761
|
"overloadedDeclarations": [],
|
|
1762
|
-
"referencedDeclaration":
|
|
1762
|
+
"referencedDeclaration": 21391,
|
|
1763
1763
|
"src": "1964:6:61",
|
|
1764
1764
|
"typeDescriptions": {
|
|
1765
1765
|
"typeIdentifier": "t_address",
|
|
@@ -1777,13 +1777,13 @@
|
|
|
1777
1777
|
"typeString": "mapping(address => bool)"
|
|
1778
1778
|
}
|
|
1779
1779
|
},
|
|
1780
|
-
"id":
|
|
1780
|
+
"id": 21412,
|
|
1781
1781
|
"indexExpression": {
|
|
1782
|
-
"id":
|
|
1782
|
+
"id": 21411,
|
|
1783
1783
|
"name": "operator",
|
|
1784
1784
|
"nodeType": "Identifier",
|
|
1785
1785
|
"overloadedDeclarations": [],
|
|
1786
|
-
"referencedDeclaration":
|
|
1786
|
+
"referencedDeclaration": 21393,
|
|
1787
1787
|
"src": "1972:8:61",
|
|
1788
1788
|
"typeDescriptions": {
|
|
1789
1789
|
"typeIdentifier": "t_address",
|
|
@@ -1806,7 +1806,7 @@
|
|
|
1806
1806
|
"typeString": "tuple()"
|
|
1807
1807
|
}
|
|
1808
1808
|
},
|
|
1809
|
-
"id":
|
|
1809
|
+
"id": 21414,
|
|
1810
1810
|
"nodeType": "ExpressionStatement",
|
|
1811
1811
|
"src": "1928:53:61"
|
|
1812
1812
|
}
|
|
@@ -1815,7 +1815,7 @@
|
|
|
1815
1815
|
}
|
|
1816
1816
|
]
|
|
1817
1817
|
},
|
|
1818
|
-
"id":
|
|
1818
|
+
"id": 21429,
|
|
1819
1819
|
"implemented": true,
|
|
1820
1820
|
"kind": "function",
|
|
1821
1821
|
"modifiers": [],
|
|
@@ -1823,41 +1823,41 @@
|
|
|
1823
1823
|
"nameLocation": "1695:17:61",
|
|
1824
1824
|
"nodeType": "FunctionDefinition",
|
|
1825
1825
|
"parameters": {
|
|
1826
|
-
"id":
|
|
1826
|
+
"id": 21394,
|
|
1827
1827
|
"nodeType": "ParameterList",
|
|
1828
1828
|
"parameters": [
|
|
1829
1829
|
{
|
|
1830
1830
|
"constant": false,
|
|
1831
|
-
"id":
|
|
1831
|
+
"id": 21389,
|
|
1832
1832
|
"mutability": "mutable",
|
|
1833
1833
|
"name": "self",
|
|
1834
1834
|
"nameLocation": "1731:4:61",
|
|
1835
1835
|
"nodeType": "VariableDeclaration",
|
|
1836
|
-
"scope":
|
|
1836
|
+
"scope": 21429,
|
|
1837
1837
|
"src": "1713:22:61",
|
|
1838
1838
|
"stateVariable": false,
|
|
1839
1839
|
"storageLocation": "storage",
|
|
1840
1840
|
"typeDescriptions": {
|
|
1841
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1841
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
1842
1842
|
"typeString": "struct ERC777Helper.Operators"
|
|
1843
1843
|
},
|
|
1844
1844
|
"typeName": {
|
|
1845
|
-
"id":
|
|
1845
|
+
"id": 21388,
|
|
1846
1846
|
"nodeType": "UserDefinedTypeName",
|
|
1847
1847
|
"pathNode": {
|
|
1848
|
-
"id":
|
|
1848
|
+
"id": 21387,
|
|
1849
1849
|
"name": "Operators",
|
|
1850
1850
|
"nameLocations": [
|
|
1851
1851
|
"1713:9:61"
|
|
1852
1852
|
],
|
|
1853
1853
|
"nodeType": "IdentifierPath",
|
|
1854
|
-
"referencedDeclaration":
|
|
1854
|
+
"referencedDeclaration": 21316,
|
|
1855
1855
|
"src": "1713:9:61"
|
|
1856
1856
|
},
|
|
1857
|
-
"referencedDeclaration":
|
|
1857
|
+
"referencedDeclaration": 21316,
|
|
1858
1858
|
"src": "1713:9:61",
|
|
1859
1859
|
"typeDescriptions": {
|
|
1860
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1860
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
1861
1861
|
"typeString": "struct ERC777Helper.Operators"
|
|
1862
1862
|
}
|
|
1863
1863
|
},
|
|
@@ -1865,12 +1865,12 @@
|
|
|
1865
1865
|
},
|
|
1866
1866
|
{
|
|
1867
1867
|
"constant": false,
|
|
1868
|
-
"id":
|
|
1868
|
+
"id": 21391,
|
|
1869
1869
|
"mutability": "mutable",
|
|
1870
1870
|
"name": "holder",
|
|
1871
1871
|
"nameLocation": "1745:6:61",
|
|
1872
1872
|
"nodeType": "VariableDeclaration",
|
|
1873
|
-
"scope":
|
|
1873
|
+
"scope": 21429,
|
|
1874
1874
|
"src": "1737:14:61",
|
|
1875
1875
|
"stateVariable": false,
|
|
1876
1876
|
"storageLocation": "default",
|
|
@@ -1879,7 +1879,7 @@
|
|
|
1879
1879
|
"typeString": "address"
|
|
1880
1880
|
},
|
|
1881
1881
|
"typeName": {
|
|
1882
|
-
"id":
|
|
1882
|
+
"id": 21390,
|
|
1883
1883
|
"name": "address",
|
|
1884
1884
|
"nodeType": "ElementaryTypeName",
|
|
1885
1885
|
"src": "1737:7:61",
|
|
@@ -1893,12 +1893,12 @@
|
|
|
1893
1893
|
},
|
|
1894
1894
|
{
|
|
1895
1895
|
"constant": false,
|
|
1896
|
-
"id":
|
|
1896
|
+
"id": 21393,
|
|
1897
1897
|
"mutability": "mutable",
|
|
1898
1898
|
"name": "operator",
|
|
1899
1899
|
"nameLocation": "1761:8:61",
|
|
1900
1900
|
"nodeType": "VariableDeclaration",
|
|
1901
|
-
"scope":
|
|
1901
|
+
"scope": 21429,
|
|
1902
1902
|
"src": "1753:16:61",
|
|
1903
1903
|
"stateVariable": false,
|
|
1904
1904
|
"storageLocation": "default",
|
|
@@ -1907,7 +1907,7 @@
|
|
|
1907
1907
|
"typeString": "address"
|
|
1908
1908
|
},
|
|
1909
1909
|
"typeName": {
|
|
1910
|
-
"id":
|
|
1910
|
+
"id": 21392,
|
|
1911
1911
|
"name": "address",
|
|
1912
1912
|
"nodeType": "ElementaryTypeName",
|
|
1913
1913
|
"src": "1753:7:61",
|
|
@@ -1923,12 +1923,12 @@
|
|
|
1923
1923
|
"src": "1712:58:61"
|
|
1924
1924
|
},
|
|
1925
1925
|
"returnParameters": {
|
|
1926
|
-
"id":
|
|
1926
|
+
"id": 21395,
|
|
1927
1927
|
"nodeType": "ParameterList",
|
|
1928
1928
|
"parameters": [],
|
|
1929
1929
|
"src": "1780:0:61"
|
|
1930
1930
|
},
|
|
1931
|
-
"scope":
|
|
1931
|
+
"scope": 21534,
|
|
1932
1932
|
"src": "1686:382:61",
|
|
1933
1933
|
"stateMutability": "nonpayable",
|
|
1934
1934
|
"virtual": false,
|
|
@@ -1936,7 +1936,7 @@
|
|
|
1936
1936
|
},
|
|
1937
1937
|
{
|
|
1938
1938
|
"body": {
|
|
1939
|
-
"id":
|
|
1939
|
+
"id": 21472,
|
|
1940
1940
|
"nodeType": "Block",
|
|
1941
1941
|
"src": "2165:288:61",
|
|
1942
1942
|
"statements": [
|
|
@@ -1948,17 +1948,17 @@
|
|
|
1948
1948
|
"typeIdentifier": "t_address",
|
|
1949
1949
|
"typeString": "address"
|
|
1950
1950
|
},
|
|
1951
|
-
"id":
|
|
1951
|
+
"id": 21443,
|
|
1952
1952
|
"isConstant": false,
|
|
1953
1953
|
"isLValue": false,
|
|
1954
1954
|
"isPure": false,
|
|
1955
1955
|
"lValueRequested": false,
|
|
1956
1956
|
"leftExpression": {
|
|
1957
|
-
"id":
|
|
1957
|
+
"id": 21440,
|
|
1958
1958
|
"name": "operator",
|
|
1959
1959
|
"nodeType": "Identifier",
|
|
1960
1960
|
"overloadedDeclarations": [],
|
|
1961
|
-
"referencedDeclaration":
|
|
1961
|
+
"referencedDeclaration": 21436,
|
|
1962
1962
|
"src": "2183:8:61",
|
|
1963
1963
|
"typeDescriptions": {
|
|
1964
1964
|
"typeIdentifier": "t_address",
|
|
@@ -1969,7 +1969,7 @@
|
|
|
1969
1969
|
"operator": "!=",
|
|
1970
1970
|
"rightExpression": {
|
|
1971
1971
|
"expression": {
|
|
1972
|
-
"id":
|
|
1972
|
+
"id": 21441,
|
|
1973
1973
|
"name": "msg",
|
|
1974
1974
|
"nodeType": "Identifier",
|
|
1975
1975
|
"overloadedDeclarations": [],
|
|
@@ -1980,7 +1980,7 @@
|
|
|
1980
1980
|
"typeString": "msg"
|
|
1981
1981
|
}
|
|
1982
1982
|
},
|
|
1983
|
-
"id":
|
|
1983
|
+
"id": 21442,
|
|
1984
1984
|
"isConstant": false,
|
|
1985
1985
|
"isLValue": false,
|
|
1986
1986
|
"isPure": false,
|
|
@@ -2002,7 +2002,7 @@
|
|
|
2002
2002
|
},
|
|
2003
2003
|
{
|
|
2004
2004
|
"hexValue": "4552433737374f70657261746f72733a207265766f6b696e672073656c66206173206f70657261746f72",
|
|
2005
|
-
"id":
|
|
2005
|
+
"id": 21444,
|
|
2006
2006
|
"isConstant": false,
|
|
2007
2007
|
"isLValue": false,
|
|
2008
2008
|
"isPure": true,
|
|
@@ -2028,7 +2028,7 @@
|
|
|
2028
2028
|
"typeString": "literal_string \"ERC777Operators: revoking self as operator\""
|
|
2029
2029
|
}
|
|
2030
2030
|
],
|
|
2031
|
-
"id":
|
|
2031
|
+
"id": 21439,
|
|
2032
2032
|
"name": "require",
|
|
2033
2033
|
"nodeType": "Identifier",
|
|
2034
2034
|
"overloadedDeclarations": [
|
|
@@ -2042,7 +2042,7 @@
|
|
|
2042
2042
|
"typeString": "function (bool,string memory) pure"
|
|
2043
2043
|
}
|
|
2044
2044
|
},
|
|
2045
|
-
"id":
|
|
2045
|
+
"id": 21445,
|
|
2046
2046
|
"isConstant": false,
|
|
2047
2047
|
"isLValue": false,
|
|
2048
2048
|
"isPure": false,
|
|
@@ -2058,7 +2058,7 @@
|
|
|
2058
2058
|
"typeString": "tuple()"
|
|
2059
2059
|
}
|
|
2060
2060
|
},
|
|
2061
|
-
"id":
|
|
2061
|
+
"id": 21446,
|
|
2062
2062
|
"nodeType": "ExpressionStatement",
|
|
2063
2063
|
"src": "2175:77:61"
|
|
2064
2064
|
},
|
|
@@ -2066,18 +2066,18 @@
|
|
|
2066
2066
|
"condition": {
|
|
2067
2067
|
"baseExpression": {
|
|
2068
2068
|
"expression": {
|
|
2069
|
-
"id":
|
|
2069
|
+
"id": 21447,
|
|
2070
2070
|
"name": "self",
|
|
2071
2071
|
"nodeType": "Identifier",
|
|
2072
2072
|
"overloadedDeclarations": [],
|
|
2073
|
-
"referencedDeclaration":
|
|
2073
|
+
"referencedDeclaration": 21432,
|
|
2074
2074
|
"src": "2266:4:61",
|
|
2075
2075
|
"typeDescriptions": {
|
|
2076
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2076
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
2077
2077
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2078
2078
|
}
|
|
2079
2079
|
},
|
|
2080
|
-
"id":
|
|
2080
|
+
"id": 21448,
|
|
2081
2081
|
"isConstant": false,
|
|
2082
2082
|
"isLValue": true,
|
|
2083
2083
|
"isPure": false,
|
|
@@ -2085,20 +2085,20 @@
|
|
|
2085
2085
|
"memberLocation": "2271:16:61",
|
|
2086
2086
|
"memberName": "defaultOperators",
|
|
2087
2087
|
"nodeType": "MemberAccess",
|
|
2088
|
-
"referencedDeclaration":
|
|
2088
|
+
"referencedDeclaration": 21303,
|
|
2089
2089
|
"src": "2266:21:61",
|
|
2090
2090
|
"typeDescriptions": {
|
|
2091
2091
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
2092
2092
|
"typeString": "mapping(address => bool)"
|
|
2093
2093
|
}
|
|
2094
2094
|
},
|
|
2095
|
-
"id":
|
|
2095
|
+
"id": 21450,
|
|
2096
2096
|
"indexExpression": {
|
|
2097
|
-
"id":
|
|
2097
|
+
"id": 21449,
|
|
2098
2098
|
"name": "operator",
|
|
2099
2099
|
"nodeType": "Identifier",
|
|
2100
2100
|
"overloadedDeclarations": [],
|
|
2101
|
-
"referencedDeclaration":
|
|
2101
|
+
"referencedDeclaration": 21436,
|
|
2102
2102
|
"src": "2288:8:61",
|
|
2103
2103
|
"typeDescriptions": {
|
|
2104
2104
|
"typeIdentifier": "t_address",
|
|
@@ -2117,13 +2117,13 @@
|
|
|
2117
2117
|
}
|
|
2118
2118
|
},
|
|
2119
2119
|
"falseBody": {
|
|
2120
|
-
"id":
|
|
2120
|
+
"id": 21470,
|
|
2121
2121
|
"nodeType": "Block",
|
|
2122
2122
|
"src": "2383:64:61",
|
|
2123
2123
|
"statements": [
|
|
2124
2124
|
{
|
|
2125
2125
|
"expression": {
|
|
2126
|
-
"id":
|
|
2126
|
+
"id": 21468,
|
|
2127
2127
|
"isConstant": false,
|
|
2128
2128
|
"isLValue": false,
|
|
2129
2129
|
"isPure": false,
|
|
@@ -2136,18 +2136,18 @@
|
|
|
2136
2136
|
"baseExpression": {
|
|
2137
2137
|
"baseExpression": {
|
|
2138
2138
|
"expression": {
|
|
2139
|
-
"id":
|
|
2139
|
+
"id": 21462,
|
|
2140
2140
|
"name": "self",
|
|
2141
2141
|
"nodeType": "Identifier",
|
|
2142
2142
|
"overloadedDeclarations": [],
|
|
2143
|
-
"referencedDeclaration":
|
|
2143
|
+
"referencedDeclaration": 21432,
|
|
2144
2144
|
"src": "2404:4:61",
|
|
2145
2145
|
"typeDescriptions": {
|
|
2146
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2146
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
2147
2147
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2148
2148
|
}
|
|
2149
2149
|
},
|
|
2150
|
-
"id":
|
|
2150
|
+
"id": 21463,
|
|
2151
2151
|
"isConstant": false,
|
|
2152
2152
|
"isLValue": true,
|
|
2153
2153
|
"isPure": false,
|
|
@@ -2155,20 +2155,20 @@
|
|
|
2155
2155
|
"memberLocation": "2409:9:61",
|
|
2156
2156
|
"memberName": "operators",
|
|
2157
2157
|
"nodeType": "MemberAccess",
|
|
2158
|
-
"referencedDeclaration":
|
|
2158
|
+
"referencedDeclaration": 21309,
|
|
2159
2159
|
"src": "2404:14:61",
|
|
2160
2160
|
"typeDescriptions": {
|
|
2161
2161
|
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$",
|
|
2162
2162
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
2163
2163
|
}
|
|
2164
2164
|
},
|
|
2165
|
-
"id":
|
|
2165
|
+
"id": 21465,
|
|
2166
2166
|
"indexExpression": {
|
|
2167
|
-
"id":
|
|
2167
|
+
"id": 21464,
|
|
2168
2168
|
"name": "holder",
|
|
2169
2169
|
"nodeType": "Identifier",
|
|
2170
2170
|
"overloadedDeclarations": [],
|
|
2171
|
-
"referencedDeclaration":
|
|
2171
|
+
"referencedDeclaration": 21434,
|
|
2172
2172
|
"src": "2419:6:61",
|
|
2173
2173
|
"typeDescriptions": {
|
|
2174
2174
|
"typeIdentifier": "t_address",
|
|
@@ -2186,13 +2186,13 @@
|
|
|
2186
2186
|
"typeString": "mapping(address => bool)"
|
|
2187
2187
|
}
|
|
2188
2188
|
},
|
|
2189
|
-
"id":
|
|
2189
|
+
"id": 21467,
|
|
2190
2190
|
"indexExpression": {
|
|
2191
|
-
"id":
|
|
2191
|
+
"id": 21466,
|
|
2192
2192
|
"name": "operator",
|
|
2193
2193
|
"nodeType": "Identifier",
|
|
2194
2194
|
"overloadedDeclarations": [],
|
|
2195
|
-
"referencedDeclaration":
|
|
2195
|
+
"referencedDeclaration": 21436,
|
|
2196
2196
|
"src": "2427:8:61",
|
|
2197
2197
|
"typeDescriptions": {
|
|
2198
2198
|
"typeIdentifier": "t_address",
|
|
@@ -2215,23 +2215,23 @@
|
|
|
2215
2215
|
"typeString": "tuple()"
|
|
2216
2216
|
}
|
|
2217
2217
|
},
|
|
2218
|
-
"id":
|
|
2218
|
+
"id": 21469,
|
|
2219
2219
|
"nodeType": "ExpressionStatement",
|
|
2220
2220
|
"src": "2397:39:61"
|
|
2221
2221
|
}
|
|
2222
2222
|
]
|
|
2223
2223
|
},
|
|
2224
|
-
"id":
|
|
2224
|
+
"id": 21471,
|
|
2225
2225
|
"nodeType": "IfStatement",
|
|
2226
2226
|
"src": "2262:185:61",
|
|
2227
2227
|
"trueBody": {
|
|
2228
|
-
"id":
|
|
2228
|
+
"id": 21461,
|
|
2229
2229
|
"nodeType": "Block",
|
|
2230
2230
|
"src": "2299:78:61",
|
|
2231
2231
|
"statements": [
|
|
2232
2232
|
{
|
|
2233
2233
|
"expression": {
|
|
2234
|
-
"id":
|
|
2234
|
+
"id": 21459,
|
|
2235
2235
|
"isConstant": false,
|
|
2236
2236
|
"isLValue": false,
|
|
2237
2237
|
"isPure": false,
|
|
@@ -2240,18 +2240,18 @@
|
|
|
2240
2240
|
"baseExpression": {
|
|
2241
2241
|
"baseExpression": {
|
|
2242
2242
|
"expression": {
|
|
2243
|
-
"id":
|
|
2243
|
+
"id": 21451,
|
|
2244
2244
|
"name": "self",
|
|
2245
2245
|
"nodeType": "Identifier",
|
|
2246
2246
|
"overloadedDeclarations": [],
|
|
2247
|
-
"referencedDeclaration":
|
|
2247
|
+
"referencedDeclaration": 21432,
|
|
2248
2248
|
"src": "2313:4:61",
|
|
2249
2249
|
"typeDescriptions": {
|
|
2250
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2250
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
2251
2251
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2252
2252
|
}
|
|
2253
2253
|
},
|
|
2254
|
-
"id":
|
|
2254
|
+
"id": 21455,
|
|
2255
2255
|
"isConstant": false,
|
|
2256
2256
|
"isLValue": true,
|
|
2257
2257
|
"isPure": false,
|
|
@@ -2259,20 +2259,20 @@
|
|
|
2259
2259
|
"memberLocation": "2318:23:61",
|
|
2260
2260
|
"memberName": "revokedDefaultOperators",
|
|
2261
2261
|
"nodeType": "MemberAccess",
|
|
2262
|
-
"referencedDeclaration":
|
|
2262
|
+
"referencedDeclaration": 21315,
|
|
2263
2263
|
"src": "2313:28:61",
|
|
2264
2264
|
"typeDescriptions": {
|
|
2265
2265
|
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$",
|
|
2266
2266
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
2267
2267
|
}
|
|
2268
2268
|
},
|
|
2269
|
-
"id":
|
|
2269
|
+
"id": 21456,
|
|
2270
2270
|
"indexExpression": {
|
|
2271
|
-
"id":
|
|
2271
|
+
"id": 21453,
|
|
2272
2272
|
"name": "holder",
|
|
2273
2273
|
"nodeType": "Identifier",
|
|
2274
2274
|
"overloadedDeclarations": [],
|
|
2275
|
-
"referencedDeclaration":
|
|
2275
|
+
"referencedDeclaration": 21434,
|
|
2276
2276
|
"src": "2342:6:61",
|
|
2277
2277
|
"typeDescriptions": {
|
|
2278
2278
|
"typeIdentifier": "t_address",
|
|
@@ -2290,13 +2290,13 @@
|
|
|
2290
2290
|
"typeString": "mapping(address => bool)"
|
|
2291
2291
|
}
|
|
2292
2292
|
},
|
|
2293
|
-
"id":
|
|
2293
|
+
"id": 21457,
|
|
2294
2294
|
"indexExpression": {
|
|
2295
|
-
"id":
|
|
2295
|
+
"id": 21454,
|
|
2296
2296
|
"name": "operator",
|
|
2297
2297
|
"nodeType": "Identifier",
|
|
2298
2298
|
"overloadedDeclarations": [],
|
|
2299
|
-
"referencedDeclaration":
|
|
2299
|
+
"referencedDeclaration": 21436,
|
|
2300
2300
|
"src": "2350:8:61",
|
|
2301
2301
|
"typeDescriptions": {
|
|
2302
2302
|
"typeIdentifier": "t_address",
|
|
@@ -2318,7 +2318,7 @@
|
|
|
2318
2318
|
"operator": "=",
|
|
2319
2319
|
"rightHandSide": {
|
|
2320
2320
|
"hexValue": "74727565",
|
|
2321
|
-
"id":
|
|
2321
|
+
"id": 21458,
|
|
2322
2322
|
"isConstant": false,
|
|
2323
2323
|
"isLValue": false,
|
|
2324
2324
|
"isPure": true,
|
|
@@ -2338,7 +2338,7 @@
|
|
|
2338
2338
|
"typeString": "bool"
|
|
2339
2339
|
}
|
|
2340
2340
|
},
|
|
2341
|
-
"id":
|
|
2341
|
+
"id": 21460,
|
|
2342
2342
|
"nodeType": "ExpressionStatement",
|
|
2343
2343
|
"src": "2313:53:61"
|
|
2344
2344
|
}
|
|
@@ -2347,7 +2347,7 @@
|
|
|
2347
2347
|
}
|
|
2348
2348
|
]
|
|
2349
2349
|
},
|
|
2350
|
-
"id":
|
|
2350
|
+
"id": 21473,
|
|
2351
2351
|
"implemented": true,
|
|
2352
2352
|
"kind": "function",
|
|
2353
2353
|
"modifiers": [],
|
|
@@ -2355,41 +2355,41 @@
|
|
|
2355
2355
|
"nameLocation": "2083:14:61",
|
|
2356
2356
|
"nodeType": "FunctionDefinition",
|
|
2357
2357
|
"parameters": {
|
|
2358
|
-
"id":
|
|
2358
|
+
"id": 21437,
|
|
2359
2359
|
"nodeType": "ParameterList",
|
|
2360
2360
|
"parameters": [
|
|
2361
2361
|
{
|
|
2362
2362
|
"constant": false,
|
|
2363
|
-
"id":
|
|
2363
|
+
"id": 21432,
|
|
2364
2364
|
"mutability": "mutable",
|
|
2365
2365
|
"name": "self",
|
|
2366
2366
|
"nameLocation": "2116:4:61",
|
|
2367
2367
|
"nodeType": "VariableDeclaration",
|
|
2368
|
-
"scope":
|
|
2368
|
+
"scope": 21473,
|
|
2369
2369
|
"src": "2098:22:61",
|
|
2370
2370
|
"stateVariable": false,
|
|
2371
2371
|
"storageLocation": "storage",
|
|
2372
2372
|
"typeDescriptions": {
|
|
2373
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2373
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
2374
2374
|
"typeString": "struct ERC777Helper.Operators"
|
|
2375
2375
|
},
|
|
2376
2376
|
"typeName": {
|
|
2377
|
-
"id":
|
|
2377
|
+
"id": 21431,
|
|
2378
2378
|
"nodeType": "UserDefinedTypeName",
|
|
2379
2379
|
"pathNode": {
|
|
2380
|
-
"id":
|
|
2380
|
+
"id": 21430,
|
|
2381
2381
|
"name": "Operators",
|
|
2382
2382
|
"nameLocations": [
|
|
2383
2383
|
"2098:9:61"
|
|
2384
2384
|
],
|
|
2385
2385
|
"nodeType": "IdentifierPath",
|
|
2386
|
-
"referencedDeclaration":
|
|
2386
|
+
"referencedDeclaration": 21316,
|
|
2387
2387
|
"src": "2098:9:61"
|
|
2388
2388
|
},
|
|
2389
|
-
"referencedDeclaration":
|
|
2389
|
+
"referencedDeclaration": 21316,
|
|
2390
2390
|
"src": "2098:9:61",
|
|
2391
2391
|
"typeDescriptions": {
|
|
2392
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2392
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
2393
2393
|
"typeString": "struct ERC777Helper.Operators"
|
|
2394
2394
|
}
|
|
2395
2395
|
},
|
|
@@ -2397,12 +2397,12 @@
|
|
|
2397
2397
|
},
|
|
2398
2398
|
{
|
|
2399
2399
|
"constant": false,
|
|
2400
|
-
"id":
|
|
2400
|
+
"id": 21434,
|
|
2401
2401
|
"mutability": "mutable",
|
|
2402
2402
|
"name": "holder",
|
|
2403
2403
|
"nameLocation": "2130:6:61",
|
|
2404
2404
|
"nodeType": "VariableDeclaration",
|
|
2405
|
-
"scope":
|
|
2405
|
+
"scope": 21473,
|
|
2406
2406
|
"src": "2122:14:61",
|
|
2407
2407
|
"stateVariable": false,
|
|
2408
2408
|
"storageLocation": "default",
|
|
@@ -2411,7 +2411,7 @@
|
|
|
2411
2411
|
"typeString": "address"
|
|
2412
2412
|
},
|
|
2413
2413
|
"typeName": {
|
|
2414
|
-
"id":
|
|
2414
|
+
"id": 21433,
|
|
2415
2415
|
"name": "address",
|
|
2416
2416
|
"nodeType": "ElementaryTypeName",
|
|
2417
2417
|
"src": "2122:7:61",
|
|
@@ -2425,12 +2425,12 @@
|
|
|
2425
2425
|
},
|
|
2426
2426
|
{
|
|
2427
2427
|
"constant": false,
|
|
2428
|
-
"id":
|
|
2428
|
+
"id": 21436,
|
|
2429
2429
|
"mutability": "mutable",
|
|
2430
2430
|
"name": "operator",
|
|
2431
2431
|
"nameLocation": "2146:8:61",
|
|
2432
2432
|
"nodeType": "VariableDeclaration",
|
|
2433
|
-
"scope":
|
|
2433
|
+
"scope": 21473,
|
|
2434
2434
|
"src": "2138:16:61",
|
|
2435
2435
|
"stateVariable": false,
|
|
2436
2436
|
"storageLocation": "default",
|
|
@@ -2439,7 +2439,7 @@
|
|
|
2439
2439
|
"typeString": "address"
|
|
2440
2440
|
},
|
|
2441
2441
|
"typeName": {
|
|
2442
|
-
"id":
|
|
2442
|
+
"id": 21435,
|
|
2443
2443
|
"name": "address",
|
|
2444
2444
|
"nodeType": "ElementaryTypeName",
|
|
2445
2445
|
"src": "2138:7:61",
|
|
@@ -2455,12 +2455,12 @@
|
|
|
2455
2455
|
"src": "2097:58:61"
|
|
2456
2456
|
},
|
|
2457
2457
|
"returnParameters": {
|
|
2458
|
-
"id":
|
|
2458
|
+
"id": 21438,
|
|
2459
2459
|
"nodeType": "ParameterList",
|
|
2460
2460
|
"parameters": [],
|
|
2461
2461
|
"src": "2165:0:61"
|
|
2462
2462
|
},
|
|
2463
|
-
"scope":
|
|
2463
|
+
"scope": 21534,
|
|
2464
2464
|
"src": "2074:379:61",
|
|
2465
2465
|
"stateMutability": "nonpayable",
|
|
2466
2466
|
"virtual": false,
|
|
@@ -2468,25 +2468,25 @@
|
|
|
2468
2468
|
},
|
|
2469
2469
|
{
|
|
2470
2470
|
"body": {
|
|
2471
|
-
"id":
|
|
2471
|
+
"id": 21485,
|
|
2472
2472
|
"nodeType": "Block",
|
|
2473
2473
|
"src": "2550:50:61",
|
|
2474
2474
|
"statements": [
|
|
2475
2475
|
{
|
|
2476
2476
|
"expression": {
|
|
2477
2477
|
"expression": {
|
|
2478
|
-
"id":
|
|
2478
|
+
"id": 21482,
|
|
2479
2479
|
"name": "self",
|
|
2480
2480
|
"nodeType": "Identifier",
|
|
2481
2481
|
"overloadedDeclarations": [],
|
|
2482
|
-
"referencedDeclaration":
|
|
2482
|
+
"referencedDeclaration": 21476,
|
|
2483
2483
|
"src": "2567:4:61",
|
|
2484
2484
|
"typeDescriptions": {
|
|
2485
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2485
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
2486
2486
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2487
2487
|
}
|
|
2488
2488
|
},
|
|
2489
|
-
"id":
|
|
2489
|
+
"id": 21483,
|
|
2490
2490
|
"isConstant": false,
|
|
2491
2491
|
"isLValue": true,
|
|
2492
2492
|
"isPure": false,
|
|
@@ -2494,21 +2494,21 @@
|
|
|
2494
2494
|
"memberLocation": "2572:21:61",
|
|
2495
2495
|
"memberName": "defaultOperatorsArray",
|
|
2496
2496
|
"nodeType": "MemberAccess",
|
|
2497
|
-
"referencedDeclaration":
|
|
2497
|
+
"referencedDeclaration": 21299,
|
|
2498
2498
|
"src": "2567:26:61",
|
|
2499
2499
|
"typeDescriptions": {
|
|
2500
2500
|
"typeIdentifier": "t_array$_t_address_$dyn_storage",
|
|
2501
2501
|
"typeString": "address[] storage ref"
|
|
2502
2502
|
}
|
|
2503
2503
|
},
|
|
2504
|
-
"functionReturnParameters":
|
|
2505
|
-
"id":
|
|
2504
|
+
"functionReturnParameters": 21481,
|
|
2505
|
+
"id": 21484,
|
|
2506
2506
|
"nodeType": "Return",
|
|
2507
2507
|
"src": "2560:33:61"
|
|
2508
2508
|
}
|
|
2509
2509
|
]
|
|
2510
2510
|
},
|
|
2511
|
-
"id":
|
|
2511
|
+
"id": 21486,
|
|
2512
2512
|
"implemented": true,
|
|
2513
2513
|
"kind": "function",
|
|
2514
2514
|
"modifiers": [],
|
|
@@ -2516,41 +2516,41 @@
|
|
|
2516
2516
|
"nameLocation": "2468:16:61",
|
|
2517
2517
|
"nodeType": "FunctionDefinition",
|
|
2518
2518
|
"parameters": {
|
|
2519
|
-
"id":
|
|
2519
|
+
"id": 21477,
|
|
2520
2520
|
"nodeType": "ParameterList",
|
|
2521
2521
|
"parameters": [
|
|
2522
2522
|
{
|
|
2523
2523
|
"constant": false,
|
|
2524
|
-
"id":
|
|
2524
|
+
"id": 21476,
|
|
2525
2525
|
"mutability": "mutable",
|
|
2526
2526
|
"name": "self",
|
|
2527
2527
|
"nameLocation": "2503:4:61",
|
|
2528
2528
|
"nodeType": "VariableDeclaration",
|
|
2529
|
-
"scope":
|
|
2529
|
+
"scope": 21486,
|
|
2530
2530
|
"src": "2485:22:61",
|
|
2531
2531
|
"stateVariable": false,
|
|
2532
2532
|
"storageLocation": "storage",
|
|
2533
2533
|
"typeDescriptions": {
|
|
2534
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2534
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
2535
2535
|
"typeString": "struct ERC777Helper.Operators"
|
|
2536
2536
|
},
|
|
2537
2537
|
"typeName": {
|
|
2538
|
-
"id":
|
|
2538
|
+
"id": 21475,
|
|
2539
2539
|
"nodeType": "UserDefinedTypeName",
|
|
2540
2540
|
"pathNode": {
|
|
2541
|
-
"id":
|
|
2541
|
+
"id": 21474,
|
|
2542
2542
|
"name": "Operators",
|
|
2543
2543
|
"nameLocations": [
|
|
2544
2544
|
"2485:9:61"
|
|
2545
2545
|
],
|
|
2546
2546
|
"nodeType": "IdentifierPath",
|
|
2547
|
-
"referencedDeclaration":
|
|
2547
|
+
"referencedDeclaration": 21316,
|
|
2548
2548
|
"src": "2485:9:61"
|
|
2549
2549
|
},
|
|
2550
|
-
"referencedDeclaration":
|
|
2550
|
+
"referencedDeclaration": 21316,
|
|
2551
2551
|
"src": "2485:9:61",
|
|
2552
2552
|
"typeDescriptions": {
|
|
2553
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2553
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
2554
2554
|
"typeString": "struct ERC777Helper.Operators"
|
|
2555
2555
|
}
|
|
2556
2556
|
},
|
|
@@ -2560,17 +2560,17 @@
|
|
|
2560
2560
|
"src": "2484:24:61"
|
|
2561
2561
|
},
|
|
2562
2562
|
"returnParameters": {
|
|
2563
|
-
"id":
|
|
2563
|
+
"id": 21481,
|
|
2564
2564
|
"nodeType": "ParameterList",
|
|
2565
2565
|
"parameters": [
|
|
2566
2566
|
{
|
|
2567
2567
|
"constant": false,
|
|
2568
|
-
"id":
|
|
2568
|
+
"id": 21480,
|
|
2569
2569
|
"mutability": "mutable",
|
|
2570
2570
|
"name": "",
|
|
2571
2571
|
"nameLocation": "-1:-1:-1",
|
|
2572
2572
|
"nodeType": "VariableDeclaration",
|
|
2573
|
-
"scope":
|
|
2573
|
+
"scope": 21486,
|
|
2574
2574
|
"src": "2532:16:61",
|
|
2575
2575
|
"stateVariable": false,
|
|
2576
2576
|
"storageLocation": "memory",
|
|
@@ -2580,7 +2580,7 @@
|
|
|
2580
2580
|
},
|
|
2581
2581
|
"typeName": {
|
|
2582
2582
|
"baseType": {
|
|
2583
|
-
"id":
|
|
2583
|
+
"id": 21478,
|
|
2584
2584
|
"name": "address",
|
|
2585
2585
|
"nodeType": "ElementaryTypeName",
|
|
2586
2586
|
"src": "2532:7:61",
|
|
@@ -2590,7 +2590,7 @@
|
|
|
2590
2590
|
"typeString": "address"
|
|
2591
2591
|
}
|
|
2592
2592
|
},
|
|
2593
|
-
"id":
|
|
2593
|
+
"id": 21479,
|
|
2594
2594
|
"nodeType": "ArrayTypeName",
|
|
2595
2595
|
"src": "2532:9:61",
|
|
2596
2596
|
"typeDescriptions": {
|
|
@@ -2603,7 +2603,7 @@
|
|
|
2603
2603
|
],
|
|
2604
2604
|
"src": "2531:18:61"
|
|
2605
2605
|
},
|
|
2606
|
-
"scope":
|
|
2606
|
+
"scope": 21534,
|
|
2607
2607
|
"src": "2459:141:61",
|
|
2608
2608
|
"stateMutability": "view",
|
|
2609
2609
|
"virtual": false,
|
|
@@ -2611,7 +2611,7 @@
|
|
|
2611
2611
|
},
|
|
2612
2612
|
{
|
|
2613
2613
|
"body": {
|
|
2614
|
-
"id":
|
|
2614
|
+
"id": 21532,
|
|
2615
2615
|
"nodeType": "Block",
|
|
2616
2616
|
"src": "2698:309:61",
|
|
2617
2617
|
"statements": [
|
|
@@ -2623,7 +2623,7 @@
|
|
|
2623
2623
|
"typeIdentifier": "t_uint256",
|
|
2624
2624
|
"typeString": "uint256"
|
|
2625
2625
|
},
|
|
2626
|
-
"id":
|
|
2626
|
+
"id": 21500,
|
|
2627
2627
|
"isConstant": false,
|
|
2628
2628
|
"isLValue": false,
|
|
2629
2629
|
"isPure": false,
|
|
@@ -2631,18 +2631,18 @@
|
|
|
2631
2631
|
"leftExpression": {
|
|
2632
2632
|
"expression": {
|
|
2633
2633
|
"expression": {
|
|
2634
|
-
"id":
|
|
2634
|
+
"id": 21496,
|
|
2635
2635
|
"name": "self",
|
|
2636
2636
|
"nodeType": "Identifier",
|
|
2637
2637
|
"overloadedDeclarations": [],
|
|
2638
|
-
"referencedDeclaration":
|
|
2638
|
+
"referencedDeclaration": 21489,
|
|
2639
2639
|
"src": "2793:4:61",
|
|
2640
2640
|
"typeDescriptions": {
|
|
2641
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2641
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
2642
2642
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2643
2643
|
}
|
|
2644
2644
|
},
|
|
2645
|
-
"id":
|
|
2645
|
+
"id": 21497,
|
|
2646
2646
|
"isConstant": false,
|
|
2647
2647
|
"isLValue": true,
|
|
2648
2648
|
"isPure": false,
|
|
@@ -2650,14 +2650,14 @@
|
|
|
2650
2650
|
"memberLocation": "2798:21:61",
|
|
2651
2651
|
"memberName": "defaultOperatorsArray",
|
|
2652
2652
|
"nodeType": "MemberAccess",
|
|
2653
|
-
"referencedDeclaration":
|
|
2653
|
+
"referencedDeclaration": 21299,
|
|
2654
2654
|
"src": "2793:26:61",
|
|
2655
2655
|
"typeDescriptions": {
|
|
2656
2656
|
"typeIdentifier": "t_array$_t_address_$dyn_storage",
|
|
2657
2657
|
"typeString": "address[] storage ref"
|
|
2658
2658
|
}
|
|
2659
2659
|
},
|
|
2660
|
-
"id":
|
|
2660
|
+
"id": 21498,
|
|
2661
2661
|
"isConstant": false,
|
|
2662
2662
|
"isLValue": false,
|
|
2663
2663
|
"isPure": false,
|
|
@@ -2675,7 +2675,7 @@
|
|
|
2675
2675
|
"operator": "==",
|
|
2676
2676
|
"rightExpression": {
|
|
2677
2677
|
"hexValue": "30",
|
|
2678
|
-
"id":
|
|
2678
|
+
"id": 21499,
|
|
2679
2679
|
"isConstant": false,
|
|
2680
2680
|
"isLValue": false,
|
|
2681
2681
|
"isPure": true,
|
|
@@ -2703,7 +2703,7 @@
|
|
|
2703
2703
|
"typeString": "bool"
|
|
2704
2704
|
}
|
|
2705
2705
|
],
|
|
2706
|
-
"id":
|
|
2706
|
+
"id": 21495,
|
|
2707
2707
|
"name": "assert",
|
|
2708
2708
|
"nodeType": "Identifier",
|
|
2709
2709
|
"overloadedDeclarations": [],
|
|
@@ -2714,7 +2714,7 @@
|
|
|
2714
2714
|
"typeString": "function (bool) pure"
|
|
2715
2715
|
}
|
|
2716
2716
|
},
|
|
2717
|
-
"id":
|
|
2717
|
+
"id": 21501,
|
|
2718
2718
|
"isConstant": false,
|
|
2719
2719
|
"isLValue": false,
|
|
2720
2720
|
"isPure": false,
|
|
@@ -2730,31 +2730,31 @@
|
|
|
2730
2730
|
"typeString": "tuple()"
|
|
2731
2731
|
}
|
|
2732
2732
|
},
|
|
2733
|
-
"id":
|
|
2733
|
+
"id": 21502,
|
|
2734
2734
|
"nodeType": "ExpressionStatement",
|
|
2735
2735
|
"src": "2786:46:61"
|
|
2736
2736
|
},
|
|
2737
2737
|
{
|
|
2738
2738
|
"expression": {
|
|
2739
|
-
"id":
|
|
2739
|
+
"id": 21507,
|
|
2740
2740
|
"isConstant": false,
|
|
2741
2741
|
"isLValue": false,
|
|
2742
2742
|
"isPure": false,
|
|
2743
2743
|
"lValueRequested": false,
|
|
2744
2744
|
"leftHandSide": {
|
|
2745
2745
|
"expression": {
|
|
2746
|
-
"id":
|
|
2746
|
+
"id": 21503,
|
|
2747
2747
|
"name": "self",
|
|
2748
2748
|
"nodeType": "Identifier",
|
|
2749
2749
|
"overloadedDeclarations": [],
|
|
2750
|
-
"referencedDeclaration":
|
|
2750
|
+
"referencedDeclaration": 21489,
|
|
2751
2751
|
"src": "2842:4:61",
|
|
2752
2752
|
"typeDescriptions": {
|
|
2753
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2753
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
2754
2754
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2755
2755
|
}
|
|
2756
2756
|
},
|
|
2757
|
-
"id":
|
|
2757
|
+
"id": 21505,
|
|
2758
2758
|
"isConstant": false,
|
|
2759
2759
|
"isLValue": true,
|
|
2760
2760
|
"isPure": false,
|
|
@@ -2762,7 +2762,7 @@
|
|
|
2762
2762
|
"memberLocation": "2847:21:61",
|
|
2763
2763
|
"memberName": "defaultOperatorsArray",
|
|
2764
2764
|
"nodeType": "MemberAccess",
|
|
2765
|
-
"referencedDeclaration":
|
|
2765
|
+
"referencedDeclaration": 21299,
|
|
2766
2766
|
"src": "2842:26:61",
|
|
2767
2767
|
"typeDescriptions": {
|
|
2768
2768
|
"typeIdentifier": "t_array$_t_address_$dyn_storage",
|
|
@@ -2772,11 +2772,11 @@
|
|
|
2772
2772
|
"nodeType": "Assignment",
|
|
2773
2773
|
"operator": "=",
|
|
2774
2774
|
"rightHandSide": {
|
|
2775
|
-
"id":
|
|
2775
|
+
"id": 21506,
|
|
2776
2776
|
"name": "operators",
|
|
2777
2777
|
"nodeType": "Identifier",
|
|
2778
2778
|
"overloadedDeclarations": [],
|
|
2779
|
-
"referencedDeclaration":
|
|
2779
|
+
"referencedDeclaration": 21492,
|
|
2780
2780
|
"src": "2871:9:61",
|
|
2781
2781
|
"typeDescriptions": {
|
|
2782
2782
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
|
@@ -2789,19 +2789,19 @@
|
|
|
2789
2789
|
"typeString": "address[] storage ref"
|
|
2790
2790
|
}
|
|
2791
2791
|
},
|
|
2792
|
-
"id":
|
|
2792
|
+
"id": 21508,
|
|
2793
2793
|
"nodeType": "ExpressionStatement",
|
|
2794
2794
|
"src": "2842:38:61"
|
|
2795
2795
|
},
|
|
2796
2796
|
{
|
|
2797
2797
|
"body": {
|
|
2798
|
-
"id":
|
|
2798
|
+
"id": 21530,
|
|
2799
2799
|
"nodeType": "Block",
|
|
2800
2800
|
"src": "2934:67:61",
|
|
2801
2801
|
"statements": [
|
|
2802
2802
|
{
|
|
2803
2803
|
"expression": {
|
|
2804
|
-
"id":
|
|
2804
|
+
"id": 21528,
|
|
2805
2805
|
"isConstant": false,
|
|
2806
2806
|
"isLValue": false,
|
|
2807
2807
|
"isPure": false,
|
|
@@ -2809,18 +2809,18 @@
|
|
|
2809
2809
|
"leftHandSide": {
|
|
2810
2810
|
"baseExpression": {
|
|
2811
2811
|
"expression": {
|
|
2812
|
-
"id":
|
|
2812
|
+
"id": 21520,
|
|
2813
2813
|
"name": "self",
|
|
2814
2814
|
"nodeType": "Identifier",
|
|
2815
2815
|
"overloadedDeclarations": [],
|
|
2816
|
-
"referencedDeclaration":
|
|
2816
|
+
"referencedDeclaration": 21489,
|
|
2817
2817
|
"src": "2948:4:61",
|
|
2818
2818
|
"typeDescriptions": {
|
|
2819
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2819
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
2820
2820
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2821
2821
|
}
|
|
2822
2822
|
},
|
|
2823
|
-
"id":
|
|
2823
|
+
"id": 21525,
|
|
2824
2824
|
"isConstant": false,
|
|
2825
2825
|
"isLValue": true,
|
|
2826
2826
|
"isPure": false,
|
|
@@ -2828,34 +2828,34 @@
|
|
|
2828
2828
|
"memberLocation": "2953:16:61",
|
|
2829
2829
|
"memberName": "defaultOperators",
|
|
2830
2830
|
"nodeType": "MemberAccess",
|
|
2831
|
-
"referencedDeclaration":
|
|
2831
|
+
"referencedDeclaration": 21303,
|
|
2832
2832
|
"src": "2948:21:61",
|
|
2833
2833
|
"typeDescriptions": {
|
|
2834
2834
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
2835
2835
|
"typeString": "mapping(address => bool)"
|
|
2836
2836
|
}
|
|
2837
2837
|
},
|
|
2838
|
-
"id":
|
|
2838
|
+
"id": 21526,
|
|
2839
2839
|
"indexExpression": {
|
|
2840
2840
|
"baseExpression": {
|
|
2841
|
-
"id":
|
|
2841
|
+
"id": 21522,
|
|
2842
2842
|
"name": "operators",
|
|
2843
2843
|
"nodeType": "Identifier",
|
|
2844
2844
|
"overloadedDeclarations": [],
|
|
2845
|
-
"referencedDeclaration":
|
|
2845
|
+
"referencedDeclaration": 21492,
|
|
2846
2846
|
"src": "2970:9:61",
|
|
2847
2847
|
"typeDescriptions": {
|
|
2848
2848
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
|
2849
2849
|
"typeString": "address[] memory"
|
|
2850
2850
|
}
|
|
2851
2851
|
},
|
|
2852
|
-
"id":
|
|
2852
|
+
"id": 21524,
|
|
2853
2853
|
"indexExpression": {
|
|
2854
|
-
"id":
|
|
2854
|
+
"id": 21523,
|
|
2855
2855
|
"name": "i",
|
|
2856
2856
|
"nodeType": "Identifier",
|
|
2857
2857
|
"overloadedDeclarations": [],
|
|
2858
|
-
"referencedDeclaration":
|
|
2858
|
+
"referencedDeclaration": 21510,
|
|
2859
2859
|
"src": "2980:1:61",
|
|
2860
2860
|
"typeDescriptions": {
|
|
2861
2861
|
"typeIdentifier": "t_uint256",
|
|
@@ -2888,7 +2888,7 @@
|
|
|
2888
2888
|
"operator": "=",
|
|
2889
2889
|
"rightHandSide": {
|
|
2890
2890
|
"hexValue": "74727565",
|
|
2891
|
-
"id":
|
|
2891
|
+
"id": 21527,
|
|
2892
2892
|
"isConstant": false,
|
|
2893
2893
|
"isLValue": false,
|
|
2894
2894
|
"isPure": true,
|
|
@@ -2908,7 +2908,7 @@
|
|
|
2908
2908
|
"typeString": "bool"
|
|
2909
2909
|
}
|
|
2910
2910
|
},
|
|
2911
|
-
"id":
|
|
2911
|
+
"id": 21529,
|
|
2912
2912
|
"nodeType": "ExpressionStatement",
|
|
2913
2913
|
"src": "2948:42:61"
|
|
2914
2914
|
}
|
|
@@ -2919,17 +2919,17 @@
|
|
|
2919
2919
|
"typeIdentifier": "t_uint256",
|
|
2920
2920
|
"typeString": "uint256"
|
|
2921
2921
|
},
|
|
2922
|
-
"id":
|
|
2922
|
+
"id": 21516,
|
|
2923
2923
|
"isConstant": false,
|
|
2924
2924
|
"isLValue": false,
|
|
2925
2925
|
"isPure": false,
|
|
2926
2926
|
"lValueRequested": false,
|
|
2927
2927
|
"leftExpression": {
|
|
2928
|
-
"id":
|
|
2928
|
+
"id": 21513,
|
|
2929
2929
|
"name": "i",
|
|
2930
2930
|
"nodeType": "Identifier",
|
|
2931
2931
|
"overloadedDeclarations": [],
|
|
2932
|
-
"referencedDeclaration":
|
|
2932
|
+
"referencedDeclaration": 21510,
|
|
2933
2933
|
"src": "2907:1:61",
|
|
2934
2934
|
"typeDescriptions": {
|
|
2935
2935
|
"typeIdentifier": "t_uint256",
|
|
@@ -2940,18 +2940,18 @@
|
|
|
2940
2940
|
"operator": "<",
|
|
2941
2941
|
"rightExpression": {
|
|
2942
2942
|
"expression": {
|
|
2943
|
-
"id":
|
|
2943
|
+
"id": 21514,
|
|
2944
2944
|
"name": "operators",
|
|
2945
2945
|
"nodeType": "Identifier",
|
|
2946
2946
|
"overloadedDeclarations": [],
|
|
2947
|
-
"referencedDeclaration":
|
|
2947
|
+
"referencedDeclaration": 21492,
|
|
2948
2948
|
"src": "2911:9:61",
|
|
2949
2949
|
"typeDescriptions": {
|
|
2950
2950
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
|
2951
2951
|
"typeString": "address[] memory"
|
|
2952
2952
|
}
|
|
2953
2953
|
},
|
|
2954
|
-
"id":
|
|
2954
|
+
"id": 21515,
|
|
2955
2955
|
"isConstant": false,
|
|
2956
2956
|
"isLValue": false,
|
|
2957
2957
|
"isPure": false,
|
|
@@ -2971,20 +2971,20 @@
|
|
|
2971
2971
|
"typeString": "bool"
|
|
2972
2972
|
}
|
|
2973
2973
|
},
|
|
2974
|
-
"id":
|
|
2974
|
+
"id": 21531,
|
|
2975
2975
|
"initializationExpression": {
|
|
2976
2976
|
"assignments": [
|
|
2977
|
-
|
|
2977
|
+
21510
|
|
2978
2978
|
],
|
|
2979
2979
|
"declarations": [
|
|
2980
2980
|
{
|
|
2981
2981
|
"constant": false,
|
|
2982
|
-
"id":
|
|
2982
|
+
"id": 21510,
|
|
2983
2983
|
"mutability": "mutable",
|
|
2984
2984
|
"name": "i",
|
|
2985
2985
|
"nameLocation": "2900:1:61",
|
|
2986
2986
|
"nodeType": "VariableDeclaration",
|
|
2987
|
-
"scope":
|
|
2987
|
+
"scope": 21531,
|
|
2988
2988
|
"src": "2895:6:61",
|
|
2989
2989
|
"stateVariable": false,
|
|
2990
2990
|
"storageLocation": "default",
|
|
@@ -2993,7 +2993,7 @@
|
|
|
2993
2993
|
"typeString": "uint256"
|
|
2994
2994
|
},
|
|
2995
2995
|
"typeName": {
|
|
2996
|
-
"id":
|
|
2996
|
+
"id": 21509,
|
|
2997
2997
|
"name": "uint",
|
|
2998
2998
|
"nodeType": "ElementaryTypeName",
|
|
2999
2999
|
"src": "2895:4:61",
|
|
@@ -3005,10 +3005,10 @@
|
|
|
3005
3005
|
"visibility": "internal"
|
|
3006
3006
|
}
|
|
3007
3007
|
],
|
|
3008
|
-
"id":
|
|
3008
|
+
"id": 21512,
|
|
3009
3009
|
"initialValue": {
|
|
3010
3010
|
"hexValue": "30",
|
|
3011
|
-
"id":
|
|
3011
|
+
"id": 21511,
|
|
3012
3012
|
"isConstant": false,
|
|
3013
3013
|
"isLValue": false,
|
|
3014
3014
|
"isPure": true,
|
|
@@ -3027,7 +3027,7 @@
|
|
|
3027
3027
|
},
|
|
3028
3028
|
"loopExpression": {
|
|
3029
3029
|
"expression": {
|
|
3030
|
-
"id":
|
|
3030
|
+
"id": 21518,
|
|
3031
3031
|
"isConstant": false,
|
|
3032
3032
|
"isLValue": false,
|
|
3033
3033
|
"isPure": false,
|
|
@@ -3037,11 +3037,11 @@
|
|
|
3037
3037
|
"prefix": true,
|
|
3038
3038
|
"src": "2929:3:61",
|
|
3039
3039
|
"subExpression": {
|
|
3040
|
-
"id":
|
|
3040
|
+
"id": 21517,
|
|
3041
3041
|
"name": "i",
|
|
3042
3042
|
"nodeType": "Identifier",
|
|
3043
3043
|
"overloadedDeclarations": [],
|
|
3044
|
-
"referencedDeclaration":
|
|
3044
|
+
"referencedDeclaration": 21510,
|
|
3045
3045
|
"src": "2931:1:61",
|
|
3046
3046
|
"typeDescriptions": {
|
|
3047
3047
|
"typeIdentifier": "t_uint256",
|
|
@@ -3053,7 +3053,7 @@
|
|
|
3053
3053
|
"typeString": "uint256"
|
|
3054
3054
|
}
|
|
3055
3055
|
},
|
|
3056
|
-
"id":
|
|
3056
|
+
"id": 21519,
|
|
3057
3057
|
"nodeType": "ExpressionStatement",
|
|
3058
3058
|
"src": "2929:3:61"
|
|
3059
3059
|
},
|
|
@@ -3062,7 +3062,7 @@
|
|
|
3062
3062
|
}
|
|
3063
3063
|
]
|
|
3064
3064
|
},
|
|
3065
|
-
"id":
|
|
3065
|
+
"id": 21533,
|
|
3066
3066
|
"implemented": true,
|
|
3067
3067
|
"kind": "function",
|
|
3068
3068
|
"modifiers": [],
|
|
@@ -3070,41 +3070,41 @@
|
|
|
3070
3070
|
"nameLocation": "2615:21:61",
|
|
3071
3071
|
"nodeType": "FunctionDefinition",
|
|
3072
3072
|
"parameters": {
|
|
3073
|
-
"id":
|
|
3073
|
+
"id": 21493,
|
|
3074
3074
|
"nodeType": "ParameterList",
|
|
3075
3075
|
"parameters": [
|
|
3076
3076
|
{
|
|
3077
3077
|
"constant": false,
|
|
3078
|
-
"id":
|
|
3078
|
+
"id": 21489,
|
|
3079
3079
|
"mutability": "mutable",
|
|
3080
3080
|
"name": "self",
|
|
3081
3081
|
"nameLocation": "2655:4:61",
|
|
3082
3082
|
"nodeType": "VariableDeclaration",
|
|
3083
|
-
"scope":
|
|
3083
|
+
"scope": 21533,
|
|
3084
3084
|
"src": "2637:22:61",
|
|
3085
3085
|
"stateVariable": false,
|
|
3086
3086
|
"storageLocation": "storage",
|
|
3087
3087
|
"typeDescriptions": {
|
|
3088
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
3088
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
3089
3089
|
"typeString": "struct ERC777Helper.Operators"
|
|
3090
3090
|
},
|
|
3091
3091
|
"typeName": {
|
|
3092
|
-
"id":
|
|
3092
|
+
"id": 21488,
|
|
3093
3093
|
"nodeType": "UserDefinedTypeName",
|
|
3094
3094
|
"pathNode": {
|
|
3095
|
-
"id":
|
|
3095
|
+
"id": 21487,
|
|
3096
3096
|
"name": "Operators",
|
|
3097
3097
|
"nameLocations": [
|
|
3098
3098
|
"2637:9:61"
|
|
3099
3099
|
],
|
|
3100
3100
|
"nodeType": "IdentifierPath",
|
|
3101
|
-
"referencedDeclaration":
|
|
3101
|
+
"referencedDeclaration": 21316,
|
|
3102
3102
|
"src": "2637:9:61"
|
|
3103
3103
|
},
|
|
3104
|
-
"referencedDeclaration":
|
|
3104
|
+
"referencedDeclaration": 21316,
|
|
3105
3105
|
"src": "2637:9:61",
|
|
3106
3106
|
"typeDescriptions": {
|
|
3107
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
3107
|
+
"typeIdentifier": "t_struct$_Operators_$21316_storage_ptr",
|
|
3108
3108
|
"typeString": "struct ERC777Helper.Operators"
|
|
3109
3109
|
}
|
|
3110
3110
|
},
|
|
@@ -3112,12 +3112,12 @@
|
|
|
3112
3112
|
},
|
|
3113
3113
|
{
|
|
3114
3114
|
"constant": false,
|
|
3115
|
-
"id":
|
|
3115
|
+
"id": 21492,
|
|
3116
3116
|
"mutability": "mutable",
|
|
3117
3117
|
"name": "operators",
|
|
3118
3118
|
"nameLocation": "2678:9:61",
|
|
3119
3119
|
"nodeType": "VariableDeclaration",
|
|
3120
|
-
"scope":
|
|
3120
|
+
"scope": 21533,
|
|
3121
3121
|
"src": "2661:26:61",
|
|
3122
3122
|
"stateVariable": false,
|
|
3123
3123
|
"storageLocation": "memory",
|
|
@@ -3127,7 +3127,7 @@
|
|
|
3127
3127
|
},
|
|
3128
3128
|
"typeName": {
|
|
3129
3129
|
"baseType": {
|
|
3130
|
-
"id":
|
|
3130
|
+
"id": 21490,
|
|
3131
3131
|
"name": "address",
|
|
3132
3132
|
"nodeType": "ElementaryTypeName",
|
|
3133
3133
|
"src": "2661:7:61",
|
|
@@ -3137,7 +3137,7 @@
|
|
|
3137
3137
|
"typeString": "address"
|
|
3138
3138
|
}
|
|
3139
3139
|
},
|
|
3140
|
-
"id":
|
|
3140
|
+
"id": 21491,
|
|
3141
3141
|
"nodeType": "ArrayTypeName",
|
|
3142
3142
|
"src": "2661:9:61",
|
|
3143
3143
|
"typeDescriptions": {
|
|
@@ -3151,19 +3151,19 @@
|
|
|
3151
3151
|
"src": "2636:52:61"
|
|
3152
3152
|
},
|
|
3153
3153
|
"returnParameters": {
|
|
3154
|
-
"id":
|
|
3154
|
+
"id": 21494,
|
|
3155
3155
|
"nodeType": "ParameterList",
|
|
3156
3156
|
"parameters": [],
|
|
3157
3157
|
"src": "2698:0:61"
|
|
3158
3158
|
},
|
|
3159
|
-
"scope":
|
|
3159
|
+
"scope": 21534,
|
|
3160
3160
|
"src": "2606:401:61",
|
|
3161
3161
|
"stateMutability": "nonpayable",
|
|
3162
3162
|
"virtual": false,
|
|
3163
3163
|
"visibility": "internal"
|
|
3164
3164
|
}
|
|
3165
3165
|
],
|
|
3166
|
-
"scope":
|
|
3166
|
+
"scope": 21535,
|
|
3167
3167
|
"src": "224:2786:61",
|
|
3168
3168
|
"usedErrors": []
|
|
3169
3169
|
}
|
|
@@ -3176,7 +3176,7 @@
|
|
|
3176
3176
|
},
|
|
3177
3177
|
"networks": {},
|
|
3178
3178
|
"schemaVersion": "3.4.9",
|
|
3179
|
-
"updatedAt": "2022-09-
|
|
3179
|
+
"updatedAt": "2022-09-21T11:06:18.161Z",
|
|
3180
3180
|
"devdoc": {
|
|
3181
3181
|
"author": "Superfluid",
|
|
3182
3182
|
"kind": "dev",
|