@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,40 +10,43 @@
|
|
10
10
|
},
|
11
11
|
"ast": {
|
12
12
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/constants.sol",
|
13
|
-
"id":
|
13
|
+
"id": 26691,
|
14
14
|
"exportedSymbols": {
|
15
15
|
"RESOURCE_NAMESPACE": [
|
16
|
-
|
16
|
+
26734
|
17
17
|
],
|
18
18
|
"RESOURCE_SYSTEM": [
|
19
|
-
|
19
|
+
26740
|
20
20
|
],
|
21
21
|
"ROOT_NAME": [
|
22
|
-
|
22
|
+
26621
|
23
23
|
],
|
24
24
|
"ROOT_NAMESPACE": [
|
25
|
-
|
25
|
+
26618
|
26
26
|
],
|
27
27
|
"ROOT_NAMESPACE_ID": [
|
28
|
-
|
28
|
+
26672
|
29
29
|
],
|
30
30
|
"ResourceId": [
|
31
|
-
|
31
|
+
29139
|
32
|
+
],
|
33
|
+
"STORE_NAMESPACE_ID": [
|
34
|
+
26639
|
32
35
|
],
|
33
36
|
"UNLIMITED_DELEGATION": [
|
34
|
-
|
37
|
+
26690
|
35
38
|
],
|
36
39
|
"WORLD_NAMESPACE_ID": [
|
37
|
-
|
40
|
+
26657
|
38
41
|
]
|
39
42
|
},
|
40
43
|
"nodeType": "SourceUnit",
|
41
|
-
"src": "32:
|
44
|
+
"src": "32:808:50",
|
42
45
|
"nodes": [
|
43
46
|
{
|
44
|
-
"id":
|
47
|
+
"id": 26610,
|
45
48
|
"nodeType": "PragmaDirective",
|
46
|
-
"src": "32:25:
|
49
|
+
"src": "32:25:50",
|
47
50
|
"nodes": [],
|
48
51
|
"literals": [
|
49
52
|
"solidity",
|
@@ -53,24 +56,24 @@
|
|
53
56
|
]
|
54
57
|
},
|
55
58
|
{
|
56
|
-
"id":
|
59
|
+
"id": 26612,
|
57
60
|
"nodeType": "ImportDirective",
|
58
|
-
"src": "59:66:
|
61
|
+
"src": "59:66:50",
|
59
62
|
"nodes": [],
|
60
63
|
"absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
|
61
64
|
"file": "@latticexyz/store/src/ResourceId.sol",
|
62
65
|
"nameLocation": "-1:-1:-1",
|
63
|
-
"scope":
|
64
|
-
"sourceUnit":
|
66
|
+
"scope": 26691,
|
67
|
+
"sourceUnit": 29211,
|
65
68
|
"symbolAliases": [
|
66
69
|
{
|
67
70
|
"foreign": {
|
68
|
-
"id":
|
71
|
+
"id": 26611,
|
69
72
|
"name": "ResourceId",
|
70
73
|
"nodeType": "Identifier",
|
71
74
|
"overloadedDeclarations": [],
|
72
|
-
"referencedDeclaration":
|
73
|
-
"src": "68:10:
|
75
|
+
"referencedDeclaration": 29139,
|
76
|
+
"src": "68:10:50",
|
74
77
|
"typeDescriptions": {}
|
75
78
|
},
|
76
79
|
"nameLocation": "-1:-1:-1"
|
@@ -79,36 +82,36 @@
|
|
79
82
|
"unitAlias": ""
|
80
83
|
},
|
81
84
|
{
|
82
|
-
"id":
|
85
|
+
"id": 26615,
|
83
86
|
"nodeType": "ImportDirective",
|
84
|
-
"src": "127:79:
|
87
|
+
"src": "127:79:50",
|
85
88
|
"nodes": [],
|
86
89
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol",
|
87
90
|
"file": "./worldResourceTypes.sol",
|
88
91
|
"nameLocation": "-1:-1:-1",
|
89
|
-
"scope":
|
90
|
-
"sourceUnit":
|
92
|
+
"scope": 26691,
|
93
|
+
"sourceUnit": 26759,
|
91
94
|
"symbolAliases": [
|
92
95
|
{
|
93
96
|
"foreign": {
|
94
|
-
"id":
|
97
|
+
"id": 26613,
|
95
98
|
"name": "RESOURCE_SYSTEM",
|
96
99
|
"nodeType": "Identifier",
|
97
100
|
"overloadedDeclarations": [],
|
98
|
-
"referencedDeclaration":
|
99
|
-
"src": "136:15:
|
101
|
+
"referencedDeclaration": 26740,
|
102
|
+
"src": "136:15:50",
|
100
103
|
"typeDescriptions": {}
|
101
104
|
},
|
102
105
|
"nameLocation": "-1:-1:-1"
|
103
106
|
},
|
104
107
|
{
|
105
108
|
"foreign": {
|
106
|
-
"id":
|
109
|
+
"id": 26614,
|
107
110
|
"name": "RESOURCE_NAMESPACE",
|
108
111
|
"nodeType": "Identifier",
|
109
112
|
"overloadedDeclarations": [],
|
110
|
-
"referencedDeclaration":
|
111
|
-
"src": "153:18:
|
113
|
+
"referencedDeclaration": 26734,
|
114
|
+
"src": "153:18:50",
|
112
115
|
"typeDescriptions": {}
|
113
116
|
},
|
114
117
|
"nameLocation": "-1:-1:-1"
|
@@ -117,15 +120,15 @@
|
|
117
120
|
"unitAlias": ""
|
118
121
|
},
|
119
122
|
{
|
120
|
-
"id":
|
123
|
+
"id": 26618,
|
121
124
|
"nodeType": "VariableDeclaration",
|
122
|
-
"src": "208:36:
|
125
|
+
"src": "208:36:50",
|
123
126
|
"nodes": [],
|
124
127
|
"constant": true,
|
125
128
|
"mutability": "constant",
|
126
129
|
"name": "ROOT_NAMESPACE",
|
127
|
-
"nameLocation": "225:14:
|
128
|
-
"scope":
|
130
|
+
"nameLocation": "225:14:50",
|
131
|
+
"scope": 26691,
|
129
132
|
"stateVariable": false,
|
130
133
|
"storageLocation": "default",
|
131
134
|
"typeDescriptions": {
|
@@ -133,10 +136,10 @@
|
|
133
136
|
"typeString": "bytes14"
|
134
137
|
},
|
135
138
|
"typeName": {
|
136
|
-
"id":
|
139
|
+
"id": 26616,
|
137
140
|
"name": "bytes14",
|
138
141
|
"nodeType": "ElementaryTypeName",
|
139
|
-
"src": "208:7:
|
142
|
+
"src": "208:7:50",
|
140
143
|
"typeDescriptions": {
|
141
144
|
"typeIdentifier": "t_bytes14",
|
142
145
|
"typeString": "bytes14"
|
@@ -144,14 +147,14 @@
|
|
144
147
|
},
|
145
148
|
"value": {
|
146
149
|
"hexValue": "",
|
147
|
-
"id":
|
150
|
+
"id": 26617,
|
148
151
|
"isConstant": false,
|
149
152
|
"isLValue": false,
|
150
153
|
"isPure": true,
|
151
154
|
"kind": "string",
|
152
155
|
"lValueRequested": false,
|
153
156
|
"nodeType": "Literal",
|
154
|
-
"src": "242:2:
|
157
|
+
"src": "242:2:50",
|
155
158
|
"typeDescriptions": {
|
156
159
|
"typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
|
157
160
|
"typeString": "literal_string \"\""
|
@@ -161,15 +164,15 @@
|
|
161
164
|
"visibility": "internal"
|
162
165
|
},
|
163
166
|
{
|
164
|
-
"id":
|
167
|
+
"id": 26621,
|
165
168
|
"nodeType": "VariableDeclaration",
|
166
|
-
"src": "246:31:
|
169
|
+
"src": "246:31:50",
|
167
170
|
"nodes": [],
|
168
171
|
"constant": true,
|
169
172
|
"mutability": "constant",
|
170
173
|
"name": "ROOT_NAME",
|
171
|
-
"nameLocation": "263:9:
|
172
|
-
"scope":
|
174
|
+
"nameLocation": "263:9:50",
|
175
|
+
"scope": 26691,
|
173
176
|
"stateVariable": false,
|
174
177
|
"storageLocation": "default",
|
175
178
|
"typeDescriptions": {
|
@@ -177,10 +180,10 @@
|
|
177
180
|
"typeString": "bytes16"
|
178
181
|
},
|
179
182
|
"typeName": {
|
180
|
-
"id":
|
183
|
+
"id": 26619,
|
181
184
|
"name": "bytes16",
|
182
185
|
"nodeType": "ElementaryTypeName",
|
183
|
-
"src": "246:7:
|
186
|
+
"src": "246:7:50",
|
184
187
|
"typeDescriptions": {
|
185
188
|
"typeIdentifier": "t_bytes16",
|
186
189
|
"typeString": "bytes16"
|
@@ -188,14 +191,14 @@
|
|
188
191
|
},
|
189
192
|
"value": {
|
190
193
|
"hexValue": "",
|
191
|
-
"id":
|
194
|
+
"id": 26620,
|
192
195
|
"isConstant": false,
|
193
196
|
"isLValue": false,
|
194
197
|
"isPure": true,
|
195
198
|
"kind": "string",
|
196
199
|
"lValueRequested": false,
|
197
200
|
"nodeType": "Literal",
|
198
|
-
"src": "275:2:
|
201
|
+
"src": "275:2:50",
|
199
202
|
"typeDescriptions": {
|
200
203
|
"typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
|
201
204
|
"typeString": "literal_string \"\""
|
@@ -205,38 +208,318 @@
|
|
205
208
|
"visibility": "internal"
|
206
209
|
},
|
207
210
|
{
|
208
|
-
"id":
|
211
|
+
"id": 26639,
|
212
|
+
"nodeType": "VariableDeclaration",
|
213
|
+
"src": "280:136:50",
|
214
|
+
"nodes": [],
|
215
|
+
"constant": true,
|
216
|
+
"mutability": "constant",
|
217
|
+
"name": "STORE_NAMESPACE_ID",
|
218
|
+
"nameLocation": "300:18:50",
|
219
|
+
"scope": 26691,
|
220
|
+
"stateVariable": false,
|
221
|
+
"storageLocation": "default",
|
222
|
+
"typeDescriptions": {
|
223
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
224
|
+
"typeString": "ResourceId"
|
225
|
+
},
|
226
|
+
"typeName": {
|
227
|
+
"id": 26623,
|
228
|
+
"nodeType": "UserDefinedTypeName",
|
229
|
+
"pathNode": {
|
230
|
+
"id": 26622,
|
231
|
+
"name": "ResourceId",
|
232
|
+
"nameLocations": [
|
233
|
+
"280:10:50"
|
234
|
+
],
|
235
|
+
"nodeType": "IdentifierPath",
|
236
|
+
"referencedDeclaration": 29139,
|
237
|
+
"src": "280:10:50"
|
238
|
+
},
|
239
|
+
"referencedDeclaration": 29139,
|
240
|
+
"src": "280:10:50",
|
241
|
+
"typeDescriptions": {
|
242
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
243
|
+
"typeString": "ResourceId"
|
244
|
+
}
|
245
|
+
},
|
246
|
+
"value": {
|
247
|
+
"arguments": [
|
248
|
+
{
|
249
|
+
"arguments": [
|
250
|
+
{
|
251
|
+
"arguments": [
|
252
|
+
{
|
253
|
+
"id": 26630,
|
254
|
+
"name": "RESOURCE_NAMESPACE",
|
255
|
+
"nodeType": "Identifier",
|
256
|
+
"overloadedDeclarations": [],
|
257
|
+
"referencedDeclaration": 26734,
|
258
|
+
"src": "365:18:50",
|
259
|
+
"typeDescriptions": {
|
260
|
+
"typeIdentifier": "t_bytes2",
|
261
|
+
"typeString": "bytes2"
|
262
|
+
}
|
263
|
+
},
|
264
|
+
{
|
265
|
+
"arguments": [
|
266
|
+
{
|
267
|
+
"hexValue": "73746f7265",
|
268
|
+
"id": 26633,
|
269
|
+
"isConstant": false,
|
270
|
+
"isLValue": false,
|
271
|
+
"isPure": true,
|
272
|
+
"kind": "string",
|
273
|
+
"lValueRequested": false,
|
274
|
+
"nodeType": "Literal",
|
275
|
+
"src": "393:7:50",
|
276
|
+
"typeDescriptions": {
|
277
|
+
"typeIdentifier": "t_stringliteral_e41d88711b08bdcd7556c5d2d24e0da6fa1f614cf2055f4d7e10206017cd1680",
|
278
|
+
"typeString": "literal_string \"store\""
|
279
|
+
},
|
280
|
+
"value": "store"
|
281
|
+
}
|
282
|
+
],
|
283
|
+
"expression": {
|
284
|
+
"argumentTypes": [
|
285
|
+
{
|
286
|
+
"typeIdentifier": "t_stringliteral_e41d88711b08bdcd7556c5d2d24e0da6fa1f614cf2055f4d7e10206017cd1680",
|
287
|
+
"typeString": "literal_string \"store\""
|
288
|
+
}
|
289
|
+
],
|
290
|
+
"id": 26632,
|
291
|
+
"isConstant": false,
|
292
|
+
"isLValue": false,
|
293
|
+
"isPure": true,
|
294
|
+
"lValueRequested": false,
|
295
|
+
"nodeType": "ElementaryTypeNameExpression",
|
296
|
+
"src": "385:7:50",
|
297
|
+
"typeDescriptions": {
|
298
|
+
"typeIdentifier": "t_type$_t_bytes14_$",
|
299
|
+
"typeString": "type(bytes14)"
|
300
|
+
},
|
301
|
+
"typeName": {
|
302
|
+
"id": 26631,
|
303
|
+
"name": "bytes14",
|
304
|
+
"nodeType": "ElementaryTypeName",
|
305
|
+
"src": "385:7:50",
|
306
|
+
"typeDescriptions": {}
|
307
|
+
}
|
308
|
+
},
|
309
|
+
"id": 26634,
|
310
|
+
"isConstant": false,
|
311
|
+
"isLValue": false,
|
312
|
+
"isPure": true,
|
313
|
+
"kind": "typeConversion",
|
314
|
+
"lValueRequested": false,
|
315
|
+
"nameLocations": [],
|
316
|
+
"names": [],
|
317
|
+
"nodeType": "FunctionCall",
|
318
|
+
"src": "385:16:50",
|
319
|
+
"tryCall": false,
|
320
|
+
"typeDescriptions": {
|
321
|
+
"typeIdentifier": "t_bytes14",
|
322
|
+
"typeString": "bytes14"
|
323
|
+
}
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"id": 26635,
|
327
|
+
"name": "ROOT_NAME",
|
328
|
+
"nodeType": "Identifier",
|
329
|
+
"overloadedDeclarations": [],
|
330
|
+
"referencedDeclaration": 26621,
|
331
|
+
"src": "403:9:50",
|
332
|
+
"typeDescriptions": {
|
333
|
+
"typeIdentifier": "t_bytes16",
|
334
|
+
"typeString": "bytes16"
|
335
|
+
}
|
336
|
+
}
|
337
|
+
],
|
338
|
+
"expression": {
|
339
|
+
"argumentTypes": [
|
340
|
+
{
|
341
|
+
"typeIdentifier": "t_bytes2",
|
342
|
+
"typeString": "bytes2"
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"typeIdentifier": "t_bytes14",
|
346
|
+
"typeString": "bytes14"
|
347
|
+
},
|
348
|
+
{
|
349
|
+
"typeIdentifier": "t_bytes16",
|
350
|
+
"typeString": "bytes16"
|
351
|
+
}
|
352
|
+
],
|
353
|
+
"expression": {
|
354
|
+
"id": 26628,
|
355
|
+
"name": "abi",
|
356
|
+
"nodeType": "Identifier",
|
357
|
+
"overloadedDeclarations": [],
|
358
|
+
"referencedDeclaration": -1,
|
359
|
+
"src": "348:3:50",
|
360
|
+
"typeDescriptions": {
|
361
|
+
"typeIdentifier": "t_magic_abi",
|
362
|
+
"typeString": "abi"
|
363
|
+
}
|
364
|
+
},
|
365
|
+
"id": 26629,
|
366
|
+
"isConstant": false,
|
367
|
+
"isLValue": false,
|
368
|
+
"isPure": true,
|
369
|
+
"lValueRequested": false,
|
370
|
+
"memberLocation": "352:12:50",
|
371
|
+
"memberName": "encodePacked",
|
372
|
+
"nodeType": "MemberAccess",
|
373
|
+
"src": "348:16:50",
|
374
|
+
"typeDescriptions": {
|
375
|
+
"typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
|
376
|
+
"typeString": "function () pure returns (bytes memory)"
|
377
|
+
}
|
378
|
+
},
|
379
|
+
"id": 26636,
|
380
|
+
"isConstant": false,
|
381
|
+
"isLValue": false,
|
382
|
+
"isPure": true,
|
383
|
+
"kind": "functionCall",
|
384
|
+
"lValueRequested": false,
|
385
|
+
"nameLocations": [],
|
386
|
+
"names": [],
|
387
|
+
"nodeType": "FunctionCall",
|
388
|
+
"src": "348:65:50",
|
389
|
+
"tryCall": false,
|
390
|
+
"typeDescriptions": {
|
391
|
+
"typeIdentifier": "t_bytes_memory_ptr",
|
392
|
+
"typeString": "bytes memory"
|
393
|
+
}
|
394
|
+
}
|
395
|
+
],
|
396
|
+
"expression": {
|
397
|
+
"argumentTypes": [
|
398
|
+
{
|
399
|
+
"typeIdentifier": "t_bytes_memory_ptr",
|
400
|
+
"typeString": "bytes memory"
|
401
|
+
}
|
402
|
+
],
|
403
|
+
"id": 26627,
|
404
|
+
"isConstant": false,
|
405
|
+
"isLValue": false,
|
406
|
+
"isPure": true,
|
407
|
+
"lValueRequested": false,
|
408
|
+
"nodeType": "ElementaryTypeNameExpression",
|
409
|
+
"src": "340:7:50",
|
410
|
+
"typeDescriptions": {
|
411
|
+
"typeIdentifier": "t_type$_t_bytes32_$",
|
412
|
+
"typeString": "type(bytes32)"
|
413
|
+
},
|
414
|
+
"typeName": {
|
415
|
+
"id": 26626,
|
416
|
+
"name": "bytes32",
|
417
|
+
"nodeType": "ElementaryTypeName",
|
418
|
+
"src": "340:7:50",
|
419
|
+
"typeDescriptions": {}
|
420
|
+
}
|
421
|
+
},
|
422
|
+
"id": 26637,
|
423
|
+
"isConstant": false,
|
424
|
+
"isLValue": false,
|
425
|
+
"isPure": true,
|
426
|
+
"kind": "typeConversion",
|
427
|
+
"lValueRequested": false,
|
428
|
+
"nameLocations": [],
|
429
|
+
"names": [],
|
430
|
+
"nodeType": "FunctionCall",
|
431
|
+
"src": "340:74:50",
|
432
|
+
"tryCall": false,
|
433
|
+
"typeDescriptions": {
|
434
|
+
"typeIdentifier": "t_bytes32",
|
435
|
+
"typeString": "bytes32"
|
436
|
+
}
|
437
|
+
}
|
438
|
+
],
|
439
|
+
"expression": {
|
440
|
+
"argumentTypes": [
|
441
|
+
{
|
442
|
+
"typeIdentifier": "t_bytes32",
|
443
|
+
"typeString": "bytes32"
|
444
|
+
}
|
445
|
+
],
|
446
|
+
"expression": {
|
447
|
+
"id": 26624,
|
448
|
+
"name": "ResourceId",
|
449
|
+
"nodeType": "Identifier",
|
450
|
+
"overloadedDeclarations": [],
|
451
|
+
"referencedDeclaration": 29139,
|
452
|
+
"src": "321:10:50",
|
453
|
+
"typeDescriptions": {
|
454
|
+
"typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$29139_$",
|
455
|
+
"typeString": "type(ResourceId)"
|
456
|
+
}
|
457
|
+
},
|
458
|
+
"id": 26625,
|
459
|
+
"isConstant": false,
|
460
|
+
"isLValue": false,
|
461
|
+
"isPure": true,
|
462
|
+
"lValueRequested": false,
|
463
|
+
"memberLocation": "332:4:50",
|
464
|
+
"memberName": "wrap",
|
465
|
+
"nodeType": "MemberAccess",
|
466
|
+
"src": "321:15:50",
|
467
|
+
"typeDescriptions": {
|
468
|
+
"typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$29139_$",
|
469
|
+
"typeString": "function (bytes32) pure returns (ResourceId)"
|
470
|
+
}
|
471
|
+
},
|
472
|
+
"id": 26638,
|
473
|
+
"isConstant": false,
|
474
|
+
"isLValue": false,
|
475
|
+
"isPure": true,
|
476
|
+
"kind": "functionCall",
|
477
|
+
"lValueRequested": false,
|
478
|
+
"nameLocations": [],
|
479
|
+
"names": [],
|
480
|
+
"nodeType": "FunctionCall",
|
481
|
+
"src": "321:95:50",
|
482
|
+
"tryCall": false,
|
483
|
+
"typeDescriptions": {
|
484
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
485
|
+
"typeString": "ResourceId"
|
486
|
+
}
|
487
|
+
},
|
488
|
+
"visibility": "internal"
|
489
|
+
},
|
490
|
+
{
|
491
|
+
"id": 26657,
|
209
492
|
"nodeType": "VariableDeclaration",
|
210
|
-
"src": "
|
493
|
+
"src": "419:136:50",
|
211
494
|
"nodes": [],
|
212
495
|
"constant": true,
|
213
496
|
"mutability": "constant",
|
214
497
|
"name": "WORLD_NAMESPACE_ID",
|
215
|
-
"nameLocation": "
|
216
|
-
"scope":
|
498
|
+
"nameLocation": "439:18:50",
|
499
|
+
"scope": 26691,
|
217
500
|
"stateVariable": false,
|
218
501
|
"storageLocation": "default",
|
219
502
|
"typeDescriptions": {
|
220
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
503
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
221
504
|
"typeString": "ResourceId"
|
222
505
|
},
|
223
506
|
"typeName": {
|
224
|
-
"id":
|
507
|
+
"id": 26641,
|
225
508
|
"nodeType": "UserDefinedTypeName",
|
226
509
|
"pathNode": {
|
227
|
-
"id":
|
510
|
+
"id": 26640,
|
228
511
|
"name": "ResourceId",
|
229
512
|
"nameLocations": [
|
230
|
-
"
|
513
|
+
"419:10:50"
|
231
514
|
],
|
232
515
|
"nodeType": "IdentifierPath",
|
233
|
-
"referencedDeclaration":
|
234
|
-
"src": "
|
516
|
+
"referencedDeclaration": 29139,
|
517
|
+
"src": "419:10:50"
|
235
518
|
},
|
236
|
-
"referencedDeclaration":
|
237
|
-
"src": "
|
519
|
+
"referencedDeclaration": 29139,
|
520
|
+
"src": "419:10:50",
|
238
521
|
"typeDescriptions": {
|
239
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
522
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
240
523
|
"typeString": "ResourceId"
|
241
524
|
}
|
242
525
|
},
|
@@ -247,12 +530,12 @@
|
|
247
530
|
{
|
248
531
|
"arguments": [
|
249
532
|
{
|
250
|
-
"id":
|
533
|
+
"id": 26648,
|
251
534
|
"name": "RESOURCE_NAMESPACE",
|
252
535
|
"nodeType": "Identifier",
|
253
536
|
"overloadedDeclarations": [],
|
254
|
-
"referencedDeclaration":
|
255
|
-
"src": "
|
537
|
+
"referencedDeclaration": 26734,
|
538
|
+
"src": "504:18:50",
|
256
539
|
"typeDescriptions": {
|
257
540
|
"typeIdentifier": "t_bytes2",
|
258
541
|
"typeString": "bytes2"
|
@@ -262,14 +545,14 @@
|
|
262
545
|
"arguments": [
|
263
546
|
{
|
264
547
|
"hexValue": "776f726c64",
|
265
|
-
"id":
|
548
|
+
"id": 26651,
|
266
549
|
"isConstant": false,
|
267
550
|
"isLValue": false,
|
268
551
|
"isPure": true,
|
269
552
|
"kind": "string",
|
270
553
|
"lValueRequested": false,
|
271
554
|
"nodeType": "Literal",
|
272
|
-
"src": "
|
555
|
+
"src": "532:7:50",
|
273
556
|
"typeDescriptions": {
|
274
557
|
"typeIdentifier": "t_stringliteral_8452c9b9140222b08593a26daa782707297be9f7b3e8281d7b4974769f19afd0",
|
275
558
|
"typeString": "literal_string \"world\""
|
@@ -284,26 +567,26 @@
|
|
284
567
|
"typeString": "literal_string \"world\""
|
285
568
|
}
|
286
569
|
],
|
287
|
-
"id":
|
570
|
+
"id": 26650,
|
288
571
|
"isConstant": false,
|
289
572
|
"isLValue": false,
|
290
573
|
"isPure": true,
|
291
574
|
"lValueRequested": false,
|
292
575
|
"nodeType": "ElementaryTypeNameExpression",
|
293
|
-
"src": "
|
576
|
+
"src": "524:7:50",
|
294
577
|
"typeDescriptions": {
|
295
578
|
"typeIdentifier": "t_type$_t_bytes14_$",
|
296
579
|
"typeString": "type(bytes14)"
|
297
580
|
},
|
298
581
|
"typeName": {
|
299
|
-
"id":
|
582
|
+
"id": 26649,
|
300
583
|
"name": "bytes14",
|
301
584
|
"nodeType": "ElementaryTypeName",
|
302
|
-
"src": "
|
585
|
+
"src": "524:7:50",
|
303
586
|
"typeDescriptions": {}
|
304
587
|
}
|
305
588
|
},
|
306
|
-
"id":
|
589
|
+
"id": 26652,
|
307
590
|
"isConstant": false,
|
308
591
|
"isLValue": false,
|
309
592
|
"isPure": true,
|
@@ -312,7 +595,7 @@
|
|
312
595
|
"nameLocations": [],
|
313
596
|
"names": [],
|
314
597
|
"nodeType": "FunctionCall",
|
315
|
-
"src": "
|
598
|
+
"src": "524:16:50",
|
316
599
|
"tryCall": false,
|
317
600
|
"typeDescriptions": {
|
318
601
|
"typeIdentifier": "t_bytes14",
|
@@ -320,12 +603,12 @@
|
|
320
603
|
}
|
321
604
|
},
|
322
605
|
{
|
323
|
-
"id":
|
606
|
+
"id": 26653,
|
324
607
|
"name": "ROOT_NAME",
|
325
608
|
"nodeType": "Identifier",
|
326
609
|
"overloadedDeclarations": [],
|
327
|
-
"referencedDeclaration":
|
328
|
-
"src": "
|
610
|
+
"referencedDeclaration": 26621,
|
611
|
+
"src": "542:9:50",
|
329
612
|
"typeDescriptions": {
|
330
613
|
"typeIdentifier": "t_bytes16",
|
331
614
|
"typeString": "bytes16"
|
@@ -348,32 +631,32 @@
|
|
348
631
|
}
|
349
632
|
],
|
350
633
|
"expression": {
|
351
|
-
"id":
|
634
|
+
"id": 26646,
|
352
635
|
"name": "abi",
|
353
636
|
"nodeType": "Identifier",
|
354
637
|
"overloadedDeclarations": [],
|
355
638
|
"referencedDeclaration": -1,
|
356
|
-
"src": "
|
639
|
+
"src": "487:3:50",
|
357
640
|
"typeDescriptions": {
|
358
641
|
"typeIdentifier": "t_magic_abi",
|
359
642
|
"typeString": "abi"
|
360
643
|
}
|
361
644
|
},
|
362
|
-
"id":
|
645
|
+
"id": 26647,
|
363
646
|
"isConstant": false,
|
364
647
|
"isLValue": false,
|
365
648
|
"isPure": true,
|
366
649
|
"lValueRequested": false,
|
367
|
-
"memberLocation": "
|
650
|
+
"memberLocation": "491:12:50",
|
368
651
|
"memberName": "encodePacked",
|
369
652
|
"nodeType": "MemberAccess",
|
370
|
-
"src": "
|
653
|
+
"src": "487:16:50",
|
371
654
|
"typeDescriptions": {
|
372
655
|
"typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
|
373
656
|
"typeString": "function () pure returns (bytes memory)"
|
374
657
|
}
|
375
658
|
},
|
376
|
-
"id":
|
659
|
+
"id": 26654,
|
377
660
|
"isConstant": false,
|
378
661
|
"isLValue": false,
|
379
662
|
"isPure": true,
|
@@ -382,7 +665,7 @@
|
|
382
665
|
"nameLocations": [],
|
383
666
|
"names": [],
|
384
667
|
"nodeType": "FunctionCall",
|
385
|
-
"src": "
|
668
|
+
"src": "487:65:50",
|
386
669
|
"tryCall": false,
|
387
670
|
"typeDescriptions": {
|
388
671
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -397,26 +680,26 @@
|
|
397
680
|
"typeString": "bytes memory"
|
398
681
|
}
|
399
682
|
],
|
400
|
-
"id":
|
683
|
+
"id": 26645,
|
401
684
|
"isConstant": false,
|
402
685
|
"isLValue": false,
|
403
686
|
"isPure": true,
|
404
687
|
"lValueRequested": false,
|
405
688
|
"nodeType": "ElementaryTypeNameExpression",
|
406
|
-
"src": "
|
689
|
+
"src": "479:7:50",
|
407
690
|
"typeDescriptions": {
|
408
691
|
"typeIdentifier": "t_type$_t_bytes32_$",
|
409
692
|
"typeString": "type(bytes32)"
|
410
693
|
},
|
411
694
|
"typeName": {
|
412
|
-
"id":
|
695
|
+
"id": 26644,
|
413
696
|
"name": "bytes32",
|
414
697
|
"nodeType": "ElementaryTypeName",
|
415
|
-
"src": "
|
698
|
+
"src": "479:7:50",
|
416
699
|
"typeDescriptions": {}
|
417
700
|
}
|
418
701
|
},
|
419
|
-
"id":
|
702
|
+
"id": 26655,
|
420
703
|
"isConstant": false,
|
421
704
|
"isLValue": false,
|
422
705
|
"isPure": true,
|
@@ -425,7 +708,7 @@
|
|
425
708
|
"nameLocations": [],
|
426
709
|
"names": [],
|
427
710
|
"nodeType": "FunctionCall",
|
428
|
-
"src": "
|
711
|
+
"src": "479:74:50",
|
429
712
|
"tryCall": false,
|
430
713
|
"typeDescriptions": {
|
431
714
|
"typeIdentifier": "t_bytes32",
|
@@ -441,32 +724,32 @@
|
|
441
724
|
}
|
442
725
|
],
|
443
726
|
"expression": {
|
444
|
-
"id":
|
727
|
+
"id": 26642,
|
445
728
|
"name": "ResourceId",
|
446
729
|
"nodeType": "Identifier",
|
447
730
|
"overloadedDeclarations": [],
|
448
|
-
"referencedDeclaration":
|
449
|
-
"src": "
|
731
|
+
"referencedDeclaration": 29139,
|
732
|
+
"src": "460:10:50",
|
450
733
|
"typeDescriptions": {
|
451
|
-
"typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$
|
734
|
+
"typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$29139_$",
|
452
735
|
"typeString": "type(ResourceId)"
|
453
736
|
}
|
454
737
|
},
|
455
|
-
"id":
|
738
|
+
"id": 26643,
|
456
739
|
"isConstant": false,
|
457
740
|
"isLValue": false,
|
458
741
|
"isPure": true,
|
459
742
|
"lValueRequested": false,
|
460
|
-
"memberLocation": "
|
743
|
+
"memberLocation": "471:4:50",
|
461
744
|
"memberName": "wrap",
|
462
745
|
"nodeType": "MemberAccess",
|
463
|
-
"src": "
|
746
|
+
"src": "460:15:50",
|
464
747
|
"typeDescriptions": {
|
465
|
-
"typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$
|
748
|
+
"typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$29139_$",
|
466
749
|
"typeString": "function (bytes32) pure returns (ResourceId)"
|
467
750
|
}
|
468
751
|
},
|
469
|
-
"id":
|
752
|
+
"id": 26656,
|
470
753
|
"isConstant": false,
|
471
754
|
"isLValue": false,
|
472
755
|
"isPure": true,
|
@@ -475,48 +758,48 @@
|
|
475
758
|
"nameLocations": [],
|
476
759
|
"names": [],
|
477
760
|
"nodeType": "FunctionCall",
|
478
|
-
"src": "
|
761
|
+
"src": "460:95:50",
|
479
762
|
"tryCall": false,
|
480
763
|
"typeDescriptions": {
|
481
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
764
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
482
765
|
"typeString": "ResourceId"
|
483
766
|
}
|
484
767
|
},
|
485
768
|
"visibility": "internal"
|
486
769
|
},
|
487
770
|
{
|
488
|
-
"id":
|
771
|
+
"id": 26672,
|
489
772
|
"nodeType": "VariableDeclaration",
|
490
|
-
"src": "
|
773
|
+
"src": "558:133:50",
|
491
774
|
"nodes": [],
|
492
775
|
"constant": true,
|
493
776
|
"mutability": "constant",
|
494
777
|
"name": "ROOT_NAMESPACE_ID",
|
495
|
-
"nameLocation": "
|
496
|
-
"scope":
|
778
|
+
"nameLocation": "578:17:50",
|
779
|
+
"scope": 26691,
|
497
780
|
"stateVariable": false,
|
498
781
|
"storageLocation": "default",
|
499
782
|
"typeDescriptions": {
|
500
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
783
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
501
784
|
"typeString": "ResourceId"
|
502
785
|
},
|
503
786
|
"typeName": {
|
504
|
-
"id":
|
787
|
+
"id": 26659,
|
505
788
|
"nodeType": "UserDefinedTypeName",
|
506
789
|
"pathNode": {
|
507
|
-
"id":
|
790
|
+
"id": 26658,
|
508
791
|
"name": "ResourceId",
|
509
792
|
"nameLocations": [
|
510
|
-
"
|
793
|
+
"558:10:50"
|
511
794
|
],
|
512
795
|
"nodeType": "IdentifierPath",
|
513
|
-
"referencedDeclaration":
|
514
|
-
"src": "
|
796
|
+
"referencedDeclaration": 29139,
|
797
|
+
"src": "558:10:50"
|
515
798
|
},
|
516
|
-
"referencedDeclaration":
|
517
|
-
"src": "
|
799
|
+
"referencedDeclaration": 29139,
|
800
|
+
"src": "558:10:50",
|
518
801
|
"typeDescriptions": {
|
519
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
802
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
520
803
|
"typeString": "ResourceId"
|
521
804
|
}
|
522
805
|
},
|
@@ -527,36 +810,36 @@
|
|
527
810
|
{
|
528
811
|
"arguments": [
|
529
812
|
{
|
530
|
-
"id":
|
813
|
+
"id": 26666,
|
531
814
|
"name": "RESOURCE_NAMESPACE",
|
532
815
|
"nodeType": "Identifier",
|
533
816
|
"overloadedDeclarations": [],
|
534
|
-
"referencedDeclaration":
|
535
|
-
"src": "
|
817
|
+
"referencedDeclaration": 26734,
|
818
|
+
"src": "642:18:50",
|
536
819
|
"typeDescriptions": {
|
537
820
|
"typeIdentifier": "t_bytes2",
|
538
821
|
"typeString": "bytes2"
|
539
822
|
}
|
540
823
|
},
|
541
824
|
{
|
542
|
-
"id":
|
825
|
+
"id": 26667,
|
543
826
|
"name": "ROOT_NAMESPACE",
|
544
827
|
"nodeType": "Identifier",
|
545
828
|
"overloadedDeclarations": [],
|
546
|
-
"referencedDeclaration":
|
547
|
-
"src": "
|
829
|
+
"referencedDeclaration": 26618,
|
830
|
+
"src": "662:14:50",
|
548
831
|
"typeDescriptions": {
|
549
832
|
"typeIdentifier": "t_bytes14",
|
550
833
|
"typeString": "bytes14"
|
551
834
|
}
|
552
835
|
},
|
553
836
|
{
|
554
|
-
"id":
|
837
|
+
"id": 26668,
|
555
838
|
"name": "ROOT_NAME",
|
556
839
|
"nodeType": "Identifier",
|
557
840
|
"overloadedDeclarations": [],
|
558
|
-
"referencedDeclaration":
|
559
|
-
"src": "
|
841
|
+
"referencedDeclaration": 26621,
|
842
|
+
"src": "678:9:50",
|
560
843
|
"typeDescriptions": {
|
561
844
|
"typeIdentifier": "t_bytes16",
|
562
845
|
"typeString": "bytes16"
|
@@ -579,32 +862,32 @@
|
|
579
862
|
}
|
580
863
|
],
|
581
864
|
"expression": {
|
582
|
-
"id":
|
865
|
+
"id": 26664,
|
583
866
|
"name": "abi",
|
584
867
|
"nodeType": "Identifier",
|
585
868
|
"overloadedDeclarations": [],
|
586
869
|
"referencedDeclaration": -1,
|
587
|
-
"src": "
|
870
|
+
"src": "625:3:50",
|
588
871
|
"typeDescriptions": {
|
589
872
|
"typeIdentifier": "t_magic_abi",
|
590
873
|
"typeString": "abi"
|
591
874
|
}
|
592
875
|
},
|
593
|
-
"id":
|
876
|
+
"id": 26665,
|
594
877
|
"isConstant": false,
|
595
878
|
"isLValue": false,
|
596
879
|
"isPure": true,
|
597
880
|
"lValueRequested": false,
|
598
|
-
"memberLocation": "
|
881
|
+
"memberLocation": "629:12:50",
|
599
882
|
"memberName": "encodePacked",
|
600
883
|
"nodeType": "MemberAccess",
|
601
|
-
"src": "
|
884
|
+
"src": "625:16:50",
|
602
885
|
"typeDescriptions": {
|
603
886
|
"typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
|
604
887
|
"typeString": "function () pure returns (bytes memory)"
|
605
888
|
}
|
606
889
|
},
|
607
|
-
"id":
|
890
|
+
"id": 26669,
|
608
891
|
"isConstant": false,
|
609
892
|
"isLValue": false,
|
610
893
|
"isPure": true,
|
@@ -613,7 +896,7 @@
|
|
613
896
|
"nameLocations": [],
|
614
897
|
"names": [],
|
615
898
|
"nodeType": "FunctionCall",
|
616
|
-
"src": "
|
899
|
+
"src": "625:63:50",
|
617
900
|
"tryCall": false,
|
618
901
|
"typeDescriptions": {
|
619
902
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -628,26 +911,26 @@
|
|
628
911
|
"typeString": "bytes memory"
|
629
912
|
}
|
630
913
|
],
|
631
|
-
"id":
|
914
|
+
"id": 26663,
|
632
915
|
"isConstant": false,
|
633
916
|
"isLValue": false,
|
634
917
|
"isPure": true,
|
635
918
|
"lValueRequested": false,
|
636
919
|
"nodeType": "ElementaryTypeNameExpression",
|
637
|
-
"src": "
|
920
|
+
"src": "617:7:50",
|
638
921
|
"typeDescriptions": {
|
639
922
|
"typeIdentifier": "t_type$_t_bytes32_$",
|
640
923
|
"typeString": "type(bytes32)"
|
641
924
|
},
|
642
925
|
"typeName": {
|
643
|
-
"id":
|
926
|
+
"id": 26662,
|
644
927
|
"name": "bytes32",
|
645
928
|
"nodeType": "ElementaryTypeName",
|
646
|
-
"src": "
|
929
|
+
"src": "617:7:50",
|
647
930
|
"typeDescriptions": {}
|
648
931
|
}
|
649
932
|
},
|
650
|
-
"id":
|
933
|
+
"id": 26670,
|
651
934
|
"isConstant": false,
|
652
935
|
"isLValue": false,
|
653
936
|
"isPure": true,
|
@@ -656,7 +939,7 @@
|
|
656
939
|
"nameLocations": [],
|
657
940
|
"names": [],
|
658
941
|
"nodeType": "FunctionCall",
|
659
|
-
"src": "
|
942
|
+
"src": "617:72:50",
|
660
943
|
"tryCall": false,
|
661
944
|
"typeDescriptions": {
|
662
945
|
"typeIdentifier": "t_bytes32",
|
@@ -672,32 +955,32 @@
|
|
672
955
|
}
|
673
956
|
],
|
674
957
|
"expression": {
|
675
|
-
"id":
|
958
|
+
"id": 26660,
|
676
959
|
"name": "ResourceId",
|
677
960
|
"nodeType": "Identifier",
|
678
961
|
"overloadedDeclarations": [],
|
679
|
-
"referencedDeclaration":
|
680
|
-
"src": "
|
962
|
+
"referencedDeclaration": 29139,
|
963
|
+
"src": "598:10:50",
|
681
964
|
"typeDescriptions": {
|
682
|
-
"typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$
|
965
|
+
"typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$29139_$",
|
683
966
|
"typeString": "type(ResourceId)"
|
684
967
|
}
|
685
968
|
},
|
686
|
-
"id":
|
969
|
+
"id": 26661,
|
687
970
|
"isConstant": false,
|
688
971
|
"isLValue": false,
|
689
972
|
"isPure": true,
|
690
973
|
"lValueRequested": false,
|
691
|
-
"memberLocation": "
|
974
|
+
"memberLocation": "609:4:50",
|
692
975
|
"memberName": "wrap",
|
693
976
|
"nodeType": "MemberAccess",
|
694
|
-
"src": "
|
977
|
+
"src": "598:15:50",
|
695
978
|
"typeDescriptions": {
|
696
|
-
"typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$
|
979
|
+
"typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$29139_$",
|
697
980
|
"typeString": "function (bytes32) pure returns (ResourceId)"
|
698
981
|
}
|
699
982
|
},
|
700
|
-
"id":
|
983
|
+
"id": 26671,
|
701
984
|
"isConstant": false,
|
702
985
|
"isLValue": false,
|
703
986
|
"isPure": true,
|
@@ -706,48 +989,48 @@
|
|
706
989
|
"nameLocations": [],
|
707
990
|
"names": [],
|
708
991
|
"nodeType": "FunctionCall",
|
709
|
-
"src": "
|
992
|
+
"src": "598:93:50",
|
710
993
|
"tryCall": false,
|
711
994
|
"typeDescriptions": {
|
712
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
995
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
713
996
|
"typeString": "ResourceId"
|
714
997
|
}
|
715
998
|
},
|
716
999
|
"visibility": "internal"
|
717
1000
|
},
|
718
1001
|
{
|
719
|
-
"id":
|
1002
|
+
"id": 26690,
|
720
1003
|
"nodeType": "VariableDeclaration",
|
721
|
-
"src": "
|
1004
|
+
"src": "694:144:50",
|
722
1005
|
"nodes": [],
|
723
1006
|
"constant": true,
|
724
1007
|
"mutability": "constant",
|
725
1008
|
"name": "UNLIMITED_DELEGATION",
|
726
|
-
"nameLocation": "
|
727
|
-
"scope":
|
1009
|
+
"nameLocation": "714:20:50",
|
1010
|
+
"scope": 26691,
|
728
1011
|
"stateVariable": false,
|
729
1012
|
"storageLocation": "default",
|
730
1013
|
"typeDescriptions": {
|
731
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1014
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
732
1015
|
"typeString": "ResourceId"
|
733
1016
|
},
|
734
1017
|
"typeName": {
|
735
|
-
"id":
|
1018
|
+
"id": 26674,
|
736
1019
|
"nodeType": "UserDefinedTypeName",
|
737
1020
|
"pathNode": {
|
738
|
-
"id":
|
1021
|
+
"id": 26673,
|
739
1022
|
"name": "ResourceId",
|
740
1023
|
"nameLocations": [
|
741
|
-
"
|
1024
|
+
"694:10:50"
|
742
1025
|
],
|
743
1026
|
"nodeType": "IdentifierPath",
|
744
|
-
"referencedDeclaration":
|
745
|
-
"src": "
|
1027
|
+
"referencedDeclaration": 29139,
|
1028
|
+
"src": "694:10:50"
|
746
1029
|
},
|
747
|
-
"referencedDeclaration":
|
748
|
-
"src": "
|
1030
|
+
"referencedDeclaration": 29139,
|
1031
|
+
"src": "694:10:50",
|
749
1032
|
"typeDescriptions": {
|
750
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1033
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
751
1034
|
"typeString": "ResourceId"
|
752
1035
|
}
|
753
1036
|
},
|
@@ -758,24 +1041,24 @@
|
|
758
1041
|
{
|
759
1042
|
"arguments": [
|
760
1043
|
{
|
761
|
-
"id":
|
1044
|
+
"id": 26681,
|
762
1045
|
"name": "RESOURCE_SYSTEM",
|
763
1046
|
"nodeType": "Identifier",
|
764
1047
|
"overloadedDeclarations": [],
|
765
|
-
"referencedDeclaration":
|
766
|
-
"src": "
|
1048
|
+
"referencedDeclaration": 26740,
|
1049
|
+
"src": "781:15:50",
|
767
1050
|
"typeDescriptions": {
|
768
1051
|
"typeIdentifier": "t_bytes2",
|
769
1052
|
"typeString": "bytes2"
|
770
1053
|
}
|
771
1054
|
},
|
772
1055
|
{
|
773
|
-
"id":
|
1056
|
+
"id": 26682,
|
774
1057
|
"name": "ROOT_NAMESPACE",
|
775
1058
|
"nodeType": "Identifier",
|
776
1059
|
"overloadedDeclarations": [],
|
777
|
-
"referencedDeclaration":
|
778
|
-
"src": "
|
1060
|
+
"referencedDeclaration": 26618,
|
1061
|
+
"src": "798:14:50",
|
779
1062
|
"typeDescriptions": {
|
780
1063
|
"typeIdentifier": "t_bytes14",
|
781
1064
|
"typeString": "bytes14"
|
@@ -785,14 +1068,14 @@
|
|
785
1068
|
"arguments": [
|
786
1069
|
{
|
787
1070
|
"hexValue": "756e6c696d69746564",
|
788
|
-
"id":
|
1071
|
+
"id": 26685,
|
789
1072
|
"isConstant": false,
|
790
1073
|
"isLValue": false,
|
791
1074
|
"isPure": true,
|
792
1075
|
"kind": "string",
|
793
1076
|
"lValueRequested": false,
|
794
1077
|
"nodeType": "Literal",
|
795
|
-
"src": "
|
1078
|
+
"src": "822:11:50",
|
796
1079
|
"typeDescriptions": {
|
797
1080
|
"typeIdentifier": "t_stringliteral_2a99c007357d7836fff579cc3480b735ced34796eb2805e33c23d0eaeefdc492",
|
798
1081
|
"typeString": "literal_string \"unlimited\""
|
@@ -807,26 +1090,26 @@
|
|
807
1090
|
"typeString": "literal_string \"unlimited\""
|
808
1091
|
}
|
809
1092
|
],
|
810
|
-
"id":
|
1093
|
+
"id": 26684,
|
811
1094
|
"isConstant": false,
|
812
1095
|
"isLValue": false,
|
813
1096
|
"isPure": true,
|
814
1097
|
"lValueRequested": false,
|
815
1098
|
"nodeType": "ElementaryTypeNameExpression",
|
816
|
-
"src": "
|
1099
|
+
"src": "814:7:50",
|
817
1100
|
"typeDescriptions": {
|
818
1101
|
"typeIdentifier": "t_type$_t_bytes16_$",
|
819
1102
|
"typeString": "type(bytes16)"
|
820
1103
|
},
|
821
1104
|
"typeName": {
|
822
|
-
"id":
|
1105
|
+
"id": 26683,
|
823
1106
|
"name": "bytes16",
|
824
1107
|
"nodeType": "ElementaryTypeName",
|
825
|
-
"src": "
|
1108
|
+
"src": "814:7:50",
|
826
1109
|
"typeDescriptions": {}
|
827
1110
|
}
|
828
1111
|
},
|
829
|
-
"id":
|
1112
|
+
"id": 26686,
|
830
1113
|
"isConstant": false,
|
831
1114
|
"isLValue": false,
|
832
1115
|
"isPure": true,
|
@@ -835,7 +1118,7 @@
|
|
835
1118
|
"nameLocations": [],
|
836
1119
|
"names": [],
|
837
1120
|
"nodeType": "FunctionCall",
|
838
|
-
"src": "
|
1121
|
+
"src": "814:20:50",
|
839
1122
|
"tryCall": false,
|
840
1123
|
"typeDescriptions": {
|
841
1124
|
"typeIdentifier": "t_bytes16",
|
@@ -859,32 +1142,32 @@
|
|
859
1142
|
}
|
860
1143
|
],
|
861
1144
|
"expression": {
|
862
|
-
"id":
|
1145
|
+
"id": 26679,
|
863
1146
|
"name": "abi",
|
864
1147
|
"nodeType": "Identifier",
|
865
1148
|
"overloadedDeclarations": [],
|
866
1149
|
"referencedDeclaration": -1,
|
867
|
-
"src": "
|
1150
|
+
"src": "764:3:50",
|
868
1151
|
"typeDescriptions": {
|
869
1152
|
"typeIdentifier": "t_magic_abi",
|
870
1153
|
"typeString": "abi"
|
871
1154
|
}
|
872
1155
|
},
|
873
|
-
"id":
|
1156
|
+
"id": 26680,
|
874
1157
|
"isConstant": false,
|
875
1158
|
"isLValue": false,
|
876
1159
|
"isPure": true,
|
877
1160
|
"lValueRequested": false,
|
878
|
-
"memberLocation": "
|
1161
|
+
"memberLocation": "768:12:50",
|
879
1162
|
"memberName": "encodePacked",
|
880
1163
|
"nodeType": "MemberAccess",
|
881
|
-
"src": "
|
1164
|
+
"src": "764:16:50",
|
882
1165
|
"typeDescriptions": {
|
883
1166
|
"typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
|
884
1167
|
"typeString": "function () pure returns (bytes memory)"
|
885
1168
|
}
|
886
1169
|
},
|
887
|
-
"id":
|
1170
|
+
"id": 26687,
|
888
1171
|
"isConstant": false,
|
889
1172
|
"isLValue": false,
|
890
1173
|
"isPure": true,
|
@@ -893,7 +1176,7 @@
|
|
893
1176
|
"nameLocations": [],
|
894
1177
|
"names": [],
|
895
1178
|
"nodeType": "FunctionCall",
|
896
|
-
"src": "
|
1179
|
+
"src": "764:71:50",
|
897
1180
|
"tryCall": false,
|
898
1181
|
"typeDescriptions": {
|
899
1182
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -908,26 +1191,26 @@
|
|
908
1191
|
"typeString": "bytes memory"
|
909
1192
|
}
|
910
1193
|
],
|
911
|
-
"id":
|
1194
|
+
"id": 26678,
|
912
1195
|
"isConstant": false,
|
913
1196
|
"isLValue": false,
|
914
1197
|
"isPure": true,
|
915
1198
|
"lValueRequested": false,
|
916
1199
|
"nodeType": "ElementaryTypeNameExpression",
|
917
|
-
"src": "
|
1200
|
+
"src": "756:7:50",
|
918
1201
|
"typeDescriptions": {
|
919
1202
|
"typeIdentifier": "t_type$_t_bytes32_$",
|
920
1203
|
"typeString": "type(bytes32)"
|
921
1204
|
},
|
922
1205
|
"typeName": {
|
923
|
-
"id":
|
1206
|
+
"id": 26677,
|
924
1207
|
"name": "bytes32",
|
925
1208
|
"nodeType": "ElementaryTypeName",
|
926
|
-
"src": "
|
1209
|
+
"src": "756:7:50",
|
927
1210
|
"typeDescriptions": {}
|
928
1211
|
}
|
929
1212
|
},
|
930
|
-
"id":
|
1213
|
+
"id": 26688,
|
931
1214
|
"isConstant": false,
|
932
1215
|
"isLValue": false,
|
933
1216
|
"isPure": true,
|
@@ -936,7 +1219,7 @@
|
|
936
1219
|
"nameLocations": [],
|
937
1220
|
"names": [],
|
938
1221
|
"nodeType": "FunctionCall",
|
939
|
-
"src": "
|
1222
|
+
"src": "756:80:50",
|
940
1223
|
"tryCall": false,
|
941
1224
|
"typeDescriptions": {
|
942
1225
|
"typeIdentifier": "t_bytes32",
|
@@ -952,32 +1235,32 @@
|
|
952
1235
|
}
|
953
1236
|
],
|
954
1237
|
"expression": {
|
955
|
-
"id":
|
1238
|
+
"id": 26675,
|
956
1239
|
"name": "ResourceId",
|
957
1240
|
"nodeType": "Identifier",
|
958
1241
|
"overloadedDeclarations": [],
|
959
|
-
"referencedDeclaration":
|
960
|
-
"src": "
|
1242
|
+
"referencedDeclaration": 29139,
|
1243
|
+
"src": "737:10:50",
|
961
1244
|
"typeDescriptions": {
|
962
|
-
"typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$
|
1245
|
+
"typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$29139_$",
|
963
1246
|
"typeString": "type(ResourceId)"
|
964
1247
|
}
|
965
1248
|
},
|
966
|
-
"id":
|
1249
|
+
"id": 26676,
|
967
1250
|
"isConstant": false,
|
968
1251
|
"isLValue": false,
|
969
1252
|
"isPure": true,
|
970
1253
|
"lValueRequested": false,
|
971
|
-
"memberLocation": "
|
1254
|
+
"memberLocation": "748:4:50",
|
972
1255
|
"memberName": "wrap",
|
973
1256
|
"nodeType": "MemberAccess",
|
974
|
-
"src": "
|
1257
|
+
"src": "737:15:50",
|
975
1258
|
"typeDescriptions": {
|
976
|
-
"typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$
|
1259
|
+
"typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$29139_$",
|
977
1260
|
"typeString": "function (bytes32) pure returns (ResourceId)"
|
978
1261
|
}
|
979
1262
|
},
|
980
|
-
"id":
|
1263
|
+
"id": 26689,
|
981
1264
|
"isConstant": false,
|
982
1265
|
"isLValue": false,
|
983
1266
|
"isPure": true,
|
@@ -986,10 +1269,10 @@
|
|
986
1269
|
"nameLocations": [],
|
987
1270
|
"names": [],
|
988
1271
|
"nodeType": "FunctionCall",
|
989
|
-
"src": "
|
1272
|
+
"src": "737:101:50",
|
990
1273
|
"tryCall": false,
|
991
1274
|
"typeDescriptions": {
|
992
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1275
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
993
1276
|
"typeString": "ResourceId"
|
994
1277
|
}
|
995
1278
|
},
|
@@ -998,5 +1281,5 @@
|
|
998
1281
|
],
|
999
1282
|
"license": "MIT"
|
1000
1283
|
},
|
1001
|
-
"id":
|
1284
|
+
"id": 50
|
1002
1285
|
}
|