@latticexyz/world 2.0.0-alpha.1.21 → 2.0.0-alpha.1.22
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/abi/AccessControl.sol/AccessControl.json +241 -241
- package/abi/AccessManagementSystem.sol/AccessManagementSystem.json +157 -157
- package/abi/AddressArray.sol/AddressArray.json +1124 -1124
- package/abi/ArrayLib.sol/ArrayLib.json +139 -139
- package/abi/Bool.sol/Bool.json +704 -704
- package/abi/Bytes.sol/Bytes.json +6 -6
- package/abi/Call.sol/Call.json +112 -112
- package/abi/Callbacks.sol/Callbacks.json +1100 -1100
- package/abi/CoreModule.sol/CoreModule.json +542 -542
- package/abi/CoreSystem.sol/CoreSystem.json +92 -92
- package/abi/DecodeSlice.sol/DecodeSlice.json +3891 -3891
- package/abi/EncodeArray.sol/EncodeArray.json +3344 -3344
- package/abi/FunctionSelectors.sol/FunctionSelectors.json +1678 -1678
- package/abi/Hooks.sol/Hooks.json +1100 -1100
- package/abi/IAccessManagementSystem.sol/IAccessManagementSystem.json +32 -32
- package/abi/IBaseWorld.sol/IBaseWorld.json +224 -99
- package/abi/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/abi/IModule.sol/IModule.json +28 -28
- package/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +40 -40
- package/abi/IStore.sol/IStore.json +551 -349
- package/abi/IStore.sol/IStoreData.json +551 -349
- package/abi/IStore.sol/IStoreHook.json +495 -349
- package/abi/IStore.sol/IStoreRead.json +495 -349
- package/abi/IStore.sol/IStoreRegistration.json +495 -349
- package/abi/IStore.sol/IStoreWrite.json +551 -349
- package/abi/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.json +80 -80
- package/abi/ISystemHook.sol/ISystemHook.json +19 -19
- package/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/abi/IWorldKernel.sol/IWorldCall.json +455 -276
- package/abi/IWorldKernel.sol/IWorldData.json +524 -276
- package/abi/IWorldKernel.sol/IWorldKernel.json +524 -276
- package/abi/IWorldKernel.sol/IWorldModuleInstallation.json +455 -276
- package/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
- package/abi/InstalledModules.sol/InstalledModules.json +1351 -1351
- package/abi/KeysWithValue.sol/KeysWithValue.json +1124 -1124
- package/abi/KeysWithValueHook.sol/KeysWithValueHook.json +416 -416
- package/abi/KeysWithValueModule.sol/KeysWithValueModule.json +293 -293
- package/abi/Memory.sol/Memory.json +131 -131
- package/abi/Mixed.sol/Mixed.json +2781 -2781
- package/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +138 -138
- package/abi/NamespaceOwner.sol/NamespaceOwner.json +782 -782
- package/abi/PackedCounter.sol/PackedCounterLib.json +665 -665
- package/abi/ResourceAccess.sol/ResourceAccess.json +926 -926
- package/abi/ResourceSelector.sol/ResourceSelector.json +253 -253
- package/abi/ResourceType.sol/ResourceType.json +831 -831
- package/abi/Schema.sol/SchemaLib.json +1469 -1469
- package/abi/SchemaType.sol/SchemaType.json +315 -315
- package/abi/Slice.sol/SliceInstance.json +429 -429
- package/abi/Slice.sol/SliceLib.json +429 -429
- package/abi/Storage.sol/Storage.json +1024 -1061
- package/abi/StoreCore.sol/StoreCore.json +10434 -7652
- package/abi/StoreCore.sol/StoreCoreExtended.json +10434 -7652
- package/abi/StoreCore.sol/StoreCoreInternal.json +10434 -7652
- package/abi/StoreMetadata.sol/StoreMetadata.json +2116 -2116
- package/abi/StoreRead.sol/StoreRead.json +247 -247
- package/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +339 -339
- package/abi/StoreSwitch.sol/StoreSwitch.json +1814 -1359
- package/abi/System.sol/System.json +31 -31
- package/abi/SystemRegistry.sol/SystemRegistry.json +794 -794
- package/abi/Systems.sol/Systems.json +1412 -1412
- package/abi/TableId.sol/TableId.json +27 -27
- package/abi/Tables.sol/Tables.json +92 -92
- package/abi/TightCoder.sol/TightCoder.json +275 -275
- package/abi/Types.sol/Types.json +8 -8
- package/abi/UniqueEntity.sol/UniqueEntity.json +683 -683
- package/abi/UniqueEntityModule.sol/UniqueEntityModule.json +232 -232
- package/abi/UniqueEntitySystem.sol/UniqueEntitySystem.json +114 -114
- package/abi/Utils.sol/Utils.json +67 -67
- package/abi/Vector2.sol/Vector2.json +1473 -1473
- package/abi/World.sol/World.json +2426 -1491
- package/abi/WorldContext.sol/WorldContext.json +65 -65
- package/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1140 -1140
- package/abi/console.sol/console.json +11417 -11417
- package/abi/constants.sol/constants.json +34 -34
- package/abi/getKeysWithValue.sol/getKeysWithValue.json +129 -129
- package/abi/getTargetTableSelector.sol/getTargetTableSelector.json +75 -75
- package/abi/getUniqueEntity.sol/getUniqueEntity.json +88 -88
- package/abi/interfaces/IErrors.sol/IErrors.json +57 -57
- package/abi/src/Bytes.sol/Bytes.json +1225 -1225
- package/abi/src/IStore.sol/IStore.json +727 -525
- package/abi/src/IStore.sol/IStoreData.json +727 -525
- package/abi/src/IStore.sol/IStoreHook.json +671 -525
- package/abi/src/IStore.sol/IStoreRead.json +671 -525
- package/abi/src/IStore.sol/IStoreRegistration.json +671 -525
- package/abi/src/IStore.sol/IStoreWrite.json +727 -525
- package/abi/src/Memory.sol/Memory.json +131 -131
- package/abi/src/PackedCounter.sol/PackedCounterLib.json +683 -683
- package/abi/src/Schema.sol/SchemaLib.json +1493 -1493
- package/abi/src/Slice.sol/SliceInstance.json +429 -429
- package/abi/src/Slice.sol/SliceLib.json +429 -429
- package/abi/src/StoreCore.sol/StoreCore.json +12500 -9718
- package/abi/src/StoreCore.sol/StoreCoreExtended.json +12500 -9718
- package/abi/src/StoreCore.sol/StoreCoreInternal.json +12500 -9718
- package/abi/src/StoreSwitch.sol/StoreSwitch.json +1822 -1367
- package/abi/tightcoder/EncodeArray.sol/EncodeArray.json +3344 -3344
- package/package.json +6 -6
- package/src/World.sol +32 -0
- package/src/interfaces/IWorldKernel.sol +12 -0
- package/types/ethers-contracts/IBaseWorld.ts +116 -0
- package/types/ethers-contracts/IStore.sol/IStore.ts +55 -0
- package/types/ethers-contracts/IStore.sol/IStoreData.ts +55 -0
- package/types/ethers-contracts/IStore.sol/IStoreWrite.ts +55 -0
- package/types/ethers-contracts/IWorldKernel.sol/IWorldData.ts +61 -0
- package/types/ethers-contracts/IWorldKernel.sol/IWorldKernel.ts +61 -0
- package/types/ethers-contracts/World.ts +116 -0
- package/types/ethers-contracts/factories/AccessManagementSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
- package/types/ethers-contracts/factories/CoreSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/IBaseWorld__factory.ts +61 -0
- package/types/ethers-contracts/factories/IStore.sol/IStoreData__factory.ts +28 -0
- package/types/ethers-contracts/factories/IStore.sol/IStoreWrite__factory.ts +28 -0
- package/types/ethers-contracts/factories/IStore.sol/IStore__factory.ts +28 -0
- package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldData__factory.ts +33 -0
- package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldKernel__factory.ts +33 -0
- package/types/ethers-contracts/factories/KeysWithValueHook__factory.ts +1 -1
- package/types/ethers-contracts/factories/KeysWithValueModule__factory.ts +1 -1
- package/types/ethers-contracts/factories/ModuleInstallationSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/StoreCore__factory.ts +1 -1
- package/types/ethers-contracts/factories/StoreRead__factory.ts +1 -1
- package/types/ethers-contracts/factories/StoreRegistrationSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/StoreSwitch__factory.ts +1 -1
- package/types/ethers-contracts/factories/UniqueEntityModule__factory.ts +1 -1
- package/types/ethers-contracts/factories/UniqueEntitySystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldRegistrationSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/World__factory.ts +62 -1
- package/types/ethers-contracts/factories/src/IStore.sol/IStoreData__factory.ts +28 -0
- package/types/ethers-contracts/factories/src/IStore.sol/IStoreWrite__factory.ts +28 -0
- package/types/ethers-contracts/factories/src/IStore.sol/IStore__factory.ts +28 -0
- package/types/ethers-contracts/factories/src/StoreCore__factory.ts +1 -1
- package/types/ethers-contracts/factories/src/StoreSwitch__factory.ts +1 -1
- package/types/ethers-contracts/src/IStore.sol/IStore.ts +55 -0
- package/types/ethers-contracts/src/IStore.sol/IStoreData.ts +55 -0
- package/types/ethers-contracts/src/IStore.sol/IStoreWrite.ts +55 -0
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"methodIdentifiers": {
|
|
33
33
|
"installRootModule(address,bytes)": "af068c9e"
|
|
34
34
|
},
|
|
35
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"args\",\"type\":\"bytes\"}],\"name\":\"installRootModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"installRootModule(address,bytes)\":{\"notice\":\"Install the given root module in the World. Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/IWorldKernel.sol\":\"IWorldModuleInstallation\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\",\":hardhat/=node_modules/hardhat/\"]},\"sources\":{\"src/interfaces/IErrors.sol\":{\"keccak256\":\"0x8a8a5caf964d336b38123704893463589b3bf6195405c9929c21291faf0e2f6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3aa3dcd4d059015580dbcad309db99db7a18fe7c015f1f83f56d84684f27bd14\",\"dweb:/ipfs/QmVpQW1kF4ruDmXtnTSnGRuxr7RtJqo8NwEXtfdA5TVKq1\"]},\"src/interfaces/IModule.sol\":{\"keccak256\":\"0x0c9f5a12f8b27ae6f02b6ca7ccfd7ab1de349e5c4773f99cfab1fd4721bc4a06\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cafb66fbd4b3587121a2f2ff6fc5e4c32796e6469719899e181c3abac1479178\",\"dweb:/ipfs/QmT6GKskhqmLadhuNVVbgDEgJ92jMsCdyLcfrSaiVQeZYf\"]},\"src/interfaces/IWorldKernel.sol\":{\"keccak256\":\"
|
|
35
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"args\",\"type\":\"bytes\"}],\"name\":\"installRootModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"installRootModule(address,bytes)\":{\"notice\":\"Install the given root module in the World. Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/IWorldKernel.sol\":\"IWorldModuleInstallation\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\",\":hardhat/=node_modules/hardhat/\"]},\"sources\":{\"src/interfaces/IErrors.sol\":{\"keccak256\":\"0x8a8a5caf964d336b38123704893463589b3bf6195405c9929c21291faf0e2f6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3aa3dcd4d059015580dbcad309db99db7a18fe7c015f1f83f56d84684f27bd14\",\"dweb:/ipfs/QmVpQW1kF4ruDmXtnTSnGRuxr7RtJqo8NwEXtfdA5TVKq1\"]},\"src/interfaces/IModule.sol\":{\"keccak256\":\"0x0c9f5a12f8b27ae6f02b6ca7ccfd7ab1de349e5c4773f99cfab1fd4721bc4a06\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cafb66fbd4b3587121a2f2ff6fc5e4c32796e6469719899e181c3abac1479178\",\"dweb:/ipfs/QmT6GKskhqmLadhuNVVbgDEgJ92jMsCdyLcfrSaiVQeZYf\"]},\"src/interfaces/IWorldKernel.sol\":{\"keccak256\":\"0x9baf07e472a70ec8aba9dffb71a7dd7d970c1352c2b11fdbf4c21a54b61458e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c270f22eec9ee162bcb973349e4e96ffcacd70c7df53d0ce7eb33f3bdb1dd6e3\",\"dweb:/ipfs/QmWRgyG2o7cM8dJRNN3d72khRsaGVJBNjVP6XPW2uSyGmU\"]}},\"version\":1}",
|
|
36
36
|
"metadata": {
|
|
37
37
|
"compiler": {
|
|
38
38
|
"version": "0.8.13+commit.abaa5c0e"
|
|
@@ -110,10 +110,10 @@
|
|
|
110
110
|
"license": "MIT"
|
|
111
111
|
},
|
|
112
112
|
"src/interfaces/IWorldKernel.sol": {
|
|
113
|
-
"keccak256": "
|
|
113
|
+
"keccak256": "0x9baf07e472a70ec8aba9dffb71a7dd7d970c1352c2b11fdbf4c21a54b61458e7",
|
|
114
114
|
"urls": [
|
|
115
|
-
"bzz-raw://
|
|
116
|
-
"dweb:/ipfs/
|
|
115
|
+
"bzz-raw://c270f22eec9ee162bcb973349e4e96ffcacd70c7df53d0ce7eb33f3bdb1dd6e3",
|
|
116
|
+
"dweb:/ipfs/QmWRgyG2o7cM8dJRNN3d72khRsaGVJBNjVP6XPW2uSyGmU"
|
|
117
117
|
],
|
|
118
118
|
"license": "MIT"
|
|
119
119
|
}
|
|
@@ -122,32 +122,32 @@
|
|
|
122
122
|
},
|
|
123
123
|
"ast": {
|
|
124
124
|
"absolutePath": "src/interfaces/IWorldKernel.sol",
|
|
125
|
-
"id":
|
|
125
|
+
"id": 34059,
|
|
126
126
|
"exportedSymbols": {
|
|
127
127
|
"IErrors": [
|
|
128
|
-
|
|
128
|
+
33844
|
|
129
129
|
],
|
|
130
130
|
"IModule": [
|
|
131
|
-
|
|
131
|
+
33863
|
|
132
132
|
],
|
|
133
133
|
"IWorldCall": [
|
|
134
|
-
|
|
134
|
+
34048
|
|
135
135
|
],
|
|
136
136
|
"IWorldData": [
|
|
137
|
-
|
|
137
|
+
34025
|
|
138
138
|
],
|
|
139
139
|
"IWorldKernel": [
|
|
140
|
-
|
|
140
|
+
34058
|
|
141
141
|
],
|
|
142
142
|
"IWorldModuleInstallation": [
|
|
143
|
-
|
|
143
|
+
34035
|
|
144
144
|
]
|
|
145
145
|
},
|
|
146
146
|
"nodeType": "SourceUnit",
|
|
147
|
-
"src": "32:
|
|
147
|
+
"src": "32:3170:63",
|
|
148
148
|
"nodes": [
|
|
149
149
|
{
|
|
150
|
-
"id":
|
|
150
|
+
"id": 33933,
|
|
151
151
|
"nodeType": "PragmaDirective",
|
|
152
152
|
"src": "32:24:63",
|
|
153
153
|
"nodes": [],
|
|
@@ -159,23 +159,23 @@
|
|
|
159
159
|
]
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
|
-
"id":
|
|
162
|
+
"id": 33935,
|
|
163
163
|
"nodeType": "ImportDirective",
|
|
164
164
|
"src": "58:40:63",
|
|
165
165
|
"nodes": [],
|
|
166
166
|
"absolutePath": "src/interfaces/IErrors.sol",
|
|
167
167
|
"file": "./IErrors.sol",
|
|
168
168
|
"nameLocation": "-1:-1:-1",
|
|
169
|
-
"scope":
|
|
170
|
-
"sourceUnit":
|
|
169
|
+
"scope": 34059,
|
|
170
|
+
"sourceUnit": 33845,
|
|
171
171
|
"symbolAliases": [
|
|
172
172
|
{
|
|
173
173
|
"foreign": {
|
|
174
|
-
"id":
|
|
174
|
+
"id": 33934,
|
|
175
175
|
"name": "IErrors",
|
|
176
176
|
"nodeType": "Identifier",
|
|
177
177
|
"overloadedDeclarations": [],
|
|
178
|
-
"referencedDeclaration":
|
|
178
|
+
"referencedDeclaration": 33844,
|
|
179
179
|
"src": "67:7:63",
|
|
180
180
|
"typeDescriptions": {}
|
|
181
181
|
},
|
|
@@ -185,23 +185,23 @@
|
|
|
185
185
|
"unitAlias": ""
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
|
-
"id":
|
|
188
|
+
"id": 33937,
|
|
189
189
|
"nodeType": "ImportDirective",
|
|
190
190
|
"src": "99:40:63",
|
|
191
191
|
"nodes": [],
|
|
192
192
|
"absolutePath": "src/interfaces/IModule.sol",
|
|
193
193
|
"file": "./IModule.sol",
|
|
194
194
|
"nameLocation": "-1:-1:-1",
|
|
195
|
-
"scope":
|
|
196
|
-
"sourceUnit":
|
|
195
|
+
"scope": 34059,
|
|
196
|
+
"sourceUnit": 33864,
|
|
197
197
|
"symbolAliases": [
|
|
198
198
|
{
|
|
199
199
|
"foreign": {
|
|
200
|
-
"id":
|
|
200
|
+
"id": 33936,
|
|
201
201
|
"name": "IModule",
|
|
202
202
|
"nodeType": "Identifier",
|
|
203
203
|
"overloadedDeclarations": [],
|
|
204
|
-
"referencedDeclaration":
|
|
204
|
+
"referencedDeclaration": 33863,
|
|
205
205
|
"src": "108:7:63",
|
|
206
206
|
"typeDescriptions": {}
|
|
207
207
|
},
|
|
@@ -211,17 +211,17 @@
|
|
|
211
211
|
"unitAlias": ""
|
|
212
212
|
},
|
|
213
213
|
{
|
|
214
|
-
"id":
|
|
214
|
+
"id": 34025,
|
|
215
215
|
"nodeType": "ContractDefinition",
|
|
216
|
-
"src": "412:
|
|
216
|
+
"src": "412:1815:63",
|
|
217
217
|
"nodes": [
|
|
218
218
|
{
|
|
219
|
-
"id":
|
|
219
|
+
"id": 33951,
|
|
220
220
|
"nodeType": "FunctionDefinition",
|
|
221
221
|
"src": "581:106:63",
|
|
222
222
|
"nodes": [],
|
|
223
223
|
"documentation": {
|
|
224
|
-
"id":
|
|
224
|
+
"id": 33939,
|
|
225
225
|
"nodeType": "StructuredDocumentation",
|
|
226
226
|
"src": "437:141:63",
|
|
227
227
|
"text": " Write a record in the table at the given namespace and name.\n Requires the caller to have access to the namespace or name."
|
|
@@ -233,17 +233,17 @@
|
|
|
233
233
|
"name": "setRecord",
|
|
234
234
|
"nameLocation": "590:9:63",
|
|
235
235
|
"parameters": {
|
|
236
|
-
"id":
|
|
236
|
+
"id": 33949,
|
|
237
237
|
"nodeType": "ParameterList",
|
|
238
238
|
"parameters": [
|
|
239
239
|
{
|
|
240
240
|
"constant": false,
|
|
241
|
-
"id":
|
|
241
|
+
"id": 33941,
|
|
242
242
|
"mutability": "mutable",
|
|
243
243
|
"name": "namespace",
|
|
244
244
|
"nameLocation": "608:9:63",
|
|
245
245
|
"nodeType": "VariableDeclaration",
|
|
246
|
-
"scope":
|
|
246
|
+
"scope": 33951,
|
|
247
247
|
"src": "600:17:63",
|
|
248
248
|
"stateVariable": false,
|
|
249
249
|
"storageLocation": "default",
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
"typeString": "bytes16"
|
|
253
253
|
},
|
|
254
254
|
"typeName": {
|
|
255
|
-
"id":
|
|
255
|
+
"id": 33940,
|
|
256
256
|
"name": "bytes16",
|
|
257
257
|
"nodeType": "ElementaryTypeName",
|
|
258
258
|
"src": "600:7:63",
|
|
@@ -265,12 +265,12 @@
|
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
267
|
"constant": false,
|
|
268
|
-
"id":
|
|
268
|
+
"id": 33943,
|
|
269
269
|
"mutability": "mutable",
|
|
270
270
|
"name": "name",
|
|
271
271
|
"nameLocation": "627:4:63",
|
|
272
272
|
"nodeType": "VariableDeclaration",
|
|
273
|
-
"scope":
|
|
273
|
+
"scope": 33951,
|
|
274
274
|
"src": "619:12:63",
|
|
275
275
|
"stateVariable": false,
|
|
276
276
|
"storageLocation": "default",
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
"typeString": "bytes16"
|
|
280
280
|
},
|
|
281
281
|
"typeName": {
|
|
282
|
-
"id":
|
|
282
|
+
"id": 33942,
|
|
283
283
|
"name": "bytes16",
|
|
284
284
|
"nodeType": "ElementaryTypeName",
|
|
285
285
|
"src": "619:7:63",
|
|
@@ -292,12 +292,12 @@
|
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
294
|
"constant": false,
|
|
295
|
-
"id":
|
|
295
|
+
"id": 33946,
|
|
296
296
|
"mutability": "mutable",
|
|
297
297
|
"name": "key",
|
|
298
298
|
"nameLocation": "652:3:63",
|
|
299
299
|
"nodeType": "VariableDeclaration",
|
|
300
|
-
"scope":
|
|
300
|
+
"scope": 33951,
|
|
301
301
|
"src": "633:22:63",
|
|
302
302
|
"stateVariable": false,
|
|
303
303
|
"storageLocation": "calldata",
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
},
|
|
308
308
|
"typeName": {
|
|
309
309
|
"baseType": {
|
|
310
|
-
"id":
|
|
310
|
+
"id": 33944,
|
|
311
311
|
"name": "bytes32",
|
|
312
312
|
"nodeType": "ElementaryTypeName",
|
|
313
313
|
"src": "633:7:63",
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
"typeString": "bytes32"
|
|
317
317
|
}
|
|
318
318
|
},
|
|
319
|
-
"id":
|
|
319
|
+
"id": 33945,
|
|
320
320
|
"nodeType": "ArrayTypeName",
|
|
321
321
|
"src": "633:9:63",
|
|
322
322
|
"typeDescriptions": {
|
|
@@ -328,12 +328,12 @@
|
|
|
328
328
|
},
|
|
329
329
|
{
|
|
330
330
|
"constant": false,
|
|
331
|
-
"id":
|
|
331
|
+
"id": 33948,
|
|
332
332
|
"mutability": "mutable",
|
|
333
333
|
"name": "data",
|
|
334
334
|
"nameLocation": "672:4:63",
|
|
335
335
|
"nodeType": "VariableDeclaration",
|
|
336
|
-
"scope":
|
|
336
|
+
"scope": 33951,
|
|
337
337
|
"src": "657:19:63",
|
|
338
338
|
"stateVariable": false,
|
|
339
339
|
"storageLocation": "calldata",
|
|
@@ -342,7 +342,7 @@
|
|
|
342
342
|
"typeString": "bytes"
|
|
343
343
|
},
|
|
344
344
|
"typeName": {
|
|
345
|
-
"id":
|
|
345
|
+
"id": 33947,
|
|
346
346
|
"name": "bytes",
|
|
347
347
|
"nodeType": "ElementaryTypeName",
|
|
348
348
|
"src": "657:5:63",
|
|
@@ -357,23 +357,23 @@
|
|
|
357
357
|
"src": "599:78:63"
|
|
358
358
|
},
|
|
359
359
|
"returnParameters": {
|
|
360
|
-
"id":
|
|
360
|
+
"id": 33950,
|
|
361
361
|
"nodeType": "ParameterList",
|
|
362
362
|
"parameters": [],
|
|
363
363
|
"src": "686:0:63"
|
|
364
364
|
},
|
|
365
|
-
"scope":
|
|
365
|
+
"scope": 34025,
|
|
366
366
|
"stateMutability": "nonpayable",
|
|
367
367
|
"virtual": false,
|
|
368
368
|
"visibility": "external"
|
|
369
369
|
},
|
|
370
370
|
{
|
|
371
|
-
"id":
|
|
371
|
+
"id": 33966,
|
|
372
372
|
"nodeType": "FunctionDefinition",
|
|
373
373
|
"src": "834:148:63",
|
|
374
374
|
"nodes": [],
|
|
375
375
|
"documentation": {
|
|
376
|
-
"id":
|
|
376
|
+
"id": 33952,
|
|
377
377
|
"nodeType": "StructuredDocumentation",
|
|
378
378
|
"src": "691:140:63",
|
|
379
379
|
"text": " Write a field in the table at the given namespace and name.\n Requires the caller to have access to the namespace or name."
|
|
@@ -385,17 +385,17 @@
|
|
|
385
385
|
"name": "setField",
|
|
386
386
|
"nameLocation": "843:8:63",
|
|
387
387
|
"parameters": {
|
|
388
|
-
"id":
|
|
388
|
+
"id": 33964,
|
|
389
389
|
"nodeType": "ParameterList",
|
|
390
390
|
"parameters": [
|
|
391
391
|
{
|
|
392
392
|
"constant": false,
|
|
393
|
-
"id":
|
|
393
|
+
"id": 33954,
|
|
394
394
|
"mutability": "mutable",
|
|
395
395
|
"name": "namespace",
|
|
396
396
|
"nameLocation": "865:9:63",
|
|
397
397
|
"nodeType": "VariableDeclaration",
|
|
398
|
-
"scope":
|
|
398
|
+
"scope": 33966,
|
|
399
399
|
"src": "857:17:63",
|
|
400
400
|
"stateVariable": false,
|
|
401
401
|
"storageLocation": "default",
|
|
@@ -404,7 +404,7 @@
|
|
|
404
404
|
"typeString": "bytes16"
|
|
405
405
|
},
|
|
406
406
|
"typeName": {
|
|
407
|
-
"id":
|
|
407
|
+
"id": 33953,
|
|
408
408
|
"name": "bytes16",
|
|
409
409
|
"nodeType": "ElementaryTypeName",
|
|
410
410
|
"src": "857:7:63",
|
|
@@ -417,12 +417,12 @@
|
|
|
417
417
|
},
|
|
418
418
|
{
|
|
419
419
|
"constant": false,
|
|
420
|
-
"id":
|
|
420
|
+
"id": 33956,
|
|
421
421
|
"mutability": "mutable",
|
|
422
422
|
"name": "name",
|
|
423
423
|
"nameLocation": "888:4:63",
|
|
424
424
|
"nodeType": "VariableDeclaration",
|
|
425
|
-
"scope":
|
|
425
|
+
"scope": 33966,
|
|
426
426
|
"src": "880:12:63",
|
|
427
427
|
"stateVariable": false,
|
|
428
428
|
"storageLocation": "default",
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
"typeString": "bytes16"
|
|
432
432
|
},
|
|
433
433
|
"typeName": {
|
|
434
|
-
"id":
|
|
434
|
+
"id": 33955,
|
|
435
435
|
"name": "bytes16",
|
|
436
436
|
"nodeType": "ElementaryTypeName",
|
|
437
437
|
"src": "880:7:63",
|
|
@@ -444,12 +444,12 @@
|
|
|
444
444
|
},
|
|
445
445
|
{
|
|
446
446
|
"constant": false,
|
|
447
|
-
"id":
|
|
447
|
+
"id": 33959,
|
|
448
448
|
"mutability": "mutable",
|
|
449
449
|
"name": "key",
|
|
450
450
|
"nameLocation": "917:3:63",
|
|
451
451
|
"nodeType": "VariableDeclaration",
|
|
452
|
-
"scope":
|
|
452
|
+
"scope": 33966,
|
|
453
453
|
"src": "898:22:63",
|
|
454
454
|
"stateVariable": false,
|
|
455
455
|
"storageLocation": "calldata",
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
},
|
|
460
460
|
"typeName": {
|
|
461
461
|
"baseType": {
|
|
462
|
-
"id":
|
|
462
|
+
"id": 33957,
|
|
463
463
|
"name": "bytes32",
|
|
464
464
|
"nodeType": "ElementaryTypeName",
|
|
465
465
|
"src": "898:7:63",
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
"typeString": "bytes32"
|
|
469
469
|
}
|
|
470
470
|
},
|
|
471
|
-
"id":
|
|
471
|
+
"id": 33958,
|
|
472
472
|
"nodeType": "ArrayTypeName",
|
|
473
473
|
"src": "898:9:63",
|
|
474
474
|
"typeDescriptions": {
|
|
@@ -480,12 +480,12 @@
|
|
|
480
480
|
},
|
|
481
481
|
{
|
|
482
482
|
"constant": false,
|
|
483
|
-
"id":
|
|
483
|
+
"id": 33961,
|
|
484
484
|
"mutability": "mutable",
|
|
485
485
|
"name": "schemaIndex",
|
|
486
486
|
"nameLocation": "932:11:63",
|
|
487
487
|
"nodeType": "VariableDeclaration",
|
|
488
|
-
"scope":
|
|
488
|
+
"scope": 33966,
|
|
489
489
|
"src": "926:17:63",
|
|
490
490
|
"stateVariable": false,
|
|
491
491
|
"storageLocation": "default",
|
|
@@ -494,7 +494,7 @@
|
|
|
494
494
|
"typeString": "uint8"
|
|
495
495
|
},
|
|
496
496
|
"typeName": {
|
|
497
|
-
"id":
|
|
497
|
+
"id": 33960,
|
|
498
498
|
"name": "uint8",
|
|
499
499
|
"nodeType": "ElementaryTypeName",
|
|
500
500
|
"src": "926:5:63",
|
|
@@ -507,12 +507,12 @@
|
|
|
507
507
|
},
|
|
508
508
|
{
|
|
509
509
|
"constant": false,
|
|
510
|
-
"id":
|
|
510
|
+
"id": 33963,
|
|
511
511
|
"mutability": "mutable",
|
|
512
512
|
"name": "data",
|
|
513
513
|
"nameLocation": "964:4:63",
|
|
514
514
|
"nodeType": "VariableDeclaration",
|
|
515
|
-
"scope":
|
|
515
|
+
"scope": 33966,
|
|
516
516
|
"src": "949:19:63",
|
|
517
517
|
"stateVariable": false,
|
|
518
518
|
"storageLocation": "calldata",
|
|
@@ -521,7 +521,7 @@
|
|
|
521
521
|
"typeString": "bytes"
|
|
522
522
|
},
|
|
523
523
|
"typeName": {
|
|
524
|
-
"id":
|
|
524
|
+
"id": 33962,
|
|
525
525
|
"name": "bytes",
|
|
526
526
|
"nodeType": "ElementaryTypeName",
|
|
527
527
|
"src": "949:5:63",
|
|
@@ -536,23 +536,23 @@
|
|
|
536
536
|
"src": "851:121:63"
|
|
537
537
|
},
|
|
538
538
|
"returnParameters": {
|
|
539
|
-
"id":
|
|
539
|
+
"id": 33965,
|
|
540
540
|
"nodeType": "ParameterList",
|
|
541
541
|
"parameters": [],
|
|
542
542
|
"src": "981:0:63"
|
|
543
543
|
},
|
|
544
|
-
"scope":
|
|
544
|
+
"scope": 34025,
|
|
545
545
|
"stateMutability": "nonpayable",
|
|
546
546
|
"virtual": false,
|
|
547
547
|
"visibility": "external"
|
|
548
548
|
},
|
|
549
549
|
{
|
|
550
|
-
"id":
|
|
550
|
+
"id": 33981,
|
|
551
551
|
"nodeType": "FunctionDefinition",
|
|
552
552
|
"src": "1147:157:63",
|
|
553
553
|
"nodes": [],
|
|
554
554
|
"documentation": {
|
|
555
|
-
"id":
|
|
555
|
+
"id": 33967,
|
|
556
556
|
"nodeType": "StructuredDocumentation",
|
|
557
557
|
"src": "986:158:63",
|
|
558
558
|
"text": " Push data to the end of a field in the table at the given namespace and name.\n Requires the caller to have access to the namespace or name."
|
|
@@ -564,17 +564,17 @@
|
|
|
564
564
|
"name": "pushToField",
|
|
565
565
|
"nameLocation": "1156:11:63",
|
|
566
566
|
"parameters": {
|
|
567
|
-
"id":
|
|
567
|
+
"id": 33979,
|
|
568
568
|
"nodeType": "ParameterList",
|
|
569
569
|
"parameters": [
|
|
570
570
|
{
|
|
571
571
|
"constant": false,
|
|
572
|
-
"id":
|
|
572
|
+
"id": 33969,
|
|
573
573
|
"mutability": "mutable",
|
|
574
574
|
"name": "namespace",
|
|
575
575
|
"nameLocation": "1181:9:63",
|
|
576
576
|
"nodeType": "VariableDeclaration",
|
|
577
|
-
"scope":
|
|
577
|
+
"scope": 33981,
|
|
578
578
|
"src": "1173:17:63",
|
|
579
579
|
"stateVariable": false,
|
|
580
580
|
"storageLocation": "default",
|
|
@@ -583,7 +583,7 @@
|
|
|
583
583
|
"typeString": "bytes16"
|
|
584
584
|
},
|
|
585
585
|
"typeName": {
|
|
586
|
-
"id":
|
|
586
|
+
"id": 33968,
|
|
587
587
|
"name": "bytes16",
|
|
588
588
|
"nodeType": "ElementaryTypeName",
|
|
589
589
|
"src": "1173:7:63",
|
|
@@ -596,12 +596,12 @@
|
|
|
596
596
|
},
|
|
597
597
|
{
|
|
598
598
|
"constant": false,
|
|
599
|
-
"id":
|
|
599
|
+
"id": 33971,
|
|
600
600
|
"mutability": "mutable",
|
|
601
601
|
"name": "name",
|
|
602
602
|
"nameLocation": "1204:4:63",
|
|
603
603
|
"nodeType": "VariableDeclaration",
|
|
604
|
-
"scope":
|
|
604
|
+
"scope": 33981,
|
|
605
605
|
"src": "1196:12:63",
|
|
606
606
|
"stateVariable": false,
|
|
607
607
|
"storageLocation": "default",
|
|
@@ -610,7 +610,7 @@
|
|
|
610
610
|
"typeString": "bytes16"
|
|
611
611
|
},
|
|
612
612
|
"typeName": {
|
|
613
|
-
"id":
|
|
613
|
+
"id": 33970,
|
|
614
614
|
"name": "bytes16",
|
|
615
615
|
"nodeType": "ElementaryTypeName",
|
|
616
616
|
"src": "1196:7:63",
|
|
@@ -623,12 +623,12 @@
|
|
|
623
623
|
},
|
|
624
624
|
{
|
|
625
625
|
"constant": false,
|
|
626
|
-
"id":
|
|
626
|
+
"id": 33974,
|
|
627
627
|
"mutability": "mutable",
|
|
628
628
|
"name": "key",
|
|
629
629
|
"nameLocation": "1233:3:63",
|
|
630
630
|
"nodeType": "VariableDeclaration",
|
|
631
|
-
"scope":
|
|
631
|
+
"scope": 33981,
|
|
632
632
|
"src": "1214:22:63",
|
|
633
633
|
"stateVariable": false,
|
|
634
634
|
"storageLocation": "calldata",
|
|
@@ -638,7 +638,7 @@
|
|
|
638
638
|
},
|
|
639
639
|
"typeName": {
|
|
640
640
|
"baseType": {
|
|
641
|
-
"id":
|
|
641
|
+
"id": 33972,
|
|
642
642
|
"name": "bytes32",
|
|
643
643
|
"nodeType": "ElementaryTypeName",
|
|
644
644
|
"src": "1214:7:63",
|
|
@@ -647,7 +647,7 @@
|
|
|
647
647
|
"typeString": "bytes32"
|
|
648
648
|
}
|
|
649
649
|
},
|
|
650
|
-
"id":
|
|
650
|
+
"id": 33973,
|
|
651
651
|
"nodeType": "ArrayTypeName",
|
|
652
652
|
"src": "1214:9:63",
|
|
653
653
|
"typeDescriptions": {
|
|
@@ -659,12 +659,12 @@
|
|
|
659
659
|
},
|
|
660
660
|
{
|
|
661
661
|
"constant": false,
|
|
662
|
-
"id":
|
|
662
|
+
"id": 33976,
|
|
663
663
|
"mutability": "mutable",
|
|
664
664
|
"name": "schemaIndex",
|
|
665
665
|
"nameLocation": "1248:11:63",
|
|
666
666
|
"nodeType": "VariableDeclaration",
|
|
667
|
-
"scope":
|
|
667
|
+
"scope": 33981,
|
|
668
668
|
"src": "1242:17:63",
|
|
669
669
|
"stateVariable": false,
|
|
670
670
|
"storageLocation": "default",
|
|
@@ -673,7 +673,7 @@
|
|
|
673
673
|
"typeString": "uint8"
|
|
674
674
|
},
|
|
675
675
|
"typeName": {
|
|
676
|
-
"id":
|
|
676
|
+
"id": 33975,
|
|
677
677
|
"name": "uint8",
|
|
678
678
|
"nodeType": "ElementaryTypeName",
|
|
679
679
|
"src": "1242:5:63",
|
|
@@ -686,12 +686,12 @@
|
|
|
686
686
|
},
|
|
687
687
|
{
|
|
688
688
|
"constant": false,
|
|
689
|
-
"id":
|
|
689
|
+
"id": 33978,
|
|
690
690
|
"mutability": "mutable",
|
|
691
691
|
"name": "dataToPush",
|
|
692
692
|
"nameLocation": "1280:10:63",
|
|
693
693
|
"nodeType": "VariableDeclaration",
|
|
694
|
-
"scope":
|
|
694
|
+
"scope": 33981,
|
|
695
695
|
"src": "1265:25:63",
|
|
696
696
|
"stateVariable": false,
|
|
697
697
|
"storageLocation": "calldata",
|
|
@@ -700,7 +700,7 @@
|
|
|
700
700
|
"typeString": "bytes"
|
|
701
701
|
},
|
|
702
702
|
"typeName": {
|
|
703
|
-
"id":
|
|
703
|
+
"id": 33977,
|
|
704
704
|
"name": "bytes",
|
|
705
705
|
"nodeType": "ElementaryTypeName",
|
|
706
706
|
"src": "1265:5:63",
|
|
@@ -715,25 +715,204 @@
|
|
|
715
715
|
"src": "1167:127:63"
|
|
716
716
|
},
|
|
717
717
|
"returnParameters": {
|
|
718
|
-
"id":
|
|
718
|
+
"id": 33980,
|
|
719
719
|
"nodeType": "ParameterList",
|
|
720
720
|
"parameters": [],
|
|
721
721
|
"src": "1303:0:63"
|
|
722
722
|
},
|
|
723
|
-
"scope":
|
|
723
|
+
"scope": 34025,
|
|
724
724
|
"stateMutability": "nonpayable",
|
|
725
725
|
"virtual": false,
|
|
726
726
|
"visibility": "external"
|
|
727
727
|
},
|
|
728
728
|
{
|
|
729
|
-
"id":
|
|
729
|
+
"id": 33996,
|
|
730
730
|
"nodeType": "FunctionDefinition",
|
|
731
|
-
"src": "
|
|
731
|
+
"src": "1470:156:63",
|
|
732
732
|
"nodes": [],
|
|
733
733
|
"documentation": {
|
|
734
|
-
"id":
|
|
734
|
+
"id": 33982,
|
|
735
735
|
"nodeType": "StructuredDocumentation",
|
|
736
|
-
"src": "1308:
|
|
736
|
+
"src": "1308:159:63",
|
|
737
|
+
"text": " Pop data from the end of a field in the table at the given namespace and name.\n Requires the caller to have access to the namespace or name."
|
|
738
|
+
},
|
|
739
|
+
"functionSelector": "77841557",
|
|
740
|
+
"implemented": false,
|
|
741
|
+
"kind": "function",
|
|
742
|
+
"modifiers": [],
|
|
743
|
+
"name": "popFromField",
|
|
744
|
+
"nameLocation": "1479:12:63",
|
|
745
|
+
"parameters": {
|
|
746
|
+
"id": 33994,
|
|
747
|
+
"nodeType": "ParameterList",
|
|
748
|
+
"parameters": [
|
|
749
|
+
{
|
|
750
|
+
"constant": false,
|
|
751
|
+
"id": 33984,
|
|
752
|
+
"mutability": "mutable",
|
|
753
|
+
"name": "namespace",
|
|
754
|
+
"nameLocation": "1505:9:63",
|
|
755
|
+
"nodeType": "VariableDeclaration",
|
|
756
|
+
"scope": 33996,
|
|
757
|
+
"src": "1497:17:63",
|
|
758
|
+
"stateVariable": false,
|
|
759
|
+
"storageLocation": "default",
|
|
760
|
+
"typeDescriptions": {
|
|
761
|
+
"typeIdentifier": "t_bytes16",
|
|
762
|
+
"typeString": "bytes16"
|
|
763
|
+
},
|
|
764
|
+
"typeName": {
|
|
765
|
+
"id": 33983,
|
|
766
|
+
"name": "bytes16",
|
|
767
|
+
"nodeType": "ElementaryTypeName",
|
|
768
|
+
"src": "1497:7:63",
|
|
769
|
+
"typeDescriptions": {
|
|
770
|
+
"typeIdentifier": "t_bytes16",
|
|
771
|
+
"typeString": "bytes16"
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
"visibility": "internal"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"constant": false,
|
|
778
|
+
"id": 33986,
|
|
779
|
+
"mutability": "mutable",
|
|
780
|
+
"name": "name",
|
|
781
|
+
"nameLocation": "1528:4:63",
|
|
782
|
+
"nodeType": "VariableDeclaration",
|
|
783
|
+
"scope": 33996,
|
|
784
|
+
"src": "1520:12:63",
|
|
785
|
+
"stateVariable": false,
|
|
786
|
+
"storageLocation": "default",
|
|
787
|
+
"typeDescriptions": {
|
|
788
|
+
"typeIdentifier": "t_bytes16",
|
|
789
|
+
"typeString": "bytes16"
|
|
790
|
+
},
|
|
791
|
+
"typeName": {
|
|
792
|
+
"id": 33985,
|
|
793
|
+
"name": "bytes16",
|
|
794
|
+
"nodeType": "ElementaryTypeName",
|
|
795
|
+
"src": "1520:7:63",
|
|
796
|
+
"typeDescriptions": {
|
|
797
|
+
"typeIdentifier": "t_bytes16",
|
|
798
|
+
"typeString": "bytes16"
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"visibility": "internal"
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"constant": false,
|
|
805
|
+
"id": 33989,
|
|
806
|
+
"mutability": "mutable",
|
|
807
|
+
"name": "key",
|
|
808
|
+
"nameLocation": "1557:3:63",
|
|
809
|
+
"nodeType": "VariableDeclaration",
|
|
810
|
+
"scope": 33996,
|
|
811
|
+
"src": "1538:22:63",
|
|
812
|
+
"stateVariable": false,
|
|
813
|
+
"storageLocation": "calldata",
|
|
814
|
+
"typeDescriptions": {
|
|
815
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr",
|
|
816
|
+
"typeString": "bytes32[]"
|
|
817
|
+
},
|
|
818
|
+
"typeName": {
|
|
819
|
+
"baseType": {
|
|
820
|
+
"id": 33987,
|
|
821
|
+
"name": "bytes32",
|
|
822
|
+
"nodeType": "ElementaryTypeName",
|
|
823
|
+
"src": "1538:7:63",
|
|
824
|
+
"typeDescriptions": {
|
|
825
|
+
"typeIdentifier": "t_bytes32",
|
|
826
|
+
"typeString": "bytes32"
|
|
827
|
+
}
|
|
828
|
+
},
|
|
829
|
+
"id": 33988,
|
|
830
|
+
"nodeType": "ArrayTypeName",
|
|
831
|
+
"src": "1538:9:63",
|
|
832
|
+
"typeDescriptions": {
|
|
833
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
834
|
+
"typeString": "bytes32[]"
|
|
835
|
+
}
|
|
836
|
+
},
|
|
837
|
+
"visibility": "internal"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"constant": false,
|
|
841
|
+
"id": 33991,
|
|
842
|
+
"mutability": "mutable",
|
|
843
|
+
"name": "schemaIndex",
|
|
844
|
+
"nameLocation": "1572:11:63",
|
|
845
|
+
"nodeType": "VariableDeclaration",
|
|
846
|
+
"scope": 33996,
|
|
847
|
+
"src": "1566:17:63",
|
|
848
|
+
"stateVariable": false,
|
|
849
|
+
"storageLocation": "default",
|
|
850
|
+
"typeDescriptions": {
|
|
851
|
+
"typeIdentifier": "t_uint8",
|
|
852
|
+
"typeString": "uint8"
|
|
853
|
+
},
|
|
854
|
+
"typeName": {
|
|
855
|
+
"id": 33990,
|
|
856
|
+
"name": "uint8",
|
|
857
|
+
"nodeType": "ElementaryTypeName",
|
|
858
|
+
"src": "1566:5:63",
|
|
859
|
+
"typeDescriptions": {
|
|
860
|
+
"typeIdentifier": "t_uint8",
|
|
861
|
+
"typeString": "uint8"
|
|
862
|
+
}
|
|
863
|
+
},
|
|
864
|
+
"visibility": "internal"
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"constant": false,
|
|
868
|
+
"id": 33993,
|
|
869
|
+
"mutability": "mutable",
|
|
870
|
+
"name": "byteLengthToPop",
|
|
871
|
+
"nameLocation": "1597:15:63",
|
|
872
|
+
"nodeType": "VariableDeclaration",
|
|
873
|
+
"scope": 33996,
|
|
874
|
+
"src": "1589:23:63",
|
|
875
|
+
"stateVariable": false,
|
|
876
|
+
"storageLocation": "default",
|
|
877
|
+
"typeDescriptions": {
|
|
878
|
+
"typeIdentifier": "t_uint256",
|
|
879
|
+
"typeString": "uint256"
|
|
880
|
+
},
|
|
881
|
+
"typeName": {
|
|
882
|
+
"id": 33992,
|
|
883
|
+
"name": "uint256",
|
|
884
|
+
"nodeType": "ElementaryTypeName",
|
|
885
|
+
"src": "1589:7:63",
|
|
886
|
+
"typeDescriptions": {
|
|
887
|
+
"typeIdentifier": "t_uint256",
|
|
888
|
+
"typeString": "uint256"
|
|
889
|
+
}
|
|
890
|
+
},
|
|
891
|
+
"visibility": "internal"
|
|
892
|
+
}
|
|
893
|
+
],
|
|
894
|
+
"src": "1491:125:63"
|
|
895
|
+
},
|
|
896
|
+
"returnParameters": {
|
|
897
|
+
"id": 33995,
|
|
898
|
+
"nodeType": "ParameterList",
|
|
899
|
+
"parameters": [],
|
|
900
|
+
"src": "1625:0:63"
|
|
901
|
+
},
|
|
902
|
+
"scope": 34025,
|
|
903
|
+
"stateMutability": "nonpayable",
|
|
904
|
+
"virtual": false,
|
|
905
|
+
"visibility": "external"
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"id": 34013,
|
|
909
|
+
"nodeType": "FunctionDefinition",
|
|
910
|
+
"src": "1802:186:63",
|
|
911
|
+
"nodes": [],
|
|
912
|
+
"documentation": {
|
|
913
|
+
"id": 33997,
|
|
914
|
+
"nodeType": "StructuredDocumentation",
|
|
915
|
+
"src": "1630:169:63",
|
|
737
916
|
"text": " Update data at `startByteIndex` of a field in the table at the given namespace and name.\n Requires the caller to have access to the namespace or name."
|
|
738
917
|
},
|
|
739
918
|
"functionSelector": "d491953a",
|
|
@@ -741,20 +920,20 @@
|
|
|
741
920
|
"kind": "function",
|
|
742
921
|
"modifiers": [],
|
|
743
922
|
"name": "updateInField",
|
|
744
|
-
"nameLocation": "
|
|
923
|
+
"nameLocation": "1811:13:63",
|
|
745
924
|
"parameters": {
|
|
746
|
-
"id":
|
|
925
|
+
"id": 34011,
|
|
747
926
|
"nodeType": "ParameterList",
|
|
748
927
|
"parameters": [
|
|
749
928
|
{
|
|
750
929
|
"constant": false,
|
|
751
|
-
"id":
|
|
930
|
+
"id": 33999,
|
|
752
931
|
"mutability": "mutable",
|
|
753
932
|
"name": "namespace",
|
|
754
|
-
"nameLocation": "
|
|
933
|
+
"nameLocation": "1838:9:63",
|
|
755
934
|
"nodeType": "VariableDeclaration",
|
|
756
|
-
"scope":
|
|
757
|
-
"src": "
|
|
935
|
+
"scope": 34013,
|
|
936
|
+
"src": "1830:17:63",
|
|
758
937
|
"stateVariable": false,
|
|
759
938
|
"storageLocation": "default",
|
|
760
939
|
"typeDescriptions": {
|
|
@@ -762,10 +941,10 @@
|
|
|
762
941
|
"typeString": "bytes16"
|
|
763
942
|
},
|
|
764
943
|
"typeName": {
|
|
765
|
-
"id":
|
|
944
|
+
"id": 33998,
|
|
766
945
|
"name": "bytes16",
|
|
767
946
|
"nodeType": "ElementaryTypeName",
|
|
768
|
-
"src": "
|
|
947
|
+
"src": "1830:7:63",
|
|
769
948
|
"typeDescriptions": {
|
|
770
949
|
"typeIdentifier": "t_bytes16",
|
|
771
950
|
"typeString": "bytes16"
|
|
@@ -775,13 +954,13 @@
|
|
|
775
954
|
},
|
|
776
955
|
{
|
|
777
956
|
"constant": false,
|
|
778
|
-
"id":
|
|
957
|
+
"id": 34001,
|
|
779
958
|
"mutability": "mutable",
|
|
780
959
|
"name": "name",
|
|
781
|
-
"nameLocation": "
|
|
960
|
+
"nameLocation": "1861:4:63",
|
|
782
961
|
"nodeType": "VariableDeclaration",
|
|
783
|
-
"scope":
|
|
784
|
-
"src": "
|
|
962
|
+
"scope": 34013,
|
|
963
|
+
"src": "1853:12:63",
|
|
785
964
|
"stateVariable": false,
|
|
786
965
|
"storageLocation": "default",
|
|
787
966
|
"typeDescriptions": {
|
|
@@ -789,10 +968,10 @@
|
|
|
789
968
|
"typeString": "bytes16"
|
|
790
969
|
},
|
|
791
970
|
"typeName": {
|
|
792
|
-
"id":
|
|
971
|
+
"id": 34000,
|
|
793
972
|
"name": "bytes16",
|
|
794
973
|
"nodeType": "ElementaryTypeName",
|
|
795
|
-
"src": "
|
|
974
|
+
"src": "1853:7:63",
|
|
796
975
|
"typeDescriptions": {
|
|
797
976
|
"typeIdentifier": "t_bytes16",
|
|
798
977
|
"typeString": "bytes16"
|
|
@@ -802,13 +981,13 @@
|
|
|
802
981
|
},
|
|
803
982
|
{
|
|
804
983
|
"constant": false,
|
|
805
|
-
"id":
|
|
984
|
+
"id": 34004,
|
|
806
985
|
"mutability": "mutable",
|
|
807
986
|
"name": "key",
|
|
808
|
-
"nameLocation": "
|
|
987
|
+
"nameLocation": "1890:3:63",
|
|
809
988
|
"nodeType": "VariableDeclaration",
|
|
810
|
-
"scope":
|
|
811
|
-
"src": "
|
|
989
|
+
"scope": 34013,
|
|
990
|
+
"src": "1871:22:63",
|
|
812
991
|
"stateVariable": false,
|
|
813
992
|
"storageLocation": "calldata",
|
|
814
993
|
"typeDescriptions": {
|
|
@@ -817,18 +996,18 @@
|
|
|
817
996
|
},
|
|
818
997
|
"typeName": {
|
|
819
998
|
"baseType": {
|
|
820
|
-
"id":
|
|
999
|
+
"id": 34002,
|
|
821
1000
|
"name": "bytes32",
|
|
822
1001
|
"nodeType": "ElementaryTypeName",
|
|
823
|
-
"src": "
|
|
1002
|
+
"src": "1871:7:63",
|
|
824
1003
|
"typeDescriptions": {
|
|
825
1004
|
"typeIdentifier": "t_bytes32",
|
|
826
1005
|
"typeString": "bytes32"
|
|
827
1006
|
}
|
|
828
1007
|
},
|
|
829
|
-
"id":
|
|
1008
|
+
"id": 34003,
|
|
830
1009
|
"nodeType": "ArrayTypeName",
|
|
831
|
-
"src": "
|
|
1010
|
+
"src": "1871:9:63",
|
|
832
1011
|
"typeDescriptions": {
|
|
833
1012
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
834
1013
|
"typeString": "bytes32[]"
|
|
@@ -838,13 +1017,13 @@
|
|
|
838
1017
|
},
|
|
839
1018
|
{
|
|
840
1019
|
"constant": false,
|
|
841
|
-
"id":
|
|
1020
|
+
"id": 34006,
|
|
842
1021
|
"mutability": "mutable",
|
|
843
1022
|
"name": "schemaIndex",
|
|
844
|
-
"nameLocation": "
|
|
1023
|
+
"nameLocation": "1905:11:63",
|
|
845
1024
|
"nodeType": "VariableDeclaration",
|
|
846
|
-
"scope":
|
|
847
|
-
"src": "
|
|
1025
|
+
"scope": 34013,
|
|
1026
|
+
"src": "1899:17:63",
|
|
848
1027
|
"stateVariable": false,
|
|
849
1028
|
"storageLocation": "default",
|
|
850
1029
|
"typeDescriptions": {
|
|
@@ -852,10 +1031,10 @@
|
|
|
852
1031
|
"typeString": "uint8"
|
|
853
1032
|
},
|
|
854
1033
|
"typeName": {
|
|
855
|
-
"id":
|
|
1034
|
+
"id": 34005,
|
|
856
1035
|
"name": "uint8",
|
|
857
1036
|
"nodeType": "ElementaryTypeName",
|
|
858
|
-
"src": "
|
|
1037
|
+
"src": "1899:5:63",
|
|
859
1038
|
"typeDescriptions": {
|
|
860
1039
|
"typeIdentifier": "t_uint8",
|
|
861
1040
|
"typeString": "uint8"
|
|
@@ -865,13 +1044,13 @@
|
|
|
865
1044
|
},
|
|
866
1045
|
{
|
|
867
1046
|
"constant": false,
|
|
868
|
-
"id":
|
|
1047
|
+
"id": 34008,
|
|
869
1048
|
"mutability": "mutable",
|
|
870
1049
|
"name": "startByteIndex",
|
|
871
|
-
"nameLocation": "
|
|
1050
|
+
"nameLocation": "1930:14:63",
|
|
872
1051
|
"nodeType": "VariableDeclaration",
|
|
873
|
-
"scope":
|
|
874
|
-
"src": "
|
|
1052
|
+
"scope": 34013,
|
|
1053
|
+
"src": "1922:22:63",
|
|
875
1054
|
"stateVariable": false,
|
|
876
1055
|
"storageLocation": "default",
|
|
877
1056
|
"typeDescriptions": {
|
|
@@ -879,10 +1058,10 @@
|
|
|
879
1058
|
"typeString": "uint256"
|
|
880
1059
|
},
|
|
881
1060
|
"typeName": {
|
|
882
|
-
"id":
|
|
1061
|
+
"id": 34007,
|
|
883
1062
|
"name": "uint256",
|
|
884
1063
|
"nodeType": "ElementaryTypeName",
|
|
885
|
-
"src": "
|
|
1064
|
+
"src": "1922:7:63",
|
|
886
1065
|
"typeDescriptions": {
|
|
887
1066
|
"typeIdentifier": "t_uint256",
|
|
888
1067
|
"typeString": "uint256"
|
|
@@ -892,13 +1071,13 @@
|
|
|
892
1071
|
},
|
|
893
1072
|
{
|
|
894
1073
|
"constant": false,
|
|
895
|
-
"id":
|
|
1074
|
+
"id": 34010,
|
|
896
1075
|
"mutability": "mutable",
|
|
897
1076
|
"name": "dataToSet",
|
|
898
|
-
"nameLocation": "
|
|
1077
|
+
"nameLocation": "1965:9:63",
|
|
899
1078
|
"nodeType": "VariableDeclaration",
|
|
900
|
-
"scope":
|
|
901
|
-
"src": "
|
|
1079
|
+
"scope": 34013,
|
|
1080
|
+
"src": "1950:24:63",
|
|
902
1081
|
"stateVariable": false,
|
|
903
1082
|
"storageLocation": "calldata",
|
|
904
1083
|
"typeDescriptions": {
|
|
@@ -906,10 +1085,10 @@
|
|
|
906
1085
|
"typeString": "bytes"
|
|
907
1086
|
},
|
|
908
1087
|
"typeName": {
|
|
909
|
-
"id":
|
|
1088
|
+
"id": 34009,
|
|
910
1089
|
"name": "bytes",
|
|
911
1090
|
"nodeType": "ElementaryTypeName",
|
|
912
|
-
"src": "
|
|
1091
|
+
"src": "1950:5:63",
|
|
913
1092
|
"typeDescriptions": {
|
|
914
1093
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
915
1094
|
"typeString": "bytes"
|
|
@@ -918,28 +1097,28 @@
|
|
|
918
1097
|
"visibility": "internal"
|
|
919
1098
|
}
|
|
920
1099
|
],
|
|
921
|
-
"src": "
|
|
1100
|
+
"src": "1824:154:63"
|
|
922
1101
|
},
|
|
923
1102
|
"returnParameters": {
|
|
924
|
-
"id":
|
|
1103
|
+
"id": 34012,
|
|
925
1104
|
"nodeType": "ParameterList",
|
|
926
1105
|
"parameters": [],
|
|
927
|
-
"src": "
|
|
1106
|
+
"src": "1987:0:63"
|
|
928
1107
|
},
|
|
929
|
-
"scope":
|
|
1108
|
+
"scope": 34025,
|
|
930
1109
|
"stateMutability": "nonpayable",
|
|
931
1110
|
"virtual": false,
|
|
932
1111
|
"visibility": "external"
|
|
933
1112
|
},
|
|
934
1113
|
{
|
|
935
|
-
"id":
|
|
1114
|
+
"id": 34024,
|
|
936
1115
|
"nodeType": "FunctionDefinition",
|
|
937
|
-
"src": "
|
|
1116
|
+
"src": "2137:88:63",
|
|
938
1117
|
"nodes": [],
|
|
939
1118
|
"documentation": {
|
|
940
|
-
"id":
|
|
1119
|
+
"id": 34014,
|
|
941
1120
|
"nodeType": "StructuredDocumentation",
|
|
942
|
-
"src": "
|
|
1121
|
+
"src": "1992:142:63",
|
|
943
1122
|
"text": " Delete a record in the table at the given namespace and name.\n Requires the caller to have access to the namespace or name."
|
|
944
1123
|
},
|
|
945
1124
|
"functionSelector": "e3f8cc6b",
|
|
@@ -947,20 +1126,20 @@
|
|
|
947
1126
|
"kind": "function",
|
|
948
1127
|
"modifiers": [],
|
|
949
1128
|
"name": "deleteRecord",
|
|
950
|
-
"nameLocation": "
|
|
1129
|
+
"nameLocation": "2146:12:63",
|
|
951
1130
|
"parameters": {
|
|
952
|
-
"id":
|
|
1131
|
+
"id": 34022,
|
|
953
1132
|
"nodeType": "ParameterList",
|
|
954
1133
|
"parameters": [
|
|
955
1134
|
{
|
|
956
1135
|
"constant": false,
|
|
957
|
-
"id":
|
|
1136
|
+
"id": 34016,
|
|
958
1137
|
"mutability": "mutable",
|
|
959
1138
|
"name": "namespace",
|
|
960
|
-
"nameLocation": "
|
|
1139
|
+
"nameLocation": "2167:9:63",
|
|
961
1140
|
"nodeType": "VariableDeclaration",
|
|
962
|
-
"scope":
|
|
963
|
-
"src": "
|
|
1141
|
+
"scope": 34024,
|
|
1142
|
+
"src": "2159:17:63",
|
|
964
1143
|
"stateVariable": false,
|
|
965
1144
|
"storageLocation": "default",
|
|
966
1145
|
"typeDescriptions": {
|
|
@@ -968,10 +1147,10 @@
|
|
|
968
1147
|
"typeString": "bytes16"
|
|
969
1148
|
},
|
|
970
1149
|
"typeName": {
|
|
971
|
-
"id":
|
|
1150
|
+
"id": 34015,
|
|
972
1151
|
"name": "bytes16",
|
|
973
1152
|
"nodeType": "ElementaryTypeName",
|
|
974
|
-
"src": "
|
|
1153
|
+
"src": "2159:7:63",
|
|
975
1154
|
"typeDescriptions": {
|
|
976
1155
|
"typeIdentifier": "t_bytes16",
|
|
977
1156
|
"typeString": "bytes16"
|
|
@@ -981,13 +1160,13 @@
|
|
|
981
1160
|
},
|
|
982
1161
|
{
|
|
983
1162
|
"constant": false,
|
|
984
|
-
"id":
|
|
1163
|
+
"id": 34018,
|
|
985
1164
|
"mutability": "mutable",
|
|
986
1165
|
"name": "name",
|
|
987
|
-
"nameLocation": "
|
|
1166
|
+
"nameLocation": "2186:4:63",
|
|
988
1167
|
"nodeType": "VariableDeclaration",
|
|
989
|
-
"scope":
|
|
990
|
-
"src": "
|
|
1168
|
+
"scope": 34024,
|
|
1169
|
+
"src": "2178:12:63",
|
|
991
1170
|
"stateVariable": false,
|
|
992
1171
|
"storageLocation": "default",
|
|
993
1172
|
"typeDescriptions": {
|
|
@@ -995,10 +1174,10 @@
|
|
|
995
1174
|
"typeString": "bytes16"
|
|
996
1175
|
},
|
|
997
1176
|
"typeName": {
|
|
998
|
-
"id":
|
|
1177
|
+
"id": 34017,
|
|
999
1178
|
"name": "bytes16",
|
|
1000
1179
|
"nodeType": "ElementaryTypeName",
|
|
1001
|
-
"src": "
|
|
1180
|
+
"src": "2178:7:63",
|
|
1002
1181
|
"typeDescriptions": {
|
|
1003
1182
|
"typeIdentifier": "t_bytes16",
|
|
1004
1183
|
"typeString": "bytes16"
|
|
@@ -1008,13 +1187,13 @@
|
|
|
1008
1187
|
},
|
|
1009
1188
|
{
|
|
1010
1189
|
"constant": false,
|
|
1011
|
-
"id":
|
|
1190
|
+
"id": 34021,
|
|
1012
1191
|
"mutability": "mutable",
|
|
1013
1192
|
"name": "key",
|
|
1014
|
-
"nameLocation": "
|
|
1193
|
+
"nameLocation": "2211:3:63",
|
|
1015
1194
|
"nodeType": "VariableDeclaration",
|
|
1016
|
-
"scope":
|
|
1017
|
-
"src": "
|
|
1195
|
+
"scope": 34024,
|
|
1196
|
+
"src": "2192:22:63",
|
|
1018
1197
|
"stateVariable": false,
|
|
1019
1198
|
"storageLocation": "calldata",
|
|
1020
1199
|
"typeDescriptions": {
|
|
@@ -1023,18 +1202,18 @@
|
|
|
1023
1202
|
},
|
|
1024
1203
|
"typeName": {
|
|
1025
1204
|
"baseType": {
|
|
1026
|
-
"id":
|
|
1205
|
+
"id": 34019,
|
|
1027
1206
|
"name": "bytes32",
|
|
1028
1207
|
"nodeType": "ElementaryTypeName",
|
|
1029
|
-
"src": "
|
|
1208
|
+
"src": "2192:7:63",
|
|
1030
1209
|
"typeDescriptions": {
|
|
1031
1210
|
"typeIdentifier": "t_bytes32",
|
|
1032
1211
|
"typeString": "bytes32"
|
|
1033
1212
|
}
|
|
1034
1213
|
},
|
|
1035
|
-
"id":
|
|
1214
|
+
"id": 34020,
|
|
1036
1215
|
"nodeType": "ArrayTypeName",
|
|
1037
|
-
"src": "
|
|
1216
|
+
"src": "2192:9:63",
|
|
1038
1217
|
"typeDescriptions": {
|
|
1039
1218
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1040
1219
|
"typeString": "bytes32[]"
|
|
@@ -1043,15 +1222,15 @@
|
|
|
1043
1222
|
"visibility": "internal"
|
|
1044
1223
|
}
|
|
1045
1224
|
],
|
|
1046
|
-
"src": "
|
|
1225
|
+
"src": "2158:57:63"
|
|
1047
1226
|
},
|
|
1048
1227
|
"returnParameters": {
|
|
1049
|
-
"id":
|
|
1228
|
+
"id": 34023,
|
|
1050
1229
|
"nodeType": "ParameterList",
|
|
1051
1230
|
"parameters": [],
|
|
1052
|
-
"src": "
|
|
1231
|
+
"src": "2224:0:63"
|
|
1053
1232
|
},
|
|
1054
|
-
"scope":
|
|
1233
|
+
"scope": 34025,
|
|
1055
1234
|
"stateMutability": "nonpayable",
|
|
1056
1235
|
"virtual": false,
|
|
1057
1236
|
"visibility": "external"
|
|
@@ -1063,34 +1242,34 @@
|
|
|
1063
1242
|
"contractDependencies": [],
|
|
1064
1243
|
"contractKind": "interface",
|
|
1065
1244
|
"documentation": {
|
|
1066
|
-
"id":
|
|
1245
|
+
"id": 33938,
|
|
1067
1246
|
"nodeType": "StructuredDocumentation",
|
|
1068
1247
|
"src": "141:270:63",
|
|
1069
1248
|
"text": " The IWorldData interface includes methods for reading and writing table values.\n These methods are frequently invoked during runtime, so it is essential to prioritize\n optimizing their gas cost, and they are part of the World contract's internal bytecode."
|
|
1070
1249
|
},
|
|
1071
1250
|
"fullyImplemented": false,
|
|
1072
1251
|
"linearizedBaseContracts": [
|
|
1073
|
-
|
|
1252
|
+
34025
|
|
1074
1253
|
],
|
|
1075
1254
|
"name": "IWorldData",
|
|
1076
1255
|
"nameLocation": "422:10:63",
|
|
1077
|
-
"scope":
|
|
1256
|
+
"scope": 34059,
|
|
1078
1257
|
"usedErrors": []
|
|
1079
1258
|
},
|
|
1080
1259
|
{
|
|
1081
|
-
"id":
|
|
1260
|
+
"id": 34035,
|
|
1082
1261
|
"nodeType": "ContractDefinition",
|
|
1083
|
-
"src": "
|
|
1262
|
+
"src": "2229:296:63",
|
|
1084
1263
|
"nodes": [
|
|
1085
1264
|
{
|
|
1086
|
-
"id":
|
|
1265
|
+
"id": 34034,
|
|
1087
1266
|
"nodeType": "FunctionDefinition",
|
|
1088
|
-
"src": "
|
|
1267
|
+
"src": "2452:71:63",
|
|
1089
1268
|
"nodes": [],
|
|
1090
1269
|
"documentation": {
|
|
1091
|
-
"id":
|
|
1270
|
+
"id": 34026,
|
|
1092
1271
|
"nodeType": "StructuredDocumentation",
|
|
1093
|
-
"src": "
|
|
1272
|
+
"src": "2268:181:63",
|
|
1094
1273
|
"text": " Install the given root module in the World.\n Requires the caller to own the root namespace.\n The module is delegatecalled and installed in the root namespace."
|
|
1095
1274
|
},
|
|
1096
1275
|
"functionSelector": "af068c9e",
|
|
@@ -1098,40 +1277,40 @@
|
|
|
1098
1277
|
"kind": "function",
|
|
1099
1278
|
"modifiers": [],
|
|
1100
1279
|
"name": "installRootModule",
|
|
1101
|
-
"nameLocation": "
|
|
1280
|
+
"nameLocation": "2461:17:63",
|
|
1102
1281
|
"parameters": {
|
|
1103
|
-
"id":
|
|
1282
|
+
"id": 34032,
|
|
1104
1283
|
"nodeType": "ParameterList",
|
|
1105
1284
|
"parameters": [
|
|
1106
1285
|
{
|
|
1107
1286
|
"constant": false,
|
|
1108
|
-
"id":
|
|
1287
|
+
"id": 34029,
|
|
1109
1288
|
"mutability": "mutable",
|
|
1110
1289
|
"name": "module",
|
|
1111
|
-
"nameLocation": "
|
|
1290
|
+
"nameLocation": "2487:6:63",
|
|
1112
1291
|
"nodeType": "VariableDeclaration",
|
|
1113
|
-
"scope":
|
|
1114
|
-
"src": "
|
|
1292
|
+
"scope": 34034,
|
|
1293
|
+
"src": "2479:14:63",
|
|
1115
1294
|
"stateVariable": false,
|
|
1116
1295
|
"storageLocation": "default",
|
|
1117
1296
|
"typeDescriptions": {
|
|
1118
|
-
"typeIdentifier": "t_contract$_IModule_$
|
|
1297
|
+
"typeIdentifier": "t_contract$_IModule_$33863",
|
|
1119
1298
|
"typeString": "contract IModule"
|
|
1120
1299
|
},
|
|
1121
1300
|
"typeName": {
|
|
1122
|
-
"id":
|
|
1301
|
+
"id": 34028,
|
|
1123
1302
|
"nodeType": "UserDefinedTypeName",
|
|
1124
1303
|
"pathNode": {
|
|
1125
|
-
"id":
|
|
1304
|
+
"id": 34027,
|
|
1126
1305
|
"name": "IModule",
|
|
1127
1306
|
"nodeType": "IdentifierPath",
|
|
1128
|
-
"referencedDeclaration":
|
|
1129
|
-
"src": "
|
|
1307
|
+
"referencedDeclaration": 33863,
|
|
1308
|
+
"src": "2479:7:63"
|
|
1130
1309
|
},
|
|
1131
|
-
"referencedDeclaration":
|
|
1132
|
-
"src": "
|
|
1310
|
+
"referencedDeclaration": 33863,
|
|
1311
|
+
"src": "2479:7:63",
|
|
1133
1312
|
"typeDescriptions": {
|
|
1134
|
-
"typeIdentifier": "t_contract$_IModule_$
|
|
1313
|
+
"typeIdentifier": "t_contract$_IModule_$33863",
|
|
1135
1314
|
"typeString": "contract IModule"
|
|
1136
1315
|
}
|
|
1137
1316
|
},
|
|
@@ -1139,13 +1318,13 @@
|
|
|
1139
1318
|
},
|
|
1140
1319
|
{
|
|
1141
1320
|
"constant": false,
|
|
1142
|
-
"id":
|
|
1321
|
+
"id": 34031,
|
|
1143
1322
|
"mutability": "mutable",
|
|
1144
1323
|
"name": "args",
|
|
1145
|
-
"nameLocation": "
|
|
1324
|
+
"nameLocation": "2508:4:63",
|
|
1146
1325
|
"nodeType": "VariableDeclaration",
|
|
1147
|
-
"scope":
|
|
1148
|
-
"src": "
|
|
1326
|
+
"scope": 34034,
|
|
1327
|
+
"src": "2495:17:63",
|
|
1149
1328
|
"stateVariable": false,
|
|
1150
1329
|
"storageLocation": "memory",
|
|
1151
1330
|
"typeDescriptions": {
|
|
@@ -1153,10 +1332,10 @@
|
|
|
1153
1332
|
"typeString": "bytes"
|
|
1154
1333
|
},
|
|
1155
1334
|
"typeName": {
|
|
1156
|
-
"id":
|
|
1335
|
+
"id": 34030,
|
|
1157
1336
|
"name": "bytes",
|
|
1158
1337
|
"nodeType": "ElementaryTypeName",
|
|
1159
|
-
"src": "
|
|
1338
|
+
"src": "2495:5:63",
|
|
1160
1339
|
"typeDescriptions": {
|
|
1161
1340
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1162
1341
|
"typeString": "bytes"
|
|
@@ -1165,15 +1344,15 @@
|
|
|
1165
1344
|
"visibility": "internal"
|
|
1166
1345
|
}
|
|
1167
1346
|
],
|
|
1168
|
-
"src": "
|
|
1347
|
+
"src": "2478:35:63"
|
|
1169
1348
|
},
|
|
1170
1349
|
"returnParameters": {
|
|
1171
|
-
"id":
|
|
1350
|
+
"id": 34033,
|
|
1172
1351
|
"nodeType": "ParameterList",
|
|
1173
1352
|
"parameters": [],
|
|
1174
|
-
"src": "
|
|
1353
|
+
"src": "2522:0:63"
|
|
1175
1354
|
},
|
|
1176
|
-
"scope":
|
|
1355
|
+
"scope": 34035,
|
|
1177
1356
|
"stateMutability": "nonpayable",
|
|
1178
1357
|
"virtual": false,
|
|
1179
1358
|
"visibility": "external"
|
|
@@ -1186,27 +1365,27 @@
|
|
|
1186
1365
|
"contractKind": "interface",
|
|
1187
1366
|
"fullyImplemented": false,
|
|
1188
1367
|
"linearizedBaseContracts": [
|
|
1189
|
-
|
|
1368
|
+
34035
|
|
1190
1369
|
],
|
|
1191
1370
|
"name": "IWorldModuleInstallation",
|
|
1192
|
-
"nameLocation": "
|
|
1193
|
-
"scope":
|
|
1371
|
+
"nameLocation": "2239:24:63",
|
|
1372
|
+
"scope": 34059,
|
|
1194
1373
|
"usedErrors": []
|
|
1195
1374
|
},
|
|
1196
1375
|
{
|
|
1197
|
-
"id":
|
|
1376
|
+
"id": 34048,
|
|
1198
1377
|
"nodeType": "ContractDefinition",
|
|
1199
|
-
"src": "
|
|
1378
|
+
"src": "2527:318:63",
|
|
1200
1379
|
"nodes": [
|
|
1201
1380
|
{
|
|
1202
|
-
"id":
|
|
1381
|
+
"id": 34047,
|
|
1203
1382
|
"nodeType": "FunctionDefinition",
|
|
1204
|
-
"src": "
|
|
1383
|
+
"src": "2706:137:63",
|
|
1205
1384
|
"nodes": [],
|
|
1206
1385
|
"documentation": {
|
|
1207
|
-
"id":
|
|
1386
|
+
"id": 34036,
|
|
1208
1387
|
"nodeType": "StructuredDocumentation",
|
|
1209
|
-
"src": "
|
|
1388
|
+
"src": "2552:151:63",
|
|
1210
1389
|
"text": " Call the system at the given namespace and name.\n If the system is not public, the caller must have access to the namespace or name."
|
|
1211
1390
|
},
|
|
1212
1391
|
"functionSelector": "832f05f4",
|
|
@@ -1214,20 +1393,20 @@
|
|
|
1214
1393
|
"kind": "function",
|
|
1215
1394
|
"modifiers": [],
|
|
1216
1395
|
"name": "call",
|
|
1217
|
-
"nameLocation": "
|
|
1396
|
+
"nameLocation": "2715:4:63",
|
|
1218
1397
|
"parameters": {
|
|
1219
|
-
"id":
|
|
1398
|
+
"id": 34043,
|
|
1220
1399
|
"nodeType": "ParameterList",
|
|
1221
1400
|
"parameters": [
|
|
1222
1401
|
{
|
|
1223
1402
|
"constant": false,
|
|
1224
|
-
"id":
|
|
1403
|
+
"id": 34038,
|
|
1225
1404
|
"mutability": "mutable",
|
|
1226
1405
|
"name": "namespace",
|
|
1227
|
-
"nameLocation": "
|
|
1406
|
+
"nameLocation": "2733:9:63",
|
|
1228
1407
|
"nodeType": "VariableDeclaration",
|
|
1229
|
-
"scope":
|
|
1230
|
-
"src": "
|
|
1408
|
+
"scope": 34047,
|
|
1409
|
+
"src": "2725:17:63",
|
|
1231
1410
|
"stateVariable": false,
|
|
1232
1411
|
"storageLocation": "default",
|
|
1233
1412
|
"typeDescriptions": {
|
|
@@ -1235,10 +1414,10 @@
|
|
|
1235
1414
|
"typeString": "bytes16"
|
|
1236
1415
|
},
|
|
1237
1416
|
"typeName": {
|
|
1238
|
-
"id":
|
|
1417
|
+
"id": 34037,
|
|
1239
1418
|
"name": "bytes16",
|
|
1240
1419
|
"nodeType": "ElementaryTypeName",
|
|
1241
|
-
"src": "
|
|
1420
|
+
"src": "2725:7:63",
|
|
1242
1421
|
"typeDescriptions": {
|
|
1243
1422
|
"typeIdentifier": "t_bytes16",
|
|
1244
1423
|
"typeString": "bytes16"
|
|
@@ -1248,13 +1427,13 @@
|
|
|
1248
1427
|
},
|
|
1249
1428
|
{
|
|
1250
1429
|
"constant": false,
|
|
1251
|
-
"id":
|
|
1430
|
+
"id": 34040,
|
|
1252
1431
|
"mutability": "mutable",
|
|
1253
1432
|
"name": "name",
|
|
1254
|
-
"nameLocation": "
|
|
1433
|
+
"nameLocation": "2756:4:63",
|
|
1255
1434
|
"nodeType": "VariableDeclaration",
|
|
1256
|
-
"scope":
|
|
1257
|
-
"src": "
|
|
1435
|
+
"scope": 34047,
|
|
1436
|
+
"src": "2748:12:63",
|
|
1258
1437
|
"stateVariable": false,
|
|
1259
1438
|
"storageLocation": "default",
|
|
1260
1439
|
"typeDescriptions": {
|
|
@@ -1262,10 +1441,10 @@
|
|
|
1262
1441
|
"typeString": "bytes16"
|
|
1263
1442
|
},
|
|
1264
1443
|
"typeName": {
|
|
1265
|
-
"id":
|
|
1444
|
+
"id": 34039,
|
|
1266
1445
|
"name": "bytes16",
|
|
1267
1446
|
"nodeType": "ElementaryTypeName",
|
|
1268
|
-
"src": "
|
|
1447
|
+
"src": "2748:7:63",
|
|
1269
1448
|
"typeDescriptions": {
|
|
1270
1449
|
"typeIdentifier": "t_bytes16",
|
|
1271
1450
|
"typeString": "bytes16"
|
|
@@ -1275,13 +1454,13 @@
|
|
|
1275
1454
|
},
|
|
1276
1455
|
{
|
|
1277
1456
|
"constant": false,
|
|
1278
|
-
"id":
|
|
1457
|
+
"id": 34042,
|
|
1279
1458
|
"mutability": "mutable",
|
|
1280
1459
|
"name": "funcSelectorAndArgs",
|
|
1281
|
-
"nameLocation": "
|
|
1460
|
+
"nameLocation": "2779:19:63",
|
|
1282
1461
|
"nodeType": "VariableDeclaration",
|
|
1283
|
-
"scope":
|
|
1284
|
-
"src": "
|
|
1462
|
+
"scope": 34047,
|
|
1463
|
+
"src": "2766:32:63",
|
|
1285
1464
|
"stateVariable": false,
|
|
1286
1465
|
"storageLocation": "memory",
|
|
1287
1466
|
"typeDescriptions": {
|
|
@@ -1289,10 +1468,10 @@
|
|
|
1289
1468
|
"typeString": "bytes"
|
|
1290
1469
|
},
|
|
1291
1470
|
"typeName": {
|
|
1292
|
-
"id":
|
|
1471
|
+
"id": 34041,
|
|
1293
1472
|
"name": "bytes",
|
|
1294
1473
|
"nodeType": "ElementaryTypeName",
|
|
1295
|
-
"src": "
|
|
1474
|
+
"src": "2766:5:63",
|
|
1296
1475
|
"typeDescriptions": {
|
|
1297
1476
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1298
1477
|
"typeString": "bytes"
|
|
@@ -1301,21 +1480,21 @@
|
|
|
1301
1480
|
"visibility": "internal"
|
|
1302
1481
|
}
|
|
1303
1482
|
],
|
|
1304
|
-
"src": "
|
|
1483
|
+
"src": "2719:83:63"
|
|
1305
1484
|
},
|
|
1306
1485
|
"returnParameters": {
|
|
1307
|
-
"id":
|
|
1486
|
+
"id": 34046,
|
|
1308
1487
|
"nodeType": "ParameterList",
|
|
1309
1488
|
"parameters": [
|
|
1310
1489
|
{
|
|
1311
1490
|
"constant": false,
|
|
1312
|
-
"id":
|
|
1491
|
+
"id": 34045,
|
|
1313
1492
|
"mutability": "mutable",
|
|
1314
1493
|
"name": "",
|
|
1315
1494
|
"nameLocation": "-1:-1:-1",
|
|
1316
1495
|
"nodeType": "VariableDeclaration",
|
|
1317
|
-
"scope":
|
|
1318
|
-
"src": "
|
|
1496
|
+
"scope": 34047,
|
|
1497
|
+
"src": "2829:12:63",
|
|
1319
1498
|
"stateVariable": false,
|
|
1320
1499
|
"storageLocation": "memory",
|
|
1321
1500
|
"typeDescriptions": {
|
|
@@ -1323,10 +1502,10 @@
|
|
|
1323
1502
|
"typeString": "bytes"
|
|
1324
1503
|
},
|
|
1325
1504
|
"typeName": {
|
|
1326
|
-
"id":
|
|
1505
|
+
"id": 34044,
|
|
1327
1506
|
"name": "bytes",
|
|
1328
1507
|
"nodeType": "ElementaryTypeName",
|
|
1329
|
-
"src": "
|
|
1508
|
+
"src": "2829:5:63",
|
|
1330
1509
|
"typeDescriptions": {
|
|
1331
1510
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1332
1511
|
"typeString": "bytes"
|
|
@@ -1335,9 +1514,9 @@
|
|
|
1335
1514
|
"visibility": "internal"
|
|
1336
1515
|
}
|
|
1337
1516
|
],
|
|
1338
|
-
"src": "
|
|
1517
|
+
"src": "2828:14:63"
|
|
1339
1518
|
},
|
|
1340
|
-
"scope":
|
|
1519
|
+
"scope": 34048,
|
|
1341
1520
|
"stateMutability": "payable",
|
|
1342
1521
|
"virtual": false,
|
|
1343
1522
|
"visibility": "external"
|
|
@@ -1350,98 +1529,98 @@
|
|
|
1350
1529
|
"contractKind": "interface",
|
|
1351
1530
|
"fullyImplemented": false,
|
|
1352
1531
|
"linearizedBaseContracts": [
|
|
1353
|
-
|
|
1532
|
+
34048
|
|
1354
1533
|
],
|
|
1355
1534
|
"name": "IWorldCall",
|
|
1356
|
-
"nameLocation": "
|
|
1357
|
-
"scope":
|
|
1535
|
+
"nameLocation": "2537:10:63",
|
|
1536
|
+
"scope": 34059,
|
|
1358
1537
|
"usedErrors": []
|
|
1359
1538
|
},
|
|
1360
1539
|
{
|
|
1361
|
-
"id":
|
|
1540
|
+
"id": 34058,
|
|
1362
1541
|
"nodeType": "ContractDefinition",
|
|
1363
|
-
"src": "
|
|
1542
|
+
"src": "3113:88:63",
|
|
1364
1543
|
"nodes": [],
|
|
1365
1544
|
"abstract": false,
|
|
1366
1545
|
"baseContracts": [
|
|
1367
1546
|
{
|
|
1368
1547
|
"baseName": {
|
|
1369
|
-
"id":
|
|
1548
|
+
"id": 34050,
|
|
1370
1549
|
"name": "IWorldData",
|
|
1371
1550
|
"nodeType": "IdentifierPath",
|
|
1372
|
-
"referencedDeclaration":
|
|
1373
|
-
"src": "
|
|
1551
|
+
"referencedDeclaration": 34025,
|
|
1552
|
+
"src": "3139:10:63"
|
|
1374
1553
|
},
|
|
1375
|
-
"id":
|
|
1554
|
+
"id": 34051,
|
|
1376
1555
|
"nodeType": "InheritanceSpecifier",
|
|
1377
|
-
"src": "
|
|
1556
|
+
"src": "3139:10:63"
|
|
1378
1557
|
},
|
|
1379
1558
|
{
|
|
1380
1559
|
"baseName": {
|
|
1381
|
-
"id":
|
|
1560
|
+
"id": 34052,
|
|
1382
1561
|
"name": "IWorldModuleInstallation",
|
|
1383
1562
|
"nodeType": "IdentifierPath",
|
|
1384
|
-
"referencedDeclaration":
|
|
1385
|
-
"src": "
|
|
1563
|
+
"referencedDeclaration": 34035,
|
|
1564
|
+
"src": "3151:24:63"
|
|
1386
1565
|
},
|
|
1387
|
-
"id":
|
|
1566
|
+
"id": 34053,
|
|
1388
1567
|
"nodeType": "InheritanceSpecifier",
|
|
1389
|
-
"src": "
|
|
1568
|
+
"src": "3151:24:63"
|
|
1390
1569
|
},
|
|
1391
1570
|
{
|
|
1392
1571
|
"baseName": {
|
|
1393
|
-
"id":
|
|
1572
|
+
"id": 34054,
|
|
1394
1573
|
"name": "IWorldCall",
|
|
1395
1574
|
"nodeType": "IdentifierPath",
|
|
1396
|
-
"referencedDeclaration":
|
|
1397
|
-
"src": "
|
|
1575
|
+
"referencedDeclaration": 34048,
|
|
1576
|
+
"src": "3177:10:63"
|
|
1398
1577
|
},
|
|
1399
|
-
"id":
|
|
1578
|
+
"id": 34055,
|
|
1400
1579
|
"nodeType": "InheritanceSpecifier",
|
|
1401
|
-
"src": "
|
|
1580
|
+
"src": "3177:10:63"
|
|
1402
1581
|
},
|
|
1403
1582
|
{
|
|
1404
1583
|
"baseName": {
|
|
1405
|
-
"id":
|
|
1584
|
+
"id": 34056,
|
|
1406
1585
|
"name": "IErrors",
|
|
1407
1586
|
"nodeType": "IdentifierPath",
|
|
1408
|
-
"referencedDeclaration":
|
|
1409
|
-
"src": "
|
|
1587
|
+
"referencedDeclaration": 33844,
|
|
1588
|
+
"src": "3189:7:63"
|
|
1410
1589
|
},
|
|
1411
|
-
"id":
|
|
1590
|
+
"id": 34057,
|
|
1412
1591
|
"nodeType": "InheritanceSpecifier",
|
|
1413
|
-
"src": "
|
|
1592
|
+
"src": "3189:7:63"
|
|
1414
1593
|
}
|
|
1415
1594
|
],
|
|
1416
1595
|
"canonicalName": "IWorldKernel",
|
|
1417
1596
|
"contractDependencies": [],
|
|
1418
1597
|
"contractKind": "interface",
|
|
1419
1598
|
"documentation": {
|
|
1420
|
-
"id":
|
|
1599
|
+
"id": 34049,
|
|
1421
1600
|
"nodeType": "StructuredDocumentation",
|
|
1422
|
-
"src": "
|
|
1601
|
+
"src": "2847:265:63",
|
|
1423
1602
|
"text": " The IWorldKernel interface includes all methods that are part of the World contract's\n internal bytecode.\n Consumers should use the `IBaseWorld` interface instead, which includes dynamically\n registered functions selectors from the `CoreModule`."
|
|
1424
1603
|
},
|
|
1425
1604
|
"fullyImplemented": false,
|
|
1426
1605
|
"linearizedBaseContracts": [
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1606
|
+
34058,
|
|
1607
|
+
33844,
|
|
1608
|
+
34048,
|
|
1609
|
+
34035,
|
|
1610
|
+
34025
|
|
1432
1611
|
],
|
|
1433
1612
|
"name": "IWorldKernel",
|
|
1434
|
-
"nameLocation": "
|
|
1435
|
-
"scope":
|
|
1613
|
+
"nameLocation": "3123:12:63",
|
|
1614
|
+
"scope": 34059,
|
|
1436
1615
|
"usedErrors": [
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1616
|
+
33813,
|
|
1617
|
+
33817,
|
|
1618
|
+
33823,
|
|
1619
|
+
33827,
|
|
1620
|
+
33831,
|
|
1621
|
+
33835,
|
|
1622
|
+
33839,
|
|
1623
|
+
33843
|
|
1445
1624
|
]
|
|
1446
1625
|
}
|
|
1447
1626
|
],
|