@superfluid-finance/ethereum-contracts 1.2.2-dev.6a8632e.0 → 1.2.2-dev.787fef7.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 +450 -243
- package/build/contracts/BaseRelayRecipient.json +112 -112
- package/build/contracts/BatchLiquidator.json +178 -178
- package/build/contracts/BatchOperation.json +1138 -1138
- package/build/contracts/CFAv1Library.json +2531 -2531
- package/build/contracts/CallUtils.json +478 -478
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1521 -1521
- package/build/contracts/ConstantFlowAgreementV1.json +19315 -18335
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +1138 -1138
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +31 -31
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- 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 +36 -36
- package/build/contracts/ERC721.json +1 -1
- package/build/contracts/ERC777Helper.json +660 -660
- package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
- package/build/contracts/ERC777RecipientReverting.json +855 -855
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/ExclusiveInflowTestApp.json +1521 -1521
- package/build/contracts/FixedSizeData.json +405 -405
- package/build/contracts/FlowExchangeTestApp.json +1522 -1522
- package/build/contracts/FlowOperatorDefinitions.json +1138 -1138
- package/build/contracts/FullUpgradableSuperTokenProxy.json +113 -113
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +1036 -1036
- package/build/contracts/IDAv1Library.json +4183 -4183
- package/build/contracts/IERC165.json +1 -1
- package/build/contracts/IERC1820Implementer.json +1 -1
- package/build/contracts/IERC1820Registry.json +1 -1
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Metadata.json +1 -1
- package/build/contracts/IERC721.json +1 -1
- package/build/contracts/IERC721Metadata.json +1 -1
- package/build/contracts/IERC721Receiver.json +1 -1
- package/build/contracts/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +1182 -1182
- package/build/contracts/IMaticBridgedNativeSuperToken.json +110 -110
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +110 -110
- package/build/contracts/IMultiSigWallet.json +45 -45
- package/build/contracts/IPureSuperToken.json +69 -69
- package/build/contracts/IPureSuperTokenCustom.json +69 -69
- package/build/contracts/IRelayRecipient.json +49 -49
- package/build/contracts/IResolver.json +73 -73
- package/build/contracts/ISETH.json +79 -79
- package/build/contracts/ISETHCustom.json +79 -79
- package/build/contracts/ISuperAgreement.json +88 -88
- package/build/contracts/ISuperApp.json +351 -351
- package/build/contracts/ISuperToken.json +1008 -1008
- package/build/contracts/ISuperTokenFactory.json +280 -280
- package/build/contracts/ISuperfluid.json +1466 -1466
- package/build/contracts/ISuperfluidGovernance.json +404 -404
- package/build/contracts/ISuperfluidToken.json +774 -774
- package/build/contracts/ITOGAv1.json +1431 -1431
- package/build/contracts/ITOGAv2.json +1431 -1431
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +9343 -9343
- package/build/contracts/Int96SafeMath.json +504 -504
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +228 -228
- package/build/contracts/NonClosableOutflowTestApp.json +1522 -1522
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Pausable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/PureSuperToken.json +106 -106
- package/build/contracts/Resolver.json +98 -98
- package/build/contracts/SETHProxy.json +224 -224
- package/build/contracts/SafeCast.json +1 -1
- package/build/contracts/SafeERC20.json +1 -1
- package/build/contracts/SafeMath.json +1 -1
- package/build/contracts/SelfDeletingFlowTestApp.json +1521 -1521
- package/build/contracts/SlotsBitmapLibrary.json +794 -794
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +394 -394
- package/build/contracts/SuperAppDefinitions.json +1138 -1138
- package/build/contracts/SuperToken.json +2351 -2351
- package/build/contracts/SuperTokenFactory.json +731 -731
- package/build/contracts/SuperTokenFactoryBase.json +721 -721
- package/build/contracts/SuperTokenFactoryHelper.json +724 -724
- package/build/contracts/SuperUpgrader.json +437 -437
- package/build/contracts/Superfluid.json +9812 -10169
- package/build/contracts/SuperfluidFrameworkDeployer.json +535 -535
- package/build/contracts/SuperfluidGovernanceBase.json +3471 -3789
- package/build/contracts/SuperfluidGovernanceConfigs.json +1138 -1138
- package/build/contracts/SuperfluidGovernanceII.json +2097 -2347
- package/build/contracts/SuperfluidGovernanceIIProxy.json +214 -214
- package/build/contracts/SuperfluidLoader.json +207 -207
- package/build/contracts/SuperfluidToken.json +1345 -1345
- package/build/contracts/TOGA.json +1448 -1448
- package/build/contracts/TestGovernance.json +2195 -2445
- package/build/contracts/TestToken.json +94 -94
- package/build/contracts/TokenCustodian.json +214 -214
- package/build/contracts/TokenInfo.json +58 -58
- package/build/contracts/UInt128SafeMath.json +97 -97
- package/build/contracts/UUPSProxiable.json +132 -132
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +3 -4
- package/contracts/agreements/AgreementLibrary.sol +1 -0
- package/contracts/agreements/ConstantFlowAgreementV1.sol +71 -35
- package/contracts/agreements/InstantDistributionAgreementV1.sol +3 -2
- package/contracts/gov/SuperfluidGovernanceBase.sol +9 -26
- package/contracts/{agreements → libs}/SlotsBitmapLibrary.sol +1 -3
- package/contracts/mocks/SuperfluidMock.sol +2 -2
- package/contracts/superfluid/Superfluid.sol +5 -10
- package/package.json +2 -1
- package/scripts/gov-create-new-app-registration-key.js +26 -3
|
@@ -7,52 +7,52 @@
|
|
|
7
7
|
"immutableReferences": {},
|
|
8
8
|
"generatedSources": [],
|
|
9
9
|
"deployedGeneratedSources": [],
|
|
10
|
-
"sourceMap": "224:2786:
|
|
11
|
-
"deployedSourceMap": "224:2786:
|
|
10
|
+
"sourceMap": "224:2786:64:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;224:2786:64;;;;;;;;;;;;;;;;;",
|
|
11
|
+
"deployedSourceMap": "224:2786:64:-:0;;;;;;;;",
|
|
12
12
|
"source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.13;\n\nimport { IERC1820Registry } from \"@openzeppelin/contracts/utils/introspection/IERC1820Registry.sol\";\n\n/**\n * @title ERC777 helper library\n * @author Superfluid\n */\nlibrary ERC777Helper {\n\n IERC1820Registry constant internal _ERC1820_REGISTRY =\n IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24);\n\n // keccak256(\"ERC777TokensSender\")\n bytes32 constant internal _TOKENS_SENDER_INTERFACE_HASH =\n 0x29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe895;\n\n // keccak256(\"ERC777TokensRecipient\")\n bytes32 constant internal _TOKENS_RECIPIENT_INTERFACE_HASH =\n 0xb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b;\n\n\n /// @dev ERC777 operators support self structure\n struct Operators {\n address[] defaultOperatorsArray;\n mapping(address => bool) defaultOperators;\n mapping(address => mapping(address => bool)) operators;\n mapping(address => mapping(address => bool)) revokedDefaultOperators;\n }\n\n function register(address token) internal {\n _ERC1820_REGISTRY.setInterfaceImplementer(token, keccak256(\"ERC777Token\"), address(this));\n _ERC1820_REGISTRY.setInterfaceImplementer(token, keccak256(\"ERC20Token\"), address(this));\n }\n\n function isOperatorFor(Operators storage self, address operator, address tokenHolder) internal view returns (bool) {\n return operator == tokenHolder ||\n (\n self.defaultOperators[operator] &&\n !self.revokedDefaultOperators[tokenHolder][operator]\n ) ||\n self.operators[tokenHolder][operator];\n }\n\n function authorizeOperator(Operators storage self, address holder, address operator) internal {\n require(holder != operator, \"ERC777Operators: authorizing self as operator\");\n\n if (self.defaultOperators[operator]) {\n delete self.revokedDefaultOperators[holder][operator];\n } else {\n self.operators[holder][operator] = true;\n }\n }\n\n function revokeOperator(Operators storage self, address holder, address operator) internal {\n require(operator != msg.sender, \"ERC777Operators: revoking self as operator\");\n if (self.defaultOperators[operator]) {\n self.revokedDefaultOperators[holder][operator] = true;\n } else {\n delete self.operators[holder][operator];\n }\n }\n\n function defaultOperators(Operators storage self) internal view returns (address[] memory) {\n return self.defaultOperatorsArray;\n }\n\n function setupDefaultOperators(Operators storage self, address[] memory operators) internal {\n // According to 777 spec: default operators should only be setup once\n assert(self.defaultOperatorsArray.length == 0);\n self.defaultOperatorsArray = operators;\n for (uint i = 0; i < operators.length; ++i) {\n self.defaultOperators[operators[i]] = true;\n }\n }\n\n}\n",
|
|
13
13
|
"sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/libs/ERC777Helper.sol",
|
|
14
14
|
"ast": {
|
|
15
15
|
"absolutePath": "project:/contracts/libs/ERC777Helper.sol",
|
|
16
16
|
"exportedSymbols": {
|
|
17
17
|
"ERC777Helper": [
|
|
18
|
-
|
|
18
|
+
20007
|
|
19
19
|
],
|
|
20
20
|
"IERC1820Registry": [
|
|
21
21
|
4042
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
|
-
"id":
|
|
24
|
+
"id": 20008,
|
|
25
25
|
"license": "AGPLv3",
|
|
26
26
|
"nodeType": "SourceUnit",
|
|
27
27
|
"nodes": [
|
|
28
28
|
{
|
|
29
|
-
"id":
|
|
29
|
+
"id": 19754,
|
|
30
30
|
"literals": [
|
|
31
31
|
"solidity",
|
|
32
32
|
"0.8",
|
|
33
33
|
".13"
|
|
34
34
|
],
|
|
35
35
|
"nodeType": "PragmaDirective",
|
|
36
|
-
"src": "35:23:
|
|
36
|
+
"src": "35:23:64"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"absolutePath": "@openzeppelin/contracts/utils/introspection/IERC1820Registry.sol",
|
|
40
40
|
"file": "@openzeppelin/contracts/utils/introspection/IERC1820Registry.sol",
|
|
41
|
-
"id":
|
|
41
|
+
"id": 19756,
|
|
42
42
|
"nameLocation": "-1:-1:-1",
|
|
43
43
|
"nodeType": "ImportDirective",
|
|
44
|
-
"scope":
|
|
44
|
+
"scope": 20008,
|
|
45
45
|
"sourceUnit": 4043,
|
|
46
|
-
"src": "60:100:
|
|
46
|
+
"src": "60:100:64",
|
|
47
47
|
"symbolAliases": [
|
|
48
48
|
{
|
|
49
49
|
"foreign": {
|
|
50
|
-
"id":
|
|
50
|
+
"id": 19755,
|
|
51
51
|
"name": "IERC1820Registry",
|
|
52
52
|
"nodeType": "Identifier",
|
|
53
53
|
"overloadedDeclarations": [],
|
|
54
54
|
"referencedDeclaration": 4042,
|
|
55
|
-
"src": "69:16:
|
|
55
|
+
"src": "69:16:64",
|
|
56
56
|
"typeDescriptions": {}
|
|
57
57
|
},
|
|
58
58
|
"nameLocation": "-1:-1:-1"
|
|
@@ -67,29 +67,29 @@
|
|
|
67
67
|
"contractDependencies": [],
|
|
68
68
|
"contractKind": "library",
|
|
69
69
|
"documentation": {
|
|
70
|
-
"id":
|
|
70
|
+
"id": 19757,
|
|
71
71
|
"nodeType": "StructuredDocumentation",
|
|
72
|
-
"src": "162:61:
|
|
72
|
+
"src": "162:61:64",
|
|
73
73
|
"text": " @title ERC777 helper library\n @author Superfluid"
|
|
74
74
|
},
|
|
75
75
|
"fullyImplemented": true,
|
|
76
|
-
"id":
|
|
76
|
+
"id": 20007,
|
|
77
77
|
"linearizedBaseContracts": [
|
|
78
|
-
|
|
78
|
+
20007
|
|
79
79
|
],
|
|
80
80
|
"name": "ERC777Helper",
|
|
81
|
-
"nameLocation": "232:12:
|
|
81
|
+
"nameLocation": "232:12:64",
|
|
82
82
|
"nodeType": "ContractDefinition",
|
|
83
83
|
"nodes": [
|
|
84
84
|
{
|
|
85
85
|
"constant": true,
|
|
86
|
-
"id":
|
|
86
|
+
"id": 19763,
|
|
87
87
|
"mutability": "constant",
|
|
88
88
|
"name": "_ERC1820_REGISTRY",
|
|
89
|
-
"nameLocation": "287:17:
|
|
89
|
+
"nameLocation": "287:17:64",
|
|
90
90
|
"nodeType": "VariableDeclaration",
|
|
91
|
-
"scope":
|
|
92
|
-
"src": "252:123:
|
|
91
|
+
"scope": 20007,
|
|
92
|
+
"src": "252:123:64",
|
|
93
93
|
"stateVariable": true,
|
|
94
94
|
"storageLocation": "default",
|
|
95
95
|
"typeDescriptions": {
|
|
@@ -97,17 +97,17 @@
|
|
|
97
97
|
"typeString": "contract IERC1820Registry"
|
|
98
98
|
},
|
|
99
99
|
"typeName": {
|
|
100
|
-
"id":
|
|
100
|
+
"id": 19759,
|
|
101
101
|
"nodeType": "UserDefinedTypeName",
|
|
102
102
|
"pathNode": {
|
|
103
|
-
"id":
|
|
103
|
+
"id": 19758,
|
|
104
104
|
"name": "IERC1820Registry",
|
|
105
105
|
"nodeType": "IdentifierPath",
|
|
106
106
|
"referencedDeclaration": 4042,
|
|
107
|
-
"src": "252:16:
|
|
107
|
+
"src": "252:16:64"
|
|
108
108
|
},
|
|
109
109
|
"referencedDeclaration": 4042,
|
|
110
|
-
"src": "252:16:
|
|
110
|
+
"src": "252:16:64",
|
|
111
111
|
"typeDescriptions": {
|
|
112
112
|
"typeIdentifier": "t_contract$_IERC1820Registry_$4042",
|
|
113
113
|
"typeString": "contract IERC1820Registry"
|
|
@@ -117,14 +117,14 @@
|
|
|
117
117
|
"arguments": [
|
|
118
118
|
{
|
|
119
119
|
"hexValue": "307831383230613442373631384264453731446365386364633733614142364339353930356661443234",
|
|
120
|
-
"id":
|
|
120
|
+
"id": 19761,
|
|
121
121
|
"isConstant": false,
|
|
122
122
|
"isLValue": false,
|
|
123
123
|
"isPure": true,
|
|
124
124
|
"kind": "number",
|
|
125
125
|
"lValueRequested": false,
|
|
126
126
|
"nodeType": "Literal",
|
|
127
|
-
"src": "332:42:
|
|
127
|
+
"src": "332:42:64",
|
|
128
128
|
"typeDescriptions": {
|
|
129
129
|
"typeIdentifier": "t_address",
|
|
130
130
|
"typeString": "address"
|
|
@@ -139,18 +139,18 @@
|
|
|
139
139
|
"typeString": "address"
|
|
140
140
|
}
|
|
141
141
|
],
|
|
142
|
-
"id":
|
|
142
|
+
"id": 19760,
|
|
143
143
|
"name": "IERC1820Registry",
|
|
144
144
|
"nodeType": "Identifier",
|
|
145
145
|
"overloadedDeclarations": [],
|
|
146
146
|
"referencedDeclaration": 4042,
|
|
147
|
-
"src": "315:16:
|
|
147
|
+
"src": "315:16:64",
|
|
148
148
|
"typeDescriptions": {
|
|
149
149
|
"typeIdentifier": "t_type$_t_contract$_IERC1820Registry_$4042_$",
|
|
150
150
|
"typeString": "type(contract IERC1820Registry)"
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
|
-
"id":
|
|
153
|
+
"id": 19762,
|
|
154
154
|
"isConstant": false,
|
|
155
155
|
"isLValue": false,
|
|
156
156
|
"isPure": true,
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"lValueRequested": false,
|
|
159
159
|
"names": [],
|
|
160
160
|
"nodeType": "FunctionCall",
|
|
161
|
-
"src": "315:60:
|
|
161
|
+
"src": "315:60:64",
|
|
162
162
|
"tryCall": false,
|
|
163
163
|
"typeDescriptions": {
|
|
164
164
|
"typeIdentifier": "t_contract$_IERC1820Registry_$4042",
|
|
@@ -169,13 +169,13 @@
|
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
"constant": true,
|
|
172
|
-
"id":
|
|
172
|
+
"id": 19766,
|
|
173
173
|
"mutability": "constant",
|
|
174
174
|
"name": "_TOKENS_SENDER_INTERFACE_HASH",
|
|
175
|
-
"nameLocation": "447:29:
|
|
175
|
+
"nameLocation": "447:29:64",
|
|
176
176
|
"nodeType": "VariableDeclaration",
|
|
177
|
-
"scope":
|
|
178
|
-
"src": "421:132:
|
|
177
|
+
"scope": 20007,
|
|
178
|
+
"src": "421:132:64",
|
|
179
179
|
"stateVariable": true,
|
|
180
180
|
"storageLocation": "default",
|
|
181
181
|
"typeDescriptions": {
|
|
@@ -183,10 +183,10 @@
|
|
|
183
183
|
"typeString": "bytes32"
|
|
184
184
|
},
|
|
185
185
|
"typeName": {
|
|
186
|
-
"id":
|
|
186
|
+
"id": 19764,
|
|
187
187
|
"name": "bytes32",
|
|
188
188
|
"nodeType": "ElementaryTypeName",
|
|
189
|
-
"src": "421:7:
|
|
189
|
+
"src": "421:7:64",
|
|
190
190
|
"typeDescriptions": {
|
|
191
191
|
"typeIdentifier": "t_bytes32",
|
|
192
192
|
"typeString": "bytes32"
|
|
@@ -194,14 +194,14 @@
|
|
|
194
194
|
},
|
|
195
195
|
"value": {
|
|
196
196
|
"hexValue": "307832396464623538396231666235666337636633393439363163316164663566386336343534373631616466373935653637666531343966363538616265383935",
|
|
197
|
-
"id":
|
|
197
|
+
"id": 19765,
|
|
198
198
|
"isConstant": false,
|
|
199
199
|
"isLValue": false,
|
|
200
200
|
"isPure": true,
|
|
201
201
|
"kind": "number",
|
|
202
202
|
"lValueRequested": false,
|
|
203
203
|
"nodeType": "Literal",
|
|
204
|
-
"src": "487:66:
|
|
204
|
+
"src": "487:66:64",
|
|
205
205
|
"typeDescriptions": {
|
|
206
206
|
"typeIdentifier": "t_rational_18936552921575092301472466748482491067159488139731697543124572343800628504725_by_1",
|
|
207
207
|
"typeString": "int_const 1893...(69 digits omitted)...4725"
|
|
@@ -212,13 +212,13 @@
|
|
|
212
212
|
},
|
|
213
213
|
{
|
|
214
214
|
"constant": true,
|
|
215
|
-
"id":
|
|
215
|
+
"id": 19769,
|
|
216
216
|
"mutability": "constant",
|
|
217
217
|
"name": "_TOKENS_RECIPIENT_INTERFACE_HASH",
|
|
218
|
-
"nameLocation": "628:32:
|
|
218
|
+
"nameLocation": "628:32:64",
|
|
219
219
|
"nodeType": "VariableDeclaration",
|
|
220
|
-
"scope":
|
|
221
|
-
"src": "602:135:
|
|
220
|
+
"scope": 20007,
|
|
221
|
+
"src": "602:135:64",
|
|
222
222
|
"stateVariable": true,
|
|
223
223
|
"storageLocation": "default",
|
|
224
224
|
"typeDescriptions": {
|
|
@@ -226,10 +226,10 @@
|
|
|
226
226
|
"typeString": "bytes32"
|
|
227
227
|
},
|
|
228
228
|
"typeName": {
|
|
229
|
-
"id":
|
|
229
|
+
"id": 19767,
|
|
230
230
|
"name": "bytes32",
|
|
231
231
|
"nodeType": "ElementaryTypeName",
|
|
232
|
-
"src": "602:7:
|
|
232
|
+
"src": "602:7:64",
|
|
233
233
|
"typeDescriptions": {
|
|
234
234
|
"typeIdentifier": "t_bytes32",
|
|
235
235
|
"typeString": "bytes32"
|
|
@@ -237,14 +237,14 @@
|
|
|
237
237
|
},
|
|
238
238
|
"value": {
|
|
239
239
|
"hexValue": "307862323831666338633132393534643232353434646234356465333135396133393237323839356231363961383532623331346639636337363265343463353362",
|
|
240
|
-
"id":
|
|
240
|
+
"id": 19768,
|
|
241
241
|
"isConstant": false,
|
|
242
242
|
"isLValue": false,
|
|
243
243
|
"isPure": true,
|
|
244
244
|
"kind": "number",
|
|
245
245
|
"lValueRequested": false,
|
|
246
246
|
"nodeType": "Literal",
|
|
247
|
-
"src": "671:66:
|
|
247
|
+
"src": "671:66:64",
|
|
248
248
|
"typeDescriptions": {
|
|
249
249
|
"typeIdentifier": "t_rational_80741353335606793576644178559265408063696393279619534167571325834855102858555_by_1",
|
|
250
250
|
"typeString": "int_const 8074...(69 digits omitted)...8555"
|
|
@@ -255,17 +255,17 @@
|
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
257
|
"canonicalName": "ERC777Helper.Operators",
|
|
258
|
-
"id":
|
|
258
|
+
"id": 19789,
|
|
259
259
|
"members": [
|
|
260
260
|
{
|
|
261
261
|
"constant": false,
|
|
262
|
-
"id":
|
|
262
|
+
"id": 19772,
|
|
263
263
|
"mutability": "mutable",
|
|
264
264
|
"name": "defaultOperatorsArray",
|
|
265
|
-
"nameLocation": "835:21:
|
|
265
|
+
"nameLocation": "835:21:64",
|
|
266
266
|
"nodeType": "VariableDeclaration",
|
|
267
|
-
"scope":
|
|
268
|
-
"src": "825:31:
|
|
267
|
+
"scope": 19789,
|
|
268
|
+
"src": "825:31:64",
|
|
269
269
|
"stateVariable": false,
|
|
270
270
|
"storageLocation": "default",
|
|
271
271
|
"typeDescriptions": {
|
|
@@ -274,19 +274,19 @@
|
|
|
274
274
|
},
|
|
275
275
|
"typeName": {
|
|
276
276
|
"baseType": {
|
|
277
|
-
"id":
|
|
277
|
+
"id": 19770,
|
|
278
278
|
"name": "address",
|
|
279
279
|
"nodeType": "ElementaryTypeName",
|
|
280
|
-
"src": "825:7:
|
|
280
|
+
"src": "825:7:64",
|
|
281
281
|
"stateMutability": "nonpayable",
|
|
282
282
|
"typeDescriptions": {
|
|
283
283
|
"typeIdentifier": "t_address",
|
|
284
284
|
"typeString": "address"
|
|
285
285
|
}
|
|
286
286
|
},
|
|
287
|
-
"id":
|
|
287
|
+
"id": 19771,
|
|
288
288
|
"nodeType": "ArrayTypeName",
|
|
289
|
-
"src": "825:9:
|
|
289
|
+
"src": "825:9:64",
|
|
290
290
|
"typeDescriptions": {
|
|
291
291
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
|
292
292
|
"typeString": "address[]"
|
|
@@ -296,13 +296,13 @@
|
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
298
|
"constant": false,
|
|
299
|
-
"id":
|
|
299
|
+
"id": 19776,
|
|
300
300
|
"mutability": "mutable",
|
|
301
301
|
"name": "defaultOperators",
|
|
302
|
-
"nameLocation": "891:16:
|
|
302
|
+
"nameLocation": "891:16:64",
|
|
303
303
|
"nodeType": "VariableDeclaration",
|
|
304
|
-
"scope":
|
|
305
|
-
"src": "866:41:
|
|
304
|
+
"scope": 19789,
|
|
305
|
+
"src": "866:41:64",
|
|
306
306
|
"stateVariable": false,
|
|
307
307
|
"storageLocation": "default",
|
|
308
308
|
"typeDescriptions": {
|
|
@@ -310,28 +310,28 @@
|
|
|
310
310
|
"typeString": "mapping(address => bool)"
|
|
311
311
|
},
|
|
312
312
|
"typeName": {
|
|
313
|
-
"id":
|
|
313
|
+
"id": 19775,
|
|
314
314
|
"keyType": {
|
|
315
|
-
"id":
|
|
315
|
+
"id": 19773,
|
|
316
316
|
"name": "address",
|
|
317
317
|
"nodeType": "ElementaryTypeName",
|
|
318
|
-
"src": "874:7:
|
|
318
|
+
"src": "874:7:64",
|
|
319
319
|
"typeDescriptions": {
|
|
320
320
|
"typeIdentifier": "t_address",
|
|
321
321
|
"typeString": "address"
|
|
322
322
|
}
|
|
323
323
|
},
|
|
324
324
|
"nodeType": "Mapping",
|
|
325
|
-
"src": "866:24:
|
|
325
|
+
"src": "866:24:64",
|
|
326
326
|
"typeDescriptions": {
|
|
327
327
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
328
328
|
"typeString": "mapping(address => bool)"
|
|
329
329
|
},
|
|
330
330
|
"valueType": {
|
|
331
|
-
"id":
|
|
331
|
+
"id": 19774,
|
|
332
332
|
"name": "bool",
|
|
333
333
|
"nodeType": "ElementaryTypeName",
|
|
334
|
-
"src": "885:4:
|
|
334
|
+
"src": "885:4:64",
|
|
335
335
|
"typeDescriptions": {
|
|
336
336
|
"typeIdentifier": "t_bool",
|
|
337
337
|
"typeString": "bool"
|
|
@@ -342,13 +342,13 @@
|
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
344
|
"constant": false,
|
|
345
|
-
"id":
|
|
345
|
+
"id": 19782,
|
|
346
346
|
"mutability": "mutable",
|
|
347
347
|
"name": "operators",
|
|
348
|
-
"nameLocation": "962:9:
|
|
348
|
+
"nameLocation": "962:9:64",
|
|
349
349
|
"nodeType": "VariableDeclaration",
|
|
350
|
-
"scope":
|
|
351
|
-
"src": "917:54:
|
|
350
|
+
"scope": 19789,
|
|
351
|
+
"src": "917:54:64",
|
|
352
352
|
"stateVariable": false,
|
|
353
353
|
"storageLocation": "default",
|
|
354
354
|
"typeDescriptions": {
|
|
@@ -356,46 +356,46 @@
|
|
|
356
356
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
357
357
|
},
|
|
358
358
|
"typeName": {
|
|
359
|
-
"id":
|
|
359
|
+
"id": 19781,
|
|
360
360
|
"keyType": {
|
|
361
|
-
"id":
|
|
361
|
+
"id": 19777,
|
|
362
362
|
"name": "address",
|
|
363
363
|
"nodeType": "ElementaryTypeName",
|
|
364
|
-
"src": "925:7:
|
|
364
|
+
"src": "925:7:64",
|
|
365
365
|
"typeDescriptions": {
|
|
366
366
|
"typeIdentifier": "t_address",
|
|
367
367
|
"typeString": "address"
|
|
368
368
|
}
|
|
369
369
|
},
|
|
370
370
|
"nodeType": "Mapping",
|
|
371
|
-
"src": "917:44:
|
|
371
|
+
"src": "917:44:64",
|
|
372
372
|
"typeDescriptions": {
|
|
373
373
|
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$",
|
|
374
374
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
375
375
|
},
|
|
376
376
|
"valueType": {
|
|
377
|
-
"id":
|
|
377
|
+
"id": 19780,
|
|
378
378
|
"keyType": {
|
|
379
|
-
"id":
|
|
379
|
+
"id": 19778,
|
|
380
380
|
"name": "address",
|
|
381
381
|
"nodeType": "ElementaryTypeName",
|
|
382
|
-
"src": "944:7:
|
|
382
|
+
"src": "944:7:64",
|
|
383
383
|
"typeDescriptions": {
|
|
384
384
|
"typeIdentifier": "t_address",
|
|
385
385
|
"typeString": "address"
|
|
386
386
|
}
|
|
387
387
|
},
|
|
388
388
|
"nodeType": "Mapping",
|
|
389
|
-
"src": "936:24:
|
|
389
|
+
"src": "936:24:64",
|
|
390
390
|
"typeDescriptions": {
|
|
391
391
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
392
392
|
"typeString": "mapping(address => bool)"
|
|
393
393
|
},
|
|
394
394
|
"valueType": {
|
|
395
|
-
"id":
|
|
395
|
+
"id": 19779,
|
|
396
396
|
"name": "bool",
|
|
397
397
|
"nodeType": "ElementaryTypeName",
|
|
398
|
-
"src": "955:4:
|
|
398
|
+
"src": "955:4:64",
|
|
399
399
|
"typeDescriptions": {
|
|
400
400
|
"typeIdentifier": "t_bool",
|
|
401
401
|
"typeString": "bool"
|
|
@@ -407,13 +407,13 @@
|
|
|
407
407
|
},
|
|
408
408
|
{
|
|
409
409
|
"constant": false,
|
|
410
|
-
"id":
|
|
410
|
+
"id": 19788,
|
|
411
411
|
"mutability": "mutable",
|
|
412
412
|
"name": "revokedDefaultOperators",
|
|
413
|
-
"nameLocation": "1026:23:
|
|
413
|
+
"nameLocation": "1026:23:64",
|
|
414
414
|
"nodeType": "VariableDeclaration",
|
|
415
|
-
"scope":
|
|
416
|
-
"src": "981:68:
|
|
415
|
+
"scope": 19789,
|
|
416
|
+
"src": "981:68:64",
|
|
417
417
|
"stateVariable": false,
|
|
418
418
|
"storageLocation": "default",
|
|
419
419
|
"typeDescriptions": {
|
|
@@ -421,46 +421,46 @@
|
|
|
421
421
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
422
422
|
},
|
|
423
423
|
"typeName": {
|
|
424
|
-
"id":
|
|
424
|
+
"id": 19787,
|
|
425
425
|
"keyType": {
|
|
426
|
-
"id":
|
|
426
|
+
"id": 19783,
|
|
427
427
|
"name": "address",
|
|
428
428
|
"nodeType": "ElementaryTypeName",
|
|
429
|
-
"src": "989:7:
|
|
429
|
+
"src": "989:7:64",
|
|
430
430
|
"typeDescriptions": {
|
|
431
431
|
"typeIdentifier": "t_address",
|
|
432
432
|
"typeString": "address"
|
|
433
433
|
}
|
|
434
434
|
},
|
|
435
435
|
"nodeType": "Mapping",
|
|
436
|
-
"src": "981:44:
|
|
436
|
+
"src": "981:44:64",
|
|
437
437
|
"typeDescriptions": {
|
|
438
438
|
"typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$",
|
|
439
439
|
"typeString": "mapping(address => mapping(address => bool))"
|
|
440
440
|
},
|
|
441
441
|
"valueType": {
|
|
442
|
-
"id":
|
|
442
|
+
"id": 19786,
|
|
443
443
|
"keyType": {
|
|
444
|
-
"id":
|
|
444
|
+
"id": 19784,
|
|
445
445
|
"name": "address",
|
|
446
446
|
"nodeType": "ElementaryTypeName",
|
|
447
|
-
"src": "1008:7:
|
|
447
|
+
"src": "1008:7:64",
|
|
448
448
|
"typeDescriptions": {
|
|
449
449
|
"typeIdentifier": "t_address",
|
|
450
450
|
"typeString": "address"
|
|
451
451
|
}
|
|
452
452
|
},
|
|
453
453
|
"nodeType": "Mapping",
|
|
454
|
-
"src": "1000:24:
|
|
454
|
+
"src": "1000:24:64",
|
|
455
455
|
"typeDescriptions": {
|
|
456
456
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
457
457
|
"typeString": "mapping(address => bool)"
|
|
458
458
|
},
|
|
459
459
|
"valueType": {
|
|
460
|
-
"id":
|
|
460
|
+
"id": 19785,
|
|
461
461
|
"name": "bool",
|
|
462
462
|
"nodeType": "ElementaryTypeName",
|
|
463
|
-
"src": "1019:4:
|
|
463
|
+
"src": "1019:4:64",
|
|
464
464
|
"typeDescriptions": {
|
|
465
465
|
"typeIdentifier": "t_bool",
|
|
466
466
|
"typeString": "bool"
|
|
@@ -472,28 +472,28 @@
|
|
|
472
472
|
}
|
|
473
473
|
],
|
|
474
474
|
"name": "Operators",
|
|
475
|
-
"nameLocation": "805:9:
|
|
475
|
+
"nameLocation": "805:9:64",
|
|
476
476
|
"nodeType": "StructDefinition",
|
|
477
|
-
"scope":
|
|
478
|
-
"src": "798:258:
|
|
477
|
+
"scope": 20007,
|
|
478
|
+
"src": "798:258:64",
|
|
479
479
|
"visibility": "public"
|
|
480
480
|
},
|
|
481
481
|
{
|
|
482
482
|
"body": {
|
|
483
|
-
"id":
|
|
483
|
+
"id": 19820,
|
|
484
484
|
"nodeType": "Block",
|
|
485
|
-
"src": "1104:204:
|
|
485
|
+
"src": "1104:204:64",
|
|
486
486
|
"statements": [
|
|
487
487
|
{
|
|
488
488
|
"expression": {
|
|
489
489
|
"arguments": [
|
|
490
490
|
{
|
|
491
|
-
"id":
|
|
491
|
+
"id": 19797,
|
|
492
492
|
"name": "token",
|
|
493
493
|
"nodeType": "Identifier",
|
|
494
494
|
"overloadedDeclarations": [],
|
|
495
|
-
"referencedDeclaration":
|
|
496
|
-
"src": "1156:5:
|
|
495
|
+
"referencedDeclaration": 19791,
|
|
496
|
+
"src": "1156:5:64",
|
|
497
497
|
"typeDescriptions": {
|
|
498
498
|
"typeIdentifier": "t_address",
|
|
499
499
|
"typeString": "address"
|
|
@@ -503,14 +503,14 @@
|
|
|
503
503
|
"arguments": [
|
|
504
504
|
{
|
|
505
505
|
"hexValue": "455243373737546f6b656e",
|
|
506
|
-
"id":
|
|
506
|
+
"id": 19799,
|
|
507
507
|
"isConstant": false,
|
|
508
508
|
"isLValue": false,
|
|
509
509
|
"isPure": true,
|
|
510
510
|
"kind": "string",
|
|
511
511
|
"lValueRequested": false,
|
|
512
512
|
"nodeType": "Literal",
|
|
513
|
-
"src": "1173:13:
|
|
513
|
+
"src": "1173:13:64",
|
|
514
514
|
"typeDescriptions": {
|
|
515
515
|
"typeIdentifier": "t_stringliteral_ac7fbab5f54a3ca8194167523c6753bfeb96a445279294b6125b68cce2177054",
|
|
516
516
|
"typeString": "literal_string \"ERC777Token\""
|
|
@@ -525,18 +525,18 @@
|
|
|
525
525
|
"typeString": "literal_string \"ERC777Token\""
|
|
526
526
|
}
|
|
527
527
|
],
|
|
528
|
-
"id":
|
|
528
|
+
"id": 19798,
|
|
529
529
|
"name": "keccak256",
|
|
530
530
|
"nodeType": "Identifier",
|
|
531
531
|
"overloadedDeclarations": [],
|
|
532
532
|
"referencedDeclaration": 4294967288,
|
|
533
|
-
"src": "1163:9:
|
|
533
|
+
"src": "1163:9:64",
|
|
534
534
|
"typeDescriptions": {
|
|
535
535
|
"typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",
|
|
536
536
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
537
537
|
}
|
|
538
538
|
},
|
|
539
|
-
"id":
|
|
539
|
+
"id": 19800,
|
|
540
540
|
"isConstant": false,
|
|
541
541
|
"isLValue": false,
|
|
542
542
|
"isPure": true,
|
|
@@ -544,7 +544,7 @@
|
|
|
544
544
|
"lValueRequested": false,
|
|
545
545
|
"names": [],
|
|
546
546
|
"nodeType": "FunctionCall",
|
|
547
|
-
"src": "1163:24:
|
|
547
|
+
"src": "1163:24:64",
|
|
548
548
|
"tryCall": false,
|
|
549
549
|
"typeDescriptions": {
|
|
550
550
|
"typeIdentifier": "t_bytes32",
|
|
@@ -554,14 +554,14 @@
|
|
|
554
554
|
{
|
|
555
555
|
"arguments": [
|
|
556
556
|
{
|
|
557
|
-
"id":
|
|
557
|
+
"id": 19803,
|
|
558
558
|
"name": "this",
|
|
559
559
|
"nodeType": "Identifier",
|
|
560
560
|
"overloadedDeclarations": [],
|
|
561
561
|
"referencedDeclaration": 4294967268,
|
|
562
|
-
"src": "1197:4:
|
|
562
|
+
"src": "1197:4:64",
|
|
563
563
|
"typeDescriptions": {
|
|
564
|
-
"typeIdentifier": "t_contract$_ERC777Helper_$
|
|
564
|
+
"typeIdentifier": "t_contract$_ERC777Helper_$20007",
|
|
565
565
|
"typeString": "library ERC777Helper"
|
|
566
566
|
}
|
|
567
567
|
}
|
|
@@ -569,30 +569,30 @@
|
|
|
569
569
|
"expression": {
|
|
570
570
|
"argumentTypes": [
|
|
571
571
|
{
|
|
572
|
-
"typeIdentifier": "t_contract$_ERC777Helper_$
|
|
572
|
+
"typeIdentifier": "t_contract$_ERC777Helper_$20007",
|
|
573
573
|
"typeString": "library ERC777Helper"
|
|
574
574
|
}
|
|
575
575
|
],
|
|
576
|
-
"id":
|
|
576
|
+
"id": 19802,
|
|
577
577
|
"isConstant": false,
|
|
578
578
|
"isLValue": false,
|
|
579
579
|
"isPure": true,
|
|
580
580
|
"lValueRequested": false,
|
|
581
581
|
"nodeType": "ElementaryTypeNameExpression",
|
|
582
|
-
"src": "1189:7:
|
|
582
|
+
"src": "1189:7:64",
|
|
583
583
|
"typeDescriptions": {
|
|
584
584
|
"typeIdentifier": "t_type$_t_address_$",
|
|
585
585
|
"typeString": "type(address)"
|
|
586
586
|
},
|
|
587
587
|
"typeName": {
|
|
588
|
-
"id":
|
|
588
|
+
"id": 19801,
|
|
589
589
|
"name": "address",
|
|
590
590
|
"nodeType": "ElementaryTypeName",
|
|
591
|
-
"src": "1189:7:
|
|
591
|
+
"src": "1189:7:64",
|
|
592
592
|
"typeDescriptions": {}
|
|
593
593
|
}
|
|
594
594
|
},
|
|
595
|
-
"id":
|
|
595
|
+
"id": 19804,
|
|
596
596
|
"isConstant": false,
|
|
597
597
|
"isLValue": false,
|
|
598
598
|
"isPure": false,
|
|
@@ -600,7 +600,7 @@
|
|
|
600
600
|
"lValueRequested": false,
|
|
601
601
|
"names": [],
|
|
602
602
|
"nodeType": "FunctionCall",
|
|
603
|
-
"src": "1189:13:
|
|
603
|
+
"src": "1189:13:64",
|
|
604
604
|
"tryCall": false,
|
|
605
605
|
"typeDescriptions": {
|
|
606
606
|
"typeIdentifier": "t_address",
|
|
@@ -624,18 +624,18 @@
|
|
|
624
624
|
}
|
|
625
625
|
],
|
|
626
626
|
"expression": {
|
|
627
|
-
"id":
|
|
627
|
+
"id": 19794,
|
|
628
628
|
"name": "_ERC1820_REGISTRY",
|
|
629
629
|
"nodeType": "Identifier",
|
|
630
630
|
"overloadedDeclarations": [],
|
|
631
|
-
"referencedDeclaration":
|
|
632
|
-
"src": "1114:17:
|
|
631
|
+
"referencedDeclaration": 19763,
|
|
632
|
+
"src": "1114:17:64",
|
|
633
633
|
"typeDescriptions": {
|
|
634
634
|
"typeIdentifier": "t_contract$_IERC1820Registry_$4042",
|
|
635
635
|
"typeString": "contract IERC1820Registry"
|
|
636
636
|
}
|
|
637
637
|
},
|
|
638
|
-
"id":
|
|
638
|
+
"id": 19796,
|
|
639
639
|
"isConstant": false,
|
|
640
640
|
"isLValue": false,
|
|
641
641
|
"isPure": false,
|
|
@@ -643,13 +643,13 @@
|
|
|
643
643
|
"memberName": "setInterfaceImplementer",
|
|
644
644
|
"nodeType": "MemberAccess",
|
|
645
645
|
"referencedDeclaration": 3981,
|
|
646
|
-
"src": "1114:41:
|
|
646
|
+
"src": "1114:41:64",
|
|
647
647
|
"typeDescriptions": {
|
|
648
648
|
"typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_address_$returns$__$",
|
|
649
649
|
"typeString": "function (address,bytes32,address) external"
|
|
650
650
|
}
|
|
651
651
|
},
|
|
652
|
-
"id":
|
|
652
|
+
"id": 19805,
|
|
653
653
|
"isConstant": false,
|
|
654
654
|
"isLValue": false,
|
|
655
655
|
"isPure": false,
|
|
@@ -657,27 +657,27 @@
|
|
|
657
657
|
"lValueRequested": false,
|
|
658
658
|
"names": [],
|
|
659
659
|
"nodeType": "FunctionCall",
|
|
660
|
-
"src": "1114:89:
|
|
660
|
+
"src": "1114:89:64",
|
|
661
661
|
"tryCall": false,
|
|
662
662
|
"typeDescriptions": {
|
|
663
663
|
"typeIdentifier": "t_tuple$__$",
|
|
664
664
|
"typeString": "tuple()"
|
|
665
665
|
}
|
|
666
666
|
},
|
|
667
|
-
"id":
|
|
667
|
+
"id": 19806,
|
|
668
668
|
"nodeType": "ExpressionStatement",
|
|
669
|
-
"src": "1114:89:
|
|
669
|
+
"src": "1114:89:64"
|
|
670
670
|
},
|
|
671
671
|
{
|
|
672
672
|
"expression": {
|
|
673
673
|
"arguments": [
|
|
674
674
|
{
|
|
675
|
-
"id":
|
|
675
|
+
"id": 19810,
|
|
676
676
|
"name": "token",
|
|
677
677
|
"nodeType": "Identifier",
|
|
678
678
|
"overloadedDeclarations": [],
|
|
679
|
-
"referencedDeclaration":
|
|
680
|
-
"src": "1255:5:
|
|
679
|
+
"referencedDeclaration": 19791,
|
|
680
|
+
"src": "1255:5:64",
|
|
681
681
|
"typeDescriptions": {
|
|
682
682
|
"typeIdentifier": "t_address",
|
|
683
683
|
"typeString": "address"
|
|
@@ -687,14 +687,14 @@
|
|
|
687
687
|
"arguments": [
|
|
688
688
|
{
|
|
689
689
|
"hexValue": "4552433230546f6b656e",
|
|
690
|
-
"id":
|
|
690
|
+
"id": 19812,
|
|
691
691
|
"isConstant": false,
|
|
692
692
|
"isLValue": false,
|
|
693
693
|
"isPure": true,
|
|
694
694
|
"kind": "string",
|
|
695
695
|
"lValueRequested": false,
|
|
696
696
|
"nodeType": "Literal",
|
|
697
|
-
"src": "1272:12:
|
|
697
|
+
"src": "1272:12:64",
|
|
698
698
|
"typeDescriptions": {
|
|
699
699
|
"typeIdentifier": "t_stringliteral_aea199e31a596269b42cdafd93407f14436db6e4cad65417994c2eb37381e05a",
|
|
700
700
|
"typeString": "literal_string \"ERC20Token\""
|
|
@@ -709,18 +709,18 @@
|
|
|
709
709
|
"typeString": "literal_string \"ERC20Token\""
|
|
710
710
|
}
|
|
711
711
|
],
|
|
712
|
-
"id":
|
|
712
|
+
"id": 19811,
|
|
713
713
|
"name": "keccak256",
|
|
714
714
|
"nodeType": "Identifier",
|
|
715
715
|
"overloadedDeclarations": [],
|
|
716
716
|
"referencedDeclaration": 4294967288,
|
|
717
|
-
"src": "1262:9:
|
|
717
|
+
"src": "1262:9:64",
|
|
718
718
|
"typeDescriptions": {
|
|
719
719
|
"typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",
|
|
720
720
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
721
721
|
}
|
|
722
722
|
},
|
|
723
|
-
"id":
|
|
723
|
+
"id": 19813,
|
|
724
724
|
"isConstant": false,
|
|
725
725
|
"isLValue": false,
|
|
726
726
|
"isPure": true,
|
|
@@ -728,7 +728,7 @@
|
|
|
728
728
|
"lValueRequested": false,
|
|
729
729
|
"names": [],
|
|
730
730
|
"nodeType": "FunctionCall",
|
|
731
|
-
"src": "1262:23:
|
|
731
|
+
"src": "1262:23:64",
|
|
732
732
|
"tryCall": false,
|
|
733
733
|
"typeDescriptions": {
|
|
734
734
|
"typeIdentifier": "t_bytes32",
|
|
@@ -738,14 +738,14 @@
|
|
|
738
738
|
{
|
|
739
739
|
"arguments": [
|
|
740
740
|
{
|
|
741
|
-
"id":
|
|
741
|
+
"id": 19816,
|
|
742
742
|
"name": "this",
|
|
743
743
|
"nodeType": "Identifier",
|
|
744
744
|
"overloadedDeclarations": [],
|
|
745
745
|
"referencedDeclaration": 4294967268,
|
|
746
|
-
"src": "1295:4:
|
|
746
|
+
"src": "1295:4:64",
|
|
747
747
|
"typeDescriptions": {
|
|
748
|
-
"typeIdentifier": "t_contract$_ERC777Helper_$
|
|
748
|
+
"typeIdentifier": "t_contract$_ERC777Helper_$20007",
|
|
749
749
|
"typeString": "library ERC777Helper"
|
|
750
750
|
}
|
|
751
751
|
}
|
|
@@ -753,30 +753,30 @@
|
|
|
753
753
|
"expression": {
|
|
754
754
|
"argumentTypes": [
|
|
755
755
|
{
|
|
756
|
-
"typeIdentifier": "t_contract$_ERC777Helper_$
|
|
756
|
+
"typeIdentifier": "t_contract$_ERC777Helper_$20007",
|
|
757
757
|
"typeString": "library ERC777Helper"
|
|
758
758
|
}
|
|
759
759
|
],
|
|
760
|
-
"id":
|
|
760
|
+
"id": 19815,
|
|
761
761
|
"isConstant": false,
|
|
762
762
|
"isLValue": false,
|
|
763
763
|
"isPure": true,
|
|
764
764
|
"lValueRequested": false,
|
|
765
765
|
"nodeType": "ElementaryTypeNameExpression",
|
|
766
|
-
"src": "1287:7:
|
|
766
|
+
"src": "1287:7:64",
|
|
767
767
|
"typeDescriptions": {
|
|
768
768
|
"typeIdentifier": "t_type$_t_address_$",
|
|
769
769
|
"typeString": "type(address)"
|
|
770
770
|
},
|
|
771
771
|
"typeName": {
|
|
772
|
-
"id":
|
|
772
|
+
"id": 19814,
|
|
773
773
|
"name": "address",
|
|
774
774
|
"nodeType": "ElementaryTypeName",
|
|
775
|
-
"src": "1287:7:
|
|
775
|
+
"src": "1287:7:64",
|
|
776
776
|
"typeDescriptions": {}
|
|
777
777
|
}
|
|
778
778
|
},
|
|
779
|
-
"id":
|
|
779
|
+
"id": 19817,
|
|
780
780
|
"isConstant": false,
|
|
781
781
|
"isLValue": false,
|
|
782
782
|
"isPure": false,
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
"lValueRequested": false,
|
|
785
785
|
"names": [],
|
|
786
786
|
"nodeType": "FunctionCall",
|
|
787
|
-
"src": "1287:13:
|
|
787
|
+
"src": "1287:13:64",
|
|
788
788
|
"tryCall": false,
|
|
789
789
|
"typeDescriptions": {
|
|
790
790
|
"typeIdentifier": "t_address",
|
|
@@ -808,18 +808,18 @@
|
|
|
808
808
|
}
|
|
809
809
|
],
|
|
810
810
|
"expression": {
|
|
811
|
-
"id":
|
|
811
|
+
"id": 19807,
|
|
812
812
|
"name": "_ERC1820_REGISTRY",
|
|
813
813
|
"nodeType": "Identifier",
|
|
814
814
|
"overloadedDeclarations": [],
|
|
815
|
-
"referencedDeclaration":
|
|
816
|
-
"src": "1213:17:
|
|
815
|
+
"referencedDeclaration": 19763,
|
|
816
|
+
"src": "1213:17:64",
|
|
817
817
|
"typeDescriptions": {
|
|
818
818
|
"typeIdentifier": "t_contract$_IERC1820Registry_$4042",
|
|
819
819
|
"typeString": "contract IERC1820Registry"
|
|
820
820
|
}
|
|
821
821
|
},
|
|
822
|
-
"id":
|
|
822
|
+
"id": 19809,
|
|
823
823
|
"isConstant": false,
|
|
824
824
|
"isLValue": false,
|
|
825
825
|
"isPure": false,
|
|
@@ -827,13 +827,13 @@
|
|
|
827
827
|
"memberName": "setInterfaceImplementer",
|
|
828
828
|
"nodeType": "MemberAccess",
|
|
829
829
|
"referencedDeclaration": 3981,
|
|
830
|
-
"src": "1213:41:
|
|
830
|
+
"src": "1213:41:64",
|
|
831
831
|
"typeDescriptions": {
|
|
832
832
|
"typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bytes32_$_t_address_$returns$__$",
|
|
833
833
|
"typeString": "function (address,bytes32,address) external"
|
|
834
834
|
}
|
|
835
835
|
},
|
|
836
|
-
"id":
|
|
836
|
+
"id": 19818,
|
|
837
837
|
"isConstant": false,
|
|
838
838
|
"isLValue": false,
|
|
839
839
|
"isPure": false,
|
|
@@ -841,39 +841,39 @@
|
|
|
841
841
|
"lValueRequested": false,
|
|
842
842
|
"names": [],
|
|
843
843
|
"nodeType": "FunctionCall",
|
|
844
|
-
"src": "1213:88:
|
|
844
|
+
"src": "1213:88:64",
|
|
845
845
|
"tryCall": false,
|
|
846
846
|
"typeDescriptions": {
|
|
847
847
|
"typeIdentifier": "t_tuple$__$",
|
|
848
848
|
"typeString": "tuple()"
|
|
849
849
|
}
|
|
850
850
|
},
|
|
851
|
-
"id":
|
|
851
|
+
"id": 19819,
|
|
852
852
|
"nodeType": "ExpressionStatement",
|
|
853
|
-
"src": "1213:88:
|
|
853
|
+
"src": "1213:88:64"
|
|
854
854
|
}
|
|
855
855
|
]
|
|
856
856
|
},
|
|
857
|
-
"id":
|
|
857
|
+
"id": 19821,
|
|
858
858
|
"implemented": true,
|
|
859
859
|
"kind": "function",
|
|
860
860
|
"modifiers": [],
|
|
861
861
|
"name": "register",
|
|
862
|
-
"nameLocation": "1071:8:
|
|
862
|
+
"nameLocation": "1071:8:64",
|
|
863
863
|
"nodeType": "FunctionDefinition",
|
|
864
864
|
"parameters": {
|
|
865
|
-
"id":
|
|
865
|
+
"id": 19792,
|
|
866
866
|
"nodeType": "ParameterList",
|
|
867
867
|
"parameters": [
|
|
868
868
|
{
|
|
869
869
|
"constant": false,
|
|
870
|
-
"id":
|
|
870
|
+
"id": 19791,
|
|
871
871
|
"mutability": "mutable",
|
|
872
872
|
"name": "token",
|
|
873
|
-
"nameLocation": "1088:5:
|
|
873
|
+
"nameLocation": "1088:5:64",
|
|
874
874
|
"nodeType": "VariableDeclaration",
|
|
875
|
-
"scope":
|
|
876
|
-
"src": "1080:13:
|
|
875
|
+
"scope": 19821,
|
|
876
|
+
"src": "1080:13:64",
|
|
877
877
|
"stateVariable": false,
|
|
878
878
|
"storageLocation": "default",
|
|
879
879
|
"typeDescriptions": {
|
|
@@ -881,10 +881,10 @@
|
|
|
881
881
|
"typeString": "address"
|
|
882
882
|
},
|
|
883
883
|
"typeName": {
|
|
884
|
-
"id":
|
|
884
|
+
"id": 19790,
|
|
885
885
|
"name": "address",
|
|
886
886
|
"nodeType": "ElementaryTypeName",
|
|
887
|
-
"src": "1080:7:
|
|
887
|
+
"src": "1080:7:64",
|
|
888
888
|
"stateMutability": "nonpayable",
|
|
889
889
|
"typeDescriptions": {
|
|
890
890
|
"typeIdentifier": "t_address",
|
|
@@ -894,25 +894,25 @@
|
|
|
894
894
|
"visibility": "internal"
|
|
895
895
|
}
|
|
896
896
|
],
|
|
897
|
-
"src": "1079:15:
|
|
897
|
+
"src": "1079:15:64"
|
|
898
898
|
},
|
|
899
899
|
"returnParameters": {
|
|
900
|
-
"id":
|
|
900
|
+
"id": 19793,
|
|
901
901
|
"nodeType": "ParameterList",
|
|
902
902
|
"parameters": [],
|
|
903
|
-
"src": "1104:0:
|
|
903
|
+
"src": "1104:0:64"
|
|
904
904
|
},
|
|
905
|
-
"scope":
|
|
906
|
-
"src": "1062:246:
|
|
905
|
+
"scope": 20007,
|
|
906
|
+
"src": "1062:246:64",
|
|
907
907
|
"stateMutability": "nonpayable",
|
|
908
908
|
"virtual": false,
|
|
909
909
|
"visibility": "internal"
|
|
910
910
|
},
|
|
911
911
|
{
|
|
912
912
|
"body": {
|
|
913
|
-
"id":
|
|
913
|
+
"id": 19858,
|
|
914
914
|
"nodeType": "Block",
|
|
915
|
-
"src": "1429:251:
|
|
915
|
+
"src": "1429:251:64",
|
|
916
916
|
"statements": [
|
|
917
917
|
{
|
|
918
918
|
"expression": {
|
|
@@ -920,7 +920,7 @@
|
|
|
920
920
|
"typeIdentifier": "t_bool",
|
|
921
921
|
"typeString": "bool"
|
|
922
922
|
},
|
|
923
|
-
"id":
|
|
923
|
+
"id": 19856,
|
|
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": 19849,
|
|
934
934
|
"isConstant": false,
|
|
935
935
|
"isLValue": false,
|
|
936
936
|
"isPure": false,
|
|
@@ -940,18 +940,18 @@
|
|
|
940
940
|
"typeIdentifier": "t_address",
|
|
941
941
|
"typeString": "address"
|
|
942
942
|
},
|
|
943
|
-
"id":
|
|
943
|
+
"id": 19835,
|
|
944
944
|
"isConstant": false,
|
|
945
945
|
"isLValue": false,
|
|
946
946
|
"isPure": false,
|
|
947
947
|
"lValueRequested": false,
|
|
948
948
|
"leftExpression": {
|
|
949
|
-
"id":
|
|
949
|
+
"id": 19833,
|
|
950
950
|
"name": "operator",
|
|
951
951
|
"nodeType": "Identifier",
|
|
952
952
|
"overloadedDeclarations": [],
|
|
953
|
-
"referencedDeclaration":
|
|
954
|
-
"src": "1446:8:
|
|
953
|
+
"referencedDeclaration": 19826,
|
|
954
|
+
"src": "1446:8:64",
|
|
955
955
|
"typeDescriptions": {
|
|
956
956
|
"typeIdentifier": "t_address",
|
|
957
957
|
"typeString": "address"
|
|
@@ -960,18 +960,18 @@
|
|
|
960
960
|
"nodeType": "BinaryOperation",
|
|
961
961
|
"operator": "==",
|
|
962
962
|
"rightExpression": {
|
|
963
|
-
"id":
|
|
963
|
+
"id": 19834,
|
|
964
964
|
"name": "tokenHolder",
|
|
965
965
|
"nodeType": "Identifier",
|
|
966
966
|
"overloadedDeclarations": [],
|
|
967
|
-
"referencedDeclaration":
|
|
968
|
-
"src": "1458:11:
|
|
967
|
+
"referencedDeclaration": 19828,
|
|
968
|
+
"src": "1458:11:64",
|
|
969
969
|
"typeDescriptions": {
|
|
970
970
|
"typeIdentifier": "t_address",
|
|
971
971
|
"typeString": "address"
|
|
972
972
|
}
|
|
973
973
|
},
|
|
974
|
-
"src": "1446:23:
|
|
974
|
+
"src": "1446:23:64",
|
|
975
975
|
"typeDescriptions": {
|
|
976
976
|
"typeIdentifier": "t_bool",
|
|
977
977
|
"typeString": "bool"
|
|
@@ -986,7 +986,7 @@
|
|
|
986
986
|
"typeIdentifier": "t_bool",
|
|
987
987
|
"typeString": "bool"
|
|
988
988
|
},
|
|
989
|
-
"id":
|
|
989
|
+
"id": 19847,
|
|
990
990
|
"isConstant": false,
|
|
991
991
|
"isLValue": false,
|
|
992
992
|
"isPure": false,
|
|
@@ -994,39 +994,39 @@
|
|
|
994
994
|
"leftExpression": {
|
|
995
995
|
"baseExpression": {
|
|
996
996
|
"expression": {
|
|
997
|
-
"id":
|
|
997
|
+
"id": 19836,
|
|
998
998
|
"name": "self",
|
|
999
999
|
"nodeType": "Identifier",
|
|
1000
1000
|
"overloadedDeclarations": [],
|
|
1001
|
-
"referencedDeclaration":
|
|
1002
|
-
"src": "1503:4:
|
|
1001
|
+
"referencedDeclaration": 19824,
|
|
1002
|
+
"src": "1503:4:64",
|
|
1003
1003
|
"typeDescriptions": {
|
|
1004
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1004
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
1005
1005
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1006
1006
|
}
|
|
1007
1007
|
},
|
|
1008
|
-
"id":
|
|
1008
|
+
"id": 19837,
|
|
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":
|
|
1016
|
-
"src": "1503:21:
|
|
1015
|
+
"referencedDeclaration": 19776,
|
|
1016
|
+
"src": "1503:21:64",
|
|
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": 19839,
|
|
1023
1023
|
"indexExpression": {
|
|
1024
|
-
"id":
|
|
1024
|
+
"id": 19838,
|
|
1025
1025
|
"name": "operator",
|
|
1026
1026
|
"nodeType": "Identifier",
|
|
1027
1027
|
"overloadedDeclarations": [],
|
|
1028
|
-
"referencedDeclaration":
|
|
1029
|
-
"src": "1525:8:
|
|
1028
|
+
"referencedDeclaration": 19826,
|
|
1029
|
+
"src": "1525:8:64",
|
|
1030
1030
|
"typeDescriptions": {
|
|
1031
1031
|
"typeIdentifier": "t_address",
|
|
1032
1032
|
"typeString": "address"
|
|
@@ -1037,7 +1037,7 @@
|
|
|
1037
1037
|
"isPure": false,
|
|
1038
1038
|
"lValueRequested": false,
|
|
1039
1039
|
"nodeType": "IndexAccess",
|
|
1040
|
-
"src": "1503:31:
|
|
1040
|
+
"src": "1503:31:64",
|
|
1041
1041
|
"typeDescriptions": {
|
|
1042
1042
|
"typeIdentifier": "t_bool",
|
|
1043
1043
|
"typeString": "bool"
|
|
@@ -1046,7 +1046,7 @@
|
|
|
1046
1046
|
"nodeType": "BinaryOperation",
|
|
1047
1047
|
"operator": "&&",
|
|
1048
1048
|
"rightExpression": {
|
|
1049
|
-
"id":
|
|
1049
|
+
"id": 19846,
|
|
1050
1050
|
"isConstant": false,
|
|
1051
1051
|
"isLValue": false,
|
|
1052
1052
|
"isPure": false,
|
|
@@ -1054,44 +1054,44 @@
|
|
|
1054
1054
|
"nodeType": "UnaryOperation",
|
|
1055
1055
|
"operator": "!",
|
|
1056
1056
|
"prefix": true,
|
|
1057
|
-
"src": "1554:52:
|
|
1057
|
+
"src": "1554:52:64",
|
|
1058
1058
|
"subExpression": {
|
|
1059
1059
|
"baseExpression": {
|
|
1060
1060
|
"baseExpression": {
|
|
1061
1061
|
"expression": {
|
|
1062
|
-
"id":
|
|
1062
|
+
"id": 19840,
|
|
1063
1063
|
"name": "self",
|
|
1064
1064
|
"nodeType": "Identifier",
|
|
1065
1065
|
"overloadedDeclarations": [],
|
|
1066
|
-
"referencedDeclaration":
|
|
1067
|
-
"src": "1555:4:
|
|
1066
|
+
"referencedDeclaration": 19824,
|
|
1067
|
+
"src": "1555:4:64",
|
|
1068
1068
|
"typeDescriptions": {
|
|
1069
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1069
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
1070
1070
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1071
1071
|
}
|
|
1072
1072
|
},
|
|
1073
|
-
"id":
|
|
1073
|
+
"id": 19841,
|
|
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":
|
|
1081
|
-
"src": "1555:28:
|
|
1080
|
+
"referencedDeclaration": 19788,
|
|
1081
|
+
"src": "1555:28:64",
|
|
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": 19843,
|
|
1088
1088
|
"indexExpression": {
|
|
1089
|
-
"id":
|
|
1089
|
+
"id": 19842,
|
|
1090
1090
|
"name": "tokenHolder",
|
|
1091
1091
|
"nodeType": "Identifier",
|
|
1092
1092
|
"overloadedDeclarations": [],
|
|
1093
|
-
"referencedDeclaration":
|
|
1094
|
-
"src": "1584:11:
|
|
1093
|
+
"referencedDeclaration": 19828,
|
|
1094
|
+
"src": "1584:11:64",
|
|
1095
1095
|
"typeDescriptions": {
|
|
1096
1096
|
"typeIdentifier": "t_address",
|
|
1097
1097
|
"typeString": "address"
|
|
@@ -1102,20 +1102,20 @@
|
|
|
1102
1102
|
"isPure": false,
|
|
1103
1103
|
"lValueRequested": false,
|
|
1104
1104
|
"nodeType": "IndexAccess",
|
|
1105
|
-
"src": "1555:41:
|
|
1105
|
+
"src": "1555:41:64",
|
|
1106
1106
|
"typeDescriptions": {
|
|
1107
1107
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
1108
1108
|
"typeString": "mapping(address => bool)"
|
|
1109
1109
|
}
|
|
1110
1110
|
},
|
|
1111
|
-
"id":
|
|
1111
|
+
"id": 19845,
|
|
1112
1112
|
"indexExpression": {
|
|
1113
|
-
"id":
|
|
1113
|
+
"id": 19844,
|
|
1114
1114
|
"name": "operator",
|
|
1115
1115
|
"nodeType": "Identifier",
|
|
1116
1116
|
"overloadedDeclarations": [],
|
|
1117
|
-
"referencedDeclaration":
|
|
1118
|
-
"src": "1597:8:
|
|
1117
|
+
"referencedDeclaration": 19826,
|
|
1118
|
+
"src": "1597:8:64",
|
|
1119
1119
|
"typeDescriptions": {
|
|
1120
1120
|
"typeIdentifier": "t_address",
|
|
1121
1121
|
"typeString": "address"
|
|
@@ -1126,7 +1126,7 @@
|
|
|
1126
1126
|
"isPure": false,
|
|
1127
1127
|
"lValueRequested": false,
|
|
1128
1128
|
"nodeType": "IndexAccess",
|
|
1129
|
-
"src": "1555:51:
|
|
1129
|
+
"src": "1555:51:64",
|
|
1130
1130
|
"typeDescriptions": {
|
|
1131
1131
|
"typeIdentifier": "t_bool",
|
|
1132
1132
|
"typeString": "bool"
|
|
@@ -1137,27 +1137,27 @@
|
|
|
1137
1137
|
"typeString": "bool"
|
|
1138
1138
|
}
|
|
1139
1139
|
},
|
|
1140
|
-
"src": "1503:103:
|
|
1140
|
+
"src": "1503:103:64",
|
|
1141
1141
|
"typeDescriptions": {
|
|
1142
1142
|
"typeIdentifier": "t_bool",
|
|
1143
1143
|
"typeString": "bool"
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
1146
|
],
|
|
1147
|
-
"id":
|
|
1147
|
+
"id": 19848,
|
|
1148
1148
|
"isConstant": false,
|
|
1149
1149
|
"isInlineArray": false,
|
|
1150
1150
|
"isLValue": false,
|
|
1151
1151
|
"isPure": false,
|
|
1152
1152
|
"lValueRequested": false,
|
|
1153
1153
|
"nodeType": "TupleExpression",
|
|
1154
|
-
"src": "1485:135:
|
|
1154
|
+
"src": "1485:135:64",
|
|
1155
1155
|
"typeDescriptions": {
|
|
1156
1156
|
"typeIdentifier": "t_bool",
|
|
1157
1157
|
"typeString": "bool"
|
|
1158
1158
|
}
|
|
1159
1159
|
},
|
|
1160
|
-
"src": "1446:174:
|
|
1160
|
+
"src": "1446:174:64",
|
|
1161
1161
|
"typeDescriptions": {
|
|
1162
1162
|
"typeIdentifier": "t_bool",
|
|
1163
1163
|
"typeString": "bool"
|
|
@@ -1169,39 +1169,39 @@
|
|
|
1169
1169
|
"baseExpression": {
|
|
1170
1170
|
"baseExpression": {
|
|
1171
1171
|
"expression": {
|
|
1172
|
-
"id":
|
|
1172
|
+
"id": 19850,
|
|
1173
1173
|
"name": "self",
|
|
1174
1174
|
"nodeType": "Identifier",
|
|
1175
1175
|
"overloadedDeclarations": [],
|
|
1176
|
-
"referencedDeclaration":
|
|
1177
|
-
"src": "1636:4:
|
|
1176
|
+
"referencedDeclaration": 19824,
|
|
1177
|
+
"src": "1636:4:64",
|
|
1178
1178
|
"typeDescriptions": {
|
|
1179
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1179
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
1180
1180
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1181
1181
|
}
|
|
1182
1182
|
},
|
|
1183
|
-
"id":
|
|
1183
|
+
"id": 19851,
|
|
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":
|
|
1191
|
-
"src": "1636:14:
|
|
1190
|
+
"referencedDeclaration": 19782,
|
|
1191
|
+
"src": "1636:14:64",
|
|
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": 19853,
|
|
1198
1198
|
"indexExpression": {
|
|
1199
|
-
"id":
|
|
1199
|
+
"id": 19852,
|
|
1200
1200
|
"name": "tokenHolder",
|
|
1201
1201
|
"nodeType": "Identifier",
|
|
1202
1202
|
"overloadedDeclarations": [],
|
|
1203
|
-
"referencedDeclaration":
|
|
1204
|
-
"src": "1651:11:
|
|
1203
|
+
"referencedDeclaration": 19828,
|
|
1204
|
+
"src": "1651:11:64",
|
|
1205
1205
|
"typeDescriptions": {
|
|
1206
1206
|
"typeIdentifier": "t_address",
|
|
1207
1207
|
"typeString": "address"
|
|
@@ -1212,20 +1212,20 @@
|
|
|
1212
1212
|
"isPure": false,
|
|
1213
1213
|
"lValueRequested": false,
|
|
1214
1214
|
"nodeType": "IndexAccess",
|
|
1215
|
-
"src": "1636:27:
|
|
1215
|
+
"src": "1636:27:64",
|
|
1216
1216
|
"typeDescriptions": {
|
|
1217
1217
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
1218
1218
|
"typeString": "mapping(address => bool)"
|
|
1219
1219
|
}
|
|
1220
1220
|
},
|
|
1221
|
-
"id":
|
|
1221
|
+
"id": 19855,
|
|
1222
1222
|
"indexExpression": {
|
|
1223
|
-
"id":
|
|
1223
|
+
"id": 19854,
|
|
1224
1224
|
"name": "operator",
|
|
1225
1225
|
"nodeType": "Identifier",
|
|
1226
1226
|
"overloadedDeclarations": [],
|
|
1227
|
-
"referencedDeclaration":
|
|
1228
|
-
"src": "1664:8:
|
|
1227
|
+
"referencedDeclaration": 19826,
|
|
1228
|
+
"src": "1664:8:64",
|
|
1229
1229
|
"typeDescriptions": {
|
|
1230
1230
|
"typeIdentifier": "t_address",
|
|
1231
1231
|
"typeString": "address"
|
|
@@ -1236,65 +1236,65 @@
|
|
|
1236
1236
|
"isPure": false,
|
|
1237
1237
|
"lValueRequested": false,
|
|
1238
1238
|
"nodeType": "IndexAccess",
|
|
1239
|
-
"src": "1636:37:
|
|
1239
|
+
"src": "1636:37:64",
|
|
1240
1240
|
"typeDescriptions": {
|
|
1241
1241
|
"typeIdentifier": "t_bool",
|
|
1242
1242
|
"typeString": "bool"
|
|
1243
1243
|
}
|
|
1244
1244
|
},
|
|
1245
|
-
"src": "1446:227:
|
|
1245
|
+
"src": "1446:227:64",
|
|
1246
1246
|
"typeDescriptions": {
|
|
1247
1247
|
"typeIdentifier": "t_bool",
|
|
1248
1248
|
"typeString": "bool"
|
|
1249
1249
|
}
|
|
1250
1250
|
},
|
|
1251
|
-
"functionReturnParameters":
|
|
1252
|
-
"id":
|
|
1251
|
+
"functionReturnParameters": 19832,
|
|
1252
|
+
"id": 19857,
|
|
1253
1253
|
"nodeType": "Return",
|
|
1254
|
-
"src": "1439:234:
|
|
1254
|
+
"src": "1439:234:64"
|
|
1255
1255
|
}
|
|
1256
1256
|
]
|
|
1257
1257
|
},
|
|
1258
|
-
"id":
|
|
1258
|
+
"id": 19859,
|
|
1259
1259
|
"implemented": true,
|
|
1260
1260
|
"kind": "function",
|
|
1261
1261
|
"modifiers": [],
|
|
1262
1262
|
"name": "isOperatorFor",
|
|
1263
|
-
"nameLocation": "1323:13:
|
|
1263
|
+
"nameLocation": "1323:13:64",
|
|
1264
1264
|
"nodeType": "FunctionDefinition",
|
|
1265
1265
|
"parameters": {
|
|
1266
|
-
"id":
|
|
1266
|
+
"id": 19829,
|
|
1267
1267
|
"nodeType": "ParameterList",
|
|
1268
1268
|
"parameters": [
|
|
1269
1269
|
{
|
|
1270
1270
|
"constant": false,
|
|
1271
|
-
"id":
|
|
1271
|
+
"id": 19824,
|
|
1272
1272
|
"mutability": "mutable",
|
|
1273
1273
|
"name": "self",
|
|
1274
|
-
"nameLocation": "1355:4:
|
|
1274
|
+
"nameLocation": "1355:4:64",
|
|
1275
1275
|
"nodeType": "VariableDeclaration",
|
|
1276
|
-
"scope":
|
|
1277
|
-
"src": "1337:22:
|
|
1276
|
+
"scope": 19859,
|
|
1277
|
+
"src": "1337:22:64",
|
|
1278
1278
|
"stateVariable": false,
|
|
1279
1279
|
"storageLocation": "storage",
|
|
1280
1280
|
"typeDescriptions": {
|
|
1281
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1281
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
1282
1282
|
"typeString": "struct ERC777Helper.Operators"
|
|
1283
1283
|
},
|
|
1284
1284
|
"typeName": {
|
|
1285
|
-
"id":
|
|
1285
|
+
"id": 19823,
|
|
1286
1286
|
"nodeType": "UserDefinedTypeName",
|
|
1287
1287
|
"pathNode": {
|
|
1288
|
-
"id":
|
|
1288
|
+
"id": 19822,
|
|
1289
1289
|
"name": "Operators",
|
|
1290
1290
|
"nodeType": "IdentifierPath",
|
|
1291
|
-
"referencedDeclaration":
|
|
1292
|
-
"src": "1337:9:
|
|
1291
|
+
"referencedDeclaration": 19789,
|
|
1292
|
+
"src": "1337:9:64"
|
|
1293
1293
|
},
|
|
1294
|
-
"referencedDeclaration":
|
|
1295
|
-
"src": "1337:9:
|
|
1294
|
+
"referencedDeclaration": 19789,
|
|
1295
|
+
"src": "1337:9:64",
|
|
1296
1296
|
"typeDescriptions": {
|
|
1297
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1297
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
1298
1298
|
"typeString": "struct ERC777Helper.Operators"
|
|
1299
1299
|
}
|
|
1300
1300
|
},
|
|
@@ -1302,13 +1302,13 @@
|
|
|
1302
1302
|
},
|
|
1303
1303
|
{
|
|
1304
1304
|
"constant": false,
|
|
1305
|
-
"id":
|
|
1305
|
+
"id": 19826,
|
|
1306
1306
|
"mutability": "mutable",
|
|
1307
1307
|
"name": "operator",
|
|
1308
|
-
"nameLocation": "1369:8:
|
|
1308
|
+
"nameLocation": "1369:8:64",
|
|
1309
1309
|
"nodeType": "VariableDeclaration",
|
|
1310
|
-
"scope":
|
|
1311
|
-
"src": "1361:16:
|
|
1310
|
+
"scope": 19859,
|
|
1311
|
+
"src": "1361:16:64",
|
|
1312
1312
|
"stateVariable": false,
|
|
1313
1313
|
"storageLocation": "default",
|
|
1314
1314
|
"typeDescriptions": {
|
|
@@ -1316,10 +1316,10 @@
|
|
|
1316
1316
|
"typeString": "address"
|
|
1317
1317
|
},
|
|
1318
1318
|
"typeName": {
|
|
1319
|
-
"id":
|
|
1319
|
+
"id": 19825,
|
|
1320
1320
|
"name": "address",
|
|
1321
1321
|
"nodeType": "ElementaryTypeName",
|
|
1322
|
-
"src": "1361:7:
|
|
1322
|
+
"src": "1361:7:64",
|
|
1323
1323
|
"stateMutability": "nonpayable",
|
|
1324
1324
|
"typeDescriptions": {
|
|
1325
1325
|
"typeIdentifier": "t_address",
|
|
@@ -1330,13 +1330,13 @@
|
|
|
1330
1330
|
},
|
|
1331
1331
|
{
|
|
1332
1332
|
"constant": false,
|
|
1333
|
-
"id":
|
|
1333
|
+
"id": 19828,
|
|
1334
1334
|
"mutability": "mutable",
|
|
1335
1335
|
"name": "tokenHolder",
|
|
1336
|
-
"nameLocation": "1387:11:
|
|
1336
|
+
"nameLocation": "1387:11:64",
|
|
1337
1337
|
"nodeType": "VariableDeclaration",
|
|
1338
|
-
"scope":
|
|
1339
|
-
"src": "1379:19:
|
|
1338
|
+
"scope": 19859,
|
|
1339
|
+
"src": "1379:19:64",
|
|
1340
1340
|
"stateVariable": false,
|
|
1341
1341
|
"storageLocation": "default",
|
|
1342
1342
|
"typeDescriptions": {
|
|
@@ -1344,10 +1344,10 @@
|
|
|
1344
1344
|
"typeString": "address"
|
|
1345
1345
|
},
|
|
1346
1346
|
"typeName": {
|
|
1347
|
-
"id":
|
|
1347
|
+
"id": 19827,
|
|
1348
1348
|
"name": "address",
|
|
1349
1349
|
"nodeType": "ElementaryTypeName",
|
|
1350
|
-
"src": "1379:7:
|
|
1350
|
+
"src": "1379:7:64",
|
|
1351
1351
|
"stateMutability": "nonpayable",
|
|
1352
1352
|
"typeDescriptions": {
|
|
1353
1353
|
"typeIdentifier": "t_address",
|
|
@@ -1357,21 +1357,21 @@
|
|
|
1357
1357
|
"visibility": "internal"
|
|
1358
1358
|
}
|
|
1359
1359
|
],
|
|
1360
|
-
"src": "1336:63:
|
|
1360
|
+
"src": "1336:63:64"
|
|
1361
1361
|
},
|
|
1362
1362
|
"returnParameters": {
|
|
1363
|
-
"id":
|
|
1363
|
+
"id": 19832,
|
|
1364
1364
|
"nodeType": "ParameterList",
|
|
1365
1365
|
"parameters": [
|
|
1366
1366
|
{
|
|
1367
1367
|
"constant": false,
|
|
1368
|
-
"id":
|
|
1368
|
+
"id": 19831,
|
|
1369
1369
|
"mutability": "mutable",
|
|
1370
1370
|
"name": "",
|
|
1371
1371
|
"nameLocation": "-1:-1:-1",
|
|
1372
1372
|
"nodeType": "VariableDeclaration",
|
|
1373
|
-
"scope":
|
|
1374
|
-
"src": "1423:4:
|
|
1373
|
+
"scope": 19859,
|
|
1374
|
+
"src": "1423:4:64",
|
|
1375
1375
|
"stateVariable": false,
|
|
1376
1376
|
"storageLocation": "default",
|
|
1377
1377
|
"typeDescriptions": {
|
|
@@ -1379,10 +1379,10 @@
|
|
|
1379
1379
|
"typeString": "bool"
|
|
1380
1380
|
},
|
|
1381
1381
|
"typeName": {
|
|
1382
|
-
"id":
|
|
1382
|
+
"id": 19830,
|
|
1383
1383
|
"name": "bool",
|
|
1384
1384
|
"nodeType": "ElementaryTypeName",
|
|
1385
|
-
"src": "1423:4:
|
|
1385
|
+
"src": "1423:4:64",
|
|
1386
1386
|
"typeDescriptions": {
|
|
1387
1387
|
"typeIdentifier": "t_bool",
|
|
1388
1388
|
"typeString": "bool"
|
|
@@ -1391,19 +1391,19 @@
|
|
|
1391
1391
|
"visibility": "internal"
|
|
1392
1392
|
}
|
|
1393
1393
|
],
|
|
1394
|
-
"src": "1422:6:
|
|
1394
|
+
"src": "1422:6:64"
|
|
1395
1395
|
},
|
|
1396
|
-
"scope":
|
|
1397
|
-
"src": "1314:366:
|
|
1396
|
+
"scope": 20007,
|
|
1397
|
+
"src": "1314:366:64",
|
|
1398
1398
|
"stateMutability": "view",
|
|
1399
1399
|
"virtual": false,
|
|
1400
1400
|
"visibility": "internal"
|
|
1401
1401
|
},
|
|
1402
1402
|
{
|
|
1403
1403
|
"body": {
|
|
1404
|
-
"id":
|
|
1404
|
+
"id": 19901,
|
|
1405
1405
|
"nodeType": "Block",
|
|
1406
|
-
"src": "1780:288:
|
|
1406
|
+
"src": "1780:288:64",
|
|
1407
1407
|
"statements": [
|
|
1408
1408
|
{
|
|
1409
1409
|
"expression": {
|
|
@@ -1413,18 +1413,18 @@
|
|
|
1413
1413
|
"typeIdentifier": "t_address",
|
|
1414
1414
|
"typeString": "address"
|
|
1415
1415
|
},
|
|
1416
|
-
"id":
|
|
1416
|
+
"id": 19872,
|
|
1417
1417
|
"isConstant": false,
|
|
1418
1418
|
"isLValue": false,
|
|
1419
1419
|
"isPure": false,
|
|
1420
1420
|
"lValueRequested": false,
|
|
1421
1421
|
"leftExpression": {
|
|
1422
|
-
"id":
|
|
1422
|
+
"id": 19870,
|
|
1423
1423
|
"name": "holder",
|
|
1424
1424
|
"nodeType": "Identifier",
|
|
1425
1425
|
"overloadedDeclarations": [],
|
|
1426
|
-
"referencedDeclaration":
|
|
1427
|
-
"src": "1798:6:
|
|
1426
|
+
"referencedDeclaration": 19864,
|
|
1427
|
+
"src": "1798:6:64",
|
|
1428
1428
|
"typeDescriptions": {
|
|
1429
1429
|
"typeIdentifier": "t_address",
|
|
1430
1430
|
"typeString": "address"
|
|
@@ -1433,18 +1433,18 @@
|
|
|
1433
1433
|
"nodeType": "BinaryOperation",
|
|
1434
1434
|
"operator": "!=",
|
|
1435
1435
|
"rightExpression": {
|
|
1436
|
-
"id":
|
|
1436
|
+
"id": 19871,
|
|
1437
1437
|
"name": "operator",
|
|
1438
1438
|
"nodeType": "Identifier",
|
|
1439
1439
|
"overloadedDeclarations": [],
|
|
1440
|
-
"referencedDeclaration":
|
|
1441
|
-
"src": "1808:8:
|
|
1440
|
+
"referencedDeclaration": 19866,
|
|
1441
|
+
"src": "1808:8:64",
|
|
1442
1442
|
"typeDescriptions": {
|
|
1443
1443
|
"typeIdentifier": "t_address",
|
|
1444
1444
|
"typeString": "address"
|
|
1445
1445
|
}
|
|
1446
1446
|
},
|
|
1447
|
-
"src": "1798:18:
|
|
1447
|
+
"src": "1798:18:64",
|
|
1448
1448
|
"typeDescriptions": {
|
|
1449
1449
|
"typeIdentifier": "t_bool",
|
|
1450
1450
|
"typeString": "bool"
|
|
@@ -1452,14 +1452,14 @@
|
|
|
1452
1452
|
},
|
|
1453
1453
|
{
|
|
1454
1454
|
"hexValue": "4552433737374f70657261746f72733a20617574686f72697a696e672073656c66206173206f70657261746f72",
|
|
1455
|
-
"id":
|
|
1455
|
+
"id": 19873,
|
|
1456
1456
|
"isConstant": false,
|
|
1457
1457
|
"isLValue": false,
|
|
1458
1458
|
"isPure": true,
|
|
1459
1459
|
"kind": "string",
|
|
1460
1460
|
"lValueRequested": false,
|
|
1461
1461
|
"nodeType": "Literal",
|
|
1462
|
-
"src": "1818:47:
|
|
1462
|
+
"src": "1818:47:64",
|
|
1463
1463
|
"typeDescriptions": {
|
|
1464
1464
|
"typeIdentifier": "t_stringliteral_5d4c05756585a41c5de4cdb02798324b2b07e77eae3fccbef7d8b17744695773",
|
|
1465
1465
|
"typeString": "literal_string \"ERC777Operators: authorizing self as operator\""
|
|
@@ -1478,7 +1478,7 @@
|
|
|
1478
1478
|
"typeString": "literal_string \"ERC777Operators: authorizing self as operator\""
|
|
1479
1479
|
}
|
|
1480
1480
|
],
|
|
1481
|
-
"id":
|
|
1481
|
+
"id": 19869,
|
|
1482
1482
|
"name": "require",
|
|
1483
1483
|
"nodeType": "Identifier",
|
|
1484
1484
|
"overloadedDeclarations": [
|
|
@@ -1486,13 +1486,13 @@
|
|
|
1486
1486
|
4294967278
|
|
1487
1487
|
],
|
|
1488
1488
|
"referencedDeclaration": 4294967278,
|
|
1489
|
-
"src": "1790:7:
|
|
1489
|
+
"src": "1790:7:64",
|
|
1490
1490
|
"typeDescriptions": {
|
|
1491
1491
|
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
1492
1492
|
"typeString": "function (bool,string memory) pure"
|
|
1493
1493
|
}
|
|
1494
1494
|
},
|
|
1495
|
-
"id":
|
|
1495
|
+
"id": 19874,
|
|
1496
1496
|
"isConstant": false,
|
|
1497
1497
|
"isLValue": false,
|
|
1498
1498
|
"isPure": false,
|
|
@@ -1500,54 +1500,54 @@
|
|
|
1500
1500
|
"lValueRequested": false,
|
|
1501
1501
|
"names": [],
|
|
1502
1502
|
"nodeType": "FunctionCall",
|
|
1503
|
-
"src": "1790:76:
|
|
1503
|
+
"src": "1790:76:64",
|
|
1504
1504
|
"tryCall": false,
|
|
1505
1505
|
"typeDescriptions": {
|
|
1506
1506
|
"typeIdentifier": "t_tuple$__$",
|
|
1507
1507
|
"typeString": "tuple()"
|
|
1508
1508
|
}
|
|
1509
1509
|
},
|
|
1510
|
-
"id":
|
|
1510
|
+
"id": 19875,
|
|
1511
1511
|
"nodeType": "ExpressionStatement",
|
|
1512
|
-
"src": "1790:76:
|
|
1512
|
+
"src": "1790:76:64"
|
|
1513
1513
|
},
|
|
1514
1514
|
{
|
|
1515
1515
|
"condition": {
|
|
1516
1516
|
"baseExpression": {
|
|
1517
1517
|
"expression": {
|
|
1518
|
-
"id":
|
|
1518
|
+
"id": 19876,
|
|
1519
1519
|
"name": "self",
|
|
1520
1520
|
"nodeType": "Identifier",
|
|
1521
1521
|
"overloadedDeclarations": [],
|
|
1522
|
-
"referencedDeclaration":
|
|
1523
|
-
"src": "1881:4:
|
|
1522
|
+
"referencedDeclaration": 19862,
|
|
1523
|
+
"src": "1881:4:64",
|
|
1524
1524
|
"typeDescriptions": {
|
|
1525
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1525
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
1526
1526
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1527
1527
|
}
|
|
1528
1528
|
},
|
|
1529
|
-
"id":
|
|
1529
|
+
"id": 19877,
|
|
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":
|
|
1537
|
-
"src": "1881:21:
|
|
1536
|
+
"referencedDeclaration": 19776,
|
|
1537
|
+
"src": "1881:21:64",
|
|
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": 19879,
|
|
1544
1544
|
"indexExpression": {
|
|
1545
|
-
"id":
|
|
1545
|
+
"id": 19878,
|
|
1546
1546
|
"name": "operator",
|
|
1547
1547
|
"nodeType": "Identifier",
|
|
1548
1548
|
"overloadedDeclarations": [],
|
|
1549
|
-
"referencedDeclaration":
|
|
1550
|
-
"src": "1903:8:
|
|
1549
|
+
"referencedDeclaration": 19866,
|
|
1550
|
+
"src": "1903:8:64",
|
|
1551
1551
|
"typeDescriptions": {
|
|
1552
1552
|
"typeIdentifier": "t_address",
|
|
1553
1553
|
"typeString": "address"
|
|
@@ -1558,20 +1558,20 @@
|
|
|
1558
1558
|
"isPure": false,
|
|
1559
1559
|
"lValueRequested": false,
|
|
1560
1560
|
"nodeType": "IndexAccess",
|
|
1561
|
-
"src": "1881:31:
|
|
1561
|
+
"src": "1881:31:64",
|
|
1562
1562
|
"typeDescriptions": {
|
|
1563
1563
|
"typeIdentifier": "t_bool",
|
|
1564
1564
|
"typeString": "bool"
|
|
1565
1565
|
}
|
|
1566
1566
|
},
|
|
1567
1567
|
"falseBody": {
|
|
1568
|
-
"id":
|
|
1568
|
+
"id": 19899,
|
|
1569
1569
|
"nodeType": "Block",
|
|
1570
|
-
"src": "1998:64:
|
|
1570
|
+
"src": "1998:64:64",
|
|
1571
1571
|
"statements": [
|
|
1572
1572
|
{
|
|
1573
1573
|
"expression": {
|
|
1574
|
-
"id":
|
|
1574
|
+
"id": 19897,
|
|
1575
1575
|
"isConstant": false,
|
|
1576
1576
|
"isLValue": false,
|
|
1577
1577
|
"isPure": false,
|
|
@@ -1580,39 +1580,39 @@
|
|
|
1580
1580
|
"baseExpression": {
|
|
1581
1581
|
"baseExpression": {
|
|
1582
1582
|
"expression": {
|
|
1583
|
-
"id":
|
|
1583
|
+
"id": 19889,
|
|
1584
1584
|
"name": "self",
|
|
1585
1585
|
"nodeType": "Identifier",
|
|
1586
1586
|
"overloadedDeclarations": [],
|
|
1587
|
-
"referencedDeclaration":
|
|
1588
|
-
"src": "2012:4:
|
|
1587
|
+
"referencedDeclaration": 19862,
|
|
1588
|
+
"src": "2012:4:64",
|
|
1589
1589
|
"typeDescriptions": {
|
|
1590
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1590
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
1591
1591
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1592
1592
|
}
|
|
1593
1593
|
},
|
|
1594
|
-
"id":
|
|
1594
|
+
"id": 19893,
|
|
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":
|
|
1602
|
-
"src": "2012:14:
|
|
1601
|
+
"referencedDeclaration": 19782,
|
|
1602
|
+
"src": "2012:14:64",
|
|
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": 19894,
|
|
1609
1609
|
"indexExpression": {
|
|
1610
|
-
"id":
|
|
1610
|
+
"id": 19891,
|
|
1611
1611
|
"name": "holder",
|
|
1612
1612
|
"nodeType": "Identifier",
|
|
1613
1613
|
"overloadedDeclarations": [],
|
|
1614
|
-
"referencedDeclaration":
|
|
1615
|
-
"src": "2027:6:
|
|
1614
|
+
"referencedDeclaration": 19864,
|
|
1615
|
+
"src": "2027:6:64",
|
|
1616
1616
|
"typeDescriptions": {
|
|
1617
1617
|
"typeIdentifier": "t_address",
|
|
1618
1618
|
"typeString": "address"
|
|
@@ -1623,20 +1623,20 @@
|
|
|
1623
1623
|
"isPure": false,
|
|
1624
1624
|
"lValueRequested": false,
|
|
1625
1625
|
"nodeType": "IndexAccess",
|
|
1626
|
-
"src": "2012:22:
|
|
1626
|
+
"src": "2012:22:64",
|
|
1627
1627
|
"typeDescriptions": {
|
|
1628
1628
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
1629
1629
|
"typeString": "mapping(address => bool)"
|
|
1630
1630
|
}
|
|
1631
1631
|
},
|
|
1632
|
-
"id":
|
|
1632
|
+
"id": 19895,
|
|
1633
1633
|
"indexExpression": {
|
|
1634
|
-
"id":
|
|
1634
|
+
"id": 19892,
|
|
1635
1635
|
"name": "operator",
|
|
1636
1636
|
"nodeType": "Identifier",
|
|
1637
1637
|
"overloadedDeclarations": [],
|
|
1638
|
-
"referencedDeclaration":
|
|
1639
|
-
"src": "2035:8:
|
|
1638
|
+
"referencedDeclaration": 19866,
|
|
1639
|
+
"src": "2035:8:64",
|
|
1640
1640
|
"typeDescriptions": {
|
|
1641
1641
|
"typeIdentifier": "t_address",
|
|
1642
1642
|
"typeString": "address"
|
|
@@ -1647,7 +1647,7 @@
|
|
|
1647
1647
|
"isPure": false,
|
|
1648
1648
|
"lValueRequested": true,
|
|
1649
1649
|
"nodeType": "IndexAccess",
|
|
1650
|
-
"src": "2012:32:
|
|
1650
|
+
"src": "2012:32:64",
|
|
1651
1651
|
"typeDescriptions": {
|
|
1652
1652
|
"typeIdentifier": "t_bool",
|
|
1653
1653
|
"typeString": "bool"
|
|
@@ -1657,43 +1657,43 @@
|
|
|
1657
1657
|
"operator": "=",
|
|
1658
1658
|
"rightHandSide": {
|
|
1659
1659
|
"hexValue": "74727565",
|
|
1660
|
-
"id":
|
|
1660
|
+
"id": 19896,
|
|
1661
1661
|
"isConstant": false,
|
|
1662
1662
|
"isLValue": false,
|
|
1663
1663
|
"isPure": true,
|
|
1664
1664
|
"kind": "bool",
|
|
1665
1665
|
"lValueRequested": false,
|
|
1666
1666
|
"nodeType": "Literal",
|
|
1667
|
-
"src": "2047:4:
|
|
1667
|
+
"src": "2047:4:64",
|
|
1668
1668
|
"typeDescriptions": {
|
|
1669
1669
|
"typeIdentifier": "t_bool",
|
|
1670
1670
|
"typeString": "bool"
|
|
1671
1671
|
},
|
|
1672
1672
|
"value": "true"
|
|
1673
1673
|
},
|
|
1674
|
-
"src": "2012:39:
|
|
1674
|
+
"src": "2012:39:64",
|
|
1675
1675
|
"typeDescriptions": {
|
|
1676
1676
|
"typeIdentifier": "t_bool",
|
|
1677
1677
|
"typeString": "bool"
|
|
1678
1678
|
}
|
|
1679
1679
|
},
|
|
1680
|
-
"id":
|
|
1680
|
+
"id": 19898,
|
|
1681
1681
|
"nodeType": "ExpressionStatement",
|
|
1682
|
-
"src": "2012:39:
|
|
1682
|
+
"src": "2012:39:64"
|
|
1683
1683
|
}
|
|
1684
1684
|
]
|
|
1685
1685
|
},
|
|
1686
|
-
"id":
|
|
1686
|
+
"id": 19900,
|
|
1687
1687
|
"nodeType": "IfStatement",
|
|
1688
|
-
"src": "1877:185:
|
|
1688
|
+
"src": "1877:185:64",
|
|
1689
1689
|
"trueBody": {
|
|
1690
|
-
"id":
|
|
1690
|
+
"id": 19888,
|
|
1691
1691
|
"nodeType": "Block",
|
|
1692
|
-
"src": "1914:78:
|
|
1692
|
+
"src": "1914:78:64",
|
|
1693
1693
|
"statements": [
|
|
1694
1694
|
{
|
|
1695
1695
|
"expression": {
|
|
1696
|
-
"id":
|
|
1696
|
+
"id": 19886,
|
|
1697
1697
|
"isConstant": false,
|
|
1698
1698
|
"isLValue": false,
|
|
1699
1699
|
"isPure": false,
|
|
@@ -1701,44 +1701,44 @@
|
|
|
1701
1701
|
"nodeType": "UnaryOperation",
|
|
1702
1702
|
"operator": "delete",
|
|
1703
1703
|
"prefix": true,
|
|
1704
|
-
"src": "1928:53:
|
|
1704
|
+
"src": "1928:53:64",
|
|
1705
1705
|
"subExpression": {
|
|
1706
1706
|
"baseExpression": {
|
|
1707
1707
|
"baseExpression": {
|
|
1708
1708
|
"expression": {
|
|
1709
|
-
"id":
|
|
1709
|
+
"id": 19880,
|
|
1710
1710
|
"name": "self",
|
|
1711
1711
|
"nodeType": "Identifier",
|
|
1712
1712
|
"overloadedDeclarations": [],
|
|
1713
|
-
"referencedDeclaration":
|
|
1714
|
-
"src": "1935:4:
|
|
1713
|
+
"referencedDeclaration": 19862,
|
|
1714
|
+
"src": "1935:4:64",
|
|
1715
1715
|
"typeDescriptions": {
|
|
1716
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1716
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
1717
1717
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
1718
1718
|
}
|
|
1719
1719
|
},
|
|
1720
|
-
"id":
|
|
1720
|
+
"id": 19881,
|
|
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":
|
|
1728
|
-
"src": "1935:28:
|
|
1727
|
+
"referencedDeclaration": 19788,
|
|
1728
|
+
"src": "1935:28:64",
|
|
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": 19883,
|
|
1735
1735
|
"indexExpression": {
|
|
1736
|
-
"id":
|
|
1736
|
+
"id": 19882,
|
|
1737
1737
|
"name": "holder",
|
|
1738
1738
|
"nodeType": "Identifier",
|
|
1739
1739
|
"overloadedDeclarations": [],
|
|
1740
|
-
"referencedDeclaration":
|
|
1741
|
-
"src": "1964:6:
|
|
1740
|
+
"referencedDeclaration": 19864,
|
|
1741
|
+
"src": "1964:6:64",
|
|
1742
1742
|
"typeDescriptions": {
|
|
1743
1743
|
"typeIdentifier": "t_address",
|
|
1744
1744
|
"typeString": "address"
|
|
@@ -1749,20 +1749,20 @@
|
|
|
1749
1749
|
"isPure": false,
|
|
1750
1750
|
"lValueRequested": false,
|
|
1751
1751
|
"nodeType": "IndexAccess",
|
|
1752
|
-
"src": "1935:36:
|
|
1752
|
+
"src": "1935:36:64",
|
|
1753
1753
|
"typeDescriptions": {
|
|
1754
1754
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
1755
1755
|
"typeString": "mapping(address => bool)"
|
|
1756
1756
|
}
|
|
1757
1757
|
},
|
|
1758
|
-
"id":
|
|
1758
|
+
"id": 19885,
|
|
1759
1759
|
"indexExpression": {
|
|
1760
|
-
"id":
|
|
1760
|
+
"id": 19884,
|
|
1761
1761
|
"name": "operator",
|
|
1762
1762
|
"nodeType": "Identifier",
|
|
1763
1763
|
"overloadedDeclarations": [],
|
|
1764
|
-
"referencedDeclaration":
|
|
1765
|
-
"src": "1972:8:
|
|
1764
|
+
"referencedDeclaration": 19866,
|
|
1765
|
+
"src": "1972:8:64",
|
|
1766
1766
|
"typeDescriptions": {
|
|
1767
1767
|
"typeIdentifier": "t_address",
|
|
1768
1768
|
"typeString": "address"
|
|
@@ -1773,7 +1773,7 @@
|
|
|
1773
1773
|
"isPure": false,
|
|
1774
1774
|
"lValueRequested": true,
|
|
1775
1775
|
"nodeType": "IndexAccess",
|
|
1776
|
-
"src": "1935:46:
|
|
1776
|
+
"src": "1935:46:64",
|
|
1777
1777
|
"typeDescriptions": {
|
|
1778
1778
|
"typeIdentifier": "t_bool",
|
|
1779
1779
|
"typeString": "bool"
|
|
@@ -1784,55 +1784,55 @@
|
|
|
1784
1784
|
"typeString": "tuple()"
|
|
1785
1785
|
}
|
|
1786
1786
|
},
|
|
1787
|
-
"id":
|
|
1787
|
+
"id": 19887,
|
|
1788
1788
|
"nodeType": "ExpressionStatement",
|
|
1789
|
-
"src": "1928:53:
|
|
1789
|
+
"src": "1928:53:64"
|
|
1790
1790
|
}
|
|
1791
1791
|
]
|
|
1792
1792
|
}
|
|
1793
1793
|
}
|
|
1794
1794
|
]
|
|
1795
1795
|
},
|
|
1796
|
-
"id":
|
|
1796
|
+
"id": 19902,
|
|
1797
1797
|
"implemented": true,
|
|
1798
1798
|
"kind": "function",
|
|
1799
1799
|
"modifiers": [],
|
|
1800
1800
|
"name": "authorizeOperator",
|
|
1801
|
-
"nameLocation": "1695:17:
|
|
1801
|
+
"nameLocation": "1695:17:64",
|
|
1802
1802
|
"nodeType": "FunctionDefinition",
|
|
1803
1803
|
"parameters": {
|
|
1804
|
-
"id":
|
|
1804
|
+
"id": 19867,
|
|
1805
1805
|
"nodeType": "ParameterList",
|
|
1806
1806
|
"parameters": [
|
|
1807
1807
|
{
|
|
1808
1808
|
"constant": false,
|
|
1809
|
-
"id":
|
|
1809
|
+
"id": 19862,
|
|
1810
1810
|
"mutability": "mutable",
|
|
1811
1811
|
"name": "self",
|
|
1812
|
-
"nameLocation": "1731:4:
|
|
1812
|
+
"nameLocation": "1731:4:64",
|
|
1813
1813
|
"nodeType": "VariableDeclaration",
|
|
1814
|
-
"scope":
|
|
1815
|
-
"src": "1713:22:
|
|
1814
|
+
"scope": 19902,
|
|
1815
|
+
"src": "1713:22:64",
|
|
1816
1816
|
"stateVariable": false,
|
|
1817
1817
|
"storageLocation": "storage",
|
|
1818
1818
|
"typeDescriptions": {
|
|
1819
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1819
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
1820
1820
|
"typeString": "struct ERC777Helper.Operators"
|
|
1821
1821
|
},
|
|
1822
1822
|
"typeName": {
|
|
1823
|
-
"id":
|
|
1823
|
+
"id": 19861,
|
|
1824
1824
|
"nodeType": "UserDefinedTypeName",
|
|
1825
1825
|
"pathNode": {
|
|
1826
|
-
"id":
|
|
1826
|
+
"id": 19860,
|
|
1827
1827
|
"name": "Operators",
|
|
1828
1828
|
"nodeType": "IdentifierPath",
|
|
1829
|
-
"referencedDeclaration":
|
|
1830
|
-
"src": "1713:9:
|
|
1829
|
+
"referencedDeclaration": 19789,
|
|
1830
|
+
"src": "1713:9:64"
|
|
1831
1831
|
},
|
|
1832
|
-
"referencedDeclaration":
|
|
1833
|
-
"src": "1713:9:
|
|
1832
|
+
"referencedDeclaration": 19789,
|
|
1833
|
+
"src": "1713:9:64",
|
|
1834
1834
|
"typeDescriptions": {
|
|
1835
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
1835
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
1836
1836
|
"typeString": "struct ERC777Helper.Operators"
|
|
1837
1837
|
}
|
|
1838
1838
|
},
|
|
@@ -1840,13 +1840,13 @@
|
|
|
1840
1840
|
},
|
|
1841
1841
|
{
|
|
1842
1842
|
"constant": false,
|
|
1843
|
-
"id":
|
|
1843
|
+
"id": 19864,
|
|
1844
1844
|
"mutability": "mutable",
|
|
1845
1845
|
"name": "holder",
|
|
1846
|
-
"nameLocation": "1745:6:
|
|
1846
|
+
"nameLocation": "1745:6:64",
|
|
1847
1847
|
"nodeType": "VariableDeclaration",
|
|
1848
|
-
"scope":
|
|
1849
|
-
"src": "1737:14:
|
|
1848
|
+
"scope": 19902,
|
|
1849
|
+
"src": "1737:14:64",
|
|
1850
1850
|
"stateVariable": false,
|
|
1851
1851
|
"storageLocation": "default",
|
|
1852
1852
|
"typeDescriptions": {
|
|
@@ -1854,10 +1854,10 @@
|
|
|
1854
1854
|
"typeString": "address"
|
|
1855
1855
|
},
|
|
1856
1856
|
"typeName": {
|
|
1857
|
-
"id":
|
|
1857
|
+
"id": 19863,
|
|
1858
1858
|
"name": "address",
|
|
1859
1859
|
"nodeType": "ElementaryTypeName",
|
|
1860
|
-
"src": "1737:7:
|
|
1860
|
+
"src": "1737:7:64",
|
|
1861
1861
|
"stateMutability": "nonpayable",
|
|
1862
1862
|
"typeDescriptions": {
|
|
1863
1863
|
"typeIdentifier": "t_address",
|
|
@@ -1868,13 +1868,13 @@
|
|
|
1868
1868
|
},
|
|
1869
1869
|
{
|
|
1870
1870
|
"constant": false,
|
|
1871
|
-
"id":
|
|
1871
|
+
"id": 19866,
|
|
1872
1872
|
"mutability": "mutable",
|
|
1873
1873
|
"name": "operator",
|
|
1874
|
-
"nameLocation": "1761:8:
|
|
1874
|
+
"nameLocation": "1761:8:64",
|
|
1875
1875
|
"nodeType": "VariableDeclaration",
|
|
1876
|
-
"scope":
|
|
1877
|
-
"src": "1753:16:
|
|
1876
|
+
"scope": 19902,
|
|
1877
|
+
"src": "1753:16:64",
|
|
1878
1878
|
"stateVariable": false,
|
|
1879
1879
|
"storageLocation": "default",
|
|
1880
1880
|
"typeDescriptions": {
|
|
@@ -1882,10 +1882,10 @@
|
|
|
1882
1882
|
"typeString": "address"
|
|
1883
1883
|
},
|
|
1884
1884
|
"typeName": {
|
|
1885
|
-
"id":
|
|
1885
|
+
"id": 19865,
|
|
1886
1886
|
"name": "address",
|
|
1887
1887
|
"nodeType": "ElementaryTypeName",
|
|
1888
|
-
"src": "1753:7:
|
|
1888
|
+
"src": "1753:7:64",
|
|
1889
1889
|
"stateMutability": "nonpayable",
|
|
1890
1890
|
"typeDescriptions": {
|
|
1891
1891
|
"typeIdentifier": "t_address",
|
|
@@ -1895,25 +1895,25 @@
|
|
|
1895
1895
|
"visibility": "internal"
|
|
1896
1896
|
}
|
|
1897
1897
|
],
|
|
1898
|
-
"src": "1712:58:
|
|
1898
|
+
"src": "1712:58:64"
|
|
1899
1899
|
},
|
|
1900
1900
|
"returnParameters": {
|
|
1901
|
-
"id":
|
|
1901
|
+
"id": 19868,
|
|
1902
1902
|
"nodeType": "ParameterList",
|
|
1903
1903
|
"parameters": [],
|
|
1904
|
-
"src": "1780:0:
|
|
1904
|
+
"src": "1780:0:64"
|
|
1905
1905
|
},
|
|
1906
|
-
"scope":
|
|
1907
|
-
"src": "1686:382:
|
|
1906
|
+
"scope": 20007,
|
|
1907
|
+
"src": "1686:382:64",
|
|
1908
1908
|
"stateMutability": "nonpayable",
|
|
1909
1909
|
"virtual": false,
|
|
1910
1910
|
"visibility": "internal"
|
|
1911
1911
|
},
|
|
1912
1912
|
{
|
|
1913
1913
|
"body": {
|
|
1914
|
-
"id":
|
|
1914
|
+
"id": 19945,
|
|
1915
1915
|
"nodeType": "Block",
|
|
1916
|
-
"src": "2165:288:
|
|
1916
|
+
"src": "2165:288:64",
|
|
1917
1917
|
"statements": [
|
|
1918
1918
|
{
|
|
1919
1919
|
"expression": {
|
|
@@ -1923,18 +1923,18 @@
|
|
|
1923
1923
|
"typeIdentifier": "t_address",
|
|
1924
1924
|
"typeString": "address"
|
|
1925
1925
|
},
|
|
1926
|
-
"id":
|
|
1926
|
+
"id": 19916,
|
|
1927
1927
|
"isConstant": false,
|
|
1928
1928
|
"isLValue": false,
|
|
1929
1929
|
"isPure": false,
|
|
1930
1930
|
"lValueRequested": false,
|
|
1931
1931
|
"leftExpression": {
|
|
1932
|
-
"id":
|
|
1932
|
+
"id": 19913,
|
|
1933
1933
|
"name": "operator",
|
|
1934
1934
|
"nodeType": "Identifier",
|
|
1935
1935
|
"overloadedDeclarations": [],
|
|
1936
|
-
"referencedDeclaration":
|
|
1937
|
-
"src": "2183:8:
|
|
1936
|
+
"referencedDeclaration": 19909,
|
|
1937
|
+
"src": "2183:8:64",
|
|
1938
1938
|
"typeDescriptions": {
|
|
1939
1939
|
"typeIdentifier": "t_address",
|
|
1940
1940
|
"typeString": "address"
|
|
@@ -1944,31 +1944,31 @@
|
|
|
1944
1944
|
"operator": "!=",
|
|
1945
1945
|
"rightExpression": {
|
|
1946
1946
|
"expression": {
|
|
1947
|
-
"id":
|
|
1947
|
+
"id": 19914,
|
|
1948
1948
|
"name": "msg",
|
|
1949
1949
|
"nodeType": "Identifier",
|
|
1950
1950
|
"overloadedDeclarations": [],
|
|
1951
1951
|
"referencedDeclaration": 4294967281,
|
|
1952
|
-
"src": "2195:3:
|
|
1952
|
+
"src": "2195:3:64",
|
|
1953
1953
|
"typeDescriptions": {
|
|
1954
1954
|
"typeIdentifier": "t_magic_message",
|
|
1955
1955
|
"typeString": "msg"
|
|
1956
1956
|
}
|
|
1957
1957
|
},
|
|
1958
|
-
"id":
|
|
1958
|
+
"id": 19915,
|
|
1959
1959
|
"isConstant": false,
|
|
1960
1960
|
"isLValue": false,
|
|
1961
1961
|
"isPure": false,
|
|
1962
1962
|
"lValueRequested": false,
|
|
1963
1963
|
"memberName": "sender",
|
|
1964
1964
|
"nodeType": "MemberAccess",
|
|
1965
|
-
"src": "2195:10:
|
|
1965
|
+
"src": "2195:10:64",
|
|
1966
1966
|
"typeDescriptions": {
|
|
1967
1967
|
"typeIdentifier": "t_address",
|
|
1968
1968
|
"typeString": "address"
|
|
1969
1969
|
}
|
|
1970
1970
|
},
|
|
1971
|
-
"src": "2183:22:
|
|
1971
|
+
"src": "2183:22:64",
|
|
1972
1972
|
"typeDescriptions": {
|
|
1973
1973
|
"typeIdentifier": "t_bool",
|
|
1974
1974
|
"typeString": "bool"
|
|
@@ -1976,14 +1976,14 @@
|
|
|
1976
1976
|
},
|
|
1977
1977
|
{
|
|
1978
1978
|
"hexValue": "4552433737374f70657261746f72733a207265766f6b696e672073656c66206173206f70657261746f72",
|
|
1979
|
-
"id":
|
|
1979
|
+
"id": 19917,
|
|
1980
1980
|
"isConstant": false,
|
|
1981
1981
|
"isLValue": false,
|
|
1982
1982
|
"isPure": true,
|
|
1983
1983
|
"kind": "string",
|
|
1984
1984
|
"lValueRequested": false,
|
|
1985
1985
|
"nodeType": "Literal",
|
|
1986
|
-
"src": "2207:44:
|
|
1986
|
+
"src": "2207:44:64",
|
|
1987
1987
|
"typeDescriptions": {
|
|
1988
1988
|
"typeIdentifier": "t_stringliteral_123cf14c65f0c410f0f92f7ec63641dec7325e8e4395c52a2bdbb5956fb306a4",
|
|
1989
1989
|
"typeString": "literal_string \"ERC777Operators: revoking self as operator\""
|
|
@@ -2002,7 +2002,7 @@
|
|
|
2002
2002
|
"typeString": "literal_string \"ERC777Operators: revoking self as operator\""
|
|
2003
2003
|
}
|
|
2004
2004
|
],
|
|
2005
|
-
"id":
|
|
2005
|
+
"id": 19912,
|
|
2006
2006
|
"name": "require",
|
|
2007
2007
|
"nodeType": "Identifier",
|
|
2008
2008
|
"overloadedDeclarations": [
|
|
@@ -2010,13 +2010,13 @@
|
|
|
2010
2010
|
4294967278
|
|
2011
2011
|
],
|
|
2012
2012
|
"referencedDeclaration": 4294967278,
|
|
2013
|
-
"src": "2175:7:
|
|
2013
|
+
"src": "2175:7:64",
|
|
2014
2014
|
"typeDescriptions": {
|
|
2015
2015
|
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
2016
2016
|
"typeString": "function (bool,string memory) pure"
|
|
2017
2017
|
}
|
|
2018
2018
|
},
|
|
2019
|
-
"id":
|
|
2019
|
+
"id": 19918,
|
|
2020
2020
|
"isConstant": false,
|
|
2021
2021
|
"isLValue": false,
|
|
2022
2022
|
"isPure": false,
|
|
@@ -2024,54 +2024,54 @@
|
|
|
2024
2024
|
"lValueRequested": false,
|
|
2025
2025
|
"names": [],
|
|
2026
2026
|
"nodeType": "FunctionCall",
|
|
2027
|
-
"src": "2175:77:
|
|
2027
|
+
"src": "2175:77:64",
|
|
2028
2028
|
"tryCall": false,
|
|
2029
2029
|
"typeDescriptions": {
|
|
2030
2030
|
"typeIdentifier": "t_tuple$__$",
|
|
2031
2031
|
"typeString": "tuple()"
|
|
2032
2032
|
}
|
|
2033
2033
|
},
|
|
2034
|
-
"id":
|
|
2034
|
+
"id": 19919,
|
|
2035
2035
|
"nodeType": "ExpressionStatement",
|
|
2036
|
-
"src": "2175:77:
|
|
2036
|
+
"src": "2175:77:64"
|
|
2037
2037
|
},
|
|
2038
2038
|
{
|
|
2039
2039
|
"condition": {
|
|
2040
2040
|
"baseExpression": {
|
|
2041
2041
|
"expression": {
|
|
2042
|
-
"id":
|
|
2042
|
+
"id": 19920,
|
|
2043
2043
|
"name": "self",
|
|
2044
2044
|
"nodeType": "Identifier",
|
|
2045
2045
|
"overloadedDeclarations": [],
|
|
2046
|
-
"referencedDeclaration":
|
|
2047
|
-
"src": "2266:4:
|
|
2046
|
+
"referencedDeclaration": 19905,
|
|
2047
|
+
"src": "2266:4:64",
|
|
2048
2048
|
"typeDescriptions": {
|
|
2049
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2049
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
2050
2050
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2051
2051
|
}
|
|
2052
2052
|
},
|
|
2053
|
-
"id":
|
|
2053
|
+
"id": 19921,
|
|
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":
|
|
2061
|
-
"src": "2266:21:
|
|
2060
|
+
"referencedDeclaration": 19776,
|
|
2061
|
+
"src": "2266:21:64",
|
|
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": 19923,
|
|
2068
2068
|
"indexExpression": {
|
|
2069
|
-
"id":
|
|
2069
|
+
"id": 19922,
|
|
2070
2070
|
"name": "operator",
|
|
2071
2071
|
"nodeType": "Identifier",
|
|
2072
2072
|
"overloadedDeclarations": [],
|
|
2073
|
-
"referencedDeclaration":
|
|
2074
|
-
"src": "2288:8:
|
|
2073
|
+
"referencedDeclaration": 19909,
|
|
2074
|
+
"src": "2288:8:64",
|
|
2075
2075
|
"typeDescriptions": {
|
|
2076
2076
|
"typeIdentifier": "t_address",
|
|
2077
2077
|
"typeString": "address"
|
|
@@ -2082,20 +2082,20 @@
|
|
|
2082
2082
|
"isPure": false,
|
|
2083
2083
|
"lValueRequested": false,
|
|
2084
2084
|
"nodeType": "IndexAccess",
|
|
2085
|
-
"src": "2266:31:
|
|
2085
|
+
"src": "2266:31:64",
|
|
2086
2086
|
"typeDescriptions": {
|
|
2087
2087
|
"typeIdentifier": "t_bool",
|
|
2088
2088
|
"typeString": "bool"
|
|
2089
2089
|
}
|
|
2090
2090
|
},
|
|
2091
2091
|
"falseBody": {
|
|
2092
|
-
"id":
|
|
2092
|
+
"id": 19943,
|
|
2093
2093
|
"nodeType": "Block",
|
|
2094
|
-
"src": "2383:64:
|
|
2094
|
+
"src": "2383:64:64",
|
|
2095
2095
|
"statements": [
|
|
2096
2096
|
{
|
|
2097
2097
|
"expression": {
|
|
2098
|
-
"id":
|
|
2098
|
+
"id": 19941,
|
|
2099
2099
|
"isConstant": false,
|
|
2100
2100
|
"isLValue": false,
|
|
2101
2101
|
"isPure": false,
|
|
@@ -2103,44 +2103,44 @@
|
|
|
2103
2103
|
"nodeType": "UnaryOperation",
|
|
2104
2104
|
"operator": "delete",
|
|
2105
2105
|
"prefix": true,
|
|
2106
|
-
"src": "2397:39:
|
|
2106
|
+
"src": "2397:39:64",
|
|
2107
2107
|
"subExpression": {
|
|
2108
2108
|
"baseExpression": {
|
|
2109
2109
|
"baseExpression": {
|
|
2110
2110
|
"expression": {
|
|
2111
|
-
"id":
|
|
2111
|
+
"id": 19935,
|
|
2112
2112
|
"name": "self",
|
|
2113
2113
|
"nodeType": "Identifier",
|
|
2114
2114
|
"overloadedDeclarations": [],
|
|
2115
|
-
"referencedDeclaration":
|
|
2116
|
-
"src": "2404:4:
|
|
2115
|
+
"referencedDeclaration": 19905,
|
|
2116
|
+
"src": "2404:4:64",
|
|
2117
2117
|
"typeDescriptions": {
|
|
2118
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2118
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
2119
2119
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2120
2120
|
}
|
|
2121
2121
|
},
|
|
2122
|
-
"id":
|
|
2122
|
+
"id": 19936,
|
|
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":
|
|
2130
|
-
"src": "2404:14:
|
|
2129
|
+
"referencedDeclaration": 19782,
|
|
2130
|
+
"src": "2404:14:64",
|
|
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": 19938,
|
|
2137
2137
|
"indexExpression": {
|
|
2138
|
-
"id":
|
|
2138
|
+
"id": 19937,
|
|
2139
2139
|
"name": "holder",
|
|
2140
2140
|
"nodeType": "Identifier",
|
|
2141
2141
|
"overloadedDeclarations": [],
|
|
2142
|
-
"referencedDeclaration":
|
|
2143
|
-
"src": "2419:6:
|
|
2142
|
+
"referencedDeclaration": 19907,
|
|
2143
|
+
"src": "2419:6:64",
|
|
2144
2144
|
"typeDescriptions": {
|
|
2145
2145
|
"typeIdentifier": "t_address",
|
|
2146
2146
|
"typeString": "address"
|
|
@@ -2151,20 +2151,20 @@
|
|
|
2151
2151
|
"isPure": false,
|
|
2152
2152
|
"lValueRequested": false,
|
|
2153
2153
|
"nodeType": "IndexAccess",
|
|
2154
|
-
"src": "2404:22:
|
|
2154
|
+
"src": "2404:22:64",
|
|
2155
2155
|
"typeDescriptions": {
|
|
2156
2156
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
2157
2157
|
"typeString": "mapping(address => bool)"
|
|
2158
2158
|
}
|
|
2159
2159
|
},
|
|
2160
|
-
"id":
|
|
2160
|
+
"id": 19940,
|
|
2161
2161
|
"indexExpression": {
|
|
2162
|
-
"id":
|
|
2162
|
+
"id": 19939,
|
|
2163
2163
|
"name": "operator",
|
|
2164
2164
|
"nodeType": "Identifier",
|
|
2165
2165
|
"overloadedDeclarations": [],
|
|
2166
|
-
"referencedDeclaration":
|
|
2167
|
-
"src": "2427:8:
|
|
2166
|
+
"referencedDeclaration": 19909,
|
|
2167
|
+
"src": "2427:8:64",
|
|
2168
2168
|
"typeDescriptions": {
|
|
2169
2169
|
"typeIdentifier": "t_address",
|
|
2170
2170
|
"typeString": "address"
|
|
@@ -2175,7 +2175,7 @@
|
|
|
2175
2175
|
"isPure": false,
|
|
2176
2176
|
"lValueRequested": true,
|
|
2177
2177
|
"nodeType": "IndexAccess",
|
|
2178
|
-
"src": "2404:32:
|
|
2178
|
+
"src": "2404:32:64",
|
|
2179
2179
|
"typeDescriptions": {
|
|
2180
2180
|
"typeIdentifier": "t_bool",
|
|
2181
2181
|
"typeString": "bool"
|
|
@@ -2186,23 +2186,23 @@
|
|
|
2186
2186
|
"typeString": "tuple()"
|
|
2187
2187
|
}
|
|
2188
2188
|
},
|
|
2189
|
-
"id":
|
|
2189
|
+
"id": 19942,
|
|
2190
2190
|
"nodeType": "ExpressionStatement",
|
|
2191
|
-
"src": "2397:39:
|
|
2191
|
+
"src": "2397:39:64"
|
|
2192
2192
|
}
|
|
2193
2193
|
]
|
|
2194
2194
|
},
|
|
2195
|
-
"id":
|
|
2195
|
+
"id": 19944,
|
|
2196
2196
|
"nodeType": "IfStatement",
|
|
2197
|
-
"src": "2262:185:
|
|
2197
|
+
"src": "2262:185:64",
|
|
2198
2198
|
"trueBody": {
|
|
2199
|
-
"id":
|
|
2199
|
+
"id": 19934,
|
|
2200
2200
|
"nodeType": "Block",
|
|
2201
|
-
"src": "2299:78:
|
|
2201
|
+
"src": "2299:78:64",
|
|
2202
2202
|
"statements": [
|
|
2203
2203
|
{
|
|
2204
2204
|
"expression": {
|
|
2205
|
-
"id":
|
|
2205
|
+
"id": 19932,
|
|
2206
2206
|
"isConstant": false,
|
|
2207
2207
|
"isLValue": false,
|
|
2208
2208
|
"isPure": false,
|
|
@@ -2211,39 +2211,39 @@
|
|
|
2211
2211
|
"baseExpression": {
|
|
2212
2212
|
"baseExpression": {
|
|
2213
2213
|
"expression": {
|
|
2214
|
-
"id":
|
|
2214
|
+
"id": 19924,
|
|
2215
2215
|
"name": "self",
|
|
2216
2216
|
"nodeType": "Identifier",
|
|
2217
2217
|
"overloadedDeclarations": [],
|
|
2218
|
-
"referencedDeclaration":
|
|
2219
|
-
"src": "2313:4:
|
|
2218
|
+
"referencedDeclaration": 19905,
|
|
2219
|
+
"src": "2313:4:64",
|
|
2220
2220
|
"typeDescriptions": {
|
|
2221
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2221
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
2222
2222
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2223
2223
|
}
|
|
2224
2224
|
},
|
|
2225
|
-
"id":
|
|
2225
|
+
"id": 19928,
|
|
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":
|
|
2233
|
-
"src": "2313:28:
|
|
2232
|
+
"referencedDeclaration": 19788,
|
|
2233
|
+
"src": "2313:28:64",
|
|
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": 19929,
|
|
2240
2240
|
"indexExpression": {
|
|
2241
|
-
"id":
|
|
2241
|
+
"id": 19926,
|
|
2242
2242
|
"name": "holder",
|
|
2243
2243
|
"nodeType": "Identifier",
|
|
2244
2244
|
"overloadedDeclarations": [],
|
|
2245
|
-
"referencedDeclaration":
|
|
2246
|
-
"src": "2342:6:
|
|
2245
|
+
"referencedDeclaration": 19907,
|
|
2246
|
+
"src": "2342:6:64",
|
|
2247
2247
|
"typeDescriptions": {
|
|
2248
2248
|
"typeIdentifier": "t_address",
|
|
2249
2249
|
"typeString": "address"
|
|
@@ -2254,20 +2254,20 @@
|
|
|
2254
2254
|
"isPure": false,
|
|
2255
2255
|
"lValueRequested": false,
|
|
2256
2256
|
"nodeType": "IndexAccess",
|
|
2257
|
-
"src": "2313:36:
|
|
2257
|
+
"src": "2313:36:64",
|
|
2258
2258
|
"typeDescriptions": {
|
|
2259
2259
|
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
|
|
2260
2260
|
"typeString": "mapping(address => bool)"
|
|
2261
2261
|
}
|
|
2262
2262
|
},
|
|
2263
|
-
"id":
|
|
2263
|
+
"id": 19930,
|
|
2264
2264
|
"indexExpression": {
|
|
2265
|
-
"id":
|
|
2265
|
+
"id": 19927,
|
|
2266
2266
|
"name": "operator",
|
|
2267
2267
|
"nodeType": "Identifier",
|
|
2268
2268
|
"overloadedDeclarations": [],
|
|
2269
|
-
"referencedDeclaration":
|
|
2270
|
-
"src": "2350:8:
|
|
2269
|
+
"referencedDeclaration": 19909,
|
|
2270
|
+
"src": "2350:8:64",
|
|
2271
2271
|
"typeDescriptions": {
|
|
2272
2272
|
"typeIdentifier": "t_address",
|
|
2273
2273
|
"typeString": "address"
|
|
@@ -2278,7 +2278,7 @@
|
|
|
2278
2278
|
"isPure": false,
|
|
2279
2279
|
"lValueRequested": true,
|
|
2280
2280
|
"nodeType": "IndexAccess",
|
|
2281
|
-
"src": "2313:46:
|
|
2281
|
+
"src": "2313:46:64",
|
|
2282
2282
|
"typeDescriptions": {
|
|
2283
2283
|
"typeIdentifier": "t_bool",
|
|
2284
2284
|
"typeString": "bool"
|
|
@@ -2288,75 +2288,75 @@
|
|
|
2288
2288
|
"operator": "=",
|
|
2289
2289
|
"rightHandSide": {
|
|
2290
2290
|
"hexValue": "74727565",
|
|
2291
|
-
"id":
|
|
2291
|
+
"id": 19931,
|
|
2292
2292
|
"isConstant": false,
|
|
2293
2293
|
"isLValue": false,
|
|
2294
2294
|
"isPure": true,
|
|
2295
2295
|
"kind": "bool",
|
|
2296
2296
|
"lValueRequested": false,
|
|
2297
2297
|
"nodeType": "Literal",
|
|
2298
|
-
"src": "2362:4:
|
|
2298
|
+
"src": "2362:4:64",
|
|
2299
2299
|
"typeDescriptions": {
|
|
2300
2300
|
"typeIdentifier": "t_bool",
|
|
2301
2301
|
"typeString": "bool"
|
|
2302
2302
|
},
|
|
2303
2303
|
"value": "true"
|
|
2304
2304
|
},
|
|
2305
|
-
"src": "2313:53:
|
|
2305
|
+
"src": "2313:53:64",
|
|
2306
2306
|
"typeDescriptions": {
|
|
2307
2307
|
"typeIdentifier": "t_bool",
|
|
2308
2308
|
"typeString": "bool"
|
|
2309
2309
|
}
|
|
2310
2310
|
},
|
|
2311
|
-
"id":
|
|
2311
|
+
"id": 19933,
|
|
2312
2312
|
"nodeType": "ExpressionStatement",
|
|
2313
|
-
"src": "2313:53:
|
|
2313
|
+
"src": "2313:53:64"
|
|
2314
2314
|
}
|
|
2315
2315
|
]
|
|
2316
2316
|
}
|
|
2317
2317
|
}
|
|
2318
2318
|
]
|
|
2319
2319
|
},
|
|
2320
|
-
"id":
|
|
2320
|
+
"id": 19946,
|
|
2321
2321
|
"implemented": true,
|
|
2322
2322
|
"kind": "function",
|
|
2323
2323
|
"modifiers": [],
|
|
2324
2324
|
"name": "revokeOperator",
|
|
2325
|
-
"nameLocation": "2083:14:
|
|
2325
|
+
"nameLocation": "2083:14:64",
|
|
2326
2326
|
"nodeType": "FunctionDefinition",
|
|
2327
2327
|
"parameters": {
|
|
2328
|
-
"id":
|
|
2328
|
+
"id": 19910,
|
|
2329
2329
|
"nodeType": "ParameterList",
|
|
2330
2330
|
"parameters": [
|
|
2331
2331
|
{
|
|
2332
2332
|
"constant": false,
|
|
2333
|
-
"id":
|
|
2333
|
+
"id": 19905,
|
|
2334
2334
|
"mutability": "mutable",
|
|
2335
2335
|
"name": "self",
|
|
2336
|
-
"nameLocation": "2116:4:
|
|
2336
|
+
"nameLocation": "2116:4:64",
|
|
2337
2337
|
"nodeType": "VariableDeclaration",
|
|
2338
|
-
"scope":
|
|
2339
|
-
"src": "2098:22:
|
|
2338
|
+
"scope": 19946,
|
|
2339
|
+
"src": "2098:22:64",
|
|
2340
2340
|
"stateVariable": false,
|
|
2341
2341
|
"storageLocation": "storage",
|
|
2342
2342
|
"typeDescriptions": {
|
|
2343
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2343
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
2344
2344
|
"typeString": "struct ERC777Helper.Operators"
|
|
2345
2345
|
},
|
|
2346
2346
|
"typeName": {
|
|
2347
|
-
"id":
|
|
2347
|
+
"id": 19904,
|
|
2348
2348
|
"nodeType": "UserDefinedTypeName",
|
|
2349
2349
|
"pathNode": {
|
|
2350
|
-
"id":
|
|
2350
|
+
"id": 19903,
|
|
2351
2351
|
"name": "Operators",
|
|
2352
2352
|
"nodeType": "IdentifierPath",
|
|
2353
|
-
"referencedDeclaration":
|
|
2354
|
-
"src": "2098:9:
|
|
2353
|
+
"referencedDeclaration": 19789,
|
|
2354
|
+
"src": "2098:9:64"
|
|
2355
2355
|
},
|
|
2356
|
-
"referencedDeclaration":
|
|
2357
|
-
"src": "2098:9:
|
|
2356
|
+
"referencedDeclaration": 19789,
|
|
2357
|
+
"src": "2098:9:64",
|
|
2358
2358
|
"typeDescriptions": {
|
|
2359
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2359
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
2360
2360
|
"typeString": "struct ERC777Helper.Operators"
|
|
2361
2361
|
}
|
|
2362
2362
|
},
|
|
@@ -2364,13 +2364,13 @@
|
|
|
2364
2364
|
},
|
|
2365
2365
|
{
|
|
2366
2366
|
"constant": false,
|
|
2367
|
-
"id":
|
|
2367
|
+
"id": 19907,
|
|
2368
2368
|
"mutability": "mutable",
|
|
2369
2369
|
"name": "holder",
|
|
2370
|
-
"nameLocation": "2130:6:
|
|
2370
|
+
"nameLocation": "2130:6:64",
|
|
2371
2371
|
"nodeType": "VariableDeclaration",
|
|
2372
|
-
"scope":
|
|
2373
|
-
"src": "2122:14:
|
|
2372
|
+
"scope": 19946,
|
|
2373
|
+
"src": "2122:14:64",
|
|
2374
2374
|
"stateVariable": false,
|
|
2375
2375
|
"storageLocation": "default",
|
|
2376
2376
|
"typeDescriptions": {
|
|
@@ -2378,10 +2378,10 @@
|
|
|
2378
2378
|
"typeString": "address"
|
|
2379
2379
|
},
|
|
2380
2380
|
"typeName": {
|
|
2381
|
-
"id":
|
|
2381
|
+
"id": 19906,
|
|
2382
2382
|
"name": "address",
|
|
2383
2383
|
"nodeType": "ElementaryTypeName",
|
|
2384
|
-
"src": "2122:7:
|
|
2384
|
+
"src": "2122:7:64",
|
|
2385
2385
|
"stateMutability": "nonpayable",
|
|
2386
2386
|
"typeDescriptions": {
|
|
2387
2387
|
"typeIdentifier": "t_address",
|
|
@@ -2392,13 +2392,13 @@
|
|
|
2392
2392
|
},
|
|
2393
2393
|
{
|
|
2394
2394
|
"constant": false,
|
|
2395
|
-
"id":
|
|
2395
|
+
"id": 19909,
|
|
2396
2396
|
"mutability": "mutable",
|
|
2397
2397
|
"name": "operator",
|
|
2398
|
-
"nameLocation": "2146:8:
|
|
2398
|
+
"nameLocation": "2146:8:64",
|
|
2399
2399
|
"nodeType": "VariableDeclaration",
|
|
2400
|
-
"scope":
|
|
2401
|
-
"src": "2138:16:
|
|
2400
|
+
"scope": 19946,
|
|
2401
|
+
"src": "2138:16:64",
|
|
2402
2402
|
"stateVariable": false,
|
|
2403
2403
|
"storageLocation": "default",
|
|
2404
2404
|
"typeDescriptions": {
|
|
@@ -2406,10 +2406,10 @@
|
|
|
2406
2406
|
"typeString": "address"
|
|
2407
2407
|
},
|
|
2408
2408
|
"typeName": {
|
|
2409
|
-
"id":
|
|
2409
|
+
"id": 19908,
|
|
2410
2410
|
"name": "address",
|
|
2411
2411
|
"nodeType": "ElementaryTypeName",
|
|
2412
|
-
"src": "2138:7:
|
|
2412
|
+
"src": "2138:7:64",
|
|
2413
2413
|
"stateMutability": "nonpayable",
|
|
2414
2414
|
"typeDescriptions": {
|
|
2415
2415
|
"typeIdentifier": "t_address",
|
|
@@ -2419,122 +2419,122 @@
|
|
|
2419
2419
|
"visibility": "internal"
|
|
2420
2420
|
}
|
|
2421
2421
|
],
|
|
2422
|
-
"src": "2097:58:
|
|
2422
|
+
"src": "2097:58:64"
|
|
2423
2423
|
},
|
|
2424
2424
|
"returnParameters": {
|
|
2425
|
-
"id":
|
|
2425
|
+
"id": 19911,
|
|
2426
2426
|
"nodeType": "ParameterList",
|
|
2427
2427
|
"parameters": [],
|
|
2428
|
-
"src": "2165:0:
|
|
2428
|
+
"src": "2165:0:64"
|
|
2429
2429
|
},
|
|
2430
|
-
"scope":
|
|
2431
|
-
"src": "2074:379:
|
|
2430
|
+
"scope": 20007,
|
|
2431
|
+
"src": "2074:379:64",
|
|
2432
2432
|
"stateMutability": "nonpayable",
|
|
2433
2433
|
"virtual": false,
|
|
2434
2434
|
"visibility": "internal"
|
|
2435
2435
|
},
|
|
2436
2436
|
{
|
|
2437
2437
|
"body": {
|
|
2438
|
-
"id":
|
|
2438
|
+
"id": 19958,
|
|
2439
2439
|
"nodeType": "Block",
|
|
2440
|
-
"src": "2550:50:
|
|
2440
|
+
"src": "2550:50:64",
|
|
2441
2441
|
"statements": [
|
|
2442
2442
|
{
|
|
2443
2443
|
"expression": {
|
|
2444
2444
|
"expression": {
|
|
2445
|
-
"id":
|
|
2445
|
+
"id": 19955,
|
|
2446
2446
|
"name": "self",
|
|
2447
2447
|
"nodeType": "Identifier",
|
|
2448
2448
|
"overloadedDeclarations": [],
|
|
2449
|
-
"referencedDeclaration":
|
|
2450
|
-
"src": "2567:4:
|
|
2449
|
+
"referencedDeclaration": 19949,
|
|
2450
|
+
"src": "2567:4:64",
|
|
2451
2451
|
"typeDescriptions": {
|
|
2452
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2452
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
2453
2453
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2454
2454
|
}
|
|
2455
2455
|
},
|
|
2456
|
-
"id":
|
|
2456
|
+
"id": 19956,
|
|
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":
|
|
2464
|
-
"src": "2567:26:
|
|
2463
|
+
"referencedDeclaration": 19772,
|
|
2464
|
+
"src": "2567:26:64",
|
|
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": 19954,
|
|
2471
|
+
"id": 19957,
|
|
2472
2472
|
"nodeType": "Return",
|
|
2473
|
-
"src": "2560:33:
|
|
2473
|
+
"src": "2560:33:64"
|
|
2474
2474
|
}
|
|
2475
2475
|
]
|
|
2476
2476
|
},
|
|
2477
|
-
"id":
|
|
2477
|
+
"id": 19959,
|
|
2478
2478
|
"implemented": true,
|
|
2479
2479
|
"kind": "function",
|
|
2480
2480
|
"modifiers": [],
|
|
2481
2481
|
"name": "defaultOperators",
|
|
2482
|
-
"nameLocation": "2468:16:
|
|
2482
|
+
"nameLocation": "2468:16:64",
|
|
2483
2483
|
"nodeType": "FunctionDefinition",
|
|
2484
2484
|
"parameters": {
|
|
2485
|
-
"id":
|
|
2485
|
+
"id": 19950,
|
|
2486
2486
|
"nodeType": "ParameterList",
|
|
2487
2487
|
"parameters": [
|
|
2488
2488
|
{
|
|
2489
2489
|
"constant": false,
|
|
2490
|
-
"id":
|
|
2490
|
+
"id": 19949,
|
|
2491
2491
|
"mutability": "mutable",
|
|
2492
2492
|
"name": "self",
|
|
2493
|
-
"nameLocation": "2503:4:
|
|
2493
|
+
"nameLocation": "2503:4:64",
|
|
2494
2494
|
"nodeType": "VariableDeclaration",
|
|
2495
|
-
"scope":
|
|
2496
|
-
"src": "2485:22:
|
|
2495
|
+
"scope": 19959,
|
|
2496
|
+
"src": "2485:22:64",
|
|
2497
2497
|
"stateVariable": false,
|
|
2498
2498
|
"storageLocation": "storage",
|
|
2499
2499
|
"typeDescriptions": {
|
|
2500
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2500
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
2501
2501
|
"typeString": "struct ERC777Helper.Operators"
|
|
2502
2502
|
},
|
|
2503
2503
|
"typeName": {
|
|
2504
|
-
"id":
|
|
2504
|
+
"id": 19948,
|
|
2505
2505
|
"nodeType": "UserDefinedTypeName",
|
|
2506
2506
|
"pathNode": {
|
|
2507
|
-
"id":
|
|
2507
|
+
"id": 19947,
|
|
2508
2508
|
"name": "Operators",
|
|
2509
2509
|
"nodeType": "IdentifierPath",
|
|
2510
|
-
"referencedDeclaration":
|
|
2511
|
-
"src": "2485:9:
|
|
2510
|
+
"referencedDeclaration": 19789,
|
|
2511
|
+
"src": "2485:9:64"
|
|
2512
2512
|
},
|
|
2513
|
-
"referencedDeclaration":
|
|
2514
|
-
"src": "2485:9:
|
|
2513
|
+
"referencedDeclaration": 19789,
|
|
2514
|
+
"src": "2485:9:64",
|
|
2515
2515
|
"typeDescriptions": {
|
|
2516
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2516
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
2517
2517
|
"typeString": "struct ERC777Helper.Operators"
|
|
2518
2518
|
}
|
|
2519
2519
|
},
|
|
2520
2520
|
"visibility": "internal"
|
|
2521
2521
|
}
|
|
2522
2522
|
],
|
|
2523
|
-
"src": "2484:24:
|
|
2523
|
+
"src": "2484:24:64"
|
|
2524
2524
|
},
|
|
2525
2525
|
"returnParameters": {
|
|
2526
|
-
"id":
|
|
2526
|
+
"id": 19954,
|
|
2527
2527
|
"nodeType": "ParameterList",
|
|
2528
2528
|
"parameters": [
|
|
2529
2529
|
{
|
|
2530
2530
|
"constant": false,
|
|
2531
|
-
"id":
|
|
2531
|
+
"id": 19953,
|
|
2532
2532
|
"mutability": "mutable",
|
|
2533
2533
|
"name": "",
|
|
2534
2534
|
"nameLocation": "-1:-1:-1",
|
|
2535
2535
|
"nodeType": "VariableDeclaration",
|
|
2536
|
-
"scope":
|
|
2537
|
-
"src": "2532:16:
|
|
2536
|
+
"scope": 19959,
|
|
2537
|
+
"src": "2532:16:64",
|
|
2538
2538
|
"stateVariable": false,
|
|
2539
2539
|
"storageLocation": "memory",
|
|
2540
2540
|
"typeDescriptions": {
|
|
@@ -2543,19 +2543,19 @@
|
|
|
2543
2543
|
},
|
|
2544
2544
|
"typeName": {
|
|
2545
2545
|
"baseType": {
|
|
2546
|
-
"id":
|
|
2546
|
+
"id": 19951,
|
|
2547
2547
|
"name": "address",
|
|
2548
2548
|
"nodeType": "ElementaryTypeName",
|
|
2549
|
-
"src": "2532:7:
|
|
2549
|
+
"src": "2532:7:64",
|
|
2550
2550
|
"stateMutability": "nonpayable",
|
|
2551
2551
|
"typeDescriptions": {
|
|
2552
2552
|
"typeIdentifier": "t_address",
|
|
2553
2553
|
"typeString": "address"
|
|
2554
2554
|
}
|
|
2555
2555
|
},
|
|
2556
|
-
"id":
|
|
2556
|
+
"id": 19952,
|
|
2557
2557
|
"nodeType": "ArrayTypeName",
|
|
2558
|
-
"src": "2532:9:
|
|
2558
|
+
"src": "2532:9:64",
|
|
2559
2559
|
"typeDescriptions": {
|
|
2560
2560
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
|
2561
2561
|
"typeString": "address[]"
|
|
@@ -2564,19 +2564,19 @@
|
|
|
2564
2564
|
"visibility": "internal"
|
|
2565
2565
|
}
|
|
2566
2566
|
],
|
|
2567
|
-
"src": "2531:18:
|
|
2567
|
+
"src": "2531:18:64"
|
|
2568
2568
|
},
|
|
2569
|
-
"scope":
|
|
2570
|
-
"src": "2459:141:
|
|
2569
|
+
"scope": 20007,
|
|
2570
|
+
"src": "2459:141:64",
|
|
2571
2571
|
"stateMutability": "view",
|
|
2572
2572
|
"virtual": false,
|
|
2573
2573
|
"visibility": "internal"
|
|
2574
2574
|
},
|
|
2575
2575
|
{
|
|
2576
2576
|
"body": {
|
|
2577
|
-
"id":
|
|
2577
|
+
"id": 20005,
|
|
2578
2578
|
"nodeType": "Block",
|
|
2579
|
-
"src": "2698:309:
|
|
2579
|
+
"src": "2698:309:64",
|
|
2580
2580
|
"statements": [
|
|
2581
2581
|
{
|
|
2582
2582
|
"expression": {
|
|
@@ -2586,7 +2586,7 @@
|
|
|
2586
2586
|
"typeIdentifier": "t_uint256",
|
|
2587
2587
|
"typeString": "uint256"
|
|
2588
2588
|
},
|
|
2589
|
-
"id":
|
|
2589
|
+
"id": 19973,
|
|
2590
2590
|
"isConstant": false,
|
|
2591
2591
|
"isLValue": false,
|
|
2592
2592
|
"isPure": false,
|
|
@@ -2594,39 +2594,39 @@
|
|
|
2594
2594
|
"leftExpression": {
|
|
2595
2595
|
"expression": {
|
|
2596
2596
|
"expression": {
|
|
2597
|
-
"id":
|
|
2597
|
+
"id": 19969,
|
|
2598
2598
|
"name": "self",
|
|
2599
2599
|
"nodeType": "Identifier",
|
|
2600
2600
|
"overloadedDeclarations": [],
|
|
2601
|
-
"referencedDeclaration":
|
|
2602
|
-
"src": "2793:4:
|
|
2601
|
+
"referencedDeclaration": 19962,
|
|
2602
|
+
"src": "2793:4:64",
|
|
2603
2603
|
"typeDescriptions": {
|
|
2604
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2604
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
2605
2605
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2606
2606
|
}
|
|
2607
2607
|
},
|
|
2608
|
-
"id":
|
|
2608
|
+
"id": 19970,
|
|
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":
|
|
2616
|
-
"src": "2793:26:
|
|
2615
|
+
"referencedDeclaration": 19772,
|
|
2616
|
+
"src": "2793:26:64",
|
|
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": 19971,
|
|
2623
2623
|
"isConstant": false,
|
|
2624
2624
|
"isLValue": false,
|
|
2625
2625
|
"isPure": false,
|
|
2626
2626
|
"lValueRequested": false,
|
|
2627
2627
|
"memberName": "length",
|
|
2628
2628
|
"nodeType": "MemberAccess",
|
|
2629
|
-
"src": "2793:33:
|
|
2629
|
+
"src": "2793:33:64",
|
|
2630
2630
|
"typeDescriptions": {
|
|
2631
2631
|
"typeIdentifier": "t_uint256",
|
|
2632
2632
|
"typeString": "uint256"
|
|
@@ -2636,21 +2636,21 @@
|
|
|
2636
2636
|
"operator": "==",
|
|
2637
2637
|
"rightExpression": {
|
|
2638
2638
|
"hexValue": "30",
|
|
2639
|
-
"id":
|
|
2639
|
+
"id": 19972,
|
|
2640
2640
|
"isConstant": false,
|
|
2641
2641
|
"isLValue": false,
|
|
2642
2642
|
"isPure": true,
|
|
2643
2643
|
"kind": "number",
|
|
2644
2644
|
"lValueRequested": false,
|
|
2645
2645
|
"nodeType": "Literal",
|
|
2646
|
-
"src": "2830:1:
|
|
2646
|
+
"src": "2830:1:64",
|
|
2647
2647
|
"typeDescriptions": {
|
|
2648
2648
|
"typeIdentifier": "t_rational_0_by_1",
|
|
2649
2649
|
"typeString": "int_const 0"
|
|
2650
2650
|
},
|
|
2651
2651
|
"value": "0"
|
|
2652
2652
|
},
|
|
2653
|
-
"src": "2793:38:
|
|
2653
|
+
"src": "2793:38:64",
|
|
2654
2654
|
"typeDescriptions": {
|
|
2655
2655
|
"typeIdentifier": "t_bool",
|
|
2656
2656
|
"typeString": "bool"
|
|
@@ -2664,18 +2664,18 @@
|
|
|
2664
2664
|
"typeString": "bool"
|
|
2665
2665
|
}
|
|
2666
2666
|
],
|
|
2667
|
-
"id":
|
|
2667
|
+
"id": 19968,
|
|
2668
2668
|
"name": "assert",
|
|
2669
2669
|
"nodeType": "Identifier",
|
|
2670
2670
|
"overloadedDeclarations": [],
|
|
2671
2671
|
"referencedDeclaration": 4294967293,
|
|
2672
|
-
"src": "2786:6:
|
|
2672
|
+
"src": "2786:6:64",
|
|
2673
2673
|
"typeDescriptions": {
|
|
2674
2674
|
"typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$",
|
|
2675
2675
|
"typeString": "function (bool) pure"
|
|
2676
2676
|
}
|
|
2677
2677
|
},
|
|
2678
|
-
"id":
|
|
2678
|
+
"id": 19974,
|
|
2679
2679
|
"isConstant": false,
|
|
2680
2680
|
"isLValue": false,
|
|
2681
2681
|
"isPure": false,
|
|
@@ -2683,46 +2683,46 @@
|
|
|
2683
2683
|
"lValueRequested": false,
|
|
2684
2684
|
"names": [],
|
|
2685
2685
|
"nodeType": "FunctionCall",
|
|
2686
|
-
"src": "2786:46:
|
|
2686
|
+
"src": "2786:46:64",
|
|
2687
2687
|
"tryCall": false,
|
|
2688
2688
|
"typeDescriptions": {
|
|
2689
2689
|
"typeIdentifier": "t_tuple$__$",
|
|
2690
2690
|
"typeString": "tuple()"
|
|
2691
2691
|
}
|
|
2692
2692
|
},
|
|
2693
|
-
"id":
|
|
2693
|
+
"id": 19975,
|
|
2694
2694
|
"nodeType": "ExpressionStatement",
|
|
2695
|
-
"src": "2786:46:
|
|
2695
|
+
"src": "2786:46:64"
|
|
2696
2696
|
},
|
|
2697
2697
|
{
|
|
2698
2698
|
"expression": {
|
|
2699
|
-
"id":
|
|
2699
|
+
"id": 19980,
|
|
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": 19976,
|
|
2707
2707
|
"name": "self",
|
|
2708
2708
|
"nodeType": "Identifier",
|
|
2709
2709
|
"overloadedDeclarations": [],
|
|
2710
|
-
"referencedDeclaration":
|
|
2711
|
-
"src": "2842:4:
|
|
2710
|
+
"referencedDeclaration": 19962,
|
|
2711
|
+
"src": "2842:4:64",
|
|
2712
2712
|
"typeDescriptions": {
|
|
2713
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2713
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
2714
2714
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2715
2715
|
}
|
|
2716
2716
|
},
|
|
2717
|
-
"id":
|
|
2717
|
+
"id": 19978,
|
|
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":
|
|
2725
|
-
"src": "2842:26:
|
|
2724
|
+
"referencedDeclaration": 19772,
|
|
2725
|
+
"src": "2842:26:64",
|
|
2726
2726
|
"typeDescriptions": {
|
|
2727
2727
|
"typeIdentifier": "t_array$_t_address_$dyn_storage",
|
|
2728
2728
|
"typeString": "address[] storage ref"
|
|
@@ -2731,36 +2731,36 @@
|
|
|
2731
2731
|
"nodeType": "Assignment",
|
|
2732
2732
|
"operator": "=",
|
|
2733
2733
|
"rightHandSide": {
|
|
2734
|
-
"id":
|
|
2734
|
+
"id": 19979,
|
|
2735
2735
|
"name": "operators",
|
|
2736
2736
|
"nodeType": "Identifier",
|
|
2737
2737
|
"overloadedDeclarations": [],
|
|
2738
|
-
"referencedDeclaration":
|
|
2739
|
-
"src": "2871:9:
|
|
2738
|
+
"referencedDeclaration": 19965,
|
|
2739
|
+
"src": "2871:9:64",
|
|
2740
2740
|
"typeDescriptions": {
|
|
2741
2741
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
|
2742
2742
|
"typeString": "address[] memory"
|
|
2743
2743
|
}
|
|
2744
2744
|
},
|
|
2745
|
-
"src": "2842:38:
|
|
2745
|
+
"src": "2842:38:64",
|
|
2746
2746
|
"typeDescriptions": {
|
|
2747
2747
|
"typeIdentifier": "t_array$_t_address_$dyn_storage",
|
|
2748
2748
|
"typeString": "address[] storage ref"
|
|
2749
2749
|
}
|
|
2750
2750
|
},
|
|
2751
|
-
"id":
|
|
2751
|
+
"id": 19981,
|
|
2752
2752
|
"nodeType": "ExpressionStatement",
|
|
2753
|
-
"src": "2842:38:
|
|
2753
|
+
"src": "2842:38:64"
|
|
2754
2754
|
},
|
|
2755
2755
|
{
|
|
2756
2756
|
"body": {
|
|
2757
|
-
"id":
|
|
2757
|
+
"id": 20003,
|
|
2758
2758
|
"nodeType": "Block",
|
|
2759
|
-
"src": "2934:67:
|
|
2759
|
+
"src": "2934:67:64",
|
|
2760
2760
|
"statements": [
|
|
2761
2761
|
{
|
|
2762
2762
|
"expression": {
|
|
2763
|
-
"id":
|
|
2763
|
+
"id": 20001,
|
|
2764
2764
|
"isConstant": false,
|
|
2765
2765
|
"isLValue": false,
|
|
2766
2766
|
"isPure": false,
|
|
@@ -2768,53 +2768,53 @@
|
|
|
2768
2768
|
"leftHandSide": {
|
|
2769
2769
|
"baseExpression": {
|
|
2770
2770
|
"expression": {
|
|
2771
|
-
"id":
|
|
2771
|
+
"id": 19993,
|
|
2772
2772
|
"name": "self",
|
|
2773
2773
|
"nodeType": "Identifier",
|
|
2774
2774
|
"overloadedDeclarations": [],
|
|
2775
|
-
"referencedDeclaration":
|
|
2776
|
-
"src": "2948:4:
|
|
2775
|
+
"referencedDeclaration": 19962,
|
|
2776
|
+
"src": "2948:4:64",
|
|
2777
2777
|
"typeDescriptions": {
|
|
2778
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
2778
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
2779
2779
|
"typeString": "struct ERC777Helper.Operators storage pointer"
|
|
2780
2780
|
}
|
|
2781
2781
|
},
|
|
2782
|
-
"id":
|
|
2782
|
+
"id": 19998,
|
|
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":
|
|
2790
|
-
"src": "2948:21:
|
|
2789
|
+
"referencedDeclaration": 19776,
|
|
2790
|
+
"src": "2948:21:64",
|
|
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": 19999,
|
|
2797
2797
|
"indexExpression": {
|
|
2798
2798
|
"baseExpression": {
|
|
2799
|
-
"id":
|
|
2799
|
+
"id": 19995,
|
|
2800
2800
|
"name": "operators",
|
|
2801
2801
|
"nodeType": "Identifier",
|
|
2802
2802
|
"overloadedDeclarations": [],
|
|
2803
|
-
"referencedDeclaration":
|
|
2804
|
-
"src": "2970:9:
|
|
2803
|
+
"referencedDeclaration": 19965,
|
|
2804
|
+
"src": "2970:9:64",
|
|
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": 19997,
|
|
2811
2811
|
"indexExpression": {
|
|
2812
|
-
"id":
|
|
2812
|
+
"id": 19996,
|
|
2813
2813
|
"name": "i",
|
|
2814
2814
|
"nodeType": "Identifier",
|
|
2815
2815
|
"overloadedDeclarations": [],
|
|
2816
|
-
"referencedDeclaration":
|
|
2817
|
-
"src": "2980:1:
|
|
2816
|
+
"referencedDeclaration": 19983,
|
|
2817
|
+
"src": "2980:1:64",
|
|
2818
2818
|
"typeDescriptions": {
|
|
2819
2819
|
"typeIdentifier": "t_uint256",
|
|
2820
2820
|
"typeString": "uint256"
|
|
@@ -2825,7 +2825,7 @@
|
|
|
2825
2825
|
"isPure": false,
|
|
2826
2826
|
"lValueRequested": false,
|
|
2827
2827
|
"nodeType": "IndexAccess",
|
|
2828
|
-
"src": "2970:12:
|
|
2828
|
+
"src": "2970:12:64",
|
|
2829
2829
|
"typeDescriptions": {
|
|
2830
2830
|
"typeIdentifier": "t_address",
|
|
2831
2831
|
"typeString": "address"
|
|
@@ -2836,7 +2836,7 @@
|
|
|
2836
2836
|
"isPure": false,
|
|
2837
2837
|
"lValueRequested": true,
|
|
2838
2838
|
"nodeType": "IndexAccess",
|
|
2839
|
-
"src": "2948:35:
|
|
2839
|
+
"src": "2948:35:64",
|
|
2840
2840
|
"typeDescriptions": {
|
|
2841
2841
|
"typeIdentifier": "t_bool",
|
|
2842
2842
|
"typeString": "bool"
|
|
@@ -2846,29 +2846,29 @@
|
|
|
2846
2846
|
"operator": "=",
|
|
2847
2847
|
"rightHandSide": {
|
|
2848
2848
|
"hexValue": "74727565",
|
|
2849
|
-
"id":
|
|
2849
|
+
"id": 20000,
|
|
2850
2850
|
"isConstant": false,
|
|
2851
2851
|
"isLValue": false,
|
|
2852
2852
|
"isPure": true,
|
|
2853
2853
|
"kind": "bool",
|
|
2854
2854
|
"lValueRequested": false,
|
|
2855
2855
|
"nodeType": "Literal",
|
|
2856
|
-
"src": "2986:4:
|
|
2856
|
+
"src": "2986:4:64",
|
|
2857
2857
|
"typeDescriptions": {
|
|
2858
2858
|
"typeIdentifier": "t_bool",
|
|
2859
2859
|
"typeString": "bool"
|
|
2860
2860
|
},
|
|
2861
2861
|
"value": "true"
|
|
2862
2862
|
},
|
|
2863
|
-
"src": "2948:42:
|
|
2863
|
+
"src": "2948:42:64",
|
|
2864
2864
|
"typeDescriptions": {
|
|
2865
2865
|
"typeIdentifier": "t_bool",
|
|
2866
2866
|
"typeString": "bool"
|
|
2867
2867
|
}
|
|
2868
2868
|
},
|
|
2869
|
-
"id":
|
|
2869
|
+
"id": 20002,
|
|
2870
2870
|
"nodeType": "ExpressionStatement",
|
|
2871
|
-
"src": "2948:42:
|
|
2871
|
+
"src": "2948:42:64"
|
|
2872
2872
|
}
|
|
2873
2873
|
]
|
|
2874
2874
|
},
|
|
@@ -2877,18 +2877,18 @@
|
|
|
2877
2877
|
"typeIdentifier": "t_uint256",
|
|
2878
2878
|
"typeString": "uint256"
|
|
2879
2879
|
},
|
|
2880
|
-
"id":
|
|
2880
|
+
"id": 19989,
|
|
2881
2881
|
"isConstant": false,
|
|
2882
2882
|
"isLValue": false,
|
|
2883
2883
|
"isPure": false,
|
|
2884
2884
|
"lValueRequested": false,
|
|
2885
2885
|
"leftExpression": {
|
|
2886
|
-
"id":
|
|
2886
|
+
"id": 19986,
|
|
2887
2887
|
"name": "i",
|
|
2888
2888
|
"nodeType": "Identifier",
|
|
2889
2889
|
"overloadedDeclarations": [],
|
|
2890
|
-
"referencedDeclaration":
|
|
2891
|
-
"src": "2907:1:
|
|
2890
|
+
"referencedDeclaration": 19983,
|
|
2891
|
+
"src": "2907:1:64",
|
|
2892
2892
|
"typeDescriptions": {
|
|
2893
2893
|
"typeIdentifier": "t_uint256",
|
|
2894
2894
|
"typeString": "uint256"
|
|
@@ -2898,51 +2898,51 @@
|
|
|
2898
2898
|
"operator": "<",
|
|
2899
2899
|
"rightExpression": {
|
|
2900
2900
|
"expression": {
|
|
2901
|
-
"id":
|
|
2901
|
+
"id": 19987,
|
|
2902
2902
|
"name": "operators",
|
|
2903
2903
|
"nodeType": "Identifier",
|
|
2904
2904
|
"overloadedDeclarations": [],
|
|
2905
|
-
"referencedDeclaration":
|
|
2906
|
-
"src": "2911:9:
|
|
2905
|
+
"referencedDeclaration": 19965,
|
|
2906
|
+
"src": "2911:9:64",
|
|
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": 19988,
|
|
2913
2913
|
"isConstant": false,
|
|
2914
2914
|
"isLValue": false,
|
|
2915
2915
|
"isPure": false,
|
|
2916
2916
|
"lValueRequested": false,
|
|
2917
2917
|
"memberName": "length",
|
|
2918
2918
|
"nodeType": "MemberAccess",
|
|
2919
|
-
"src": "2911:16:
|
|
2919
|
+
"src": "2911:16:64",
|
|
2920
2920
|
"typeDescriptions": {
|
|
2921
2921
|
"typeIdentifier": "t_uint256",
|
|
2922
2922
|
"typeString": "uint256"
|
|
2923
2923
|
}
|
|
2924
2924
|
},
|
|
2925
|
-
"src": "2907:20:
|
|
2925
|
+
"src": "2907:20:64",
|
|
2926
2926
|
"typeDescriptions": {
|
|
2927
2927
|
"typeIdentifier": "t_bool",
|
|
2928
2928
|
"typeString": "bool"
|
|
2929
2929
|
}
|
|
2930
2930
|
},
|
|
2931
|
-
"id":
|
|
2931
|
+
"id": 20004,
|
|
2932
2932
|
"initializationExpression": {
|
|
2933
2933
|
"assignments": [
|
|
2934
|
-
|
|
2934
|
+
19983
|
|
2935
2935
|
],
|
|
2936
2936
|
"declarations": [
|
|
2937
2937
|
{
|
|
2938
2938
|
"constant": false,
|
|
2939
|
-
"id":
|
|
2939
|
+
"id": 19983,
|
|
2940
2940
|
"mutability": "mutable",
|
|
2941
2941
|
"name": "i",
|
|
2942
|
-
"nameLocation": "2900:1:
|
|
2942
|
+
"nameLocation": "2900:1:64",
|
|
2943
2943
|
"nodeType": "VariableDeclaration",
|
|
2944
|
-
"scope":
|
|
2945
|
-
"src": "2895:6:
|
|
2944
|
+
"scope": 20004,
|
|
2945
|
+
"src": "2895:6:64",
|
|
2946
2946
|
"stateVariable": false,
|
|
2947
2947
|
"storageLocation": "default",
|
|
2948
2948
|
"typeDescriptions": {
|
|
@@ -2950,10 +2950,10 @@
|
|
|
2950
2950
|
"typeString": "uint256"
|
|
2951
2951
|
},
|
|
2952
2952
|
"typeName": {
|
|
2953
|
-
"id":
|
|
2953
|
+
"id": 19982,
|
|
2954
2954
|
"name": "uint",
|
|
2955
2955
|
"nodeType": "ElementaryTypeName",
|
|
2956
|
-
"src": "2895:4:
|
|
2956
|
+
"src": "2895:4:64",
|
|
2957
2957
|
"typeDescriptions": {
|
|
2958
2958
|
"typeIdentifier": "t_uint256",
|
|
2959
2959
|
"typeString": "uint256"
|
|
@@ -2962,17 +2962,17 @@
|
|
|
2962
2962
|
"visibility": "internal"
|
|
2963
2963
|
}
|
|
2964
2964
|
],
|
|
2965
|
-
"id":
|
|
2965
|
+
"id": 19985,
|
|
2966
2966
|
"initialValue": {
|
|
2967
2967
|
"hexValue": "30",
|
|
2968
|
-
"id":
|
|
2968
|
+
"id": 19984,
|
|
2969
2969
|
"isConstant": false,
|
|
2970
2970
|
"isLValue": false,
|
|
2971
2971
|
"isPure": true,
|
|
2972
2972
|
"kind": "number",
|
|
2973
2973
|
"lValueRequested": false,
|
|
2974
2974
|
"nodeType": "Literal",
|
|
2975
|
-
"src": "2904:1:
|
|
2975
|
+
"src": "2904:1:64",
|
|
2976
2976
|
"typeDescriptions": {
|
|
2977
2977
|
"typeIdentifier": "t_rational_0_by_1",
|
|
2978
2978
|
"typeString": "int_const 0"
|
|
@@ -2980,11 +2980,11 @@
|
|
|
2980
2980
|
"value": "0"
|
|
2981
2981
|
},
|
|
2982
2982
|
"nodeType": "VariableDeclarationStatement",
|
|
2983
|
-
"src": "2895:10:
|
|
2983
|
+
"src": "2895:10:64"
|
|
2984
2984
|
},
|
|
2985
2985
|
"loopExpression": {
|
|
2986
2986
|
"expression": {
|
|
2987
|
-
"id":
|
|
2987
|
+
"id": 19991,
|
|
2988
2988
|
"isConstant": false,
|
|
2989
2989
|
"isLValue": false,
|
|
2990
2990
|
"isPure": false,
|
|
@@ -2992,14 +2992,14 @@
|
|
|
2992
2992
|
"nodeType": "UnaryOperation",
|
|
2993
2993
|
"operator": "++",
|
|
2994
2994
|
"prefix": true,
|
|
2995
|
-
"src": "2929:3:
|
|
2995
|
+
"src": "2929:3:64",
|
|
2996
2996
|
"subExpression": {
|
|
2997
|
-
"id":
|
|
2997
|
+
"id": 19990,
|
|
2998
2998
|
"name": "i",
|
|
2999
2999
|
"nodeType": "Identifier",
|
|
3000
3000
|
"overloadedDeclarations": [],
|
|
3001
|
-
"referencedDeclaration":
|
|
3002
|
-
"src": "2931:1:
|
|
3001
|
+
"referencedDeclaration": 19983,
|
|
3002
|
+
"src": "2931:1:64",
|
|
3003
3003
|
"typeDescriptions": {
|
|
3004
3004
|
"typeIdentifier": "t_uint256",
|
|
3005
3005
|
"typeString": "uint256"
|
|
@@ -3010,55 +3010,55 @@
|
|
|
3010
3010
|
"typeString": "uint256"
|
|
3011
3011
|
}
|
|
3012
3012
|
},
|
|
3013
|
-
"id":
|
|
3013
|
+
"id": 19992,
|
|
3014
3014
|
"nodeType": "ExpressionStatement",
|
|
3015
|
-
"src": "2929:3:
|
|
3015
|
+
"src": "2929:3:64"
|
|
3016
3016
|
},
|
|
3017
3017
|
"nodeType": "ForStatement",
|
|
3018
|
-
"src": "2890:111:
|
|
3018
|
+
"src": "2890:111:64"
|
|
3019
3019
|
}
|
|
3020
3020
|
]
|
|
3021
3021
|
},
|
|
3022
|
-
"id":
|
|
3022
|
+
"id": 20006,
|
|
3023
3023
|
"implemented": true,
|
|
3024
3024
|
"kind": "function",
|
|
3025
3025
|
"modifiers": [],
|
|
3026
3026
|
"name": "setupDefaultOperators",
|
|
3027
|
-
"nameLocation": "2615:21:
|
|
3027
|
+
"nameLocation": "2615:21:64",
|
|
3028
3028
|
"nodeType": "FunctionDefinition",
|
|
3029
3029
|
"parameters": {
|
|
3030
|
-
"id":
|
|
3030
|
+
"id": 19966,
|
|
3031
3031
|
"nodeType": "ParameterList",
|
|
3032
3032
|
"parameters": [
|
|
3033
3033
|
{
|
|
3034
3034
|
"constant": false,
|
|
3035
|
-
"id":
|
|
3035
|
+
"id": 19962,
|
|
3036
3036
|
"mutability": "mutable",
|
|
3037
3037
|
"name": "self",
|
|
3038
|
-
"nameLocation": "2655:4:
|
|
3038
|
+
"nameLocation": "2655:4:64",
|
|
3039
3039
|
"nodeType": "VariableDeclaration",
|
|
3040
|
-
"scope":
|
|
3041
|
-
"src": "2637:22:
|
|
3040
|
+
"scope": 20006,
|
|
3041
|
+
"src": "2637:22:64",
|
|
3042
3042
|
"stateVariable": false,
|
|
3043
3043
|
"storageLocation": "storage",
|
|
3044
3044
|
"typeDescriptions": {
|
|
3045
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
3045
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
3046
3046
|
"typeString": "struct ERC777Helper.Operators"
|
|
3047
3047
|
},
|
|
3048
3048
|
"typeName": {
|
|
3049
|
-
"id":
|
|
3049
|
+
"id": 19961,
|
|
3050
3050
|
"nodeType": "UserDefinedTypeName",
|
|
3051
3051
|
"pathNode": {
|
|
3052
|
-
"id":
|
|
3052
|
+
"id": 19960,
|
|
3053
3053
|
"name": "Operators",
|
|
3054
3054
|
"nodeType": "IdentifierPath",
|
|
3055
|
-
"referencedDeclaration":
|
|
3056
|
-
"src": "2637:9:
|
|
3055
|
+
"referencedDeclaration": 19789,
|
|
3056
|
+
"src": "2637:9:64"
|
|
3057
3057
|
},
|
|
3058
|
-
"referencedDeclaration":
|
|
3059
|
-
"src": "2637:9:
|
|
3058
|
+
"referencedDeclaration": 19789,
|
|
3059
|
+
"src": "2637:9:64",
|
|
3060
3060
|
"typeDescriptions": {
|
|
3061
|
-
"typeIdentifier": "t_struct$_Operators_$
|
|
3061
|
+
"typeIdentifier": "t_struct$_Operators_$19789_storage_ptr",
|
|
3062
3062
|
"typeString": "struct ERC777Helper.Operators"
|
|
3063
3063
|
}
|
|
3064
3064
|
},
|
|
@@ -3066,13 +3066,13 @@
|
|
|
3066
3066
|
},
|
|
3067
3067
|
{
|
|
3068
3068
|
"constant": false,
|
|
3069
|
-
"id":
|
|
3069
|
+
"id": 19965,
|
|
3070
3070
|
"mutability": "mutable",
|
|
3071
3071
|
"name": "operators",
|
|
3072
|
-
"nameLocation": "2678:9:
|
|
3072
|
+
"nameLocation": "2678:9:64",
|
|
3073
3073
|
"nodeType": "VariableDeclaration",
|
|
3074
|
-
"scope":
|
|
3075
|
-
"src": "2661:26:
|
|
3074
|
+
"scope": 20006,
|
|
3075
|
+
"src": "2661:26:64",
|
|
3076
3076
|
"stateVariable": false,
|
|
3077
3077
|
"storageLocation": "memory",
|
|
3078
3078
|
"typeDescriptions": {
|
|
@@ -3081,19 +3081,19 @@
|
|
|
3081
3081
|
},
|
|
3082
3082
|
"typeName": {
|
|
3083
3083
|
"baseType": {
|
|
3084
|
-
"id":
|
|
3084
|
+
"id": 19963,
|
|
3085
3085
|
"name": "address",
|
|
3086
3086
|
"nodeType": "ElementaryTypeName",
|
|
3087
|
-
"src": "2661:7:
|
|
3087
|
+
"src": "2661:7:64",
|
|
3088
3088
|
"stateMutability": "nonpayable",
|
|
3089
3089
|
"typeDescriptions": {
|
|
3090
3090
|
"typeIdentifier": "t_address",
|
|
3091
3091
|
"typeString": "address"
|
|
3092
3092
|
}
|
|
3093
3093
|
},
|
|
3094
|
-
"id":
|
|
3094
|
+
"id": 19964,
|
|
3095
3095
|
"nodeType": "ArrayTypeName",
|
|
3096
|
-
"src": "2661:9:
|
|
3096
|
+
"src": "2661:9:64",
|
|
3097
3097
|
"typeDescriptions": {
|
|
3098
3098
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
|
3099
3099
|
"typeString": "address[]"
|
|
@@ -3102,27 +3102,27 @@
|
|
|
3102
3102
|
"visibility": "internal"
|
|
3103
3103
|
}
|
|
3104
3104
|
],
|
|
3105
|
-
"src": "2636:52:
|
|
3105
|
+
"src": "2636:52:64"
|
|
3106
3106
|
},
|
|
3107
3107
|
"returnParameters": {
|
|
3108
|
-
"id":
|
|
3108
|
+
"id": 19967,
|
|
3109
3109
|
"nodeType": "ParameterList",
|
|
3110
3110
|
"parameters": [],
|
|
3111
|
-
"src": "2698:0:
|
|
3111
|
+
"src": "2698:0:64"
|
|
3112
3112
|
},
|
|
3113
|
-
"scope":
|
|
3114
|
-
"src": "2606:401:
|
|
3113
|
+
"scope": 20007,
|
|
3114
|
+
"src": "2606:401:64",
|
|
3115
3115
|
"stateMutability": "nonpayable",
|
|
3116
3116
|
"virtual": false,
|
|
3117
3117
|
"visibility": "internal"
|
|
3118
3118
|
}
|
|
3119
3119
|
],
|
|
3120
|
-
"scope":
|
|
3121
|
-
"src": "224:2786:
|
|
3120
|
+
"scope": 20008,
|
|
3121
|
+
"src": "224:2786:64",
|
|
3122
3122
|
"usedErrors": []
|
|
3123
3123
|
}
|
|
3124
3124
|
],
|
|
3125
|
-
"src": "35:2976:
|
|
3125
|
+
"src": "35:2976:64"
|
|
3126
3126
|
},
|
|
3127
3127
|
"compiler": {
|
|
3128
3128
|
"name": "solc",
|
|
@@ -3130,7 +3130,7 @@
|
|
|
3130
3130
|
},
|
|
3131
3131
|
"networks": {},
|
|
3132
3132
|
"schemaVersion": "3.4.7",
|
|
3133
|
-
"updatedAt": "2022-05-
|
|
3133
|
+
"updatedAt": "2022-05-05T19:02:22.066Z",
|
|
3134
3134
|
"devdoc": {
|
|
3135
3135
|
"author": "Superfluid",
|
|
3136
3136
|
"kind": "dev",
|