@latticexyz/world-modules 2.0.0-main-fd10cff6 → 2.0.0-main-85218618
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +241 -217
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +122 -98
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +64 -64
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
- package/out/IBaseWorld.sol/IBaseWorld.json +130 -85
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
- package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/out/IDelegationControl.sol/IDelegationControl.json +50 -26
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +20 -20
- package/out/ISystemHook.sol/ISystemHook.json +171 -131
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +157 -109
- package/out/IWorldErrors.sol/IWorldErrors.json +345 -255
- package/out/IWorldKernel.sol/IWorldCall.json +294 -254
- package/out/IWorldKernel.sol/IWorldKernel.json +321 -258
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +279 -253
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
- package/out/KeysInTableModule.sol/KeysInTableModule.json +570 -546
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1008 -1008
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +459 -435
- package/out/Module.sol/Module.json +106 -82
- package/out/ResourceIds.sol/ResourceIds.json +45 -45
- package/out/Schema.sol/SchemaInstance.json +30 -30
- package/out/Schema.sol/SchemaLib.json +30 -30
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +336 -312
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +81 -38
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +145 -121
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +363 -339
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +135 -99
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
- package/out/WorldContext.sol/WorldContextConsumer.json +771 -674
- package/out/WorldContext.sol/WorldContextProvider.json +734 -674
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
- 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 +199 -154
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1332 -1332
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
- package/out/src/IStore.sol/IStore.json +53 -53
- package/out/src/IWorldKernel.sol/IWorldCall.json +307 -267
- package/out/src/IWorldKernel.sol/IWorldKernel.json +334 -271
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +292 -266
- package/out/src/Memory.sol/Memory.json +89 -89
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
- package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
- package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
- package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
- package/out/src/Schema.sol/SchemaInstance.json +787 -787
- package/out/src/Schema.sol/SchemaLib.json +787 -787
- package/out/src/Slice.sol/SliceInstance.json +429 -429
- package/out/src/Slice.sol/SliceLib.json +429 -429
- package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
- package/out/src/WorldContext.sol/WorldContextConsumer.json +777 -680
- package/out/src/WorldContext.sol/WorldContextProvider.json +740 -680
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
- package/out/tables/Tables.sol/Tables.json +7288 -7288
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
- package/out/types.sol/types.json +39 -39
- package/out/worldResourceTypes.sol/worldResourceTypes.json +87 -87
- package/package.json +8 -8
@@ -2,16 +2,16 @@
|
|
2
2
|
"abi": [],
|
3
3
|
"bytecode": {
|
4
4
|
"object": "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000815000a",
|
5
|
-
"sourceMap": "
|
5
|
+
"sourceMap": "3107:3919:97:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;3107:3919:97;;;;;;;;;;;;;;;;;",
|
6
6
|
"linkReferences": {}
|
7
7
|
},
|
8
8
|
"deployedBytecode": {
|
9
9
|
"object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000815000a",
|
10
|
-
"sourceMap": "
|
10
|
+
"sourceMap": "3107:3919:97:-: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\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Simple utility function to call a contract and append the msg.sender to the calldata (to be consumed by WorldContextConsumer)\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/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\":{\"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\":\"0xb36724e0369ad053579ec04b9b51707dd8dcc4a72b38404cebdf018ce40bf202\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d8745e1632b7ee94f128600837a36ae53fabaf73c506b0c6d1cae70ea2e9b086\",\"dweb:/ipfs/QmXuMqmybWjEPqWEx91DTM7KAUyxAmDcsj7riBfCfA427N\"]},\"node_modules/@latticexyz/store/src/FieldLayout.sol\":{\"keccak256\":\"0xadb7ac513012e59b66ca70b786eec1465f6b44ae268765de6d8ae1f1a9531192\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa59a7d190154d7eba8fa6b5f0c6e5477f434a217f0e353c3b158a3c25895057\",\"dweb:/ipfs/QmeWTCwGJwZjjYYKdaSSWa1rzc4Uo4YXMUDotTQfdSCtRD\"]},\"node_modules/@latticexyz/store/src/Hook.sol\":{\"keccak256\":\"0xd54d6067a7a8683c446c5c88c1a4b0019caca1cddcde8583f83a8f13f172a923\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f85e55447a4fdad532dd84e1ba7c169603848d210fc461b32dc57fd7b6b72410\",\"dweb:/ipfs/Qmejcoi7J3Ad5RZdndJsDQqRfmKs6FKW9aksALFvkxmm41\"]},\"node_modules/@latticexyz/store/src/IERC165.sol\":{\"keccak256\":\"0x1a113ae394de69ca1db7e9acb1886eaee3967dcfed46fc78497e77bc26dd778f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://091e04dc9e8d5b3a492d1d39a6d06fd5b4bad3c282bd4c06a38d92bec3422513\",\"dweb:/ipfs/QmbfMi1bH9RAs4JMDxKmhVqpAoyoVgN9nd7o11SakJC1zQ\"]},\"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\":\"0x2a7392d937f372fbcd0ee9333a5af33e2630587b6e6dd714b1cebf75d8cdfc15\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dca5e58374dc496bbc33fbe7b0c3774d3767662b23630a515a59b13d69fe66c\",\"dweb:/ipfs/QmU15fFKVtmYgGivVG3wJfCnRKjsJY2jdEjp75FFCqUN7t\"]},\"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\":\"0xa6d353df9033207ea4b6b13cb13535d6d9abd6963e7c27749c5ca2a9bf5f8cef\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2827bf5d86d2011cde150e8a4c6b39d187398831870407ca8aa065257f04954a\",\"dweb:/ipfs/QmanvEbRTpN5u2YYnk8hTupoWugFAKL7xbj6cHUaZQ83WG\"]},\"node_modules/@latticexyz/store/src/IStoreHook.sol\":{\"keccak256\":\"0x237a6871db470dda42feb50f4f237c066daf599cda28e48458d533d639f2b3d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ca670b27fc6cc824223b6e99d307632baf9ee66a7d58cfbdcfca57e2d5eb1488\",\"dweb:/ipfs/QmVQx23VfsyYRvyRy5ZQEeUvNyfuK75DZ8EF4uKCGEQ4sr\"]},\"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\":\"0xa1872adf18790f030ebe59cdc938a4639a1753fe487aeebe14d952d6e032ab31\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3a15f9046013ab5628b7d934e2c740cf84ae39cb57de136c284090bf106c31b6\",\"dweb:/ipfs/QmZPrpunYTfgi5gDtqAq12GkdQDmrAGaUG7sVr2jVWe1Ye\"]},\"node_modules/@latticexyz/store/src/PackedCounter.sol\":{\"keccak256\":\"0x1efd826172c7004d5771c2abe6e27a36a7fb05273e81f05f2ec36a3dcfb9af2e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d024122b3f9d7f050fabd646a7151ab92dd90c0907b9025aa97656965b28e04\",\"dweb:/ipfs/QmYNyvdSDoMa6FaRzTV2JLcUZVSygnyS3HbRCdNZJ8PV7A\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x4a61aefe72d6035b1e9aca7841aab44ebd26f8706bdbb447f382046fa94753b6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f715743739e4f8f8a98d78397025a92299ecb3b5dde88cc53bc1ab72bf531fa6\",\"dweb:/ipfs/QmVsYAupGWZUemE4t6xjLqztGHadQ8cyo9E4mT5ZDKUmTs\"]},\"node_modules/@latticexyz/store/src/Schema.sol\":{\"keccak256\":\"0x07c1468d1776e76c451d7ce1e94509bd02f664f89e6fc98d82925cf06ecce31d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://97bababaebe4bd8402fbff2db3395506f5277b8dcc53b88ceb636350f5438e3d\",\"dweb:/ipfs/QmP4dWkucmpgYztjv8HsXy21JqQYYn42nztzDAcSVuHSv1\"]},\"node_modules/@latticexyz/store/src/Slice.sol\":{\"keccak256\":\"0x3c06a067ca8de1ea75b986837ef97d5fdce0637ca43d1ef0cf5e63c01f4b9161\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f48e754ba5033db9ae64a04d191bd66cccc432dc30931a7d1327bd7b2b76fd37\",\"dweb:/ipfs/QmQsoEbcy4SMLTjwi5Eonge3mpWpoVieaxif8W4TqafoEz\"]},\"node_modules/@latticexyz/store/src/Storage.sol\":{\"keccak256\":\"0xba14c2766fb6c547448fa84f5e32664050684898ec6436537735dd294913ef7f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://834d14bb66e13974b281bb909c56ed93eb0b20362a6131fa3fc3466004667694\",\"dweb:/ipfs/Qmbo4xUPGEkziMS1MzSD279ZG2Ah7YYRebcmFLYYjveFiR\"]},\"node_modules/@latticexyz/store/src/StoreCore.sol\":{\"keccak256\":\"0xa1f69881bc1e225e4edccbf50a055b9e1933acf1951448bfc43cd5af08ae593f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db08db3902fcc2cf1034a45d4a482204a2a676398bdded6419c6c55954db4954\",\"dweb:/ipfs/QmSRcCucWgpnhztKpCnYR6ZhTXHMoPY59aBgKaPrsBQHsF\"]},\"node_modules/@latticexyz/store/src/StoreSwitch.sol\":{\"keccak256\":\"0x56e2fc6b04c1d64a068b3a8e6e8900bea1b51b824a9bfb7f2fdb294015b99147\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b336a38da42d3aad9be5edecfa68e6c1ab18348f853ab4147a92f69527e107e2\",\"dweb:/ipfs/QmVeFQ5skNx4VJbJPt1zTE6JHH9FCQ39UorZj2NGSX3fEq\"]},\"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\":\"0x2e138ee1e68db71495ee97f9df9e508d2c83d75cacab25db647f3ed7b43b22a4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9029b6380c6a62e2b647bdafeede3deff7737d1049de52248d79151c7a786c9\",\"dweb:/ipfs/QmdqJdN3V2LqUrK2kWF9fDvAHFPLNspCsPD73ECFPudZAb\"]},\"node_modules/@latticexyz/store/src/codegen/tables/ResourceIds.sol\":{\"keccak256\":\"0xdb1003aeef88489dbf32e8a10a581949c245aab7136f6a8786130ba448c628a1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://77265a1beb7dbd951ea342e63a7aac9572203df4ee3231b5337a90c847b7232e\",\"dweb:/ipfs/QmcX937Nv56V576CnnTc8ASH1BgsK6DsmQK93npmAdVAC5\"]},\"node_modules/@latticexyz/store/src/codegen/tables/StoreHooks.sol\":{\"keccak256\":\"0x1d4be2832c255456d50862c8da907d8d10ce1f1245548165297172b9d323dbc4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a6908b829a035d07d33a1c219a7f98d3d5b88b8d7f19806cb7967fc05791a791\",\"dweb:/ipfs/QmWbx4snYp92MhQse6TvXUgLoaPhJJGzjzYHxMNPh1Vgd4\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Tables.sol\":{\"keccak256\":\"0x7ab92a0033d9a7a332464d50173d9a4343ed53c26152218f2125ad0517563d68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db2be1de5a22c4a85565c28231e421934fbbf1fbfa195110323b4a4171c34b8c\",\"dweb:/ipfs/Qmcosfb89Mbosar4McEsZp9oaTgwisKNJwSPvRazpSpii3\"]},\"node_modules/@latticexyz/store/src/constants.sol\":{\"keccak256\":\"0x3826d50fae1df0e69313e5f52c235e860a8c9ff2623a5e0ae3fd0438cfa557fb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91806d1fe0ffa80ca861bd8eb7251911e523d0bbf72858300f0119ef12ae2961\",\"dweb:/ipfs/QmbPcr8eu32qhBwYfYem9nZ549BNc7Zjyc4VkYjFnM8nyQ\"]},\"node_modules/@latticexyz/store/src/leftMask.sol\":{\"keccak256\":\"0x9f5aaf307403002b45a2e4c2f999a21b90df70c7b796cfd66cc3d5431be894be\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0a2ae01c25a86aa4c7652c4a88099888d6445e871a9656790dc251eec6cdb97c\",\"dweb:/ipfs/QmVoUETvXqSUK6GfX9z67G2xQh7soGZLAwyUsKKpfPXEk6\"]},\"node_modules/@latticexyz/store/src/storeHookTypes.sol\":{\"keccak256\":\"0x574ec08fd11b930f375324026cbd2bad770a2fc5dfddfded9a694238a2eb6246\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4eb9de43e66c6ea6b9221236695a1b2e9c54f2b5bb5aa083b678b0d673563ccc\",\"dweb:/ipfs/QmYE25Ek4XdL2DKcwru1whS4kKTjr16JU1MhysCm2Vffob\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xb2c27c7b8f974f1e3c70dd82c92f35f5bbd2887e16afe454e6dbc38300a51feb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6cbdbcc95835f67030eebdebeaf0bfd6faa612381179e7f7be8b9d3c00b20878\",\"dweb:/ipfs/QmNeZU5MmRQqhcLxN6BA2BQvgEst8yg67F4VQoPJEEK6kg\"]},\"node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol\":{\"keccak256\":\"0xd64eae381daba3788cce62cc209a4ae05817bda80a63fc356b1e1c5bd81e7024\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://922453b0896758bdbd8dfb68137c1893f9ee7099c0e4d591578a9a1b26f9f6ef\",\"dweb:/ipfs/QmQVGnVvkRcQSphaRZW4GMTbr8rLKuGiJ6JKGh9ZDfsEzx\"]},\"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol\":{\"keccak256\":\"0xbb895ba4c1470c5c16c65634f056865010b4a717983f82a289572fd804c87535\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2a2bffa72d437ddcfde157cc918cc181ae668e949d4136e6e92f2520a875a898\",\"dweb:/ipfs/QmaAwtXNUv3TKAxkhvGqhWBZPtm57J8Qqi3XVsW6DWZfAo\"]},\"node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol\":{\"keccak256\":\"0x5c66d7d7498df3e9ded0512506f2aa1a77077e18569975706049f53c2d009f20\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://74783a2ec9c5733261c3b8747c30e91173d0be47bfc75656879235624f57ee2c\",\"dweb:/ipfs/QmaRkUAtpyinafhQ2u6WGXy9N9HTVuAwJUTEbr4sxFSg3g\"]},\"node_modules/@latticexyz/store/src/version.sol\":{\"keccak256\":\"0xe973573981d86701f2749aeb81dd5e2b27b9b898f4467b779df9a0ce1a7d4d27\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://20154e4d5f7ff8ec38f2056a8b62ef3e11380335266759b3e1547c2642007168\",\"dweb:/ipfs/QmUND96YPeQQ6n9jwztPyeK5FyNqg3NVMnWkUGXaA81quL\"]},\"node_modules/@latticexyz/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"node_modules/@latticexyz/world/src/IWorldContextConsumer.sol\":{\"keccak256\":\"0x0c0f9eba3a700d97a3b87678bbf12d4bbd8a80490e9b3a5841d049ebc1a89f93\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a56466e8ddcaf10b9109bfbc581563f5e9eefcaff1963a6954ccd093859ef6d2\",\"dweb:/ipfs/QmNk6FvWzmLT3vnsUuzqr9MYMfaQRa7yLuNM7DVvpkuytf\"]},\"node_modules/@latticexyz/world/src/WorldContext.sol\":{\"keccak256\":\"0x7b808edfeb5f548e06899db7e3fdfafa7b42fccf2f596a04b24a8193618a511b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acca2b5f96ef412f32da9359667c82fe1a854acc0663165864434620214b8078\",\"dweb:/ipfs/QmeaoYxRToMbMSDfDZZC1fumKjs9WUu6ZkxSLwJKx4FfC8\"]},\"node_modules/@latticexyz/world/src/revertWithBytes.sol\":{\"keccak256\":\"0xb4239b7d84f764babc15a46eab53ea45dae0ce5c3738f9c283d7ab2f6e8fddea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d495ceadc4e5506a4cec20329f5862f53cf7886cb3d8533bc5071c26ea2d2522\",\"dweb:/ipfs/QmaNDdqDGnZkc3stbjUKAKHa29Hzu4JJPVvcogDMe7r8sM\"]}},\"version\":1}",
|
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\":{\"node_modules/@latticexyz/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\":{\"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\":\"0xb36724e0369ad053579ec04b9b51707dd8dcc4a72b38404cebdf018ce40bf202\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d8745e1632b7ee94f128600837a36ae53fabaf73c506b0c6d1cae70ea2e9b086\",\"dweb:/ipfs/QmXuMqmybWjEPqWEx91DTM7KAUyxAmDcsj7riBfCfA427N\"]},\"node_modules/@latticexyz/store/src/FieldLayout.sol\":{\"keccak256\":\"0xadb7ac513012e59b66ca70b786eec1465f6b44ae268765de6d8ae1f1a9531192\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa59a7d190154d7eba8fa6b5f0c6e5477f434a217f0e353c3b158a3c25895057\",\"dweb:/ipfs/QmeWTCwGJwZjjYYKdaSSWa1rzc4Uo4YXMUDotTQfdSCtRD\"]},\"node_modules/@latticexyz/store/src/Hook.sol\":{\"keccak256\":\"0xd54d6067a7a8683c446c5c88c1a4b0019caca1cddcde8583f83a8f13f172a923\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f85e55447a4fdad532dd84e1ba7c169603848d210fc461b32dc57fd7b6b72410\",\"dweb:/ipfs/Qmejcoi7J3Ad5RZdndJsDQqRfmKs6FKW9aksALFvkxmm41\"]},\"node_modules/@latticexyz/store/src/IERC165.sol\":{\"keccak256\":\"0x1a113ae394de69ca1db7e9acb1886eaee3967dcfed46fc78497e77bc26dd778f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://091e04dc9e8d5b3a492d1d39a6d06fd5b4bad3c282bd4c06a38d92bec3422513\",\"dweb:/ipfs/QmbfMi1bH9RAs4JMDxKmhVqpAoyoVgN9nd7o11SakJC1zQ\"]},\"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\":\"0x2a7392d937f372fbcd0ee9333a5af33e2630587b6e6dd714b1cebf75d8cdfc15\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6dca5e58374dc496bbc33fbe7b0c3774d3767662b23630a515a59b13d69fe66c\",\"dweb:/ipfs/QmU15fFKVtmYgGivVG3wJfCnRKjsJY2jdEjp75FFCqUN7t\"]},\"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\":\"0xa6d353df9033207ea4b6b13cb13535d6d9abd6963e7c27749c5ca2a9bf5f8cef\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2827bf5d86d2011cde150e8a4c6b39d187398831870407ca8aa065257f04954a\",\"dweb:/ipfs/QmanvEbRTpN5u2YYnk8hTupoWugFAKL7xbj6cHUaZQ83WG\"]},\"node_modules/@latticexyz/store/src/IStoreHook.sol\":{\"keccak256\":\"0x237a6871db470dda42feb50f4f237c066daf599cda28e48458d533d639f2b3d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ca670b27fc6cc824223b6e99d307632baf9ee66a7d58cfbdcfca57e2d5eb1488\",\"dweb:/ipfs/QmVQx23VfsyYRvyRy5ZQEeUvNyfuK75DZ8EF4uKCGEQ4sr\"]},\"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\":\"0xa1872adf18790f030ebe59cdc938a4639a1753fe487aeebe14d952d6e032ab31\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3a15f9046013ab5628b7d934e2c740cf84ae39cb57de136c284090bf106c31b6\",\"dweb:/ipfs/QmZPrpunYTfgi5gDtqAq12GkdQDmrAGaUG7sVr2jVWe1Ye\"]},\"node_modules/@latticexyz/store/src/PackedCounter.sol\":{\"keccak256\":\"0x1efd826172c7004d5771c2abe6e27a36a7fb05273e81f05f2ec36a3dcfb9af2e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d024122b3f9d7f050fabd646a7151ab92dd90c0907b9025aa97656965b28e04\",\"dweb:/ipfs/QmYNyvdSDoMa6FaRzTV2JLcUZVSygnyS3HbRCdNZJ8PV7A\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x4a61aefe72d6035b1e9aca7841aab44ebd26f8706bdbb447f382046fa94753b6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f715743739e4f8f8a98d78397025a92299ecb3b5dde88cc53bc1ab72bf531fa6\",\"dweb:/ipfs/QmVsYAupGWZUemE4t6xjLqztGHadQ8cyo9E4mT5ZDKUmTs\"]},\"node_modules/@latticexyz/store/src/Schema.sol\":{\"keccak256\":\"0x07c1468d1776e76c451d7ce1e94509bd02f664f89e6fc98d82925cf06ecce31d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://97bababaebe4bd8402fbff2db3395506f5277b8dcc53b88ceb636350f5438e3d\",\"dweb:/ipfs/QmP4dWkucmpgYztjv8HsXy21JqQYYn42nztzDAcSVuHSv1\"]},\"node_modules/@latticexyz/store/src/Slice.sol\":{\"keccak256\":\"0x3c06a067ca8de1ea75b986837ef97d5fdce0637ca43d1ef0cf5e63c01f4b9161\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f48e754ba5033db9ae64a04d191bd66cccc432dc30931a7d1327bd7b2b76fd37\",\"dweb:/ipfs/QmQsoEbcy4SMLTjwi5Eonge3mpWpoVieaxif8W4TqafoEz\"]},\"node_modules/@latticexyz/store/src/Storage.sol\":{\"keccak256\":\"0xba14c2766fb6c547448fa84f5e32664050684898ec6436537735dd294913ef7f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://834d14bb66e13974b281bb909c56ed93eb0b20362a6131fa3fc3466004667694\",\"dweb:/ipfs/Qmbo4xUPGEkziMS1MzSD279ZG2Ah7YYRebcmFLYYjveFiR\"]},\"node_modules/@latticexyz/store/src/StoreCore.sol\":{\"keccak256\":\"0xa1f69881bc1e225e4edccbf50a055b9e1933acf1951448bfc43cd5af08ae593f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db08db3902fcc2cf1034a45d4a482204a2a676398bdded6419c6c55954db4954\",\"dweb:/ipfs/QmSRcCucWgpnhztKpCnYR6ZhTXHMoPY59aBgKaPrsBQHsF\"]},\"node_modules/@latticexyz/store/src/StoreSwitch.sol\":{\"keccak256\":\"0x56e2fc6b04c1d64a068b3a8e6e8900bea1b51b824a9bfb7f2fdb294015b99147\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b336a38da42d3aad9be5edecfa68e6c1ab18348f853ab4147a92f69527e107e2\",\"dweb:/ipfs/QmVeFQ5skNx4VJbJPt1zTE6JHH9FCQ39UorZj2NGSX3fEq\"]},\"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\":\"0x2e138ee1e68db71495ee97f9df9e508d2c83d75cacab25db647f3ed7b43b22a4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9029b6380c6a62e2b647bdafeede3deff7737d1049de52248d79151c7a786c9\",\"dweb:/ipfs/QmdqJdN3V2LqUrK2kWF9fDvAHFPLNspCsPD73ECFPudZAb\"]},\"node_modules/@latticexyz/store/src/codegen/tables/ResourceIds.sol\":{\"keccak256\":\"0xdb1003aeef88489dbf32e8a10a581949c245aab7136f6a8786130ba448c628a1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://77265a1beb7dbd951ea342e63a7aac9572203df4ee3231b5337a90c847b7232e\",\"dweb:/ipfs/QmcX937Nv56V576CnnTc8ASH1BgsK6DsmQK93npmAdVAC5\"]},\"node_modules/@latticexyz/store/src/codegen/tables/StoreHooks.sol\":{\"keccak256\":\"0x1d4be2832c255456d50862c8da907d8d10ce1f1245548165297172b9d323dbc4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a6908b829a035d07d33a1c219a7f98d3d5b88b8d7f19806cb7967fc05791a791\",\"dweb:/ipfs/QmWbx4snYp92MhQse6TvXUgLoaPhJJGzjzYHxMNPh1Vgd4\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Tables.sol\":{\"keccak256\":\"0x7ab92a0033d9a7a332464d50173d9a4343ed53c26152218f2125ad0517563d68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db2be1de5a22c4a85565c28231e421934fbbf1fbfa195110323b4a4171c34b8c\",\"dweb:/ipfs/Qmcosfb89Mbosar4McEsZp9oaTgwisKNJwSPvRazpSpii3\"]},\"node_modules/@latticexyz/store/src/constants.sol\":{\"keccak256\":\"0x3826d50fae1df0e69313e5f52c235e860a8c9ff2623a5e0ae3fd0438cfa557fb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91806d1fe0ffa80ca861bd8eb7251911e523d0bbf72858300f0119ef12ae2961\",\"dweb:/ipfs/QmbPcr8eu32qhBwYfYem9nZ549BNc7Zjyc4VkYjFnM8nyQ\"]},\"node_modules/@latticexyz/store/src/leftMask.sol\":{\"keccak256\":\"0x9f5aaf307403002b45a2e4c2f999a21b90df70c7b796cfd66cc3d5431be894be\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0a2ae01c25a86aa4c7652c4a88099888d6445e871a9656790dc251eec6cdb97c\",\"dweb:/ipfs/QmVoUETvXqSUK6GfX9z67G2xQh7soGZLAwyUsKKpfPXEk6\"]},\"node_modules/@latticexyz/store/src/storeHookTypes.sol\":{\"keccak256\":\"0x574ec08fd11b930f375324026cbd2bad770a2fc5dfddfded9a694238a2eb6246\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4eb9de43e66c6ea6b9221236695a1b2e9c54f2b5bb5aa083b678b0d673563ccc\",\"dweb:/ipfs/QmYE25Ek4XdL2DKcwru1whS4kKTjr16JU1MhysCm2Vffob\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xb2c27c7b8f974f1e3c70dd82c92f35f5bbd2887e16afe454e6dbc38300a51feb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6cbdbcc95835f67030eebdebeaf0bfd6faa612381179e7f7be8b9d3c00b20878\",\"dweb:/ipfs/QmNeZU5MmRQqhcLxN6BA2BQvgEst8yg67F4VQoPJEEK6kg\"]},\"node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol\":{\"keccak256\":\"0xd64eae381daba3788cce62cc209a4ae05817bda80a63fc356b1e1c5bd81e7024\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://922453b0896758bdbd8dfb68137c1893f9ee7099c0e4d591578a9a1b26f9f6ef\",\"dweb:/ipfs/QmQVGnVvkRcQSphaRZW4GMTbr8rLKuGiJ6JKGh9ZDfsEzx\"]},\"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol\":{\"keccak256\":\"0xbb895ba4c1470c5c16c65634f056865010b4a717983f82a289572fd804c87535\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2a2bffa72d437ddcfde157cc918cc181ae668e949d4136e6e92f2520a875a898\",\"dweb:/ipfs/QmaAwtXNUv3TKAxkhvGqhWBZPtm57J8Qqi3XVsW6DWZfAo\"]},\"node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol\":{\"keccak256\":\"0x5c66d7d7498df3e9ded0512506f2aa1a77077e18569975706049f53c2d009f20\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://74783a2ec9c5733261c3b8747c30e91173d0be47bfc75656879235624f57ee2c\",\"dweb:/ipfs/QmaRkUAtpyinafhQ2u6WGXy9N9HTVuAwJUTEbr4sxFSg3g\"]},\"node_modules/@latticexyz/store/src/version.sol\":{\"keccak256\":\"0xe973573981d86701f2749aeb81dd5e2b27b9b898f4467b779df9a0ce1a7d4d27\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://20154e4d5f7ff8ec38f2056a8b62ef3e11380335266759b3e1547c2642007168\",\"dweb:/ipfs/QmUND96YPeQQ6n9jwztPyeK5FyNqg3NVMnWkUGXaA81quL\"]},\"node_modules/@latticexyz/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"node_modules/@latticexyz/world/src/IWorldContextConsumer.sol\":{\"keccak256\":\"0x22b8cb3ffcc21cb1657d57fc8ac929d2d6fdd199328e6f43ad2cb54f53dcd500\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://47c001f6b7c6d6e453c340618d23b1532078abb7d0fd7283405071e4e8ff8d2d\",\"dweb:/ipfs/QmRW3femBhqQCPwDEj4Jop2Dnd3EU21ufg7GDVwN4joCQu\"]},\"node_modules/@latticexyz/world/src/WorldContext.sol\":{\"keccak256\":\"0x45792667fe063195103e9fd74e3e9e0b0b4aea4fc4a0a8a3e69538c14751217b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cba8976da1e2f7e336045e8d65eba89d18ae49e4688de61ff61a95fb817fe9fc\",\"dweb:/ipfs/QmWoByJM6DmheS2jisxSvAzrqC6XWrgaKxoNNUr44aXJtE\"]},\"node_modules/@latticexyz/world/src/revertWithBytes.sol\":{\"keccak256\":\"0xb4239b7d84f764babc15a46eab53ea45dae0ce5c3738f9c283d7ab2f6e8fddea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d495ceadc4e5506a4cec20329f5862f53cf7886cb3d8533bc5071c26ea2d2522\",\"dweb:/ipfs/QmaNDdqDGnZkc3stbjUKAKHa29Hzu4JJPVvcogDMe7r8sM\"]}},\"version\":1}",
|
15
15
|
"metadata": {
|
16
16
|
"compiler": {
|
17
17
|
"version": "0.8.21+commit.d9974bed"
|
@@ -330,18 +330,18 @@
|
|
330
330
|
"license": "MIT"
|
331
331
|
},
|
332
332
|
"node_modules/@latticexyz/world/src/IWorldContextConsumer.sol": {
|
333
|
-
"keccak256": "
|
333
|
+
"keccak256": "0x22b8cb3ffcc21cb1657d57fc8ac929d2d6fdd199328e6f43ad2cb54f53dcd500",
|
334
334
|
"urls": [
|
335
|
-
"bzz-raw://
|
336
|
-
"dweb:/ipfs/
|
335
|
+
"bzz-raw://47c001f6b7c6d6e453c340618d23b1532078abb7d0fd7283405071e4e8ff8d2d",
|
336
|
+
"dweb:/ipfs/QmRW3femBhqQCPwDEj4Jop2Dnd3EU21ufg7GDVwN4joCQu"
|
337
337
|
],
|
338
338
|
"license": "MIT"
|
339
339
|
},
|
340
340
|
"node_modules/@latticexyz/world/src/WorldContext.sol": {
|
341
|
-
"keccak256": "
|
341
|
+
"keccak256": "0x45792667fe063195103e9fd74e3e9e0b0b4aea4fc4a0a8a3e69538c14751217b",
|
342
342
|
"urls": [
|
343
|
-
"bzz-raw://
|
344
|
-
"dweb:/ipfs/
|
343
|
+
"bzz-raw://cba8976da1e2f7e336045e8d65eba89d18ae49e4688de61ff61a95fb817fe9fc",
|
344
|
+
"dweb:/ipfs/QmWoByJM6DmheS2jisxSvAzrqC6XWrgaKxoNNUr44aXJtE"
|
345
345
|
],
|
346
346
|
"license": "MIT"
|
347
347
|
},
|
@@ -358,38 +358,38 @@
|
|
358
358
|
},
|
359
359
|
"ast": {
|
360
360
|
"absolutePath": "node_modules/@latticexyz/world/src/WorldContext.sol",
|
361
|
-
"id":
|
361
|
+
"id": 38887,
|
362
362
|
"exportedSymbols": {
|
363
363
|
"CONTEXT_BYTES": [
|
364
|
-
|
364
|
+
38672
|
365
365
|
],
|
366
366
|
"ERC165_INTERFACE_ID": [
|
367
|
-
|
367
|
+
60792
|
368
368
|
],
|
369
369
|
"IWorldContextConsumer": [
|
370
|
-
|
370
|
+
60845
|
371
371
|
],
|
372
372
|
"StoreSwitch": [
|
373
|
-
|
373
|
+
30870
|
374
374
|
],
|
375
375
|
"WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
|
376
|
-
|
376
|
+
60823
|
377
377
|
],
|
378
378
|
"WorldContextConsumer": [
|
379
|
-
|
379
|
+
38732
|
380
380
|
],
|
381
381
|
"WorldContextProvider": [
|
382
|
-
|
382
|
+
38886
|
383
383
|
],
|
384
384
|
"revertWithBytes": [
|
385
|
-
|
385
|
+
39280
|
386
386
|
]
|
387
387
|
},
|
388
388
|
"nodeType": "SourceUnit",
|
389
|
-
"src": "32:
|
389
|
+
"src": "32:6995:97",
|
390
390
|
"nodes": [
|
391
391
|
{
|
392
|
-
"id":
|
392
|
+
"id": 38658,
|
393
393
|
"nodeType": "PragmaDirective",
|
394
394
|
"src": "32:25:97",
|
395
395
|
"nodes": [],
|
@@ -401,23 +401,23 @@
|
|
401
401
|
]
|
402
402
|
},
|
403
403
|
{
|
404
|
-
"id":
|
404
|
+
"id": 38660,
|
405
405
|
"nodeType": "ImportDirective",
|
406
406
|
"src": "59:68:97",
|
407
407
|
"nodes": [],
|
408
408
|
"absolutePath": "node_modules/@latticexyz/store/src/StoreSwitch.sol",
|
409
409
|
"file": "@latticexyz/store/src/StoreSwitch.sol",
|
410
410
|
"nameLocation": "-1:-1:-1",
|
411
|
-
"scope":
|
412
|
-
"sourceUnit":
|
411
|
+
"scope": 38887,
|
412
|
+
"sourceUnit": 30871,
|
413
413
|
"symbolAliases": [
|
414
414
|
{
|
415
415
|
"foreign": {
|
416
|
-
"id":
|
416
|
+
"id": 38659,
|
417
417
|
"name": "StoreSwitch",
|
418
418
|
"nodeType": "Identifier",
|
419
419
|
"overloadedDeclarations": [],
|
420
|
-
"referencedDeclaration":
|
420
|
+
"referencedDeclaration": 30870,
|
421
421
|
"src": "68:11:97",
|
422
422
|
"typeDescriptions": {}
|
423
423
|
},
|
@@ -427,23 +427,23 @@
|
|
427
427
|
"unitAlias": ""
|
428
428
|
},
|
429
429
|
{
|
430
|
-
"id":
|
430
|
+
"id": 38662,
|
431
431
|
"nodeType": "ImportDirective",
|
432
432
|
"src": "128:56:97",
|
433
433
|
"nodes": [],
|
434
434
|
"absolutePath": "node_modules/@latticexyz/world/src/revertWithBytes.sol",
|
435
435
|
"file": "./revertWithBytes.sol",
|
436
436
|
"nameLocation": "-1:-1:-1",
|
437
|
-
"scope":
|
438
|
-
"sourceUnit":
|
437
|
+
"scope": 38887,
|
438
|
+
"sourceUnit": 39281,
|
439
439
|
"symbolAliases": [
|
440
440
|
{
|
441
441
|
"foreign": {
|
442
|
-
"id":
|
442
|
+
"id": 38661,
|
443
443
|
"name": "revertWithBytes",
|
444
444
|
"nodeType": "Identifier",
|
445
445
|
"overloadedDeclarations": [],
|
446
|
-
"referencedDeclaration":
|
446
|
+
"referencedDeclaration": 39280,
|
447
447
|
"src": "137:15:97",
|
448
448
|
"typeDescriptions": {}
|
449
449
|
},
|
@@ -453,23 +453,23 @@
|
|
453
453
|
"unitAlias": ""
|
454
454
|
},
|
455
455
|
{
|
456
|
-
"id":
|
456
|
+
"id": 38664,
|
457
457
|
"nodeType": "ImportDirective",
|
458
458
|
"src": "185:52:97",
|
459
459
|
"nodes": [],
|
460
460
|
"absolutePath": "node_modules/@latticexyz/world/src/IERC165.sol",
|
461
461
|
"file": "./IERC165.sol",
|
462
462
|
"nameLocation": "-1:-1:-1",
|
463
|
-
"scope":
|
464
|
-
"sourceUnit":
|
463
|
+
"scope": 38887,
|
464
|
+
"sourceUnit": 60803,
|
465
465
|
"symbolAliases": [
|
466
466
|
{
|
467
467
|
"foreign": {
|
468
|
-
"id":
|
468
|
+
"id": 38663,
|
469
469
|
"name": "ERC165_INTERFACE_ID",
|
470
470
|
"nodeType": "Identifier",
|
471
471
|
"overloadedDeclarations": [],
|
472
|
-
"referencedDeclaration":
|
472
|
+
"referencedDeclaration": 60792,
|
473
473
|
"src": "194:19:97",
|
474
474
|
"typeDescriptions": {}
|
475
475
|
},
|
@@ -479,23 +479,23 @@
|
|
479
479
|
"unitAlias": ""
|
480
480
|
},
|
481
481
|
{
|
482
|
-
"id":
|
482
|
+
"id": 38667,
|
483
483
|
"nodeType": "ImportDirective",
|
484
484
|
"src": "238:105:97",
|
485
485
|
"nodes": [],
|
486
486
|
"absolutePath": "node_modules/@latticexyz/world/src/IWorldContextConsumer.sol",
|
487
487
|
"file": "./IWorldContextConsumer.sol",
|
488
488
|
"nameLocation": "-1:-1:-1",
|
489
|
-
"scope":
|
490
|
-
"sourceUnit":
|
489
|
+
"scope": 38887,
|
490
|
+
"sourceUnit": 60846,
|
491
491
|
"symbolAliases": [
|
492
492
|
{
|
493
493
|
"foreign": {
|
494
|
-
"id":
|
494
|
+
"id": 38665,
|
495
495
|
"name": "IWorldContextConsumer",
|
496
496
|
"nodeType": "Identifier",
|
497
497
|
"overloadedDeclarations": [],
|
498
|
-
"referencedDeclaration":
|
498
|
+
"referencedDeclaration": 60845,
|
499
499
|
"src": "247:21:97",
|
500
500
|
"typeDescriptions": {}
|
501
501
|
},
|
@@ -503,11 +503,11 @@
|
|
503
503
|
},
|
504
504
|
{
|
505
505
|
"foreign": {
|
506
|
-
"id":
|
506
|
+
"id": 38666,
|
507
507
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
508
508
|
"nodeType": "Identifier",
|
509
509
|
"overloadedDeclarations": [],
|
510
|
-
"referencedDeclaration":
|
510
|
+
"referencedDeclaration": 60823,
|
511
511
|
"src": "270:35:97",
|
512
512
|
"typeDescriptions": {}
|
513
513
|
},
|
@@ -517,7 +517,7 @@
|
|
517
517
|
"unitAlias": ""
|
518
518
|
},
|
519
519
|
{
|
520
|
-
"id":
|
520
|
+
"id": 38672,
|
521
521
|
"nodeType": "VariableDeclaration",
|
522
522
|
"src": "420:40:97",
|
523
523
|
"nodes": [],
|
@@ -525,7 +525,7 @@
|
|
525
525
|
"mutability": "constant",
|
526
526
|
"name": "CONTEXT_BYTES",
|
527
527
|
"nameLocation": "437:13:97",
|
528
|
-
"scope":
|
528
|
+
"scope": 38887,
|
529
529
|
"stateVariable": false,
|
530
530
|
"storageLocation": "default",
|
531
531
|
"typeDescriptions": {
|
@@ -533,7 +533,7 @@
|
|
533
533
|
"typeString": "uint256"
|
534
534
|
},
|
535
535
|
"typeName": {
|
536
|
-
"id":
|
536
|
+
"id": 38668,
|
537
537
|
"name": "uint256",
|
538
538
|
"nodeType": "ElementaryTypeName",
|
539
539
|
"src": "420:7:97",
|
@@ -547,14 +547,14 @@
|
|
547
547
|
"typeIdentifier": "t_rational_52_by_1",
|
548
548
|
"typeString": "int_const 52"
|
549
549
|
},
|
550
|
-
"id":
|
550
|
+
"id": 38671,
|
551
551
|
"isConstant": false,
|
552
552
|
"isLValue": false,
|
553
553
|
"isPure": true,
|
554
554
|
"lValueRequested": false,
|
555
555
|
"leftExpression": {
|
556
556
|
"hexValue": "3230",
|
557
|
-
"id":
|
557
|
+
"id": 38669,
|
558
558
|
"isConstant": false,
|
559
559
|
"isLValue": false,
|
560
560
|
"isPure": true,
|
@@ -572,7 +572,7 @@
|
|
572
572
|
"operator": "+",
|
573
573
|
"rightExpression": {
|
574
574
|
"hexValue": "3332",
|
575
|
-
"id":
|
575
|
+
"id": 38670,
|
576
576
|
"isConstant": false,
|
577
577
|
"isLValue": false,
|
578
578
|
"isPure": true,
|
@@ -595,38 +595,38 @@
|
|
595
595
|
"visibility": "internal"
|
596
596
|
},
|
597
597
|
{
|
598
|
-
"id":
|
598
|
+
"id": 38732,
|
599
599
|
"nodeType": "ContractDefinition",
|
600
|
-
"src": "
|
600
|
+
"src": "937:1838:97",
|
601
601
|
"nodes": [
|
602
602
|
{
|
603
|
-
"id":
|
603
|
+
"id": 38695,
|
604
604
|
"nodeType": "FunctionDefinition",
|
605
|
-
"src": "
|
605
|
+
"src": "1151:379:97",
|
606
606
|
"nodes": [],
|
607
607
|
"body": {
|
608
|
-
"id":
|
608
|
+
"id": 38694,
|
609
609
|
"nodeType": "Block",
|
610
|
-
"src": "
|
610
|
+
"src": "1210:320:97",
|
611
611
|
"nodes": [],
|
612
612
|
"statements": [
|
613
613
|
{
|
614
614
|
"AST": {
|
615
|
-
"nativeSrc": "
|
615
|
+
"nativeSrc": "1225:250:97",
|
616
616
|
"nodeType": "YulBlock",
|
617
|
-
"src": "
|
617
|
+
"src": "1225:250:97",
|
618
618
|
"statements": [
|
619
619
|
{
|
620
|
-
"nativeSrc": "
|
620
|
+
"nativeSrc": "1402:67:97",
|
621
621
|
"nodeType": "YulAssignment",
|
622
|
-
"src": "
|
622
|
+
"src": "1402:67:97",
|
623
623
|
"value": {
|
624
624
|
"arguments": [
|
625
625
|
{
|
626
626
|
"kind": "number",
|
627
|
-
"nativeSrc": "
|
627
|
+
"nativeSrc": "1416:2:97",
|
628
628
|
"nodeType": "YulLiteral",
|
629
|
-
"src": "
|
629
|
+
"src": "1416:2:97",
|
630
630
|
"type": "",
|
631
631
|
"value": "96"
|
632
632
|
},
|
@@ -638,59 +638,59 @@
|
|
638
638
|
"arguments": [],
|
639
639
|
"functionName": {
|
640
640
|
"name": "calldatasize",
|
641
|
-
"nativeSrc": "
|
641
|
+
"nativeSrc": "1437:12:97",
|
642
642
|
"nodeType": "YulIdentifier",
|
643
|
-
"src": "
|
643
|
+
"src": "1437:12:97"
|
644
644
|
},
|
645
|
-
"nativeSrc": "
|
645
|
+
"nativeSrc": "1437:14:97",
|
646
646
|
"nodeType": "YulFunctionCall",
|
647
|
-
"src": "
|
647
|
+
"src": "1437:14:97"
|
648
648
|
},
|
649
649
|
{
|
650
650
|
"name": "CONTEXT_BYTES",
|
651
|
-
"nativeSrc": "
|
651
|
+
"nativeSrc": "1453:13:97",
|
652
652
|
"nodeType": "YulIdentifier",
|
653
|
-
"src": "
|
653
|
+
"src": "1453:13:97"
|
654
654
|
}
|
655
655
|
],
|
656
656
|
"functionName": {
|
657
657
|
"name": "sub",
|
658
|
-
"nativeSrc": "
|
658
|
+
"nativeSrc": "1433:3:97",
|
659
659
|
"nodeType": "YulIdentifier",
|
660
|
-
"src": "
|
660
|
+
"src": "1433:3:97"
|
661
661
|
},
|
662
|
-
"nativeSrc": "
|
662
|
+
"nativeSrc": "1433:34:97",
|
663
663
|
"nodeType": "YulFunctionCall",
|
664
|
-
"src": "
|
664
|
+
"src": "1433:34:97"
|
665
665
|
}
|
666
666
|
],
|
667
667
|
"functionName": {
|
668
668
|
"name": "calldataload",
|
669
|
-
"nativeSrc": "
|
669
|
+
"nativeSrc": "1420:12:97",
|
670
670
|
"nodeType": "YulIdentifier",
|
671
|
-
"src": "
|
671
|
+
"src": "1420:12:97"
|
672
672
|
},
|
673
|
-
"nativeSrc": "
|
673
|
+
"nativeSrc": "1420:48:97",
|
674
674
|
"nodeType": "YulFunctionCall",
|
675
|
-
"src": "
|
675
|
+
"src": "1420:48:97"
|
676
676
|
}
|
677
677
|
],
|
678
678
|
"functionName": {
|
679
679
|
"name": "shr",
|
680
|
-
"nativeSrc": "
|
680
|
+
"nativeSrc": "1412:3:97",
|
681
681
|
"nodeType": "YulIdentifier",
|
682
|
-
"src": "
|
682
|
+
"src": "1412:3:97"
|
683
683
|
},
|
684
|
-
"nativeSrc": "
|
684
|
+
"nativeSrc": "1412:57:97",
|
685
685
|
"nodeType": "YulFunctionCall",
|
686
|
-
"src": "
|
686
|
+
"src": "1412:57:97"
|
687
687
|
},
|
688
688
|
"variableNames": [
|
689
689
|
{
|
690
690
|
"name": "sender",
|
691
|
-
"nativeSrc": "
|
691
|
+
"nativeSrc": "1402:6:97",
|
692
692
|
"nodeType": "YulIdentifier",
|
693
|
-
"src": "
|
693
|
+
"src": "1402:6:97"
|
694
694
|
}
|
695
695
|
]
|
696
696
|
}
|
@@ -699,23 +699,23 @@
|
|
699
699
|
"evmVersion": "paris",
|
700
700
|
"externalReferences": [
|
701
701
|
{
|
702
|
-
"declaration":
|
702
|
+
"declaration": 38672,
|
703
703
|
"isOffset": false,
|
704
704
|
"isSlot": false,
|
705
|
-
"src": "
|
705
|
+
"src": "1453:13:97",
|
706
706
|
"valueSize": 1
|
707
707
|
},
|
708
708
|
{
|
709
|
-
"declaration":
|
709
|
+
"declaration": 38679,
|
710
710
|
"isOffset": false,
|
711
711
|
"isSlot": false,
|
712
|
-
"src": "
|
712
|
+
"src": "1402:6:97",
|
713
713
|
"valueSize": 1
|
714
714
|
}
|
715
715
|
],
|
716
|
-
"id":
|
716
|
+
"id": 38681,
|
717
717
|
"nodeType": "InlineAssembly",
|
718
|
-
"src": "
|
718
|
+
"src": "1216:259:97"
|
719
719
|
},
|
720
720
|
{
|
721
721
|
"condition": {
|
@@ -723,18 +723,18 @@
|
|
723
723
|
"typeIdentifier": "t_address",
|
724
724
|
"typeString": "address"
|
725
725
|
},
|
726
|
-
"id":
|
726
|
+
"id": 38687,
|
727
727
|
"isConstant": false,
|
728
728
|
"isLValue": false,
|
729
729
|
"isPure": false,
|
730
730
|
"lValueRequested": false,
|
731
731
|
"leftExpression": {
|
732
|
-
"id":
|
732
|
+
"id": 38682,
|
733
733
|
"name": "sender",
|
734
734
|
"nodeType": "Identifier",
|
735
735
|
"overloadedDeclarations": [],
|
736
|
-
"referencedDeclaration":
|
737
|
-
"src": "
|
736
|
+
"referencedDeclaration": 38679,
|
737
|
+
"src": "1484:6:97",
|
738
738
|
"typeDescriptions": {
|
739
739
|
"typeIdentifier": "t_address",
|
740
740
|
"typeString": "address"
|
@@ -746,14 +746,14 @@
|
|
746
746
|
"arguments": [
|
747
747
|
{
|
748
748
|
"hexValue": "30",
|
749
|
-
"id":
|
749
|
+
"id": 38685,
|
750
750
|
"isConstant": false,
|
751
751
|
"isLValue": false,
|
752
752
|
"isPure": true,
|
753
753
|
"kind": "number",
|
754
754
|
"lValueRequested": false,
|
755
755
|
"nodeType": "Literal",
|
756
|
-
"src": "
|
756
|
+
"src": "1502:1:97",
|
757
757
|
"typeDescriptions": {
|
758
758
|
"typeIdentifier": "t_rational_0_by_1",
|
759
759
|
"typeString": "int_const 0"
|
@@ -768,26 +768,26 @@
|
|
768
768
|
"typeString": "int_const 0"
|
769
769
|
}
|
770
770
|
],
|
771
|
-
"id":
|
771
|
+
"id": 38684,
|
772
772
|
"isConstant": false,
|
773
773
|
"isLValue": false,
|
774
774
|
"isPure": true,
|
775
775
|
"lValueRequested": false,
|
776
776
|
"nodeType": "ElementaryTypeNameExpression",
|
777
|
-
"src": "
|
777
|
+
"src": "1494:7:97",
|
778
778
|
"typeDescriptions": {
|
779
779
|
"typeIdentifier": "t_type$_t_address_$",
|
780
780
|
"typeString": "type(address)"
|
781
781
|
},
|
782
782
|
"typeName": {
|
783
|
-
"id":
|
783
|
+
"id": 38683,
|
784
784
|
"name": "address",
|
785
785
|
"nodeType": "ElementaryTypeName",
|
786
|
-
"src": "
|
786
|
+
"src": "1494:7:97",
|
787
787
|
"typeDescriptions": {}
|
788
788
|
}
|
789
789
|
},
|
790
|
-
"id":
|
790
|
+
"id": 38686,
|
791
791
|
"isConstant": false,
|
792
792
|
"isLValue": false,
|
793
793
|
"isPure": true,
|
@@ -796,36 +796,36 @@
|
|
796
796
|
"nameLocations": [],
|
797
797
|
"names": [],
|
798
798
|
"nodeType": "FunctionCall",
|
799
|
-
"src": "
|
799
|
+
"src": "1494:10:97",
|
800
800
|
"tryCall": false,
|
801
801
|
"typeDescriptions": {
|
802
802
|
"typeIdentifier": "t_address",
|
803
803
|
"typeString": "address"
|
804
804
|
}
|
805
805
|
},
|
806
|
-
"src": "
|
806
|
+
"src": "1484:20:97",
|
807
807
|
"typeDescriptions": {
|
808
808
|
"typeIdentifier": "t_bool",
|
809
809
|
"typeString": "bool"
|
810
810
|
}
|
811
811
|
},
|
812
|
-
"id":
|
812
|
+
"id": 38693,
|
813
813
|
"nodeType": "IfStatement",
|
814
|
-
"src": "
|
814
|
+
"src": "1480:45:97",
|
815
815
|
"trueBody": {
|
816
816
|
"expression": {
|
817
|
-
"id":
|
817
|
+
"id": 38691,
|
818
818
|
"isConstant": false,
|
819
819
|
"isLValue": false,
|
820
820
|
"isPure": false,
|
821
821
|
"lValueRequested": false,
|
822
822
|
"leftHandSide": {
|
823
|
-
"id":
|
823
|
+
"id": 38688,
|
824
824
|
"name": "sender",
|
825
825
|
"nodeType": "Identifier",
|
826
826
|
"overloadedDeclarations": [],
|
827
|
-
"referencedDeclaration":
|
828
|
-
"src": "
|
827
|
+
"referencedDeclaration": 38679,
|
828
|
+
"src": "1506:6:97",
|
829
829
|
"typeDescriptions": {
|
830
830
|
"typeIdentifier": "t_address",
|
831
831
|
"typeString": "address"
|
@@ -835,72 +835,78 @@
|
|
835
835
|
"operator": "=",
|
836
836
|
"rightHandSide": {
|
837
837
|
"expression": {
|
838
|
-
"id":
|
838
|
+
"id": 38689,
|
839
839
|
"name": "msg",
|
840
840
|
"nodeType": "Identifier",
|
841
841
|
"overloadedDeclarations": [],
|
842
842
|
"referencedDeclaration": -15,
|
843
|
-
"src": "
|
843
|
+
"src": "1515:3:97",
|
844
844
|
"typeDescriptions": {
|
845
845
|
"typeIdentifier": "t_magic_message",
|
846
846
|
"typeString": "msg"
|
847
847
|
}
|
848
848
|
},
|
849
|
-
"id":
|
849
|
+
"id": 38690,
|
850
850
|
"isConstant": false,
|
851
851
|
"isLValue": false,
|
852
852
|
"isPure": false,
|
853
853
|
"lValueRequested": false,
|
854
|
-
"memberLocation": "
|
854
|
+
"memberLocation": "1519:6:97",
|
855
855
|
"memberName": "sender",
|
856
856
|
"nodeType": "MemberAccess",
|
857
|
-
"src": "
|
857
|
+
"src": "1515:10:97",
|
858
858
|
"typeDescriptions": {
|
859
859
|
"typeIdentifier": "t_address",
|
860
860
|
"typeString": "address"
|
861
861
|
}
|
862
862
|
},
|
863
|
-
"src": "
|
863
|
+
"src": "1506:19:97",
|
864
864
|
"typeDescriptions": {
|
865
865
|
"typeIdentifier": "t_address",
|
866
866
|
"typeString": "address"
|
867
867
|
}
|
868
868
|
},
|
869
|
-
"id":
|
869
|
+
"id": 38692,
|
870
870
|
"nodeType": "ExpressionStatement",
|
871
|
-
"src": "
|
871
|
+
"src": "1506:19:97"
|
872
872
|
}
|
873
873
|
}
|
874
874
|
]
|
875
875
|
},
|
876
876
|
"baseFunctions": [
|
877
|
-
|
877
|
+
60832
|
878
878
|
],
|
879
|
+
"documentation": {
|
880
|
+
"id": 38676,
|
881
|
+
"nodeType": "StructuredDocumentation",
|
882
|
+
"src": "1005:143:97",
|
883
|
+
"text": " @notice Extracts the trusted msg.sender value from the appended calldata.\n @return sender The address of the trusted sender."
|
884
|
+
},
|
879
885
|
"functionSelector": "119df25f",
|
880
886
|
"implemented": true,
|
881
887
|
"kind": "function",
|
882
888
|
"modifiers": [],
|
883
889
|
"name": "_msgSender",
|
884
|
-
"nameLocation": "
|
890
|
+
"nameLocation": "1160:10:97",
|
885
891
|
"parameters": {
|
886
|
-
"id":
|
892
|
+
"id": 38677,
|
887
893
|
"nodeType": "ParameterList",
|
888
894
|
"parameters": [],
|
889
|
-
"src": "
|
895
|
+
"src": "1170:2:97"
|
890
896
|
},
|
891
897
|
"returnParameters": {
|
892
|
-
"id":
|
898
|
+
"id": 38680,
|
893
899
|
"nodeType": "ParameterList",
|
894
900
|
"parameters": [
|
895
901
|
{
|
896
902
|
"constant": false,
|
897
|
-
"id":
|
903
|
+
"id": 38679,
|
898
904
|
"mutability": "mutable",
|
899
905
|
"name": "sender",
|
900
|
-
"nameLocation": "
|
906
|
+
"nameLocation": "1202:6:97",
|
901
907
|
"nodeType": "VariableDeclaration",
|
902
|
-
"scope":
|
903
|
-
"src": "
|
908
|
+
"scope": 38695,
|
909
|
+
"src": "1194:14:97",
|
904
910
|
"stateVariable": false,
|
905
911
|
"storageLocation": "default",
|
906
912
|
"typeDescriptions": {
|
@@ -908,10 +914,10 @@
|
|
908
914
|
"typeString": "address"
|
909
915
|
},
|
910
916
|
"typeName": {
|
911
|
-
"id":
|
917
|
+
"id": 38678,
|
912
918
|
"name": "address",
|
913
919
|
"nodeType": "ElementaryTypeName",
|
914
|
-
"src": "
|
920
|
+
"src": "1194:7:97",
|
915
921
|
"stateMutability": "nonpayable",
|
916
922
|
"typeDescriptions": {
|
917
923
|
"typeIdentifier": "t_address",
|
@@ -921,34 +927,34 @@
|
|
921
927
|
"visibility": "internal"
|
922
928
|
}
|
923
929
|
],
|
924
|
-
"src": "
|
930
|
+
"src": "1193:16:97"
|
925
931
|
},
|
926
|
-
"scope":
|
932
|
+
"scope": 38732,
|
927
933
|
"stateMutability": "view",
|
928
934
|
"virtual": false,
|
929
935
|
"visibility": "public"
|
930
936
|
},
|
931
937
|
{
|
932
|
-
"id":
|
938
|
+
"id": 38703,
|
933
939
|
"nodeType": "FunctionDefinition",
|
934
|
-
"src": "
|
940
|
+
"src": "1771:212:97",
|
935
941
|
"nodes": [],
|
936
942
|
"body": {
|
937
|
-
"id":
|
943
|
+
"id": 38702,
|
938
944
|
"nodeType": "Block",
|
939
|
-
"src": "
|
945
|
+
"src": "1828:155:97",
|
940
946
|
"nodes": [],
|
941
947
|
"statements": [
|
942
948
|
{
|
943
949
|
"AST": {
|
944
|
-
"nativeSrc": "
|
950
|
+
"nativeSrc": "1843:136:97",
|
945
951
|
"nodeType": "YulBlock",
|
946
|
-
"src": "
|
952
|
+
"src": "1843:136:97",
|
947
953
|
"statements": [
|
948
954
|
{
|
949
|
-
"nativeSrc": "
|
955
|
+
"nativeSrc": "1927:46:97",
|
950
956
|
"nodeType": "YulAssignment",
|
951
|
-
"src": "
|
957
|
+
"src": "1927:46:97",
|
952
958
|
"value": {
|
953
959
|
"arguments": [
|
954
960
|
{
|
@@ -957,50 +963,50 @@
|
|
957
963
|
"arguments": [],
|
958
964
|
"functionName": {
|
959
965
|
"name": "calldatasize",
|
960
|
-
"nativeSrc": "
|
966
|
+
"nativeSrc": "1953:12:97",
|
961
967
|
"nodeType": "YulIdentifier",
|
962
|
-
"src": "
|
968
|
+
"src": "1953:12:97"
|
963
969
|
},
|
964
|
-
"nativeSrc": "
|
970
|
+
"nativeSrc": "1953:14:97",
|
965
971
|
"nodeType": "YulFunctionCall",
|
966
|
-
"src": "
|
972
|
+
"src": "1953:14:97"
|
967
973
|
},
|
968
974
|
{
|
969
975
|
"kind": "number",
|
970
|
-
"nativeSrc": "
|
976
|
+
"nativeSrc": "1969:2:97",
|
971
977
|
"nodeType": "YulLiteral",
|
972
|
-
"src": "
|
978
|
+
"src": "1969:2:97",
|
973
979
|
"type": "",
|
974
980
|
"value": "32"
|
975
981
|
}
|
976
982
|
],
|
977
983
|
"functionName": {
|
978
984
|
"name": "sub",
|
979
|
-
"nativeSrc": "
|
985
|
+
"nativeSrc": "1949:3:97",
|
980
986
|
"nodeType": "YulIdentifier",
|
981
|
-
"src": "
|
987
|
+
"src": "1949:3:97"
|
982
988
|
},
|
983
|
-
"nativeSrc": "
|
989
|
+
"nativeSrc": "1949:23:97",
|
984
990
|
"nodeType": "YulFunctionCall",
|
985
|
-
"src": "
|
991
|
+
"src": "1949:23:97"
|
986
992
|
}
|
987
993
|
],
|
988
994
|
"functionName": {
|
989
995
|
"name": "calldataload",
|
990
|
-
"nativeSrc": "
|
996
|
+
"nativeSrc": "1936:12:97",
|
991
997
|
"nodeType": "YulIdentifier",
|
992
|
-
"src": "
|
998
|
+
"src": "1936:12:97"
|
993
999
|
},
|
994
|
-
"nativeSrc": "
|
1000
|
+
"nativeSrc": "1936:37:97",
|
995
1001
|
"nodeType": "YulFunctionCall",
|
996
|
-
"src": "
|
1002
|
+
"src": "1936:37:97"
|
997
1003
|
},
|
998
1004
|
"variableNames": [
|
999
1005
|
{
|
1000
1006
|
"name": "value",
|
1001
|
-
"nativeSrc": "
|
1007
|
+
"nativeSrc": "1927:5:97",
|
1002
1008
|
"nodeType": "YulIdentifier",
|
1003
|
-
"src": "
|
1009
|
+
"src": "1927:5:97"
|
1004
1010
|
}
|
1005
1011
|
]
|
1006
1012
|
}
|
@@ -1009,47 +1015,53 @@
|
|
1009
1015
|
"evmVersion": "paris",
|
1010
1016
|
"externalReferences": [
|
1011
1017
|
{
|
1012
|
-
"declaration":
|
1018
|
+
"declaration": 38699,
|
1013
1019
|
"isOffset": false,
|
1014
1020
|
"isSlot": false,
|
1015
|
-
"src": "
|
1021
|
+
"src": "1927:5:97",
|
1016
1022
|
"valueSize": 1
|
1017
1023
|
}
|
1018
1024
|
],
|
1019
|
-
"id":
|
1025
|
+
"id": 38701,
|
1020
1026
|
"nodeType": "InlineAssembly",
|
1021
|
-
"src": "
|
1027
|
+
"src": "1834:145:97"
|
1022
1028
|
}
|
1023
1029
|
]
|
1024
1030
|
},
|
1025
1031
|
"baseFunctions": [
|
1026
|
-
|
1032
|
+
60838
|
1027
1033
|
],
|
1034
|
+
"documentation": {
|
1035
|
+
"id": 38696,
|
1036
|
+
"nodeType": "StructuredDocumentation",
|
1037
|
+
"src": "1534:234:97",
|
1038
|
+
"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
|
+
},
|
1028
1040
|
"functionSelector": "45ec9354",
|
1029
1041
|
"implemented": true,
|
1030
1042
|
"kind": "function",
|
1031
1043
|
"modifiers": [],
|
1032
1044
|
"name": "_msgValue",
|
1033
|
-
"nameLocation": "
|
1045
|
+
"nameLocation": "1780:9:97",
|
1034
1046
|
"parameters": {
|
1035
|
-
"id":
|
1047
|
+
"id": 38697,
|
1036
1048
|
"nodeType": "ParameterList",
|
1037
1049
|
"parameters": [],
|
1038
|
-
"src": "
|
1050
|
+
"src": "1789:2:97"
|
1039
1051
|
},
|
1040
1052
|
"returnParameters": {
|
1041
|
-
"id":
|
1053
|
+
"id": 38700,
|
1042
1054
|
"nodeType": "ParameterList",
|
1043
1055
|
"parameters": [
|
1044
1056
|
{
|
1045
1057
|
"constant": false,
|
1046
|
-
"id":
|
1058
|
+
"id": 38699,
|
1047
1059
|
"mutability": "mutable",
|
1048
1060
|
"name": "value",
|
1049
|
-
"nameLocation": "
|
1061
|
+
"nameLocation": "1821:5:97",
|
1050
1062
|
"nodeType": "VariableDeclaration",
|
1051
|
-
"scope":
|
1052
|
-
"src": "
|
1063
|
+
"scope": 38703,
|
1064
|
+
"src": "1813:13:97",
|
1053
1065
|
"stateVariable": false,
|
1054
1066
|
"storageLocation": "default",
|
1055
1067
|
"typeDescriptions": {
|
@@ -1057,10 +1069,10 @@
|
|
1057
1069
|
"typeString": "uint256"
|
1058
1070
|
},
|
1059
1071
|
"typeName": {
|
1060
|
-
"id":
|
1072
|
+
"id": 38698,
|
1061
1073
|
"name": "uint256",
|
1062
1074
|
"nodeType": "ElementaryTypeName",
|
1063
|
-
"src": "
|
1075
|
+
"src": "1813:7:97",
|
1064
1076
|
"typeDescriptions": {
|
1065
1077
|
"typeIdentifier": "t_uint256",
|
1066
1078
|
"typeString": "uint256"
|
@@ -1069,22 +1081,22 @@
|
|
1069
1081
|
"visibility": "internal"
|
1070
1082
|
}
|
1071
1083
|
],
|
1072
|
-
"src": "
|
1084
|
+
"src": "1812:15:97"
|
1073
1085
|
},
|
1074
|
-
"scope":
|
1086
|
+
"scope": 38732,
|
1075
1087
|
"stateMutability": "pure",
|
1076
1088
|
"virtual": false,
|
1077
1089
|
"visibility": "public"
|
1078
1090
|
},
|
1079
1091
|
{
|
1080
|
-
"id":
|
1092
|
+
"id": 38714,
|
1081
1093
|
"nodeType": "FunctionDefinition",
|
1082
|
-
"src": "
|
1094
|
+
"src": "2199:95:97",
|
1083
1095
|
"nodes": [],
|
1084
1096
|
"body": {
|
1085
|
-
"id":
|
1097
|
+
"id": 38713,
|
1086
1098
|
"nodeType": "Block",
|
1087
|
-
"src": "
|
1099
|
+
"src": "2247:47:97",
|
1088
1100
|
"nodes": [],
|
1089
1101
|
"statements": [
|
1090
1102
|
{
|
@@ -1093,33 +1105,33 @@
|
|
1093
1105
|
"expression": {
|
1094
1106
|
"argumentTypes": [],
|
1095
1107
|
"expression": {
|
1096
|
-
"id":
|
1108
|
+
"id": 38709,
|
1097
1109
|
"name": "StoreSwitch",
|
1098
1110
|
"nodeType": "Identifier",
|
1099
1111
|
"overloadedDeclarations": [],
|
1100
|
-
"referencedDeclaration":
|
1101
|
-
"src": "
|
1112
|
+
"referencedDeclaration": 30870,
|
1113
|
+
"src": "2260:11:97",
|
1102
1114
|
"typeDescriptions": {
|
1103
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
1115
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$30870_$",
|
1104
1116
|
"typeString": "type(library StoreSwitch)"
|
1105
1117
|
}
|
1106
1118
|
},
|
1107
|
-
"id":
|
1119
|
+
"id": 38710,
|
1108
1120
|
"isConstant": false,
|
1109
1121
|
"isLValue": false,
|
1110
1122
|
"isPure": false,
|
1111
1123
|
"lValueRequested": false,
|
1112
|
-
"memberLocation": "
|
1124
|
+
"memberLocation": "2272:15:97",
|
1113
1125
|
"memberName": "getStoreAddress",
|
1114
1126
|
"nodeType": "MemberAccess",
|
1115
|
-
"referencedDeclaration":
|
1116
|
-
"src": "
|
1127
|
+
"referencedDeclaration": 29640,
|
1128
|
+
"src": "2260:27:97",
|
1117
1129
|
"typeDescriptions": {
|
1118
1130
|
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
1119
1131
|
"typeString": "function () view returns (address)"
|
1120
1132
|
}
|
1121
1133
|
},
|
1122
|
-
"id":
|
1134
|
+
"id": 38711,
|
1123
1135
|
"isConstant": false,
|
1124
1136
|
"isLValue": false,
|
1125
1137
|
"isPure": false,
|
@@ -1128,48 +1140,54 @@
|
|
1128
1140
|
"nameLocations": [],
|
1129
1141
|
"names": [],
|
1130
1142
|
"nodeType": "FunctionCall",
|
1131
|
-
"src": "
|
1143
|
+
"src": "2260:29:97",
|
1132
1144
|
"tryCall": false,
|
1133
1145
|
"typeDescriptions": {
|
1134
1146
|
"typeIdentifier": "t_address",
|
1135
1147
|
"typeString": "address"
|
1136
1148
|
}
|
1137
1149
|
},
|
1138
|
-
"functionReturnParameters":
|
1139
|
-
"id":
|
1150
|
+
"functionReturnParameters": 38708,
|
1151
|
+
"id": 38712,
|
1140
1152
|
"nodeType": "Return",
|
1141
|
-
"src": "
|
1153
|
+
"src": "2253:36:97"
|
1142
1154
|
}
|
1143
1155
|
]
|
1144
1156
|
},
|
1145
1157
|
"baseFunctions": [
|
1146
|
-
|
1158
|
+
60844
|
1147
1159
|
],
|
1160
|
+
"documentation": {
|
1161
|
+
"id": 38704,
|
1162
|
+
"nodeType": "StructuredDocumentation",
|
1163
|
+
"src": "1987:209:97",
|
1164
|
+
"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
|
+
},
|
1148
1166
|
"functionSelector": "e1af802c",
|
1149
1167
|
"implemented": true,
|
1150
1168
|
"kind": "function",
|
1151
1169
|
"modifiers": [],
|
1152
1170
|
"name": "_world",
|
1153
|
-
"nameLocation": "
|
1171
|
+
"nameLocation": "2208:6:97",
|
1154
1172
|
"parameters": {
|
1155
|
-
"id":
|
1173
|
+
"id": 38705,
|
1156
1174
|
"nodeType": "ParameterList",
|
1157
1175
|
"parameters": [],
|
1158
|
-
"src": "
|
1176
|
+
"src": "2214:2:97"
|
1159
1177
|
},
|
1160
1178
|
"returnParameters": {
|
1161
|
-
"id":
|
1179
|
+
"id": 38708,
|
1162
1180
|
"nodeType": "ParameterList",
|
1163
1181
|
"parameters": [
|
1164
1182
|
{
|
1165
1183
|
"constant": false,
|
1166
|
-
"id":
|
1184
|
+
"id": 38707,
|
1167
1185
|
"mutability": "mutable",
|
1168
1186
|
"name": "",
|
1169
1187
|
"nameLocation": "-1:-1:-1",
|
1170
1188
|
"nodeType": "VariableDeclaration",
|
1171
|
-
"scope":
|
1172
|
-
"src": "
|
1189
|
+
"scope": 38714,
|
1190
|
+
"src": "2238:7:97",
|
1173
1191
|
"stateVariable": false,
|
1174
1192
|
"storageLocation": "default",
|
1175
1193
|
"typeDescriptions": {
|
@@ -1177,10 +1195,10 @@
|
|
1177
1195
|
"typeString": "address"
|
1178
1196
|
},
|
1179
1197
|
"typeName": {
|
1180
|
-
"id":
|
1198
|
+
"id": 38706,
|
1181
1199
|
"name": "address",
|
1182
1200
|
"nodeType": "ElementaryTypeName",
|
1183
|
-
"src": "
|
1201
|
+
"src": "2238:7:97",
|
1184
1202
|
"stateMutability": "nonpayable",
|
1185
1203
|
"typeDescriptions": {
|
1186
1204
|
"typeIdentifier": "t_address",
|
@@ -1190,22 +1208,22 @@
|
|
1190
1208
|
"visibility": "internal"
|
1191
1209
|
}
|
1192
1210
|
],
|
1193
|
-
"src": "
|
1211
|
+
"src": "2237:9:97"
|
1194
1212
|
},
|
1195
|
-
"scope":
|
1213
|
+
"scope": 38732,
|
1196
1214
|
"stateMutability": "view",
|
1197
1215
|
"virtual": false,
|
1198
1216
|
"visibility": "public"
|
1199
1217
|
},
|
1200
1218
|
{
|
1201
|
-
"id":
|
1219
|
+
"id": 38731,
|
1202
1220
|
"nodeType": "FunctionDefinition",
|
1203
|
-
"src": "
|
1221
|
+
"src": "2585:188:97",
|
1204
1222
|
"nodes": [],
|
1205
1223
|
"body": {
|
1206
|
-
"id":
|
1224
|
+
"id": 38730,
|
1207
1225
|
"nodeType": "Block",
|
1208
|
-
"src": "
|
1226
|
+
"src": "2667:106:97",
|
1209
1227
|
"nodes": [],
|
1210
1228
|
"statements": [
|
1211
1229
|
{
|
@@ -1214,7 +1232,7 @@
|
|
1214
1232
|
"typeIdentifier": "t_bool",
|
1215
1233
|
"typeString": "bool"
|
1216
1234
|
},
|
1217
|
-
"id":
|
1235
|
+
"id": 38728,
|
1218
1236
|
"isConstant": false,
|
1219
1237
|
"isLValue": false,
|
1220
1238
|
"isPure": false,
|
@@ -1224,18 +1242,18 @@
|
|
1224
1242
|
"typeIdentifier": "t_bytes4",
|
1225
1243
|
"typeString": "bytes4"
|
1226
1244
|
},
|
1227
|
-
"id":
|
1245
|
+
"id": 38724,
|
1228
1246
|
"isConstant": false,
|
1229
1247
|
"isLValue": false,
|
1230
1248
|
"isPure": false,
|
1231
1249
|
"lValueRequested": false,
|
1232
1250
|
"leftExpression": {
|
1233
|
-
"id":
|
1251
|
+
"id": 38722,
|
1234
1252
|
"name": "interfaceId",
|
1235
1253
|
"nodeType": "Identifier",
|
1236
1254
|
"overloadedDeclarations": [],
|
1237
|
-
"referencedDeclaration":
|
1238
|
-
"src": "
|
1255
|
+
"referencedDeclaration": 38717,
|
1256
|
+
"src": "2680:11:97",
|
1239
1257
|
"typeDescriptions": {
|
1240
1258
|
"typeIdentifier": "t_bytes4",
|
1241
1259
|
"typeString": "bytes4"
|
@@ -1244,18 +1262,18 @@
|
|
1244
1262
|
"nodeType": "BinaryOperation",
|
1245
1263
|
"operator": "==",
|
1246
1264
|
"rightExpression": {
|
1247
|
-
"id":
|
1265
|
+
"id": 38723,
|
1248
1266
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
1249
1267
|
"nodeType": "Identifier",
|
1250
1268
|
"overloadedDeclarations": [],
|
1251
|
-
"referencedDeclaration":
|
1252
|
-
"src": "
|
1269
|
+
"referencedDeclaration": 60823,
|
1270
|
+
"src": "2695:35:97",
|
1253
1271
|
"typeDescriptions": {
|
1254
1272
|
"typeIdentifier": "t_bytes4",
|
1255
1273
|
"typeString": "bytes4"
|
1256
1274
|
}
|
1257
1275
|
},
|
1258
|
-
"src": "
|
1276
|
+
"src": "2680:50:97",
|
1259
1277
|
"typeDescriptions": {
|
1260
1278
|
"typeIdentifier": "t_bool",
|
1261
1279
|
"typeString": "bool"
|
@@ -1268,18 +1286,18 @@
|
|
1268
1286
|
"typeIdentifier": "t_bytes4",
|
1269
1287
|
"typeString": "bytes4"
|
1270
1288
|
},
|
1271
|
-
"id":
|
1289
|
+
"id": 38727,
|
1272
1290
|
"isConstant": false,
|
1273
1291
|
"isLValue": false,
|
1274
1292
|
"isPure": false,
|
1275
1293
|
"lValueRequested": false,
|
1276
1294
|
"leftExpression": {
|
1277
|
-
"id":
|
1295
|
+
"id": 38725,
|
1278
1296
|
"name": "interfaceId",
|
1279
1297
|
"nodeType": "Identifier",
|
1280
1298
|
"overloadedDeclarations": [],
|
1281
|
-
"referencedDeclaration":
|
1282
|
-
"src": "
|
1299
|
+
"referencedDeclaration": 38717,
|
1300
|
+
"src": "2734:11:97",
|
1283
1301
|
"typeDescriptions": {
|
1284
1302
|
"typeIdentifier": "t_bytes4",
|
1285
1303
|
"typeString": "bytes4"
|
@@ -1288,58 +1306,64 @@
|
|
1288
1306
|
"nodeType": "BinaryOperation",
|
1289
1307
|
"operator": "==",
|
1290
1308
|
"rightExpression": {
|
1291
|
-
"id":
|
1309
|
+
"id": 38726,
|
1292
1310
|
"name": "ERC165_INTERFACE_ID",
|
1293
1311
|
"nodeType": "Identifier",
|
1294
1312
|
"overloadedDeclarations": [],
|
1295
|
-
"referencedDeclaration":
|
1296
|
-
"src": "
|
1313
|
+
"referencedDeclaration": 60792,
|
1314
|
+
"src": "2749:19:97",
|
1297
1315
|
"typeDescriptions": {
|
1298
1316
|
"typeIdentifier": "t_bytes4",
|
1299
1317
|
"typeString": "bytes4"
|
1300
1318
|
}
|
1301
1319
|
},
|
1302
|
-
"src": "
|
1320
|
+
"src": "2734:34:97",
|
1303
1321
|
"typeDescriptions": {
|
1304
1322
|
"typeIdentifier": "t_bool",
|
1305
1323
|
"typeString": "bool"
|
1306
1324
|
}
|
1307
1325
|
},
|
1308
|
-
"src": "
|
1326
|
+
"src": "2680:88:97",
|
1309
1327
|
"typeDescriptions": {
|
1310
1328
|
"typeIdentifier": "t_bool",
|
1311
1329
|
"typeString": "bool"
|
1312
1330
|
}
|
1313
1331
|
},
|
1314
|
-
"functionReturnParameters":
|
1315
|
-
"id":
|
1332
|
+
"functionReturnParameters": 38721,
|
1333
|
+
"id": 38729,
|
1316
1334
|
"nodeType": "Return",
|
1317
|
-
"src": "
|
1335
|
+
"src": "2673:95:97"
|
1318
1336
|
}
|
1319
1337
|
]
|
1320
1338
|
},
|
1321
1339
|
"baseFunctions": [
|
1322
|
-
|
1340
|
+
60801
|
1323
1341
|
],
|
1342
|
+
"documentation": {
|
1343
|
+
"id": 38715,
|
1344
|
+
"nodeType": "StructuredDocumentation",
|
1345
|
+
"src": "2298:284:97",
|
1346
|
+
"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."
|
1347
|
+
},
|
1324
1348
|
"functionSelector": "01ffc9a7",
|
1325
1349
|
"implemented": true,
|
1326
1350
|
"kind": "function",
|
1327
1351
|
"modifiers": [],
|
1328
1352
|
"name": "supportsInterface",
|
1329
|
-
"nameLocation": "
|
1353
|
+
"nameLocation": "2594:17:97",
|
1330
1354
|
"parameters": {
|
1331
|
-
"id":
|
1355
|
+
"id": 38718,
|
1332
1356
|
"nodeType": "ParameterList",
|
1333
1357
|
"parameters": [
|
1334
1358
|
{
|
1335
1359
|
"constant": false,
|
1336
|
-
"id":
|
1360
|
+
"id": 38717,
|
1337
1361
|
"mutability": "mutable",
|
1338
1362
|
"name": "interfaceId",
|
1339
|
-
"nameLocation": "
|
1363
|
+
"nameLocation": "2619:11:97",
|
1340
1364
|
"nodeType": "VariableDeclaration",
|
1341
|
-
"scope":
|
1342
|
-
"src": "
|
1365
|
+
"scope": 38731,
|
1366
|
+
"src": "2612:18:97",
|
1343
1367
|
"stateVariable": false,
|
1344
1368
|
"storageLocation": "default",
|
1345
1369
|
"typeDescriptions": {
|
@@ -1347,10 +1371,10 @@
|
|
1347
1371
|
"typeString": "bytes4"
|
1348
1372
|
},
|
1349
1373
|
"typeName": {
|
1350
|
-
"id":
|
1374
|
+
"id": 38716,
|
1351
1375
|
"name": "bytes4",
|
1352
1376
|
"nodeType": "ElementaryTypeName",
|
1353
|
-
"src": "
|
1377
|
+
"src": "2612:6:97",
|
1354
1378
|
"typeDescriptions": {
|
1355
1379
|
"typeIdentifier": "t_bytes4",
|
1356
1380
|
"typeString": "bytes4"
|
@@ -1359,21 +1383,21 @@
|
|
1359
1383
|
"visibility": "internal"
|
1360
1384
|
}
|
1361
1385
|
],
|
1362
|
-
"src": "
|
1386
|
+
"src": "2611:20:97"
|
1363
1387
|
},
|
1364
1388
|
"returnParameters": {
|
1365
|
-
"id":
|
1389
|
+
"id": 38721,
|
1366
1390
|
"nodeType": "ParameterList",
|
1367
1391
|
"parameters": [
|
1368
1392
|
{
|
1369
1393
|
"constant": false,
|
1370
|
-
"id":
|
1394
|
+
"id": 38720,
|
1371
1395
|
"mutability": "mutable",
|
1372
1396
|
"name": "",
|
1373
1397
|
"nameLocation": "-1:-1:-1",
|
1374
1398
|
"nodeType": "VariableDeclaration",
|
1375
|
-
"scope":
|
1376
|
-
"src": "
|
1399
|
+
"scope": 38731,
|
1400
|
+
"src": "2661:4:97",
|
1377
1401
|
"stateVariable": false,
|
1378
1402
|
"storageLocation": "default",
|
1379
1403
|
"typeDescriptions": {
|
@@ -1381,10 +1405,10 @@
|
|
1381
1405
|
"typeString": "bool"
|
1382
1406
|
},
|
1383
1407
|
"typeName": {
|
1384
|
-
"id":
|
1408
|
+
"id": 38719,
|
1385
1409
|
"name": "bool",
|
1386
1410
|
"nodeType": "ElementaryTypeName",
|
1387
|
-
"src": "
|
1411
|
+
"src": "2661:4:97",
|
1388
1412
|
"typeDescriptions": {
|
1389
1413
|
"typeIdentifier": "t_bool",
|
1390
1414
|
"typeString": "bool"
|
@@ -1393,9 +1417,9 @@
|
|
1393
1417
|
"visibility": "internal"
|
1394
1418
|
}
|
1395
1419
|
],
|
1396
|
-
"src": "
|
1420
|
+
"src": "2660:6:97"
|
1397
1421
|
},
|
1398
|
-
"scope":
|
1422
|
+
"scope": 38732,
|
1399
1423
|
"stateMutability": "pure",
|
1400
1424
|
"virtual": true,
|
1401
1425
|
"visibility": "public"
|
@@ -1405,85 +1429,91 @@
|
|
1405
1429
|
"baseContracts": [
|
1406
1430
|
{
|
1407
1431
|
"baseName": {
|
1408
|
-
"id":
|
1432
|
+
"id": 38674,
|
1409
1433
|
"name": "IWorldContextConsumer",
|
1410
1434
|
"nameLocations": [
|
1411
|
-
"
|
1435
|
+
"979:21:97"
|
1412
1436
|
],
|
1413
1437
|
"nodeType": "IdentifierPath",
|
1414
|
-
"referencedDeclaration":
|
1415
|
-
"src": "
|
1438
|
+
"referencedDeclaration": 60845,
|
1439
|
+
"src": "979:21:97"
|
1416
1440
|
},
|
1417
|
-
"id":
|
1441
|
+
"id": 38675,
|
1418
1442
|
"nodeType": "InheritanceSpecifier",
|
1419
|
-
"src": "
|
1443
|
+
"src": "979:21:97"
|
1420
1444
|
}
|
1421
1445
|
],
|
1422
1446
|
"canonicalName": "WorldContextConsumer",
|
1423
1447
|
"contractDependencies": [],
|
1424
1448
|
"contractKind": "contract",
|
1449
|
+
"documentation": {
|
1450
|
+
"id": 38673,
|
1451
|
+
"nodeType": "StructuredDocumentation",
|
1452
|
+
"src": "463:473:97",
|
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
|
+
},
|
1425
1455
|
"fullyImplemented": true,
|
1426
1456
|
"linearizedBaseContracts": [
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1457
|
+
38732,
|
1458
|
+
60845,
|
1459
|
+
60802
|
1430
1460
|
],
|
1431
1461
|
"name": "WorldContextConsumer",
|
1432
|
-
"nameLocation": "
|
1433
|
-
"scope":
|
1462
|
+
"nameLocation": "955:20:97",
|
1463
|
+
"scope": 38887,
|
1434
1464
|
"usedErrors": [],
|
1435
1465
|
"usedEvents": []
|
1436
1466
|
},
|
1437
1467
|
{
|
1438
|
-
"id":
|
1468
|
+
"id": 38886,
|
1439
1469
|
"nodeType": "ContractDefinition",
|
1440
|
-
"src": "
|
1470
|
+
"src": "3107:3919:97",
|
1441
1471
|
"nodes": [
|
1442
1472
|
{
|
1443
|
-
"id":
|
1473
|
+
"id": 38753,
|
1444
1474
|
"nodeType": "FunctionDefinition",
|
1445
|
-
"src": "
|
1475
|
+
"src": "3453:201:97",
|
1446
1476
|
"nodes": [],
|
1447
1477
|
"body": {
|
1448
|
-
"id":
|
1478
|
+
"id": 38752,
|
1449
1479
|
"nodeType": "Block",
|
1450
|
-
"src": "
|
1480
|
+
"src": "3589:65:97",
|
1451
1481
|
"nodes": [],
|
1452
1482
|
"statements": [
|
1453
1483
|
{
|
1454
1484
|
"expression": {
|
1455
1485
|
"arguments": [
|
1456
1486
|
{
|
1457
|
-
"id":
|
1487
|
+
"id": 38747,
|
1458
1488
|
"name": "callData",
|
1459
1489
|
"nodeType": "Identifier",
|
1460
1490
|
"overloadedDeclarations": [],
|
1461
|
-
"referencedDeclaration":
|
1462
|
-
"src": "
|
1491
|
+
"referencedDeclaration": 38736,
|
1492
|
+
"src": "3619:8:97",
|
1463
1493
|
"typeDescriptions": {
|
1464
1494
|
"typeIdentifier": "t_bytes_memory_ptr",
|
1465
1495
|
"typeString": "bytes memory"
|
1466
1496
|
}
|
1467
1497
|
},
|
1468
1498
|
{
|
1469
|
-
"id":
|
1499
|
+
"id": 38748,
|
1470
1500
|
"name": "msgSender",
|
1471
1501
|
"nodeType": "Identifier",
|
1472
1502
|
"overloadedDeclarations": [],
|
1473
|
-
"referencedDeclaration":
|
1474
|
-
"src": "
|
1503
|
+
"referencedDeclaration": 38738,
|
1504
|
+
"src": "3629:9:97",
|
1475
1505
|
"typeDescriptions": {
|
1476
1506
|
"typeIdentifier": "t_address",
|
1477
1507
|
"typeString": "address"
|
1478
1508
|
}
|
1479
1509
|
},
|
1480
1510
|
{
|
1481
|
-
"id":
|
1511
|
+
"id": 38749,
|
1482
1512
|
"name": "msgValue",
|
1483
1513
|
"nodeType": "Identifier",
|
1484
1514
|
"overloadedDeclarations": [],
|
1485
|
-
"referencedDeclaration":
|
1486
|
-
"src": "
|
1515
|
+
"referencedDeclaration": 38740,
|
1516
|
+
"src": "3640:8:97",
|
1487
1517
|
"typeDescriptions": {
|
1488
1518
|
"typeIdentifier": "t_uint256",
|
1489
1519
|
"typeString": "uint256"
|
@@ -1506,32 +1536,32 @@
|
|
1506
1536
|
}
|
1507
1537
|
],
|
1508
1538
|
"expression": {
|
1509
|
-
"id":
|
1539
|
+
"id": 38745,
|
1510
1540
|
"name": "abi",
|
1511
1541
|
"nodeType": "Identifier",
|
1512
1542
|
"overloadedDeclarations": [],
|
1513
1543
|
"referencedDeclaration": -1,
|
1514
|
-
"src": "
|
1544
|
+
"src": "3602:3:97",
|
1515
1545
|
"typeDescriptions": {
|
1516
1546
|
"typeIdentifier": "t_magic_abi",
|
1517
1547
|
"typeString": "abi"
|
1518
1548
|
}
|
1519
1549
|
},
|
1520
|
-
"id":
|
1550
|
+
"id": 38746,
|
1521
1551
|
"isConstant": false,
|
1522
1552
|
"isLValue": false,
|
1523
1553
|
"isPure": true,
|
1524
1554
|
"lValueRequested": false,
|
1525
|
-
"memberLocation": "
|
1555
|
+
"memberLocation": "3606:12:97",
|
1526
1556
|
"memberName": "encodePacked",
|
1527
1557
|
"nodeType": "MemberAccess",
|
1528
|
-
"src": "
|
1558
|
+
"src": "3602:16:97",
|
1529
1559
|
"typeDescriptions": {
|
1530
1560
|
"typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
|
1531
1561
|
"typeString": "function () pure returns (bytes memory)"
|
1532
1562
|
}
|
1533
1563
|
},
|
1534
|
-
"id":
|
1564
|
+
"id": 38750,
|
1535
1565
|
"isConstant": false,
|
1536
1566
|
"isLValue": false,
|
1537
1567
|
"isPure": false,
|
@@ -1540,38 +1570,44 @@
|
|
1540
1570
|
"nameLocations": [],
|
1541
1571
|
"names": [],
|
1542
1572
|
"nodeType": "FunctionCall",
|
1543
|
-
"src": "
|
1573
|
+
"src": "3602:47:97",
|
1544
1574
|
"tryCall": false,
|
1545
1575
|
"typeDescriptions": {
|
1546
1576
|
"typeIdentifier": "t_bytes_memory_ptr",
|
1547
1577
|
"typeString": "bytes memory"
|
1548
1578
|
}
|
1549
1579
|
},
|
1550
|
-
"functionReturnParameters":
|
1551
|
-
"id":
|
1580
|
+
"functionReturnParameters": 38744,
|
1581
|
+
"id": 38751,
|
1552
1582
|
"nodeType": "Return",
|
1553
|
-
"src": "
|
1583
|
+
"src": "3595:54:97"
|
1554
1584
|
}
|
1555
1585
|
]
|
1556
1586
|
},
|
1587
|
+
"documentation": {
|
1588
|
+
"id": 38734,
|
1589
|
+
"nodeType": "StructuredDocumentation",
|
1590
|
+
"src": "3140:310:97",
|
1591
|
+
"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
|
+
},
|
1557
1593
|
"implemented": true,
|
1558
1594
|
"kind": "function",
|
1559
1595
|
"modifiers": [],
|
1560
1596
|
"name": "appendContext",
|
1561
|
-
"nameLocation": "
|
1597
|
+
"nameLocation": "3462:13:97",
|
1562
1598
|
"parameters": {
|
1563
|
-
"id":
|
1599
|
+
"id": 38741,
|
1564
1600
|
"nodeType": "ParameterList",
|
1565
1601
|
"parameters": [
|
1566
1602
|
{
|
1567
1603
|
"constant": false,
|
1568
|
-
"id":
|
1604
|
+
"id": 38736,
|
1569
1605
|
"mutability": "mutable",
|
1570
1606
|
"name": "callData",
|
1571
|
-
"nameLocation": "
|
1607
|
+
"nameLocation": "3494:8:97",
|
1572
1608
|
"nodeType": "VariableDeclaration",
|
1573
|
-
"scope":
|
1574
|
-
"src": "
|
1609
|
+
"scope": 38753,
|
1610
|
+
"src": "3481:21:97",
|
1575
1611
|
"stateVariable": false,
|
1576
1612
|
"storageLocation": "memory",
|
1577
1613
|
"typeDescriptions": {
|
@@ -1579,10 +1615,10 @@
|
|
1579
1615
|
"typeString": "bytes"
|
1580
1616
|
},
|
1581
1617
|
"typeName": {
|
1582
|
-
"id":
|
1618
|
+
"id": 38735,
|
1583
1619
|
"name": "bytes",
|
1584
1620
|
"nodeType": "ElementaryTypeName",
|
1585
|
-
"src": "
|
1621
|
+
"src": "3481:5:97",
|
1586
1622
|
"typeDescriptions": {
|
1587
1623
|
"typeIdentifier": "t_bytes_storage_ptr",
|
1588
1624
|
"typeString": "bytes"
|
@@ -1592,13 +1628,13 @@
|
|
1592
1628
|
},
|
1593
1629
|
{
|
1594
1630
|
"constant": false,
|
1595
|
-
"id":
|
1631
|
+
"id": 38738,
|
1596
1632
|
"mutability": "mutable",
|
1597
1633
|
"name": "msgSender",
|
1598
|
-
"nameLocation": "
|
1634
|
+
"nameLocation": "3516:9:97",
|
1599
1635
|
"nodeType": "VariableDeclaration",
|
1600
|
-
"scope":
|
1601
|
-
"src": "
|
1636
|
+
"scope": 38753,
|
1637
|
+
"src": "3508:17:97",
|
1602
1638
|
"stateVariable": false,
|
1603
1639
|
"storageLocation": "default",
|
1604
1640
|
"typeDescriptions": {
|
@@ -1606,10 +1642,10 @@
|
|
1606
1642
|
"typeString": "address"
|
1607
1643
|
},
|
1608
1644
|
"typeName": {
|
1609
|
-
"id":
|
1645
|
+
"id": 38737,
|
1610
1646
|
"name": "address",
|
1611
1647
|
"nodeType": "ElementaryTypeName",
|
1612
|
-
"src": "
|
1648
|
+
"src": "3508:7:97",
|
1613
1649
|
"stateMutability": "nonpayable",
|
1614
1650
|
"typeDescriptions": {
|
1615
1651
|
"typeIdentifier": "t_address",
|
@@ -1620,13 +1656,13 @@
|
|
1620
1656
|
},
|
1621
1657
|
{
|
1622
1658
|
"constant": false,
|
1623
|
-
"id":
|
1659
|
+
"id": 38740,
|
1624
1660
|
"mutability": "mutable",
|
1625
1661
|
"name": "msgValue",
|
1626
|
-
"nameLocation": "
|
1662
|
+
"nameLocation": "3539:8:97",
|
1627
1663
|
"nodeType": "VariableDeclaration",
|
1628
|
-
"scope":
|
1629
|
-
"src": "
|
1664
|
+
"scope": 38753,
|
1665
|
+
"src": "3531:16:97",
|
1630
1666
|
"stateVariable": false,
|
1631
1667
|
"storageLocation": "default",
|
1632
1668
|
"typeDescriptions": {
|
@@ -1634,10 +1670,10 @@
|
|
1634
1670
|
"typeString": "uint256"
|
1635
1671
|
},
|
1636
1672
|
"typeName": {
|
1637
|
-
"id":
|
1673
|
+
"id": 38739,
|
1638
1674
|
"name": "uint256",
|
1639
1675
|
"nodeType": "ElementaryTypeName",
|
1640
|
-
"src": "
|
1676
|
+
"src": "3531:7:97",
|
1641
1677
|
"typeDescriptions": {
|
1642
1678
|
"typeIdentifier": "t_uint256",
|
1643
1679
|
"typeString": "uint256"
|
@@ -1646,21 +1682,21 @@
|
|
1646
1682
|
"visibility": "internal"
|
1647
1683
|
}
|
1648
1684
|
],
|
1649
|
-
"src": "
|
1685
|
+
"src": "3475:76:97"
|
1650
1686
|
},
|
1651
1687
|
"returnParameters": {
|
1652
|
-
"id":
|
1688
|
+
"id": 38744,
|
1653
1689
|
"nodeType": "ParameterList",
|
1654
1690
|
"parameters": [
|
1655
1691
|
{
|
1656
1692
|
"constant": false,
|
1657
|
-
"id":
|
1693
|
+
"id": 38743,
|
1658
1694
|
"mutability": "mutable",
|
1659
1695
|
"name": "",
|
1660
1696
|
"nameLocation": "-1:-1:-1",
|
1661
1697
|
"nodeType": "VariableDeclaration",
|
1662
|
-
"scope":
|
1663
|
-
"src": "
|
1698
|
+
"scope": 38753,
|
1699
|
+
"src": "3575:12:97",
|
1664
1700
|
"stateVariable": false,
|
1665
1701
|
"storageLocation": "memory",
|
1666
1702
|
"typeDescriptions": {
|
@@ -1668,10 +1704,10 @@
|
|
1668
1704
|
"typeString": "bytes"
|
1669
1705
|
},
|
1670
1706
|
"typeName": {
|
1671
|
-
"id":
|
1707
|
+
"id": 38742,
|
1672
1708
|
"name": "bytes",
|
1673
1709
|
"nodeType": "ElementaryTypeName",
|
1674
|
-
"src": "
|
1710
|
+
"src": "3575:5:97",
|
1675
1711
|
"typeDescriptions": {
|
1676
1712
|
"typeIdentifier": "t_bytes_storage_ptr",
|
1677
1713
|
"typeString": "bytes"
|
@@ -1680,27 +1716,27 @@
|
|
1680
1716
|
"visibility": "internal"
|
1681
1717
|
}
|
1682
1718
|
],
|
1683
|
-
"src": "
|
1719
|
+
"src": "3574:14:97"
|
1684
1720
|
},
|
1685
|
-
"scope":
|
1721
|
+
"scope": 38886,
|
1686
1722
|
"stateMutability": "pure",
|
1687
1723
|
"virtual": false,
|
1688
1724
|
"visibility": "internal"
|
1689
1725
|
},
|
1690
1726
|
{
|
1691
|
-
"id":
|
1727
|
+
"id": 38785,
|
1692
1728
|
"nodeType": "FunctionDefinition",
|
1693
|
-
"src": "
|
1729
|
+
"src": "4150:317:97",
|
1694
1730
|
"nodes": [],
|
1695
1731
|
"body": {
|
1696
|
-
"id":
|
1732
|
+
"id": 38784,
|
1697
1733
|
"nodeType": "Block",
|
1698
|
-
"src": "
|
1734
|
+
"src": "4322:145:97",
|
1699
1735
|
"nodes": [],
|
1700
1736
|
"statements": [
|
1701
1737
|
{
|
1702
1738
|
"expression": {
|
1703
|
-
"id":
|
1739
|
+
"id": 38782,
|
1704
1740
|
"isConstant": false,
|
1705
1741
|
"isLValue": false,
|
1706
1742
|
"isPure": false,
|
@@ -1708,38 +1744,38 @@
|
|
1708
1744
|
"leftHandSide": {
|
1709
1745
|
"components": [
|
1710
1746
|
{
|
1711
|
-
"id":
|
1747
|
+
"id": 38769,
|
1712
1748
|
"name": "success",
|
1713
1749
|
"nodeType": "Identifier",
|
1714
1750
|
"overloadedDeclarations": [],
|
1715
|
-
"referencedDeclaration":
|
1716
|
-
"src": "
|
1751
|
+
"referencedDeclaration": 38765,
|
1752
|
+
"src": "4329:7:97",
|
1717
1753
|
"typeDescriptions": {
|
1718
1754
|
"typeIdentifier": "t_bool",
|
1719
1755
|
"typeString": "bool"
|
1720
1756
|
}
|
1721
1757
|
},
|
1722
1758
|
{
|
1723
|
-
"id":
|
1759
|
+
"id": 38770,
|
1724
1760
|
"name": "data",
|
1725
1761
|
"nodeType": "Identifier",
|
1726
1762
|
"overloadedDeclarations": [],
|
1727
|
-
"referencedDeclaration":
|
1728
|
-
"src": "
|
1763
|
+
"referencedDeclaration": 38767,
|
1764
|
+
"src": "4338:4:97",
|
1729
1765
|
"typeDescriptions": {
|
1730
1766
|
"typeIdentifier": "t_bytes_memory_ptr",
|
1731
1767
|
"typeString": "bytes memory"
|
1732
1768
|
}
|
1733
1769
|
}
|
1734
1770
|
],
|
1735
|
-
"id":
|
1771
|
+
"id": 38771,
|
1736
1772
|
"isConstant": false,
|
1737
1773
|
"isInlineArray": false,
|
1738
1774
|
"isLValue": true,
|
1739
1775
|
"isPure": false,
|
1740
1776
|
"lValueRequested": true,
|
1741
1777
|
"nodeType": "TupleExpression",
|
1742
|
-
"src": "
|
1778
|
+
"src": "4328:15:97",
|
1743
1779
|
"typeDescriptions": {
|
1744
1780
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
1745
1781
|
"typeString": "tuple(bool,bytes memory)"
|
@@ -1752,36 +1788,36 @@
|
|
1752
1788
|
{
|
1753
1789
|
"arguments": [
|
1754
1790
|
{
|
1755
|
-
"id":
|
1791
|
+
"id": 38777,
|
1756
1792
|
"name": "callData",
|
1757
1793
|
"nodeType": "Identifier",
|
1758
1794
|
"overloadedDeclarations": [],
|
1759
|
-
"referencedDeclaration":
|
1760
|
-
"src": "
|
1795
|
+
"referencedDeclaration": 38762,
|
1796
|
+
"src": "4403:8:97",
|
1761
1797
|
"typeDescriptions": {
|
1762
1798
|
"typeIdentifier": "t_bytes_memory_ptr",
|
1763
1799
|
"typeString": "bytes memory"
|
1764
1800
|
}
|
1765
1801
|
},
|
1766
1802
|
{
|
1767
|
-
"id":
|
1803
|
+
"id": 38778,
|
1768
1804
|
"name": "msgSender",
|
1769
1805
|
"nodeType": "Identifier",
|
1770
1806
|
"overloadedDeclarations": [],
|
1771
|
-
"referencedDeclaration":
|
1772
|
-
"src": "
|
1807
|
+
"referencedDeclaration": 38756,
|
1808
|
+
"src": "4424:9:97",
|
1773
1809
|
"typeDescriptions": {
|
1774
1810
|
"typeIdentifier": "t_address",
|
1775
1811
|
"typeString": "address"
|
1776
1812
|
}
|
1777
1813
|
},
|
1778
1814
|
{
|
1779
|
-
"id":
|
1815
|
+
"id": 38779,
|
1780
1816
|
"name": "msgValue",
|
1781
1817
|
"nodeType": "Identifier",
|
1782
1818
|
"overloadedDeclarations": [],
|
1783
|
-
"referencedDeclaration":
|
1784
|
-
"src": "
|
1819
|
+
"referencedDeclaration": 38758,
|
1820
|
+
"src": "4445:8:97",
|
1785
1821
|
"typeDescriptions": {
|
1786
1822
|
"typeIdentifier": "t_uint256",
|
1787
1823
|
"typeString": "uint256"
|
@@ -1803,27 +1839,27 @@
|
|
1803
1839
|
"typeString": "uint256"
|
1804
1840
|
}
|
1805
1841
|
],
|
1806
|
-
"id":
|
1842
|
+
"id": 38776,
|
1807
1843
|
"name": "appendContext",
|
1808
1844
|
"nodeType": "Identifier",
|
1809
1845
|
"overloadedDeclarations": [],
|
1810
|
-
"referencedDeclaration":
|
1811
|
-
"src": "
|
1846
|
+
"referencedDeclaration": 38753,
|
1847
|
+
"src": "4377:13:97",
|
1812
1848
|
"typeDescriptions": {
|
1813
1849
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_address_$_t_uint256_$returns$_t_bytes_memory_ptr_$",
|
1814
1850
|
"typeString": "function (bytes memory,address,uint256) pure returns (bytes memory)"
|
1815
1851
|
}
|
1816
1852
|
},
|
1817
|
-
"id":
|
1853
|
+
"id": 38780,
|
1818
1854
|
"isConstant": false,
|
1819
1855
|
"isLValue": false,
|
1820
1856
|
"isPure": false,
|
1821
1857
|
"kind": "functionCall",
|
1822
1858
|
"lValueRequested": false,
|
1823
1859
|
"nameLocations": [
|
1824
|
-
"
|
1825
|
-
"
|
1826
|
-
"
|
1860
|
+
"4393:8:97",
|
1861
|
+
"4413:9:97",
|
1862
|
+
"4435:8:97"
|
1827
1863
|
],
|
1828
1864
|
"names": [
|
1829
1865
|
"callData",
|
@@ -1831,7 +1867,7 @@
|
|
1831
1867
|
"msgValue"
|
1832
1868
|
],
|
1833
1869
|
"nodeType": "FunctionCall",
|
1834
|
-
"src": "
|
1870
|
+
"src": "4377:79:97",
|
1835
1871
|
"tryCall": false,
|
1836
1872
|
"typeDescriptions": {
|
1837
1873
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -1854,32 +1890,32 @@
|
|
1854
1890
|
}
|
1855
1891
|
],
|
1856
1892
|
"expression": {
|
1857
|
-
"id":
|
1893
|
+
"id": 38772,
|
1858
1894
|
"name": "target",
|
1859
1895
|
"nodeType": "Identifier",
|
1860
1896
|
"overloadedDeclarations": [],
|
1861
|
-
"referencedDeclaration":
|
1862
|
-
"src": "
|
1897
|
+
"referencedDeclaration": 38760,
|
1898
|
+
"src": "4346:6:97",
|
1863
1899
|
"typeDescriptions": {
|
1864
1900
|
"typeIdentifier": "t_address",
|
1865
1901
|
"typeString": "address"
|
1866
1902
|
}
|
1867
1903
|
},
|
1868
|
-
"id":
|
1904
|
+
"id": 38773,
|
1869
1905
|
"isConstant": false,
|
1870
1906
|
"isLValue": false,
|
1871
1907
|
"isPure": false,
|
1872
1908
|
"lValueRequested": false,
|
1873
|
-
"memberLocation": "
|
1909
|
+
"memberLocation": "4353:4:97",
|
1874
1910
|
"memberName": "call",
|
1875
1911
|
"nodeType": "MemberAccess",
|
1876
|
-
"src": "
|
1912
|
+
"src": "4346:11:97",
|
1877
1913
|
"typeDescriptions": {
|
1878
1914
|
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
1879
1915
|
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
|
1880
1916
|
}
|
1881
1917
|
},
|
1882
|
-
"id":
|
1918
|
+
"id": 38775,
|
1883
1919
|
"isConstant": false,
|
1884
1920
|
"isLValue": false,
|
1885
1921
|
"isPure": false,
|
@@ -1891,14 +1927,14 @@
|
|
1891
1927
|
"options": [
|
1892
1928
|
{
|
1893
1929
|
"hexValue": "30",
|
1894
|
-
"id":
|
1930
|
+
"id": 38774,
|
1895
1931
|
"isConstant": false,
|
1896
1932
|
"isLValue": false,
|
1897
1933
|
"isPure": true,
|
1898
1934
|
"kind": "number",
|
1899
1935
|
"lValueRequested": false,
|
1900
1936
|
"nodeType": "Literal",
|
1901
|
-
"src": "
|
1937
|
+
"src": "4366:1:97",
|
1902
1938
|
"typeDescriptions": {
|
1903
1939
|
"typeIdentifier": "t_rational_0_by_1",
|
1904
1940
|
"typeString": "int_const 0"
|
@@ -1906,13 +1942,13 @@
|
|
1906
1942
|
"value": "0"
|
1907
1943
|
}
|
1908
1944
|
],
|
1909
|
-
"src": "
|
1945
|
+
"src": "4346:23:97",
|
1910
1946
|
"typeDescriptions": {
|
1911
1947
|
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value",
|
1912
1948
|
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
|
1913
1949
|
}
|
1914
1950
|
},
|
1915
|
-
"id":
|
1951
|
+
"id": 38781,
|
1916
1952
|
"isConstant": false,
|
1917
1953
|
"isLValue": false,
|
1918
1954
|
"isPure": false,
|
@@ -1921,43 +1957,49 @@
|
|
1921
1957
|
"nameLocations": [],
|
1922
1958
|
"names": [],
|
1923
1959
|
"nodeType": "FunctionCall",
|
1924
|
-
"src": "
|
1960
|
+
"src": "4346:116:97",
|
1925
1961
|
"tryCall": false,
|
1926
1962
|
"typeDescriptions": {
|
1927
1963
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
1928
1964
|
"typeString": "tuple(bool,bytes memory)"
|
1929
1965
|
}
|
1930
1966
|
},
|
1931
|
-
"src": "
|
1967
|
+
"src": "4328:134:97",
|
1932
1968
|
"typeDescriptions": {
|
1933
1969
|
"typeIdentifier": "t_tuple$__$",
|
1934
1970
|
"typeString": "tuple()"
|
1935
1971
|
}
|
1936
1972
|
},
|
1937
|
-
"id":
|
1973
|
+
"id": 38783,
|
1938
1974
|
"nodeType": "ExpressionStatement",
|
1939
|
-
"src": "
|
1975
|
+
"src": "4328:134:97"
|
1940
1976
|
}
|
1941
1977
|
]
|
1942
1978
|
},
|
1979
|
+
"documentation": {
|
1980
|
+
"id": 38754,
|
1981
|
+
"nodeType": "StructuredDocumentation",
|
1982
|
+
"src": "3658:489:97",
|
1983
|
+
"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
|
+
},
|
1943
1985
|
"implemented": true,
|
1944
1986
|
"kind": "function",
|
1945
1987
|
"modifiers": [],
|
1946
1988
|
"name": "callWithContext",
|
1947
|
-
"nameLocation": "
|
1989
|
+
"nameLocation": "4159:15:97",
|
1948
1990
|
"parameters": {
|
1949
|
-
"id":
|
1991
|
+
"id": 38763,
|
1950
1992
|
"nodeType": "ParameterList",
|
1951
1993
|
"parameters": [
|
1952
1994
|
{
|
1953
1995
|
"constant": false,
|
1954
|
-
"id":
|
1996
|
+
"id": 38756,
|
1955
1997
|
"mutability": "mutable",
|
1956
1998
|
"name": "msgSender",
|
1957
|
-
"nameLocation": "
|
1999
|
+
"nameLocation": "4188:9:97",
|
1958
2000
|
"nodeType": "VariableDeclaration",
|
1959
|
-
"scope":
|
1960
|
-
"src": "
|
2001
|
+
"scope": 38785,
|
2002
|
+
"src": "4180:17:97",
|
1961
2003
|
"stateVariable": false,
|
1962
2004
|
"storageLocation": "default",
|
1963
2005
|
"typeDescriptions": {
|
@@ -1965,10 +2007,10 @@
|
|
1965
2007
|
"typeString": "address"
|
1966
2008
|
},
|
1967
2009
|
"typeName": {
|
1968
|
-
"id":
|
2010
|
+
"id": 38755,
|
1969
2011
|
"name": "address",
|
1970
2012
|
"nodeType": "ElementaryTypeName",
|
1971
|
-
"src": "
|
2013
|
+
"src": "4180:7:97",
|
1972
2014
|
"stateMutability": "nonpayable",
|
1973
2015
|
"typeDescriptions": {
|
1974
2016
|
"typeIdentifier": "t_address",
|
@@ -1979,13 +2021,13 @@
|
|
1979
2021
|
},
|
1980
2022
|
{
|
1981
2023
|
"constant": false,
|
1982
|
-
"id":
|
2024
|
+
"id": 38758,
|
1983
2025
|
"mutability": "mutable",
|
1984
2026
|
"name": "msgValue",
|
1985
|
-
"nameLocation": "
|
2027
|
+
"nameLocation": "4211:8:97",
|
1986
2028
|
"nodeType": "VariableDeclaration",
|
1987
|
-
"scope":
|
1988
|
-
"src": "
|
2029
|
+
"scope": 38785,
|
2030
|
+
"src": "4203:16:97",
|
1989
2031
|
"stateVariable": false,
|
1990
2032
|
"storageLocation": "default",
|
1991
2033
|
"typeDescriptions": {
|
@@ -1993,10 +2035,10 @@
|
|
1993
2035
|
"typeString": "uint256"
|
1994
2036
|
},
|
1995
2037
|
"typeName": {
|
1996
|
-
"id":
|
2038
|
+
"id": 38757,
|
1997
2039
|
"name": "uint256",
|
1998
2040
|
"nodeType": "ElementaryTypeName",
|
1999
|
-
"src": "
|
2041
|
+
"src": "4203:7:97",
|
2000
2042
|
"typeDescriptions": {
|
2001
2043
|
"typeIdentifier": "t_uint256",
|
2002
2044
|
"typeString": "uint256"
|
@@ -2006,13 +2048,13 @@
|
|
2006
2048
|
},
|
2007
2049
|
{
|
2008
2050
|
"constant": false,
|
2009
|
-
"id":
|
2051
|
+
"id": 38760,
|
2010
2052
|
"mutability": "mutable",
|
2011
2053
|
"name": "target",
|
2012
|
-
"nameLocation": "
|
2054
|
+
"nameLocation": "4233:6:97",
|
2013
2055
|
"nodeType": "VariableDeclaration",
|
2014
|
-
"scope":
|
2015
|
-
"src": "
|
2056
|
+
"scope": 38785,
|
2057
|
+
"src": "4225:14:97",
|
2016
2058
|
"stateVariable": false,
|
2017
2059
|
"storageLocation": "default",
|
2018
2060
|
"typeDescriptions": {
|
@@ -2020,10 +2062,10 @@
|
|
2020
2062
|
"typeString": "address"
|
2021
2063
|
},
|
2022
2064
|
"typeName": {
|
2023
|
-
"id":
|
2065
|
+
"id": 38759,
|
2024
2066
|
"name": "address",
|
2025
2067
|
"nodeType": "ElementaryTypeName",
|
2026
|
-
"src": "
|
2068
|
+
"src": "4225:7:97",
|
2027
2069
|
"stateMutability": "nonpayable",
|
2028
2070
|
"typeDescriptions": {
|
2029
2071
|
"typeIdentifier": "t_address",
|
@@ -2034,13 +2076,13 @@
|
|
2034
2076
|
},
|
2035
2077
|
{
|
2036
2078
|
"constant": false,
|
2037
|
-
"id":
|
2079
|
+
"id": 38762,
|
2038
2080
|
"mutability": "mutable",
|
2039
2081
|
"name": "callData",
|
2040
|
-
"nameLocation": "
|
2082
|
+
"nameLocation": "4258:8:97",
|
2041
2083
|
"nodeType": "VariableDeclaration",
|
2042
|
-
"scope":
|
2043
|
-
"src": "
|
2084
|
+
"scope": 38785,
|
2085
|
+
"src": "4245:21:97",
|
2044
2086
|
"stateVariable": false,
|
2045
2087
|
"storageLocation": "memory",
|
2046
2088
|
"typeDescriptions": {
|
@@ -2048,10 +2090,10 @@
|
|
2048
2090
|
"typeString": "bytes"
|
2049
2091
|
},
|
2050
2092
|
"typeName": {
|
2051
|
-
"id":
|
2093
|
+
"id": 38761,
|
2052
2094
|
"name": "bytes",
|
2053
2095
|
"nodeType": "ElementaryTypeName",
|
2054
|
-
"src": "
|
2096
|
+
"src": "4245:5:97",
|
2055
2097
|
"typeDescriptions": {
|
2056
2098
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2057
2099
|
"typeString": "bytes"
|
@@ -2060,21 +2102,21 @@
|
|
2060
2102
|
"visibility": "internal"
|
2061
2103
|
}
|
2062
2104
|
],
|
2063
|
-
"src": "
|
2105
|
+
"src": "4174:96:97"
|
2064
2106
|
},
|
2065
2107
|
"returnParameters": {
|
2066
|
-
"id":
|
2108
|
+
"id": 38768,
|
2067
2109
|
"nodeType": "ParameterList",
|
2068
2110
|
"parameters": [
|
2069
2111
|
{
|
2070
2112
|
"constant": false,
|
2071
|
-
"id":
|
2113
|
+
"id": 38765,
|
2072
2114
|
"mutability": "mutable",
|
2073
2115
|
"name": "success",
|
2074
|
-
"nameLocation": "
|
2116
|
+
"nameLocation": "4294:7:97",
|
2075
2117
|
"nodeType": "VariableDeclaration",
|
2076
|
-
"scope":
|
2077
|
-
"src": "
|
2118
|
+
"scope": 38785,
|
2119
|
+
"src": "4289:12:97",
|
2078
2120
|
"stateVariable": false,
|
2079
2121
|
"storageLocation": "default",
|
2080
2122
|
"typeDescriptions": {
|
@@ -2082,10 +2124,10 @@
|
|
2082
2124
|
"typeString": "bool"
|
2083
2125
|
},
|
2084
2126
|
"typeName": {
|
2085
|
-
"id":
|
2127
|
+
"id": 38764,
|
2086
2128
|
"name": "bool",
|
2087
2129
|
"nodeType": "ElementaryTypeName",
|
2088
|
-
"src": "
|
2130
|
+
"src": "4289:4:97",
|
2089
2131
|
"typeDescriptions": {
|
2090
2132
|
"typeIdentifier": "t_bool",
|
2091
2133
|
"typeString": "bool"
|
@@ -2095,13 +2137,13 @@
|
|
2095
2137
|
},
|
2096
2138
|
{
|
2097
2139
|
"constant": false,
|
2098
|
-
"id":
|
2140
|
+
"id": 38767,
|
2099
2141
|
"mutability": "mutable",
|
2100
2142
|
"name": "data",
|
2101
|
-
"nameLocation": "
|
2143
|
+
"nameLocation": "4316:4:97",
|
2102
2144
|
"nodeType": "VariableDeclaration",
|
2103
|
-
"scope":
|
2104
|
-
"src": "
|
2145
|
+
"scope": 38785,
|
2146
|
+
"src": "4303:17:97",
|
2105
2147
|
"stateVariable": false,
|
2106
2148
|
"storageLocation": "memory",
|
2107
2149
|
"typeDescriptions": {
|
@@ -2109,10 +2151,10 @@
|
|
2109
2151
|
"typeString": "bytes"
|
2110
2152
|
},
|
2111
2153
|
"typeName": {
|
2112
|
-
"id":
|
2154
|
+
"id": 38766,
|
2113
2155
|
"name": "bytes",
|
2114
2156
|
"nodeType": "ElementaryTypeName",
|
2115
|
-
"src": "
|
2157
|
+
"src": "4303:5:97",
|
2116
2158
|
"typeDescriptions": {
|
2117
2159
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2118
2160
|
"typeString": "bytes"
|
@@ -2121,27 +2163,27 @@
|
|
2121
2163
|
"visibility": "internal"
|
2122
2164
|
}
|
2123
2165
|
],
|
2124
|
-
"src": "
|
2166
|
+
"src": "4288:33:97"
|
2125
2167
|
},
|
2126
|
-
"scope":
|
2168
|
+
"scope": 38886,
|
2127
2169
|
"stateMutability": "nonpayable",
|
2128
2170
|
"virtual": false,
|
2129
2171
|
"visibility": "internal"
|
2130
2172
|
},
|
2131
2173
|
{
|
2132
|
-
"id":
|
2174
|
+
"id": 38815,
|
2133
2175
|
"nodeType": "FunctionDefinition",
|
2134
|
-
"src": "
|
2176
|
+
"src": "4971:321:97",
|
2135
2177
|
"nodes": [],
|
2136
2178
|
"body": {
|
2137
|
-
"id":
|
2179
|
+
"id": 38814,
|
2138
2180
|
"nodeType": "Block",
|
2139
|
-
"src": "
|
2181
|
+
"src": "5151:141:97",
|
2140
2182
|
"nodes": [],
|
2141
2183
|
"statements": [
|
2142
2184
|
{
|
2143
2185
|
"expression": {
|
2144
|
-
"id":
|
2186
|
+
"id": 38812,
|
2145
2187
|
"isConstant": false,
|
2146
2188
|
"isLValue": false,
|
2147
2189
|
"isPure": false,
|
@@ -2149,38 +2191,38 @@
|
|
2149
2191
|
"leftHandSide": {
|
2150
2192
|
"components": [
|
2151
2193
|
{
|
2152
|
-
"id":
|
2194
|
+
"id": 38801,
|
2153
2195
|
"name": "success",
|
2154
2196
|
"nodeType": "Identifier",
|
2155
2197
|
"overloadedDeclarations": [],
|
2156
|
-
"referencedDeclaration":
|
2157
|
-
"src": "
|
2198
|
+
"referencedDeclaration": 38797,
|
2199
|
+
"src": "5158:7:97",
|
2158
2200
|
"typeDescriptions": {
|
2159
2201
|
"typeIdentifier": "t_bool",
|
2160
2202
|
"typeString": "bool"
|
2161
2203
|
}
|
2162
2204
|
},
|
2163
2205
|
{
|
2164
|
-
"id":
|
2206
|
+
"id": 38802,
|
2165
2207
|
"name": "data",
|
2166
2208
|
"nodeType": "Identifier",
|
2167
2209
|
"overloadedDeclarations": [],
|
2168
|
-
"referencedDeclaration":
|
2169
|
-
"src": "
|
2210
|
+
"referencedDeclaration": 38799,
|
2211
|
+
"src": "5167:4:97",
|
2170
2212
|
"typeDescriptions": {
|
2171
2213
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2172
2214
|
"typeString": "bytes memory"
|
2173
2215
|
}
|
2174
2216
|
}
|
2175
2217
|
],
|
2176
|
-
"id":
|
2218
|
+
"id": 38803,
|
2177
2219
|
"isConstant": false,
|
2178
2220
|
"isInlineArray": false,
|
2179
2221
|
"isLValue": true,
|
2180
2222
|
"isPure": false,
|
2181
2223
|
"lValueRequested": true,
|
2182
2224
|
"nodeType": "TupleExpression",
|
2183
|
-
"src": "
|
2225
|
+
"src": "5157:15:97",
|
2184
2226
|
"typeDescriptions": {
|
2185
2227
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
2186
2228
|
"typeString": "tuple(bool,bytes memory)"
|
@@ -2193,36 +2235,36 @@
|
|
2193
2235
|
{
|
2194
2236
|
"arguments": [
|
2195
2237
|
{
|
2196
|
-
"id":
|
2238
|
+
"id": 38807,
|
2197
2239
|
"name": "callData",
|
2198
2240
|
"nodeType": "Identifier",
|
2199
2241
|
"overloadedDeclarations": [],
|
2200
|
-
"referencedDeclaration":
|
2201
|
-
"src": "
|
2242
|
+
"referencedDeclaration": 38794,
|
2243
|
+
"src": "5228:8:97",
|
2202
2244
|
"typeDescriptions": {
|
2203
2245
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2204
2246
|
"typeString": "bytes memory"
|
2205
2247
|
}
|
2206
2248
|
},
|
2207
2249
|
{
|
2208
|
-
"id":
|
2250
|
+
"id": 38808,
|
2209
2251
|
"name": "msgSender",
|
2210
2252
|
"nodeType": "Identifier",
|
2211
2253
|
"overloadedDeclarations": [],
|
2212
|
-
"referencedDeclaration":
|
2213
|
-
"src": "
|
2254
|
+
"referencedDeclaration": 38788,
|
2255
|
+
"src": "5249:9:97",
|
2214
2256
|
"typeDescriptions": {
|
2215
2257
|
"typeIdentifier": "t_address",
|
2216
2258
|
"typeString": "address"
|
2217
2259
|
}
|
2218
2260
|
},
|
2219
2261
|
{
|
2220
|
-
"id":
|
2262
|
+
"id": 38809,
|
2221
2263
|
"name": "msgValue",
|
2222
2264
|
"nodeType": "Identifier",
|
2223
2265
|
"overloadedDeclarations": [],
|
2224
|
-
"referencedDeclaration":
|
2225
|
-
"src": "
|
2266
|
+
"referencedDeclaration": 38790,
|
2267
|
+
"src": "5270:8:97",
|
2226
2268
|
"typeDescriptions": {
|
2227
2269
|
"typeIdentifier": "t_uint256",
|
2228
2270
|
"typeString": "uint256"
|
@@ -2244,27 +2286,27 @@
|
|
2244
2286
|
"typeString": "uint256"
|
2245
2287
|
}
|
2246
2288
|
],
|
2247
|
-
"id":
|
2289
|
+
"id": 38806,
|
2248
2290
|
"name": "appendContext",
|
2249
2291
|
"nodeType": "Identifier",
|
2250
2292
|
"overloadedDeclarations": [],
|
2251
|
-
"referencedDeclaration":
|
2252
|
-
"src": "
|
2293
|
+
"referencedDeclaration": 38753,
|
2294
|
+
"src": "5202:13:97",
|
2253
2295
|
"typeDescriptions": {
|
2254
2296
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_address_$_t_uint256_$returns$_t_bytes_memory_ptr_$",
|
2255
2297
|
"typeString": "function (bytes memory,address,uint256) pure returns (bytes memory)"
|
2256
2298
|
}
|
2257
2299
|
},
|
2258
|
-
"id":
|
2300
|
+
"id": 38810,
|
2259
2301
|
"isConstant": false,
|
2260
2302
|
"isLValue": false,
|
2261
2303
|
"isPure": false,
|
2262
2304
|
"kind": "functionCall",
|
2263
2305
|
"lValueRequested": false,
|
2264
2306
|
"nameLocations": [
|
2265
|
-
"
|
2266
|
-
"
|
2267
|
-
"
|
2307
|
+
"5218:8:97",
|
2308
|
+
"5238:9:97",
|
2309
|
+
"5260:8:97"
|
2268
2310
|
],
|
2269
2311
|
"names": [
|
2270
2312
|
"callData",
|
@@ -2272,7 +2314,7 @@
|
|
2272
2314
|
"msgValue"
|
2273
2315
|
],
|
2274
2316
|
"nodeType": "FunctionCall",
|
2275
|
-
"src": "
|
2317
|
+
"src": "5202:79:97",
|
2276
2318
|
"tryCall": false,
|
2277
2319
|
"typeDescriptions": {
|
2278
2320
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -2288,32 +2330,32 @@
|
|
2288
2330
|
}
|
2289
2331
|
],
|
2290
2332
|
"expression": {
|
2291
|
-
"id":
|
2333
|
+
"id": 38804,
|
2292
2334
|
"name": "target",
|
2293
2335
|
"nodeType": "Identifier",
|
2294
2336
|
"overloadedDeclarations": [],
|
2295
|
-
"referencedDeclaration":
|
2296
|
-
"src": "
|
2337
|
+
"referencedDeclaration": 38792,
|
2338
|
+
"src": "5175:6:97",
|
2297
2339
|
"typeDescriptions": {
|
2298
2340
|
"typeIdentifier": "t_address",
|
2299
2341
|
"typeString": "address"
|
2300
2342
|
}
|
2301
2343
|
},
|
2302
|
-
"id":
|
2344
|
+
"id": 38805,
|
2303
2345
|
"isConstant": false,
|
2304
2346
|
"isLValue": false,
|
2305
2347
|
"isPure": false,
|
2306
2348
|
"lValueRequested": false,
|
2307
|
-
"memberLocation": "
|
2349
|
+
"memberLocation": "5182:12:97",
|
2308
2350
|
"memberName": "delegatecall",
|
2309
2351
|
"nodeType": "MemberAccess",
|
2310
|
-
"src": "
|
2352
|
+
"src": "5175:19:97",
|
2311
2353
|
"typeDescriptions": {
|
2312
2354
|
"typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
2313
2355
|
"typeString": "function (bytes memory) returns (bool,bytes memory)"
|
2314
2356
|
}
|
2315
2357
|
},
|
2316
|
-
"id":
|
2358
|
+
"id": 38811,
|
2317
2359
|
"isConstant": false,
|
2318
2360
|
"isLValue": false,
|
2319
2361
|
"isPure": false,
|
@@ -2322,43 +2364,49 @@
|
|
2322
2364
|
"nameLocations": [],
|
2323
2365
|
"names": [],
|
2324
2366
|
"nodeType": "FunctionCall",
|
2325
|
-
"src": "
|
2367
|
+
"src": "5175:112:97",
|
2326
2368
|
"tryCall": false,
|
2327
2369
|
"typeDescriptions": {
|
2328
2370
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
2329
2371
|
"typeString": "tuple(bool,bytes memory)"
|
2330
2372
|
}
|
2331
2373
|
},
|
2332
|
-
"src": "
|
2374
|
+
"src": "5157:130:97",
|
2333
2375
|
"typeDescriptions": {
|
2334
2376
|
"typeIdentifier": "t_tuple$__$",
|
2335
2377
|
"typeString": "tuple()"
|
2336
2378
|
}
|
2337
2379
|
},
|
2338
|
-
"id":
|
2380
|
+
"id": 38813,
|
2339
2381
|
"nodeType": "ExpressionStatement",
|
2340
|
-
"src": "
|
2382
|
+
"src": "5157:130:97"
|
2341
2383
|
}
|
2342
2384
|
]
|
2343
2385
|
},
|
2386
|
+
"documentation": {
|
2387
|
+
"id": 38786,
|
2388
|
+
"nodeType": "StructuredDocumentation",
|
2389
|
+
"src": "4471:497:97",
|
2390
|
+
"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
|
+
},
|
2344
2392
|
"implemented": true,
|
2345
2393
|
"kind": "function",
|
2346
2394
|
"modifiers": [],
|
2347
2395
|
"name": "delegatecallWithContext",
|
2348
|
-
"nameLocation": "
|
2396
|
+
"nameLocation": "4980:23:97",
|
2349
2397
|
"parameters": {
|
2350
|
-
"id":
|
2398
|
+
"id": 38795,
|
2351
2399
|
"nodeType": "ParameterList",
|
2352
2400
|
"parameters": [
|
2353
2401
|
{
|
2354
2402
|
"constant": false,
|
2355
|
-
"id":
|
2403
|
+
"id": 38788,
|
2356
2404
|
"mutability": "mutable",
|
2357
2405
|
"name": "msgSender",
|
2358
|
-
"nameLocation": "
|
2406
|
+
"nameLocation": "5017:9:97",
|
2359
2407
|
"nodeType": "VariableDeclaration",
|
2360
|
-
"scope":
|
2361
|
-
"src": "
|
2408
|
+
"scope": 38815,
|
2409
|
+
"src": "5009:17:97",
|
2362
2410
|
"stateVariable": false,
|
2363
2411
|
"storageLocation": "default",
|
2364
2412
|
"typeDescriptions": {
|
@@ -2366,10 +2414,10 @@
|
|
2366
2414
|
"typeString": "address"
|
2367
2415
|
},
|
2368
2416
|
"typeName": {
|
2369
|
-
"id":
|
2417
|
+
"id": 38787,
|
2370
2418
|
"name": "address",
|
2371
2419
|
"nodeType": "ElementaryTypeName",
|
2372
|
-
"src": "
|
2420
|
+
"src": "5009:7:97",
|
2373
2421
|
"stateMutability": "nonpayable",
|
2374
2422
|
"typeDescriptions": {
|
2375
2423
|
"typeIdentifier": "t_address",
|
@@ -2380,13 +2428,13 @@
|
|
2380
2428
|
},
|
2381
2429
|
{
|
2382
2430
|
"constant": false,
|
2383
|
-
"id":
|
2431
|
+
"id": 38790,
|
2384
2432
|
"mutability": "mutable",
|
2385
2433
|
"name": "msgValue",
|
2386
|
-
"nameLocation": "
|
2434
|
+
"nameLocation": "5040:8:97",
|
2387
2435
|
"nodeType": "VariableDeclaration",
|
2388
|
-
"scope":
|
2389
|
-
"src": "
|
2436
|
+
"scope": 38815,
|
2437
|
+
"src": "5032:16:97",
|
2390
2438
|
"stateVariable": false,
|
2391
2439
|
"storageLocation": "default",
|
2392
2440
|
"typeDescriptions": {
|
@@ -2394,10 +2442,10 @@
|
|
2394
2442
|
"typeString": "uint256"
|
2395
2443
|
},
|
2396
2444
|
"typeName": {
|
2397
|
-
"id":
|
2445
|
+
"id": 38789,
|
2398
2446
|
"name": "uint256",
|
2399
2447
|
"nodeType": "ElementaryTypeName",
|
2400
|
-
"src": "
|
2448
|
+
"src": "5032:7:97",
|
2401
2449
|
"typeDescriptions": {
|
2402
2450
|
"typeIdentifier": "t_uint256",
|
2403
2451
|
"typeString": "uint256"
|
@@ -2407,13 +2455,13 @@
|
|
2407
2455
|
},
|
2408
2456
|
{
|
2409
2457
|
"constant": false,
|
2410
|
-
"id":
|
2458
|
+
"id": 38792,
|
2411
2459
|
"mutability": "mutable",
|
2412
2460
|
"name": "target",
|
2413
|
-
"nameLocation": "
|
2461
|
+
"nameLocation": "5062:6:97",
|
2414
2462
|
"nodeType": "VariableDeclaration",
|
2415
|
-
"scope":
|
2416
|
-
"src": "
|
2463
|
+
"scope": 38815,
|
2464
|
+
"src": "5054:14:97",
|
2417
2465
|
"stateVariable": false,
|
2418
2466
|
"storageLocation": "default",
|
2419
2467
|
"typeDescriptions": {
|
@@ -2421,10 +2469,10 @@
|
|
2421
2469
|
"typeString": "address"
|
2422
2470
|
},
|
2423
2471
|
"typeName": {
|
2424
|
-
"id":
|
2472
|
+
"id": 38791,
|
2425
2473
|
"name": "address",
|
2426
2474
|
"nodeType": "ElementaryTypeName",
|
2427
|
-
"src": "
|
2475
|
+
"src": "5054:7:97",
|
2428
2476
|
"stateMutability": "nonpayable",
|
2429
2477
|
"typeDescriptions": {
|
2430
2478
|
"typeIdentifier": "t_address",
|
@@ -2435,13 +2483,13 @@
|
|
2435
2483
|
},
|
2436
2484
|
{
|
2437
2485
|
"constant": false,
|
2438
|
-
"id":
|
2486
|
+
"id": 38794,
|
2439
2487
|
"mutability": "mutable",
|
2440
2488
|
"name": "callData",
|
2441
|
-
"nameLocation": "
|
2489
|
+
"nameLocation": "5087:8:97",
|
2442
2490
|
"nodeType": "VariableDeclaration",
|
2443
|
-
"scope":
|
2444
|
-
"src": "
|
2491
|
+
"scope": 38815,
|
2492
|
+
"src": "5074:21:97",
|
2445
2493
|
"stateVariable": false,
|
2446
2494
|
"storageLocation": "memory",
|
2447
2495
|
"typeDescriptions": {
|
@@ -2449,10 +2497,10 @@
|
|
2449
2497
|
"typeString": "bytes"
|
2450
2498
|
},
|
2451
2499
|
"typeName": {
|
2452
|
-
"id":
|
2500
|
+
"id": 38793,
|
2453
2501
|
"name": "bytes",
|
2454
2502
|
"nodeType": "ElementaryTypeName",
|
2455
|
-
"src": "
|
2503
|
+
"src": "5074:5:97",
|
2456
2504
|
"typeDescriptions": {
|
2457
2505
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2458
2506
|
"typeString": "bytes"
|
@@ -2461,21 +2509,21 @@
|
|
2461
2509
|
"visibility": "internal"
|
2462
2510
|
}
|
2463
2511
|
],
|
2464
|
-
"src": "
|
2512
|
+
"src": "5003:96:97"
|
2465
2513
|
},
|
2466
2514
|
"returnParameters": {
|
2467
|
-
"id":
|
2515
|
+
"id": 38800,
|
2468
2516
|
"nodeType": "ParameterList",
|
2469
2517
|
"parameters": [
|
2470
2518
|
{
|
2471
2519
|
"constant": false,
|
2472
|
-
"id":
|
2520
|
+
"id": 38797,
|
2473
2521
|
"mutability": "mutable",
|
2474
2522
|
"name": "success",
|
2475
|
-
"nameLocation": "
|
2523
|
+
"nameLocation": "5123:7:97",
|
2476
2524
|
"nodeType": "VariableDeclaration",
|
2477
|
-
"scope":
|
2478
|
-
"src": "
|
2525
|
+
"scope": 38815,
|
2526
|
+
"src": "5118:12:97",
|
2479
2527
|
"stateVariable": false,
|
2480
2528
|
"storageLocation": "default",
|
2481
2529
|
"typeDescriptions": {
|
@@ -2483,10 +2531,10 @@
|
|
2483
2531
|
"typeString": "bool"
|
2484
2532
|
},
|
2485
2533
|
"typeName": {
|
2486
|
-
"id":
|
2534
|
+
"id": 38796,
|
2487
2535
|
"name": "bool",
|
2488
2536
|
"nodeType": "ElementaryTypeName",
|
2489
|
-
"src": "
|
2537
|
+
"src": "5118:4:97",
|
2490
2538
|
"typeDescriptions": {
|
2491
2539
|
"typeIdentifier": "t_bool",
|
2492
2540
|
"typeString": "bool"
|
@@ -2496,13 +2544,13 @@
|
|
2496
2544
|
},
|
2497
2545
|
{
|
2498
2546
|
"constant": false,
|
2499
|
-
"id":
|
2547
|
+
"id": 38799,
|
2500
2548
|
"mutability": "mutable",
|
2501
2549
|
"name": "data",
|
2502
|
-
"nameLocation": "
|
2550
|
+
"nameLocation": "5145:4:97",
|
2503
2551
|
"nodeType": "VariableDeclaration",
|
2504
|
-
"scope":
|
2505
|
-
"src": "
|
2552
|
+
"scope": 38815,
|
2553
|
+
"src": "5132:17:97",
|
2506
2554
|
"stateVariable": false,
|
2507
2555
|
"storageLocation": "memory",
|
2508
2556
|
"typeDescriptions": {
|
@@ -2510,10 +2558,10 @@
|
|
2510
2558
|
"typeString": "bytes"
|
2511
2559
|
},
|
2512
2560
|
"typeName": {
|
2513
|
-
"id":
|
2561
|
+
"id": 38798,
|
2514
2562
|
"name": "bytes",
|
2515
2563
|
"nodeType": "ElementaryTypeName",
|
2516
|
-
"src": "
|
2564
|
+
"src": "5132:5:97",
|
2517
2565
|
"typeDescriptions": {
|
2518
2566
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2519
2567
|
"typeString": "bytes"
|
@@ -2522,39 +2570,39 @@
|
|
2522
2570
|
"visibility": "internal"
|
2523
2571
|
}
|
2524
2572
|
],
|
2525
|
-
"src": "
|
2573
|
+
"src": "5117:33:97"
|
2526
2574
|
},
|
2527
|
-
"scope":
|
2575
|
+
"scope": 38886,
|
2528
2576
|
"stateMutability": "nonpayable",
|
2529
2577
|
"virtual": false,
|
2530
2578
|
"visibility": "internal"
|
2531
2579
|
},
|
2532
2580
|
{
|
2533
|
-
"id":
|
2581
|
+
"id": 38850,
|
2534
2582
|
"nodeType": "FunctionDefinition",
|
2535
|
-
"src": "
|
2583
|
+
"src": "5747:399:97",
|
2536
2584
|
"nodes": [],
|
2537
2585
|
"body": {
|
2538
|
-
"id":
|
2586
|
+
"id": 38849,
|
2539
2587
|
"nodeType": "Block",
|
2540
|
-
"src": "
|
2588
|
+
"src": "5913:233:97",
|
2541
2589
|
"nodes": [],
|
2542
2590
|
"statements": [
|
2543
2591
|
{
|
2544
2592
|
"assignments": [
|
2545
|
-
|
2546
|
-
|
2593
|
+
38830,
|
2594
|
+
38832
|
2547
2595
|
],
|
2548
2596
|
"declarations": [
|
2549
2597
|
{
|
2550
2598
|
"constant": false,
|
2551
|
-
"id":
|
2599
|
+
"id": 38830,
|
2552
2600
|
"mutability": "mutable",
|
2553
2601
|
"name": "success",
|
2554
|
-
"nameLocation": "
|
2602
|
+
"nameLocation": "5925:7:97",
|
2555
2603
|
"nodeType": "VariableDeclaration",
|
2556
|
-
"scope":
|
2557
|
-
"src": "
|
2604
|
+
"scope": 38849,
|
2605
|
+
"src": "5920:12:97",
|
2558
2606
|
"stateVariable": false,
|
2559
2607
|
"storageLocation": "default",
|
2560
2608
|
"typeDescriptions": {
|
@@ -2562,10 +2610,10 @@
|
|
2562
2610
|
"typeString": "bool"
|
2563
2611
|
},
|
2564
2612
|
"typeName": {
|
2565
|
-
"id":
|
2613
|
+
"id": 38829,
|
2566
2614
|
"name": "bool",
|
2567
2615
|
"nodeType": "ElementaryTypeName",
|
2568
|
-
"src": "
|
2616
|
+
"src": "5920:4:97",
|
2569
2617
|
"typeDescriptions": {
|
2570
2618
|
"typeIdentifier": "t_bool",
|
2571
2619
|
"typeString": "bool"
|
@@ -2575,13 +2623,13 @@
|
|
2575
2623
|
},
|
2576
2624
|
{
|
2577
2625
|
"constant": false,
|
2578
|
-
"id":
|
2626
|
+
"id": 38832,
|
2579
2627
|
"mutability": "mutable",
|
2580
2628
|
"name": "_data",
|
2581
|
-
"nameLocation": "
|
2629
|
+
"nameLocation": "5947:5:97",
|
2582
2630
|
"nodeType": "VariableDeclaration",
|
2583
|
-
"scope":
|
2584
|
-
"src": "
|
2631
|
+
"scope": 38849,
|
2632
|
+
"src": "5934:18:97",
|
2585
2633
|
"stateVariable": false,
|
2586
2634
|
"storageLocation": "memory",
|
2587
2635
|
"typeDescriptions": {
|
@@ -2589,10 +2637,10 @@
|
|
2589
2637
|
"typeString": "bytes"
|
2590
2638
|
},
|
2591
2639
|
"typeName": {
|
2592
|
-
"id":
|
2640
|
+
"id": 38831,
|
2593
2641
|
"name": "bytes",
|
2594
2642
|
"nodeType": "ElementaryTypeName",
|
2595
|
-
"src": "
|
2643
|
+
"src": "5934:5:97",
|
2596
2644
|
"typeDescriptions": {
|
2597
2645
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2598
2646
|
"typeString": "bytes"
|
@@ -2601,52 +2649,52 @@
|
|
2601
2649
|
"visibility": "internal"
|
2602
2650
|
}
|
2603
2651
|
],
|
2604
|
-
"id":
|
2652
|
+
"id": 38839,
|
2605
2653
|
"initialValue": {
|
2606
2654
|
"arguments": [
|
2607
2655
|
{
|
2608
|
-
"id":
|
2656
|
+
"id": 38834,
|
2609
2657
|
"name": "msgSender",
|
2610
2658
|
"nodeType": "Identifier",
|
2611
2659
|
"overloadedDeclarations": [],
|
2612
|
-
"referencedDeclaration":
|
2613
|
-
"src": "
|
2660
|
+
"referencedDeclaration": 38818,
|
2661
|
+
"src": "5991:9:97",
|
2614
2662
|
"typeDescriptions": {
|
2615
2663
|
"typeIdentifier": "t_address",
|
2616
2664
|
"typeString": "address"
|
2617
2665
|
}
|
2618
2666
|
},
|
2619
2667
|
{
|
2620
|
-
"id":
|
2668
|
+
"id": 38835,
|
2621
2669
|
"name": "msgValue",
|
2622
2670
|
"nodeType": "Identifier",
|
2623
2671
|
"overloadedDeclarations": [],
|
2624
|
-
"referencedDeclaration":
|
2625
|
-
"src": "
|
2672
|
+
"referencedDeclaration": 38820,
|
2673
|
+
"src": "6018:8:97",
|
2626
2674
|
"typeDescriptions": {
|
2627
2675
|
"typeIdentifier": "t_uint256",
|
2628
2676
|
"typeString": "uint256"
|
2629
2677
|
}
|
2630
2678
|
},
|
2631
2679
|
{
|
2632
|
-
"id":
|
2680
|
+
"id": 38836,
|
2633
2681
|
"name": "target",
|
2634
2682
|
"nodeType": "Identifier",
|
2635
2683
|
"overloadedDeclarations": [],
|
2636
|
-
"referencedDeclaration":
|
2637
|
-
"src": "
|
2684
|
+
"referencedDeclaration": 38822,
|
2685
|
+
"src": "6042:6:97",
|
2638
2686
|
"typeDescriptions": {
|
2639
2687
|
"typeIdentifier": "t_address",
|
2640
2688
|
"typeString": "address"
|
2641
2689
|
}
|
2642
2690
|
},
|
2643
2691
|
{
|
2644
|
-
"id":
|
2692
|
+
"id": 38837,
|
2645
2693
|
"name": "callData",
|
2646
2694
|
"nodeType": "Identifier",
|
2647
2695
|
"overloadedDeclarations": [],
|
2648
|
-
"referencedDeclaration":
|
2649
|
-
"src": "
|
2696
|
+
"referencedDeclaration": 38824,
|
2697
|
+
"src": "6066:8:97",
|
2650
2698
|
"typeDescriptions": {
|
2651
2699
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2652
2700
|
"typeString": "bytes memory"
|
@@ -2672,28 +2720,28 @@
|
|
2672
2720
|
"typeString": "bytes memory"
|
2673
2721
|
}
|
2674
2722
|
],
|
2675
|
-
"id":
|
2723
|
+
"id": 38833,
|
2676
2724
|
"name": "callWithContext",
|
2677
2725
|
"nodeType": "Identifier",
|
2678
2726
|
"overloadedDeclarations": [],
|
2679
|
-
"referencedDeclaration":
|
2680
|
-
"src": "
|
2727
|
+
"referencedDeclaration": 38785,
|
2728
|
+
"src": "5956:15:97",
|
2681
2729
|
"typeDescriptions": {
|
2682
2730
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
2683
2731
|
"typeString": "function (address,uint256,address,bytes memory) returns (bool,bytes memory)"
|
2684
2732
|
}
|
2685
2733
|
},
|
2686
|
-
"id":
|
2734
|
+
"id": 38838,
|
2687
2735
|
"isConstant": false,
|
2688
2736
|
"isLValue": false,
|
2689
2737
|
"isPure": false,
|
2690
2738
|
"kind": "functionCall",
|
2691
2739
|
"lValueRequested": false,
|
2692
2740
|
"nameLocations": [
|
2693
|
-
"
|
2694
|
-
"
|
2695
|
-
"
|
2696
|
-
"
|
2741
|
+
"5980:9:97",
|
2742
|
+
"6008:8:97",
|
2743
|
+
"6034:6:97",
|
2744
|
+
"6056:8:97"
|
2697
2745
|
],
|
2698
2746
|
"names": [
|
2699
2747
|
"msgSender",
|
@@ -2702,7 +2750,7 @@
|
|
2702
2750
|
"callData"
|
2703
2751
|
],
|
2704
2752
|
"nodeType": "FunctionCall",
|
2705
|
-
"src": "
|
2753
|
+
"src": "5956:125:97",
|
2706
2754
|
"tryCall": false,
|
2707
2755
|
"typeDescriptions": {
|
2708
2756
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
@@ -2710,11 +2758,11 @@
|
|
2710
2758
|
}
|
2711
2759
|
},
|
2712
2760
|
"nodeType": "VariableDeclarationStatement",
|
2713
|
-
"src": "
|
2761
|
+
"src": "5919:162:97"
|
2714
2762
|
},
|
2715
2763
|
{
|
2716
2764
|
"condition": {
|
2717
|
-
"id":
|
2765
|
+
"id": 38841,
|
2718
2766
|
"isConstant": false,
|
2719
2767
|
"isLValue": false,
|
2720
2768
|
"isPure": false,
|
@@ -2722,14 +2770,14 @@
|
|
2722
2770
|
"nodeType": "UnaryOperation",
|
2723
2771
|
"operator": "!",
|
2724
2772
|
"prefix": true,
|
2725
|
-
"src": "
|
2773
|
+
"src": "6091:8:97",
|
2726
2774
|
"subExpression": {
|
2727
|
-
"id":
|
2775
|
+
"id": 38840,
|
2728
2776
|
"name": "success",
|
2729
2777
|
"nodeType": "Identifier",
|
2730
2778
|
"overloadedDeclarations": [],
|
2731
|
-
"referencedDeclaration":
|
2732
|
-
"src": "
|
2779
|
+
"referencedDeclaration": 38830,
|
2780
|
+
"src": "6092:7:97",
|
2733
2781
|
"typeDescriptions": {
|
2734
2782
|
"typeIdentifier": "t_bool",
|
2735
2783
|
"typeString": "bool"
|
@@ -2740,19 +2788,19 @@
|
|
2740
2788
|
"typeString": "bool"
|
2741
2789
|
}
|
2742
2790
|
},
|
2743
|
-
"id":
|
2791
|
+
"id": 38846,
|
2744
2792
|
"nodeType": "IfStatement",
|
2745
|
-
"src": "
|
2793
|
+
"src": "6087:36:97",
|
2746
2794
|
"trueBody": {
|
2747
2795
|
"expression": {
|
2748
2796
|
"arguments": [
|
2749
2797
|
{
|
2750
|
-
"id":
|
2798
|
+
"id": 38843,
|
2751
2799
|
"name": "_data",
|
2752
2800
|
"nodeType": "Identifier",
|
2753
2801
|
"overloadedDeclarations": [],
|
2754
|
-
"referencedDeclaration":
|
2755
|
-
"src": "
|
2802
|
+
"referencedDeclaration": 38832,
|
2803
|
+
"src": "6117:5:97",
|
2756
2804
|
"typeDescriptions": {
|
2757
2805
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2758
2806
|
"typeString": "bytes memory"
|
@@ -2766,18 +2814,18 @@
|
|
2766
2814
|
"typeString": "bytes memory"
|
2767
2815
|
}
|
2768
2816
|
],
|
2769
|
-
"id":
|
2817
|
+
"id": 38842,
|
2770
2818
|
"name": "revertWithBytes",
|
2771
2819
|
"nodeType": "Identifier",
|
2772
2820
|
"overloadedDeclarations": [],
|
2773
|
-
"referencedDeclaration":
|
2774
|
-
"src": "
|
2821
|
+
"referencedDeclaration": 39280,
|
2822
|
+
"src": "6101:15:97",
|
2775
2823
|
"typeDescriptions": {
|
2776
2824
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",
|
2777
2825
|
"typeString": "function (bytes memory) pure"
|
2778
2826
|
}
|
2779
2827
|
},
|
2780
|
-
"id":
|
2828
|
+
"id": 38844,
|
2781
2829
|
"isConstant": false,
|
2782
2830
|
"isLValue": false,
|
2783
2831
|
"isPure": false,
|
@@ -2786,56 +2834,62 @@
|
|
2786
2834
|
"nameLocations": [],
|
2787
2835
|
"names": [],
|
2788
2836
|
"nodeType": "FunctionCall",
|
2789
|
-
"src": "
|
2837
|
+
"src": "6101:22:97",
|
2790
2838
|
"tryCall": false,
|
2791
2839
|
"typeDescriptions": {
|
2792
2840
|
"typeIdentifier": "t_tuple$__$",
|
2793
2841
|
"typeString": "tuple()"
|
2794
2842
|
}
|
2795
2843
|
},
|
2796
|
-
"id":
|
2844
|
+
"id": 38845,
|
2797
2845
|
"nodeType": "ExpressionStatement",
|
2798
|
-
"src": "
|
2846
|
+
"src": "6101:22:97"
|
2799
2847
|
}
|
2800
2848
|
},
|
2801
2849
|
{
|
2802
2850
|
"expression": {
|
2803
|
-
"id":
|
2851
|
+
"id": 38847,
|
2804
2852
|
"name": "_data",
|
2805
2853
|
"nodeType": "Identifier",
|
2806
2854
|
"overloadedDeclarations": [],
|
2807
|
-
"referencedDeclaration":
|
2808
|
-
"src": "
|
2855
|
+
"referencedDeclaration": 38832,
|
2856
|
+
"src": "6136:5:97",
|
2809
2857
|
"typeDescriptions": {
|
2810
2858
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2811
2859
|
"typeString": "bytes memory"
|
2812
2860
|
}
|
2813
2861
|
},
|
2814
|
-
"functionReturnParameters":
|
2815
|
-
"id":
|
2862
|
+
"functionReturnParameters": 38828,
|
2863
|
+
"id": 38848,
|
2816
2864
|
"nodeType": "Return",
|
2817
|
-
"src": "
|
2865
|
+
"src": "6129:12:97"
|
2818
2866
|
}
|
2819
2867
|
]
|
2820
2868
|
},
|
2869
|
+
"documentation": {
|
2870
|
+
"id": 38816,
|
2871
|
+
"nodeType": "StructuredDocumentation",
|
2872
|
+
"src": "5296:448:97",
|
2873
|
+
"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
|
+
},
|
2821
2875
|
"implemented": true,
|
2822
2876
|
"kind": "function",
|
2823
2877
|
"modifiers": [],
|
2824
2878
|
"name": "callWithContextOrRevert",
|
2825
|
-
"nameLocation": "
|
2879
|
+
"nameLocation": "5756:23:97",
|
2826
2880
|
"parameters": {
|
2827
|
-
"id":
|
2881
|
+
"id": 38825,
|
2828
2882
|
"nodeType": "ParameterList",
|
2829
2883
|
"parameters": [
|
2830
2884
|
{
|
2831
2885
|
"constant": false,
|
2832
|
-
"id":
|
2886
|
+
"id": 38818,
|
2833
2887
|
"mutability": "mutable",
|
2834
2888
|
"name": "msgSender",
|
2835
|
-
"nameLocation": "
|
2889
|
+
"nameLocation": "5793:9:97",
|
2836
2890
|
"nodeType": "VariableDeclaration",
|
2837
|
-
"scope":
|
2838
|
-
"src": "
|
2891
|
+
"scope": 38850,
|
2892
|
+
"src": "5785:17:97",
|
2839
2893
|
"stateVariable": false,
|
2840
2894
|
"storageLocation": "default",
|
2841
2895
|
"typeDescriptions": {
|
@@ -2843,10 +2897,10 @@
|
|
2843
2897
|
"typeString": "address"
|
2844
2898
|
},
|
2845
2899
|
"typeName": {
|
2846
|
-
"id":
|
2900
|
+
"id": 38817,
|
2847
2901
|
"name": "address",
|
2848
2902
|
"nodeType": "ElementaryTypeName",
|
2849
|
-
"src": "
|
2903
|
+
"src": "5785:7:97",
|
2850
2904
|
"stateMutability": "nonpayable",
|
2851
2905
|
"typeDescriptions": {
|
2852
2906
|
"typeIdentifier": "t_address",
|
@@ -2857,13 +2911,13 @@
|
|
2857
2911
|
},
|
2858
2912
|
{
|
2859
2913
|
"constant": false,
|
2860
|
-
"id":
|
2914
|
+
"id": 38820,
|
2861
2915
|
"mutability": "mutable",
|
2862
2916
|
"name": "msgValue",
|
2863
|
-
"nameLocation": "
|
2917
|
+
"nameLocation": "5816:8:97",
|
2864
2918
|
"nodeType": "VariableDeclaration",
|
2865
|
-
"scope":
|
2866
|
-
"src": "
|
2919
|
+
"scope": 38850,
|
2920
|
+
"src": "5808:16:97",
|
2867
2921
|
"stateVariable": false,
|
2868
2922
|
"storageLocation": "default",
|
2869
2923
|
"typeDescriptions": {
|
@@ -2871,10 +2925,10 @@
|
|
2871
2925
|
"typeString": "uint256"
|
2872
2926
|
},
|
2873
2927
|
"typeName": {
|
2874
|
-
"id":
|
2928
|
+
"id": 38819,
|
2875
2929
|
"name": "uint256",
|
2876
2930
|
"nodeType": "ElementaryTypeName",
|
2877
|
-
"src": "
|
2931
|
+
"src": "5808:7:97",
|
2878
2932
|
"typeDescriptions": {
|
2879
2933
|
"typeIdentifier": "t_uint256",
|
2880
2934
|
"typeString": "uint256"
|
@@ -2884,13 +2938,13 @@
|
|
2884
2938
|
},
|
2885
2939
|
{
|
2886
2940
|
"constant": false,
|
2887
|
-
"id":
|
2941
|
+
"id": 38822,
|
2888
2942
|
"mutability": "mutable",
|
2889
2943
|
"name": "target",
|
2890
|
-
"nameLocation": "
|
2944
|
+
"nameLocation": "5838:6:97",
|
2891
2945
|
"nodeType": "VariableDeclaration",
|
2892
|
-
"scope":
|
2893
|
-
"src": "
|
2946
|
+
"scope": 38850,
|
2947
|
+
"src": "5830:14:97",
|
2894
2948
|
"stateVariable": false,
|
2895
2949
|
"storageLocation": "default",
|
2896
2950
|
"typeDescriptions": {
|
@@ -2898,10 +2952,10 @@
|
|
2898
2952
|
"typeString": "address"
|
2899
2953
|
},
|
2900
2954
|
"typeName": {
|
2901
|
-
"id":
|
2955
|
+
"id": 38821,
|
2902
2956
|
"name": "address",
|
2903
2957
|
"nodeType": "ElementaryTypeName",
|
2904
|
-
"src": "
|
2958
|
+
"src": "5830:7:97",
|
2905
2959
|
"stateMutability": "nonpayable",
|
2906
2960
|
"typeDescriptions": {
|
2907
2961
|
"typeIdentifier": "t_address",
|
@@ -2912,13 +2966,13 @@
|
|
2912
2966
|
},
|
2913
2967
|
{
|
2914
2968
|
"constant": false,
|
2915
|
-
"id":
|
2969
|
+
"id": 38824,
|
2916
2970
|
"mutability": "mutable",
|
2917
2971
|
"name": "callData",
|
2918
|
-
"nameLocation": "
|
2972
|
+
"nameLocation": "5863:8:97",
|
2919
2973
|
"nodeType": "VariableDeclaration",
|
2920
|
-
"scope":
|
2921
|
-
"src": "
|
2974
|
+
"scope": 38850,
|
2975
|
+
"src": "5850:21:97",
|
2922
2976
|
"stateVariable": false,
|
2923
2977
|
"storageLocation": "memory",
|
2924
2978
|
"typeDescriptions": {
|
@@ -2926,10 +2980,10 @@
|
|
2926
2980
|
"typeString": "bytes"
|
2927
2981
|
},
|
2928
2982
|
"typeName": {
|
2929
|
-
"id":
|
2983
|
+
"id": 38823,
|
2930
2984
|
"name": "bytes",
|
2931
2985
|
"nodeType": "ElementaryTypeName",
|
2932
|
-
"src": "
|
2986
|
+
"src": "5850:5:97",
|
2933
2987
|
"typeDescriptions": {
|
2934
2988
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2935
2989
|
"typeString": "bytes"
|
@@ -2938,21 +2992,21 @@
|
|
2938
2992
|
"visibility": "internal"
|
2939
2993
|
}
|
2940
2994
|
],
|
2941
|
-
"src": "
|
2995
|
+
"src": "5779:96:97"
|
2942
2996
|
},
|
2943
2997
|
"returnParameters": {
|
2944
|
-
"id":
|
2998
|
+
"id": 38828,
|
2945
2999
|
"nodeType": "ParameterList",
|
2946
3000
|
"parameters": [
|
2947
3001
|
{
|
2948
3002
|
"constant": false,
|
2949
|
-
"id":
|
3003
|
+
"id": 38827,
|
2950
3004
|
"mutability": "mutable",
|
2951
3005
|
"name": "data",
|
2952
|
-
"nameLocation": "
|
3006
|
+
"nameLocation": "5907:4:97",
|
2953
3007
|
"nodeType": "VariableDeclaration",
|
2954
|
-
"scope":
|
2955
|
-
"src": "
|
3008
|
+
"scope": 38850,
|
3009
|
+
"src": "5894:17:97",
|
2956
3010
|
"stateVariable": false,
|
2957
3011
|
"storageLocation": "memory",
|
2958
3012
|
"typeDescriptions": {
|
@@ -2960,10 +3014,10 @@
|
|
2960
3014
|
"typeString": "bytes"
|
2961
3015
|
},
|
2962
3016
|
"typeName": {
|
2963
|
-
"id":
|
3017
|
+
"id": 38826,
|
2964
3018
|
"name": "bytes",
|
2965
3019
|
"nodeType": "ElementaryTypeName",
|
2966
|
-
"src": "
|
3020
|
+
"src": "5894:5:97",
|
2967
3021
|
"typeDescriptions": {
|
2968
3022
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2969
3023
|
"typeString": "bytes"
|
@@ -2972,39 +3026,39 @@
|
|
2972
3026
|
"visibility": "internal"
|
2973
3027
|
}
|
2974
3028
|
],
|
2975
|
-
"src": "
|
3029
|
+
"src": "5893:19:97"
|
2976
3030
|
},
|
2977
|
-
"scope":
|
3031
|
+
"scope": 38886,
|
2978
3032
|
"stateMutability": "nonpayable",
|
2979
3033
|
"virtual": false,
|
2980
3034
|
"visibility": "internal"
|
2981
3035
|
},
|
2982
3036
|
{
|
2983
|
-
"id":
|
3037
|
+
"id": 38885,
|
2984
3038
|
"nodeType": "FunctionDefinition",
|
2985
|
-
"src": "
|
3039
|
+
"src": "6609:415:97",
|
2986
3040
|
"nodes": [],
|
2987
3041
|
"body": {
|
2988
|
-
"id":
|
3042
|
+
"id": 38884,
|
2989
3043
|
"nodeType": "Block",
|
2990
|
-
"src": "
|
3044
|
+
"src": "6783:241:97",
|
2991
3045
|
"nodes": [],
|
2992
3046
|
"statements": [
|
2993
3047
|
{
|
2994
3048
|
"assignments": [
|
2995
|
-
|
2996
|
-
|
3049
|
+
38865,
|
3050
|
+
38867
|
2997
3051
|
],
|
2998
3052
|
"declarations": [
|
2999
3053
|
{
|
3000
3054
|
"constant": false,
|
3001
|
-
"id":
|
3055
|
+
"id": 38865,
|
3002
3056
|
"mutability": "mutable",
|
3003
3057
|
"name": "success",
|
3004
|
-
"nameLocation": "
|
3058
|
+
"nameLocation": "6795:7:97",
|
3005
3059
|
"nodeType": "VariableDeclaration",
|
3006
|
-
"scope":
|
3007
|
-
"src": "
|
3060
|
+
"scope": 38884,
|
3061
|
+
"src": "6790:12:97",
|
3008
3062
|
"stateVariable": false,
|
3009
3063
|
"storageLocation": "default",
|
3010
3064
|
"typeDescriptions": {
|
@@ -3012,10 +3066,10 @@
|
|
3012
3066
|
"typeString": "bool"
|
3013
3067
|
},
|
3014
3068
|
"typeName": {
|
3015
|
-
"id":
|
3069
|
+
"id": 38864,
|
3016
3070
|
"name": "bool",
|
3017
3071
|
"nodeType": "ElementaryTypeName",
|
3018
|
-
"src": "
|
3072
|
+
"src": "6790:4:97",
|
3019
3073
|
"typeDescriptions": {
|
3020
3074
|
"typeIdentifier": "t_bool",
|
3021
3075
|
"typeString": "bool"
|
@@ -3025,13 +3079,13 @@
|
|
3025
3079
|
},
|
3026
3080
|
{
|
3027
3081
|
"constant": false,
|
3028
|
-
"id":
|
3082
|
+
"id": 38867,
|
3029
3083
|
"mutability": "mutable",
|
3030
3084
|
"name": "_data",
|
3031
|
-
"nameLocation": "
|
3085
|
+
"nameLocation": "6817:5:97",
|
3032
3086
|
"nodeType": "VariableDeclaration",
|
3033
|
-
"scope":
|
3034
|
-
"src": "
|
3087
|
+
"scope": 38884,
|
3088
|
+
"src": "6804:18:97",
|
3035
3089
|
"stateVariable": false,
|
3036
3090
|
"storageLocation": "memory",
|
3037
3091
|
"typeDescriptions": {
|
@@ -3039,10 +3093,10 @@
|
|
3039
3093
|
"typeString": "bytes"
|
3040
3094
|
},
|
3041
3095
|
"typeName": {
|
3042
|
-
"id":
|
3096
|
+
"id": 38866,
|
3043
3097
|
"name": "bytes",
|
3044
3098
|
"nodeType": "ElementaryTypeName",
|
3045
|
-
"src": "
|
3099
|
+
"src": "6804:5:97",
|
3046
3100
|
"typeDescriptions": {
|
3047
3101
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3048
3102
|
"typeString": "bytes"
|
@@ -3051,52 +3105,52 @@
|
|
3051
3105
|
"visibility": "internal"
|
3052
3106
|
}
|
3053
3107
|
],
|
3054
|
-
"id":
|
3108
|
+
"id": 38874,
|
3055
3109
|
"initialValue": {
|
3056
3110
|
"arguments": [
|
3057
3111
|
{
|
3058
|
-
"id":
|
3112
|
+
"id": 38869,
|
3059
3113
|
"name": "msgSender",
|
3060
3114
|
"nodeType": "Identifier",
|
3061
3115
|
"overloadedDeclarations": [],
|
3062
|
-
"referencedDeclaration":
|
3063
|
-
"src": "
|
3116
|
+
"referencedDeclaration": 38853,
|
3117
|
+
"src": "6869:9:97",
|
3064
3118
|
"typeDescriptions": {
|
3065
3119
|
"typeIdentifier": "t_address",
|
3066
3120
|
"typeString": "address"
|
3067
3121
|
}
|
3068
3122
|
},
|
3069
3123
|
{
|
3070
|
-
"id":
|
3124
|
+
"id": 38870,
|
3071
3125
|
"name": "msgValue",
|
3072
3126
|
"nodeType": "Identifier",
|
3073
3127
|
"overloadedDeclarations": [],
|
3074
|
-
"referencedDeclaration":
|
3075
|
-
"src": "
|
3128
|
+
"referencedDeclaration": 38855,
|
3129
|
+
"src": "6896:8:97",
|
3076
3130
|
"typeDescriptions": {
|
3077
3131
|
"typeIdentifier": "t_uint256",
|
3078
3132
|
"typeString": "uint256"
|
3079
3133
|
}
|
3080
3134
|
},
|
3081
3135
|
{
|
3082
|
-
"id":
|
3136
|
+
"id": 38871,
|
3083
3137
|
"name": "target",
|
3084
3138
|
"nodeType": "Identifier",
|
3085
3139
|
"overloadedDeclarations": [],
|
3086
|
-
"referencedDeclaration":
|
3087
|
-
"src": "
|
3140
|
+
"referencedDeclaration": 38857,
|
3141
|
+
"src": "6920:6:97",
|
3088
3142
|
"typeDescriptions": {
|
3089
3143
|
"typeIdentifier": "t_address",
|
3090
3144
|
"typeString": "address"
|
3091
3145
|
}
|
3092
3146
|
},
|
3093
3147
|
{
|
3094
|
-
"id":
|
3148
|
+
"id": 38872,
|
3095
3149
|
"name": "callData",
|
3096
3150
|
"nodeType": "Identifier",
|
3097
3151
|
"overloadedDeclarations": [],
|
3098
|
-
"referencedDeclaration":
|
3099
|
-
"src": "
|
3152
|
+
"referencedDeclaration": 38859,
|
3153
|
+
"src": "6944:8:97",
|
3100
3154
|
"typeDescriptions": {
|
3101
3155
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3102
3156
|
"typeString": "bytes memory"
|
@@ -3122,28 +3176,28 @@
|
|
3122
3176
|
"typeString": "bytes memory"
|
3123
3177
|
}
|
3124
3178
|
],
|
3125
|
-
"id":
|
3179
|
+
"id": 38868,
|
3126
3180
|
"name": "delegatecallWithContext",
|
3127
3181
|
"nodeType": "Identifier",
|
3128
3182
|
"overloadedDeclarations": [],
|
3129
|
-
"referencedDeclaration":
|
3130
|
-
"src": "
|
3183
|
+
"referencedDeclaration": 38815,
|
3184
|
+
"src": "6826:23:97",
|
3131
3185
|
"typeDescriptions": {
|
3132
3186
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
3133
3187
|
"typeString": "function (address,uint256,address,bytes memory) returns (bool,bytes memory)"
|
3134
3188
|
}
|
3135
3189
|
},
|
3136
|
-
"id":
|
3190
|
+
"id": 38873,
|
3137
3191
|
"isConstant": false,
|
3138
3192
|
"isLValue": false,
|
3139
3193
|
"isPure": false,
|
3140
3194
|
"kind": "functionCall",
|
3141
3195
|
"lValueRequested": false,
|
3142
3196
|
"nameLocations": [
|
3143
|
-
"
|
3144
|
-
"
|
3145
|
-
"
|
3146
|
-
"
|
3197
|
+
"6858:9:97",
|
3198
|
+
"6886:8:97",
|
3199
|
+
"6912:6:97",
|
3200
|
+
"6934:8:97"
|
3147
3201
|
],
|
3148
3202
|
"names": [
|
3149
3203
|
"msgSender",
|
@@ -3152,7 +3206,7 @@
|
|
3152
3206
|
"callData"
|
3153
3207
|
],
|
3154
3208
|
"nodeType": "FunctionCall",
|
3155
|
-
"src": "
|
3209
|
+
"src": "6826:133:97",
|
3156
3210
|
"tryCall": false,
|
3157
3211
|
"typeDescriptions": {
|
3158
3212
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
@@ -3160,11 +3214,11 @@
|
|
3160
3214
|
}
|
3161
3215
|
},
|
3162
3216
|
"nodeType": "VariableDeclarationStatement",
|
3163
|
-
"src": "
|
3217
|
+
"src": "6789:170:97"
|
3164
3218
|
},
|
3165
3219
|
{
|
3166
3220
|
"condition": {
|
3167
|
-
"id":
|
3221
|
+
"id": 38876,
|
3168
3222
|
"isConstant": false,
|
3169
3223
|
"isLValue": false,
|
3170
3224
|
"isPure": false,
|
@@ -3172,14 +3226,14 @@
|
|
3172
3226
|
"nodeType": "UnaryOperation",
|
3173
3227
|
"operator": "!",
|
3174
3228
|
"prefix": true,
|
3175
|
-
"src": "
|
3229
|
+
"src": "6969:8:97",
|
3176
3230
|
"subExpression": {
|
3177
|
-
"id":
|
3231
|
+
"id": 38875,
|
3178
3232
|
"name": "success",
|
3179
3233
|
"nodeType": "Identifier",
|
3180
3234
|
"overloadedDeclarations": [],
|
3181
|
-
"referencedDeclaration":
|
3182
|
-
"src": "
|
3235
|
+
"referencedDeclaration": 38865,
|
3236
|
+
"src": "6970:7:97",
|
3183
3237
|
"typeDescriptions": {
|
3184
3238
|
"typeIdentifier": "t_bool",
|
3185
3239
|
"typeString": "bool"
|
@@ -3190,19 +3244,19 @@
|
|
3190
3244
|
"typeString": "bool"
|
3191
3245
|
}
|
3192
3246
|
},
|
3193
|
-
"id":
|
3247
|
+
"id": 38881,
|
3194
3248
|
"nodeType": "IfStatement",
|
3195
|
-
"src": "
|
3249
|
+
"src": "6965:36:97",
|
3196
3250
|
"trueBody": {
|
3197
3251
|
"expression": {
|
3198
3252
|
"arguments": [
|
3199
3253
|
{
|
3200
|
-
"id":
|
3254
|
+
"id": 38878,
|
3201
3255
|
"name": "_data",
|
3202
3256
|
"nodeType": "Identifier",
|
3203
3257
|
"overloadedDeclarations": [],
|
3204
|
-
"referencedDeclaration":
|
3205
|
-
"src": "
|
3258
|
+
"referencedDeclaration": 38867,
|
3259
|
+
"src": "6995:5:97",
|
3206
3260
|
"typeDescriptions": {
|
3207
3261
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3208
3262
|
"typeString": "bytes memory"
|
@@ -3216,18 +3270,18 @@
|
|
3216
3270
|
"typeString": "bytes memory"
|
3217
3271
|
}
|
3218
3272
|
],
|
3219
|
-
"id":
|
3273
|
+
"id": 38877,
|
3220
3274
|
"name": "revertWithBytes",
|
3221
3275
|
"nodeType": "Identifier",
|
3222
3276
|
"overloadedDeclarations": [],
|
3223
|
-
"referencedDeclaration":
|
3224
|
-
"src": "
|
3277
|
+
"referencedDeclaration": 39280,
|
3278
|
+
"src": "6979:15:97",
|
3225
3279
|
"typeDescriptions": {
|
3226
3280
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",
|
3227
3281
|
"typeString": "function (bytes memory) pure"
|
3228
3282
|
}
|
3229
3283
|
},
|
3230
|
-
"id":
|
3284
|
+
"id": 38879,
|
3231
3285
|
"isConstant": false,
|
3232
3286
|
"isLValue": false,
|
3233
3287
|
"isPure": false,
|
@@ -3236,56 +3290,62 @@
|
|
3236
3290
|
"nameLocations": [],
|
3237
3291
|
"names": [],
|
3238
3292
|
"nodeType": "FunctionCall",
|
3239
|
-
"src": "
|
3293
|
+
"src": "6979:22:97",
|
3240
3294
|
"tryCall": false,
|
3241
3295
|
"typeDescriptions": {
|
3242
3296
|
"typeIdentifier": "t_tuple$__$",
|
3243
3297
|
"typeString": "tuple()"
|
3244
3298
|
}
|
3245
3299
|
},
|
3246
|
-
"id":
|
3300
|
+
"id": 38880,
|
3247
3301
|
"nodeType": "ExpressionStatement",
|
3248
|
-
"src": "
|
3302
|
+
"src": "6979:22:97"
|
3249
3303
|
}
|
3250
3304
|
},
|
3251
3305
|
{
|
3252
3306
|
"expression": {
|
3253
|
-
"id":
|
3307
|
+
"id": 38882,
|
3254
3308
|
"name": "_data",
|
3255
3309
|
"nodeType": "Identifier",
|
3256
3310
|
"overloadedDeclarations": [],
|
3257
|
-
"referencedDeclaration":
|
3258
|
-
"src": "
|
3311
|
+
"referencedDeclaration": 38867,
|
3312
|
+
"src": "7014:5:97",
|
3259
3313
|
"typeDescriptions": {
|
3260
3314
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3261
3315
|
"typeString": "bytes memory"
|
3262
3316
|
}
|
3263
3317
|
},
|
3264
|
-
"functionReturnParameters":
|
3265
|
-
"id":
|
3318
|
+
"functionReturnParameters": 38863,
|
3319
|
+
"id": 38883,
|
3266
3320
|
"nodeType": "Return",
|
3267
|
-
"src": "
|
3321
|
+
"src": "7007:12:97"
|
3268
3322
|
}
|
3269
3323
|
]
|
3270
3324
|
},
|
3325
|
+
"documentation": {
|
3326
|
+
"id": 38851,
|
3327
|
+
"nodeType": "StructuredDocumentation",
|
3328
|
+
"src": "6150:456:97",
|
3329
|
+
"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
|
+
},
|
3271
3331
|
"implemented": true,
|
3272
3332
|
"kind": "function",
|
3273
3333
|
"modifiers": [],
|
3274
3334
|
"name": "delegatecallWithContextOrRevert",
|
3275
|
-
"nameLocation": "
|
3335
|
+
"nameLocation": "6618:31:97",
|
3276
3336
|
"parameters": {
|
3277
|
-
"id":
|
3337
|
+
"id": 38860,
|
3278
3338
|
"nodeType": "ParameterList",
|
3279
3339
|
"parameters": [
|
3280
3340
|
{
|
3281
3341
|
"constant": false,
|
3282
|
-
"id":
|
3342
|
+
"id": 38853,
|
3283
3343
|
"mutability": "mutable",
|
3284
3344
|
"name": "msgSender",
|
3285
|
-
"nameLocation": "
|
3345
|
+
"nameLocation": "6663:9:97",
|
3286
3346
|
"nodeType": "VariableDeclaration",
|
3287
|
-
"scope":
|
3288
|
-
"src": "
|
3347
|
+
"scope": 38885,
|
3348
|
+
"src": "6655:17:97",
|
3289
3349
|
"stateVariable": false,
|
3290
3350
|
"storageLocation": "default",
|
3291
3351
|
"typeDescriptions": {
|
@@ -3293,10 +3353,10 @@
|
|
3293
3353
|
"typeString": "address"
|
3294
3354
|
},
|
3295
3355
|
"typeName": {
|
3296
|
-
"id":
|
3356
|
+
"id": 38852,
|
3297
3357
|
"name": "address",
|
3298
3358
|
"nodeType": "ElementaryTypeName",
|
3299
|
-
"src": "
|
3359
|
+
"src": "6655:7:97",
|
3300
3360
|
"stateMutability": "nonpayable",
|
3301
3361
|
"typeDescriptions": {
|
3302
3362
|
"typeIdentifier": "t_address",
|
@@ -3307,13 +3367,13 @@
|
|
3307
3367
|
},
|
3308
3368
|
{
|
3309
3369
|
"constant": false,
|
3310
|
-
"id":
|
3370
|
+
"id": 38855,
|
3311
3371
|
"mutability": "mutable",
|
3312
3372
|
"name": "msgValue",
|
3313
|
-
"nameLocation": "
|
3373
|
+
"nameLocation": "6686:8:97",
|
3314
3374
|
"nodeType": "VariableDeclaration",
|
3315
|
-
"scope":
|
3316
|
-
"src": "
|
3375
|
+
"scope": 38885,
|
3376
|
+
"src": "6678:16:97",
|
3317
3377
|
"stateVariable": false,
|
3318
3378
|
"storageLocation": "default",
|
3319
3379
|
"typeDescriptions": {
|
@@ -3321,10 +3381,10 @@
|
|
3321
3381
|
"typeString": "uint256"
|
3322
3382
|
},
|
3323
3383
|
"typeName": {
|
3324
|
-
"id":
|
3384
|
+
"id": 38854,
|
3325
3385
|
"name": "uint256",
|
3326
3386
|
"nodeType": "ElementaryTypeName",
|
3327
|
-
"src": "
|
3387
|
+
"src": "6678:7:97",
|
3328
3388
|
"typeDescriptions": {
|
3329
3389
|
"typeIdentifier": "t_uint256",
|
3330
3390
|
"typeString": "uint256"
|
@@ -3334,13 +3394,13 @@
|
|
3334
3394
|
},
|
3335
3395
|
{
|
3336
3396
|
"constant": false,
|
3337
|
-
"id":
|
3397
|
+
"id": 38857,
|
3338
3398
|
"mutability": "mutable",
|
3339
3399
|
"name": "target",
|
3340
|
-
"nameLocation": "
|
3400
|
+
"nameLocation": "6708:6:97",
|
3341
3401
|
"nodeType": "VariableDeclaration",
|
3342
|
-
"scope":
|
3343
|
-
"src": "
|
3402
|
+
"scope": 38885,
|
3403
|
+
"src": "6700:14:97",
|
3344
3404
|
"stateVariable": false,
|
3345
3405
|
"storageLocation": "default",
|
3346
3406
|
"typeDescriptions": {
|
@@ -3348,10 +3408,10 @@
|
|
3348
3408
|
"typeString": "address"
|
3349
3409
|
},
|
3350
3410
|
"typeName": {
|
3351
|
-
"id":
|
3411
|
+
"id": 38856,
|
3352
3412
|
"name": "address",
|
3353
3413
|
"nodeType": "ElementaryTypeName",
|
3354
|
-
"src": "
|
3414
|
+
"src": "6700:7:97",
|
3355
3415
|
"stateMutability": "nonpayable",
|
3356
3416
|
"typeDescriptions": {
|
3357
3417
|
"typeIdentifier": "t_address",
|
@@ -3362,13 +3422,13 @@
|
|
3362
3422
|
},
|
3363
3423
|
{
|
3364
3424
|
"constant": false,
|
3365
|
-
"id":
|
3425
|
+
"id": 38859,
|
3366
3426
|
"mutability": "mutable",
|
3367
3427
|
"name": "callData",
|
3368
|
-
"nameLocation": "
|
3428
|
+
"nameLocation": "6733:8:97",
|
3369
3429
|
"nodeType": "VariableDeclaration",
|
3370
|
-
"scope":
|
3371
|
-
"src": "
|
3430
|
+
"scope": 38885,
|
3431
|
+
"src": "6720:21:97",
|
3372
3432
|
"stateVariable": false,
|
3373
3433
|
"storageLocation": "memory",
|
3374
3434
|
"typeDescriptions": {
|
@@ -3376,10 +3436,10 @@
|
|
3376
3436
|
"typeString": "bytes"
|
3377
3437
|
},
|
3378
3438
|
"typeName": {
|
3379
|
-
"id":
|
3439
|
+
"id": 38858,
|
3380
3440
|
"name": "bytes",
|
3381
3441
|
"nodeType": "ElementaryTypeName",
|
3382
|
-
"src": "
|
3442
|
+
"src": "6720:5:97",
|
3383
3443
|
"typeDescriptions": {
|
3384
3444
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3385
3445
|
"typeString": "bytes"
|
@@ -3388,21 +3448,21 @@
|
|
3388
3448
|
"visibility": "internal"
|
3389
3449
|
}
|
3390
3450
|
],
|
3391
|
-
"src": "
|
3451
|
+
"src": "6649:96:97"
|
3392
3452
|
},
|
3393
3453
|
"returnParameters": {
|
3394
|
-
"id":
|
3454
|
+
"id": 38863,
|
3395
3455
|
"nodeType": "ParameterList",
|
3396
3456
|
"parameters": [
|
3397
3457
|
{
|
3398
3458
|
"constant": false,
|
3399
|
-
"id":
|
3459
|
+
"id": 38862,
|
3400
3460
|
"mutability": "mutable",
|
3401
3461
|
"name": "data",
|
3402
|
-
"nameLocation": "
|
3462
|
+
"nameLocation": "6777:4:97",
|
3403
3463
|
"nodeType": "VariableDeclaration",
|
3404
|
-
"scope":
|
3405
|
-
"src": "
|
3464
|
+
"scope": 38885,
|
3465
|
+
"src": "6764:17:97",
|
3406
3466
|
"stateVariable": false,
|
3407
3467
|
"storageLocation": "memory",
|
3408
3468
|
"typeDescriptions": {
|
@@ -3410,10 +3470,10 @@
|
|
3410
3470
|
"typeString": "bytes"
|
3411
3471
|
},
|
3412
3472
|
"typeName": {
|
3413
|
-
"id":
|
3473
|
+
"id": 38861,
|
3414
3474
|
"name": "bytes",
|
3415
3475
|
"nodeType": "ElementaryTypeName",
|
3416
|
-
"src": "
|
3476
|
+
"src": "6764:5:97",
|
3417
3477
|
"typeDescriptions": {
|
3418
3478
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3419
3479
|
"typeString": "bytes"
|
@@ -3422,9 +3482,9 @@
|
|
3422
3482
|
"visibility": "internal"
|
3423
3483
|
}
|
3424
3484
|
],
|
3425
|
-
"src": "
|
3485
|
+
"src": "6763:19:97"
|
3426
3486
|
},
|
3427
|
-
"scope":
|
3487
|
+
"scope": 38886,
|
3428
3488
|
"stateMutability": "nonpayable",
|
3429
3489
|
"virtual": false,
|
3430
3490
|
"visibility": "internal"
|
@@ -3436,18 +3496,18 @@
|
|
3436
3496
|
"contractDependencies": [],
|
3437
3497
|
"contractKind": "library",
|
3438
3498
|
"documentation": {
|
3439
|
-
"id":
|
3499
|
+
"id": 38733,
|
3440
3500
|
"nodeType": "StructuredDocumentation",
|
3441
|
-
"src": "
|
3442
|
-
"text": "
|
3501
|
+
"src": "2777:329:97",
|
3502
|
+
"text": " @title WorldContextProvider - 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."
|
3443
3503
|
},
|
3444
3504
|
"fullyImplemented": true,
|
3445
3505
|
"linearizedBaseContracts": [
|
3446
|
-
|
3506
|
+
38886
|
3447
3507
|
],
|
3448
3508
|
"name": "WorldContextProvider",
|
3449
|
-
"nameLocation": "
|
3450
|
-
"scope":
|
3509
|
+
"nameLocation": "3115:20:97",
|
3510
|
+
"scope": 38887,
|
3451
3511
|
"usedErrors": [],
|
3452
3512
|
"usedEvents": []
|
3453
3513
|
}
|