@latticexyz/world-modules 2.0.0-main-87235a21 → 2.0.0-main-85218618

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.
Files changed (89) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +264 -227
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  4. package/out/DelegationControl.sol/DelegationControl.json +193 -143
  5. package/out/Hooks.sol/Hooks.json +45 -45
  6. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +64 -64
  7. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
  8. package/out/IBaseWorld.sol/IBaseWorld.json +136 -91
  9. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
  10. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  11. package/out/IDelegationControl.sol/IDelegationControl.json +138 -108
  12. package/out/IModule.sol/IModule.json +181 -151
  13. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +34 -34
  14. package/out/ISystemHook.sol/ISystemHook.json +192 -152
  15. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  16. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +172 -124
  17. package/out/IWorldErrors.sol/IWorldErrors.json +346 -256
  18. package/out/IWorldKernel.sol/IWorldCall.json +312 -272
  19. package/out/IWorldKernel.sol/IWorldKernel.json +339 -276
  20. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +297 -271
  21. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +201 -201
  22. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  23. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  24. package/out/KeysInTableModule.sol/KeysInTableModule.json +607 -558
  25. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  26. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1014 -1014
  27. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +496 -447
  28. package/out/Module.sol/Module.json +192 -125
  29. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  30. package/out/Schema.sol/SchemaInstance.json +30 -30
  31. package/out/Schema.sol/SchemaLib.json +30 -30
  32. package/out/SchemaType.sol/SchemaType.json +276 -276
  33. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +372 -329
  34. package/out/StoreHook.sol/StoreHook.json +358 -358
  35. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  36. package/out/System.sol/System.json +84 -41
  37. package/out/Tables.sol/Tables.json +73 -73
  38. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +168 -131
  39. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  40. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  41. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +393 -350
  42. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +138 -102
  43. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  44. package/out/WorldContext.sol/WorldContextConsumer.json +780 -683
  45. package/out/WorldContext.sol/WorldContextProvider.json +743 -683
  46. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
  47. package/out/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
  48. package/out/constants.sol/constants.json +115 -115
  49. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  50. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  51. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  52. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  53. package/out/hasKey.sol/hasKey.json +130 -130
  54. package/out/index.sol/index.json +53 -53
  55. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +205 -160
  56. package/out/query.sol/query.json +1154 -1154
  57. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  58. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  59. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  60. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  61. package/out/src/IStore.sol/IStore.json +53 -53
  62. package/out/src/IWorldKernel.sol/IWorldCall.json +313 -273
  63. package/out/src/IWorldKernel.sol/IWorldKernel.json +340 -277
  64. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +298 -272
  65. package/out/src/Memory.sol/Memory.json +89 -89
  66. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  67. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  68. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  69. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  70. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  71. package/out/src/Schema.sol/SchemaLib.json +787 -787
  72. package/out/src/Slice.sol/SliceInstance.json +429 -429
  73. package/out/src/Slice.sol/SliceLib.json +429 -429
  74. package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
  75. package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
  76. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  77. package/out/src/WorldContext.sol/WorldContextConsumer.json +780 -683
  78. package/out/src/WorldContext.sol/WorldContextProvider.json +743 -683
  79. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
  80. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
  81. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  82. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  83. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  84. package/out/tables/Tables.sol/Tables.json +7288 -7288
  85. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  86. package/out/types.sol/types.json +39 -39
  87. package/out/world/src/IERC165.sol/IERC165.json +63 -57
  88. package/out/worldResourceTypes.sol/worldResourceTypes.json +87 -87
  89. package/package.json +8 -8
@@ -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": 23981,
13
+ "id": 24027,
14
14
  "exportedSymbols": {
15
15
  "ResourceId": [
16
- 26191
16
+ 26238
17
17
  ],
18
18
  "SystemCallData": [
19
- 23972
19
+ 24018
20
20
  ],
21
21
  "SystemCallFromData": [
22
- 23980
22
+ 24026
23
23
  ]
24
24
  },
