@latticexyz/world-consumer 2.2.20-b774ab28b3de6cefcbfce5e1bb6fcb68b9374abf

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 (332) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +8 -0
  3. package/out/AccessControl.sol/AccessControl.abi.json +1 -0
  4. package/out/AccessControl.sol/AccessControl.json +1 -0
  5. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json +256 -0
  6. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts +258 -0
  7. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -0
  8. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json +361 -0
  9. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts +363 -0
  10. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -0
  11. package/out/Balances.sol/Balances.abi.json +1 -0
  12. package/out/Balances.sol/Balances.json +1 -0
  13. package/out/Base.sol/CommonBase.abi.json +1 -0
  14. package/out/Base.sol/CommonBase.json +1 -0
  15. package/out/Base.sol/ScriptBase.abi.json +1 -0
  16. package/out/Base.sol/ScriptBase.json +1 -0
  17. package/out/Base.sol/TestBase.abi.json +1 -0
  18. package/out/Base.sol/TestBase.json +1 -0
  19. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json +132 -0
  20. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json.d.ts +134 -0
  21. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -0
  22. package/out/Bytes.sol/Bytes.abi.json +1 -0
  23. package/out/Bytes.sol/Bytes.json +1 -0
  24. package/out/DecodeSlice.sol/DecodeSlice.abi.json +1 -0
  25. package/out/DecodeSlice.sol/DecodeSlice.json +1 -0
  26. package/out/Delegation.sol/Delegation.abi.json +1 -0
  27. package/out/Delegation.sol/Delegation.json +1 -0
  28. package/out/ERC165Checker.sol/ERC165Checker.abi.json +1 -0
  29. package/out/ERC165Checker.sol/ERC165Checker.json +1 -0
  30. package/out/EncodeArray.sol/EncodeArray.abi.json +1 -0
  31. package/out/EncodeArray.sol/EncodeArray.json +1 -0
  32. package/out/EncodedLengths.sol/EncodedLengthsInstance.abi.json +1 -0
  33. package/out/EncodedLengths.sol/EncodedLengthsInstance.json +1 -0
  34. package/out/EncodedLengths.sol/EncodedLengthsLib.abi.json +1 -0
  35. package/out/EncodedLengths.sol/EncodedLengthsLib.json +1 -0
  36. package/out/FieldLayout.sol/FieldLayoutInstance.abi.json +1 -0
  37. package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -0
  38. package/out/FieldLayout.sol/FieldLayoutLib.abi.json +1 -0
  39. package/out/FieldLayout.sol/FieldLayoutLib.json +1 -0
  40. package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
  41. package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -0
  42. package/out/FunctionSignatures.sol/FunctionSignatures.abi.json +1 -0
  43. package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -0
  44. package/out/GasReporter.sol/GasReporter.abi.json +570 -0
  45. package/out/GasReporter.sol/GasReporter.abi.json.d.ts +572 -0
  46. package/out/GasReporter.sol/GasReporter.json +1 -0
  47. package/out/Hook.sol/HookInstance.abi.json +1 -0
  48. package/out/Hook.sol/HookInstance.json +1 -0
  49. package/out/Hook.sol/HookLib.abi.json +1 -0
  50. package/out/Hook.sol/HookLib.json +1 -0
  51. package/out/Hooks.sol/Hooks.abi.json +1 -0
  52. package/out/Hooks.sol/Hooks.json +1 -0
  53. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json +69 -0
  54. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json.d.ts +71 -0
  55. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -0
  56. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json +48 -0
  57. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json.d.ts +50 -0
  58. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -0
  59. package/out/IBaseWorld.sol/IBaseWorld.abi.json +2008 -0
  60. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +2010 -0
  61. package/out/IBaseWorld.sol/IBaseWorld.json +1 -0
  62. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  63. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +71 -0
  64. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -0
  65. package/out/IDelegationControl.sol/IDelegationControl.abi.json +89 -0
  66. package/out/IDelegationControl.sol/IDelegationControl.abi.json.d.ts +91 -0
  67. package/out/IDelegationControl.sol/IDelegationControl.json +1 -0
  68. package/out/IERC165.sol/IERC165.abi.json +21 -0
  69. package/out/IERC165.sol/IERC165.abi.json.d.ts +23 -0
  70. package/out/IERC165.sol/IERC165.json +1 -0
  71. package/out/IERC20.sol/IERC20.abi.json +224 -0
  72. package/out/IERC20.sol/IERC20.abi.json.d.ts +226 -0
  73. package/out/IERC20.sol/IERC20.json +1 -0
  74. package/out/IERC721.sol/IERC721.abi.json +287 -0
  75. package/out/IERC721.sol/IERC721.abi.json.d.ts +289 -0
  76. package/out/IERC721.sol/IERC721.json +1 -0
  77. package/out/IERC721.sol/IERC721Enumerable.abi.json +343 -0
  78. package/out/IERC721.sol/IERC721Enumerable.abi.json.d.ts +345 -0
  79. package/out/IERC721.sol/IERC721Enumerable.json +1 -0
  80. package/out/IERC721.sol/IERC721Metadata.abi.json +332 -0
  81. package/out/IERC721.sol/IERC721Metadata.abi.json.d.ts +334 -0
  82. package/out/IERC721.sol/IERC721Metadata.json +1 -0
  83. package/out/IERC721.sol/IERC721TokenReceiver.abi.json +36 -0
  84. package/out/IERC721.sol/IERC721TokenReceiver.abi.json.d.ts +38 -0
  85. package/out/IERC721.sol/IERC721TokenReceiver.json +1 -0
  86. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json +13 -0
  87. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json.d.ts +15 -0
  88. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.json +1 -0
  89. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json +88 -0
  90. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json.d.ts +90 -0
  91. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.json +1 -0
  92. package/out/IModule.sol/IModule.abi.json +73 -0
  93. package/out/IModule.sol/IModule.abi.json.d.ts +75 -0
  94. package/out/IModule.sol/IModule.json +1 -0
  95. package/out/IModuleErrors.sol/IModuleErrors.abi.json +28 -0
  96. package/out/IModuleErrors.sol/IModuleErrors.abi.json.d.ts +30 -0
  97. package/out/IModuleErrors.sol/IModuleErrors.json +1 -0
  98. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json +20 -0
  99. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json.d.ts +22 -0
  100. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -0
  101. package/out/IMulticall3.sol/IMulticall3.abi.json +440 -0
  102. package/out/IMulticall3.sol/IMulticall3.abi.json.d.ts +442 -0
  103. package/out/IMulticall3.sol/IMulticall3.json +1 -0
  104. package/out/IRegistrationSystem.sol/IRegistrationSystem.abi.json +1 -0
  105. package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -0
  106. package/out/ISchemaErrors.sol/ISchemaErrors.abi.json +18 -0
  107. package/out/ISchemaErrors.sol/ISchemaErrors.abi.json.d.ts +20 -0
  108. package/out/ISchemaErrors.sol/ISchemaErrors.json +1 -0
  109. package/out/ISliceErrors.sol/ISliceErrors.abi.json +23 -0
  110. package/out/ISliceErrors.sol/ISliceErrors.abi.json.d.ts +25 -0
  111. package/out/ISliceErrors.sol/ISliceErrors.json +1 -0
  112. package/out/IStore.sol/IStore.abi.json +1261 -0
  113. package/out/IStore.sol/IStore.abi.json.d.ts +1263 -0
  114. package/out/IStore.sol/IStore.json +1 -0
  115. package/out/IStoreErrors.sol/IStoreErrors.abi.json +204 -0
  116. package/out/IStoreErrors.sol/IStoreErrors.abi.json.d.ts +206 -0
  117. package/out/IStoreErrors.sol/IStoreErrors.json +1 -0
  118. package/out/IStoreEvents.sol/IStoreEvents.abi.json +151 -0
  119. package/out/IStoreEvents.sol/IStoreEvents.abi.json.d.ts +153 -0
  120. package/out/IStoreEvents.sol/IStoreEvents.json +1 -0
  121. package/out/IStoreHook.sol/IStoreHook.abi.json +290 -0
  122. package/out/IStoreHook.sol/IStoreHook.abi.json.d.ts +292 -0
  123. package/out/IStoreHook.sol/IStoreHook.json +1 -0
  124. package/out/IStoreKernel.sol/IStoreKernel.abi.json +1182 -0
  125. package/out/IStoreKernel.sol/IStoreKernel.abi.json.d.ts +1184 -0
  126. package/out/IStoreKernel.sol/IStoreKernel.json +1 -0
  127. package/out/IStoreRead.sol/IStoreRead.abi.json +389 -0
  128. package/out/IStoreRead.sol/IStoreRead.abi.json.d.ts +391 -0
  129. package/out/IStoreRead.sol/IStoreRead.json +1 -0
  130. package/out/IStoreRegistration.sol/IStoreRegistration.abi.json +81 -0
  131. package/out/IStoreRegistration.sol/IStoreRegistration.abi.json.d.ts +83 -0
  132. package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -0
  133. package/out/IStoreWrite.sol/IStoreWrite.abi.json +446 -0
  134. package/out/IStoreWrite.sol/IStoreWrite.abi.json.d.ts +448 -0
  135. package/out/IStoreWrite.sol/IStoreWrite.json +1 -0
  136. package/out/ISystemHook.sol/ISystemHook.abi.json +67 -0
  137. package/out/ISystemHook.sol/ISystemHook.abi.json.d.ts +69 -0
  138. package/out/ISystemHook.sol/ISystemHook.json +1 -0
  139. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json +60 -0
  140. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json.d.ts +62 -0
  141. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -0
  142. package/out/IWorldErrors.sol/IWorldErrors.abi.json +200 -0
  143. package/out/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +202 -0
  144. package/out/IWorldErrors.sol/IWorldErrors.json +1 -0
  145. package/out/IWorldEvents.sol/IWorldEvents.abi.json +15 -0
  146. package/out/IWorldEvents.sol/IWorldEvents.abi.json.d.ts +17 -0
  147. package/out/IWorldEvents.sol/IWorldEvents.json +1 -0
  148. package/out/IWorldKernel.sol/IWorldCall.abi.json +55 -0
  149. package/out/IWorldKernel.sol/IWorldCall.abi.json.d.ts +57 -0
  150. package/out/IWorldKernel.sol/IWorldCall.json +1 -0
  151. package/out/IWorldKernel.sol/IWorldKernel.abi.json +349 -0
  152. package/out/IWorldKernel.sol/IWorldKernel.abi.json.d.ts +351 -0
  153. package/out/IWorldKernel.sol/IWorldKernel.json +1 -0
  154. package/out/IWorldKernel.sol/IWorldModuleInstallation.abi.json +20 -0
  155. package/out/IWorldKernel.sol/IWorldModuleInstallation.abi.json.d.ts +22 -0
  156. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -0
  157. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json +204 -0
  158. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json.d.ts +206 -0
  159. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -0
  160. package/out/InitModule.sol/InitModule.abi.json +462 -0
  161. package/out/InitModule.sol/InitModule.abi.json.d.ts +464 -0
  162. package/out/InitModule.sol/InitModule.json +1 -0
  163. package/out/InitModuleAddress.sol/InitModuleAddress.abi.json +1 -0
  164. package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -0
  165. package/out/InstalledModules.sol/InstalledModules.abi.json +1 -0
  166. package/out/InstalledModules.sol/InstalledModules.json +1 -0
  167. package/out/LimitedCallContext.sol/LimitedCallContext.abi.json +7 -0
  168. package/out/LimitedCallContext.sol/LimitedCallContext.abi.json.d.ts +9 -0
  169. package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -0
  170. package/out/Memory.sol/Memory.abi.json +1 -0
  171. package/out/Memory.sol/Memory.json +1 -0
  172. package/out/MockERC20.sol/MockERC20.abi.json +322 -0
  173. package/out/MockERC20.sol/MockERC20.abi.json.d.ts +324 -0
  174. package/out/MockERC20.sol/MockERC20.json +1 -0
  175. package/out/MockERC721.sol/MockERC721.abi.json +350 -0
  176. package/out/MockERC721.sol/MockERC721.abi.json.d.ts +352 -0
  177. package/out/MockERC721.sol/MockERC721.json +1 -0
  178. package/out/Module.sol/Module.abi.json +112 -0
  179. package/out/Module.sol/Module.abi.json.d.ts +114 -0
  180. package/out/Module.sol/Module.json +1 -0
  181. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +151 -0
  182. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +153 -0
  183. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -0
  184. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.abi.json +1 -0
  185. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -0
  186. package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
  187. package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -0
  188. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json +1018 -0
  189. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json.d.ts +1020 -0
  190. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -0
  191. package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
  192. package/out/ResourceAccess.sol/ResourceAccess.json +1 -0
  193. package/out/ResourceId.sol/ResourceIdInstance.abi.json +1 -0
  194. package/out/ResourceId.sol/ResourceIdInstance.json +1 -0
  195. package/out/ResourceId.sol/ResourceIdLib.abi.json +1 -0
  196. package/out/ResourceId.sol/ResourceIdLib.json +1 -0
  197. package/out/ResourceIds.sol/ResourceIds.abi.json +1 -0
  198. package/out/ResourceIds.sol/ResourceIds.json +1 -0
  199. package/out/Schema.sol/SchemaInstance.abi.json +1 -0
  200. package/out/Schema.sol/SchemaInstance.json +1 -0
  201. package/out/Schema.sol/SchemaLib.abi.json +1 -0
  202. package/out/Schema.sol/SchemaLib.json +1 -0
  203. package/out/SimpleVault.sol/IERC20.abi.json +103 -0
  204. package/out/SimpleVault.sol/IERC20.abi.json.d.ts +105 -0
  205. package/out/SimpleVault.sol/IERC20.json +1 -0
  206. package/out/SimpleVault.sol/SimpleVault.abi.json +221 -0
  207. package/out/SimpleVault.sol/SimpleVault.abi.json.d.ts +223 -0
  208. package/out/SimpleVault.sol/SimpleVault.json +1 -0
  209. package/out/Slice.sol/SliceInstance.abi.json +1 -0
  210. package/out/Slice.sol/SliceInstance.json +1 -0
  211. package/out/Slice.sol/SliceLib.abi.json +1 -0
  212. package/out/Slice.sol/SliceLib.json +1 -0
  213. package/out/StdAssertions.sol/StdAssertions.abi.json +379 -0
  214. package/out/StdAssertions.sol/StdAssertions.abi.json.d.ts +381 -0
  215. package/out/StdAssertions.sol/StdAssertions.json +1 -0
  216. package/out/StdChains.sol/StdChains.abi.json +1 -0
  217. package/out/StdChains.sol/StdChains.json +1 -0
  218. package/out/StdCheats.sol/StdCheats.abi.json +1 -0
  219. package/out/StdCheats.sol/StdCheats.json +1 -0
  220. package/out/StdCheats.sol/StdCheatsSafe.abi.json +1 -0
  221. package/out/StdCheats.sol/StdCheatsSafe.json +1 -0
  222. package/out/StdError.sol/stdError.abi.json +119 -0
  223. package/out/StdError.sol/stdError.abi.json.d.ts +121 -0
  224. package/out/StdError.sol/stdError.json +1 -0
  225. package/out/StdInvariant.sol/StdInvariant.abi.json +180 -0
  226. package/out/StdInvariant.sol/StdInvariant.abi.json.d.ts +182 -0
  227. package/out/StdInvariant.sol/StdInvariant.json +1 -0
  228. package/out/StdJson.sol/stdJson.abi.json +1 -0
  229. package/out/StdJson.sol/stdJson.json +1 -0
  230. package/out/StdMath.sol/stdMath.abi.json +1 -0
  231. package/out/StdMath.sol/stdMath.json +1 -0
  232. package/out/StdStorage.sol/stdStorage.abi.json +1 -0
  233. package/out/StdStorage.sol/stdStorage.json +1 -0
  234. package/out/StdStorage.sol/stdStorageSafe.abi.json +52 -0
  235. package/out/StdStorage.sol/stdStorageSafe.abi.json.d.ts +54 -0
  236. package/out/StdStorage.sol/stdStorageSafe.json +1 -0
  237. package/out/StdStyle.sol/StdStyle.abi.json +1 -0
  238. package/out/StdStyle.sol/StdStyle.json +1 -0
  239. package/out/StdToml.sol/stdToml.abi.json +1 -0
  240. package/out/StdToml.sol/stdToml.json +1 -0
  241. package/out/StdUtils.sol/StdUtils.abi.json +1 -0
  242. package/out/StdUtils.sol/StdUtils.json +1 -0
  243. package/out/Storage.sol/Storage.abi.json +1 -0
  244. package/out/Storage.sol/Storage.json +1 -0
  245. package/out/Store.sol/Store.abi.json +1261 -0
  246. package/out/Store.sol/Store.abi.json.d.ts +1263 -0
  247. package/out/Store.sol/Store.json +1 -0
  248. package/out/StoreCore.sol/StoreCore.abi.json +1 -0
  249. package/out/StoreCore.sol/StoreCore.json +1 -0
  250. package/out/StoreCore.sol/StoreCoreInternal.abi.json +1 -0
  251. package/out/StoreCore.sol/StoreCoreInternal.json +1 -0
  252. package/out/StoreHooks.sol/StoreHooks.abi.json +1 -0
  253. package/out/StoreHooks.sol/StoreHooks.json +1 -0
  254. package/out/StoreKernel.sol/StoreKernel.abi.json +1182 -0
  255. package/out/StoreKernel.sol/StoreKernel.abi.json.d.ts +1184 -0
  256. package/out/StoreKernel.sol/StoreKernel.json +1 -0
  257. package/out/StoreRead.sol/StoreRead.abi.json +437 -0
  258. package/out/StoreRead.sol/StoreRead.abi.json.d.ts +439 -0
  259. package/out/StoreRead.sol/StoreRead.json +1 -0
  260. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +779 -0
  261. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +781 -0
  262. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -0
  263. package/out/StoreSwitch.sol/StoreSwitch.abi.json +1 -0
  264. package/out/StoreSwitch.sol/StoreSwitch.json +1 -0
  265. package/out/System.sol/System.abi.json +60 -0
  266. package/out/System.sol/System.abi.json.d.ts +62 -0
  267. package/out/System.sol/System.json +1 -0
  268. package/out/SystemCall.sol/SystemCall.abi.json +1 -0
  269. package/out/SystemCall.sol/SystemCall.json +1 -0
  270. package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
  271. package/out/SystemHooks.sol/SystemHooks.json +1 -0
  272. package/out/SystemRegistry.sol/SystemRegistry.abi.json +1 -0
  273. package/out/SystemRegistry.sol/SystemRegistry.json +1 -0
  274. package/out/Systems.sol/Systems.abi.json +1 -0
  275. package/out/Systems.sol/Systems.json +1 -0
  276. package/out/Tables.sol/Tables.abi.json +1 -0
  277. package/out/Tables.sol/Tables.json +1 -0
  278. package/out/Test.sol/Test.abi.json +570 -0
  279. package/out/Test.sol/Test.abi.json.d.ts +572 -0
  280. package/out/Test.sol/Test.json +1 -0
  281. package/out/TightCoder.sol/TightCoder.abi.json +1 -0
  282. package/out/TightCoder.sol/TightCoder.json +1 -0
  283. package/out/UserDelegationControl.sol/UserDelegationControl.abi.json +1 -0
  284. package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -0
  285. package/out/Vm.sol/Vm.abi.json +9998 -0
  286. package/out/Vm.sol/Vm.abi.json.d.ts +10000 -0
  287. package/out/Vm.sol/Vm.json +1 -0
  288. package/out/Vm.sol/VmSafe.abi.json +8121 -0
  289. package/out/Vm.sol/VmSafe.abi.json.d.ts +8123 -0
  290. package/out/Vm.sol/VmSafe.json +1 -0
  291. package/out/World.sol/World.abi.json +1542 -0
  292. package/out/World.sol/World.abi.json.d.ts +1544 -0
  293. package/out/World.sol/World.json +1 -0
  294. package/out/WorldConsumer.sol/WorldConsumer.abi.json +177 -0
  295. package/out/WorldConsumer.sol/WorldConsumer.abi.json.d.ts +179 -0
  296. package/out/WorldConsumer.sol/WorldConsumer.json +1 -0
  297. package/out/WorldConsumer.t.sol/MockWorldConsumer.abi.json +271 -0
  298. package/out/WorldConsumer.t.sol/MockWorldConsumer.abi.json.d.ts +273 -0
  299. package/out/WorldConsumer.t.sol/MockWorldConsumer.json +1 -0
  300. package/out/WorldConsumer.t.sol/WorldConsumerTest.abi.json +605 -0
  301. package/out/WorldConsumer.t.sol/WorldConsumerTest.abi.json.d.ts +607 -0
  302. package/out/WorldConsumer.t.sol/WorldConsumerTest.json +1 -0
  303. package/out/WorldContext.sol/WorldContextConsumer.abi.json +60 -0
  304. package/out/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +62 -0
  305. package/out/WorldContext.sol/WorldContextConsumer.json +1 -0
  306. package/out/WorldContext.sol/WorldContextConsumerLib.abi.json +1 -0
  307. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -0
  308. package/out/WorldContext.sol/WorldContextProviderLib.abi.json +1 -0
  309. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -0
  310. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +691 -0
  311. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +693 -0
  312. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -0
  313. package/out/WorldResourceId.sol/WorldResourceIdInstance.abi.json +1 -0
  314. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -0
  315. package/out/WorldResourceId.sol/WorldResourceIdLib.abi.json +1 -0
  316. package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -0
  317. package/out/build-info/91064cccbd48409791caa18068667c93.json +1 -0
  318. package/out/console.sol/console.abi.json +1 -0
  319. package/out/console.sol/console.json +1 -0
  320. package/out/constants.sol/LayoutOffsets.abi.json +1 -0
  321. package/out/constants.sol/LayoutOffsets.json +1 -0
  322. package/out/interfaces/IERC165.sol/IERC165.abi.json +21 -0
  323. package/out/interfaces/IERC165.sol/IERC165.abi.json.d.ts +23 -0
  324. package/out/interfaces/IERC165.sol/IERC165.json +1 -0
  325. package/out/safeconsole.sol/safeconsole.abi.json +1 -0
  326. package/out/safeconsole.sol/safeconsole.json +1 -0
  327. package/out/src/IERC165.sol/IERC165.abi.json +21 -0
  328. package/out/src/IERC165.sol/IERC165.abi.json.d.ts +23 -0
  329. package/out/src/IERC165.sol/IERC165.json +1 -0
  330. package/package.json +48 -0
  331. package/src/examples/SimpleVault.sol +33 -0
  332. package/src/experimental/WorldConsumer.sol +82 -0
