@latticexyz/world-module-callwithsignature 2.2.17-03eae1330cef5cae129841958fb75541ef13fb43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (384) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -0
  3. package/dist/internal.d.ts +20 -0
  4. package/dist/internal.js +2 -0
  5. package/dist/internal.js.map +1 -0
  6. package/dist/mud.config.d.ts +103 -0
  7. package/dist/mud.config.js +2 -0
  8. package/dist/mud.config.js.map +1 -0
  9. package/out/AccessControl.sol/AccessControl.abi.json +1 -0
  10. package/out/AccessControl.sol/AccessControl.json +1 -0
  11. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json +256 -0
  12. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts +258 -0
  13. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -0
  14. package/out/AddressArray.sol/AddressArray.abi.json +1 -0
  15. package/out/AddressArray.sol/AddressArray.json +1 -0
  16. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json +361 -0
  17. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts +363 -0
  18. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -0
  19. package/out/Balances.sol/Balances.abi.json +1 -0
  20. package/out/Balances.sol/Balances.json +1 -0
  21. package/out/Base.sol/CommonBase.abi.json +1 -0
  22. package/out/Base.sol/CommonBase.json +1 -0
  23. package/out/Base.sol/ScriptBase.abi.json +1 -0
  24. package/out/Base.sol/ScriptBase.json +1 -0
  25. package/out/Base.sol/TestBase.abi.json +1 -0
  26. package/out/Base.sol/TestBase.json +1 -0
  27. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json +132 -0
  28. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json.d.ts +134 -0
  29. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -0
  30. package/out/Bool.sol/Bool.abi.json +1 -0
  31. package/out/Bool.sol/Bool.json +1 -0
  32. package/out/Bytes.sol/Bytes.abi.json +1 -0
  33. package/out/Bytes.sol/Bytes.json +1 -0
  34. package/out/CallWithSignatureModule.sol/CallWithSignatureModule.abi.json +436 -0
  35. package/out/CallWithSignatureModule.sol/CallWithSignatureModule.abi.json.d.ts +438 -0
  36. package/out/CallWithSignatureModule.sol/CallWithSignatureModule.json +1 -0
  37. package/out/CallWithSignatureModule.t.sol/CallWithSignatureModuleTest.abi.json +541 -0
  38. package/out/CallWithSignatureModule.t.sol/CallWithSignatureModuleTest.abi.json.d.ts +543 -0
  39. package/out/CallWithSignatureModule.t.sol/CallWithSignatureModuleTest.json +1 -0
  40. package/out/CallWithSignatureNonces.sol/CallWithSignatureNonces.abi.json +1 -0
  41. package/out/CallWithSignatureNonces.sol/CallWithSignatureNonces.json +1 -0
  42. package/out/CallWithSignatureSystem.sol/CallWithSignatureSystem.abi.json +183 -0
  43. package/out/CallWithSignatureSystem.sol/CallWithSignatureSystem.abi.json.d.ts +185 -0
  44. package/out/CallWithSignatureSystem.sol/CallWithSignatureSystem.json +1 -0
  45. package/out/DecodeSlice.sol/DecodeSlice.abi.json +1 -0
  46. package/out/DecodeSlice.sol/DecodeSlice.json +1 -0
  47. package/out/Delegation.sol/Delegation.abi.json +1 -0
  48. package/out/Delegation.sol/Delegation.json +1 -0
  49. package/out/DelegationControl.sol/DelegationControl.abi.json +89 -0
  50. package/out/DelegationControl.sol/DelegationControl.abi.json.d.ts +91 -0
  51. package/out/DelegationControl.sol/DelegationControl.json +1 -0
  52. package/out/DelegationControlMock.sol/DelegationControlMock.abi.json +126 -0
  53. package/out/DelegationControlMock.sol/DelegationControlMock.abi.json.d.ts +128 -0
  54. package/out/DelegationControlMock.sol/DelegationControlMock.json +1 -0
  55. package/out/ECDSA.sol/ECDSA.abi.json +29 -0
  56. package/out/ECDSA.sol/ECDSA.abi.json.d.ts +31 -0
  57. package/out/ECDSA.sol/ECDSA.json +1 -0
  58. package/out/ERC165Checker.sol/ERC165Checker.abi.json +1 -0
  59. package/out/ERC165Checker.sol/ERC165Checker.json +1 -0
  60. package/out/EchoSubscriber.sol/EchoSubscriber.abi.json +303 -0
  61. package/out/EchoSubscriber.sol/EchoSubscriber.abi.json.d.ts +305 -0
  62. package/out/EchoSubscriber.sol/EchoSubscriber.json +1 -0
  63. package/out/EncodeArray.sol/EncodeArray.abi.json +1 -0
  64. package/out/EncodeArray.sol/EncodeArray.json +1 -0
  65. package/out/EncodedLengths.sol/EncodedLengthsInstance.abi.json +1 -0
  66. package/out/EncodedLengths.sol/EncodedLengthsInstance.json +1 -0
  67. package/out/EncodedLengths.sol/EncodedLengthsLib.abi.json +1 -0
  68. package/out/EncodedLengths.sol/EncodedLengthsLib.json +1 -0
  69. package/out/FieldLayout.sol/FieldLayoutInstance.abi.json +1 -0
  70. package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -0
  71. package/out/FieldLayout.sol/FieldLayoutLib.abi.json +1 -0
  72. package/out/FieldLayout.sol/FieldLayoutLib.json +1 -0
  73. package/out/FieldLayoutEncodeHelper.sol/FieldLayoutEncodeHelper.abi.json +1 -0
  74. package/out/FieldLayoutEncodeHelper.sol/FieldLayoutEncodeHelper.json +1 -0
  75. package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
  76. package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -0
  77. package/out/FunctionSignatures.sol/FunctionSignatures.abi.json +1 -0
  78. package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -0
  79. package/out/GasReporter.sol/GasReporter.abi.json +520 -0
  80. package/out/GasReporter.sol/GasReporter.abi.json.d.ts +522 -0
  81. package/out/GasReporter.sol/GasReporter.json +1 -0
  82. package/out/Hook.sol/HookInstance.abi.json +1 -0
  83. package/out/Hook.sol/HookInstance.json +1 -0
  84. package/out/Hook.sol/HookLib.abi.json +1 -0
  85. package/out/Hook.sol/HookLib.json +1 -0
  86. package/out/Hooks.sol/Hooks.abi.json +1 -0
  87. package/out/Hooks.sol/Hooks.json +1 -0
  88. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json +69 -0
  89. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json.d.ts +71 -0
  90. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -0
  91. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json +48 -0
  92. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json.d.ts +50 -0
  93. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -0
  94. package/out/IBaseWorld.sol/IBaseWorld.abi.json +2008 -0
  95. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +2010 -0
  96. package/out/IBaseWorld.sol/IBaseWorld.json +1 -0
  97. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  98. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +71 -0
  99. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -0
  100. package/out/ICallWithSignatureErrors.sol/ICallWithSignatureErrors.abi.json +7 -0
  101. package/out/ICallWithSignatureErrors.sol/ICallWithSignatureErrors.abi.json.d.ts +9 -0
  102. package/out/ICallWithSignatureErrors.sol/ICallWithSignatureErrors.json +1 -0
  103. package/out/ICallWithSignatureSystem.sol/ICallWithSignatureSystem.abi.json +36 -0
  104. package/out/ICallWithSignatureSystem.sol/ICallWithSignatureSystem.abi.json.d.ts +38 -0
  105. package/out/ICallWithSignatureSystem.sol/ICallWithSignatureSystem.json +1 -0
  106. package/out/IDelegationControl.sol/IDelegationControl.abi.json +89 -0
  107. package/out/IDelegationControl.sol/IDelegationControl.abi.json.d.ts +91 -0
  108. package/out/IDelegationControl.sol/IDelegationControl.json +1 -0
  109. package/out/IERC1271.sol/IERC1271.abi.json +26 -0
  110. package/out/IERC1271.sol/IERC1271.abi.json.d.ts +28 -0
  111. package/out/IERC1271.sol/IERC1271.json +1 -0
  112. package/out/IERC165.sol/IERC165.abi.json +21 -0
  113. package/out/IERC165.sol/IERC165.abi.json.d.ts +23 -0
  114. package/out/IERC165.sol/IERC165.json +1 -0
  115. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json +13 -0
  116. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json.d.ts +15 -0
  117. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.json +1 -0
  118. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json +88 -0
  119. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json.d.ts +90 -0
  120. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.json +1 -0
  121. package/out/IModule.sol/IModule.abi.json +73 -0
  122. package/out/IModule.sol/IModule.abi.json.d.ts +75 -0
  123. package/out/IModule.sol/IModule.json +1 -0
  124. package/out/IModuleErrors.sol/IModuleErrors.abi.json +28 -0
  125. package/out/IModuleErrors.sol/IModuleErrors.abi.json.d.ts +30 -0
  126. package/out/IModuleErrors.sol/IModuleErrors.json +1 -0
  127. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json +20 -0
  128. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json.d.ts +22 -0
  129. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -0
  130. package/out/IMulticall3.sol/IMulticall3.abi.json +440 -0
  131. package/out/IMulticall3.sol/IMulticall3.abi.json.d.ts +442 -0
  132. package/out/IMulticall3.sol/IMulticall3.json +1 -0
  133. package/out/IRegistrationSystem.sol/IRegistrationSystem.abi.json +1 -0
  134. package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -0
  135. package/out/ISchemaErrors.sol/ISchemaErrors.abi.json +18 -0
  136. package/out/ISchemaErrors.sol/ISchemaErrors.abi.json.d.ts +20 -0
  137. package/out/ISchemaErrors.sol/ISchemaErrors.json +1 -0
  138. package/out/ISliceErrors.sol/ISliceErrors.abi.json +23 -0
  139. package/out/ISliceErrors.sol/ISliceErrors.abi.json.d.ts +25 -0
  140. package/out/ISliceErrors.sol/ISliceErrors.json +1 -0
  141. package/out/IStore.sol/IStore.abi.json +1261 -0
  142. package/out/IStore.sol/IStore.abi.json.d.ts +1263 -0
  143. package/out/IStore.sol/IStore.json +1 -0
  144. package/out/IStoreErrors.sol/IStoreErrors.abi.json +204 -0
  145. package/out/IStoreErrors.sol/IStoreErrors.abi.json.d.ts +206 -0
  146. package/out/IStoreErrors.sol/IStoreErrors.json +1 -0
  147. package/out/IStoreEvents.sol/IStoreEvents.abi.json +151 -0
  148. package/out/IStoreEvents.sol/IStoreEvents.abi.json.d.ts +153 -0
  149. package/out/IStoreEvents.sol/IStoreEvents.json +1 -0
  150. package/out/IStoreHook.sol/IStoreHook.abi.json +290 -0
  151. package/out/IStoreHook.sol/IStoreHook.abi.json.d.ts +292 -0
  152. package/out/IStoreHook.sol/IStoreHook.json +1 -0
  153. package/out/IStoreKernel.sol/IStoreKernel.abi.json +1182 -0
  154. package/out/IStoreKernel.sol/IStoreKernel.abi.json.d.ts +1184 -0
  155. package/out/IStoreKernel.sol/IStoreKernel.json +1 -0
  156. package/out/IStoreRead.sol/IStoreRead.abi.json +389 -0
  157. package/out/IStoreRead.sol/IStoreRead.abi.json.d.ts +391 -0
  158. package/out/IStoreRead.sol/IStoreRead.json +1 -0
  159. package/out/IStoreRegistration.sol/IStoreRegistration.abi.json +81 -0
  160. package/out/IStoreRegistration.sol/IStoreRegistration.abi.json.d.ts +83 -0
  161. package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -0
  162. package/out/IStoreWrite.sol/IStoreWrite.abi.json +446 -0
  163. package/out/IStoreWrite.sol/IStoreWrite.abi.json.d.ts +448 -0
  164. package/out/IStoreWrite.sol/IStoreWrite.json +1 -0
  165. package/out/ISystemHook.sol/ISystemHook.abi.json +67 -0
  166. package/out/ISystemHook.sol/ISystemHook.abi.json.d.ts +69 -0
  167. package/out/ISystemHook.sol/ISystemHook.json +1 -0
  168. package/out/IWorld.sol/IWorld.abi.json +2042 -0
  169. package/out/IWorld.sol/IWorld.abi.json.d.ts +2044 -0
  170. package/out/IWorld.sol/IWorld.json +1 -0
  171. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json +60 -0
  172. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json.d.ts +62 -0
  173. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -0
  174. package/out/IWorldErrors.sol/IWorldErrors.abi.json +200 -0
  175. package/out/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +202 -0
  176. package/out/IWorldErrors.sol/IWorldErrors.json +1 -0
  177. package/out/IWorldEvents.sol/IWorldEvents.abi.json +15 -0
  178. package/out/IWorldEvents.sol/IWorldEvents.abi.json.d.ts +17 -0
  179. package/out/IWorldEvents.sol/IWorldEvents.json +1 -0
  180. package/out/IWorldKernel.sol/IWorldCall.abi.json +55 -0
  181. package/out/IWorldKernel.sol/IWorldCall.abi.json.d.ts +57 -0
  182. package/out/IWorldKernel.sol/IWorldCall.json +1 -0
  183. package/out/IWorldKernel.sol/IWorldKernel.abi.json +349 -0
  184. package/out/IWorldKernel.sol/IWorldKernel.abi.json.d.ts +351 -0
  185. package/out/IWorldKernel.sol/IWorldKernel.json +1 -0
  186. package/out/IWorldKernel.sol/IWorldModuleInstallation.abi.json +20 -0
  187. package/out/IWorldKernel.sol/IWorldModuleInstallation.abi.json.d.ts +22 -0
  188. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -0
  189. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json +204 -0
  190. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json.d.ts +206 -0
  191. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -0
  192. package/out/InitModule.sol/InitModule.abi.json +462 -0
  193. package/out/InitModule.sol/InitModule.abi.json.d.ts +464 -0
  194. package/out/InitModule.sol/InitModule.json +1 -0
  195. package/out/InitModuleAddress.sol/InitModuleAddress.abi.json +1 -0
  196. package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -0
  197. package/out/InstalledModules.sol/InstalledModules.abi.json +1 -0
  198. package/out/InstalledModules.sol/InstalledModules.json +1 -0
  199. package/out/LimitedCallContext.sol/LimitedCallContext.abi.json +7 -0
  200. package/out/LimitedCallContext.sol/LimitedCallContext.abi.json.d.ts +9 -0
  201. package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -0
  202. package/out/Memory.sol/Memory.abi.json +1 -0
  203. package/out/Memory.sol/Memory.json +1 -0
  204. package/out/Module.sol/Module.abi.json +112 -0
  205. package/out/Module.sol/Module.abi.json.d.ts +114 -0
  206. package/out/Module.sol/Module.json +1 -0
  207. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +151 -0
  208. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +153 -0
  209. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -0
  210. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.abi.json +1 -0
  211. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -0
  212. package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
  213. package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -0
  214. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json +1018 -0
  215. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json.d.ts +1020 -0
  216. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -0
  217. package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
  218. package/out/ResourceAccess.sol/ResourceAccess.json +1 -0
  219. package/out/ResourceId.sol/ResourceIdInstance.abi.json +1 -0
  220. package/out/ResourceId.sol/ResourceIdInstance.json +1 -0
  221. package/out/ResourceId.sol/ResourceIdLib.abi.json +1 -0
  222. package/out/ResourceId.sol/ResourceIdLib.json +1 -0
  223. package/out/ResourceIds.sol/ResourceIds.abi.json +1 -0
  224. package/out/ResourceIds.sol/ResourceIds.json +1 -0
  225. package/out/RevertSubscriber.sol/RevertSubscriber.abi.json +290 -0
  226. package/out/RevertSubscriber.sol/RevertSubscriber.abi.json.d.ts +292 -0
  227. package/out/RevertSubscriber.sol/RevertSubscriber.json +1 -0
  228. package/out/Schema.sol/SchemaInstance.abi.json +1 -0
  229. package/out/Schema.sol/SchemaInstance.json +1 -0
  230. package/out/Schema.sol/SchemaLib.abi.json +1 -0
  231. package/out/Schema.sol/SchemaLib.json +1 -0
  232. package/out/SchemaEncodeHelper.sol/SchemaEncodeHelper.abi.json +1 -0
  233. package/out/SchemaEncodeHelper.sol/SchemaEncodeHelper.json +1 -0
  234. package/out/SignatureChecker.sol/SignatureChecker.abi.json +1 -0
  235. package/out/SignatureChecker.sol/SignatureChecker.json +1 -0
  236. package/out/Slice.sol/SliceInstance.abi.json +1 -0
  237. package/out/Slice.sol/SliceInstance.json +1 -0
  238. package/out/Slice.sol/SliceLib.abi.json +1 -0
  239. package/out/Slice.sol/SliceLib.json +1 -0
  240. package/out/StdAssertions.sol/StdAssertions.abi.json +392 -0
  241. package/out/StdAssertions.sol/StdAssertions.abi.json.d.ts +394 -0
  242. package/out/StdAssertions.sol/StdAssertions.json +1 -0
  243. package/out/StdChains.sol/StdChains.abi.json +1 -0
  244. package/out/StdChains.sol/StdChains.json +1 -0
  245. package/out/StdCheats.sol/StdCheats.abi.json +1 -0
  246. package/out/StdCheats.sol/StdCheats.json +1 -0
  247. package/out/StdCheats.sol/StdCheatsSafe.abi.json +1 -0
  248. package/out/StdCheats.sol/StdCheatsSafe.json +1 -0
  249. package/out/StdError.sol/stdError.abi.json +119 -0
  250. package/out/StdError.sol/stdError.abi.json.d.ts +121 -0
  251. package/out/StdError.sol/stdError.json +1 -0
  252. package/out/StdInvariant.sol/StdInvariant.abi.json +130 -0
  253. package/out/StdInvariant.sol/StdInvariant.abi.json.d.ts +132 -0
  254. package/out/StdInvariant.sol/StdInvariant.json +1 -0
  255. package/out/StdJson.sol/stdJson.abi.json +1 -0
  256. package/out/StdJson.sol/stdJson.json +1 -0
  257. package/out/StdMath.sol/stdMath.abi.json +1 -0
  258. package/out/StdMath.sol/stdMath.json +1 -0
  259. package/out/StdStorage.sol/stdStorage.abi.json +1 -0
  260. package/out/StdStorage.sol/stdStorage.json +1 -0
  261. package/out/StdStorage.sol/stdStorageSafe.abi.json +52 -0
  262. package/out/StdStorage.sol/stdStorageSafe.abi.json.d.ts +54 -0
  263. package/out/StdStorage.sol/stdStorageSafe.json +1 -0
  264. package/out/StdStyle.sol/StdStyle.abi.json +1 -0
  265. package/out/StdStyle.sol/StdStyle.json +1 -0
  266. package/out/StdUtils.sol/StdUtils.abi.json +1 -0
  267. package/out/StdUtils.sol/StdUtils.json +1 -0
  268. package/out/Storage.sol/Storage.abi.json +1 -0
  269. package/out/Storage.sol/Storage.json +1 -0
  270. package/out/StoreCore.sol/StoreCore.abi.json +1 -0
  271. package/out/StoreCore.sol/StoreCore.json +1 -0
  272. package/out/StoreCore.sol/StoreCoreInternal.abi.json +1 -0
  273. package/out/StoreCore.sol/StoreCoreInternal.json +1 -0
  274. package/out/StoreHook.sol/StoreHook.abi.json +290 -0
  275. package/out/StoreHook.sol/StoreHook.abi.json.d.ts +292 -0
  276. package/out/StoreHook.sol/StoreHook.json +1 -0
  277. package/out/StoreHooks.sol/StoreHooks.abi.json +1 -0
  278. package/out/StoreHooks.sol/StoreHooks.json +1 -0
  279. package/out/StoreKernel.sol/StoreKernel.abi.json +1182 -0
  280. package/out/StoreKernel.sol/StoreKernel.abi.json.d.ts +1184 -0
  281. package/out/StoreKernel.sol/StoreKernel.json +1 -0
  282. package/out/StoreRead.sol/StoreRead.abi.json +437 -0
  283. package/out/StoreRead.sol/StoreRead.abi.json.d.ts +439 -0
  284. package/out/StoreRead.sol/StoreRead.json +1 -0
  285. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +779 -0
  286. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +781 -0
  287. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -0
  288. package/out/StoreSwitch.sol/StoreSwitch.abi.json +1 -0
  289. package/out/StoreSwitch.sol/StoreSwitch.json +1 -0
  290. package/out/System.sol/System.abi.json +60 -0
  291. package/out/System.sol/System.abi.json.d.ts +62 -0
  292. package/out/System.sol/System.json +1 -0
  293. package/out/SystemCall.sol/SystemCall.abi.json +1 -0
  294. package/out/SystemCall.sol/SystemCall.json +1 -0
  295. package/out/SystemHook.sol/SystemHook.abi.json +67 -0
  296. package/out/SystemHook.sol/SystemHook.abi.json.d.ts +69 -0
  297. package/out/SystemHook.sol/SystemHook.json +1 -0
  298. package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
  299. package/out/SystemHooks.sol/SystemHooks.json +1 -0
  300. package/out/SystemRegistry.sol/SystemRegistry.abi.json +1 -0
  301. package/out/SystemRegistry.sol/SystemRegistry.json +1 -0
  302. package/out/Systems.sol/Systems.abi.json +1 -0
  303. package/out/Systems.sol/Systems.json +1 -0
  304. package/out/Tables.sol/Tables.abi.json +1 -0
  305. package/out/Tables.sol/Tables.json +1 -0
  306. package/out/Test.sol/Test.abi.json +520 -0
  307. package/out/Test.sol/Test.abi.json.d.ts +522 -0
  308. package/out/Test.sol/Test.json +1 -0
  309. package/out/TightCoder.sol/TightCoder.abi.json +1 -0
  310. package/out/TightCoder.sol/TightCoder.json +1 -0
  311. package/out/TwoFields.sol/TwoFields.abi.json +1 -0
  312. package/out/TwoFields.sol/TwoFields.json +1 -0
  313. package/out/UserDelegationControl.sol/UserDelegationControl.abi.json +1 -0
  314. package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -0
  315. package/out/Vm.sol/Vm.abi.json +3878 -0
  316. package/out/Vm.sol/Vm.abi.json.d.ts +3880 -0
  317. package/out/Vm.sol/Vm.json +1 -0
  318. package/out/Vm.sol/VmSafe.abi.json +2678 -0
  319. package/out/Vm.sol/VmSafe.abi.json.d.ts +2680 -0
  320. package/out/Vm.sol/VmSafe.json +1 -0
  321. package/out/World.sol/World.abi.json +1542 -0
  322. package/out/World.sol/World.abi.json.d.ts +1544 -0
  323. package/out/World.sol/World.json +1 -0
  324. package/out/World.t.sol/EchoSystemHook.abi.json +80 -0
  325. package/out/World.t.sol/EchoSystemHook.abi.json.d.ts +82 -0
  326. package/out/World.t.sol/EchoSystemHook.json +1 -0
  327. package/out/World.t.sol/IWorldTestSystem.abi.json +15 -0
  328. package/out/World.t.sol/IWorldTestSystem.abi.json.d.ts +17 -0
  329. package/out/World.t.sol/IWorldTestSystem.json +1 -0
  330. package/out/World.t.sol/PayableFallbackSystem.abi.json +64 -0
  331. package/out/World.t.sol/PayableFallbackSystem.abi.json.d.ts +66 -0
  332. package/out/World.t.sol/PayableFallbackSystem.json +1 -0
  333. package/out/World.t.sol/RevertSystemHook.abi.json +80 -0
  334. package/out/World.t.sol/RevertSystemHook.abi.json.d.ts +82 -0
  335. package/out/World.t.sol/RevertSystemHook.json +1 -0
  336. package/out/World.t.sol/WorldTest.abi.json +1029 -0
  337. package/out/World.t.sol/WorldTest.abi.json.d.ts +1031 -0
  338. package/out/World.t.sol/WorldTest.json +1 -0
  339. package/out/World.t.sol/WorldTestSystem.abi.json +277 -0
  340. package/out/World.t.sol/WorldTestSystem.abi.json.d.ts +279 -0
  341. package/out/World.t.sol/WorldTestSystem.json +1 -0
  342. package/out/WorldContext.sol/WorldContextConsumer.abi.json +60 -0
  343. package/out/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +62 -0
  344. package/out/WorldContext.sol/WorldContextConsumer.json +1 -0
  345. package/out/WorldContext.sol/WorldContextConsumerLib.abi.json +1 -0
  346. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -0
  347. package/out/WorldContext.sol/WorldContextProviderLib.abi.json +1 -0
  348. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -0
  349. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +691 -0
  350. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +693 -0
  351. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -0
  352. package/out/WorldResourceId.sol/WorldResourceIdInstance.abi.json +1 -0
  353. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -0
  354. package/out/WorldResourceId.sol/WorldResourceIdLib.abi.json +1 -0
  355. package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -0
  356. package/out/build-info/306c60bc5d3442ad78ed6293bddbefdd.json +1 -0
  357. package/out/console.sol/console.abi.json +1 -0
  358. package/out/console.sol/console.json +1 -0
  359. package/out/console2.sol/console2.abi.json +1 -0
  360. package/out/console2.sol/console2.json +1 -0
  361. package/out/constants.sol/LayoutOffsets.abi.json +1 -0
  362. package/out/constants.sol/LayoutOffsets.json +1 -0
  363. package/out/safeconsole.sol/safeconsole.abi.json +1 -0
  364. package/out/safeconsole.sol/safeconsole.json +1 -0
  365. package/out/src/IERC165.sol/IERC165.abi.json +21 -0
  366. package/out/src/IERC165.sol/IERC165.abi.json.d.ts +23 -0
  367. package/out/src/IERC165.sol/IERC165.json +1 -0
  368. package/out/test.sol/DSTest.abi.json +296 -0
  369. package/out/test.sol/DSTest.abi.json.d.ts +298 -0
  370. package/out/test.sol/DSTest.json +1 -0
  371. package/package.json +64 -0
  372. package/src/CallWithSignatureModule.sol +48 -0
  373. package/src/CallWithSignatureSystem.sol +36 -0
  374. package/src/ECDSA.sol +174 -0
  375. package/src/ICallWithSignatureErrors.sol +9 -0
  376. package/src/IERC1271.sol +17 -0
  377. package/src/SignatureChecker.sol +50 -0
  378. package/src/codegen/index.sol +6 -0
  379. package/src/codegen/tables/CallWithSignatureNonces.sol +199 -0
  380. package/src/codegen/world/ICallWithSignatureSystem.sol +20 -0
  381. package/src/codegen/world/IWorld.sol +16 -0
  382. package/src/constants.sol +10 -0
  383. package/src/getSignedMessageHash.sol +54 -0
  384. package/src/validateCallWithSignature.sol +31 -0
