@latticexyz/world-modules 2.0.0-transaction-context-324984c5 → 2.0.1-main-4a6b4598

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 (393) hide show
  1. package/dist/mud.config.d.ts +700 -222
  2. package/dist/mud.config.js +1 -1
  3. package/dist/mud.config.js.map +1 -1
  4. package/out/AccessControl.sol/AccessControl.json +1 -1
  5. package/out/AccessControlLib.sol/AccessControlLib.json +1 -1
  6. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json +0 -13
  7. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts +0 -13
  8. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
  9. package/out/AddressArray.sol/AddressArray.json +1 -1
  10. package/out/Allowances.sol/Allowances.json +1 -1
  11. package/out/ArrayLib.sol/ArrayLib.json +1 -1
  12. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json +0 -24
  13. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts +0 -24
  14. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
  15. package/out/Balances.sol/Balances.json +1 -1
  16. package/out/Base.sol/CommonBase.json +1 -1
  17. package/out/Base.sol/ScriptBase.json +1 -1
  18. package/out/Base.sol/TestBase.json +1 -1
  19. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json +0 -13
  20. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json.d.ts +0 -13
  21. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
  22. package/out/Bool.sol/Bool.json +1 -1
  23. package/out/Bytes.sol/Bytes.json +1 -1
  24. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.abi.json +0 -13
  25. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.abi.json.d.ts +0 -13
  26. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +1 -1
  27. package/out/CallboundDelegations.sol/CallboundDelegations.json +1 -1
  28. package/out/DecodeSlice.sol/DecodeSlice.json +1 -1
  29. package/out/Delegation.sol/Delegation.json +1 -1
  30. package/out/DelegationControl.sol/DelegationControl.abi.json +0 -13
  31. package/out/DelegationControl.sol/DelegationControl.abi.json.d.ts +0 -13
  32. package/out/DelegationControl.sol/DelegationControl.json +1 -1
  33. package/out/DelegationControlMock.sol/DelegationControlMock.abi.json +0 -13
  34. package/out/DelegationControlMock.sol/DelegationControlMock.abi.json.d.ts +0 -13
  35. package/out/DelegationControlMock.sol/DelegationControlMock.json +1 -1
  36. package/out/ERC165Checker.sol/ERC165Checker.json +1 -1
  37. package/out/ERC20.t.sol/ERC20Test.json +1 -1
  38. package/out/ERC20Metadata.sol/ERC20Metadata.json +1 -1
  39. package/out/ERC20Module.sol/ERC20Module.abi.json +10 -23
  40. package/out/ERC20Module.sol/ERC20Module.abi.json.d.ts +10 -23
  41. package/out/ERC20Module.sol/ERC20Module.json +1 -1
  42. package/out/ERC20Module.sol/ERC20ModuleRegistrationLibrary.abi.json +10 -10
  43. package/out/ERC20Module.sol/ERC20ModuleRegistrationLibrary.abi.json.d.ts +10 -10
  44. package/out/ERC20Module.sol/ERC20ModuleRegistrationLibrary.json +1 -1
  45. package/out/ERC20Registry.sol/ERC20Registry.json +1 -1
  46. package/out/ERC20System.sol/ERC20System.abi.json +0 -13
  47. package/out/ERC20System.sol/ERC20System.abi.json.d.ts +0 -13
  48. package/out/ERC20System.sol/ERC20System.json +1 -1
  49. package/out/ERC721.t.sol/ERC721Recipient.json +1 -1
  50. package/out/ERC721.t.sol/ERC721Test.json +1 -1
  51. package/out/ERC721.t.sol/ERC721TokenReceiver.json +1 -1
  52. package/out/ERC721.t.sol/NonERC721Recipient.json +1 -1
  53. package/out/ERC721.t.sol/RevertingERC721Recipient.json +1 -1
  54. package/out/ERC721.t.sol/WrongReturnDataERC721Recipient.json +1 -1
  55. package/out/ERC721Metadata.sol/ERC721Metadata.json +1 -1
  56. package/out/ERC721Module.sol/ERC721Module.abi.json +10 -23
  57. package/out/ERC721Module.sol/ERC721Module.abi.json.d.ts +10 -23
  58. package/out/ERC721Module.sol/ERC721Module.json +1 -1
  59. package/out/ERC721Module.sol/ERC721ModuleRegistrationLibrary.abi.json +10 -10
  60. package/out/ERC721Module.sol/ERC721ModuleRegistrationLibrary.abi.json.d.ts +10 -10
  61. package/out/ERC721Module.sol/ERC721ModuleRegistrationLibrary.json +1 -1
  62. package/out/ERC721Registry.sol/ERC721Registry.json +1 -1
  63. package/out/ERC721System.sol/ERC721System.abi.json +0 -13
  64. package/out/ERC721System.sol/ERC721System.abi.json.d.ts +0 -13
  65. package/out/ERC721System.sol/ERC721System.json +1 -1
  66. package/out/EchoSubscriber.sol/EchoSubscriber.abi.json +4 -4
  67. package/out/EchoSubscriber.sol/EchoSubscriber.abi.json.d.ts +4 -4
  68. package/out/EchoSubscriber.sol/EchoSubscriber.json +1 -1
  69. package/out/EncodeArray.sol/EncodeArray.json +1 -1
  70. package/out/EncodedLengths.sol/EncodedLengthsInstance.json +1 -0
  71. package/out/EncodedLengths.sol/EncodedLengthsLib.json +1 -0
  72. package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -1
  73. package/out/FieldLayout.sol/FieldLayoutLib.abi.json +1 -88
  74. package/out/FieldLayout.sol/FieldLayoutLib.json +1 -1
  75. package/out/FieldLayoutEncodeHelper.sol/FieldLayoutEncodeHelper.json +1 -1
  76. package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -1
  77. package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -1
  78. package/out/GasReporter.sol/GasReporter.json +1 -1
  79. package/out/Hook.sol/HookInstance.json +1 -1
  80. package/out/Hook.sol/HookLib.json +1 -1
  81. package/out/Hooks.sol/Hooks.json +1 -1
  82. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -1
  83. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -1
  84. package/out/IBaseWorld.sol/IBaseWorld.abi.json +171 -16
  85. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +171 -16
  86. package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
  87. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -1
  88. package/out/IDelegationControl.sol/IDelegationControl.abi.json +0 -13
  89. package/out/IDelegationControl.sol/IDelegationControl.abi.json.d.ts +0 -13
  90. package/out/IDelegationControl.sol/IDelegationControl.json +1 -1
  91. package/out/IERC20.sol/IERC20.json +1 -1
  92. package/out/IERC20Errors.sol/IERC20Errors.json +1 -1
  93. package/out/IERC20Events.sol/IERC20Events.json +1 -1
  94. package/out/IERC20Mintable.sol/IERC20Mintable.json +1 -1
  95. package/out/IERC20System.sol/IERC20System.json +1 -1
  96. package/out/IERC721.sol/IERC721.json +1 -1
  97. package/out/IERC721Errors.sol/IERC721Errors.json +1 -1
  98. package/out/IERC721Events.sol/IERC721Events.json +1 -1
  99. package/out/IERC721Metadata.sol/IERC721Metadata.json +1 -1
  100. package/out/IERC721Mintable.sol/IERC721Mintable.json +1 -1
  101. package/out/IERC721Receiver.sol/IERC721Receiver.json +1 -1
  102. package/out/{PackedCounter.sol/PackedCounterInstance.abi.json → IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json} +1 -1
  103. package/out/{PackedCounter.sol/PackedCounterInstance.abi.json.d.ts → IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json.d.ts} +1 -1
  104. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.json +1 -0
  105. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json +88 -0
  106. package/out/{FieldLayout.sol/FieldLayoutLib.abi.json.d.ts → IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json.d.ts} +7 -7
  107. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.json +1 -0
  108. package/out/IModule.sol/IModule.json +1 -1
  109. package/out/IModuleErrors.sol/IModuleErrors.abi.json +28 -0
  110. package/out/IModuleErrors.sol/IModuleErrors.abi.json.d.ts +28 -0
  111. package/out/IModuleErrors.sol/IModuleErrors.json +1 -0
  112. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -1
  113. package/out/IMulticall3.sol/IMulticall3.json +1 -1
  114. package/out/IPuppetFactorySystem.sol/IPuppetFactorySystem.json +1 -1
  115. package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -1
  116. package/out/ISchemaErrors.sol/ISchemaErrors.abi.json +18 -0
  117. package/out/{Schema.sol/SchemaLib.abi.json.d.ts → ISchemaErrors.sol/ISchemaErrors.abi.json.d.ts} +2 -2
  118. package/out/ISchemaErrors.sol/ISchemaErrors.json +1 -0
  119. package/out/ISliceErrors.sol/ISliceErrors.abi.json +23 -0
  120. package/out/ISliceErrors.sol/ISliceErrors.json +1 -0
  121. package/out/IStore.sol/IStore.abi.json +145 -5
  122. package/out/IStore.sol/IStore.abi.json.d.ts +145 -5
  123. package/out/IStore.sol/IStore.json +1 -1
  124. package/out/IStoreErrors.sol/IStoreErrors.json +1 -1
  125. package/out/IStoreEvents.sol/IStoreEvents.abi.json +21 -2
  126. package/out/IStoreEvents.sol/IStoreEvents.abi.json.d.ts +21 -2
  127. package/out/IStoreEvents.sol/IStoreEvents.json +1 -1
  128. package/out/IStoreHook.sol/IStoreHook.abi.json +4 -4
  129. package/out/IStoreHook.sol/IStoreHook.abi.json.d.ts +4 -4
  130. package/out/IStoreHook.sol/IStoreHook.json +1 -1
  131. package/out/{IStoreData.sol/IStoreData.abi.json → IStoreKernel.sol/IStoreKernel.abi.json} +347 -5
  132. package/out/{IStoreData.sol/IStoreData.abi.json.d.ts → IStoreKernel.sol/IStoreKernel.abi.json.d.ts} +347 -5
  133. package/out/IStoreKernel.sol/IStoreKernel.json +1 -0
  134. package/out/IStoreRead.sol/IStoreRead.abi.json +2 -2
  135. package/out/IStoreRead.sol/IStoreRead.abi.json.d.ts +2 -2
  136. package/out/IStoreRead.sol/IStoreRead.json +1 -1
  137. package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -1
  138. package/out/IStoreWrite.sol/IStoreWrite.abi.json +22 -3
  139. package/out/IStoreWrite.sol/IStoreWrite.abi.json.d.ts +22 -3
  140. package/out/IStoreWrite.sol/IStoreWrite.json +1 -1
  141. package/out/ISystemHook.sol/ISystemHook.json +1 -1
  142. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json +0 -13
  143. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json.d.ts +0 -13
  144. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -1
  145. package/out/IWorldErrors.sol/IWorldErrors.abi.json +0 -11
  146. package/out/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +0 -11
  147. package/out/IWorldErrors.sol/IWorldErrors.json +1 -1
  148. package/out/IWorldEvents.sol/IWorldEvents.abi.json +15 -0
  149. package/out/IWorldEvents.sol/IWorldEvents.abi.json.d.ts +15 -0
  150. package/out/IWorldEvents.sol/IWorldEvents.json +1 -0
  151. package/out/IWorldKernel.sol/IWorldCall.json +1 -1
  152. package/out/IWorldKernel.sol/IWorldKernel.abi.json +26 -11
  153. package/out/IWorldKernel.sol/IWorldKernel.abi.json.d.ts +26 -11
  154. package/out/IWorldKernel.sol/IWorldKernel.json +1 -1
  155. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -1
  156. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json +3 -3
  157. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json.d.ts +3 -3
  158. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
  159. package/out/InitModule.sol/InitModule.abi.json +10 -23
  160. package/out/InitModule.sol/InitModule.abi.json.d.ts +10 -23
  161. package/out/InitModule.sol/InitModule.json +1 -1
  162. package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -1
  163. package/out/InstalledModules.sol/InstalledModules.json +1 -1
  164. package/out/KeysInTable.sol/KeysInTable.json +1 -1
  165. package/out/KeysInTableHook.sol/KeysInTableHook.abi.json +13 -7
  166. package/out/KeysInTableHook.sol/KeysInTableHook.abi.json.d.ts +13 -7
  167. package/out/KeysInTableHook.sol/KeysInTableHook.json +1 -1
  168. package/out/KeysInTableModule.sol/KeysInTableModule.abi.json +0 -29
  169. package/out/KeysInTableModule.sol/KeysInTableModule.abi.json.d.ts +0 -29
  170. package/out/KeysInTableModule.sol/KeysInTableModule.json +1 -1
  171. package/out/KeysInTableModule.t.sol/KeysInTableModuleTest.abi.json +6 -6
  172. package/out/KeysInTableModule.t.sol/KeysInTableModuleTest.abi.json.d.ts +6 -6
  173. package/out/KeysInTableModule.t.sol/KeysInTableModuleTest.json +1 -1
  174. package/out/KeysWithValue.sol/KeysWithValue.json +1 -1
  175. package/out/KeysWithValueHook.sol/KeysWithValueHook.abi.json +12 -6
  176. package/out/KeysWithValueHook.sol/KeysWithValueHook.abi.json.d.ts +12 -6
  177. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1 -1
  178. package/out/KeysWithValueModule.sol/KeysWithValueModule.abi.json +0 -29
  179. package/out/KeysWithValueModule.sol/KeysWithValueModule.abi.json.d.ts +0 -29
  180. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +1 -1
  181. package/out/KeysWithValueModule.t.sol/KeysWithValueModuleTest.abi.json +6 -6
  182. package/out/KeysWithValueModule.t.sol/KeysWithValueModuleTest.abi.json.d.ts +6 -6
  183. package/out/KeysWithValueModule.t.sol/KeysWithValueModuleTest.json +1 -1
  184. package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -1
  185. package/out/Memory.sol/Memory.json +1 -1
  186. package/out/Module.sol/Module.abi.json +0 -13
  187. package/out/Module.sol/Module.abi.json.d.ts +0 -13
  188. package/out/Module.sol/Module.json +1 -1
  189. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +0 -13
  190. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +0 -13
  191. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
  192. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -1
  193. package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -1
  194. package/out/OperatorApproval.sol/OperatorApproval.json +1 -1
  195. package/out/Owners.sol/Owners.json +1 -1
  196. package/out/Puppet.sol/Puppet.json +1 -1
  197. package/out/PuppetDelegationControl.sol/PuppetDelegationControl.abi.json +0 -13
  198. package/out/PuppetDelegationControl.sol/PuppetDelegationControl.abi.json.d.ts +0 -13
  199. package/out/PuppetDelegationControl.sol/PuppetDelegationControl.json +1 -1
  200. package/out/PuppetFactorySystem.sol/PuppetFactorySystem.abi.json +0 -13
  201. package/out/PuppetFactorySystem.sol/PuppetFactorySystem.abi.json.d.ts +0 -13
  202. package/out/PuppetFactorySystem.sol/PuppetFactorySystem.json +1 -1
  203. package/out/PuppetMaster.sol/PuppetMaster.json +1 -1
  204. package/out/PuppetModule.sol/PuppetModule.abi.json +10 -23
  205. package/out/PuppetModule.sol/PuppetModule.abi.json.d.ts +10 -23
  206. package/out/PuppetModule.sol/PuppetModule.json +1 -1
  207. package/out/PuppetModule.t.sol/PuppetModuleTest.json +1 -1
  208. package/out/PuppetModule.t.sol/PuppetTestSystem.abi.json +0 -13
  209. package/out/PuppetModule.t.sol/PuppetTestSystem.abi.json.d.ts +0 -13
  210. package/out/PuppetModule.t.sol/PuppetTestSystem.json +1 -1
  211. package/out/PuppetRegistry.sol/PuppetRegistry.json +1 -1
  212. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json +31 -49
  213. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json.d.ts +31 -49
  214. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
  215. package/out/ResourceAccess.sol/ResourceAccess.json +1 -1
  216. package/out/ResourceId.sol/ResourceIdInstance.json +1 -1
  217. package/out/ResourceId.sol/ResourceIdLib.json +1 -1
  218. package/out/ResourceIds.sol/ResourceIds.json +1 -1
  219. package/out/RevertSubscriber.sol/RevertSubscriber.abi.json +4 -4
  220. package/out/RevertSubscriber.sol/RevertSubscriber.abi.json.d.ts +4 -4
  221. package/out/RevertSubscriber.sol/RevertSubscriber.json +1 -1
  222. package/out/Schema.sol/SchemaInstance.json +1 -1
  223. package/out/Schema.sol/SchemaLib.abi.json +1 -18
  224. package/out/Schema.sol/SchemaLib.json +1 -1
  225. package/out/SchemaEncodeHelper.sol/SchemaEncodeHelper.json +1 -1
  226. package/out/Slice.sol/SliceInstance.json +1 -1
  227. package/out/Slice.sol/SliceLib.abi.json +1 -23
  228. package/out/Slice.sol/SliceLib.json +1 -1
  229. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.abi.json +10 -23
  230. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.abi.json.d.ts +10 -23
  231. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +1 -1
  232. package/out/StandardDelegationsModule.t.sol/StandardDelegationsModuleTest.json +1 -1
  233. package/out/StdAssertions.sol/StdAssertions.json +1 -1
  234. package/out/StdChains.sol/StdChains.json +1 -1
  235. package/out/StdCheats.sol/StdCheats.json +1 -1
  236. package/out/StdCheats.sol/StdCheatsSafe.json +1 -1
  237. package/out/StdError.sol/stdError.json +1 -1
  238. package/out/StdInvariant.sol/StdInvariant.json +1 -1
  239. package/out/StdJson.sol/stdJson.json +1 -1
  240. package/out/StdMath.sol/stdMath.json +1 -1
  241. package/out/StdStorage.sol/stdStorage.json +1 -1
  242. package/out/StdStorage.sol/stdStorageSafe.json +1 -1
  243. package/out/StdStyle.sol/StdStyle.json +1 -1
  244. package/out/StdUtils.sol/StdUtils.json +1 -1
  245. package/out/Storage.sol/Storage.json +1 -1
  246. package/out/StoreCore.sol/StoreCore.abi.json +1 -132
  247. package/out/StoreCore.sol/StoreCore.json +1 -1
  248. package/out/StoreCore.sol/StoreCoreInternal.json +1 -1
  249. package/out/StoreHook.sol/StoreHook.abi.json +4 -4
  250. package/out/StoreHook.sol/StoreHook.abi.json.d.ts +4 -4
  251. package/out/StoreHook.sol/StoreHook.json +1 -1
  252. package/out/StoreHooks.sol/StoreHooks.json +1 -1
  253. package/out/{StoreData.sol/StoreData.abi.json → StoreKernel.sol/StoreKernel.abi.json} +299 -5
  254. package/out/{StoreData.sol/StoreData.abi.json.d.ts → StoreKernel.sol/StoreKernel.abi.json.d.ts} +299 -5
  255. package/out/StoreKernel.sol/StoreKernel.json +1 -0
  256. package/out/StoreRead.sol/StoreRead.abi.json +2 -2
  257. package/out/StoreRead.sol/StoreRead.abi.json.d.ts +2 -2
  258. package/out/StoreRead.sol/StoreRead.json +1 -1
  259. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +28 -46
  260. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +28 -46
  261. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
  262. package/out/StoreSwitch.sol/StoreSwitch.json +1 -1
  263. package/out/System.sol/System.abi.json +0 -13
  264. package/out/System.sol/System.abi.json.d.ts +0 -13
  265. package/out/System.sol/System.json +1 -1
  266. package/out/SystemCall.sol/SystemCall.json +1 -1
  267. package/out/SystemHook.sol/SystemHook.json +1 -1
  268. package/out/SystemHooks.sol/SystemHooks.json +1 -1
  269. package/out/SystemRegistry.sol/SystemRegistry.json +1 -1
  270. package/out/SystemSwitch.sol/SystemSwitch.json +1 -1
  271. package/out/SystemSwitch.t.sol/EchoSystem.abi.json +0 -13
  272. package/out/SystemSwitch.t.sol/EchoSystem.abi.json.d.ts +0 -13
  273. package/out/SystemSwitch.t.sol/EchoSystem.json +1 -1
  274. package/out/SystemSwitch.t.sol/SystemSwitchTest.abi.json +0 -16
  275. package/out/SystemSwitch.t.sol/SystemSwitchTest.abi.json.d.ts +0 -16
  276. package/out/SystemSwitch.t.sol/SystemSwitchTest.json +1 -1
  277. package/out/SystemboundDelegationControl.sol/SystemboundDelegationControl.abi.json +0 -13
  278. package/out/SystemboundDelegationControl.sol/SystemboundDelegationControl.abi.json.d.ts +0 -13
  279. package/out/SystemboundDelegationControl.sol/SystemboundDelegationControl.json +1 -1
  280. package/out/SystemboundDelegations.sol/SystemboundDelegations.json +1 -1
  281. package/out/Systems.sol/Systems.json +1 -1
  282. package/out/Tables.sol/Tables.json +1 -1
  283. package/out/Test.sol/Test.json +1 -1
  284. package/out/TightCoder.sol/TightCoder.json +1 -1
  285. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.abi.json +0 -13
  286. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.abi.json.d.ts +0 -13
  287. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +1 -1
  288. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1 -1
  289. package/out/TokenApproval.sol/TokenApproval.json +1 -1
  290. package/out/TokenURI.sol/TokenURI.json +1 -1
  291. package/out/TotalSupply.sol/TotalSupply.json +1 -1
  292. package/out/TwoFields.sol/TwoFields.json +1 -1
  293. package/out/UniqueEntity.sol/UniqueEntity.json +1 -1
  294. package/out/UniqueEntityModule.sol/UniqueEntityModule.abi.json +10 -23
  295. package/out/UniqueEntityModule.sol/UniqueEntityModule.abi.json.d.ts +10 -23
  296. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +1 -1
  297. package/out/UniqueEntityModule.t.sol/UniqueEntityModuleTest.json +1 -1
  298. package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.abi.json +0 -13
  299. package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.abi.json.d.ts +0 -13
  300. package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.json +1 -1
  301. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json +0 -13
  302. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json.d.ts +0 -13
  303. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +1 -1
  304. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +1 -1
  305. package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -1
  306. package/out/Vm.sol/Vm.json +1 -1
  307. package/out/Vm.sol/VmSafe.json +1 -1
  308. package/out/World.sol/World.abi.json +232 -127
  309. package/out/World.sol/World.abi.json.d.ts +232 -127
  310. package/out/World.sol/World.json +1 -1
  311. package/out/World.t.sol/EchoSystemHook.json +1 -1
  312. package/out/World.t.sol/IWorldTestSystem.json +1 -1
  313. package/out/World.t.sol/PayableFallbackSystem.abi.json +0 -13
  314. package/out/World.t.sol/PayableFallbackSystem.abi.json.d.ts +0 -13
  315. package/out/World.t.sol/PayableFallbackSystem.json +1 -1
  316. package/out/World.t.sol/RevertSystemHook.json +1 -1
  317. package/out/World.t.sol/WorldTest.abi.json +7 -7
  318. package/out/World.t.sol/WorldTest.abi.json.d.ts +7 -7
  319. package/out/World.t.sol/WorldTest.json +1 -1
  320. package/out/World.t.sol/WorldTestSystem.abi.json +1 -14
  321. package/out/World.t.sol/WorldTestSystem.abi.json.d.ts +1 -14
  322. package/out/World.t.sol/WorldTestSystem.json +1 -1
  323. package/out/WorldContext.sol/WorldContextConsumer.abi.json +0 -13
  324. package/out/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +0 -13
  325. package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
  326. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
  327. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
  328. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +12 -30
  329. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +12 -30
  330. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
  331. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -1
  332. package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -1
  333. package/out/console.sol/console.json +1 -1
  334. package/out/console2.sol/console2.json +1 -1
  335. package/out/constants.sol/LayoutOffsets.json +1 -1
  336. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +174 -19
  337. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +174 -19
  338. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +1 -1
  339. package/out/query.t.sol/QueryTest.abi.json +6 -6
  340. package/out/query.t.sol/QueryTest.abi.json.d.ts +6 -6
  341. package/out/query.t.sol/QueryTest.json +1 -1
  342. package/out/safeconsole.sol/safeconsole.json +1 -1
  343. package/out/src/IERC165.sol/IERC165.json +1 -1
  344. package/out/tables/Balances.sol/Balances.json +1 -1
  345. package/out/test.sol/DSTest.json +1 -1
  346. package/out/world/src/IERC165.sol/IERC165.json +1 -1
  347. package/package.json +8 -9
  348. package/src/index.sol +5 -5
  349. package/src/interfaces/IBaseWorld.sol +2 -3
  350. package/src/interfaces/IERC20System.sol +1 -0
  351. package/src/interfaces/IPuppetFactorySystem.sol +1 -0
  352. package/src/modules/erc20-puppet/ERC20Module.sol +1 -3
  353. package/src/modules/erc20-puppet/tables/Allowances.sol +13 -43
  354. package/src/modules/erc20-puppet/tables/ERC20Metadata.sol +24 -54
  355. package/src/modules/erc20-puppet/tables/ERC20Registry.sol +13 -42
  356. package/src/modules/erc20-puppet/tables/TotalSupply.sol +13 -41
  357. package/src/modules/erc721-puppet/ERC721Module.sol +1 -3
  358. package/src/modules/erc721-puppet/IERC721Metadata.sol +1 -0
  359. package/src/modules/erc721-puppet/IERC721Receiver.sol +1 -0
  360. package/src/modules/erc721-puppet/tables/ERC721Metadata.sol +23 -53
  361. package/src/modules/erc721-puppet/tables/ERC721Registry.sol +13 -42
  362. package/src/modules/erc721-puppet/tables/OperatorApproval.sol +13 -43
  363. package/src/modules/erc721-puppet/tables/Owners.sol +13 -42
  364. package/src/modules/erc721-puppet/tables/TokenApproval.sol +13 -42
  365. package/src/modules/erc721-puppet/tables/TokenURI.sol +15 -44
  366. package/src/modules/keysintable/KeysInTableHook.sol +3 -3
  367. package/src/modules/keysintable/KeysInTableModule.sol +13 -13
  368. package/src/modules/keysintable/query.sol +7 -7
  369. package/src/modules/keysintable/tables/KeysInTable.sol +47 -63
  370. package/src/modules/keysintable/tables/UsedKeysIndex.sol +25 -57
  371. package/src/modules/keyswithvalue/KeysWithValueHook.sol +5 -5
  372. package/src/modules/keyswithvalue/KeysWithValueModule.sol +3 -3
  373. package/src/modules/keyswithvalue/getKeysWithValue.sol +3 -3
  374. package/src/modules/keyswithvalue/tables/KeysWithValue.sol +16 -45
  375. package/src/modules/puppet/tables/PuppetRegistry.sol +13 -42
  376. package/src/modules/std-delegations/tables/CallboundDelegations.sol +15 -48
  377. package/src/modules/std-delegations/tables/SystemboundDelegations.sol +15 -47
  378. package/src/modules/std-delegations/tables/TimeboundDelegations.sol +15 -46
  379. package/src/modules/tokens/tables/Balances.sol +13 -42
  380. package/src/modules/uniqueentity/tables/UniqueEntity.sol +14 -42
  381. package/src/utils/AccessControlLib.sol +1 -0
  382. package/src/utils/SystemSwitch.sol +1 -0
  383. package/ts/scripts/tablegen.ts +2 -2
  384. package/ts/scripts/worldgen.ts +6 -5
  385. package/out/IStoreData.sol/IStoreData.json +0 -1
  386. package/out/PackedCounter.sol/PackedCounterInstance.json +0 -1
  387. package/out/PackedCounter.sol/PackedCounterLib.json +0 -1
  388. package/out/StoreCore.sol/StoreCore.abi.json.d.ts +0 -132
  389. package/out/StoreData.sol/StoreData.json +0 -1
  390. package/out/TransactionContext.sol/TransactionContext.json +0 -1
  391. /package/out/{PackedCounter.sol/PackedCounterLib.abi.json → EncodedLengths.sol/EncodedLengthsInstance.abi.json} +0 -0
  392. /package/out/{TransactionContext.sol/TransactionContext.abi.json → EncodedLengths.sol/EncodedLengthsLib.abi.json} +0 -0
  393. /package/out/{Slice.sol/SliceLib.abi.json.d.ts → ISliceErrors.sol/ISliceErrors.abi.json.d.ts} +0 -0