@@ -0,0 +1,391 @@
1
+ declare const abi: [
2
+ {
3
+ "type": "function",
4
+ "name": "getDynamicField",
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
+ "name": "dynamicFieldIndex",
18
+ "type": "uint8",
19
+ "internalType": "uint8"
20
+ }
21
+ ],
22
+ "outputs": [
23
+ {
24
+ "name": "",
25
+ "type": "bytes",
26
+ "internalType": "bytes"
27
+ }
28
+ ],
29
+ "stateMutability": "view"
30
+ },
31
+ {
32
+ "type": "function",
33
+ "name": "getDynamicFieldLength",
34
+ "inputs": [
35
+ {
36
+ "name": "tableId",
37
+ "type": "bytes32",
38
+ "internalType": "ResourceId"
39
+ },
40
+ {
41
+ "name": "keyTuple",
42
+ "type": "bytes32[]",
43
+ "internalType": "bytes32[]"
44
+ },
45
+ {
46
+ "name": "dynamicFieldIndex",
47
+ "type": "uint8",
48
+ "internalType": "uint8"
49
+ }
50
+ ],
51
+ "outputs": [
52
+ {
53
+ "name": "",
54
+ "type": "uint256",
55
+ "internalType": "uint256"
56
+ }
57
+ ],
58
+ "stateMutability": "view"
59
+ },
60
+ {
61
+ "type": "function",
62
+ "name": "getDynamicFieldSlice",
63
+ "inputs": [
64
+ {
65
+ "name": "tableId",
66
+ "type": "bytes32",
67
+ "internalType": "ResourceId"
68
+ },
69
+ {
70
+ "name": "keyTuple",
71
+ "type": "bytes32[]",
72
+ "internalType": "bytes32[]"
73
+ },
74
+ {
75
+ "name": "dynamicFieldIndex",
76
+ "type": "uint8",
77
+ "internalType": "uint8"
78
+ },
79
+ {
80
+ "name": "start",
81
+ "type": "uint256",
82
+ "internalType": "uint256"
83
+ },
84
+ {
85
+ "name": "end",
86
+ "type": "uint256",
87
+ "internalType": "uint256"
88
+ }
89
+ ],
90
+ "outputs": [
91
+ {
92
+ "name": "data",
93
+ "type": "bytes",
94
+ "internalType": "bytes"
95
+ }
96
+ ],
97
+ "stateMutability": "view"
98
+ },
99
+ {
100
+ "type": "function",
101
+ "name": "getField",
102
+ "inputs": [
103
+ {
104
+ "name": "tableId",
105
+ "type": "bytes32",
106
+ "internalType": "ResourceId"
107
+ },
108
+ {
109
+ "name": "keyTuple",
110
+ "type": "bytes32[]",
111
+ "internalType": "bytes32[]"
112
+ },
113
+ {
114
+ "name": "fieldIndex",
115
+ "type": "uint8",
116
+ "internalType": "uint8"
117
+ },
118
+ {
119
+ "name": "fieldLayout",
120
+ "type": "bytes32",
121
+ "internalType": "FieldLayout"
122
+ }
123
+ ],
124
+ "outputs": [
125
+ {
126
+ "name": "data",
127
+ "type": "bytes",
128
+ "internalType": "bytes"
129
+ }
130
+ ],
131
+ "stateMutability": "view"
132
+ },
133
+ {
134
+ "type": "function",
135
+ "name": "getField",
136
+ "inputs": [
137
+ {
138
+ "name": "tableId",
139
+ "type": "bytes32",
140
+ "internalType": "ResourceId"
141
+ },
142
+ {
143
+ "name": "keyTuple",
144
+ "type": "bytes32[]",
145
+ "internalType": "bytes32[]"
146
+ },
147
+ {
148
+ "name": "fieldIndex",
149
+ "type": "uint8",
150
+ "internalType": "uint8"
151
+ }
152
+ ],
153
+ "outputs": [
154
+ {
155
+ "name": "data",
156
+ "type": "bytes",
157
+ "internalType": "bytes"
158
+ }
159
+ ],
160
+ "stateMutability": "view"
161
+ },
162
+ {
163
+ "type": "function",
164
+ "name": "getFieldLayout",
165
+ "inputs": [
166
+ {
167
+ "name": "tableId",
168
+ "type": "bytes32",
169
+ "internalType": "ResourceId"
170
+ }
171
+ ],
172
+ "outputs": [
173
+ {
174
+ "name": "fieldLayout",
175
+ "type": "bytes32",
176
+ "internalType": "FieldLayout"
177
+ }
178
+ ],
179
+ "stateMutability": "view"
180
+ },
181
+ {
182
+ "type": "function",
183
+ "name": "getFieldLength",
184
+ "inputs": [
185
+ {
186
+ "name": "tableId",
187
+ "type": "bytes32",
188
+ "internalType": "ResourceId"
189
+ },
190
+ {
191
+ "name": "keyTuple",
192
+ "type": "bytes32[]",
193
+ "internalType": "bytes32[]"
194
+ },
195
+ {
196
+ "name": "fieldIndex",
197
+ "type": "uint8",
198
+ "internalType": "uint8"
199
+ },
200
+ {
201
+ "name": "fieldLayout",
202
+ "type": "bytes32",
203
+ "internalType": "FieldLayout"
204
+ }
205
+ ],
206
+ "outputs": [
207
+ {
208
+ "name": "",
209
+ "type": "uint256",
210
+ "internalType": "uint256"
211
+ }
212
+ ],
213
+ "stateMutability": "view"
214
+ },
215
+ {
216
+ "type": "function",
217
+ "name": "getFieldLength",
218
+ "inputs": [
219
+ {
220
+ "name": "tableId",
221
+ "type": "bytes32",
222
+ "internalType": "ResourceId"
223
+ },
224
+ {
225
+ "name": "keyTuple",
226
+ "type": "bytes32[]",
227
+ "internalType": "bytes32[]"
228
+ },
229
+ {
230
+ "name": "fieldIndex",
231
+ "type": "uint8",
232
+ "internalType": "uint8"
233
+ }
234
+ ],
235
+ "outputs": [
236
+ {
237
+ "name": "",
238
+ "type": "uint256",
239
+ "internalType": "uint256"
240
+ }
241
+ ],
242
+ "stateMutability": "view"
243
+ },
244
+ {
245
+ "type": "function",
246
+ "name": "getKeySchema",
247
+ "inputs": [
248
+ {
249
+ "name": "tableId",
250
+ "type": "bytes32",
251
+ "internalType": "ResourceId"
252
+ }
253
+ ],
254
+ "outputs": [
255
+ {
256
+ "name": "keySchema",
257
+ "type": "bytes32",
258
+ "internalType": "Schema"
259
+ }
260
+ ],
261
+ "stateMutability": "view"
262
+ },
263
+ {
264
+ "type": "function",
265
+ "name": "getRecord",
266
+ "inputs": [
267
+ {
268
+ "name": "tableId",
269
+ "type": "bytes32",
270
+ "internalType": "ResourceId"
271
+ },
272
+ {
273
+ "name": "keyTuple",
274
+ "type": "bytes32[]",
275
+ "internalType": "bytes32[]"
276
+ },
277
+ {
278
+ "name": "fieldLayout",
279
+ "type": "bytes32",
280
+ "internalType": "FieldLayout"
281
+ }
282
+ ],
283
+ "outputs": [
284
+ {
285
+ "name": "staticData",
286
+ "type": "bytes",
287
+ "internalType": "bytes"
288
+ },
289
+ {
290
+ "name": "encodedLengths",
291
+ "type": "bytes32",
292
+ "internalType": "EncodedLengths"
293
+ },
294
+ {
295
+ "name": "dynamicData",
296
+ "type": "bytes",
297
+ "internalType": "bytes"
298
+ }
299
+ ],
300
+ "stateMutability": "view"
301
+ },
302
+ {
303
+ "type": "function",
304
+ "name": "getRecord",
305
+ "inputs": [
306
+ {
307
+ "name": "tableId",
308
+ "type": "bytes32",
309
+ "internalType": "ResourceId"
310
+ },
311
+ {
312
+ "name": "keyTuple",
313
+ "type": "bytes32[]",
314
+ "internalType": "bytes32[]"
315
+ }
316
+ ],
317
+ "outputs": [
318
+ {
319
+ "name": "staticData",
320
+ "type": "bytes",
321
+ "internalType": "bytes"
322
+ },
323
+ {
324
+ "name": "encodedLengths",
325
+ "type": "bytes32",
326
+ "internalType": "EncodedLengths"
327
+ },
328
+ {
329
+ "name": "dynamicData",
330
+ "type": "bytes",
331
+ "internalType": "bytes"
332
+ }
333
+ ],
334
+ "stateMutability": "view"
335
+ },
336
+ {
337
+ "type": "function",
338
+ "name": "getStaticField",
339
+ "inputs": [
340
+ {
341
+ "name": "tableId",
342
+ "type": "bytes32",
343
+ "internalType": "ResourceId"
344
+ },
345
+ {
346
+ "name": "keyTuple",
347
+ "type": "bytes32[]",
348
+ "internalType": "bytes32[]"
349
+ },
350
+ {
351
+ "name": "fieldIndex",
352
+ "type": "uint8",
353
+ "internalType": "uint8"
354
+ },
355
+ {
356
+ "name": "fieldLayout",
357
+ "type": "bytes32",
358
+ "internalType": "FieldLayout"
359
+ }
360
+ ],
361
+ "outputs": [
362
+ {
363
+ "name": "",
364
+ "type": "bytes32",
365
+ "internalType": "bytes32"
366
+ }
367
+ ],
368
+ "stateMutability": "view"
369
+ },
370
+ {
371
+ "type": "function",
372
+ "name": "getValueSchema",
373
+ "inputs": [
374
+ {
375
+ "name": "tableId",
376
+ "type": "bytes32",
377
+ "internalType": "ResourceId"
378
+ }
379
+ ],
380
+ "outputs": [
381
+ {
382
+ "name": "valueSchema",
383
+ "type": "bytes32",
384
+ "internalType": "Schema"
385
+ }
386
+ ],
387
+ "stateMutability": "view"
388
+ }
389
+ ];
390
+
391
+ export default abi;
@@ -0,0 +1 @@
1
+ {"abi":[{"type":"function","name":"getDynamicField","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"dynamicFieldIndex","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"getDynamicFieldLength","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"dynamicFieldIndex","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getDynamicFieldSlice","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"dynamicFieldIndex","type":"uint8","internalType":"uint8"},{"name":"start","type":"uint256","internalType":"uint256"},{"name":"end","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"getField","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldIndex","type":"uint8","internalType":"uint8"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"outputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"getField","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldIndex","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"getFieldLayout","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"}],"outputs":[{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"stateMutability":"view"},{"type":"function","name":"getFieldLength","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldIndex","type":"uint8","internalType":"uint8"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getFieldLength","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldIndex","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getKeySchema","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"}],"outputs":[{"name":"keySchema","type":"bytes32","internalType":"Schema"}],"stateMutability":"view"},{"type":"function","name":"getRecord","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"outputs":[{"name":"staticData","type":"bytes","internalType":"bytes"},{"name":"encodedLengths","type":"bytes32","internalType":"EncodedLengths"},{"name":"dynamicData","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"getRecord","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"}],"outputs":[{"name":"staticData","type":"bytes","internalType":"bytes"},{"name":"encodedLengths","type":"bytes32","internalType":"EncodedLengths"},{"name":"dynamicData","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"getStaticField","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldIndex","type":"uint8","internalType":"uint8"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getValueSchema","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"}],"outputs":[{"name":"valueSchema","type":"bytes32","internalType":"Schema"}],"stateMutability":"view"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"getDynamicField(bytes32,bytes32[],uint8)":"1e788977","getDynamicFieldLength(bytes32,bytes32[],uint8)":"dbbf0e21","getDynamicFieldSlice(bytes32,bytes32[],uint8,uint256,uint256)":"4dc77d97","getField(bytes32,bytes32[],uint8)":"d03edb8c","getField(bytes32,bytes32[],uint8,bytes32)":"05242d2f","getFieldLayout(bytes32)":"3a77c2c2","getFieldLength(bytes32,bytes32[],uint8)":"a53417ed","getFieldLength(bytes32,bytes32[],uint8,bytes32)":"9f1fcf0a","getKeySchema(bytes32)":"d4285dc2","getRecord(bytes32,bytes32[])":"cc49db7e","getRecord(bytes32,bytes32[],bytes32)":"419b58fd","getStaticField(bytes32,bytes32[],uint8,bytes32)":"8c364d59","getValueSchema(bytes32)":"e228a4a3"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"}],\"name\":\"getDynamicField\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"}],\"name\":\"getDynamicFieldLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"end\",\"type\":\"uint256\"}],\"name\":\"getDynamicFieldSlice\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"getField\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"}],\"name\":\"getField\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"}],\"name\":\"getFieldLayout\",\"outputs\":[{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"getFieldLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"}],\"name\":\"getFieldLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"}],\"name\":\"getKeySchema\",\"outputs\":[{\"internalType\":\"Schema\",\"name\":\"keySchema\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"getRecord\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"staticData\",\"type\":\"bytes\"},{\"internalType\":\"EncodedLengths\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"dynamicData\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"}],\"name\":\"getRecord\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"staticData\",\"type\":\"bytes\"},{\"internalType\":\"EncodedLengths\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"dynamicData\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"getStaticField\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"}],\"name\":\"getValueSchema\",\"outputs\":[{\"internalType\":\"Schema\",\"name\":\"valueSchema\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"kind\":\"dev\",\"methods\":{},\"title\":\"IStoreRead\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"getDynamicField(bytes32,bytes32[],uint8)\":{\"notice\":\"Get a single dynamic field from the given tableId and key tuple at the given dynamic field index. (Dynamic field index = field index - number of static fields)\"},\"getDynamicFieldLength(bytes32,bytes32[],uint8)\":{\"notice\":\"Get the byte length of a single dynamic field from the given tableId and key tuple\"},\"getDynamicFieldSlice(bytes32,bytes32[],uint8,uint256,uint256)\":{\"notice\":\"Get a byte slice (including start, excluding end) of a single dynamic field from the given tableId and key tuple, with the given value field layout. The slice is unchecked and will return invalid data if `start`:`end` overflow.\"},\"getField(bytes32,bytes32[],uint8)\":{\"notice\":\"Get a single field from the given tableId and key tuple, loading the field layout from storage\"},\"getField(bytes32,bytes32[],uint8,bytes32)\":{\"notice\":\"Get a single field from the given tableId and key tuple, with the given field layout\"},\"getFieldLength(bytes32,bytes32[],uint8)\":{\"notice\":\"Get the byte length of a single field from the given tableId and key tuple, loading the field layout from storage\"},\"getFieldLength(bytes32,bytes32[],uint8,bytes32)\":{\"notice\":\"Get the byte length of a single field from the given tableId and key tuple, with the given value field layout\"},\"getRecord(bytes32,bytes32[])\":{\"notice\":\"Get full record (all fields, static and dynamic data) for the given tableId and key tuple, loading the field layout from storage\"},\"getRecord(bytes32,bytes32[],bytes32)\":{\"notice\":\"Get full record (all fields, static and dynamic data) for the given tableId and key tuple, with the given field layout\"},\"getStaticField(bytes32,bytes32[],uint8,bytes32)\":{\"notice\":\"Get a single static field from the given tableId and key tuple, with the given value field layout. Note: the field value is left-aligned in the returned bytes32, the rest of the word is not zeroed out. Consumers are expected to truncate the returned value as needed.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/store/src/IStoreRead.sol\":\"IStoreRead\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":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/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/IStoreRead.sol\":{\"keccak256\":\"0xdcf28b3293d4d6c1fe2808a8918c1b2122e4e0e49f2793c79ebd2b9ae210ff7b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb3d9cc80f549ed0c5b768aea69fb1b3c364bd4f85d193a3040c411b594d94db\",\"dweb:/ipfs/QmYYdY5CjPHiW5ucXihTva1eHsCPNqBsvL6zYYafH3ap4p\"]},\"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":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"dynamicFieldIndex","type":"uint8"}],"stateMutability":"view","type":"function","name":"getDynamicField","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"dynamicFieldIndex","type":"uint8"}],"stateMutability":"view","type":"function","name":"getDynamicFieldLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"dynamicFieldIndex","type":"uint8"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"}],"stateMutability":"view","type":"function","name":"getDynamicFieldSlice","outputs":[{"internalType":"bytes","name":"data","type":"bytes"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"fieldIndex","type":"uint8"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getField","outputs":[{"internalType":"bytes","name":"data","type":"bytes"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"fieldIndex","type":"uint8"}],"stateMutability":"view","type":"function","name":"getField","outputs":[{"internalType":"bytes","name":"data","type":"bytes"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getFieldLayout","outputs":[{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"fieldIndex","type":"uint8"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getFieldLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"fieldIndex","type":"uint8"}],"stateMutability":"view","type":"function","name":"getFieldLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getKeySchema","outputs":[{"internalType":"Schema","name":"keySchema","type":"bytes32"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getRecord","outputs":[{"internalType":"bytes","name":"staticData","type":"bytes"},{"internalType":"EncodedLengths","name":"encodedLengths","type":"bytes32"},{"internalType":"bytes","name":"dynamicData","type":"bytes"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"}],"stateMutability":"view","type":"function","name":"getRecord","outputs":[{"internalType":"bytes","name":"staticData","type":"bytes"},{"internalType":"EncodedLengths","name":"encodedLengths","type":"bytes32"},{"internalType":"bytes","name":"dynamicData","type":"bytes"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"fieldIndex","type":"uint8"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getStaticField","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getValueSchema","outputs":[{"internalType":"Schema","name":"valueSchema","type":"bytes32"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{"getDynamicField(bytes32,bytes32[],uint8)":{"notice":"Get a single dynamic field from the given tableId and key tuple at the given dynamic field index. (Dynamic field index = field index - number of static fields)"},"getDynamicFieldLength(bytes32,bytes32[],uint8)":{"notice":"Get the byte length of a single dynamic field from the given tableId and key tuple"},"getDynamicFieldSlice(bytes32,bytes32[],uint8,uint256,uint256)":{"notice":"Get a byte slice (including start, excluding end) of a single dynamic field from the given tableId and key tuple, with the given value field layout. The slice is unchecked and will return invalid data if `start`:`end` overflow."},"getField(bytes32,bytes32[],uint8)":{"notice":"Get a single field from the given tableId and key tuple, loading the field layout from storage"},"getField(bytes32,bytes32[],uint8,bytes32)":{"notice":"Get a single field from the given tableId and key tuple, with the given field layout"},"getFieldLength(bytes32,bytes32[],uint8)":{"notice":"Get the byte length of a single field from the given tableId and key tuple, loading the field layout from storage"},"getFieldLength(bytes32,bytes32[],uint8,bytes32)":{"notice":"Get the byte length of a single field from the given tableId and key tuple, with the given value field layout"},"getRecord(bytes32,bytes32[])":{"notice":"Get full record (all fields, static and dynamic data) for the given tableId and key tuple, loading the field layout from storage"},"getRecord(bytes32,bytes32[],bytes32)":{"notice":"Get full record (all fields, static and dynamic data) for the given tableId and key tuple, with the given field layout"},"getStaticField(bytes32,bytes32[],uint8,bytes32)":{"notice":"Get a single static field from the given tableId and key tuple, with the given value field layout. Note: the field value is left-aligned in the returned bytes32, the rest of the word is not zeroed out. Consumers are expected to truncate the returned value as needed."}},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"node_modules/@latticexyz/store/src/IStoreRead.sol":"IStoreRead"},"evmVersion":"cancun","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/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/IStoreRead.sol":{"keccak256":"0xdcf28b3293d4d6c1fe2808a8918c1b2122e4e0e49f2793c79ebd2b9ae210ff7b","urls":["bzz-raw://bb3d9cc80f549ed0c5b768aea69fb1b3c364bd4f85d193a3040c411b594d94db","dweb:/ipfs/QmYYdY5CjPHiW5ucXihTva1eHsCPNqBsvL6zYYafH3ap4p"],"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":16}
@@ -0,0 +1,81 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "registerStoreHook",
5
+ "inputs": [
6
+ {
7
+ "name": "tableId",
8
+ "type": "bytes32",
9
+ "internalType": "ResourceId"
10
+ },
11
+ {
12
+ "name": "hookAddress",
13
+ "type": "address",
14
+ "internalType": "contract IStoreHook"
15
+ },
16
+ {
17
+ "name": "enabledHooksBitmap",
18
+ "type": "uint8",
19
+ "internalType": "uint8"
20
+ }
21
+ ],
22
+ "outputs": [],
23
+ "stateMutability": "nonpayable"
24
+ },
25
+ {
26
+ "type": "function",
27
+ "name": "registerTable",
28
+ "inputs": [
29
+ {
30
+ "name": "tableId",
31
+ "type": "bytes32",
32
+ "internalType": "ResourceId"
33
+ },
34
+ {
35
+ "name": "fieldLayout",
36
+ "type": "bytes32",
37
+ "internalType": "FieldLayout"
38
+ },
39
+ {
40
+ "name": "keySchema",
41
+ "type": "bytes32",
42
+ "internalType": "Schema"
43
+ },
44
+ {
45
+ "name": "valueSchema",
46
+ "type": "bytes32",
47
+ "internalType": "Schema"
48
+ },
49
+ {
50
+ "name": "keyNames",
51
+ "type": "string[]",
52
+ "internalType": "string[]"
53
+ },
54
+ {
55
+ "name": "fieldNames",
56
+ "type": "string[]",
57
+ "internalType": "string[]"
58
+ }
59
+ ],
60
+ "outputs": [],
61
+ "stateMutability": "nonpayable"
62
+ },
63
+ {
64
+ "type": "function",
65
+ "name": "unregisterStoreHook",
66
+ "inputs": [
67
+ {
68
+ "name": "tableId",
69
+ "type": "bytes32",
70
+ "internalType": "ResourceId"
71
+ },
72
+ {
73
+ "name": "hookAddress",
74
+ "type": "address",
75
+ "internalType": "contract IStoreHook"
76
+ }
77
+ ],
78
+ "outputs": [],
79
+ "stateMutability": "nonpayable"
80
+ }
81
+ ]
@@ -0,0 +1,83 @@
1
+ declare const abi: [
2
+ {
3
+ "type": "function",
4
+ "name": "registerStoreHook",
5
+ "inputs": [
6
+ {
7
+ "name": "tableId",
8
+ "type": "bytes32",
9
+ "internalType": "ResourceId"
10
+ },
11
+ {
12
+ "name": "hookAddress",
13
+ "type": "address",
14
+ "internalType": "contract IStoreHook"
15
+ },
16
+ {
17
+ "name": "enabledHooksBitmap",
18
+ "type": "uint8",
19
+ "internalType": "uint8"
20
+ }
21
+ ],
22
+ "outputs": [],
23
+ "stateMutability": "nonpayable"
24
+ },
25
+ {
26
+ "type": "function",
27
+ "name": "registerTable",
28
+ "inputs": [
29
+ {
30
+ "name": "tableId",
31
+ "type": "bytes32",
32
+ "internalType": "ResourceId"
33
+ },
34
+ {
35
+ "name": "fieldLayout",
36
+ "type": "bytes32",
37
+ "internalType": "FieldLayout"
38
+ },
39
+ {
40
+ "name": "keySchema",
41
+ "type": "bytes32",
42
+ "internalType": "Schema"
43
+ },
44
+ {
45
+ "name": "valueSchema",
46
+ "type": "bytes32",
47
+ "internalType": "Schema"
48
+ },
49
+ {
50
+ "name": "keyNames",
51
+ "type": "string[]",
52
+ "internalType": "string[]"
53
+ },
54
+ {
55
+ "name": "fieldNames",
56
+ "type": "string[]",
57
+ "internalType": "string[]"
58
+ }
59
+ ],
60
+ "outputs": [],
61
+ "stateMutability": "nonpayable"
62
+ },
63
+ {
64
+ "type": "function",
65
+ "name": "unregisterStoreHook",
66
+ "inputs": [
67
+ {
68
+ "name": "tableId",
69
+ "type": "bytes32",
70
+ "internalType": "ResourceId"
71
+ },
72
+ {
73
+ "name": "hookAddress",
74
+ "type": "address",
75
+ "internalType": "contract IStoreHook"
76
+ }
77
+ ],
78
+ "outputs": [],
79
+ "stateMutability": "nonpayable"
80
+ }
81
+ ];
82
+
83
+ export default abi;