@latticexyz/world-modules 2.0.0-next.10 → 2.0.0-next.11
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/out/AccessControl.sol/AccessControl.abi.json +1 -0
- package/out/AccessControl.sol/AccessControl.json +1651 -0
- package/out/ArrayLib.sol/ArrayLib.json +477 -477
- package/out/Balances.sol/Balances.abi.json +1 -0
- package/out/Balances.sol/Balances.json +13002 -0
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +354 -354
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
- package/out/DelegationControl.sol/DelegationControl.json +139 -139
- package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
- package/out/FunctionSelectors.sol/FunctionSelectors.json +17874 -0
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +18 -18
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
- package/out/IBaseWorld.sol/IBaseWorld.json +85 -85
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +11 -11
- package/out/ISystemHook.sol/ISystemHook.json +16 -16
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +25 -25
- package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
- package/out/IWorldKernel.sol/IWorldCall.json +14 -14
- package/out/IWorldKernel.sol/IWorldKernel.json +14 -14
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +14 -14
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +43 -43
- package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
- package/out/KeysInTableModule.sol/KeysInTableModule.json +842 -842
- package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1561 -1561
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +654 -654
- package/out/Module.sol/Module.json +119 -119
- package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
- package/out/NamespaceOwner.sol/NamespaceOwner.json +13016 -0
- package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
- package/out/ResourceAccess.sol/ResourceAccess.json +17296 -0
- package/out/ResourceIds.sol/ResourceIds.json +45 -45
- package/out/Schema.sol/SchemaInstance.json +30 -30
- package/out/Schema.sol/SchemaLib.json +30 -30
- package/out/SchemaType.sol/SchemaType.json +729 -729
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +452 -452
- package/out/StoreHook.sol/StoreHook.json +639 -639
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +32 -32
- package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
- package/out/SystemHooks.sol/SystemHooks.json +32460 -0
- package/out/SystemSwitch.sol/SystemSwitch.abi.json +1 -0
- package/out/SystemSwitch.sol/SystemSwitch.json +2879 -0
- package/out/Systems.sol/Systems.abi.json +1 -0
- package/out/Systems.sol/Systems.json +18508 -0
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +187 -187
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
- package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +486 -486
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +132 -132
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4590 -4590
- package/out/WorldContext.sol/WorldContextConsumer.json +14 -14
- package/out/WorldContext.sol/WorldContextConsumerLib.json +14 -14
- package/out/WorldContext.sol/WorldContextProviderLib.json +14 -14
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +107 -107
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +107 -107
- package/out/constants.sol/constants.json +477 -194
- package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
- package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
- package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
- package/out/getUniqueEntity.sol/getUniqueEntity.json +389 -240
- package/out/hasKey.sol/hasKey.json +215 -215
- package/out/index.sol/index.json +73 -73
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +175 -175
- package/out/query.sol/query.json +1892 -1892
- package/out/revertWithBytes.sol/revertWithBytes.json +52 -52
- package/out/src/Bytes.sol/Bytes.json +3766 -3766
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +1204 -1204
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +1204 -1204
- package/out/src/Hook.sol/HookInstance.abi.json +1 -0
- package/out/src/Hook.sol/HookInstance.json +2823 -0
- package/out/src/Hook.sol/HookLib.abi.json +1 -0
- package/out/src/Hook.sol/HookLib.json +2823 -0
- package/out/src/IStore.sol/IStore.json +73 -73
- package/out/src/ISystemHook.sol/ISystemHook.abi.json +67 -0
- package/out/src/ISystemHook.sol/ISystemHook.abi.json.d.ts +68 -0
- package/out/src/ISystemHook.sol/ISystemHook.json +852 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.abi.json +189 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +190 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.json +1463 -0
- package/out/src/IWorldKernel.sol/IWorldCall.json +262 -262
- package/out/src/IWorldKernel.sol/IWorldKernel.json +262 -262
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +262 -262
- package/out/src/Memory.sol/Memory.json +242 -242
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +1633 -1633
- package/out/src/PackedCounter.sol/PackedCounterLib.json +1633 -1633
- package/out/src/ResourceId.sol/ResourceIdInstance.json +206 -206
- package/out/src/ResourceId.sol/ResourceIdLib.json +206 -206
- package/out/src/Schema.sol/SchemaInstance.json +1351 -1351
- package/out/src/Schema.sol/SchemaLib.json +1351 -1351
- package/out/src/Slice.sol/SliceInstance.json +802 -802
- package/out/src/Slice.sol/SliceLib.json +802 -802
- package/out/src/StoreCore.sol/StoreCore.json +7412 -7412
- package/out/src/StoreCore.sol/StoreCoreInternal.json +7412 -7412
- package/out/src/StoreSwitch.sol/StoreSwitch.json +4064 -4064
- package/out/src/WorldContext.sol/WorldContextConsumer.json +805 -805
- package/out/src/WorldContext.sol/WorldContextConsumerLib.json +807 -807
- package/out/src/WorldContext.sol/WorldContextProviderLib.json +807 -807
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +813 -813
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +813 -813
- package/out/storeHookTypes.sol/storeHookTypes.json +204 -204
- package/out/storeResourceTypes.sol/storeResourceTypes.json +23 -23
- package/out/systemHookTypes.sol/systemHookTypes.json +270 -0
- package/out/tables/ResourceIds.sol/ResourceIds.json +2922 -2922
- package/out/tables/Tables.sol/Tables.json +12189 -12189
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +6883 -6883
- package/out/types.sol/types.json +71 -71
- package/out/worldResourceTypes.sol/worldResourceTypes.json +92 -92
- package/package.json +8 -8
- package/src/modules/uniqueentity/getUniqueEntity.sol +5 -3
- package/src/utils/SystemSwitch.sol +82 -0
@@ -10,35 +10,35 @@
|
|
10
10
|
},
|
11
11
|
"ast": {
|
12
12
|
"absolutePath": "src/modules/keysintable/getKeysInTable.sol",
|
13
|
-
"id":
|
13
|
+
"id": 50177,
|
14
14
|
"exportedSymbols": {
|
15
15
|
"IStore": [
|
16
|
-
|
16
|
+
28450
|
17
17
|
],
|
18
18
|
"KeysInTable": [
|
19
|
-
|
19
|
+
57455
|
20
20
|
],
|
21
21
|
"ResourceId": [
|
22
|
-
|
22
|
+
29139
|
23
23
|
],
|
24
24
|
"Schema": [
|
25
|
-
|
25
|
+
29222
|
26
26
|
],
|
27
27
|
"StoreSwitch": [
|
28
|
-
|
28
|
+
33826
|
29
29
|
],
|
30
30
|
"getKeysInTable": [
|
31
|
-
|
32
|
-
|
31
|
+
50018,
|
32
|
+
50176
|
33
33
|
]
|
34
34
|
},
|
35
35
|
"nodeType": "SourceUnit",
|
36
|
-
"src": "32:2761:
|
36
|
+
"src": "32:2761:126",
|
37
37
|
"nodes": [
|
38
38
|
{
|
39
|
-
"id":
|
39
|
+
"id": 49859,
|
40
40
|
"nodeType": "PragmaDirective",
|
41
|
-
"src": "32:25:
|
41
|
+
"src": "32:25:126",
|
42
42
|
"nodes": [],
|
43
43
|
"literals": [
|
44
44
|
"solidity",
|
@@ -48,24 +48,24 @@
|
|
48
48
|
]
|
49
49
|
},
|
50
50
|
{
|
51
|
-
"id":
|
51
|
+
"id": 49861,
|
52
52
|
"nodeType": "ImportDirective",
|
53
|
-
"src": "59:58:
|
53
|
+
"src": "59:58:126",
|
54
54
|
"nodes": [],
|
55
55
|
"absolutePath": "node_modules/@latticexyz/store/src/IStore.sol",
|
56
56
|
"file": "@latticexyz/store/src/IStore.sol",
|
57
57
|
"nameLocation": "-1:-1:-1",
|
58
|
-
"scope":
|
59
|
-
"sourceUnit":
|
58
|
+
"scope": 50177,
|
59
|
+
"sourceUnit": 28451,
|
60
60
|
"symbolAliases": [
|
61
61
|
{
|
62
62
|
"foreign": {
|
63
|
-
"id":
|
63
|
+
"id": 49860,
|
64
64
|
"name": "IStore",
|
65
65
|
"nodeType": "Identifier",
|
66
66
|
"overloadedDeclarations": [],
|
67
|
-
"referencedDeclaration":
|
68
|
-
"src": "68:6:
|
67
|
+
"referencedDeclaration": 28450,
|
68
|
+
"src": "68:6:126",
|
69
69
|
"typeDescriptions": {}
|
70
70
|
},
|
71
71
|
"nameLocation": "-1:-1:-1"
|
@@ -74,24 +74,24 @@
|
|
74
74
|
"unitAlias": ""
|
75
75
|
},
|
76
76
|
{
|
77
|
-
"id":
|
77
|
+
"id": 49863,
|
78
78
|
"nodeType": "ImportDirective",
|
79
|
-
"src": "118:58:
|
79
|
+
"src": "118:58:126",
|
80
80
|
"nodes": [],
|
81
81
|
"absolutePath": "node_modules/@latticexyz/store/src/Schema.sol",
|
82
82
|
"file": "@latticexyz/store/src/Schema.sol",
|
83
83
|
"nameLocation": "-1:-1:-1",
|
84
|
-
"scope":
|
85
|
-
"sourceUnit":
|
84
|
+
"scope": 50177,
|
85
|
+
"sourceUnit": 29691,
|
86
86
|
"symbolAliases": [
|
87
87
|
{
|
88
88
|
"foreign": {
|
89
|
-
"id":
|
89
|
+
"id": 49862,
|
90
90
|
"name": "Schema",
|
91
91
|
"nodeType": "Identifier",
|
92
92
|
"overloadedDeclarations": [],
|
93
|
-
"referencedDeclaration":
|
94
|
-
"src": "127:6:
|
93
|
+
"referencedDeclaration": 29222,
|
94
|
+
"src": "127:6:126",
|
95
95
|
"typeDescriptions": {}
|
96
96
|
},
|
97
97
|
"nameLocation": "-1:-1:-1"
|
@@ -100,24 +100,24 @@
|
|
100
100
|
"unitAlias": ""
|
101
101
|
},
|
102
102
|
{
|
103
|
-
"id":
|
103
|
+
"id": 49865,
|
104
104
|
"nodeType": "ImportDirective",
|
105
|
-
"src": "177:68:
|
105
|
+
"src": "177:68:126",
|
106
106
|
"nodes": [],
|
107
107
|
"absolutePath": "node_modules/@latticexyz/store/src/StoreSwitch.sol",
|
108
108
|
"file": "@latticexyz/store/src/StoreSwitch.sol",
|
109
109
|
"nameLocation": "-1:-1:-1",
|
110
|
-
"scope":
|
111
|
-
"sourceUnit":
|
110
|
+
"scope": 50177,
|
111
|
+
"sourceUnit": 33827,
|
112
112
|
"symbolAliases": [
|
113
113
|
{
|
114
114
|
"foreign": {
|
115
|
-
"id":
|
115
|
+
"id": 49864,
|
116
116
|
"name": "StoreSwitch",
|
117
117
|
"nodeType": "Identifier",
|
118
118
|
"overloadedDeclarations": [],
|
119
|
-
"referencedDeclaration":
|
120
|
-
"src": "186:11:
|
119
|
+
"referencedDeclaration": 33826,
|
120
|
+
"src": "186:11:126",
|
121
121
|
"typeDescriptions": {}
|
122
122
|
},
|
123
123
|
"nameLocation": "-1:-1:-1"
|
@@ -126,24 +126,24 @@
|
|
126
126
|
"unitAlias": ""
|
127
127
|
},
|
128
128
|
{
|
129
|
-
"id":
|
129
|
+
"id": 49867,
|
130
130
|
"nodeType": "ImportDirective",
|
131
|
-
"src": "246:66:
|
131
|
+
"src": "246:66:126",
|
132
132
|
"nodes": [],
|
133
133
|
"absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
|
134
134
|
"file": "@latticexyz/store/src/ResourceId.sol",
|
135
135
|
"nameLocation": "-1:-1:-1",
|
136
|
-
"scope":
|
137
|
-
"sourceUnit":
|
136
|
+
"scope": 50177,
|
137
|
+
"sourceUnit": 29211,
|
138
138
|
"symbolAliases": [
|
139
139
|
{
|
140
140
|
"foreign": {
|
141
|
-
"id":
|
141
|
+
"id": 49866,
|
142
142
|
"name": "ResourceId",
|
143
143
|
"nodeType": "Identifier",
|
144
144
|
"overloadedDeclarations": [],
|
145
|
-
"referencedDeclaration":
|
146
|
-
"src": "255:10:
|
145
|
+
"referencedDeclaration": 29139,
|
146
|
+
"src": "255:10:126",
|
147
147
|
"typeDescriptions": {}
|
148
148
|
},
|
149
149
|
"nameLocation": "-1:-1:-1"
|
@@ -152,24 +152,24 @@
|
|
152
152
|
"unitAlias": ""
|
153
153
|
},
|
154
154
|
{
|
155
|
-
"id":
|
155
|
+
"id": 49869,
|
156
156
|
"nodeType": "ImportDirective",
|
157
|
-
"src": "314:55:
|
157
|
+
"src": "314:55:126",
|
158
158
|
"nodes": [],
|
159
159
|
"absolutePath": "src/modules/keysintable/tables/KeysInTable.sol",
|
160
160
|
"file": "./tables/KeysInTable.sol",
|
161
161
|
"nameLocation": "-1:-1:-1",
|
162
|
-
"scope":
|
163
|
-
"sourceUnit":
|
162
|
+
"scope": 50177,
|
163
|
+
"sourceUnit": 57456,
|
164
164
|
"symbolAliases": [
|
165
165
|
{
|
166
166
|
"foreign": {
|
167
|
-
"id":
|
167
|
+
"id": 49868,
|
168
168
|
"name": "KeysInTable",
|
169
169
|
"nodeType": "Identifier",
|
170
170
|
"overloadedDeclarations": [],
|
171
|
-
"referencedDeclaration":
|
172
|
-
"src": "323:11:
|
171
|
+
"referencedDeclaration": 57455,
|
172
|
+
"src": "323:11:126",
|
173
173
|
"typeDescriptions": {}
|
174
174
|
},
|
175
175
|
"nameLocation": "-1:-1:-1"
|
@@ -178,53 +178,53 @@
|
|
178
178
|
"unitAlias": ""
|
179
179
|
},
|
180
180
|
{
|
181
|
-
"id":
|
181
|
+
"id": 50018,
|
182
182
|
"nodeType": "FunctionDefinition",
|
183
|
-
"src": "613:1028:
|
183
|
+
"src": "613:1028:126",
|
184
184
|
"nodes": [],
|
185
185
|
"body": {
|
186
|
-
"id":
|
186
|
+
"id": 50017,
|
187
187
|
"nodeType": "Block",
|
188
|
-
"src": "701:940:
|
188
|
+
"src": "701:940:126",
|
189
189
|
"nodes": [],
|
190
190
|
"statements": [
|
191
191
|
{
|
192
192
|
"assignments": [
|
193
|
-
|
193
|
+
49883
|
194
194
|
],
|
195
195
|
"declarations": [
|
196
196
|
{
|
197
197
|
"constant": false,
|
198
|
-
"id":
|
198
|
+
"id": 49883,
|
199
199
|
"mutability": "mutable",
|
200
200
|
"name": "keySchema",
|
201
|
-
"nameLocation": "786:9:
|
201
|
+
"nameLocation": "786:9:126",
|
202
202
|
"nodeType": "VariableDeclaration",
|
203
|
-
"scope":
|
204
|
-
"src": "779:16:
|
203
|
+
"scope": 50017,
|
204
|
+
"src": "779:16:126",
|
205
205
|
"stateVariable": false,
|
206
206
|
"storageLocation": "default",
|
207
207
|
"typeDescriptions": {
|
208
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
208
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$29222",
|
209
209
|
"typeString": "Schema"
|
210
210
|
},
|
211
211
|
"typeName": {
|
212
|
-
"id":
|
212
|
+
"id": 49882,
|
213
213
|
"nodeType": "UserDefinedTypeName",
|
214
214
|
"pathNode": {
|
215
|
-
"id":
|
215
|
+
"id": 49881,
|
216
216
|
"name": "Schema",
|
217
217
|
"nameLocations": [
|
218
|
-
"779:6:
|
218
|
+
"779:6:126"
|
219
219
|
],
|
220
220
|
"nodeType": "IdentifierPath",
|
221
|
-
"referencedDeclaration":
|
222
|
-
"src": "779:6:
|
221
|
+
"referencedDeclaration": 29222,
|
222
|
+
"src": "779:6:126"
|
223
223
|
},
|
224
|
-
"referencedDeclaration":
|
225
|
-
"src": "779:6:
|
224
|
+
"referencedDeclaration": 29222,
|
225
|
+
"src": "779:6:126",
|
226
226
|
"typeDescriptions": {
|
227
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
227
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$29222",
|
228
228
|
"typeString": "Schema"
|
229
229
|
}
|
230
230
|
},
|
@@ -232,18 +232,18 @@
|
|
232
232
|
}
|
233
233
|
],
|
234
234
|
"documentation": " Note: this module only supports up to 5 composite keys.",
|
235
|
-
"id":
|
235
|
+
"id": 49888,
|
236
236
|
"initialValue": {
|
237
237
|
"arguments": [
|
238
238
|
{
|
239
|
-
"id":
|
239
|
+
"id": 49886,
|
240
240
|
"name": "tableId",
|
241
241
|
"nodeType": "Identifier",
|
242
242
|
"overloadedDeclarations": [],
|
243
|
-
"referencedDeclaration":
|
244
|
-
"src": "823:7:
|
243
|
+
"referencedDeclaration": 49873,
|
244
|
+
"src": "823:7:126",
|
245
245
|
"typeDescriptions": {
|
246
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
246
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
247
247
|
"typeString": "ResourceId"
|
248
248
|
}
|
249
249
|
}
|
@@ -251,38 +251,38 @@
|
|
251
251
|
"expression": {
|
252
252
|
"argumentTypes": [
|
253
253
|
{
|
254
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
254
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
255
255
|
"typeString": "ResourceId"
|
256
256
|
}
|
257
257
|
],
|
258
258
|
"expression": {
|
259
|
-
"id":
|
259
|
+
"id": 49884,
|
260
260
|
"name": "StoreSwitch",
|
261
261
|
"nodeType": "Identifier",
|
262
262
|
"overloadedDeclarations": [],
|
263
|
-
"referencedDeclaration":
|
264
|
-
"src": "798:11:
|
263
|
+
"referencedDeclaration": 33826,
|
264
|
+
"src": "798:11:126",
|
265
265
|
"typeDescriptions": {
|
266
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
266
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33826_$",
|
267
267
|
"typeString": "type(library StoreSwitch)"
|
268
268
|
}
|
269
269
|
},
|
270
|
-
"id":
|
270
|
+
"id": 49885,
|
271
271
|
"isConstant": false,
|
272
272
|
"isLValue": false,
|
273
273
|
"isPure": false,
|
274
274
|
"lValueRequested": false,
|
275
|
-
"memberLocation": "810:12:
|
275
|
+
"memberLocation": "810:12:126",
|
276
276
|
"memberName": "getKeySchema",
|
277
277
|
"nodeType": "MemberAccess",
|
278
|
-
"referencedDeclaration":
|
279
|
-
"src": "798:24:
|
278
|
+
"referencedDeclaration": 32790,
|
279
|
+
"src": "798:24:126",
|
280
280
|
"typeDescriptions": {
|
281
|
-
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$
|
281
|
+
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$29139_$returns$_t_userDefinedValueType$_Schema_$29222_$",
|
282
282
|
"typeString": "function (ResourceId) view returns (Schema)"
|
283
283
|
}
|
284
284
|
},
|
285
|
-
"id":
|
285
|
+
"id": 49887,
|
286
286
|
"isConstant": false,
|
287
287
|
"isLValue": false,
|
288
288
|
"isPure": false,
|
@@ -291,30 +291,30 @@
|
|
291
291
|
"nameLocations": [],
|
292
292
|
"names": [],
|
293
293
|
"nodeType": "FunctionCall",
|
294
|
-
"src": "798:33:
|
294
|
+
"src": "798:33:126",
|
295
295
|
"tryCall": false,
|
296
296
|
"typeDescriptions": {
|
297
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
297
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$29222",
|
298
298
|
"typeString": "Schema"
|
299
299
|
}
|
300
300
|
},
|
301
301
|
"nodeType": "VariableDeclarationStatement",
|
302
|
-
"src": "779:52:
|
302
|
+
"src": "779:52:126"
|
303
303
|
},
|
304
304
|
{
|
305
305
|
"assignments": [
|
306
|
-
|
306
|
+
49890
|
307
307
|
],
|
308
308
|
"declarations": [
|
309
309
|
{
|
310
310
|
"constant": false,
|
311
|
-
"id":
|
311
|
+
"id": 49890,
|
312
312
|
"mutability": "mutable",
|
313
313
|
"name": "numFields",
|
314
|
-
"nameLocation": "843:9:
|
314
|
+
"nameLocation": "843:9:126",
|
315
315
|
"nodeType": "VariableDeclaration",
|
316
|
-
"scope":
|
317
|
-
"src": "835:17:
|
316
|
+
"scope": 50017,
|
317
|
+
"src": "835:17:126",
|
318
318
|
"stateVariable": false,
|
319
319
|
"storageLocation": "default",
|
320
320
|
"typeDescriptions": {
|
@@ -322,10 +322,10 @@
|
|
322
322
|
"typeString": "uint256"
|
323
323
|
},
|
324
324
|
"typeName": {
|
325
|
-
"id":
|
325
|
+
"id": 49889,
|
326
326
|
"name": "uint256",
|
327
327
|
"nodeType": "ElementaryTypeName",
|
328
|
-
"src": "835:7:
|
328
|
+
"src": "835:7:126",
|
329
329
|
"typeDescriptions": {
|
330
330
|
"typeIdentifier": "t_uint256",
|
331
331
|
"typeString": "uint256"
|
@@ -334,39 +334,39 @@
|
|
334
334
|
"visibility": "internal"
|
335
335
|
}
|
336
336
|
],
|
337
|
-
"id":
|
337
|
+
"id": 49894,
|
338
338
|
"initialValue": {
|
339
339
|
"arguments": [],
|
340
340
|
"expression": {
|
341
341
|
"argumentTypes": [],
|
342
342
|
"expression": {
|
343
|
-
"id":
|
343
|
+
"id": 49891,
|
344
344
|
"name": "keySchema",
|
345
345
|
"nodeType": "Identifier",
|
346
346
|
"overloadedDeclarations": [],
|
347
|
-
"referencedDeclaration":
|
348
|
-
"src": "855:9:
|
347
|
+
"referencedDeclaration": 49883,
|
348
|
+
"src": "855:9:126",
|
349
349
|
"typeDescriptions": {
|
350
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
350
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$29222",
|
351
351
|
"typeString": "Schema"
|
352
352
|
}
|
353
353
|
},
|
354
|
-
"id":
|
354
|
+
"id": 49892,
|
355
355
|
"isConstant": false,
|
356
356
|
"isLValue": false,
|
357
357
|
"isPure": false,
|
358
358
|
"lValueRequested": false,
|
359
|
-
"memberLocation": "865:9:
|
359
|
+
"memberLocation": "865:9:126",
|
360
360
|
"memberName": "numFields",
|
361
361
|
"nodeType": "MemberAccess",
|
362
|
-
"referencedDeclaration":
|
363
|
-
"src": "855:19:
|
362
|
+
"referencedDeclaration": 29518,
|
363
|
+
"src": "855:19:126",
|
364
364
|
"typeDescriptions": {
|
365
|
-
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Schema_$
|
365
|
+
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Schema_$29222_$returns$_t_uint256_$attached_to$_t_userDefinedValueType$_Schema_$29222_$",
|
366
366
|
"typeString": "function (Schema) pure returns (uint256)"
|
367
367
|
}
|
368
368
|
},
|
369
|
-
"id":
|
369
|
+
"id": 49893,
|
370
370
|
"isConstant": false,
|
371
371
|
"isLValue": false,
|
372
372
|
"isPure": false,
|
@@ -375,7 +375,7 @@
|
|
375
375
|
"nameLocations": [],
|
376
376
|
"names": [],
|
377
377
|
"nodeType": "FunctionCall",
|
378
|
-
"src": "855:21:
|
378
|
+
"src": "855:21:126",
|
379
379
|
"tryCall": false,
|
380
380
|
"typeDescriptions": {
|
381
381
|
"typeIdentifier": "t_uint256",
|
@@ -383,22 +383,22 @@
|
|
383
383
|
}
|
384
384
|
},
|
385
385
|
"nodeType": "VariableDeclarationStatement",
|
386
|
-
"src": "835:41:
|
386
|
+
"src": "835:41:126"
|
387
387
|
},
|
388
388
|
{
|
389
389
|
"assignments": [
|
390
|
-
|
390
|
+
49896
|
391
391
|
],
|
392
392
|
"declarations": [
|
393
393
|
{
|
394
394
|
"constant": false,
|
395
|
-
"id":
|
395
|
+
"id": 49896,
|
396
396
|
"mutability": "mutable",
|
397
397
|
"name": "length",
|
398
|
-
"nameLocation": "888:6:
|
398
|
+
"nameLocation": "888:6:126",
|
399
399
|
"nodeType": "VariableDeclaration",
|
400
|
-
"scope":
|
401
|
-
"src": "880:14:
|
400
|
+
"scope": 50017,
|
401
|
+
"src": "880:14:126",
|
402
402
|
"stateVariable": false,
|
403
403
|
"storageLocation": "default",
|
404
404
|
"typeDescriptions": {
|
@@ -406,10 +406,10 @@
|
|
406
406
|
"typeString": "uint256"
|
407
407
|
},
|
408
408
|
"typeName": {
|
409
|
-
"id":
|
409
|
+
"id": 49895,
|
410
410
|
"name": "uint256",
|
411
411
|
"nodeType": "ElementaryTypeName",
|
412
|
-
"src": "880:7:
|
412
|
+
"src": "880:7:126",
|
413
413
|
"typeDescriptions": {
|
414
414
|
"typeIdentifier": "t_uint256",
|
415
415
|
"typeString": "uint256"
|
@@ -418,18 +418,18 @@
|
|
418
418
|
"visibility": "internal"
|
419
419
|
}
|
420
420
|
],
|
421
|
-
"id":
|
421
|
+
"id": 49901,
|
422
422
|
"initialValue": {
|
423
423
|
"arguments": [
|
424
424
|
{
|
425
|
-
"id":
|
425
|
+
"id": 49899,
|
426
426
|
"name": "tableId",
|
427
427
|
"nodeType": "Identifier",
|
428
428
|
"overloadedDeclarations": [],
|
429
|
-
"referencedDeclaration":
|
430
|
-
"src": "921:7:
|
429
|
+
"referencedDeclaration": 49873,
|
430
|
+
"src": "921:7:126",
|
431
431
|
"typeDescriptions": {
|
432
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
432
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
433
433
|
"typeString": "ResourceId"
|
434
434
|
}
|
435
435
|
}
|
@@ -437,38 +437,38 @@
|
|
437
437
|
"expression": {
|
438
438
|
"argumentTypes": [
|
439
439
|
{
|
440
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
440
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
441
441
|
"typeString": "ResourceId"
|
442
442
|
}
|
443
443
|
],
|
444
444
|
"expression": {
|
445
|
-
"id":
|
445
|
+
"id": 49897,
|
446
446
|
"name": "KeysInTable",
|
447
447
|
"nodeType": "Identifier",
|
448
448
|
"overloadedDeclarations": [],
|
449
|
-
"referencedDeclaration":
|
450
|
-
"src": "897:11:
|
449
|
+
"referencedDeclaration": 57455,
|
450
|
+
"src": "897:11:126",
|
451
451
|
"typeDescriptions": {
|
452
|
-
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$
|
452
|
+
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$57455_$",
|
453
453
|
"typeString": "type(library KeysInTable)"
|
454
454
|
}
|
455
455
|
},
|
456
|
-
"id":
|
456
|
+
"id": 49898,
|
457
457
|
"isConstant": false,
|
458
458
|
"isLValue": false,
|
459
459
|
"isPure": false,
|
460
460
|
"lValueRequested": false,
|
461
|
-
"memberLocation": "909:11:
|
461
|
+
"memberLocation": "909:11:126",
|
462
462
|
"memberName": "lengthKeys0",
|
463
463
|
"nodeType": "MemberAccess",
|
464
|
-
"referencedDeclaration":
|
465
|
-
"src": "897:23:
|
464
|
+
"referencedDeclaration": 51530,
|
465
|
+
"src": "897:23:126",
|
466
466
|
"typeDescriptions": {
|
467
|
-
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$
|
467
|
+
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$29139_$returns$_t_uint256_$",
|
468
468
|
"typeString": "function (ResourceId) view returns (uint256)"
|
469
469
|
}
|
470
470
|
},
|
471
|
-
"id":
|
471
|
+
"id": 49900,
|
472
472
|
"isConstant": false,
|
473
473
|
"isLValue": false,
|
474
474
|
"isPure": false,
|
@@ -477,7 +477,7 @@
|
|
477
477
|
"nameLocations": [],
|
478
478
|
"names": [],
|
479
479
|
"nodeType": "FunctionCall",
|
480
|
-
"src": "897:32:
|
480
|
+
"src": "897:32:126",
|
481
481
|
"tryCall": false,
|
482
482
|
"typeDescriptions": {
|
483
483
|
"typeIdentifier": "t_uint256",
|
@@ -485,22 +485,22 @@
|
|
485
485
|
}
|
486
486
|
},
|
487
487
|
"nodeType": "VariableDeclarationStatement",
|
488
|
-
"src": "880:49:
|
488
|
+
"src": "880:49:126"
|
489
489
|
},
|
490
490
|
{
|
491
491
|
"expression": {
|
492
|
-
"id":
|
492
|
+
"id": 49909,
|
493
493
|
"isConstant": false,
|
494
494
|
"isLValue": false,
|
495
495
|
"isPure": false,
|
496
496
|
"lValueRequested": false,
|
497
497
|
"leftHandSide": {
|
498
|
-
"id":
|
498
|
+
"id": 49902,
|
499
499
|
"name": "keyTuples",
|
500
500
|
"nodeType": "Identifier",
|
501
501
|
"overloadedDeclarations": [],
|
502
|
-
"referencedDeclaration":
|
503
|
-
"src": "933:9:
|
502
|
+
"referencedDeclaration": 49878,
|
503
|
+
"src": "933:9:126",
|
504
504
|
"typeDescriptions": {
|
505
505
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
506
506
|
"typeString": "bytes32[] memory[] memory"
|
@@ -511,12 +511,12 @@
|
|
511
511
|
"rightHandSide": {
|
512
512
|
"arguments": [
|
513
513
|
{
|
514
|
-
"id":
|
514
|
+
"id": 49907,
|
515
515
|
"name": "length",
|
516
516
|
"nodeType": "Identifier",
|
517
517
|
"overloadedDeclarations": [],
|
518
|
-
"referencedDeclaration":
|
519
|
-
"src": "961:6:
|
518
|
+
"referencedDeclaration": 49896,
|
519
|
+
"src": "961:6:126",
|
520
520
|
"typeDescriptions": {
|
521
521
|
"typeIdentifier": "t_uint256",
|
522
522
|
"typeString": "uint256"
|
@@ -530,13 +530,13 @@
|
|
530
530
|
"typeString": "uint256"
|
531
531
|
}
|
532
532
|
],
|
533
|
-
"id":
|
533
|
+
"id": 49906,
|
534
534
|
"isConstant": false,
|
535
535
|
"isLValue": false,
|
536
536
|
"isPure": true,
|
537
537
|
"lValueRequested": false,
|
538
538
|
"nodeType": "NewExpression",
|
539
|
-
"src": "945:15:
|
539
|
+
"src": "945:15:126",
|
540
540
|
"typeDescriptions": {
|
541
541
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr_$",
|
542
542
|
"typeString": "function (uint256) pure returns (bytes32[] memory[] memory)"
|
@@ -544,33 +544,33 @@
|
|
544
544
|
"typeName": {
|
545
545
|
"baseType": {
|
546
546
|
"baseType": {
|
547
|
-
"id":
|
547
|
+
"id": 49903,
|
548
548
|
"name": "bytes32",
|
549
549
|
"nodeType": "ElementaryTypeName",
|
550
|
-
"src": "949:7:
|
550
|
+
"src": "949:7:126",
|
551
551
|
"typeDescriptions": {
|
552
552
|
"typeIdentifier": "t_bytes32",
|
553
553
|
"typeString": "bytes32"
|
554
554
|
}
|
555
555
|
},
|
556
|
-
"id":
|
556
|
+
"id": 49904,
|
557
557
|
"nodeType": "ArrayTypeName",
|
558
|
-
"src": "949:9:
|
558
|
+
"src": "949:9:126",
|
559
559
|
"typeDescriptions": {
|
560
560
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
561
561
|
"typeString": "bytes32[]"
|
562
562
|
}
|
563
563
|
},
|
564
|
-
"id":
|
564
|
+
"id": 49905,
|
565
565
|
"nodeType": "ArrayTypeName",
|
566
|
-
"src": "949:11:
|
566
|
+
"src": "949:11:126",
|
567
567
|
"typeDescriptions": {
|
568
568
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_storage_$dyn_storage_ptr",
|
569
569
|
"typeString": "bytes32[][]"
|
570
570
|
}
|
571
571
|
}
|
572
572
|
},
|
573
|
-
"id":
|
573
|
+
"id": 49908,
|
574
574
|
"isConstant": false,
|
575
575
|
"isLValue": false,
|
576
576
|
"isPure": false,
|
@@ -579,57 +579,57 @@
|
|
579
579
|
"nameLocations": [],
|
580
580
|
"names": [],
|
581
581
|
"nodeType": "FunctionCall",
|
582
|
-
"src": "945:23:
|
582
|
+
"src": "945:23:126",
|
583
583
|
"tryCall": false,
|
584
584
|
"typeDescriptions": {
|
585
585
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
586
586
|
"typeString": "bytes32[] memory[] memory"
|
587
587
|
}
|
588
588
|
},
|
589
|
-
"src": "933:35:
|
589
|
+
"src": "933:35:126",
|
590
590
|
"typeDescriptions": {
|
591
591
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
592
592
|
"typeString": "bytes32[] memory[] memory"
|
593
593
|
}
|
594
594
|
},
|
595
|
-
"id":
|
595
|
+
"id": 49910,
|
596
596
|
"nodeType": "ExpressionStatement",
|
597
|
-
"src": "933:35:
|
597
|
+
"src": "933:35:126"
|
598
598
|
},
|
599
599
|
{
|
600
600
|
"body": {
|
601
|
-
"id":
|
601
|
+
"id": 50015,
|
602
602
|
"nodeType": "Block",
|
603
|
-
"src": "1006:633:
|
603
|
+
"src": "1006:633:126",
|
604
604
|
"statements": [
|
605
605
|
{
|
606
606
|
"expression": {
|
607
|
-
"id":
|
607
|
+
"id": 49928,
|
608
608
|
"isConstant": false,
|
609
609
|
"isLValue": false,
|
610
610
|
"isPure": false,
|
611
611
|
"lValueRequested": false,
|
612
612
|
"leftHandSide": {
|
613
613
|
"baseExpression": {
|
614
|
-
"id":
|
614
|
+
"id": 49920,
|
615
615
|
"name": "keyTuples",
|
616
616
|
"nodeType": "Identifier",
|
617
617
|
"overloadedDeclarations": [],
|
618
|
-
"referencedDeclaration":
|
619
|
-
"src": "1012:9:
|
618
|
+
"referencedDeclaration": 49878,
|
619
|
+
"src": "1012:9:126",
|
620
620
|
"typeDescriptions": {
|
621
621
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
622
622
|
"typeString": "bytes32[] memory[] memory"
|
623
623
|
}
|
624
624
|
},
|
625
|
-
"id":
|
625
|
+
"id": 49922,
|
626
626
|
"indexExpression": {
|
627
|
-
"id":
|
627
|
+
"id": 49921,
|
628
628
|
"name": "i",
|
629
629
|
"nodeType": "Identifier",
|
630
630
|
"overloadedDeclarations": [],
|
631
|
-
"referencedDeclaration":
|
632
|
-
"src": "1022:1:
|
631
|
+
"referencedDeclaration": 49912,
|
632
|
+
"src": "1022:1:126",
|
633
633
|
"typeDescriptions": {
|
634
634
|
"typeIdentifier": "t_uint256",
|
635
635
|
"typeString": "uint256"
|
@@ -640,7 +640,7 @@
|
|
640
640
|
"isPure": false,
|
641
641
|
"lValueRequested": true,
|
642
642
|
"nodeType": "IndexAccess",
|
643
|
-
"src": "1012:12:
|
643
|
+
"src": "1012:12:126",
|
644
644
|
"typeDescriptions": {
|
645
645
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
646
646
|
"typeString": "bytes32[] memory"
|
@@ -651,12 +651,12 @@
|
|
651
651
|
"rightHandSide": {
|
652
652
|
"arguments": [
|
653
653
|
{
|
654
|
-
"id":
|
654
|
+
"id": 49926,
|
655
655
|
"name": "numFields",
|
656
656
|
"nodeType": "Identifier",
|
657
657
|
"overloadedDeclarations": [],
|
658
|
-
"referencedDeclaration":
|
659
|
-
"src": "1041:9:
|
658
|
+
"referencedDeclaration": 49890,
|
659
|
+
"src": "1041:9:126",
|
660
660
|
"typeDescriptions": {
|
661
661
|
"typeIdentifier": "t_uint256",
|
662
662
|
"typeString": "uint256"
|
@@ -670,38 +670,38 @@
|
|
670
670
|
"typeString": "uint256"
|
671
671
|
}
|
672
672
|
],
|
673
|
-
"id":
|
673
|
+
"id": 49925,
|
674
674
|
"isConstant": false,
|
675
675
|
"isLValue": false,
|
676
676
|
"isPure": true,
|
677
677
|
"lValueRequested": false,
|
678
678
|
"nodeType": "NewExpression",
|
679
|
-
"src": "1027:13:
|
679
|
+
"src": "1027:13:126",
|
680
680
|
"typeDescriptions": {
|
681
681
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
682
682
|
"typeString": "function (uint256) pure returns (bytes32[] memory)"
|
683
683
|
},
|
684
684
|
"typeName": {
|
685
685
|
"baseType": {
|
686
|
-
"id":
|
686
|
+
"id": 49923,
|
687
687
|
"name": "bytes32",
|
688
688
|
"nodeType": "ElementaryTypeName",
|
689
|
-
"src": "1031:7:
|
689
|
+
"src": "1031:7:126",
|
690
690
|
"typeDescriptions": {
|
691
691
|
"typeIdentifier": "t_bytes32",
|
692
692
|
"typeString": "bytes32"
|
693
693
|
}
|
694
694
|
},
|
695
|
-
"id":
|
695
|
+
"id": 49924,
|
696
696
|
"nodeType": "ArrayTypeName",
|
697
|
-
"src": "1031:9:
|
697
|
+
"src": "1031:9:126",
|
698
698
|
"typeDescriptions": {
|
699
699
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
700
700
|
"typeString": "bytes32[]"
|
701
701
|
}
|
702
702
|
}
|
703
703
|
},
|
704
|
-
"id":
|
704
|
+
"id": 49927,
|
705
705
|
"isConstant": false,
|
706
706
|
"isLValue": false,
|
707
707
|
"isPure": false,
|
@@ -710,22 +710,22 @@
|
|
710
710
|
"nameLocations": [],
|
711
711
|
"names": [],
|
712
712
|
"nodeType": "FunctionCall",
|
713
|
-
"src": "1027:24:
|
713
|
+
"src": "1027:24:126",
|
714
714
|
"tryCall": false,
|
715
715
|
"typeDescriptions": {
|
716
716
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
717
717
|
"typeString": "bytes32[] memory"
|
718
718
|
}
|
719
719
|
},
|
720
|
-
"src": "1012:39:
|
720
|
+
"src": "1012:39:126",
|
721
721
|
"typeDescriptions": {
|
722
722
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
723
723
|
"typeString": "bytes32[] memory"
|
724
724
|
}
|
725
725
|
},
|
726
|
-
"id":
|
726
|
+
"id": 49929,
|
727
727
|
"nodeType": "ExpressionStatement",
|
728
|
-
"src": "1012:39:
|
728
|
+
"src": "1012:39:126"
|
729
729
|
},
|
730
730
|
{
|
731
731
|
"condition": {
|
@@ -733,18 +733,18 @@
|
|
733
733
|
"typeIdentifier": "t_uint256",
|
734
734
|
"typeString": "uint256"
|
735
735
|
},
|
736
|
-
"id":
|
736
|
+
"id": 49932,
|
737
737
|
"isConstant": false,
|
738
738
|
"isLValue": false,
|
739
739
|
"isPure": false,
|
740
740
|
"lValueRequested": false,
|
741
741
|
"leftExpression": {
|
742
|
-
"id":
|
742
|
+
"id": 49930,
|
743
743
|
"name": "numFields",
|
744
744
|
"nodeType": "Identifier",
|
745
745
|
"overloadedDeclarations": [],
|
746
|
-
"referencedDeclaration":
|
747
|
-
"src": "1119:9:
|
746
|
+
"referencedDeclaration": 49890,
|
747
|
+
"src": "1119:9:126",
|
748
748
|
"typeDescriptions": {
|
749
749
|
"typeIdentifier": "t_uint256",
|
750
750
|
"typeString": "uint256"
|
@@ -754,37 +754,37 @@
|
|
754
754
|
"operator": ">",
|
755
755
|
"rightExpression": {
|
756
756
|
"hexValue": "30",
|
757
|
-
"id":
|
757
|
+
"id": 49931,
|
758
758
|
"isConstant": false,
|
759
759
|
"isLValue": false,
|
760
760
|
"isPure": true,
|
761
761
|
"kind": "number",
|
762
762
|
"lValueRequested": false,
|
763
763
|
"nodeType": "Literal",
|
764
|
-
"src": "1131:1:
|
764
|
+
"src": "1131:1:126",
|
765
765
|
"typeDescriptions": {
|
766
766
|
"typeIdentifier": "t_rational_0_by_1",
|
767
767
|
"typeString": "int_const 0"
|
768
768
|
},
|
769
769
|
"value": "0"
|
770
770
|
},
|
771
|
-
"src": "1119:13:
|
771
|
+
"src": "1119:13:126",
|
772
772
|
"typeDescriptions": {
|
773
773
|
"typeIdentifier": "t_bool",
|
774
774
|
"typeString": "bool"
|
775
775
|
}
|
776
776
|
},
|
777
|
-
"id":
|
777
|
+
"id": 50014,
|
778
778
|
"nodeType": "IfStatement",
|
779
|
-
"src": "1115:520:
|
779
|
+
"src": "1115:520:126",
|
780
780
|
"trueBody": {
|
781
|
-
"id":
|
781
|
+
"id": 50013,
|
782
782
|
"nodeType": "Block",
|
783
|
-
"src": "1134:501:
|
783
|
+
"src": "1134:501:126",
|
784
784
|
"statements": [
|
785
785
|
{
|
786
786
|
"expression": {
|
787
|
-
"id":
|
787
|
+
"id": 49943,
|
788
788
|
"isConstant": false,
|
789
789
|
"isLValue": false,
|
790
790
|
"isPure": false,
|
@@ -792,25 +792,25 @@
|
|
792
792
|
"leftHandSide": {
|
793
793
|
"baseExpression": {
|
794
794
|
"baseExpression": {
|
795
|
-
"id":
|
795
|
+
"id": 49933,
|
796
796
|
"name": "keyTuples",
|
797
797
|
"nodeType": "Identifier",
|
798
798
|
"overloadedDeclarations": [],
|
799
|
-
"referencedDeclaration":
|
800
|
-
"src": "1142:9:
|
799
|
+
"referencedDeclaration": 49878,
|
800
|
+
"src": "1142:9:126",
|
801
801
|
"typeDescriptions": {
|
802
802
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
803
803
|
"typeString": "bytes32[] memory[] memory"
|
804
804
|
}
|
805
805
|
},
|
806
|
-
"id":
|
806
|
+
"id": 49936,
|
807
807
|
"indexExpression": {
|
808
|
-
"id":
|
808
|
+
"id": 49934,
|
809
809
|
"name": "i",
|
810
810
|
"nodeType": "Identifier",
|
811
811
|
"overloadedDeclarations": [],
|
812
|
-
"referencedDeclaration":
|
813
|
-
"src": "1152:1:
|
812
|
+
"referencedDeclaration": 49912,
|
813
|
+
"src": "1152:1:126",
|
814
814
|
"typeDescriptions": {
|
815
815
|
"typeIdentifier": "t_uint256",
|
816
816
|
"typeString": "uint256"
|
@@ -821,23 +821,23 @@
|
|
821
821
|
"isPure": false,
|
822
822
|
"lValueRequested": false,
|
823
823
|
"nodeType": "IndexAccess",
|
824
|
-
"src": "1142:12:
|
824
|
+
"src": "1142:12:126",
|
825
825
|
"typeDescriptions": {
|
826
826
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
827
827
|
"typeString": "bytes32[] memory"
|
828
828
|
}
|
829
829
|
},
|
830
|
-
"id":
|
830
|
+
"id": 49937,
|
831
831
|
"indexExpression": {
|
832
832
|
"hexValue": "30",
|
833
|
-
"id":
|
833
|
+
"id": 49935,
|
834
834
|
"isConstant": false,
|
835
835
|
"isLValue": false,
|
836
836
|
"isPure": true,
|
837
837
|
"kind": "number",
|
838
838
|
"lValueRequested": false,
|
839
839
|
"nodeType": "Literal",
|
840
|
-
"src": "1155:1:
|
840
|
+
"src": "1155:1:126",
|
841
841
|
"typeDescriptions": {
|
842
842
|
"typeIdentifier": "t_rational_0_by_1",
|
843
843
|
"typeString": "int_const 0"
|
@@ -849,7 +849,7 @@
|
|
849
849
|
"isPure": false,
|
850
850
|
"lValueRequested": true,
|
851
851
|
"nodeType": "IndexAccess",
|
852
|
-
"src": "1142:15:
|
852
|
+
"src": "1142:15:126",
|
853
853
|
"typeDescriptions": {
|
854
854
|
"typeIdentifier": "t_bytes32",
|
855
855
|
"typeString": "bytes32"
|
@@ -860,24 +860,24 @@
|
|
860
860
|
"rightHandSide": {
|
861
861
|
"arguments": [
|
862
862
|
{
|
863
|
-
"id":
|
863
|
+
"id": 49940,
|
864
864
|
"name": "tableId",
|
865
865
|
"nodeType": "Identifier",
|
866
866
|
"overloadedDeclarations": [],
|
867
|
-
"referencedDeclaration":
|
868
|
-
"src": "1185:7:
|
867
|
+
"referencedDeclaration": 49873,
|
868
|
+
"src": "1185:7:126",
|
869
869
|
"typeDescriptions": {
|
870
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
870
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
871
871
|
"typeString": "ResourceId"
|
872
872
|
}
|
873
873
|
},
|
874
874
|
{
|
875
|
-
"id":
|
875
|
+
"id": 49941,
|
876
876
|
"name": "i",
|
877
877
|
"nodeType": "Identifier",
|
878
878
|
"overloadedDeclarations": [],
|
879
|
-
"referencedDeclaration":
|
880
|
-
"src": "1194:1:
|
879
|
+
"referencedDeclaration": 49912,
|
880
|
+
"src": "1194:1:126",
|
881
881
|
"typeDescriptions": {
|
882
882
|
"typeIdentifier": "t_uint256",
|
883
883
|
"typeString": "uint256"
|
@@ -887,7 +887,7 @@
|
|
887
887
|
"expression": {
|
888
888
|
"argumentTypes": [
|
889
889
|
{
|
890
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
890
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
891
891
|
"typeString": "ResourceId"
|
892
892
|
},
|
893
893
|
{
|
@@ -896,33 +896,33 @@
|
|
896
896
|
}
|
897
897
|
],
|
898
898
|
"expression": {
|
899
|
-
"id":
|
899
|
+
"id": 49938,
|
900
900
|
"name": "KeysInTable",
|
901
901
|
"nodeType": "Identifier",
|
902
902
|
"overloadedDeclarations": [],
|
903
|
-
"referencedDeclaration":
|
904
|
-
"src": "1160:11:
|
903
|
+
"referencedDeclaration": 57455,
|
904
|
+
"src": "1160:11:126",
|
905
905
|
"typeDescriptions": {
|
906
|
-
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$
|
906
|
+
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$57455_$",
|
907
907
|
"typeString": "type(library KeysInTable)"
|
908
908
|
}
|
909
909
|
},
|
910
|
-
"id":
|
910
|
+
"id": 49939,
|
911
911
|
"isConstant": false,
|
912
912
|
"isLValue": false,
|
913
913
|
"isPure": false,
|
914
914
|
"lValueRequested": false,
|
915
|
-
"memberLocation": "1172:12:
|
915
|
+
"memberLocation": "1172:12:126",
|
916
916
|
"memberName": "getItemKeys0",
|
917
917
|
"nodeType": "MemberAccess",
|
918
|
-
"referencedDeclaration":
|
919
|
-
"src": "1160:24:
|
918
|
+
"referencedDeclaration": 51678,
|
919
|
+
"src": "1160:24:126",
|
920
920
|
"typeDescriptions": {
|
921
|
-
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$
|
921
|
+
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$29139_$_t_uint256_$returns$_t_bytes32_$",
|
922
922
|
"typeString": "function (ResourceId,uint256) view returns (bytes32)"
|
923
923
|
}
|
924
924
|
},
|
925
|
-
"id":
|
925
|
+
"id": 49942,
|
926
926
|
"isConstant": false,
|
927
927
|
"isLValue": false,
|
928
928
|
"isPure": false,
|
@@ -931,22 +931,22 @@
|
|
931
931
|
"nameLocations": [],
|
932
932
|
"names": [],
|
933
933
|
"nodeType": "FunctionCall",
|
934
|
-
"src": "1160:36:
|
934
|
+
"src": "1160:36:126",
|
935
935
|
"tryCall": false,
|
936
936
|
"typeDescriptions": {
|
937
937
|
"typeIdentifier": "t_bytes32",
|
938
938
|
"typeString": "bytes32"
|
939
939
|
}
|
940
940
|
},
|
941
|
-
"src": "1142:54:
|
941
|
+
"src": "1142:54:126",
|
942
942
|
"typeDescriptions": {
|
943
943
|
"typeIdentifier": "t_bytes32",
|
944
944
|
"typeString": "bytes32"
|
945
945
|
}
|
946
946
|
},
|
947
|
-
"id":
|
947
|
+
"id": 49944,
|
948
948
|
"nodeType": "ExpressionStatement",
|
949
|
-
"src": "1142:54:
|
949
|
+
"src": "1142:54:126"
|
950
950
|
},
|
951
951
|
{
|
952
952
|
"condition": {
|
@@ -954,18 +954,18 @@
|
|
954
954
|
"typeIdentifier": "t_uint256",
|
955
955
|
"typeString": "uint256"
|
956
956
|
},
|
957
|
-
"id":
|
957
|
+
"id": 49947,
|
958
958
|
"isConstant": false,
|
959
959
|
"isLValue": false,
|
960
960
|
"isPure": false,
|
961
961
|
"lValueRequested": false,
|
962
962
|
"leftExpression": {
|
963
|
-
"id":
|
963
|
+
"id": 49945,
|
964
964
|
"name": "numFields",
|
965
965
|
"nodeType": "Identifier",
|
966
966
|
"overloadedDeclarations": [],
|
967
|
-
"referencedDeclaration":
|
968
|
-
"src": "1208:9:
|
967
|
+
"referencedDeclaration": 49890,
|
968
|
+
"src": "1208:9:126",
|
969
969
|
"typeDescriptions": {
|
970
970
|
"typeIdentifier": "t_uint256",
|
971
971
|
"typeString": "uint256"
|
@@ -975,37 +975,37 @@
|
|
975
975
|
"operator": ">",
|
976
976
|
"rightExpression": {
|
977
977
|
"hexValue": "31",
|
978
|
-
"id":
|
978
|
+
"id": 49946,
|
979
979
|
"isConstant": false,
|
980
980
|
"isLValue": false,
|
981
981
|
"isPure": true,
|
982
982
|
"kind": "number",
|
983
983
|
"lValueRequested": false,
|
984
984
|
"nodeType": "Literal",
|
985
|
-
"src": "1220:1:
|
985
|
+
"src": "1220:1:126",
|
986
986
|
"typeDescriptions": {
|
987
987
|
"typeIdentifier": "t_rational_1_by_1",
|
988
988
|
"typeString": "int_const 1"
|
989
989
|
},
|
990
990
|
"value": "1"
|
991
991
|
},
|
992
|
-
"src": "1208:13:
|
992
|
+
"src": "1208:13:126",
|
993
993
|
"typeDescriptions": {
|
994
994
|
"typeIdentifier": "t_bool",
|
995
995
|
"typeString": "bool"
|
996
996
|
}
|
997
997
|
},
|
998
|
-
"id":
|
998
|
+
"id": 50012,
|
999
999
|
"nodeType": "IfStatement",
|
1000
|
-
"src": "1204:425:
|
1000
|
+
"src": "1204:425:126",
|
1001
1001
|
"trueBody": {
|
1002
|
-
"id":
|
1002
|
+
"id": 50011,
|
1003
1003
|
"nodeType": "Block",
|
1004
|
-
"src": "1223:406:
|
1004
|
+
"src": "1223:406:126",
|
1005
1005
|
"statements": [
|
1006
1006
|
{
|
1007
1007
|
"expression": {
|
1008
|
-
"id":
|
1008
|
+
"id": 49958,
|
1009
1009
|
"isConstant": false,
|
1010
1010
|
"isLValue": false,
|
1011
1011
|
"isPure": false,
|
@@ -1013,25 +1013,25 @@
|
|
1013
1013
|
"leftHandSide": {
|
1014
1014
|
"baseExpression": {
|
1015
1015
|
"baseExpression": {
|
1016
|
-
"id":
|
1016
|
+
"id": 49948,
|
1017
1017
|
"name": "keyTuples",
|
1018
1018
|
"nodeType": "Identifier",
|
1019
1019
|
"overloadedDeclarations": [],
|
1020
|
-
"referencedDeclaration":
|
1021
|
-
"src": "1233:9:
|
1020
|
+
"referencedDeclaration": 49878,
|
1021
|
+
"src": "1233:9:126",
|
1022
1022
|
"typeDescriptions": {
|
1023
1023
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
1024
1024
|
"typeString": "bytes32[] memory[] memory"
|
1025
1025
|
}
|
1026
1026
|
},
|
1027
|
-
"id":
|
1027
|
+
"id": 49951,
|
1028
1028
|
"indexExpression": {
|
1029
|
-
"id":
|
1029
|
+
"id": 49949,
|
1030
1030
|
"name": "i",
|
1031
1031
|
"nodeType": "Identifier",
|
1032
1032
|
"overloadedDeclarations": [],
|
1033
|
-
"referencedDeclaration":
|
1034
|
-
"src": "1243:1:
|
1033
|
+
"referencedDeclaration": 49912,
|
1034
|
+
"src": "1243:1:126",
|
1035
1035
|
"typeDescriptions": {
|
1036
1036
|
"typeIdentifier": "t_uint256",
|
1037
1037
|
"typeString": "uint256"
|
@@ -1042,23 +1042,23 @@
|
|
1042
1042
|
"isPure": false,
|
1043
1043
|
"lValueRequested": false,
|
1044
1044
|
"nodeType": "IndexAccess",
|
1045
|
-
"src": "1233:12:
|
1045
|
+
"src": "1233:12:126",
|
1046
1046
|
"typeDescriptions": {
|
1047
1047
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
1048
1048
|
"typeString": "bytes32[] memory"
|
1049
1049
|
}
|
1050
1050
|
},
|
1051
|
-
"id":
|
1051
|
+
"id": 49952,
|
1052
1052
|
"indexExpression": {
|
1053
1053
|
"hexValue": "31",
|
1054
|
-
"id":
|
1054
|
+
"id": 49950,
|
1055
1055
|
"isConstant": false,
|
1056
1056
|
"isLValue": false,
|
1057
1057
|
"isPure": true,
|
1058
1058
|
"kind": "number",
|
1059
1059
|
"lValueRequested": false,
|
1060
1060
|
"nodeType": "Literal",
|
1061
|
-
"src": "1246:1:
|
1061
|
+
"src": "1246:1:126",
|
1062
1062
|
"typeDescriptions": {
|
1063
1063
|
"typeIdentifier": "t_rational_1_by_1",
|
1064
1064
|
"typeString": "int_const 1"
|
@@ -1070,7 +1070,7 @@
|
|
1070
1070
|
"isPure": false,
|
1071
1071
|
"lValueRequested": true,
|
1072
1072
|
"nodeType": "IndexAccess",
|
1073
|
-
"src": "1233:15:
|
1073
|
+
"src": "1233:15:126",
|
1074
1074
|
"typeDescriptions": {
|
1075
1075
|
"typeIdentifier": "t_bytes32",
|
1076
1076
|
"typeString": "bytes32"
|
@@ -1081,24 +1081,24 @@
|
|
1081
1081
|
"rightHandSide": {
|
1082
1082
|
"arguments": [
|
1083
1083
|
{
|
1084
|
-
"id":
|
1084
|
+
"id": 49955,
|
1085
1085
|
"name": "tableId",
|
1086
1086
|
"nodeType": "Identifier",
|
1087
1087
|
"overloadedDeclarations": [],
|
1088
|
-
"referencedDeclaration":
|
1089
|
-
"src": "1276:7:
|
1088
|
+
"referencedDeclaration": 49873,
|
1089
|
+
"src": "1276:7:126",
|
1090
1090
|
"typeDescriptions": {
|
1091
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1091
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1092
1092
|
"typeString": "ResourceId"
|
1093
1093
|
}
|
1094
1094
|
},
|
1095
1095
|
{
|
1096
|
-
"id":
|
1096
|
+
"id": 49956,
|
1097
1097
|
"name": "i",
|
1098
1098
|
"nodeType": "Identifier",
|
1099
1099
|
"overloadedDeclarations": [],
|
1100
|
-
"referencedDeclaration":
|
1101
|
-
"src": "1285:1:
|
1100
|
+
"referencedDeclaration": 49912,
|
1101
|
+
"src": "1285:1:126",
|
1102
1102
|
"typeDescriptions": {
|
1103
1103
|
"typeIdentifier": "t_uint256",
|
1104
1104
|
"typeString": "uint256"
|
@@ -1108,7 +1108,7 @@
|
|
1108
1108
|
"expression": {
|
1109
1109
|
"argumentTypes": [
|
1110
1110
|
{
|
1111
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1111
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1112
1112
|
"typeString": "ResourceId"
|
1113
1113
|
},
|
1114
1114
|
{
|
@@ -1117,33 +1117,33 @@
|
|
1117
1117
|
}
|
1118
1118
|
],
|
1119
1119
|
"expression": {
|
1120
|
-
"id":
|
1120
|
+
"id": 49953,
|
1121
1121
|
"name": "KeysInTable",
|
1122
1122
|
"nodeType": "Identifier",
|
1123
1123
|
"overloadedDeclarations": [],
|
1124
|
-
"referencedDeclaration":
|
1125
|
-
"src": "1251:11:
|
1124
|
+
"referencedDeclaration": 57455,
|
1125
|
+
"src": "1251:11:126",
|
1126
1126
|
"typeDescriptions": {
|
1127
|
-
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$
|
1127
|
+
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$57455_$",
|
1128
1128
|
"typeString": "type(library KeysInTable)"
|
1129
1129
|
}
|
1130
1130
|
},
|
1131
|
-
"id":
|
1131
|
+
"id": 49954,
|
1132
1132
|
"isConstant": false,
|
1133
1133
|
"isLValue": false,
|
1134
1134
|
"isPure": false,
|
1135
1135
|
"lValueRequested": false,
|
1136
|
-
"memberLocation": "1263:12:
|
1136
|
+
"memberLocation": "1263:12:126",
|
1137
1137
|
"memberName": "getItemKeys1",
|
1138
1138
|
"nodeType": "MemberAccess",
|
1139
|
-
"referencedDeclaration":
|
1140
|
-
"src": "1251:24:
|
1139
|
+
"referencedDeclaration": 52710,
|
1140
|
+
"src": "1251:24:126",
|
1141
1141
|
"typeDescriptions": {
|
1142
|
-
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$
|
1142
|
+
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$29139_$_t_uint256_$returns$_t_bytes32_$",
|
1143
1143
|
"typeString": "function (ResourceId,uint256) view returns (bytes32)"
|
1144
1144
|
}
|
1145
1145
|
},
|
1146
|
-
"id":
|
1146
|
+
"id": 49957,
|
1147
1147
|
"isConstant": false,
|
1148
1148
|
"isLValue": false,
|
1149
1149
|
"isPure": false,
|
@@ -1152,22 +1152,22 @@
|
|
1152
1152
|
"nameLocations": [],
|
1153
1153
|
"names": [],
|
1154
1154
|
"nodeType": "FunctionCall",
|
1155
|
-
"src": "1251:36:
|
1155
|
+
"src": "1251:36:126",
|
1156
1156
|
"tryCall": false,
|
1157
1157
|
"typeDescriptions": {
|
1158
1158
|
"typeIdentifier": "t_bytes32",
|
1159
1159
|
"typeString": "bytes32"
|
1160
1160
|
}
|
1161
1161
|
},
|
1162
|
-
"src": "1233:54:
|
1162
|
+
"src": "1233:54:126",
|
1163
1163
|
"typeDescriptions": {
|
1164
1164
|
"typeIdentifier": "t_bytes32",
|
1165
1165
|
"typeString": "bytes32"
|
1166
1166
|
}
|
1167
1167
|
},
|
1168
|
-
"id":
|
1168
|
+
"id": 49959,
|
1169
1169
|
"nodeType": "ExpressionStatement",
|
1170
|
-
"src": "1233:54:
|
1170
|
+
"src": "1233:54:126"
|
1171
1171
|
},
|
1172
1172
|
{
|
1173
1173
|
"condition": {
|
@@ -1175,18 +1175,18 @@
|
|
1175
1175
|
"typeIdentifier": "t_uint256",
|
1176
1176
|
"typeString": "uint256"
|
1177
1177
|
},
|
1178
|
-
"id":
|
1178
|
+
"id": 49962,
|
1179
1179
|
"isConstant": false,
|
1180
1180
|
"isLValue": false,
|
1181
1181
|
"isPure": false,
|
1182
1182
|
"lValueRequested": false,
|
1183
1183
|
"leftExpression": {
|
1184
|
-
"id":
|
1184
|
+
"id": 49960,
|
1185
1185
|
"name": "numFields",
|
1186
1186
|
"nodeType": "Identifier",
|
1187
1187
|
"overloadedDeclarations": [],
|
1188
|
-
"referencedDeclaration":
|
1189
|
-
"src": "1301:9:
|
1188
|
+
"referencedDeclaration": 49890,
|
1189
|
+
"src": "1301:9:126",
|
1190
1190
|
"typeDescriptions": {
|
1191
1191
|
"typeIdentifier": "t_uint256",
|
1192
1192
|
"typeString": "uint256"
|
@@ -1196,37 +1196,37 @@
|
|
1196
1196
|
"operator": ">",
|
1197
1197
|
"rightExpression": {
|
1198
1198
|
"hexValue": "32",
|
1199
|
-
"id":
|
1199
|
+
"id": 49961,
|
1200
1200
|
"isConstant": false,
|
1201
1201
|
"isLValue": false,
|
1202
1202
|
"isPure": true,
|
1203
1203
|
"kind": "number",
|
1204
1204
|
"lValueRequested": false,
|
1205
1205
|
"nodeType": "Literal",
|
1206
|
-
"src": "1313:1:
|
1206
|
+
"src": "1313:1:126",
|
1207
1207
|
"typeDescriptions": {
|
1208
1208
|
"typeIdentifier": "t_rational_2_by_1",
|
1209
1209
|
"typeString": "int_const 2"
|
1210
1210
|
},
|
1211
1211
|
"value": "2"
|
1212
1212
|
},
|
1213
|
-
"src": "1301:13:
|
1213
|
+
"src": "1301:13:126",
|
1214
1214
|
"typeDescriptions": {
|
1215
1215
|
"typeIdentifier": "t_bool",
|
1216
1216
|
"typeString": "bool"
|
1217
1217
|
}
|
1218
1218
|
},
|
1219
|
-
"id":
|
1219
|
+
"id": 50010,
|
1220
1220
|
"nodeType": "IfStatement",
|
1221
|
-
"src": "1297:324:
|
1221
|
+
"src": "1297:324:126",
|
1222
1222
|
"trueBody": {
|
1223
|
-
"id":
|
1223
|
+
"id": 50009,
|
1224
1224
|
"nodeType": "Block",
|
1225
|
-
"src": "1316:305:
|
1225
|
+
"src": "1316:305:126",
|
1226
1226
|
"statements": [
|
1227
1227
|
{
|
1228
1228
|
"expression": {
|
1229
|
-
"id":
|
1229
|
+
"id": 49973,
|
1230
1230
|
"isConstant": false,
|
1231
1231
|
"isLValue": false,
|
1232
1232
|
"isPure": false,
|
@@ -1234,25 +1234,25 @@
|
|
1234
1234
|
"leftHandSide": {
|
1235
1235
|
"baseExpression": {
|
1236
1236
|
"baseExpression": {
|
1237
|
-
"id":
|
1237
|
+
"id": 49963,
|
1238
1238
|
"name": "keyTuples",
|
1239
1239
|
"nodeType": "Identifier",
|
1240
1240
|
"overloadedDeclarations": [],
|
1241
|
-
"referencedDeclaration":
|
1242
|
-
"src": "1328:9:
|
1241
|
+
"referencedDeclaration": 49878,
|
1242
|
+
"src": "1328:9:126",
|
1243
1243
|
"typeDescriptions": {
|
1244
1244
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
1245
1245
|
"typeString": "bytes32[] memory[] memory"
|
1246
1246
|
}
|
1247
1247
|
},
|
1248
|
-
"id":
|
1248
|
+
"id": 49966,
|
1249
1249
|
"indexExpression": {
|
1250
|
-
"id":
|
1250
|
+
"id": 49964,
|
1251
1251
|
"name": "i",
|
1252
1252
|
"nodeType": "Identifier",
|
1253
1253
|
"overloadedDeclarations": [],
|
1254
|
-
"referencedDeclaration":
|
1255
|
-
"src": "1338:1:
|
1254
|
+
"referencedDeclaration": 49912,
|
1255
|
+
"src": "1338:1:126",
|
1256
1256
|
"typeDescriptions": {
|
1257
1257
|
"typeIdentifier": "t_uint256",
|
1258
1258
|
"typeString": "uint256"
|
@@ -1263,23 +1263,23 @@
|
|
1263
1263
|
"isPure": false,
|
1264
1264
|
"lValueRequested": false,
|
1265
1265
|
"nodeType": "IndexAccess",
|
1266
|
-
"src": "1328:12:
|
1266
|
+
"src": "1328:12:126",
|
1267
1267
|
"typeDescriptions": {
|
1268
1268
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
1269
1269
|
"typeString": "bytes32[] memory"
|
1270
1270
|
}
|
1271
1271
|
},
|
1272
|
-
"id":
|
1272
|
+
"id": 49967,
|
1273
1273
|
"indexExpression": {
|
1274
1274
|
"hexValue": "32",
|
1275
|
-
"id":
|
1275
|
+
"id": 49965,
|
1276
1276
|
"isConstant": false,
|
1277
1277
|
"isLValue": false,
|
1278
1278
|
"isPure": true,
|
1279
1279
|
"kind": "number",
|
1280
1280
|
"lValueRequested": false,
|
1281
1281
|
"nodeType": "Literal",
|
1282
|
-
"src": "1341:1:
|
1282
|
+
"src": "1341:1:126",
|
1283
1283
|
"typeDescriptions": {
|
1284
1284
|
"typeIdentifier": "t_rational_2_by_1",
|
1285
1285
|
"typeString": "int_const 2"
|
@@ -1291,7 +1291,7 @@
|
|
1291
1291
|
"isPure": false,
|
1292
1292
|
"lValueRequested": true,
|
1293
1293
|
"nodeType": "IndexAccess",
|
1294
|
-
"src": "1328:15:
|
1294
|
+
"src": "1328:15:126",
|
1295
1295
|
"typeDescriptions": {
|
1296
1296
|
"typeIdentifier": "t_bytes32",
|
1297
1297
|
"typeString": "bytes32"
|
@@ -1302,24 +1302,24 @@
|
|
1302
1302
|
"rightHandSide": {
|
1303
1303
|
"arguments": [
|
1304
1304
|
{
|
1305
|
-
"id":
|
1305
|
+
"id": 49970,
|
1306
1306
|
"name": "tableId",
|
1307
1307
|
"nodeType": "Identifier",
|
1308
1308
|
"overloadedDeclarations": [],
|
1309
|
-
"referencedDeclaration":
|
1310
|
-
"src": "1371:7:
|
1309
|
+
"referencedDeclaration": 49873,
|
1310
|
+
"src": "1371:7:126",
|
1311
1311
|
"typeDescriptions": {
|
1312
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1312
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1313
1313
|
"typeString": "ResourceId"
|
1314
1314
|
}
|
1315
1315
|
},
|
1316
1316
|
{
|
1317
|
-
"id":
|
1317
|
+
"id": 49971,
|
1318
1318
|
"name": "i",
|
1319
1319
|
"nodeType": "Identifier",
|
1320
1320
|
"overloadedDeclarations": [],
|
1321
|
-
"referencedDeclaration":
|
1322
|
-
"src": "1380:1:
|
1321
|
+
"referencedDeclaration": 49912,
|
1322
|
+
"src": "1380:1:126",
|
1323
1323
|
"typeDescriptions": {
|
1324
1324
|
"typeIdentifier": "t_uint256",
|
1325
1325
|
"typeString": "uint256"
|
@@ -1329,7 +1329,7 @@
|
|
1329
1329
|
"expression": {
|
1330
1330
|
"argumentTypes": [
|
1331
1331
|
{
|
1332
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1332
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1333
1333
|
"typeString": "ResourceId"
|
1334
1334
|
},
|
1335
1335
|
{
|
@@ -1338,33 +1338,33 @@
|
|
1338
1338
|
}
|
1339
1339
|
],
|
1340
1340
|
"expression": {
|
1341
|
-
"id":
|
1341
|
+
"id": 49968,
|
1342
1342
|
"name": "KeysInTable",
|
1343
1343
|
"nodeType": "Identifier",
|
1344
1344
|
"overloadedDeclarations": [],
|
1345
|
-
"referencedDeclaration":
|
1346
|
-
"src": "1346:11:
|
1345
|
+
"referencedDeclaration": 57455,
|
1346
|
+
"src": "1346:11:126",
|
1347
1347
|
"typeDescriptions": {
|
1348
|
-
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$
|
1348
|
+
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$57455_$",
|
1349
1349
|
"typeString": "type(library KeysInTable)"
|
1350
1350
|
}
|
1351
1351
|
},
|
1352
|
-
"id":
|
1352
|
+
"id": 49969,
|
1353
1353
|
"isConstant": false,
|
1354
1354
|
"isLValue": false,
|
1355
1355
|
"isPure": false,
|
1356
1356
|
"lValueRequested": false,
|
1357
|
-
"memberLocation": "1358:12:
|
1357
|
+
"memberLocation": "1358:12:126",
|
1358
1358
|
"memberName": "getItemKeys2",
|
1359
1359
|
"nodeType": "MemberAccess",
|
1360
|
-
"referencedDeclaration":
|
1361
|
-
"src": "1346:24:
|
1360
|
+
"referencedDeclaration": 53742,
|
1361
|
+
"src": "1346:24:126",
|
1362
1362
|
"typeDescriptions": {
|
1363
|
-
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$
|
1363
|
+
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$29139_$_t_uint256_$returns$_t_bytes32_$",
|
1364
1364
|
"typeString": "function (ResourceId,uint256) view returns (bytes32)"
|
1365
1365
|
}
|
1366
1366
|
},
|
1367
|
-
"id":
|
1367
|
+
"id": 49972,
|
1368
1368
|
"isConstant": false,
|
1369
1369
|
"isLValue": false,
|
1370
1370
|
"isPure": false,
|
@@ -1373,22 +1373,22 @@
|
|
1373
1373
|
"nameLocations": [],
|
1374
1374
|
"names": [],
|
1375
1375
|
"nodeType": "FunctionCall",
|
1376
|
-
"src": "1346:36:
|
1376
|
+
"src": "1346:36:126",
|
1377
1377
|
"tryCall": false,
|
1378
1378
|
"typeDescriptions": {
|
1379
1379
|
"typeIdentifier": "t_bytes32",
|
1380
1380
|
"typeString": "bytes32"
|
1381
1381
|
}
|
1382
1382
|
},
|
1383
|
-
"src": "1328:54:
|
1383
|
+
"src": "1328:54:126",
|
1384
1384
|
"typeDescriptions": {
|
1385
1385
|
"typeIdentifier": "t_bytes32",
|
1386
1386
|
"typeString": "bytes32"
|
1387
1387
|
}
|
1388
1388
|
},
|
1389
|
-
"id":
|
1389
|
+
"id": 49974,
|
1390
1390
|
"nodeType": "ExpressionStatement",
|
1391
|
-
"src": "1328:54:
|
1391
|
+
"src": "1328:54:126"
|
1392
1392
|
},
|
1393
1393
|
{
|
1394
1394
|
"condition": {
|
@@ -1396,18 +1396,18 @@
|
|
1396
1396
|
"typeIdentifier": "t_uint256",
|
1397
1397
|
"typeString": "uint256"
|
1398
1398
|
},
|
1399
|
-
"id":
|
1399
|
+
"id": 49977,
|
1400
1400
|
"isConstant": false,
|
1401
1401
|
"isLValue": false,
|
1402
1402
|
"isPure": false,
|
1403
1403
|
"lValueRequested": false,
|
1404
1404
|
"leftExpression": {
|
1405
|
-
"id":
|
1405
|
+
"id": 49975,
|
1406
1406
|
"name": "numFields",
|
1407
1407
|
"nodeType": "Identifier",
|
1408
1408
|
"overloadedDeclarations": [],
|
1409
|
-
"referencedDeclaration":
|
1410
|
-
"src": "1398:9:
|
1409
|
+
"referencedDeclaration": 49890,
|
1410
|
+
"src": "1398:9:126",
|
1411
1411
|
"typeDescriptions": {
|
1412
1412
|
"typeIdentifier": "t_uint256",
|
1413
1413
|
"typeString": "uint256"
|
@@ -1417,37 +1417,37 @@
|
|
1417
1417
|
"operator": ">",
|
1418
1418
|
"rightExpression": {
|
1419
1419
|
"hexValue": "33",
|
1420
|
-
"id":
|
1420
|
+
"id": 49976,
|
1421
1421
|
"isConstant": false,
|
1422
1422
|
"isLValue": false,
|
1423
1423
|
"isPure": true,
|
1424
1424
|
"kind": "number",
|
1425
1425
|
"lValueRequested": false,
|
1426
1426
|
"nodeType": "Literal",
|
1427
|
-
"src": "1410:1:
|
1427
|
+
"src": "1410:1:126",
|
1428
1428
|
"typeDescriptions": {
|
1429
1429
|
"typeIdentifier": "t_rational_3_by_1",
|
1430
1430
|
"typeString": "int_const 3"
|
1431
1431
|
},
|
1432
1432
|
"value": "3"
|
1433
1433
|
},
|
1434
|
-
"src": "1398:13:
|
1434
|
+
"src": "1398:13:126",
|
1435
1435
|
"typeDescriptions": {
|
1436
1436
|
"typeIdentifier": "t_bool",
|
1437
1437
|
"typeString": "bool"
|
1438
1438
|
}
|
1439
1439
|
},
|
1440
|
-
"id":
|
1440
|
+
"id": 50008,
|
1441
1441
|
"nodeType": "IfStatement",
|
1442
|
-
"src": "1394:217:
|
1442
|
+
"src": "1394:217:126",
|
1443
1443
|
"trueBody": {
|
1444
|
-
"id":
|
1444
|
+
"id": 50007,
|
1445
1445
|
"nodeType": "Block",
|
1446
|
-
"src": "1413:198:
|
1446
|
+
"src": "1413:198:126",
|
1447
1447
|
"statements": [
|
1448
1448
|
{
|
1449
1449
|
"expression": {
|
1450
|
-
"id":
|
1450
|
+
"id": 49988,
|
1451
1451
|
"isConstant": false,
|
1452
1452
|
"isLValue": false,
|
1453
1453
|
"isPure": false,
|
@@ -1455,25 +1455,25 @@
|
|
1455
1455
|
"leftHandSide": {
|
1456
1456
|
"baseExpression": {
|
1457
1457
|
"baseExpression": {
|
1458
|
-
"id":
|
1458
|
+
"id": 49978,
|
1459
1459
|
"name": "keyTuples",
|
1460
1460
|
"nodeType": "Identifier",
|
1461
1461
|
"overloadedDeclarations": [],
|
1462
|
-
"referencedDeclaration":
|
1463
|
-
"src": "1427:9:
|
1462
|
+
"referencedDeclaration": 49878,
|
1463
|
+
"src": "1427:9:126",
|
1464
1464
|
"typeDescriptions": {
|
1465
1465
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
1466
1466
|
"typeString": "bytes32[] memory[] memory"
|
1467
1467
|
}
|
1468
1468
|
},
|
1469
|
-
"id":
|
1469
|
+
"id": 49981,
|
1470
1470
|
"indexExpression": {
|
1471
|
-
"id":
|
1471
|
+
"id": 49979,
|
1472
1472
|
"name": "i",
|
1473
1473
|
"nodeType": "Identifier",
|
1474
1474
|
"overloadedDeclarations": [],
|
1475
|
-
"referencedDeclaration":
|
1476
|
-
"src": "1437:1:
|
1475
|
+
"referencedDeclaration": 49912,
|
1476
|
+
"src": "1437:1:126",
|
1477
1477
|
"typeDescriptions": {
|
1478
1478
|
"typeIdentifier": "t_uint256",
|
1479
1479
|
"typeString": "uint256"
|
@@ -1484,23 +1484,23 @@
|
|
1484
1484
|
"isPure": false,
|
1485
1485
|
"lValueRequested": false,
|
1486
1486
|
"nodeType": "IndexAccess",
|
1487
|
-
"src": "1427:12:
|
1487
|
+
"src": "1427:12:126",
|
1488
1488
|
"typeDescriptions": {
|
1489
1489
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
1490
1490
|
"typeString": "bytes32[] memory"
|
1491
1491
|
}
|
1492
1492
|
},
|
1493
|
-
"id":
|
1493
|
+
"id": 49982,
|
1494
1494
|
"indexExpression": {
|
1495
1495
|
"hexValue": "33",
|
1496
|
-
"id":
|
1496
|
+
"id": 49980,
|
1497
1497
|
"isConstant": false,
|
1498
1498
|
"isLValue": false,
|
1499
1499
|
"isPure": true,
|
1500
1500
|
"kind": "number",
|
1501
1501
|
"lValueRequested": false,
|
1502
1502
|
"nodeType": "Literal",
|
1503
|
-
"src": "1440:1:
|
1503
|
+
"src": "1440:1:126",
|
1504
1504
|
"typeDescriptions": {
|
1505
1505
|
"typeIdentifier": "t_rational_3_by_1",
|
1506
1506
|
"typeString": "int_const 3"
|
@@ -1512,7 +1512,7 @@
|
|
1512
1512
|
"isPure": false,
|
1513
1513
|
"lValueRequested": true,
|
1514
1514
|
"nodeType": "IndexAccess",
|
1515
|
-
"src": "1427:15:
|
1515
|
+
"src": "1427:15:126",
|
1516
1516
|
"typeDescriptions": {
|
1517
1517
|
"typeIdentifier": "t_bytes32",
|
1518
1518
|
"typeString": "bytes32"
|
@@ -1523,24 +1523,24 @@
|
|
1523
1523
|
"rightHandSide": {
|
1524
1524
|
"arguments": [
|
1525
1525
|
{
|
1526
|
-
"id":
|
1526
|
+
"id": 49985,
|
1527
1527
|
"name": "tableId",
|
1528
1528
|
"nodeType": "Identifier",
|
1529
1529
|
"overloadedDeclarations": [],
|
1530
|
-
"referencedDeclaration":
|
1531
|
-
"src": "1470:7:
|
1530
|
+
"referencedDeclaration": 49873,
|
1531
|
+
"src": "1470:7:126",
|
1532
1532
|
"typeDescriptions": {
|
1533
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1533
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1534
1534
|
"typeString": "ResourceId"
|
1535
1535
|
}
|
1536
1536
|
},
|
1537
1537
|
{
|
1538
|
-
"id":
|
1538
|
+
"id": 49986,
|
1539
1539
|
"name": "i",
|
1540
1540
|
"nodeType": "Identifier",
|
1541
1541
|
"overloadedDeclarations": [],
|
1542
|
-
"referencedDeclaration":
|
1543
|
-
"src": "1479:1:
|
1542
|
+
"referencedDeclaration": 49912,
|
1543
|
+
"src": "1479:1:126",
|
1544
1544
|
"typeDescriptions": {
|
1545
1545
|
"typeIdentifier": "t_uint256",
|
1546
1546
|
"typeString": "uint256"
|
@@ -1550,7 +1550,7 @@
|
|
1550
1550
|
"expression": {
|
1551
1551
|
"argumentTypes": [
|
1552
1552
|
{
|
1553
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1553
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1554
1554
|
"typeString": "ResourceId"
|
1555
1555
|
},
|
1556
1556
|
{
|
@@ -1559,33 +1559,33 @@
|
|
1559
1559
|
}
|
1560
1560
|
],
|
1561
1561
|
"expression": {
|
1562
|
-
"id":
|
1562
|
+
"id": 49983,
|
1563
1563
|
"name": "KeysInTable",
|
1564
1564
|
"nodeType": "Identifier",
|
1565
1565
|
"overloadedDeclarations": [],
|
1566
|
-
"referencedDeclaration":
|
1567
|
-
"src": "1445:11:
|
1566
|
+
"referencedDeclaration": 57455,
|
1567
|
+
"src": "1445:11:126",
|
1568
1568
|
"typeDescriptions": {
|
1569
|
-
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$
|
1569
|
+
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$57455_$",
|
1570
1570
|
"typeString": "type(library KeysInTable)"
|
1571
1571
|
}
|
1572
1572
|
},
|
1573
|
-
"id":
|
1573
|
+
"id": 49984,
|
1574
1574
|
"isConstant": false,
|
1575
1575
|
"isLValue": false,
|
1576
1576
|
"isPure": false,
|
1577
1577
|
"lValueRequested": false,
|
1578
|
-
"memberLocation": "1457:12:
|
1578
|
+
"memberLocation": "1457:12:126",
|
1579
1579
|
"memberName": "getItemKeys3",
|
1580
1580
|
"nodeType": "MemberAccess",
|
1581
|
-
"referencedDeclaration":
|
1582
|
-
"src": "1445:24:
|
1581
|
+
"referencedDeclaration": 54774,
|
1582
|
+
"src": "1445:24:126",
|
1583
1583
|
"typeDescriptions": {
|
1584
|
-
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$
|
1584
|
+
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$29139_$_t_uint256_$returns$_t_bytes32_$",
|
1585
1585
|
"typeString": "function (ResourceId,uint256) view returns (bytes32)"
|
1586
1586
|
}
|
1587
1587
|
},
|
1588
|
-
"id":
|
1588
|
+
"id": 49987,
|
1589
1589
|
"isConstant": false,
|
1590
1590
|
"isLValue": false,
|
1591
1591
|
"isPure": false,
|
@@ -1594,22 +1594,22 @@
|
|
1594
1594
|
"nameLocations": [],
|
1595
1595
|
"names": [],
|
1596
1596
|
"nodeType": "FunctionCall",
|
1597
|
-
"src": "1445:36:
|
1597
|
+
"src": "1445:36:126",
|
1598
1598
|
"tryCall": false,
|
1599
1599
|
"typeDescriptions": {
|
1600
1600
|
"typeIdentifier": "t_bytes32",
|
1601
1601
|
"typeString": "bytes32"
|
1602
1602
|
}
|
1603
1603
|
},
|
1604
|
-
"src": "1427:54:
|
1604
|
+
"src": "1427:54:126",
|
1605
1605
|
"typeDescriptions": {
|
1606
1606
|
"typeIdentifier": "t_bytes32",
|
1607
1607
|
"typeString": "bytes32"
|
1608
1608
|
}
|
1609
1609
|
},
|
1610
|
-
"id":
|
1610
|
+
"id": 49989,
|
1611
1611
|
"nodeType": "ExpressionStatement",
|
1612
|
-
"src": "1427:54:
|
1612
|
+
"src": "1427:54:126"
|
1613
1613
|
},
|
1614
1614
|
{
|
1615
1615
|
"condition": {
|
@@ -1617,18 +1617,18 @@
|
|
1617
1617
|
"typeIdentifier": "t_uint256",
|
1618
1618
|
"typeString": "uint256"
|
1619
1619
|
},
|
1620
|
-
"id":
|
1620
|
+
"id": 49992,
|
1621
1621
|
"isConstant": false,
|
1622
1622
|
"isLValue": false,
|
1623
1623
|
"isPure": false,
|
1624
1624
|
"lValueRequested": false,
|
1625
1625
|
"leftExpression": {
|
1626
|
-
"id":
|
1626
|
+
"id": 49990,
|
1627
1627
|
"name": "numFields",
|
1628
1628
|
"nodeType": "Identifier",
|
1629
1629
|
"overloadedDeclarations": [],
|
1630
|
-
"referencedDeclaration":
|
1631
|
-
"src": "1499:9:
|
1630
|
+
"referencedDeclaration": 49890,
|
1631
|
+
"src": "1499:9:126",
|
1632
1632
|
"typeDescriptions": {
|
1633
1633
|
"typeIdentifier": "t_uint256",
|
1634
1634
|
"typeString": "uint256"
|
@@ -1638,37 +1638,37 @@
|
|
1638
1638
|
"operator": ">",
|
1639
1639
|
"rightExpression": {
|
1640
1640
|
"hexValue": "34",
|
1641
|
-
"id":
|
1641
|
+
"id": 49991,
|
1642
1642
|
"isConstant": false,
|
1643
1643
|
"isLValue": false,
|
1644
1644
|
"isPure": true,
|
1645
1645
|
"kind": "number",
|
1646
1646
|
"lValueRequested": false,
|
1647
1647
|
"nodeType": "Literal",
|
1648
|
-
"src": "1511:1:
|
1648
|
+
"src": "1511:1:126",
|
1649
1649
|
"typeDescriptions": {
|
1650
1650
|
"typeIdentifier": "t_rational_4_by_1",
|
1651
1651
|
"typeString": "int_const 4"
|
1652
1652
|
},
|
1653
1653
|
"value": "4"
|
1654
1654
|
},
|
1655
|
-
"src": "1499:13:
|
1655
|
+
"src": "1499:13:126",
|
1656
1656
|
"typeDescriptions": {
|
1657
1657
|
"typeIdentifier": "t_bool",
|
1658
1658
|
"typeString": "bool"
|
1659
1659
|
}
|
1660
1660
|
},
|
1661
|
-
"id":
|
1661
|
+
"id": 50006,
|
1662
1662
|
"nodeType": "IfStatement",
|
1663
|
-
"src": "1495:104:
|
1663
|
+
"src": "1495:104:126",
|
1664
1664
|
"trueBody": {
|
1665
|
-
"id":
|
1665
|
+
"id": 50005,
|
1666
1666
|
"nodeType": "Block",
|
1667
|
-
"src": "1514:85:
|
1667
|
+
"src": "1514:85:126",
|
1668
1668
|
"statements": [
|
1669
1669
|
{
|
1670
1670
|
"expression": {
|
1671
|
-
"id":
|
1671
|
+
"id": 50003,
|
1672
1672
|
"isConstant": false,
|
1673
1673
|
"isLValue": false,
|
1674
1674
|
"isPure": false,
|
@@ -1676,25 +1676,25 @@
|
|
1676
1676
|
"leftHandSide": {
|
1677
1677
|
"baseExpression": {
|
1678
1678
|
"baseExpression": {
|
1679
|
-
"id":
|
1679
|
+
"id": 49993,
|
1680
1680
|
"name": "keyTuples",
|
1681
1681
|
"nodeType": "Identifier",
|
1682
1682
|
"overloadedDeclarations": [],
|
1683
|
-
"referencedDeclaration":
|
1684
|
-
"src": "1530:9:
|
1683
|
+
"referencedDeclaration": 49878,
|
1684
|
+
"src": "1530:9:126",
|
1685
1685
|
"typeDescriptions": {
|
1686
1686
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
1687
1687
|
"typeString": "bytes32[] memory[] memory"
|
1688
1688
|
}
|
1689
1689
|
},
|
1690
|
-
"id":
|
1690
|
+
"id": 49996,
|
1691
1691
|
"indexExpression": {
|
1692
|
-
"id":
|
1692
|
+
"id": 49994,
|
1693
1693
|
"name": "i",
|
1694
1694
|
"nodeType": "Identifier",
|
1695
1695
|
"overloadedDeclarations": [],
|
1696
|
-
"referencedDeclaration":
|
1697
|
-
"src": "1540:1:
|
1696
|
+
"referencedDeclaration": 49912,
|
1697
|
+
"src": "1540:1:126",
|
1698
1698
|
"typeDescriptions": {
|
1699
1699
|
"typeIdentifier": "t_uint256",
|
1700
1700
|
"typeString": "uint256"
|
@@ -1705,23 +1705,23 @@
|
|
1705
1705
|
"isPure": false,
|
1706
1706
|
"lValueRequested": false,
|
1707
1707
|
"nodeType": "IndexAccess",
|
1708
|
-
"src": "1530:12:
|
1708
|
+
"src": "1530:12:126",
|
1709
1709
|
"typeDescriptions": {
|
1710
1710
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
1711
1711
|
"typeString": "bytes32[] memory"
|
1712
1712
|
}
|
1713
1713
|
},
|
1714
|
-
"id":
|
1714
|
+
"id": 49997,
|
1715
1715
|
"indexExpression": {
|
1716
1716
|
"hexValue": "34",
|
1717
|
-
"id":
|
1717
|
+
"id": 49995,
|
1718
1718
|
"isConstant": false,
|
1719
1719
|
"isLValue": false,
|
1720
1720
|
"isPure": true,
|
1721
1721
|
"kind": "number",
|
1722
1722
|
"lValueRequested": false,
|
1723
1723
|
"nodeType": "Literal",
|
1724
|
-
"src": "1543:1:
|
1724
|
+
"src": "1543:1:126",
|
1725
1725
|
"typeDescriptions": {
|
1726
1726
|
"typeIdentifier": "t_rational_4_by_1",
|
1727
1727
|
"typeString": "int_const 4"
|
@@ -1733,7 +1733,7 @@
|
|
1733
1733
|
"isPure": false,
|
1734
1734
|
"lValueRequested": true,
|
1735
1735
|
"nodeType": "IndexAccess",
|
1736
|
-
"src": "1530:15:
|
1736
|
+
"src": "1530:15:126",
|
1737
1737
|
"typeDescriptions": {
|
1738
1738
|
"typeIdentifier": "t_bytes32",
|
1739
1739
|
"typeString": "bytes32"
|
@@ -1744,24 +1744,24 @@
|
|
1744
1744
|
"rightHandSide": {
|
1745
1745
|
"arguments": [
|
1746
1746
|
{
|
1747
|
-
"id":
|
1747
|
+
"id": 50000,
|
1748
1748
|
"name": "tableId",
|
1749
1749
|
"nodeType": "Identifier",
|
1750
1750
|
"overloadedDeclarations": [],
|
1751
|
-
"referencedDeclaration":
|
1752
|
-
"src": "1573:7:
|
1751
|
+
"referencedDeclaration": 49873,
|
1752
|
+
"src": "1573:7:126",
|
1753
1753
|
"typeDescriptions": {
|
1754
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1754
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1755
1755
|
"typeString": "ResourceId"
|
1756
1756
|
}
|
1757
1757
|
},
|
1758
1758
|
{
|
1759
|
-
"id":
|
1759
|
+
"id": 50001,
|
1760
1760
|
"name": "i",
|
1761
1761
|
"nodeType": "Identifier",
|
1762
1762
|
"overloadedDeclarations": [],
|
1763
|
-
"referencedDeclaration":
|
1764
|
-
"src": "1582:1:
|
1763
|
+
"referencedDeclaration": 49912,
|
1764
|
+
"src": "1582:1:126",
|
1765
1765
|
"typeDescriptions": {
|
1766
1766
|
"typeIdentifier": "t_uint256",
|
1767
1767
|
"typeString": "uint256"
|
@@ -1771,7 +1771,7 @@
|
|
1771
1771
|
"expression": {
|
1772
1772
|
"argumentTypes": [
|
1773
1773
|
{
|
1774
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1774
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1775
1775
|
"typeString": "ResourceId"
|
1776
1776
|
},
|
1777
1777
|
{
|
@@ -1780,33 +1780,33 @@
|
|
1780
1780
|
}
|
1781
1781
|
],
|
1782
1782
|
"expression": {
|
1783
|
-
"id":
|
1783
|
+
"id": 49998,
|
1784
1784
|
"name": "KeysInTable",
|
1785
1785
|
"nodeType": "Identifier",
|
1786
1786
|
"overloadedDeclarations": [],
|
1787
|
-
"referencedDeclaration":
|
1788
|
-
"src": "1548:11:
|
1787
|
+
"referencedDeclaration": 57455,
|
1788
|
+
"src": "1548:11:126",
|
1789
1789
|
"typeDescriptions": {
|
1790
|
-
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$
|
1790
|
+
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$57455_$",
|
1791
1791
|
"typeString": "type(library KeysInTable)"
|
1792
1792
|
}
|
1793
1793
|
},
|
1794
|
-
"id":
|
1794
|
+
"id": 49999,
|
1795
1795
|
"isConstant": false,
|
1796
1796
|
"isLValue": false,
|
1797
1797
|
"isPure": false,
|
1798
1798
|
"lValueRequested": false,
|
1799
|
-
"memberLocation": "1560:12:
|
1799
|
+
"memberLocation": "1560:12:126",
|
1800
1800
|
"memberName": "getItemKeys4",
|
1801
1801
|
"nodeType": "MemberAccess",
|
1802
|
-
"referencedDeclaration":
|
1803
|
-
"src": "1548:24:
|
1802
|
+
"referencedDeclaration": 55806,
|
1803
|
+
"src": "1548:24:126",
|
1804
1804
|
"typeDescriptions": {
|
1805
|
-
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$
|
1805
|
+
"typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$29139_$_t_uint256_$returns$_t_bytes32_$",
|
1806
1806
|
"typeString": "function (ResourceId,uint256) view returns (bytes32)"
|
1807
1807
|
}
|
1808
1808
|
},
|
1809
|
-
"id":
|
1809
|
+
"id": 50002,
|
1810
1810
|
"isConstant": false,
|
1811
1811
|
"isLValue": false,
|
1812
1812
|
"isPure": false,
|
@@ -1815,22 +1815,22 @@
|
|
1815
1815
|
"nameLocations": [],
|
1816
1816
|
"names": [],
|
1817
1817
|
"nodeType": "FunctionCall",
|
1818
|
-
"src": "1548:36:
|
1818
|
+
"src": "1548:36:126",
|
1819
1819
|
"tryCall": false,
|
1820
1820
|
"typeDescriptions": {
|
1821
1821
|
"typeIdentifier": "t_bytes32",
|
1822
1822
|
"typeString": "bytes32"
|
1823
1823
|
}
|
1824
1824
|
},
|
1825
|
-
"src": "1530:54:
|
1825
|
+
"src": "1530:54:126",
|
1826
1826
|
"typeDescriptions": {
|
1827
1827
|
"typeIdentifier": "t_bytes32",
|
1828
1828
|
"typeString": "bytes32"
|
1829
1829
|
}
|
1830
1830
|
},
|
1831
|
-
"id":
|
1831
|
+
"id": 50004,
|
1832
1832
|
"nodeType": "ExpressionStatement",
|
1833
|
-
"src": "1530:54:
|
1833
|
+
"src": "1530:54:126"
|
1834
1834
|
}
|
1835
1835
|
]
|
1836
1836
|
}
|
@@ -1854,18 +1854,18 @@
|
|
1854
1854
|
"typeIdentifier": "t_uint256",
|
1855
1855
|
"typeString": "uint256"
|
1856
1856
|
},
|
1857
|
-
"id":
|
1857
|
+
"id": 49916,
|
1858
1858
|
"isConstant": false,
|
1859
1859
|
"isLValue": false,
|
1860
1860
|
"isPure": false,
|
1861
1861
|
"lValueRequested": false,
|
1862
1862
|
"leftExpression": {
|
1863
|
-
"id":
|
1863
|
+
"id": 49914,
|
1864
1864
|
"name": "i",
|
1865
1865
|
"nodeType": "Identifier",
|
1866
1866
|
"overloadedDeclarations": [],
|
1867
|
-
"referencedDeclaration":
|
1868
|
-
"src": "989:1:
|
1867
|
+
"referencedDeclaration": 49912,
|
1868
|
+
"src": "989:1:126",
|
1869
1869
|
"typeDescriptions": {
|
1870
1870
|
"typeIdentifier": "t_uint256",
|
1871
1871
|
"typeString": "uint256"
|
@@ -1874,38 +1874,38 @@
|
|
1874
1874
|
"nodeType": "BinaryOperation",
|
1875
1875
|
"operator": "<",
|
1876
1876
|
"rightExpression": {
|
1877
|
-
"id":
|
1877
|
+
"id": 49915,
|
1878
1878
|
"name": "length",
|
1879
1879
|
"nodeType": "Identifier",
|
1880
1880
|
"overloadedDeclarations": [],
|
1881
|
-
"referencedDeclaration":
|
1882
|
-
"src": "993:6:
|
1881
|
+
"referencedDeclaration": 49896,
|
1882
|
+
"src": "993:6:126",
|
1883
1883
|
"typeDescriptions": {
|
1884
1884
|
"typeIdentifier": "t_uint256",
|
1885
1885
|
"typeString": "uint256"
|
1886
1886
|
}
|
1887
1887
|
},
|
1888
|
-
"src": "989:10:
|
1888
|
+
"src": "989:10:126",
|
1889
1889
|
"typeDescriptions": {
|
1890
1890
|
"typeIdentifier": "t_bool",
|
1891
1891
|
"typeString": "bool"
|
1892
1892
|
}
|
1893
1893
|
},
|
1894
|
-
"id":
|
1894
|
+
"id": 50016,
|
1895
1895
|
"initializationExpression": {
|
1896
1896
|
"assignments": [
|
1897
|
-
|
1897
|
+
49912
|
1898
1898
|
],
|
1899
1899
|
"declarations": [
|
1900
1900
|
{
|
1901
1901
|
"constant": false,
|
1902
|
-
"id":
|
1902
|
+
"id": 49912,
|
1903
1903
|
"mutability": "mutable",
|
1904
1904
|
"name": "i",
|
1905
|
-
"nameLocation": "986:1:
|
1905
|
+
"nameLocation": "986:1:126",
|
1906
1906
|
"nodeType": "VariableDeclaration",
|
1907
|
-
"scope":
|
1908
|
-
"src": "978:9:
|
1907
|
+
"scope": 50016,
|
1908
|
+
"src": "978:9:126",
|
1909
1909
|
"stateVariable": false,
|
1910
1910
|
"storageLocation": "default",
|
1911
1911
|
"typeDescriptions": {
|
@@ -1913,10 +1913,10 @@
|
|
1913
1913
|
"typeString": "uint256"
|
1914
1914
|
},
|
1915
1915
|
"typeName": {
|
1916
|
-
"id":
|
1916
|
+
"id": 49911,
|
1917
1917
|
"name": "uint256",
|
1918
1918
|
"nodeType": "ElementaryTypeName",
|
1919
|
-
"src": "978:7:
|
1919
|
+
"src": "978:7:126",
|
1920
1920
|
"typeDescriptions": {
|
1921
1921
|
"typeIdentifier": "t_uint256",
|
1922
1922
|
"typeString": "uint256"
|
@@ -1925,13 +1925,13 @@
|
|
1925
1925
|
"visibility": "internal"
|
1926
1926
|
}
|
1927
1927
|
],
|
1928
|
-
"id":
|
1928
|
+
"id": 49913,
|
1929
1929
|
"nodeType": "VariableDeclarationStatement",
|
1930
|
-
"src": "978:9:
|
1930
|
+
"src": "978:9:126"
|
1931
1931
|
},
|
1932
1932
|
"loopExpression": {
|
1933
1933
|
"expression": {
|
1934
|
-
"id":
|
1934
|
+
"id": 49918,
|
1935
1935
|
"isConstant": false,
|
1936
1936
|
"isLValue": false,
|
1937
1937
|
"isPure": false,
|
@@ -1939,14 +1939,14 @@
|
|
1939
1939
|
"nodeType": "UnaryOperation",
|
1940
1940
|
"operator": "++",
|
1941
1941
|
"prefix": false,
|
1942
|
-
"src": "1001:3:
|
1942
|
+
"src": "1001:3:126",
|
1943
1943
|
"subExpression": {
|
1944
|
-
"id":
|
1944
|
+
"id": 49917,
|
1945
1945
|
"name": "i",
|
1946
1946
|
"nodeType": "Identifier",
|
1947
1947
|
"overloadedDeclarations": [],
|
1948
|
-
"referencedDeclaration":
|
1949
|
-
"src": "1001:1:
|
1948
|
+
"referencedDeclaration": 49912,
|
1949
|
+
"src": "1001:1:126",
|
1950
1950
|
"typeDescriptions": {
|
1951
1951
|
"typeIdentifier": "t_uint256",
|
1952
1952
|
"typeString": "uint256"
|
@@ -1957,83 +1957,83 @@
|
|
1957
1957
|
"typeString": "uint256"
|
1958
1958
|
}
|
1959
1959
|
},
|
1960
|
-
"id":
|
1960
|
+
"id": 49919,
|
1961
1961
|
"nodeType": "ExpressionStatement",
|
1962
|
-
"src": "1001:3:
|
1962
|
+
"src": "1001:3:126"
|
1963
1963
|
},
|
1964
1964
|
"nodeType": "ForStatement",
|
1965
|
-
"src": "973:666:
|
1965
|
+
"src": "973:666:126"
|
1966
1966
|
}
|
1967
1967
|
]
|
1968
1968
|
},
|
1969
1969
|
"documentation": {
|
1970
|
-
"id":
|
1970
|
+
"id": 49870,
|
1971
1971
|
"nodeType": "StructuredDocumentation",
|
1972
|
-
"src": "371:241:
|
1972
|
+
"src": "371:241:126",
|
1973
1973
|
"text": " Get a list of keys in the given table.\n Note: this util can only be called within the context of a Store (e.g. from a System or Module).\n For usage outside of a Store, use the overload that takes an explicit store argument."
|
1974
1974
|
},
|
1975
1975
|
"implemented": true,
|
1976
1976
|
"kind": "freeFunction",
|
1977
1977
|
"modifiers": [],
|
1978
1978
|
"name": "getKeysInTable",
|
1979
|
-
"nameLocation": "622:14:
|
1979
|
+
"nameLocation": "622:14:126",
|
1980
1980
|
"parameters": {
|
1981
|
-
"id":
|
1981
|
+
"id": 49874,
|
1982
1982
|
"nodeType": "ParameterList",
|
1983
1983
|
"parameters": [
|
1984
1984
|
{
|
1985
1985
|
"constant": false,
|
1986
|
-
"id":
|
1986
|
+
"id": 49873,
|
1987
1987
|
"mutability": "mutable",
|
1988
1988
|
"name": "tableId",
|
1989
|
-
"nameLocation": "648:7:
|
1989
|
+
"nameLocation": "648:7:126",
|
1990
1990
|
"nodeType": "VariableDeclaration",
|
1991
|
-
"scope":
|
1992
|
-
"src": "637:18:
|
1991
|
+
"scope": 50018,
|
1992
|
+
"src": "637:18:126",
|
1993
1993
|
"stateVariable": false,
|
1994
1994
|
"storageLocation": "default",
|
1995
1995
|
"typeDescriptions": {
|
1996
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1996
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
1997
1997
|
"typeString": "ResourceId"
|
1998
1998
|
},
|
1999
1999
|
"typeName": {
|
2000
|
-
"id":
|
2000
|
+
"id": 49872,
|
2001
2001
|
"nodeType": "UserDefinedTypeName",
|
2002
2002
|
"pathNode": {
|
2003
|
-
"id":
|
2003
|
+
"id": 49871,
|
2004
2004
|
"name": "ResourceId",
|
2005
2005
|
"nameLocations": [
|
2006
|
-
"637:10:
|
2006
|
+
"637:10:126"
|
2007
2007
|
],
|
2008
2008
|
"nodeType": "IdentifierPath",
|
2009
|
-
"referencedDeclaration":
|
2010
|
-
"src": "637:10:
|
2009
|
+
"referencedDeclaration": 29139,
|
2010
|
+
"src": "637:10:126"
|
2011
2011
|
},
|
2012
|
-
"referencedDeclaration":
|
2013
|
-
"src": "637:10:
|
2012
|
+
"referencedDeclaration": 29139,
|
2013
|
+
"src": "637:10:126",
|
2014
2014
|
"typeDescriptions": {
|
2015
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
2015
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
2016
2016
|
"typeString": "ResourceId"
|
2017
2017
|
}
|
2018
2018
|
},
|
2019
2019
|
"visibility": "internal"
|
2020
2020
|
}
|
2021
2021
|
],
|
2022
|
-
"src": "636:20:
|
2022
|
+
"src": "636:20:126"
|
2023
2023
|
},
|
2024
2024
|
"returnParameters": {
|
2025
|
-
"id":
|
2025
|
+
"id": 49879,
|
2026
2026
|
"nodeType": "ParameterList",
|
2027
2027
|
"parameters": [
|
2028
2028
|
{
|
2029
2029
|
"constant": false,
|
2030
|
-
"id":
|
2030
|
+
"id": 49878,
|
2031
2031
|
"mutability": "mutable",
|
2032
2032
|
"name": "keyTuples",
|
2033
|
-
"nameLocation": "690:9:
|
2033
|
+
"nameLocation": "690:9:126",
|
2034
2034
|
"nodeType": "VariableDeclaration",
|
2035
|
-
"scope":
|
2036
|
-
"src": "671:28:
|
2035
|
+
"scope": 50018,
|
2036
|
+
"src": "671:28:126",
|
2037
2037
|
"stateVariable": false,
|
2038
2038
|
"storageLocation": "memory",
|
2039
2039
|
"typeDescriptions": {
|
@@ -2043,26 +2043,26 @@
|
|
2043
2043
|
"typeName": {
|
2044
2044
|
"baseType": {
|
2045
2045
|
"baseType": {
|
2046
|
-
"id":
|
2046
|
+
"id": 49875,
|
2047
2047
|
"name": "bytes32",
|
2048
2048
|
"nodeType": "ElementaryTypeName",
|
2049
|
-
"src": "671:7:
|
2049
|
+
"src": "671:7:126",
|
2050
2050
|
"typeDescriptions": {
|
2051
2051
|
"typeIdentifier": "t_bytes32",
|
2052
2052
|
"typeString": "bytes32"
|
2053
2053
|
}
|
2054
2054
|
},
|
2055
|
-
"id":
|
2055
|
+
"id": 49876,
|
2056
2056
|
"nodeType": "ArrayTypeName",
|
2057
|
-
"src": "671:9:
|
2057
|
+
"src": "671:9:126",
|
2058
2058
|
"typeDescriptions": {
|
2059
2059
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
2060
2060
|
"typeString": "bytes32[]"
|
2061
2061
|
}
|
2062
2062
|
},
|
2063
|
-
"id":
|
2063
|
+
"id": 49877,
|
2064
2064
|
"nodeType": "ArrayTypeName",
|
2065
|
-
"src": "671:11:
|
2065
|
+
"src": "671:11:126",
|
2066
2066
|
"typeDescriptions": {
|
2067
2067
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_storage_$dyn_storage_ptr",
|
2068
2068
|
"typeString": "bytes32[][]"
|
@@ -2071,61 +2071,61 @@
|
|
2071
2071
|
"visibility": "internal"
|
2072
2072
|
}
|
2073
2073
|
],
|
2074
|
-
"src": "670:30:
|
2074
|
+
"src": "670:30:126"
|
2075
2075
|
},
|
2076
|
-
"scope":
|
2076
|
+
"scope": 50177,
|
2077
2077
|
"stateMutability": "view",
|
2078
2078
|
"virtual": false,
|
2079
2079
|
"visibility": "internal"
|
2080
2080
|
},
|
2081
2081
|
{
|
2082
|
-
"id":
|
2082
|
+
"id": 50176,
|
2083
2083
|
"nodeType": "FunctionDefinition",
|
2084
|
-
"src": "1713:1079:
|
2084
|
+
"src": "1713:1079:126",
|
2085
2085
|
"nodes": [],
|
2086
2086
|
"body": {
|
2087
|
-
"id":
|
2087
|
+
"id": 50175,
|
2088
2088
|
"nodeType": "Block",
|
2089
|
-
"src": "1815:977:
|
2089
|
+
"src": "1815:977:126",
|
2090
2090
|
"nodes": [],
|
2091
2091
|
"statements": [
|
2092
2092
|
{
|
2093
2093
|
"assignments": [
|
2094
|
-
|
2094
|
+
50035
|
2095
2095
|
],
|
2096
2096
|
"declarations": [
|
2097
2097
|
{
|
2098
2098
|
"constant": false,
|
2099
|
-
"id":
|
2099
|
+
"id": 50035,
|
2100
2100
|
"mutability": "mutable",
|
2101
2101
|
"name": "keySchema",
|
2102
|
-
"nameLocation": "1900:9:
|
2102
|
+
"nameLocation": "1900:9:126",
|
2103
2103
|
"nodeType": "VariableDeclaration",
|
2104
|
-
"scope":
|
2105
|
-
"src": "1893:16:
|
2104
|
+
"scope": 50175,
|
2105
|
+
"src": "1893:16:126",
|
2106
2106
|
"stateVariable": false,
|
2107
2107
|
"storageLocation": "default",
|
2108
2108
|
"typeDescriptions": {
|
2109
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
2109
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$29222",
|
2110
2110
|
"typeString": "Schema"
|
2111
2111
|
},
|
2112
2112
|
"typeName": {
|
2113
|
-
"id":
|
2113
|
+
"id": 50034,
|
2114
2114
|
"nodeType": "UserDefinedTypeName",
|
2115
2115
|
"pathNode": {
|
2116
|
-
"id":
|
2116
|
+
"id": 50033,
|
2117
2117
|
"name": "Schema",
|
2118
2118
|
"nameLocations": [
|
2119
|
-
"1893:6:
|
2119
|
+
"1893:6:126"
|
2120
2120
|
],
|
2121
2121
|
"nodeType": "IdentifierPath",
|
2122
|
-
"referencedDeclaration":
|
2123
|
-
"src": "1893:6:
|
2122
|
+
"referencedDeclaration": 29222,
|
2123
|
+
"src": "1893:6:126"
|
2124
2124
|
},
|
2125
|
-
"referencedDeclaration":
|
2126
|
-
"src": "1893:6:
|
2125
|
+
"referencedDeclaration": 29222,
|
2126
|
+
"src": "1893:6:126",
|
2127
2127
|
"typeDescriptions": {
|
2128
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
2128
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$29222",
|
2129
2129
|
"typeString": "Schema"
|
2130
2130
|
}
|
2131
2131
|
},
|
@@ -2133,18 +2133,18 @@
|
|
2133
2133
|
}
|
2134
2134
|
],
|
2135
2135
|
"documentation": " Note: this module only supports up to 5 composite keys.",
|
2136
|
-
"id":
|
2136
|
+
"id": 50040,
|
2137
2137
|
"initialValue": {
|
2138
2138
|
"arguments": [
|
2139
2139
|
{
|
2140
|
-
"id":
|
2140
|
+
"id": 50038,
|
2141
2141
|
"name": "tableId",
|
2142
2142
|
"nodeType": "Identifier",
|
2143
2143
|
"overloadedDeclarations": [],
|
2144
|
-
"referencedDeclaration":
|
2145
|
-
"src": "1931:7:
|
2144
|
+
"referencedDeclaration": 50025,
|
2145
|
+
"src": "1931:7:126",
|
2146
2146
|
"typeDescriptions": {
|
2147
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
2147
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
2148
2148
|
"typeString": "ResourceId"
|
2149
2149
|
}
|
2150
2150
|
}
|
@@ -2152,38 +2152,38 @@
|
|
2152
2152
|
"expression": {
|
2153
2153
|
"argumentTypes": [
|
2154
2154
|
{
|
2155
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
2155
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
2156
2156
|
"typeString": "ResourceId"
|
2157
2157
|
}
|
2158
2158
|
],
|
2159
2159
|
"expression": {
|
2160
|
-
"id":
|
2160
|
+
"id": 50036,
|
2161
2161
|
"name": "store",
|
2162
2162
|
"nodeType": "Identifier",
|
2163
2163
|
"overloadedDeclarations": [],
|
2164
|
-
"referencedDeclaration":
|
2165
|
-
"src": "1912:5:
|
2164
|
+
"referencedDeclaration": 50022,
|
2165
|
+
"src": "1912:5:126",
|
2166
2166
|
"typeDescriptions": {
|
2167
|
-
"typeIdentifier": "t_contract$_IStore_$
|
2167
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
2168
2168
|
"typeString": "contract IStore"
|
2169
2169
|
}
|
2170
2170
|
},
|
2171
|
-
"id":
|
2171
|
+
"id": 50037,
|
2172
2172
|
"isConstant": false,
|
2173
2173
|
"isLValue": false,
|
2174
2174
|
"isPure": false,
|
2175
2175
|
"lValueRequested": false,
|
2176
|
-
"memberLocation": "1918:12:
|
2176
|
+
"memberLocation": "1918:12:126",
|
2177
2177
|
"memberName": "getKeySchema",
|
2178
2178
|
"nodeType": "MemberAccess",
|
2179
|
-
"referencedDeclaration":
|
2180
|
-
"src": "1912:18:
|
2179
|
+
"referencedDeclaration": 75953,
|
2180
|
+
"src": "1912:18:126",
|
2181
2181
|
"typeDescriptions": {
|
2182
|
-
"typeIdentifier": "t_function_external_view$_t_userDefinedValueType$_ResourceId_$
|
2182
|
+
"typeIdentifier": "t_function_external_view$_t_userDefinedValueType$_ResourceId_$29139_$returns$_t_userDefinedValueType$_Schema_$29222_$",
|
2183
2183
|
"typeString": "function (ResourceId) view external returns (Schema)"
|
2184
2184
|
}
|
2185
2185
|
},
|
2186
|
-
"id":
|
2186
|
+
"id": 50039,
|
2187
2187
|
"isConstant": false,
|
2188
2188
|
"isLValue": false,
|
2189
2189
|
"isPure": false,
|
@@ -2192,30 +2192,30 @@
|
|
2192
2192
|
"nameLocations": [],
|
2193
2193
|
"names": [],
|
2194
2194
|
"nodeType": "FunctionCall",
|
2195
|
-
"src": "1912:27:
|
2195
|
+
"src": "1912:27:126",
|
2196
2196
|
"tryCall": false,
|
2197
2197
|
"typeDescriptions": {
|
2198
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
2198
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$29222",
|
2199
2199
|
"typeString": "Schema"
|
2200
2200
|
}
|
2201
2201
|
},
|
2202
2202
|
"nodeType": "VariableDeclarationStatement",
|
2203
|
-
"src": "1893:46:
|
2203
|
+
"src": "1893:46:126"
|
2204
2204
|
},
|
2205
2205
|
{
|
2206
2206
|
"assignments": [
|
2207
|
-
|
2207
|
+
50042
|
2208
2208
|
],
|
2209
2209
|
"declarations": [
|
2210
2210
|
{
|
2211
2211
|
"constant": false,
|
2212
|
-
"id":
|
2212
|
+
"id": 50042,
|
2213
2213
|
"mutability": "mutable",
|
2214
2214
|
"name": "numFields",
|
2215
|
-
"nameLocation": "1952:9:
|
2215
|
+
"nameLocation": "1952:9:126",
|
2216
2216
|
"nodeType": "VariableDeclaration",
|
2217
|
-
"scope":
|
2218
|
-
"src": "1944:17:
|
2217
|
+
"scope": 50175,
|
2218
|
+
"src": "1944:17:126",
|
2219
2219
|
"stateVariable": false,
|
2220
2220
|
"storageLocation": "default",
|
2221
2221
|
"typeDescriptions": {
|
@@ -2223,10 +2223,10 @@
|
|
2223
2223
|
"typeString": "uint256"
|
2224
2224
|
},
|
2225
2225
|
"typeName": {
|
2226
|
-
"id":
|
2226
|
+
"id": 50041,
|
2227
2227
|
"name": "uint256",
|
2228
2228
|
"nodeType": "ElementaryTypeName",
|
2229
|
-
"src": "1944:7:
|
2229
|
+
"src": "1944:7:126",
|
2230
2230
|
"typeDescriptions": {
|
2231
2231
|
"typeIdentifier": "t_uint256",
|
2232
2232
|
"typeString": "uint256"
|
@@ -2235,39 +2235,39 @@
|
|
2235
2235
|
"visibility": "internal"
|
2236
2236
|
}
|
2237
2237
|
],
|
2238
|
-
"id":
|
2238
|
+
"id": 50046,
|
2239
2239
|
"initialValue": {
|
2240
2240
|
"arguments": [],
|
2241
2241
|
"expression": {
|
2242
2242
|
"argumentTypes": [],
|
2243
2243
|
"expression": {
|
2244
|
-
"id":
|
2244
|
+
"id": 50043,
|
2245
2245
|
"name": "keySchema",
|
2246
2246
|
"nodeType": "Identifier",
|
2247
2247
|
"overloadedDeclarations": [],
|
2248
|
-
"referencedDeclaration":
|
2249
|
-
"src": "1964:9:
|
2248
|
+
"referencedDeclaration": 50035,
|
2249
|
+
"src": "1964:9:126",
|
2250
2250
|
"typeDescriptions": {
|
2251
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
2251
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$29222",
|
2252
2252
|
"typeString": "Schema"
|
2253
2253
|
}
|
2254
2254
|
},
|
2255
|
-
"id":
|
2255
|
+
"id": 50044,
|
2256
2256
|
"isConstant": false,
|
2257
2257
|
"isLValue": false,
|
2258
2258
|
"isPure": false,
|
2259
2259
|
"lValueRequested": false,
|
2260
|
-
"memberLocation": "1974:9:
|
2260
|
+
"memberLocation": "1974:9:126",
|
2261
2261
|
"memberName": "numFields",
|
2262
2262
|
"nodeType": "MemberAccess",
|
2263
|
-
"referencedDeclaration":
|
2264
|
-
"src": "1964:19:
|
2263
|
+
"referencedDeclaration": 29518,
|
2264
|
+
"src": "1964:19:126",
|
2265
2265
|
"typeDescriptions": {
|
2266
|
-
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Schema_$
|
2266
|
+
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Schema_$29222_$returns$_t_uint256_$attached_to$_t_userDefinedValueType$_Schema_$29222_$",
|
2267
2267
|
"typeString": "function (Schema) pure returns (uint256)"
|
2268
2268
|
}
|
2269
2269
|
},
|
2270
|
-
"id":
|
2270
|
+
"id": 50045,
|
2271
2271
|
"isConstant": false,
|
2272
2272
|
"isLValue": false,
|
2273
2273
|
"isPure": false,
|
@@ -2276,7 +2276,7 @@
|
|
2276
2276
|
"nameLocations": [],
|
2277
2277
|
"names": [],
|
2278
2278
|
"nodeType": "FunctionCall",
|
2279
|
-
"src": "1964:21:
|
2279
|
+
"src": "1964:21:126",
|
2280
2280
|
"tryCall": false,
|
2281
2281
|
"typeDescriptions": {
|
2282
2282
|
"typeIdentifier": "t_uint256",
|
@@ -2284,22 +2284,22 @@
|
|
2284
2284
|
}
|
2285
2285
|
},
|
2286
2286
|
"nodeType": "VariableDeclarationStatement",
|
2287
|
-
"src": "1944:41:
|
2287
|
+
"src": "1944:41:126"
|
2288
2288
|
},
|
2289
2289
|
{
|
2290
2290
|
"assignments": [
|
2291
|
-
|
2291
|
+
50048
|
2292
2292
|
],
|
2293
2293
|
"declarations": [
|
2294
2294
|
{
|
2295
2295
|
"constant": false,
|
2296
|
-
"id":
|
2296
|
+
"id": 50048,
|
2297
2297
|
"mutability": "mutable",
|
2298
2298
|
"name": "length",
|
2299
|
-
"nameLocation": "1997:6:
|
2299
|
+
"nameLocation": "1997:6:126",
|
2300
2300
|
"nodeType": "VariableDeclaration",
|
2301
|
-
"scope":
|
2302
|
-
"src": "1989:14:
|
2301
|
+
"scope": 50175,
|
2302
|
+
"src": "1989:14:126",
|
2303
2303
|
"stateVariable": false,
|
2304
2304
|
"storageLocation": "default",
|
2305
2305
|
"typeDescriptions": {
|
@@ -2307,10 +2307,10 @@
|
|
2307
2307
|
"typeString": "uint256"
|
2308
2308
|
},
|
2309
2309
|
"typeName": {
|
2310
|
-
"id":
|
2310
|
+
"id": 50047,
|
2311
2311
|
"name": "uint256",
|
2312
2312
|
"nodeType": "ElementaryTypeName",
|
2313
|
-
"src": "1989:7:
|
2313
|
+
"src": "1989:7:126",
|
2314
2314
|
"typeDescriptions": {
|
2315
2315
|
"typeIdentifier": "t_uint256",
|
2316
2316
|
"typeString": "uint256"
|
@@ -2319,30 +2319,30 @@
|
|
2319
2319
|
"visibility": "internal"
|
2320
2320
|
}
|
2321
2321
|
],
|
2322
|
-
"id":
|
2322
|
+
"id": 50054,
|
2323
2323
|
"initialValue": {
|
2324
2324
|
"arguments": [
|
2325
2325
|
{
|
2326
|
-
"id":
|
2326
|
+
"id": 50051,
|
2327
2327
|
"name": "store",
|
2328
2328
|
"nodeType": "Identifier",
|
2329
2329
|
"overloadedDeclarations": [],
|
2330
|
-
"referencedDeclaration":
|
2331
|
-
"src": "2030:5:
|
2330
|
+
"referencedDeclaration": 50022,
|
2331
|
+
"src": "2030:5:126",
|
2332
2332
|
"typeDescriptions": {
|
2333
|
-
"typeIdentifier": "t_contract$_IStore_$
|
2333
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
2334
2334
|
"typeString": "contract IStore"
|
2335
2335
|
}
|
2336
2336
|
},
|
2337
2337
|
{
|
2338
|
-
"id":
|
2338
|
+
"id": 50052,
|
2339
2339
|
"name": "tableId",
|
2340
2340
|
"nodeType": "Identifier",
|
2341
2341
|
"overloadedDeclarations": [],
|
2342
|
-
"referencedDeclaration":
|
2343
|
-
"src": "2037:7:
|
2342
|
+
"referencedDeclaration": 50025,
|
2343
|
+
"src": "2037:7:126",
|
2344
2344
|
"typeDescriptions": {
|
2345
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
2345
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
2346
2346
|
"typeString": "ResourceId"
|
2347
2347
|
}
|
2348
2348
|
}
|
@@ -2350,42 +2350,42 @@
|
|
2350
2350
|
"expression": {
|
2351
2351
|
"argumentTypes": [
|
2352
2352
|
{
|
2353
|
-
"typeIdentifier": "t_contract$_IStore_$
|
2353
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
2354
2354
|
"typeString": "contract IStore"
|
2355
2355
|
},
|
2356
2356
|
{
|
2357
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
2357
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
2358
2358
|
"typeString": "ResourceId"
|
2359
2359
|
}
|
2360
2360
|
],
|
2361
2361
|
"expression": {
|
2362
|
-
"id":
|
2362
|
+
"id": 50049,
|
2363
2363
|
"name": "KeysInTable",
|
2364
2364
|
"nodeType": "Identifier",
|
2365
2365
|
"overloadedDeclarations": [],
|
2366
|
-
"referencedDeclaration":
|
2367
|
-
"src": "2006:11:
|
2366
|
+
"referencedDeclaration": 57455,
|
2367
|
+
"src": "2006:11:126",
|
2368
2368
|
"typeDescriptions": {
|
2369
|
-
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$
|
2369
|
+
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$57455_$",
|
2370
2370
|
"typeString": "type(library KeysInTable)"
|
2371
2371
|
}
|
2372
2372
|
},
|
2373
|
-
"id":
|
2373
|
+
"id": 50050,
|
2374
2374
|
"isConstant": false,
|
2375
2375
|
"isLValue": false,
|
2376
2376
|
"isPure": false,
|
2377
2377
|
"lValueRequested": false,
|
2378
|
-
"memberLocation": "2018:11:
|
2378
|
+
"memberLocation": "2018:11:126",
|
2379
2379
|
"memberName": "lengthKeys0",
|
2380
2380
|
"nodeType": "MemberAccess",
|
2381
|
-
"referencedDeclaration":
|
2382
|
-
"src": "2006:23:
|
2381
|
+
"referencedDeclaration": 51621,
|
2382
|
+
"src": "2006:23:126",
|
2383
2383
|
"typeDescriptions": {
|
2384
|
-
"typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$
|
2384
|
+
"typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$28450_$_t_userDefinedValueType$_ResourceId_$29139_$returns$_t_uint256_$",
|
2385
2385
|
"typeString": "function (contract IStore,ResourceId) view returns (uint256)"
|
2386
2386
|
}
|
2387
2387
|
},
|
2388
|
-
"id":
|
2388
|
+
"id": 50053,
|
2389
2389
|
"isConstant": false,
|
2390
2390
|
"isLValue": false,
|
2391
2391
|
"isPure": false,
|
@@ -2394,7 +2394,7 @@
|
|
2394
2394
|
"nameLocations": [],
|
2395
2395
|
"names": [],
|
2396
2396
|
"nodeType": "FunctionCall",
|
2397
|
-
"src": "2006:39:
|
2397
|
+
"src": "2006:39:126",
|
2398
2398
|
"tryCall": false,
|
2399
2399
|
"typeDescriptions": {
|
2400
2400
|
"typeIdentifier": "t_uint256",
|
@@ -2402,22 +2402,22 @@
|
|
2402
2402
|
}
|
2403
2403
|
},
|
2404
2404
|
"nodeType": "VariableDeclarationStatement",
|
2405
|
-
"src": "1989:56:
|
2405
|
+
"src": "1989:56:126"
|
2406
2406
|
},
|
2407
2407
|
{
|
2408
2408
|
"expression": {
|
2409
|
-
"id":
|
2409
|
+
"id": 50062,
|
2410
2410
|
"isConstant": false,
|
2411
2411
|
"isLValue": false,
|
2412
2412
|
"isPure": false,
|
2413
2413
|
"lValueRequested": false,
|
2414
2414
|
"leftHandSide": {
|
2415
|
-
"id":
|
2415
|
+
"id": 50055,
|
2416
2416
|
"name": "keyTuples",
|
2417
2417
|
"nodeType": "Identifier",
|
2418
2418
|
"overloadedDeclarations": [],
|
2419
|
-
"referencedDeclaration":
|
2420
|
-
"src": "2049:9:
|
2419
|
+
"referencedDeclaration": 50030,
|
2420
|
+
"src": "2049:9:126",
|
2421
2421
|
"typeDescriptions": {
|
2422
2422
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
2423
2423
|
"typeString": "bytes32[] memory[] memory"
|
@@ -2428,12 +2428,12 @@
|
|
2428
2428
|
"rightHandSide": {
|
2429
2429
|
"arguments": [
|
2430
2430
|
{
|
2431
|
-
"id":
|
2431
|
+
"id": 50060,
|
2432
2432
|
"name": "length",
|
2433
2433
|
"nodeType": "Identifier",
|
2434
2434
|
"overloadedDeclarations": [],
|
2435
|
-
"referencedDeclaration":
|
2436
|
-
"src": "2077:6:
|
2435
|
+
"referencedDeclaration": 50048,
|
2436
|
+
"src": "2077:6:126",
|
2437
2437
|
"typeDescriptions": {
|
2438
2438
|
"typeIdentifier": "t_uint256",
|
2439
2439
|
"typeString": "uint256"
|
@@ -2447,13 +2447,13 @@
|
|
2447
2447
|
"typeString": "uint256"
|
2448
2448
|
}
|
2449
2449
|
],
|
2450
|
-
"id":
|
2450
|
+
"id": 50059,
|
2451
2451
|
"isConstant": false,
|
2452
2452
|
"isLValue": false,
|
2453
2453
|
"isPure": true,
|
2454
2454
|
"lValueRequested": false,
|
2455
2455
|
"nodeType": "NewExpression",
|
2456
|
-
"src": "2061:15:
|
2456
|
+
"src": "2061:15:126",
|
2457
2457
|
"typeDescriptions": {
|
2458
2458
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr_$",
|
2459
2459
|
"typeString": "function (uint256) pure returns (bytes32[] memory[] memory)"
|
@@ -2461,33 +2461,33 @@
|
|
2461
2461
|
"typeName": {
|
2462
2462
|
"baseType": {
|
2463
2463
|
"baseType": {
|
2464
|
-
"id":
|
2464
|
+
"id": 50056,
|
2465
2465
|
"name": "bytes32",
|
2466
2466
|
"nodeType": "ElementaryTypeName",
|
2467
|
-
"src": "2065:7:
|
2467
|
+
"src": "2065:7:126",
|
2468
2468
|
"typeDescriptions": {
|
2469
2469
|
"typeIdentifier": "t_bytes32",
|
2470
2470
|
"typeString": "bytes32"
|
2471
2471
|
}
|
2472
2472
|
},
|
2473
|
-
"id":
|
2473
|
+
"id": 50057,
|
2474
2474
|
"nodeType": "ArrayTypeName",
|
2475
|
-
"src": "2065:9:
|
2475
|
+
"src": "2065:9:126",
|
2476
2476
|
"typeDescriptions": {
|
2477
2477
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
2478
2478
|
"typeString": "bytes32[]"
|
2479
2479
|
}
|
2480
2480
|
},
|
2481
|
-
"id":
|
2481
|
+
"id": 50058,
|
2482
2482
|
"nodeType": "ArrayTypeName",
|
2483
|
-
"src": "2065:11:
|
2483
|
+
"src": "2065:11:126",
|
2484
2484
|
"typeDescriptions": {
|
2485
2485
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_storage_$dyn_storage_ptr",
|
2486
2486
|
"typeString": "bytes32[][]"
|
2487
2487
|
}
|
2488
2488
|
}
|
2489
2489
|
},
|
2490
|
-
"id":
|
2490
|
+
"id": 50061,
|
2491
2491
|
"isConstant": false,
|
2492
2492
|
"isLValue": false,
|
2493
2493
|
"isPure": false,
|
@@ -2496,57 +2496,57 @@
|
|
2496
2496
|
"nameLocations": [],
|
2497
2497
|
"names": [],
|
2498
2498
|
"nodeType": "FunctionCall",
|
2499
|
-
"src": "2061:23:
|
2499
|
+
"src": "2061:23:126",
|
2500
2500
|
"tryCall": false,
|
2501
2501
|
"typeDescriptions": {
|
2502
2502
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
2503
2503
|
"typeString": "bytes32[] memory[] memory"
|
2504
2504
|
}
|
2505
2505
|
},
|
2506
|
-
"src": "2049:35:
|
2506
|
+
"src": "2049:35:126",
|
2507
2507
|
"typeDescriptions": {
|
2508
2508
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
2509
2509
|
"typeString": "bytes32[] memory[] memory"
|
2510
2510
|
}
|
2511
2511
|
},
|
2512
|
-
"id":
|
2512
|
+
"id": 50063,
|
2513
2513
|
"nodeType": "ExpressionStatement",
|
2514
|
-
"src": "2049:35:
|
2514
|
+
"src": "2049:35:126"
|
2515
2515
|
},
|
2516
2516
|
{
|
2517
2517
|
"body": {
|
2518
|
-
"id":
|
2518
|
+
"id": 50173,
|
2519
2519
|
"nodeType": "Block",
|
2520
|
-
"src": "2122:668:
|
2520
|
+
"src": "2122:668:126",
|
2521
2521
|
"statements": [
|
2522
2522
|
{
|
2523
2523
|
"expression": {
|
2524
|
-
"id":
|
2524
|
+
"id": 50081,
|
2525
2525
|
"isConstant": false,
|
2526
2526
|
"isLValue": false,
|
2527
2527
|
"isPure": false,
|
2528
2528
|
"lValueRequested": false,
|
2529
2529
|
"leftHandSide": {
|
2530
2530
|
"baseExpression": {
|
2531
|
-
"id":
|
2531
|
+
"id": 50073,
|
2532
2532
|
"name": "keyTuples",
|
2533
2533
|
"nodeType": "Identifier",
|
2534
2534
|
"overloadedDeclarations": [],
|
2535
|
-
"referencedDeclaration":
|
2536
|
-
"src": "2128:9:
|
2535
|
+
"referencedDeclaration": 50030,
|
2536
|
+
"src": "2128:9:126",
|
2537
2537
|
"typeDescriptions": {
|
2538
2538
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
2539
2539
|
"typeString": "bytes32[] memory[] memory"
|
2540
2540
|
}
|
2541
2541
|
},
|
2542
|
-
"id":
|
2542
|
+
"id": 50075,
|
2543
2543
|
"indexExpression": {
|
2544
|
-
"id":
|
2544
|
+
"id": 50074,
|
2545
2545
|
"name": "i",
|
2546
2546
|
"nodeType": "Identifier",
|
2547
2547
|
"overloadedDeclarations": [],
|
2548
|
-
"referencedDeclaration":
|
2549
|
-
"src": "2138:1:
|
2548
|
+
"referencedDeclaration": 50065,
|
2549
|
+
"src": "2138:1:126",
|
2550
2550
|
"typeDescriptions": {
|
2551
2551
|
"typeIdentifier": "t_uint256",
|
2552
2552
|
"typeString": "uint256"
|
@@ -2557,7 +2557,7 @@
|
|
2557
2557
|
"isPure": false,
|
2558
2558
|
"lValueRequested": true,
|
2559
2559
|
"nodeType": "IndexAccess",
|
2560
|
-
"src": "2128:12:
|
2560
|
+
"src": "2128:12:126",
|
2561
2561
|
"typeDescriptions": {
|
2562
2562
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
2563
2563
|
"typeString": "bytes32[] memory"
|
@@ -2568,12 +2568,12 @@
|
|
2568
2568
|
"rightHandSide": {
|
2569
2569
|
"arguments": [
|
2570
2570
|
{
|
2571
|
-
"id":
|
2571
|
+
"id": 50079,
|
2572
2572
|
"name": "numFields",
|
2573
2573
|
"nodeType": "Identifier",
|
2574
2574
|
"overloadedDeclarations": [],
|
2575
|
-
"referencedDeclaration":
|
2576
|
-
"src": "2157:9:
|
2575
|
+
"referencedDeclaration": 50042,
|
2576
|
+
"src": "2157:9:126",
|
2577
2577
|
"typeDescriptions": {
|
2578
2578
|
"typeIdentifier": "t_uint256",
|
2579
2579
|
"typeString": "uint256"
|
@@ -2587,38 +2587,38 @@
|
|
2587
2587
|
"typeString": "uint256"
|
2588
2588
|
}
|
2589
2589
|
],
|
2590
|
-
"id":
|
2590
|
+
"id": 50078,
|
2591
2591
|
"isConstant": false,
|
2592
2592
|
"isLValue": false,
|
2593
2593
|
"isPure": true,
|
2594
2594
|
"lValueRequested": false,
|
2595
2595
|
"nodeType": "NewExpression",
|
2596
|
-
"src": "2143:13:
|
2596
|
+
"src": "2143:13:126",
|
2597
2597
|
"typeDescriptions": {
|
2598
2598
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
2599
2599
|
"typeString": "function (uint256) pure returns (bytes32[] memory)"
|
2600
2600
|
},
|
2601
2601
|
"typeName": {
|
2602
2602
|
"baseType": {
|
2603
|
-
"id":
|
2603
|
+
"id": 50076,
|
2604
2604
|
"name": "bytes32",
|
2605
2605
|
"nodeType": "ElementaryTypeName",
|
2606
|
-
"src": "2147:7:
|
2606
|
+
"src": "2147:7:126",
|
2607
2607
|
"typeDescriptions": {
|
2608
2608
|
"typeIdentifier": "t_bytes32",
|
2609
2609
|
"typeString": "bytes32"
|
2610
2610
|
}
|
2611
2611
|
},
|
2612
|
-
"id":
|
2612
|
+
"id": 50077,
|
2613
2613
|
"nodeType": "ArrayTypeName",
|
2614
|
-
"src": "2147:9:
|
2614
|
+
"src": "2147:9:126",
|
2615
2615
|
"typeDescriptions": {
|
2616
2616
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
2617
2617
|
"typeString": "bytes32[]"
|
2618
2618
|
}
|
2619
2619
|
}
|
2620
2620
|
},
|
2621
|
-
"id":
|
2621
|
+
"id": 50080,
|
2622
2622
|
"isConstant": false,
|
2623
2623
|
"isLValue": false,
|
2624
2624
|
"isPure": false,
|
@@ -2627,22 +2627,22 @@
|
|
2627
2627
|
"nameLocations": [],
|
2628
2628
|
"names": [],
|
2629
2629
|
"nodeType": "FunctionCall",
|
2630
|
-
"src": "2143:24:
|
2630
|
+
"src": "2143:24:126",
|
2631
2631
|
"tryCall": false,
|
2632
2632
|
"typeDescriptions": {
|
2633
2633
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
2634
2634
|
"typeString": "bytes32[] memory"
|
2635
2635
|
}
|
2636
2636
|
},
|
2637
|
-
"src": "2128:39:
|
2637
|
+
"src": "2128:39:126",
|
2638
2638
|
"typeDescriptions": {
|
2639
2639
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
2640
2640
|
"typeString": "bytes32[] memory"
|
2641
2641
|
}
|
2642
2642
|
},
|
2643
|
-
"id":
|
2643
|
+
"id": 50082,
|
2644
2644
|
"nodeType": "ExpressionStatement",
|
2645
|
-
"src": "2128:39:
|
2645
|
+
"src": "2128:39:126"
|
2646
2646
|
},
|
2647
2647
|
{
|
2648
2648
|
"condition": {
|
@@ -2650,18 +2650,18 @@
|
|
2650
2650
|
"typeIdentifier": "t_uint256",
|
2651
2651
|
"typeString": "uint256"
|
2652
2652
|
},
|
2653
|
-
"id":
|
2653
|
+
"id": 50085,
|
2654
2654
|
"isConstant": false,
|
2655
2655
|
"isLValue": false,
|
2656
2656
|
"isPure": false,
|
2657
2657
|
"lValueRequested": false,
|
2658
2658
|
"leftExpression": {
|
2659
|
-
"id":
|
2659
|
+
"id": 50083,
|
2660
2660
|
"name": "numFields",
|
2661
2661
|
"nodeType": "Identifier",
|
2662
2662
|
"overloadedDeclarations": [],
|
2663
|
-
"referencedDeclaration":
|
2664
|
-
"src": "2235:9:
|
2663
|
+
"referencedDeclaration": 50042,
|
2664
|
+
"src": "2235:9:126",
|
2665
2665
|
"typeDescriptions": {
|
2666
2666
|
"typeIdentifier": "t_uint256",
|
2667
2667
|
"typeString": "uint256"
|
@@ -2671,37 +2671,37 @@
|
|
2671
2671
|
"operator": ">",
|
2672
2672
|
"rightExpression": {
|
2673
2673
|
"hexValue": "30",
|
2674
|
-
"id":
|
2674
|
+
"id": 50084,
|
2675
2675
|
"isConstant": false,
|
2676
2676
|
"isLValue": false,
|
2677
2677
|
"isPure": true,
|
2678
2678
|
"kind": "number",
|
2679
2679
|
"lValueRequested": false,
|
2680
2680
|
"nodeType": "Literal",
|
2681
|
-
"src": "2247:1:
|
2681
|
+
"src": "2247:1:126",
|
2682
2682
|
"typeDescriptions": {
|
2683
2683
|
"typeIdentifier": "t_rational_0_by_1",
|
2684
2684
|
"typeString": "int_const 0"
|
2685
2685
|
},
|
2686
2686
|
"value": "0"
|
2687
2687
|
},
|
2688
|
-
"src": "2235:13:
|
2688
|
+
"src": "2235:13:126",
|
2689
2689
|
"typeDescriptions": {
|
2690
2690
|
"typeIdentifier": "t_bool",
|
2691
2691
|
"typeString": "bool"
|
2692
2692
|
}
|
2693
2693
|
},
|
2694
|
-
"id":
|
2694
|
+
"id": 50172,
|
2695
2695
|
"nodeType": "IfStatement",
|
2696
|
-
"src": "2231:555:
|
2696
|
+
"src": "2231:555:126",
|
2697
2697
|
"trueBody": {
|
2698
|
-
"id":
|
2698
|
+
"id": 50171,
|
2699
2699
|
"nodeType": "Block",
|
2700
|
-
"src": "2250:536:
|
2700
|
+
"src": "2250:536:126",
|
2701
2701
|
"statements": [
|
2702
2702
|
{
|
2703
2703
|
"expression": {
|
2704
|
-
"id":
|
2704
|
+
"id": 50097,
|
2705
2705
|
"isConstant": false,
|
2706
2706
|
"isLValue": false,
|
2707
2707
|
"isPure": false,
|
@@ -2709,25 +2709,25 @@
|
|
2709
2709
|
"leftHandSide": {
|
2710
2710
|
"baseExpression": {
|
2711
2711
|
"baseExpression": {
|
2712
|
-
"id":
|
2712
|
+
"id": 50086,
|
2713
2713
|
"name": "keyTuples",
|
2714
2714
|
"nodeType": "Identifier",
|
2715
2715
|
"overloadedDeclarations": [],
|
2716
|
-
"referencedDeclaration":
|
2717
|
-
"src": "2258:9:
|
2716
|
+
"referencedDeclaration": 50030,
|
2717
|
+
"src": "2258:9:126",
|
2718
2718
|
"typeDescriptions": {
|
2719
2719
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
2720
2720
|
"typeString": "bytes32[] memory[] memory"
|
2721
2721
|
}
|
2722
2722
|
},
|
2723
|
-
"id":
|
2723
|
+
"id": 50089,
|
2724
2724
|
"indexExpression": {
|
2725
|
-
"id":
|
2725
|
+
"id": 50087,
|
2726
2726
|
"name": "i",
|
2727
2727
|
"nodeType": "Identifier",
|
2728
2728
|
"overloadedDeclarations": [],
|
2729
|
-
"referencedDeclaration":
|
2730
|
-
"src": "2268:1:
|
2729
|
+
"referencedDeclaration": 50065,
|
2730
|
+
"src": "2268:1:126",
|
2731
2731
|
"typeDescriptions": {
|
2732
2732
|
"typeIdentifier": "t_uint256",
|
2733
2733
|
"typeString": "uint256"
|
@@ -2738,23 +2738,23 @@
|
|
2738
2738
|
"isPure": false,
|
2739
2739
|
"lValueRequested": false,
|
2740
2740
|
"nodeType": "IndexAccess",
|
2741
|
-
"src": "2258:12:
|
2741
|
+
"src": "2258:12:126",
|
2742
2742
|
"typeDescriptions": {
|
2743
2743
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
2744
2744
|
"typeString": "bytes32[] memory"
|
2745
2745
|
}
|
2746
2746
|
},
|
2747
|
-
"id":
|
2747
|
+
"id": 50090,
|
2748
2748
|
"indexExpression": {
|
2749
2749
|
"hexValue": "30",
|
2750
|
-
"id":
|
2750
|
+
"id": 50088,
|
2751
2751
|
"isConstant": false,
|
2752
2752
|
"isLValue": false,
|
2753
2753
|
"isPure": true,
|
2754
2754
|
"kind": "number",
|
2755
2755
|
"lValueRequested": false,
|
2756
2756
|
"nodeType": "Literal",
|
2757
|
-
"src": "2271:1:
|
2757
|
+
"src": "2271:1:126",
|
2758
2758
|
"typeDescriptions": {
|
2759
2759
|
"typeIdentifier": "t_rational_0_by_1",
|
2760
2760
|
"typeString": "int_const 0"
|
@@ -2766,7 +2766,7 @@
|
|
2766
2766
|
"isPure": false,
|
2767
2767
|
"lValueRequested": true,
|
2768
2768
|
"nodeType": "IndexAccess",
|
2769
|
-
"src": "2258:15:
|
2769
|
+
"src": "2258:15:126",
|
2770
2770
|
"typeDescriptions": {
|
2771
2771
|
"typeIdentifier": "t_bytes32",
|
2772
2772
|
"typeString": "bytes32"
|
@@ -2777,36 +2777,36 @@
|
|
2777
2777
|
"rightHandSide": {
|
2778
2778
|
"arguments": [
|
2779
2779
|
{
|
2780
|
-
"id":
|
2780
|
+
"id": 50093,
|
2781
2781
|
"name": "store",
|
2782
2782
|
"nodeType": "Identifier",
|
2783
2783
|
"overloadedDeclarations": [],
|
2784
|
-
"referencedDeclaration":
|
2785
|
-
"src": "2301:5:
|
2784
|
+
"referencedDeclaration": 50022,
|
2785
|
+
"src": "2301:5:126",
|
2786
2786
|
"typeDescriptions": {
|
2787
|
-
"typeIdentifier": "t_contract$_IStore_$
|
2787
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
2788
2788
|
"typeString": "contract IStore"
|
2789
2789
|
}
|
2790
2790
|
},
|
2791
2791
|
{
|
2792
|
-
"id":
|
2792
|
+
"id": 50094,
|
2793
2793
|
"name": "tableId",
|
2794
2794
|
"nodeType": "Identifier",
|
2795
2795
|
"overloadedDeclarations": [],
|
2796
|
-
"referencedDeclaration":
|
2797
|
-
"src": "2308:7:
|
2796
|
+
"referencedDeclaration": 50025,
|
2797
|
+
"src": "2308:7:126",
|
2798
2798
|
"typeDescriptions": {
|
2799
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
2799
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
2800
2800
|
"typeString": "ResourceId"
|
2801
2801
|
}
|
2802
2802
|
},
|
2803
2803
|
{
|
2804
|
-
"id":
|
2804
|
+
"id": 50095,
|
2805
2805
|
"name": "i",
|
2806
2806
|
"nodeType": "Identifier",
|
2807
2807
|
"overloadedDeclarations": [],
|
2808
|
-
"referencedDeclaration":
|
2809
|
-
"src": "2317:1:
|
2808
|
+
"referencedDeclaration": 50065,
|
2809
|
+
"src": "2317:1:126",
|
2810
2810
|
"typeDescriptions": {
|
2811
2811
|
"typeIdentifier": "t_uint256",
|
2812
2812
|
"typeString": "uint256"
|
@@ -2816,11 +2816,11 @@
|
|
2816
2816
|
"expression": {
|
2817
2817
|
"argumentTypes": [
|
2818
2818
|
{
|
2819
|
-
"typeIdentifier": "t_contract$_IStore_$
|
2819
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
2820
2820
|
"typeString": "contract IStore"
|
2821
2821
|
},
|
2822
2822
|
{
|
2823
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
2823
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
2824
2824
|
"typeString": "ResourceId"
|
2825
2825
|
},
|
2826
2826
|
{
|
@@ -2829,33 +2829,33 @@
|
|
2829
2829
|
}
|
2830
2830
|
],
|
2831
2831
|
"expression": {
|
2832
|
-
"id":
|
2832
|
+
"id": 50091,
|
2833
2833
|
"name": "KeysInTable",
|
2834
2834
|
"nodeType": "Identifier",
|
2835
2835
|
"overloadedDeclarations": [],
|
2836
|
-
"referencedDeclaration":
|
2837
|
-
"src": "2276:11:
|
2836
|
+
"referencedDeclaration": 57455,
|
2837
|
+
"src": "2276:11:126",
|
2838
2838
|
"typeDescriptions": {
|
2839
|
-
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$
|
2839
|
+
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$57455_$",
|
2840
2840
|
"typeString": "type(library KeysInTable)"
|
2841
2841
|
}
|
2842
2842
|
},
|
2843
|
-
"id":
|
2843
|
+
"id": 50092,
|
2844
2844
|
"isConstant": false,
|
2845
2845
|
"isLValue": false,
|
2846
2846
|
"isPure": false,
|
2847
2847
|
"lValueRequested": false,
|
2848
|
-
"memberLocation": "2288:12:
|
2848
|
+
"memberLocation": "2288:12:126",
|
2849
2849
|
"memberName": "getItemKeys0",
|
2850
2850
|
"nodeType": "MemberAccess",
|
2851
|
-
"referencedDeclaration":
|
2852
|
-
"src": "2276:24:
|
2851
|
+
"referencedDeclaration": 51795,
|
2852
|
+
"src": "2276:24:126",
|
2853
2853
|
"typeDescriptions": {
|
2854
|
-
"typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$
|
2854
|
+
"typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$28450_$_t_userDefinedValueType$_ResourceId_$29139_$_t_uint256_$returns$_t_bytes32_$",
|
2855
2855
|
"typeString": "function (contract IStore,ResourceId,uint256) view returns (bytes32)"
|
2856
2856
|
}
|
2857
2857
|
},
|
2858
|
-
"id":
|
2858
|
+
"id": 50096,
|
2859
2859
|
"isConstant": false,
|
2860
2860
|
"isLValue": false,
|
2861
2861
|
"isPure": false,
|
@@ -2864,22 +2864,22 @@
|
|
2864
2864
|
"nameLocations": [],
|
2865
2865
|
"names": [],
|
2866
2866
|
"nodeType": "FunctionCall",
|
2867
|
-
"src": "2276:43:
|
2867
|
+
"src": "2276:43:126",
|
2868
2868
|
"tryCall": false,
|
2869
2869
|
"typeDescriptions": {
|
2870
2870
|
"typeIdentifier": "t_bytes32",
|
2871
2871
|
"typeString": "bytes32"
|
2872
2872
|
}
|
2873
2873
|
},
|
2874
|
-
"src": "2258:61:
|
2874
|
+
"src": "2258:61:126",
|
2875
2875
|
"typeDescriptions": {
|
2876
2876
|
"typeIdentifier": "t_bytes32",
|
2877
2877
|
"typeString": "bytes32"
|
2878
2878
|
}
|
2879
2879
|
},
|
2880
|
-
"id":
|
2880
|
+
"id": 50098,
|
2881
2881
|
"nodeType": "ExpressionStatement",
|
2882
|
-
"src": "2258:61:
|
2882
|
+
"src": "2258:61:126"
|
2883
2883
|
},
|
2884
2884
|
{
|
2885
2885
|
"condition": {
|
@@ -2887,18 +2887,18 @@
|
|
2887
2887
|
"typeIdentifier": "t_uint256",
|
2888
2888
|
"typeString": "uint256"
|
2889
2889
|
},
|
2890
|
-
"id":
|
2890
|
+
"id": 50101,
|
2891
2891
|
"isConstant": false,
|
2892
2892
|
"isLValue": false,
|
2893
2893
|
"isPure": false,
|
2894
2894
|
"lValueRequested": false,
|
2895
2895
|
"leftExpression": {
|
2896
|
-
"id":
|
2896
|
+
"id": 50099,
|
2897
2897
|
"name": "numFields",
|
2898
2898
|
"nodeType": "Identifier",
|
2899
2899
|
"overloadedDeclarations": [],
|
2900
|
-
"referencedDeclaration":
|
2901
|
-
"src": "2331:9:
|
2900
|
+
"referencedDeclaration": 50042,
|
2901
|
+
"src": "2331:9:126",
|
2902
2902
|
"typeDescriptions": {
|
2903
2903
|
"typeIdentifier": "t_uint256",
|
2904
2904
|
"typeString": "uint256"
|
@@ -2908,37 +2908,37 @@
|
|
2908
2908
|
"operator": ">",
|
2909
2909
|
"rightExpression": {
|
2910
2910
|
"hexValue": "31",
|
2911
|
-
"id":
|
2911
|
+
"id": 50100,
|
2912
2912
|
"isConstant": false,
|
2913
2913
|
"isLValue": false,
|
2914
2914
|
"isPure": true,
|
2915
2915
|
"kind": "number",
|
2916
2916
|
"lValueRequested": false,
|
2917
2917
|
"nodeType": "Literal",
|
2918
|
-
"src": "2343:1:
|
2918
|
+
"src": "2343:1:126",
|
2919
2919
|
"typeDescriptions": {
|
2920
2920
|
"typeIdentifier": "t_rational_1_by_1",
|
2921
2921
|
"typeString": "int_const 1"
|
2922
2922
|
},
|
2923
2923
|
"value": "1"
|
2924
2924
|
},
|
2925
|
-
"src": "2331:13:
|
2925
|
+
"src": "2331:13:126",
|
2926
2926
|
"typeDescriptions": {
|
2927
2927
|
"typeIdentifier": "t_bool",
|
2928
2928
|
"typeString": "bool"
|
2929
2929
|
}
|
2930
2930
|
},
|
2931
|
-
"id":
|
2931
|
+
"id": 50170,
|
2932
2932
|
"nodeType": "IfStatement",
|
2933
|
-
"src": "2327:453:
|
2933
|
+
"src": "2327:453:126",
|
2934
2934
|
"trueBody": {
|
2935
|
-
"id":
|
2935
|
+
"id": 50169,
|
2936
2936
|
"nodeType": "Block",
|
2937
|
-
"src": "2346:434:
|
2937
|
+
"src": "2346:434:126",
|
2938
2938
|
"statements": [
|
2939
2939
|
{
|
2940
2940
|
"expression": {
|
2941
|
-
"id":
|
2941
|
+
"id": 50113,
|
2942
2942
|
"isConstant": false,
|
2943
2943
|
"isLValue": false,
|
2944
2944
|
"isPure": false,
|
@@ -2946,25 +2946,25 @@
|
|
2946
2946
|
"leftHandSide": {
|
2947
2947
|
"baseExpression": {
|
2948
2948
|
"baseExpression": {
|
2949
|
-
"id":
|
2949
|
+
"id": 50102,
|
2950
2950
|
"name": "keyTuples",
|
2951
2951
|
"nodeType": "Identifier",
|
2952
2952
|
"overloadedDeclarations": [],
|
2953
|
-
"referencedDeclaration":
|
2954
|
-
"src": "2356:9:
|
2953
|
+
"referencedDeclaration": 50030,
|
2954
|
+
"src": "2356:9:126",
|
2955
2955
|
"typeDescriptions": {
|
2956
2956
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
2957
2957
|
"typeString": "bytes32[] memory[] memory"
|
2958
2958
|
}
|
2959
2959
|
},
|
2960
|
-
"id":
|
2960
|
+
"id": 50105,
|
2961
2961
|
"indexExpression": {
|
2962
|
-
"id":
|
2962
|
+
"id": 50103,
|
2963
2963
|
"name": "i",
|
2964
2964
|
"nodeType": "Identifier",
|
2965
2965
|
"overloadedDeclarations": [],
|
2966
|
-
"referencedDeclaration":
|
2967
|
-
"src": "2366:1:
|
2966
|
+
"referencedDeclaration": 50065,
|
2967
|
+
"src": "2366:1:126",
|
2968
2968
|
"typeDescriptions": {
|
2969
2969
|
"typeIdentifier": "t_uint256",
|
2970
2970
|
"typeString": "uint256"
|
@@ -2975,23 +2975,23 @@
|
|
2975
2975
|
"isPure": false,
|
2976
2976
|
"lValueRequested": false,
|
2977
2977
|
"nodeType": "IndexAccess",
|
2978
|
-
"src": "2356:12:
|
2978
|
+
"src": "2356:12:126",
|
2979
2979
|
"typeDescriptions": {
|
2980
2980
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
2981
2981
|
"typeString": "bytes32[] memory"
|
2982
2982
|
}
|
2983
2983
|
},
|
2984
|
-
"id":
|
2984
|
+
"id": 50106,
|
2985
2985
|
"indexExpression": {
|
2986
2986
|
"hexValue": "31",
|
2987
|
-
"id":
|
2987
|
+
"id": 50104,
|
2988
2988
|
"isConstant": false,
|
2989
2989
|
"isLValue": false,
|
2990
2990
|
"isPure": true,
|
2991
2991
|
"kind": "number",
|
2992
2992
|
"lValueRequested": false,
|
2993
2993
|
"nodeType": "Literal",
|
2994
|
-
"src": "2369:1:
|
2994
|
+
"src": "2369:1:126",
|
2995
2995
|
"typeDescriptions": {
|
2996
2996
|
"typeIdentifier": "t_rational_1_by_1",
|
2997
2997
|
"typeString": "int_const 1"
|
@@ -3003,7 +3003,7 @@
|
|
3003
3003
|
"isPure": false,
|
3004
3004
|
"lValueRequested": true,
|
3005
3005
|
"nodeType": "IndexAccess",
|
3006
|
-
"src": "2356:15:
|
3006
|
+
"src": "2356:15:126",
|
3007
3007
|
"typeDescriptions": {
|
3008
3008
|
"typeIdentifier": "t_bytes32",
|
3009
3009
|
"typeString": "bytes32"
|
@@ -3014,36 +3014,36 @@
|
|
3014
3014
|
"rightHandSide": {
|
3015
3015
|
"arguments": [
|
3016
3016
|
{
|
3017
|
-
"id":
|
3017
|
+
"id": 50109,
|
3018
3018
|
"name": "store",
|
3019
3019
|
"nodeType": "Identifier",
|
3020
3020
|
"overloadedDeclarations": [],
|
3021
|
-
"referencedDeclaration":
|
3022
|
-
"src": "2399:5:
|
3021
|
+
"referencedDeclaration": 50022,
|
3022
|
+
"src": "2399:5:126",
|
3023
3023
|
"typeDescriptions": {
|
3024
|
-
"typeIdentifier": "t_contract$_IStore_$
|
3024
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
3025
3025
|
"typeString": "contract IStore"
|
3026
3026
|
}
|
3027
3027
|
},
|
3028
3028
|
{
|
3029
|
-
"id":
|
3029
|
+
"id": 50110,
|
3030
3030
|
"name": "tableId",
|
3031
3031
|
"nodeType": "Identifier",
|
3032
3032
|
"overloadedDeclarations": [],
|
3033
|
-
"referencedDeclaration":
|
3034
|
-
"src": "2406:7:
|
3033
|
+
"referencedDeclaration": 50025,
|
3034
|
+
"src": "2406:7:126",
|
3035
3035
|
"typeDescriptions": {
|
3036
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
3036
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
3037
3037
|
"typeString": "ResourceId"
|
3038
3038
|
}
|
3039
3039
|
},
|
3040
3040
|
{
|
3041
|
-
"id":
|
3041
|
+
"id": 50111,
|
3042
3042
|
"name": "i",
|
3043
3043
|
"nodeType": "Identifier",
|
3044
3044
|
"overloadedDeclarations": [],
|
3045
|
-
"referencedDeclaration":
|
3046
|
-
"src": "2415:1:
|
3045
|
+
"referencedDeclaration": 50065,
|
3046
|
+
"src": "2415:1:126",
|
3047
3047
|
"typeDescriptions": {
|
3048
3048
|
"typeIdentifier": "t_uint256",
|
3049
3049
|
"typeString": "uint256"
|
@@ -3053,11 +3053,11 @@
|
|
3053
3053
|
"expression": {
|
3054
3054
|
"argumentTypes": [
|
3055
3055
|
{
|
3056
|
-
"typeIdentifier": "t_contract$_IStore_$
|
3056
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
3057
3057
|
"typeString": "contract IStore"
|
3058
3058
|
},
|
3059
3059
|
{
|
3060
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
3060
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
3061
3061
|
"typeString": "ResourceId"
|
3062
3062
|
},
|
3063
3063
|
{
|
@@ -3066,33 +3066,33 @@
|
|
3066
3066
|
}
|
3067
3067
|
],
|
3068
3068
|
"expression": {
|
3069
|
-
"id":
|
3069
|
+
"id": 50107,
|
3070
3070
|
"name": "KeysInTable",
|
3071
3071
|
"nodeType": "Identifier",
|
3072
3072
|
"overloadedDeclarations": [],
|
3073
|
-
"referencedDeclaration":
|
3074
|
-
"src": "2374:11:
|
3073
|
+
"referencedDeclaration": 57455,
|
3074
|
+
"src": "2374:11:126",
|
3075
3075
|
"typeDescriptions": {
|
3076
|
-
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$
|
3076
|
+
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$57455_$",
|
3077
3077
|
"typeString": "type(library KeysInTable)"
|
3078
3078
|
}
|
3079
3079
|
},
|
3080
|
-
"id":
|
3080
|
+
"id": 50108,
|
3081
3081
|
"isConstant": false,
|
3082
3082
|
"isLValue": false,
|
3083
3083
|
"isPure": false,
|
3084
3084
|
"lValueRequested": false,
|
3085
|
-
"memberLocation": "2386:12:
|
3085
|
+
"memberLocation": "2386:12:126",
|
3086
3086
|
"memberName": "getItemKeys1",
|
3087
3087
|
"nodeType": "MemberAccess",
|
3088
|
-
"referencedDeclaration":
|
3089
|
-
"src": "2374:24:
|
3088
|
+
"referencedDeclaration": 52827,
|
3089
|
+
"src": "2374:24:126",
|
3090
3090
|
"typeDescriptions": {
|
3091
|
-
"typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$
|
3091
|
+
"typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$28450_$_t_userDefinedValueType$_ResourceId_$29139_$_t_uint256_$returns$_t_bytes32_$",
|
3092
3092
|
"typeString": "function (contract IStore,ResourceId,uint256) view returns (bytes32)"
|
3093
3093
|
}
|
3094
3094
|
},
|
3095
|
-
"id":
|
3095
|
+
"id": 50112,
|
3096
3096
|
"isConstant": false,
|
3097
3097
|
"isLValue": false,
|
3098
3098
|
"isPure": false,
|
@@ -3101,22 +3101,22 @@
|
|
3101
3101
|
"nameLocations": [],
|
3102
3102
|
"names": [],
|
3103
3103
|
"nodeType": "FunctionCall",
|
3104
|
-
"src": "2374:43:
|
3104
|
+
"src": "2374:43:126",
|
3105
3105
|
"tryCall": false,
|
3106
3106
|
"typeDescriptions": {
|
3107
3107
|
"typeIdentifier": "t_bytes32",
|
3108
3108
|
"typeString": "bytes32"
|
3109
3109
|
}
|
3110
3110
|
},
|
3111
|
-
"src": "2356:61:
|
3111
|
+
"src": "2356:61:126",
|
3112
3112
|
"typeDescriptions": {
|
3113
3113
|
"typeIdentifier": "t_bytes32",
|
3114
3114
|
"typeString": "bytes32"
|
3115
3115
|
}
|
3116
3116
|
},
|
3117
|
-
"id":
|
3117
|
+
"id": 50114,
|
3118
3118
|
"nodeType": "ExpressionStatement",
|
3119
|
-
"src": "2356:61:
|
3119
|
+
"src": "2356:61:126"
|
3120
3120
|
},
|
3121
3121
|
{
|
3122
3122
|
"condition": {
|
@@ -3124,18 +3124,18 @@
|
|
3124
3124
|
"typeIdentifier": "t_uint256",
|
3125
3125
|
"typeString": "uint256"
|
3126
3126
|
},
|
3127
|
-
"id":
|
3127
|
+
"id": 50117,
|
3128
3128
|
"isConstant": false,
|
3129
3129
|
"isLValue": false,
|
3130
3130
|
"isPure": false,
|
3131
3131
|
"lValueRequested": false,
|
3132
3132
|
"leftExpression": {
|
3133
|
-
"id":
|
3133
|
+
"id": 50115,
|
3134
3134
|
"name": "numFields",
|
3135
3135
|
"nodeType": "Identifier",
|
3136
3136
|
"overloadedDeclarations": [],
|
3137
|
-
"referencedDeclaration":
|
3138
|
-
"src": "2431:9:
|
3137
|
+
"referencedDeclaration": 50042,
|
3138
|
+
"src": "2431:9:126",
|
3139
3139
|
"typeDescriptions": {
|
3140
3140
|
"typeIdentifier": "t_uint256",
|
3141
3141
|
"typeString": "uint256"
|
@@ -3145,37 +3145,37 @@
|
|
3145
3145
|
"operator": ">",
|
3146
3146
|
"rightExpression": {
|
3147
3147
|
"hexValue": "32",
|
3148
|
-
"id":
|
3148
|
+
"id": 50116,
|
3149
3149
|
"isConstant": false,
|
3150
3150
|
"isLValue": false,
|
3151
3151
|
"isPure": true,
|
3152
3152
|
"kind": "number",
|
3153
3153
|
"lValueRequested": false,
|
3154
3154
|
"nodeType": "Literal",
|
3155
|
-
"src": "2443:1:
|
3155
|
+
"src": "2443:1:126",
|
3156
3156
|
"typeDescriptions": {
|
3157
3157
|
"typeIdentifier": "t_rational_2_by_1",
|
3158
3158
|
"typeString": "int_const 2"
|
3159
3159
|
},
|
3160
3160
|
"value": "2"
|
3161
3161
|
},
|
3162
|
-
"src": "2431:13:
|
3162
|
+
"src": "2431:13:126",
|
3163
3163
|
"typeDescriptions": {
|
3164
3164
|
"typeIdentifier": "t_bool",
|
3165
3165
|
"typeString": "bool"
|
3166
3166
|
}
|
3167
3167
|
},
|
3168
|
-
"id":
|
3168
|
+
"id": 50168,
|
3169
3169
|
"nodeType": "IfStatement",
|
3170
|
-
"src": "2427:345:
|
3170
|
+
"src": "2427:345:126",
|
3171
3171
|
"trueBody": {
|
3172
|
-
"id":
|
3172
|
+
"id": 50167,
|
3173
3173
|
"nodeType": "Block",
|
3174
|
-
"src": "2446:326:
|
3174
|
+
"src": "2446:326:126",
|
3175
3175
|
"statements": [
|
3176
3176
|
{
|
3177
3177
|
"expression": {
|
3178
|
-
"id":
|
3178
|
+
"id": 50129,
|
3179
3179
|
"isConstant": false,
|
3180
3180
|
"isLValue": false,
|
3181
3181
|
"isPure": false,
|
@@ -3183,25 +3183,25 @@
|
|
3183
3183
|
"leftHandSide": {
|
3184
3184
|
"baseExpression": {
|
3185
3185
|
"baseExpression": {
|
3186
|
-
"id":
|
3186
|
+
"id": 50118,
|
3187
3187
|
"name": "keyTuples",
|
3188
3188
|
"nodeType": "Identifier",
|
3189
3189
|
"overloadedDeclarations": [],
|
3190
|
-
"referencedDeclaration":
|
3191
|
-
"src": "2458:9:
|
3190
|
+
"referencedDeclaration": 50030,
|
3191
|
+
"src": "2458:9:126",
|
3192
3192
|
"typeDescriptions": {
|
3193
3193
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
3194
3194
|
"typeString": "bytes32[] memory[] memory"
|
3195
3195
|
}
|
3196
3196
|
},
|
3197
|
-
"id":
|
3197
|
+
"id": 50121,
|
3198
3198
|
"indexExpression": {
|
3199
|
-
"id":
|
3199
|
+
"id": 50119,
|
3200
3200
|
"name": "i",
|
3201
3201
|
"nodeType": "Identifier",
|
3202
3202
|
"overloadedDeclarations": [],
|
3203
|
-
"referencedDeclaration":
|
3204
|
-
"src": "2468:1:
|
3203
|
+
"referencedDeclaration": 50065,
|
3204
|
+
"src": "2468:1:126",
|
3205
3205
|
"typeDescriptions": {
|
3206
3206
|
"typeIdentifier": "t_uint256",
|
3207
3207
|
"typeString": "uint256"
|
@@ -3212,23 +3212,23 @@
|
|
3212
3212
|
"isPure": false,
|
3213
3213
|
"lValueRequested": false,
|
3214
3214
|
"nodeType": "IndexAccess",
|
3215
|
-
"src": "2458:12:
|
3215
|
+
"src": "2458:12:126",
|
3216
3216
|
"typeDescriptions": {
|
3217
3217
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
3218
3218
|
"typeString": "bytes32[] memory"
|
3219
3219
|
}
|
3220
3220
|
},
|
3221
|
-
"id":
|
3221
|
+
"id": 50122,
|
3222
3222
|
"indexExpression": {
|
3223
3223
|
"hexValue": "32",
|
3224
|
-
"id":
|
3224
|
+
"id": 50120,
|
3225
3225
|
"isConstant": false,
|
3226
3226
|
"isLValue": false,
|
3227
3227
|
"isPure": true,
|
3228
3228
|
"kind": "number",
|
3229
3229
|
"lValueRequested": false,
|
3230
3230
|
"nodeType": "Literal",
|
3231
|
-
"src": "2471:1:
|
3231
|
+
"src": "2471:1:126",
|
3232
3232
|
"typeDescriptions": {
|
3233
3233
|
"typeIdentifier": "t_rational_2_by_1",
|
3234
3234
|
"typeString": "int_const 2"
|
@@ -3240,7 +3240,7 @@
|
|
3240
3240
|
"isPure": false,
|
3241
3241
|
"lValueRequested": true,
|
3242
3242
|
"nodeType": "IndexAccess",
|
3243
|
-
"src": "2458:15:
|
3243
|
+
"src": "2458:15:126",
|
3244
3244
|
"typeDescriptions": {
|
3245
3245
|
"typeIdentifier": "t_bytes32",
|
3246
3246
|
"typeString": "bytes32"
|
@@ -3251,36 +3251,36 @@
|
|
3251
3251
|
"rightHandSide": {
|
3252
3252
|
"arguments": [
|
3253
3253
|
{
|
3254
|
-
"id":
|
3254
|
+
"id": 50125,
|
3255
3255
|
"name": "store",
|
3256
3256
|
"nodeType": "Identifier",
|
3257
3257
|
"overloadedDeclarations": [],
|
3258
|
-
"referencedDeclaration":
|
3259
|
-
"src": "2501:5:
|
3258
|
+
"referencedDeclaration": 50022,
|
3259
|
+
"src": "2501:5:126",
|
3260
3260
|
"typeDescriptions": {
|
3261
|
-
"typeIdentifier": "t_contract$_IStore_$
|
3261
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
3262
3262
|
"typeString": "contract IStore"
|
3263
3263
|
}
|
3264
3264
|
},
|
3265
3265
|
{
|
3266
|
-
"id":
|
3266
|
+
"id": 50126,
|
3267
3267
|
"name": "tableId",
|
3268
3268
|
"nodeType": "Identifier",
|
3269
3269
|
"overloadedDeclarations": [],
|
3270
|
-
"referencedDeclaration":
|
3271
|
-
"src": "2508:7:
|
3270
|
+
"referencedDeclaration": 50025,
|
3271
|
+
"src": "2508:7:126",
|
3272
3272
|
"typeDescriptions": {
|
3273
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
3273
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
3274
3274
|
"typeString": "ResourceId"
|
3275
3275
|
}
|
3276
3276
|
},
|
3277
3277
|
{
|
3278
|
-
"id":
|
3278
|
+
"id": 50127,
|
3279
3279
|
"name": "i",
|
3280
3280
|
"nodeType": "Identifier",
|
3281
3281
|
"overloadedDeclarations": [],
|
3282
|
-
"referencedDeclaration":
|
3283
|
-
"src": "2517:1:
|
3282
|
+
"referencedDeclaration": 50065,
|
3283
|
+
"src": "2517:1:126",
|
3284
3284
|
"typeDescriptions": {
|
3285
3285
|
"typeIdentifier": "t_uint256",
|
3286
3286
|
"typeString": "uint256"
|
@@ -3290,11 +3290,11 @@
|
|
3290
3290
|
"expression": {
|
3291
3291
|
"argumentTypes": [
|
3292
3292
|
{
|
3293
|
-
"typeIdentifier": "t_contract$_IStore_$
|
3293
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
3294
3294
|
"typeString": "contract IStore"
|
3295
3295
|
},
|
3296
3296
|
{
|
3297
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
3297
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
3298
3298
|
"typeString": "ResourceId"
|
3299
3299
|
},
|
3300
3300
|
{
|
@@ -3303,33 +3303,33 @@
|
|
3303
3303
|
}
|
3304
3304
|
],
|
3305
3305
|
"expression": {
|
3306
|
-
"id":
|
3306
|
+
"id": 50123,
|
3307
3307
|
"name": "KeysInTable",
|
3308
3308
|
"nodeType": "Identifier",
|
3309
3309
|
"overloadedDeclarations": [],
|
3310
|
-
"referencedDeclaration":
|
3311
|
-
"src": "2476:11:
|
3310
|
+
"referencedDeclaration": 57455,
|
3311
|
+
"src": "2476:11:126",
|
3312
3312
|
"typeDescriptions": {
|
3313
|
-
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$
|
3313
|
+
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$57455_$",
|
3314
3314
|
"typeString": "type(library KeysInTable)"
|
3315
3315
|
}
|
3316
3316
|
},
|
3317
|
-
"id":
|
3317
|
+
"id": 50124,
|
3318
3318
|
"isConstant": false,
|
3319
3319
|
"isLValue": false,
|
3320
3320
|
"isPure": false,
|
3321
3321
|
"lValueRequested": false,
|
3322
|
-
"memberLocation": "2488:12:
|
3322
|
+
"memberLocation": "2488:12:126",
|
3323
3323
|
"memberName": "getItemKeys2",
|
3324
3324
|
"nodeType": "MemberAccess",
|
3325
|
-
"referencedDeclaration":
|
3326
|
-
"src": "2476:24:
|
3325
|
+
"referencedDeclaration": 53859,
|
3326
|
+
"src": "2476:24:126",
|
3327
3327
|
"typeDescriptions": {
|
3328
|
-
"typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$
|
3328
|
+
"typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$28450_$_t_userDefinedValueType$_ResourceId_$29139_$_t_uint256_$returns$_t_bytes32_$",
|
3329
3329
|
"typeString": "function (contract IStore,ResourceId,uint256) view returns (bytes32)"
|
3330
3330
|
}
|
3331
3331
|
},
|
3332
|
-
"id":
|
3332
|
+
"id": 50128,
|
3333
3333
|
"isConstant": false,
|
3334
3334
|
"isLValue": false,
|
3335
3335
|
"isPure": false,
|
@@ -3338,22 +3338,22 @@
|
|
3338
3338
|
"nameLocations": [],
|
3339
3339
|
"names": [],
|
3340
3340
|
"nodeType": "FunctionCall",
|
3341
|
-
"src": "2476:43:
|
3341
|
+
"src": "2476:43:126",
|
3342
3342
|
"tryCall": false,
|
3343
3343
|
"typeDescriptions": {
|
3344
3344
|
"typeIdentifier": "t_bytes32",
|
3345
3345
|
"typeString": "bytes32"
|
3346
3346
|
}
|
3347
3347
|
},
|
3348
|
-
"src": "2458:61:
|
3348
|
+
"src": "2458:61:126",
|
3349
3349
|
"typeDescriptions": {
|
3350
3350
|
"typeIdentifier": "t_bytes32",
|
3351
3351
|
"typeString": "bytes32"
|
3352
3352
|
}
|
3353
3353
|
},
|
3354
|
-
"id":
|
3354
|
+
"id": 50130,
|
3355
3355
|
"nodeType": "ExpressionStatement",
|
3356
|
-
"src": "2458:61:
|
3356
|
+
"src": "2458:61:126"
|
3357
3357
|
},
|
3358
3358
|
{
|
3359
3359
|
"condition": {
|
@@ -3361,18 +3361,18 @@
|
|
3361
3361
|
"typeIdentifier": "t_uint256",
|
3362
3362
|
"typeString": "uint256"
|
3363
3363
|
},
|
3364
|
-
"id":
|
3364
|
+
"id": 50133,
|
3365
3365
|
"isConstant": false,
|
3366
3366
|
"isLValue": false,
|
3367
3367
|
"isPure": false,
|
3368
3368
|
"lValueRequested": false,
|
3369
3369
|
"leftExpression": {
|
3370
|
-
"id":
|
3370
|
+
"id": 50131,
|
3371
3371
|
"name": "numFields",
|
3372
3372
|
"nodeType": "Identifier",
|
3373
3373
|
"overloadedDeclarations": [],
|
3374
|
-
"referencedDeclaration":
|
3375
|
-
"src": "2535:9:
|
3374
|
+
"referencedDeclaration": 50042,
|
3375
|
+
"src": "2535:9:126",
|
3376
3376
|
"typeDescriptions": {
|
3377
3377
|
"typeIdentifier": "t_uint256",
|
3378
3378
|
"typeString": "uint256"
|
@@ -3382,37 +3382,37 @@
|
|
3382
3382
|
"operator": ">",
|
3383
3383
|
"rightExpression": {
|
3384
3384
|
"hexValue": "33",
|
3385
|
-
"id":
|
3385
|
+
"id": 50132,
|
3386
3386
|
"isConstant": false,
|
3387
3387
|
"isLValue": false,
|
3388
3388
|
"isPure": true,
|
3389
3389
|
"kind": "number",
|
3390
3390
|
"lValueRequested": false,
|
3391
3391
|
"nodeType": "Literal",
|
3392
|
-
"src": "2547:1:
|
3392
|
+
"src": "2547:1:126",
|
3393
3393
|
"typeDescriptions": {
|
3394
3394
|
"typeIdentifier": "t_rational_3_by_1",
|
3395
3395
|
"typeString": "int_const 3"
|
3396
3396
|
},
|
3397
3397
|
"value": "3"
|
3398
3398
|
},
|
3399
|
-
"src": "2535:13:
|
3399
|
+
"src": "2535:13:126",
|
3400
3400
|
"typeDescriptions": {
|
3401
3401
|
"typeIdentifier": "t_bool",
|
3402
3402
|
"typeString": "bool"
|
3403
3403
|
}
|
3404
3404
|
},
|
3405
|
-
"id":
|
3405
|
+
"id": 50166,
|
3406
3406
|
"nodeType": "IfStatement",
|
3407
|
-
"src": "2531:231:
|
3407
|
+
"src": "2531:231:126",
|
3408
3408
|
"trueBody": {
|
3409
|
-
"id":
|
3409
|
+
"id": 50165,
|
3410
3410
|
"nodeType": "Block",
|
3411
|
-
"src": "2550:212:
|
3411
|
+
"src": "2550:212:126",
|
3412
3412
|
"statements": [
|
3413
3413
|
{
|
3414
3414
|
"expression": {
|
3415
|
-
"id":
|
3415
|
+
"id": 50145,
|
3416
3416
|
"isConstant": false,
|
3417
3417
|
"isLValue": false,
|
3418
3418
|
"isPure": false,
|
@@ -3420,25 +3420,25 @@
|
|
3420
3420
|
"leftHandSide": {
|
3421
3421
|
"baseExpression": {
|
3422
3422
|
"baseExpression": {
|
3423
|
-
"id":
|
3423
|
+
"id": 50134,
|
3424
3424
|
"name": "keyTuples",
|
3425
3425
|
"nodeType": "Identifier",
|
3426
3426
|
"overloadedDeclarations": [],
|
3427
|
-
"referencedDeclaration":
|
3428
|
-
"src": "2564:9:
|
3427
|
+
"referencedDeclaration": 50030,
|
3428
|
+
"src": "2564:9:126",
|
3429
3429
|
"typeDescriptions": {
|
3430
3430
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
3431
3431
|
"typeString": "bytes32[] memory[] memory"
|
3432
3432
|
}
|
3433
3433
|
},
|
3434
|
-
"id":
|
3434
|
+
"id": 50137,
|
3435
3435
|
"indexExpression": {
|
3436
|
-
"id":
|
3436
|
+
"id": 50135,
|
3437
3437
|
"name": "i",
|
3438
3438
|
"nodeType": "Identifier",
|
3439
3439
|
"overloadedDeclarations": [],
|
3440
|
-
"referencedDeclaration":
|
3441
|
-
"src": "2574:1:
|
3440
|
+
"referencedDeclaration": 50065,
|
3441
|
+
"src": "2574:1:126",
|
3442
3442
|
"typeDescriptions": {
|
3443
3443
|
"typeIdentifier": "t_uint256",
|
3444
3444
|
"typeString": "uint256"
|
@@ -3449,23 +3449,23 @@
|
|
3449
3449
|
"isPure": false,
|
3450
3450
|
"lValueRequested": false,
|
3451
3451
|
"nodeType": "IndexAccess",
|
3452
|
-
"src": "2564:12:
|
3452
|
+
"src": "2564:12:126",
|
3453
3453
|
"typeDescriptions": {
|
3454
3454
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
3455
3455
|
"typeString": "bytes32[] memory"
|
3456
3456
|
}
|
3457
3457
|
},
|
3458
|
-
"id":
|
3458
|
+
"id": 50138,
|
3459
3459
|
"indexExpression": {
|
3460
3460
|
"hexValue": "33",
|
3461
|
-
"id":
|
3461
|
+
"id": 50136,
|
3462
3462
|
"isConstant": false,
|
3463
3463
|
"isLValue": false,
|
3464
3464
|
"isPure": true,
|
3465
3465
|
"kind": "number",
|
3466
3466
|
"lValueRequested": false,
|
3467
3467
|
"nodeType": "Literal",
|
3468
|
-
"src": "2577:1:
|
3468
|
+
"src": "2577:1:126",
|
3469
3469
|
"typeDescriptions": {
|
3470
3470
|
"typeIdentifier": "t_rational_3_by_1",
|
3471
3471
|
"typeString": "int_const 3"
|
@@ -3477,7 +3477,7 @@
|
|
3477
3477
|
"isPure": false,
|
3478
3478
|
"lValueRequested": true,
|
3479
3479
|
"nodeType": "IndexAccess",
|
3480
|
-
"src": "2564:15:
|
3480
|
+
"src": "2564:15:126",
|
3481
3481
|
"typeDescriptions": {
|
3482
3482
|
"typeIdentifier": "t_bytes32",
|
3483
3483
|
"typeString": "bytes32"
|
@@ -3488,36 +3488,36 @@
|
|
3488
3488
|
"rightHandSide": {
|
3489
3489
|
"arguments": [
|
3490
3490
|
{
|
3491
|
-
"id":
|
3491
|
+
"id": 50141,
|
3492
3492
|
"name": "store",
|
3493
3493
|
"nodeType": "Identifier",
|
3494
3494
|
"overloadedDeclarations": [],
|
3495
|
-
"referencedDeclaration":
|
3496
|
-
"src": "2607:5:
|
3495
|
+
"referencedDeclaration": 50022,
|
3496
|
+
"src": "2607:5:126",
|
3497
3497
|
"typeDescriptions": {
|
3498
|
-
"typeIdentifier": "t_contract$_IStore_$
|
3498
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
3499
3499
|
"typeString": "contract IStore"
|
3500
3500
|
}
|
3501
3501
|
},
|
3502
3502
|
{
|
3503
|
-
"id":
|
3503
|
+
"id": 50142,
|
3504
3504
|
"name": "tableId",
|
3505
3505
|
"nodeType": "Identifier",
|
3506
3506
|
"overloadedDeclarations": [],
|
3507
|
-
"referencedDeclaration":
|
3508
|
-
"src": "2614:7:
|
3507
|
+
"referencedDeclaration": 50025,
|
3508
|
+
"src": "2614:7:126",
|
3509
3509
|
"typeDescriptions": {
|
3510
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
3510
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
3511
3511
|
"typeString": "ResourceId"
|
3512
3512
|
}
|
3513
3513
|
},
|
3514
3514
|
{
|
3515
|
-
"id":
|
3515
|
+
"id": 50143,
|
3516
3516
|
"name": "i",
|
3517
3517
|
"nodeType": "Identifier",
|
3518
3518
|
"overloadedDeclarations": [],
|
3519
|
-
"referencedDeclaration":
|
3520
|
-
"src": "2623:1:
|
3519
|
+
"referencedDeclaration": 50065,
|
3520
|
+
"src": "2623:1:126",
|
3521
3521
|
"typeDescriptions": {
|
3522
3522
|
"typeIdentifier": "t_uint256",
|
3523
3523
|
"typeString": "uint256"
|
@@ -3527,11 +3527,11 @@
|
|
3527
3527
|
"expression": {
|
3528
3528
|
"argumentTypes": [
|
3529
3529
|
{
|
3530
|
-
"typeIdentifier": "t_contract$_IStore_$
|
3530
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
3531
3531
|
"typeString": "contract IStore"
|
3532
3532
|
},
|
3533
3533
|
{
|
3534
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
3534
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
3535
3535
|
"typeString": "ResourceId"
|
3536
3536
|
},
|
3537
3537
|
{
|
@@ -3540,33 +3540,33 @@
|
|
3540
3540
|
}
|
3541
3541
|
],
|
3542
3542
|
"expression": {
|
3543
|
-
"id":
|
3543
|
+
"id": 50139,
|
3544
3544
|
"name": "KeysInTable",
|
3545
3545
|
"nodeType": "Identifier",
|
3546
3546
|
"overloadedDeclarations": [],
|
3547
|
-
"referencedDeclaration":
|
3548
|
-
"src": "2582:11:
|
3547
|
+
"referencedDeclaration": 57455,
|
3548
|
+
"src": "2582:11:126",
|
3549
3549
|
"typeDescriptions": {
|
3550
|
-
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$
|
3550
|
+
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$57455_$",
|
3551
3551
|
"typeString": "type(library KeysInTable)"
|
3552
3552
|
}
|
3553
3553
|
},
|
3554
|
-
"id":
|
3554
|
+
"id": 50140,
|
3555
3555
|
"isConstant": false,
|
3556
3556
|
"isLValue": false,
|
3557
3557
|
"isPure": false,
|
3558
3558
|
"lValueRequested": false,
|
3559
|
-
"memberLocation": "2594:12:
|
3559
|
+
"memberLocation": "2594:12:126",
|
3560
3560
|
"memberName": "getItemKeys3",
|
3561
3561
|
"nodeType": "MemberAccess",
|
3562
|
-
"referencedDeclaration":
|
3563
|
-
"src": "2582:24:
|
3562
|
+
"referencedDeclaration": 54891,
|
3563
|
+
"src": "2582:24:126",
|
3564
3564
|
"typeDescriptions": {
|
3565
|
-
"typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$
|
3565
|
+
"typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$28450_$_t_userDefinedValueType$_ResourceId_$29139_$_t_uint256_$returns$_t_bytes32_$",
|
3566
3566
|
"typeString": "function (contract IStore,ResourceId,uint256) view returns (bytes32)"
|
3567
3567
|
}
|
3568
3568
|
},
|
3569
|
-
"id":
|
3569
|
+
"id": 50144,
|
3570
3570
|
"isConstant": false,
|
3571
3571
|
"isLValue": false,
|
3572
3572
|
"isPure": false,
|
@@ -3575,22 +3575,22 @@
|
|
3575
3575
|
"nameLocations": [],
|
3576
3576
|
"names": [],
|
3577
3577
|
"nodeType": "FunctionCall",
|
3578
|
-
"src": "2582:43:
|
3578
|
+
"src": "2582:43:126",
|
3579
3579
|
"tryCall": false,
|
3580
3580
|
"typeDescriptions": {
|
3581
3581
|
"typeIdentifier": "t_bytes32",
|
3582
3582
|
"typeString": "bytes32"
|
3583
3583
|
}
|
3584
3584
|
},
|
3585
|
-
"src": "2564:61:
|
3585
|
+
"src": "2564:61:126",
|
3586
3586
|
"typeDescriptions": {
|
3587
3587
|
"typeIdentifier": "t_bytes32",
|
3588
3588
|
"typeString": "bytes32"
|
3589
3589
|
}
|
3590
3590
|
},
|
3591
|
-
"id":
|
3591
|
+
"id": 50146,
|
3592
3592
|
"nodeType": "ExpressionStatement",
|
3593
|
-
"src": "2564:61:
|
3593
|
+
"src": "2564:61:126"
|
3594
3594
|
},
|
3595
3595
|
{
|
3596
3596
|
"condition": {
|
@@ -3598,18 +3598,18 @@
|
|
3598
3598
|
"typeIdentifier": "t_uint256",
|
3599
3599
|
"typeString": "uint256"
|
3600
3600
|
},
|
3601
|
-
"id":
|
3601
|
+
"id": 50149,
|
3602
3602
|
"isConstant": false,
|
3603
3603
|
"isLValue": false,
|
3604
3604
|
"isPure": false,
|
3605
3605
|
"lValueRequested": false,
|
3606
3606
|
"leftExpression": {
|
3607
|
-
"id":
|
3607
|
+
"id": 50147,
|
3608
3608
|
"name": "numFields",
|
3609
3609
|
"nodeType": "Identifier",
|
3610
3610
|
"overloadedDeclarations": [],
|
3611
|
-
"referencedDeclaration":
|
3612
|
-
"src": "2643:9:
|
3611
|
+
"referencedDeclaration": 50042,
|
3612
|
+
"src": "2643:9:126",
|
3613
3613
|
"typeDescriptions": {
|
3614
3614
|
"typeIdentifier": "t_uint256",
|
3615
3615
|
"typeString": "uint256"
|
@@ -3619,37 +3619,37 @@
|
|
3619
3619
|
"operator": ">",
|
3620
3620
|
"rightExpression": {
|
3621
3621
|
"hexValue": "34",
|
3622
|
-
"id":
|
3622
|
+
"id": 50148,
|
3623
3623
|
"isConstant": false,
|
3624
3624
|
"isLValue": false,
|
3625
3625
|
"isPure": true,
|
3626
3626
|
"kind": "number",
|
3627
3627
|
"lValueRequested": false,
|
3628
3628
|
"nodeType": "Literal",
|
3629
|
-
"src": "2655:1:
|
3629
|
+
"src": "2655:1:126",
|
3630
3630
|
"typeDescriptions": {
|
3631
3631
|
"typeIdentifier": "t_rational_4_by_1",
|
3632
3632
|
"typeString": "int_const 4"
|
3633
3633
|
},
|
3634
3634
|
"value": "4"
|
3635
3635
|
},
|
3636
|
-
"src": "2643:13:
|
3636
|
+
"src": "2643:13:126",
|
3637
3637
|
"typeDescriptions": {
|
3638
3638
|
"typeIdentifier": "t_bool",
|
3639
3639
|
"typeString": "bool"
|
3640
3640
|
}
|
3641
3641
|
},
|
3642
|
-
"id":
|
3642
|
+
"id": 50164,
|
3643
3643
|
"nodeType": "IfStatement",
|
3644
|
-
"src": "2639:111:
|
3644
|
+
"src": "2639:111:126",
|
3645
3645
|
"trueBody": {
|
3646
|
-
"id":
|
3646
|
+
"id": 50163,
|
3647
3647
|
"nodeType": "Block",
|
3648
|
-
"src": "2658:92:
|
3648
|
+
"src": "2658:92:126",
|
3649
3649
|
"statements": [
|
3650
3650
|
{
|
3651
3651
|
"expression": {
|
3652
|
-
"id":
|
3652
|
+
"id": 50161,
|
3653
3653
|
"isConstant": false,
|
3654
3654
|
"isLValue": false,
|
3655
3655
|
"isPure": false,
|
@@ -3657,25 +3657,25 @@
|
|
3657
3657
|
"leftHandSide": {
|
3658
3658
|
"baseExpression": {
|
3659
3659
|
"baseExpression": {
|
3660
|
-
"id":
|
3660
|
+
"id": 50150,
|
3661
3661
|
"name": "keyTuples",
|
3662
3662
|
"nodeType": "Identifier",
|
3663
3663
|
"overloadedDeclarations": [],
|
3664
|
-
"referencedDeclaration":
|
3665
|
-
"src": "2674:9:
|
3664
|
+
"referencedDeclaration": 50030,
|
3665
|
+
"src": "2674:9:126",
|
3666
3666
|
"typeDescriptions": {
|
3667
3667
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_memory_ptr_$dyn_memory_ptr",
|
3668
3668
|
"typeString": "bytes32[] memory[] memory"
|
3669
3669
|
}
|
3670
3670
|
},
|
3671
|
-
"id":
|
3671
|
+
"id": 50153,
|
3672
3672
|
"indexExpression": {
|
3673
|
-
"id":
|
3673
|
+
"id": 50151,
|
3674
3674
|
"name": "i",
|
3675
3675
|
"nodeType": "Identifier",
|
3676
3676
|
"overloadedDeclarations": [],
|
3677
|
-
"referencedDeclaration":
|
3678
|
-
"src": "2684:1:
|
3677
|
+
"referencedDeclaration": 50065,
|
3678
|
+
"src": "2684:1:126",
|
3679
3679
|
"typeDescriptions": {
|
3680
3680
|
"typeIdentifier": "t_uint256",
|
3681
3681
|
"typeString": "uint256"
|
@@ -3686,23 +3686,23 @@
|
|
3686
3686
|
"isPure": false,
|
3687
3687
|
"lValueRequested": false,
|
3688
3688
|
"nodeType": "IndexAccess",
|
3689
|
-
"src": "2674:12:
|
3689
|
+
"src": "2674:12:126",
|
3690
3690
|
"typeDescriptions": {
|
3691
3691
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
3692
3692
|
"typeString": "bytes32[] memory"
|
3693
3693
|
}
|
3694
3694
|
},
|
3695
|
-
"id":
|
3695
|
+
"id": 50154,
|
3696
3696
|
"indexExpression": {
|
3697
3697
|
"hexValue": "34",
|
3698
|
-
"id":
|
3698
|
+
"id": 50152,
|
3699
3699
|
"isConstant": false,
|
3700
3700
|
"isLValue": false,
|
3701
3701
|
"isPure": true,
|
3702
3702
|
"kind": "number",
|
3703
3703
|
"lValueRequested": false,
|
3704
3704
|
"nodeType": "Literal",
|
3705
|
-
"src": "2687:1:
|
3705
|
+
"src": "2687:1:126",
|
3706
3706
|
"typeDescriptions": {
|
3707
3707
|
"typeIdentifier": "t_rational_4_by_1",
|
3708
3708
|
"typeString": "int_const 4"
|
@@ -3714,7 +3714,7 @@
|
|
3714
3714
|
"isPure": false,
|
3715
3715
|
"lValueRequested": true,
|
3716
3716
|
"nodeType": "IndexAccess",
|
3717
|
-
"src": "2674:15:
|
3717
|
+
"src": "2674:15:126",
|
3718
3718
|
"typeDescriptions": {
|
3719
3719
|
"typeIdentifier": "t_bytes32",
|
3720
3720
|
"typeString": "bytes32"
|
@@ -3725,36 +3725,36 @@
|
|
3725
3725
|
"rightHandSide": {
|
3726
3726
|
"arguments": [
|
3727
3727
|
{
|
3728
|
-
"id":
|
3728
|
+
"id": 50157,
|
3729
3729
|
"name": "store",
|
3730
3730
|
"nodeType": "Identifier",
|
3731
3731
|
"overloadedDeclarations": [],
|
3732
|
-
"referencedDeclaration":
|
3733
|
-
"src": "2717:5:
|
3732
|
+
"referencedDeclaration": 50022,
|
3733
|
+
"src": "2717:5:126",
|
3734
3734
|
"typeDescriptions": {
|
3735
|
-
"typeIdentifier": "t_contract$_IStore_$
|
3735
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
3736
3736
|
"typeString": "contract IStore"
|
3737
3737
|
}
|
3738
3738
|
},
|
3739
3739
|
{
|
3740
|
-
"id":
|
3740
|
+
"id": 50158,
|
3741
3741
|
"name": "tableId",
|
3742
3742
|
"nodeType": "Identifier",
|
3743
3743
|
"overloadedDeclarations": [],
|
3744
|
-
"referencedDeclaration":
|
3745
|
-
"src": "2724:7:
|
3744
|
+
"referencedDeclaration": 50025,
|
3745
|
+
"src": "2724:7:126",
|
3746
3746
|
"typeDescriptions": {
|
3747
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
3747
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
3748
3748
|
"typeString": "ResourceId"
|
3749
3749
|
}
|
3750
3750
|
},
|
3751
3751
|
{
|
3752
|
-
"id":
|
3752
|
+
"id": 50159,
|
3753
3753
|
"name": "i",
|
3754
3754
|
"nodeType": "Identifier",
|
3755
3755
|
"overloadedDeclarations": [],
|
3756
|
-
"referencedDeclaration":
|
3757
|
-
"src": "2733:1:
|
3756
|
+
"referencedDeclaration": 50065,
|
3757
|
+
"src": "2733:1:126",
|
3758
3758
|
"typeDescriptions": {
|
3759
3759
|
"typeIdentifier": "t_uint256",
|
3760
3760
|
"typeString": "uint256"
|
@@ -3764,11 +3764,11 @@
|
|
3764
3764
|
"expression": {
|
3765
3765
|
"argumentTypes": [
|
3766
3766
|
{
|
3767
|
-
"typeIdentifier": "t_contract$_IStore_$
|
3767
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
3768
3768
|
"typeString": "contract IStore"
|
3769
3769
|
},
|
3770
3770
|
{
|
3771
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
3771
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
3772
3772
|
"typeString": "ResourceId"
|
3773
3773
|
},
|
3774
3774
|
{
|
@@ -3777,33 +3777,33 @@
|
|
3777
3777
|
}
|
3778
3778
|
],
|
3779
3779
|
"expression": {
|
3780
|
-
"id":
|
3780
|
+
"id": 50155,
|
3781
3781
|
"name": "KeysInTable",
|
3782
3782
|
"nodeType": "Identifier",
|
3783
3783
|
"overloadedDeclarations": [],
|
3784
|
-
"referencedDeclaration":
|
3785
|
-
"src": "2692:11:
|
3784
|
+
"referencedDeclaration": 57455,
|
3785
|
+
"src": "2692:11:126",
|
3786
3786
|
"typeDescriptions": {
|
3787
|
-
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$
|
3787
|
+
"typeIdentifier": "t_type$_t_contract$_KeysInTable_$57455_$",
|
3788
3788
|
"typeString": "type(library KeysInTable)"
|
3789
3789
|
}
|
3790
3790
|
},
|
3791
|
-
"id":
|
3791
|
+
"id": 50156,
|
3792
3792
|
"isConstant": false,
|
3793
3793
|
"isLValue": false,
|
3794
3794
|
"isPure": false,
|
3795
3795
|
"lValueRequested": false,
|
3796
|
-
"memberLocation": "2704:12:
|
3796
|
+
"memberLocation": "2704:12:126",
|
3797
3797
|
"memberName": "getItemKeys4",
|
3798
3798
|
"nodeType": "MemberAccess",
|
3799
|
-
"referencedDeclaration":
|
3800
|
-
"src": "2692:24:
|
3799
|
+
"referencedDeclaration": 55923,
|
3800
|
+
"src": "2692:24:126",
|
3801
3801
|
"typeDescriptions": {
|
3802
|
-
"typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$
|
3802
|
+
"typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$28450_$_t_userDefinedValueType$_ResourceId_$29139_$_t_uint256_$returns$_t_bytes32_$",
|
3803
3803
|
"typeString": "function (contract IStore,ResourceId,uint256) view returns (bytes32)"
|
3804
3804
|
}
|
3805
3805
|
},
|
3806
|
-
"id":
|
3806
|
+
"id": 50160,
|
3807
3807
|
"isConstant": false,
|
3808
3808
|
"isLValue": false,
|
3809
3809
|
"isPure": false,
|
@@ -3812,22 +3812,22 @@
|
|
3812
3812
|
"nameLocations": [],
|
3813
3813
|
"names": [],
|
3814
3814
|
"nodeType": "FunctionCall",
|
3815
|
-
"src": "2692:43:
|
3815
|
+
"src": "2692:43:126",
|
3816
3816
|
"tryCall": false,
|
3817
3817
|
"typeDescriptions": {
|
3818
3818
|
"typeIdentifier": "t_bytes32",
|
3819
3819
|
"typeString": "bytes32"
|
3820
3820
|
}
|
3821
3821
|
},
|
3822
|
-
"src": "2674:61:
|
3822
|
+
"src": "2674:61:126",
|
3823
3823
|
"typeDescriptions": {
|
3824
3824
|
"typeIdentifier": "t_bytes32",
|
3825
3825
|
"typeString": "bytes32"
|
3826
3826
|
}
|
3827
3827
|
},
|
3828
|
-
"id":
|
3828
|
+
"id": 50162,
|
3829
3829
|
"nodeType": "ExpressionStatement",
|
3830
|
-
"src": "2674:61:
|
3830
|
+
"src": "2674:61:126"
|
3831
3831
|
}
|
3832
3832
|
]
|
3833
3833
|
}
|
@@ -3851,18 +3851,18 @@
|
|
3851
3851
|
"typeIdentifier": "t_uint256",
|
3852
3852
|
"typeString": "uint256"
|
3853
3853
|
},
|
3854
|
-
"id":
|
3854
|
+
"id": 50069,
|
3855
3855
|
"isConstant": false,
|
3856
3856
|
"isLValue": false,
|
3857
3857
|
"isPure": false,
|
3858
3858
|
"lValueRequested": false,
|
3859
3859
|
"leftExpression": {
|
3860
|
-
"id":
|
3860
|
+
"id": 50067,
|
3861
3861
|
"name": "i",
|
3862
3862
|
"nodeType": "Identifier",
|
3863
3863
|
"overloadedDeclarations": [],
|
3864
|
-
"referencedDeclaration":
|
3865
|
-
"src": "2105:1:
|
3864
|
+
"referencedDeclaration": 50065,
|
3865
|
+
"src": "2105:1:126",
|
3866
3866
|
"typeDescriptions": {
|
3867
3867
|
"typeIdentifier": "t_uint256",
|
3868
3868
|
"typeString": "uint256"
|
@@ -3871,38 +3871,38 @@
|
|
3871
3871
|
"nodeType": "BinaryOperation",
|
3872
3872
|
"operator": "<",
|
3873
3873
|
"rightExpression": {
|
3874
|
-
"id":
|
3874
|
+
"id": 50068,
|
3875
3875
|
"name": "length",
|
3876
3876
|
"nodeType": "Identifier",
|
3877
3877
|
"overloadedDeclarations": [],
|
3878
|
-
"referencedDeclaration":
|
3879
|
-
"src": "2109:6:
|
3878
|
+
"referencedDeclaration": 50048,
|
3879
|
+
"src": "2109:6:126",
|
3880
3880
|
"typeDescriptions": {
|
3881
3881
|
"typeIdentifier": "t_uint256",
|
3882
3882
|
"typeString": "uint256"
|
3883
3883
|
}
|
3884
3884
|
},
|
3885
|
-
"src": "2105:10:
|
3885
|
+
"src": "2105:10:126",
|
3886
3886
|
"typeDescriptions": {
|
3887
3887
|
"typeIdentifier": "t_bool",
|
3888
3888
|
"typeString": "bool"
|
3889
3889
|
}
|
3890
3890
|
},
|
3891
|
-
"id":
|
3891
|
+
"id": 50174,
|
3892
3892
|
"initializationExpression": {
|
3893
3893
|
"assignments": [
|
3894
|
-
|
3894
|
+
50065
|
3895
3895
|
],
|
3896
3896
|
"declarations": [
|
3897
3897
|
{
|
3898
3898
|
"constant": false,
|
3899
|
-
"id":
|
3899
|
+
"id": 50065,
|
3900
3900
|
"mutability": "mutable",
|
3901
3901
|
"name": "i",
|
3902
|
-
"nameLocation": "2102:1:
|
3902
|
+
"nameLocation": "2102:1:126",
|
3903
3903
|
"nodeType": "VariableDeclaration",
|
3904
|
-
"scope":
|
3905
|
-
"src": "2094:9:
|
3904
|
+
"scope": 50174,
|
3905
|
+
"src": "2094:9:126",
|
3906
3906
|
"stateVariable": false,
|
3907
3907
|
"storageLocation": "default",
|
3908
3908
|
"typeDescriptions": {
|
@@ -3910,10 +3910,10 @@
|
|
3910
3910
|
"typeString": "uint256"
|
3911
3911
|
},
|
3912
3912
|
"typeName": {
|
3913
|
-
"id":
|
3913
|
+
"id": 50064,
|
3914
3914
|
"name": "uint256",
|
3915
3915
|
"nodeType": "ElementaryTypeName",
|
3916
|
-
"src": "2094:7:
|
3916
|
+
"src": "2094:7:126",
|
3917
3917
|
"typeDescriptions": {
|
3918
3918
|
"typeIdentifier": "t_uint256",
|
3919
3919
|
"typeString": "uint256"
|
@@ -3922,13 +3922,13 @@
|
|
3922
3922
|
"visibility": "internal"
|
3923
3923
|
}
|
3924
3924
|
],
|
3925
|
-
"id":
|
3925
|
+
"id": 50066,
|
3926
3926
|
"nodeType": "VariableDeclarationStatement",
|
3927
|
-
"src": "2094:9:
|
3927
|
+
"src": "2094:9:126"
|
3928
3928
|
},
|
3929
3929
|
"loopExpression": {
|
3930
3930
|
"expression": {
|
3931
|
-
"id":
|
3931
|
+
"id": 50071,
|
3932
3932
|
"isConstant": false,
|
3933
3933
|
"isLValue": false,
|
3934
3934
|
"isPure": false,
|
@@ -3936,14 +3936,14 @@
|
|
3936
3936
|
"nodeType": "UnaryOperation",
|
3937
3937
|
"operator": "++",
|
3938
3938
|
"prefix": false,
|
3939
|
-
"src": "2117:3:
|
3939
|
+
"src": "2117:3:126",
|
3940
3940
|
"subExpression": {
|
3941
|
-
"id":
|
3941
|
+
"id": 50070,
|
3942
3942
|
"name": "i",
|
3943
3943
|
"nodeType": "Identifier",
|
3944
3944
|
"overloadedDeclarations": [],
|
3945
|
-
"referencedDeclaration":
|
3946
|
-
"src": "2117:1:
|
3945
|
+
"referencedDeclaration": 50065,
|
3946
|
+
"src": "2117:1:126",
|
3947
3947
|
"typeDescriptions": {
|
3948
3948
|
"typeIdentifier": "t_uint256",
|
3949
3949
|
"typeString": "uint256"
|
@@ -3954,62 +3954,62 @@
|
|
3954
3954
|
"typeString": "uint256"
|
3955
3955
|
}
|
3956
3956
|
},
|
3957
|
-
"id":
|
3957
|
+
"id": 50072,
|
3958
3958
|
"nodeType": "ExpressionStatement",
|
3959
|
-
"src": "2117:3:
|
3959
|
+
"src": "2117:3:126"
|
3960
3960
|
},
|
3961
3961
|
"nodeType": "ForStatement",
|
3962
|
-
"src": "2089:701:
|
3962
|
+
"src": "2089:701:126"
|
3963
3963
|
}
|
3964
3964
|
]
|
3965
3965
|
},
|
3966
3966
|
"documentation": {
|
3967
|
-
"id":
|
3967
|
+
"id": 50019,
|
3968
3968
|
"nodeType": "StructuredDocumentation",
|
3969
|
-
"src": "1643:69:
|
3969
|
+
"src": "1643:69:126",
|
3970
3970
|
"text": " Get a list of keys in the given table for the given store."
|
3971
3971
|
},
|
3972
3972
|
"implemented": true,
|
3973
3973
|
"kind": "freeFunction",
|
3974
3974
|
"modifiers": [],
|
3975
3975
|
"name": "getKeysInTable",
|
3976
|
-
"nameLocation": "1722:14:
|
3976
|
+
"nameLocation": "1722:14:126",
|
3977
3977
|
"parameters": {
|
3978
|
-
"id":
|
3978
|
+
"id": 50026,
|
3979
3979
|
"nodeType": "ParameterList",
|
3980
3980
|
"parameters": [
|
3981
3981
|
{
|
3982
3982
|
"constant": false,
|
3983
|
-
"id":
|
3983
|
+
"id": 50022,
|
3984
3984
|
"mutability": "mutable",
|
3985
3985
|
"name": "store",
|
3986
|
-
"nameLocation": "1744:5:
|
3986
|
+
"nameLocation": "1744:5:126",
|
3987
3987
|
"nodeType": "VariableDeclaration",
|
3988
|
-
"scope":
|
3989
|
-
"src": "1737:12:
|
3988
|
+
"scope": 50176,
|
3989
|
+
"src": "1737:12:126",
|
3990
3990
|
"stateVariable": false,
|
3991
3991
|
"storageLocation": "default",
|
3992
3992
|
"typeDescriptions": {
|
3993
|
-
"typeIdentifier": "t_contract$_IStore_$
|
3993
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
3994
3994
|
"typeString": "contract IStore"
|
3995
3995
|
},
|
3996
3996
|
"typeName": {
|
3997
|
-
"id":
|
3997
|
+
"id": 50021,
|
3998
3998
|
"nodeType": "UserDefinedTypeName",
|
3999
3999
|
"pathNode": {
|
4000
|
-
"id":
|
4000
|
+
"id": 50020,
|
4001
4001
|
"name": "IStore",
|
4002
4002
|
"nameLocations": [
|
4003
|
-
"1737:6:
|
4003
|
+
"1737:6:126"
|
4004
4004
|
],
|
4005
4005
|
"nodeType": "IdentifierPath",
|
4006
|
-
"referencedDeclaration":
|
4007
|
-
"src": "1737:6:
|
4006
|
+
"referencedDeclaration": 28450,
|
4007
|
+
"src": "1737:6:126"
|
4008
4008
|
},
|
4009
|
-
"referencedDeclaration":
|
4010
|
-
"src": "1737:6:
|
4009
|
+
"referencedDeclaration": 28450,
|
4010
|
+
"src": "1737:6:126",
|
4011
4011
|
"typeDescriptions": {
|
4012
|
-
"typeIdentifier": "t_contract$_IStore_$
|
4012
|
+
"typeIdentifier": "t_contract$_IStore_$28450",
|
4013
4013
|
"typeString": "contract IStore"
|
4014
4014
|
}
|
4015
4015
|
},
|
@@ -4017,57 +4017,57 @@
|
|
4017
4017
|
},
|
4018
4018
|
{
|
4019
4019
|
"constant": false,
|
4020
|
-
"id":
|
4020
|
+
"id": 50025,
|
4021
4021
|
"mutability": "mutable",
|
4022
4022
|
"name": "tableId",
|
4023
|
-
"nameLocation": "1762:7:
|
4023
|
+
"nameLocation": "1762:7:126",
|
4024
4024
|
"nodeType": "VariableDeclaration",
|
4025
|
-
"scope":
|
4026
|
-
"src": "1751:18:
|
4025
|
+
"scope": 50176,
|
4026
|
+
"src": "1751:18:126",
|
4027
4027
|
"stateVariable": false,
|
4028
4028
|
"storageLocation": "default",
|
4029
4029
|
"typeDescriptions": {
|
4030
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
4030
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
4031
4031
|
"typeString": "ResourceId"
|
4032
4032
|
},
|
4033
4033
|
"typeName": {
|
4034
|
-
"id":
|
4034
|
+
"id": 50024,
|
4035
4035
|
"nodeType": "UserDefinedTypeName",
|
4036
4036
|
"pathNode": {
|
4037
|
-
"id":
|
4037
|
+
"id": 50023,
|
4038
4038
|
"name": "ResourceId",
|
4039
4039
|
"nameLocations": [
|
4040
|
-
"1751:10:
|
4040
|
+
"1751:10:126"
|
4041
4041
|
],
|
4042
4042
|
"nodeType": "IdentifierPath",
|
4043
|
-
"referencedDeclaration":
|
4044
|
-
"src": "1751:10:
|
4043
|
+
"referencedDeclaration": 29139,
|
4044
|
+
"src": "1751:10:126"
|
4045
4045
|
},
|
4046
|
-
"referencedDeclaration":
|
4047
|
-
"src": "1751:10:
|
4046
|
+
"referencedDeclaration": 29139,
|
4047
|
+
"src": "1751:10:126",
|
4048
4048
|
"typeDescriptions": {
|
4049
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
4049
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
4050
4050
|
"typeString": "ResourceId"
|
4051
4051
|
}
|
4052
4052
|
},
|
4053
4053
|
"visibility": "internal"
|
4054
4054
|
}
|
4055
4055
|
],
|
4056
|
-
"src": "1736:34:
|
4056
|
+
"src": "1736:34:126"
|
4057
4057
|
},
|
4058
4058
|
"returnParameters": {
|
4059
|
-
"id":
|
4059
|
+
"id": 50031,
|
4060
4060
|
"nodeType": "ParameterList",
|
4061
4061
|
"parameters": [
|
4062
4062
|
{
|
4063
4063
|
"constant": false,
|
4064
|
-
"id":
|
4064
|
+
"id": 50030,
|
4065
4065
|
"mutability": "mutable",
|
4066
4066
|
"name": "keyTuples",
|
4067
|
-
"nameLocation": "1804:9:
|
4067
|
+
"nameLocation": "1804:9:126",
|
4068
4068
|
"nodeType": "VariableDeclaration",
|
4069
|
-
"scope":
|
4070
|
-
"src": "1785:28:
|
4069
|
+
"scope": 50176,
|
4070
|
+
"src": "1785:28:126",
|
4071
4071
|
"stateVariable": false,
|
4072
4072
|
"storageLocation": "memory",
|
4073
4073
|
"typeDescriptions": {
|
@@ -4077,26 +4077,26 @@
|
|
4077
4077
|
"typeName": {
|
4078
4078
|
"baseType": {
|
4079
4079
|
"baseType": {
|
4080
|
-
"id":
|
4080
|
+
"id": 50027,
|
4081
4081
|
"name": "bytes32",
|
4082
4082
|
"nodeType": "ElementaryTypeName",
|
4083
|
-
"src": "1785:7:
|
4083
|
+
"src": "1785:7:126",
|
4084
4084
|
"typeDescriptions": {
|
4085
4085
|
"typeIdentifier": "t_bytes32",
|
4086
4086
|
"typeString": "bytes32"
|
4087
4087
|
}
|
4088
4088
|
},
|
4089
|
-
"id":
|
4089
|
+
"id": 50028,
|
4090
4090
|
"nodeType": "ArrayTypeName",
|
4091
|
-
"src": "1785:9:
|
4091
|
+
"src": "1785:9:126",
|
4092
4092
|
"typeDescriptions": {
|
4093
4093
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
4094
4094
|
"typeString": "bytes32[]"
|
4095
4095
|
}
|
4096
4096
|
},
|
4097
|
-
"id":
|
4097
|
+
"id": 50029,
|
4098
4098
|
"nodeType": "ArrayTypeName",
|
4099
|
-
"src": "1785:11:
|
4099
|
+
"src": "1785:11:126",
|
4100
4100
|
"typeDescriptions": {
|
4101
4101
|
"typeIdentifier": "t_array$_t_array$_t_bytes32_$dyn_storage_$dyn_storage_ptr",
|
4102
4102
|
"typeString": "bytes32[][]"
|
@@ -4105,9 +4105,9 @@
|
|
4105
4105
|
"visibility": "internal"
|
4106
4106
|
}
|
4107
4107
|
],
|
4108
|
-
"src": "1784:30:
|
4108
|
+
"src": "1784:30:126"
|
4109
4109
|
},
|
4110
|
-
"scope":
|
4110
|
+
"scope": 50177,
|
4111
4111
|
"stateMutability": "view",
|
4112
4112
|
"virtual": false,
|
4113
4113
|
"visibility": "internal"
|
@@ -4115,5 +4115,5 @@
|
|
4115
4115
|
],
|
4116
4116
|
"license": "MIT"
|
4117
4117
|
},
|
4118
|
-
"id":
|
4118
|
+
"id": 126
|
4119
4119
|
}
|