@superfluid-finance/ethereum-contracts 1.3.2-dev.bf84335.0 → 1.3.2-dev.de7575d.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 +18 -18
- package/build/contracts/AgreementLibrary.json +1272 -1183
- package/build/contracts/BaseRelayRecipient.json +55 -55
- package/build/contracts/BatchLiquidator.json +211 -211
- package/build/contracts/BatchOperation.json +599 -599
- package/build/contracts/CFAv1Library.json +2282 -2282
- package/build/contracts/CallUtils.json +198 -198
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +2472 -2472
- package/build/contracts/ConstantFlowAgreementV1.json +12931 -13308
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +599 -599
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +20 -20
- 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 +858 -858
- package/build/contracts/ERC777RecipientReverting.json +858 -858
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +43 -43
- package/build/contracts/ExclusiveInflowTestApp.json +2473 -2473
- package/build/contracts/FixedSizeData.json +200 -200
- package/build/contracts/FlowExchangeTestApp.json +2473 -2473
- package/build/contracts/FlowOperatorDefinitions.json +599 -599
- package/build/contracts/FullUpgradableSuperTokenProxy.json +115 -115
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +567 -567
- package/build/contracts/IDAv1Library.json +2614 -2614
- 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 +640 -640
- package/build/contracts/IMaticBridgedNativeSuperToken.json +63 -63
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +63 -63
- package/build/contracts/IMultiSigWallet.json +24 -24
- package/build/contracts/IPureSuperToken.json +43 -43
- package/build/contracts/IPureSuperTokenCustom.json +43 -43
- package/build/contracts/IRelayRecipient.json +27 -27
- package/build/contracts/IResolver.json +38 -38
- package/build/contracts/ISETH.json +48 -48
- package/build/contracts/ISETHCustom.json +48 -48
- package/build/contracts/ISuperAgreement.json +50 -50
- package/build/contracts/ISuperApp.json +192 -192
- package/build/contracts/ISuperToken.json +524 -524
- package/build/contracts/ISuperTokenFactory.json +161 -161
- package/build/contracts/ISuperfluid.json +1145 -1178
- package/build/contracts/ISuperfluidGovernance.json +243 -243
- package/build/contracts/ISuperfluidToken.json +389 -389
- package/build/contracts/ITOGAv1.json +1442 -1442
- package/build/contracts/ITOGAv2.json +1442 -1442
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5820 -5820
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +231 -231
- package/build/contracts/NonClosableOutflowTestApp.json +2473 -2473
- 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 +109 -109
- package/build/contracts/Resolver.json +98 -98
- package/build/contracts/SETHProxy.json +227 -227
- 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 +2472 -2472
- package/build/contracts/SlotsBitmapLibrary.json +457 -457
- package/build/contracts/StreamRedirector.json +748 -748
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +240 -240
- package/build/contracts/SuperAppDefinitions.json +599 -599
- package/build/contracts/SuperToken.json +4732 -4732
- package/build/contracts/SuperTokenFactory.json +750 -750
- package/build/contracts/SuperTokenFactoryBase.json +738 -738
- package/build/contracts/SuperTokenFactoryHelper.json +743 -743
- package/build/contracts/SuperUpgrader.json +440 -440
- package/build/contracts/Superfluid.json +15366 -16050
- package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
- package/build/contracts/SuperfluidGovernanceBase.json +2233 -2233
- package/build/contracts/SuperfluidGovernanceConfigs.json +599 -599
- package/build/contracts/SuperfluidGovernanceII.json +149 -149
- package/build/contracts/SuperfluidGovernanceIIProxy.json +131 -131
- package/build/contracts/SuperfluidLoader.json +210 -210
- package/build/contracts/SuperfluidToken.json +2420 -2420
- package/build/contracts/TOGA.json +1461 -1461
- package/build/contracts/TestGovernance.json +248 -248
- 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 +6 -6
- package/contracts/agreements/AgreementLibrary.sol +39 -15
- package/contracts/agreements/ConstantFlowAgreementV1.sol +65 -53
- package/contracts/interfaces/superfluid/ISuperfluid.sol +29 -23
- package/contracts/mocks/AgreementMock.sol +2 -2
- package/contracts/mocks/CFAAppMocks.sol +1 -1
- package/contracts/mocks/MultiFlowTesterApp.sol +13 -12
- package/contracts/mocks/SuperTokenMock.sol +2 -2
- package/contracts/mocks/SuperfluidMock.sol +9 -9
- package/contracts/superfluid/Superfluid.sol +34 -38
- package/contracts/superfluid/SuperfluidToken.sol +14 -14
- package/package.json +2 -2
- package/scripts/deploy-mfa.ts +27 -0
- package/scripts/libs/getConfig.js +14 -0
- package/utils/README.md +18 -0
- package/utils/mfa-tester.html +687 -0
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
"absolutePath": "project:/contracts/libs/ERC777Helper.sol",
|
|
16
16
|
"exportedSymbols": {
|
|
17
17
|
"ERC777Helper": [
|
|
18
|
-
|
|
18
|
+
21074
|
|
19
19
|
],
|
|
20
20
|
"IERC1820Registry": [
|
|
21
21
|
3245
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
|
-
"id":
|
|
24
|
+
"id": 21075,
|
|
25
25
|
"license": "AGPLv3",
|
|
26
26
|
"nodeType": "SourceUnit",
|
|
27
27
|
"nodes": [
|
|
28
28
|
{
|
|
29
|
-
"id":
|
|
29
|
+
"id": 20821,
|
|
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": 20823,
|
|
42
42
|
"nameLocation": "-1:-1:-1",
|
|
43
43
|
"nodeType": "ImportDirective",
|
|
44
|
-
"scope":
|
|
44
|
+
"scope": 21075,
|
|
45
45
|
"sourceUnit": 3246,
|
|
46
46
|
"src": "60:100:62",
|
|
47
47
|
"symbolAliases": [
|
|
48
48
|
{
|
|
49
49
|
"foreign": {
|
|
50
|
-
"id":
|
|
50
|
+
"id": 20822,
|
|
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": 20824,
|
|
71
71
|
"nodeType": "StructuredDocumentation",
|
|
72
72
|
"src": "162:61:62",
|
|
73
73
|
"text": " @title ERC777 helper library\n @author Superfluid"
|
|
74
74
|
},
|
|
75
75
|
"fullyImplemented": true,
|
|
76
|
-
"id":
|
|
76
|
+
"id": 21074,
|
|
77
77
|
"linearizedBaseContracts": [
|
|
78
|
-
|
|
78
|
+
21074
|
|
79
79
|
],
|
|
80
80
|
"name": "ERC777Helper",
|
|
81
81
|
"nameLocation": "232:12:62",
|
|
@@ -83,12 +83,12 @@
|
|
|
83
83
|
"nodes": [
|
|
84
84
|
{
|
|
85
85
|
"constant": true,
|
|
86
|
-
"id":
|
|
86
|
+
"id": 20830,
|
|
87
87
|
"mutability": "constant",
|
|
88
88
|
"name": "_ERC1820_REGISTRY",
|
|
89
89
|
"nameLocation": "287:17:62",
|
|
90
90
|
"nodeType": "VariableDeclaration",
|
|
91
|
-
"scope":
|
|
91
|
+
"scope": 21074,
|
|
92
92
|
"src": "252:123:62",
|
|
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": 20826,
|
|
101
101
|
"nodeType": "UserDefinedTypeName",
|
|
102
102
|
"pathNode": {
|
|
103
|
-
"id":
|
|
103
|
+
"id": 20825,
|
|
104
104
|
"name": "IERC1820Registry",
|
|
105
105
|
"nodeType": "IdentifierPath",
|
|
106
106
|
"referencedDeclaration": 3245,
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"arguments": [
|
|
118
118
|
{
|
|
119
119
|
"hexValue": "307831383230613442373631384264453731446365386364633733614142364339353930356661443234",
|
|
120
|
-
"id":
|
|
120
|
+
"id": 20828,
|
|
121
121
|
"isConstant": false,
|
|
122
122
|
"isLValue": false,
|
|
123
123
|
"isPure": true,
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"typeString": "address"
|
|
140
140
|
}
|
|
141
141
|
],
|
|
142
|
-
"id":
|
|
142
|
+
"id": 20827,
|
|
143
143
|
"name": "IERC1820Registry",
|
|
144
144
|
"nodeType": "Identifier",
|
|
145
145
|
"overloadedDeclarations": [],
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"typeString": "type(contract IERC1820Registry)"
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
|
-
"id":
|
|
153
|
+
"id": 20829,
|
|
154
154
|
"isConstant": false,
|
|
155
155
|
"isLValue": false,
|
|
156
156
|
"isPure": true,
|
|
@@ -169,12 +169,12 @@
|
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
"constant": true,
|
|
172
|
-
"id":
|
|
172
|
+
"id": 20833,
|
|
173
173
|
"mutability": "constant",
|
|
174
174
|
"name": "_TOKENS_SENDER_INTERFACE_HASH",
|
|
175
175
|
"nameLocation": "447:29:62",
|
|
176
176
|
"nodeType": "VariableDeclaration",
|
|
177
|
-
"scope":
|
|
177
|
+
"scope": 21074,
|
|
178
178
|
"src": "421:132:62",
|
|
179
179
|
"stateVariable": true,
|
|
180
180
|
"storageLocation": "default",
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"typeString": "bytes32"
|
|
184
184
|
},
|
|
185
185
|
"typeName": {
|
|
186
|
-
"id":
|
|
186
|
+
"id": 20831,
|
|
187
187
|
"name": "bytes32",
|
|
188
188
|
"nodeType": "ElementaryTypeName",
|
|
189
189
|
"src": "421:7:62",
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
},
|
|
195
195
|
"value": {
|
|
196
196
|
"hexValue": "307832396464623538396231666235666337636633393439363163316164663566386336343534373631616466373935653637666531343966363538616265383935",
|
|
197
|
-
"id":
|
|
197
|
+
"id": 20832,
|
|
198
198
|
"isConstant": false,
|
|
199
199
|
"isLValue": false,
|
|
200
200
|
"isPure": true,
|
|
@@ -212,12 +212,12 @@
|
|
|
212
212
|
},
|
|
213
213
|
{
|
|
214
214
|
"constant": true,
|
|
215
|
-
"id":
|
|
215
|
+
"id": 20836,
|
|
216
216
|
"mutability": "constant",
|
|
217
217
|
"name": "_TOKENS_RECIPIENT_INTERFACE_HASH",
|
|
218
218
|
"nameLocation": "628:32:62",
|
|
219
219
|
"nodeType": "VariableDeclaration",
|
|
220
|
-
"scope":
|
|
220
|
+
"scope": 21074,
|
|
221
221
|
"src": "602:135:62",
|
|
222
222
|
"stateVariable": true,
|
|
223
223
|
"storageLocation": "default",
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"typeString": "bytes32"
|
|
227
227
|
},
|
|
228
228
|
"typeName": {
|
|
229
|
-
"id":
|
|
229
|
+
"id": 20834,
|
|
230
230
|
"name": "bytes32",
|
|
231
231
|
"nodeType": "ElementaryTypeName",
|
|
232
232
|
"src": "602:7:62",
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
},
|
|
238
238
|
"value": {
|
|
239
239
|
"hexValue": "307862323831666338633132393534643232353434646234356465333135396133393237323839356231363961383532623331346639636337363265343463353362",
|
|
240
|
-
"id":
|
|
240
|
+
"id": 20835,
|
|
241
241
|
"isConstant": false,
|
|
242
242
|
"isLValue": false,
|
|
243
243
|
"isPure": true,
|
|
@@ -255,16 +255,16 @@
|
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
257
|
"canonicalName": "ERC777Helper.Operators",
|
|
258
|
-
"id":
|
|
258
|
+
"id": 20856,
|
|
259
259
|
"members": [
|
|
260
260
|
{
|
|
261
261
|
"constant": false,
|
|
262
|
-
"id":
|
|
262
|
+
"id": 20839,
|
|
263
263
|
"mutability": "mutable",
|
|
264
264
|
"name": "defaultOperatorsArray",
|
|
265
265
|
"nameLocation": "835:21:62",
|
|
266
266
|
"nodeType": "VariableDeclaration",
|
|
267
|
-
"scope":
|
|
267
|
+
"scope": 20856,
|
|
268
268
|
"src": "825:31:62",
|
|
269
269
|
"stateVariable": false,
|
|
270
270
|
"storageLocation": "default",
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
},
|
|
275
275
|
"typeName": {
|
|
276
276
|
"baseType": {
|
|
277
|
-
"id":
|
|
277
|
+
"id": 20837,
|
|
278
278
|
"name": "address",
|
|
279
279
|
"nodeType": "ElementaryTypeName",
|
|
280
280
|
"src": "825:7:62",
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
"typeString": "address"
|
|
285
285
|
}
|
|
286
286
|
},
|
|
287
|
-
"id":
|
|
287
|
+
"id": 20838,
|
|
288
288
|
"nodeType": "ArrayTypeName",
|
|
289
289
|
"src": "825:9:62",
|
|
290
290
|
"typeDescriptions": {
|
|
@@ -296,12 +296,12 @@
|
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
298
|
"constant": false,
|
|
299
|
-
"id":
|
|
299
|
+
"id": 20843,
|
|
300
300
|
"mutability": "mutable",
|
|
301
301
|
"name": "defaultOperators",
|
|
302
302
|
"nameLocation": "891:16:62",
|
|
303
303
|
"nodeType": "VariableDeclaration",
|
|
304
|
-
"scope":
|
|
304
|
+
"scope": 20856,
|
|
305
305
|
"src": "866:41:62",
|
|
306
306
|
"stateVariable": false,
|
|
307
307
|
"storageLocation": "default",
|
|
@@ -310,9 +310,9 @@
|
|
|
310
310
|
"typeString": "mapping(address => bool)"
|
|
311
311
|
},
|
|
312
312
|
"typeName": {
|
|
313
|
-
"id":
|
|
313
|
+
"id": 20842,
|
|
314
314
|
"keyType": {
|
|
315
|
-
"id":
|
|
315
|
+
"id": 20840,
|
|
316
316
|
"name": "address",
|
|
317
317
|
"nodeType": "ElementaryTypeName",
|
|
318
318
|
"src": "874:7:62",
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
"typeString": "mapping(address => bool)"
|
|
329
329
|
},
|
|
330
330
|
"valueType": {
|
|
331
|
-
"id":
|
|
331
|
+
"id": 20841,
|
|
332
332
|
"name": "bool",
|
|
333
333
|
"nodeType": "ElementaryTypeName",
|
|
334
334
|
"src": "885:4:62",
|
|
@@ -342,12 +342,12 @@
|
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
344
|
"constant": false,
|
|
345
|
-
"id":
|
|
345
|
+
"id": 20849,
|
|
346
346
|
"mutability": "mutable",
|
|
347
347
|
"name": "operators",
|
|
348
348
|
"nameLocation": "962:9:62",
|
|
349
349
|
"nodeType": "VariableDeclaration",
|
|
350
|
-
"scope":
|
|
350
|
+
"scope": 20856,
|
|
351
351
|
"src": "917:54:62",
|
|
352
352
|
"stateVariable": false,
|
|
353
353
|
"storageLocation": "default",
|
|
@@ -356,9 +356,9 @@
|
|
|
356
356
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
357
357
|
},
|
|
358
358
|
"typeName": {
|
|
359
|
-
"id":
|
|
359
|
+
"id": 20848,
|
|
360
360
|
"keyType": {
|
|
361
|
-
"id":
|
|
361
|
+
"id": 20844,
|
|
362
362
|
"name": "address",
|
|
363
363
|
"nodeType": "ElementaryTypeName",
|
|
364
364
|
"src": "925:7:62",
|
|
@@ -374,9 +374,9 @@
|
|
|
374
374
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
375
375
|
},
|
|
376
376
|
"valueType": {
|
|
377
|
-
"id":
|
|
377
|
+
"id": 20847,
|
|
378
378
|
"keyType": {
|
|
379
|
-
"id":
|
|
379
|
+
"id": 20845,
|
|
380
380
|
"name": "address",
|
|
381
381
|
"nodeType": "ElementaryTypeName",
|
|
382
382
|
"src": "944:7:62",
|
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
"typeString": "mapping(address => bool)"
|
|
393
393
|
},
|
|
394
394
|
"valueType": {
|
|
395
|
-
"id":
|
|
395
|
+
"id": 20846,
|
|
396
396
|
"name": "bool",
|
|
397
397
|
"nodeType": "ElementaryTypeName",
|
|
398
398
|
"src": "955:4:62",
|
|
@@ -407,12 +407,12 @@
|
|
|
407
407
|
},
|
|
408
408
|
{
|
|
409
409
|
"constant": false,
|
|
410
|
-
"id":
|
|
410
|
+
"id": 20855,
|
|
411
411
|
"mutability": "mutable",
|
|
412
412
|
"name": "revokedDefaultOperators",
|
|
413
413
|
"nameLocation": "1026:23:62",
|
|
414
414
|
"nodeType": "VariableDeclaration",
|
|
415
|
-
"scope":
|
|
415
|
+
"scope": 20856,
|
|
416
416
|
"src": "981:68:62",
|
|
417
417
|
"stateVariable": false,
|
|
418
418
|
"storageLocation": "default",
|
|
@@ -421,9 +421,9 @@
|
|
|
421
421
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
422
422
|
},
|
|
423
423
|
"typeName": {
|
|
424
|
-
"id":
|
|
424
|
+
"id": 20854,
|
|
425
425
|
"keyType": {
|
|
426
|
-
"id":
|
|
426
|
+
"id": 20850,
|
|
427
427
|
"name": "address",
|
|
428
428
|
"nodeType": "ElementaryTypeName",
|
|
429
429
|
"src": "989:7:62",
|
|
@@ -439,9 +439,9 @@
|
|
|
439
439
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
440
440
|
},
|
|
441
441
|
"valueType": {
|
|
442
|
-
"id":
|
|
442
|
+
"id": 20853,
|
|
443
443
|
"keyType": {
|
|
444
|
-
"id":
|
|
444
|
+
"id": 20851,
|
|
445
445
|
"name": "address",
|
|
446
446
|
"nodeType": "ElementaryTypeName",
|
|
447
447
|
"src": "1008:7:62",
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
"typeString": "mapping(address => bool)"
|
|
458
458
|
},
|
|
459
459
|
"valueType": {
|
|
460
|
-
"id":
|
|
460
|
+
"id": 20852,
|
|
461
461
|
"name": "bool",
|
|
462
462
|
"nodeType": "ElementaryTypeName",
|
|
463
463
|
"src": "1019:4:62",
|
|
@@ -474,13 +474,13 @@
|
|
|
474
474
|
"name": "Operators",
|
|
475
475
|
"nameLocation": "805:9:62",
|
|
476
476
|
"nodeType": "StructDefinition",
|
|
477
|
-
"scope":
|
|
477
|
+
"scope": 21074,
|
|
478
478
|
"src": "798:258:62",
|
|
479
479
|
"visibility": "public"
|
|
480
480
|
},
|
|
481
481
|
{
|
|
482
482
|
"body": {
|
|
483
|
-
"id":
|
|
483
|
+
"id": 20887,
|
|
484
484
|
"nodeType": "Block",
|
|
485
485
|
"src": "1104:204:62",
|
|
486
486
|
"statements": [
|
|
@@ -488,11 +488,11 @@
|
|
|
488
488
|
"expression": {
|
|
489
489
|
"arguments": [
|
|
490
490
|
{
|
|
491
|
-
"id":
|
|
491
|
+
"id": 20864,
|
|
492
492
|
"name": "token",
|
|
493
493
|
"nodeType": "Identifier",
|
|
494
494
|
"overloadedDeclarations": [],
|
|
495
|
-
"referencedDeclaration":
|
|
495
|
+
"referencedDeclaration": 20858,
|
|
496
496
|
"src": "1156:5:62",
|
|
497
497
|
"typeDescriptions": {
|
|
498
498
|
"typeIdentifier": "t_address",
|
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
"arguments": [
|
|
504
504
|
{
|
|
505
505
|
"hexValue": "455243373737546f6b656e",
|
|
506
|
-
"id":
|
|
506
|
+
"id": 20866,
|
|
507
507
|
"isConstant": false,
|
|
508
508
|
"isLValue": false,
|
|
509
509
|
"isPure": true,
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
"typeString": "literal_string \"ERC777Token\""
|
|
526
526
|
}
|
|
527
527
|
],
|
|
528
|
-
"id":
|
|
528
|
+
"id": 20865,
|
|
529
529
|
"name": "keccak256",
|
|
530
530
|
"nodeType": "Identifier",
|
|
531
531
|
"overloadedDeclarations": [],
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
537
537
|
}
|
|
538
538
|
},
|
|
539
|
-
"id":
|
|
539
|
+
"id": 20867,
|
|
540
540
|
"isConstant": false,
|
|
541
541
|
"isLValue": false,
|
|
542
542
|
"isPure": true,
|
|
@@ -554,14 +554,14 @@
|
|
|
554
554
|
{
|
|
555
555
|
"arguments": [
|
|
556
556
|
{
|
|
557
|
-
"id":
|
|
557
|
+
"id": 20870,
|
|
558
558
|
"name": "this",
|
|
559
559
|
"nodeType": "Identifier",
|
|
560
560
|
"overloadedDeclarations": [],
|
|
561
561
|
"referencedDeclaration": 4294967268,
|
|
562
562
|
"src": "1197:4:62",
|
|
563
563
|
"typeDescriptions": {
|
|
564
|
-
"typeIdentifier": "t_contract$_ERC777Helper_$
|
|
564
|
+
"typeIdentifier": "t_contract$_ERC777Helper_$21074",
|
|
565
565
|
"typeString": "library ERC777Helper"
|
|
566
566
|
}
|
|
567
567
|
}
|
|
@@ -569,11 +569,11 @@
|
|
|
569
569
|
"expression": {
|
|
570
570
|
"argumentTypes": [
|
|
571
571
|
{
|
|
572
|
-
"typeIdentifier": "t_contract$_ERC777Helper_$
|
|
572
|
+
"typeIdentifier": "t_contract$_ERC777Helper_$21074",
|
|
573
573
|
"typeString": "library ERC777Helper"
|
|
574
574
|
}
|
|
575
575
|
],
|
|
576
|
-
"id":
|
|
576
|
+
"id": 20869,
|
|
577
577
|
"isConstant": false,
|
|
578
578
|
"isLValue": false,
|
|
579
579
|
"isPure": true,
|
|
@@ -585,14 +585,14 @@
|
|
|
585
585
|
"typeString": "type(address)"
|
|
586
586
|
},
|
|
587
587
|
"typeName": {
|
|
588
|
-
"id":
|
|
588
|
+
"id": 20868,
|
|
589
589
|
"name": "address",
|
|
590
590
|
"nodeType": "ElementaryTypeName",
|
|
591
591
|
"src": "1189:7:62",
|
|
592
592
|
"typeDescriptions": {}
|
|
593
593
|
}
|
|
594
594
|
},
|
|
595
|
-
"id":
|
|
595
|
+
"id": 20871,
|
|
596
596
|
"isConstant": false,
|
|
597
597
|
"isLValue": false,
|
|
598
598
|
"isPure": false,
|
|
@@ -624,18 +624,18 @@
|
|
|
624
624
|
}
|
|
625
625
|
],
|
|
626
626
|
"expression": {
|
|
627
|
-
"id":
|
|
627
|
+
"id": 20861,
|
|
628
628
|
"name": "_ERC1820_REGISTRY",
|
|
629
629
|
"nodeType": "Identifier",
|
|
630
630
|
"overloadedDeclarations": [],
|
|
631
|
-
"referencedDeclaration":
|
|
631
|
+
"referencedDeclaration": 20830,
|
|
632
632
|
"src": "1114:17:62",
|
|
633
633
|
"typeDescriptions": {
|
|
634
634
|
"typeIdentifier": "t_contract$_IERC1820Registry_$3245",
|
|
635
635
|
"typeString": "contract IERC1820Registry"
|
|
636
636
|
}
|
|
637
637
|
},
|
|
638
|
-
"id":
|
|
638
|
+
"id": 20863,
|
|
639
639
|
"isConstant": false,
|
|
640
640
|
"isLValue": false,
|
|
641
641
|
"isPure": false,
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
"typeString": "function (address,bytes32,address) external"
|
|
650
650
|
}
|
|
651
651
|
},
|
|
652
|
-
"id":
|
|
652
|
+
"id": 20872,
|
|
653
653
|
"isConstant": false,
|
|
654
654
|
"isLValue": false,
|
|
655
655
|
"isPure": false,
|
|
@@ -664,7 +664,7 @@
|
|
|
664
664
|
"typeString": "tuple()"
|
|
665
665
|
}
|
|
666
666
|
},
|
|
667
|
-
"id":
|
|
667
|
+
"id": 20873,
|
|
668
668
|
"nodeType": "ExpressionStatement",
|
|
669
669
|
"src": "1114:89:62"
|
|
670
670
|
},
|
|
@@ -672,11 +672,11 @@
|
|
|
672
672
|
"expression": {
|
|
673
673
|
"arguments": [
|
|
674
674
|
{
|
|
675
|
-
"id":
|
|
675
|
+
"id": 20877,
|
|
676
676
|
"name": "token",
|
|
677
677
|
"nodeType": "Identifier",
|
|
678
678
|
"overloadedDeclarations": [],
|
|
679
|
-
"referencedDeclaration":
|
|
679
|
+
"referencedDeclaration": 20858,
|
|
680
680
|
"src": "1255:5:62",
|
|
681
681
|
"typeDescriptions": {
|
|
682
682
|
"typeIdentifier": "t_address",
|
|
@@ -687,7 +687,7 @@
|
|
|
687
687
|
"arguments": [
|
|
688
688
|
{
|
|
689
689
|
"hexValue": "4552433230546f6b656e",
|
|
690
|
-
"id":
|
|
690
|
+
"id": 20879,
|
|
691
691
|
"isConstant": false,
|
|
692
692
|
"isLValue": false,
|
|
693
693
|
"isPure": true,
|
|
@@ -709,7 +709,7 @@
|
|
|
709
709
|
"typeString": "literal_string \"ERC20Token\""
|
|
710
710
|
}
|
|
711
711
|
],
|
|
712
|
-
"id":
|
|
712
|
+
"id": 20878,
|
|
713
713
|
"name": "keccak256",
|
|
714
714
|
"nodeType": "Identifier",
|
|
715
715
|
"overloadedDeclarations": [],
|
|
@@ -720,7 +720,7 @@
|
|
|
720
720
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
721
721
|
}
|
|
722
722
|
},
|
|
723
|
-
"id":
|
|
723
|
+
"id": 20880,
|
|
724
724
|
"isConstant": false,
|
|
725
725
|
"isLValue": false,
|
|
726
726
|
"isPure": true,
|
|
@@ -738,14 +738,14 @@
|
|
|
738
738
|
{
|
|
739
739
|
"arguments": [
|
|
740
740
|
{
|
|
741
|
-
"id":
|
|
741
|
+
"id": 20883,
|
|
742
742
|
"name": "this",
|
|
743
743
|
"nodeType": "Identifier",
|
|
744
744
|
"overloadedDeclarations": [],
|
|
745
745
|
"referencedDeclaration": 4294967268,
|
|
746
746
|
"src": "1295:4:62",
|
|
747
747
|
"typeDescriptions": {
|
|
748
|
-
"typeIdentifier": "t_contract$_ERC777Helper_$
|
|
748
|
+
"typeIdentifier": "t_contract$_ERC777Helper_$21074",
|
|
749
749
|
"typeString": "library ERC777Helper"
|
|
750
750
|
}
|
|
751
751
|
}
|
|
@@ -753,11 +753,11 @@
|
|
|
753
753
|
"expression": {
|
|
754
754
|
"argumentTypes": [
|
|
755
755
|
{
|
|
756
|
-
"typeIdentifier": "t_contract$_ERC777Helper_$
|
|
756
|
+
"typeIdentifier": "t_contract$_ERC777Helper_$21074",
|
|
757
757
|
"typeString": "library ERC777Helper"
|
|
758
758
|
}
|
|
759
759
|
],
|
|
760
|
-
"id":
|
|
760
|
+
"id": 20882,
|
|
761
761
|
"isConstant": false,
|
|
762
762
|
"isLValue": false,
|
|
763
763
|
"isPure": true,
|
|
@@ -769,14 +769,14 @@
|
|
|
769
769
|
"typeString": "type(address)"
|
|
770
770
|
},
|
|
771
771
|
"typeName": {
|
|
772
|
-
"id":
|
|
772
|
+
"id": 20881,
|
|
773
773
|
"name": "address",
|
|
774
774
|
"nodeType": "ElementaryTypeName",
|
|
775
775
|
"src": "1287:7:62",
|
|
776
776
|
"typeDescriptions": {}
|
|
777
777
|
}
|
|
778
778
|
},
|
|
779
|
-
"id":
|
|
779
|
+
"id": 20884,
|
|
780
780
|
"isConstant": false,
|
|
781
781
|
"isLValue": false,
|
|
782
782
|
"isPure": false,
|
|
@@ -808,18 +808,18 @@
|
|
|
808
808
|
}
|
|
809
809
|
],
|
|
810
810
|
"expression": {
|
|
811
|
-
"id":
|
|
811
|
+
"id": 20874,
|
|
812
812
|
"name": "_ERC1820_REGISTRY",
|
|
813
813
|
"nodeType": "Identifier",
|
|
814
814
|
"overloadedDeclarations": [],
|
|
815
|
-
"referencedDeclaration":
|
|
815
|
+
"referencedDeclaration": 20830,
|
|
816
816
|
"src": "1213:17:62",
|
|
817
817
|
"typeDescriptions": {
|
|
818
818
|
"typeIdentifier": "t_contract$_IERC1820Registry_$3245",
|
|
819
819
|
"typeString": "contract IERC1820Registry"
|
|
820
820
|
}
|
|
821
821
|
},
|
|
822
|
-
"id":
|
|
822
|
+
"id": 20876,
|
|
823
823
|
"isConstant": false,
|
|
824
824
|
"isLValue": false,
|
|
825
825
|
"isPure": false,
|
|
@@ -833,7 +833,7 @@
|
|
|
833
833
|
"typeString": "function (address,bytes32,address) external"
|
|
834
834
|
}
|
|
835
835
|
},
|
|
836
|
-
"id":
|
|
836
|
+
"id": 20885,
|
|
837
837
|
"isConstant": false,
|
|
838
838
|
"isLValue": false,
|
|
839
839
|
"isPure": false,
|
|
@@ -848,13 +848,13 @@
|
|
|
848
848
|
"typeString": "tuple()"
|
|
849
849
|
}
|
|
850
850
|
},
|
|
851
|
-
"id":
|
|
851
|
+
"id": 20886,
|
|
852
852
|
"nodeType": "ExpressionStatement",
|
|
853
853
|
"src": "1213:88:62"
|
|
854
854
|
}
|
|
855
855
|
]
|
|
856
856
|
},
|
|
857
|
-
"id":
|
|
857
|
+
"id": 20888,
|
|
858
858
|
"implemented": true,
|
|
859
859
|
"kind": "function",
|
|
860
860
|
"modifiers": [],
|
|
@@ -862,17 +862,17 @@
|
|
|
862
862
|
"nameLocation": "1071:8:62",
|
|
863
863
|
"nodeType": "FunctionDefinition",
|
|
864
864
|
"parameters": {
|
|
865
|
-
"id":
|
|
865
|
+
"id": 20859,
|
|
866
866
|
"nodeType": "ParameterList",
|
|
867
867
|
"parameters": [
|
|
868
868
|
{
|
|
869
869
|
"constant": false,
|
|
870
|
-
"id":
|
|
870
|
+
"id": 20858,
|
|
871
871
|
"mutability": "mutable",
|
|
872
872
|
"name": "token",
|
|
873
873
|
"nameLocation": "1088:5:62",
|
|
874
874
|
"nodeType": "VariableDeclaration",
|
|
875
|
-
"scope":
|
|
875
|
+
"scope": 20888,
|
|
876
876
|
"src": "1080:13:62",
|
|
877
877
|
"stateVariable": false,
|
|
878
878
|
"storageLocation": "default",
|
|
@@ -881,7 +881,7 @@
|
|
|
881
881
|
"typeString": "address"
|
|
882
882
|
},
|
|
883
883
|
"typeName": {
|
|
884
|
-
"id":
|
|
884
|
+
"id": 20857,
|
|
885
885
|
"name": "address",
|
|
886
886
|
"nodeType": "ElementaryTypeName",
|
|
887
887
|
"src": "1080:7:62",
|
|
@@ -897,12 +897,12 @@
|
|
|
897
897
|
"src": "1079:15:62"
|
|
898
898
|
},
|
|
899
899
|
"returnParameters": {
|
|
900
|
-
"id":
|
|
900
|
+
"id": 20860,
|
|
901
901
|
"nodeType": "ParameterList",
|
|
902
902
|
"parameters": [],
|
|
903
903
|
"src": "1104:0:62"
|
|
904
904
|
},
|
|
905
|
-
"scope":
|
|
905
|
+
"scope": 21074,
|
|
906
906
|
"src": "1062:246:62",
|
|
907
907
|
"stateMutability": "nonpayable",
|
|
908
908
|
"virtual": false,
|
|
@@ -910,7 +910,7 @@
|
|
|
910
910
|
},
|
|
911
911
|
{
|
|
912
912
|
"body": {
|
|
913
|
-
"id":
|
|
913
|
+
"id": 20925,
|
|
914
914
|
"nodeType": "Block",
|
|
915
915
|
"src": "1429:251:62",
|
|
916
916
|
"statements": [
|
|
@@ -920,7 +920,7 @@
|
|
|
920
920
|
"typeIdentifier": "t_bool",
|
|
921
921
|
"typeString": "bool"
|
|
922
922
|
},
|
|
923
|
-
"id":
|
|
923
|
+
"id": 20923,
|
|
924
924
|
"isConstant": false,
|
|
925
925
|
"isLValue": false,
|
|
926
926
|
"isPure": false,
|
|
@@ -930,7 +930,7 @@
|
|
|
930
930
|
"typeIdentifier": "t_bool",
|
|
931
931
|
"typeString": "bool"
|
|
932
932
|
},
|
|
933
|
-
"id":
|
|
933
|
+
"id": 20916,
|
|
934
934
|
"isConstant": false,
|
|
935
935
|
"isLValue": false,
|
|
936
936
|
"isPure": false,
|
|
@@ -940,17 +940,17 @@
|
|
|
940
940
|
"typeIdentifier": "t_address",
|
|
941
941
|
"typeString": "address"
|
|
942
942
|
},
|
|
943
|
-
"id":
|
|
943
|
+
"id": 20902,
|
|
944
944
|
"isConstant": false,
|
|
945
945
|
"isLValue": false,
|
|
946
946
|
"isPure": false,
|
|
947
947
|
"lValueRequested": false,
|
|
948
948
|
"leftExpression": {
|
|
949
|
-
"id":
|
|
949
|
+
"id": 20900,
|
|
950
950
|
"name": "operator",
|
|
951
951
|
"nodeType": "Identifier",
|
|
952
952
|
"overloadedDeclarations": [],
|
|
953
|
-
"referencedDeclaration":
|
|
953
|
+
"referencedDeclaration": 20893,
|
|
954
954
|
"src": "1446:8:62",
|
|
955
955
|
"typeDescriptions": {
|
|
956
956
|
"typeIdentifier": "t_address",
|
|
@@ -960,11 +960,11 @@
|
|
|
960
960
|
"nodeType": "BinaryOperation",
|
|
961
961
|
"operator": "==",
|
|
962
962
|
"rightExpression": {
|
|
963
|
-
"id":
|
|
963
|
+
"id": 20901,
|
|
964
964
|
"name": "tokenHolder",
|
|
965
965
|
"nodeType": "Identifier",
|
|
966
966
|
"overloadedDeclarations": [],
|
|
967
|
-
"referencedDeclaration":
|
|
967
|
+
"referencedDeclaration": 20895,
|
|
968
968
|
"src": "1458:11:62",
|
|
969
969
|
"typeDescriptions": {
|
|
970
970
|
"typeIdentifier": "t_address",
|
|
@@ -986,7 +986,7 @@
|
|
|
986
986
|
"typeIdentifier": "t_bool",
|
|
987
987
|
"typeString": "bool"
|
|
988
988
|
},
|
|
989
|
-
"id":
|
|
989
|
+
"id": 20914,
|
|
990
990
|
"isConstant": false,
|
|
991
991
|
"isLValue": false,
|
|
992
992
|
"isPure": false,
|
|
@@ -994,38 +994,38 @@
|
|
|
994
994
|
"leftExpression": {
|
|
995
995
|
"baseExpression": {
|
|
996
996
|
"expression": {
|
|
997
|
-
"id":
|
|
997
|
+
"id": 20903,
|
|
998
998
|
"name": "self",
|
|
999
999
|
"nodeType": "Identifier",
|
|
1000
1000
|
"overloadedDeclarations": [],
|
|
1001
|
-
"referencedDeclaration":
|
|
1001
|
+
"referencedDeclaration": 20891,
|
|
1002
1002
|
"src": "1503:4:62",
|
|
1003
1003
|
"typeDescriptions": {
|
|
1004
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1004
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
1005
1005
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1006
1006
|
}
|
|
1007
1007
|
},
|
|
1008
|
-
"id":
|
|
1008
|
+
"id": 20904,
|
|
1009
1009
|
"isConstant": false,
|
|
1010
1010
|
"isLValue": true,
|
|
1011
1011
|
"isPure": false,
|
|
1012
1012
|
"lValueRequested": false,
|
|
1013
1013
|
"memberName": "defaultOperators",
|
|
1014
1014
|
"nodeType": "MemberAccess",
|
|
1015
|
-
"referencedDeclaration":
|
|
1015
|
+
"referencedDeclaration": 20843,
|
|
1016
1016
|
"src": "1503:21:62",
|
|
1017
1017
|
"typeDescriptions": {
|
|
1018
1018
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
1019
1019
|
"typeString": "mapping(address => bool)"
|
|
1020
1020
|
}
|
|
1021
1021
|
},
|
|
1022
|
-
"id":
|
|
1022
|
+
"id": 20906,
|
|
1023
1023
|
"indexExpression": {
|
|
1024
|
-
"id":
|
|
1024
|
+
"id": 20905,
|
|
1025
1025
|
"name": "operator",
|
|
1026
1026
|
"nodeType": "Identifier",
|
|
1027
1027
|
"overloadedDeclarations": [],
|
|
1028
|
-
"referencedDeclaration":
|
|
1028
|
+
"referencedDeclaration": 20893,
|
|
1029
1029
|
"src": "1525:8:62",
|
|
1030
1030
|
"typeDescriptions": {
|
|
1031
1031
|
"typeIdentifier": "t_address",
|
|
@@ -1046,7 +1046,7 @@
|
|
|
1046
1046
|
"nodeType": "BinaryOperation",
|
|
1047
1047
|
"operator": "&&",
|
|
1048
1048
|
"rightExpression": {
|
|
1049
|
-
"id":
|
|
1049
|
+
"id": 20913,
|
|
1050
1050
|
"isConstant": false,
|
|
1051
1051
|
"isLValue": false,
|
|
1052
1052
|
"isPure": false,
|
|
@@ -1059,38 +1059,38 @@
|
|
|
1059
1059
|
"baseExpression": {
|
|
1060
1060
|
"baseExpression": {
|
|
1061
1061
|
"expression": {
|
|
1062
|
-
"id":
|
|
1062
|
+
"id": 20907,
|
|
1063
1063
|
"name": "self",
|
|
1064
1064
|
"nodeType": "Identifier",
|
|
1065
1065
|
"overloadedDeclarations": [],
|
|
1066
|
-
"referencedDeclaration":
|
|
1066
|
+
"referencedDeclaration": 20891,
|
|
1067
1067
|
"src": "1555:4:62",
|
|
1068
1068
|
"typeDescriptions": {
|
|
1069
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1069
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
1070
1070
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1071
1071
|
}
|
|
1072
1072
|
},
|
|
1073
|
-
"id":
|
|
1073
|
+
"id": 20908,
|
|
1074
1074
|
"isConstant": false,
|
|
1075
1075
|
"isLValue": true,
|
|
1076
1076
|
"isPure": false,
|
|
1077
1077
|
"lValueRequested": false,
|
|
1078
1078
|
"memberName": "revokedDefaultOperators",
|
|
1079
1079
|
"nodeType": "MemberAccess",
|
|
1080
|
-
"referencedDeclaration":
|
|
1080
|
+
"referencedDeclaration": 20855,
|
|
1081
1081
|
"src": "1555:28:62",
|
|
1082
1082
|
"typeDescriptions": {
|
|
1083
1083
|
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$",
|
|
1084
1084
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
1085
1085
|
}
|
|
1086
1086
|
},
|
|
1087
|
-
"id":
|
|
1087
|
+
"id": 20910,
|
|
1088
1088
|
"indexExpression": {
|
|
1089
|
-
"id":
|
|
1089
|
+
"id": 20909,
|
|
1090
1090
|
"name": "tokenHolder",
|
|
1091
1091
|
"nodeType": "Identifier",
|
|
1092
1092
|
"overloadedDeclarations": [],
|
|
1093
|
-
"referencedDeclaration":
|
|
1093
|
+
"referencedDeclaration": 20895,
|
|
1094
1094
|
"src": "1584:11:62",
|
|
1095
1095
|
"typeDescriptions": {
|
|
1096
1096
|
"typeIdentifier": "t_address",
|
|
@@ -1108,13 +1108,13 @@
|
|
|
1108
1108
|
"typeString": "mapping(address => bool)"
|
|
1109
1109
|
}
|
|
1110
1110
|
},
|
|
1111
|
-
"id":
|
|
1111
|
+
"id": 20912,
|
|
1112
1112
|
"indexExpression": {
|
|
1113
|
-
"id":
|
|
1113
|
+
"id": 20911,
|
|
1114
1114
|
"name": "operator",
|
|
1115
1115
|
"nodeType": "Identifier",
|
|
1116
1116
|
"overloadedDeclarations": [],
|
|
1117
|
-
"referencedDeclaration":
|
|
1117
|
+
"referencedDeclaration": 20893,
|
|
1118
1118
|
"src": "1597:8:62",
|
|
1119
1119
|
"typeDescriptions": {
|
|
1120
1120
|
"typeIdentifier": "t_address",
|
|
@@ -1144,7 +1144,7 @@
|
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
1146
|
],
|
|
1147
|
-
"id":
|
|
1147
|
+
"id": 20915,
|
|
1148
1148
|
"isConstant": false,
|
|
1149
1149
|
"isInlineArray": false,
|
|
1150
1150
|
"isLValue": false,
|
|
@@ -1169,38 +1169,38 @@
|
|
|
1169
1169
|
"baseExpression": {
|
|
1170
1170
|
"baseExpression": {
|
|
1171
1171
|
"expression": {
|
|
1172
|
-
"id":
|
|
1172
|
+
"id": 20917,
|
|
1173
1173
|
"name": "self",
|
|
1174
1174
|
"nodeType": "Identifier",
|
|
1175
1175
|
"overloadedDeclarations": [],
|
|
1176
|
-
"referencedDeclaration":
|
|
1176
|
+
"referencedDeclaration": 20891,
|
|
1177
1177
|
"src": "1636:4:62",
|
|
1178
1178
|
"typeDescriptions": {
|
|
1179
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1179
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
1180
1180
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1181
1181
|
}
|
|
1182
1182
|
},
|
|
1183
|
-
"id":
|
|
1183
|
+
"id": 20918,
|
|
1184
1184
|
"isConstant": false,
|
|
1185
1185
|
"isLValue": true,
|
|
1186
1186
|
"isPure": false,
|
|
1187
1187
|
"lValueRequested": false,
|
|
1188
1188
|
"memberName": "operators",
|
|
1189
1189
|
"nodeType": "MemberAccess",
|
|
1190
|
-
"referencedDeclaration":
|
|
1190
|
+
"referencedDeclaration": 20849,
|
|
1191
1191
|
"src": "1636:14:62",
|
|
1192
1192
|
"typeDescriptions": {
|
|
1193
1193
|
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$",
|
|
1194
1194
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
1195
1195
|
}
|
|
1196
1196
|
},
|
|
1197
|
-
"id":
|
|
1197
|
+
"id": 20920,
|
|
1198
1198
|
"indexExpression": {
|
|
1199
|
-
"id":
|
|
1199
|
+
"id": 20919,
|
|
1200
1200
|
"name": "tokenHolder",
|
|
1201
1201
|
"nodeType": "Identifier",
|
|
1202
1202
|
"overloadedDeclarations": [],
|
|
1203
|
-
"referencedDeclaration":
|
|
1203
|
+
"referencedDeclaration": 20895,
|
|
1204
1204
|
"src": "1651:11:62",
|
|
1205
1205
|
"typeDescriptions": {
|
|
1206
1206
|
"typeIdentifier": "t_address",
|
|
@@ -1218,13 +1218,13 @@
|
|
|
1218
1218
|
"typeString": "mapping(address => bool)"
|
|
1219
1219
|
}
|
|
1220
1220
|
},
|
|
1221
|
-
"id":
|
|
1221
|
+
"id": 20922,
|
|
1222
1222
|
"indexExpression": {
|
|
1223
|
-
"id":
|
|
1223
|
+
"id": 20921,
|
|
1224
1224
|
"name": "operator",
|
|
1225
1225
|
"nodeType": "Identifier",
|
|
1226
1226
|
"overloadedDeclarations": [],
|
|
1227
|
-
"referencedDeclaration":
|
|
1227
|
+
"referencedDeclaration": 20893,
|
|
1228
1228
|
"src": "1664:8:62",
|
|
1229
1229
|
"typeDescriptions": {
|
|
1230
1230
|
"typeIdentifier": "t_address",
|
|
@@ -1248,14 +1248,14 @@
|
|
|
1248
1248
|
"typeString": "bool"
|
|
1249
1249
|
}
|
|
1250
1250
|
},
|
|
1251
|
-
"functionReturnParameters":
|
|
1252
|
-
"id":
|
|
1251
|
+
"functionReturnParameters": 20899,
|
|
1252
|
+
"id": 20924,
|
|
1253
1253
|
"nodeType": "Return",
|
|
1254
1254
|
"src": "1439:234:62"
|
|
1255
1255
|
}
|
|
1256
1256
|
]
|
|
1257
1257
|
},
|
|
1258
|
-
"id":
|
|
1258
|
+
"id": 20926,
|
|
1259
1259
|
"implemented": true,
|
|
1260
1260
|
"kind": "function",
|
|
1261
1261
|
"modifiers": [],
|
|
@@ -1263,38 +1263,38 @@
|
|
|
1263
1263
|
"nameLocation": "1323:13:62",
|
|
1264
1264
|
"nodeType": "FunctionDefinition",
|
|
1265
1265
|
"parameters": {
|
|
1266
|
-
"id":
|
|
1266
|
+
"id": 20896,
|
|
1267
1267
|
"nodeType": "ParameterList",
|
|
1268
1268
|
"parameters": [
|
|
1269
1269
|
{
|
|
1270
1270
|
"constant": false,
|
|
1271
|
-
"id":
|
|
1271
|
+
"id": 20891,
|
|
1272
1272
|
"mutability": "mutable",
|
|
1273
1273
|
"name": "self",
|
|
1274
1274
|
"nameLocation": "1355:4:62",
|
|
1275
1275
|
"nodeType": "VariableDeclaration",
|
|
1276
|
-
"scope":
|
|
1276
|
+
"scope": 20926,
|
|
1277
1277
|
"src": "1337:22:62",
|
|
1278
1278
|
"stateVariable": false,
|
|
1279
1279
|
"storageLocation": "storage",
|
|
1280
1280
|
"typeDescriptions": {
|
|
1281
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1281
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
1282
1282
|
"typeString": "struct ERC777Helper.Operators"
|
|
1283
1283
|
},
|
|
1284
1284
|
"typeName": {
|
|
1285
|
-
"id":
|
|
1285
|
+
"id": 20890,
|
|
1286
1286
|
"nodeType": "UserDefinedTypeName",
|
|
1287
1287
|
"pathNode": {
|
|
1288
|
-
"id":
|
|
1288
|
+
"id": 20889,
|
|
1289
1289
|
"name": "Operators",
|
|
1290
1290
|
"nodeType": "IdentifierPath",
|
|
1291
|
-
"referencedDeclaration":
|
|
1291
|
+
"referencedDeclaration": 20856,
|
|
1292
1292
|
"src": "1337:9:62"
|
|
1293
1293
|
},
|
|
1294
|
-
"referencedDeclaration":
|
|
1294
|
+
"referencedDeclaration": 20856,
|
|
1295
1295
|
"src": "1337:9:62",
|
|
1296
1296
|
"typeDescriptions": {
|
|
1297
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1297
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
1298
1298
|
"typeString": "struct ERC777Helper.Operators"
|
|
1299
1299
|
}
|
|
1300
1300
|
},
|
|
@@ -1302,12 +1302,12 @@
|
|
|
1302
1302
|
},
|
|
1303
1303
|
{
|
|
1304
1304
|
"constant": false,
|
|
1305
|
-
"id":
|
|
1305
|
+
"id": 20893,
|
|
1306
1306
|
"mutability": "mutable",
|
|
1307
1307
|
"name": "operator",
|
|
1308
1308
|
"nameLocation": "1369:8:62",
|
|
1309
1309
|
"nodeType": "VariableDeclaration",
|
|
1310
|
-
"scope":
|
|
1310
|
+
"scope": 20926,
|
|
1311
1311
|
"src": "1361:16:62",
|
|
1312
1312
|
"stateVariable": false,
|
|
1313
1313
|
"storageLocation": "default",
|
|
@@ -1316,7 +1316,7 @@
|
|
|
1316
1316
|
"typeString": "address"
|
|
1317
1317
|
},
|
|
1318
1318
|
"typeName": {
|
|
1319
|
-
"id":
|
|
1319
|
+
"id": 20892,
|
|
1320
1320
|
"name": "address",
|
|
1321
1321
|
"nodeType": "ElementaryTypeName",
|
|
1322
1322
|
"src": "1361:7:62",
|
|
@@ -1330,12 +1330,12 @@
|
|
|
1330
1330
|
},
|
|
1331
1331
|
{
|
|
1332
1332
|
"constant": false,
|
|
1333
|
-
"id":
|
|
1333
|
+
"id": 20895,
|
|
1334
1334
|
"mutability": "mutable",
|
|
1335
1335
|
"name": "tokenHolder",
|
|
1336
1336
|
"nameLocation": "1387:11:62",
|
|
1337
1337
|
"nodeType": "VariableDeclaration",
|
|
1338
|
-
"scope":
|
|
1338
|
+
"scope": 20926,
|
|
1339
1339
|
"src": "1379:19:62",
|
|
1340
1340
|
"stateVariable": false,
|
|
1341
1341
|
"storageLocation": "default",
|
|
@@ -1344,7 +1344,7 @@
|
|
|
1344
1344
|
"typeString": "address"
|
|
1345
1345
|
},
|
|
1346
1346
|
"typeName": {
|
|
1347
|
-
"id":
|
|
1347
|
+
"id": 20894,
|
|
1348
1348
|
"name": "address",
|
|
1349
1349
|
"nodeType": "ElementaryTypeName",
|
|
1350
1350
|
"src": "1379:7:62",
|
|
@@ -1360,17 +1360,17 @@
|
|
|
1360
1360
|
"src": "1336:63:62"
|
|
1361
1361
|
},
|
|
1362
1362
|
"returnParameters": {
|
|
1363
|
-
"id":
|
|
1363
|
+
"id": 20899,
|
|
1364
1364
|
"nodeType": "ParameterList",
|
|
1365
1365
|
"parameters": [
|
|
1366
1366
|
{
|
|
1367
1367
|
"constant": false,
|
|
1368
|
-
"id":
|
|
1368
|
+
"id": 20898,
|
|
1369
1369
|
"mutability": "mutable",
|
|
1370
1370
|
"name": "",
|
|
1371
1371
|
"nameLocation": "-1:-1:-1",
|
|
1372
1372
|
"nodeType": "VariableDeclaration",
|
|
1373
|
-
"scope":
|
|
1373
|
+
"scope": 20926,
|
|
1374
1374
|
"src": "1423:4:62",
|
|
1375
1375
|
"stateVariable": false,
|
|
1376
1376
|
"storageLocation": "default",
|
|
@@ -1379,7 +1379,7 @@
|
|
|
1379
1379
|
"typeString": "bool"
|
|
1380
1380
|
},
|
|
1381
1381
|
"typeName": {
|
|
1382
|
-
"id":
|
|
1382
|
+
"id": 20897,
|
|
1383
1383
|
"name": "bool",
|
|
1384
1384
|
"nodeType": "ElementaryTypeName",
|
|
1385
1385
|
"src": "1423:4:62",
|
|
@@ -1393,7 +1393,7 @@
|
|
|
1393
1393
|
],
|
|
1394
1394
|
"src": "1422:6:62"
|
|
1395
1395
|
},
|
|
1396
|
-
"scope":
|
|
1396
|
+
"scope": 21074,
|
|
1397
1397
|
"src": "1314:366:62",
|
|
1398
1398
|
"stateMutability": "view",
|
|
1399
1399
|
"virtual": false,
|
|
@@ -1401,7 +1401,7 @@
|
|
|
1401
1401
|
},
|
|
1402
1402
|
{
|
|
1403
1403
|
"body": {
|
|
1404
|
-
"id":
|
|
1404
|
+
"id": 20968,
|
|
1405
1405
|
"nodeType": "Block",
|
|
1406
1406
|
"src": "1780:288:62",
|
|
1407
1407
|
"statements": [
|
|
@@ -1413,17 +1413,17 @@
|
|
|
1413
1413
|
"typeIdentifier": "t_address",
|
|
1414
1414
|
"typeString": "address"
|
|
1415
1415
|
},
|
|
1416
|
-
"id":
|
|
1416
|
+
"id": 20939,
|
|
1417
1417
|
"isConstant": false,
|
|
1418
1418
|
"isLValue": false,
|
|
1419
1419
|
"isPure": false,
|
|
1420
1420
|
"lValueRequested": false,
|
|
1421
1421
|
"leftExpression": {
|
|
1422
|
-
"id":
|
|
1422
|
+
"id": 20937,
|
|
1423
1423
|
"name": "holder",
|
|
1424
1424
|
"nodeType": "Identifier",
|
|
1425
1425
|
"overloadedDeclarations": [],
|
|
1426
|
-
"referencedDeclaration":
|
|
1426
|
+
"referencedDeclaration": 20931,
|
|
1427
1427
|
"src": "1798:6:62",
|
|
1428
1428
|
"typeDescriptions": {
|
|
1429
1429
|
"typeIdentifier": "t_address",
|
|
@@ -1433,11 +1433,11 @@
|
|
|
1433
1433
|
"nodeType": "BinaryOperation",
|
|
1434
1434
|
"operator": "!=",
|
|
1435
1435
|
"rightExpression": {
|
|
1436
|
-
"id":
|
|
1436
|
+
"id": 20938,
|
|
1437
1437
|
"name": "operator",
|
|
1438
1438
|
"nodeType": "Identifier",
|
|
1439
1439
|
"overloadedDeclarations": [],
|
|
1440
|
-
"referencedDeclaration":
|
|
1440
|
+
"referencedDeclaration": 20933,
|
|
1441
1441
|
"src": "1808:8:62",
|
|
1442
1442
|
"typeDescriptions": {
|
|
1443
1443
|
"typeIdentifier": "t_address",
|
|
@@ -1452,7 +1452,7 @@
|
|
|
1452
1452
|
},
|
|
1453
1453
|
{
|
|
1454
1454
|
"hexValue": "4552433737374f70657261746f72733a20617574686f72697a696e672073656c66206173206f70657261746f72",
|
|
1455
|
-
"id":
|
|
1455
|
+
"id": 20940,
|
|
1456
1456
|
"isConstant": false,
|
|
1457
1457
|
"isLValue": false,
|
|
1458
1458
|
"isPure": true,
|
|
@@ -1478,7 +1478,7 @@
|
|
|
1478
1478
|
"typeString": "literal_string \"ERC777Operators: authorizing self as operator\""
|
|
1479
1479
|
}
|
|
1480
1480
|
],
|
|
1481
|
-
"id":
|
|
1481
|
+
"id": 20936,
|
|
1482
1482
|
"name": "require",
|
|
1483
1483
|
"nodeType": "Identifier",
|
|
1484
1484
|
"overloadedDeclarations": [
|
|
@@ -1492,7 +1492,7 @@
|
|
|
1492
1492
|
"typeString": "function (bool,string memory) pure"
|
|
1493
1493
|
}
|
|
1494
1494
|
},
|
|
1495
|
-
"id":
|
|
1495
|
+
"id": 20941,
|
|
1496
1496
|
"isConstant": false,
|
|
1497
1497
|
"isLValue": false,
|
|
1498
1498
|
"isPure": false,
|
|
@@ -1507,7 +1507,7 @@
|
|
|
1507
1507
|
"typeString": "tuple()"
|
|
1508
1508
|
}
|
|
1509
1509
|
},
|
|
1510
|
-
"id":
|
|
1510
|
+
"id": 20942,
|
|
1511
1511
|
"nodeType": "ExpressionStatement",
|
|
1512
1512
|
"src": "1790:76:62"
|
|
1513
1513
|
},
|
|
@@ -1515,38 +1515,38 @@
|
|
|
1515
1515
|
"condition": {
|
|
1516
1516
|
"baseExpression": {
|
|
1517
1517
|
"expression": {
|
|
1518
|
-
"id":
|
|
1518
|
+
"id": 20943,
|
|
1519
1519
|
"name": "self",
|
|
1520
1520
|
"nodeType": "Identifier",
|
|
1521
1521
|
"overloadedDeclarations": [],
|
|
1522
|
-
"referencedDeclaration":
|
|
1522
|
+
"referencedDeclaration": 20929,
|
|
1523
1523
|
"src": "1881:4:62",
|
|
1524
1524
|
"typeDescriptions": {
|
|
1525
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1525
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
1526
1526
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1527
1527
|
}
|
|
1528
1528
|
},
|
|
1529
|
-
"id":
|
|
1529
|
+
"id": 20944,
|
|
1530
1530
|
"isConstant": false,
|
|
1531
1531
|
"isLValue": true,
|
|
1532
1532
|
"isPure": false,
|
|
1533
1533
|
"lValueRequested": false,
|
|
1534
1534
|
"memberName": "defaultOperators",
|
|
1535
1535
|
"nodeType": "MemberAccess",
|
|
1536
|
-
"referencedDeclaration":
|
|
1536
|
+
"referencedDeclaration": 20843,
|
|
1537
1537
|
"src": "1881:21:62",
|
|
1538
1538
|
"typeDescriptions": {
|
|
1539
1539
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
1540
1540
|
"typeString": "mapping(address => bool)"
|
|
1541
1541
|
}
|
|
1542
1542
|
},
|
|
1543
|
-
"id":
|
|
1543
|
+
"id": 20946,
|
|
1544
1544
|
"indexExpression": {
|
|
1545
|
-
"id":
|
|
1545
|
+
"id": 20945,
|
|
1546
1546
|
"name": "operator",
|
|
1547
1547
|
"nodeType": "Identifier",
|
|
1548
1548
|
"overloadedDeclarations": [],
|
|
1549
|
-
"referencedDeclaration":
|
|
1549
|
+
"referencedDeclaration": 20933,
|
|
1550
1550
|
"src": "1903:8:62",
|
|
1551
1551
|
"typeDescriptions": {
|
|
1552
1552
|
"typeIdentifier": "t_address",
|
|
@@ -1565,13 +1565,13 @@
|
|
|
1565
1565
|
}
|
|
1566
1566
|
},
|
|
1567
1567
|
"falseBody": {
|
|
1568
|
-
"id":
|
|
1568
|
+
"id": 20966,
|
|
1569
1569
|
"nodeType": "Block",
|
|
1570
1570
|
"src": "1998:64:62",
|
|
1571
1571
|
"statements": [
|
|
1572
1572
|
{
|
|
1573
1573
|
"expression": {
|
|
1574
|
-
"id":
|
|
1574
|
+
"id": 20964,
|
|
1575
1575
|
"isConstant": false,
|
|
1576
1576
|
"isLValue": false,
|
|
1577
1577
|
"isPure": false,
|
|
@@ -1580,38 +1580,38 @@
|
|
|
1580
1580
|
"baseExpression": {
|
|
1581
1581
|
"baseExpression": {
|
|
1582
1582
|
"expression": {
|
|
1583
|
-
"id":
|
|
1583
|
+
"id": 20956,
|
|
1584
1584
|
"name": "self",
|
|
1585
1585
|
"nodeType": "Identifier",
|
|
1586
1586
|
"overloadedDeclarations": [],
|
|
1587
|
-
"referencedDeclaration":
|
|
1587
|
+
"referencedDeclaration": 20929,
|
|
1588
1588
|
"src": "2012:4:62",
|
|
1589
1589
|
"typeDescriptions": {
|
|
1590
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1590
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
1591
1591
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1592
1592
|
}
|
|
1593
1593
|
},
|
|
1594
|
-
"id":
|
|
1594
|
+
"id": 20960,
|
|
1595
1595
|
"isConstant": false,
|
|
1596
1596
|
"isLValue": true,
|
|
1597
1597
|
"isPure": false,
|
|
1598
1598
|
"lValueRequested": false,
|
|
1599
1599
|
"memberName": "operators",
|
|
1600
1600
|
"nodeType": "MemberAccess",
|
|
1601
|
-
"referencedDeclaration":
|
|
1601
|
+
"referencedDeclaration": 20849,
|
|
1602
1602
|
"src": "2012:14:62",
|
|
1603
1603
|
"typeDescriptions": {
|
|
1604
1604
|
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$",
|
|
1605
1605
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
1606
1606
|
}
|
|
1607
1607
|
},
|
|
1608
|
-
"id":
|
|
1608
|
+
"id": 20961,
|
|
1609
1609
|
"indexExpression": {
|
|
1610
|
-
"id":
|
|
1610
|
+
"id": 20958,
|
|
1611
1611
|
"name": "holder",
|
|
1612
1612
|
"nodeType": "Identifier",
|
|
1613
1613
|
"overloadedDeclarations": [],
|
|
1614
|
-
"referencedDeclaration":
|
|
1614
|
+
"referencedDeclaration": 20931,
|
|
1615
1615
|
"src": "2027:6:62",
|
|
1616
1616
|
"typeDescriptions": {
|
|
1617
1617
|
"typeIdentifier": "t_address",
|
|
@@ -1629,13 +1629,13 @@
|
|
|
1629
1629
|
"typeString": "mapping(address => bool)"
|
|
1630
1630
|
}
|
|
1631
1631
|
},
|
|
1632
|
-
"id":
|
|
1632
|
+
"id": 20962,
|
|
1633
1633
|
"indexExpression": {
|
|
1634
|
-
"id":
|
|
1634
|
+
"id": 20959,
|
|
1635
1635
|
"name": "operator",
|
|
1636
1636
|
"nodeType": "Identifier",
|
|
1637
1637
|
"overloadedDeclarations": [],
|
|
1638
|
-
"referencedDeclaration":
|
|
1638
|
+
"referencedDeclaration": 20933,
|
|
1639
1639
|
"src": "2035:8:62",
|
|
1640
1640
|
"typeDescriptions": {
|
|
1641
1641
|
"typeIdentifier": "t_address",
|
|
@@ -1657,7 +1657,7 @@
|
|
|
1657
1657
|
"operator": "=",
|
|
1658
1658
|
"rightHandSide": {
|
|
1659
1659
|
"hexValue": "74727565",
|
|
1660
|
-
"id":
|
|
1660
|
+
"id": 20963,
|
|
1661
1661
|
"isConstant": false,
|
|
1662
1662
|
"isLValue": false,
|
|
1663
1663
|
"isPure": true,
|
|
@@ -1677,23 +1677,23 @@
|
|
|
1677
1677
|
"typeString": "bool"
|
|
1678
1678
|
}
|
|
1679
1679
|
},
|
|
1680
|
-
"id":
|
|
1680
|
+
"id": 20965,
|
|
1681
1681
|
"nodeType": "ExpressionStatement",
|
|
1682
1682
|
"src": "2012:39:62"
|
|
1683
1683
|
}
|
|
1684
1684
|
]
|
|
1685
1685
|
},
|
|
1686
|
-
"id":
|
|
1686
|
+
"id": 20967,
|
|
1687
1687
|
"nodeType": "IfStatement",
|
|
1688
1688
|
"src": "1877:185:62",
|
|
1689
1689
|
"trueBody": {
|
|
1690
|
-
"id":
|
|
1690
|
+
"id": 20955,
|
|
1691
1691
|
"nodeType": "Block",
|
|
1692
1692
|
"src": "1914:78:62",
|
|
1693
1693
|
"statements": [
|
|
1694
1694
|
{
|
|
1695
1695
|
"expression": {
|
|
1696
|
-
"id":
|
|
1696
|
+
"id": 20953,
|
|
1697
1697
|
"isConstant": false,
|
|
1698
1698
|
"isLValue": false,
|
|
1699
1699
|
"isPure": false,
|
|
@@ -1706,38 +1706,38 @@
|
|
|
1706
1706
|
"baseExpression": {
|
|
1707
1707
|
"baseExpression": {
|
|
1708
1708
|
"expression": {
|
|
1709
|
-
"id":
|
|
1709
|
+
"id": 20947,
|
|
1710
1710
|
"name": "self",
|
|
1711
1711
|
"nodeType": "Identifier",
|
|
1712
1712
|
"overloadedDeclarations": [],
|
|
1713
|
-
"referencedDeclaration":
|
|
1713
|
+
"referencedDeclaration": 20929,
|
|
1714
1714
|
"src": "1935:4:62",
|
|
1715
1715
|
"typeDescriptions": {
|
|
1716
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1716
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
1717
1717
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1718
1718
|
}
|
|
1719
1719
|
},
|
|
1720
|
-
"id":
|
|
1720
|
+
"id": 20948,
|
|
1721
1721
|
"isConstant": false,
|
|
1722
1722
|
"isLValue": true,
|
|
1723
1723
|
"isPure": false,
|
|
1724
1724
|
"lValueRequested": false,
|
|
1725
1725
|
"memberName": "revokedDefaultOperators",
|
|
1726
1726
|
"nodeType": "MemberAccess",
|
|
1727
|
-
"referencedDeclaration":
|
|
1727
|
+
"referencedDeclaration": 20855,
|
|
1728
1728
|
"src": "1935:28:62",
|
|
1729
1729
|
"typeDescriptions": {
|
|
1730
1730
|
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$",
|
|
1731
1731
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
1732
1732
|
}
|
|
1733
1733
|
},
|
|
1734
|
-
"id":
|
|
1734
|
+
"id": 20950,
|
|
1735
1735
|
"indexExpression": {
|
|
1736
|
-
"id":
|
|
1736
|
+
"id": 20949,
|
|
1737
1737
|
"name": "holder",
|
|
1738
1738
|
"nodeType": "Identifier",
|
|
1739
1739
|
"overloadedDeclarations": [],
|
|
1740
|
-
"referencedDeclaration":
|
|
1740
|
+
"referencedDeclaration": 20931,
|
|
1741
1741
|
"src": "1964:6:62",
|
|
1742
1742
|
"typeDescriptions": {
|
|
1743
1743
|
"typeIdentifier": "t_address",
|
|
@@ -1755,13 +1755,13 @@
|
|
|
1755
1755
|
"typeString": "mapping(address => bool)"
|
|
1756
1756
|
}
|
|
1757
1757
|
},
|
|
1758
|
-
"id":
|
|
1758
|
+
"id": 20952,
|
|
1759
1759
|
"indexExpression": {
|
|
1760
|
-
"id":
|
|
1760
|
+
"id": 20951,
|
|
1761
1761
|
"name": "operator",
|
|
1762
1762
|
"nodeType": "Identifier",
|
|
1763
1763
|
"overloadedDeclarations": [],
|
|
1764
|
-
"referencedDeclaration":
|
|
1764
|
+
"referencedDeclaration": 20933,
|
|
1765
1765
|
"src": "1972:8:62",
|
|
1766
1766
|
"typeDescriptions": {
|
|
1767
1767
|
"typeIdentifier": "t_address",
|
|
@@ -1784,7 +1784,7 @@
|
|
|
1784
1784
|
"typeString": "tuple()"
|
|
1785
1785
|
}
|
|
1786
1786
|
},
|
|
1787
|
-
"id":
|
|
1787
|
+
"id": 20954,
|
|
1788
1788
|
"nodeType": "ExpressionStatement",
|
|
1789
1789
|
"src": "1928:53:62"
|
|
1790
1790
|
}
|
|
@@ -1793,7 +1793,7 @@
|
|
|
1793
1793
|
}
|
|
1794
1794
|
]
|
|
1795
1795
|
},
|
|
1796
|
-
"id":
|
|
1796
|
+
"id": 20969,
|
|
1797
1797
|
"implemented": true,
|
|
1798
1798
|
"kind": "function",
|
|
1799
1799
|
"modifiers": [],
|
|
@@ -1801,38 +1801,38 @@
|
|
|
1801
1801
|
"nameLocation": "1695:17:62",
|
|
1802
1802
|
"nodeType": "FunctionDefinition",
|
|
1803
1803
|
"parameters": {
|
|
1804
|
-
"id":
|
|
1804
|
+
"id": 20934,
|
|
1805
1805
|
"nodeType": "ParameterList",
|
|
1806
1806
|
"parameters": [
|
|
1807
1807
|
{
|
|
1808
1808
|
"constant": false,
|
|
1809
|
-
"id":
|
|
1809
|
+
"id": 20929,
|
|
1810
1810
|
"mutability": "mutable",
|
|
1811
1811
|
"name": "self",
|
|
1812
1812
|
"nameLocation": "1731:4:62",
|
|
1813
1813
|
"nodeType": "VariableDeclaration",
|
|
1814
|
-
"scope":
|
|
1814
|
+
"scope": 20969,
|
|
1815
1815
|
"src": "1713:22:62",
|
|
1816
1816
|
"stateVariable": false,
|
|
1817
1817
|
"storageLocation": "storage",
|
|
1818
1818
|
"typeDescriptions": {
|
|
1819
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1819
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
1820
1820
|
"typeString": "struct ERC777Helper.Operators"
|
|
1821
1821
|
},
|
|
1822
1822
|
"typeName": {
|
|
1823
|
-
"id":
|
|
1823
|
+
"id": 20928,
|
|
1824
1824
|
"nodeType": "UserDefinedTypeName",
|
|
1825
1825
|
"pathNode": {
|
|
1826
|
-
"id":
|
|
1826
|
+
"id": 20927,
|
|
1827
1827
|
"name": "Operators",
|
|
1828
1828
|
"nodeType": "IdentifierPath",
|
|
1829
|
-
"referencedDeclaration":
|
|
1829
|
+
"referencedDeclaration": 20856,
|
|
1830
1830
|
"src": "1713:9:62"
|
|
1831
1831
|
},
|
|
1832
|
-
"referencedDeclaration":
|
|
1832
|
+
"referencedDeclaration": 20856,
|
|
1833
1833
|
"src": "1713:9:62",
|
|
1834
1834
|
"typeDescriptions": {
|
|
1835
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1835
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
1836
1836
|
"typeString": "struct ERC777Helper.Operators"
|
|
1837
1837
|
}
|
|
1838
1838
|
},
|
|
@@ -1840,12 +1840,12 @@
|
|
|
1840
1840
|
},
|
|
1841
1841
|
{
|
|
1842
1842
|
"constant": false,
|
|
1843
|
-
"id":
|
|
1843
|
+
"id": 20931,
|
|
1844
1844
|
"mutability": "mutable",
|
|
1845
1845
|
"name": "holder",
|
|
1846
1846
|
"nameLocation": "1745:6:62",
|
|
1847
1847
|
"nodeType": "VariableDeclaration",
|
|
1848
|
-
"scope":
|
|
1848
|
+
"scope": 20969,
|
|
1849
1849
|
"src": "1737:14:62",
|
|
1850
1850
|
"stateVariable": false,
|
|
1851
1851
|
"storageLocation": "default",
|
|
@@ -1854,7 +1854,7 @@
|
|
|
1854
1854
|
"typeString": "address"
|
|
1855
1855
|
},
|
|
1856
1856
|
"typeName": {
|
|
1857
|
-
"id":
|
|
1857
|
+
"id": 20930,
|
|
1858
1858
|
"name": "address",
|
|
1859
1859
|
"nodeType": "ElementaryTypeName",
|
|
1860
1860
|
"src": "1737:7:62",
|
|
@@ -1868,12 +1868,12 @@
|
|
|
1868
1868
|
},
|
|
1869
1869
|
{
|
|
1870
1870
|
"constant": false,
|
|
1871
|
-
"id":
|
|
1871
|
+
"id": 20933,
|
|
1872
1872
|
"mutability": "mutable",
|
|
1873
1873
|
"name": "operator",
|
|
1874
1874
|
"nameLocation": "1761:8:62",
|
|
1875
1875
|
"nodeType": "VariableDeclaration",
|
|
1876
|
-
"scope":
|
|
1876
|
+
"scope": 20969,
|
|
1877
1877
|
"src": "1753:16:62",
|
|
1878
1878
|
"stateVariable": false,
|
|
1879
1879
|
"storageLocation": "default",
|
|
@@ -1882,7 +1882,7 @@
|
|
|
1882
1882
|
"typeString": "address"
|
|
1883
1883
|
},
|
|
1884
1884
|
"typeName": {
|
|
1885
|
-
"id":
|
|
1885
|
+
"id": 20932,
|
|
1886
1886
|
"name": "address",
|
|
1887
1887
|
"nodeType": "ElementaryTypeName",
|
|
1888
1888
|
"src": "1753:7:62",
|
|
@@ -1898,12 +1898,12 @@
|
|
|
1898
1898
|
"src": "1712:58:62"
|
|
1899
1899
|
},
|
|
1900
1900
|
"returnParameters": {
|
|
1901
|
-
"id":
|
|
1901
|
+
"id": 20935,
|
|
1902
1902
|
"nodeType": "ParameterList",
|
|
1903
1903
|
"parameters": [],
|
|
1904
1904
|
"src": "1780:0:62"
|
|
1905
1905
|
},
|
|
1906
|
-
"scope":
|
|
1906
|
+
"scope": 21074,
|
|
1907
1907
|
"src": "1686:382:62",
|
|
1908
1908
|
"stateMutability": "nonpayable",
|
|
1909
1909
|
"virtual": false,
|
|
@@ -1911,7 +1911,7 @@
|
|
|
1911
1911
|
},
|
|
1912
1912
|
{
|
|
1913
1913
|
"body": {
|
|
1914
|
-
"id":
|
|
1914
|
+
"id": 21012,
|
|
1915
1915
|
"nodeType": "Block",
|
|
1916
1916
|
"src": "2165:288:62",
|
|
1917
1917
|
"statements": [
|
|
@@ -1923,17 +1923,17 @@
|
|
|
1923
1923
|
"typeIdentifier": "t_address",
|
|
1924
1924
|
"typeString": "address"
|
|
1925
1925
|
},
|
|
1926
|
-
"id":
|
|
1926
|
+
"id": 20983,
|
|
1927
1927
|
"isConstant": false,
|
|
1928
1928
|
"isLValue": false,
|
|
1929
1929
|
"isPure": false,
|
|
1930
1930
|
"lValueRequested": false,
|
|
1931
1931
|
"leftExpression": {
|
|
1932
|
-
"id":
|
|
1932
|
+
"id": 20980,
|
|
1933
1933
|
"name": "operator",
|
|
1934
1934
|
"nodeType": "Identifier",
|
|
1935
1935
|
"overloadedDeclarations": [],
|
|
1936
|
-
"referencedDeclaration":
|
|
1936
|
+
"referencedDeclaration": 20976,
|
|
1937
1937
|
"src": "2183:8:62",
|
|
1938
1938
|
"typeDescriptions": {
|
|
1939
1939
|
"typeIdentifier": "t_address",
|
|
@@ -1944,7 +1944,7 @@
|
|
|
1944
1944
|
"operator": "!=",
|
|
1945
1945
|
"rightExpression": {
|
|
1946
1946
|
"expression": {
|
|
1947
|
-
"id":
|
|
1947
|
+
"id": 20981,
|
|
1948
1948
|
"name": "msg",
|
|
1949
1949
|
"nodeType": "Identifier",
|
|
1950
1950
|
"overloadedDeclarations": [],
|
|
@@ -1955,7 +1955,7 @@
|
|
|
1955
1955
|
"typeString": "msg"
|
|
1956
1956
|
}
|
|
1957
1957
|
},
|
|
1958
|
-
"id":
|
|
1958
|
+
"id": 20982,
|
|
1959
1959
|
"isConstant": false,
|
|
1960
1960
|
"isLValue": false,
|
|
1961
1961
|
"isPure": false,
|
|
@@ -1976,7 +1976,7 @@
|
|
|
1976
1976
|
},
|
|
1977
1977
|
{
|
|
1978
1978
|
"hexValue": "4552433737374f70657261746f72733a207265766f6b696e672073656c66206173206f70657261746f72",
|
|
1979
|
-
"id":
|
|
1979
|
+
"id": 20984,
|
|
1980
1980
|
"isConstant": false,
|
|
1981
1981
|
"isLValue": false,
|
|
1982
1982
|
"isPure": true,
|
|
@@ -2002,7 +2002,7 @@
|
|
|
2002
2002
|
"typeString": "literal_string \"ERC777Operators: revoking self as operator\""
|
|
2003
2003
|
}
|
|
2004
2004
|
],
|
|
2005
|
-
"id":
|
|
2005
|
+
"id": 20979,
|
|
2006
2006
|
"name": "require",
|
|
2007
2007
|
"nodeType": "Identifier",
|
|
2008
2008
|
"overloadedDeclarations": [
|
|
@@ -2016,7 +2016,7 @@
|
|
|
2016
2016
|
"typeString": "function (bool,string memory) pure"
|
|
2017
2017
|
}
|
|
2018
2018
|
},
|
|
2019
|
-
"id":
|
|
2019
|
+
"id": 20985,
|
|
2020
2020
|
"isConstant": false,
|
|
2021
2021
|
"isLValue": false,
|
|
2022
2022
|
"isPure": false,
|
|
@@ -2031,7 +2031,7 @@
|
|
|
2031
2031
|
"typeString": "tuple()"
|
|
2032
2032
|
}
|
|
2033
2033
|
},
|
|
2034
|
-
"id":
|
|
2034
|
+
"id": 20986,
|
|
2035
2035
|
"nodeType": "ExpressionStatement",
|
|
2036
2036
|
"src": "2175:77:62"
|
|
2037
2037
|
},
|
|
@@ -2039,38 +2039,38 @@
|
|
|
2039
2039
|
"condition": {
|
|
2040
2040
|
"baseExpression": {
|
|
2041
2041
|
"expression": {
|
|
2042
|
-
"id":
|
|
2042
|
+
"id": 20987,
|
|
2043
2043
|
"name": "self",
|
|
2044
2044
|
"nodeType": "Identifier",
|
|
2045
2045
|
"overloadedDeclarations": [],
|
|
2046
|
-
"referencedDeclaration":
|
|
2046
|
+
"referencedDeclaration": 20972,
|
|
2047
2047
|
"src": "2266:4:62",
|
|
2048
2048
|
"typeDescriptions": {
|
|
2049
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2049
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
2050
2050
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2051
2051
|
}
|
|
2052
2052
|
},
|
|
2053
|
-
"id":
|
|
2053
|
+
"id": 20988,
|
|
2054
2054
|
"isConstant": false,
|
|
2055
2055
|
"isLValue": true,
|
|
2056
2056
|
"isPure": false,
|
|
2057
2057
|
"lValueRequested": false,
|
|
2058
2058
|
"memberName": "defaultOperators",
|
|
2059
2059
|
"nodeType": "MemberAccess",
|
|
2060
|
-
"referencedDeclaration":
|
|
2060
|
+
"referencedDeclaration": 20843,
|
|
2061
2061
|
"src": "2266:21:62",
|
|
2062
2062
|
"typeDescriptions": {
|
|
2063
2063
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
2064
2064
|
"typeString": "mapping(address => bool)"
|
|
2065
2065
|
}
|
|
2066
2066
|
},
|
|
2067
|
-
"id":
|
|
2067
|
+
"id": 20990,
|
|
2068
2068
|
"indexExpression": {
|
|
2069
|
-
"id":
|
|
2069
|
+
"id": 20989,
|
|
2070
2070
|
"name": "operator",
|
|
2071
2071
|
"nodeType": "Identifier",
|
|
2072
2072
|
"overloadedDeclarations": [],
|
|
2073
|
-
"referencedDeclaration":
|
|
2073
|
+
"referencedDeclaration": 20976,
|
|
2074
2074
|
"src": "2288:8:62",
|
|
2075
2075
|
"typeDescriptions": {
|
|
2076
2076
|
"typeIdentifier": "t_address",
|
|
@@ -2089,13 +2089,13 @@
|
|
|
2089
2089
|
}
|
|
2090
2090
|
},
|
|
2091
2091
|
"falseBody": {
|
|
2092
|
-
"id":
|
|
2092
|
+
"id": 21010,
|
|
2093
2093
|
"nodeType": "Block",
|
|
2094
2094
|
"src": "2383:64:62",
|
|
2095
2095
|
"statements": [
|
|
2096
2096
|
{
|
|
2097
2097
|
"expression": {
|
|
2098
|
-
"id":
|
|
2098
|
+
"id": 21008,
|
|
2099
2099
|
"isConstant": false,
|
|
2100
2100
|
"isLValue": false,
|
|
2101
2101
|
"isPure": false,
|
|
@@ -2108,38 +2108,38 @@
|
|
|
2108
2108
|
"baseExpression": {
|
|
2109
2109
|
"baseExpression": {
|
|
2110
2110
|
"expression": {
|
|
2111
|
-
"id":
|
|
2111
|
+
"id": 21002,
|
|
2112
2112
|
"name": "self",
|
|
2113
2113
|
"nodeType": "Identifier",
|
|
2114
2114
|
"overloadedDeclarations": [],
|
|
2115
|
-
"referencedDeclaration":
|
|
2115
|
+
"referencedDeclaration": 20972,
|
|
2116
2116
|
"src": "2404:4:62",
|
|
2117
2117
|
"typeDescriptions": {
|
|
2118
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2118
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
2119
2119
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2120
2120
|
}
|
|
2121
2121
|
},
|
|
2122
|
-
"id":
|
|
2122
|
+
"id": 21003,
|
|
2123
2123
|
"isConstant": false,
|
|
2124
2124
|
"isLValue": true,
|
|
2125
2125
|
"isPure": false,
|
|
2126
2126
|
"lValueRequested": false,
|
|
2127
2127
|
"memberName": "operators",
|
|
2128
2128
|
"nodeType": "MemberAccess",
|
|
2129
|
-
"referencedDeclaration":
|
|
2129
|
+
"referencedDeclaration": 20849,
|
|
2130
2130
|
"src": "2404:14:62",
|
|
2131
2131
|
"typeDescriptions": {
|
|
2132
2132
|
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$",
|
|
2133
2133
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
2134
2134
|
}
|
|
2135
2135
|
},
|
|
2136
|
-
"id":
|
|
2136
|
+
"id": 21005,
|
|
2137
2137
|
"indexExpression": {
|
|
2138
|
-
"id":
|
|
2138
|
+
"id": 21004,
|
|
2139
2139
|
"name": "holder",
|
|
2140
2140
|
"nodeType": "Identifier",
|
|
2141
2141
|
"overloadedDeclarations": [],
|
|
2142
|
-
"referencedDeclaration":
|
|
2142
|
+
"referencedDeclaration": 20974,
|
|
2143
2143
|
"src": "2419:6:62",
|
|
2144
2144
|
"typeDescriptions": {
|
|
2145
2145
|
"typeIdentifier": "t_address",
|
|
@@ -2157,13 +2157,13 @@
|
|
|
2157
2157
|
"typeString": "mapping(address => bool)"
|
|
2158
2158
|
}
|
|
2159
2159
|
},
|
|
2160
|
-
"id":
|
|
2160
|
+
"id": 21007,
|
|
2161
2161
|
"indexExpression": {
|
|
2162
|
-
"id":
|
|
2162
|
+
"id": 21006,
|
|
2163
2163
|
"name": "operator",
|
|
2164
2164
|
"nodeType": "Identifier",
|
|
2165
2165
|
"overloadedDeclarations": [],
|
|
2166
|
-
"referencedDeclaration":
|
|
2166
|
+
"referencedDeclaration": 20976,
|
|
2167
2167
|
"src": "2427:8:62",
|
|
2168
2168
|
"typeDescriptions": {
|
|
2169
2169
|
"typeIdentifier": "t_address",
|
|
@@ -2186,23 +2186,23 @@
|
|
|
2186
2186
|
"typeString": "tuple()"
|
|
2187
2187
|
}
|
|
2188
2188
|
},
|
|
2189
|
-
"id":
|
|
2189
|
+
"id": 21009,
|
|
2190
2190
|
"nodeType": "ExpressionStatement",
|
|
2191
2191
|
"src": "2397:39:62"
|
|
2192
2192
|
}
|
|
2193
2193
|
]
|
|
2194
2194
|
},
|
|
2195
|
-
"id":
|
|
2195
|
+
"id": 21011,
|
|
2196
2196
|
"nodeType": "IfStatement",
|
|
2197
2197
|
"src": "2262:185:62",
|
|
2198
2198
|
"trueBody": {
|
|
2199
|
-
"id":
|
|
2199
|
+
"id": 21001,
|
|
2200
2200
|
"nodeType": "Block",
|
|
2201
2201
|
"src": "2299:78:62",
|
|
2202
2202
|
"statements": [
|
|
2203
2203
|
{
|
|
2204
2204
|
"expression": {
|
|
2205
|
-
"id":
|
|
2205
|
+
"id": 20999,
|
|
2206
2206
|
"isConstant": false,
|
|
2207
2207
|
"isLValue": false,
|
|
2208
2208
|
"isPure": false,
|
|
@@ -2211,38 +2211,38 @@
|
|
|
2211
2211
|
"baseExpression": {
|
|
2212
2212
|
"baseExpression": {
|
|
2213
2213
|
"expression": {
|
|
2214
|
-
"id":
|
|
2214
|
+
"id": 20991,
|
|
2215
2215
|
"name": "self",
|
|
2216
2216
|
"nodeType": "Identifier",
|
|
2217
2217
|
"overloadedDeclarations": [],
|
|
2218
|
-
"referencedDeclaration":
|
|
2218
|
+
"referencedDeclaration": 20972,
|
|
2219
2219
|
"src": "2313:4:62",
|
|
2220
2220
|
"typeDescriptions": {
|
|
2221
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2221
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
2222
2222
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2223
2223
|
}
|
|
2224
2224
|
},
|
|
2225
|
-
"id":
|
|
2225
|
+
"id": 20995,
|
|
2226
2226
|
"isConstant": false,
|
|
2227
2227
|
"isLValue": true,
|
|
2228
2228
|
"isPure": false,
|
|
2229
2229
|
"lValueRequested": false,
|
|
2230
2230
|
"memberName": "revokedDefaultOperators",
|
|
2231
2231
|
"nodeType": "MemberAccess",
|
|
2232
|
-
"referencedDeclaration":
|
|
2232
|
+
"referencedDeclaration": 20855,
|
|
2233
2233
|
"src": "2313:28:62",
|
|
2234
2234
|
"typeDescriptions": {
|
|
2235
2235
|
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$",
|
|
2236
2236
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
2237
2237
|
}
|
|
2238
2238
|
},
|
|
2239
|
-
"id":
|
|
2239
|
+
"id": 20996,
|
|
2240
2240
|
"indexExpression": {
|
|
2241
|
-
"id":
|
|
2241
|
+
"id": 20993,
|
|
2242
2242
|
"name": "holder",
|
|
2243
2243
|
"nodeType": "Identifier",
|
|
2244
2244
|
"overloadedDeclarations": [],
|
|
2245
|
-
"referencedDeclaration":
|
|
2245
|
+
"referencedDeclaration": 20974,
|
|
2246
2246
|
"src": "2342:6:62",
|
|
2247
2247
|
"typeDescriptions": {
|
|
2248
2248
|
"typeIdentifier": "t_address",
|
|
@@ -2260,13 +2260,13 @@
|
|
|
2260
2260
|
"typeString": "mapping(address => bool)"
|
|
2261
2261
|
}
|
|
2262
2262
|
},
|
|
2263
|
-
"id":
|
|
2263
|
+
"id": 20997,
|
|
2264
2264
|
"indexExpression": {
|
|
2265
|
-
"id":
|
|
2265
|
+
"id": 20994,
|
|
2266
2266
|
"name": "operator",
|
|
2267
2267
|
"nodeType": "Identifier",
|
|
2268
2268
|
"overloadedDeclarations": [],
|
|
2269
|
-
"referencedDeclaration":
|
|
2269
|
+
"referencedDeclaration": 20976,
|
|
2270
2270
|
"src": "2350:8:62",
|
|
2271
2271
|
"typeDescriptions": {
|
|
2272
2272
|
"typeIdentifier": "t_address",
|
|
@@ -2288,7 +2288,7 @@
|
|
|
2288
2288
|
"operator": "=",
|
|
2289
2289
|
"rightHandSide": {
|
|
2290
2290
|
"hexValue": "74727565",
|
|
2291
|
-
"id":
|
|
2291
|
+
"id": 20998,
|
|
2292
2292
|
"isConstant": false,
|
|
2293
2293
|
"isLValue": false,
|
|
2294
2294
|
"isPure": true,
|
|
@@ -2308,7 +2308,7 @@
|
|
|
2308
2308
|
"typeString": "bool"
|
|
2309
2309
|
}
|
|
2310
2310
|
},
|
|
2311
|
-
"id":
|
|
2311
|
+
"id": 21000,
|
|
2312
2312
|
"nodeType": "ExpressionStatement",
|
|
2313
2313
|
"src": "2313:53:62"
|
|
2314
2314
|
}
|
|
@@ -2317,7 +2317,7 @@
|
|
|
2317
2317
|
}
|
|
2318
2318
|
]
|
|
2319
2319
|
},
|
|
2320
|
-
"id":
|
|
2320
|
+
"id": 21013,
|
|
2321
2321
|
"implemented": true,
|
|
2322
2322
|
"kind": "function",
|
|
2323
2323
|
"modifiers": [],
|
|
@@ -2325,38 +2325,38 @@
|
|
|
2325
2325
|
"nameLocation": "2083:14:62",
|
|
2326
2326
|
"nodeType": "FunctionDefinition",
|
|
2327
2327
|
"parameters": {
|
|
2328
|
-
"id":
|
|
2328
|
+
"id": 20977,
|
|
2329
2329
|
"nodeType": "ParameterList",
|
|
2330
2330
|
"parameters": [
|
|
2331
2331
|
{
|
|
2332
2332
|
"constant": false,
|
|
2333
|
-
"id":
|
|
2333
|
+
"id": 20972,
|
|
2334
2334
|
"mutability": "mutable",
|
|
2335
2335
|
"name": "self",
|
|
2336
2336
|
"nameLocation": "2116:4:62",
|
|
2337
2337
|
"nodeType": "VariableDeclaration",
|
|
2338
|
-
"scope":
|
|
2338
|
+
"scope": 21013,
|
|
2339
2339
|
"src": "2098:22:62",
|
|
2340
2340
|
"stateVariable": false,
|
|
2341
2341
|
"storageLocation": "storage",
|
|
2342
2342
|
"typeDescriptions": {
|
|
2343
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2343
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
2344
2344
|
"typeString": "struct ERC777Helper.Operators"
|
|
2345
2345
|
},
|
|
2346
2346
|
"typeName": {
|
|
2347
|
-
"id":
|
|
2347
|
+
"id": 20971,
|
|
2348
2348
|
"nodeType": "UserDefinedTypeName",
|
|
2349
2349
|
"pathNode": {
|
|
2350
|
-
"id":
|
|
2350
|
+
"id": 20970,
|
|
2351
2351
|
"name": "Operators",
|
|
2352
2352
|
"nodeType": "IdentifierPath",
|
|
2353
|
-
"referencedDeclaration":
|
|
2353
|
+
"referencedDeclaration": 20856,
|
|
2354
2354
|
"src": "2098:9:62"
|
|
2355
2355
|
},
|
|
2356
|
-
"referencedDeclaration":
|
|
2356
|
+
"referencedDeclaration": 20856,
|
|
2357
2357
|
"src": "2098:9:62",
|
|
2358
2358
|
"typeDescriptions": {
|
|
2359
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2359
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
2360
2360
|
"typeString": "struct ERC777Helper.Operators"
|
|
2361
2361
|
}
|
|
2362
2362
|
},
|
|
@@ -2364,12 +2364,12 @@
|
|
|
2364
2364
|
},
|
|
2365
2365
|
{
|
|
2366
2366
|
"constant": false,
|
|
2367
|
-
"id":
|
|
2367
|
+
"id": 20974,
|
|
2368
2368
|
"mutability": "mutable",
|
|
2369
2369
|
"name": "holder",
|
|
2370
2370
|
"nameLocation": "2130:6:62",
|
|
2371
2371
|
"nodeType": "VariableDeclaration",
|
|
2372
|
-
"scope":
|
|
2372
|
+
"scope": 21013,
|
|
2373
2373
|
"src": "2122:14:62",
|
|
2374
2374
|
"stateVariable": false,
|
|
2375
2375
|
"storageLocation": "default",
|
|
@@ -2378,7 +2378,7 @@
|
|
|
2378
2378
|
"typeString": "address"
|
|
2379
2379
|
},
|
|
2380
2380
|
"typeName": {
|
|
2381
|
-
"id":
|
|
2381
|
+
"id": 20973,
|
|
2382
2382
|
"name": "address",
|
|
2383
2383
|
"nodeType": "ElementaryTypeName",
|
|
2384
2384
|
"src": "2122:7:62",
|
|
@@ -2392,12 +2392,12 @@
|
|
|
2392
2392
|
},
|
|
2393
2393
|
{
|
|
2394
2394
|
"constant": false,
|
|
2395
|
-
"id":
|
|
2395
|
+
"id": 20976,
|
|
2396
2396
|
"mutability": "mutable",
|
|
2397
2397
|
"name": "operator",
|
|
2398
2398
|
"nameLocation": "2146:8:62",
|
|
2399
2399
|
"nodeType": "VariableDeclaration",
|
|
2400
|
-
"scope":
|
|
2400
|
+
"scope": 21013,
|
|
2401
2401
|
"src": "2138:16:62",
|
|
2402
2402
|
"stateVariable": false,
|
|
2403
2403
|
"storageLocation": "default",
|
|
@@ -2406,7 +2406,7 @@
|
|
|
2406
2406
|
"typeString": "address"
|
|
2407
2407
|
},
|
|
2408
2408
|
"typeName": {
|
|
2409
|
-
"id":
|
|
2409
|
+
"id": 20975,
|
|
2410
2410
|
"name": "address",
|
|
2411
2411
|
"nodeType": "ElementaryTypeName",
|
|
2412
2412
|
"src": "2138:7:62",
|
|
@@ -2422,12 +2422,12 @@
|
|
|
2422
2422
|
"src": "2097:58:62"
|
|
2423
2423
|
},
|
|
2424
2424
|
"returnParameters": {
|
|
2425
|
-
"id":
|
|
2425
|
+
"id": 20978,
|
|
2426
2426
|
"nodeType": "ParameterList",
|
|
2427
2427
|
"parameters": [],
|
|
2428
2428
|
"src": "2165:0:62"
|
|
2429
2429
|
},
|
|
2430
|
-
"scope":
|
|
2430
|
+
"scope": 21074,
|
|
2431
2431
|
"src": "2074:379:62",
|
|
2432
2432
|
"stateMutability": "nonpayable",
|
|
2433
2433
|
"virtual": false,
|
|
@@ -2435,46 +2435,46 @@
|
|
|
2435
2435
|
},
|
|
2436
2436
|
{
|
|
2437
2437
|
"body": {
|
|
2438
|
-
"id":
|
|
2438
|
+
"id": 21025,
|
|
2439
2439
|
"nodeType": "Block",
|
|
2440
2440
|
"src": "2550:50:62",
|
|
2441
2441
|
"statements": [
|
|
2442
2442
|
{
|
|
2443
2443
|
"expression": {
|
|
2444
2444
|
"expression": {
|
|
2445
|
-
"id":
|
|
2445
|
+
"id": 21022,
|
|
2446
2446
|
"name": "self",
|
|
2447
2447
|
"nodeType": "Identifier",
|
|
2448
2448
|
"overloadedDeclarations": [],
|
|
2449
|
-
"referencedDeclaration":
|
|
2449
|
+
"referencedDeclaration": 21016,
|
|
2450
2450
|
"src": "2567:4:62",
|
|
2451
2451
|
"typeDescriptions": {
|
|
2452
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2452
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
2453
2453
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2454
2454
|
}
|
|
2455
2455
|
},
|
|
2456
|
-
"id":
|
|
2456
|
+
"id": 21023,
|
|
2457
2457
|
"isConstant": false,
|
|
2458
2458
|
"isLValue": true,
|
|
2459
2459
|
"isPure": false,
|
|
2460
2460
|
"lValueRequested": false,
|
|
2461
2461
|
"memberName": "defaultOperatorsArray",
|
|
2462
2462
|
"nodeType": "MemberAccess",
|
|
2463
|
-
"referencedDeclaration":
|
|
2463
|
+
"referencedDeclaration": 20839,
|
|
2464
2464
|
"src": "2567:26:62",
|
|
2465
2465
|
"typeDescriptions": {
|
|
2466
2466
|
"typeIdentifier": "t_array$_t_address_$dyn_storage",
|
|
2467
2467
|
"typeString": "address[] storage ref"
|
|
2468
2468
|
}
|
|
2469
2469
|
},
|
|
2470
|
-
"functionReturnParameters":
|
|
2471
|
-
"id":
|
|
2470
|
+
"functionReturnParameters": 21021,
|
|
2471
|
+
"id": 21024,
|
|
2472
2472
|
"nodeType": "Return",
|
|
2473
2473
|
"src": "2560:33:62"
|
|
2474
2474
|
}
|
|
2475
2475
|
]
|
|
2476
2476
|
},
|
|
2477
|
-
"id":
|
|
2477
|
+
"id": 21026,
|
|
2478
2478
|
"implemented": true,
|
|
2479
2479
|
"kind": "function",
|
|
2480
2480
|
"modifiers": [],
|
|
@@ -2482,38 +2482,38 @@
|
|
|
2482
2482
|
"nameLocation": "2468:16:62",
|
|
2483
2483
|
"nodeType": "FunctionDefinition",
|
|
2484
2484
|
"parameters": {
|
|
2485
|
-
"id":
|
|
2485
|
+
"id": 21017,
|
|
2486
2486
|
"nodeType": "ParameterList",
|
|
2487
2487
|
"parameters": [
|
|
2488
2488
|
{
|
|
2489
2489
|
"constant": false,
|
|
2490
|
-
"id":
|
|
2490
|
+
"id": 21016,
|
|
2491
2491
|
"mutability": "mutable",
|
|
2492
2492
|
"name": "self",
|
|
2493
2493
|
"nameLocation": "2503:4:62",
|
|
2494
2494
|
"nodeType": "VariableDeclaration",
|
|
2495
|
-
"scope":
|
|
2495
|
+
"scope": 21026,
|
|
2496
2496
|
"src": "2485:22:62",
|
|
2497
2497
|
"stateVariable": false,
|
|
2498
2498
|
"storageLocation": "storage",
|
|
2499
2499
|
"typeDescriptions": {
|
|
2500
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2500
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
2501
2501
|
"typeString": "struct ERC777Helper.Operators"
|
|
2502
2502
|
},
|
|
2503
2503
|
"typeName": {
|
|
2504
|
-
"id":
|
|
2504
|
+
"id": 21015,
|
|
2505
2505
|
"nodeType": "UserDefinedTypeName",
|
|
2506
2506
|
"pathNode": {
|
|
2507
|
-
"id":
|
|
2507
|
+
"id": 21014,
|
|
2508
2508
|
"name": "Operators",
|
|
2509
2509
|
"nodeType": "IdentifierPath",
|
|
2510
|
-
"referencedDeclaration":
|
|
2510
|
+
"referencedDeclaration": 20856,
|
|
2511
2511
|
"src": "2485:9:62"
|
|
2512
2512
|
},
|
|
2513
|
-
"referencedDeclaration":
|
|
2513
|
+
"referencedDeclaration": 20856,
|
|
2514
2514
|
"src": "2485:9:62",
|
|
2515
2515
|
"typeDescriptions": {
|
|
2516
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2516
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
2517
2517
|
"typeString": "struct ERC777Helper.Operators"
|
|
2518
2518
|
}
|
|
2519
2519
|
},
|
|
@@ -2523,17 +2523,17 @@
|
|
|
2523
2523
|
"src": "2484:24:62"
|
|
2524
2524
|
},
|
|
2525
2525
|
"returnParameters": {
|
|
2526
|
-
"id":
|
|
2526
|
+
"id": 21021,
|
|
2527
2527
|
"nodeType": "ParameterList",
|
|
2528
2528
|
"parameters": [
|
|
2529
2529
|
{
|
|
2530
2530
|
"constant": false,
|
|
2531
|
-
"id":
|
|
2531
|
+
"id": 21020,
|
|
2532
2532
|
"mutability": "mutable",
|
|
2533
2533
|
"name": "",
|
|
2534
2534
|
"nameLocation": "-1:-1:-1",
|
|
2535
2535
|
"nodeType": "VariableDeclaration",
|
|
2536
|
-
"scope":
|
|
2536
|
+
"scope": 21026,
|
|
2537
2537
|
"src": "2532:16:62",
|
|
2538
2538
|
"stateVariable": false,
|
|
2539
2539
|
"storageLocation": "memory",
|
|
@@ -2543,7 +2543,7 @@
|
|
|
2543
2543
|
},
|
|
2544
2544
|
"typeName": {
|
|
2545
2545
|
"baseType": {
|
|
2546
|
-
"id":
|
|
2546
|
+
"id": 21018,
|
|
2547
2547
|
"name": "address",
|
|
2548
2548
|
"nodeType": "ElementaryTypeName",
|
|
2549
2549
|
"src": "2532:7:62",
|
|
@@ -2553,7 +2553,7 @@
|
|
|
2553
2553
|
"typeString": "address"
|
|
2554
2554
|
}
|
|
2555
2555
|
},
|
|
2556
|
-
"id":
|
|
2556
|
+
"id": 21019,
|
|
2557
2557
|
"nodeType": "ArrayTypeName",
|
|
2558
2558
|
"src": "2532:9:62",
|
|
2559
2559
|
"typeDescriptions": {
|
|
@@ -2566,7 +2566,7 @@
|
|
|
2566
2566
|
],
|
|
2567
2567
|
"src": "2531:18:62"
|
|
2568
2568
|
},
|
|
2569
|
-
"scope":
|
|
2569
|
+
"scope": 21074,
|
|
2570
2570
|
"src": "2459:141:62",
|
|
2571
2571
|
"stateMutability": "view",
|
|
2572
2572
|
"virtual": false,
|
|
@@ -2574,7 +2574,7 @@
|
|
|
2574
2574
|
},
|
|
2575
2575
|
{
|
|
2576
2576
|
"body": {
|
|
2577
|
-
"id":
|
|
2577
|
+
"id": 21072,
|
|
2578
2578
|
"nodeType": "Block",
|
|
2579
2579
|
"src": "2698:309:62",
|
|
2580
2580
|
"statements": [
|
|
@@ -2586,7 +2586,7 @@
|
|
|
2586
2586
|
"typeIdentifier": "t_uint256",
|
|
2587
2587
|
"typeString": "uint256"
|
|
2588
2588
|
},
|
|
2589
|
-
"id":
|
|
2589
|
+
"id": 21040,
|
|
2590
2590
|
"isConstant": false,
|
|
2591
2591
|
"isLValue": false,
|
|
2592
2592
|
"isPure": false,
|
|
@@ -2594,32 +2594,32 @@
|
|
|
2594
2594
|
"leftExpression": {
|
|
2595
2595
|
"expression": {
|
|
2596
2596
|
"expression": {
|
|
2597
|
-
"id":
|
|
2597
|
+
"id": 21036,
|
|
2598
2598
|
"name": "self",
|
|
2599
2599
|
"nodeType": "Identifier",
|
|
2600
2600
|
"overloadedDeclarations": [],
|
|
2601
|
-
"referencedDeclaration":
|
|
2601
|
+
"referencedDeclaration": 21029,
|
|
2602
2602
|
"src": "2793:4:62",
|
|
2603
2603
|
"typeDescriptions": {
|
|
2604
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2604
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
2605
2605
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2606
2606
|
}
|
|
2607
2607
|
},
|
|
2608
|
-
"id":
|
|
2608
|
+
"id": 21037,
|
|
2609
2609
|
"isConstant": false,
|
|
2610
2610
|
"isLValue": true,
|
|
2611
2611
|
"isPure": false,
|
|
2612
2612
|
"lValueRequested": false,
|
|
2613
2613
|
"memberName": "defaultOperatorsArray",
|
|
2614
2614
|
"nodeType": "MemberAccess",
|
|
2615
|
-
"referencedDeclaration":
|
|
2615
|
+
"referencedDeclaration": 20839,
|
|
2616
2616
|
"src": "2793:26:62",
|
|
2617
2617
|
"typeDescriptions": {
|
|
2618
2618
|
"typeIdentifier": "t_array$_t_address_$dyn_storage",
|
|
2619
2619
|
"typeString": "address[] storage ref"
|
|
2620
2620
|
}
|
|
2621
2621
|
},
|
|
2622
|
-
"id":
|
|
2622
|
+
"id": 21038,
|
|
2623
2623
|
"isConstant": false,
|
|
2624
2624
|
"isLValue": false,
|
|
2625
2625
|
"isPure": false,
|
|
@@ -2636,7 +2636,7 @@
|
|
|
2636
2636
|
"operator": "==",
|
|
2637
2637
|
"rightExpression": {
|
|
2638
2638
|
"hexValue": "30",
|
|
2639
|
-
"id":
|
|
2639
|
+
"id": 21039,
|
|
2640
2640
|
"isConstant": false,
|
|
2641
2641
|
"isLValue": false,
|
|
2642
2642
|
"isPure": true,
|
|
@@ -2664,7 +2664,7 @@
|
|
|
2664
2664
|
"typeString": "bool"
|
|
2665
2665
|
}
|
|
2666
2666
|
],
|
|
2667
|
-
"id":
|
|
2667
|
+
"id": 21035,
|
|
2668
2668
|
"name": "assert",
|
|
2669
2669
|
"nodeType": "Identifier",
|
|
2670
2670
|
"overloadedDeclarations": [],
|
|
@@ -2675,7 +2675,7 @@
|
|
|
2675
2675
|
"typeString": "function (bool) pure"
|
|
2676
2676
|
}
|
|
2677
2677
|
},
|
|
2678
|
-
"id":
|
|
2678
|
+
"id": 21041,
|
|
2679
2679
|
"isConstant": false,
|
|
2680
2680
|
"isLValue": false,
|
|
2681
2681
|
"isPure": false,
|
|
@@ -2690,38 +2690,38 @@
|
|
|
2690
2690
|
"typeString": "tuple()"
|
|
2691
2691
|
}
|
|
2692
2692
|
},
|
|
2693
|
-
"id":
|
|
2693
|
+
"id": 21042,
|
|
2694
2694
|
"nodeType": "ExpressionStatement",
|
|
2695
2695
|
"src": "2786:46:62"
|
|
2696
2696
|
},
|
|
2697
2697
|
{
|
|
2698
2698
|
"expression": {
|
|
2699
|
-
"id":
|
|
2699
|
+
"id": 21047,
|
|
2700
2700
|
"isConstant": false,
|
|
2701
2701
|
"isLValue": false,
|
|
2702
2702
|
"isPure": false,
|
|
2703
2703
|
"lValueRequested": false,
|
|
2704
2704
|
"leftHandSide": {
|
|
2705
2705
|
"expression": {
|
|
2706
|
-
"id":
|
|
2706
|
+
"id": 21043,
|
|
2707
2707
|
"name": "self",
|
|
2708
2708
|
"nodeType": "Identifier",
|
|
2709
2709
|
"overloadedDeclarations": [],
|
|
2710
|
-
"referencedDeclaration":
|
|
2710
|
+
"referencedDeclaration": 21029,
|
|
2711
2711
|
"src": "2842:4:62",
|
|
2712
2712
|
"typeDescriptions": {
|
|
2713
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2713
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
2714
2714
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2715
2715
|
}
|
|
2716
2716
|
},
|
|
2717
|
-
"id":
|
|
2717
|
+
"id": 21045,
|
|
2718
2718
|
"isConstant": false,
|
|
2719
2719
|
"isLValue": true,
|
|
2720
2720
|
"isPure": false,
|
|
2721
2721
|
"lValueRequested": true,
|
|
2722
2722
|
"memberName": "defaultOperatorsArray",
|
|
2723
2723
|
"nodeType": "MemberAccess",
|
|
2724
|
-
"referencedDeclaration":
|
|
2724
|
+
"referencedDeclaration": 20839,
|
|
2725
2725
|
"src": "2842:26:62",
|
|
2726
2726
|
"typeDescriptions": {
|
|
2727
2727
|
"typeIdentifier": "t_array$_t_address_$dyn_storage",
|
|
@@ -2731,11 +2731,11 @@
|
|
|
2731
2731
|
"nodeType": "Assignment",
|
|
2732
2732
|
"operator": "=",
|
|
2733
2733
|
"rightHandSide": {
|
|
2734
|
-
"id":
|
|
2734
|
+
"id": 21046,
|
|
2735
2735
|
"name": "operators",
|
|
2736
2736
|
"nodeType": "Identifier",
|
|
2737
2737
|
"overloadedDeclarations": [],
|
|
2738
|
-
"referencedDeclaration":
|
|
2738
|
+
"referencedDeclaration": 21032,
|
|
2739
2739
|
"src": "2871:9:62",
|
|
2740
2740
|
"typeDescriptions": {
|
|
2741
2741
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
|
@@ -2748,19 +2748,19 @@
|
|
|
2748
2748
|
"typeString": "address[] storage ref"
|
|
2749
2749
|
}
|
|
2750
2750
|
},
|
|
2751
|
-
"id":
|
|
2751
|
+
"id": 21048,
|
|
2752
2752
|
"nodeType": "ExpressionStatement",
|
|
2753
2753
|
"src": "2842:38:62"
|
|
2754
2754
|
},
|
|
2755
2755
|
{
|
|
2756
2756
|
"body": {
|
|
2757
|
-
"id":
|
|
2757
|
+
"id": 21070,
|
|
2758
2758
|
"nodeType": "Block",
|
|
2759
2759
|
"src": "2934:67:62",
|
|
2760
2760
|
"statements": [
|
|
2761
2761
|
{
|
|
2762
2762
|
"expression": {
|
|
2763
|
-
"id":
|
|
2763
|
+
"id": 21068,
|
|
2764
2764
|
"isConstant": false,
|
|
2765
2765
|
"isLValue": false,
|
|
2766
2766
|
"isPure": false,
|
|
@@ -2768,52 +2768,52 @@
|
|
|
2768
2768
|
"leftHandSide": {
|
|
2769
2769
|
"baseExpression": {
|
|
2770
2770
|
"expression": {
|
|
2771
|
-
"id":
|
|
2771
|
+
"id": 21060,
|
|
2772
2772
|
"name": "self",
|
|
2773
2773
|
"nodeType": "Identifier",
|
|
2774
2774
|
"overloadedDeclarations": [],
|
|
2775
|
-
"referencedDeclaration":
|
|
2775
|
+
"referencedDeclaration": 21029,
|
|
2776
2776
|
"src": "2948:4:62",
|
|
2777
2777
|
"typeDescriptions": {
|
|
2778
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2778
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
2779
2779
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2780
2780
|
}
|
|
2781
2781
|
},
|
|
2782
|
-
"id":
|
|
2782
|
+
"id": 21065,
|
|
2783
2783
|
"isConstant": false,
|
|
2784
2784
|
"isLValue": true,
|
|
2785
2785
|
"isPure": false,
|
|
2786
2786
|
"lValueRequested": false,
|
|
2787
2787
|
"memberName": "defaultOperators",
|
|
2788
2788
|
"nodeType": "MemberAccess",
|
|
2789
|
-
"referencedDeclaration":
|
|
2789
|
+
"referencedDeclaration": 20843,
|
|
2790
2790
|
"src": "2948:21:62",
|
|
2791
2791
|
"typeDescriptions": {
|
|
2792
2792
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
2793
2793
|
"typeString": "mapping(address => bool)"
|
|
2794
2794
|
}
|
|
2795
2795
|
},
|
|
2796
|
-
"id":
|
|
2796
|
+
"id": 21066,
|
|
2797
2797
|
"indexExpression": {
|
|
2798
2798
|
"baseExpression": {
|
|
2799
|
-
"id":
|
|
2799
|
+
"id": 21062,
|
|
2800
2800
|
"name": "operators",
|
|
2801
2801
|
"nodeType": "Identifier",
|
|
2802
2802
|
"overloadedDeclarations": [],
|
|
2803
|
-
"referencedDeclaration":
|
|
2803
|
+
"referencedDeclaration": 21032,
|
|
2804
2804
|
"src": "2970:9:62",
|
|
2805
2805
|
"typeDescriptions": {
|
|
2806
2806
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
|
2807
2807
|
"typeString": "address[] memory"
|
|
2808
2808
|
}
|
|
2809
2809
|
},
|
|
2810
|
-
"id":
|
|
2810
|
+
"id": 21064,
|
|
2811
2811
|
"indexExpression": {
|
|
2812
|
-
"id":
|
|
2812
|
+
"id": 21063,
|
|
2813
2813
|
"name": "i",
|
|
2814
2814
|
"nodeType": "Identifier",
|
|
2815
2815
|
"overloadedDeclarations": [],
|
|
2816
|
-
"referencedDeclaration":
|
|
2816
|
+
"referencedDeclaration": 21050,
|
|
2817
2817
|
"src": "2980:1:62",
|
|
2818
2818
|
"typeDescriptions": {
|
|
2819
2819
|
"typeIdentifier": "t_uint256",
|
|
@@ -2846,7 +2846,7 @@
|
|
|
2846
2846
|
"operator": "=",
|
|
2847
2847
|
"rightHandSide": {
|
|
2848
2848
|
"hexValue": "74727565",
|
|
2849
|
-
"id":
|
|
2849
|
+
"id": 21067,
|
|
2850
2850
|
"isConstant": false,
|
|
2851
2851
|
"isLValue": false,
|
|
2852
2852
|
"isPure": true,
|
|
@@ -2866,7 +2866,7 @@
|
|
|
2866
2866
|
"typeString": "bool"
|
|
2867
2867
|
}
|
|
2868
2868
|
},
|
|
2869
|
-
"id":
|
|
2869
|
+
"id": 21069,
|
|
2870
2870
|
"nodeType": "ExpressionStatement",
|
|
2871
2871
|
"src": "2948:42:62"
|
|
2872
2872
|
}
|
|
@@ -2877,17 +2877,17 @@
|
|
|
2877
2877
|
"typeIdentifier": "t_uint256",
|
|
2878
2878
|
"typeString": "uint256"
|
|
2879
2879
|
},
|
|
2880
|
-
"id":
|
|
2880
|
+
"id": 21056,
|
|
2881
2881
|
"isConstant": false,
|
|
2882
2882
|
"isLValue": false,
|
|
2883
2883
|
"isPure": false,
|
|
2884
2884
|
"lValueRequested": false,
|
|
2885
2885
|
"leftExpression": {
|
|
2886
|
-
"id":
|
|
2886
|
+
"id": 21053,
|
|
2887
2887
|
"name": "i",
|
|
2888
2888
|
"nodeType": "Identifier",
|
|
2889
2889
|
"overloadedDeclarations": [],
|
|
2890
|
-
"referencedDeclaration":
|
|
2890
|
+
"referencedDeclaration": 21050,
|
|
2891
2891
|
"src": "2907:1:62",
|
|
2892
2892
|
"typeDescriptions": {
|
|
2893
2893
|
"typeIdentifier": "t_uint256",
|
|
@@ -2898,18 +2898,18 @@
|
|
|
2898
2898
|
"operator": "<",
|
|
2899
2899
|
"rightExpression": {
|
|
2900
2900
|
"expression": {
|
|
2901
|
-
"id":
|
|
2901
|
+
"id": 21054,
|
|
2902
2902
|
"name": "operators",
|
|
2903
2903
|
"nodeType": "Identifier",
|
|
2904
2904
|
"overloadedDeclarations": [],
|
|
2905
|
-
"referencedDeclaration":
|
|
2905
|
+
"referencedDeclaration": 21032,
|
|
2906
2906
|
"src": "2911:9:62",
|
|
2907
2907
|
"typeDescriptions": {
|
|
2908
2908
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
|
2909
2909
|
"typeString": "address[] memory"
|
|
2910
2910
|
}
|
|
2911
2911
|
},
|
|
2912
|
-
"id":
|
|
2912
|
+
"id": 21055,
|
|
2913
2913
|
"isConstant": false,
|
|
2914
2914
|
"isLValue": false,
|
|
2915
2915
|
"isPure": false,
|
|
@@ -2928,20 +2928,20 @@
|
|
|
2928
2928
|
"typeString": "bool"
|
|
2929
2929
|
}
|
|
2930
2930
|
},
|
|
2931
|
-
"id":
|
|
2931
|
+
"id": 21071,
|
|
2932
2932
|
"initializationExpression": {
|
|
2933
2933
|
"assignments": [
|
|
2934
|
-
|
|
2934
|
+
21050
|
|
2935
2935
|
],
|
|
2936
2936
|
"declarations": [
|
|
2937
2937
|
{
|
|
2938
2938
|
"constant": false,
|
|
2939
|
-
"id":
|
|
2939
|
+
"id": 21050,
|
|
2940
2940
|
"mutability": "mutable",
|
|
2941
2941
|
"name": "i",
|
|
2942
2942
|
"nameLocation": "2900:1:62",
|
|
2943
2943
|
"nodeType": "VariableDeclaration",
|
|
2944
|
-
"scope":
|
|
2944
|
+
"scope": 21071,
|
|
2945
2945
|
"src": "2895:6:62",
|
|
2946
2946
|
"stateVariable": false,
|
|
2947
2947
|
"storageLocation": "default",
|
|
@@ -2950,7 +2950,7 @@
|
|
|
2950
2950
|
"typeString": "uint256"
|
|
2951
2951
|
},
|
|
2952
2952
|
"typeName": {
|
|
2953
|
-
"id":
|
|
2953
|
+
"id": 21049,
|
|
2954
2954
|
"name": "uint",
|
|
2955
2955
|
"nodeType": "ElementaryTypeName",
|
|
2956
2956
|
"src": "2895:4:62",
|
|
@@ -2962,10 +2962,10 @@
|
|
|
2962
2962
|
"visibility": "internal"
|
|
2963
2963
|
}
|
|
2964
2964
|
],
|
|
2965
|
-
"id":
|
|
2965
|
+
"id": 21052,
|
|
2966
2966
|
"initialValue": {
|
|
2967
2967
|
"hexValue": "30",
|
|
2968
|
-
"id":
|
|
2968
|
+
"id": 21051,
|
|
2969
2969
|
"isConstant": false,
|
|
2970
2970
|
"isLValue": false,
|
|
2971
2971
|
"isPure": true,
|
|
@@ -2984,7 +2984,7 @@
|
|
|
2984
2984
|
},
|
|
2985
2985
|
"loopExpression": {
|
|
2986
2986
|
"expression": {
|
|
2987
|
-
"id":
|
|
2987
|
+
"id": 21058,
|
|
2988
2988
|
"isConstant": false,
|
|
2989
2989
|
"isLValue": false,
|
|
2990
2990
|
"isPure": false,
|
|
@@ -2994,11 +2994,11 @@
|
|
|
2994
2994
|
"prefix": true,
|
|
2995
2995
|
"src": "2929:3:62",
|
|
2996
2996
|
"subExpression": {
|
|
2997
|
-
"id":
|
|
2997
|
+
"id": 21057,
|
|
2998
2998
|
"name": "i",
|
|
2999
2999
|
"nodeType": "Identifier",
|
|
3000
3000
|
"overloadedDeclarations": [],
|
|
3001
|
-
"referencedDeclaration":
|
|
3001
|
+
"referencedDeclaration": 21050,
|
|
3002
3002
|
"src": "2931:1:62",
|
|
3003
3003
|
"typeDescriptions": {
|
|
3004
3004
|
"typeIdentifier": "t_uint256",
|
|
@@ -3010,7 +3010,7 @@
|
|
|
3010
3010
|
"typeString": "uint256"
|
|
3011
3011
|
}
|
|
3012
3012
|
},
|
|
3013
|
-
"id":
|
|
3013
|
+
"id": 21059,
|
|
3014
3014
|
"nodeType": "ExpressionStatement",
|
|
3015
3015
|
"src": "2929:3:62"
|
|
3016
3016
|
},
|
|
@@ -3019,7 +3019,7 @@
|
|
|
3019
3019
|
}
|
|
3020
3020
|
]
|
|
3021
3021
|
},
|
|
3022
|
-
"id":
|
|
3022
|
+
"id": 21073,
|
|
3023
3023
|
"implemented": true,
|
|
3024
3024
|
"kind": "function",
|
|
3025
3025
|
"modifiers": [],
|
|
@@ -3027,38 +3027,38 @@
|
|
|
3027
3027
|
"nameLocation": "2615:21:62",
|
|
3028
3028
|
"nodeType": "FunctionDefinition",
|
|
3029
3029
|
"parameters": {
|
|
3030
|
-
"id":
|
|
3030
|
+
"id": 21033,
|
|
3031
3031
|
"nodeType": "ParameterList",
|
|
3032
3032
|
"parameters": [
|
|
3033
3033
|
{
|
|
3034
3034
|
"constant": false,
|
|
3035
|
-
"id":
|
|
3035
|
+
"id": 21029,
|
|
3036
3036
|
"mutability": "mutable",
|
|
3037
3037
|
"name": "self",
|
|
3038
3038
|
"nameLocation": "2655:4:62",
|
|
3039
3039
|
"nodeType": "VariableDeclaration",
|
|
3040
|
-
"scope":
|
|
3040
|
+
"scope": 21073,
|
|
3041
3041
|
"src": "2637:22:62",
|
|
3042
3042
|
"stateVariable": false,
|
|
3043
3043
|
"storageLocation": "storage",
|
|
3044
3044
|
"typeDescriptions": {
|
|
3045
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
3045
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
3046
3046
|
"typeString": "struct ERC777Helper.Operators"
|
|
3047
3047
|
},
|
|
3048
3048
|
"typeName": {
|
|
3049
|
-
"id":
|
|
3049
|
+
"id": 21028,
|
|
3050
3050
|
"nodeType": "UserDefinedTypeName",
|
|
3051
3051
|
"pathNode": {
|
|
3052
|
-
"id":
|
|
3052
|
+
"id": 21027,
|
|
3053
3053
|
"name": "Operators",
|
|
3054
3054
|
"nodeType": "IdentifierPath",
|
|
3055
|
-
"referencedDeclaration":
|
|
3055
|
+
"referencedDeclaration": 20856,
|
|
3056
3056
|
"src": "2637:9:62"
|
|
3057
3057
|
},
|
|
3058
|
-
"referencedDeclaration":
|
|
3058
|
+
"referencedDeclaration": 20856,
|
|
3059
3059
|
"src": "2637:9:62",
|
|
3060
3060
|
"typeDescriptions": {
|
|
3061
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
3061
|
+
"typeIdentifier": "t_struct$_Operators_$20856_storage_ptr",
|
|
3062
3062
|
"typeString": "struct ERC777Helper.Operators"
|
|
3063
3063
|
}
|
|
3064
3064
|
},
|
|
@@ -3066,12 +3066,12 @@
|
|
|
3066
3066
|
},
|
|
3067
3067
|
{
|
|
3068
3068
|
"constant": false,
|
|
3069
|
-
"id":
|
|
3069
|
+
"id": 21032,
|
|
3070
3070
|
"mutability": "mutable",
|
|
3071
3071
|
"name": "operators",
|
|
3072
3072
|
"nameLocation": "2678:9:62",
|
|
3073
3073
|
"nodeType": "VariableDeclaration",
|
|
3074
|
-
"scope":
|
|
3074
|
+
"scope": 21073,
|
|
3075
3075
|
"src": "2661:26:62",
|
|
3076
3076
|
"stateVariable": false,
|
|
3077
3077
|
"storageLocation": "memory",
|
|
@@ -3081,7 +3081,7 @@
|
|
|
3081
3081
|
},
|
|
3082
3082
|
"typeName": {
|
|
3083
3083
|
"baseType": {
|
|
3084
|
-
"id":
|
|
3084
|
+
"id": 21030,
|
|
3085
3085
|
"name": "address",
|
|
3086
3086
|
"nodeType": "ElementaryTypeName",
|
|
3087
3087
|
"src": "2661:7:62",
|
|
@@ -3091,7 +3091,7 @@
|
|
|
3091
3091
|
"typeString": "address"
|
|
3092
3092
|
}
|
|
3093
3093
|
},
|
|
3094
|
-
"id":
|
|
3094
|
+
"id": 21031,
|
|
3095
3095
|
"nodeType": "ArrayTypeName",
|
|
3096
3096
|
"src": "2661:9:62",
|
|
3097
3097
|
"typeDescriptions": {
|
|
@@ -3105,19 +3105,19 @@
|
|
|
3105
3105
|
"src": "2636:52:62"
|
|
3106
3106
|
},
|
|
3107
3107
|
"returnParameters": {
|
|
3108
|
-
"id":
|
|
3108
|
+
"id": 21034,
|
|
3109
3109
|
"nodeType": "ParameterList",
|
|
3110
3110
|
"parameters": [],
|
|
3111
3111
|
"src": "2698:0:62"
|
|
3112
3112
|
},
|
|
3113
|
-
"scope":
|
|
3113
|
+
"scope": 21074,
|
|
3114
3114
|
"src": "2606:401:62",
|
|
3115
3115
|
"stateMutability": "nonpayable",
|
|
3116
3116
|
"virtual": false,
|
|
3117
3117
|
"visibility": "internal"
|
|
3118
3118
|
}
|
|
3119
3119
|
],
|
|
3120
|
-
"scope":
|
|
3120
|
+
"scope": 21075,
|
|
3121
3121
|
"src": "224:2786:62",
|
|
3122
3122
|
"usedErrors": []
|
|
3123
3123
|
}
|
|
@@ -3130,7 +3130,7 @@
|
|
|
3130
3130
|
},
|
|
3131
3131
|
"networks": {},
|
|
3132
3132
|
"schemaVersion": "3.4.8",
|
|
3133
|
-
"updatedAt": "2022-08-
|
|
3133
|
+
"updatedAt": "2022-08-25T14:16:53.049Z",
|
|
3134
3134
|
"devdoc": {
|
|
3135
3135
|
"author": "Superfluid",
|
|
3136
3136
|
"kind": "dev",
|