@latticexyz/world-modules 2.0.0-main-5d19b125 → 2.0.0-main-fd10cff6
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 +228 -215
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +157 -131
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +57 -57
- 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 +105 -99
- package/out/IModule.sol/IModule.json +181 -151
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +34 -34
- package/out/ISystemHook.sol/ISystemHook.json +91 -91
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +75 -75
- package/out/IWorldErrors.sol/IWorldErrors.json +134 -134
- package/out/IWorldKernel.sol/IWorldCall.json +155 -155
- package/out/IWorldKernel.sol/IWorldKernel.json +155 -155
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +155 -155
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +186 -186
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
- package/out/KeysInTableModule.sol/KeysInTableModule.json +562 -537
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +992 -992
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +451 -426
- package/out/Module.sol/Module.json +162 -119
- 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 +276 -276
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +327 -308
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +23 -23
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +132 -119
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +345 -326
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +86 -86
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
- package/out/WorldContext.sol/WorldContextConsumer.json +357 -357
- package/out/WorldContext.sol/WorldContextProvider.json +357 -357
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
- 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 +130 -130
- 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 +697 -697
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
- package/out/src/IStore.sol/IStore.json +53 -53
- package/out/src/IWorldKernel.sol/IWorldCall.json +156 -156
- package/out/src/IWorldKernel.sol/IWorldKernel.json +156 -156
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
- package/out/src/Memory.sol/Memory.json +89 -89
- 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 +787 -787
- package/out/src/Schema.sol/SchemaLib.json +787 -787
- package/out/src/Slice.sol/SliceInstance.json +429 -429
- package/out/src/Slice.sol/SliceLib.json +429 -429
- package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
- package/out/src/WorldContext.sol/WorldContextConsumer.json +357 -357
- package/out/src/WorldContext.sol/WorldContextProvider.json +357 -357
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
- package/out/tables/Tables.sol/Tables.json +7288 -7288
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
- package/out/types.sol/types.json +39 -39
- package/out/world/src/IERC165.sol/IERC165.json +63 -57
- 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": 23988,
|
14
14
|
"exportedSymbols": {
|
15
15
|
"ResourceId": [
|
16
|
-
|
16
|
+
26198
|
17
17
|
],
|
18
18
|
"SystemCallData": [
|
19
|
-
|
19
|
+
23979
|
20
20
|
],
|
21
21
|
"SystemCallFromData": [
|
22
|
-
|
22
|
+
23987
|
23
23
|
]
|
24
24
|
},
|
25
25
|
"nodeType": "SourceUnit",
|
26
26
|
"src": "32:250:49",
|
27
27
|
"nodes": [
|
28
28
|
{
|
29
|
-
"id":
|
29
|
+
"id": 23971,
|
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": 23973,
|
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": 23988,
|
49
|
+
"sourceUnit": 26263,
|
50
50
|
"symbolAliases": [
|
51
51
|
{
|
52
52
|
"foreign": {
|
53
|
-
"id":
|
53
|
+
"id": 23972,
|
54
54
|
"name": "ResourceId",
|
55
55
|
"nodeType": "Identifier",
|
56
56
|
"overloadedDeclarations": [],
|
57
|
-
"referencedDeclaration":
|
57
|
+
"referencedDeclaration": 26198,
|
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": 23979,
|
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": 23976,
|
76
76
|
"mutability": "mutable",
|
77
77
|
"name": "systemId",
|
78
78
|
"nameLocation": "164:8:49",
|
79
79
|
"nodeType": "VariableDeclaration",
|
80
|
-
"scope":
|
80
|
+
"scope": 23979,
|
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_$26198",
|
86
86
|
"typeString": "ResourceId"
|
87
87
|
},
|
88
88
|
"typeName": {
|
89
|
-
"id":
|
89
|
+
"id": 23975,
|
90
90
|
"nodeType": "UserDefinedTypeName",
|
91
91
|
"pathNode": {
|
92
|
-
"id":
|
92
|
+
"id": 23974,
|
93
93
|
"name": "ResourceId",
|
94
94
|
"nameLocations": [
|
95
95
|
"153:10:49"
|
96
96
|
],
|
97
97
|
"nodeType": "IdentifierPath",
|
98
|
-
"referencedDeclaration":
|
98
|
+
"referencedDeclaration": 26198,
|
99
99
|
"src": "153:10:49"
|
100
100
|
},
|
101
|
-
"referencedDeclaration":
|
101
|
+
"referencedDeclaration": 26198,
|
102
102
|
"src": "153:10:49",
|
103
103
|
"typeDescriptions": {
|
104
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
104
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
105
105
|
"typeString": "ResourceId"
|
106
106
|
}
|
107
107
|
},
|
@@ -109,12 +109,12 @@
|
|
109
109
|
},
|
110
110
|
{
|
111
111
|
"constant": false,
|
112
|
-
"id":
|
112
|
+
"id": 23978,
|
113
113
|
"mutability": "mutable",
|
114
114
|
"name": "callData",
|
115
115
|
"nameLocation": "182:8:49",
|
116
116
|
"nodeType": "VariableDeclaration",
|
117
|
-
"scope":
|
117
|
+
"scope": 23979,
|
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": 23977,
|
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": 23988,
|
141
141
|
"visibility": "public"
|
142
142
|
},
|
143
143
|
{
|
144
|
-
"id":
|
144
|
+
"id": 23987,
|
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": 23981,
|
153
153
|
"mutability": "mutable",
|
154
154
|
"name": "from",
|
155
155
|
"nameLocation": "233:4:49",
|
156
156
|
"nodeType": "VariableDeclaration",
|
157
|
-
"scope":
|
157
|
+
"scope": 23987,
|
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": 23980,
|
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": 23984,
|
181
181
|
"mutability": "mutable",
|
182
182
|
"name": "systemId",
|
183
183
|
"nameLocation": "252:8:49",
|
184
184
|
"nodeType": "VariableDeclaration",
|
185
|
-
"scope":
|
185
|
+
"scope": 23987,
|
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_$26198",
|
191
191
|
"typeString": "ResourceId"
|
192
192
|
},
|
193
193
|
"typeName": {
|
194
|
-
"id":
|
194
|
+
"id": 23983,
|
195
195
|
"nodeType": "UserDefinedTypeName",
|
196
196
|
"pathNode": {
|
197
|
-
"id":
|
197
|
+
"id": 23982,
|
198
198
|
"name": "ResourceId",
|
199
199
|
"nameLocations": [
|
200
200
|
"241:10:49"
|
201
201
|
],
|
202
202
|
"nodeType": "IdentifierPath",
|
203
|
-
"referencedDeclaration":
|
203
|
+
"referencedDeclaration": 26198,
|
204
204
|
"src": "241:10:49"
|
205
205
|
},
|
206
|
-
"referencedDeclaration":
|
206
|
+
"referencedDeclaration": 26198,
|
207
207
|
"src": "241:10:49",
|
208
208
|
"typeDescriptions": {
|
209
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
209
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
210
210
|
"typeString": "ResourceId"
|
211
211
|
}
|
212
212
|
},
|
@@ -214,12 +214,12 @@
|
|
214
214
|
},
|
215
215
|
{
|
216
216
|
"constant": false,
|
217
|
-
"id":
|
217
|
+
"id": 23986,
|
218
218
|
"mutability": "mutable",
|
219
219
|
"name": "callData",
|
220
220
|
"nameLocation": "270:8:49",
|
221
221
|
"nodeType": "VariableDeclaration",
|
222
|
-
"scope":
|
222
|
+
"scope": 23987,
|
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": 23985,
|
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": 23988,
|
246
246
|
"visibility": "public"
|
247
247
|
}
|
248
248
|
],
|
@@ -33,7 +33,7 @@
|
|
33
33
|
"methodIdentifiers": {
|
34
34
|
"supportsInterface(bytes4)": "01ffc9a7"
|
35
35
|
},
|
36
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Interface identification is specified in ERC-165. This function
|
36
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface for the ERC-165 standard as described in the EIP-165. Allows for contracts to be checked for their support of an interface. See: https://eips.ethereum.org/EIPS/eip-165\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Interface identification is specified in ERC-165. This function uses less than 30,000 gas.\",\"params\":{\"interfaceID\":\"The interface identifier, as specified in ERC-165.\"},\"returns\":{\"_0\":\"True if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, false otherwise.\"}}},\"title\":\"IERC165\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"supportsInterface(bytes4)\":{\"notice\":\"Query if a contract implements an interface.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"/home/runner/work/mud/mud/packages/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]}},\"version\":1}",
|
37
37
|
"metadata": {
|
38
38
|
"compiler": {
|
39
39
|
"version": "0.8.21+commit.d9974bed"
|
@@ -65,12 +65,12 @@
|
|
65
65
|
"kind": "dev",
|
66
66
|
"methods": {
|
67
67
|
"supportsInterface(bytes4)": {
|
68
|
-
"details": "Interface identification is specified in ERC-165. This function
|
68
|
+
"details": "Interface identification is specified in ERC-165. This function uses less than 30,000 gas.",
|
69
69
|
"params": {
|
70
|
-
"interfaceID": "The interface identifier, as specified in ERC-165"
|
70
|
+
"interfaceID": "The interface identifier, as specified in ERC-165."
|
71
71
|
},
|
72
72
|
"returns": {
|
73
|
-
"_0": "
|
73
|
+
"_0": "True if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, false otherwise."
|
74
74
|
}
|
75
75
|
}
|
76
76
|
},
|
@@ -80,7 +80,7 @@
|
|
80
80
|
"kind": "user",
|
81
81
|
"methods": {
|
82
82
|
"supportsInterface(bytes4)": {
|
83
|
-
"notice": "Query if a contract implements an interface"
|
83
|
+
"notice": "Query if a contract implements an interface."
|
84
84
|
}
|
85
85
|
},
|
86
86
|
"version": 1
|
@@ -106,10 +106,10 @@
|
|
106
106
|
},
|
107
107
|
"sources": {
|
108
108
|
"/home/runner/work/mud/mud/packages/world/src/IERC165.sol": {
|
109
|
-
"keccak256": "
|
109
|
+
"keccak256": "0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47",
|
110
110
|
"urls": [
|
111
|
-
"bzz-raw://
|
112
|
-
"dweb:/ipfs/
|
111
|
+
"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5",
|
112
|
+
"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y"
|
113
113
|
],
|
114
114
|
"license": "MIT"
|
115
115
|
}
|
@@ -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": 22938,
|
122
122
|
"exportedSymbols": {
|
123
123
|
"ERC165_INTERFACE_ID": [
|
124
|
-
|
124
|
+
22927
|
125
125
|
],
|
126
126
|
"IERC165": [
|
127
|
-
|
127
|
+
22937
|
128
128
|
]
|
129
129
|
},
|
130
130
|
"nodeType": "SourceUnit",
|
131
|
-
"src": "32:
|
131
|
+
"src": "32:881:34",
|
132
132
|
"nodes": [
|
133
133
|
{
|
134
|
-
"id":
|
134
|
+
"id": 22921,
|
135
135
|
"nodeType": "PragmaDirective",
|
136
136
|
"src": "32:25:34",
|
137
137
|
"nodes": [],
|
@@ -143,15 +143,15 @@
|
|
143
143
|
]
|
144
144
|
},
|
145
145
|
{
|
146
|
-
"id":
|
146
|
+
"id": 22927,
|
147
147
|
"nodeType": "VariableDeclaration",
|
148
|
-
"src": "
|
148
|
+
"src": "150:72:34",
|
149
149
|
"nodes": [],
|
150
150
|
"constant": true,
|
151
151
|
"mutability": "constant",
|
152
152
|
"name": "ERC165_INTERFACE_ID",
|
153
|
-
"nameLocation": "
|
154
|
-
"scope":
|
153
|
+
"nameLocation": "166:19:34",
|
154
|
+
"scope": 22938,
|
155
155
|
"stateVariable": false,
|
156
156
|
"storageLocation": "default",
|
157
157
|
"typeDescriptions": {
|
@@ -159,10 +159,10 @@
|
|
159
159
|
"typeString": "bytes4"
|
160
160
|
},
|
161
161
|
"typeName": {
|
162
|
-
"id":
|
162
|
+
"id": 22923,
|
163
163
|
"name": "bytes4",
|
164
164
|
"nodeType": "ElementaryTypeName",
|
165
|
-
"src": "
|
165
|
+
"src": "150:6:34",
|
166
166
|
"typeDescriptions": {
|
167
167
|
"typeIdentifier": "t_bytes4",
|
168
168
|
"typeString": "bytes4"
|
@@ -171,41 +171,41 @@
|
|
171
171
|
"value": {
|
172
172
|
"expression": {
|
173
173
|
"expression": {
|
174
|
-
"id":
|
174
|
+
"id": 22924,
|
175
175
|
"name": "IERC165",
|
176
176
|
"nodeType": "Identifier",
|
177
177
|
"overloadedDeclarations": [],
|
178
|
-
"referencedDeclaration":
|
179
|
-
"src": "
|
178
|
+
"referencedDeclaration": 22937,
|
179
|
+
"src": "188:7:34",
|
180
180
|
"typeDescriptions": {
|
181
|
-
"typeIdentifier": "t_type$_t_contract$_IERC165_$
|
181
|
+
"typeIdentifier": "t_type$_t_contract$_IERC165_$22937_$",
|
182
182
|
"typeString": "type(contract IERC165)"
|
183
183
|
}
|
184
184
|
},
|
185
|
-
"id":
|
185
|
+
"id": 22925,
|
186
186
|
"isConstant": false,
|
187
187
|
"isLValue": false,
|
188
188
|
"isPure": true,
|
189
189
|
"lValueRequested": false,
|
190
|
-
"memberLocation": "
|
190
|
+
"memberLocation": "196:17:34",
|
191
191
|
"memberName": "supportsInterface",
|
192
192
|
"nodeType": "MemberAccess",
|
193
|
-
"referencedDeclaration":
|
194
|
-
"src": "
|
193
|
+
"referencedDeclaration": 22936,
|
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": 22926,
|
201
201
|
"isConstant": false,
|
202
202
|
"isLValue": false,
|
203
203
|
"isPure": true,
|
204
204
|
"lValueRequested": false,
|
205
|
-
"memberLocation": "
|
205
|
+
"memberLocation": "214:8:34",
|
206
206
|
"memberName": "selector",
|
207
207
|
"nodeType": "MemberAccess",
|
208
|
-
"src": "
|
208
|
+
"src": "188:34:34",
|
209
209
|
"typeDescriptions": {
|
210
210
|
"typeIdentifier": "t_bytes4",
|
211
211
|
"typeString": "bytes4"
|
@@ -214,40 +214,40 @@
|
|
214
214
|
"visibility": "internal"
|
215
215
|
},
|
216
216
|
{
|
217
|
-
"id":
|
217
|
+
"id": 22937,
|
218
218
|
"nodeType": "ContractDefinition",
|
219
|
-
"src": "
|
219
|
+
"src": "443:469:34",
|
220
220
|
"nodes": [
|
221
221
|
{
|
222
|
-
"id":
|
222
|
+
"id": 22936,
|
223
223
|
"nodeType": "FunctionDefinition",
|
224
|
-
"src": "
|
224
|
+
"src": "834:76:34",
|
225
225
|
"nodes": [],
|
226
226
|
"documentation": {
|
227
|
-
"id":
|
227
|
+
"id": 22929,
|
228
228
|
"nodeType": "StructuredDocumentation",
|
229
|
-
"src": "
|
230
|
-
"text": "@notice Query if a contract implements an interface
|
229
|
+
"src": "465:366:34",
|
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."
|
231
231
|
},
|
232
232
|
"functionSelector": "01ffc9a7",
|
233
233
|
"implemented": false,
|
234
234
|
"kind": "function",
|
235
235
|
"modifiers": [],
|
236
236
|
"name": "supportsInterface",
|
237
|
-
"nameLocation": "
|
237
|
+
"nameLocation": "843:17:34",
|
238
238
|
"parameters": {
|
239
|
-
"id":
|
239
|
+
"id": 22932,
|
240
240
|
"nodeType": "ParameterList",
|
241
241
|
"parameters": [
|
242
242
|
{
|
243
243
|
"constant": false,
|
244
|
-
"id":
|
244
|
+
"id": 22931,
|
245
245
|
"mutability": "mutable",
|
246
246
|
"name": "interfaceID",
|
247
|
-
"nameLocation": "
|
247
|
+
"nameLocation": "868:11:34",
|
248
248
|
"nodeType": "VariableDeclaration",
|
249
|
-
"scope":
|
250
|
-
"src": "
|
249
|
+
"scope": 22936,
|
250
|
+
"src": "861:18:34",
|
251
251
|
"stateVariable": false,
|
252
252
|
"storageLocation": "default",
|
253
253
|
"typeDescriptions": {
|
@@ -255,10 +255,10 @@
|
|
255
255
|
"typeString": "bytes4"
|
256
256
|
},
|
257
257
|
"typeName": {
|
258
|
-
"id":
|
258
|
+
"id": 22930,
|
259
259
|
"name": "bytes4",
|
260
260
|
"nodeType": "ElementaryTypeName",
|
261
|
-
"src": "
|
261
|
+
"src": "861:6:34",
|
262
262
|
"typeDescriptions": {
|
263
263
|
"typeIdentifier": "t_bytes4",
|
264
264
|
"typeString": "bytes4"
|
@@ -267,21 +267,21 @@
|
|
267
267
|
"visibility": "internal"
|
268
268
|
}
|
269
269
|
],
|
270
|
-
"src": "
|
270
|
+
"src": "860:20:34"
|
271
271
|
},
|
272
272
|
"returnParameters": {
|
273
|
-
"id":
|
273
|
+
"id": 22935,
|
274
274
|
"nodeType": "ParameterList",
|
275
275
|
"parameters": [
|
276
276
|
{
|
277
277
|
"constant": false,
|
278
|
-
"id":
|
278
|
+
"id": 22934,
|
279
279
|
"mutability": "mutable",
|
280
280
|
"name": "",
|
281
281
|
"nameLocation": "-1:-1:-1",
|
282
282
|
"nodeType": "VariableDeclaration",
|
283
|
-
"scope":
|
284
|
-
"src": "
|
283
|
+
"scope": 22936,
|
284
|
+
"src": "904:4:34",
|
285
285
|
"stateVariable": false,
|
286
286
|
"storageLocation": "default",
|
287
287
|
"typeDescriptions": {
|
@@ -289,10 +289,10 @@
|
|
289
289
|
"typeString": "bool"
|
290
290
|
},
|
291
291
|
"typeName": {
|
292
|
-
"id":
|
292
|
+
"id": 22933,
|
293
293
|
"name": "bool",
|
294
294
|
"nodeType": "ElementaryTypeName",
|
295
|
-
"src": "
|
295
|
+
"src": "904:4:34",
|
296
296
|
"typeDescriptions": {
|
297
297
|
"typeIdentifier": "t_bool",
|
298
298
|
"typeString": "bool"
|
@@ -301,9 +301,9 @@
|
|
301
301
|
"visibility": "internal"
|
302
302
|
}
|
303
303
|
],
|
304
|
-
"src": "
|
304
|
+
"src": "903:6:34"
|
305
305
|
},
|
306
|
-
"scope":
|
306
|
+
"scope": 22937,
|
307
307
|
"stateMutability": "view",
|
308
308
|
"virtual": false,
|
309
309
|
"visibility": "external"
|
@@ -314,13 +314,19 @@
|
|
314
314
|
"canonicalName": "IERC165",
|
315
315
|
"contractDependencies": [],
|
316
316
|
"contractKind": "interface",
|
317
|
+
"documentation": {
|
318
|
+
"id": 22928,
|
319
|
+
"nodeType": "StructuredDocumentation",
|
320
|
+
"src": "225:217:34",
|
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
|
+
},
|
317
323
|
"fullyImplemented": false,
|
318
324
|
"linearizedBaseContracts": [
|
319
|
-
|
325
|
+
22937
|
320
326
|
],
|
321
327
|
"name": "IERC165",
|
322
|
-
"nameLocation": "
|
323
|
-
"scope":
|
328
|
+
"nameLocation": "453:7:34",
|
329
|
+
"scope": 22938,
|
324
330
|
"usedErrors": [],
|
325
331
|
"usedEvents": []
|
326
332
|
}
|