@latticexyz/world-modules 2.0.0-main-fa74f25e → 2.0.0-main-3086581a
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/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +220 -220
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2611 -2611
- package/out/DecodeSlice.sol/DecodeSlice.json +3155 -3155
- package/out/DelegationControl.sol/DelegationControl.json +101 -101
- package/out/EncodeArray.sol/EncodeArray.json +3250 -3250
- package/out/FieldLayout.sol/FieldLayoutInstance.json +51 -51
- package/out/FieldLayout.sol/FieldLayoutLib.json +51 -51
- package/out/Hook.sol/HookInstance.json +16 -16
- package/out/Hook.sol/HookLib.json +16 -16
- package/out/Hooks.sol/Hooks.json +96 -96
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +61 -61
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
- package/out/IBaseWorld.sol/IBaseWorld.json +70 -70
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
- package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/out/IDelegationControl.sol/IDelegationControl.json +66 -66
- package/out/IModule.sol/IModule.json +78 -78
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
- package/out/IStore.sol/IStore.json +4 -4
- package/out/IStoreData.sol/IStoreData.json +4 -4
- package/out/IStoreHook.sol/IStoreHook.json +4 -4
- package/out/IStoreRead.sol/IStoreRead.json +4 -4
- package/out/IStoreRegistration.sol/IStoreRegistration.json +4 -4
- package/out/IStoreWrite.sol/IStoreWrite.json +4 -4
- package/out/ISystemHook.sol/ISystemHook.json +90 -90
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
- package/out/IWorldErrors.sol/IWorldErrors.json +150 -150
- package/out/IWorldKernel.sol/IWorldCall.json +156 -156
- package/out/IWorldKernel.sol/IWorldKernel.json +156 -156
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
- package/out/KeysInTable.sol/KeysInTable.json +10684 -10684
- package/out/KeysInTableHook.sol/KeysInTableHook.json +879 -879
- package/out/KeysInTableModule.sol/KeysInTableModule.json +539 -539
- package/out/KeysWithValue.sol/KeysWithValue.json +3844 -3844
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1002 -1002
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +428 -428
- package/out/Memory.sol/Memory.json +8 -8
- package/out/Module.sol/Module.json +90 -90
- package/out/ResourceIds.sol/ResourceIds.json +70 -70
- package/out/Schema.sol/SchemaInstance.json +76 -76
- package/out/Schema.sol/SchemaLib.json +76 -76
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/Slice.sol/SliceInstance.json +8 -8
- package/out/Slice.sol/SliceLib.json +8 -8
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +305 -305
- package/out/Storage.sol/Storage.json +11 -11
- package/out/StoreCore.sol/StoreCore.json +59 -59
- package/out/StoreCore.sol/StoreCoreInternal.json +59 -59
- package/out/StoreHook.sol/StoreHook.json +362 -362
- package/out/StoreHooks.sol/StoreHooks.json +97 -97
- package/out/StoreSwitch.sol/StoreSwitch.json +16 -16
- package/out/System.sol/System.json +35 -35
- package/out/Tables.sol/Tables.json +98 -98
- package/out/TightCoder.sol/TightCoder.json +128 -128
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +124 -124
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +2002 -2002
- package/out/UniqueEntity.sol/UniqueEntity.json +1418 -1418
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +329 -329
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +98 -98
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2738 -2738
- package/out/WorldContext.sol/WorldContextConsumer.json +379 -379
- package/out/WorldContext.sol/WorldContextProvider.json +379 -379
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
- package/out/constants.sol/LayoutOffsets.json +164 -140
- package/out/constants.sol/constants.json +115 -115
- package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
- package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
- package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
- package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
- package/out/hasKey.sol/hasKey.json +130 -130
- package/out/index.sol/index.json +53 -53
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +139 -139
- package/out/leftMask.sol/leftMask.json +61 -61
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1332 -1332
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +701 -701
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +701 -701
- package/out/src/IStore.sol/IStore.json +57 -57
- package/out/src/IWorldKernel.sol/IWorldCall.json +157 -157
- package/out/src/IWorldKernel.sol/IWorldKernel.json +157 -157
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +157 -157
- package/out/src/Memory.sol/Memory.json +93 -93
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
- package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
- package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
- package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
- package/out/src/Schema.sol/SchemaInstance.json +791 -791
- package/out/src/Schema.sol/SchemaLib.json +791 -791
- package/out/src/Slice.sol/SliceInstance.json +433 -433
- package/out/src/Slice.sol/SliceLib.json +433 -433
- package/out/src/StoreCore.sol/StoreCore.json +4471 -4471
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4471 -4471
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2470 -2470
- package/out/src/WorldContext.sol/WorldContextConsumer.json +379 -379
- package/out/src/WorldContext.sol/WorldContextProvider.json +379 -379
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
- package/out/storeHookTypes.sol/storeHookTypes.json +202 -202
- package/out/storeResourceTypes.sol/storeResourceTypes.json +21 -21
- package/out/tables/ResourceIds.sol/ResourceIds.json +1762 -1762
- package/out/tables/Tables.sol/Tables.json +7304 -7304
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3250 -3250
- package/out/types.sol/types.json +39 -39
- package/out/version.sol/version.json +12 -12
- package/out/world/src/IERC165.sol/IERC165.json +28 -28
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
package/out/types.sol/types.json
CHANGED
@@ -10,23 +10,23 @@
|
|
10
10
|
},
|
11
11
|
"ast": {
|
12
12
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/modules/core/types.sol",
|
13
|
-
"id":
|
13
|
+
"id": 24051,
|
14
14
|
"exportedSymbols": {
|
15
15
|
"ResourceId": [
|
16
|
-
|
16
|
+
26262
|
17
17
|
],
|
18
18
|
"SystemCallData": [
|
19
|
-
|
19
|
+
24042
|
20
20
|
],
|
21
21
|
"SystemCallFromData": [
|
22
|
-
|
22
|
+
24050
|
23
23
|
]
|
24
24
|
},
|
25
25
|
"nodeType": "SourceUnit",
|
26
26
|
"src": "32:250:49",
|
27
27
|
"nodes": [
|
28
28
|
{
|
29
|
-
"id":
|
29
|
+
"id": 24034,
|
30
30
|
"nodeType": "PragmaDirective",
|
31
31
|
"src": "32:25:49",
|
32
32
|
"nodes": [],
|
@@ -38,23 +38,23 @@
|
|
38
38
|
]
|
39
39
|
},
|
40
40
|
{
|
41
|
-
"id":
|
41
|
+
"id": 24036,
|
42
42
|
"nodeType": "ImportDirective",
|
43
43
|
"src": "59:66:49",
|
44
44
|
"nodes": [],
|
45
45
|
"absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
|
46
46
|
"file": "@latticexyz/store/src/ResourceId.sol",
|
47
47
|
"nameLocation": "-1:-1:-1",
|
48
|
-
"scope":
|
49
|
-
"sourceUnit":
|
48
|
+
"scope": 24051,
|
49
|
+
"sourceUnit": 26327,
|
50
50
|
"symbolAliases": [
|
51
51
|
{
|
52
52
|
"foreign": {
|
53
|
-
"id":
|
53
|
+
"id": 24035,
|
54
54
|
"name": "ResourceId",
|
55
55
|
"nodeType": "Identifier",
|
56
56
|
"overloadedDeclarations": [],
|
57
|
-
"referencedDeclaration":
|
57
|
+
"referencedDeclaration": 26262,
|
58
58
|
"src": "68:10:49",
|
59
59
|
"typeDescriptions": {}
|
60
60
|
},
|
@@ -64,7 +64,7 @@
|
|
64
64
|
"unitAlias": ""
|
65
65
|
},
|
66
66
|
{
|
67
|
-
"id":
|
67
|
+
"id": 24042,
|
68
68
|
"nodeType": "StructDefinition",
|
69
69
|
"src": "127:66:49",
|
70
70
|
"nodes": [],
|
@@ -72,36 +72,36 @@
|
|
72
72
|
"members": [
|
73
73
|
{
|
74
74
|
"constant": false,
|
75
|
-
"id":
|
75
|
+
"id": 24039,
|
76
76
|
"mutability": "mutable",
|
77
77
|
"name": "systemId",
|
78
78
|
"nameLocation": "164:8:49",
|
79
79
|
"nodeType": "VariableDeclaration",
|
80
|
-
"scope":
|
80
|
+
"scope": 24042,
|
81
81
|
"src": "153:19:49",
|
82
82
|
"stateVariable": false,
|
83
83
|
"storageLocation": "default",
|
84
84
|
"typeDescriptions": {
|
85
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
85
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
|
86
86
|
"typeString": "ResourceId"
|
87
87
|
},
|
88
88
|
"typeName": {
|
89
|
-
"id":
|
89
|
+
"id": 24038,
|
90
90
|
"nodeType": "UserDefinedTypeName",
|
91
91
|
"pathNode": {
|
92
|
-
"id":
|
92
|
+
"id": 24037,
|
93
93
|
"name": "ResourceId",
|
94
94
|
"nameLocations": [
|
95
95
|
"153:10:49"
|
96
96
|
],
|
97
97
|
"nodeType": "IdentifierPath",
|
98
|
-
"referencedDeclaration":
|
98
|
+
"referencedDeclaration": 26262,
|
99
99
|
"src": "153:10:49"
|
100
100
|
},
|
101
|
-
"referencedDeclaration":
|
101
|
+
"referencedDeclaration": 26262,
|
102
102
|
"src": "153:10:49",
|
103
103
|
"typeDescriptions": {
|
104
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
104
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
|
105
105
|
"typeString": "ResourceId"
|
106
106
|
}
|
107
107
|
},
|
@@ -109,12 +109,12 @@
|
|
109
109
|
},
|
110
110
|
{
|
111
111
|
"constant": false,
|
112
|
-
"id":
|
112
|
+
"id": 24041,
|
113
113
|
"mutability": "mutable",
|
114
114
|
"name": "callData",
|
115
115
|
"nameLocation": "182:8:49",
|
116
116
|
"nodeType": "VariableDeclaration",
|
117
|
-
"scope":
|
117
|
+
"scope": 24042,
|
118
118
|
"src": "176:14:49",
|
119
119
|
"stateVariable": false,
|
120
120
|
"storageLocation": "default",
|
@@ -123,7 +123,7 @@
|
|
123
123
|
"typeString": "bytes"
|
124
124
|
},
|
125
125
|
"typeName": {
|
126
|
-
"id":
|
126
|
+
"id": 24040,
|
127
127
|
"name": "bytes",
|
128
128
|
"nodeType": "ElementaryTypeName",
|
129
129
|
"src": "176:5:49",
|
@@ -137,11 +137,11 @@
|
|
137
137
|
],
|
138
138
|
"name": "SystemCallData",
|
139
139
|
"nameLocation": "134:14:49",
|
140
|
-
"scope":
|
140
|
+
"scope": 24051,
|
141
141
|
"visibility": "public"
|
142
142
|
},
|
143
143
|
{
|
144
|
-
"id":
|
144
|
+
"id": 24050,
|
145
145
|
"nodeType": "StructDefinition",
|
146
146
|
"src": "195:86:49",
|
147
147
|
"nodes": [],
|
@@ -149,12 +149,12 @@
|
|
149
149
|
"members": [
|
150
150
|
{
|
151
151
|
"constant": false,
|
152
|
-
"id":
|
152
|
+
"id": 24044,
|
153
153
|
"mutability": "mutable",
|
154
154
|
"name": "from",
|
155
155
|
"nameLocation": "233:4:49",
|
156
156
|
"nodeType": "VariableDeclaration",
|
157
|
-
"scope":
|
157
|
+
"scope": 24050,
|
158
158
|
"src": "225:12:49",
|
159
159
|
"stateVariable": false,
|
160
160
|
"storageLocation": "default",
|
@@ -163,7 +163,7 @@
|
|
163
163
|
"typeString": "address"
|
164
164
|
},
|
165
165
|
"typeName": {
|
166
|
-
"id":
|
166
|
+
"id": 24043,
|
167
167
|
"name": "address",
|
168
168
|
"nodeType": "ElementaryTypeName",
|
169
169
|
"src": "225:7:49",
|
@@ -177,36 +177,36 @@
|
|
177
177
|
},
|
178
178
|
{
|
179
179
|
"constant": false,
|
180
|
-
"id":
|
180
|
+
"id": 24047,
|
181
181
|
"mutability": "mutable",
|
182
182
|
"name": "systemId",
|
183
183
|
"nameLocation": "252:8:49",
|
184
184
|
"nodeType": "VariableDeclaration",
|
185
|
-
"scope":
|
185
|
+
"scope": 24050,
|
186
186
|
"src": "241:19:49",
|
187
187
|
"stateVariable": false,
|
188
188
|
"storageLocation": "default",
|
189
189
|
"typeDescriptions": {
|
190
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
190
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
|
191
191
|
"typeString": "ResourceId"
|
192
192
|
},
|
193
193
|
"typeName": {
|
194
|
-
"id":
|
194
|
+
"id": 24046,
|
195
195
|
"nodeType": "UserDefinedTypeName",
|
196
196
|
"pathNode": {
|
197
|
-
"id":
|
197
|
+
"id": 24045,
|
198
198
|
"name": "ResourceId",
|
199
199
|
"nameLocations": [
|
200
200
|
"241:10:49"
|
201
201
|
],
|
202
202
|
"nodeType": "IdentifierPath",
|
203
|
-
"referencedDeclaration":
|
203
|
+
"referencedDeclaration": 26262,
|
204
204
|
"src": "241:10:49"
|
205
205
|
},
|
206
|
-
"referencedDeclaration":
|
206
|
+
"referencedDeclaration": 26262,
|
207
207
|
"src": "241:10:49",
|
208
208
|
"typeDescriptions": {
|
209
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
209
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
|
210
210
|
"typeString": "ResourceId"
|
211
211
|
}
|
212
212
|
},
|
@@ -214,12 +214,12 @@
|
|
214
214
|
},
|
215
215
|
{
|
216
216
|
"constant": false,
|
217
|
-
"id":
|
217
|
+
"id": 24049,
|
218
218
|
"mutability": "mutable",
|
219
219
|
"name": "callData",
|
220
220
|
"nameLocation": "270:8:49",
|
221
221
|
"nodeType": "VariableDeclaration",
|
222
|
-
"scope":
|
222
|
+
"scope": 24050,
|
223
223
|
"src": "264:14:49",
|
224
224
|
"stateVariable": false,
|
225
225
|
"storageLocation": "default",
|
@@ -228,7 +228,7 @@
|
|
228
228
|
"typeString": "bytes"
|
229
229
|
},
|
230
230
|
"typeName": {
|
231
|
-
"id":
|
231
|
+
"id": 24048,
|
232
232
|
"name": "bytes",
|
233
233
|
"nodeType": "ElementaryTypeName",
|
234
234
|
"src": "264:5:49",
|
@@ -242,7 +242,7 @@
|
|
242
242
|
],
|
243
243
|
"name": "SystemCallFromData",
|
244
244
|
"nameLocation": "202:18:49",
|
245
|
-
"scope":
|
245
|
+
"scope": 24051,
|
246
246
|
"visibility": "public"
|
247
247
|
}
|
248
248
|
],
|
@@ -10,17 +10,17 @@
|
|
10
10
|
},
|
11
11
|
"ast": {
|
12
12
|
"absolutePath": "/home/runner/work/mud/mud/packages/store/src/version.sol",
|
13
|
-
"id":
|
13
|
+
"id": 22913,
|
14
14
|
"exportedSymbols": {
|
15
15
|
"STORE_VERSION": [
|
16
|
-
|
16
|
+
22912
|
17
17
|
]
|
18
18
|
},
|
19
19
|
"nodeType": "SourceUnit",
|
20
|
-
"src": "32:
|
20
|
+
"src": "32:236:32",
|
21
21
|
"nodes": [
|
22
22
|
{
|
23
|
-
"id":
|
23
|
+
"id": 22908,
|
24
24
|
"nodeType": "PragmaDirective",
|
25
25
|
"src": "32:25:32",
|
26
26
|
"nodes": [],
|
@@ -32,15 +32,15 @@
|
|
32
32
|
]
|
33
33
|
},
|
34
34
|
{
|
35
|
-
"id":
|
35
|
+
"id": 22912,
|
36
36
|
"nodeType": "VariableDeclaration",
|
37
|
-
"src": "
|
37
|
+
"src": "216:50:32",
|
38
38
|
"nodes": [],
|
39
39
|
"constant": true,
|
40
40
|
"mutability": "constant",
|
41
41
|
"name": "STORE_VERSION",
|
42
|
-
"nameLocation": "
|
43
|
-
"scope":
|
42
|
+
"nameLocation": "233:13:32",
|
43
|
+
"scope": 22913,
|
44
44
|
"stateVariable": false,
|
45
45
|
"storageLocation": "default",
|
46
46
|
"typeDescriptions": {
|
@@ -48,10 +48,10 @@
|
|
48
48
|
"typeString": "bytes32"
|
49
49
|
},
|
50
50
|
"typeName": {
|
51
|
-
"id":
|
51
|
+
"id": 22910,
|
52
52
|
"name": "bytes32",
|
53
53
|
"nodeType": "ElementaryTypeName",
|
54
|
-
"src": "
|
54
|
+
"src": "216:7:32",
|
55
55
|
"typeDescriptions": {
|
56
56
|
"typeIdentifier": "t_bytes32",
|
57
57
|
"typeString": "bytes32"
|
@@ -59,14 +59,14 @@
|
|
59
59
|
},
|
60
60
|
"value": {
|
61
61
|
"hexValue": "312e302e302d756e61756469746564",
|
62
|
-
"id":
|
62
|
+
"id": 22911,
|
63
63
|
"isConstant": false,
|
64
64
|
"isLValue": false,
|
65
65
|
"isPure": true,
|
66
66
|
"kind": "string",
|
67
67
|
"lValueRequested": false,
|
68
68
|
"nodeType": "Literal",
|
69
|
-
"src": "
|
69
|
+
"src": "249:17:32",
|
70
70
|
"typeDescriptions": {
|
71
71
|
"typeIdentifier": "t_stringliteral_b50c667dffae364f541802db30f2fd378df53c30d38e7fd752c2d158635d2943",
|
72
72
|
"typeString": "literal_string \"1.0.0-unaudited\""
|
@@ -118,20 +118,20 @@
|
|
118
118
|
},
|
119
119
|
"ast": {
|
120
120
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IERC165.sol",
|
121
|
-
"id":
|
121
|
+
"id": 22962,
|
122
122
|
"exportedSymbols": {
|
123
123
|
"ERC165_INTERFACE_ID": [
|
124
|
-
|
124
|
+
22951
|
125
125
|
],
|
126
126
|
"IERC165": [
|
127
|
-
|
127
|
+
22961
|
128
128
|
]
|
129
129
|
},
|
130
130
|
"nodeType": "SourceUnit",
|
131
131
|
"src": "32:881:34",
|
132
132
|
"nodes": [
|
133
133
|
{
|
134
|
-
"id":
|
134
|
+
"id": 22945,
|
135
135
|
"nodeType": "PragmaDirective",
|
136
136
|
"src": "32:25:34",
|
137
137
|
"nodes": [],
|
@@ -143,7 +143,7 @@
|
|
143
143
|
]
|
144
144
|
},
|
145
145
|
{
|
146
|
-
"id":
|
146
|
+
"id": 22951,
|
147
147
|
"nodeType": "VariableDeclaration",
|
148
148
|
"src": "150:72:34",
|
149
149
|
"nodes": [],
|
@@ -151,7 +151,7 @@
|
|
151
151
|
"mutability": "constant",
|
152
152
|
"name": "ERC165_INTERFACE_ID",
|
153
153
|
"nameLocation": "166:19:34",
|
154
|
-
"scope":
|
154
|
+
"scope": 22962,
|
155
155
|
"stateVariable": false,
|
156
156
|
"storageLocation": "default",
|
157
157
|
"typeDescriptions": {
|
@@ -159,7 +159,7 @@
|
|
159
159
|
"typeString": "bytes4"
|
160
160
|
},
|
161
161
|
"typeName": {
|
162
|
-
"id":
|
162
|
+
"id": 22947,
|
163
163
|
"name": "bytes4",
|
164
164
|
"nodeType": "ElementaryTypeName",
|
165
165
|
"src": "150:6:34",
|
@@ -171,18 +171,18 @@
|
|
171
171
|
"value": {
|
172
172
|
"expression": {
|
173
173
|
"expression": {
|
174
|
-
"id":
|
174
|
+
"id": 22948,
|
175
175
|
"name": "IERC165",
|
176
176
|
"nodeType": "Identifier",
|
177
177
|
"overloadedDeclarations": [],
|
178
|
-
"referencedDeclaration":
|
178
|
+
"referencedDeclaration": 22961,
|
179
179
|
"src": "188:7:34",
|
180
180
|
"typeDescriptions": {
|
181
|
-
"typeIdentifier": "t_type$_t_contract$_IERC165_$
|
181
|
+
"typeIdentifier": "t_type$_t_contract$_IERC165_$22961_$",
|
182
182
|
"typeString": "type(contract IERC165)"
|
183
183
|
}
|
184
184
|
},
|
185
|
-
"id":
|
185
|
+
"id": 22949,
|
186
186
|
"isConstant": false,
|
187
187
|
"isLValue": false,
|
188
188
|
"isPure": true,
|
@@ -190,14 +190,14 @@
|
|
190
190
|
"memberLocation": "196:17:34",
|
191
191
|
"memberName": "supportsInterface",
|
192
192
|
"nodeType": "MemberAccess",
|
193
|
-
"referencedDeclaration":
|
193
|
+
"referencedDeclaration": 22960,
|
194
194
|
"src": "188:25:34",
|
195
195
|
"typeDescriptions": {
|
196
196
|
"typeIdentifier": "t_function_declaration_view$_t_bytes4_$returns$_t_bool_$",
|
197
197
|
"typeString": "function IERC165.supportsInterface(bytes4) view returns (bool)"
|
198
198
|
}
|
199
199
|
},
|
200
|
-
"id":
|
200
|
+
"id": 22950,
|
201
201
|
"isConstant": false,
|
202
202
|
"isLValue": false,
|
203
203
|
"isPure": true,
|
@@ -214,17 +214,17 @@
|
|
214
214
|
"visibility": "internal"
|
215
215
|
},
|
216
216
|
{
|
217
|
-
"id":
|
217
|
+
"id": 22961,
|
218
218
|
"nodeType": "ContractDefinition",
|
219
219
|
"src": "443:469:34",
|
220
220
|
"nodes": [
|
221
221
|
{
|
222
|
-
"id":
|
222
|
+
"id": 22960,
|
223
223
|
"nodeType": "FunctionDefinition",
|
224
224
|
"src": "834:76:34",
|
225
225
|
"nodes": [],
|
226
226
|
"documentation": {
|
227
|
-
"id":
|
227
|
+
"id": 22953,
|
228
228
|
"nodeType": "StructuredDocumentation",
|
229
229
|
"src": "465:366:34",
|
230
230
|
"text": " @notice Query if a contract implements an interface.\n @dev Interface identification is specified in ERC-165.\n This function uses less than 30,000 gas.\n @param interfaceID The interface identifier, as specified in ERC-165.\n @return True if the contract implements `interfaceID` and\n `interfaceID` is not 0xffffffff, false otherwise."
|
@@ -236,17 +236,17 @@
|
|
236
236
|
"name": "supportsInterface",
|
237
237
|
"nameLocation": "843:17:34",
|
238
238
|
"parameters": {
|
239
|
-
"id":
|
239
|
+
"id": 22956,
|
240
240
|
"nodeType": "ParameterList",
|
241
241
|
"parameters": [
|
242
242
|
{
|
243
243
|
"constant": false,
|
244
|
-
"id":
|
244
|
+
"id": 22955,
|
245
245
|
"mutability": "mutable",
|
246
246
|
"name": "interfaceID",
|
247
247
|
"nameLocation": "868:11:34",
|
248
248
|
"nodeType": "VariableDeclaration",
|
249
|
-
"scope":
|
249
|
+
"scope": 22960,
|
250
250
|
"src": "861:18:34",
|
251
251
|
"stateVariable": false,
|
252
252
|
"storageLocation": "default",
|
@@ -255,7 +255,7 @@
|
|
255
255
|
"typeString": "bytes4"
|
256
256
|
},
|
257
257
|
"typeName": {
|
258
|
-
"id":
|
258
|
+
"id": 22954,
|
259
259
|
"name": "bytes4",
|
260
260
|
"nodeType": "ElementaryTypeName",
|
261
261
|
"src": "861:6:34",
|
@@ -270,17 +270,17 @@
|
|
270
270
|
"src": "860:20:34"
|
271
271
|
},
|
272
272
|
"returnParameters": {
|
273
|
-
"id":
|
273
|
+
"id": 22959,
|
274
274
|
"nodeType": "ParameterList",
|
275
275
|
"parameters": [
|
276
276
|
{
|
277
277
|
"constant": false,
|
278
|
-
"id":
|
278
|
+
"id": 22958,
|
279
279
|
"mutability": "mutable",
|
280
280
|
"name": "",
|
281
281
|
"nameLocation": "-1:-1:-1",
|
282
282
|
"nodeType": "VariableDeclaration",
|
283
|
-
"scope":
|
283
|
+
"scope": 22960,
|
284
284
|
"src": "904:4:34",
|
285
285
|
"stateVariable": false,
|
286
286
|
"storageLocation": "default",
|
@@ -289,7 +289,7 @@
|
|
289
289
|
"typeString": "bool"
|
290
290
|
},
|
291
291
|
"typeName": {
|
292
|
-
"id":
|
292
|
+
"id": 22957,
|
293
293
|
"name": "bool",
|
294
294
|
"nodeType": "ElementaryTypeName",
|
295
295
|
"src": "904:4:34",
|
@@ -303,7 +303,7 @@
|
|
303
303
|
],
|
304
304
|
"src": "903:6:34"
|
305
305
|
},
|
306
|
-
"scope":
|
306
|
+
"scope": 22961,
|
307
307
|
"stateMutability": "view",
|
308
308
|
"virtual": false,
|
309
309
|
"visibility": "external"
|
@@ -315,18 +315,18 @@
|
|
315
315
|
"contractDependencies": [],
|
316
316
|
"contractKind": "interface",
|
317
317
|
"documentation": {
|
318
|
-
"id":
|
318
|
+
"id": 22952,
|
319
319
|
"nodeType": "StructuredDocumentation",
|
320
320
|
"src": "225:217:34",
|
321
321
|
"text": " @title IERC165\n @dev Interface for the ERC-165 standard as described in the EIP-165.\n Allows for contracts to be checked for their support of an interface.\n See: https://eips.ethereum.org/EIPS/eip-165"
|
322
322
|
},
|
323
323
|
"fullyImplemented": false,
|
324
324
|
"linearizedBaseContracts": [
|
325
|
-
|
325
|
+
22961
|
326
326
|
],
|
327
327
|
"name": "IERC165",
|
328
328
|
"nameLocation": "453:7:34",
|
329
|
-
"scope":
|
329
|
+
"scope": 22962,
|
330
330
|
"usedErrors": [],
|
331
331
|
"usedEvents": []
|
332
332
|
}
|