@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
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"abi": [],
|
|
3
3
|
"bytecode": {
|
|
4
|
-
"object": "
|
|
4
|
+
"object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220258d2da5c02c6d9a7aab9270ed37f0575f5bd8e3f03d792a9f615d538ab1258d64736f6c634300080d0033",
|
|
5
5
|
"sourceMap": "295:1578:45:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;295:1578:45;;;;;;;;;;;;;;;;;",
|
|
6
6
|
"linkReferences": {}
|
|
7
7
|
},
|
|
8
8
|
"deployedBytecode": {
|
|
9
|
-
"object": "
|
|
9
|
+
"object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220258d2da5c02c6d9a7aab9270ed37f0575f5bd8e3f03d792a9f615d538ab1258d64736f6c634300080d0033",
|
|
10
10
|
"sourceMap": "295:1578:45:-:0;;;;;;;;",
|
|
11
11
|
"linkReferences": {}
|
|
12
12
|
},
|
|
13
13
|
"methodIdentifiers": {},
|
|
14
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/AccessControl.sol\":\"AccessControl\"},\"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\":{\"node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol\":{\"keccak256\":\"0xe881f296ba0fe410faa6395ee4a65b9bf154947aebc6aa323d41a0484504221e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba7f706464d14365ff751936ba96f79f200df7bcd9d9f8abccd0b41387ca7967\",\"dweb:/ipfs/QmTiHgH3ZM2oJoqsbNs3iwwPFNYFNU7m8co87woxRLaUZ6\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0x117331c70b8cda783991a6b3e14861176068086526548d334cef8e1c24e16d5b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://613026caf6782e8a4ad0f366781fc13141492b667a723bdea69250c9b517c790\",\"dweb:/ipfs/QmQqwBSjcrDUoVvmXxeKZZpyGSEpeMTh2QZRExQTdZLrCt\"]},\"node_modules/@latticexyz/store/src/IErrors.sol\":{\"keccak256\":\"0xc29b8d9d2597c6e9fcfbb37714cfa02270983c95e5a54b4c70eb9d99abcfe4e9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df9591141bec48fb57df31c0c5632085d5347d194292b14b479930bac5c8274\",\"dweb:/ipfs/Qmaa3yV9YeJ14wYyWcFYHjAhRc9qaU6WrejNAmdSP7oQRV\"]},\"node_modules/@latticexyz/store/src/IStore.sol\":{\"keccak256\":\"
|
|
14
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/AccessControl.sol\":\"AccessControl\"},\"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\":{\"node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol\":{\"keccak256\":\"0xe881f296ba0fe410faa6395ee4a65b9bf154947aebc6aa323d41a0484504221e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba7f706464d14365ff751936ba96f79f200df7bcd9d9f8abccd0b41387ca7967\",\"dweb:/ipfs/QmTiHgH3ZM2oJoqsbNs3iwwPFNYFNU7m8co87woxRLaUZ6\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0x117331c70b8cda783991a6b3e14861176068086526548d334cef8e1c24e16d5b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://613026caf6782e8a4ad0f366781fc13141492b667a723bdea69250c9b517c790\",\"dweb:/ipfs/QmQqwBSjcrDUoVvmXxeKZZpyGSEpeMTh2QZRExQTdZLrCt\"]},\"node_modules/@latticexyz/store/src/IErrors.sol\":{\"keccak256\":\"0xc29b8d9d2597c6e9fcfbb37714cfa02270983c95e5a54b4c70eb9d99abcfe4e9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df9591141bec48fb57df31c0c5632085d5347d194292b14b479930bac5c8274\",\"dweb:/ipfs/Qmaa3yV9YeJ14wYyWcFYHjAhRc9qaU6WrejNAmdSP7oQRV\"]},\"node_modules/@latticexyz/store/src/IStore.sol\":{\"keccak256\":\"0x465c23c85a77fdc6001f06a6899080c1d6cfef9858886d7d922e54fce1eb79e6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6358088868fa52711e65d3462eb6b6762fe736eb7f033909e3260280b6a87957\",\"dweb:/ipfs/QmdkwwvTa9Hzc5SDP4C1hvrKzc8SxWNDrxNqQKw4ZoCKzL\"]},\"node_modules/@latticexyz/store/src/Memory.sol\":{\"keccak256\":\"0x706d0d1ddd874bdcd4f73422721420b32939c1c96d4718db8b1b8e9f78bfa76c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2ed8c858fa9c3756cb70cb92bb860e0ae6429eb62551b502fb4a883e1344eb42\",\"dweb:/ipfs/QmezLAADZmFj8bKS9dccTQYHcpy4g8PSZ75AuvppSwjrW7\"]},\"node_modules/@latticexyz/store/src/PackedCounter.sol\":{\"keccak256\":\"0xd3d6a9bb72f5580e7b9794530a186e05e8d6da7c9172cb01e62fcc6e558dd052\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0625cb2a0d0e544800dff8194182aa440e1e6d61cc77b9e2d8d0186bce261146\",\"dweb:/ipfs/QmRmWWwTaJ7JPZZnJXavjJNXBzEjaK4KEzxaWj5MeJQUuH\"]},\"node_modules/@latticexyz/store/src/Schema.sol\":{\"keccak256\":\"0xf06793dc2e9e9994403d29125359eb2f326b0e6e502d51a8e6e4e45fc9d90a3c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8cb23bf421b29839200e5584a770186309dd05cd77d4345c964f47528117a244\",\"dweb:/ipfs/QmQBvrDAtoqibky7CjCLKxGz3MquxK1iNk2Yac55Lc4xF5\"]},\"node_modules/@latticexyz/store/src/Slice.sol\":{\"keccak256\":\"0x14879c6c859cad89451616dcee1ab6222fd565849809b89407de48f0c1a01133\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://924caa18aa0e656a295da626d586dfb120bbea321123010462b0640c7e0c52c4\",\"dweb:/ipfs/QmNueqwy4g5mwq9kXaPzue8X2mqyFjH2P2AFi3pNN3WTAt\"]},\"node_modules/@latticexyz/store/src/Storage.sol\":{\"keccak256\":\"0x2ccca6556a3c2595479914d30efa84fc3b61cff30036522714a0ef99289ee2af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9d169812a4159454be580d42fedee63d121646102e6462fe3b2ea905b69bee07\",\"dweb:/ipfs/QmXiKsMeN4nsdiqDwhuWfb4J3UF57B4rkuwkfbrRXA6vtb\"]},\"node_modules/@latticexyz/store/src/StoreCore.sol\":{\"keccak256\":\"0xba4d729be15ad4fd887f2bbaadd12a902af5470b62c58bd9157661177c60a671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cfcf8588c9641afb6e2ed658f584f378909f0615da7a5bc5c919cf51c15b12ff\",\"dweb:/ipfs/QmZEbMyZZRL7oLKC8VMLmTFEK5LL1BAJyxnvmgSNiy5kVg\"]},\"node_modules/@latticexyz/store/src/StoreSwitch.sol\":{\"keccak256\":\"0x341c555b911581dc6a19e8eb6f64f9875ff92f8e1c9f3a9c3333129e802e130c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0809c8e9a4e46d7cce2d9a21fb315d5a3895d0e9af862fcc9b84733431ec94e0\",\"dweb:/ipfs/QmetNXMWrE1K57YJTEZMiFuEPa3yxnRvFnZFpSJRpQoTQi\"]},\"node_modules/@latticexyz/store/src/TableId.sol\":{\"keccak256\":\"0x8c55662dc4f66be577bb96bfdcb65d95fe1323c733443ab749cb9ec1e58f0a6e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://209ed70247c1c64b56d9b21f2902e67e0994cb89ac19be8e1553dac9d978fb76\",\"dweb:/ipfs/QmVLYNDwBL3GZidDpwqFZx916zoGZ5tWVztxKQFEEzVybP\"]},\"node_modules/@latticexyz/store/src/Utils.sol\":{\"keccak256\":\"0x426216bfa1c0e70640787007a6e39257cf09e586fd04831ea4fb3dd9c5768fc4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://38e657fa9cfaebe39477eaff27d1ad4d7eeaf0c0058539d2ec7e6976d93df4f4\",\"dweb:/ipfs/QmRuaxqRjUrHHC2ZyTnpmq6sfrWGCDh91B6F5chFAToU6U\"]},\"node_modules/@latticexyz/store/src/codegen/Tables.sol\":{\"keccak256\":\"0x2eba8dd4e9f07b505438a2fb744ac7da26b1f6321b8a88054e9442db947ab435\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bd1a60dfff209a3f1df84aeb5d7f8a5cf0419c19be63bac428df0a779d5ba437\",\"dweb:/ipfs/QmaHem2GMJPHrtr1f7fk1ThTBESdYipmBxEEoKT1DBRmsd\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Callbacks.sol\":{\"keccak256\":\"0x81f25ea159146621a7add30f6701d4787bdf828f8782488d5f9be3eb9b965130\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://64c3fdcafe59b27faaf03d5102b83defad59679099d9d1616b2d928ab1e86727\",\"dweb:/ipfs/Qmdr1W6j6bHnE7tjjLMo3G4sAWr4mKePWGDycPEDuKUAJX\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Hooks.sol\":{\"keccak256\":\"0xc06e9aef4d145b3e10c1b210ea48a609744638609674c74bc7f77628f1b051d4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://94ea702795469b50d8c2cab53869caa456fe17d8b850445c59b9a1fd516d4b75\",\"dweb:/ipfs/QmNyiNVHyL2YnhiJfCpfjgNq7bSqCHghfS9wgQ8tTQ5x6e\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Mixed.sol\":{\"keccak256\":\"0xe48f64075029fd088e33201f451bf3fe9baed3db4360a58f7c710e5fd904fb21\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9e58e6ee54b6681f9ccb39259c4e22e74fdc1876c915c0143048810b03f4b3be\",\"dweb:/ipfs/QmQrxD8NDMd9DvrY5A9f1uRBjPwMgppoGn7w8R79qgdXuo\"]},\"node_modules/@latticexyz/store/src/codegen/tables/StoreMetadata.sol\":{\"keccak256\":\"0x03eac5a0bbface43a3a01da3226443356a7aeeb6a88a063f6d9d18551613346c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f681ef065f0fed547f2675f4f21d8dd38e6d4845cccff0ac01e3d5b7b1a5c156\",\"dweb:/ipfs/QmcjEWQghNK2g1QHRqUWRmDXwweWhZTAJNRdyhyLpJf1V4\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Vector2.sol\":{\"keccak256\":\"0x6f77096a6301fa2438365eb4c577e5086f4e45369be801705f2a064af7de0d51\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://44b3fa75b4475ff46cbdb9bc9907a766716090e077e1e4a95314b20857a70136\",\"dweb:/ipfs/QmNwqMe3ehQL8aJkvU93nXMSyr9vMCYFXBUdZZ3BqKRKdz\"]},\"node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol\":{\"keccak256\":\"0xe760dfb8ff20cfb44eee6a5f03ac84abbc91382fca2e36c88c92046e6b3a66e0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75eb4b355c547ffee62031d8dfb80844fa31fa4460543a088278083662dc4c12\",\"dweb:/ipfs/Qmf8sRcrjJ6hEQ8TPwwe6KcXcE2MPw7Juvf7fKBZ1fBCt6\"]},\"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol\":{\"keccak256\":\"0x046f0a2dc543c7a80be91ff26b19990a10fbe73cb605f4944af38e04326a43df\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d94f038e70179571d2aed3cbe03e812ce79a471372171fb78e8189bebd7ae1ac\",\"dweb:/ipfs/QmUV4bkaEc8hefLpLRaGwmu4WZsqRLE9e6R8UdaKPExb6p\"]},\"node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol\":{\"keccak256\":\"0xff0278a4e35174bbed8a38dad8ae7506f725bfe95f0b7c13829c353d68dd25dc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26249ec0c2fa3a3430a2f8edbfc5cd678e34ea1cf1d7490ecaf1e925c976eb85\",\"dweb:/ipfs/QmUpkhr5kFiDKc7rZ2z5HcTf5PkrWVJu5sa31tYv911cPL\"]},\"node_modules/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"src/AccessControl.sol\":{\"keccak256\":\"0x1709609787c064269c201ba1683bb965746ecfffc2fd3ca945665150c1452b61\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d40409726d6ebb08666be0c098a45ae2992535d0acb785cd9283daf3173fe45b\",\"dweb:/ipfs/QmdELXD8o41THzejXXWeBBYgb38U5TcK3Q4EygbmBkMRE9\"]},\"src/ResourceSelector.sol\":{\"keccak256\":\"0xf6a1714d556e95fda532f630ac1bd8fd9843e980dffce29f81a29c0b6f02d368\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5075e64cc1224bcd8ab46c16f85874ac91efecbf5cbeb82e5c1e3fa4f1a1edfa\",\"dweb:/ipfs/QmTqCVF6k7CMsiUJ223mXumjVyoCCNU2uE9fUHDgBmDdRj\"]},\"src/constants.sol\":{\"keccak256\":\"0xa0ae422aceefe0e7f200448201769e2bc527fa9e647475f65401558a03c0a83d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2473ca8ab5e184b7320c476fd07bdff31ff450fc750ab9eabb9c0a2ee43776e\",\"dweb:/ipfs/QmQ7sBqwPgj4AtsENyzCMFWVQeMzV5uuCN8ygNU2pKYotE\"]},\"src/interfaces/IErrors.sol\":{\"keccak256\":\"0x8a8a5caf964d336b38123704893463589b3bf6195405c9929c21291faf0e2f6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3aa3dcd4d059015580dbcad309db99db7a18fe7c015f1f83f56d84684f27bd14\",\"dweb:/ipfs/QmVpQW1kF4ruDmXtnTSnGRuxr7RtJqo8NwEXtfdA5TVKq1\"]},\"src/tables/NamespaceOwner.sol\":{\"keccak256\":\"0x305c60ea746f91db681eb9beaadbe3cd39e5d6839bb9499c0181c53fa312beb8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3166cf67b2dc066ccd2145452b26069b8b849b68de52d759b226396f0f95c362\",\"dweb:/ipfs/QmSkM1zDeAVQay9XHNtKBS8Vv9hPmhzDbJ1Y9ihZjQsziU\"]},\"src/tables/ResourceAccess.sol\":{\"keccak256\":\"0x8bbcbae889a7c9b71d3606309f9013911693a23f110d869aa24f4c19636ef97c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d49a931783a91c903e7915c7489a6813dfb30bfdc9a634aaff0cb6b9894a45a\",\"dweb:/ipfs/QmeU9CzyZBAoYK7pRxDsAq22vXd6o5cnEAGQ26q7eQUoRc\"]}},\"version\":1}",
|
|
15
15
|
"metadata": {
|
|
16
16
|
"compiler": {
|
|
17
17
|
"version": "0.8.13+commit.abaa5c0e"
|
|
@@ -75,10 +75,10 @@
|
|
|
75
75
|
"license": "MIT"
|
|
76
76
|
},
|
|
77
77
|
"node_modules/@latticexyz/store/src/IStore.sol": {
|
|
78
|
-
"keccak256": "
|
|
78
|
+
"keccak256": "0x465c23c85a77fdc6001f06a6899080c1d6cfef9858886d7d922e54fce1eb79e6",
|
|
79
79
|
"urls": [
|
|
80
|
-
"bzz-raw://
|
|
81
|
-
"dweb:/ipfs/
|
|
80
|
+
"bzz-raw://6358088868fa52711e65d3462eb6b6762fe736eb7f033909e3260280b6a87957",
|
|
81
|
+
"dweb:/ipfs/QmdkwwvTa9Hzc5SDP4C1hvrKzc8SxWNDrxNqQKw4ZoCKzL"
|
|
82
82
|
],
|
|
83
83
|
"license": "MIT"
|
|
84
84
|
},
|
|
@@ -115,26 +115,26 @@
|
|
|
115
115
|
"license": "MIT"
|
|
116
116
|
},
|
|
117
117
|
"node_modules/@latticexyz/store/src/Storage.sol": {
|
|
118
|
-
"keccak256": "
|
|
118
|
+
"keccak256": "0x2ccca6556a3c2595479914d30efa84fc3b61cff30036522714a0ef99289ee2af",
|
|
119
119
|
"urls": [
|
|
120
|
-
"bzz-raw://
|
|
121
|
-
"dweb:/ipfs/
|
|
120
|
+
"bzz-raw://9d169812a4159454be580d42fedee63d121646102e6462fe3b2ea905b69bee07",
|
|
121
|
+
"dweb:/ipfs/QmXiKsMeN4nsdiqDwhuWfb4J3UF57B4rkuwkfbrRXA6vtb"
|
|
122
122
|
],
|
|
123
123
|
"license": "MIT"
|
|
124
124
|
},
|
|
125
125
|
"node_modules/@latticexyz/store/src/StoreCore.sol": {
|
|
126
|
-
"keccak256": "
|
|
126
|
+
"keccak256": "0xba4d729be15ad4fd887f2bbaadd12a902af5470b62c58bd9157661177c60a671",
|
|
127
127
|
"urls": [
|
|
128
|
-
"bzz-raw://
|
|
129
|
-
"dweb:/ipfs/
|
|
128
|
+
"bzz-raw://cfcf8588c9641afb6e2ed658f584f378909f0615da7a5bc5c919cf51c15b12ff",
|
|
129
|
+
"dweb:/ipfs/QmZEbMyZZRL7oLKC8VMLmTFEK5LL1BAJyxnvmgSNiy5kVg"
|
|
130
130
|
],
|
|
131
131
|
"license": "MIT"
|
|
132
132
|
},
|
|
133
133
|
"node_modules/@latticexyz/store/src/StoreSwitch.sol": {
|
|
134
|
-
"keccak256": "
|
|
134
|
+
"keccak256": "0x341c555b911581dc6a19e8eb6f64f9875ff92f8e1c9f3a9c3333129e802e130c",
|
|
135
135
|
"urls": [
|
|
136
|
-
"bzz-raw://
|
|
137
|
-
"dweb:/ipfs/
|
|
136
|
+
"bzz-raw://0809c8e9a4e46d7cce2d9a21fb315d5a3895d0e9af862fcc9b84733431ec94e0",
|
|
137
|
+
"dweb:/ipfs/QmetNXMWrE1K57YJTEZMiFuEPa3yxnRvFnZFpSJRpQoTQi"
|
|
138
138
|
],
|
|
139
139
|
"license": "MIT"
|
|
140
140
|
},
|
|
@@ -287,29 +287,29 @@
|
|
|
287
287
|
},
|
|
288
288
|
"ast": {
|
|
289
289
|
"absolutePath": "src/AccessControl.sol",
|
|
290
|
-
"id":
|
|
290
|
+
"id": 32821,
|
|
291
291
|
"exportedSymbols": {
|
|
292
292
|
"AccessControl": [
|
|
293
|
-
|
|
293
|
+
32820
|
|
294
294
|
],
|
|
295
295
|
"IErrors": [
|
|
296
|
-
|
|
296
|
+
33844
|
|
297
297
|
],
|
|
298
298
|
"NamespaceOwner": [
|
|
299
|
-
|
|
299
|
+
41834
|
|
300
300
|
],
|
|
301
301
|
"ResourceAccess": [
|
|
302
|
-
|
|
302
|
+
42426
|
|
303
303
|
],
|
|
304
304
|
"ResourceSelector": [
|
|
305
|
-
|
|
305
|
+
33049
|
|
306
306
|
]
|
|
307
307
|
},
|
|
308
308
|
"nodeType": "SourceUnit",
|
|
309
309
|
"src": "32:1842:45",
|
|
310
310
|
"nodes": [
|
|
311
311
|
{
|
|
312
|
-
"id":
|
|
312
|
+
"id": 32686,
|
|
313
313
|
"nodeType": "PragmaDirective",
|
|
314
314
|
"src": "32:24:45",
|
|
315
315
|
"nodes": [],
|
|
@@ -321,23 +321,23 @@
|
|
|
321
321
|
]
|
|
322
322
|
},
|
|
323
323
|
{
|
|
324
|
-
"id":
|
|
324
|
+
"id": 32688,
|
|
325
325
|
"nodeType": "ImportDirective",
|
|
326
326
|
"src": "58:58:45",
|
|
327
327
|
"nodes": [],
|
|
328
328
|
"absolutePath": "src/ResourceSelector.sol",
|
|
329
329
|
"file": "./ResourceSelector.sol",
|
|
330
330
|
"nameLocation": "-1:-1:-1",
|
|
331
|
-
"scope":
|
|
332
|
-
"sourceUnit":
|
|
331
|
+
"scope": 32821,
|
|
332
|
+
"sourceUnit": 33050,
|
|
333
333
|
"symbolAliases": [
|
|
334
334
|
{
|
|
335
335
|
"foreign": {
|
|
336
|
-
"id":
|
|
336
|
+
"id": 32687,
|
|
337
337
|
"name": "ResourceSelector",
|
|
338
338
|
"nodeType": "Identifier",
|
|
339
339
|
"overloadedDeclarations": [],
|
|
340
|
-
"referencedDeclaration":
|
|
340
|
+
"referencedDeclaration": 33049,
|
|
341
341
|
"src": "67:16:45",
|
|
342
342
|
"typeDescriptions": {}
|
|
343
343
|
},
|
|
@@ -347,23 +347,23 @@
|
|
|
347
347
|
"unitAlias": ""
|
|
348
348
|
},
|
|
349
349
|
{
|
|
350
|
-
"id":
|
|
350
|
+
"id": 32690,
|
|
351
351
|
"nodeType": "ImportDirective",
|
|
352
352
|
"src": "117:51:45",
|
|
353
353
|
"nodes": [],
|
|
354
354
|
"absolutePath": "src/interfaces/IErrors.sol",
|
|
355
355
|
"file": "./interfaces/IErrors.sol",
|
|
356
356
|
"nameLocation": "-1:-1:-1",
|
|
357
|
-
"scope":
|
|
358
|
-
"sourceUnit":
|
|
357
|
+
"scope": 32821,
|
|
358
|
+
"sourceUnit": 33845,
|
|
359
359
|
"symbolAliases": [
|
|
360
360
|
{
|
|
361
361
|
"foreign": {
|
|
362
|
-
"id":
|
|
362
|
+
"id": 32689,
|
|
363
363
|
"name": "IErrors",
|
|
364
364
|
"nodeType": "Identifier",
|
|
365
365
|
"overloadedDeclarations": [],
|
|
366
|
-
"referencedDeclaration":
|
|
366
|
+
"referencedDeclaration": 33844,
|
|
367
367
|
"src": "126:7:45",
|
|
368
368
|
"typeDescriptions": {}
|
|
369
369
|
},
|
|
@@ -373,23 +373,23 @@
|
|
|
373
373
|
"unitAlias": ""
|
|
374
374
|
},
|
|
375
375
|
{
|
|
376
|
-
"id":
|
|
376
|
+
"id": 32692,
|
|
377
377
|
"nodeType": "ImportDirective",
|
|
378
378
|
"src": "170:61:45",
|
|
379
379
|
"nodes": [],
|
|
380
380
|
"absolutePath": "src/tables/ResourceAccess.sol",
|
|
381
381
|
"file": "./tables/ResourceAccess.sol",
|
|
382
382
|
"nameLocation": "-1:-1:-1",
|
|
383
|
-
"scope":
|
|
384
|
-
"sourceUnit":
|
|
383
|
+
"scope": 32821,
|
|
384
|
+
"sourceUnit": 42436,
|
|
385
385
|
"symbolAliases": [
|
|
386
386
|
{
|
|
387
387
|
"foreign": {
|
|
388
|
-
"id":
|
|
388
|
+
"id": 32691,
|
|
389
389
|
"name": "ResourceAccess",
|
|
390
390
|
"nodeType": "Identifier",
|
|
391
391
|
"overloadedDeclarations": [],
|
|
392
|
-
"referencedDeclaration":
|
|
392
|
+
"referencedDeclaration": 42426,
|
|
393
393
|
"src": "179:14:45",
|
|
394
394
|
"typeDescriptions": {}
|
|
395
395
|
},
|
|
@@ -399,23 +399,23 @@
|
|
|
399
399
|
"unitAlias": ""
|
|
400
400
|
},
|
|
401
401
|
{
|
|
402
|
-
"id":
|
|
402
|
+
"id": 32694,
|
|
403
403
|
"nodeType": "ImportDirective",
|
|
404
404
|
"src": "232:61:45",
|
|
405
405
|
"nodes": [],
|
|
406
406
|
"absolutePath": "src/tables/NamespaceOwner.sol",
|
|
407
407
|
"file": "./tables/NamespaceOwner.sol",
|
|
408
408
|
"nameLocation": "-1:-1:-1",
|
|
409
|
-
"scope":
|
|
410
|
-
"sourceUnit":
|
|
409
|
+
"scope": 32821,
|
|
410
|
+
"sourceUnit": 41835,
|
|
411
411
|
"symbolAliases": [
|
|
412
412
|
{
|
|
413
413
|
"foreign": {
|
|
414
|
-
"id":
|
|
414
|
+
"id": 32693,
|
|
415
415
|
"name": "NamespaceOwner",
|
|
416
416
|
"nodeType": "Identifier",
|
|
417
417
|
"overloadedDeclarations": [],
|
|
418
|
-
"referencedDeclaration":
|
|
418
|
+
"referencedDeclaration": 41834,
|
|
419
419
|
"src": "241:14:45",
|
|
420
420
|
"typeDescriptions": {}
|
|
421
421
|
},
|
|
@@ -425,25 +425,25 @@
|
|
|
425
425
|
"unitAlias": ""
|
|
426
426
|
},
|
|
427
427
|
{
|
|
428
|
-
"id":
|
|
428
|
+
"id": 32820,
|
|
429
429
|
"nodeType": "ContractDefinition",
|
|
430
430
|
"src": "295:1578:45",
|
|
431
431
|
"nodes": [
|
|
432
432
|
{
|
|
433
|
-
"id":
|
|
433
|
+
"id": 32697,
|
|
434
434
|
"nodeType": "UsingForDirective",
|
|
435
435
|
"src": "321:35:45",
|
|
436
436
|
"nodes": [],
|
|
437
437
|
"global": false,
|
|
438
438
|
"libraryName": {
|
|
439
|
-
"id":
|
|
439
|
+
"id": 32695,
|
|
440
440
|
"name": "ResourceSelector",
|
|
441
441
|
"nodeType": "IdentifierPath",
|
|
442
|
-
"referencedDeclaration":
|
|
442
|
+
"referencedDeclaration": 33049,
|
|
443
443
|
"src": "327:16:45"
|
|
444
444
|
},
|
|
445
445
|
"typeName": {
|
|
446
|
-
"id":
|
|
446
|
+
"id": 32696,
|
|
447
447
|
"name": "bytes32",
|
|
448
448
|
"nodeType": "ElementaryTypeName",
|
|
449
449
|
"src": "348:7:45",
|
|
@@ -454,12 +454,12 @@
|
|
|
454
454
|
}
|
|
455
455
|
},
|
|
456
456
|
{
|
|
457
|
-
"id":
|
|
457
|
+
"id": 32737,
|
|
458
458
|
"nodeType": "FunctionDefinition",
|
|
459
459
|
"src": "458:446:45",
|
|
460
460
|
"nodes": [],
|
|
461
461
|
"body": {
|
|
462
|
-
"id":
|
|
462
|
+
"id": 32736,
|
|
463
463
|
"nodeType": "Block",
|
|
464
464
|
"src": "555:349:45",
|
|
465
465
|
"nodes": [],
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
"typeIdentifier": "t_bool",
|
|
471
471
|
"typeString": "bool"
|
|
472
472
|
},
|
|
473
|
-
"id":
|
|
473
|
+
"id": 32734,
|
|
474
474
|
"isConstant": false,
|
|
475
475
|
"isLValue": false,
|
|
476
476
|
"isPure": false,
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
"typeIdentifier": "t_bool",
|
|
481
481
|
"typeString": "bool"
|
|
482
482
|
},
|
|
483
|
-
"id":
|
|
483
|
+
"id": 32724,
|
|
484
484
|
"isConstant": false,
|
|
485
485
|
"isLValue": false,
|
|
486
486
|
"isPure": false,
|
|
@@ -490,7 +490,7 @@
|
|
|
490
490
|
"typeIdentifier": "t_address",
|
|
491
491
|
"typeString": "address"
|
|
492
492
|
},
|
|
493
|
-
"id":
|
|
493
|
+
"id": 32714,
|
|
494
494
|
"isConstant": false,
|
|
495
495
|
"isLValue": false,
|
|
496
496
|
"isPure": false,
|
|
@@ -498,14 +498,14 @@
|
|
|
498
498
|
"leftExpression": {
|
|
499
499
|
"arguments": [
|
|
500
500
|
{
|
|
501
|
-
"id":
|
|
501
|
+
"id": 32711,
|
|
502
502
|
"name": "this",
|
|
503
503
|
"nodeType": "Identifier",
|
|
504
504
|
"overloadedDeclarations": [],
|
|
505
505
|
"referencedDeclaration": -28,
|
|
506
506
|
"src": "582:4:45",
|
|
507
507
|
"typeDescriptions": {
|
|
508
|
-
"typeIdentifier": "t_contract$_AccessControl_$
|
|
508
|
+
"typeIdentifier": "t_contract$_AccessControl_$32820",
|
|
509
509
|
"typeString": "library AccessControl"
|
|
510
510
|
}
|
|
511
511
|
}
|
|
@@ -513,11 +513,11 @@
|
|
|
513
513
|
"expression": {
|
|
514
514
|
"argumentTypes": [
|
|
515
515
|
{
|
|
516
|
-
"typeIdentifier": "t_contract$_AccessControl_$
|
|
516
|
+
"typeIdentifier": "t_contract$_AccessControl_$32820",
|
|
517
517
|
"typeString": "library AccessControl"
|
|
518
518
|
}
|
|
519
519
|
],
|
|
520
|
-
"id":
|
|
520
|
+
"id": 32710,
|
|
521
521
|
"isConstant": false,
|
|
522
522
|
"isLValue": false,
|
|
523
523
|
"isPure": true,
|
|
@@ -529,14 +529,14 @@
|
|
|
529
529
|
"typeString": "type(address)"
|
|
530
530
|
},
|
|
531
531
|
"typeName": {
|
|
532
|
-
"id":
|
|
532
|
+
"id": 32709,
|
|
533
533
|
"name": "address",
|
|
534
534
|
"nodeType": "ElementaryTypeName",
|
|
535
535
|
"src": "574:7:45",
|
|
536
536
|
"typeDescriptions": {}
|
|
537
537
|
}
|
|
538
538
|
},
|
|
539
|
-
"id":
|
|
539
|
+
"id": 32712,
|
|
540
540
|
"isConstant": false,
|
|
541
541
|
"isLValue": false,
|
|
542
542
|
"isPure": false,
|
|
@@ -554,11 +554,11 @@
|
|
|
554
554
|
"nodeType": "BinaryOperation",
|
|
555
555
|
"operator": "==",
|
|
556
556
|
"rightExpression": {
|
|
557
|
-
"id":
|
|
557
|
+
"id": 32713,
|
|
558
558
|
"name": "caller",
|
|
559
559
|
"nodeType": "Identifier",
|
|
560
560
|
"overloadedDeclarations": [],
|
|
561
|
-
"referencedDeclaration":
|
|
561
|
+
"referencedDeclaration": 32704,
|
|
562
562
|
"src": "591:6:45",
|
|
563
563
|
"typeDescriptions": {
|
|
564
564
|
"typeIdentifier": "t_address",
|
|
@@ -578,11 +578,11 @@
|
|
|
578
578
|
{
|
|
579
579
|
"arguments": [
|
|
580
580
|
{
|
|
581
|
-
"id":
|
|
581
|
+
"id": 32719,
|
|
582
582
|
"name": "namespace",
|
|
583
583
|
"nodeType": "Identifier",
|
|
584
584
|
"overloadedDeclarations": [],
|
|
585
|
-
"referencedDeclaration":
|
|
585
|
+
"referencedDeclaration": 32700,
|
|
586
586
|
"src": "694:9:45",
|
|
587
587
|
"typeDescriptions": {
|
|
588
588
|
"typeIdentifier": "t_bytes16",
|
|
@@ -591,7 +591,7 @@
|
|
|
591
591
|
},
|
|
592
592
|
{
|
|
593
593
|
"hexValue": "30",
|
|
594
|
-
"id":
|
|
594
|
+
"id": 32720,
|
|
595
595
|
"isConstant": false,
|
|
596
596
|
"isLValue": false,
|
|
597
597
|
"isPure": true,
|
|
@@ -618,32 +618,32 @@
|
|
|
618
618
|
}
|
|
619
619
|
],
|
|
620
620
|
"expression": {
|
|
621
|
-
"id":
|
|
621
|
+
"id": 32717,
|
|
622
622
|
"name": "ResourceSelector",
|
|
623
623
|
"nodeType": "Identifier",
|
|
624
624
|
"overloadedDeclarations": [],
|
|
625
|
-
"referencedDeclaration":
|
|
625
|
+
"referencedDeclaration": 33049,
|
|
626
626
|
"src": "672:16:45",
|
|
627
627
|
"typeDescriptions": {
|
|
628
|
-
"typeIdentifier": "t_type$_t_contract$_ResourceSelector_$
|
|
628
|
+
"typeIdentifier": "t_type$_t_contract$_ResourceSelector_$33049_$",
|
|
629
629
|
"typeString": "type(library ResourceSelector)"
|
|
630
630
|
}
|
|
631
631
|
},
|
|
632
|
-
"id":
|
|
632
|
+
"id": 32718,
|
|
633
633
|
"isConstant": false,
|
|
634
634
|
"isLValue": false,
|
|
635
635
|
"isPure": false,
|
|
636
636
|
"lValueRequested": false,
|
|
637
637
|
"memberName": "from",
|
|
638
638
|
"nodeType": "MemberAccess",
|
|
639
|
-
"referencedDeclaration":
|
|
639
|
+
"referencedDeclaration": 32919,
|
|
640
640
|
"src": "672:21:45",
|
|
641
641
|
"typeDescriptions": {
|
|
642
642
|
"typeIdentifier": "t_function_internal_pure$_t_bytes16_$_t_bytes16_$returns$_t_bytes32_$",
|
|
643
643
|
"typeString": "function (bytes16,bytes16) pure returns (bytes32)"
|
|
644
644
|
}
|
|
645
645
|
},
|
|
646
|
-
"id":
|
|
646
|
+
"id": 32721,
|
|
647
647
|
"isConstant": false,
|
|
648
648
|
"isLValue": false,
|
|
649
649
|
"isPure": false,
|
|
@@ -659,11 +659,11 @@
|
|
|
659
659
|
}
|
|
660
660
|
},
|
|
661
661
|
{
|
|
662
|
-
"id":
|
|
662
|
+
"id": 32722,
|
|
663
663
|
"name": "caller",
|
|
664
664
|
"nodeType": "Identifier",
|
|
665
665
|
"overloadedDeclarations": [],
|
|
666
|
-
"referencedDeclaration":
|
|
666
|
+
"referencedDeclaration": 32704,
|
|
667
667
|
"src": "709:6:45",
|
|
668
668
|
"typeDescriptions": {
|
|
669
669
|
"typeIdentifier": "t_address",
|
|
@@ -683,32 +683,32 @@
|
|
|
683
683
|
}
|
|
684
684
|
],
|
|
685
685
|
"expression": {
|
|
686
|
-
"id":
|
|
686
|
+
"id": 32715,
|
|
687
687
|
"name": "ResourceAccess",
|
|
688
688
|
"nodeType": "Identifier",
|
|
689
689
|
"overloadedDeclarations": [],
|
|
690
|
-
"referencedDeclaration":
|
|
690
|
+
"referencedDeclaration": 42426,
|
|
691
691
|
"src": "653:14:45",
|
|
692
692
|
"typeDescriptions": {
|
|
693
|
-
"typeIdentifier": "t_type$_t_contract$_ResourceAccess_$
|
|
693
|
+
"typeIdentifier": "t_type$_t_contract$_ResourceAccess_$42426_$",
|
|
694
694
|
"typeString": "type(library ResourceAccess)"
|
|
695
695
|
}
|
|
696
696
|
},
|
|
697
|
-
"id":
|
|
697
|
+
"id": 32716,
|
|
698
698
|
"isConstant": false,
|
|
699
699
|
"isLValue": false,
|
|
700
700
|
"isPure": false,
|
|
701
701
|
"lValueRequested": false,
|
|
702
702
|
"memberName": "get",
|
|
703
703
|
"nodeType": "MemberAccess",
|
|
704
|
-
"referencedDeclaration":
|
|
704
|
+
"referencedDeclaration": 42122,
|
|
705
705
|
"src": "653:18:45",
|
|
706
706
|
"typeDescriptions": {
|
|
707
707
|
"typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$",
|
|
708
708
|
"typeString": "function (bytes32,address) view returns (bool)"
|
|
709
709
|
}
|
|
710
710
|
},
|
|
711
|
-
"id":
|
|
711
|
+
"id": 32723,
|
|
712
712
|
"isConstant": false,
|
|
713
713
|
"isLValue": false,
|
|
714
714
|
"isPure": false,
|
|
@@ -736,11 +736,11 @@
|
|
|
736
736
|
{
|
|
737
737
|
"arguments": [
|
|
738
738
|
{
|
|
739
|
-
"id":
|
|
739
|
+
"id": 32729,
|
|
740
740
|
"name": "namespace",
|
|
741
741
|
"nodeType": "Identifier",
|
|
742
742
|
"overloadedDeclarations": [],
|
|
743
|
-
"referencedDeclaration":
|
|
743
|
+
"referencedDeclaration": 32700,
|
|
744
744
|
"src": "811:9:45",
|
|
745
745
|
"typeDescriptions": {
|
|
746
746
|
"typeIdentifier": "t_bytes16",
|
|
@@ -748,11 +748,11 @@
|
|
|
748
748
|
}
|
|
749
749
|
},
|
|
750
750
|
{
|
|
751
|
-
"id":
|
|
751
|
+
"id": 32730,
|
|
752
752
|
"name": "name",
|
|
753
753
|
"nodeType": "Identifier",
|
|
754
754
|
"overloadedDeclarations": [],
|
|
755
|
-
"referencedDeclaration":
|
|
755
|
+
"referencedDeclaration": 32702,
|
|
756
756
|
"src": "822:4:45",
|
|
757
757
|
"typeDescriptions": {
|
|
758
758
|
"typeIdentifier": "t_bytes16",
|
|
@@ -772,32 +772,32 @@
|
|
|
772
772
|
}
|
|
773
773
|
],
|
|
774
774
|
"expression": {
|
|
775
|
-
"id":
|
|
775
|
+
"id": 32727,
|
|
776
776
|
"name": "ResourceSelector",
|
|
777
777
|
"nodeType": "Identifier",
|
|
778
778
|
"overloadedDeclarations": [],
|
|
779
|
-
"referencedDeclaration":
|
|
779
|
+
"referencedDeclaration": 33049,
|
|
780
780
|
"src": "789:16:45",
|
|
781
781
|
"typeDescriptions": {
|
|
782
|
-
"typeIdentifier": "t_type$_t_contract$_ResourceSelector_$
|
|
782
|
+
"typeIdentifier": "t_type$_t_contract$_ResourceSelector_$33049_$",
|
|
783
783
|
"typeString": "type(library ResourceSelector)"
|
|
784
784
|
}
|
|
785
785
|
},
|
|
786
|
-
"id":
|
|
786
|
+
"id": 32728,
|
|
787
787
|
"isConstant": false,
|
|
788
788
|
"isLValue": false,
|
|
789
789
|
"isPure": false,
|
|
790
790
|
"lValueRequested": false,
|
|
791
791
|
"memberName": "from",
|
|
792
792
|
"nodeType": "MemberAccess",
|
|
793
|
-
"referencedDeclaration":
|
|
793
|
+
"referencedDeclaration": 32919,
|
|
794
794
|
"src": "789:21:45",
|
|
795
795
|
"typeDescriptions": {
|
|
796
796
|
"typeIdentifier": "t_function_internal_pure$_t_bytes16_$_t_bytes16_$returns$_t_bytes32_$",
|
|
797
797
|
"typeString": "function (bytes16,bytes16) pure returns (bytes32)"
|
|
798
798
|
}
|
|
799
799
|
},
|
|
800
|
-
"id":
|
|
800
|
+
"id": 32731,
|
|
801
801
|
"isConstant": false,
|
|
802
802
|
"isLValue": false,
|
|
803
803
|
"isPure": false,
|
|
@@ -813,11 +813,11 @@
|
|
|
813
813
|
}
|
|
814
814
|
},
|
|
815
815
|
{
|
|
816
|
-
"id":
|
|
816
|
+
"id": 32732,
|
|
817
817
|
"name": "caller",
|
|
818
818
|
"nodeType": "Identifier",
|
|
819
819
|
"overloadedDeclarations": [],
|
|
820
|
-
"referencedDeclaration":
|
|
820
|
+
"referencedDeclaration": 32704,
|
|
821
821
|
"src": "829:6:45",
|
|
822
822
|
"typeDescriptions": {
|
|
823
823
|
"typeIdentifier": "t_address",
|
|
@@ -837,32 +837,32 @@
|
|
|
837
837
|
}
|
|
838
838
|
],
|
|
839
839
|
"expression": {
|
|
840
|
-
"id":
|
|
840
|
+
"id": 32725,
|
|
841
841
|
"name": "ResourceAccess",
|
|
842
842
|
"nodeType": "Identifier",
|
|
843
843
|
"overloadedDeclarations": [],
|
|
844
|
-
"referencedDeclaration":
|
|
844
|
+
"referencedDeclaration": 42426,
|
|
845
845
|
"src": "770:14:45",
|
|
846
846
|
"typeDescriptions": {
|
|
847
|
-
"typeIdentifier": "t_type$_t_contract$_ResourceAccess_$
|
|
847
|
+
"typeIdentifier": "t_type$_t_contract$_ResourceAccess_$42426_$",
|
|
848
848
|
"typeString": "type(library ResourceAccess)"
|
|
849
849
|
}
|
|
850
850
|
},
|
|
851
|
-
"id":
|
|
851
|
+
"id": 32726,
|
|
852
852
|
"isConstant": false,
|
|
853
853
|
"isLValue": false,
|
|
854
854
|
"isPure": false,
|
|
855
855
|
"lValueRequested": false,
|
|
856
856
|
"memberName": "get",
|
|
857
857
|
"nodeType": "MemberAccess",
|
|
858
|
-
"referencedDeclaration":
|
|
858
|
+
"referencedDeclaration": 42122,
|
|
859
859
|
"src": "770:18:45",
|
|
860
860
|
"typeDescriptions": {
|
|
861
861
|
"typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$",
|
|
862
862
|
"typeString": "function (bytes32,address) view returns (bool)"
|
|
863
863
|
}
|
|
864
864
|
},
|
|
865
|
-
"id":
|
|
865
|
+
"id": 32733,
|
|
866
866
|
"isConstant": false,
|
|
867
867
|
"isLValue": false,
|
|
868
868
|
"isPure": false,
|
|
@@ -883,15 +883,15 @@
|
|
|
883
883
|
"typeString": "bool"
|
|
884
884
|
}
|
|
885
885
|
},
|
|
886
|
-
"functionReturnParameters":
|
|
887
|
-
"id":
|
|
886
|
+
"functionReturnParameters": 32708,
|
|
887
|
+
"id": 32735,
|
|
888
888
|
"nodeType": "Return",
|
|
889
889
|
"src": "561:275:45"
|
|
890
890
|
}
|
|
891
891
|
]
|
|
892
892
|
},
|
|
893
893
|
"documentation": {
|
|
894
|
-
"id":
|
|
894
|
+
"id": 32698,
|
|
895
895
|
"nodeType": "StructuredDocumentation",
|
|
896
896
|
"src": "360:95:45",
|
|
897
897
|
"text": " Returns true if the caller has access to the namespace or name, false otherwise."
|
|
@@ -902,17 +902,17 @@
|
|
|
902
902
|
"name": "hasAccess",
|
|
903
903
|
"nameLocation": "467:9:45",
|
|
904
904
|
"parameters": {
|
|
905
|
-
"id":
|
|
905
|
+
"id": 32705,
|
|
906
906
|
"nodeType": "ParameterList",
|
|
907
907
|
"parameters": [
|
|
908
908
|
{
|
|
909
909
|
"constant": false,
|
|
910
|
-
"id":
|
|
910
|
+
"id": 32700,
|
|
911
911
|
"mutability": "mutable",
|
|
912
912
|
"name": "namespace",
|
|
913
913
|
"nameLocation": "485:9:45",
|
|
914
914
|
"nodeType": "VariableDeclaration",
|
|
915
|
-
"scope":
|
|
915
|
+
"scope": 32737,
|
|
916
916
|
"src": "477:17:45",
|
|
917
917
|
"stateVariable": false,
|
|
918
918
|
"storageLocation": "default",
|
|
@@ -921,7 +921,7 @@
|
|
|
921
921
|
"typeString": "bytes16"
|
|
922
922
|
},
|
|
923
923
|
"typeName": {
|
|
924
|
-
"id":
|
|
924
|
+
"id": 32699,
|
|
925
925
|
"name": "bytes16",
|
|
926
926
|
"nodeType": "ElementaryTypeName",
|
|
927
927
|
"src": "477:7:45",
|
|
@@ -934,12 +934,12 @@
|
|
|
934
934
|
},
|
|
935
935
|
{
|
|
936
936
|
"constant": false,
|
|
937
|
-
"id":
|
|
937
|
+
"id": 32702,
|
|
938
938
|
"mutability": "mutable",
|
|
939
939
|
"name": "name",
|
|
940
940
|
"nameLocation": "504:4:45",
|
|
941
941
|
"nodeType": "VariableDeclaration",
|
|
942
|
-
"scope":
|
|
942
|
+
"scope": 32737,
|
|
943
943
|
"src": "496:12:45",
|
|
944
944
|
"stateVariable": false,
|
|
945
945
|
"storageLocation": "default",
|
|
@@ -948,7 +948,7 @@
|
|
|
948
948
|
"typeString": "bytes16"
|
|
949
949
|
},
|
|
950
950
|
"typeName": {
|
|
951
|
-
"id":
|
|
951
|
+
"id": 32701,
|
|
952
952
|
"name": "bytes16",
|
|
953
953
|
"nodeType": "ElementaryTypeName",
|
|
954
954
|
"src": "496:7:45",
|
|
@@ -961,12 +961,12 @@
|
|
|
961
961
|
},
|
|
962
962
|
{
|
|
963
963
|
"constant": false,
|
|
964
|
-
"id":
|
|
964
|
+
"id": 32704,
|
|
965
965
|
"mutability": "mutable",
|
|
966
966
|
"name": "caller",
|
|
967
967
|
"nameLocation": "518:6:45",
|
|
968
968
|
"nodeType": "VariableDeclaration",
|
|
969
|
-
"scope":
|
|
969
|
+
"scope": 32737,
|
|
970
970
|
"src": "510:14:45",
|
|
971
971
|
"stateVariable": false,
|
|
972
972
|
"storageLocation": "default",
|
|
@@ -975,7 +975,7 @@
|
|
|
975
975
|
"typeString": "address"
|
|
976
976
|
},
|
|
977
977
|
"typeName": {
|
|
978
|
-
"id":
|
|
978
|
+
"id": 32703,
|
|
979
979
|
"name": "address",
|
|
980
980
|
"nodeType": "ElementaryTypeName",
|
|
981
981
|
"src": "510:7:45",
|
|
@@ -991,17 +991,17 @@
|
|
|
991
991
|
"src": "476:49:45"
|
|
992
992
|
},
|
|
993
993
|
"returnParameters": {
|
|
994
|
-
"id":
|
|
994
|
+
"id": 32708,
|
|
995
995
|
"nodeType": "ParameterList",
|
|
996
996
|
"parameters": [
|
|
997
997
|
{
|
|
998
998
|
"constant": false,
|
|
999
|
-
"id":
|
|
999
|
+
"id": 32707,
|
|
1000
1000
|
"mutability": "mutable",
|
|
1001
1001
|
"name": "",
|
|
1002
1002
|
"nameLocation": "-1:-1:-1",
|
|
1003
1003
|
"nodeType": "VariableDeclaration",
|
|
1004
|
-
"scope":
|
|
1004
|
+
"scope": 32737,
|
|
1005
1005
|
"src": "549:4:45",
|
|
1006
1006
|
"stateVariable": false,
|
|
1007
1007
|
"storageLocation": "default",
|
|
@@ -1010,7 +1010,7 @@
|
|
|
1010
1010
|
"typeString": "bool"
|
|
1011
1011
|
},
|
|
1012
1012
|
"typeName": {
|
|
1013
|
-
"id":
|
|
1013
|
+
"id": 32706,
|
|
1014
1014
|
"name": "bool",
|
|
1015
1015
|
"nodeType": "ElementaryTypeName",
|
|
1016
1016
|
"src": "549:4:45",
|
|
@@ -1024,35 +1024,35 @@
|
|
|
1024
1024
|
],
|
|
1025
1025
|
"src": "548:6:45"
|
|
1026
1026
|
},
|
|
1027
|
-
"scope":
|
|
1027
|
+
"scope": 32820,
|
|
1028
1028
|
"stateMutability": "view",
|
|
1029
1029
|
"virtual": false,
|
|
1030
1030
|
"visibility": "internal"
|
|
1031
1031
|
},
|
|
1032
1032
|
{
|
|
1033
|
-
"id":
|
|
1033
|
+
"id": 32775,
|
|
1034
1034
|
"nodeType": "FunctionDefinition",
|
|
1035
1035
|
"src": "1094:406:45",
|
|
1036
1036
|
"nodes": [],
|
|
1037
1037
|
"body": {
|
|
1038
|
-
"id":
|
|
1038
|
+
"id": 32774,
|
|
1039
1039
|
"nodeType": "Block",
|
|
1040
1040
|
"src": "1231:269:45",
|
|
1041
1041
|
"nodes": [],
|
|
1042
1042
|
"statements": [
|
|
1043
1043
|
{
|
|
1044
1044
|
"expression": {
|
|
1045
|
-
"id":
|
|
1045
|
+
"id": 32755,
|
|
1046
1046
|
"isConstant": false,
|
|
1047
1047
|
"isLValue": false,
|
|
1048
1048
|
"isPure": false,
|
|
1049
1049
|
"lValueRequested": false,
|
|
1050
1050
|
"leftHandSide": {
|
|
1051
|
-
"id":
|
|
1051
|
+
"id": 32749,
|
|
1052
1052
|
"name": "resourceSelector",
|
|
1053
1053
|
"nodeType": "Identifier",
|
|
1054
1054
|
"overloadedDeclarations": [],
|
|
1055
|
-
"referencedDeclaration":
|
|
1055
|
+
"referencedDeclaration": 32747,
|
|
1056
1056
|
"src": "1237:16:45",
|
|
1057
1057
|
"typeDescriptions": {
|
|
1058
1058
|
"typeIdentifier": "t_bytes32",
|
|
@@ -1064,11 +1064,11 @@
|
|
|
1064
1064
|
"rightHandSide": {
|
|
1065
1065
|
"arguments": [
|
|
1066
1066
|
{
|
|
1067
|
-
"id":
|
|
1067
|
+
"id": 32752,
|
|
1068
1068
|
"name": "namespace",
|
|
1069
1069
|
"nodeType": "Identifier",
|
|
1070
1070
|
"overloadedDeclarations": [],
|
|
1071
|
-
"referencedDeclaration":
|
|
1071
|
+
"referencedDeclaration": 32740,
|
|
1072
1072
|
"src": "1278:9:45",
|
|
1073
1073
|
"typeDescriptions": {
|
|
1074
1074
|
"typeIdentifier": "t_bytes16",
|
|
@@ -1076,11 +1076,11 @@
|
|
|
1076
1076
|
}
|
|
1077
1077
|
},
|
|
1078
1078
|
{
|
|
1079
|
-
"id":
|
|
1079
|
+
"id": 32753,
|
|
1080
1080
|
"name": "name",
|
|
1081
1081
|
"nodeType": "Identifier",
|
|
1082
1082
|
"overloadedDeclarations": [],
|
|
1083
|
-
"referencedDeclaration":
|
|
1083
|
+
"referencedDeclaration": 32742,
|
|
1084
1084
|
"src": "1289:4:45",
|
|
1085
1085
|
"typeDescriptions": {
|
|
1086
1086
|
"typeIdentifier": "t_bytes16",
|
|
@@ -1100,32 +1100,32 @@
|
|
|
1100
1100
|
}
|
|
1101
1101
|
],
|
|
1102
1102
|
"expression": {
|
|
1103
|
-
"id":
|
|
1103
|
+
"id": 32750,
|
|
1104
1104
|
"name": "ResourceSelector",
|
|
1105
1105
|
"nodeType": "Identifier",
|
|
1106
1106
|
"overloadedDeclarations": [],
|
|
1107
|
-
"referencedDeclaration":
|
|
1107
|
+
"referencedDeclaration": 33049,
|
|
1108
1108
|
"src": "1256:16:45",
|
|
1109
1109
|
"typeDescriptions": {
|
|
1110
|
-
"typeIdentifier": "t_type$_t_contract$_ResourceSelector_$
|
|
1110
|
+
"typeIdentifier": "t_type$_t_contract$_ResourceSelector_$33049_$",
|
|
1111
1111
|
"typeString": "type(library ResourceSelector)"
|
|
1112
1112
|
}
|
|
1113
1113
|
},
|
|
1114
|
-
"id":
|
|
1114
|
+
"id": 32751,
|
|
1115
1115
|
"isConstant": false,
|
|
1116
1116
|
"isLValue": false,
|
|
1117
1117
|
"isPure": false,
|
|
1118
1118
|
"lValueRequested": false,
|
|
1119
1119
|
"memberName": "from",
|
|
1120
1120
|
"nodeType": "MemberAccess",
|
|
1121
|
-
"referencedDeclaration":
|
|
1121
|
+
"referencedDeclaration": 32919,
|
|
1122
1122
|
"src": "1256:21:45",
|
|
1123
1123
|
"typeDescriptions": {
|
|
1124
1124
|
"typeIdentifier": "t_function_internal_pure$_t_bytes16_$_t_bytes16_$returns$_t_bytes32_$",
|
|
1125
1125
|
"typeString": "function (bytes16,bytes16) pure returns (bytes32)"
|
|
1126
1126
|
}
|
|
1127
1127
|
},
|
|
1128
|
-
"id":
|
|
1128
|
+
"id": 32754,
|
|
1129
1129
|
"isConstant": false,
|
|
1130
1130
|
"isLValue": false,
|
|
1131
1131
|
"isPure": false,
|
|
@@ -1146,13 +1146,13 @@
|
|
|
1146
1146
|
"typeString": "bytes32"
|
|
1147
1147
|
}
|
|
1148
1148
|
},
|
|
1149
|
-
"id":
|
|
1149
|
+
"id": 32756,
|
|
1150
1150
|
"nodeType": "ExpressionStatement",
|
|
1151
1151
|
"src": "1237:57:45"
|
|
1152
1152
|
},
|
|
1153
1153
|
{
|
|
1154
1154
|
"condition": {
|
|
1155
|
-
"id":
|
|
1155
|
+
"id": 32762,
|
|
1156
1156
|
"isConstant": false,
|
|
1157
1157
|
"isLValue": false,
|
|
1158
1158
|
"isPure": false,
|
|
@@ -1164,11 +1164,11 @@
|
|
|
1164
1164
|
"subExpression": {
|
|
1165
1165
|
"arguments": [
|
|
1166
1166
|
{
|
|
1167
|
-
"id":
|
|
1167
|
+
"id": 32758,
|
|
1168
1168
|
"name": "namespace",
|
|
1169
1169
|
"nodeType": "Identifier",
|
|
1170
1170
|
"overloadedDeclarations": [],
|
|
1171
|
-
"referencedDeclaration":
|
|
1171
|
+
"referencedDeclaration": 32740,
|
|
1172
1172
|
"src": "1391:9:45",
|
|
1173
1173
|
"typeDescriptions": {
|
|
1174
1174
|
"typeIdentifier": "t_bytes16",
|
|
@@ -1176,11 +1176,11 @@
|
|
|
1176
1176
|
}
|
|
1177
1177
|
},
|
|
1178
1178
|
{
|
|
1179
|
-
"id":
|
|
1179
|
+
"id": 32759,
|
|
1180
1180
|
"name": "name",
|
|
1181
1181
|
"nodeType": "Identifier",
|
|
1182
1182
|
"overloadedDeclarations": [],
|
|
1183
|
-
"referencedDeclaration":
|
|
1183
|
+
"referencedDeclaration": 32742,
|
|
1184
1184
|
"src": "1402:4:45",
|
|
1185
1185
|
"typeDescriptions": {
|
|
1186
1186
|
"typeIdentifier": "t_bytes16",
|
|
@@ -1188,11 +1188,11 @@
|
|
|
1188
1188
|
}
|
|
1189
1189
|
},
|
|
1190
1190
|
{
|
|
1191
|
-
"id":
|
|
1191
|
+
"id": 32760,
|
|
1192
1192
|
"name": "caller",
|
|
1193
1193
|
"nodeType": "Identifier",
|
|
1194
1194
|
"overloadedDeclarations": [],
|
|
1195
|
-
"referencedDeclaration":
|
|
1195
|
+
"referencedDeclaration": 32744,
|
|
1196
1196
|
"src": "1408:6:45",
|
|
1197
1197
|
"typeDescriptions": {
|
|
1198
1198
|
"typeIdentifier": "t_address",
|
|
@@ -1215,18 +1215,18 @@
|
|
|
1215
1215
|
"typeString": "address"
|
|
1216
1216
|
}
|
|
1217
1217
|
],
|
|
1218
|
-
"id":
|
|
1218
|
+
"id": 32757,
|
|
1219
1219
|
"name": "hasAccess",
|
|
1220
1220
|
"nodeType": "Identifier",
|
|
1221
1221
|
"overloadedDeclarations": [],
|
|
1222
|
-
"referencedDeclaration":
|
|
1222
|
+
"referencedDeclaration": 32737,
|
|
1223
1223
|
"src": "1381:9:45",
|
|
1224
1224
|
"typeDescriptions": {
|
|
1225
1225
|
"typeIdentifier": "t_function_internal_view$_t_bytes16_$_t_bytes16_$_t_address_$returns$_t_bool_$",
|
|
1226
1226
|
"typeString": "function (bytes16,bytes16,address) view returns (bool)"
|
|
1227
1227
|
}
|
|
1228
1228
|
},
|
|
1229
|
-
"id":
|
|
1229
|
+
"id": 32761,
|
|
1230
1230
|
"isConstant": false,
|
|
1231
1231
|
"isLValue": false,
|
|
1232
1232
|
"isPure": false,
|
|
@@ -1246,11 +1246,11 @@
|
|
|
1246
1246
|
"typeString": "bool"
|
|
1247
1247
|
}
|
|
1248
1248
|
},
|
|
1249
|
-
"id":
|
|
1249
|
+
"id": 32773,
|
|
1250
1250
|
"nodeType": "IfStatement",
|
|
1251
1251
|
"src": "1376:120:45",
|
|
1252
1252
|
"trueBody": {
|
|
1253
|
-
"id":
|
|
1253
|
+
"id": 32772,
|
|
1254
1254
|
"nodeType": "Block",
|
|
1255
1255
|
"src": "1417:79:45",
|
|
1256
1256
|
"statements": [
|
|
@@ -1262,32 +1262,32 @@
|
|
|
1262
1262
|
"expression": {
|
|
1263
1263
|
"argumentTypes": [],
|
|
1264
1264
|
"expression": {
|
|
1265
|
-
"id":
|
|
1265
|
+
"id": 32766,
|
|
1266
1266
|
"name": "resourceSelector",
|
|
1267
1267
|
"nodeType": "Identifier",
|
|
1268
1268
|
"overloadedDeclarations": [],
|
|
1269
|
-
"referencedDeclaration":
|
|
1269
|
+
"referencedDeclaration": 32747,
|
|
1270
1270
|
"src": "1453:16:45",
|
|
1271
1271
|
"typeDescriptions": {
|
|
1272
1272
|
"typeIdentifier": "t_bytes32",
|
|
1273
1273
|
"typeString": "bytes32"
|
|
1274
1274
|
}
|
|
1275
1275
|
},
|
|
1276
|
-
"id":
|
|
1276
|
+
"id": 32767,
|
|
1277
1277
|
"isConstant": false,
|
|
1278
1278
|
"isLValue": false,
|
|
1279
1279
|
"isPure": false,
|
|
1280
1280
|
"lValueRequested": false,
|
|
1281
1281
|
"memberName": "toString",
|
|
1282
1282
|
"nodeType": "MemberAccess",
|
|
1283
|
-
"referencedDeclaration":
|
|
1283
|
+
"referencedDeclaration": 33004,
|
|
1284
1284
|
"src": "1453:25:45",
|
|
1285
1285
|
"typeDescriptions": {
|
|
1286
1286
|
"typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_string_memory_ptr_$bound_to$_t_bytes32_$",
|
|
1287
1287
|
"typeString": "function (bytes32) pure returns (string memory)"
|
|
1288
1288
|
}
|
|
1289
1289
|
},
|
|
1290
|
-
"id":
|
|
1290
|
+
"id": 32768,
|
|
1291
1291
|
"isConstant": false,
|
|
1292
1292
|
"isLValue": false,
|
|
1293
1293
|
"isPure": false,
|
|
@@ -1303,11 +1303,11 @@
|
|
|
1303
1303
|
}
|
|
1304
1304
|
},
|
|
1305
1305
|
{
|
|
1306
|
-
"id":
|
|
1306
|
+
"id": 32769,
|
|
1307
1307
|
"name": "caller",
|
|
1308
1308
|
"nodeType": "Identifier",
|
|
1309
1309
|
"overloadedDeclarations": [],
|
|
1310
|
-
"referencedDeclaration":
|
|
1310
|
+
"referencedDeclaration": 32744,
|
|
1311
1311
|
"src": "1482:6:45",
|
|
1312
1312
|
"typeDescriptions": {
|
|
1313
1313
|
"typeIdentifier": "t_address",
|
|
@@ -1327,32 +1327,32 @@
|
|
|
1327
1327
|
}
|
|
1328
1328
|
],
|
|
1329
1329
|
"expression": {
|
|
1330
|
-
"id":
|
|
1330
|
+
"id": 32763,
|
|
1331
1331
|
"name": "IErrors",
|
|
1332
1332
|
"nodeType": "Identifier",
|
|
1333
1333
|
"overloadedDeclarations": [],
|
|
1334
|
-
"referencedDeclaration":
|
|
1334
|
+
"referencedDeclaration": 33844,
|
|
1335
1335
|
"src": "1432:7:45",
|
|
1336
1336
|
"typeDescriptions": {
|
|
1337
|
-
"typeIdentifier": "t_type$_t_contract$_IErrors_$
|
|
1337
|
+
"typeIdentifier": "t_type$_t_contract$_IErrors_$33844_$",
|
|
1338
1338
|
"typeString": "type(contract IErrors)"
|
|
1339
1339
|
}
|
|
1340
1340
|
},
|
|
1341
|
-
"id":
|
|
1341
|
+
"id": 32765,
|
|
1342
1342
|
"isConstant": false,
|
|
1343
1343
|
"isLValue": false,
|
|
1344
1344
|
"isPure": false,
|
|
1345
1345
|
"lValueRequested": false,
|
|
1346
1346
|
"memberName": "AccessDenied",
|
|
1347
1347
|
"nodeType": "MemberAccess",
|
|
1348
|
-
"referencedDeclaration":
|
|
1348
|
+
"referencedDeclaration": 33823,
|
|
1349
1349
|
"src": "1432:20:45",
|
|
1350
1350
|
"typeDescriptions": {
|
|
1351
1351
|
"typeIdentifier": "t_function_error_pure$_t_string_memory_ptr_$_t_address_$returns$__$",
|
|
1352
1352
|
"typeString": "function (string memory,address) pure"
|
|
1353
1353
|
}
|
|
1354
1354
|
},
|
|
1355
|
-
"id":
|
|
1355
|
+
"id": 32770,
|
|
1356
1356
|
"isConstant": false,
|
|
1357
1357
|
"isLValue": false,
|
|
1358
1358
|
"isPure": false,
|
|
@@ -1367,7 +1367,7 @@
|
|
|
1367
1367
|
"typeString": "tuple()"
|
|
1368
1368
|
}
|
|
1369
1369
|
},
|
|
1370
|
-
"id":
|
|
1370
|
+
"id": 32771,
|
|
1371
1371
|
"nodeType": "RevertStatement",
|
|
1372
1372
|
"src": "1425:64:45"
|
|
1373
1373
|
}
|
|
@@ -1377,7 +1377,7 @@
|
|
|
1377
1377
|
]
|
|
1378
1378
|
},
|
|
1379
1379
|
"documentation": {
|
|
1380
|
-
"id":
|
|
1380
|
+
"id": 32738,
|
|
1381
1381
|
"nodeType": "StructuredDocumentation",
|
|
1382
1382
|
"src": "908:183:45",
|
|
1383
1383
|
"text": " Check for access at the given namespace or name.\n Returns the resourceSelector if the caller has access.\n Reverts with AccessDenied if the caller has no access."
|
|
@@ -1388,17 +1388,17 @@
|
|
|
1388
1388
|
"name": "requireAccess",
|
|
1389
1389
|
"nameLocation": "1103:13:45",
|
|
1390
1390
|
"parameters": {
|
|
1391
|
-
"id":
|
|
1391
|
+
"id": 32745,
|
|
1392
1392
|
"nodeType": "ParameterList",
|
|
1393
1393
|
"parameters": [
|
|
1394
1394
|
{
|
|
1395
1395
|
"constant": false,
|
|
1396
|
-
"id":
|
|
1396
|
+
"id": 32740,
|
|
1397
1397
|
"mutability": "mutable",
|
|
1398
1398
|
"name": "namespace",
|
|
1399
1399
|
"nameLocation": "1130:9:45",
|
|
1400
1400
|
"nodeType": "VariableDeclaration",
|
|
1401
|
-
"scope":
|
|
1401
|
+
"scope": 32775,
|
|
1402
1402
|
"src": "1122:17:45",
|
|
1403
1403
|
"stateVariable": false,
|
|
1404
1404
|
"storageLocation": "default",
|
|
@@ -1407,7 +1407,7 @@
|
|
|
1407
1407
|
"typeString": "bytes16"
|
|
1408
1408
|
},
|
|
1409
1409
|
"typeName": {
|
|
1410
|
-
"id":
|
|
1410
|
+
"id": 32739,
|
|
1411
1411
|
"name": "bytes16",
|
|
1412
1412
|
"nodeType": "ElementaryTypeName",
|
|
1413
1413
|
"src": "1122:7:45",
|
|
@@ -1420,12 +1420,12 @@
|
|
|
1420
1420
|
},
|
|
1421
1421
|
{
|
|
1422
1422
|
"constant": false,
|
|
1423
|
-
"id":
|
|
1423
|
+
"id": 32742,
|
|
1424
1424
|
"mutability": "mutable",
|
|
1425
1425
|
"name": "name",
|
|
1426
1426
|
"nameLocation": "1153:4:45",
|
|
1427
1427
|
"nodeType": "VariableDeclaration",
|
|
1428
|
-
"scope":
|
|
1428
|
+
"scope": 32775,
|
|
1429
1429
|
"src": "1145:12:45",
|
|
1430
1430
|
"stateVariable": false,
|
|
1431
1431
|
"storageLocation": "default",
|
|
@@ -1434,7 +1434,7 @@
|
|
|
1434
1434
|
"typeString": "bytes16"
|
|
1435
1435
|
},
|
|
1436
1436
|
"typeName": {
|
|
1437
|
-
"id":
|
|
1437
|
+
"id": 32741,
|
|
1438
1438
|
"name": "bytes16",
|
|
1439
1439
|
"nodeType": "ElementaryTypeName",
|
|
1440
1440
|
"src": "1145:7:45",
|
|
@@ -1447,12 +1447,12 @@
|
|
|
1447
1447
|
},
|
|
1448
1448
|
{
|
|
1449
1449
|
"constant": false,
|
|
1450
|
-
"id":
|
|
1450
|
+
"id": 32744,
|
|
1451
1451
|
"mutability": "mutable",
|
|
1452
1452
|
"name": "caller",
|
|
1453
1453
|
"nameLocation": "1171:6:45",
|
|
1454
1454
|
"nodeType": "VariableDeclaration",
|
|
1455
|
-
"scope":
|
|
1455
|
+
"scope": 32775,
|
|
1456
1456
|
"src": "1163:14:45",
|
|
1457
1457
|
"stateVariable": false,
|
|
1458
1458
|
"storageLocation": "default",
|
|
@@ -1461,7 +1461,7 @@
|
|
|
1461
1461
|
"typeString": "address"
|
|
1462
1462
|
},
|
|
1463
1463
|
"typeName": {
|
|
1464
|
-
"id":
|
|
1464
|
+
"id": 32743,
|
|
1465
1465
|
"name": "address",
|
|
1466
1466
|
"nodeType": "ElementaryTypeName",
|
|
1467
1467
|
"src": "1163:7:45",
|
|
@@ -1477,17 +1477,17 @@
|
|
|
1477
1477
|
"src": "1116:65:45"
|
|
1478
1478
|
},
|
|
1479
1479
|
"returnParameters": {
|
|
1480
|
-
"id":
|
|
1480
|
+
"id": 32748,
|
|
1481
1481
|
"nodeType": "ParameterList",
|
|
1482
1482
|
"parameters": [
|
|
1483
1483
|
{
|
|
1484
1484
|
"constant": false,
|
|
1485
|
-
"id":
|
|
1485
|
+
"id": 32747,
|
|
1486
1486
|
"mutability": "mutable",
|
|
1487
1487
|
"name": "resourceSelector",
|
|
1488
1488
|
"nameLocation": "1213:16:45",
|
|
1489
1489
|
"nodeType": "VariableDeclaration",
|
|
1490
|
-
"scope":
|
|
1490
|
+
"scope": 32775,
|
|
1491
1491
|
"src": "1205:24:45",
|
|
1492
1492
|
"stateVariable": false,
|
|
1493
1493
|
"storageLocation": "default",
|
|
@@ -1496,7 +1496,7 @@
|
|
|
1496
1496
|
"typeString": "bytes32"
|
|
1497
1497
|
},
|
|
1498
1498
|
"typeName": {
|
|
1499
|
-
"id":
|
|
1499
|
+
"id": 32746,
|
|
1500
1500
|
"name": "bytes32",
|
|
1501
1501
|
"nodeType": "ElementaryTypeName",
|
|
1502
1502
|
"src": "1205:7:45",
|
|
@@ -1510,35 +1510,35 @@
|
|
|
1510
1510
|
],
|
|
1511
1511
|
"src": "1204:26:45"
|
|
1512
1512
|
},
|
|
1513
|
-
"scope":
|
|
1513
|
+
"scope": 32820,
|
|
1514
1514
|
"stateMutability": "view",
|
|
1515
1515
|
"virtual": false,
|
|
1516
1516
|
"visibility": "internal"
|
|
1517
1517
|
},
|
|
1518
1518
|
{
|
|
1519
|
-
"id":
|
|
1519
|
+
"id": 32819,
|
|
1520
1520
|
"nodeType": "FunctionDefinition",
|
|
1521
1521
|
"src": "1504:367:45",
|
|
1522
1522
|
"nodes": [],
|
|
1523
1523
|
"body": {
|
|
1524
|
-
"id":
|
|
1524
|
+
"id": 32818,
|
|
1525
1525
|
"nodeType": "Block",
|
|
1526
1526
|
"src": "1646:225:45",
|
|
1527
1527
|
"nodes": [],
|
|
1528
1528
|
"statements": [
|
|
1529
1529
|
{
|
|
1530
1530
|
"expression": {
|
|
1531
|
-
"id":
|
|
1531
|
+
"id": 32792,
|
|
1532
1532
|
"isConstant": false,
|
|
1533
1533
|
"isLValue": false,
|
|
1534
1534
|
"isPure": false,
|
|
1535
1535
|
"lValueRequested": false,
|
|
1536
1536
|
"leftHandSide": {
|
|
1537
|
-
"id":
|
|
1537
|
+
"id": 32786,
|
|
1538
1538
|
"name": "resourceSelector",
|
|
1539
1539
|
"nodeType": "Identifier",
|
|
1540
1540
|
"overloadedDeclarations": [],
|
|
1541
|
-
"referencedDeclaration":
|
|
1541
|
+
"referencedDeclaration": 32784,
|
|
1542
1542
|
"src": "1652:16:45",
|
|
1543
1543
|
"typeDescriptions": {
|
|
1544
1544
|
"typeIdentifier": "t_bytes32",
|
|
@@ -1550,11 +1550,11 @@
|
|
|
1550
1550
|
"rightHandSide": {
|
|
1551
1551
|
"arguments": [
|
|
1552
1552
|
{
|
|
1553
|
-
"id":
|
|
1553
|
+
"id": 32789,
|
|
1554
1554
|
"name": "namespace",
|
|
1555
1555
|
"nodeType": "Identifier",
|
|
1556
1556
|
"overloadedDeclarations": [],
|
|
1557
|
-
"referencedDeclaration":
|
|
1557
|
+
"referencedDeclaration": 32777,
|
|
1558
1558
|
"src": "1693:9:45",
|
|
1559
1559
|
"typeDescriptions": {
|
|
1560
1560
|
"typeIdentifier": "t_bytes16",
|
|
@@ -1562,11 +1562,11 @@
|
|
|
1562
1562
|
}
|
|
1563
1563
|
},
|
|
1564
1564
|
{
|
|
1565
|
-
"id":
|
|
1565
|
+
"id": 32790,
|
|
1566
1566
|
"name": "name",
|
|
1567
1567
|
"nodeType": "Identifier",
|
|
1568
1568
|
"overloadedDeclarations": [],
|
|
1569
|
-
"referencedDeclaration":
|
|
1569
|
+
"referencedDeclaration": 32779,
|
|
1570
1570
|
"src": "1704:4:45",
|
|
1571
1571
|
"typeDescriptions": {
|
|
1572
1572
|
"typeIdentifier": "t_bytes16",
|
|
@@ -1586,32 +1586,32 @@
|
|
|
1586
1586
|
}
|
|
1587
1587
|
],
|
|
1588
1588
|
"expression": {
|
|
1589
|
-
"id":
|
|
1589
|
+
"id": 32787,
|
|
1590
1590
|
"name": "ResourceSelector",
|
|
1591
1591
|
"nodeType": "Identifier",
|
|
1592
1592
|
"overloadedDeclarations": [],
|
|
1593
|
-
"referencedDeclaration":
|
|
1593
|
+
"referencedDeclaration": 33049,
|
|
1594
1594
|
"src": "1671:16:45",
|
|
1595
1595
|
"typeDescriptions": {
|
|
1596
|
-
"typeIdentifier": "t_type$_t_contract$_ResourceSelector_$
|
|
1596
|
+
"typeIdentifier": "t_type$_t_contract$_ResourceSelector_$33049_$",
|
|
1597
1597
|
"typeString": "type(library ResourceSelector)"
|
|
1598
1598
|
}
|
|
1599
1599
|
},
|
|
1600
|
-
"id":
|
|
1600
|
+
"id": 32788,
|
|
1601
1601
|
"isConstant": false,
|
|
1602
1602
|
"isLValue": false,
|
|
1603
1603
|
"isPure": false,
|
|
1604
1604
|
"lValueRequested": false,
|
|
1605
1605
|
"memberName": "from",
|
|
1606
1606
|
"nodeType": "MemberAccess",
|
|
1607
|
-
"referencedDeclaration":
|
|
1607
|
+
"referencedDeclaration": 32919,
|
|
1608
1608
|
"src": "1671:21:45",
|
|
1609
1609
|
"typeDescriptions": {
|
|
1610
1610
|
"typeIdentifier": "t_function_internal_pure$_t_bytes16_$_t_bytes16_$returns$_t_bytes32_$",
|
|
1611
1611
|
"typeString": "function (bytes16,bytes16) pure returns (bytes32)"
|
|
1612
1612
|
}
|
|
1613
1613
|
},
|
|
1614
|
-
"id":
|
|
1614
|
+
"id": 32791,
|
|
1615
1615
|
"isConstant": false,
|
|
1616
1616
|
"isLValue": false,
|
|
1617
1617
|
"isPure": false,
|
|
@@ -1632,7 +1632,7 @@
|
|
|
1632
1632
|
"typeString": "bytes32"
|
|
1633
1633
|
}
|
|
1634
1634
|
},
|
|
1635
|
-
"id":
|
|
1635
|
+
"id": 32793,
|
|
1636
1636
|
"nodeType": "ExpressionStatement",
|
|
1637
1637
|
"src": "1652:57:45"
|
|
1638
1638
|
},
|
|
@@ -1642,7 +1642,7 @@
|
|
|
1642
1642
|
"typeIdentifier": "t_bool",
|
|
1643
1643
|
"typeString": "bool"
|
|
1644
1644
|
},
|
|
1645
|
-
"id":
|
|
1645
|
+
"id": 32806,
|
|
1646
1646
|
"isConstant": false,
|
|
1647
1647
|
"isLValue": false,
|
|
1648
1648
|
"isPure": false,
|
|
@@ -1652,7 +1652,7 @@
|
|
|
1652
1652
|
"typeIdentifier": "t_address",
|
|
1653
1653
|
"typeString": "address"
|
|
1654
1654
|
},
|
|
1655
|
-
"id":
|
|
1655
|
+
"id": 32799,
|
|
1656
1656
|
"isConstant": false,
|
|
1657
1657
|
"isLValue": false,
|
|
1658
1658
|
"isPure": false,
|
|
@@ -1660,14 +1660,14 @@
|
|
|
1660
1660
|
"leftExpression": {
|
|
1661
1661
|
"arguments": [
|
|
1662
1662
|
{
|
|
1663
|
-
"id":
|
|
1663
|
+
"id": 32796,
|
|
1664
1664
|
"name": "this",
|
|
1665
1665
|
"nodeType": "Identifier",
|
|
1666
1666
|
"overloadedDeclarations": [],
|
|
1667
1667
|
"referencedDeclaration": -28,
|
|
1668
1668
|
"src": "1728:4:45",
|
|
1669
1669
|
"typeDescriptions": {
|
|
1670
|
-
"typeIdentifier": "t_contract$_AccessControl_$
|
|
1670
|
+
"typeIdentifier": "t_contract$_AccessControl_$32820",
|
|
1671
1671
|
"typeString": "library AccessControl"
|
|
1672
1672
|
}
|
|
1673
1673
|
}
|
|
@@ -1675,11 +1675,11 @@
|
|
|
1675
1675
|
"expression": {
|
|
1676
1676
|
"argumentTypes": [
|
|
1677
1677
|
{
|
|
1678
|
-
"typeIdentifier": "t_contract$_AccessControl_$
|
|
1678
|
+
"typeIdentifier": "t_contract$_AccessControl_$32820",
|
|
1679
1679
|
"typeString": "library AccessControl"
|
|
1680
1680
|
}
|
|
1681
1681
|
],
|
|
1682
|
-
"id":
|
|
1682
|
+
"id": 32795,
|
|
1683
1683
|
"isConstant": false,
|
|
1684
1684
|
"isLValue": false,
|
|
1685
1685
|
"isPure": true,
|
|
@@ -1691,14 +1691,14 @@
|
|
|
1691
1691
|
"typeString": "type(address)"
|
|
1692
1692
|
},
|
|
1693
1693
|
"typeName": {
|
|
1694
|
-
"id":
|
|
1694
|
+
"id": 32794,
|
|
1695
1695
|
"name": "address",
|
|
1696
1696
|
"nodeType": "ElementaryTypeName",
|
|
1697
1697
|
"src": "1720:7:45",
|
|
1698
1698
|
"typeDescriptions": {}
|
|
1699
1699
|
}
|
|
1700
1700
|
},
|
|
1701
|
-
"id":
|
|
1701
|
+
"id": 32797,
|
|
1702
1702
|
"isConstant": false,
|
|
1703
1703
|
"isLValue": false,
|
|
1704
1704
|
"isPure": false,
|
|
@@ -1716,11 +1716,11 @@
|
|
|
1716
1716
|
"nodeType": "BinaryOperation",
|
|
1717
1717
|
"operator": "!=",
|
|
1718
1718
|
"rightExpression": {
|
|
1719
|
-
"id":
|
|
1719
|
+
"id": 32798,
|
|
1720
1720
|
"name": "caller",
|
|
1721
1721
|
"nodeType": "Identifier",
|
|
1722
1722
|
"overloadedDeclarations": [],
|
|
1723
|
-
"referencedDeclaration":
|
|
1723
|
+
"referencedDeclaration": 32781,
|
|
1724
1724
|
"src": "1737:6:45",
|
|
1725
1725
|
"typeDescriptions": {
|
|
1726
1726
|
"typeIdentifier": "t_address",
|
|
@@ -1740,7 +1740,7 @@
|
|
|
1740
1740
|
"typeIdentifier": "t_address",
|
|
1741
1741
|
"typeString": "address"
|
|
1742
1742
|
},
|
|
1743
|
-
"id":
|
|
1743
|
+
"id": 32805,
|
|
1744
1744
|
"isConstant": false,
|
|
1745
1745
|
"isLValue": false,
|
|
1746
1746
|
"isPure": false,
|
|
@@ -1748,11 +1748,11 @@
|
|
|
1748
1748
|
"leftExpression": {
|
|
1749
1749
|
"arguments": [
|
|
1750
1750
|
{
|
|
1751
|
-
"id":
|
|
1751
|
+
"id": 32802,
|
|
1752
1752
|
"name": "namespace",
|
|
1753
1753
|
"nodeType": "Identifier",
|
|
1754
1754
|
"overloadedDeclarations": [],
|
|
1755
|
-
"referencedDeclaration":
|
|
1755
|
+
"referencedDeclaration": 32777,
|
|
1756
1756
|
"src": "1766:9:45",
|
|
1757
1757
|
"typeDescriptions": {
|
|
1758
1758
|
"typeIdentifier": "t_bytes16",
|
|
@@ -1768,32 +1768,32 @@
|
|
|
1768
1768
|
}
|
|
1769
1769
|
],
|
|
1770
1770
|
"expression": {
|
|
1771
|
-
"id":
|
|
1771
|
+
"id": 32800,
|
|
1772
1772
|
"name": "NamespaceOwner",
|
|
1773
1773
|
"nodeType": "Identifier",
|
|
1774
1774
|
"overloadedDeclarations": [],
|
|
1775
|
-
"referencedDeclaration":
|
|
1775
|
+
"referencedDeclaration": 41834,
|
|
1776
1776
|
"src": "1747:14:45",
|
|
1777
1777
|
"typeDescriptions": {
|
|
1778
|
-
"typeIdentifier": "t_type$_t_contract$_NamespaceOwner_$
|
|
1778
|
+
"typeIdentifier": "t_type$_t_contract$_NamespaceOwner_$41834_$",
|
|
1779
1779
|
"typeString": "type(library NamespaceOwner)"
|
|
1780
1780
|
}
|
|
1781
1781
|
},
|
|
1782
|
-
"id":
|
|
1782
|
+
"id": 32801,
|
|
1783
1783
|
"isConstant": false,
|
|
1784
1784
|
"isLValue": false,
|
|
1785
1785
|
"isPure": false,
|
|
1786
1786
|
"lValueRequested": false,
|
|
1787
1787
|
"memberName": "get",
|
|
1788
1788
|
"nodeType": "MemberAccess",
|
|
1789
|
-
"referencedDeclaration":
|
|
1789
|
+
"referencedDeclaration": 41607,
|
|
1790
1790
|
"src": "1747:18:45",
|
|
1791
1791
|
"typeDescriptions": {
|
|
1792
1792
|
"typeIdentifier": "t_function_internal_view$_t_bytes16_$returns$_t_address_$",
|
|
1793
1793
|
"typeString": "function (bytes16) view returns (address)"
|
|
1794
1794
|
}
|
|
1795
1795
|
},
|
|
1796
|
-
"id":
|
|
1796
|
+
"id": 32803,
|
|
1797
1797
|
"isConstant": false,
|
|
1798
1798
|
"isLValue": false,
|
|
1799
1799
|
"isPure": false,
|
|
@@ -1811,11 +1811,11 @@
|
|
|
1811
1811
|
"nodeType": "BinaryOperation",
|
|
1812
1812
|
"operator": "!=",
|
|
1813
1813
|
"rightExpression": {
|
|
1814
|
-
"id":
|
|
1814
|
+
"id": 32804,
|
|
1815
1815
|
"name": "caller",
|
|
1816
1816
|
"nodeType": "Identifier",
|
|
1817
1817
|
"overloadedDeclarations": [],
|
|
1818
|
-
"referencedDeclaration":
|
|
1818
|
+
"referencedDeclaration": 32781,
|
|
1819
1819
|
"src": "1780:6:45",
|
|
1820
1820
|
"typeDescriptions": {
|
|
1821
1821
|
"typeIdentifier": "t_address",
|
|
@@ -1834,11 +1834,11 @@
|
|
|
1834
1834
|
"typeString": "bool"
|
|
1835
1835
|
}
|
|
1836
1836
|
},
|
|
1837
|
-
"id":
|
|
1837
|
+
"id": 32817,
|
|
1838
1838
|
"nodeType": "IfStatement",
|
|
1839
1839
|
"src": "1716:151:45",
|
|
1840
1840
|
"trueBody": {
|
|
1841
|
-
"id":
|
|
1841
|
+
"id": 32816,
|
|
1842
1842
|
"nodeType": "Block",
|
|
1843
1843
|
"src": "1788:79:45",
|
|
1844
1844
|
"statements": [
|
|
@@ -1850,32 +1850,32 @@
|
|
|
1850
1850
|
"expression": {
|
|
1851
1851
|
"argumentTypes": [],
|
|
1852
1852
|
"expression": {
|
|
1853
|
-
"id":
|
|
1853
|
+
"id": 32810,
|
|
1854
1854
|
"name": "resourceSelector",
|
|
1855
1855
|
"nodeType": "Identifier",
|
|
1856
1856
|
"overloadedDeclarations": [],
|
|
1857
|
-
"referencedDeclaration":
|
|
1857
|
+
"referencedDeclaration": 32784,
|
|
1858
1858
|
"src": "1824:16:45",
|
|
1859
1859
|
"typeDescriptions": {
|
|
1860
1860
|
"typeIdentifier": "t_bytes32",
|
|
1861
1861
|
"typeString": "bytes32"
|
|
1862
1862
|
}
|
|
1863
1863
|
},
|
|
1864
|
-
"id":
|
|
1864
|
+
"id": 32811,
|
|
1865
1865
|
"isConstant": false,
|
|
1866
1866
|
"isLValue": false,
|
|
1867
1867
|
"isPure": false,
|
|
1868
1868
|
"lValueRequested": false,
|
|
1869
1869
|
"memberName": "toString",
|
|
1870
1870
|
"nodeType": "MemberAccess",
|
|
1871
|
-
"referencedDeclaration":
|
|
1871
|
+
"referencedDeclaration": 33004,
|
|
1872
1872
|
"src": "1824:25:45",
|
|
1873
1873
|
"typeDescriptions": {
|
|
1874
1874
|
"typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_string_memory_ptr_$bound_to$_t_bytes32_$",
|
|
1875
1875
|
"typeString": "function (bytes32) pure returns (string memory)"
|
|
1876
1876
|
}
|
|
1877
1877
|
},
|
|
1878
|
-
"id":
|
|
1878
|
+
"id": 32812,
|
|
1879
1879
|
"isConstant": false,
|
|
1880
1880
|
"isLValue": false,
|
|
1881
1881
|
"isPure": false,
|
|
@@ -1891,11 +1891,11 @@
|
|
|
1891
1891
|
}
|
|
1892
1892
|
},
|
|
1893
1893
|
{
|
|
1894
|
-
"id":
|
|
1894
|
+
"id": 32813,
|
|
1895
1895
|
"name": "caller",
|
|
1896
1896
|
"nodeType": "Identifier",
|
|
1897
1897
|
"overloadedDeclarations": [],
|
|
1898
|
-
"referencedDeclaration":
|
|
1898
|
+
"referencedDeclaration": 32781,
|
|
1899
1899
|
"src": "1853:6:45",
|
|
1900
1900
|
"typeDescriptions": {
|
|
1901
1901
|
"typeIdentifier": "t_address",
|
|
@@ -1915,32 +1915,32 @@
|
|
|
1915
1915
|
}
|
|
1916
1916
|
],
|
|
1917
1917
|
"expression": {
|
|
1918
|
-
"id":
|
|
1918
|
+
"id": 32807,
|
|
1919
1919
|
"name": "IErrors",
|
|
1920
1920
|
"nodeType": "Identifier",
|
|
1921
1921
|
"overloadedDeclarations": [],
|
|
1922
|
-
"referencedDeclaration":
|
|
1922
|
+
"referencedDeclaration": 33844,
|
|
1923
1923
|
"src": "1803:7:45",
|
|
1924
1924
|
"typeDescriptions": {
|
|
1925
|
-
"typeIdentifier": "t_type$_t_contract$_IErrors_$
|
|
1925
|
+
"typeIdentifier": "t_type$_t_contract$_IErrors_$33844_$",
|
|
1926
1926
|
"typeString": "type(contract IErrors)"
|
|
1927
1927
|
}
|
|
1928
1928
|
},
|
|
1929
|
-
"id":
|
|
1929
|
+
"id": 32809,
|
|
1930
1930
|
"isConstant": false,
|
|
1931
1931
|
"isLValue": false,
|
|
1932
1932
|
"isPure": false,
|
|
1933
1933
|
"lValueRequested": false,
|
|
1934
1934
|
"memberName": "AccessDenied",
|
|
1935
1935
|
"nodeType": "MemberAccess",
|
|
1936
|
-
"referencedDeclaration":
|
|
1936
|
+
"referencedDeclaration": 33823,
|
|
1937
1937
|
"src": "1803:20:45",
|
|
1938
1938
|
"typeDescriptions": {
|
|
1939
1939
|
"typeIdentifier": "t_function_error_pure$_t_string_memory_ptr_$_t_address_$returns$__$",
|
|
1940
1940
|
"typeString": "function (string memory,address) pure"
|
|
1941
1941
|
}
|
|
1942
1942
|
},
|
|
1943
|
-
"id":
|
|
1943
|
+
"id": 32814,
|
|
1944
1944
|
"isConstant": false,
|
|
1945
1945
|
"isLValue": false,
|
|
1946
1946
|
"isPure": false,
|
|
@@ -1955,7 +1955,7 @@
|
|
|
1955
1955
|
"typeString": "tuple()"
|
|
1956
1956
|
}
|
|
1957
1957
|
},
|
|
1958
|
-
"id":
|
|
1958
|
+
"id": 32815,
|
|
1959
1959
|
"nodeType": "RevertStatement",
|
|
1960
1960
|
"src": "1796:64:45"
|
|
1961
1961
|
}
|
|
@@ -1970,17 +1970,17 @@
|
|
|
1970
1970
|
"name": "requireOwnerOrSelf",
|
|
1971
1971
|
"nameLocation": "1513:18:45",
|
|
1972
1972
|
"parameters": {
|
|
1973
|
-
"id":
|
|
1973
|
+
"id": 32782,
|
|
1974
1974
|
"nodeType": "ParameterList",
|
|
1975
1975
|
"parameters": [
|
|
1976
1976
|
{
|
|
1977
1977
|
"constant": false,
|
|
1978
|
-
"id":
|
|
1978
|
+
"id": 32777,
|
|
1979
1979
|
"mutability": "mutable",
|
|
1980
1980
|
"name": "namespace",
|
|
1981
1981
|
"nameLocation": "1545:9:45",
|
|
1982
1982
|
"nodeType": "VariableDeclaration",
|
|
1983
|
-
"scope":
|
|
1983
|
+
"scope": 32819,
|
|
1984
1984
|
"src": "1537:17:45",
|
|
1985
1985
|
"stateVariable": false,
|
|
1986
1986
|
"storageLocation": "default",
|
|
@@ -1989,7 +1989,7 @@
|
|
|
1989
1989
|
"typeString": "bytes16"
|
|
1990
1990
|
},
|
|
1991
1991
|
"typeName": {
|
|
1992
|
-
"id":
|
|
1992
|
+
"id": 32776,
|
|
1993
1993
|
"name": "bytes16",
|
|
1994
1994
|
"nodeType": "ElementaryTypeName",
|
|
1995
1995
|
"src": "1537:7:45",
|
|
@@ -2002,12 +2002,12 @@
|
|
|
2002
2002
|
},
|
|
2003
2003
|
{
|
|
2004
2004
|
"constant": false,
|
|
2005
|
-
"id":
|
|
2005
|
+
"id": 32779,
|
|
2006
2006
|
"mutability": "mutable",
|
|
2007
2007
|
"name": "name",
|
|
2008
2008
|
"nameLocation": "1568:4:45",
|
|
2009
2009
|
"nodeType": "VariableDeclaration",
|
|
2010
|
-
"scope":
|
|
2010
|
+
"scope": 32819,
|
|
2011
2011
|
"src": "1560:12:45",
|
|
2012
2012
|
"stateVariable": false,
|
|
2013
2013
|
"storageLocation": "default",
|
|
@@ -2016,7 +2016,7 @@
|
|
|
2016
2016
|
"typeString": "bytes16"
|
|
2017
2017
|
},
|
|
2018
2018
|
"typeName": {
|
|
2019
|
-
"id":
|
|
2019
|
+
"id": 32778,
|
|
2020
2020
|
"name": "bytes16",
|
|
2021
2021
|
"nodeType": "ElementaryTypeName",
|
|
2022
2022
|
"src": "1560:7:45",
|
|
@@ -2029,12 +2029,12 @@
|
|
|
2029
2029
|
},
|
|
2030
2030
|
{
|
|
2031
2031
|
"constant": false,
|
|
2032
|
-
"id":
|
|
2032
|
+
"id": 32781,
|
|
2033
2033
|
"mutability": "mutable",
|
|
2034
2034
|
"name": "caller",
|
|
2035
2035
|
"nameLocation": "1586:6:45",
|
|
2036
2036
|
"nodeType": "VariableDeclaration",
|
|
2037
|
-
"scope":
|
|
2037
|
+
"scope": 32819,
|
|
2038
2038
|
"src": "1578:14:45",
|
|
2039
2039
|
"stateVariable": false,
|
|
2040
2040
|
"storageLocation": "default",
|
|
@@ -2043,7 +2043,7 @@
|
|
|
2043
2043
|
"typeString": "address"
|
|
2044
2044
|
},
|
|
2045
2045
|
"typeName": {
|
|
2046
|
-
"id":
|
|
2046
|
+
"id": 32780,
|
|
2047
2047
|
"name": "address",
|
|
2048
2048
|
"nodeType": "ElementaryTypeName",
|
|
2049
2049
|
"src": "1578:7:45",
|
|
@@ -2059,17 +2059,17 @@
|
|
|
2059
2059
|
"src": "1531:65:45"
|
|
2060
2060
|
},
|
|
2061
2061
|
"returnParameters": {
|
|
2062
|
-
"id":
|
|
2062
|
+
"id": 32785,
|
|
2063
2063
|
"nodeType": "ParameterList",
|
|
2064
2064
|
"parameters": [
|
|
2065
2065
|
{
|
|
2066
2066
|
"constant": false,
|
|
2067
|
-
"id":
|
|
2067
|
+
"id": 32784,
|
|
2068
2068
|
"mutability": "mutable",
|
|
2069
2069
|
"name": "resourceSelector",
|
|
2070
2070
|
"nameLocation": "1628:16:45",
|
|
2071
2071
|
"nodeType": "VariableDeclaration",
|
|
2072
|
-
"scope":
|
|
2072
|
+
"scope": 32819,
|
|
2073
2073
|
"src": "1620:24:45",
|
|
2074
2074
|
"stateVariable": false,
|
|
2075
2075
|
"storageLocation": "default",
|
|
@@ -2078,7 +2078,7 @@
|
|
|
2078
2078
|
"typeString": "bytes32"
|
|
2079
2079
|
},
|
|
2080
2080
|
"typeName": {
|
|
2081
|
-
"id":
|
|
2081
|
+
"id": 32783,
|
|
2082
2082
|
"name": "bytes32",
|
|
2083
2083
|
"nodeType": "ElementaryTypeName",
|
|
2084
2084
|
"src": "1620:7:45",
|
|
@@ -2092,7 +2092,7 @@
|
|
|
2092
2092
|
],
|
|
2093
2093
|
"src": "1619:26:45"
|
|
2094
2094
|
},
|
|
2095
|
-
"scope":
|
|
2095
|
+
"scope": 32820,
|
|
2096
2096
|
"stateMutability": "view",
|
|
2097
2097
|
"virtual": false,
|
|
2098
2098
|
"visibility": "internal"
|
|
@@ -2105,11 +2105,11 @@
|
|
|
2105
2105
|
"contractKind": "library",
|
|
2106
2106
|
"fullyImplemented": true,
|
|
2107
2107
|
"linearizedBaseContracts": [
|
|
2108
|
-
|
|
2108
|
+
32820
|
|
2109
2109
|
],
|
|
2110
2110
|
"name": "AccessControl",
|
|
2111
2111
|
"nameLocation": "303:13:45",
|
|
2112
|
-
"scope":
|
|
2112
|
+
"scope": 32821,
|
|
2113
2113
|
"usedErrors": []
|
|
2114
2114
|
}
|
|
2115
2115
|
],
|