@@ -1,256 +1,734 @@
1
- import * as _latticexyz_store_register from '@latticexyz/store/register';
1
+ import * as _latticexyz_store_config_v2 from '@latticexyz/store/config/v2';
2
2
 
3
- declare const _default: _latticexyz_store_register.ExpandMUDUserConfig<{
4
- worldgenDirectory: string;
5
- worldInterfaceName: string;
6
- codegenDirectory: string;
7
- userTypes: {
8
- ResourceId: {
9
- filePath: string;
10
- internalType: "bytes32";
11
- };
12
- };
13
- tables: {
14
- /************************************************************************
15
- *
16
- * KEYS WITH VALUE MODULE
17
- *
18
- ************************************************************************/
19
- KeysWithValue: {
20
- directory: string;
21
- keySchema: {
22
- valueHash: "bytes32";
23
- };
24
- valueSchema: {
25
- keysWithValue: "bytes32[]";
26
- };
27
- tableIdArgument: true;
28
- storeArgument: true;
29
- };
30
- /************************************************************************
31
- *
32
- * KEYS IN TABLE MODULE
33
- *
34
- ************************************************************************/
35
- KeysInTable: {
36
- directory: string;
37
- keySchema: {
38
- sourceTableId: "ResourceId";
39
- };
40
- valueSchema: {
41
- keys0: "bytes32[]";
42
- keys1: "bytes32[]";
43
- keys2: "bytes32[]";
44
- keys3: "bytes32[]";
45
- keys4: "bytes32[]";
46
- };
47
- storeArgument: true;
48
- };
49
- UsedKeysIndex: {
50
- directory: string;
51
- keySchema: {
52
- sourceTableId: "ResourceId";
53
- keysHash: "bytes32";
54
- };
55
- valueSchema: {
56
- has: "bool";
57
- index: "uint40";
58
- };
59
- dataStruct: false;
60
- storeArgument: true;
61
- };
62
- /************************************************************************
63
- *
64
- * UNIQUE ENTITY MODULE
65
- *
66
- ************************************************************************/
67
- UniqueEntity: {
68
- directory: string;
69
- keySchema: {};
70
- valueSchema: "uint256";
71
- tableIdArgument: true;
72
- storeArgument: true;
73
- };
74
- /************************************************************************
75
- *
76
- * STD DELEGATIONS MODULE
77
- *
78
- ************************************************************************/
79
- CallboundDelegations: {
80
- directory: string;
81
- keySchema: {
82
- delegator: "address";
83
- delegatee: "address";
84
- systemId: "ResourceId";
85
- callDataHash: "bytes32";
86
- };
87
- valueSchema: {
88
- availableCalls: "uint256";
3
+ declare const _default: {
4
+ readonly tables: {
5
+ readonly KeysWithValue: {
6
+ readonly tableId: `0x${string}`;
7
+ readonly name: "KeysWithValue";
8
+ readonly namespace: "";
9
+ readonly type: "table";
10
+ readonly key: readonly ["valueHash"];
11
+ readonly schema: {
12
+ readonly valueHash: {
13
+ readonly type: "bytes32";
14
+ readonly internalType: "bytes32";
15
+ };
16
+ readonly keysWithValue: {
17
+ readonly type: "bytes32[]";
18
+ readonly internalType: "bytes32[]";
19
+ };
20
+ };
21
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
22
+ codegen: {
23
+ outputDirectory: string;
24
+ tableIdArgument: true;
25
+ storeArgument: true;
26
+ };
27
+ namespace: undefined;
28
+ schema: {
29
+ valueHash: "bytes32";
30
+ keysWithValue: "bytes32[]";
31
+ };
32
+ key: ["valueHash"];
33
+ name: "KeysWithValue";
34
+ }>;
35
+ readonly deploy: {
36
+ readonly disabled: false;
89
37
  };
90
38
  };
91
- SystemboundDelegations: {
92
- directory: string;
93
- keySchema: {
94
- delegator: "address";
95
- delegatee: "address";
96
- systemId: "ResourceId";
97
- };
98
- valueSchema: {
99
- availableCalls: "uint256";
39
+ readonly KeysInTable: {
40
+ readonly tableId: `0x${string}`;
41
+ readonly name: "KeysInTable";
42
+ readonly namespace: "";
43
+ readonly type: "table";
44
+ readonly key: readonly ["sourceTableId"];
45
+ readonly schema: {
46
+ readonly sourceTableId: {
47
+ readonly type: "bytes32";
48
+ readonly internalType: "ResourceId";
49
+ };
50
+ readonly keys0: {
51
+ readonly type: "bytes32[]";
52
+ readonly internalType: "bytes32[]";
53
+ };
54
+ readonly keys1: {
55
+ readonly type: "bytes32[]";
56
+ readonly internalType: "bytes32[]";
57
+ };
58
+ readonly keys2: {
59
+ readonly type: "bytes32[]";
60
+ readonly internalType: "bytes32[]";
61
+ };
62
+ readonly keys3: {
63
+ readonly type: "bytes32[]";
64
+ readonly internalType: "bytes32[]";
65
+ };
66
+ readonly keys4: {
67
+ readonly type: "bytes32[]";
68
+ readonly internalType: "bytes32[]";
69
+ };
70
+ };
71
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
72
+ codegen: {
73
+ outputDirectory: string;
74
+ storeArgument: true;
75
+ };
76
+ namespace: undefined;
77
+ schema: {
78
+ sourceTableId: "ResourceId";
79
+ keys0: "bytes32[]";
80
+ keys1: "bytes32[]";
81
+ keys2: "bytes32[]";
82
+ keys3: "bytes32[]";
83
+ keys4: "bytes32[]";
84
+ };
85
+ key: ["sourceTableId"];
86
+ name: "KeysInTable";
87
+ }>;
88
+ readonly deploy: {
89
+ readonly disabled: false;
100
90
  };
101
91
  };
102
- TimeboundDelegations: {
103
- directory: string;
104
- keySchema: {
105
- delegator: "address";
106
- delegatee: "address";
92
+ readonly UsedKeysIndex: {
93
+ readonly tableId: `0x${string}`;
94
+ readonly name: "UsedKeysIndex";
95
+ readonly namespace: "";
96
+ readonly type: "table";
97
+ readonly key: readonly ["sourceTableId", "keysHash"];
98
+ readonly schema: {
99
+ readonly sourceTableId: {
100
+ readonly type: "bytes32";
101
+ readonly internalType: "ResourceId";
102
+ };
103
+ readonly keysHash: {
104
+ readonly type: "bytes32";
105
+ readonly internalType: "bytes32";
106
+ };
107
+ readonly has: {
108
+ readonly type: "bool";
109
+ readonly internalType: "bool";
110
+ };
111
+ readonly index: {
112
+ readonly type: "uint40";
113
+ readonly internalType: "uint40";
114
+ };
115
+ };
116
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
117
+ codegen: {
118
+ outputDirectory: string;
119
+ dataStruct: false;
120
+ storeArgument: true;
121
+ };
122
+ namespace: undefined;
123
+ schema: {
124
+ sourceTableId: "ResourceId";
125
+ keysHash: "bytes32";
126
+ has: "bool";
127
+ index: "uint40";
128
+ };
129
+ key: ["sourceTableId", "keysHash"];
130
+ name: "UsedKeysIndex";
131
+ }>;
132
+ readonly deploy: {
133
+ readonly disabled: false;
107
134
  };
108
- valueSchema: {
109
- maxTimestamp: "uint256";
110
- };
111
- };
112
- /************************************************************************
113
- *
114
- * PUPPET MODULE
115
- *
116
- ************************************************************************/
117
- PuppetRegistry: {
118
- directory: string;
119
- keySchema: {
120
- systemId: "ResourceId";
121
- };
122
- valueSchema: {
123
- puppet: "address";
124
- };
125
- tableIdArgument: true;
126
135
  };
127
- /************************************************************************
128
- *
129
- * TOKEN TABLES (SHARED BY ERC20, ERC721)
130
- *
131
- ************************************************************************/
132
- Balances: {
133
- directory: string;
134
- keySchema: {
135
- account: "address";
136
- };
137
- valueSchema: {
138
- value: "uint256";
139
- };
140
- tableIdArgument: true;
141
- };
142
- /************************************************************************
143
- *
144
- * ERC20 MODULE
145
- *
146
- ************************************************************************/
147
- ERC20Metadata: {
148
- directory: string;
149
- keySchema: {};
150
- valueSchema: {
151
- decimals: "uint8";
152
- name: "string";
153
- symbol: "string";
154
- };
155
- tableIdArgument: true;
156
- };
157
- Allowances: {
158
- directory: string;
159
- keySchema: {
160
- account: "address";
161
- spender: "address";
136
+ readonly UniqueEntity: {
137
+ readonly tableId: `0x${string}`;
138
+ readonly name: "UniqueEntity";
139
+ readonly namespace: "";
140
+ readonly type: "table";
141
+ readonly key: readonly [];
142
+ readonly schema: {
143
+ readonly value: {
144
+ readonly type: "uint256";
145
+ readonly internalType: "uint256";
146
+ };
147
+ };
148
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
149
+ codegen: {
150
+ outputDirectory: string;
151
+ tableIdArgument: true;
152
+ storeArgument: true;
153
+ };
154
+ namespace: undefined;
155
+ schema: {
156
+ value: "uint256";
157
+ };
158
+ key: [];
159
+ name: "UniqueEntity";
160
+ }>;
161
+ readonly deploy: {
162
+ readonly disabled: false;
162
163
  };
163
- valueSchema: {
164
- value: "uint256";
164
+ };
165
+ readonly CallboundDelegations: {
166
+ readonly tableId: `0x${string}`;
167
+ readonly name: "CallboundDelegations";
168
+ readonly namespace: "";
169
+ readonly type: "table";
170
+ readonly key: readonly ["delegator", "delegatee", "systemId", "callDataHash"];
171
+ readonly schema: {
172
+ readonly delegator: {
173
+ readonly type: "address";
174
+ readonly internalType: "address";
175
+ };
176
+ readonly delegatee: {
177
+ readonly type: "address";
178
+ readonly internalType: "address";
179
+ };
180
+ readonly systemId: {
181
+ readonly type: "bytes32";
182
+ readonly internalType: "ResourceId";
183
+ };
184
+ readonly callDataHash: {
185
+ readonly type: "bytes32";
186
+ readonly internalType: "bytes32";
187
+ };
188
+ readonly availableCalls: {
189
+ readonly type: "uint256";
190
+ readonly internalType: "uint256";
191
+ };
192
+ };
193
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
194
+ codegen: {
195
+ outputDirectory: string;
196
+ };
197
+ namespace: undefined;
198
+ schema: {
199
+ delegator: "address";
200
+ delegatee: "address";
201
+ systemId: "ResourceId";
202
+ callDataHash: "bytes32";
203
+ availableCalls: "uint256";
204
+ };
205
+ key: ["delegator", "delegatee", "systemId", "callDataHash"];
206
+ name: "CallboundDelegations";
207
+ }>;
208
+ readonly deploy: {
209
+ readonly disabled: false;
165
210
  };
166
- tableIdArgument: true;
167
211
  };
168
- TotalSupply: {
169
- directory: string;
170
- keySchema: {};
171
- valueSchema: {
172
- totalSupply: "uint256";
212
+ readonly SystemboundDelegations: {
213
+ readonly tableId: `0x${string}`;
214
+ readonly name: "SystemboundDelegations";
215
+ readonly namespace: "";
216
+ readonly type: "table";
217
+ readonly key: readonly ["delegator", "delegatee", "systemId"];
218
+ readonly schema: {
219
+ readonly delegator: {
220
+ readonly type: "address";
221
+ readonly internalType: "address";
222
+ };
223
+ readonly delegatee: {
224
+ readonly type: "address";
225
+ readonly internalType: "address";
226
+ };
227
+ readonly systemId: {
228
+ readonly type: "bytes32";
229
+ readonly internalType: "ResourceId";
230
+ };
231
+ readonly availableCalls: {
232
+ readonly type: "uint256";
233
+ readonly internalType: "uint256";
234
+ };
235
+ };
236
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
237
+ codegen: {
238
+ outputDirectory: string;
239
+ };
240
+ namespace: undefined;
241
+ schema: {
242
+ delegator: "address";
243
+ delegatee: "address";
244
+ systemId: "ResourceId";
245
+ availableCalls: "uint256";
246
+ };
247
+ key: ["delegator", "delegatee", "systemId"];
248
+ name: "SystemboundDelegations";
249
+ }>;
250
+ readonly deploy: {
251
+ readonly disabled: false;
173
252
  };
174
- tableIdArgument: true;
175
253
  };
176
- ERC20Registry: {
177
- directory: string;
178
- keySchema: {
179
- namespaceId: "ResourceId";
254
+ readonly TimeboundDelegations: {
255
+ readonly tableId: `0x${string}`;
256
+ readonly name: "TimeboundDelegations";
257
+ readonly namespace: "";
258
+ readonly type: "table";
259
+ readonly key: readonly ["delegator", "delegatee"];
260
+ readonly schema: {
261
+ readonly delegator: {
262
+ readonly type: "address";
263
+ readonly internalType: "address";
264
+ };
265
+ readonly delegatee: {
266
+ readonly type: "address";
267
+ readonly internalType: "address";
268
+ };
269
+ readonly maxTimestamp: {
270
+ readonly type: "uint256";
271
+ readonly internalType: "uint256";
272
+ };
273
+ };
274
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
275
+ codegen: {
276
+ outputDirectory: string;
277
+ };
278
+ namespace: undefined;
279
+ schema: {
280
+ delegator: "address";
281
+ delegatee: "address";
282
+ maxTimestamp: "uint256";
283
+ };
284
+ key: ["delegator", "delegatee"];
285
+ name: "TimeboundDelegations";
286
+ }>;
287
+ readonly deploy: {
288
+ readonly disabled: false;
180
289
  };
181
- valueSchema: {
182
- tokenAddress: "address";
290
+ };
291
+ readonly PuppetRegistry: {
292
+ readonly tableId: `0x${string}`;
293
+ readonly name: "PuppetRegistry";
294
+ readonly namespace: "";
295
+ readonly type: "table";
296
+ readonly key: readonly ["systemId"];
297
+ readonly schema: {
298
+ readonly systemId: {
299
+ readonly type: "bytes32";
300
+ readonly internalType: "ResourceId";
301
+ };
302
+ readonly puppet: {
303
+ readonly type: "address";
304
+ readonly internalType: "address";
305
+ };
306
+ };
307
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
308
+ codegen: {
309
+ outputDirectory: string;
310
+ tableIdArgument: true;
311
+ };
312
+ namespace: undefined;
313
+ schema: {
314
+ systemId: "ResourceId";
315
+ puppet: "address";
316
+ };
317
+ key: ["systemId"];
318
+ name: "PuppetRegistry";
319
+ }>;
320
+ readonly deploy: {
321
+ readonly disabled: false;
183
322
  };
184
- tableIdArgument: true;
185
323
  };
186
- /************************************************************************
187
- *
188
- * ERC721 MODULE
189
- *
190
- ************************************************************************/
191
- ERC721Metadata: {
192
- directory: string;
193
- keySchema: {};
194
- valueSchema: {
195
- name: "string";
196
- symbol: "string";
197
- baseURI: "string";
198
- };
199
- tableIdArgument: true;
324
+ readonly Balances: {
325
+ readonly tableId: `0x${string}`;
326
+ readonly name: "Balances";
327
+ readonly namespace: "";
328
+ readonly type: "table";
329
+ readonly key: readonly ["account"];
330
+ readonly schema: {
331
+ readonly account: {
332
+ readonly type: "address";
333
+ readonly internalType: "address";
334
+ };
335
+ readonly value: {
336
+ readonly type: "uint256";
337
+ readonly internalType: "uint256";
338
+ };
339
+ };
340
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
341
+ codegen: {
342
+ outputDirectory: string;
343
+ tableIdArgument: true;
344
+ };
345
+ namespace: undefined;
346
+ schema: {
347
+ account: "address";
348
+ value: "uint256";
349
+ };
350
+ key: ["account"];
351
+ name: "Balances";
352
+ }>;
353
+ readonly deploy: {
354
+ readonly disabled: false;
355
+ };
200
356
  };
201
- TokenURI: {
202
- directory: string;
203
- keySchema: {
204
- tokenId: "uint256";
357
+ readonly ERC20Metadata: {
358
+ readonly tableId: `0x${string}`;
359
+ readonly name: "ERC20Metadata";
360
+ readonly namespace: "";
361
+ readonly type: "table";
362
+ readonly key: readonly [];
363
+ readonly schema: {
364
+ readonly decimals: {
365
+ readonly type: "uint8";
366
+ readonly internalType: "uint8";
367
+ };
368
+ readonly name: {
369
+ readonly type: "string";
370
+ readonly internalType: "string";
371
+ };
372
+ readonly symbol: {
373
+ readonly type: "string";
374
+ readonly internalType: "string";
375
+ };
376
+ };
377
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
378
+ codegen: {
379
+ outputDirectory: string;
380
+ tableIdArgument: true;
381
+ };
382
+ namespace: undefined;
383
+ schema: {
384
+ decimals: "uint8";
385
+ name: "string";
386
+ symbol: "string";
387
+ };
388
+ key: [];
389
+ name: "ERC20Metadata";
390
+ }>;
391
+ readonly deploy: {
392
+ readonly disabled: false;
205
393
  };
206
- valueSchema: {
207
- tokenURI: "string";
394
+ };
395
+ readonly Allowances: {
396
+ readonly tableId: `0x${string}`;
397
+ readonly name: "Allowances";
398
+ readonly namespace: "";
399
+ readonly type: "table";
400
+ readonly key: readonly ["account", "spender"];
401
+ readonly schema: {
402
+ readonly account: {
403
+ readonly type: "address";
404
+ readonly internalType: "address";
405
+ };
406
+ readonly spender: {
407
+ readonly type: "address";
408
+ readonly internalType: "address";
409
+ };
410
+ readonly value: {
411
+ readonly type: "uint256";
412
+ readonly internalType: "uint256";
413
+ };
414
+ };
415
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
416
+ codegen: {
417
+ outputDirectory: string;
418
+ tableIdArgument: true;
419
+ };
420
+ namespace: undefined;
421
+ schema: {
422
+ account: "address";
423
+ spender: "address";
424
+ value: "uint256";
425
+ };
426
+ key: ["account", "spender"];
427
+ name: "Allowances";
428
+ }>;
429
+ readonly deploy: {
430
+ readonly disabled: false;
208
431
  };
209
- tableIdArgument: true;
210
432
  };
211
- Owners: {
212
- directory: string;
213
- keySchema: {
214
- tokenId: "uint256";
433
+ readonly TotalSupply: {
434
+ readonly tableId: `0x${string}`;
435
+ readonly name: "TotalSupply";
436
+ readonly namespace: "";
437
+ readonly type: "table";
438
+ readonly key: readonly [];
439
+ readonly schema: {
440
+ readonly totalSupply: {
441
+ readonly type: "uint256";
442
+ readonly internalType: "uint256";
443
+ };
444
+ };
445
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
446
+ codegen: {
447
+ outputDirectory: string;
448
+ tableIdArgument: true;
449
+ };
450
+ namespace: undefined;
451
+ schema: {
452
+ totalSupply: "uint256";
453
+ };
454
+ key: [];
455
+ name: "TotalSupply";
456
+ }>;
457
+ readonly deploy: {
458
+ readonly disabled: false;
215
459
  };
216
- valueSchema: {
217
- owner: "address";
460
+ };
461
+ readonly ERC20Registry: {
462
+ readonly tableId: `0x${string}`;
463
+ readonly name: "ERC20Registry";
464
+ readonly namespace: "";
465
+ readonly type: "table";
466
+ readonly key: readonly ["namespaceId"];
467
+ readonly schema: {
468
+ readonly namespaceId: {
469
+ readonly type: "bytes32";
470
+ readonly internalType: "ResourceId";
471
+ };
472
+ readonly tokenAddress: {
473
+ readonly type: "address";
474
+ readonly internalType: "address";
475
+ };
476
+ };
477
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
478
+ codegen: {
479
+ outputDirectory: string;
480
+ tableIdArgument: true;
481
+ };
482
+ namespace: undefined;
483
+ schema: {
484
+ namespaceId: "ResourceId";
485
+ tokenAddress: "address";
486
+ };
487
+ key: ["namespaceId"];
488
+ name: "ERC20Registry";
489
+ }>;
490
+ readonly deploy: {
491
+ readonly disabled: false;
218
492
  };
219
- tableIdArgument: true;
220
493
  };
221
- TokenApproval: {
222
- directory: string;
223
- keySchema: {
224
- tokenId: "uint256";
494
+ readonly ERC721Metadata: {
495
+ readonly tableId: `0x${string}`;
496
+ readonly name: "ERC721Metadata";
497
+ readonly namespace: "";
498
+ readonly type: "table";
499
+ readonly key: readonly [];
500
+ readonly schema: {
501
+ readonly name: {
502
+ readonly type: "string";
503
+ readonly internalType: "string";
504
+ };
505
+ readonly symbol: {
506
+ readonly type: "string";
507
+ readonly internalType: "string";
508
+ };
509
+ readonly baseURI: {
510
+ readonly type: "string";
511
+ readonly internalType: "string";
512
+ };
513
+ };
514
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
515
+ codegen: {
516
+ outputDirectory: string;
517
+ tableIdArgument: true;
518
+ };
519
+ namespace: undefined;
520
+ schema: {
521
+ name: "string";
522
+ symbol: "string";
523
+ baseURI: "string";
524
+ };
525
+ key: [];
526
+ name: "ERC721Metadata";
527
+ }>;
528
+ readonly deploy: {
529
+ readonly disabled: false;
225
530
  };
226
- valueSchema: {
227
- account: "address";
531
+ };
532
+ readonly TokenURI: {
533
+ readonly tableId: `0x${string}`;
534
+ readonly name: "TokenURI";
535
+ readonly namespace: "";
536
+ readonly type: "table";
537
+ readonly key: readonly ["tokenId"];
538
+ readonly schema: {
539
+ readonly tokenId: {
540
+ readonly type: "uint256";
541
+ readonly internalType: "uint256";
542
+ };
543
+ readonly tokenURI: {
544
+ readonly type: "string";
545
+ readonly internalType: "string";
546
+ };
547
+ };
548
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
549
+ codegen: {
550
+ outputDirectory: string;
551
+ tableIdArgument: true;
552
+ };
553
+ namespace: undefined;
554
+ schema: {
555
+ tokenId: "uint256";
556
+ tokenURI: "string";
557
+ };
558
+ key: ["tokenId"];
559
+ name: "TokenURI";
560
+ }>;
561
+ readonly deploy: {
562
+ readonly disabled: false;
228
563
  };
229
- tableIdArgument: true;
230
564
  };
231
- OperatorApproval: {
232
- directory: string;
233
- keySchema: {
234
- owner: "address";
235
- operator: "address";
565
+ readonly Owners: {
566
+ readonly tableId: `0x${string}`;
567
+ readonly name: "Owners";
568
+ readonly namespace: "";
569
+ readonly type: "table";
570
+ readonly key: readonly ["tokenId"];
571
+ readonly schema: {
572
+ readonly tokenId: {
573
+ readonly type: "uint256";
574
+ readonly internalType: "uint256";
575
+ };
576
+ readonly owner: {
577
+ readonly type: "address";
578
+ readonly internalType: "address";
579
+ };
580
+ };
581
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
582
+ codegen: {
583
+ outputDirectory: string;
584
+ tableIdArgument: true;
585
+ };
586
+ namespace: undefined;
587
+ schema: {
588
+ tokenId: "uint256";
589
+ owner: "address";
590
+ };
591
+ key: ["tokenId"];
592
+ name: "Owners";
593
+ }>;
594
+ readonly deploy: {
595
+ readonly disabled: false;
236
596
  };
237
- valueSchema: {
238
- approved: "bool";
597
+ };
598
+ readonly TokenApproval: {
599
+ readonly tableId: `0x${string}`;
600
+ readonly name: "TokenApproval";
601
+ readonly namespace: "";
602
+ readonly type: "table";
603
+ readonly key: readonly ["tokenId"];
604
+ readonly schema: {
605
+ readonly tokenId: {
606
+ readonly type: "uint256";
607
+ readonly internalType: "uint256";
608
+ };
609
+ readonly account: {
610
+ readonly type: "address";
611
+ readonly internalType: "address";
612
+ };
613
+ };
614
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
615
+ codegen: {
616
+ outputDirectory: string;
617
+ tableIdArgument: true;
618
+ };
619
+ namespace: undefined;
620
+ schema: {
621
+ tokenId: "uint256";
622
+ account: "address";
623
+ };
624
+ key: ["tokenId"];
625
+ name: "TokenApproval";
626
+ }>;
627
+ readonly deploy: {
628
+ readonly disabled: false;
239
629
  };
240
- tableIdArgument: true;
241
630
  };
242
- ERC721Registry: {
243
- directory: string;
244
- keySchema: {
245
- namespaceId: "ResourceId";
631
+ readonly OperatorApproval: {
632
+ readonly tableId: `0x${string}`;
633
+ readonly name: "OperatorApproval";
634
+ readonly namespace: "";
635
+ readonly type: "table";
636
+ readonly key: readonly ["owner", "operator"];
637
+ readonly schema: {
638
+ readonly owner: {
639
+ readonly type: "address";
640
+ readonly internalType: "address";
641
+ };
642
+ readonly operator: {
643
+ readonly type: "address";
644
+ readonly internalType: "address";
645
+ };
646
+ readonly approved: {
647
+ readonly type: "bool";
648
+ readonly internalType: "bool";
649
+ };
650
+ };
651
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
652
+ codegen: {
653
+ outputDirectory: string;
654
+ tableIdArgument: true;
655
+ };
656
+ namespace: undefined;
657
+ schema: {
658
+ owner: "address";
659
+ operator: "address";
660
+ approved: "bool";
661
+ };
662
+ key: ["owner", "operator"];
663
+ name: "OperatorApproval";
664
+ }>;
665
+ readonly deploy: {
666
+ readonly disabled: false;
246
667
  };
247
- valueSchema: {
248
- tokenAddress: "address";
668
+ };
669
+ readonly ERC721Registry: {
670
+ readonly tableId: `0x${string}`;
671
+ readonly name: "ERC721Registry";
672
+ readonly namespace: "";
673
+ readonly type: "table";
674
+ readonly key: readonly ["namespaceId"];
675
+ readonly schema: {
676
+ readonly namespaceId: {
677
+ readonly type: "bytes32";
678
+ readonly internalType: "ResourceId";
679
+ };
680
+ readonly tokenAddress: {
681
+ readonly type: "address";
682
+ readonly internalType: "address";
683
+ };
684
+ };
685
+ readonly codegen: _latticexyz_store_config_v2.resolveTableCodegen<{
686
+ codegen: {
687
+ outputDirectory: string;
688
+ tableIdArgument: true;
689
+ };
690
+ namespace: undefined;
691
+ schema: {
692
+ namespaceId: "ResourceId";
693
+ tokenAddress: "address";
694
+ };
695
+ key: ["namespaceId"];
696
+ name: "ERC721Registry";
697
+ }>;
698
+ readonly deploy: {
699
+ readonly disabled: false;
249
700
  };
250
- tableIdArgument: true;
251
701
  };
252
702
  };
253
- excludeSystems: string[];
254
- }>;
703
+ readonly userTypes: {
704
+ ResourceId: {
705
+ filePath: string;
706
+ type: "bytes32";
707
+ };
708
+ };
709
+ readonly enums: {};
710
+ readonly namespace: "";
711
+ readonly codegen: {
712
+ worldgenDirectory: string;
713
+ worldInterfaceName: string;
714
+ readonly storeImportPath: "@latticexyz/store/src/";
715
+ readonly userTypesFilename: "common.sol";
716
+ readonly outputDirectory: string;
717
+ readonly indexFilename: "index.sol";
718
+ } & {
719
+ readonly worldInterfaceName: "IWorld";
720
+ readonly worldgenDirectory: "world";
721
+ readonly worldImportPath: "@latticexyz/world/src/";
722
+ };
723
+ readonly systems: {};
724
+ readonly excludeSystems: string[];
725
+ readonly modules: readonly [];
726
+ readonly deploy: {
727
+ readonly customWorldContract: undefined;
728
+ readonly postDeployScript: "PostDeploy";
729
+ readonly deploysDirectory: "./deploys";
730
+ readonly worldsFile: "./worlds.json";
731
+ };
732
+ };
255
733
 
256
734
  export { _default as default };