25
25
  "nodeType": "SourceUnit",
26
26
  "src": "32:250:49",
27
27
  "nodes": [
28
28
  {
29
- "id": 23964,
29
+ "id": 24010,
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": 23966,
41
+ "id": 24012,
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": 23981,
49
- "sourceUnit": 26256,
48
+ "scope": 24027,
49
+ "sourceUnit": 26303,
50
50
  "symbolAliases": [
51
51
  {
52
52
  "foreign": {
53
- "id": 23965,
53
+ "id": 24011,
54
54
  "name": "ResourceId",
55
55
  "nodeType": "Identifier",
56
56
  "overloadedDeclarations": [],
57
- "referencedDeclaration": 26191,
57
+ "referencedDeclaration": 26238,
58
58
  "src": "68:10:49",
59
59
  "typeDescriptions": {}
60
60
  },
@@ -64,7 +64,7 @@
64
64
  "unitAlias": ""
65
65
  },
66
66
  {
67
- "id": 23972,
67
+ "id": 24018,
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": 23969,
75
+ "id": 24015,
76
76
  "mutability": "mutable",
77
77
  "name": "systemId",
78
78
  "nameLocation": "164:8:49",
79
79
  "nodeType": "VariableDeclaration",
80
- "scope": 23972,
80
+ "scope": 24018,
81
81
  "src": "153:19:49",
82
82
  "stateVariable": false,
83
83
  "storageLocation": "default",
84
84
  "typeDescriptions": {
85
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
85
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
86
86
  "typeString": "ResourceId"
87
87
  },
88
88
  "typeName": {
89
- "id": 23968,
89
+ "id": 24014,
90
90
  "nodeType": "UserDefinedTypeName",
91
91
  "pathNode": {
92
- "id": 23967,
92
+ "id": 24013,
93
93
  "name": "ResourceId",
94
94
  "nameLocations": [
95
95
  "153:10:49"
96
96
  ],
97
97
  "nodeType": "IdentifierPath",
98
- "referencedDeclaration": 26191,
98
+ "referencedDeclaration": 26238,
99
99
  "src": "153:10:49"
100
100
  },
101
- "referencedDeclaration": 26191,
101
+ "referencedDeclaration": 26238,
102
102
  "src": "153:10:49",
103
103
  "typeDescriptions": {
104
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
104
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
105
105
  "typeString": "ResourceId"
106
106
  }
107
107
  },
@@ -109,12 +109,12 @@
109
109
  },
110
110
  {
111
111
  "constant": false,
112
- "id": 23971,
112
+ "id": 24017,
113
113
  "mutability": "mutable",
114
114
  "name": "callData",
115
115
  "nameLocation": "182:8:49",
116
116
  "nodeType": "VariableDeclaration",
117
- "scope": 23972,
117
+ "scope": 24018,
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": 23970,
126
+ "id": 24016,
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": 23981,
140
+ "scope": 24027,
141
141
  "visibility": "public"
142
142
  },
143
143
  {
144
- "id": 23980,
144
+ "id": 24026,
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": 23974,
152
+ "id": 24020,
153
153
  "mutability": "mutable",
154
154
  "name": "from",
155
155
  "nameLocation": "233:4:49",
156
156
  "nodeType": "VariableDeclaration",
157
- "scope": 23980,
157
+ "scope": 24026,
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": 23973,
166
+ "id": 24019,
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": 23977,
180
+ "id": 24023,
181
181
  "mutability": "mutable",
182
182
  "name": "systemId",
183
183
  "nameLocation": "252:8:49",
184
184
  "nodeType": "VariableDeclaration",
185
- "scope": 23980,
185
+ "scope": 24026,
186
186
  "src": "241:19:49",
187
187
  "stateVariable": false,
188
188
  "storageLocation": "default",
189
189
  "typeDescriptions": {
190
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
190
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
191
191
  "typeString": "ResourceId"
192
192
  },
193
193
  "typeName": {
194
- "id": 23976,
194
+ "id": 24022,
195
195
  "nodeType": "UserDefinedTypeName",
196
196
  "pathNode": {
197
- "id": 23975,
197
+ "id": 24021,
198
198
  "name": "ResourceId",
199
199
  "nameLocations": [
200
200
  "241:10:49"
201
201
  ],
202
202
  "nodeType": "IdentifierPath",
203
- "referencedDeclaration": 26191,
203
+ "referencedDeclaration": 26238,
204
204
  "src": "241:10:49"
205
205
  },
206
- "referencedDeclaration": 26191,
206
+ "referencedDeclaration": 26238,
207
207
  "src": "241:10:49",
208
208
  "typeDescriptions": {
209
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
209
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
210
210
  "typeString": "ResourceId"
211
211
  }
212
212
  },
@@ -214,12 +214,12 @@
214
214
  },
215
215
  {
216
216
  "constant": false,
217
- "id": 23979,
217
+ "id": 24025,
218
218
  "mutability": "mutable",
219
219
  "name": "callData",
220
220
  "nameLocation": "270:8:49",
221
221
  "nodeType": "VariableDeclaration",
222
- "scope": 23980,
222
+ "scope": 24026,
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": 23978,
231
+ "id": 24024,
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": 23981,
245
+ "scope": 24027,
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 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\"}}},\"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\":\"0x1a113ae394de69ca1db7e9acb1886eaee3967dcfed46fc78497e77bc26dd778f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://091e04dc9e8d5b3a492d1d39a6d06fd5b4bad3c282bd4c06a38d92bec3422513\",\"dweb:/ipfs/QmbfMi1bH9RAs4JMDxKmhVqpAoyoVgN9nd7o11SakJC1zQ\"]}},\"version\":1}",
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 uses less than 30,000 gas.",
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": "`true` if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, `false` otherwise"
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": "0x1a113ae394de69ca1db7e9acb1886eaee3967dcfed46fc78497e77bc26dd778f",
109
+ "keccak256": "0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47",
110
110
  "urls": [
111
- "bzz-raw://091e04dc9e8d5b3a492d1d39a6d06fd5b4bad3c282bd4c06a38d92bec3422513",
112
- "dweb:/ipfs/QmbfMi1bH9RAs4JMDxKmhVqpAoyoVgN9nd7o11SakJC1zQ"
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": 22934,
121
+ "id": 22938,
122
122
  "exportedSymbols": {
123
123
  "ERC165_INTERFACE_ID": [
124
- 22924
124
+ 22927
125
125
  ],
126
126
  "IERC165": [
127
- 22933
127
+ 22937
128
128
  ]
129
129
  },
130
130
  "nodeType": "SourceUnit",
131
- "src": "32:615:34",
131
+ "src": "32:881:34",
132
132
  "nodes": [
133
133
  {
134
- "id": 22919,
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": 22924,
146
+ "id": 22927,
147
147
  "nodeType": "VariableDeclaration",
148
- "src": "59:72:34",
148
+ "src": "150:72:34",
149
149
  "nodes": [],
150
150
  "constant": true,
151
151
  "mutability": "constant",
152
152
  "name": "ERC165_INTERFACE_ID",
153
- "nameLocation": "75:19:34",
154
- "scope": 22934,
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": 22920,
162
+ "id": 22923,
163
163
  "name": "bytes4",
164
164
  "nodeType": "ElementaryTypeName",
165
- "src": "59:6:34",
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": 22921,
174
+ "id": 22924,
175
175
  "name": "IERC165",
176
176
  "nodeType": "Identifier",
177
177
  "overloadedDeclarations": [],
178
- "referencedDeclaration": 22933,
179
- "src": "97:7:34",
178
+ "referencedDeclaration": 22937,
179
+ "src": "188:7:34",
180
180
  "typeDescriptions": {
181
- "typeIdentifier": "t_type$_t_contract$_IERC165_$22933_$",
181
+ "typeIdentifier": "t_type$_t_contract$_IERC165_$22937_$",
182
182
  "typeString": "type(contract IERC165)"
183
183
  }
184
184
  },
185
- "id": 22922,
185
+ "id": 22925,
186
186
  "isConstant": false,
187
187
  "isLValue": false,
188
188
  "isPure": true,
189
189
  "lValueRequested": false,
190
- "memberLocation": "105:17:34",
190
+ "memberLocation": "196:17:34",
191
191
  "memberName": "supportsInterface",
192
192
  "nodeType": "MemberAccess",
193
- "referencedDeclaration": 22932,
194
- "src": "97:25:34",
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": 22923,
200
+ "id": 22926,
201
201
  "isConstant": false,
202
202
  "isLValue": false,
203
203
  "isPure": true,
204
204
  "lValueRequested": false,
205
- "memberLocation": "123:8:34",
205
+ "memberLocation": "214:8:34",
206
206
  "memberName": "selector",
207
207
  "nodeType": "MemberAccess",
208
- "src": "97:34:34",
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": 22933,
217
+ "id": 22937,
218
218
  "nodeType": "ContractDefinition",
219
- "src": "180:466:34",
219
+ "src": "443:469:34",
220
220
  "nodes": [
221
221
  {
222
- "id": 22932,
222
+ "id": 22936,
223
223
  "nodeType": "FunctionDefinition",
224
- "src": "568:76:34",
224
+ "src": "834:76:34",
225
225
  "nodes": [],
226
226
  "documentation": {
227
- "id": 22925,
227
+ "id": 22929,
228
228
  "nodeType": "StructuredDocumentation",
229
- "src": "202:363:34",
230
- "text": "@notice Query if a contract implements an interface\n @param interfaceID The interface identifier, as specified in ERC-165\n @dev Interface identification is specified in ERC-165. This function\n uses less than 30,000 gas.\n @return `true` if the contract implements `interfaceID` and\n `interfaceID` is not 0xffffffff, `false` otherwise"
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": "577:17:34",
237
+ "nameLocation": "843:17:34",
238
238
  "parameters": {
239
- "id": 22928,
239
+ "id": 22932,
240
240
  "nodeType": "ParameterList",
241
241
  "parameters": [
242
242
  {
243
243
  "constant": false,
244
- "id": 22927,
244
+ "id": 22931,
245
245
  "mutability": "mutable",
246
246
  "name": "interfaceID",
247
- "nameLocation": "602:11:34",
247
+ "nameLocation": "868:11:34",
248
248
  "nodeType": "VariableDeclaration",
249
- "scope": 22932,
250
- "src": "595:18:34",
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": 22926,
258
+ "id": 22930,
259
259
  "name": "bytes4",
260
260
  "nodeType": "ElementaryTypeName",
261
- "src": "595:6:34",
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": "594:20:34"
270
+ "src": "860:20:34"
271
271
  },
272
272
  "returnParameters": {
273
- "id": 22931,
273
+ "id": 22935,
274
274
  "nodeType": "ParameterList",
275
275
  "parameters": [
276
276
  {
277
277
  "constant": false,
278
- "id": 22930,
278
+ "id": 22934,
279
279
  "mutability": "mutable",
280
280
  "name": "",
281
281
  "nameLocation": "-1:-1:-1",
282
282
  "nodeType": "VariableDeclaration",
283
- "scope": 22932,
284
- "src": "638:4:34",
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": 22929,
292
+ "id": 22933,
293
293
  "name": "bool",
294
294
  "nodeType": "ElementaryTypeName",
295
- "src": "638:4:34",
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": "637:6:34"
304
+ "src": "903:6:34"
305
305
  },
306
- "scope": 22933,
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
- 22933
325
+ 22937
320
326
  ],
321
327
  "name": "IERC165",
322
- "nameLocation": "190:7:34",
323
- "scope": 22934,
328
+ "nameLocation": "453:7:34",
329
+ "scope": 22938,
324
330
  "usedErrors": [],
325
331
  "usedEvents": []
326
332
  }