@latticexyz/world-modules 2.0.0-main-071aadb9 → 2.0.0-main-88b1a5a1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +215 -215
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2599 -2599
- package/out/DecodeSlice.sol/DecodeSlice.json +3250 -3250
- package/out/DelegationControl.sol/DelegationControl.json +94 -94
- package/out/EncodeArray.sol/EncodeArray.json +3345 -3345
- package/out/FieldLayout.sol/FieldLayoutInstance.json +47 -47
- package/out/FieldLayout.sol/FieldLayoutLib.json +47 -47
- package/out/Hook.sol/HookInstance.json +13 -13
- package/out/Hook.sol/HookLib.json +13 -13
- package/out/Hooks.sol/Hooks.json +3393 -3393
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +58 -58
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +54 -54
- package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +52 -52
- package/out/ICoreSystem.sol/ICoreSystem.json +7 -7
- package/out/IDelegationControl.sol/IDelegationControl.json +62 -62
- package/out/IModule.sol/IModule.json +78 -78
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +28 -28
- package/out/ISystemHook.sol/ISystemHook.json +86 -86
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
- package/out/IWorldErrors.sol/IWorldErrors.json +152 -152
- package/out/IWorldKernel.sol/IWorldCall.json +154 -154
- package/out/IWorldKernel.sol/IWorldKernel.json +154 -154
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +190 -190
- package/out/KeysInTable.sol/KeysInTable.json +10672 -10672
- package/out/KeysInTableHook.sol/KeysInTableHook.json +867 -867
- package/out/KeysInTableModule.sol/KeysInTableModule.json +538 -538
- package/out/KeysWithValue.sol/KeysWithValue.json +3832 -3832
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +993 -993
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +426 -426
- package/out/Memory.sol/Memory.json +4 -4
- package/out/Module.sol/Module.json +84 -84
- package/out/ResourceIds.sol/ResourceIds.json +1363 -1363
- package/out/Schema.sol/SchemaInstance.json +72 -72
- package/out/Schema.sol/SchemaLib.json +72 -72
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/Slice.sol/SliceInstance.json +4 -4
- package/out/Slice.sol/SliceLib.json +4 -4
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +303 -303
- package/out/Storage.sol/Storage.json +7 -7
- package/out/StoreCore.sol/StoreCore.json +708 -737
- package/out/StoreCore.sol/StoreCoreInternal.json +710 -739
- package/out/StoreHook.sol/StoreHook.json +368 -368
- package/out/StoreHooks.sol/StoreHooks.json +3232 -3232
- package/out/StoreSwitch.sol/StoreSwitch.json +1885 -1885
- package/out/System.sol/System.json +31 -31
- package/out/Tables.sol/Tables.json +5585 -5585
- package/out/TightCoder.sol/TightCoder.json +124 -124
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +119 -119
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1990 -1990
- package/out/UniqueEntity.sol/UniqueEntity.json +1406 -1406
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +327 -327
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +93 -93
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2727 -2727
- package/out/WorldContext.sol/WorldContextConsumer.json +1380 -988
- package/out/WorldContext.sol/{WorldContextProvider.json → WorldContextConsumerLib.json} +1381 -989
- package/out/WorldContext.sol/WorldContextProviderLib.json +3910 -0
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
- package/out/constants.sol/LayoutOffsets.json +79 -79
- package/out/constants.sol/constants.json +115 -115
- package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
- package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
- package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
- package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
- package/out/hasKey.sol/hasKey.json +130 -130
- package/out/index.sol/index.json +53 -53
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +131 -131
- package/out/leftMask.sol/leftMask.json +31 -31
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1338 -1338
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
- package/out/src/IStore.sol/IStore.json +53 -53
- package/out/src/IWorldKernel.sol/IWorldCall.json +153 -153
- package/out/src/IWorldKernel.sol/IWorldKernel.json +153 -153
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +153 -153
- package/out/src/Memory.sol/Memory.json +91 -91
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
- package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
- package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
- package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
- package/out/src/Schema.sol/SchemaInstance.json +790 -790
- package/out/src/Schema.sol/SchemaLib.json +790 -790
- package/out/src/Slice.sol/SliceInstance.json +430 -430
- package/out/src/Slice.sol/SliceLib.json +430 -430
- package/out/src/StoreCore.sol/StoreCore.json +4695 -4724
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4697 -4726
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2487 -2487
- package/out/src/WorldContext.sol/WorldContextConsumer.json +1291 -899
- package/out/src/WorldContext.sol/WorldContextConsumerLib.abi.json +1 -0
- package/out/src/WorldContext.sol/{WorldContextProvider.json → WorldContextConsumerLib.json} +1292 -900
- package/out/src/WorldContext.sol/WorldContextProviderLib.abi.json +1 -0
- package/out/src/WorldContext.sol/WorldContextProviderLib.json +3910 -0
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +1751 -1751
- package/out/tables/Tables.sol/Tables.json +7292 -7292
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
- package/out/types.sol/types.json +41 -41
- package/out/version.sol/version.json +7 -7
- package/out/world/src/IERC165.sol/IERC165.json +28 -28
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
- /package/out/WorldContext.sol/{WorldContextProvider.abi.json → WorldContextConsumerLib.abi.json} +0 -0
- /package/out/{src/WorldContext.sol/WorldContextProvider.abi.json → WorldContext.sol/WorldContextProviderLib.abi.json} +0 -0
@@ -2,16 +2,16 @@
|
|
2
2
|
"abi": [],
|
3
3
|
"bytecode": {
|
4
4
|
"object": "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000815000a",
|
5
|
-
"sourceMap": "
|
5
|
+
"sourceMap": "2503:1427:40:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;2503:1427:40;;;;;;;;;;;;;;;;;",
|
6
6
|
"linkReferences": {}
|
7
7
|
},
|
8
8
|
"deployedBytecode": {
|
9
9
|
"object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000815000a",
|
10
|
-
"sourceMap": "
|
10
|
+
"sourceMap": "2503:1427:40:-:0;;;;;;;;",
|
11
11
|
"linkReferences": {}
|
12
12
|
},
|
13
13
|
"methodIdentifiers": {},
|
14
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"WorldContextProvider - Utility functions to call contracts with context values appended to calldata.\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"This library provides functions to make calls or delegatecalls to other contracts, appending the context values (like msg.sender and msg.value) to the calldata for WorldContextConsumer to consume.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/WorldContext.sol\":\"WorldContextProvider\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"/home/runner/work/mud/mud/packages/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"/home/runner/work/mud/mud/packages/world/src/IWorldContextConsumer.sol\":{\"keccak256\":\"0x22b8cb3ffcc21cb1657d57fc8ac929d2d6fdd199328e6f43ad2cb54f53dcd500\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://47c001f6b7c6d6e453c340618d23b1532078abb7d0fd7283405071e4e8ff8d2d\",\"dweb:/ipfs/QmRW3femBhqQCPwDEj4Jop2Dnd3EU21ufg7GDVwN4joCQu\"]},\"/home/runner/work/mud/mud/packages/world/src/WorldContext.sol\":{\"keccak256\":\"0x45792667fe063195103e9fd74e3e9e0b0b4aea4fc4a0a8a3e69538c14751217b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cba8976da1e2f7e336045e8d65eba89d18ae49e4688de61ff61a95fb817fe9fc\",\"dweb:/ipfs/QmWoByJM6DmheS2jisxSvAzrqC6XWrgaKxoNNUr44aXJtE\"]},\"/home/runner/work/mud/mud/packages/world/src/revertWithBytes.sol\":{\"keccak256\":\"0x16795bdbfd7956d733df9ada1030ee7a1a714e3b9da5899149a7b07568c4af55\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a71128b4989e78215d5fc57dae8c2f84c6b5e503c159178c0df6f642b8228df\",\"dweb:/ipfs/QmNYTfBe62SdGESZ32fxME72CbAxEqk4j79jBT7655C4u7\"]},\"node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol\":{\"keccak256\":\"0x770eff7a38b9b7b1613dc11ca09db4f28b42a117c9b39b2a06a650a58a250bdb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://39f544110658a53def52c2a4e33b8b158b95a4f14fccea58d5268b6e728d86d4\",\"dweb:/ipfs/QmTesj6tjSFbfAiKUitXapdNYWPStS8bLkB3r22qfyHwUC\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xab31edce915377852bb5f29f7f2ccfc50cac087d64d2a8aae669715ad862d558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3187e86e43be1fbdd59df45c695294f1114aa1ac48e6445c0cb26089434be5c4\",\"dweb:/ipfs/Qmck7shMVrcKMVkgN2pC1byPY7hb3V9fTxnUcGgxAUeXYk\"]},\"node_modules/@latticexyz/store/src/FieldLayout.sol\":{\"keccak256\":\"0x2a0536cd6cecc479d0b81d5aad6380231f4d6873beadc54814d801c2036b02c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e07c041e19146a9ec258cc700a450b4d49440202895eb12f3bb17508427c23ba\",\"dweb:/ipfs/QmXoqrCGDSkuFgNSMURRFdjokjREL78nLDzNaUi6rjefy9\"]},\"node_modules/@latticexyz/store/src/Hook.sol\":{\"keccak256\":\"0x045024523eb55d08ad8d13eca6185bff2988865f4aa12e3f9372029c2ecb8ddd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6621c53b49f8fe0557d1a1db47bfe1561801c09256948dd0652fb41541891a18\",\"dweb:/ipfs/QmZgFVCUH1pKcc9MeFyzMe1VW87SLz6c9szGwrDRUp6BZe\"]},\"node_modules/@latticexyz/store/src/IERC165.sol\":{\"keccak256\":\"0x2bbc3c43400c15a91a5cb35430a91309cb64a4d13a0a170eacec71dcf334feaf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f44dfc9605067de539de07a76a34bf469faa9e6dad8c192abafc2e05860c7dd2\",\"dweb:/ipfs/QmX8xgG6XWokM7YFwFZvmMhuh1uhkSjxCMD2oTHjUVdapb\"]},\"node_modules/@latticexyz/store/src/IStore.sol\":{\"keccak256\":\"0x9092b65551d0f910e5645cebb5acadb387cdd192d75fa89cd6b293bd65b28827\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://478825a6f7eff9ddab968e71e1d55ebee279d3b318f10976d9334384000059c0\",\"dweb:/ipfs/Qme7NY976woRy3RQjE4tkkiwoXnoVtTmER3PbWCSbjZ2kb\"]},\"node_modules/@latticexyz/store/src/IStoreData.sol\":{\"keccak256\":\"0xa8eade05c551aeef35c84727d7a44af239516deb2d8a0cfb7ebeb5d88c6995e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5335910bd8a204abb5f4396fb911a5ee5c221bd7fa63b1cc8ae5e737c6458c6a\",\"dweb:/ipfs/QmckkCAfrNcWo3yDxoD1jCe1k4iDA2GzVDpFjJZs7W79vx\"]},\"node_modules/@latticexyz/store/src/IStoreErrors.sol\":{\"keccak256\":\"0xb9070663ded3cad82285bb7610949e422f88abb48c2ddbd792af83d127d64212\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://830490f1c888bec86df1e7ef43773d60ebdbdfdb2b91ab7fe074e2f38d7439dc\",\"dweb:/ipfs/QmS26fpXdZuGgMmjcdQDf9k1Bedn2dhjk9byFZJoNkctPZ\"]},\"node_modules/@latticexyz/store/src/IStoreEvents.sol\":{\"keccak256\":\"0xdd3104680808f975462a85cbd4fa87783ba5395797419caeeca37e8f8627a16f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://943864b7eb16ad2047ade5a8598e85c8a4b46d1aed6aef02bfb7cee8de732b4d\",\"dweb:/ipfs/QmTEij4caToSNk15PFpubXYDy9QhwmPyP9tMXjUse2cTdv\"]},\"node_modules/@latticexyz/store/src/IStoreHook.sol\":{\"keccak256\":\"0xa6777c7868333996ad9c61a94457dcac702d8d7445a104dfdc86543d25e7470e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6268a16449d7529a94746d0103670dd0e38faf5117bf914fb01da9947ab44c2e\",\"dweb:/ipfs/QmaSfbx1QRA3jw2K8bGkQTw4CTGPUzNqnCJW7LwaFUJCXy\"]},\"node_modules/@latticexyz/store/src/IStoreRead.sol\":{\"keccak256\":\"0xd2180d53ecd31069b1166f170ecdcd85917ac50f45fc26fb39b49cee7ba00e37\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1494bb0a3228e2d194bddaed4761fd3ca865979f0e3f3a53acd271143a4aa0ac\",\"dweb:/ipfs/Qmaddnzzmu99iP9dTWK9ZeByh5dZyjY9SpVnRdvyr2fBAo\"]},\"node_modules/@latticexyz/store/src/IStoreRegistration.sol\":{\"keccak256\":\"0xf448fbb2bc9c982721a43234463656da5a49cea08543e62148d54f11e1ac3e2f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://64b3579d9b9dcd73dca2beab3d4fcf60237420945ebbb2e9f4ffcc88f4110115\",\"dweb:/ipfs/QmaW5nN3zGEriSYHncye6Nz2TkAw1oo1CyG2JuJTJrJoXg\"]},\"node_modules/@latticexyz/store/src/IStoreWrite.sol\":{\"keccak256\":\"0x8b6c7af5ee330928aebb58c8872d3944304ee10ed11f8a325b6accc4ec5df81b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b866d158701c7a40834bed735194b804ef219f2bbe574e2307785fff7bcf9da1\",\"dweb:/ipfs/QmXzJfZkXVfyr2RFGwDuazeVnV3UWYmQxjKZ3KzFbbe75U\"]},\"node_modules/@latticexyz/store/src/Memory.sol\":{\"keccak256\":\"0x69295976e61a1a108d1b4d6eb497b238730309f3047c4320d48e01a0ce8d4ec7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://559c451b21fb9dd4fec27b41bef42f4362f1e7ebb7992106d548b9d4f733b3e5\",\"dweb:/ipfs/QmeSE7YTW5zUrfZYFVb2pFnDe3XxiT8XNecfwC3wfpxCRv\"]},\"node_modules/@latticexyz/store/src/PackedCounter.sol\":{\"keccak256\":\"0x44ddfa9eb8a861462c550f0a9d66c40c68acdb347a61fa765949608407a2c7fb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://47ee957f4b19cab9e20bf5fc569c015eca13852fb3351f2a105a8be9c48204c0\",\"dweb:/ipfs/QmNkyzDobVQLoq9BtQ8HtgsPLiqnmi97EZx1wsu6wp8nKH\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x40983c580b8958e55db4520095934a535e98544ffe8228327e598973eb6647ed\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://839d658fa2bb2b1f09a08149d2bf0c26a26c301ad2dda8154fc99458085a695d\",\"dweb:/ipfs/Qmd5jHHYrgqraPqF8bjzT4xyjsoPk8K7pkxXLLfz6MRT6d\"]},\"node_modules/@latticexyz/store/src/Schema.sol\":{\"keccak256\":\"0x58aef318ba03f8ff8866ef70f8a30f549b150657ea699734aefe16c298956401\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dc104690a7e2bcf5ce1afadcd58f8ef4d639b4b92b9ad9293656235d54395f3\",\"dweb:/ipfs/QmYJJvEv5KBJ3kzf9AkgRn7Uu5dp4exGTRddf4cae1btgE\"]},\"node_modules/@latticexyz/store/src/Slice.sol\":{\"keccak256\":\"0xfaf54b1f5acccd4c6ce3f8377050ee84efbb423cb604b4651e8b9ea3b467bf32\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acf2ce7ffec21f28ad1dc6da06c342f1212a03a3d16a0be7ee85715a5940718c\",\"dweb:/ipfs/QmTCN3NSdFg87hi7KS2Xtq7PsmRUMG64SxC8PtP3p2GzuT\"]},\"node_modules/@latticexyz/store/src/Storage.sol\":{\"keccak256\":\"0x0893905ebe431a414226b479a84a54804091001a406222c748adbd4b651853a5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bcfcd3848127884041f0bcd727a0e7acbddec283aa6c16ba47abc6a3be720648\",\"dweb:/ipfs/QmY5fBd53e4Ro6vzTZYsteSibSTXVA3GHTeCAiUZTa5DPZ\"]},\"node_modules/@latticexyz/store/src/StoreCore.sol\":{\"keccak256\":\"0x1dd80c8f47d425b611aa382a226a47919831976e0da7145a227c1bf629eec24d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ac31d8551e5ef995d45e8eef1067e9793a2228cc3a539e16121d27083b203715\",\"dweb:/ipfs/QmWntan3y5oFxNnuvit8A4Xiuk2bMWasWTA7cqkh7Tk427\"]},\"node_modules/@latticexyz/store/src/StoreSwitch.sol\":{\"keccak256\":\"0xf132af10f960a498f49c0534027056e715f4bdcb8fbdb53ac6879c92309ab416\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e85a09aeb7543bcd9d74b7ad319ae61e1f7f15a6a0ad9e79aff750fbd18111c7\",\"dweb:/ipfs/QmY6xgqeeaR1FsCPLmFbVgjm1D2UyrXNABKXWLfFaSmBhR\"]},\"node_modules/@latticexyz/store/src/codegen/index.sol\":{\"keccak256\":\"0xf337a5abb2d43ef00c1c200e7fbec30fc89c7c701e457ab4277194b700d2aea3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eccdf6158076b4e8f1b587a0310228f53323705e054a44eaa7733f38805c3ee6\",\"dweb:/ipfs/QmbXEVNTctg54dK9awdCVyAjeuUjR6ckfmmXBP8DrFmjyq\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Hooks.sol\":{\"keccak256\":\"0xacf4aee01f167b98b2869bdf4407682fd9f18b85507048bc274bcb98d094948c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://86b114326973cef4f59c17e947945d09b90a0c48ede1da80f4f8aed0b6de179c\",\"dweb:/ipfs/QmZ6K6gZnV2ZdgbT8yG7Jz4HgoPymgdX3jTy6oUnG9xdgD\"]},\"node_modules/@latticexyz/store/src/codegen/tables/ResourceIds.sol\":{\"keccak256\":\"0xc2dc1bd6335fb0cc27cb7a80298d954d9ce0a0e9864d1dd8531aadb66c0ce21d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a7e34a386bd44933010c4f5a4dbfe8b0b8e5e9e39eaead46a2ebef0018db9b72\",\"dweb:/ipfs/QmQPyAdLUmE2Y6Ai7t2n56USg25PGHYxxXWRi1zEkdyT6a\"]},\"node_modules/@latticexyz/store/src/codegen/tables/StoreHooks.sol\":{\"keccak256\":\"0xfecdfde3b41c04dcf43e9c19f84f6a7f77df0fd844928692742b47662a0b814c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://968e83ac99e8d1799730aa6f1f23962c3fe3566cd7ec8bcf97d297823c364764\",\"dweb:/ipfs/QmVnhbeg89ajfLP1U1HDLiWi8T7HuFtsXUydjKXyyPa7MP\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Tables.sol\":{\"keccak256\":\"0x42b9fd484a055e8e312a2396059fb76a962608fa3a875ea3da6e5aab79084d04\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://866fd30788245eb54ac09d70768c0b34846d361b4219781c814fb06e38fb546c\",\"dweb:/ipfs/QmRbLCYjZ9qefcC8q7gnsAUsqCTEjdRtRnXdSNB1x7saPz\"]},\"node_modules/@latticexyz/store/src/constants.sol\":{\"keccak256\":\"0x9e37c64c119ef07ad914bc589ee3f6d67946ab95877978c1ee3e2c1ffae07076\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3fad47e542025382aa28e8171253e34f93b2f149434b67a26989542d70218793\",\"dweb:/ipfs/QmW6JsKNwPc6oAMrgcikgR2EPwMUtQANiuZSQSGCd29HHC\"]},\"node_modules/@latticexyz/store/src/leftMask.sol\":{\"keccak256\":\"0xd0360567e4d77c6a8e3d8a5f4bf3653ccde4d268674c50988d55695dc6193f6f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://53e6bcb53fcb08ee9426225fdab7c41df91e12cb4f80d92895a6117338627401\",\"dweb:/ipfs/QmeLcaPGeMBpNSTSsPYK3PHpzKuGMjuitCweAWcoXK2mXr\"]},\"node_modules/@latticexyz/store/src/storeHookTypes.sol\":{\"keccak256\":\"0x60880298016fa117ed9a43ddfd020f11d98a2d345bdcb08e5884e40df98eddd5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3619dfda1fd514c0fc5fb34c14d5b5aa41dd6ba6045d37d5f4c8199f3a826f81\",\"dweb:/ipfs/QmbzRBYfVa423gNzCitpGN3i2N9oeGYfinVE1jgtqxnNZX\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84\",\"dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t\"]},\"node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol\":{\"keccak256\":\"0x1af0fd984640123391ec2df855d00298504b7ce186a56c2caca769cfd9e08e04\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7305a62318890d2cc6420ba7dec13d9f2c1cb67ac689015fc83b9cbccd0696f1\",\"dweb:/ipfs/QmR8jGNLbt64Tv1YZKRVBCVsd71oeUQFzGHHtpsrs4PuRq\"]},\"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol\":{\"keccak256\":\"0x1c280d24360282e196d9c4833c58c2437108cea2af0ac7596f95be81389e306d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b4556b6eeae9328fbd9adcce346547e823c397503276a4d63effb67e00b5b49\",\"dweb:/ipfs/QmUsynVsMYzjh8oJR8YB7SRrwFMdXcsQsHBrXxLEEFxsiB\"]},\"node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol\":{\"keccak256\":\"0x5cacd4cb371e0a79bc8d64f62349d568fd8b08093c11ae0c3db4f16480d8808b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12b64ddf2b5c19cf68ba93a8153ed79cbafe7a91e015d4b2f25eb1d42ab06256\",\"dweb:/ipfs/QmQz5WwztcuTbSGFv2pkhU3w5scUj1gmavoyUpduxk2v3A\"]},\"node_modules/@latticexyz/store/src/version.sol\":{\"keccak256\":\"0x01029999a48b7c1d85de84cae465dd24ec126c95b8a865cd20c7ed5dfcc0f02c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9750164ce996badb0fd7df2f526780b9cb9558912405fe46f31064bd7c522491\",\"dweb:/ipfs/QmYf8m2ZXFANRc9ysHgNkNtSF327ccxKYjCUJ49UXBKADk\"]}},\"version\":1}",
|
14
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/WorldContext.sol\":\"WorldContextConsumerLib\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"/home/runner/work/mud/mud/packages/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"/home/runner/work/mud/mud/packages/world/src/IWorldContextConsumer.sol\":{\"keccak256\":\"0x22b8cb3ffcc21cb1657d57fc8ac929d2d6fdd199328e6f43ad2cb54f53dcd500\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://47c001f6b7c6d6e453c340618d23b1532078abb7d0fd7283405071e4e8ff8d2d\",\"dweb:/ipfs/QmRW3femBhqQCPwDEj4Jop2Dnd3EU21ufg7GDVwN4joCQu\"]},\"/home/runner/work/mud/mud/packages/world/src/WorldContext.sol\":{\"keccak256\":\"0xa11d93077d94f18683f1098b69c4713a48001ae15054476135ec9569041abb9a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9b1d3384def68b4061c445b55602dd9cbcd4e8c58c13db5e945f284a05c1b518\",\"dweb:/ipfs/Qma5DUZrSKZUxrxiGCpyRPWMJNdHU2wu6qDEsFWEJSnLfN\"]},\"/home/runner/work/mud/mud/packages/world/src/revertWithBytes.sol\":{\"keccak256\":\"0x16795bdbfd7956d733df9ada1030ee7a1a714e3b9da5899149a7b07568c4af55\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a71128b4989e78215d5fc57dae8c2f84c6b5e503c159178c0df6f642b8228df\",\"dweb:/ipfs/QmNYTfBe62SdGESZ32fxME72CbAxEqk4j79jBT7655C4u7\"]},\"node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol\":{\"keccak256\":\"0x770eff7a38b9b7b1613dc11ca09db4f28b42a117c9b39b2a06a650a58a250bdb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://39f544110658a53def52c2a4e33b8b158b95a4f14fccea58d5268b6e728d86d4\",\"dweb:/ipfs/QmTesj6tjSFbfAiKUitXapdNYWPStS8bLkB3r22qfyHwUC\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xab31edce915377852bb5f29f7f2ccfc50cac087d64d2a8aae669715ad862d558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3187e86e43be1fbdd59df45c695294f1114aa1ac48e6445c0cb26089434be5c4\",\"dweb:/ipfs/Qmck7shMVrcKMVkgN2pC1byPY7hb3V9fTxnUcGgxAUeXYk\"]},\"node_modules/@latticexyz/store/src/FieldLayout.sol\":{\"keccak256\":\"0x2a0536cd6cecc479d0b81d5aad6380231f4d6873beadc54814d801c2036b02c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e07c041e19146a9ec258cc700a450b4d49440202895eb12f3bb17508427c23ba\",\"dweb:/ipfs/QmXoqrCGDSkuFgNSMURRFdjokjREL78nLDzNaUi6rjefy9\"]},\"node_modules/@latticexyz/store/src/Hook.sol\":{\"keccak256\":\"0x045024523eb55d08ad8d13eca6185bff2988865f4aa12e3f9372029c2ecb8ddd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6621c53b49f8fe0557d1a1db47bfe1561801c09256948dd0652fb41541891a18\",\"dweb:/ipfs/QmZgFVCUH1pKcc9MeFyzMe1VW87SLz6c9szGwrDRUp6BZe\"]},\"node_modules/@latticexyz/store/src/IERC165.sol\":{\"keccak256\":\"0x2bbc3c43400c15a91a5cb35430a91309cb64a4d13a0a170eacec71dcf334feaf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f44dfc9605067de539de07a76a34bf469faa9e6dad8c192abafc2e05860c7dd2\",\"dweb:/ipfs/QmX8xgG6XWokM7YFwFZvmMhuh1uhkSjxCMD2oTHjUVdapb\"]},\"node_modules/@latticexyz/store/src/IStore.sol\":{\"keccak256\":\"0x9092b65551d0f910e5645cebb5acadb387cdd192d75fa89cd6b293bd65b28827\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://478825a6f7eff9ddab968e71e1d55ebee279d3b318f10976d9334384000059c0\",\"dweb:/ipfs/Qme7NY976woRy3RQjE4tkkiwoXnoVtTmER3PbWCSbjZ2kb\"]},\"node_modules/@latticexyz/store/src/IStoreData.sol\":{\"keccak256\":\"0xa8eade05c551aeef35c84727d7a44af239516deb2d8a0cfb7ebeb5d88c6995e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5335910bd8a204abb5f4396fb911a5ee5c221bd7fa63b1cc8ae5e737c6458c6a\",\"dweb:/ipfs/QmckkCAfrNcWo3yDxoD1jCe1k4iDA2GzVDpFjJZs7W79vx\"]},\"node_modules/@latticexyz/store/src/IStoreErrors.sol\":{\"keccak256\":\"0xb9070663ded3cad82285bb7610949e422f88abb48c2ddbd792af83d127d64212\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://830490f1c888bec86df1e7ef43773d60ebdbdfdb2b91ab7fe074e2f38d7439dc\",\"dweb:/ipfs/QmS26fpXdZuGgMmjcdQDf9k1Bedn2dhjk9byFZJoNkctPZ\"]},\"node_modules/@latticexyz/store/src/IStoreEvents.sol\":{\"keccak256\":\"0xdd3104680808f975462a85cbd4fa87783ba5395797419caeeca37e8f8627a16f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://943864b7eb16ad2047ade5a8598e85c8a4b46d1aed6aef02bfb7cee8de732b4d\",\"dweb:/ipfs/QmTEij4caToSNk15PFpubXYDy9QhwmPyP9tMXjUse2cTdv\"]},\"node_modules/@latticexyz/store/src/IStoreHook.sol\":{\"keccak256\":\"0xa6777c7868333996ad9c61a94457dcac702d8d7445a104dfdc86543d25e7470e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6268a16449d7529a94746d0103670dd0e38faf5117bf914fb01da9947ab44c2e\",\"dweb:/ipfs/QmaSfbx1QRA3jw2K8bGkQTw4CTGPUzNqnCJW7LwaFUJCXy\"]},\"node_modules/@latticexyz/store/src/IStoreRead.sol\":{\"keccak256\":\"0xd2180d53ecd31069b1166f170ecdcd85917ac50f45fc26fb39b49cee7ba00e37\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1494bb0a3228e2d194bddaed4761fd3ca865979f0e3f3a53acd271143a4aa0ac\",\"dweb:/ipfs/Qmaddnzzmu99iP9dTWK9ZeByh5dZyjY9SpVnRdvyr2fBAo\"]},\"node_modules/@latticexyz/store/src/IStoreRegistration.sol\":{\"keccak256\":\"0xf448fbb2bc9c982721a43234463656da5a49cea08543e62148d54f11e1ac3e2f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://64b3579d9b9dcd73dca2beab3d4fcf60237420945ebbb2e9f4ffcc88f4110115\",\"dweb:/ipfs/QmaW5nN3zGEriSYHncye6Nz2TkAw1oo1CyG2JuJTJrJoXg\"]},\"node_modules/@latticexyz/store/src/IStoreWrite.sol\":{\"keccak256\":\"0x8b6c7af5ee330928aebb58c8872d3944304ee10ed11f8a325b6accc4ec5df81b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b866d158701c7a40834bed735194b804ef219f2bbe574e2307785fff7bcf9da1\",\"dweb:/ipfs/QmXzJfZkXVfyr2RFGwDuazeVnV3UWYmQxjKZ3KzFbbe75U\"]},\"node_modules/@latticexyz/store/src/Memory.sol\":{\"keccak256\":\"0x69295976e61a1a108d1b4d6eb497b238730309f3047c4320d48e01a0ce8d4ec7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://559c451b21fb9dd4fec27b41bef42f4362f1e7ebb7992106d548b9d4f733b3e5\",\"dweb:/ipfs/QmeSE7YTW5zUrfZYFVb2pFnDe3XxiT8XNecfwC3wfpxCRv\"]},\"node_modules/@latticexyz/store/src/PackedCounter.sol\":{\"keccak256\":\"0x44ddfa9eb8a861462c550f0a9d66c40c68acdb347a61fa765949608407a2c7fb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://47ee957f4b19cab9e20bf5fc569c015eca13852fb3351f2a105a8be9c48204c0\",\"dweb:/ipfs/QmNkyzDobVQLoq9BtQ8HtgsPLiqnmi97EZx1wsu6wp8nKH\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x40983c580b8958e55db4520095934a535e98544ffe8228327e598973eb6647ed\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://839d658fa2bb2b1f09a08149d2bf0c26a26c301ad2dda8154fc99458085a695d\",\"dweb:/ipfs/Qmd5jHHYrgqraPqF8bjzT4xyjsoPk8K7pkxXLLfz6MRT6d\"]},\"node_modules/@latticexyz/store/src/Schema.sol\":{\"keccak256\":\"0x58aef318ba03f8ff8866ef70f8a30f549b150657ea699734aefe16c298956401\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dc104690a7e2bcf5ce1afadcd58f8ef4d639b4b92b9ad9293656235d54395f3\",\"dweb:/ipfs/QmYJJvEv5KBJ3kzf9AkgRn7Uu5dp4exGTRddf4cae1btgE\"]},\"node_modules/@latticexyz/store/src/Slice.sol\":{\"keccak256\":\"0xfaf54b1f5acccd4c6ce3f8377050ee84efbb423cb604b4651e8b9ea3b467bf32\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acf2ce7ffec21f28ad1dc6da06c342f1212a03a3d16a0be7ee85715a5940718c\",\"dweb:/ipfs/QmTCN3NSdFg87hi7KS2Xtq7PsmRUMG64SxC8PtP3p2GzuT\"]},\"node_modules/@latticexyz/store/src/Storage.sol\":{\"keccak256\":\"0x0893905ebe431a414226b479a84a54804091001a406222c748adbd4b651853a5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bcfcd3848127884041f0bcd727a0e7acbddec283aa6c16ba47abc6a3be720648\",\"dweb:/ipfs/QmY5fBd53e4Ro6vzTZYsteSibSTXVA3GHTeCAiUZTa5DPZ\"]},\"node_modules/@latticexyz/store/src/StoreCore.sol\":{\"keccak256\":\"0x95b7d62d84b43777c54dd1c7d941dbb5ba0afc02c444c30cfdb1de671bbbf180\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe62a2fdb2a73610c3072f31b7f88ed3f9d03c1009fe0f0ef37a7eb814b23534\",\"dweb:/ipfs/QmV85zaV5HAD6eGc5N4RmdtmpR6EwkswVLQTaR2aJqsXrj\"]},\"node_modules/@latticexyz/store/src/StoreSwitch.sol\":{\"keccak256\":\"0xf132af10f960a498f49c0534027056e715f4bdcb8fbdb53ac6879c92309ab416\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e85a09aeb7543bcd9d74b7ad319ae61e1f7f15a6a0ad9e79aff750fbd18111c7\",\"dweb:/ipfs/QmY6xgqeeaR1FsCPLmFbVgjm1D2UyrXNABKXWLfFaSmBhR\"]},\"node_modules/@latticexyz/store/src/codegen/index.sol\":{\"keccak256\":\"0xf337a5abb2d43ef00c1c200e7fbec30fc89c7c701e457ab4277194b700d2aea3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eccdf6158076b4e8f1b587a0310228f53323705e054a44eaa7733f38805c3ee6\",\"dweb:/ipfs/QmbXEVNTctg54dK9awdCVyAjeuUjR6ckfmmXBP8DrFmjyq\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Hooks.sol\":{\"keccak256\":\"0xacf4aee01f167b98b2869bdf4407682fd9f18b85507048bc274bcb98d094948c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://86b114326973cef4f59c17e947945d09b90a0c48ede1da80f4f8aed0b6de179c\",\"dweb:/ipfs/QmZ6K6gZnV2ZdgbT8yG7Jz4HgoPymgdX3jTy6oUnG9xdgD\"]},\"node_modules/@latticexyz/store/src/codegen/tables/ResourceIds.sol\":{\"keccak256\":\"0xc2dc1bd6335fb0cc27cb7a80298d954d9ce0a0e9864d1dd8531aadb66c0ce21d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a7e34a386bd44933010c4f5a4dbfe8b0b8e5e9e39eaead46a2ebef0018db9b72\",\"dweb:/ipfs/QmQPyAdLUmE2Y6Ai7t2n56USg25PGHYxxXWRi1zEkdyT6a\"]},\"node_modules/@latticexyz/store/src/codegen/tables/StoreHooks.sol\":{\"keccak256\":\"0xfecdfde3b41c04dcf43e9c19f84f6a7f77df0fd844928692742b47662a0b814c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://968e83ac99e8d1799730aa6f1f23962c3fe3566cd7ec8bcf97d297823c364764\",\"dweb:/ipfs/QmVnhbeg89ajfLP1U1HDLiWi8T7HuFtsXUydjKXyyPa7MP\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Tables.sol\":{\"keccak256\":\"0x42b9fd484a055e8e312a2396059fb76a962608fa3a875ea3da6e5aab79084d04\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://866fd30788245eb54ac09d70768c0b34846d361b4219781c814fb06e38fb546c\",\"dweb:/ipfs/QmRbLCYjZ9qefcC8q7gnsAUsqCTEjdRtRnXdSNB1x7saPz\"]},\"node_modules/@latticexyz/store/src/constants.sol\":{\"keccak256\":\"0x9e37c64c119ef07ad914bc589ee3f6d67946ab95877978c1ee3e2c1ffae07076\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3fad47e542025382aa28e8171253e34f93b2f149434b67a26989542d70218793\",\"dweb:/ipfs/QmW6JsKNwPc6oAMrgcikgR2EPwMUtQANiuZSQSGCd29HHC\"]},\"node_modules/@latticexyz/store/src/leftMask.sol\":{\"keccak256\":\"0xd0360567e4d77c6a8e3d8a5f4bf3653ccde4d268674c50988d55695dc6193f6f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://53e6bcb53fcb08ee9426225fdab7c41df91e12cb4f80d92895a6117338627401\",\"dweb:/ipfs/QmeLcaPGeMBpNSTSsPYK3PHpzKuGMjuitCweAWcoXK2mXr\"]},\"node_modules/@latticexyz/store/src/storeHookTypes.sol\":{\"keccak256\":\"0x60880298016fa117ed9a43ddfd020f11d98a2d345bdcb08e5884e40df98eddd5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3619dfda1fd514c0fc5fb34c14d5b5aa41dd6ba6045d37d5f4c8199f3a826f81\",\"dweb:/ipfs/QmbzRBYfVa423gNzCitpGN3i2N9oeGYfinVE1jgtqxnNZX\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84\",\"dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t\"]},\"node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol\":{\"keccak256\":\"0x1af0fd984640123391ec2df855d00298504b7ce186a56c2caca769cfd9e08e04\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7305a62318890d2cc6420ba7dec13d9f2c1cb67ac689015fc83b9cbccd0696f1\",\"dweb:/ipfs/QmR8jGNLbt64Tv1YZKRVBCVsd71oeUQFzGHHtpsrs4PuRq\"]},\"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol\":{\"keccak256\":\"0x1c280d24360282e196d9c4833c58c2437108cea2af0ac7596f95be81389e306d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b4556b6eeae9328fbd9adcce346547e823c397503276a4d63effb67e00b5b49\",\"dweb:/ipfs/QmUsynVsMYzjh8oJR8YB7SRrwFMdXcsQsHBrXxLEEFxsiB\"]},\"node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol\":{\"keccak256\":\"0x5cacd4cb371e0a79bc8d64f62349d568fd8b08093c11ae0c3db4f16480d8808b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12b64ddf2b5c19cf68ba93a8153ed79cbafe7a91e015d4b2f25eb1d42ab06256\",\"dweb:/ipfs/QmQz5WwztcuTbSGFv2pkhU3w5scUj1gmavoyUpduxk2v3A\"]},\"node_modules/@latticexyz/store/src/version.sol\":{\"keccak256\":\"0x01029999a48b7c1d85de84cae465dd24ec126c95b8a865cd20c7ed5dfcc0f02c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9750164ce996badb0fd7df2f526780b9cb9558912405fe46f31064bd7c522491\",\"dweb:/ipfs/QmYf8m2ZXFANRc9ysHgNkNtSF327ccxKYjCUJ49UXBKADk\"]}},\"version\":1}",
|
15
15
|
"metadata": {
|
16
16
|
"compiler": {
|
17
17
|
"version": "0.8.21+commit.d9974bed"
|
@@ -44,7 +44,7 @@
|
|
44
44
|
"bytecodeHash": "none"
|
45
45
|
},
|
46
46
|
"compilationTarget": {
|
47
|
-
"/home/runner/work/mud/mud/packages/world/src/WorldContext.sol": "
|
47
|
+
"/home/runner/work/mud/mud/packages/world/src/WorldContext.sol": "WorldContextConsumerLib"
|
48
48
|
},
|
49
49
|
"libraries": {}
|
50
50
|
},
|
@@ -66,10 +66,10 @@
|
|
66
66
|
"license": "MIT"
|
67
67
|
},
|
68
68
|
"/home/runner/work/mud/mud/packages/world/src/WorldContext.sol": {
|
69
|
-
"keccak256": "
|
69
|
+
"keccak256": "0xa11d93077d94f18683f1098b69c4713a48001ae15054476135ec9569041abb9a",
|
70
70
|
"urls": [
|
71
|
-
"bzz-raw://
|
72
|
-
"dweb:/ipfs/
|
71
|
+
"bzz-raw://9b1d3384def68b4061c445b55602dd9cbcd4e8c58c13db5e945f284a05c1b518",
|
72
|
+
"dweb:/ipfs/Qma5DUZrSKZUxrxiGCpyRPWMJNdHU2wu6qDEsFWEJSnLfN"
|
73
73
|
],
|
74
74
|
"license": "MIT"
|
75
75
|
},
|
@@ -234,10 +234,10 @@
|
|
234
234
|
"license": "MIT"
|
235
235
|
},
|
236
236
|
"node_modules/@latticexyz/store/src/StoreCore.sol": {
|
237
|
-
"keccak256": "
|
237
|
+
"keccak256": "0x95b7d62d84b43777c54dd1c7d941dbb5ba0afc02c444c30cfdb1de671bbbf180",
|
238
238
|
"urls": [
|
239
|
-
"bzz-raw://
|
240
|
-
"dweb:/ipfs/
|
239
|
+
"bzz-raw://fe62a2fdb2a73610c3072f31b7f88ed3f9d03c1009fe0f0ef37a7eb814b23534",
|
240
|
+
"dweb:/ipfs/QmV85zaV5HAD6eGc5N4RmdtmpR6EwkswVLQTaR2aJqsXrj"
|
241
241
|
],
|
242
242
|
"license": "MIT"
|
243
243
|
},
|
@@ -358,38 +358,41 @@
|
|
358
358
|
},
|
359
359
|
"ast": {
|
360
360
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/WorldContext.sol",
|
361
|
-
"id":
|
361
|
+
"id": 23814,
|
362
362
|
"exportedSymbols": {
|
363
363
|
"CONTEXT_BYTES": [
|
364
|
-
|
364
|
+
23565
|
365
365
|
],
|
366
366
|
"ERC165_INTERFACE_ID": [
|
367
|
-
|
367
|
+
23232
|
368
368
|
],
|
369
369
|
"IWorldContextConsumer": [
|
370
|
-
|
370
|
+
23378
|
371
371
|
],
|
372
372
|
"StoreSwitch": [
|
373
|
-
|
373
|
+
31292
|
374
374
|
],
|
375
375
|
"WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
|
376
|
-
|
376
|
+
23356
|
377
377
|
],
|
378
378
|
"WorldContextConsumer": [
|
379
|
-
|
379
|
+
23619
|
380
380
|
],
|
381
|
-
"
|
382
|
-
|
381
|
+
"WorldContextConsumerLib": [
|
382
|
+
23659
|
383
|
+
],
|
384
|
+
"WorldContextProviderLib": [
|
385
|
+
23813
|
383
386
|
],
|
384
387
|
"revertWithBytes": [
|
385
|
-
|
388
|
+
24388
|
386
389
|
]
|
387
390
|
},
|
388
391
|
"nodeType": "SourceUnit",
|
389
|
-
"src": "32:
|
392
|
+
"src": "32:8156:40",
|
390
393
|
"nodes": [
|
391
394
|
{
|
392
|
-
"id":
|
395
|
+
"id": 23551,
|
393
396
|
"nodeType": "PragmaDirective",
|
394
397
|
"src": "32:25:40",
|
395
398
|
"nodes": [],
|
@@ -401,23 +404,23 @@
|
|
401
404
|
]
|
402
405
|
},
|
403
406
|
{
|
404
|
-
"id":
|
407
|
+
"id": 23553,
|
405
408
|
"nodeType": "ImportDirective",
|
406
409
|
"src": "59:68:40",
|
407
410
|
"nodes": [],
|
408
411
|
"absolutePath": "node_modules/@latticexyz/store/src/StoreSwitch.sol",
|
409
412
|
"file": "@latticexyz/store/src/StoreSwitch.sol",
|
410
413
|
"nameLocation": "-1:-1:-1",
|
411
|
-
"scope":
|
412
|
-
"sourceUnit":
|
414
|
+
"scope": 23814,
|
415
|
+
"sourceUnit": 31293,
|
413
416
|
"symbolAliases": [
|
414
417
|
{
|
415
418
|
"foreign": {
|
416
|
-
"id":
|
419
|
+
"id": 23552,
|
417
420
|
"name": "StoreSwitch",
|
418
421
|
"nodeType": "Identifier",
|
419
422
|
"overloadedDeclarations": [],
|
420
|
-
"referencedDeclaration":
|
423
|
+
"referencedDeclaration": 31292,
|
421
424
|
"src": "68:11:40",
|
422
425
|
"typeDescriptions": {}
|
423
426
|
},
|
@@ -427,23 +430,23 @@
|
|
427
430
|
"unitAlias": ""
|
428
431
|
},
|
429
432
|
{
|
430
|
-
"id":
|
433
|
+
"id": 23555,
|
431
434
|
"nodeType": "ImportDirective",
|
432
435
|
"src": "128:56:40",
|
433
436
|
"nodes": [],
|
434
437
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/revertWithBytes.sol",
|
435
438
|
"file": "./revertWithBytes.sol",
|
436
439
|
"nameLocation": "-1:-1:-1",
|
437
|
-
"scope":
|
438
|
-
"sourceUnit":
|
440
|
+
"scope": 23814,
|
441
|
+
"sourceUnit": 24389,
|
439
442
|
"symbolAliases": [
|
440
443
|
{
|
441
444
|
"foreign": {
|
442
|
-
"id":
|
445
|
+
"id": 23554,
|
443
446
|
"name": "revertWithBytes",
|
444
447
|
"nodeType": "Identifier",
|
445
448
|
"overloadedDeclarations": [],
|
446
|
-
"referencedDeclaration":
|
449
|
+
"referencedDeclaration": 24388,
|
447
450
|
"src": "137:15:40",
|
448
451
|
"typeDescriptions": {}
|
449
452
|
},
|
@@ -453,23 +456,23 @@
|
|
453
456
|
"unitAlias": ""
|
454
457
|
},
|
455
458
|
{
|
456
|
-
"id":
|
459
|
+
"id": 23557,
|
457
460
|
"nodeType": "ImportDirective",
|
458
461
|
"src": "185:52:40",
|
459
462
|
"nodes": [],
|
460
463
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IERC165.sol",
|
461
464
|
"file": "./IERC165.sol",
|
462
465
|
"nameLocation": "-1:-1:-1",
|
463
|
-
"scope":
|
464
|
-
"sourceUnit":
|
466
|
+
"scope": 23814,
|
467
|
+
"sourceUnit": 23243,
|
465
468
|
"symbolAliases": [
|
466
469
|
{
|
467
470
|
"foreign": {
|
468
|
-
"id":
|
471
|
+
"id": 23556,
|
469
472
|
"name": "ERC165_INTERFACE_ID",
|
470
473
|
"nodeType": "Identifier",
|
471
474
|
"overloadedDeclarations": [],
|
472
|
-
"referencedDeclaration":
|
475
|
+
"referencedDeclaration": 23232,
|
473
476
|
"src": "194:19:40",
|
474
477
|
"typeDescriptions": {}
|
475
478
|
},
|
@@ -479,23 +482,23 @@
|
|
479
482
|
"unitAlias": ""
|
480
483
|
},
|
481
484
|
{
|
482
|
-
"id":
|
485
|
+
"id": 23560,
|
483
486
|
"nodeType": "ImportDirective",
|
484
487
|
"src": "238:105:40",
|
485
488
|
"nodes": [],
|
486
489
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IWorldContextConsumer.sol",
|
487
490
|
"file": "./IWorldContextConsumer.sol",
|
488
491
|
"nameLocation": "-1:-1:-1",
|
489
|
-
"scope":
|
490
|
-
"sourceUnit":
|
492
|
+
"scope": 23814,
|
493
|
+
"sourceUnit": 23379,
|
491
494
|
"symbolAliases": [
|
492
495
|
{
|
493
496
|
"foreign": {
|
494
|
-
"id":
|
497
|
+
"id": 23558,
|
495
498
|
"name": "IWorldContextConsumer",
|
496
499
|
"nodeType": "Identifier",
|
497
500
|
"overloadedDeclarations": [],
|
498
|
-
"referencedDeclaration":
|
501
|
+
"referencedDeclaration": 23378,
|
499
502
|
"src": "247:21:40",
|
500
503
|
"typeDescriptions": {}
|
501
504
|
},
|
@@ -503,11 +506,11 @@
|
|
503
506
|
},
|
504
507
|
{
|
505
508
|
"foreign": {
|
506
|
-
"id":
|
509
|
+
"id": 23559,
|
507
510
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
508
511
|
"nodeType": "Identifier",
|
509
512
|
"overloadedDeclarations": [],
|
510
|
-
"referencedDeclaration":
|
513
|
+
"referencedDeclaration": 23356,
|
511
514
|
"src": "270:35:40",
|
512
515
|
"typeDescriptions": {}
|
513
516
|
},
|
@@ -517,7 +520,7 @@
|
|
517
520
|
"unitAlias": ""
|
518
521
|
},
|
519
522
|
{
|
520
|
-
"id":
|
523
|
+
"id": 23565,
|
521
524
|
"nodeType": "VariableDeclaration",
|
522
525
|
"src": "420:40:40",
|
523
526
|
"nodes": [],
|
@@ -525,7 +528,7 @@
|
|
525
528
|
"mutability": "constant",
|
526
529
|
"name": "CONTEXT_BYTES",
|
527
530
|
"nameLocation": "437:13:40",
|
528
|
-
"scope":
|
531
|
+
"scope": 23814,
|
529
532
|
"stateVariable": false,
|
530
533
|
"storageLocation": "default",
|
531
534
|
"typeDescriptions": {
|
@@ -533,7 +536,7 @@
|
|
533
536
|
"typeString": "uint256"
|
534
537
|
},
|
535
538
|
"typeName": {
|
536
|
-
"id":
|
539
|
+
"id": 23561,
|
537
540
|
"name": "uint256",
|
538
541
|
"nodeType": "ElementaryTypeName",
|
539
542
|
"src": "420:7:40",
|
@@ -547,14 +550,14 @@
|
|
547
550
|
"typeIdentifier": "t_rational_52_by_1",
|
548
551
|
"typeString": "int_const 52"
|
549
552
|
},
|
550
|
-
"id":
|
553
|
+
"id": 23564,
|
551
554
|
"isConstant": false,
|
552
555
|
"isLValue": false,
|
553
556
|
"isPure": true,
|
554
557
|
"lValueRequested": false,
|
555
558
|
"leftExpression": {
|
556
559
|
"hexValue": "3230",
|
557
|
-
"id":
|
560
|
+
"id": 23562,
|
558
561
|
"isConstant": false,
|
559
562
|
"isLValue": false,
|
560
563
|
"isPure": true,
|
@@ -572,7 +575,7 @@
|
|
572
575
|
"operator": "+",
|
573
576
|
"rightExpression": {
|
574
577
|
"hexValue": "3332",
|
575
|
-
"id":
|
578
|
+
"id": 23563,
|
576
579
|
"isConstant": false,
|
577
580
|
"isLValue": false,
|
578
581
|
"isPure": true,
|
@@ -595,318 +598,110 @@
|
|
595
598
|
"visibility": "internal"
|
596
599
|
},
|
597
600
|
{
|
598
|
-
"id":
|
601
|
+
"id": 23619,
|
599
602
|
"nodeType": "ContractDefinition",
|
600
|
-
"src": "937:
|
603
|
+
"src": "937:1564:40",
|
601
604
|
"nodes": [
|
602
605
|
{
|
603
|
-
"id":
|
606
|
+
"id": 23579,
|
604
607
|
"nodeType": "FunctionDefinition",
|
605
|
-
"src": "
|
608
|
+
"src": "1245:113:40",
|
606
609
|
"nodes": [],
|
607
610
|
"body": {
|
608
|
-
"id":
|
611
|
+
"id": 23578,
|
609
612
|
"nodeType": "Block",
|
610
|
-
"src": "
|
613
|
+
"src": "1304:54:40",
|
611
614
|
"nodes": [],
|
612
615
|
"statements": [
|
613
616
|
{
|
614
|
-
"
|
615
|
-
"
|
616
|
-
"
|
617
|
-
|
618
|
-
"statements": [
|
619
|
-
{
|
620
|
-
"nativeSrc": "1402:67:40",
|
621
|
-
"nodeType": "YulAssignment",
|
622
|
-
"src": "1402:67:40",
|
623
|
-
"value": {
|
624
|
-
"arguments": [
|
625
|
-
{
|
626
|
-
"kind": "number",
|
627
|
-
"nativeSrc": "1416:2:40",
|
628
|
-
"nodeType": "YulLiteral",
|
629
|
-
"src": "1416:2:40",
|
630
|
-
"type": "",
|
631
|
-
"value": "96"
|
632
|
-
},
|
633
|
-
{
|
634
|
-
"arguments": [
|
635
|
-
{
|
636
|
-
"arguments": [
|
637
|
-
{
|
638
|
-
"arguments": [],
|
639
|
-
"functionName": {
|
640
|
-
"name": "calldatasize",
|
641
|
-
"nativeSrc": "1437:12:40",
|
642
|
-
"nodeType": "YulIdentifier",
|
643
|
-
"src": "1437:12:40"
|
644
|
-
},
|
645
|
-
"nativeSrc": "1437:14:40",
|
646
|
-
"nodeType": "YulFunctionCall",
|
647
|
-
"src": "1437:14:40"
|
648
|
-
},
|
649
|
-
{
|
650
|
-
"name": "CONTEXT_BYTES",
|
651
|
-
"nativeSrc": "1453:13:40",
|
652
|
-
"nodeType": "YulIdentifier",
|
653
|
-
"src": "1453:13:40"
|
654
|
-
}
|
655
|
-
],
|
656
|
-
"functionName": {
|
657
|
-
"name": "sub",
|
658
|
-
"nativeSrc": "1433:3:40",
|
659
|
-
"nodeType": "YulIdentifier",
|
660
|
-
"src": "1433:3:40"
|
661
|
-
},
|
662
|
-
"nativeSrc": "1433:34:40",
|
663
|
-
"nodeType": "YulFunctionCall",
|
664
|
-
"src": "1433:34:40"
|
665
|
-
}
|
666
|
-
],
|
667
|
-
"functionName": {
|
668
|
-
"name": "calldataload",
|
669
|
-
"nativeSrc": "1420:12:40",
|
670
|
-
"nodeType": "YulIdentifier",
|
671
|
-
"src": "1420:12:40"
|
672
|
-
},
|
673
|
-
"nativeSrc": "1420:48:40",
|
674
|
-
"nodeType": "YulFunctionCall",
|
675
|
-
"src": "1420:48:40"
|
676
|
-
}
|
677
|
-
],
|
678
|
-
"functionName": {
|
679
|
-
"name": "shr",
|
680
|
-
"nativeSrc": "1412:3:40",
|
681
|
-
"nodeType": "YulIdentifier",
|
682
|
-
"src": "1412:3:40"
|
683
|
-
},
|
684
|
-
"nativeSrc": "1412:57:40",
|
685
|
-
"nodeType": "YulFunctionCall",
|
686
|
-
"src": "1412:57:40"
|
687
|
-
},
|
688
|
-
"variableNames": [
|
689
|
-
{
|
690
|
-
"name": "sender",
|
691
|
-
"nativeSrc": "1402:6:40",
|
692
|
-
"nodeType": "YulIdentifier",
|
693
|
-
"src": "1402:6:40"
|
694
|
-
}
|
695
|
-
]
|
696
|
-
}
|
697
|
-
]
|
698
|
-
},
|
699
|
-
"evmVersion": "paris",
|
700
|
-
"externalReferences": [
|
701
|
-
{
|
702
|
-
"declaration": 23567,
|
703
|
-
"isOffset": false,
|
704
|
-
"isSlot": false,
|
705
|
-
"src": "1453:13:40",
|
706
|
-
"valueSize": 1
|
707
|
-
},
|
708
|
-
{
|
709
|
-
"declaration": 23574,
|
710
|
-
"isOffset": false,
|
711
|
-
"isSlot": false,
|
712
|
-
"src": "1402:6:40",
|
713
|
-
"valueSize": 1
|
714
|
-
}
|
715
|
-
],
|
716
|
-
"id": 23576,
|
717
|
-
"nodeType": "InlineAssembly",
|
718
|
-
"src": "1216:259:40"
|
719
|
-
},
|
720
|
-
{
|
721
|
-
"condition": {
|
722
|
-
"commonType": {
|
723
|
-
"typeIdentifier": "t_address",
|
724
|
-
"typeString": "address"
|
725
|
-
},
|
726
|
-
"id": 23582,
|
727
|
-
"isConstant": false,
|
728
|
-
"isLValue": false,
|
729
|
-
"isPure": false,
|
730
|
-
"lValueRequested": false,
|
731
|
-
"leftExpression": {
|
732
|
-
"id": 23577,
|
733
|
-
"name": "sender",
|
734
|
-
"nodeType": "Identifier",
|
735
|
-
"overloadedDeclarations": [],
|
736
|
-
"referencedDeclaration": 23574,
|
737
|
-
"src": "1484:6:40",
|
738
|
-
"typeDescriptions": {
|
739
|
-
"typeIdentifier": "t_address",
|
740
|
-
"typeString": "address"
|
741
|
-
}
|
742
|
-
},
|
743
|
-
"nodeType": "BinaryOperation",
|
744
|
-
"operator": "==",
|
745
|
-
"rightExpression": {
|
746
|
-
"arguments": [
|
747
|
-
{
|
748
|
-
"hexValue": "30",
|
749
|
-
"id": 23580,
|
750
|
-
"isConstant": false,
|
751
|
-
"isLValue": false,
|
752
|
-
"isPure": true,
|
753
|
-
"kind": "number",
|
754
|
-
"lValueRequested": false,
|
755
|
-
"nodeType": "Literal",
|
756
|
-
"src": "1502:1:40",
|
757
|
-
"typeDescriptions": {
|
758
|
-
"typeIdentifier": "t_rational_0_by_1",
|
759
|
-
"typeString": "int_const 0"
|
760
|
-
},
|
761
|
-
"value": "0"
|
762
|
-
}
|
763
|
-
],
|
617
|
+
"expression": {
|
618
|
+
"arguments": [],
|
619
|
+
"expression": {
|
620
|
+
"argumentTypes": [],
|
764
621
|
"expression": {
|
765
|
-
"
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
"id": 23579,
|
772
|
-
"isConstant": false,
|
773
|
-
"isLValue": false,
|
774
|
-
"isPure": true,
|
775
|
-
"lValueRequested": false,
|
776
|
-
"nodeType": "ElementaryTypeNameExpression",
|
777
|
-
"src": "1494:7:40",
|
622
|
+
"id": 23574,
|
623
|
+
"name": "WorldContextConsumerLib",
|
624
|
+
"nodeType": "Identifier",
|
625
|
+
"overloadedDeclarations": [],
|
626
|
+
"referencedDeclaration": 23659,
|
627
|
+
"src": "1317:23:40",
|
778
628
|
"typeDescriptions": {
|
779
|
-
"typeIdentifier": "t_type$
|
780
|
-
"typeString": "type(
|
781
|
-
},
|
782
|
-
"typeName": {
|
783
|
-
"id": 23578,
|
784
|
-
"name": "address",
|
785
|
-
"nodeType": "ElementaryTypeName",
|
786
|
-
"src": "1494:7:40",
|
787
|
-
"typeDescriptions": {}
|
629
|
+
"typeIdentifier": "t_type$_t_contract$_WorldContextConsumerLib_$23659_$",
|
630
|
+
"typeString": "type(library WorldContextConsumerLib)"
|
788
631
|
}
|
789
632
|
},
|
790
|
-
"id":
|
633
|
+
"id": 23575,
|
791
634
|
"isConstant": false,
|
792
635
|
"isLValue": false,
|
793
|
-
"isPure":
|
794
|
-
"kind": "typeConversion",
|
636
|
+
"isPure": false,
|
795
637
|
"lValueRequested": false,
|
796
|
-
"
|
797
|
-
"
|
798
|
-
"nodeType": "
|
799
|
-
"
|
800
|
-
"
|
638
|
+
"memberLocation": "1341:10:40",
|
639
|
+
"memberName": "_msgSender",
|
640
|
+
"nodeType": "MemberAccess",
|
641
|
+
"referencedDeclaration": 23639,
|
642
|
+
"src": "1317:34:40",
|
801
643
|
"typeDescriptions": {
|
802
|
-
"typeIdentifier": "
|
803
|
-
"typeString": "address"
|
644
|
+
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
645
|
+
"typeString": "function () view returns (address)"
|
804
646
|
}
|
805
647
|
},
|
806
|
-
"
|
648
|
+
"id": 23576,
|
649
|
+
"isConstant": false,
|
650
|
+
"isLValue": false,
|
651
|
+
"isPure": false,
|
652
|
+
"kind": "functionCall",
|
653
|
+
"lValueRequested": false,
|
654
|
+
"nameLocations": [],
|
655
|
+
"names": [],
|
656
|
+
"nodeType": "FunctionCall",
|
657
|
+
"src": "1317:36:40",
|
658
|
+
"tryCall": false,
|
807
659
|
"typeDescriptions": {
|
808
|
-
"typeIdentifier": "
|
809
|
-
"typeString": "
|
660
|
+
"typeIdentifier": "t_address",
|
661
|
+
"typeString": "address"
|
810
662
|
}
|
811
663
|
},
|
812
|
-
"
|
813
|
-
"
|
814
|
-
"
|
815
|
-
"
|
816
|
-
"expression": {
|
817
|
-
"id": 23586,
|
818
|
-
"isConstant": false,
|
819
|
-
"isLValue": false,
|
820
|
-
"isPure": false,
|
821
|
-
"lValueRequested": false,
|
822
|
-
"leftHandSide": {
|
823
|
-
"id": 23583,
|
824
|
-
"name": "sender",
|
825
|
-
"nodeType": "Identifier",
|
826
|
-
"overloadedDeclarations": [],
|
827
|
-
"referencedDeclaration": 23574,
|
828
|
-
"src": "1506:6:40",
|
829
|
-
"typeDescriptions": {
|
830
|
-
"typeIdentifier": "t_address",
|
831
|
-
"typeString": "address"
|
832
|
-
}
|
833
|
-
},
|
834
|
-
"nodeType": "Assignment",
|
835
|
-
"operator": "=",
|
836
|
-
"rightHandSide": {
|
837
|
-
"expression": {
|
838
|
-
"id": 23584,
|
839
|
-
"name": "msg",
|
840
|
-
"nodeType": "Identifier",
|
841
|
-
"overloadedDeclarations": [],
|
842
|
-
"referencedDeclaration": -15,
|
843
|
-
"src": "1515:3:40",
|
844
|
-
"typeDescriptions": {
|
845
|
-
"typeIdentifier": "t_magic_message",
|
846
|
-
"typeString": "msg"
|
847
|
-
}
|
848
|
-
},
|
849
|
-
"id": 23585,
|
850
|
-
"isConstant": false,
|
851
|
-
"isLValue": false,
|
852
|
-
"isPure": false,
|
853
|
-
"lValueRequested": false,
|
854
|
-
"memberLocation": "1519:6:40",
|
855
|
-
"memberName": "sender",
|
856
|
-
"nodeType": "MemberAccess",
|
857
|
-
"src": "1515:10:40",
|
858
|
-
"typeDescriptions": {
|
859
|
-
"typeIdentifier": "t_address",
|
860
|
-
"typeString": "address"
|
861
|
-
}
|
862
|
-
},
|
863
|
-
"src": "1506:19:40",
|
864
|
-
"typeDescriptions": {
|
865
|
-
"typeIdentifier": "t_address",
|
866
|
-
"typeString": "address"
|
867
|
-
}
|
868
|
-
},
|
869
|
-
"id": 23587,
|
870
|
-
"nodeType": "ExpressionStatement",
|
871
|
-
"src": "1506:19:40"
|
872
|
-
}
|
664
|
+
"functionReturnParameters": 23573,
|
665
|
+
"id": 23577,
|
666
|
+
"nodeType": "Return",
|
667
|
+
"src": "1310:43:40"
|
873
668
|
}
|
874
669
|
]
|
875
670
|
},
|
876
671
|
"baseFunctions": [
|
877
|
-
|
672
|
+
23365
|
878
673
|
],
|
879
674
|
"documentation": {
|
880
|
-
"id":
|
675
|
+
"id": 23569,
|
881
676
|
"nodeType": "StructuredDocumentation",
|
882
|
-
"src": "1005:
|
883
|
-
"text": " @notice
|
677
|
+
"src": "1005:237:40",
|
678
|
+
"text": " @notice Extract the `msg.sender` from the context appended to the calldata.\n @return sender The `msg.sender` in the call to the World contract before the World routed the\n call to the WorldContextConsumer contract."
|
884
679
|
},
|
885
680
|
"functionSelector": "119df25f",
|
886
681
|
"implemented": true,
|
887
682
|
"kind": "function",
|
888
683
|
"modifiers": [],
|
889
684
|
"name": "_msgSender",
|
890
|
-
"nameLocation": "
|
685
|
+
"nameLocation": "1254:10:40",
|
891
686
|
"parameters": {
|
892
|
-
"id":
|
687
|
+
"id": 23570,
|
893
688
|
"nodeType": "ParameterList",
|
894
689
|
"parameters": [],
|
895
|
-
"src": "
|
690
|
+
"src": "1264:2:40"
|
896
691
|
},
|
897
692
|
"returnParameters": {
|
898
|
-
"id":
|
693
|
+
"id": 23573,
|
899
694
|
"nodeType": "ParameterList",
|
900
695
|
"parameters": [
|
901
696
|
{
|
902
697
|
"constant": false,
|
903
|
-
"id":
|
698
|
+
"id": 23572,
|
904
699
|
"mutability": "mutable",
|
905
700
|
"name": "sender",
|
906
|
-
"nameLocation": "
|
701
|
+
"nameLocation": "1296:6:40",
|
907
702
|
"nodeType": "VariableDeclaration",
|
908
|
-
"scope":
|
909
|
-
"src": "
|
703
|
+
"scope": 23579,
|
704
|
+
"src": "1288:14:40",
|
910
705
|
"stateVariable": false,
|
911
706
|
"storageLocation": "default",
|
912
707
|
"typeDescriptions": {
|
@@ -914,10 +709,10 @@
|
|
914
709
|
"typeString": "address"
|
915
710
|
},
|
916
711
|
"typeName": {
|
917
|
-
"id":
|
712
|
+
"id": 23571,
|
918
713
|
"name": "address",
|
919
714
|
"nodeType": "ElementaryTypeName",
|
920
|
-
"src": "
|
715
|
+
"src": "1288:7:40",
|
921
716
|
"stateMutability": "nonpayable",
|
922
717
|
"typeDescriptions": {
|
923
718
|
"typeIdentifier": "t_address",
|
@@ -927,114 +722,86 @@
|
|
927
722
|
"visibility": "internal"
|
928
723
|
}
|
929
724
|
],
|
930
|
-
"src": "
|
725
|
+
"src": "1287:16:40"
|
931
726
|
},
|
932
|
-
"scope":
|
727
|
+
"scope": 23619,
|
933
728
|
"stateMutability": "view",
|
934
729
|
"virtual": false,
|
935
730
|
"visibility": "public"
|
936
731
|
},
|
937
732
|
{
|
938
|
-
"id":
|
733
|
+
"id": 23590,
|
939
734
|
"nodeType": "FunctionDefinition",
|
940
|
-
"src": "
|
735
|
+
"src": "1599:110:40",
|
941
736
|
"nodes": [],
|
942
737
|
"body": {
|
943
|
-
"id":
|
738
|
+
"id": 23589,
|
944
739
|
"nodeType": "Block",
|
945
|
-
"src": "
|
740
|
+
"src": "1656:53:40",
|
946
741
|
"nodes": [],
|
947
742
|
"statements": [
|
948
743
|
{
|
949
|
-
"
|
950
|
-
"
|
951
|
-
"
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
"
|
956
|
-
"nodeType": "
|
957
|
-
"
|
958
|
-
"
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
"src": "1969:2:40",
|
979
|
-
"type": "",
|
980
|
-
"value": "32"
|
981
|
-
}
|
982
|
-
],
|
983
|
-
"functionName": {
|
984
|
-
"name": "sub",
|
985
|
-
"nativeSrc": "1949:3:40",
|
986
|
-
"nodeType": "YulIdentifier",
|
987
|
-
"src": "1949:3:40"
|
988
|
-
},
|
989
|
-
"nativeSrc": "1949:23:40",
|
990
|
-
"nodeType": "YulFunctionCall",
|
991
|
-
"src": "1949:23:40"
|
992
|
-
}
|
993
|
-
],
|
994
|
-
"functionName": {
|
995
|
-
"name": "calldataload",
|
996
|
-
"nativeSrc": "1936:12:40",
|
997
|
-
"nodeType": "YulIdentifier",
|
998
|
-
"src": "1936:12:40"
|
999
|
-
},
|
1000
|
-
"nativeSrc": "1936:37:40",
|
1001
|
-
"nodeType": "YulFunctionCall",
|
1002
|
-
"src": "1936:37:40"
|
1003
|
-
},
|
1004
|
-
"variableNames": [
|
1005
|
-
{
|
1006
|
-
"name": "value",
|
1007
|
-
"nativeSrc": "1927:5:40",
|
1008
|
-
"nodeType": "YulIdentifier",
|
1009
|
-
"src": "1927:5:40"
|
1010
|
-
}
|
1011
|
-
]
|
744
|
+
"expression": {
|
745
|
+
"arguments": [],
|
746
|
+
"expression": {
|
747
|
+
"argumentTypes": [],
|
748
|
+
"expression": {
|
749
|
+
"id": 23585,
|
750
|
+
"name": "WorldContextConsumerLib",
|
751
|
+
"nodeType": "Identifier",
|
752
|
+
"overloadedDeclarations": [],
|
753
|
+
"referencedDeclaration": 23659,
|
754
|
+
"src": "1669:23:40",
|
755
|
+
"typeDescriptions": {
|
756
|
+
"typeIdentifier": "t_type$_t_contract$_WorldContextConsumerLib_$23659_$",
|
757
|
+
"typeString": "type(library WorldContextConsumerLib)"
|
758
|
+
}
|
759
|
+
},
|
760
|
+
"id": 23586,
|
761
|
+
"isConstant": false,
|
762
|
+
"isLValue": false,
|
763
|
+
"isPure": false,
|
764
|
+
"lValueRequested": false,
|
765
|
+
"memberLocation": "1693:9:40",
|
766
|
+
"memberName": "_msgValue",
|
767
|
+
"nodeType": "MemberAccess",
|
768
|
+
"referencedDeclaration": 23647,
|
769
|
+
"src": "1669:33:40",
|
770
|
+
"typeDescriptions": {
|
771
|
+
"typeIdentifier": "t_function_internal_pure$__$returns$_t_uint256_$",
|
772
|
+
"typeString": "function () pure returns (uint256)"
|
1012
773
|
}
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
774
|
+
},
|
775
|
+
"id": 23587,
|
776
|
+
"isConstant": false,
|
777
|
+
"isLValue": false,
|
778
|
+
"isPure": false,
|
779
|
+
"kind": "functionCall",
|
780
|
+
"lValueRequested": false,
|
781
|
+
"nameLocations": [],
|
782
|
+
"names": [],
|
783
|
+
"nodeType": "FunctionCall",
|
784
|
+
"src": "1669:35:40",
|
785
|
+
"tryCall": false,
|
786
|
+
"typeDescriptions": {
|
787
|
+
"typeIdentifier": "t_uint256",
|
788
|
+
"typeString": "uint256"
|
1023
789
|
}
|
1024
|
-
|
1025
|
-
"
|
1026
|
-
"
|
1027
|
-
"
|
790
|
+
},
|
791
|
+
"functionReturnParameters": 23584,
|
792
|
+
"id": 23588,
|
793
|
+
"nodeType": "Return",
|
794
|
+
"src": "1662:42:40"
|
1028
795
|
}
|
1029
796
|
]
|
1030
797
|
},
|
1031
798
|
"baseFunctions": [
|
1032
|
-
|
799
|
+
23371
|
1033
800
|
],
|
1034
801
|
"documentation": {
|
1035
|
-
"id":
|
802
|
+
"id": 23580,
|
1036
803
|
"nodeType": "StructuredDocumentation",
|
1037
|
-
"src": "
|
804
|
+
"src": "1362:234:40",
|
1038
805
|
"text": " @notice Extract the `msg.value` from the context appended to the calldata.\n @return value The `msg.value` in the call to the World contract before the World routed the\n call to the WorldContextConsumer contract."
|
1039
806
|
},
|
1040
807
|
"functionSelector": "45ec9354",
|
@@ -1042,26 +809,26 @@
|
|
1042
809
|
"kind": "function",
|
1043
810
|
"modifiers": [],
|
1044
811
|
"name": "_msgValue",
|
1045
|
-
"nameLocation": "
|
812
|
+
"nameLocation": "1608:9:40",
|
1046
813
|
"parameters": {
|
1047
|
-
"id":
|
814
|
+
"id": 23581,
|
1048
815
|
"nodeType": "ParameterList",
|
1049
816
|
"parameters": [],
|
1050
|
-
"src": "
|
817
|
+
"src": "1617:2:40"
|
1051
818
|
},
|
1052
819
|
"returnParameters": {
|
1053
|
-
"id":
|
820
|
+
"id": 23584,
|
1054
821
|
"nodeType": "ParameterList",
|
1055
822
|
"parameters": [
|
1056
823
|
{
|
1057
824
|
"constant": false,
|
1058
|
-
"id":
|
825
|
+
"id": 23583,
|
1059
826
|
"mutability": "mutable",
|
1060
827
|
"name": "value",
|
1061
|
-
"nameLocation": "
|
828
|
+
"nameLocation": "1649:5:40",
|
1062
829
|
"nodeType": "VariableDeclaration",
|
1063
|
-
"scope":
|
1064
|
-
"src": "
|
830
|
+
"scope": 23590,
|
831
|
+
"src": "1641:13:40",
|
1065
832
|
"stateVariable": false,
|
1066
833
|
"storageLocation": "default",
|
1067
834
|
"typeDescriptions": {
|
@@ -1069,10 +836,10 @@
|
|
1069
836
|
"typeString": "uint256"
|
1070
837
|
},
|
1071
838
|
"typeName": {
|
1072
|
-
"id":
|
839
|
+
"id": 23582,
|
1073
840
|
"name": "uint256",
|
1074
841
|
"nodeType": "ElementaryTypeName",
|
1075
|
-
"src": "
|
842
|
+
"src": "1641:7:40",
|
1076
843
|
"typeDescriptions": {
|
1077
844
|
"typeIdentifier": "t_uint256",
|
1078
845
|
"typeString": "uint256"
|
@@ -1081,22 +848,22 @@
|
|
1081
848
|
"visibility": "internal"
|
1082
849
|
}
|
1083
850
|
],
|
1084
|
-
"src": "
|
851
|
+
"src": "1640:15:40"
|
1085
852
|
},
|
1086
|
-
"scope":
|
853
|
+
"scope": 23619,
|
1087
854
|
"stateMutability": "pure",
|
1088
855
|
"virtual": false,
|
1089
856
|
"visibility": "public"
|
1090
857
|
},
|
1091
858
|
{
|
1092
|
-
"id":
|
859
|
+
"id": 23601,
|
1093
860
|
"nodeType": "FunctionDefinition",
|
1094
|
-
"src": "
|
861
|
+
"src": "1925:95:40",
|
1095
862
|
"nodes": [],
|
1096
863
|
"body": {
|
1097
|
-
"id":
|
864
|
+
"id": 23600,
|
1098
865
|
"nodeType": "Block",
|
1099
|
-
"src": "
|
866
|
+
"src": "1973:47:40",
|
1100
867
|
"nodes": [],
|
1101
868
|
"statements": [
|
1102
869
|
{
|
@@ -1105,33 +872,33 @@
|
|
1105
872
|
"expression": {
|
1106
873
|
"argumentTypes": [],
|
1107
874
|
"expression": {
|
1108
|
-
"id":
|
875
|
+
"id": 23596,
|
1109
876
|
"name": "StoreSwitch",
|
1110
877
|
"nodeType": "Identifier",
|
1111
878
|
"overloadedDeclarations": [],
|
1112
|
-
"referencedDeclaration":
|
1113
|
-
"src": "
|
879
|
+
"referencedDeclaration": 31292,
|
880
|
+
"src": "1986:11:40",
|
1114
881
|
"typeDescriptions": {
|
1115
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
882
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$31292_$",
|
1116
883
|
"typeString": "type(library StoreSwitch)"
|
1117
884
|
}
|
1118
885
|
},
|
1119
|
-
"id":
|
886
|
+
"id": 23597,
|
1120
887
|
"isConstant": false,
|
1121
888
|
"isLValue": false,
|
1122
889
|
"isPure": false,
|
1123
890
|
"lValueRequested": false,
|
1124
|
-
"memberLocation": "
|
891
|
+
"memberLocation": "1998:15:40",
|
1125
892
|
"memberName": "getStoreAddress",
|
1126
893
|
"nodeType": "MemberAccess",
|
1127
|
-
"referencedDeclaration":
|
1128
|
-
"src": "
|
894
|
+
"referencedDeclaration": 30036,
|
895
|
+
"src": "1986:27:40",
|
1129
896
|
"typeDescriptions": {
|
1130
897
|
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
1131
898
|
"typeString": "function () view returns (address)"
|
1132
899
|
}
|
1133
900
|
},
|
1134
|
-
"id":
|
901
|
+
"id": 23598,
|
1135
902
|
"isConstant": false,
|
1136
903
|
"isLValue": false,
|
1137
904
|
"isPure": false,
|
@@ -1140,27 +907,27 @@
|
|
1140
907
|
"nameLocations": [],
|
1141
908
|
"names": [],
|
1142
909
|
"nodeType": "FunctionCall",
|
1143
|
-
"src": "
|
910
|
+
"src": "1986:29:40",
|
1144
911
|
"tryCall": false,
|
1145
912
|
"typeDescriptions": {
|
1146
913
|
"typeIdentifier": "t_address",
|
1147
914
|
"typeString": "address"
|
1148
915
|
}
|
1149
916
|
},
|
1150
|
-
"functionReturnParameters":
|
1151
|
-
"id":
|
917
|
+
"functionReturnParameters": 23595,
|
918
|
+
"id": 23599,
|
1152
919
|
"nodeType": "Return",
|
1153
|
-
"src": "
|
920
|
+
"src": "1979:36:40"
|
1154
921
|
}
|
1155
922
|
]
|
1156
923
|
},
|
1157
924
|
"baseFunctions": [
|
1158
|
-
|
925
|
+
23377
|
1159
926
|
],
|
1160
927
|
"documentation": {
|
1161
|
-
"id":
|
928
|
+
"id": 23591,
|
1162
929
|
"nodeType": "StructuredDocumentation",
|
1163
|
-
"src": "
|
930
|
+
"src": "1713:209:40",
|
1164
931
|
"text": " @notice Get the address of the World contract that routed the call to this WorldContextConsumer.\n @return The address of the World contract that routed the call to this WorldContextConsumer."
|
1165
932
|
},
|
1166
933
|
"functionSelector": "e1af802c",
|
@@ -1168,26 +935,26 @@
|
|
1168
935
|
"kind": "function",
|
1169
936
|
"modifiers": [],
|
1170
937
|
"name": "_world",
|
1171
|
-
"nameLocation": "
|
938
|
+
"nameLocation": "1934:6:40",
|
1172
939
|
"parameters": {
|
1173
|
-
"id":
|
940
|
+
"id": 23592,
|
1174
941
|
"nodeType": "ParameterList",
|
1175
942
|
"parameters": [],
|
1176
|
-
"src": "
|
943
|
+
"src": "1940:2:40"
|
1177
944
|
},
|
1178
945
|
"returnParameters": {
|
1179
|
-
"id":
|
946
|
+
"id": 23595,
|
1180
947
|
"nodeType": "ParameterList",
|
1181
948
|
"parameters": [
|
1182
949
|
{
|
1183
950
|
"constant": false,
|
1184
|
-
"id":
|
951
|
+
"id": 23594,
|
1185
952
|
"mutability": "mutable",
|
1186
953
|
"name": "",
|
1187
954
|
"nameLocation": "-1:-1:-1",
|
1188
955
|
"nodeType": "VariableDeclaration",
|
1189
|
-
"scope":
|
1190
|
-
"src": "
|
956
|
+
"scope": 23601,
|
957
|
+
"src": "1964:7:40",
|
1191
958
|
"stateVariable": false,
|
1192
959
|
"storageLocation": "default",
|
1193
960
|
"typeDescriptions": {
|
@@ -1195,10 +962,10 @@
|
|
1195
962
|
"typeString": "address"
|
1196
963
|
},
|
1197
964
|
"typeName": {
|
1198
|
-
"id":
|
965
|
+
"id": 23593,
|
1199
966
|
"name": "address",
|
1200
967
|
"nodeType": "ElementaryTypeName",
|
1201
|
-
"src": "
|
968
|
+
"src": "1964:7:40",
|
1202
969
|
"stateMutability": "nonpayable",
|
1203
970
|
"typeDescriptions": {
|
1204
971
|
"typeIdentifier": "t_address",
|
@@ -1208,22 +975,22 @@
|
|
1208
975
|
"visibility": "internal"
|
1209
976
|
}
|
1210
977
|
],
|
1211
|
-
"src": "
|
978
|
+
"src": "1963:9:40"
|
1212
979
|
},
|
1213
|
-
"scope":
|
980
|
+
"scope": 23619,
|
1214
981
|
"stateMutability": "view",
|
1215
982
|
"virtual": false,
|
1216
983
|
"visibility": "public"
|
1217
984
|
},
|
1218
985
|
{
|
1219
|
-
"id":
|
986
|
+
"id": 23618,
|
1220
987
|
"nodeType": "FunctionDefinition",
|
1221
|
-
"src": "
|
988
|
+
"src": "2311:188:40",
|
1222
989
|
"nodes": [],
|
1223
990
|
"body": {
|
1224
|
-
"id":
|
991
|
+
"id": 23617,
|
1225
992
|
"nodeType": "Block",
|
1226
|
-
"src": "
|
993
|
+
"src": "2393:106:40",
|
1227
994
|
"nodes": [],
|
1228
995
|
"statements": [
|
1229
996
|
{
|
@@ -1232,7 +999,7 @@
|
|
1232
999
|
"typeIdentifier": "t_bool",
|
1233
1000
|
"typeString": "bool"
|
1234
1001
|
},
|
1235
|
-
"id":
|
1002
|
+
"id": 23615,
|
1236
1003
|
"isConstant": false,
|
1237
1004
|
"isLValue": false,
|
1238
1005
|
"isPure": false,
|
@@ -1242,18 +1009,18 @@
|
|
1242
1009
|
"typeIdentifier": "t_bytes4",
|
1243
1010
|
"typeString": "bytes4"
|
1244
1011
|
},
|
1245
|
-
"id":
|
1012
|
+
"id": 23611,
|
1246
1013
|
"isConstant": false,
|
1247
1014
|
"isLValue": false,
|
1248
1015
|
"isPure": false,
|
1249
1016
|
"lValueRequested": false,
|
1250
1017
|
"leftExpression": {
|
1251
|
-
"id":
|
1018
|
+
"id": 23609,
|
1252
1019
|
"name": "interfaceId",
|
1253
1020
|
"nodeType": "Identifier",
|
1254
1021
|
"overloadedDeclarations": [],
|
1255
|
-
"referencedDeclaration":
|
1256
|
-
"src": "
|
1022
|
+
"referencedDeclaration": 23604,
|
1023
|
+
"src": "2406:11:40",
|
1257
1024
|
"typeDescriptions": {
|
1258
1025
|
"typeIdentifier": "t_bytes4",
|
1259
1026
|
"typeString": "bytes4"
|
@@ -1262,18 +1029,18 @@
|
|
1262
1029
|
"nodeType": "BinaryOperation",
|
1263
1030
|
"operator": "==",
|
1264
1031
|
"rightExpression": {
|
1265
|
-
"id":
|
1032
|
+
"id": 23610,
|
1266
1033
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
1267
1034
|
"nodeType": "Identifier",
|
1268
1035
|
"overloadedDeclarations": [],
|
1269
|
-
"referencedDeclaration":
|
1270
|
-
"src": "
|
1036
|
+
"referencedDeclaration": 23356,
|
1037
|
+
"src": "2421:35:40",
|
1271
1038
|
"typeDescriptions": {
|
1272
1039
|
"typeIdentifier": "t_bytes4",
|
1273
1040
|
"typeString": "bytes4"
|
1274
1041
|
}
|
1275
1042
|
},
|
1276
|
-
"src": "
|
1043
|
+
"src": "2406:50:40",
|
1277
1044
|
"typeDescriptions": {
|
1278
1045
|
"typeIdentifier": "t_bool",
|
1279
1046
|
"typeString": "bool"
|
@@ -1286,18 +1053,18 @@
|
|
1286
1053
|
"typeIdentifier": "t_bytes4",
|
1287
1054
|
"typeString": "bytes4"
|
1288
1055
|
},
|
1289
|
-
"id":
|
1056
|
+
"id": 23614,
|
1290
1057
|
"isConstant": false,
|
1291
1058
|
"isLValue": false,
|
1292
1059
|
"isPure": false,
|
1293
1060
|
"lValueRequested": false,
|
1294
1061
|
"leftExpression": {
|
1295
|
-
"id":
|
1062
|
+
"id": 23612,
|
1296
1063
|
"name": "interfaceId",
|
1297
1064
|
"nodeType": "Identifier",
|
1298
1065
|
"overloadedDeclarations": [],
|
1299
|
-
"referencedDeclaration":
|
1300
|
-
"src": "
|
1066
|
+
"referencedDeclaration": 23604,
|
1067
|
+
"src": "2460:11:40",
|
1301
1068
|
"typeDescriptions": {
|
1302
1069
|
"typeIdentifier": "t_bytes4",
|
1303
1070
|
"typeString": "bytes4"
|
@@ -1306,214 +1073,839 @@
|
|
1306
1073
|
"nodeType": "BinaryOperation",
|
1307
1074
|
"operator": "==",
|
1308
1075
|
"rightExpression": {
|
1309
|
-
"id":
|
1076
|
+
"id": 23613,
|
1310
1077
|
"name": "ERC165_INTERFACE_ID",
|
1311
1078
|
"nodeType": "Identifier",
|
1312
1079
|
"overloadedDeclarations": [],
|
1313
|
-
"referencedDeclaration":
|
1314
|
-
"src": "
|
1080
|
+
"referencedDeclaration": 23232,
|
1081
|
+
"src": "2475:19:40",
|
1315
1082
|
"typeDescriptions": {
|
1316
1083
|
"typeIdentifier": "t_bytes4",
|
1317
1084
|
"typeString": "bytes4"
|
1318
1085
|
}
|
1319
1086
|
},
|
1320
|
-
"src": "
|
1087
|
+
"src": "2460:34:40",
|
1321
1088
|
"typeDescriptions": {
|
1322
1089
|
"typeIdentifier": "t_bool",
|
1323
1090
|
"typeString": "bool"
|
1324
1091
|
}
|
1325
|
-
},
|
1326
|
-
"src": "
|
1327
|
-
"typeDescriptions": {
|
1328
|
-
"typeIdentifier": "t_bool",
|
1329
|
-
"typeString": "bool"
|
1330
|
-
}
|
1092
|
+
},
|
1093
|
+
"src": "2406:88:40",
|
1094
|
+
"typeDescriptions": {
|
1095
|
+
"typeIdentifier": "t_bool",
|
1096
|
+
"typeString": "bool"
|
1097
|
+
}
|
1098
|
+
},
|
1099
|
+
"functionReturnParameters": 23608,
|
1100
|
+
"id": 23616,
|
1101
|
+
"nodeType": "Return",
|
1102
|
+
"src": "2399:95:40"
|
1103
|
+
}
|
1104
|
+
]
|
1105
|
+
},
|
1106
|
+
"baseFunctions": [
|
1107
|
+
23241
|
1108
|
+
],
|
1109
|
+
"documentation": {
|
1110
|
+
"id": 23602,
|
1111
|
+
"nodeType": "StructuredDocumentation",
|
1112
|
+
"src": "2024:284:40",
|
1113
|
+
"text": " @notice Checks if an interface is supported by the contract.\n using ERC-165 supportsInterface (see https://eips.ethereum.org/EIPS/eip-165)\n @param interfaceId The ID of the interface in question.\n @return True if the interface is supported, false otherwise."
|
1114
|
+
},
|
1115
|
+
"functionSelector": "01ffc9a7",
|
1116
|
+
"implemented": true,
|
1117
|
+
"kind": "function",
|
1118
|
+
"modifiers": [],
|
1119
|
+
"name": "supportsInterface",
|
1120
|
+
"nameLocation": "2320:17:40",
|
1121
|
+
"parameters": {
|
1122
|
+
"id": 23605,
|
1123
|
+
"nodeType": "ParameterList",
|
1124
|
+
"parameters": [
|
1125
|
+
{
|
1126
|
+
"constant": false,
|
1127
|
+
"id": 23604,
|
1128
|
+
"mutability": "mutable",
|
1129
|
+
"name": "interfaceId",
|
1130
|
+
"nameLocation": "2345:11:40",
|
1131
|
+
"nodeType": "VariableDeclaration",
|
1132
|
+
"scope": 23618,
|
1133
|
+
"src": "2338:18:40",
|
1134
|
+
"stateVariable": false,
|
1135
|
+
"storageLocation": "default",
|
1136
|
+
"typeDescriptions": {
|
1137
|
+
"typeIdentifier": "t_bytes4",
|
1138
|
+
"typeString": "bytes4"
|
1139
|
+
},
|
1140
|
+
"typeName": {
|
1141
|
+
"id": 23603,
|
1142
|
+
"name": "bytes4",
|
1143
|
+
"nodeType": "ElementaryTypeName",
|
1144
|
+
"src": "2338:6:40",
|
1145
|
+
"typeDescriptions": {
|
1146
|
+
"typeIdentifier": "t_bytes4",
|
1147
|
+
"typeString": "bytes4"
|
1148
|
+
}
|
1149
|
+
},
|
1150
|
+
"visibility": "internal"
|
1151
|
+
}
|
1152
|
+
],
|
1153
|
+
"src": "2337:20:40"
|
1154
|
+
},
|
1155
|
+
"returnParameters": {
|
1156
|
+
"id": 23608,
|
1157
|
+
"nodeType": "ParameterList",
|
1158
|
+
"parameters": [
|
1159
|
+
{
|
1160
|
+
"constant": false,
|
1161
|
+
"id": 23607,
|
1162
|
+
"mutability": "mutable",
|
1163
|
+
"name": "",
|
1164
|
+
"nameLocation": "-1:-1:-1",
|
1165
|
+
"nodeType": "VariableDeclaration",
|
1166
|
+
"scope": 23618,
|
1167
|
+
"src": "2387:4:40",
|
1168
|
+
"stateVariable": false,
|
1169
|
+
"storageLocation": "default",
|
1170
|
+
"typeDescriptions": {
|
1171
|
+
"typeIdentifier": "t_bool",
|
1172
|
+
"typeString": "bool"
|
1173
|
+
},
|
1174
|
+
"typeName": {
|
1175
|
+
"id": 23606,
|
1176
|
+
"name": "bool",
|
1177
|
+
"nodeType": "ElementaryTypeName",
|
1178
|
+
"src": "2387:4:40",
|
1179
|
+
"typeDescriptions": {
|
1180
|
+
"typeIdentifier": "t_bool",
|
1181
|
+
"typeString": "bool"
|
1182
|
+
}
|
1183
|
+
},
|
1184
|
+
"visibility": "internal"
|
1185
|
+
}
|
1186
|
+
],
|
1187
|
+
"src": "2386:6:40"
|
1188
|
+
},
|
1189
|
+
"scope": 23619,
|
1190
|
+
"stateMutability": "pure",
|
1191
|
+
"virtual": true,
|
1192
|
+
"visibility": "public"
|
1193
|
+
}
|
1194
|
+
],
|
1195
|
+
"abstract": true,
|
1196
|
+
"baseContracts": [
|
1197
|
+
{
|
1198
|
+
"baseName": {
|
1199
|
+
"id": 23567,
|
1200
|
+
"name": "IWorldContextConsumer",
|
1201
|
+
"nameLocations": [
|
1202
|
+
"979:21:40"
|
1203
|
+
],
|
1204
|
+
"nodeType": "IdentifierPath",
|
1205
|
+
"referencedDeclaration": 23378,
|
1206
|
+
"src": "979:21:40"
|
1207
|
+
},
|
1208
|
+
"id": 23568,
|
1209
|
+
"nodeType": "InheritanceSpecifier",
|
1210
|
+
"src": "979:21:40"
|
1211
|
+
}
|
1212
|
+
],
|
1213
|
+
"canonicalName": "WorldContextConsumer",
|
1214
|
+
"contractDependencies": [],
|
1215
|
+
"contractKind": "contract",
|
1216
|
+
"documentation": {
|
1217
|
+
"id": 23566,
|
1218
|
+
"nodeType": "StructuredDocumentation",
|
1219
|
+
"src": "463:473:40",
|
1220
|
+
"text": " @title WorldContextConsumer - Extracting trusted context values from appended calldata.\n @notice This contract is designed to extract trusted context values (like msg.sender and msg.value)\n from the appended calldata. It provides mechanisms similar to EIP-2771 (https://eips.ethereum.org/EIPS/eip-2771),\n but allowing any contract to be the trusted forwarder.\n @dev This contract should only be used for contracts without their own storage, like Systems."
|
1221
|
+
},
|
1222
|
+
"fullyImplemented": true,
|
1223
|
+
"linearizedBaseContracts": [
|
1224
|
+
23619,
|
1225
|
+
23378,
|
1226
|
+
23242
|
1227
|
+
],
|
1228
|
+
"name": "WorldContextConsumer",
|
1229
|
+
"nameLocation": "955:20:40",
|
1230
|
+
"scope": 23814,
|
1231
|
+
"usedErrors": [],
|
1232
|
+
"usedEvents": []
|
1233
|
+
},
|
1234
|
+
{
|
1235
|
+
"id": 23659,
|
1236
|
+
"nodeType": "ContractDefinition",
|
1237
|
+
"src": "2503:1427:40",
|
1238
|
+
"nodes": [
|
1239
|
+
{
|
1240
|
+
"id": 23639,
|
1241
|
+
"nodeType": "FunctionDefinition",
|
1242
|
+
"src": "2779:381:40",
|
1243
|
+
"nodes": [],
|
1244
|
+
"body": {
|
1245
|
+
"id": 23638,
|
1246
|
+
"nodeType": "Block",
|
1247
|
+
"src": "2840:320:40",
|
1248
|
+
"nodes": [],
|
1249
|
+
"statements": [
|
1250
|
+
{
|
1251
|
+
"AST": {
|
1252
|
+
"nativeSrc": "2855:250:40",
|
1253
|
+
"nodeType": "YulBlock",
|
1254
|
+
"src": "2855:250:40",
|
1255
|
+
"statements": [
|
1256
|
+
{
|
1257
|
+
"nativeSrc": "3032:67:40",
|
1258
|
+
"nodeType": "YulAssignment",
|
1259
|
+
"src": "3032:67:40",
|
1260
|
+
"value": {
|
1261
|
+
"arguments": [
|
1262
|
+
{
|
1263
|
+
"kind": "number",
|
1264
|
+
"nativeSrc": "3046:2:40",
|
1265
|
+
"nodeType": "YulLiteral",
|
1266
|
+
"src": "3046:2:40",
|
1267
|
+
"type": "",
|
1268
|
+
"value": "96"
|
1269
|
+
},
|
1270
|
+
{
|
1271
|
+
"arguments": [
|
1272
|
+
{
|
1273
|
+
"arguments": [
|
1274
|
+
{
|
1275
|
+
"arguments": [],
|
1276
|
+
"functionName": {
|
1277
|
+
"name": "calldatasize",
|
1278
|
+
"nativeSrc": "3067:12:40",
|
1279
|
+
"nodeType": "YulIdentifier",
|
1280
|
+
"src": "3067:12:40"
|
1281
|
+
},
|
1282
|
+
"nativeSrc": "3067:14:40",
|
1283
|
+
"nodeType": "YulFunctionCall",
|
1284
|
+
"src": "3067:14:40"
|
1285
|
+
},
|
1286
|
+
{
|
1287
|
+
"name": "CONTEXT_BYTES",
|
1288
|
+
"nativeSrc": "3083:13:40",
|
1289
|
+
"nodeType": "YulIdentifier",
|
1290
|
+
"src": "3083:13:40"
|
1291
|
+
}
|
1292
|
+
],
|
1293
|
+
"functionName": {
|
1294
|
+
"name": "sub",
|
1295
|
+
"nativeSrc": "3063:3:40",
|
1296
|
+
"nodeType": "YulIdentifier",
|
1297
|
+
"src": "3063:3:40"
|
1298
|
+
},
|
1299
|
+
"nativeSrc": "3063:34:40",
|
1300
|
+
"nodeType": "YulFunctionCall",
|
1301
|
+
"src": "3063:34:40"
|
1302
|
+
}
|
1303
|
+
],
|
1304
|
+
"functionName": {
|
1305
|
+
"name": "calldataload",
|
1306
|
+
"nativeSrc": "3050:12:40",
|
1307
|
+
"nodeType": "YulIdentifier",
|
1308
|
+
"src": "3050:12:40"
|
1309
|
+
},
|
1310
|
+
"nativeSrc": "3050:48:40",
|
1311
|
+
"nodeType": "YulFunctionCall",
|
1312
|
+
"src": "3050:48:40"
|
1313
|
+
}
|
1314
|
+
],
|
1315
|
+
"functionName": {
|
1316
|
+
"name": "shr",
|
1317
|
+
"nativeSrc": "3042:3:40",
|
1318
|
+
"nodeType": "YulIdentifier",
|
1319
|
+
"src": "3042:3:40"
|
1320
|
+
},
|
1321
|
+
"nativeSrc": "3042:57:40",
|
1322
|
+
"nodeType": "YulFunctionCall",
|
1323
|
+
"src": "3042:57:40"
|
1324
|
+
},
|
1325
|
+
"variableNames": [
|
1326
|
+
{
|
1327
|
+
"name": "sender",
|
1328
|
+
"nativeSrc": "3032:6:40",
|
1329
|
+
"nodeType": "YulIdentifier",
|
1330
|
+
"src": "3032:6:40"
|
1331
|
+
}
|
1332
|
+
]
|
1333
|
+
}
|
1334
|
+
]
|
1335
|
+
},
|
1336
|
+
"evmVersion": "paris",
|
1337
|
+
"externalReferences": [
|
1338
|
+
{
|
1339
|
+
"declaration": 23565,
|
1340
|
+
"isOffset": false,
|
1341
|
+
"isSlot": false,
|
1342
|
+
"src": "3083:13:40",
|
1343
|
+
"valueSize": 1
|
1344
|
+
},
|
1345
|
+
{
|
1346
|
+
"declaration": 23623,
|
1347
|
+
"isOffset": false,
|
1348
|
+
"isSlot": false,
|
1349
|
+
"src": "3032:6:40",
|
1350
|
+
"valueSize": 1
|
1351
|
+
}
|
1352
|
+
],
|
1353
|
+
"id": 23625,
|
1354
|
+
"nodeType": "InlineAssembly",
|
1355
|
+
"src": "2846:259:40"
|
1356
|
+
},
|
1357
|
+
{
|
1358
|
+
"condition": {
|
1359
|
+
"commonType": {
|
1360
|
+
"typeIdentifier": "t_address",
|
1361
|
+
"typeString": "address"
|
1362
|
+
},
|
1363
|
+
"id": 23631,
|
1364
|
+
"isConstant": false,
|
1365
|
+
"isLValue": false,
|
1366
|
+
"isPure": false,
|
1367
|
+
"lValueRequested": false,
|
1368
|
+
"leftExpression": {
|
1369
|
+
"id": 23626,
|
1370
|
+
"name": "sender",
|
1371
|
+
"nodeType": "Identifier",
|
1372
|
+
"overloadedDeclarations": [],
|
1373
|
+
"referencedDeclaration": 23623,
|
1374
|
+
"src": "3114:6:40",
|
1375
|
+
"typeDescriptions": {
|
1376
|
+
"typeIdentifier": "t_address",
|
1377
|
+
"typeString": "address"
|
1378
|
+
}
|
1379
|
+
},
|
1380
|
+
"nodeType": "BinaryOperation",
|
1381
|
+
"operator": "==",
|
1382
|
+
"rightExpression": {
|
1383
|
+
"arguments": [
|
1384
|
+
{
|
1385
|
+
"hexValue": "30",
|
1386
|
+
"id": 23629,
|
1387
|
+
"isConstant": false,
|
1388
|
+
"isLValue": false,
|
1389
|
+
"isPure": true,
|
1390
|
+
"kind": "number",
|
1391
|
+
"lValueRequested": false,
|
1392
|
+
"nodeType": "Literal",
|
1393
|
+
"src": "3132:1:40",
|
1394
|
+
"typeDescriptions": {
|
1395
|
+
"typeIdentifier": "t_rational_0_by_1",
|
1396
|
+
"typeString": "int_const 0"
|
1397
|
+
},
|
1398
|
+
"value": "0"
|
1399
|
+
}
|
1400
|
+
],
|
1401
|
+
"expression": {
|
1402
|
+
"argumentTypes": [
|
1403
|
+
{
|
1404
|
+
"typeIdentifier": "t_rational_0_by_1",
|
1405
|
+
"typeString": "int_const 0"
|
1406
|
+
}
|
1407
|
+
],
|
1408
|
+
"id": 23628,
|
1409
|
+
"isConstant": false,
|
1410
|
+
"isLValue": false,
|
1411
|
+
"isPure": true,
|
1412
|
+
"lValueRequested": false,
|
1413
|
+
"nodeType": "ElementaryTypeNameExpression",
|
1414
|
+
"src": "3124:7:40",
|
1415
|
+
"typeDescriptions": {
|
1416
|
+
"typeIdentifier": "t_type$_t_address_$",
|
1417
|
+
"typeString": "type(address)"
|
1418
|
+
},
|
1419
|
+
"typeName": {
|
1420
|
+
"id": 23627,
|
1421
|
+
"name": "address",
|
1422
|
+
"nodeType": "ElementaryTypeName",
|
1423
|
+
"src": "3124:7:40",
|
1424
|
+
"typeDescriptions": {}
|
1425
|
+
}
|
1426
|
+
},
|
1427
|
+
"id": 23630,
|
1428
|
+
"isConstant": false,
|
1429
|
+
"isLValue": false,
|
1430
|
+
"isPure": true,
|
1431
|
+
"kind": "typeConversion",
|
1432
|
+
"lValueRequested": false,
|
1433
|
+
"nameLocations": [],
|
1434
|
+
"names": [],
|
1435
|
+
"nodeType": "FunctionCall",
|
1436
|
+
"src": "3124:10:40",
|
1437
|
+
"tryCall": false,
|
1438
|
+
"typeDescriptions": {
|
1439
|
+
"typeIdentifier": "t_address",
|
1440
|
+
"typeString": "address"
|
1441
|
+
}
|
1442
|
+
},
|
1443
|
+
"src": "3114:20:40",
|
1444
|
+
"typeDescriptions": {
|
1445
|
+
"typeIdentifier": "t_bool",
|
1446
|
+
"typeString": "bool"
|
1447
|
+
}
|
1448
|
+
},
|
1449
|
+
"id": 23637,
|
1450
|
+
"nodeType": "IfStatement",
|
1451
|
+
"src": "3110:45:40",
|
1452
|
+
"trueBody": {
|
1453
|
+
"expression": {
|
1454
|
+
"id": 23635,
|
1455
|
+
"isConstant": false,
|
1456
|
+
"isLValue": false,
|
1457
|
+
"isPure": false,
|
1458
|
+
"lValueRequested": false,
|
1459
|
+
"leftHandSide": {
|
1460
|
+
"id": 23632,
|
1461
|
+
"name": "sender",
|
1462
|
+
"nodeType": "Identifier",
|
1463
|
+
"overloadedDeclarations": [],
|
1464
|
+
"referencedDeclaration": 23623,
|
1465
|
+
"src": "3136:6:40",
|
1466
|
+
"typeDescriptions": {
|
1467
|
+
"typeIdentifier": "t_address",
|
1468
|
+
"typeString": "address"
|
1469
|
+
}
|
1470
|
+
},
|
1471
|
+
"nodeType": "Assignment",
|
1472
|
+
"operator": "=",
|
1473
|
+
"rightHandSide": {
|
1474
|
+
"expression": {
|
1475
|
+
"id": 23633,
|
1476
|
+
"name": "msg",
|
1477
|
+
"nodeType": "Identifier",
|
1478
|
+
"overloadedDeclarations": [],
|
1479
|
+
"referencedDeclaration": -15,
|
1480
|
+
"src": "3145:3:40",
|
1481
|
+
"typeDescriptions": {
|
1482
|
+
"typeIdentifier": "t_magic_message",
|
1483
|
+
"typeString": "msg"
|
1484
|
+
}
|
1485
|
+
},
|
1486
|
+
"id": 23634,
|
1487
|
+
"isConstant": false,
|
1488
|
+
"isLValue": false,
|
1489
|
+
"isPure": false,
|
1490
|
+
"lValueRequested": false,
|
1491
|
+
"memberLocation": "3149:6:40",
|
1492
|
+
"memberName": "sender",
|
1493
|
+
"nodeType": "MemberAccess",
|
1494
|
+
"src": "3145:10:40",
|
1495
|
+
"typeDescriptions": {
|
1496
|
+
"typeIdentifier": "t_address",
|
1497
|
+
"typeString": "address"
|
1498
|
+
}
|
1499
|
+
},
|
1500
|
+
"src": "3136:19:40",
|
1501
|
+
"typeDescriptions": {
|
1502
|
+
"typeIdentifier": "t_address",
|
1503
|
+
"typeString": "address"
|
1504
|
+
}
|
1505
|
+
},
|
1506
|
+
"id": 23636,
|
1507
|
+
"nodeType": "ExpressionStatement",
|
1508
|
+
"src": "3136:19:40"
|
1509
|
+
}
|
1510
|
+
}
|
1511
|
+
]
|
1512
|
+
},
|
1513
|
+
"documentation": {
|
1514
|
+
"id": 23620,
|
1515
|
+
"nodeType": "StructuredDocumentation",
|
1516
|
+
"src": "2539:237:40",
|
1517
|
+
"text": " @notice Extract the `msg.sender` from the context appended to the calldata.\n @return sender The `msg.sender` in the call to the World contract before the World routed the\n call to the WorldContextConsumer contract."
|
1518
|
+
},
|
1519
|
+
"implemented": true,
|
1520
|
+
"kind": "function",
|
1521
|
+
"modifiers": [],
|
1522
|
+
"name": "_msgSender",
|
1523
|
+
"nameLocation": "2788:10:40",
|
1524
|
+
"parameters": {
|
1525
|
+
"id": 23621,
|
1526
|
+
"nodeType": "ParameterList",
|
1527
|
+
"parameters": [],
|
1528
|
+
"src": "2798:2:40"
|
1529
|
+
},
|
1530
|
+
"returnParameters": {
|
1531
|
+
"id": 23624,
|
1532
|
+
"nodeType": "ParameterList",
|
1533
|
+
"parameters": [
|
1534
|
+
{
|
1535
|
+
"constant": false,
|
1536
|
+
"id": 23623,
|
1537
|
+
"mutability": "mutable",
|
1538
|
+
"name": "sender",
|
1539
|
+
"nameLocation": "2832:6:40",
|
1540
|
+
"nodeType": "VariableDeclaration",
|
1541
|
+
"scope": 23639,
|
1542
|
+
"src": "2824:14:40",
|
1543
|
+
"stateVariable": false,
|
1544
|
+
"storageLocation": "default",
|
1545
|
+
"typeDescriptions": {
|
1546
|
+
"typeIdentifier": "t_address",
|
1547
|
+
"typeString": "address"
|
1548
|
+
},
|
1549
|
+
"typeName": {
|
1550
|
+
"id": 23622,
|
1551
|
+
"name": "address",
|
1552
|
+
"nodeType": "ElementaryTypeName",
|
1553
|
+
"src": "2824:7:40",
|
1554
|
+
"stateMutability": "nonpayable",
|
1555
|
+
"typeDescriptions": {
|
1556
|
+
"typeIdentifier": "t_address",
|
1557
|
+
"typeString": "address"
|
1558
|
+
}
|
1559
|
+
},
|
1560
|
+
"visibility": "internal"
|
1561
|
+
}
|
1562
|
+
],
|
1563
|
+
"src": "2823:16:40"
|
1564
|
+
},
|
1565
|
+
"scope": 23659,
|
1566
|
+
"stateMutability": "view",
|
1567
|
+
"virtual": false,
|
1568
|
+
"visibility": "internal"
|
1569
|
+
},
|
1570
|
+
{
|
1571
|
+
"id": 23647,
|
1572
|
+
"nodeType": "FunctionDefinition",
|
1573
|
+
"src": "3401:214:40",
|
1574
|
+
"nodes": [],
|
1575
|
+
"body": {
|
1576
|
+
"id": 23646,
|
1577
|
+
"nodeType": "Block",
|
1578
|
+
"src": "3460:155:40",
|
1579
|
+
"nodes": [],
|
1580
|
+
"statements": [
|
1581
|
+
{
|
1582
|
+
"AST": {
|
1583
|
+
"nativeSrc": "3475:136:40",
|
1584
|
+
"nodeType": "YulBlock",
|
1585
|
+
"src": "3475:136:40",
|
1586
|
+
"statements": [
|
1587
|
+
{
|
1588
|
+
"nativeSrc": "3559:46:40",
|
1589
|
+
"nodeType": "YulAssignment",
|
1590
|
+
"src": "3559:46:40",
|
1591
|
+
"value": {
|
1592
|
+
"arguments": [
|
1593
|
+
{
|
1594
|
+
"arguments": [
|
1595
|
+
{
|
1596
|
+
"arguments": [],
|
1597
|
+
"functionName": {
|
1598
|
+
"name": "calldatasize",
|
1599
|
+
"nativeSrc": "3585:12:40",
|
1600
|
+
"nodeType": "YulIdentifier",
|
1601
|
+
"src": "3585:12:40"
|
1602
|
+
},
|
1603
|
+
"nativeSrc": "3585:14:40",
|
1604
|
+
"nodeType": "YulFunctionCall",
|
1605
|
+
"src": "3585:14:40"
|
1606
|
+
},
|
1607
|
+
{
|
1608
|
+
"kind": "number",
|
1609
|
+
"nativeSrc": "3601:2:40",
|
1610
|
+
"nodeType": "YulLiteral",
|
1611
|
+
"src": "3601:2:40",
|
1612
|
+
"type": "",
|
1613
|
+
"value": "32"
|
1614
|
+
}
|
1615
|
+
],
|
1616
|
+
"functionName": {
|
1617
|
+
"name": "sub",
|
1618
|
+
"nativeSrc": "3581:3:40",
|
1619
|
+
"nodeType": "YulIdentifier",
|
1620
|
+
"src": "3581:3:40"
|
1621
|
+
},
|
1622
|
+
"nativeSrc": "3581:23:40",
|
1623
|
+
"nodeType": "YulFunctionCall",
|
1624
|
+
"src": "3581:23:40"
|
1625
|
+
}
|
1626
|
+
],
|
1627
|
+
"functionName": {
|
1628
|
+
"name": "calldataload",
|
1629
|
+
"nativeSrc": "3568:12:40",
|
1630
|
+
"nodeType": "YulIdentifier",
|
1631
|
+
"src": "3568:12:40"
|
1632
|
+
},
|
1633
|
+
"nativeSrc": "3568:37:40",
|
1634
|
+
"nodeType": "YulFunctionCall",
|
1635
|
+
"src": "3568:37:40"
|
1636
|
+
},
|
1637
|
+
"variableNames": [
|
1638
|
+
{
|
1639
|
+
"name": "value",
|
1640
|
+
"nativeSrc": "3559:5:40",
|
1641
|
+
"nodeType": "YulIdentifier",
|
1642
|
+
"src": "3559:5:40"
|
1643
|
+
}
|
1644
|
+
]
|
1645
|
+
}
|
1646
|
+
]
|
1331
1647
|
},
|
1332
|
-
"
|
1333
|
-
"
|
1334
|
-
|
1335
|
-
|
1648
|
+
"evmVersion": "paris",
|
1649
|
+
"externalReferences": [
|
1650
|
+
{
|
1651
|
+
"declaration": 23643,
|
1652
|
+
"isOffset": false,
|
1653
|
+
"isSlot": false,
|
1654
|
+
"src": "3559:5:40",
|
1655
|
+
"valueSize": 1
|
1656
|
+
}
|
1657
|
+
],
|
1658
|
+
"id": 23645,
|
1659
|
+
"nodeType": "InlineAssembly",
|
1660
|
+
"src": "3466:145:40"
|
1336
1661
|
}
|
1337
1662
|
]
|
1338
1663
|
},
|
1339
|
-
"baseFunctions": [
|
1340
|
-
23243
|
1341
|
-
],
|
1342
1664
|
"documentation": {
|
1343
|
-
"id":
|
1665
|
+
"id": 23640,
|
1344
1666
|
"nodeType": "StructuredDocumentation",
|
1345
|
-
"src": "
|
1346
|
-
"text": " @notice
|
1667
|
+
"src": "3164:234:40",
|
1668
|
+
"text": " @notice Extract the `msg.value` from the context appended to the calldata.\n @return value The `msg.value` in the call to the World contract before the World routed the\n call to the WorldContextConsumer contract."
|
1347
1669
|
},
|
1348
|
-
"functionSelector": "01ffc9a7",
|
1349
1670
|
"implemented": true,
|
1350
1671
|
"kind": "function",
|
1351
1672
|
"modifiers": [],
|
1352
|
-
"name": "
|
1353
|
-
"nameLocation": "
|
1673
|
+
"name": "_msgValue",
|
1674
|
+
"nameLocation": "3410:9:40",
|
1354
1675
|
"parameters": {
|
1355
|
-
"id":
|
1676
|
+
"id": 23641,
|
1677
|
+
"nodeType": "ParameterList",
|
1678
|
+
"parameters": [],
|
1679
|
+
"src": "3419:2:40"
|
1680
|
+
},
|
1681
|
+
"returnParameters": {
|
1682
|
+
"id": 23644,
|
1356
1683
|
"nodeType": "ParameterList",
|
1357
1684
|
"parameters": [
|
1358
1685
|
{
|
1359
1686
|
"constant": false,
|
1360
|
-
"id":
|
1687
|
+
"id": 23643,
|
1361
1688
|
"mutability": "mutable",
|
1362
|
-
"name": "
|
1363
|
-
"nameLocation": "
|
1689
|
+
"name": "value",
|
1690
|
+
"nameLocation": "3453:5:40",
|
1364
1691
|
"nodeType": "VariableDeclaration",
|
1365
|
-
"scope":
|
1366
|
-
"src": "
|
1692
|
+
"scope": 23647,
|
1693
|
+
"src": "3445:13:40",
|
1367
1694
|
"stateVariable": false,
|
1368
1695
|
"storageLocation": "default",
|
1369
1696
|
"typeDescriptions": {
|
1370
|
-
"typeIdentifier": "
|
1371
|
-
"typeString": "
|
1697
|
+
"typeIdentifier": "t_uint256",
|
1698
|
+
"typeString": "uint256"
|
1372
1699
|
},
|
1373
1700
|
"typeName": {
|
1374
|
-
"id":
|
1375
|
-
"name": "
|
1701
|
+
"id": 23642,
|
1702
|
+
"name": "uint256",
|
1376
1703
|
"nodeType": "ElementaryTypeName",
|
1377
|
-
"src": "
|
1704
|
+
"src": "3445:7:40",
|
1378
1705
|
"typeDescriptions": {
|
1379
|
-
"typeIdentifier": "
|
1380
|
-
"typeString": "
|
1706
|
+
"typeIdentifier": "t_uint256",
|
1707
|
+
"typeString": "uint256"
|
1381
1708
|
}
|
1382
1709
|
},
|
1383
1710
|
"visibility": "internal"
|
1384
1711
|
}
|
1385
1712
|
],
|
1386
|
-
"src": "
|
1713
|
+
"src": "3444:15:40"
|
1714
|
+
},
|
1715
|
+
"scope": 23659,
|
1716
|
+
"stateMutability": "pure",
|
1717
|
+
"virtual": false,
|
1718
|
+
"visibility": "internal"
|
1719
|
+
},
|
1720
|
+
{
|
1721
|
+
"id": 23658,
|
1722
|
+
"nodeType": "FunctionDefinition",
|
1723
|
+
"src": "3831:97:40",
|
1724
|
+
"nodes": [],
|
1725
|
+
"body": {
|
1726
|
+
"id": 23657,
|
1727
|
+
"nodeType": "Block",
|
1728
|
+
"src": "3881:47:40",
|
1729
|
+
"nodes": [],
|
1730
|
+
"statements": [
|
1731
|
+
{
|
1732
|
+
"expression": {
|
1733
|
+
"arguments": [],
|
1734
|
+
"expression": {
|
1735
|
+
"argumentTypes": [],
|
1736
|
+
"expression": {
|
1737
|
+
"id": 23653,
|
1738
|
+
"name": "StoreSwitch",
|
1739
|
+
"nodeType": "Identifier",
|
1740
|
+
"overloadedDeclarations": [],
|
1741
|
+
"referencedDeclaration": 31292,
|
1742
|
+
"src": "3894:11:40",
|
1743
|
+
"typeDescriptions": {
|
1744
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$31292_$",
|
1745
|
+
"typeString": "type(library StoreSwitch)"
|
1746
|
+
}
|
1747
|
+
},
|
1748
|
+
"id": 23654,
|
1749
|
+
"isConstant": false,
|
1750
|
+
"isLValue": false,
|
1751
|
+
"isPure": false,
|
1752
|
+
"lValueRequested": false,
|
1753
|
+
"memberLocation": "3906:15:40",
|
1754
|
+
"memberName": "getStoreAddress",
|
1755
|
+
"nodeType": "MemberAccess",
|
1756
|
+
"referencedDeclaration": 30036,
|
1757
|
+
"src": "3894:27:40",
|
1758
|
+
"typeDescriptions": {
|
1759
|
+
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
1760
|
+
"typeString": "function () view returns (address)"
|
1761
|
+
}
|
1762
|
+
},
|
1763
|
+
"id": 23655,
|
1764
|
+
"isConstant": false,
|
1765
|
+
"isLValue": false,
|
1766
|
+
"isPure": false,
|
1767
|
+
"kind": "functionCall",
|
1768
|
+
"lValueRequested": false,
|
1769
|
+
"nameLocations": [],
|
1770
|
+
"names": [],
|
1771
|
+
"nodeType": "FunctionCall",
|
1772
|
+
"src": "3894:29:40",
|
1773
|
+
"tryCall": false,
|
1774
|
+
"typeDescriptions": {
|
1775
|
+
"typeIdentifier": "t_address",
|
1776
|
+
"typeString": "address"
|
1777
|
+
}
|
1778
|
+
},
|
1779
|
+
"functionReturnParameters": 23652,
|
1780
|
+
"id": 23656,
|
1781
|
+
"nodeType": "Return",
|
1782
|
+
"src": "3887:36:40"
|
1783
|
+
}
|
1784
|
+
]
|
1785
|
+
},
|
1786
|
+
"documentation": {
|
1787
|
+
"id": 23648,
|
1788
|
+
"nodeType": "StructuredDocumentation",
|
1789
|
+
"src": "3619:209:40",
|
1790
|
+
"text": " @notice Get the address of the World contract that routed the call to this WorldContextConsumer.\n @return The address of the World contract that routed the call to this WorldContextConsumer."
|
1791
|
+
},
|
1792
|
+
"implemented": true,
|
1793
|
+
"kind": "function",
|
1794
|
+
"modifiers": [],
|
1795
|
+
"name": "_world",
|
1796
|
+
"nameLocation": "3840:6:40",
|
1797
|
+
"parameters": {
|
1798
|
+
"id": 23649,
|
1799
|
+
"nodeType": "ParameterList",
|
1800
|
+
"parameters": [],
|
1801
|
+
"src": "3846:2:40"
|
1387
1802
|
},
|
1388
1803
|
"returnParameters": {
|
1389
|
-
"id":
|
1804
|
+
"id": 23652,
|
1390
1805
|
"nodeType": "ParameterList",
|
1391
1806
|
"parameters": [
|
1392
1807
|
{
|
1393
1808
|
"constant": false,
|
1394
|
-
"id":
|
1809
|
+
"id": 23651,
|
1395
1810
|
"mutability": "mutable",
|
1396
1811
|
"name": "",
|
1397
1812
|
"nameLocation": "-1:-1:-1",
|
1398
1813
|
"nodeType": "VariableDeclaration",
|
1399
|
-
"scope":
|
1400
|
-
"src": "
|
1814
|
+
"scope": 23658,
|
1815
|
+
"src": "3872:7:40",
|
1401
1816
|
"stateVariable": false,
|
1402
1817
|
"storageLocation": "default",
|
1403
1818
|
"typeDescriptions": {
|
1404
|
-
"typeIdentifier": "
|
1405
|
-
"typeString": "
|
1819
|
+
"typeIdentifier": "t_address",
|
1820
|
+
"typeString": "address"
|
1406
1821
|
},
|
1407
1822
|
"typeName": {
|
1408
|
-
"id":
|
1409
|
-
"name": "
|
1823
|
+
"id": 23650,
|
1824
|
+
"name": "address",
|
1410
1825
|
"nodeType": "ElementaryTypeName",
|
1411
|
-
"src": "
|
1826
|
+
"src": "3872:7:40",
|
1827
|
+
"stateMutability": "nonpayable",
|
1412
1828
|
"typeDescriptions": {
|
1413
|
-
"typeIdentifier": "
|
1414
|
-
"typeString": "
|
1829
|
+
"typeIdentifier": "t_address",
|
1830
|
+
"typeString": "address"
|
1415
1831
|
}
|
1416
1832
|
},
|
1417
1833
|
"visibility": "internal"
|
1418
1834
|
}
|
1419
1835
|
],
|
1420
|
-
"src": "
|
1421
|
-
},
|
1422
|
-
"scope": 23627,
|
1423
|
-
"stateMutability": "pure",
|
1424
|
-
"virtual": true,
|
1425
|
-
"visibility": "public"
|
1426
|
-
}
|
1427
|
-
],
|
1428
|
-
"abstract": true,
|
1429
|
-
"baseContracts": [
|
1430
|
-
{
|
1431
|
-
"baseName": {
|
1432
|
-
"id": 23569,
|
1433
|
-
"name": "IWorldContextConsumer",
|
1434
|
-
"nameLocations": [
|
1435
|
-
"979:21:40"
|
1436
|
-
],
|
1437
|
-
"nodeType": "IdentifierPath",
|
1438
|
-
"referencedDeclaration": 23380,
|
1439
|
-
"src": "979:21:40"
|
1836
|
+
"src": "3871:9:40"
|
1440
1837
|
},
|
1441
|
-
"
|
1442
|
-
"
|
1443
|
-
"
|
1838
|
+
"scope": 23659,
|
1839
|
+
"stateMutability": "view",
|
1840
|
+
"virtual": false,
|
1841
|
+
"visibility": "internal"
|
1444
1842
|
}
|
1445
1843
|
],
|
1446
|
-
"
|
1844
|
+
"abstract": false,
|
1845
|
+
"baseContracts": [],
|
1846
|
+
"canonicalName": "WorldContextConsumerLib",
|
1447
1847
|
"contractDependencies": [],
|
1448
|
-
"contractKind": "
|
1449
|
-
"documentation": {
|
1450
|
-
"id": 23568,
|
1451
|
-
"nodeType": "StructuredDocumentation",
|
1452
|
-
"src": "463:473:40",
|
1453
|
-
"text": " @title WorldContextConsumer - Extracting trusted context values from appended calldata.\n @notice This contract is designed to extract trusted context values (like msg.sender and msg.value)\n from the appended calldata. It provides mechanisms similar to EIP-2771 (https://eips.ethereum.org/EIPS/eip-2771),\n but allowing any contract to be the trusted forwarder.\n @dev This contract should only be used for contracts without their own storage, like Systems."
|
1454
|
-
},
|
1848
|
+
"contractKind": "library",
|
1455
1849
|
"fullyImplemented": true,
|
1456
1850
|
"linearizedBaseContracts": [
|
1457
|
-
|
1458
|
-
23380,
|
1459
|
-
23244
|
1851
|
+
23659
|
1460
1852
|
],
|
1461
|
-
"name": "
|
1462
|
-
"nameLocation": "
|
1463
|
-
"scope":
|
1853
|
+
"name": "WorldContextConsumerLib",
|
1854
|
+
"nameLocation": "2511:23:40",
|
1855
|
+
"scope": 23814,
|
1464
1856
|
"usedErrors": [],
|
1465
1857
|
"usedEvents": []
|
1466
1858
|
},
|
1467
1859
|
{
|
1468
|
-
"id":
|
1860
|
+
"id": 23813,
|
1469
1861
|
"nodeType": "ContractDefinition",
|
1470
|
-
"src": "
|
1862
|
+
"src": "4265:3922:40",
|
1471
1863
|
"nodes": [
|
1472
1864
|
{
|
1473
|
-
"id":
|
1865
|
+
"id": 23680,
|
1474
1866
|
"nodeType": "FunctionDefinition",
|
1475
|
-
"src": "
|
1867
|
+
"src": "4614:201:40",
|
1476
1868
|
"nodes": [],
|
1477
1869
|
"body": {
|
1478
|
-
"id":
|
1870
|
+
"id": 23679,
|
1479
1871
|
"nodeType": "Block",
|
1480
|
-
"src": "
|
1872
|
+
"src": "4750:65:40",
|
1481
1873
|
"nodes": [],
|
1482
1874
|
"statements": [
|
1483
1875
|
{
|
1484
1876
|
"expression": {
|
1485
1877
|
"arguments": [
|
1486
1878
|
{
|
1487
|
-
"id":
|
1879
|
+
"id": 23674,
|
1488
1880
|
"name": "callData",
|
1489
1881
|
"nodeType": "Identifier",
|
1490
1882
|
"overloadedDeclarations": [],
|
1491
|
-
"referencedDeclaration":
|
1492
|
-
"src": "
|
1883
|
+
"referencedDeclaration": 23663,
|
1884
|
+
"src": "4780:8:40",
|
1493
1885
|
"typeDescriptions": {
|
1494
1886
|
"typeIdentifier": "t_bytes_memory_ptr",
|
1495
1887
|
"typeString": "bytes memory"
|
1496
1888
|
}
|
1497
1889
|
},
|
1498
1890
|
{
|
1499
|
-
"id":
|
1891
|
+
"id": 23675,
|
1500
1892
|
"name": "msgSender",
|
1501
1893
|
"nodeType": "Identifier",
|
1502
1894
|
"overloadedDeclarations": [],
|
1503
|
-
"referencedDeclaration":
|
1504
|
-
"src": "
|
1895
|
+
"referencedDeclaration": 23665,
|
1896
|
+
"src": "4790:9:40",
|
1505
1897
|
"typeDescriptions": {
|
1506
1898
|
"typeIdentifier": "t_address",
|
1507
1899
|
"typeString": "address"
|
1508
1900
|
}
|
1509
1901
|
},
|
1510
1902
|
{
|
1511
|
-
"id":
|
1903
|
+
"id": 23676,
|
1512
1904
|
"name": "msgValue",
|
1513
1905
|
"nodeType": "Identifier",
|
1514
1906
|
"overloadedDeclarations": [],
|
1515
|
-
"referencedDeclaration":
|
1516
|
-
"src": "
|
1907
|
+
"referencedDeclaration": 23667,
|
1908
|
+
"src": "4801:8:40",
|
1517
1909
|
"typeDescriptions": {
|
1518
1910
|
"typeIdentifier": "t_uint256",
|
1519
1911
|
"typeString": "uint256"
|
@@ -1536,32 +1928,32 @@
|
|
1536
1928
|
}
|
1537
1929
|
],
|
1538
1930
|
"expression": {
|
1539
|
-
"id":
|
1931
|
+
"id": 23672,
|
1540
1932
|
"name": "abi",
|
1541
1933
|
"nodeType": "Identifier",
|
1542
1934
|
"overloadedDeclarations": [],
|
1543
1935
|
"referencedDeclaration": -1,
|
1544
|
-
"src": "
|
1936
|
+
"src": "4763:3:40",
|
1545
1937
|
"typeDescriptions": {
|
1546
1938
|
"typeIdentifier": "t_magic_abi",
|
1547
1939
|
"typeString": "abi"
|
1548
1940
|
}
|
1549
1941
|
},
|
1550
|
-
"id":
|
1942
|
+
"id": 23673,
|
1551
1943
|
"isConstant": false,
|
1552
1944
|
"isLValue": false,
|
1553
1945
|
"isPure": true,
|
1554
1946
|
"lValueRequested": false,
|
1555
|
-
"memberLocation": "
|
1947
|
+
"memberLocation": "4767:12:40",
|
1556
1948
|
"memberName": "encodePacked",
|
1557
1949
|
"nodeType": "MemberAccess",
|
1558
|
-
"src": "
|
1950
|
+
"src": "4763:16:40",
|
1559
1951
|
"typeDescriptions": {
|
1560
1952
|
"typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
|
1561
1953
|
"typeString": "function () pure returns (bytes memory)"
|
1562
1954
|
}
|
1563
1955
|
},
|
1564
|
-
"id":
|
1956
|
+
"id": 23677,
|
1565
1957
|
"isConstant": false,
|
1566
1958
|
"isLValue": false,
|
1567
1959
|
"isPure": false,
|
@@ -1570,44 +1962,44 @@
|
|
1570
1962
|
"nameLocations": [],
|
1571
1963
|
"names": [],
|
1572
1964
|
"nodeType": "FunctionCall",
|
1573
|
-
"src": "
|
1965
|
+
"src": "4763:47:40",
|
1574
1966
|
"tryCall": false,
|
1575
1967
|
"typeDescriptions": {
|
1576
1968
|
"typeIdentifier": "t_bytes_memory_ptr",
|
1577
1969
|
"typeString": "bytes memory"
|
1578
1970
|
}
|
1579
1971
|
},
|
1580
|
-
"functionReturnParameters":
|
1581
|
-
"id":
|
1972
|
+
"functionReturnParameters": 23671,
|
1973
|
+
"id": 23678,
|
1582
1974
|
"nodeType": "Return",
|
1583
|
-
"src": "
|
1975
|
+
"src": "4756:54:40"
|
1584
1976
|
}
|
1585
1977
|
]
|
1586
1978
|
},
|
1587
1979
|
"documentation": {
|
1588
|
-
"id":
|
1980
|
+
"id": 23661,
|
1589
1981
|
"nodeType": "StructuredDocumentation",
|
1590
|
-
"src": "
|
1982
|
+
"src": "4301:310:40",
|
1591
1983
|
"text": " @notice Appends context values to the given calldata.\n @param callData The original calldata.\n @param msgSender The address of the transaction sender.\n @param msgValue The amount of ether sent with the original transaction.\n @return The new calldata with context values appended."
|
1592
1984
|
},
|
1593
1985
|
"implemented": true,
|
1594
1986
|
"kind": "function",
|
1595
1987
|
"modifiers": [],
|
1596
1988
|
"name": "appendContext",
|
1597
|
-
"nameLocation": "
|
1989
|
+
"nameLocation": "4623:13:40",
|
1598
1990
|
"parameters": {
|
1599
|
-
"id":
|
1991
|
+
"id": 23668,
|
1600
1992
|
"nodeType": "ParameterList",
|
1601
1993
|
"parameters": [
|
1602
1994
|
{
|
1603
1995
|
"constant": false,
|
1604
|
-
"id":
|
1996
|
+
"id": 23663,
|
1605
1997
|
"mutability": "mutable",
|
1606
1998
|
"name": "callData",
|
1607
|
-
"nameLocation": "
|
1999
|
+
"nameLocation": "4655:8:40",
|
1608
2000
|
"nodeType": "VariableDeclaration",
|
1609
|
-
"scope":
|
1610
|
-
"src": "
|
2001
|
+
"scope": 23680,
|
2002
|
+
"src": "4642:21:40",
|
1611
2003
|
"stateVariable": false,
|
1612
2004
|
"storageLocation": "memory",
|
1613
2005
|
"typeDescriptions": {
|
@@ -1615,10 +2007,10 @@
|
|
1615
2007
|
"typeString": "bytes"
|
1616
2008
|
},
|
1617
2009
|
"typeName": {
|
1618
|
-
"id":
|
2010
|
+
"id": 23662,
|
1619
2011
|
"name": "bytes",
|
1620
2012
|
"nodeType": "ElementaryTypeName",
|
1621
|
-
"src": "
|
2013
|
+
"src": "4642:5:40",
|
1622
2014
|
"typeDescriptions": {
|
1623
2015
|
"typeIdentifier": "t_bytes_storage_ptr",
|
1624
2016
|
"typeString": "bytes"
|
@@ -1628,13 +2020,13 @@
|
|
1628
2020
|
},
|
1629
2021
|
{
|
1630
2022
|
"constant": false,
|
1631
|
-
"id":
|
2023
|
+
"id": 23665,
|
1632
2024
|
"mutability": "mutable",
|
1633
2025
|
"name": "msgSender",
|
1634
|
-
"nameLocation": "
|
2026
|
+
"nameLocation": "4677:9:40",
|
1635
2027
|
"nodeType": "VariableDeclaration",
|
1636
|
-
"scope":
|
1637
|
-
"src": "
|
2028
|
+
"scope": 23680,
|
2029
|
+
"src": "4669:17:40",
|
1638
2030
|
"stateVariable": false,
|
1639
2031
|
"storageLocation": "default",
|
1640
2032
|
"typeDescriptions": {
|
@@ -1642,10 +2034,10 @@
|
|
1642
2034
|
"typeString": "address"
|
1643
2035
|
},
|
1644
2036
|
"typeName": {
|
1645
|
-
"id":
|
2037
|
+
"id": 23664,
|
1646
2038
|
"name": "address",
|
1647
2039
|
"nodeType": "ElementaryTypeName",
|
1648
|
-
"src": "
|
2040
|
+
"src": "4669:7:40",
|
1649
2041
|
"stateMutability": "nonpayable",
|
1650
2042
|
"typeDescriptions": {
|
1651
2043
|
"typeIdentifier": "t_address",
|
@@ -1656,13 +2048,13 @@
|
|
1656
2048
|
},
|
1657
2049
|
{
|
1658
2050
|
"constant": false,
|
1659
|
-
"id":
|
2051
|
+
"id": 23667,
|
1660
2052
|
"mutability": "mutable",
|
1661
2053
|
"name": "msgValue",
|
1662
|
-
"nameLocation": "
|
2054
|
+
"nameLocation": "4700:8:40",
|
1663
2055
|
"nodeType": "VariableDeclaration",
|
1664
|
-
"scope":
|
1665
|
-
"src": "
|
2056
|
+
"scope": 23680,
|
2057
|
+
"src": "4692:16:40",
|
1666
2058
|
"stateVariable": false,
|
1667
2059
|
"storageLocation": "default",
|
1668
2060
|
"typeDescriptions": {
|
@@ -1670,10 +2062,10 @@
|
|
1670
2062
|
"typeString": "uint256"
|
1671
2063
|
},
|
1672
2064
|
"typeName": {
|
1673
|
-
"id":
|
2065
|
+
"id": 23666,
|
1674
2066
|
"name": "uint256",
|
1675
2067
|
"nodeType": "ElementaryTypeName",
|
1676
|
-
"src": "
|
2068
|
+
"src": "4692:7:40",
|
1677
2069
|
"typeDescriptions": {
|
1678
2070
|
"typeIdentifier": "t_uint256",
|
1679
2071
|
"typeString": "uint256"
|
@@ -1682,21 +2074,21 @@
|
|
1682
2074
|
"visibility": "internal"
|
1683
2075
|
}
|
1684
2076
|
],
|
1685
|
-
"src": "
|
2077
|
+
"src": "4636:76:40"
|
1686
2078
|
},
|
1687
2079
|
"returnParameters": {
|
1688
|
-
"id":
|
2080
|
+
"id": 23671,
|
1689
2081
|
"nodeType": "ParameterList",
|
1690
2082
|
"parameters": [
|
1691
2083
|
{
|
1692
2084
|
"constant": false,
|
1693
|
-
"id":
|
2085
|
+
"id": 23670,
|
1694
2086
|
"mutability": "mutable",
|
1695
2087
|
"name": "",
|
1696
2088
|
"nameLocation": "-1:-1:-1",
|
1697
2089
|
"nodeType": "VariableDeclaration",
|
1698
|
-
"scope":
|
1699
|
-
"src": "
|
2090
|
+
"scope": 23680,
|
2091
|
+
"src": "4736:12:40",
|
1700
2092
|
"stateVariable": false,
|
1701
2093
|
"storageLocation": "memory",
|
1702
2094
|
"typeDescriptions": {
|
@@ -1704,10 +2096,10 @@
|
|
1704
2096
|
"typeString": "bytes"
|
1705
2097
|
},
|
1706
2098
|
"typeName": {
|
1707
|
-
"id":
|
2099
|
+
"id": 23669,
|
1708
2100
|
"name": "bytes",
|
1709
2101
|
"nodeType": "ElementaryTypeName",
|
1710
|
-
"src": "
|
2102
|
+
"src": "4736:5:40",
|
1711
2103
|
"typeDescriptions": {
|
1712
2104
|
"typeIdentifier": "t_bytes_storage_ptr",
|
1713
2105
|
"typeString": "bytes"
|
@@ -1716,27 +2108,27 @@
|
|
1716
2108
|
"visibility": "internal"
|
1717
2109
|
}
|
1718
2110
|
],
|
1719
|
-
"src": "
|
2111
|
+
"src": "4735:14:40"
|
1720
2112
|
},
|
1721
|
-
"scope":
|
2113
|
+
"scope": 23813,
|
1722
2114
|
"stateMutability": "pure",
|
1723
2115
|
"virtual": false,
|
1724
2116
|
"visibility": "internal"
|
1725
2117
|
},
|
1726
2118
|
{
|
1727
|
-
"id":
|
2119
|
+
"id": 23712,
|
1728
2120
|
"nodeType": "FunctionDefinition",
|
1729
|
-
"src": "
|
2121
|
+
"src": "5311:317:40",
|
1730
2122
|
"nodes": [],
|
1731
2123
|
"body": {
|
1732
|
-
"id":
|
2124
|
+
"id": 23711,
|
1733
2125
|
"nodeType": "Block",
|
1734
|
-
"src": "
|
2126
|
+
"src": "5483:145:40",
|
1735
2127
|
"nodes": [],
|
1736
2128
|
"statements": [
|
1737
2129
|
{
|
1738
2130
|
"expression": {
|
1739
|
-
"id":
|
2131
|
+
"id": 23709,
|
1740
2132
|
"isConstant": false,
|
1741
2133
|
"isLValue": false,
|
1742
2134
|
"isPure": false,
|
@@ -1744,38 +2136,38 @@
|
|
1744
2136
|
"leftHandSide": {
|
1745
2137
|
"components": [
|
1746
2138
|
{
|
1747
|
-
"id":
|
2139
|
+
"id": 23696,
|
1748
2140
|
"name": "success",
|
1749
2141
|
"nodeType": "Identifier",
|
1750
2142
|
"overloadedDeclarations": [],
|
1751
|
-
"referencedDeclaration":
|
1752
|
-
"src": "
|
2143
|
+
"referencedDeclaration": 23692,
|
2144
|
+
"src": "5490:7:40",
|
1753
2145
|
"typeDescriptions": {
|
1754
2146
|
"typeIdentifier": "t_bool",
|
1755
2147
|
"typeString": "bool"
|
1756
2148
|
}
|
1757
2149
|
},
|
1758
2150
|
{
|
1759
|
-
"id":
|
2151
|
+
"id": 23697,
|
1760
2152
|
"name": "data",
|
1761
2153
|
"nodeType": "Identifier",
|
1762
2154
|
"overloadedDeclarations": [],
|
1763
|
-
"referencedDeclaration":
|
1764
|
-
"src": "
|
2155
|
+
"referencedDeclaration": 23694,
|
2156
|
+
"src": "5499:4:40",
|
1765
2157
|
"typeDescriptions": {
|
1766
2158
|
"typeIdentifier": "t_bytes_memory_ptr",
|
1767
2159
|
"typeString": "bytes memory"
|
1768
2160
|
}
|
1769
2161
|
}
|
1770
2162
|
],
|
1771
|
-
"id":
|
2163
|
+
"id": 23698,
|
1772
2164
|
"isConstant": false,
|
1773
2165
|
"isInlineArray": false,
|
1774
2166
|
"isLValue": true,
|
1775
2167
|
"isPure": false,
|
1776
2168
|
"lValueRequested": true,
|
1777
2169
|
"nodeType": "TupleExpression",
|
1778
|
-
"src": "
|
2170
|
+
"src": "5489:15:40",
|
1779
2171
|
"typeDescriptions": {
|
1780
2172
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
1781
2173
|
"typeString": "tuple(bool,bytes memory)"
|
@@ -1788,36 +2180,36 @@
|
|
1788
2180
|
{
|
1789
2181
|
"arguments": [
|
1790
2182
|
{
|
1791
|
-
"id":
|
2183
|
+
"id": 23704,
|
1792
2184
|
"name": "callData",
|
1793
2185
|
"nodeType": "Identifier",
|
1794
2186
|
"overloadedDeclarations": [],
|
1795
|
-
"referencedDeclaration":
|
1796
|
-
"src": "
|
2187
|
+
"referencedDeclaration": 23689,
|
2188
|
+
"src": "5564:8:40",
|
1797
2189
|
"typeDescriptions": {
|
1798
2190
|
"typeIdentifier": "t_bytes_memory_ptr",
|
1799
2191
|
"typeString": "bytes memory"
|
1800
2192
|
}
|
1801
2193
|
},
|
1802
2194
|
{
|
1803
|
-
"id":
|
2195
|
+
"id": 23705,
|
1804
2196
|
"name": "msgSender",
|
1805
2197
|
"nodeType": "Identifier",
|
1806
2198
|
"overloadedDeclarations": [],
|
1807
|
-
"referencedDeclaration":
|
1808
|
-
"src": "
|
2199
|
+
"referencedDeclaration": 23683,
|
2200
|
+
"src": "5585:9:40",
|
1809
2201
|
"typeDescriptions": {
|
1810
2202
|
"typeIdentifier": "t_address",
|
1811
2203
|
"typeString": "address"
|
1812
2204
|
}
|
1813
2205
|
},
|
1814
2206
|
{
|
1815
|
-
"id":
|
2207
|
+
"id": 23706,
|
1816
2208
|
"name": "msgValue",
|
1817
2209
|
"nodeType": "Identifier",
|
1818
2210
|
"overloadedDeclarations": [],
|
1819
|
-
"referencedDeclaration":
|
1820
|
-
"src": "
|
2211
|
+
"referencedDeclaration": 23685,
|
2212
|
+
"src": "5606:8:40",
|
1821
2213
|
"typeDescriptions": {
|
1822
2214
|
"typeIdentifier": "t_uint256",
|
1823
2215
|
"typeString": "uint256"
|
@@ -1839,27 +2231,27 @@
|
|
1839
2231
|
"typeString": "uint256"
|
1840
2232
|
}
|
1841
2233
|
],
|
1842
|
-
"id":
|
2234
|
+
"id": 23703,
|
1843
2235
|
"name": "appendContext",
|
1844
2236
|
"nodeType": "Identifier",
|
1845
2237
|
"overloadedDeclarations": [],
|
1846
|
-
"referencedDeclaration":
|
1847
|
-
"src": "
|
2238
|
+
"referencedDeclaration": 23680,
|
2239
|
+
"src": "5538:13:40",
|
1848
2240
|
"typeDescriptions": {
|
1849
2241
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_address_$_t_uint256_$returns$_t_bytes_memory_ptr_$",
|
1850
2242
|
"typeString": "function (bytes memory,address,uint256) pure returns (bytes memory)"
|
1851
2243
|
}
|
1852
2244
|
},
|
1853
|
-
"id":
|
2245
|
+
"id": 23707,
|
1854
2246
|
"isConstant": false,
|
1855
2247
|
"isLValue": false,
|
1856
2248
|
"isPure": false,
|
1857
2249
|
"kind": "functionCall",
|
1858
2250
|
"lValueRequested": false,
|
1859
2251
|
"nameLocations": [
|
1860
|
-
"
|
1861
|
-
"
|
1862
|
-
"
|
2252
|
+
"5554:8:40",
|
2253
|
+
"5574:9:40",
|
2254
|
+
"5596:8:40"
|
1863
2255
|
],
|
1864
2256
|
"names": [
|
1865
2257
|
"callData",
|
@@ -1867,7 +2259,7 @@
|
|
1867
2259
|
"msgValue"
|
1868
2260
|
],
|
1869
2261
|
"nodeType": "FunctionCall",
|
1870
|
-
"src": "
|
2262
|
+
"src": "5538:79:40",
|
1871
2263
|
"tryCall": false,
|
1872
2264
|
"typeDescriptions": {
|
1873
2265
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -1890,32 +2282,32 @@
|
|
1890
2282
|
}
|
1891
2283
|
],
|
1892
2284
|
"expression": {
|
1893
|
-
"id":
|
2285
|
+
"id": 23699,
|
1894
2286
|
"name": "target",
|
1895
2287
|
"nodeType": "Identifier",
|
1896
2288
|
"overloadedDeclarations": [],
|
1897
|
-
"referencedDeclaration":
|
1898
|
-
"src": "
|
2289
|
+
"referencedDeclaration": 23687,
|
2290
|
+
"src": "5507:6:40",
|
1899
2291
|
"typeDescriptions": {
|
1900
2292
|
"typeIdentifier": "t_address",
|
1901
2293
|
"typeString": "address"
|
1902
2294
|
}
|
1903
2295
|
},
|
1904
|
-
"id":
|
2296
|
+
"id": 23700,
|
1905
2297
|
"isConstant": false,
|
1906
2298
|
"isLValue": false,
|
1907
2299
|
"isPure": false,
|
1908
2300
|
"lValueRequested": false,
|
1909
|
-
"memberLocation": "
|
2301
|
+
"memberLocation": "5514:4:40",
|
1910
2302
|
"memberName": "call",
|
1911
2303
|
"nodeType": "MemberAccess",
|
1912
|
-
"src": "
|
2304
|
+
"src": "5507:11:40",
|
1913
2305
|
"typeDescriptions": {
|
1914
2306
|
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
1915
2307
|
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
|
1916
2308
|
}
|
1917
2309
|
},
|
1918
|
-
"id":
|
2310
|
+
"id": 23702,
|
1919
2311
|
"isConstant": false,
|
1920
2312
|
"isLValue": false,
|
1921
2313
|
"isPure": false,
|
@@ -1927,14 +2319,14 @@
|
|
1927
2319
|
"options": [
|
1928
2320
|
{
|
1929
2321
|
"hexValue": "30",
|
1930
|
-
"id":
|
2322
|
+
"id": 23701,
|
1931
2323
|
"isConstant": false,
|
1932
2324
|
"isLValue": false,
|
1933
2325
|
"isPure": true,
|
1934
2326
|
"kind": "number",
|
1935
2327
|
"lValueRequested": false,
|
1936
2328
|
"nodeType": "Literal",
|
1937
|
-
"src": "
|
2329
|
+
"src": "5527:1:40",
|
1938
2330
|
"typeDescriptions": {
|
1939
2331
|
"typeIdentifier": "t_rational_0_by_1",
|
1940
2332
|
"typeString": "int_const 0"
|
@@ -1942,13 +2334,13 @@
|
|
1942
2334
|
"value": "0"
|
1943
2335
|
}
|
1944
2336
|
],
|
1945
|
-
"src": "
|
2337
|
+
"src": "5507:23:40",
|
1946
2338
|
"typeDescriptions": {
|
1947
2339
|
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value",
|
1948
2340
|
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
|
1949
2341
|
}
|
1950
2342
|
},
|
1951
|
-
"id":
|
2343
|
+
"id": 23708,
|
1952
2344
|
"isConstant": false,
|
1953
2345
|
"isLValue": false,
|
1954
2346
|
"isPure": false,
|
@@ -1957,49 +2349,49 @@
|
|
1957
2349
|
"nameLocations": [],
|
1958
2350
|
"names": [],
|
1959
2351
|
"nodeType": "FunctionCall",
|
1960
|
-
"src": "
|
2352
|
+
"src": "5507:116:40",
|
1961
2353
|
"tryCall": false,
|
1962
2354
|
"typeDescriptions": {
|
1963
2355
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
1964
2356
|
"typeString": "tuple(bool,bytes memory)"
|
1965
2357
|
}
|
1966
2358
|
},
|
1967
|
-
"src": "
|
2359
|
+
"src": "5489:134:40",
|
1968
2360
|
"typeDescriptions": {
|
1969
2361
|
"typeIdentifier": "t_tuple$__$",
|
1970
2362
|
"typeString": "tuple()"
|
1971
2363
|
}
|
1972
2364
|
},
|
1973
|
-
"id":
|
2365
|
+
"id": 23710,
|
1974
2366
|
"nodeType": "ExpressionStatement",
|
1975
|
-
"src": "
|
2367
|
+
"src": "5489:134:40"
|
1976
2368
|
}
|
1977
2369
|
]
|
1978
2370
|
},
|
1979
2371
|
"documentation": {
|
1980
|
-
"id":
|
2372
|
+
"id": 23681,
|
1981
2373
|
"nodeType": "StructuredDocumentation",
|
1982
|
-
"src": "
|
2374
|
+
"src": "4819:489:40",
|
1983
2375
|
"text": " @notice Makes a call to the target contract with context values appended to the calldata.\n @param msgSender The address of the transaction sender.\n @param msgValue The amount of ether sent with the original transaction.\n @param target The address of the contract to call.\n @param callData The calldata for the call.\n @return success A boolean indicating whether the call was successful or not.\n @return data The abi encoded return data from the call."
|
1984
2376
|
},
|
1985
2377
|
"implemented": true,
|
1986
2378
|
"kind": "function",
|
1987
2379
|
"modifiers": [],
|
1988
2380
|
"name": "callWithContext",
|
1989
|
-
"nameLocation": "
|
2381
|
+
"nameLocation": "5320:15:40",
|
1990
2382
|
"parameters": {
|
1991
|
-
"id":
|
2383
|
+
"id": 23690,
|
1992
2384
|
"nodeType": "ParameterList",
|
1993
2385
|
"parameters": [
|
1994
2386
|
{
|
1995
2387
|
"constant": false,
|
1996
|
-
"id":
|
2388
|
+
"id": 23683,
|
1997
2389
|
"mutability": "mutable",
|
1998
2390
|
"name": "msgSender",
|
1999
|
-
"nameLocation": "
|
2391
|
+
"nameLocation": "5349:9:40",
|
2000
2392
|
"nodeType": "VariableDeclaration",
|
2001
|
-
"scope":
|
2002
|
-
"src": "
|
2393
|
+
"scope": 23712,
|
2394
|
+
"src": "5341:17:40",
|
2003
2395
|
"stateVariable": false,
|
2004
2396
|
"storageLocation": "default",
|
2005
2397
|
"typeDescriptions": {
|
@@ -2007,10 +2399,10 @@
|
|
2007
2399
|
"typeString": "address"
|
2008
2400
|
},
|
2009
2401
|
"typeName": {
|
2010
|
-
"id":
|
2402
|
+
"id": 23682,
|
2011
2403
|
"name": "address",
|
2012
2404
|
"nodeType": "ElementaryTypeName",
|
2013
|
-
"src": "
|
2405
|
+
"src": "5341:7:40",
|
2014
2406
|
"stateMutability": "nonpayable",
|
2015
2407
|
"typeDescriptions": {
|
2016
2408
|
"typeIdentifier": "t_address",
|
@@ -2021,13 +2413,13 @@
|
|
2021
2413
|
},
|
2022
2414
|
{
|
2023
2415
|
"constant": false,
|
2024
|
-
"id":
|
2416
|
+
"id": 23685,
|
2025
2417
|
"mutability": "mutable",
|
2026
2418
|
"name": "msgValue",
|
2027
|
-
"nameLocation": "
|
2419
|
+
"nameLocation": "5372:8:40",
|
2028
2420
|
"nodeType": "VariableDeclaration",
|
2029
|
-
"scope":
|
2030
|
-
"src": "
|
2421
|
+
"scope": 23712,
|
2422
|
+
"src": "5364:16:40",
|
2031
2423
|
"stateVariable": false,
|
2032
2424
|
"storageLocation": "default",
|
2033
2425
|
"typeDescriptions": {
|
@@ -2035,10 +2427,10 @@
|
|
2035
2427
|
"typeString": "uint256"
|
2036
2428
|
},
|
2037
2429
|
"typeName": {
|
2038
|
-
"id":
|
2430
|
+
"id": 23684,
|
2039
2431
|
"name": "uint256",
|
2040
2432
|
"nodeType": "ElementaryTypeName",
|
2041
|
-
"src": "
|
2433
|
+
"src": "5364:7:40",
|
2042
2434
|
"typeDescriptions": {
|
2043
2435
|
"typeIdentifier": "t_uint256",
|
2044
2436
|
"typeString": "uint256"
|
@@ -2048,13 +2440,13 @@
|
|
2048
2440
|
},
|
2049
2441
|
{
|
2050
2442
|
"constant": false,
|
2051
|
-
"id":
|
2443
|
+
"id": 23687,
|
2052
2444
|
"mutability": "mutable",
|
2053
2445
|
"name": "target",
|
2054
|
-
"nameLocation": "
|
2446
|
+
"nameLocation": "5394:6:40",
|
2055
2447
|
"nodeType": "VariableDeclaration",
|
2056
|
-
"scope":
|
2057
|
-
"src": "
|
2448
|
+
"scope": 23712,
|
2449
|
+
"src": "5386:14:40",
|
2058
2450
|
"stateVariable": false,
|
2059
2451
|
"storageLocation": "default",
|
2060
2452
|
"typeDescriptions": {
|
@@ -2062,10 +2454,10 @@
|
|
2062
2454
|
"typeString": "address"
|
2063
2455
|
},
|
2064
2456
|
"typeName": {
|
2065
|
-
"id":
|
2457
|
+
"id": 23686,
|
2066
2458
|
"name": "address",
|
2067
2459
|
"nodeType": "ElementaryTypeName",
|
2068
|
-
"src": "
|
2460
|
+
"src": "5386:7:40",
|
2069
2461
|
"stateMutability": "nonpayable",
|
2070
2462
|
"typeDescriptions": {
|
2071
2463
|
"typeIdentifier": "t_address",
|
@@ -2076,13 +2468,13 @@
|
|
2076
2468
|
},
|
2077
2469
|
{
|
2078
2470
|
"constant": false,
|
2079
|
-
"id":
|
2471
|
+
"id": 23689,
|
2080
2472
|
"mutability": "mutable",
|
2081
2473
|
"name": "callData",
|
2082
|
-
"nameLocation": "
|
2474
|
+
"nameLocation": "5419:8:40",
|
2083
2475
|
"nodeType": "VariableDeclaration",
|
2084
|
-
"scope":
|
2085
|
-
"src": "
|
2476
|
+
"scope": 23712,
|
2477
|
+
"src": "5406:21:40",
|
2086
2478
|
"stateVariable": false,
|
2087
2479
|
"storageLocation": "memory",
|
2088
2480
|
"typeDescriptions": {
|
@@ -2090,10 +2482,10 @@
|
|
2090
2482
|
"typeString": "bytes"
|
2091
2483
|
},
|
2092
2484
|
"typeName": {
|
2093
|
-
"id":
|
2485
|
+
"id": 23688,
|
2094
2486
|
"name": "bytes",
|
2095
2487
|
"nodeType": "ElementaryTypeName",
|
2096
|
-
"src": "
|
2488
|
+
"src": "5406:5:40",
|
2097
2489
|
"typeDescriptions": {
|
2098
2490
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2099
2491
|
"typeString": "bytes"
|
@@ -2102,21 +2494,21 @@
|
|
2102
2494
|
"visibility": "internal"
|
2103
2495
|
}
|
2104
2496
|
],
|
2105
|
-
"src": "
|
2497
|
+
"src": "5335:96:40"
|
2106
2498
|
},
|
2107
2499
|
"returnParameters": {
|
2108
|
-
"id":
|
2500
|
+
"id": 23695,
|
2109
2501
|
"nodeType": "ParameterList",
|
2110
2502
|
"parameters": [
|
2111
2503
|
{
|
2112
2504
|
"constant": false,
|
2113
|
-
"id":
|
2505
|
+
"id": 23692,
|
2114
2506
|
"mutability": "mutable",
|
2115
2507
|
"name": "success",
|
2116
|
-
"nameLocation": "
|
2508
|
+
"nameLocation": "5455:7:40",
|
2117
2509
|
"nodeType": "VariableDeclaration",
|
2118
|
-
"scope":
|
2119
|
-
"src": "
|
2510
|
+
"scope": 23712,
|
2511
|
+
"src": "5450:12:40",
|
2120
2512
|
"stateVariable": false,
|
2121
2513
|
"storageLocation": "default",
|
2122
2514
|
"typeDescriptions": {
|
@@ -2124,10 +2516,10 @@
|
|
2124
2516
|
"typeString": "bool"
|
2125
2517
|
},
|
2126
2518
|
"typeName": {
|
2127
|
-
"id":
|
2519
|
+
"id": 23691,
|
2128
2520
|
"name": "bool",
|
2129
2521
|
"nodeType": "ElementaryTypeName",
|
2130
|
-
"src": "
|
2522
|
+
"src": "5450:4:40",
|
2131
2523
|
"typeDescriptions": {
|
2132
2524
|
"typeIdentifier": "t_bool",
|
2133
2525
|
"typeString": "bool"
|
@@ -2137,13 +2529,13 @@
|
|
2137
2529
|
},
|
2138
2530
|
{
|
2139
2531
|
"constant": false,
|
2140
|
-
"id":
|
2532
|
+
"id": 23694,
|
2141
2533
|
"mutability": "mutable",
|
2142
2534
|
"name": "data",
|
2143
|
-
"nameLocation": "
|
2535
|
+
"nameLocation": "5477:4:40",
|
2144
2536
|
"nodeType": "VariableDeclaration",
|
2145
|
-
"scope":
|
2146
|
-
"src": "
|
2537
|
+
"scope": 23712,
|
2538
|
+
"src": "5464:17:40",
|
2147
2539
|
"stateVariable": false,
|
2148
2540
|
"storageLocation": "memory",
|
2149
2541
|
"typeDescriptions": {
|
@@ -2151,10 +2543,10 @@
|
|
2151
2543
|
"typeString": "bytes"
|
2152
2544
|
},
|
2153
2545
|
"typeName": {
|
2154
|
-
"id":
|
2546
|
+
"id": 23693,
|
2155
2547
|
"name": "bytes",
|
2156
2548
|
"nodeType": "ElementaryTypeName",
|
2157
|
-
"src": "
|
2549
|
+
"src": "5464:5:40",
|
2158
2550
|
"typeDescriptions": {
|
2159
2551
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2160
2552
|
"typeString": "bytes"
|
@@ -2163,27 +2555,27 @@
|
|
2163
2555
|
"visibility": "internal"
|
2164
2556
|
}
|
2165
2557
|
],
|
2166
|
-
"src": "
|
2558
|
+
"src": "5449:33:40"
|
2167
2559
|
},
|
2168
|
-
"scope":
|
2560
|
+
"scope": 23813,
|
2169
2561
|
"stateMutability": "nonpayable",
|
2170
2562
|
"virtual": false,
|
2171
2563
|
"visibility": "internal"
|
2172
2564
|
},
|
2173
2565
|
{
|
2174
|
-
"id":
|
2566
|
+
"id": 23742,
|
2175
2567
|
"nodeType": "FunctionDefinition",
|
2176
|
-
"src": "
|
2568
|
+
"src": "6132:321:40",
|
2177
2569
|
"nodes": [],
|
2178
2570
|
"body": {
|
2179
|
-
"id":
|
2571
|
+
"id": 23741,
|
2180
2572
|
"nodeType": "Block",
|
2181
|
-
"src": "
|
2573
|
+
"src": "6312:141:40",
|
2182
2574
|
"nodes": [],
|
2183
2575
|
"statements": [
|
2184
2576
|
{
|
2185
2577
|
"expression": {
|
2186
|
-
"id":
|
2578
|
+
"id": 23739,
|
2187
2579
|
"isConstant": false,
|
2188
2580
|
"isLValue": false,
|
2189
2581
|
"isPure": false,
|
@@ -2191,38 +2583,38 @@
|
|
2191
2583
|
"leftHandSide": {
|
2192
2584
|
"components": [
|
2193
2585
|
{
|
2194
|
-
"id":
|
2586
|
+
"id": 23728,
|
2195
2587
|
"name": "success",
|
2196
2588
|
"nodeType": "Identifier",
|
2197
2589
|
"overloadedDeclarations": [],
|
2198
|
-
"referencedDeclaration":
|
2199
|
-
"src": "
|
2590
|
+
"referencedDeclaration": 23724,
|
2591
|
+
"src": "6319:7:40",
|
2200
2592
|
"typeDescriptions": {
|
2201
2593
|
"typeIdentifier": "t_bool",
|
2202
2594
|
"typeString": "bool"
|
2203
2595
|
}
|
2204
2596
|
},
|
2205
2597
|
{
|
2206
|
-
"id":
|
2598
|
+
"id": 23729,
|
2207
2599
|
"name": "data",
|
2208
2600
|
"nodeType": "Identifier",
|
2209
2601
|
"overloadedDeclarations": [],
|
2210
|
-
"referencedDeclaration":
|
2211
|
-
"src": "
|
2602
|
+
"referencedDeclaration": 23726,
|
2603
|
+
"src": "6328:4:40",
|
2212
2604
|
"typeDescriptions": {
|
2213
2605
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2214
2606
|
"typeString": "bytes memory"
|
2215
2607
|
}
|
2216
2608
|
}
|
2217
2609
|
],
|
2218
|
-
"id":
|
2610
|
+
"id": 23730,
|
2219
2611
|
"isConstant": false,
|
2220
2612
|
"isInlineArray": false,
|
2221
2613
|
"isLValue": true,
|
2222
2614
|
"isPure": false,
|
2223
2615
|
"lValueRequested": true,
|
2224
2616
|
"nodeType": "TupleExpression",
|
2225
|
-
"src": "
|
2617
|
+
"src": "6318:15:40",
|
2226
2618
|
"typeDescriptions": {
|
2227
2619
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
2228
2620
|
"typeString": "tuple(bool,bytes memory)"
|
@@ -2235,36 +2627,36 @@
|
|
2235
2627
|
{
|
2236
2628
|
"arguments": [
|
2237
2629
|
{
|
2238
|
-
"id":
|
2630
|
+
"id": 23734,
|
2239
2631
|
"name": "callData",
|
2240
2632
|
"nodeType": "Identifier",
|
2241
2633
|
"overloadedDeclarations": [],
|
2242
|
-
"referencedDeclaration":
|
2243
|
-
"src": "
|
2634
|
+
"referencedDeclaration": 23721,
|
2635
|
+
"src": "6389:8:40",
|
2244
2636
|
"typeDescriptions": {
|
2245
2637
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2246
2638
|
"typeString": "bytes memory"
|
2247
2639
|
}
|
2248
2640
|
},
|
2249
2641
|
{
|
2250
|
-
"id":
|
2642
|
+
"id": 23735,
|
2251
2643
|
"name": "msgSender",
|
2252
2644
|
"nodeType": "Identifier",
|
2253
2645
|
"overloadedDeclarations": [],
|
2254
|
-
"referencedDeclaration":
|
2255
|
-
"src": "
|
2646
|
+
"referencedDeclaration": 23715,
|
2647
|
+
"src": "6410:9:40",
|
2256
2648
|
"typeDescriptions": {
|
2257
2649
|
"typeIdentifier": "t_address",
|
2258
2650
|
"typeString": "address"
|
2259
2651
|
}
|
2260
2652
|
},
|
2261
2653
|
{
|
2262
|
-
"id":
|
2654
|
+
"id": 23736,
|
2263
2655
|
"name": "msgValue",
|
2264
2656
|
"nodeType": "Identifier",
|
2265
2657
|
"overloadedDeclarations": [],
|
2266
|
-
"referencedDeclaration":
|
2267
|
-
"src": "
|
2658
|
+
"referencedDeclaration": 23717,
|
2659
|
+
"src": "6431:8:40",
|
2268
2660
|
"typeDescriptions": {
|
2269
2661
|
"typeIdentifier": "t_uint256",
|
2270
2662
|
"typeString": "uint256"
|
@@ -2286,27 +2678,27 @@
|
|
2286
2678
|
"typeString": "uint256"
|
2287
2679
|
}
|
2288
2680
|
],
|
2289
|
-
"id":
|
2681
|
+
"id": 23733,
|
2290
2682
|
"name": "appendContext",
|
2291
2683
|
"nodeType": "Identifier",
|
2292
2684
|
"overloadedDeclarations": [],
|
2293
|
-
"referencedDeclaration":
|
2294
|
-
"src": "
|
2685
|
+
"referencedDeclaration": 23680,
|
2686
|
+
"src": "6363:13:40",
|
2295
2687
|
"typeDescriptions": {
|
2296
2688
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_address_$_t_uint256_$returns$_t_bytes_memory_ptr_$",
|
2297
2689
|
"typeString": "function (bytes memory,address,uint256) pure returns (bytes memory)"
|
2298
2690
|
}
|
2299
2691
|
},
|
2300
|
-
"id":
|
2692
|
+
"id": 23737,
|
2301
2693
|
"isConstant": false,
|
2302
2694
|
"isLValue": false,
|
2303
2695
|
"isPure": false,
|
2304
2696
|
"kind": "functionCall",
|
2305
2697
|
"lValueRequested": false,
|
2306
2698
|
"nameLocations": [
|
2307
|
-
"
|
2308
|
-
"
|
2309
|
-
"
|
2699
|
+
"6379:8:40",
|
2700
|
+
"6399:9:40",
|
2701
|
+
"6421:8:40"
|
2310
2702
|
],
|
2311
2703
|
"names": [
|
2312
2704
|
"callData",
|
@@ -2314,7 +2706,7 @@
|
|
2314
2706
|
"msgValue"
|
2315
2707
|
],
|
2316
2708
|
"nodeType": "FunctionCall",
|
2317
|
-
"src": "
|
2709
|
+
"src": "6363:79:40",
|
2318
2710
|
"tryCall": false,
|
2319
2711
|
"typeDescriptions": {
|
2320
2712
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -2330,32 +2722,32 @@
|
|
2330
2722
|
}
|
2331
2723
|
],
|
2332
2724
|
"expression": {
|
2333
|
-
"id":
|
2725
|
+
"id": 23731,
|
2334
2726
|
"name": "target",
|
2335
2727
|
"nodeType": "Identifier",
|
2336
2728
|
"overloadedDeclarations": [],
|
2337
|
-
"referencedDeclaration":
|
2338
|
-
"src": "
|
2729
|
+
"referencedDeclaration": 23719,
|
2730
|
+
"src": "6336:6:40",
|
2339
2731
|
"typeDescriptions": {
|
2340
2732
|
"typeIdentifier": "t_address",
|
2341
2733
|
"typeString": "address"
|
2342
2734
|
}
|
2343
2735
|
},
|
2344
|
-
"id":
|
2736
|
+
"id": 23732,
|
2345
2737
|
"isConstant": false,
|
2346
2738
|
"isLValue": false,
|
2347
2739
|
"isPure": false,
|
2348
2740
|
"lValueRequested": false,
|
2349
|
-
"memberLocation": "
|
2741
|
+
"memberLocation": "6343:12:40",
|
2350
2742
|
"memberName": "delegatecall",
|
2351
2743
|
"nodeType": "MemberAccess",
|
2352
|
-
"src": "
|
2744
|
+
"src": "6336:19:40",
|
2353
2745
|
"typeDescriptions": {
|
2354
2746
|
"typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
2355
2747
|
"typeString": "function (bytes memory) returns (bool,bytes memory)"
|
2356
2748
|
}
|
2357
2749
|
},
|
2358
|
-
"id":
|
2750
|
+
"id": 23738,
|
2359
2751
|
"isConstant": false,
|
2360
2752
|
"isLValue": false,
|
2361
2753
|
"isPure": false,
|
@@ -2364,49 +2756,49 @@
|
|
2364
2756
|
"nameLocations": [],
|
2365
2757
|
"names": [],
|
2366
2758
|
"nodeType": "FunctionCall",
|
2367
|
-
"src": "
|
2759
|
+
"src": "6336:112:40",
|
2368
2760
|
"tryCall": false,
|
2369
2761
|
"typeDescriptions": {
|
2370
2762
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
2371
2763
|
"typeString": "tuple(bool,bytes memory)"
|
2372
2764
|
}
|
2373
2765
|
},
|
2374
|
-
"src": "
|
2766
|
+
"src": "6318:130:40",
|
2375
2767
|
"typeDescriptions": {
|
2376
2768
|
"typeIdentifier": "t_tuple$__$",
|
2377
2769
|
"typeString": "tuple()"
|
2378
2770
|
}
|
2379
2771
|
},
|
2380
|
-
"id":
|
2772
|
+
"id": 23740,
|
2381
2773
|
"nodeType": "ExpressionStatement",
|
2382
|
-
"src": "
|
2774
|
+
"src": "6318:130:40"
|
2383
2775
|
}
|
2384
2776
|
]
|
2385
2777
|
},
|
2386
2778
|
"documentation": {
|
2387
|
-
"id":
|
2779
|
+
"id": 23713,
|
2388
2780
|
"nodeType": "StructuredDocumentation",
|
2389
|
-
"src": "
|
2781
|
+
"src": "5632:497:40",
|
2390
2782
|
"text": " @notice Makes a delegatecall to the target contract with context values appended to the calldata.\n @param msgSender The address of the transaction sender.\n @param msgValue The amount of ether sent with the original transaction.\n @param target The address of the contract to call.\n @param callData The calldata for the call.\n @return success A boolean indicating whether the call was successful or not.\n @return data The abi encoded return data from the call."
|
2391
2783
|
},
|
2392
2784
|
"implemented": true,
|
2393
2785
|
"kind": "function",
|
2394
2786
|
"modifiers": [],
|
2395
2787
|
"name": "delegatecallWithContext",
|
2396
|
-
"nameLocation": "
|
2788
|
+
"nameLocation": "6141:23:40",
|
2397
2789
|
"parameters": {
|
2398
|
-
"id":
|
2790
|
+
"id": 23722,
|
2399
2791
|
"nodeType": "ParameterList",
|
2400
2792
|
"parameters": [
|
2401
2793
|
{
|
2402
2794
|
"constant": false,
|
2403
|
-
"id":
|
2795
|
+
"id": 23715,
|
2404
2796
|
"mutability": "mutable",
|
2405
2797
|
"name": "msgSender",
|
2406
|
-
"nameLocation": "
|
2798
|
+
"nameLocation": "6178:9:40",
|
2407
2799
|
"nodeType": "VariableDeclaration",
|
2408
|
-
"scope":
|
2409
|
-
"src": "
|
2800
|
+
"scope": 23742,
|
2801
|
+
"src": "6170:17:40",
|
2410
2802
|
"stateVariable": false,
|
2411
2803
|
"storageLocation": "default",
|
2412
2804
|
"typeDescriptions": {
|
@@ -2414,10 +2806,10 @@
|
|
2414
2806
|
"typeString": "address"
|
2415
2807
|
},
|
2416
2808
|
"typeName": {
|
2417
|
-
"id":
|
2809
|
+
"id": 23714,
|
2418
2810
|
"name": "address",
|
2419
2811
|
"nodeType": "ElementaryTypeName",
|
2420
|
-
"src": "
|
2812
|
+
"src": "6170:7:40",
|
2421
2813
|
"stateMutability": "nonpayable",
|
2422
2814
|
"typeDescriptions": {
|
2423
2815
|
"typeIdentifier": "t_address",
|
@@ -2428,13 +2820,13 @@
|
|
2428
2820
|
},
|
2429
2821
|
{
|
2430
2822
|
"constant": false,
|
2431
|
-
"id":
|
2823
|
+
"id": 23717,
|
2432
2824
|
"mutability": "mutable",
|
2433
2825
|
"name": "msgValue",
|
2434
|
-
"nameLocation": "
|
2826
|
+
"nameLocation": "6201:8:40",
|
2435
2827
|
"nodeType": "VariableDeclaration",
|
2436
|
-
"scope":
|
2437
|
-
"src": "
|
2828
|
+
"scope": 23742,
|
2829
|
+
"src": "6193:16:40",
|
2438
2830
|
"stateVariable": false,
|
2439
2831
|
"storageLocation": "default",
|
2440
2832
|
"typeDescriptions": {
|
@@ -2442,10 +2834,10 @@
|
|
2442
2834
|
"typeString": "uint256"
|
2443
2835
|
},
|
2444
2836
|
"typeName": {
|
2445
|
-
"id":
|
2837
|
+
"id": 23716,
|
2446
2838
|
"name": "uint256",
|
2447
2839
|
"nodeType": "ElementaryTypeName",
|
2448
|
-
"src": "
|
2840
|
+
"src": "6193:7:40",
|
2449
2841
|
"typeDescriptions": {
|
2450
2842
|
"typeIdentifier": "t_uint256",
|
2451
2843
|
"typeString": "uint256"
|
@@ -2455,13 +2847,13 @@
|
|
2455
2847
|
},
|
2456
2848
|
{
|
2457
2849
|
"constant": false,
|
2458
|
-
"id":
|
2850
|
+
"id": 23719,
|
2459
2851
|
"mutability": "mutable",
|
2460
2852
|
"name": "target",
|
2461
|
-
"nameLocation": "
|
2853
|
+
"nameLocation": "6223:6:40",
|
2462
2854
|
"nodeType": "VariableDeclaration",
|
2463
|
-
"scope":
|
2464
|
-
"src": "
|
2855
|
+
"scope": 23742,
|
2856
|
+
"src": "6215:14:40",
|
2465
2857
|
"stateVariable": false,
|
2466
2858
|
"storageLocation": "default",
|
2467
2859
|
"typeDescriptions": {
|
@@ -2469,10 +2861,10 @@
|
|
2469
2861
|
"typeString": "address"
|
2470
2862
|
},
|
2471
2863
|
"typeName": {
|
2472
|
-
"id":
|
2864
|
+
"id": 23718,
|
2473
2865
|
"name": "address",
|
2474
2866
|
"nodeType": "ElementaryTypeName",
|
2475
|
-
"src": "
|
2867
|
+
"src": "6215:7:40",
|
2476
2868
|
"stateMutability": "nonpayable",
|
2477
2869
|
"typeDescriptions": {
|
2478
2870
|
"typeIdentifier": "t_address",
|
@@ -2483,13 +2875,13 @@
|
|
2483
2875
|
},
|
2484
2876
|
{
|
2485
2877
|
"constant": false,
|
2486
|
-
"id":
|
2878
|
+
"id": 23721,
|
2487
2879
|
"mutability": "mutable",
|
2488
2880
|
"name": "callData",
|
2489
|
-
"nameLocation": "
|
2881
|
+
"nameLocation": "6248:8:40",
|
2490
2882
|
"nodeType": "VariableDeclaration",
|
2491
|
-
"scope":
|
2492
|
-
"src": "
|
2883
|
+
"scope": 23742,
|
2884
|
+
"src": "6235:21:40",
|
2493
2885
|
"stateVariable": false,
|
2494
2886
|
"storageLocation": "memory",
|
2495
2887
|
"typeDescriptions": {
|
@@ -2497,10 +2889,10 @@
|
|
2497
2889
|
"typeString": "bytes"
|
2498
2890
|
},
|
2499
2891
|
"typeName": {
|
2500
|
-
"id":
|
2892
|
+
"id": 23720,
|
2501
2893
|
"name": "bytes",
|
2502
2894
|
"nodeType": "ElementaryTypeName",
|
2503
|
-
"src": "
|
2895
|
+
"src": "6235:5:40",
|
2504
2896
|
"typeDescriptions": {
|
2505
2897
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2506
2898
|
"typeString": "bytes"
|
@@ -2509,21 +2901,21 @@
|
|
2509
2901
|
"visibility": "internal"
|
2510
2902
|
}
|
2511
2903
|
],
|
2512
|
-
"src": "
|
2904
|
+
"src": "6164:96:40"
|
2513
2905
|
},
|
2514
2906
|
"returnParameters": {
|
2515
|
-
"id":
|
2907
|
+
"id": 23727,
|
2516
2908
|
"nodeType": "ParameterList",
|
2517
2909
|
"parameters": [
|
2518
2910
|
{
|
2519
2911
|
"constant": false,
|
2520
|
-
"id":
|
2912
|
+
"id": 23724,
|
2521
2913
|
"mutability": "mutable",
|
2522
2914
|
"name": "success",
|
2523
|
-
"nameLocation": "
|
2915
|
+
"nameLocation": "6284:7:40",
|
2524
2916
|
"nodeType": "VariableDeclaration",
|
2525
|
-
"scope":
|
2526
|
-
"src": "
|
2917
|
+
"scope": 23742,
|
2918
|
+
"src": "6279:12:40",
|
2527
2919
|
"stateVariable": false,
|
2528
2920
|
"storageLocation": "default",
|
2529
2921
|
"typeDescriptions": {
|
@@ -2531,10 +2923,10 @@
|
|
2531
2923
|
"typeString": "bool"
|
2532
2924
|
},
|
2533
2925
|
"typeName": {
|
2534
|
-
"id":
|
2926
|
+
"id": 23723,
|
2535
2927
|
"name": "bool",
|
2536
2928
|
"nodeType": "ElementaryTypeName",
|
2537
|
-
"src": "
|
2929
|
+
"src": "6279:4:40",
|
2538
2930
|
"typeDescriptions": {
|
2539
2931
|
"typeIdentifier": "t_bool",
|
2540
2932
|
"typeString": "bool"
|
@@ -2544,13 +2936,13 @@
|
|
2544
2936
|
},
|
2545
2937
|
{
|
2546
2938
|
"constant": false,
|
2547
|
-
"id":
|
2939
|
+
"id": 23726,
|
2548
2940
|
"mutability": "mutable",
|
2549
2941
|
"name": "data",
|
2550
|
-
"nameLocation": "
|
2942
|
+
"nameLocation": "6306:4:40",
|
2551
2943
|
"nodeType": "VariableDeclaration",
|
2552
|
-
"scope":
|
2553
|
-
"src": "
|
2944
|
+
"scope": 23742,
|
2945
|
+
"src": "6293:17:40",
|
2554
2946
|
"stateVariable": false,
|
2555
2947
|
"storageLocation": "memory",
|
2556
2948
|
"typeDescriptions": {
|
@@ -2558,10 +2950,10 @@
|
|
2558
2950
|
"typeString": "bytes"
|
2559
2951
|
},
|
2560
2952
|
"typeName": {
|
2561
|
-
"id":
|
2953
|
+
"id": 23725,
|
2562
2954
|
"name": "bytes",
|
2563
2955
|
"nodeType": "ElementaryTypeName",
|
2564
|
-
"src": "
|
2956
|
+
"src": "6293:5:40",
|
2565
2957
|
"typeDescriptions": {
|
2566
2958
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2567
2959
|
"typeString": "bytes"
|
@@ -2570,39 +2962,39 @@
|
|
2570
2962
|
"visibility": "internal"
|
2571
2963
|
}
|
2572
2964
|
],
|
2573
|
-
"src": "
|
2965
|
+
"src": "6278:33:40"
|
2574
2966
|
},
|
2575
|
-
"scope":
|
2967
|
+
"scope": 23813,
|
2576
2968
|
"stateMutability": "nonpayable",
|
2577
2969
|
"virtual": false,
|
2578
2970
|
"visibility": "internal"
|
2579
2971
|
},
|
2580
2972
|
{
|
2581
|
-
"id":
|
2973
|
+
"id": 23777,
|
2582
2974
|
"nodeType": "FunctionDefinition",
|
2583
|
-
"src": "
|
2975
|
+
"src": "6908:399:40",
|
2584
2976
|
"nodes": [],
|
2585
2977
|
"body": {
|
2586
|
-
"id":
|
2978
|
+
"id": 23776,
|
2587
2979
|
"nodeType": "Block",
|
2588
|
-
"src": "
|
2980
|
+
"src": "7074:233:40",
|
2589
2981
|
"nodes": [],
|
2590
2982
|
"statements": [
|
2591
2983
|
{
|
2592
2984
|
"assignments": [
|
2593
|
-
|
2594
|
-
|
2985
|
+
23757,
|
2986
|
+
23759
|
2595
2987
|
],
|
2596
2988
|
"declarations": [
|
2597
2989
|
{
|
2598
2990
|
"constant": false,
|
2599
|
-
"id":
|
2991
|
+
"id": 23757,
|
2600
2992
|
"mutability": "mutable",
|
2601
2993
|
"name": "success",
|
2602
|
-
"nameLocation": "
|
2994
|
+
"nameLocation": "7086:7:40",
|
2603
2995
|
"nodeType": "VariableDeclaration",
|
2604
|
-
"scope":
|
2605
|
-
"src": "
|
2996
|
+
"scope": 23776,
|
2997
|
+
"src": "7081:12:40",
|
2606
2998
|
"stateVariable": false,
|
2607
2999
|
"storageLocation": "default",
|
2608
3000
|
"typeDescriptions": {
|
@@ -2610,10 +3002,10 @@
|
|
2610
3002
|
"typeString": "bool"
|
2611
3003
|
},
|
2612
3004
|
"typeName": {
|
2613
|
-
"id":
|
3005
|
+
"id": 23756,
|
2614
3006
|
"name": "bool",
|
2615
3007
|
"nodeType": "ElementaryTypeName",
|
2616
|
-
"src": "
|
3008
|
+
"src": "7081:4:40",
|
2617
3009
|
"typeDescriptions": {
|
2618
3010
|
"typeIdentifier": "t_bool",
|
2619
3011
|
"typeString": "bool"
|
@@ -2623,13 +3015,13 @@
|
|
2623
3015
|
},
|
2624
3016
|
{
|
2625
3017
|
"constant": false,
|
2626
|
-
"id":
|
3018
|
+
"id": 23759,
|
2627
3019
|
"mutability": "mutable",
|
2628
3020
|
"name": "_data",
|
2629
|
-
"nameLocation": "
|
3021
|
+
"nameLocation": "7108:5:40",
|
2630
3022
|
"nodeType": "VariableDeclaration",
|
2631
|
-
"scope":
|
2632
|
-
"src": "
|
3023
|
+
"scope": 23776,
|
3024
|
+
"src": "7095:18:40",
|
2633
3025
|
"stateVariable": false,
|
2634
3026
|
"storageLocation": "memory",
|
2635
3027
|
"typeDescriptions": {
|
@@ -2637,10 +3029,10 @@
|
|
2637
3029
|
"typeString": "bytes"
|
2638
3030
|
},
|
2639
3031
|
"typeName": {
|
2640
|
-
"id":
|
3032
|
+
"id": 23758,
|
2641
3033
|
"name": "bytes",
|
2642
3034
|
"nodeType": "ElementaryTypeName",
|
2643
|
-
"src": "
|
3035
|
+
"src": "7095:5:40",
|
2644
3036
|
"typeDescriptions": {
|
2645
3037
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2646
3038
|
"typeString": "bytes"
|
@@ -2649,52 +3041,52 @@
|
|
2649
3041
|
"visibility": "internal"
|
2650
3042
|
}
|
2651
3043
|
],
|
2652
|
-
"id":
|
3044
|
+
"id": 23766,
|
2653
3045
|
"initialValue": {
|
2654
3046
|
"arguments": [
|
2655
3047
|
{
|
2656
|
-
"id":
|
3048
|
+
"id": 23761,
|
2657
3049
|
"name": "msgSender",
|
2658
3050
|
"nodeType": "Identifier",
|
2659
3051
|
"overloadedDeclarations": [],
|
2660
|
-
"referencedDeclaration":
|
2661
|
-
"src": "
|
3052
|
+
"referencedDeclaration": 23745,
|
3053
|
+
"src": "7152:9:40",
|
2662
3054
|
"typeDescriptions": {
|
2663
3055
|
"typeIdentifier": "t_address",
|
2664
3056
|
"typeString": "address"
|
2665
3057
|
}
|
2666
3058
|
},
|
2667
3059
|
{
|
2668
|
-
"id":
|
3060
|
+
"id": 23762,
|
2669
3061
|
"name": "msgValue",
|
2670
3062
|
"nodeType": "Identifier",
|
2671
3063
|
"overloadedDeclarations": [],
|
2672
|
-
"referencedDeclaration":
|
2673
|
-
"src": "
|
3064
|
+
"referencedDeclaration": 23747,
|
3065
|
+
"src": "7179:8:40",
|
2674
3066
|
"typeDescriptions": {
|
2675
3067
|
"typeIdentifier": "t_uint256",
|
2676
3068
|
"typeString": "uint256"
|
2677
3069
|
}
|
2678
3070
|
},
|
2679
3071
|
{
|
2680
|
-
"id":
|
3072
|
+
"id": 23763,
|
2681
3073
|
"name": "target",
|
2682
3074
|
"nodeType": "Identifier",
|
2683
3075
|
"overloadedDeclarations": [],
|
2684
|
-
"referencedDeclaration":
|
2685
|
-
"src": "
|
3076
|
+
"referencedDeclaration": 23749,
|
3077
|
+
"src": "7203:6:40",
|
2686
3078
|
"typeDescriptions": {
|
2687
3079
|
"typeIdentifier": "t_address",
|
2688
3080
|
"typeString": "address"
|
2689
3081
|
}
|
2690
3082
|
},
|
2691
3083
|
{
|
2692
|
-
"id":
|
3084
|
+
"id": 23764,
|
2693
3085
|
"name": "callData",
|
2694
3086
|
"nodeType": "Identifier",
|
2695
3087
|
"overloadedDeclarations": [],
|
2696
|
-
"referencedDeclaration":
|
2697
|
-
"src": "
|
3088
|
+
"referencedDeclaration": 23751,
|
3089
|
+
"src": "7227:8:40",
|
2698
3090
|
"typeDescriptions": {
|
2699
3091
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2700
3092
|
"typeString": "bytes memory"
|
@@ -2720,28 +3112,28 @@
|
|
2720
3112
|
"typeString": "bytes memory"
|
2721
3113
|
}
|
2722
3114
|
],
|
2723
|
-
"id":
|
3115
|
+
"id": 23760,
|
2724
3116
|
"name": "callWithContext",
|
2725
3117
|
"nodeType": "Identifier",
|
2726
3118
|
"overloadedDeclarations": [],
|
2727
|
-
"referencedDeclaration":
|
2728
|
-
"src": "
|
3119
|
+
"referencedDeclaration": 23712,
|
3120
|
+
"src": "7117:15:40",
|
2729
3121
|
"typeDescriptions": {
|
2730
3122
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
2731
3123
|
"typeString": "function (address,uint256,address,bytes memory) returns (bool,bytes memory)"
|
2732
3124
|
}
|
2733
3125
|
},
|
2734
|
-
"id":
|
3126
|
+
"id": 23765,
|
2735
3127
|
"isConstant": false,
|
2736
3128
|
"isLValue": false,
|
2737
3129
|
"isPure": false,
|
2738
3130
|
"kind": "functionCall",
|
2739
3131
|
"lValueRequested": false,
|
2740
3132
|
"nameLocations": [
|
2741
|
-
"
|
2742
|
-
"
|
2743
|
-
"
|
2744
|
-
"
|
3133
|
+
"7141:9:40",
|
3134
|
+
"7169:8:40",
|
3135
|
+
"7195:6:40",
|
3136
|
+
"7217:8:40"
|
2745
3137
|
],
|
2746
3138
|
"names": [
|
2747
3139
|
"msgSender",
|
@@ -2750,7 +3142,7 @@
|
|
2750
3142
|
"callData"
|
2751
3143
|
],
|
2752
3144
|
"nodeType": "FunctionCall",
|
2753
|
-
"src": "
|
3145
|
+
"src": "7117:125:40",
|
2754
3146
|
"tryCall": false,
|
2755
3147
|
"typeDescriptions": {
|
2756
3148
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
@@ -2758,11 +3150,11 @@
|
|
2758
3150
|
}
|
2759
3151
|
},
|
2760
3152
|
"nodeType": "VariableDeclarationStatement",
|
2761
|
-
"src": "
|
3153
|
+
"src": "7080:162:40"
|
2762
3154
|
},
|
2763
3155
|
{
|
2764
3156
|
"condition": {
|
2765
|
-
"id":
|
3157
|
+
"id": 23768,
|
2766
3158
|
"isConstant": false,
|
2767
3159
|
"isLValue": false,
|
2768
3160
|
"isPure": false,
|
@@ -2770,14 +3162,14 @@
|
|
2770
3162
|
"nodeType": "UnaryOperation",
|
2771
3163
|
"operator": "!",
|
2772
3164
|
"prefix": true,
|
2773
|
-
"src": "
|
3165
|
+
"src": "7252:8:40",
|
2774
3166
|
"subExpression": {
|
2775
|
-
"id":
|
3167
|
+
"id": 23767,
|
2776
3168
|
"name": "success",
|
2777
3169
|
"nodeType": "Identifier",
|
2778
3170
|
"overloadedDeclarations": [],
|
2779
|
-
"referencedDeclaration":
|
2780
|
-
"src": "
|
3171
|
+
"referencedDeclaration": 23757,
|
3172
|
+
"src": "7253:7:40",
|
2781
3173
|
"typeDescriptions": {
|
2782
3174
|
"typeIdentifier": "t_bool",
|
2783
3175
|
"typeString": "bool"
|
@@ -2788,19 +3180,19 @@
|
|
2788
3180
|
"typeString": "bool"
|
2789
3181
|
}
|
2790
3182
|
},
|
2791
|
-
"id":
|
3183
|
+
"id": 23773,
|
2792
3184
|
"nodeType": "IfStatement",
|
2793
|
-
"src": "
|
3185
|
+
"src": "7248:36:40",
|
2794
3186
|
"trueBody": {
|
2795
3187
|
"expression": {
|
2796
3188
|
"arguments": [
|
2797
3189
|
{
|
2798
|
-
"id":
|
3190
|
+
"id": 23770,
|
2799
3191
|
"name": "_data",
|
2800
3192
|
"nodeType": "Identifier",
|
2801
3193
|
"overloadedDeclarations": [],
|
2802
|
-
"referencedDeclaration":
|
2803
|
-
"src": "
|
3194
|
+
"referencedDeclaration": 23759,
|
3195
|
+
"src": "7278:5:40",
|
2804
3196
|
"typeDescriptions": {
|
2805
3197
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2806
3198
|
"typeString": "bytes memory"
|
@@ -2814,18 +3206,18 @@
|
|
2814
3206
|
"typeString": "bytes memory"
|
2815
3207
|
}
|
2816
3208
|
],
|
2817
|
-
"id":
|
3209
|
+
"id": 23769,
|
2818
3210
|
"name": "revertWithBytes",
|
2819
3211
|
"nodeType": "Identifier",
|
2820
3212
|
"overloadedDeclarations": [],
|
2821
|
-
"referencedDeclaration":
|
2822
|
-
"src": "
|
3213
|
+
"referencedDeclaration": 24388,
|
3214
|
+
"src": "7262:15:40",
|
2823
3215
|
"typeDescriptions": {
|
2824
3216
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",
|
2825
3217
|
"typeString": "function (bytes memory) pure"
|
2826
3218
|
}
|
2827
3219
|
},
|
2828
|
-
"id":
|
3220
|
+
"id": 23771,
|
2829
3221
|
"isConstant": false,
|
2830
3222
|
"isLValue": false,
|
2831
3223
|
"isPure": false,
|
@@ -2834,62 +3226,62 @@
|
|
2834
3226
|
"nameLocations": [],
|
2835
3227
|
"names": [],
|
2836
3228
|
"nodeType": "FunctionCall",
|
2837
|
-
"src": "
|
3229
|
+
"src": "7262:22:40",
|
2838
3230
|
"tryCall": false,
|
2839
3231
|
"typeDescriptions": {
|
2840
3232
|
"typeIdentifier": "t_tuple$__$",
|
2841
3233
|
"typeString": "tuple()"
|
2842
3234
|
}
|
2843
3235
|
},
|
2844
|
-
"id":
|
3236
|
+
"id": 23772,
|
2845
3237
|
"nodeType": "ExpressionStatement",
|
2846
|
-
"src": "
|
3238
|
+
"src": "7262:22:40"
|
2847
3239
|
}
|
2848
3240
|
},
|
2849
3241
|
{
|
2850
3242
|
"expression": {
|
2851
|
-
"id":
|
3243
|
+
"id": 23774,
|
2852
3244
|
"name": "_data",
|
2853
3245
|
"nodeType": "Identifier",
|
2854
3246
|
"overloadedDeclarations": [],
|
2855
|
-
"referencedDeclaration":
|
2856
|
-
"src": "
|
3247
|
+
"referencedDeclaration": 23759,
|
3248
|
+
"src": "7297:5:40",
|
2857
3249
|
"typeDescriptions": {
|
2858
3250
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2859
3251
|
"typeString": "bytes memory"
|
2860
3252
|
}
|
2861
3253
|
},
|
2862
|
-
"functionReturnParameters":
|
2863
|
-
"id":
|
3254
|
+
"functionReturnParameters": 23755,
|
3255
|
+
"id": 23775,
|
2864
3256
|
"nodeType": "Return",
|
2865
|
-
"src": "
|
3257
|
+
"src": "7290:12:40"
|
2866
3258
|
}
|
2867
3259
|
]
|
2868
3260
|
},
|
2869
3261
|
"documentation": {
|
2870
|
-
"id":
|
3262
|
+
"id": 23743,
|
2871
3263
|
"nodeType": "StructuredDocumentation",
|
2872
|
-
"src": "
|
3264
|
+
"src": "6457:448:40",
|
2873
3265
|
"text": " @notice Makes a call to the target contract with context values appended to the calldata.\n @dev Revert in the case of failure.\n @param msgSender The address of the transaction sender.\n @param msgValue The amount of ether sent with the original transaction.\n @param target The address of the contract to call.\n @param callData The calldata for the call.\n @return data The abi encoded return data from the call."
|
2874
3266
|
},
|
2875
3267
|
"implemented": true,
|
2876
3268
|
"kind": "function",
|
2877
3269
|
"modifiers": [],
|
2878
3270
|
"name": "callWithContextOrRevert",
|
2879
|
-
"nameLocation": "
|
3271
|
+
"nameLocation": "6917:23:40",
|
2880
3272
|
"parameters": {
|
2881
|
-
"id":
|
3273
|
+
"id": 23752,
|
2882
3274
|
"nodeType": "ParameterList",
|
2883
3275
|
"parameters": [
|
2884
3276
|
{
|
2885
3277
|
"constant": false,
|
2886
|
-
"id":
|
3278
|
+
"id": 23745,
|
2887
3279
|
"mutability": "mutable",
|
2888
3280
|
"name": "msgSender",
|
2889
|
-
"nameLocation": "
|
3281
|
+
"nameLocation": "6954:9:40",
|
2890
3282
|
"nodeType": "VariableDeclaration",
|
2891
|
-
"scope":
|
2892
|
-
"src": "
|
3283
|
+
"scope": 23777,
|
3284
|
+
"src": "6946:17:40",
|
2893
3285
|
"stateVariable": false,
|
2894
3286
|
"storageLocation": "default",
|
2895
3287
|
"typeDescriptions": {
|
@@ -2897,10 +3289,10 @@
|
|
2897
3289
|
"typeString": "address"
|
2898
3290
|
},
|
2899
3291
|
"typeName": {
|
2900
|
-
"id":
|
3292
|
+
"id": 23744,
|
2901
3293
|
"name": "address",
|
2902
3294
|
"nodeType": "ElementaryTypeName",
|
2903
|
-
"src": "
|
3295
|
+
"src": "6946:7:40",
|
2904
3296
|
"stateMutability": "nonpayable",
|
2905
3297
|
"typeDescriptions": {
|
2906
3298
|
"typeIdentifier": "t_address",
|
@@ -2911,13 +3303,13 @@
|
|
2911
3303
|
},
|
2912
3304
|
{
|
2913
3305
|
"constant": false,
|
2914
|
-
"id":
|
3306
|
+
"id": 23747,
|
2915
3307
|
"mutability": "mutable",
|
2916
3308
|
"name": "msgValue",
|
2917
|
-
"nameLocation": "
|
3309
|
+
"nameLocation": "6977:8:40",
|
2918
3310
|
"nodeType": "VariableDeclaration",
|
2919
|
-
"scope":
|
2920
|
-
"src": "
|
3311
|
+
"scope": 23777,
|
3312
|
+
"src": "6969:16:40",
|
2921
3313
|
"stateVariable": false,
|
2922
3314
|
"storageLocation": "default",
|
2923
3315
|
"typeDescriptions": {
|
@@ -2925,10 +3317,10 @@
|
|
2925
3317
|
"typeString": "uint256"
|
2926
3318
|
},
|
2927
3319
|
"typeName": {
|
2928
|
-
"id":
|
3320
|
+
"id": 23746,
|
2929
3321
|
"name": "uint256",
|
2930
3322
|
"nodeType": "ElementaryTypeName",
|
2931
|
-
"src": "
|
3323
|
+
"src": "6969:7:40",
|
2932
3324
|
"typeDescriptions": {
|
2933
3325
|
"typeIdentifier": "t_uint256",
|
2934
3326
|
"typeString": "uint256"
|
@@ -2938,13 +3330,13 @@
|
|
2938
3330
|
},
|
2939
3331
|
{
|
2940
3332
|
"constant": false,
|
2941
|
-
"id":
|
3333
|
+
"id": 23749,
|
2942
3334
|
"mutability": "mutable",
|
2943
3335
|
"name": "target",
|
2944
|
-
"nameLocation": "
|
3336
|
+
"nameLocation": "6999:6:40",
|
2945
3337
|
"nodeType": "VariableDeclaration",
|
2946
|
-
"scope":
|
2947
|
-
"src": "
|
3338
|
+
"scope": 23777,
|
3339
|
+
"src": "6991:14:40",
|
2948
3340
|
"stateVariable": false,
|
2949
3341
|
"storageLocation": "default",
|
2950
3342
|
"typeDescriptions": {
|
@@ -2952,10 +3344,10 @@
|
|
2952
3344
|
"typeString": "address"
|
2953
3345
|
},
|
2954
3346
|
"typeName": {
|
2955
|
-
"id":
|
3347
|
+
"id": 23748,
|
2956
3348
|
"name": "address",
|
2957
3349
|
"nodeType": "ElementaryTypeName",
|
2958
|
-
"src": "
|
3350
|
+
"src": "6991:7:40",
|
2959
3351
|
"stateMutability": "nonpayable",
|
2960
3352
|
"typeDescriptions": {
|
2961
3353
|
"typeIdentifier": "t_address",
|
@@ -2966,13 +3358,13 @@
|
|
2966
3358
|
},
|
2967
3359
|
{
|
2968
3360
|
"constant": false,
|
2969
|
-
"id":
|
3361
|
+
"id": 23751,
|
2970
3362
|
"mutability": "mutable",
|
2971
3363
|
"name": "callData",
|
2972
|
-
"nameLocation": "
|
3364
|
+
"nameLocation": "7024:8:40",
|
2973
3365
|
"nodeType": "VariableDeclaration",
|
2974
|
-
"scope":
|
2975
|
-
"src": "
|
3366
|
+
"scope": 23777,
|
3367
|
+
"src": "7011:21:40",
|
2976
3368
|
"stateVariable": false,
|
2977
3369
|
"storageLocation": "memory",
|
2978
3370
|
"typeDescriptions": {
|
@@ -2980,10 +3372,10 @@
|
|
2980
3372
|
"typeString": "bytes"
|
2981
3373
|
},
|
2982
3374
|
"typeName": {
|
2983
|
-
"id":
|
3375
|
+
"id": 23750,
|
2984
3376
|
"name": "bytes",
|
2985
3377
|
"nodeType": "ElementaryTypeName",
|
2986
|
-
"src": "
|
3378
|
+
"src": "7011:5:40",
|
2987
3379
|
"typeDescriptions": {
|
2988
3380
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2989
3381
|
"typeString": "bytes"
|
@@ -2992,21 +3384,21 @@
|
|
2992
3384
|
"visibility": "internal"
|
2993
3385
|
}
|
2994
3386
|
],
|
2995
|
-
"src": "
|
3387
|
+
"src": "6940:96:40"
|
2996
3388
|
},
|
2997
3389
|
"returnParameters": {
|
2998
|
-
"id":
|
3390
|
+
"id": 23755,
|
2999
3391
|
"nodeType": "ParameterList",
|
3000
3392
|
"parameters": [
|
3001
3393
|
{
|
3002
3394
|
"constant": false,
|
3003
|
-
"id":
|
3395
|
+
"id": 23754,
|
3004
3396
|
"mutability": "mutable",
|
3005
3397
|
"name": "data",
|
3006
|
-
"nameLocation": "
|
3398
|
+
"nameLocation": "7068:4:40",
|
3007
3399
|
"nodeType": "VariableDeclaration",
|
3008
|
-
"scope":
|
3009
|
-
"src": "
|
3400
|
+
"scope": 23777,
|
3401
|
+
"src": "7055:17:40",
|
3010
3402
|
"stateVariable": false,
|
3011
3403
|
"storageLocation": "memory",
|
3012
3404
|
"typeDescriptions": {
|
@@ -3014,10 +3406,10 @@
|
|
3014
3406
|
"typeString": "bytes"
|
3015
3407
|
},
|
3016
3408
|
"typeName": {
|
3017
|
-
"id":
|
3409
|
+
"id": 23753,
|
3018
3410
|
"name": "bytes",
|
3019
3411
|
"nodeType": "ElementaryTypeName",
|
3020
|
-
"src": "
|
3412
|
+
"src": "7055:5:40",
|
3021
3413
|
"typeDescriptions": {
|
3022
3414
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3023
3415
|
"typeString": "bytes"
|
@@ -3026,39 +3418,39 @@
|
|
3026
3418
|
"visibility": "internal"
|
3027
3419
|
}
|
3028
3420
|
],
|
3029
|
-
"src": "
|
3421
|
+
"src": "7054:19:40"
|
3030
3422
|
},
|
3031
|
-
"scope":
|
3423
|
+
"scope": 23813,
|
3032
3424
|
"stateMutability": "nonpayable",
|
3033
3425
|
"virtual": false,
|
3034
3426
|
"visibility": "internal"
|
3035
3427
|
},
|
3036
3428
|
{
|
3037
|
-
"id":
|
3429
|
+
"id": 23812,
|
3038
3430
|
"nodeType": "FunctionDefinition",
|
3039
|
-
"src": "
|
3431
|
+
"src": "7770:415:40",
|
3040
3432
|
"nodes": [],
|
3041
3433
|
"body": {
|
3042
|
-
"id":
|
3434
|
+
"id": 23811,
|
3043
3435
|
"nodeType": "Block",
|
3044
|
-
"src": "
|
3436
|
+
"src": "7944:241:40",
|
3045
3437
|
"nodes": [],
|
3046
3438
|
"statements": [
|
3047
3439
|
{
|
3048
3440
|
"assignments": [
|
3049
|
-
|
3050
|
-
|
3441
|
+
23792,
|
3442
|
+
23794
|
3051
3443
|
],
|
3052
3444
|
"declarations": [
|
3053
3445
|
{
|
3054
3446
|
"constant": false,
|
3055
|
-
"id":
|
3447
|
+
"id": 23792,
|
3056
3448
|
"mutability": "mutable",
|
3057
3449
|
"name": "success",
|
3058
|
-
"nameLocation": "
|
3450
|
+
"nameLocation": "7956:7:40",
|
3059
3451
|
"nodeType": "VariableDeclaration",
|
3060
|
-
"scope":
|
3061
|
-
"src": "
|
3452
|
+
"scope": 23811,
|
3453
|
+
"src": "7951:12:40",
|
3062
3454
|
"stateVariable": false,
|
3063
3455
|
"storageLocation": "default",
|
3064
3456
|
"typeDescriptions": {
|
@@ -3066,10 +3458,10 @@
|
|
3066
3458
|
"typeString": "bool"
|
3067
3459
|
},
|
3068
3460
|
"typeName": {
|
3069
|
-
"id":
|
3461
|
+
"id": 23791,
|
3070
3462
|
"name": "bool",
|
3071
3463
|
"nodeType": "ElementaryTypeName",
|
3072
|
-
"src": "
|
3464
|
+
"src": "7951:4:40",
|
3073
3465
|
"typeDescriptions": {
|
3074
3466
|
"typeIdentifier": "t_bool",
|
3075
3467
|
"typeString": "bool"
|
@@ -3079,13 +3471,13 @@
|
|
3079
3471
|
},
|
3080
3472
|
{
|
3081
3473
|
"constant": false,
|
3082
|
-
"id":
|
3474
|
+
"id": 23794,
|
3083
3475
|
"mutability": "mutable",
|
3084
3476
|
"name": "_data",
|
3085
|
-
"nameLocation": "
|
3477
|
+
"nameLocation": "7978:5:40",
|
3086
3478
|
"nodeType": "VariableDeclaration",
|
3087
|
-
"scope":
|
3088
|
-
"src": "
|
3479
|
+
"scope": 23811,
|
3480
|
+
"src": "7965:18:40",
|
3089
3481
|
"stateVariable": false,
|
3090
3482
|
"storageLocation": "memory",
|
3091
3483
|
"typeDescriptions": {
|
@@ -3093,10 +3485,10 @@
|
|
3093
3485
|
"typeString": "bytes"
|
3094
3486
|
},
|
3095
3487
|
"typeName": {
|
3096
|
-
"id":
|
3488
|
+
"id": 23793,
|
3097
3489
|
"name": "bytes",
|
3098
3490
|
"nodeType": "ElementaryTypeName",
|
3099
|
-
"src": "
|
3491
|
+
"src": "7965:5:40",
|
3100
3492
|
"typeDescriptions": {
|
3101
3493
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3102
3494
|
"typeString": "bytes"
|
@@ -3105,52 +3497,52 @@
|
|
3105
3497
|
"visibility": "internal"
|
3106
3498
|
}
|
3107
3499
|
],
|
3108
|
-
"id":
|
3500
|
+
"id": 23801,
|
3109
3501
|
"initialValue": {
|
3110
3502
|
"arguments": [
|
3111
3503
|
{
|
3112
|
-
"id":
|
3504
|
+
"id": 23796,
|
3113
3505
|
"name": "msgSender",
|
3114
3506
|
"nodeType": "Identifier",
|
3115
3507
|
"overloadedDeclarations": [],
|
3116
|
-
"referencedDeclaration":
|
3117
|
-
"src": "
|
3508
|
+
"referencedDeclaration": 23780,
|
3509
|
+
"src": "8030:9:40",
|
3118
3510
|
"typeDescriptions": {
|
3119
3511
|
"typeIdentifier": "t_address",
|
3120
3512
|
"typeString": "address"
|
3121
3513
|
}
|
3122
3514
|
},
|
3123
3515
|
{
|
3124
|
-
"id":
|
3516
|
+
"id": 23797,
|
3125
3517
|
"name": "msgValue",
|
3126
3518
|
"nodeType": "Identifier",
|
3127
3519
|
"overloadedDeclarations": [],
|
3128
|
-
"referencedDeclaration":
|
3129
|
-
"src": "
|
3520
|
+
"referencedDeclaration": 23782,
|
3521
|
+
"src": "8057:8:40",
|
3130
3522
|
"typeDescriptions": {
|
3131
3523
|
"typeIdentifier": "t_uint256",
|
3132
3524
|
"typeString": "uint256"
|
3133
3525
|
}
|
3134
3526
|
},
|
3135
3527
|
{
|
3136
|
-
"id":
|
3528
|
+
"id": 23798,
|
3137
3529
|
"name": "target",
|
3138
3530
|
"nodeType": "Identifier",
|
3139
3531
|
"overloadedDeclarations": [],
|
3140
|
-
"referencedDeclaration":
|
3141
|
-
"src": "
|
3532
|
+
"referencedDeclaration": 23784,
|
3533
|
+
"src": "8081:6:40",
|
3142
3534
|
"typeDescriptions": {
|
3143
3535
|
"typeIdentifier": "t_address",
|
3144
3536
|
"typeString": "address"
|
3145
3537
|
}
|
3146
3538
|
},
|
3147
3539
|
{
|
3148
|
-
"id":
|
3540
|
+
"id": 23799,
|
3149
3541
|
"name": "callData",
|
3150
3542
|
"nodeType": "Identifier",
|
3151
3543
|
"overloadedDeclarations": [],
|
3152
|
-
"referencedDeclaration":
|
3153
|
-
"src": "
|
3544
|
+
"referencedDeclaration": 23786,
|
3545
|
+
"src": "8105:8:40",
|
3154
3546
|
"typeDescriptions": {
|
3155
3547
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3156
3548
|
"typeString": "bytes memory"
|
@@ -3176,28 +3568,28 @@
|
|
3176
3568
|
"typeString": "bytes memory"
|
3177
3569
|
}
|
3178
3570
|
],
|
3179
|
-
"id":
|
3571
|
+
"id": 23795,
|
3180
3572
|
"name": "delegatecallWithContext",
|
3181
3573
|
"nodeType": "Identifier",
|
3182
3574
|
"overloadedDeclarations": [],
|
3183
|
-
"referencedDeclaration":
|
3184
|
-
"src": "
|
3575
|
+
"referencedDeclaration": 23742,
|
3576
|
+
"src": "7987:23:40",
|
3185
3577
|
"typeDescriptions": {
|
3186
3578
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
3187
3579
|
"typeString": "function (address,uint256,address,bytes memory) returns (bool,bytes memory)"
|
3188
3580
|
}
|
3189
3581
|
},
|
3190
|
-
"id":
|
3582
|
+
"id": 23800,
|
3191
3583
|
"isConstant": false,
|
3192
3584
|
"isLValue": false,
|
3193
3585
|
"isPure": false,
|
3194
3586
|
"kind": "functionCall",
|
3195
3587
|
"lValueRequested": false,
|
3196
3588
|
"nameLocations": [
|
3197
|
-
"
|
3198
|
-
"
|
3199
|
-
"
|
3200
|
-
"
|
3589
|
+
"8019:9:40",
|
3590
|
+
"8047:8:40",
|
3591
|
+
"8073:6:40",
|
3592
|
+
"8095:8:40"
|
3201
3593
|
],
|
3202
3594
|
"names": [
|
3203
3595
|
"msgSender",
|
@@ -3206,7 +3598,7 @@
|
|
3206
3598
|
"callData"
|
3207
3599
|
],
|
3208
3600
|
"nodeType": "FunctionCall",
|
3209
|
-
"src": "
|
3601
|
+
"src": "7987:133:40",
|
3210
3602
|
"tryCall": false,
|
3211
3603
|
"typeDescriptions": {
|
3212
3604
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
@@ -3214,11 +3606,11 @@
|
|
3214
3606
|
}
|
3215
3607
|
},
|
3216
3608
|
"nodeType": "VariableDeclarationStatement",
|
3217
|
-
"src": "
|
3609
|
+
"src": "7950:170:40"
|
3218
3610
|
},
|
3219
3611
|
{
|
3220
3612
|
"condition": {
|
3221
|
-
"id":
|
3613
|
+
"id": 23803,
|
3222
3614
|
"isConstant": false,
|
3223
3615
|
"isLValue": false,
|
3224
3616
|
"isPure": false,
|
@@ -3226,14 +3618,14 @@
|
|
3226
3618
|
"nodeType": "UnaryOperation",
|
3227
3619
|
"operator": "!",
|
3228
3620
|
"prefix": true,
|
3229
|
-
"src": "
|
3621
|
+
"src": "8130:8:40",
|
3230
3622
|
"subExpression": {
|
3231
|
-
"id":
|
3623
|
+
"id": 23802,
|
3232
3624
|
"name": "success",
|
3233
3625
|
"nodeType": "Identifier",
|
3234
3626
|
"overloadedDeclarations": [],
|
3235
|
-
"referencedDeclaration":
|
3236
|
-
"src": "
|
3627
|
+
"referencedDeclaration": 23792,
|
3628
|
+
"src": "8131:7:40",
|
3237
3629
|
"typeDescriptions": {
|
3238
3630
|
"typeIdentifier": "t_bool",
|
3239
3631
|
"typeString": "bool"
|
@@ -3244,19 +3636,19 @@
|
|
3244
3636
|
"typeString": "bool"
|
3245
3637
|
}
|
3246
3638
|
},
|
3247
|
-
"id":
|
3639
|
+
"id": 23808,
|
3248
3640
|
"nodeType": "IfStatement",
|
3249
|
-
"src": "
|
3641
|
+
"src": "8126:36:40",
|
3250
3642
|
"trueBody": {
|
3251
3643
|
"expression": {
|
3252
3644
|
"arguments": [
|
3253
3645
|
{
|
3254
|
-
"id":
|
3646
|
+
"id": 23805,
|
3255
3647
|
"name": "_data",
|
3256
3648
|
"nodeType": "Identifier",
|
3257
3649
|
"overloadedDeclarations": [],
|
3258
|
-
"referencedDeclaration":
|
3259
|
-
"src": "
|
3650
|
+
"referencedDeclaration": 23794,
|
3651
|
+
"src": "8156:5:40",
|
3260
3652
|
"typeDescriptions": {
|
3261
3653
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3262
3654
|
"typeString": "bytes memory"
|
@@ -3270,18 +3662,18 @@
|
|
3270
3662
|
"typeString": "bytes memory"
|
3271
3663
|
}
|
3272
3664
|
],
|
3273
|
-
"id":
|
3665
|
+
"id": 23804,
|
3274
3666
|
"name": "revertWithBytes",
|
3275
3667
|
"nodeType": "Identifier",
|
3276
3668
|
"overloadedDeclarations": [],
|
3277
|
-
"referencedDeclaration":
|
3278
|
-
"src": "
|
3669
|
+
"referencedDeclaration": 24388,
|
3670
|
+
"src": "8140:15:40",
|
3279
3671
|
"typeDescriptions": {
|
3280
3672
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",
|
3281
3673
|
"typeString": "function (bytes memory) pure"
|
3282
3674
|
}
|
3283
3675
|
},
|
3284
|
-
"id":
|
3676
|
+
"id": 23806,
|
3285
3677
|
"isConstant": false,
|
3286
3678
|
"isLValue": false,
|
3287
3679
|
"isPure": false,
|
@@ -3290,62 +3682,62 @@
|
|
3290
3682
|
"nameLocations": [],
|
3291
3683
|
"names": [],
|
3292
3684
|
"nodeType": "FunctionCall",
|
3293
|
-
"src": "
|
3685
|
+
"src": "8140:22:40",
|
3294
3686
|
"tryCall": false,
|
3295
3687
|
"typeDescriptions": {
|
3296
3688
|
"typeIdentifier": "t_tuple$__$",
|
3297
3689
|
"typeString": "tuple()"
|
3298
3690
|
}
|
3299
3691
|
},
|
3300
|
-
"id":
|
3692
|
+
"id": 23807,
|
3301
3693
|
"nodeType": "ExpressionStatement",
|
3302
|
-
"src": "
|
3694
|
+
"src": "8140:22:40"
|
3303
3695
|
}
|
3304
3696
|
},
|
3305
3697
|
{
|
3306
3698
|
"expression": {
|
3307
|
-
"id":
|
3699
|
+
"id": 23809,
|
3308
3700
|
"name": "_data",
|
3309
3701
|
"nodeType": "Identifier",
|
3310
3702
|
"overloadedDeclarations": [],
|
3311
|
-
"referencedDeclaration":
|
3312
|
-
"src": "
|
3703
|
+
"referencedDeclaration": 23794,
|
3704
|
+
"src": "8175:5:40",
|
3313
3705
|
"typeDescriptions": {
|
3314
3706
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3315
3707
|
"typeString": "bytes memory"
|
3316
3708
|
}
|
3317
3709
|
},
|
3318
|
-
"functionReturnParameters":
|
3319
|
-
"id":
|
3710
|
+
"functionReturnParameters": 23790,
|
3711
|
+
"id": 23810,
|
3320
3712
|
"nodeType": "Return",
|
3321
|
-
"src": "
|
3713
|
+
"src": "8168:12:40"
|
3322
3714
|
}
|
3323
3715
|
]
|
3324
3716
|
},
|
3325
3717
|
"documentation": {
|
3326
|
-
"id":
|
3718
|
+
"id": 23778,
|
3327
3719
|
"nodeType": "StructuredDocumentation",
|
3328
|
-
"src": "
|
3720
|
+
"src": "7311:456:40",
|
3329
3721
|
"text": " @notice Makes a delegatecall to the target contract with context values appended to the calldata.\n @dev Revert in the case of failure.\n @param msgSender The address of the transaction sender.\n @param msgValue The amount of ether sent with the original transaction.\n @param target The address of the contract to call.\n @param callData The calldata for the call.\n @return data The abi encoded return data from the call."
|
3330
3722
|
},
|
3331
3723
|
"implemented": true,
|
3332
3724
|
"kind": "function",
|
3333
3725
|
"modifiers": [],
|
3334
3726
|
"name": "delegatecallWithContextOrRevert",
|
3335
|
-
"nameLocation": "
|
3727
|
+
"nameLocation": "7779:31:40",
|
3336
3728
|
"parameters": {
|
3337
|
-
"id":
|
3729
|
+
"id": 23787,
|
3338
3730
|
"nodeType": "ParameterList",
|
3339
3731
|
"parameters": [
|
3340
3732
|
{
|
3341
3733
|
"constant": false,
|
3342
|
-
"id":
|
3734
|
+
"id": 23780,
|
3343
3735
|
"mutability": "mutable",
|
3344
3736
|
"name": "msgSender",
|
3345
|
-
"nameLocation": "
|
3737
|
+
"nameLocation": "7824:9:40",
|
3346
3738
|
"nodeType": "VariableDeclaration",
|
3347
|
-
"scope":
|
3348
|
-
"src": "
|
3739
|
+
"scope": 23812,
|
3740
|
+
"src": "7816:17:40",
|
3349
3741
|
"stateVariable": false,
|
3350
3742
|
"storageLocation": "default",
|
3351
3743
|
"typeDescriptions": {
|
@@ -3353,10 +3745,10 @@
|
|
3353
3745
|
"typeString": "address"
|
3354
3746
|
},
|
3355
3747
|
"typeName": {
|
3356
|
-
"id":
|
3748
|
+
"id": 23779,
|
3357
3749
|
"name": "address",
|
3358
3750
|
"nodeType": "ElementaryTypeName",
|
3359
|
-
"src": "
|
3751
|
+
"src": "7816:7:40",
|
3360
3752
|
"stateMutability": "nonpayable",
|
3361
3753
|
"typeDescriptions": {
|
3362
3754
|
"typeIdentifier": "t_address",
|
@@ -3367,13 +3759,13 @@
|
|
3367
3759
|
},
|
3368
3760
|
{
|
3369
3761
|
"constant": false,
|
3370
|
-
"id":
|
3762
|
+
"id": 23782,
|
3371
3763
|
"mutability": "mutable",
|
3372
3764
|
"name": "msgValue",
|
3373
|
-
"nameLocation": "
|
3765
|
+
"nameLocation": "7847:8:40",
|
3374
3766
|
"nodeType": "VariableDeclaration",
|
3375
|
-
"scope":
|
3376
|
-
"src": "
|
3767
|
+
"scope": 23812,
|
3768
|
+
"src": "7839:16:40",
|
3377
3769
|
"stateVariable": false,
|
3378
3770
|
"storageLocation": "default",
|
3379
3771
|
"typeDescriptions": {
|
@@ -3381,10 +3773,10 @@
|
|
3381
3773
|
"typeString": "uint256"
|
3382
3774
|
},
|
3383
3775
|
"typeName": {
|
3384
|
-
"id":
|
3776
|
+
"id": 23781,
|
3385
3777
|
"name": "uint256",
|
3386
3778
|
"nodeType": "ElementaryTypeName",
|
3387
|
-
"src": "
|
3779
|
+
"src": "7839:7:40",
|
3388
3780
|
"typeDescriptions": {
|
3389
3781
|
"typeIdentifier": "t_uint256",
|
3390
3782
|
"typeString": "uint256"
|
@@ -3394,13 +3786,13 @@
|
|
3394
3786
|
},
|
3395
3787
|
{
|
3396
3788
|
"constant": false,
|
3397
|
-
"id":
|
3789
|
+
"id": 23784,
|
3398
3790
|
"mutability": "mutable",
|
3399
3791
|
"name": "target",
|
3400
|
-
"nameLocation": "
|
3792
|
+
"nameLocation": "7869:6:40",
|
3401
3793
|
"nodeType": "VariableDeclaration",
|
3402
|
-
"scope":
|
3403
|
-
"src": "
|
3794
|
+
"scope": 23812,
|
3795
|
+
"src": "7861:14:40",
|
3404
3796
|
"stateVariable": false,
|
3405
3797
|
"storageLocation": "default",
|
3406
3798
|
"typeDescriptions": {
|
@@ -3408,10 +3800,10 @@
|
|
3408
3800
|
"typeString": "address"
|
3409
3801
|
},
|
3410
3802
|
"typeName": {
|
3411
|
-
"id":
|
3803
|
+
"id": 23783,
|
3412
3804
|
"name": "address",
|
3413
3805
|
"nodeType": "ElementaryTypeName",
|
3414
|
-
"src": "
|
3806
|
+
"src": "7861:7:40",
|
3415
3807
|
"stateMutability": "nonpayable",
|
3416
3808
|
"typeDescriptions": {
|
3417
3809
|
"typeIdentifier": "t_address",
|
@@ -3422,13 +3814,13 @@
|
|
3422
3814
|
},
|
3423
3815
|
{
|
3424
3816
|
"constant": false,
|
3425
|
-
"id":
|
3817
|
+
"id": 23786,
|
3426
3818
|
"mutability": "mutable",
|
3427
3819
|
"name": "callData",
|
3428
|
-
"nameLocation": "
|
3820
|
+
"nameLocation": "7894:8:40",
|
3429
3821
|
"nodeType": "VariableDeclaration",
|
3430
|
-
"scope":
|
3431
|
-
"src": "
|
3822
|
+
"scope": 23812,
|
3823
|
+
"src": "7881:21:40",
|
3432
3824
|
"stateVariable": false,
|
3433
3825
|
"storageLocation": "memory",
|
3434
3826
|
"typeDescriptions": {
|
@@ -3436,10 +3828,10 @@
|
|
3436
3828
|
"typeString": "bytes"
|
3437
3829
|
},
|
3438
3830
|
"typeName": {
|
3439
|
-
"id":
|
3831
|
+
"id": 23785,
|
3440
3832
|
"name": "bytes",
|
3441
3833
|
"nodeType": "ElementaryTypeName",
|
3442
|
-
"src": "
|
3834
|
+
"src": "7881:5:40",
|
3443
3835
|
"typeDescriptions": {
|
3444
3836
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3445
3837
|
"typeString": "bytes"
|
@@ -3448,21 +3840,21 @@
|
|
3448
3840
|
"visibility": "internal"
|
3449
3841
|
}
|
3450
3842
|
],
|
3451
|
-
"src": "
|
3843
|
+
"src": "7810:96:40"
|
3452
3844
|
},
|
3453
3845
|
"returnParameters": {
|
3454
|
-
"id":
|
3846
|
+
"id": 23790,
|
3455
3847
|
"nodeType": "ParameterList",
|
3456
3848
|
"parameters": [
|
3457
3849
|
{
|
3458
3850
|
"constant": false,
|
3459
|
-
"id":
|
3851
|
+
"id": 23789,
|
3460
3852
|
"mutability": "mutable",
|
3461
3853
|
"name": "data",
|
3462
|
-
"nameLocation": "
|
3854
|
+
"nameLocation": "7938:4:40",
|
3463
3855
|
"nodeType": "VariableDeclaration",
|
3464
|
-
"scope":
|
3465
|
-
"src": "
|
3856
|
+
"scope": 23812,
|
3857
|
+
"src": "7925:17:40",
|
3466
3858
|
"stateVariable": false,
|
3467
3859
|
"storageLocation": "memory",
|
3468
3860
|
"typeDescriptions": {
|
@@ -3470,10 +3862,10 @@
|
|
3470
3862
|
"typeString": "bytes"
|
3471
3863
|
},
|
3472
3864
|
"typeName": {
|
3473
|
-
"id":
|
3865
|
+
"id": 23788,
|
3474
3866
|
"name": "bytes",
|
3475
3867
|
"nodeType": "ElementaryTypeName",
|
3476
|
-
"src": "
|
3868
|
+
"src": "7925:5:40",
|
3477
3869
|
"typeDescriptions": {
|
3478
3870
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3479
3871
|
"typeString": "bytes"
|
@@ -3482,9 +3874,9 @@
|
|
3482
3874
|
"visibility": "internal"
|
3483
3875
|
}
|
3484
3876
|
],
|
3485
|
-
"src": "
|
3877
|
+
"src": "7924:19:40"
|
3486
3878
|
},
|
3487
|
-
"scope":
|
3879
|
+
"scope": 23813,
|
3488
3880
|
"stateMutability": "nonpayable",
|
3489
3881
|
"virtual": false,
|
3490
3882
|
"visibility": "internal"
|
@@ -3492,22 +3884,22 @@
|
|
3492
3884
|
],
|
3493
3885
|
"abstract": false,
|
3494
3886
|
"baseContracts": [],
|
3495
|
-
"canonicalName": "
|
3887
|
+
"canonicalName": "WorldContextProviderLib",
|
3496
3888
|
"contractDependencies": [],
|
3497
3889
|
"contractKind": "library",
|
3498
3890
|
"documentation": {
|
3499
|
-
"id":
|
3891
|
+
"id": 23660,
|
3500
3892
|
"nodeType": "StructuredDocumentation",
|
3501
|
-
"src": "
|
3502
|
-
"text": " @title
|
3893
|
+
"src": "3932:332:40",
|
3894
|
+
"text": " @title WorldContextProviderLib - Utility functions to call contracts with context values appended to calldata.\n @notice This library provides functions to make calls or delegatecalls to other contracts,\n appending the context values (like msg.sender and msg.value) to the calldata for WorldContextConsumer to consume."
|
3503
3895
|
},
|
3504
3896
|
"fullyImplemented": true,
|
3505
3897
|
"linearizedBaseContracts": [
|
3506
|
-
|
3898
|
+
23813
|
3507
3899
|
],
|
3508
|
-
"name": "
|
3509
|
-
"nameLocation": "
|
3510
|
-
"scope":
|
3900
|
+
"name": "WorldContextProviderLib",
|
3901
|
+
"nameLocation": "4273:23:40",
|
3902
|
+
"scope": 23814,
|
3511
3903
|
"usedErrors": [],
|
3512
3904
|
"usedEvents": []
|
3513
3905
|
}
|