@latticexyz/world-module-erc20 2.2.13-main-23e6a6c97d94f85e163378148c51f51c900b3f8a

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 (488) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +131 -0
  3. package/dist/_esm-DCAC27XZ.js +10 -0
  4. package/dist/_esm-DCAC27XZ.js.map +1 -0
  5. package/dist/ccip-GJX6Z7AD.js +2 -0
  6. package/dist/ccip-GJX6Z7AD.js.map +1 -0
  7. package/dist/chunk-AU25RBDM.js +30 -0
  8. package/dist/chunk-AU25RBDM.js.map +1 -0
  9. package/dist/chunk-QBDELX7C.js +7 -0
  10. package/dist/chunk-QBDELX7C.js.map +1 -0
  11. package/dist/chunk-SYRP7SJ5.js +2 -0
  12. package/dist/chunk-SYRP7SJ5.js.map +1 -0
  13. package/dist/index.d.ts +15 -0
  14. package/dist/index.js +2 -0
  15. package/dist/index.js.map +1 -0
  16. package/dist/mud.config.d.ts +415 -0
  17. package/dist/mud.config.js +2 -0
  18. package/dist/mud.config.js.map +1 -0
  19. package/dist/secp256k1-QYN2SJD6.js +22 -0
  20. package/dist/secp256k1-QYN2SJD6.js.map +1 -0
  21. package/out/AccessControl.sol/AccessControl.abi.json +1 -0
  22. package/out/AccessControl.sol/AccessControl.json +1 -0
  23. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json +256 -0
  24. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts +256 -0
  25. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -0
  26. package/out/Allowances.sol/Allowances.abi.json +1 -0
  27. package/out/Allowances.sol/Allowances.json +1 -0
  28. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json +361 -0
  29. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts +361 -0
  30. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -0
  31. package/out/Balances.sol/Balances.abi.json +1 -0
  32. package/out/Balances.sol/Balances.json +1 -0
  33. package/out/Base.sol/CommonBase.abi.json +1 -0
  34. package/out/Base.sol/CommonBase.json +1 -0
  35. package/out/Base.sol/ScriptBase.abi.json +1 -0
  36. package/out/Base.sol/ScriptBase.json +1 -0
  37. package/out/Base.sol/TestBase.abi.json +1 -0
  38. package/out/Base.sol/TestBase.json +1 -0
  39. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json +132 -0
  40. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json.d.ts +132 -0
  41. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -0
  42. package/out/Bytes.sol/Bytes.abi.json +1 -0
  43. package/out/Bytes.sol/Bytes.json +1 -0
  44. package/out/Constants.sol/ERC20TableNames.abi.json +1 -0
  45. package/out/Constants.sol/ERC20TableNames.json +1 -0
  46. package/out/Constants.sol/ModuleConstants.abi.json +1 -0
  47. package/out/Constants.sol/ModuleConstants.json +1 -0
  48. package/out/Constants.sol/OwnableTableNames.abi.json +1 -0
  49. package/out/Constants.sol/OwnableTableNames.json +1 -0
  50. package/out/Constants.sol/PausableTableNames.abi.json +1 -0
  51. package/out/Constants.sol/PausableTableNames.json +1 -0
  52. package/out/Context.sol/Context.abi.json +1 -0
  53. package/out/Context.sol/Context.json +1 -0
  54. package/out/DecodeSlice.sol/DecodeSlice.abi.json +1 -0
  55. package/out/DecodeSlice.sol/DecodeSlice.json +1 -0
  56. package/out/Delegation.sol/Delegation.abi.json +1 -0
  57. package/out/Delegation.sol/Delegation.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/ERC20BaseTest.sol/ERC20BehaviorTest.abi.json +949 -0
  61. package/out/ERC20BaseTest.sol/ERC20BehaviorTest.abi.json.d.ts +949 -0
  62. package/out/ERC20BaseTest.sol/ERC20BehaviorTest.json +1 -0
  63. package/out/ERC20BaseTest.sol/ERC20WithInternalStoreBehaviorTest.abi.json +949 -0
  64. package/out/ERC20BaseTest.sol/ERC20WithInternalStoreBehaviorTest.abi.json.d.ts +949 -0
  65. package/out/ERC20BaseTest.sol/ERC20WithInternalStoreBehaviorTest.json +1 -0
  66. package/out/ERC20BaseTest.sol/ERC20WithInternalStoreTest.abi.json +949 -0
  67. package/out/ERC20BaseTest.sol/ERC20WithInternalStoreTest.abi.json.d.ts +949 -0
  68. package/out/ERC20BaseTest.sol/ERC20WithInternalStoreTest.json +1 -0
  69. package/out/ERC20BaseTest.sol/ERC20WithWorldBehaviorTest.abi.json +956 -0
  70. package/out/ERC20BaseTest.sol/ERC20WithWorldBehaviorTest.abi.json.d.ts +956 -0
  71. package/out/ERC20BaseTest.sol/ERC20WithWorldBehaviorTest.json +1 -0
  72. package/out/ERC20BaseTest.sol/ERC20WithWorldTest.abi.json +956 -0
  73. package/out/ERC20BaseTest.sol/ERC20WithWorldTest.abi.json.d.ts +956 -0
  74. package/out/ERC20BaseTest.sol/ERC20WithWorldTest.json +1 -0
  75. package/out/ERC20BaseTest.sol/MockERC20Base.abi.json +683 -0
  76. package/out/ERC20BaseTest.sol/MockERC20Base.abi.json.d.ts +683 -0
  77. package/out/ERC20BaseTest.sol/MockERC20Base.json +1 -0
  78. package/out/ERC20BaseTest.sol/MockERC20WithInternalStore.abi.json +683 -0
  79. package/out/ERC20BaseTest.sol/MockERC20WithInternalStore.abi.json.d.ts +683 -0
  80. package/out/ERC20BaseTest.sol/MockERC20WithInternalStore.json +1 -0
  81. package/out/ERC20BaseTest.sol/MockERC20WithWorld.abi.json +719 -0
  82. package/out/ERC20BaseTest.sol/MockERC20WithWorld.abi.json.d.ts +719 -0
  83. package/out/ERC20BaseTest.sol/MockERC20WithWorld.json +1 -0
  84. package/out/ERC20BaseTest.sol/TestConstants.abi.json +1 -0
  85. package/out/ERC20BaseTest.sol/TestConstants.json +1 -0
  86. package/out/ERC20Burnable.sol/ERC20Burnable.abi.json +678 -0
  87. package/out/ERC20Burnable.sol/ERC20Burnable.abi.json.d.ts +678 -0
  88. package/out/ERC20Burnable.sol/ERC20Burnable.json +1 -0
  89. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json +956 -0
  90. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json.d.ts +956 -0
  91. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.json +1 -0
  92. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.abi.json +956 -0
  93. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.abi.json.d.ts +956 -0
  94. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.json +1 -0
  95. package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.abi.json +963 -0
  96. package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.abi.json.d.ts +963 -0
  97. package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.json +1 -0
  98. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json +714 -0
  99. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json.d.ts +714 -0
  100. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.json +1 -0
  101. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json +745 -0
  102. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json.d.ts +745 -0
  103. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.json +1 -0
  104. package/out/ERC20Metadata.sol/ERC20Metadata.abi.json +1 -0
  105. package/out/ERC20Metadata.sol/ERC20Metadata.json +1 -0
  106. package/out/ERC20Module.sol/ERC20Module.abi.json +147 -0
  107. package/out/ERC20Module.sol/ERC20Module.abi.json.d.ts +147 -0
  108. package/out/ERC20Module.sol/ERC20Module.json +1 -0
  109. package/out/ERC20Module.sol/ERC20RegistryLib.abi.json +349 -0
  110. package/out/ERC20Module.sol/ERC20RegistryLib.abi.json.d.ts +349 -0
  111. package/out/ERC20Module.sol/ERC20RegistryLib.json +1 -0
  112. package/out/ERC20Module.t.sol/ERC20ModuleTest.abi.json +541 -0
  113. package/out/ERC20Module.t.sol/ERC20ModuleTest.abi.json.d.ts +541 -0
  114. package/out/ERC20Module.t.sol/ERC20ModuleTest.json +1 -0
  115. package/out/ERC20Module.t.sol/TestConstants.abi.json +1 -0
  116. package/out/ERC20Module.t.sol/TestConstants.json +1 -0
  117. package/out/ERC20Pausable.sol/ERC20Pausable.abi.json +696 -0
  118. package/out/ERC20Pausable.sol/ERC20Pausable.abi.json.d.ts +696 -0
  119. package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -0
  120. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.abi.json +956 -0
  121. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.abi.json.d.ts +956 -0
  122. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.json +1 -0
  123. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.abi.json +956 -0
  124. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.abi.json.d.ts +956 -0
  125. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.json +1 -0
  126. package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.abi.json +963 -0
  127. package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.abi.json.d.ts +963 -0
  128. package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.json +1 -0
  129. package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json +710 -0
  130. package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json.d.ts +710 -0
  131. package/out/ERC20Pausable.t.sol/MockERC20Pausable.json +1 -0
  132. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json +746 -0
  133. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json.d.ts +746 -0
  134. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.json +1 -0
  135. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json +777 -0
  136. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json.d.ts +777 -0
  137. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.json +1 -0
  138. package/out/ERC20Registry.sol/ERC20Registry.abi.json +1 -0
  139. package/out/ERC20Registry.sol/ERC20Registry.json +1 -0
  140. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json +838 -0
  141. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json.d.ts +838 -0
  142. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.json +1 -0
  143. package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json +816 -0
  144. package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json.d.ts +816 -0
  145. package/out/ERC20WithWorld.sol/ERC20WithWorld.json +1 -0
  146. package/out/EncodeArray.sol/EncodeArray.abi.json +1 -0
  147. package/out/EncodeArray.sol/EncodeArray.json +1 -0
  148. package/out/EncodedLengths.sol/EncodedLengthsInstance.abi.json +1 -0
  149. package/out/EncodedLengths.sol/EncodedLengthsInstance.json +1 -0
  150. package/out/EncodedLengths.sol/EncodedLengthsLib.abi.json +1 -0
  151. package/out/EncodedLengths.sol/EncodedLengthsLib.json +1 -0
  152. package/out/FieldLayout.sol/FieldLayoutInstance.abi.json +1 -0
  153. package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -0
  154. package/out/FieldLayout.sol/FieldLayoutLib.abi.json +1 -0
  155. package/out/FieldLayout.sol/FieldLayoutLib.json +1 -0
  156. package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
  157. package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -0
  158. package/out/FunctionSignatures.sol/FunctionSignatures.abi.json +1 -0
  159. package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -0
  160. package/out/GasReporter.sol/GasReporter.abi.json +520 -0
  161. package/out/GasReporter.sol/GasReporter.abi.json.d.ts +520 -0
  162. package/out/GasReporter.sol/GasReporter.json +1 -0
  163. package/out/Hook.sol/HookInstance.abi.json +1 -0
  164. package/out/Hook.sol/HookInstance.json +1 -0
  165. package/out/Hook.sol/HookLib.abi.json +1 -0
  166. package/out/Hook.sol/HookLib.json +1 -0
  167. package/out/Hooks.sol/Hooks.abi.json +1 -0
  168. package/out/Hooks.sol/Hooks.json +1 -0
  169. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json +69 -0
  170. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json.d.ts +69 -0
  171. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -0
  172. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json +48 -0
  173. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json.d.ts +48 -0
  174. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -0
  175. package/out/IBaseWorld.sol/IBaseWorld.abi.json +2008 -0
  176. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +2008 -0
  177. package/out/IBaseWorld.sol/IBaseWorld.json +1 -0
  178. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  179. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +69 -0
  180. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -0
  181. package/out/IDelegationControl.sol/IDelegationControl.abi.json +89 -0
  182. package/out/IDelegationControl.sol/IDelegationControl.abi.json.d.ts +89 -0
  183. package/out/IDelegationControl.sol/IDelegationControl.json +1 -0
  184. package/out/IERC165.sol/IERC165.abi.json +21 -0
  185. package/out/IERC165.sol/IERC165.abi.json.d.ts +21 -0
  186. package/out/IERC165.sol/IERC165.json +1 -0
  187. package/out/IERC20.sol/IERC20.abi.json +185 -0
  188. package/out/IERC20.sol/IERC20.abi.json.d.ts +185 -0
  189. package/out/IERC20.sol/IERC20.json +1 -0
  190. package/out/IERC20Errors.sol/IERC20Errors.abi.json +88 -0
  191. package/out/IERC20Errors.sol/IERC20Errors.abi.json.d.ts +88 -0
  192. package/out/IERC20Errors.sol/IERC20Errors.json +1 -0
  193. package/out/IERC20Events.sol/IERC20Events.abi.json +52 -0
  194. package/out/IERC20Events.sol/IERC20Events.abi.json.d.ts +52 -0
  195. package/out/IERC20Events.sol/IERC20Events.json +1 -0
  196. package/out/IERC20Metadata.sol/IERC20Metadata.abi.json +224 -0
  197. package/out/IERC20Metadata.sol/IERC20Metadata.abi.json.d.ts +224 -0
  198. package/out/IERC20Metadata.sol/IERC20Metadata.json +1 -0
  199. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json +13 -0
  200. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json.d.ts +13 -0
  201. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.json +1 -0
  202. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json +88 -0
  203. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json.d.ts +88 -0
  204. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.json +1 -0
  205. package/out/IModule.sol/IModule.abi.json +73 -0
  206. package/out/IModule.sol/IModule.abi.json.d.ts +73 -0
  207. package/out/IModule.sol/IModule.json +1 -0
  208. package/out/IModuleErrors.sol/IModuleErrors.abi.json +28 -0
  209. package/out/IModuleErrors.sol/IModuleErrors.abi.json.d.ts +28 -0
  210. package/out/IModuleErrors.sol/IModuleErrors.json +1 -0
  211. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json +20 -0
  212. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json.d.ts +20 -0
  213. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -0
  214. package/out/IMulticall3.sol/IMulticall3.abi.json +440 -0
  215. package/out/IMulticall3.sol/IMulticall3.abi.json.d.ts +440 -0
  216. package/out/IMulticall3.sol/IMulticall3.json +1 -0
  217. package/out/IRegistrationSystem.sol/IRegistrationSystem.abi.json +1 -0
  218. package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -0
  219. package/out/ISchemaErrors.sol/ISchemaErrors.abi.json +18 -0
  220. package/out/ISchemaErrors.sol/ISchemaErrors.abi.json.d.ts +18 -0
  221. package/out/ISchemaErrors.sol/ISchemaErrors.json +1 -0
  222. package/out/ISliceErrors.sol/ISliceErrors.abi.json +23 -0
  223. package/out/ISliceErrors.sol/ISliceErrors.abi.json.d.ts +23 -0
  224. package/out/ISliceErrors.sol/ISliceErrors.json +1 -0
  225. package/out/IStore.sol/IStore.abi.json +1261 -0
  226. package/out/IStore.sol/IStore.abi.json.d.ts +1261 -0
  227. package/out/IStore.sol/IStore.json +1 -0
  228. package/out/IStoreErrors.sol/IStoreErrors.abi.json +204 -0
  229. package/out/IStoreErrors.sol/IStoreErrors.abi.json.d.ts +204 -0
  230. package/out/IStoreErrors.sol/IStoreErrors.json +1 -0
  231. package/out/IStoreEvents.sol/IStoreEvents.abi.json +151 -0
  232. package/out/IStoreEvents.sol/IStoreEvents.abi.json.d.ts +151 -0
  233. package/out/IStoreEvents.sol/IStoreEvents.json +1 -0
  234. package/out/IStoreHook.sol/IStoreHook.abi.json +290 -0
  235. package/out/IStoreHook.sol/IStoreHook.abi.json.d.ts +290 -0
  236. package/out/IStoreHook.sol/IStoreHook.json +1 -0
  237. package/out/IStoreKernel.sol/IStoreKernel.abi.json +1182 -0
  238. package/out/IStoreKernel.sol/IStoreKernel.abi.json.d.ts +1182 -0
  239. package/out/IStoreKernel.sol/IStoreKernel.json +1 -0
  240. package/out/IStoreRead.sol/IStoreRead.abi.json +389 -0
  241. package/out/IStoreRead.sol/IStoreRead.abi.json.d.ts +389 -0
  242. package/out/IStoreRead.sol/IStoreRead.json +1 -0
  243. package/out/IStoreRegistration.sol/IStoreRegistration.abi.json +81 -0
  244. package/out/IStoreRegistration.sol/IStoreRegistration.abi.json.d.ts +81 -0
  245. package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -0
  246. package/out/IStoreWrite.sol/IStoreWrite.abi.json +446 -0
  247. package/out/IStoreWrite.sol/IStoreWrite.abi.json.d.ts +446 -0
  248. package/out/IStoreWrite.sol/IStoreWrite.json +1 -0
  249. package/out/ISystemHook.sol/ISystemHook.abi.json +67 -0
  250. package/out/ISystemHook.sol/ISystemHook.abi.json.d.ts +67 -0
  251. package/out/ISystemHook.sol/ISystemHook.json +1 -0
  252. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json +60 -0
  253. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json.d.ts +60 -0
  254. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -0
  255. package/out/IWorldErrors.sol/IWorldErrors.abi.json +200 -0
  256. package/out/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +200 -0
  257. package/out/IWorldErrors.sol/IWorldErrors.json +1 -0
  258. package/out/IWorldEvents.sol/IWorldEvents.abi.json +15 -0
  259. package/out/IWorldEvents.sol/IWorldEvents.abi.json.d.ts +15 -0
  260. package/out/IWorldEvents.sol/IWorldEvents.json +1 -0
  261. package/out/IWorldKernel.sol/IWorldCall.abi.json +55 -0
  262. package/out/IWorldKernel.sol/IWorldCall.abi.json.d.ts +55 -0
  263. package/out/IWorldKernel.sol/IWorldCall.json +1 -0
  264. package/out/IWorldKernel.sol/IWorldKernel.abi.json +349 -0
  265. package/out/IWorldKernel.sol/IWorldKernel.abi.json.d.ts +349 -0
  266. package/out/IWorldKernel.sol/IWorldKernel.json +1 -0
  267. package/out/IWorldKernel.sol/IWorldModuleInstallation.abi.json +20 -0
  268. package/out/IWorldKernel.sol/IWorldModuleInstallation.abi.json.d.ts +20 -0
  269. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -0
  270. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json +204 -0
  271. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json.d.ts +204 -0
  272. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -0
  273. package/out/InitModule.sol/InitModule.abi.json +462 -0
  274. package/out/InitModule.sol/InitModule.abi.json.d.ts +462 -0
  275. package/out/InitModule.sol/InitModule.json +1 -0
  276. package/out/InitModuleAddress.sol/InitModuleAddress.abi.json +1 -0
  277. package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -0
  278. package/out/InstalledModules.sol/InstalledModules.abi.json +1 -0
  279. package/out/InstalledModules.sol/InstalledModules.json +1 -0
  280. package/out/LimitedCallContext.sol/LimitedCallContext.abi.json +7 -0
  281. package/out/LimitedCallContext.sol/LimitedCallContext.abi.json.d.ts +7 -0
  282. package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -0
  283. package/out/MUDERC20.sol/MUDERC20.abi.json +647 -0
  284. package/out/MUDERC20.sol/MUDERC20.abi.json.d.ts +647 -0
  285. package/out/MUDERC20.sol/MUDERC20.json +1 -0
  286. package/out/Memory.sol/Memory.abi.json +1 -0
  287. package/out/Memory.sol/Memory.json +1 -0
  288. package/out/Module.sol/Module.abi.json +112 -0
  289. package/out/Module.sol/Module.abi.json.d.ts +112 -0
  290. package/out/Module.sol/Module.json +1 -0
  291. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +151 -0
  292. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +151 -0
  293. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -0
  294. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.abi.json +1 -0
  295. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -0
  296. package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
  297. package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -0
  298. package/out/Ownable.sol/Ownable.abi.json +413 -0
  299. package/out/Ownable.sol/Ownable.abi.json.d.ts +413 -0
  300. package/out/Ownable.sol/Ownable.json +1 -0
  301. package/out/Owner.sol/Owner.abi.json +1 -0
  302. package/out/Owner.sol/Owner.json +1 -0
  303. package/out/Pausable.sol/Pausable.abi.json +388 -0
  304. package/out/Pausable.sol/Pausable.abi.json.d.ts +388 -0
  305. package/out/Pausable.sol/Pausable.json +1 -0
  306. package/out/Paused.sol/Paused.abi.json +1 -0
  307. package/out/Paused.sol/Paused.json +1 -0
  308. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json +1018 -0
  309. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json.d.ts +1018 -0
  310. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -0
  311. package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
  312. package/out/ResourceAccess.sol/ResourceAccess.json +1 -0
  313. package/out/ResourceId.sol/ResourceIdInstance.abi.json +1 -0
  314. package/out/ResourceId.sol/ResourceIdInstance.json +1 -0
  315. package/out/ResourceId.sol/ResourceIdLib.abi.json +1 -0
  316. package/out/ResourceId.sol/ResourceIdLib.json +1 -0
  317. package/out/ResourceIds.sol/ResourceIds.abi.json +1 -0
  318. package/out/ResourceIds.sol/ResourceIds.json +1 -0
  319. package/out/Schema.sol/SchemaInstance.abi.json +1 -0
  320. package/out/Schema.sol/SchemaInstance.json +1 -0
  321. package/out/Schema.sol/SchemaLib.abi.json +1 -0
  322. package/out/Schema.sol/SchemaLib.json +1 -0
  323. package/out/Slice.sol/SliceInstance.abi.json +1 -0
  324. package/out/Slice.sol/SliceInstance.json +1 -0
  325. package/out/Slice.sol/SliceLib.abi.json +1 -0
  326. package/out/Slice.sol/SliceLib.json +1 -0
  327. package/out/StdAssertions.sol/StdAssertions.abi.json +392 -0
  328. package/out/StdAssertions.sol/StdAssertions.abi.json.d.ts +392 -0
  329. package/out/StdAssertions.sol/StdAssertions.json +1 -0
  330. package/out/StdChains.sol/StdChains.abi.json +1 -0
  331. package/out/StdChains.sol/StdChains.json +1 -0
  332. package/out/StdCheats.sol/StdCheats.abi.json +1 -0
  333. package/out/StdCheats.sol/StdCheats.json +1 -0
  334. package/out/StdCheats.sol/StdCheatsSafe.abi.json +1 -0
  335. package/out/StdCheats.sol/StdCheatsSafe.json +1 -0
  336. package/out/StdError.sol/stdError.abi.json +119 -0
  337. package/out/StdError.sol/stdError.abi.json.d.ts +119 -0
  338. package/out/StdError.sol/stdError.json +1 -0
  339. package/out/StdInvariant.sol/StdInvariant.abi.json +130 -0
  340. package/out/StdInvariant.sol/StdInvariant.abi.json.d.ts +130 -0
  341. package/out/StdInvariant.sol/StdInvariant.json +1 -0
  342. package/out/StdJson.sol/stdJson.abi.json +1 -0
  343. package/out/StdJson.sol/stdJson.json +1 -0
  344. package/out/StdMath.sol/stdMath.abi.json +1 -0
  345. package/out/StdMath.sol/stdMath.json +1 -0
  346. package/out/StdStorage.sol/stdStorage.abi.json +1 -0
  347. package/out/StdStorage.sol/stdStorage.json +1 -0
  348. package/out/StdStorage.sol/stdStorageSafe.abi.json +52 -0
  349. package/out/StdStorage.sol/stdStorageSafe.abi.json.d.ts +52 -0
  350. package/out/StdStorage.sol/stdStorageSafe.json +1 -0
  351. package/out/StdStyle.sol/StdStyle.abi.json +1 -0
  352. package/out/StdStyle.sol/StdStyle.json +1 -0
  353. package/out/StdUtils.sol/StdUtils.abi.json +1 -0
  354. package/out/StdUtils.sol/StdUtils.json +1 -0
  355. package/out/Storage.sol/Storage.abi.json +1 -0
  356. package/out/Storage.sol/Storage.json +1 -0
  357. package/out/Store.sol/Store.abi.json +1261 -0
  358. package/out/Store.sol/Store.abi.json.d.ts +1261 -0
  359. package/out/Store.sol/Store.json +1 -0
  360. package/out/StoreConsumer.sol/StoreConsumer.abi.json +15 -0
  361. package/out/StoreConsumer.sol/StoreConsumer.abi.json.d.ts +15 -0
  362. package/out/StoreConsumer.sol/StoreConsumer.json +1 -0
  363. package/out/StoreConsumer.t.sol/MockStoreConsumer.abi.json +52 -0
  364. package/out/StoreConsumer.t.sol/MockStoreConsumer.abi.json.d.ts +52 -0
  365. package/out/StoreConsumer.t.sol/MockStoreConsumer.json +1 -0
  366. package/out/StoreConsumer.t.sol/MockWithInternalStore.abi.json +376 -0
  367. package/out/StoreConsumer.t.sol/MockWithInternalStore.abi.json.d.ts +376 -0
  368. package/out/StoreConsumer.t.sol/MockWithInternalStore.json +1 -0
  369. package/out/StoreConsumer.t.sol/MockWithStore.abi.json +387 -0
  370. package/out/StoreConsumer.t.sol/MockWithStore.abi.json.d.ts +387 -0
  371. package/out/StoreConsumer.t.sol/MockWithStore.json +1 -0
  372. package/out/StoreConsumer.t.sol/MockWithWorld.abi.json +430 -0
  373. package/out/StoreConsumer.t.sol/MockWithWorld.abi.json.d.ts +430 -0
  374. package/out/StoreConsumer.t.sol/MockWithWorld.json +1 -0
  375. package/out/StoreConsumer.t.sol/StoreConsumerTest.abi.json +548 -0
  376. package/out/StoreConsumer.t.sol/StoreConsumerTest.abi.json.d.ts +548 -0
  377. package/out/StoreConsumer.t.sol/StoreConsumerTest.json +1 -0
  378. package/out/StoreCore.sol/StoreCore.abi.json +1 -0
  379. package/out/StoreCore.sol/StoreCore.json +1 -0
  380. package/out/StoreCore.sol/StoreCoreInternal.abi.json +1 -0
  381. package/out/StoreCore.sol/StoreCoreInternal.json +1 -0
  382. package/out/StoreHooks.sol/StoreHooks.abi.json +1 -0
  383. package/out/StoreHooks.sol/StoreHooks.json +1 -0
  384. package/out/StoreKernel.sol/StoreKernel.abi.json +1182 -0
  385. package/out/StoreKernel.sol/StoreKernel.abi.json.d.ts +1182 -0
  386. package/out/StoreKernel.sol/StoreKernel.json +1 -0
  387. package/out/StoreRead.sol/StoreRead.abi.json +437 -0
  388. package/out/StoreRead.sol/StoreRead.abi.json.d.ts +437 -0
  389. package/out/StoreRead.sol/StoreRead.json +1 -0
  390. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +779 -0
  391. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +779 -0
  392. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -0
  393. package/out/StoreSwitch.sol/StoreSwitch.abi.json +1 -0
  394. package/out/StoreSwitch.sol/StoreSwitch.json +1 -0
  395. package/out/System.sol/System.abi.json +60 -0
  396. package/out/System.sol/System.abi.json.d.ts +60 -0
  397. package/out/System.sol/System.json +1 -0
  398. package/out/SystemCall.sol/SystemCall.abi.json +1 -0
  399. package/out/SystemCall.sol/SystemCall.json +1 -0
  400. package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
  401. package/out/SystemHooks.sol/SystemHooks.json +1 -0
  402. package/out/SystemRegistry.sol/SystemRegistry.abi.json +1 -0
  403. package/out/SystemRegistry.sol/SystemRegistry.json +1 -0
  404. package/out/Systems.sol/Systems.abi.json +1 -0
  405. package/out/Systems.sol/Systems.json +1 -0
  406. package/out/Tables.sol/Tables.abi.json +1 -0
  407. package/out/Tables.sol/Tables.json +1 -0
  408. package/out/Test.sol/Test.abi.json +520 -0
  409. package/out/Test.sol/Test.abi.json.d.ts +520 -0
  410. package/out/Test.sol/Test.json +1 -0
  411. package/out/TightCoder.sol/TightCoder.abi.json +1 -0
  412. package/out/TightCoder.sol/TightCoder.json +1 -0
  413. package/out/TotalSupply.sol/TotalSupply.abi.json +1 -0
  414. package/out/TotalSupply.sol/TotalSupply.json +1 -0
  415. package/out/UserDelegationControl.sol/UserDelegationControl.abi.json +1 -0
  416. package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -0
  417. package/out/Vm.sol/Vm.abi.json +3878 -0
  418. package/out/Vm.sol/Vm.abi.json.d.ts +3878 -0
  419. package/out/Vm.sol/Vm.json +1 -0
  420. package/out/Vm.sol/VmSafe.abi.json +2678 -0
  421. package/out/Vm.sol/VmSafe.abi.json.d.ts +2678 -0
  422. package/out/Vm.sol/VmSafe.json +1 -0
  423. package/out/WithStore.sol/WithStore.abi.json +339 -0
  424. package/out/WithStore.sol/WithStore.abi.json.d.ts +339 -0
  425. package/out/WithStore.sol/WithStore.json +1 -0
  426. package/out/WithWorld.sol/WithWorld.abi.json +370 -0
  427. package/out/WithWorld.sol/WithWorld.abi.json.d.ts +370 -0
  428. package/out/WithWorld.sol/WithWorld.json +1 -0
  429. package/out/World.sol/World.abi.json +1542 -0
  430. package/out/World.sol/World.abi.json.d.ts +1542 -0
  431. package/out/World.sol/World.json +1 -0
  432. package/out/WorldContext.sol/WorldContextConsumer.abi.json +60 -0
  433. package/out/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +60 -0
  434. package/out/WorldContext.sol/WorldContextConsumer.json +1 -0
  435. package/out/WorldContext.sol/WorldContextConsumerLib.abi.json +1 -0
  436. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -0
  437. package/out/WorldContext.sol/WorldContextProviderLib.abi.json +1 -0
  438. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -0
  439. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +691 -0
  440. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +691 -0
  441. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -0
  442. package/out/WorldResourceId.sol/WorldResourceIdInstance.abi.json +1 -0
  443. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -0
  444. package/out/WorldResourceId.sol/WorldResourceIdLib.abi.json +1 -0
  445. package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -0
  446. package/out/build-info/bc3a1525415111591c1321f8462fa438.json +1 -0
  447. package/out/console.sol/console.abi.json +1 -0
  448. package/out/console.sol/console.json +1 -0
  449. package/out/console2.sol/console2.abi.json +1 -0
  450. package/out/console2.sol/console2.json +1 -0
  451. package/out/constants.sol/LayoutOffsets.abi.json +1 -0
  452. package/out/constants.sol/LayoutOffsets.json +1 -0
  453. package/out/safeconsole.sol/safeconsole.abi.json +1 -0
  454. package/out/safeconsole.sol/safeconsole.json +1 -0
  455. package/out/src/IERC165.sol/IERC165.abi.json +21 -0
  456. package/out/src/IERC165.sol/IERC165.abi.json.d.ts +21 -0
  457. package/out/src/IERC165.sol/IERC165.json +1 -0
  458. package/out/tables/Balances.sol/Balances.abi.json +1 -0
  459. package/out/tables/Balances.sol/Balances.json +1 -0
  460. package/out/test.sol/DSTest.abi.json +296 -0
  461. package/out/test.sol/DSTest.abi.json.d.ts +296 -0
  462. package/out/test.sol/DSTest.json +1 -0
  463. package/package.json +67 -0
  464. package/src/Constants.sol +36 -0
  465. package/src/Context.sol +10 -0
  466. package/src/ERC20Burnable.sol +16 -0
  467. package/src/ERC20Module.sol +74 -0
  468. package/src/ERC20Pausable.sol +12 -0
  469. package/src/MUDERC20.sol +326 -0
  470. package/src/Ownable.sol +110 -0
  471. package/src/Pausable.sol +125 -0
  472. package/src/StoreConsumer.sol +24 -0
  473. package/src/WithStore.sol +22 -0
  474. package/src/WithWorld.sol +40 -0
  475. package/src/codegen/index.sol +12 -0
  476. package/src/codegen/tables/Allowances.sol +208 -0
  477. package/src/codegen/tables/Balances.sol +196 -0
  478. package/src/codegen/tables/ERC20Metadata.sol +604 -0
  479. package/src/codegen/tables/ERC20Registry.sol +199 -0
  480. package/src/codegen/tables/Owner.sol +184 -0
  481. package/src/codegen/tables/Paused.sol +196 -0
  482. package/src/codegen/tables/TotalSupply.sol +184 -0
  483. package/src/examples/ERC20WithInternalStore.sol +32 -0
  484. package/src/examples/ERC20WithWorld.sol +40 -0
  485. package/src/interfaces/IERC20.sol +67 -0
  486. package/src/interfaces/IERC20Errors.sol +49 -0
  487. package/src/interfaces/IERC20Events.sol +18 -0
  488. package/src/interfaces/IERC20Metadata.sol +26 -0