@@ -0,0 +1,62 @@
1
+ declare const abi: [
2
+ {
3
+ "type": "function",
4
+ "name": "_msgSender",
5
+ "inputs": [],
6
+ "outputs": [
7
+ {
8
+ "name": "",
9
+ "type": "address",
10
+ "internalType": "address"
11
+ }
12
+ ],
13
+ "stateMutability": "view"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "_msgValue",
18
+ "inputs": [],
19
+ "outputs": [
20
+ {
21
+ "name": "",
22
+ "type": "uint256",
23
+ "internalType": "uint256"
24
+ }
25
+ ],
26
+ "stateMutability": "view"
27
+ },
28
+ {
29
+ "type": "function",
30
+ "name": "_world",
31
+ "inputs": [],
32
+ "outputs": [
33
+ {
34
+ "name": "",
35
+ "type": "address",
36
+ "internalType": "address"
37
+ }
38
+ ],
39
+ "stateMutability": "view"
40
+ },
41
+ {
42
+ "type": "function",
43
+ "name": "supportsInterface",
44
+ "inputs": [
45
+ {
46
+ "name": "interfaceID",
47
+ "type": "bytes4",
48
+ "internalType": "bytes4"
49
+ }
50
+ ],
51
+ "outputs": [
52
+ {
53
+ "name": "",
54
+ "type": "bool",
55
+ "internalType": "bool"
56
+ }
57
+ ],
58
+ "stateMutability": "view"
59
+ }
60
+ ];
61
+
62
+ export default abi;
@@ -0,0 +1 @@
1
+ {"abi":[{"type":"function","name":"_msgSender","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"_msgValue","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"_world","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceID","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"_msgSender()":"119df25f","_msgValue()":"45ec9354","_world()":"e1af802c","supportsInterface(bytes4)":"01ffc9a7"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"_msgSender\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_msgValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_world\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"details\":\"This contract should only be used for contracts without their own storage, like Systems.\",\"kind\":\"dev\",\"methods\":{\"_msgSender()\":{\"returns\":{\"_0\":\"The address of the `msg.sender` that called the World contract before the World routed the call to the WorldContextConsumer contract.\"}},\"_msgValue()\":{\"returns\":{\"_0\":\"The `msg.value` in the call to the World contract before the World routed the call to the WorldContextConsumer contract.\"}},\"_world()\":{\"returns\":{\"_0\":\"The address of the World contract that routed the call to this WorldContextConsumer.\"}},\"supportsInterface(bytes4)\":{\"details\":\"Interface identification is specified in ERC-165. This function uses less than 30,000 gas.\",\"params\":{\"interfaceID\":\"The interface identifier, as specified in ERC-165.\"},\"returns\":{\"_0\":\"True if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, false otherwise.\"}}},\"title\":\"WorldContextConsumer - Extracting trusted context values from appended calldata.\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"_msgSender()\":{\"notice\":\"Extract the `msg.sender` from the context appended to the calldata.\"},\"_msgValue()\":{\"notice\":\"Extract the `msg.value` from the context appended to the calldata.\"},\"_world()\":{\"notice\":\"Get the address of the World contract that routed the call to this WorldContextConsumer.\"},\"supportsInterface(bytes4)\":{\"notice\":\"Query if a contract implements an interface.\"}},\"notice\":\"This contract is designed to extract trusted context values (like msg.sender and msg.value) from the appended calldata. It provides mechanisms similar to EIP-2771 (https://eips.ethereum.org/EIPS/eip-2771), but allowing any contract to be the trusted forwarder.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/IWorldContextConsumer.sol\":\"IWorldContextConsumer\"},\"evmVersion\":\"cancun\",\"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/world/src/IERC165.sol\":{\"keccak256\":\"0xe3d9074a1be3247be67ff4dd2c9e41481650ddaa799285a249736bb85673e33d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0b6743ee1e6d0c74927bf17fc1da0cad7575aa7634871b94190ffbdb4c28c2a7\",\"dweb:/ipfs/Qma5bNsPJSBTesWxg3eAAMUBTDE7UjqWaHF7eMiGwP87jr\"]},\"node_modules/@latticexyz/world/src/IWorldContextConsumer.sol\":{\"keccak256\":\"0xb39e9d8cff4162e255f6c460ef9f9f0ad5b804627f745d967b2f10d0dd509299\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://18d957cd87febccc00d82b9454047f0f5236250c9245befc0f57978671675255\",\"dweb:/ipfs/QmdZ1eXBd15vLpLVqTNJDAAaTzzucpRLD8GPJahLKT4J7x\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"view","type":"function","name":"_msgSender","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"_msgValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"_world","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"stateMutability":"view","type":"function","name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}]}],"devdoc":{"kind":"dev","methods":{"_msgSender()":{"returns":{"_0":"The address of the `msg.sender` that called the World contract before the World routed the call to the WorldContextConsumer contract."}},"_msgValue()":{"returns":{"_0":"The `msg.value` in the call to the World contract before the World routed the call to the WorldContextConsumer contract."}},"_world()":{"returns":{"_0":"The address of the World contract that routed the call to this WorldContextConsumer."}},"supportsInterface(bytes4)":{"details":"Interface identification is specified in ERC-165. This function uses less than 30,000 gas.","params":{"interfaceID":"The interface identifier, as specified in ERC-165."},"returns":{"_0":"True if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, false otherwise."}}},"version":1},"userdoc":{"kind":"user","methods":{"_msgSender()":{"notice":"Extract the `msg.sender` from the context appended to the calldata."},"_msgValue()":{"notice":"Extract the `msg.value` from the context appended to the calldata."},"_world()":{"notice":"Get the address of the World contract that routed the call to this WorldContextConsumer."},"supportsInterface(bytes4)":{"notice":"Query if a contract implements an interface."}},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","ds-test/=node_modules/ds-test/src/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"node_modules/@latticexyz/world/src/IWorldContextConsumer.sol":"IWorldContextConsumer"},"evmVersion":"cancun","libraries":{}},"sources":{"node_modules/@latticexyz/world/src/IERC165.sol":{"keccak256":"0xe3d9074a1be3247be67ff4dd2c9e41481650ddaa799285a249736bb85673e33d","urls":["bzz-raw://0b6743ee1e6d0c74927bf17fc1da0cad7575aa7634871b94190ffbdb4c28c2a7","dweb:/ipfs/Qma5bNsPJSBTesWxg3eAAMUBTDE7UjqWaHF7eMiGwP87jr"],"license":"MIT"},"node_modules/@latticexyz/world/src/IWorldContextConsumer.sol":{"keccak256":"0xb39e9d8cff4162e255f6c460ef9f9f0ad5b804627f745d967b2f10d0dd509299","urls":["bzz-raw://18d957cd87febccc00d82b9454047f0f5236250c9245befc0f57978671675255","dweb:/ipfs/QmdZ1eXBd15vLpLVqTNJDAAaTzzucpRLD8GPJahLKT4J7x"],"license":"MIT"}},"version":1},"id":55}
@@ -0,0 +1,200 @@
1
+ [
2
+ {
3
+ "type": "error",
4
+ "name": "World_AccessDenied",
5
+ "inputs": [
6
+ {
7
+ "name": "resource",
8
+ "type": "string",
9
+ "internalType": "string"
10
+ },
11
+ {
12
+ "name": "caller",
13
+ "type": "address",
14
+ "internalType": "address"
15
+ }
16
+ ]
17
+ },
18
+ {
19
+ "type": "error",
20
+ "name": "World_AlreadyInitialized",
21
+ "inputs": []
22
+ },
23
+ {
24
+ "type": "error",
25
+ "name": "World_CallbackNotAllowed",
26
+ "inputs": [
27
+ {
28
+ "name": "functionSelector",
29
+ "type": "bytes4",
30
+ "internalType": "bytes4"
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "type": "error",
36
+ "name": "World_DelegationNotFound",
37
+ "inputs": [
38
+ {
39
+ "name": "delegator",
40
+ "type": "address",
41
+ "internalType": "address"
42
+ },
43
+ {
44
+ "name": "delegatee",
45
+ "type": "address",
46
+ "internalType": "address"
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "type": "error",
52
+ "name": "World_FunctionSelectorAlreadyExists",
53
+ "inputs": [
54
+ {
55
+ "name": "functionSelector",
56
+ "type": "bytes4",
57
+ "internalType": "bytes4"
58
+ }
59
+ ]
60
+ },
61
+ {
62
+ "type": "error",
63
+ "name": "World_FunctionSelectorNotFound",
64
+ "inputs": [
65
+ {
66
+ "name": "functionSelector",
67
+ "type": "bytes4",
68
+ "internalType": "bytes4"
69
+ }
70
+ ]
71
+ },
72
+ {
73
+ "type": "error",
74
+ "name": "World_InsufficientBalance",
75
+ "inputs": [
76
+ {
77
+ "name": "balance",
78
+ "type": "uint256",
79
+ "internalType": "uint256"
80
+ },
81
+ {
82
+ "name": "amount",
83
+ "type": "uint256",
84
+ "internalType": "uint256"
85
+ }
86
+ ]
87
+ },
88
+ {
89
+ "type": "error",
90
+ "name": "World_InterfaceNotSupported",
91
+ "inputs": [
92
+ {
93
+ "name": "contractAddress",
94
+ "type": "address",
95
+ "internalType": "address"
96
+ },
97
+ {
98
+ "name": "interfaceId",
99
+ "type": "bytes4",
100
+ "internalType": "bytes4"
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "type": "error",
106
+ "name": "World_InvalidNamespace",
107
+ "inputs": [
108
+ {
109
+ "name": "namespace",
110
+ "type": "bytes14",
111
+ "internalType": "bytes14"
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ "type": "error",
117
+ "name": "World_InvalidResourceId",
118
+ "inputs": [
119
+ {
120
+ "name": "resourceId",
121
+ "type": "bytes32",
122
+ "internalType": "ResourceId"
123
+ },
124
+ {
125
+ "name": "resourceIdString",
126
+ "type": "string",
127
+ "internalType": "string"
128
+ }
129
+ ]
130
+ },
131
+ {
132
+ "type": "error",
133
+ "name": "World_InvalidResourceType",
134
+ "inputs": [
135
+ {
136
+ "name": "expected",
137
+ "type": "bytes2",
138
+ "internalType": "bytes2"
139
+ },
140
+ {
141
+ "name": "resourceId",
142
+ "type": "bytes32",
143
+ "internalType": "ResourceId"
144
+ },
145
+ {
146
+ "name": "resourceIdString",
147
+ "type": "string",
148
+ "internalType": "string"
149
+ }
150
+ ]
151
+ },
152
+ {
153
+ "type": "error",
154
+ "name": "World_ResourceAlreadyExists",
155
+ "inputs": [
156
+ {
157
+ "name": "resourceId",
158
+ "type": "bytes32",
159
+ "internalType": "ResourceId"
160
+ },
161
+ {
162
+ "name": "resourceIdString",
163
+ "type": "string",
164
+ "internalType": "string"
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ "type": "error",
170
+ "name": "World_ResourceNotFound",
171
+ "inputs": [
172
+ {
173
+ "name": "resourceId",
174
+ "type": "bytes32",
175
+ "internalType": "ResourceId"
176
+ },
177
+ {
178
+ "name": "resourceIdString",
179
+ "type": "string",
180
+ "internalType": "string"
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "type": "error",
186
+ "name": "World_SystemAlreadyExists",
187
+ "inputs": [
188
+ {
189
+ "name": "system",
190
+ "type": "address",
191
+ "internalType": "address"
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ "type": "error",
197
+ "name": "World_UnlimitedDelegationNotAllowed",
198
+ "inputs": []
199
+ }
200
+ ]
@@ -0,0 +1,202 @@
1
+ declare const abi: [
2
+ {
3
+ "type": "error",
4
+ "name": "World_AccessDenied",
5
+ "inputs": [
6
+ {
7
+ "name": "resource",
8
+ "type": "string",
9
+ "internalType": "string"
10
+ },
11
+ {
12
+ "name": "caller",
13
+ "type": "address",
14
+ "internalType": "address"
15
+ }
16
+ ]
17
+ },
18
+ {
19
+ "type": "error",
20
+ "name": "World_AlreadyInitialized",
21
+ "inputs": []
22
+ },
23
+ {
24
+ "type": "error",
25
+ "name": "World_CallbackNotAllowed",
26
+ "inputs": [
27
+ {
28
+ "name": "functionSelector",
29
+ "type": "bytes4",
30
+ "internalType": "bytes4"
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "type": "error",
36
+ "name": "World_DelegationNotFound",
37
+ "inputs": [
38
+ {
39
+ "name": "delegator",
40
+ "type": "address",
41
+ "internalType": "address"
42
+ },
43
+ {
44
+ "name": "delegatee",
45
+ "type": "address",
46
+ "internalType": "address"
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "type": "error",
52
+ "name": "World_FunctionSelectorAlreadyExists",
53
+ "inputs": [
54
+ {
55
+ "name": "functionSelector",
56
+ "type": "bytes4",
57
+ "internalType": "bytes4"
58
+ }
59
+ ]
60
+ },
61
+ {
62
+ "type": "error",
63
+ "name": "World_FunctionSelectorNotFound",
64
+ "inputs": [
65
+ {
66
+ "name": "functionSelector",
67
+ "type": "bytes4",
68
+ "internalType": "bytes4"
69
+ }
70
+ ]
71
+ },
72
+ {
73
+ "type": "error",
74
+ "name": "World_InsufficientBalance",
75
+ "inputs": [
76
+ {
77
+ "name": "balance",
78
+ "type": "uint256",
79
+ "internalType": "uint256"
80
+ },
81
+ {
82
+ "name": "amount",
83
+ "type": "uint256",
84
+ "internalType": "uint256"
85
+ }
86
+ ]
87
+ },
88
+ {
89
+ "type": "error",
90
+ "name": "World_InterfaceNotSupported",
91
+ "inputs": [
92
+ {
93
+ "name": "contractAddress",
94
+ "type": "address",
95
+ "internalType": "address"
96
+ },
97
+ {
98
+ "name": "interfaceId",
99
+ "type": "bytes4",
100
+ "internalType": "bytes4"
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "type": "error",
106
+ "name": "World_InvalidNamespace",
107
+ "inputs": [
108
+ {
109
+ "name": "namespace",
110
+ "type": "bytes14",
111
+ "internalType": "bytes14"
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ "type": "error",
117
+ "name": "World_InvalidResourceId",
118
+ "inputs": [
119
+ {
120
+ "name": "resourceId",
121
+ "type": "bytes32",
122
+ "internalType": "ResourceId"
123
+ },
124
+ {
125
+ "name": "resourceIdString",
126
+ "type": "string",
127
+ "internalType": "string"
128
+ }
129
+ ]
130
+ },
131
+ {
132
+ "type": "error",
133
+ "name": "World_InvalidResourceType",
134
+ "inputs": [
135
+ {
136
+ "name": "expected",
137
+ "type": "bytes2",
138
+ "internalType": "bytes2"
139
+ },
140
+ {
141
+ "name": "resourceId",
142
+ "type": "bytes32",
143
+ "internalType": "ResourceId"
144
+ },
145
+ {
146
+ "name": "resourceIdString",
147
+ "type": "string",
148
+ "internalType": "string"
149
+ }
150
+ ]
151
+ },
152
+ {
153
+ "type": "error",
154
+ "name": "World_ResourceAlreadyExists",
155
+ "inputs": [
156
+ {
157
+ "name": "resourceId",
158
+ "type": "bytes32",
159
+ "internalType": "ResourceId"
160
+ },
161
+ {
162
+ "name": "resourceIdString",
163
+ "type": "string",
164
+ "internalType": "string"
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ "type": "error",
170
+ "name": "World_ResourceNotFound",
171
+ "inputs": [
172
+ {
173
+ "name": "resourceId",
174
+ "type": "bytes32",
175
+ "internalType": "ResourceId"
176
+ },
177
+ {
178
+ "name": "resourceIdString",
179
+ "type": "string",
180
+ "internalType": "string"
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "type": "error",
186
+ "name": "World_SystemAlreadyExists",
187
+ "inputs": [
188
+ {
189
+ "name": "system",
190
+ "type": "address",
191
+ "internalType": "address"
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ "type": "error",
197
+ "name": "World_UnlimitedDelegationNotAllowed",
198
+ "inputs": []
199
+ }
200
+ ];
201
+
202
+ export default abi;
@@ -0,0 +1 @@
1
+ {"abi":[{"type":"error","name":"World_AccessDenied","inputs":[{"name":"resource","type":"string","internalType":"string"},{"name":"caller","type":"address","internalType":"address"}]},{"type":"error","name":"World_AlreadyInitialized","inputs":[]},{"type":"error","name":"World_CallbackNotAllowed","inputs":[{"name":"functionSelector","type":"bytes4","internalType":"bytes4"}]},{"type":"error","name":"World_DelegationNotFound","inputs":[{"name":"delegator","type":"address","internalType":"address"},{"name":"delegatee","type":"address","internalType":"address"}]},{"type":"error","name":"World_FunctionSelectorAlreadyExists","inputs":[{"name":"functionSelector","type":"bytes4","internalType":"bytes4"}]},{"type":"error","name":"World_FunctionSelectorNotFound","inputs":[{"name":"functionSelector","type":"bytes4","internalType":"bytes4"}]},{"type":"error","name":"World_InsufficientBalance","inputs":[{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"amount","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"World_InterfaceNotSupported","inputs":[{"name":"contractAddress","type":"address","internalType":"address"},{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}]},{"type":"error","name":"World_InvalidNamespace","inputs":[{"name":"namespace","type":"bytes14","internalType":"bytes14"}]},{"type":"error","name":"World_InvalidResourceId","inputs":[{"name":"resourceId","type":"bytes32","internalType":"ResourceId"},{"name":"resourceIdString","type":"string","internalType":"string"}]},{"type":"error","name":"World_InvalidResourceType","inputs":[{"name":"expected","type":"bytes2","internalType":"bytes2"},{"name":"resourceId","type":"bytes32","internalType":"ResourceId"},{"name":"resourceIdString","type":"string","internalType":"string"}]},{"type":"error","name":"World_ResourceAlreadyExists","inputs":[{"name":"resourceId","type":"bytes32","internalType":"ResourceId"},{"name":"resourceIdString","type":"string","internalType":"string"}]},{"type":"error","name":"World_ResourceNotFound","inputs":[{"name":"resourceId","type":"bytes32","internalType":"ResourceId"},{"name":"resourceIdString","type":"string","internalType":"string"}]},{"type":"error","name":"World_SystemAlreadyExists","inputs":[{"name":"system","type":"address","internalType":"address"}]},{"type":"error","name":"World_UnlimitedDelegationNotAllowed","inputs":[]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"resource\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"World_AccessDenied\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"World_AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_CallbackNotAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"World_DelegationNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_FunctionSelectorAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_FunctionSelectorNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"World_InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"World_InterfaceNotSupported\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes14\",\"name\":\"namespace\",\"type\":\"bytes14\"}],\"name\":\"World_InvalidNamespace\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_InvalidResourceId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes2\",\"name\":\"expected\",\"type\":\"bytes2\"},{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_InvalidResourceType\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_ResourceAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_ResourceNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"system\",\"type\":\"address\"}],\"name\":\"World_SystemAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"World_UnlimitedDelegationNotAllowed\",\"type\":\"error\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"details\":\"This interface contains custom error types for the World contract. These errors provide more informative messages for certain operations within the World contract.\",\"errors\":{\"World_AccessDenied(string,address)\":[{\"params\":{\"caller\":\"The address of the user trying to access the resource.\",\"resource\":\"The resource's identifier.\"}}],\"World_CallbackNotAllowed(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector of the disallowed callback.\"}}],\"World_DelegationNotFound(address,address)\":[{\"params\":{\"delegatee\":\"The address of the delegatee.\",\"delegator\":\"The address of the delegator.\"}}],\"World_FunctionSelectorAlreadyExists(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector in question.\"}}],\"World_FunctionSelectorNotFound(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector in question.\"}}],\"World_InsufficientBalance(uint256,uint256)\":[{\"params\":{\"amount\":\"The amount needed.\",\"balance\":\"The current balance.\"}}],\"World_InterfaceNotSupported(address,bytes4)\":[{\"params\":{\"contractAddress\":\"The address of the contract in question.\",\"interfaceId\":\"The ID of the interface.\"}}],\"World_InvalidNamespace(bytes14)\":[{\"params\":{\"namespace\":\"The invalid namespace.\"}}],\"World_InvalidResourceId(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_InvalidResourceType(bytes2,bytes32,string)\":[{\"params\":{\"expected\":\"The expected resource type.\",\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_ResourceAlreadyExists(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_ResourceNotFound(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_SystemAlreadyExists(address)\":[{\"params\":{\"system\":\"The address of the system.\"}}]},\"kind\":\"dev\",\"methods\":{},\"title\":\"World Errors Interface\",\"version\":1},\"userdoc\":{\"errors\":{\"World_AccessDenied(string,address)\":[{\"notice\":\"Raised when a user tries to access a resource they don't have permission for.\"}],\"World_AlreadyInitialized()\":[{\"notice\":\"Raised when trying to initialize an already initialized World.\"}],\"World_CallbackNotAllowed(bytes4)\":[{\"notice\":\"Raised when the World is calling itself via an external call.\"}],\"World_DelegationNotFound(address,address)\":[{\"notice\":\"Raised when the specified delegation is not found.\"}],\"World_FunctionSelectorAlreadyExists(bytes4)\":[{\"notice\":\"Raised when trying to register a function selector that already exists.\"}],\"World_FunctionSelectorNotFound(bytes4)\":[{\"notice\":\"Raised when the specified function selector is not found.\"}],\"World_InsufficientBalance(uint256,uint256)\":[{\"notice\":\"Raised when there's an insufficient balance for a particular operation.\"}],\"World_InterfaceNotSupported(address,bytes4)\":[{\"notice\":\"Raised when the specified interface is not supported by the contract.\"}],\"World_InvalidNamespace(bytes14)\":[{\"notice\":\"Raised when an namespace contains an invalid sequence of characters (\\\"__\\\").\"}],\"World_InvalidResourceId(bytes32,string)\":[{\"notice\":\"Raised when an invalid resource ID is provided.\"}],\"World_InvalidResourceType(bytes2,bytes32,string)\":[{\"notice\":\"Raised when an invalid resource type is provided.\"}],\"World_ResourceAlreadyExists(bytes32,string)\":[{\"notice\":\"Raised when trying to register a resource that already exists.\"}],\"World_ResourceNotFound(bytes32,string)\":[{\"notice\":\"Raised when the specified resource is not found.\"}],\"World_SystemAlreadyExists(address)\":[{\"notice\":\"Raised when trying to register a system that already exists.\"}],\"World_UnlimitedDelegationNotAllowed()\":[{\"notice\":\"Raised when trying to create an unlimited delegation in a context where it is not allowed, e.g. when registering a namespace fallback delegation.\"}]},\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/IWorldErrors.sol\":\"IWorldErrors\"},\"evmVersion\":\"cancun\",\"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/store/src/ResourceId.sol\":{\"keccak256\":\"0x842b07f2ff9df2e1ecf9bf424b0e5a77e1471c983d674cf86b76c365178d6cc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f4c2df8853b020aef1bb8615ac69d5512a9b5385b82c88e03b27dc521c9d007b\",\"dweb:/ipfs/QmWEDiJn69DvHsdrikrMWY8DERWPSeWwVYgPcunfq3yiT7\"]},\"node_modules/@latticexyz/world/src/IWorldErrors.sol\":{\"keccak256\":\"0x0abae6f4ed1b3070bddd0ed194c08b83a948b61ae959396202cf627bf1056a2b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a7037954f281cc0188a5aafc1d0cca0aabc110fd0234e6c43dca35ad69ed3baf\",\"dweb:/ipfs/Qmbv2nfK1qPpnoAbqNJFqWwo7AuyaX2ZEgZMFspMv7DR5B\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"string","name":"resource","type":"string"},{"internalType":"address","name":"caller","type":"address"}],"type":"error","name":"World_AccessDenied"},{"inputs":[],"type":"error","name":"World_AlreadyInitialized"},{"inputs":[{"internalType":"bytes4","name":"functionSelector","type":"bytes4"}],"type":"error","name":"World_CallbackNotAllowed"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"},{"internalType":"address","name":"delegatee","type":"address"}],"type":"error","name":"World_DelegationNotFound"},{"inputs":[{"internalType":"bytes4","name":"functionSelector","type":"bytes4"}],"type":"error","name":"World_FunctionSelectorAlreadyExists"},{"inputs":[{"internalType":"bytes4","name":"functionSelector","type":"bytes4"}],"type":"error","name":"World_FunctionSelectorNotFound"},{"inputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"type":"error","name":"World_InsufficientBalance"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"type":"error","name":"World_InterfaceNotSupported"},{"inputs":[{"internalType":"bytes14","name":"namespace","type":"bytes14"}],"type":"error","name":"World_InvalidNamespace"},{"inputs":[{"internalType":"ResourceId","name":"resourceId","type":"bytes32"},{"internalType":"string","name":"resourceIdString","type":"string"}],"type":"error","name":"World_InvalidResourceId"},{"inputs":[{"internalType":"bytes2","name":"expected","type":"bytes2"},{"internalType":"ResourceId","name":"resourceId","type":"bytes32"},{"internalType":"string","name":"resourceIdString","type":"string"}],"type":"error","name":"World_InvalidResourceType"},{"inputs":[{"internalType":"ResourceId","name":"resourceId","type":"bytes32"},{"internalType":"string","name":"resourceIdString","type":"string"}],"type":"error","name":"World_ResourceAlreadyExists"},{"inputs":[{"internalType":"ResourceId","name":"resourceId","type":"bytes32"},{"internalType":"string","name":"resourceIdString","type":"string"}],"type":"error","name":"World_ResourceNotFound"},{"inputs":[{"internalType":"address","name":"system","type":"address"}],"type":"error","name":"World_SystemAlreadyExists"},{"inputs":[],"type":"error","name":"World_UnlimitedDelegationNotAllowed"}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","ds-test/=node_modules/ds-test/src/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"node_modules/@latticexyz/world/src/IWorldErrors.sol":"IWorldErrors"},"evmVersion":"cancun","libraries":{}},"sources":{"node_modules/@latticexyz/store/src/ResourceId.sol":{"keccak256":"0x842b07f2ff9df2e1ecf9bf424b0e5a77e1471c983d674cf86b76c365178d6cc5","urls":["bzz-raw://f4c2df8853b020aef1bb8615ac69d5512a9b5385b82c88e03b27dc521c9d007b","dweb:/ipfs/QmWEDiJn69DvHsdrikrMWY8DERWPSeWwVYgPcunfq3yiT7"],"license":"MIT"},"node_modules/@latticexyz/world/src/IWorldErrors.sol":{"keccak256":"0x0abae6f4ed1b3070bddd0ed194c08b83a948b61ae959396202cf627bf1056a2b","urls":["bzz-raw://a7037954f281cc0188a5aafc1d0cca0aabc110fd0234e6c43dca35ad69ed3baf","dweb:/ipfs/Qmbv2nfK1qPpnoAbqNJFqWwo7AuyaX2ZEgZMFspMv7DR5B"],"license":"MIT"}},"version":1},"id":56}
@@ -0,0 +1,15 @@
1
+ [
2
+ {
3
+ "type": "event",
4
+ "name": "HelloWorld",
5
+ "inputs": [
6
+ {
7
+ "name": "worldVersion",
8
+ "type": "bytes32",
9
+ "indexed": true,
10
+ "internalType": "bytes32"
11
+ }
12
+ ],
13
+ "anonymous": false
14
+ }
15
+ ]
@@ -0,0 +1,17 @@
1
+ declare const abi: [
2
+ {
3
+ "type": "event",
4
+ "name": "HelloWorld",
5
+ "inputs": [
6
+ {
7
+ "name": "worldVersion",
8
+ "type": "bytes32",
9
+ "indexed": true,
10
+ "internalType": "bytes32"
11
+ }
12
+ ],
13
+ "anonymous": false
14
+ }
15
+ ];
16
+
17
+ export default abi;
@@ -0,0 +1 @@
1
+ {"abi":[{"type":"event","name":"HelloWorld","inputs":[{"name":"worldVersion","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"worldVersion\",\"type\":\"bytes32\"}],\"name\":\"HelloWorld\",\"type\":\"event\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"details\":\"We bundle these events in an interface (instead of at the file-level or in their corresponding library) so they can be inherited by IWorldKernel. This ensures that all events are included in the IWorldKernel ABI for proper decoding in the frontend.\",\"events\":{\"HelloWorld(bytes32)\":{\"params\":{\"worldVersion\":\"The protocol version of the World.\"}}},\"kind\":\"dev\",\"methods\":{},\"title\":\"IWorldEvents\",\"version\":1},\"userdoc\":{\"events\":{\"HelloWorld(bytes32)\":{\"notice\":\"Emitted when the World is created.\"}},\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/IWorldEvents.sol\":\"IWorldEvents\"},\"evmVersion\":\"cancun\",\"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/store/src/Bytes.sol\":{\"keccak256\":\"0x7dec900f9c9e7dff59430fa6f520e76c56338c3e829201aea140d49342e4fef8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e55c1dfcda94dcc64b8577949b2e92a9d3fc44f5fba1ae77ceacccfdc8e22e35\",\"dweb:/ipfs/QmS7uRJbEQYkPuZ5Dz5aSNjaaxj9PA8RtxUeUGN2W3jZx6\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x842b07f2ff9df2e1ecf9bf424b0e5a77e1471c983d674cf86b76c365178d6cc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f4c2df8853b020aef1bb8615ac69d5512a9b5385b82c88e03b27dc521c9d007b\",\"dweb:/ipfs/QmWEDiJn69DvHsdrikrMWY8DERWPSeWwVYgPcunfq3yiT7\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0x1c4cb6b3ecf76f614479ab304d7de3ade0e99c7ccfd07717b57c92f699a27261\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2c9b0e0c9b3b5610d6fd65a8ffd7c54df390a34ccc70d58f4a055c49ad1ea586\",\"dweb:/ipfs/QmP6ffpnR7aRyvq9AiUkVNH6LbGfFP3NDq7E2n2PVcHhp2\"]},\"node_modules/@latticexyz/world/src/IERC165.sol\":{\"keccak256\":\"0xe3d9074a1be3247be67ff4dd2c9e41481650ddaa799285a249736bb85673e33d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0b6743ee1e6d0c74927bf17fc1da0cad7575aa7634871b94190ffbdb4c28c2a7\",\"dweb:/ipfs/Qma5bNsPJSBTesWxg3eAAMUBTDE7UjqWaHF7eMiGwP87jr\"]},\"node_modules/@latticexyz/world/src/IModule.sol\":{\"keccak256\":\"0xbb926cf64e685bbf2770d60124664cc84ab70bd3038e17a074f2d472c3fc2c57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://143c3dcbdf1702dd4f9c869629609386c12f7c0247e88a6d062dc4d519ebe0d2\",\"dweb:/ipfs/QmQJSDd8uFL4sssw9fb9NHo4s6zjuDUgmrLHj3zsJuhMo1\"]},\"node_modules/@latticexyz/world/src/IModuleErrors.sol\":{\"keccak256\":\"0x60917e029779c81cfea1f5140c389269e51d7adb78987f39101b9e0d7bdad12d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://513f41920d67ca28c3e0fe247403c28a4d342785192df449c99d5f92db04fcea\",\"dweb:/ipfs/QmeAG2TtxAgcJQR4QxftuSvQrxisYQ1i1GZoyd7oeFQBDJ\"]},\"node_modules/@latticexyz/world/src/IWorldErrors.sol\":{\"keccak256\":\"0x0abae6f4ed1b3070bddd0ed194c08b83a948b61ae959396202cf627bf1056a2b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a7037954f281cc0188a5aafc1d0cca0aabc110fd0234e6c43dca35ad69ed3baf\",\"dweb:/ipfs/Qmbv2nfK1qPpnoAbqNJFqWwo7AuyaX2ZEgZMFspMv7DR5B\"]},\"node_modules/@latticexyz/world/src/IWorldEvents.sol\":{\"keccak256\":\"0x39f6d8930db431c04158b85cc2a612c48d43dc81ec998f267076b12293c5d243\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d68f1543e5e166d639372d1aec57e3e193b5bb3b37270b6cb0488fab2c0ebe57\",\"dweb:/ipfs/QmdJUFDx87AHWFKP3jVrYg8xqAkiPfuT1M3tEotNt7KUoy\"]},\"node_modules/@latticexyz/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xaff9a22fac8a0f6eee5763b07a7ccb623c829d37922b85e42e914aad2ad417ee\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e598f0274d6d97c0a09806bf4fd1f0d054c310cf51b2123f5ce6380d6f3186ea\",\"dweb:/ipfs/QmaaVvqm21YsCgxozDyShcM17jKUXJhf2y26bk2YzPYZoM\"]},\"node_modules/@latticexyz/world/src/constants.sol\":{\"keccak256\":\"0xb8320f88ed5519a4fe2554ad94815ce328a50fef7719932375d6ce695265c2f5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a8f5de30fbcc63e469e46ad4a4d4bcd7d8e4b4f2d31fcf62a04aca48d999af22\",\"dweb:/ipfs/QmXw1jDQM2szfRY3tAGrRy6fEzte6yVFgebJAqCLMDHndV\"]},\"node_modules/@latticexyz/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0xeb042e7d3638430f6fd394107f3237cf14e4325154f0098624e8a7826584d465\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://39e0b8eb87616b661f5a4f2fd7e1a727bd19b7fd8d40ad3d93fda26822f433ea\",\"dweb:/ipfs/QmacYMatKV9pwEwirVRY9a6r89RoNs5yk99ic37ieWA8Dk\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"bytes32","name":"worldVersion","type":"bytes32","indexed":true}],"type":"event","name":"HelloWorld","anonymous":false}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","ds-test/=node_modules/ds-test/src/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"node_modules/@latticexyz/world/src/IWorldEvents.sol":"IWorldEvents"},"evmVersion":"cancun","libraries":{}},"sources":{"node_modules/@latticexyz/store/src/Bytes.sol":{"keccak256":"0x7dec900f9c9e7dff59430fa6f520e76c56338c3e829201aea140d49342e4fef8","urls":["bzz-raw://e55c1dfcda94dcc64b8577949b2e92a9d3fc44f5fba1ae77ceacccfdc8e22e35","dweb:/ipfs/QmS7uRJbEQYkPuZ5Dz5aSNjaaxj9PA8RtxUeUGN2W3jZx6"],"license":"MIT"},"node_modules/@latticexyz/store/src/ResourceId.sol":{"keccak256":"0x842b07f2ff9df2e1ecf9bf424b0e5a77e1471c983d674cf86b76c365178d6cc5","urls":["bzz-raw://f4c2df8853b020aef1bb8615ac69d5512a9b5385b82c88e03b27dc521c9d007b","dweb:/ipfs/QmWEDiJn69DvHsdrikrMWY8DERWPSeWwVYgPcunfq3yiT7"],"license":"MIT"},"node_modules/@latticexyz/store/src/storeResourceTypes.sol":{"keccak256":"0x1c4cb6b3ecf76f614479ab304d7de3ade0e99c7ccfd07717b57c92f699a27261","urls":["bzz-raw://2c9b0e0c9b3b5610d6fd65a8ffd7c54df390a34ccc70d58f4a055c49ad1ea586","dweb:/ipfs/QmP6ffpnR7aRyvq9AiUkVNH6LbGfFP3NDq7E2n2PVcHhp2"],"license":"MIT"},"node_modules/@latticexyz/world/src/IERC165.sol":{"keccak256":"0xe3d9074a1be3247be67ff4dd2c9e41481650ddaa799285a249736bb85673e33d","urls":["bzz-raw://0b6743ee1e6d0c74927bf17fc1da0cad7575aa7634871b94190ffbdb4c28c2a7","dweb:/ipfs/Qma5bNsPJSBTesWxg3eAAMUBTDE7UjqWaHF7eMiGwP87jr"],"license":"MIT"},"node_modules/@latticexyz/world/src/IModule.sol":{"keccak256":"0xbb926cf64e685bbf2770d60124664cc84ab70bd3038e17a074f2d472c3fc2c57","urls":["bzz-raw://143c3dcbdf1702dd4f9c869629609386c12f7c0247e88a6d062dc4d519ebe0d2","dweb:/ipfs/QmQJSDd8uFL4sssw9fb9NHo4s6zjuDUgmrLHj3zsJuhMo1"],"license":"MIT"},"node_modules/@latticexyz/world/src/IModuleErrors.sol":{"keccak256":"0x60917e029779c81cfea1f5140c389269e51d7adb78987f39101b9e0d7bdad12d","urls":["bzz-raw://513f41920d67ca28c3e0fe247403c28a4d342785192df449c99d5f92db04fcea","dweb:/ipfs/QmeAG2TtxAgcJQR4QxftuSvQrxisYQ1i1GZoyd7oeFQBDJ"],"license":"MIT"},"node_modules/@latticexyz/world/src/IWorldErrors.sol":{"keccak256":"0x0abae6f4ed1b3070bddd0ed194c08b83a948b61ae959396202cf627bf1056a2b","urls":["bzz-raw://a7037954f281cc0188a5aafc1d0cca0aabc110fd0234e6c43dca35ad69ed3baf","dweb:/ipfs/Qmbv2nfK1qPpnoAbqNJFqWwo7AuyaX2ZEgZMFspMv7DR5B"],"license":"MIT"},"node_modules/@latticexyz/world/src/IWorldEvents.sol":{"keccak256":"0x39f6d8930db431c04158b85cc2a612c48d43dc81ec998f267076b12293c5d243","urls":["bzz-raw://d68f1543e5e166d639372d1aec57e3e193b5bb3b37270b6cb0488fab2c0ebe57","dweb:/ipfs/QmdJUFDx87AHWFKP3jVrYg8xqAkiPfuT1M3tEotNt7KUoy"],"license":"MIT"},"node_modules/@latticexyz/world/src/WorldResourceId.sol":{"keccak256":"0xaff9a22fac8a0f6eee5763b07a7ccb623c829d37922b85e42e914aad2ad417ee","urls":["bzz-raw://e598f0274d6d97c0a09806bf4fd1f0d054c310cf51b2123f5ce6380d6f3186ea","dweb:/ipfs/QmaaVvqm21YsCgxozDyShcM17jKUXJhf2y26bk2YzPYZoM"],"license":"MIT"},"node_modules/@latticexyz/world/src/constants.sol":{"keccak256":"0xb8320f88ed5519a4fe2554ad94815ce328a50fef7719932375d6ce695265c2f5","urls":["bzz-raw://a8f5de30fbcc63e469e46ad4a4d4bcd7d8e4b4f2d31fcf62a04aca48d999af22","dweb:/ipfs/QmXw1jDQM2szfRY3tAGrRy6fEzte6yVFgebJAqCLMDHndV"],"license":"MIT"},"node_modules/@latticexyz/world/src/worldResourceTypes.sol":{"keccak256":"0xeb042e7d3638430f6fd394107f3237cf14e4325154f0098624e8a7826584d465","urls":["bzz-raw://39e0b8eb87616b661f5a4f2fd7e1a727bd19b7fd8d40ad3d93fda26822f433ea","dweb:/ipfs/QmacYMatKV9pwEwirVRY9a6r89RoNs5yk99ic37ieWA8Dk"],"license":"MIT"}},"version":1},"id":57}
@@ -0,0 +1,55 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "call",
5
+ "inputs": [
6
+ {
7
+ "name": "systemId",
8
+ "type": "bytes32",
9
+ "internalType": "ResourceId"
10
+ },
11
+ {
12
+ "name": "callData",
13
+ "type": "bytes",
14
+ "internalType": "bytes"
15
+ }
16
+ ],
17
+ "outputs": [
18
+ {
19
+ "name": "",
20
+ "type": "bytes",
21
+ "internalType": "bytes"
22
+ }
23
+ ],
24
+ "stateMutability": "payable"
25
+ },
26
+ {
27
+ "type": "function",
28
+ "name": "callFrom",
29
+ "inputs": [
30
+ {
31
+ "name": "delegator",
32
+ "type": "address",
33
+ "internalType": "address"
34
+ },
35
+ {
36
+ "name": "systemId",
37
+ "type": "bytes32",
38
+ "internalType": "ResourceId"
39
+ },
40
+ {
41
+ "name": "callData",
42
+ "type": "bytes",
43
+ "internalType": "bytes"
44
+ }
45
+ ],
46
+ "outputs": [
47
+ {
48
+ "name": "",
49
+ "type": "bytes",
50
+ "internalType": "bytes"
51
+ }
52
+ ],
53
+ "stateMutability": "payable"
54
+ }
55
+ ]