@@ -0,0 +1 @@
1
+ {"abi":[{"type":"function","name":"registerStoreHook","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"hookAddress","type":"address","internalType":"contract IStoreHook"},{"name":"enabledHooksBitmap","type":"uint8","internalType":"uint8"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"registerTable","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"},{"name":"keySchema","type":"bytes32","internalType":"Schema"},{"name":"valueSchema","type":"bytes32","internalType":"Schema"},{"name":"keyNames","type":"string[]","internalType":"string[]"},{"name":"fieldNames","type":"string[]","internalType":"string[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"unregisterStoreHook","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"hookAddress","type":"address","internalType":"contract IStoreHook"}],"outputs":[],"stateMutability":"nonpayable"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"registerStoreHook(bytes32,address,uint8)":"530f4b60","registerTable(bytes32,bytes32,bytes32,bytes32,string[],string[])":"0ba51f49","unregisterStoreHook(bytes32,address)":"05609129"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"contract IStoreHook\",\"name\":\"hookAddress\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"enabledHooksBitmap\",\"type\":\"uint8\"}],\"name\":\"registerStoreHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"},{\"internalType\":\"Schema\",\"name\":\"keySchema\",\"type\":\"bytes32\"},{\"internalType\":\"Schema\",\"name\":\"valueSchema\",\"type\":\"bytes32\"},{\"internalType\":\"string[]\",\"name\":\"keyNames\",\"type\":\"string[]\"},{\"internalType\":\"string[]\",\"name\":\"fieldNames\",\"type\":\"string[]\"}],\"name\":\"registerTable\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"contract IStoreHook\",\"name\":\"hookAddress\",\"type\":\"address\"}],\"name\":\"unregisterStoreHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"details\":\"This interface includes methods for managing table field layouts, metadata, and hooks, which are usually called once in the setup phase of an application, making them less performance critical than the methods.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"IStoreRegistration\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/store/src/IStoreRegistration.sol\":\"IStoreRegistration\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol\":{\"keccak256\":\"0x650927696f7518fa216f2d6001835e9fdb419518034c781e86d2a2d33f4ecd2a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72e91ac32ed00d36bd22fefeaf4ce1e9420143ddab7080eeb720c668a117bf44\",\"dweb:/ipfs/QmdVqn18WZvx5p84MDJPsB5tfVoXDR86wzm4sLx6WrGYYL\"]},\"node_modules/@latticexyz/store/src/EncodedLengths.sol\":{\"keccak256\":\"0xebc0a6efd611e02b15c05a382382b597fe059eba7f2a9e90da81eeb2f7666774\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://00b2cac12599935e25ea0697e99fc9e6d5af6c1c982761996c16707d9cd6ca09\",\"dweb:/ipfs/QmXccFminkrFtDpNfx6X1pHvW7Tn1nA5XcGu9T17pJyZyK\"]},\"node_modules/@latticexyz/store/src/FieldLayout.sol\":{\"keccak256\":\"0x15f698b7eabc062a00ff7a2e02db0ace2dd51f8bd2bc51a45dc0afa88f2ee658\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f774202c98ad394b3b62be93292512c633dec63bc931c190ed984656c2d54ec7\",\"dweb:/ipfs/Qmd2D9mvP8S88ad2Q8WU54saNVr3Pwc5stPqEKHwcpo8AT\"]},\"node_modules/@latticexyz/store/src/IERC165.sol\":{\"keccak256\":\"0x0efbf9afc716c585621482221f75e5bd60bcf0e813c9f7800d7c0309dcc3c927\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31b6aeb5446a0a0d5bd71be15a68c5bde94b08c961369203b83c8abe36f401d2\",\"dweb:/ipfs/QmXhComne4es9ZMKaGNqHCdJZrFoFssxMYgLaqvCXPL1Mg\"]},\"node_modules/@latticexyz/store/src/IEncodedLengthsErrors.sol\":{\"keccak256\":\"0x06bb49164f44acc8d51df7b75ecf2f7aeb9281f7a3b357cae7d8d58bd1700dfa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://719027f4cc60fea30ce01cd4f672462f41fac750ae802e91a1a6d37c929e11ba\",\"dweb:/ipfs/QmWi5DM2jT5V5SGP1afRmFyRgFvuZiGDX2PWHwP19HssF1\"]},\"node_modules/@latticexyz/store/src/IFieldLayoutErrors.sol\":{\"keccak256\":\"0xaef70c46e412bded1024ac82c957cea81c1d1ab11878a95635531e2ac9673a53\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cda2c7dc02ee8f0163b1c8d0f3e1e05d48b2a009e5c7365d2418f17bc3455817\",\"dweb:/ipfs/QmXHDZuCPTxjHaeiEaJhA81koX2NJ3Gj1zt5WVWaz77FL8\"]},\"node_modules/@latticexyz/store/src/ISchemaErrors.sol\":{\"keccak256\":\"0x0ac3de36c9d0058a17fcd7f1a905132215fd16ea3ed3b5109de1de04ddd7c441\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f83fa2546009cfd16b3b3969dcec1d67c9d818d910177b885ba263b6a948c65d\",\"dweb:/ipfs/QmehywHdvFYBL9BTtoPsVVwJXsEA4Xjk8aPWoHw1R45KeY\"]},\"node_modules/@latticexyz/store/src/IStoreHook.sol\":{\"keccak256\":\"0x6574a30a2bbd8a0de21b2504c55effb8802fdeff62296af82a9380bd753adcc4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85a859c533f51b584a9a2e8a64d61b6cf6f69bfcff1b926ad787518b1cae9562\",\"dweb:/ipfs/QmVyjmyJ69ZeqaXHg91JtGLVahRfZ7KtWaessLWZ6rYk9p\"]},\"node_modules/@latticexyz/store/src/IStoreRegistration.sol\":{\"keccak256\":\"0x9e91a73f93cc9ebc00c265c83177f6a3f8a156749a9261202e2845e12aeaa96b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a39280d87d22dd0a959d8f55925cb092dba1fee2f11d3dd8e3ffabed45a9ab6a\",\"dweb:/ipfs/QmRMBFLJtT2KN43Xz9P3vUNWxXrP8rLTNBFw2P6Z7EGeaS\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x842b07f2ff9df2e1ecf9bf424b0e5a77e1471c983d674cf86b76c365178d6cc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f4c2df8853b020aef1bb8615ac69d5512a9b5385b82c88e03b27dc521c9d007b\",\"dweb:/ipfs/QmWEDiJn69DvHsdrikrMWY8DERWPSeWwVYgPcunfq3yiT7\"]},\"node_modules/@latticexyz/store/src/Schema.sol\":{\"keccak256\":\"0x0d2a08030d21292ecbcc850d9111f3817d03f17cd5e02186894848a9152d79d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3f30024c1613fb587aaba4c1dcb8e4e46ed765a2cebd5b63fbebd327d1bf13d3\",\"dweb:/ipfs/QmZzqSnPMYKDYwbFNvUFrvuazMUyQHzQ59w3A9x6juHAm7\"]},\"node_modules/@latticexyz/store/src/constants.sol\":{\"keccak256\":\"0x67e0d59237bd37424827ecde1ecdbe71f65376af517b0623cd8f8d5451bca7a6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://09c5ec7fe73e06140957d44a3d9938587711c783ccbf08ff017638c9279a3168\",\"dweb:/ipfs/QmfS9ZRqHXmBJ1h5B4x4gbU6d18DtMgKZSkxhQgNVRxueu\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"contract IStoreHook","name":"hookAddress","type":"address"},{"internalType":"uint8","name":"enabledHooksBitmap","type":"uint8"}],"stateMutability":"nonpayable","type":"function","name":"registerStoreHook"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"},{"internalType":"Schema","name":"keySchema","type":"bytes32"},{"internalType":"Schema","name":"valueSchema","type":"bytes32"},{"internalType":"string[]","name":"keyNames","type":"string[]"},{"internalType":"string[]","name":"fieldNames","type":"string[]"}],"stateMutability":"nonpayable","type":"function","name":"registerTable"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"contract IStoreHook","name":"hookAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"unregisterStoreHook"}],"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/store/src/IStoreRegistration.sol":"IStoreRegistration"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol":{"keccak256":"0x650927696f7518fa216f2d6001835e9fdb419518034c781e86d2a2d33f4ecd2a","urls":["bzz-raw://72e91ac32ed00d36bd22fefeaf4ce1e9420143ddab7080eeb720c668a117bf44","dweb:/ipfs/QmdVqn18WZvx5p84MDJPsB5tfVoXDR86wzm4sLx6WrGYYL"],"license":"MIT"},"node_modules/@latticexyz/store/src/EncodedLengths.sol":{"keccak256":"0xebc0a6efd611e02b15c05a382382b597fe059eba7f2a9e90da81eeb2f7666774","urls":["bzz-raw://00b2cac12599935e25ea0697e99fc9e6d5af6c1c982761996c16707d9cd6ca09","dweb:/ipfs/QmXccFminkrFtDpNfx6X1pHvW7Tn1nA5XcGu9T17pJyZyK"],"license":"MIT"},"node_modules/@latticexyz/store/src/FieldLayout.sol":{"keccak256":"0x15f698b7eabc062a00ff7a2e02db0ace2dd51f8bd2bc51a45dc0afa88f2ee658","urls":["bzz-raw://f774202c98ad394b3b62be93292512c633dec63bc931c190ed984656c2d54ec7","dweb:/ipfs/Qmd2D9mvP8S88ad2Q8WU54saNVr3Pwc5stPqEKHwcpo8AT"],"license":"MIT"},"node_modules/@latticexyz/store/src/IERC165.sol":{"keccak256":"0x0efbf9afc716c585621482221f75e5bd60bcf0e813c9f7800d7c0309dcc3c927","urls":["bzz-raw://31b6aeb5446a0a0d5bd71be15a68c5bde94b08c961369203b83c8abe36f401d2","dweb:/ipfs/QmXhComne4es9ZMKaGNqHCdJZrFoFssxMYgLaqvCXPL1Mg"],"license":"MIT"},"node_modules/@latticexyz/store/src/IEncodedLengthsErrors.sol":{"keccak256":"0x06bb49164f44acc8d51df7b75ecf2f7aeb9281f7a3b357cae7d8d58bd1700dfa","urls":["bzz-raw://719027f4cc60fea30ce01cd4f672462f41fac750ae802e91a1a6d37c929e11ba","dweb:/ipfs/QmWi5DM2jT5V5SGP1afRmFyRgFvuZiGDX2PWHwP19HssF1"],"license":"MIT"},"node_modules/@latticexyz/store/src/IFieldLayoutErrors.sol":{"keccak256":"0xaef70c46e412bded1024ac82c957cea81c1d1ab11878a95635531e2ac9673a53","urls":["bzz-raw://cda2c7dc02ee8f0163b1c8d0f3e1e05d48b2a009e5c7365d2418f17bc3455817","dweb:/ipfs/QmXHDZuCPTxjHaeiEaJhA81koX2NJ3Gj1zt5WVWaz77FL8"],"license":"MIT"},"node_modules/@latticexyz/store/src/ISchemaErrors.sol":{"keccak256":"0x0ac3de36c9d0058a17fcd7f1a905132215fd16ea3ed3b5109de1de04ddd7c441","urls":["bzz-raw://f83fa2546009cfd16b3b3969dcec1d67c9d818d910177b885ba263b6a948c65d","dweb:/ipfs/QmehywHdvFYBL9BTtoPsVVwJXsEA4Xjk8aPWoHw1R45KeY"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreHook.sol":{"keccak256":"0x6574a30a2bbd8a0de21b2504c55effb8802fdeff62296af82a9380bd753adcc4","urls":["bzz-raw://85a859c533f51b584a9a2e8a64d61b6cf6f69bfcff1b926ad787518b1cae9562","dweb:/ipfs/QmVyjmyJ69ZeqaXHg91JtGLVahRfZ7KtWaessLWZ6rYk9p"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreRegistration.sol":{"keccak256":"0x9e91a73f93cc9ebc00c265c83177f6a3f8a156749a9261202e2845e12aeaa96b","urls":["bzz-raw://a39280d87d22dd0a959d8f55925cb092dba1fee2f11d3dd8e3ffabed45a9ab6a","dweb:/ipfs/QmRMBFLJtT2KN43Xz9P3vUNWxXrP8rLTNBFw2P6Z7EGeaS"],"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/Schema.sol":{"keccak256":"0x0d2a08030d21292ecbcc850d9111f3817d03f17cd5e02186894848a9152d79d7","urls":["bzz-raw://3f30024c1613fb587aaba4c1dcb8e4e46ed765a2cebd5b63fbebd327d1bf13d3","dweb:/ipfs/QmZzqSnPMYKDYwbFNvUFrvuazMUyQHzQ59w3A9x6juHAm7"],"license":"MIT"},"node_modules/@latticexyz/store/src/constants.sol":{"keccak256":"0x67e0d59237bd37424827ecde1ecdbe71f65376af517b0623cd8f8d5451bca7a6","urls":["bzz-raw://09c5ec7fe73e06140957d44a3d9938587711c783ccbf08ff017638c9279a3168","dweb:/ipfs/QmfS9ZRqHXmBJ1h5B4x4gbU6d18DtMgKZSkxhQgNVRxueu"],"license":"MIT"}},"version":1},"id":17}
@@ -0,0 +1,446 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "deleteRecord",
5
+ "inputs": [
6
+ {
7
+ "name": "tableId",
8
+ "type": "bytes32",
9
+ "internalType": "ResourceId"
10
+ },
11
+ {
12
+ "name": "keyTuple",
13
+ "type": "bytes32[]",
14
+ "internalType": "bytes32[]"
15
+ }
16
+ ],
17
+ "outputs": [],
18
+ "stateMutability": "nonpayable"
19
+ },
20
+ {
21
+ "type": "function",
22
+ "name": "popFromDynamicField",
23
+ "inputs": [
24
+ {
25
+ "name": "tableId",
26
+ "type": "bytes32",
27
+ "internalType": "ResourceId"
28
+ },
29
+ {
30
+ "name": "keyTuple",
31
+ "type": "bytes32[]",
32
+ "internalType": "bytes32[]"
33
+ },
34
+ {
35
+ "name": "dynamicFieldIndex",
36
+ "type": "uint8",
37
+ "internalType": "uint8"
38
+ },
39
+ {
40
+ "name": "byteLengthToPop",
41
+ "type": "uint256",
42
+ "internalType": "uint256"
43
+ }
44
+ ],
45
+ "outputs": [],
46
+ "stateMutability": "nonpayable"
47
+ },
48
+ {
49
+ "type": "function",
50
+ "name": "pushToDynamicField",
51
+ "inputs": [
52
+ {
53
+ "name": "tableId",
54
+ "type": "bytes32",
55
+ "internalType": "ResourceId"
56
+ },
57
+ {
58
+ "name": "keyTuple",
59
+ "type": "bytes32[]",
60
+ "internalType": "bytes32[]"
61
+ },
62
+ {
63
+ "name": "dynamicFieldIndex",
64
+ "type": "uint8",
65
+ "internalType": "uint8"
66
+ },
67
+ {
68
+ "name": "dataToPush",
69
+ "type": "bytes",
70
+ "internalType": "bytes"
71
+ }
72
+ ],
73
+ "outputs": [],
74
+ "stateMutability": "nonpayable"
75
+ },
76
+ {
77
+ "type": "function",
78
+ "name": "setDynamicField",
79
+ "inputs": [
80
+ {
81
+ "name": "tableId",
82
+ "type": "bytes32",
83
+ "internalType": "ResourceId"
84
+ },
85
+ {
86
+ "name": "keyTuple",
87
+ "type": "bytes32[]",
88
+ "internalType": "bytes32[]"
89
+ },
90
+ {
91
+ "name": "dynamicFieldIndex",
92
+ "type": "uint8",
93
+ "internalType": "uint8"
94
+ },
95
+ {
96
+ "name": "data",
97
+ "type": "bytes",
98
+ "internalType": "bytes"
99
+ }
100
+ ],
101
+ "outputs": [],
102
+ "stateMutability": "nonpayable"
103
+ },
104
+ {
105
+ "type": "function",
106
+ "name": "setField",
107
+ "inputs": [
108
+ {
109
+ "name": "tableId",
110
+ "type": "bytes32",
111
+ "internalType": "ResourceId"
112
+ },
113
+ {
114
+ "name": "keyTuple",
115
+ "type": "bytes32[]",
116
+ "internalType": "bytes32[]"
117
+ },
118
+ {
119
+ "name": "fieldIndex",
120
+ "type": "uint8",
121
+ "internalType": "uint8"
122
+ },
123
+ {
124
+ "name": "data",
125
+ "type": "bytes",
126
+ "internalType": "bytes"
127
+ }
128
+ ],
129
+ "outputs": [],
130
+ "stateMutability": "nonpayable"
131
+ },
132
+ {
133
+ "type": "function",
134
+ "name": "setField",
135
+ "inputs": [
136
+ {
137
+ "name": "tableId",
138
+ "type": "bytes32",
139
+ "internalType": "ResourceId"
140
+ },
141
+ {
142
+ "name": "keyTuple",
143
+ "type": "bytes32[]",
144
+ "internalType": "bytes32[]"
145
+ },
146
+ {
147
+ "name": "fieldIndex",
148
+ "type": "uint8",
149
+ "internalType": "uint8"
150
+ },
151
+ {
152
+ "name": "data",
153
+ "type": "bytes",
154
+ "internalType": "bytes"
155
+ },
156
+ {
157
+ "name": "fieldLayout",
158
+ "type": "bytes32",
159
+ "internalType": "FieldLayout"
160
+ }
161
+ ],
162
+ "outputs": [],
163
+ "stateMutability": "nonpayable"
164
+ },
165
+ {
166
+ "type": "function",
167
+ "name": "setRecord",
168
+ "inputs": [
169
+ {
170
+ "name": "tableId",
171
+ "type": "bytes32",
172
+ "internalType": "ResourceId"
173
+ },
174
+ {
175
+ "name": "keyTuple",
176
+ "type": "bytes32[]",
177
+ "internalType": "bytes32[]"
178
+ },
179
+ {
180
+ "name": "staticData",
181
+ "type": "bytes",
182
+ "internalType": "bytes"
183
+ },
184
+ {
185
+ "name": "encodedLengths",
186
+ "type": "bytes32",
187
+ "internalType": "EncodedLengths"
188
+ },
189
+ {
190
+ "name": "dynamicData",
191
+ "type": "bytes",
192
+ "internalType": "bytes"
193
+ }
194
+ ],
195
+ "outputs": [],
196
+ "stateMutability": "nonpayable"
197
+ },
198
+ {
199
+ "type": "function",
200
+ "name": "setStaticField",
201
+ "inputs": [
202
+ {
203
+ "name": "tableId",
204
+ "type": "bytes32",
205
+ "internalType": "ResourceId"
206
+ },
207
+ {
208
+ "name": "keyTuple",
209
+ "type": "bytes32[]",
210
+ "internalType": "bytes32[]"
211
+ },
212
+ {
213
+ "name": "fieldIndex",
214
+ "type": "uint8",
215
+ "internalType": "uint8"
216
+ },
217
+ {
218
+ "name": "data",
219
+ "type": "bytes",
220
+ "internalType": "bytes"
221
+ },
222
+ {
223
+ "name": "fieldLayout",
224
+ "type": "bytes32",
225
+ "internalType": "FieldLayout"
226
+ }
227
+ ],
228
+ "outputs": [],
229
+ "stateMutability": "nonpayable"
230
+ },
231
+ {
232
+ "type": "function",
233
+ "name": "spliceDynamicData",
234
+ "inputs": [
235
+ {
236
+ "name": "tableId",
237
+ "type": "bytes32",
238
+ "internalType": "ResourceId"
239
+ },
240
+ {
241
+ "name": "keyTuple",
242
+ "type": "bytes32[]",
243
+ "internalType": "bytes32[]"
244
+ },
245
+ {
246
+ "name": "dynamicFieldIndex",
247
+ "type": "uint8",
248
+ "internalType": "uint8"
249
+ },
250
+ {
251
+ "name": "startWithinField",
252
+ "type": "uint40",
253
+ "internalType": "uint40"
254
+ },
255
+ {
256
+ "name": "deleteCount",
257
+ "type": "uint40",
258
+ "internalType": "uint40"
259
+ },
260
+ {
261
+ "name": "data",
262
+ "type": "bytes",
263
+ "internalType": "bytes"
264
+ }
265
+ ],
266
+ "outputs": [],
267
+ "stateMutability": "nonpayable"
268
+ },
269
+ {
270
+ "type": "function",
271
+ "name": "spliceStaticData",
272
+ "inputs": [
273
+ {
274
+ "name": "tableId",
275
+ "type": "bytes32",
276
+ "internalType": "ResourceId"
277
+ },
278
+ {
279
+ "name": "keyTuple",
280
+ "type": "bytes32[]",
281
+ "internalType": "bytes32[]"
282
+ },
283
+ {
284
+ "name": "start",
285
+ "type": "uint48",
286
+ "internalType": "uint48"
287
+ },
288
+ {
289
+ "name": "data",
290
+ "type": "bytes",
291
+ "internalType": "bytes"
292
+ }
293
+ ],
294
+ "outputs": [],
295
+ "stateMutability": "nonpayable"
296
+ },
297
+ {
298
+ "type": "event",
299
+ "name": "HelloStore",
300
+ "inputs": [
301
+ {
302
+ "name": "storeVersion",
303
+ "type": "bytes32",
304
+ "indexed": true,
305
+ "internalType": "bytes32"
306
+ }
307
+ ],
308
+ "anonymous": false
309
+ },
310
+ {
311
+ "type": "event",
312
+ "name": "Store_DeleteRecord",
313
+ "inputs": [
314
+ {
315
+ "name": "tableId",
316
+ "type": "bytes32",
317
+ "indexed": true,
318
+ "internalType": "ResourceId"
319
+ },
320
+ {
321
+ "name": "keyTuple",
322
+ "type": "bytes32[]",
323
+ "indexed": false,
324
+ "internalType": "bytes32[]"
325
+ }
326
+ ],
327
+ "anonymous": false
328
+ },
329
+ {
330
+ "type": "event",
331
+ "name": "Store_SetRecord",
332
+ "inputs": [
333
+ {
334
+ "name": "tableId",
335
+ "type": "bytes32",
336
+ "indexed": true,
337
+ "internalType": "ResourceId"
338
+ },
339
+ {
340
+ "name": "keyTuple",
341
+ "type": "bytes32[]",
342
+ "indexed": false,
343
+ "internalType": "bytes32[]"
344
+ },
345
+ {
346
+ "name": "staticData",
347
+ "type": "bytes",
348
+ "indexed": false,
349
+ "internalType": "bytes"
350
+ },
351
+ {
352
+ "name": "encodedLengths",
353
+ "type": "bytes32",
354
+ "indexed": false,
355
+ "internalType": "EncodedLengths"
356
+ },
357
+ {
358
+ "name": "dynamicData",
359
+ "type": "bytes",
360
+ "indexed": false,
361
+ "internalType": "bytes"
362
+ }
363
+ ],
364
+ "anonymous": false
365
+ },
366
+ {
367
+ "type": "event",
368
+ "name": "Store_SpliceDynamicData",
369
+ "inputs": [
370
+ {
371
+ "name": "tableId",
372
+ "type": "bytes32",
373
+ "indexed": true,
374
+ "internalType": "ResourceId"
375
+ },
376
+ {
377
+ "name": "keyTuple",
378
+ "type": "bytes32[]",
379
+ "indexed": false,
380
+ "internalType": "bytes32[]"
381
+ },
382
+ {
383
+ "name": "dynamicFieldIndex",
384
+ "type": "uint8",
385
+ "indexed": false,
386
+ "internalType": "uint8"
387
+ },
388
+ {
389
+ "name": "start",
390
+ "type": "uint48",
391
+ "indexed": false,
392
+ "internalType": "uint48"
393
+ },
394
+ {
395
+ "name": "deleteCount",
396
+ "type": "uint40",
397
+ "indexed": false,
398
+ "internalType": "uint40"
399
+ },
400
+ {
401
+ "name": "encodedLengths",
402
+ "type": "bytes32",
403
+ "indexed": false,
404
+ "internalType": "EncodedLengths"
405
+ },
406
+ {
407
+ "name": "data",
408
+ "type": "bytes",
409
+ "indexed": false,
410
+ "internalType": "bytes"
411
+ }
412
+ ],
413
+ "anonymous": false
414
+ },
415
+ {
416
+ "type": "event",
417
+ "name": "Store_SpliceStaticData",
418
+ "inputs": [
419
+ {
420
+ "name": "tableId",
421
+ "type": "bytes32",
422
+ "indexed": true,
423
+ "internalType": "ResourceId"
424
+ },
425
+ {
426
+ "name": "keyTuple",
427
+ "type": "bytes32[]",
428
+ "indexed": false,
429
+ "internalType": "bytes32[]"
430
+ },
431
+ {
432
+ "name": "start",
433
+ "type": "uint48",
434
+ "indexed": false,
435
+ "internalType": "uint48"
436
+ },
437
+ {
438
+ "name": "data",
439
+ "type": "bytes",
440
+ "indexed": false,
441
+ "internalType": "bytes"
442
+ }
443
+ ],
444
+ "anonymous": false
445
+ }
446
+ ]