@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,1263 @@
1
+ declare const abi: [
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": "getDynamicField",
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
+ "outputs": [
41
+ {
42
+ "name": "",
43
+ "type": "bytes",
44
+ "internalType": "bytes"
45
+ }
46
+ ],
47
+ "stateMutability": "view"
48
+ },
49
+ {
50
+ "type": "function",
51
+ "name": "getDynamicFieldLength",
52
+ "inputs": [
53
+ {
54
+ "name": "tableId",
55
+ "type": "bytes32",
56
+ "internalType": "ResourceId"
57
+ },
58
+ {
59
+ "name": "keyTuple",
60
+ "type": "bytes32[]",
61
+ "internalType": "bytes32[]"
62
+ },
63
+ {
64
+ "name": "dynamicFieldIndex",
65
+ "type": "uint8",
66
+ "internalType": "uint8"
67
+ }
68
+ ],
69
+ "outputs": [
70
+ {
71
+ "name": "",
72
+ "type": "uint256",
73
+ "internalType": "uint256"
74
+ }
75
+ ],
76
+ "stateMutability": "view"
77
+ },
78
+ {
79
+ "type": "function",
80
+ "name": "getDynamicFieldSlice",
81
+ "inputs": [
82
+ {
83
+ "name": "tableId",
84
+ "type": "bytes32",
85
+ "internalType": "ResourceId"
86
+ },
87
+ {
88
+ "name": "keyTuple",
89
+ "type": "bytes32[]",
90
+ "internalType": "bytes32[]"
91
+ },
92
+ {
93
+ "name": "dynamicFieldIndex",
94
+ "type": "uint8",
95
+ "internalType": "uint8"
96
+ },
97
+ {
98
+ "name": "start",
99
+ "type": "uint256",
100
+ "internalType": "uint256"
101
+ },
102
+ {
103
+ "name": "end",
104
+ "type": "uint256",
105
+ "internalType": "uint256"
106
+ }
107
+ ],
108
+ "outputs": [
109
+ {
110
+ "name": "data",
111
+ "type": "bytes",
112
+ "internalType": "bytes"
113
+ }
114
+ ],
115
+ "stateMutability": "view"
116
+ },
117
+ {
118
+ "type": "function",
119
+ "name": "getField",
120
+ "inputs": [
121
+ {
122
+ "name": "tableId",
123
+ "type": "bytes32",
124
+ "internalType": "ResourceId"
125
+ },
126
+ {
127
+ "name": "keyTuple",
128
+ "type": "bytes32[]",
129
+ "internalType": "bytes32[]"
130
+ },
131
+ {
132
+ "name": "fieldIndex",
133
+ "type": "uint8",
134
+ "internalType": "uint8"
135
+ },
136
+ {
137
+ "name": "fieldLayout",
138
+ "type": "bytes32",
139
+ "internalType": "FieldLayout"
140
+ }
141
+ ],
142
+ "outputs": [
143
+ {
144
+ "name": "data",
145
+ "type": "bytes",
146
+ "internalType": "bytes"
147
+ }
148
+ ],
149
+ "stateMutability": "view"
150
+ },
151
+ {
152
+ "type": "function",
153
+ "name": "getField",
154
+ "inputs": [
155
+ {
156
+ "name": "tableId",
157
+ "type": "bytes32",
158
+ "internalType": "ResourceId"
159
+ },
160
+ {
161
+ "name": "keyTuple",
162
+ "type": "bytes32[]",
163
+ "internalType": "bytes32[]"
164
+ },
165
+ {
166
+ "name": "fieldIndex",
167
+ "type": "uint8",
168
+ "internalType": "uint8"
169
+ }
170
+ ],
171
+ "outputs": [
172
+ {
173
+ "name": "data",
174
+ "type": "bytes",
175
+ "internalType": "bytes"
176
+ }
177
+ ],
178
+ "stateMutability": "view"
179
+ },
180
+ {
181
+ "type": "function",
182
+ "name": "getFieldLayout",
183
+ "inputs": [
184
+ {
185
+ "name": "tableId",
186
+ "type": "bytes32",
187
+ "internalType": "ResourceId"
188
+ }
189
+ ],
190
+ "outputs": [
191
+ {
192
+ "name": "fieldLayout",
193
+ "type": "bytes32",
194
+ "internalType": "FieldLayout"
195
+ }
196
+ ],
197
+ "stateMutability": "view"
198
+ },
199
+ {
200
+ "type": "function",
201
+ "name": "getFieldLength",
202
+ "inputs": [
203
+ {
204
+ "name": "tableId",
205
+ "type": "bytes32",
206
+ "internalType": "ResourceId"
207
+ },
208
+ {
209
+ "name": "keyTuple",
210
+ "type": "bytes32[]",
211
+ "internalType": "bytes32[]"
212
+ },
213
+ {
214
+ "name": "fieldIndex",
215
+ "type": "uint8",
216
+ "internalType": "uint8"
217
+ },
218
+ {
219
+ "name": "fieldLayout",
220
+ "type": "bytes32",
221
+ "internalType": "FieldLayout"
222
+ }
223
+ ],
224
+ "outputs": [
225
+ {
226
+ "name": "",
227
+ "type": "uint256",
228
+ "internalType": "uint256"
229
+ }
230
+ ],
231
+ "stateMutability": "view"
232
+ },
233
+ {
234
+ "type": "function",
235
+ "name": "getFieldLength",
236
+ "inputs": [
237
+ {
238
+ "name": "tableId",
239
+ "type": "bytes32",
240
+ "internalType": "ResourceId"
241
+ },
242
+ {
243
+ "name": "keyTuple",
244
+ "type": "bytes32[]",
245
+ "internalType": "bytes32[]"
246
+ },
247
+ {
248
+ "name": "fieldIndex",
249
+ "type": "uint8",
250
+ "internalType": "uint8"
251
+ }
252
+ ],
253
+ "outputs": [
254
+ {
255
+ "name": "",
256
+ "type": "uint256",
257
+ "internalType": "uint256"
258
+ }
259
+ ],
260
+ "stateMutability": "view"
261
+ },
262
+ {
263
+ "type": "function",
264
+ "name": "getKeySchema",
265
+ "inputs": [
266
+ {
267
+ "name": "tableId",
268
+ "type": "bytes32",
269
+ "internalType": "ResourceId"
270
+ }
271
+ ],
272
+ "outputs": [
273
+ {
274
+ "name": "keySchema",
275
+ "type": "bytes32",
276
+ "internalType": "Schema"
277
+ }
278
+ ],
279
+ "stateMutability": "view"
280
+ },
281
+ {
282
+ "type": "function",
283
+ "name": "getRecord",
284
+ "inputs": [
285
+ {
286
+ "name": "tableId",
287
+ "type": "bytes32",
288
+ "internalType": "ResourceId"
289
+ },
290
+ {
291
+ "name": "keyTuple",
292
+ "type": "bytes32[]",
293
+ "internalType": "bytes32[]"
294
+ },
295
+ {
296
+ "name": "fieldLayout",
297
+ "type": "bytes32",
298
+ "internalType": "FieldLayout"
299
+ }
300
+ ],
301
+ "outputs": [
302
+ {
303
+ "name": "staticData",
304
+ "type": "bytes",
305
+ "internalType": "bytes"
306
+ },
307
+ {
308
+ "name": "encodedLengths",
309
+ "type": "bytes32",
310
+ "internalType": "EncodedLengths"
311
+ },
312
+ {
313
+ "name": "dynamicData",
314
+ "type": "bytes",
315
+ "internalType": "bytes"
316
+ }
317
+ ],
318
+ "stateMutability": "view"
319
+ },
320
+ {
321
+ "type": "function",
322
+ "name": "getRecord",
323
+ "inputs": [
324
+ {
325
+ "name": "tableId",
326
+ "type": "bytes32",
327
+ "internalType": "ResourceId"
328
+ },
329
+ {
330
+ "name": "keyTuple",
331
+ "type": "bytes32[]",
332
+ "internalType": "bytes32[]"
333
+ }
334
+ ],
335
+ "outputs": [
336
+ {
337
+ "name": "staticData",
338
+ "type": "bytes",
339
+ "internalType": "bytes"
340
+ },
341
+ {
342
+ "name": "encodedLengths",
343
+ "type": "bytes32",
344
+ "internalType": "EncodedLengths"
345
+ },
346
+ {
347
+ "name": "dynamicData",
348
+ "type": "bytes",
349
+ "internalType": "bytes"
350
+ }
351
+ ],
352
+ "stateMutability": "view"
353
+ },
354
+ {
355
+ "type": "function",
356
+ "name": "getStaticField",
357
+ "inputs": [
358
+ {
359
+ "name": "tableId",
360
+ "type": "bytes32",
361
+ "internalType": "ResourceId"
362
+ },
363
+ {
364
+ "name": "keyTuple",
365
+ "type": "bytes32[]",
366
+ "internalType": "bytes32[]"
367
+ },
368
+ {
369
+ "name": "fieldIndex",
370
+ "type": "uint8",
371
+ "internalType": "uint8"
372
+ },
373
+ {
374
+ "name": "fieldLayout",
375
+ "type": "bytes32",
376
+ "internalType": "FieldLayout"
377
+ }
378
+ ],
379
+ "outputs": [
380
+ {
381
+ "name": "",
382
+ "type": "bytes32",
383
+ "internalType": "bytes32"
384
+ }
385
+ ],
386
+ "stateMutability": "view"
387
+ },
388
+ {
389
+ "type": "function",
390
+ "name": "getValueSchema",
391
+ "inputs": [
392
+ {
393
+ "name": "tableId",
394
+ "type": "bytes32",
395
+ "internalType": "ResourceId"
396
+ }
397
+ ],
398
+ "outputs": [
399
+ {
400
+ "name": "valueSchema",
401
+ "type": "bytes32",
402
+ "internalType": "Schema"
403
+ }
404
+ ],
405
+ "stateMutability": "view"
406
+ },
407
+ {
408
+ "type": "function",
409
+ "name": "popFromDynamicField",
410
+ "inputs": [
411
+ {
412
+ "name": "tableId",
413
+ "type": "bytes32",
414
+ "internalType": "ResourceId"
415
+ },
416
+ {
417
+ "name": "keyTuple",
418
+ "type": "bytes32[]",
419
+ "internalType": "bytes32[]"
420
+ },
421
+ {
422
+ "name": "dynamicFieldIndex",
423
+ "type": "uint8",
424
+ "internalType": "uint8"
425
+ },
426
+ {
427
+ "name": "byteLengthToPop",
428
+ "type": "uint256",
429
+ "internalType": "uint256"
430
+ }
431
+ ],
432
+ "outputs": [],
433
+ "stateMutability": "nonpayable"
434
+ },
435
+ {
436
+ "type": "function",
437
+ "name": "pushToDynamicField",
438
+ "inputs": [
439
+ {
440
+ "name": "tableId",
441
+ "type": "bytes32",
442
+ "internalType": "ResourceId"
443
+ },
444
+ {
445
+ "name": "keyTuple",
446
+ "type": "bytes32[]",
447
+ "internalType": "bytes32[]"
448
+ },
449
+ {
450
+ "name": "dynamicFieldIndex",
451
+ "type": "uint8",
452
+ "internalType": "uint8"
453
+ },
454
+ {
455
+ "name": "dataToPush",
456
+ "type": "bytes",
457
+ "internalType": "bytes"
458
+ }
459
+ ],
460
+ "outputs": [],
461
+ "stateMutability": "nonpayable"
462
+ },
463
+ {
464
+ "type": "function",
465
+ "name": "registerStoreHook",
466
+ "inputs": [
467
+ {
468
+ "name": "tableId",
469
+ "type": "bytes32",
470
+ "internalType": "ResourceId"
471
+ },
472
+ {
473
+ "name": "hookAddress",
474
+ "type": "address",
475
+ "internalType": "contract IStoreHook"
476
+ },
477
+ {
478
+ "name": "enabledHooksBitmap",
479
+ "type": "uint8",
480
+ "internalType": "uint8"
481
+ }
482
+ ],
483
+ "outputs": [],
484
+ "stateMutability": "nonpayable"
485
+ },
486
+ {
487
+ "type": "function",
488
+ "name": "registerTable",
489
+ "inputs": [
490
+ {
491
+ "name": "tableId",
492
+ "type": "bytes32",
493
+ "internalType": "ResourceId"
494
+ },
495
+ {
496
+ "name": "fieldLayout",
497
+ "type": "bytes32",
498
+ "internalType": "FieldLayout"
499
+ },
500
+ {
501
+ "name": "keySchema",
502
+ "type": "bytes32",
503
+ "internalType": "Schema"
504
+ },
505
+ {
506
+ "name": "valueSchema",
507
+ "type": "bytes32",
508
+ "internalType": "Schema"
509
+ },
510
+ {
511
+ "name": "keyNames",
512
+ "type": "string[]",
513
+ "internalType": "string[]"
514
+ },
515
+ {
516
+ "name": "fieldNames",
517
+ "type": "string[]",
518
+ "internalType": "string[]"
519
+ }
520
+ ],
521
+ "outputs": [],
522
+ "stateMutability": "nonpayable"
523
+ },
524
+ {
525
+ "type": "function",
526
+ "name": "setDynamicField",
527
+ "inputs": [
528
+ {
529
+ "name": "tableId",
530
+ "type": "bytes32",
531
+ "internalType": "ResourceId"
532
+ },
533
+ {
534
+ "name": "keyTuple",
535
+ "type": "bytes32[]",
536
+ "internalType": "bytes32[]"
537
+ },
538
+ {
539
+ "name": "dynamicFieldIndex",
540
+ "type": "uint8",
541
+ "internalType": "uint8"
542
+ },
543
+ {
544
+ "name": "data",
545
+ "type": "bytes",
546
+ "internalType": "bytes"
547
+ }
548
+ ],
549
+ "outputs": [],
550
+ "stateMutability": "nonpayable"
551
+ },
552
+ {
553
+ "type": "function",
554
+ "name": "setField",
555
+ "inputs": [
556
+ {
557
+ "name": "tableId",
558
+ "type": "bytes32",
559
+ "internalType": "ResourceId"
560
+ },
561
+ {
562
+ "name": "keyTuple",
563
+ "type": "bytes32[]",
564
+ "internalType": "bytes32[]"
565
+ },
566
+ {
567
+ "name": "fieldIndex",
568
+ "type": "uint8",
569
+ "internalType": "uint8"
570
+ },
571
+ {
572
+ "name": "data",
573
+ "type": "bytes",
574
+ "internalType": "bytes"
575
+ }
576
+ ],
577
+ "outputs": [],
578
+ "stateMutability": "nonpayable"
579
+ },
580
+ {
581
+ "type": "function",
582
+ "name": "setField",
583
+ "inputs": [
584
+ {
585
+ "name": "tableId",
586
+ "type": "bytes32",
587
+ "internalType": "ResourceId"
588
+ },
589
+ {
590
+ "name": "keyTuple",
591
+ "type": "bytes32[]",
592
+ "internalType": "bytes32[]"
593
+ },
594
+ {
595
+ "name": "fieldIndex",
596
+ "type": "uint8",
597
+ "internalType": "uint8"
598
+ },
599
+ {
600
+ "name": "data",
601
+ "type": "bytes",
602
+ "internalType": "bytes"
603
+ },
604
+ {
605
+ "name": "fieldLayout",
606
+ "type": "bytes32",
607
+ "internalType": "FieldLayout"
608
+ }
609
+ ],
610
+ "outputs": [],
611
+ "stateMutability": "nonpayable"
612
+ },
613
+ {
614
+ "type": "function",
615
+ "name": "setRecord",
616
+ "inputs": [
617
+ {
618
+ "name": "tableId",
619
+ "type": "bytes32",
620
+ "internalType": "ResourceId"
621
+ },
622
+ {
623
+ "name": "keyTuple",
624
+ "type": "bytes32[]",
625
+ "internalType": "bytes32[]"
626
+ },
627
+ {
628
+ "name": "staticData",
629
+ "type": "bytes",
630
+ "internalType": "bytes"
631
+ },
632
+ {
633
+ "name": "encodedLengths",
634
+ "type": "bytes32",
635
+ "internalType": "EncodedLengths"
636
+ },
637
+ {
638
+ "name": "dynamicData",
639
+ "type": "bytes",
640
+ "internalType": "bytes"
641
+ }
642
+ ],
643
+ "outputs": [],
644
+ "stateMutability": "nonpayable"
645
+ },
646
+ {
647
+ "type": "function",
648
+ "name": "setStaticField",
649
+ "inputs": [
650
+ {
651
+ "name": "tableId",
652
+ "type": "bytes32",
653
+ "internalType": "ResourceId"
654
+ },
655
+ {
656
+ "name": "keyTuple",
657
+ "type": "bytes32[]",
658
+ "internalType": "bytes32[]"
659
+ },
660
+ {
661
+ "name": "fieldIndex",
662
+ "type": "uint8",
663
+ "internalType": "uint8"
664
+ },
665
+ {
666
+ "name": "data",
667
+ "type": "bytes",
668
+ "internalType": "bytes"
669
+ },
670
+ {
671
+ "name": "fieldLayout",
672
+ "type": "bytes32",
673
+ "internalType": "FieldLayout"
674
+ }
675
+ ],
676
+ "outputs": [],
677
+ "stateMutability": "nonpayable"
678
+ },
679
+ {
680
+ "type": "function",
681
+ "name": "spliceDynamicData",
682
+ "inputs": [
683
+ {
684
+ "name": "tableId",
685
+ "type": "bytes32",
686
+ "internalType": "ResourceId"
687
+ },
688
+ {
689
+ "name": "keyTuple",
690
+ "type": "bytes32[]",
691
+ "internalType": "bytes32[]"
692
+ },
693
+ {
694
+ "name": "dynamicFieldIndex",
695
+ "type": "uint8",
696
+ "internalType": "uint8"
697
+ },
698
+ {
699
+ "name": "startWithinField",
700
+ "type": "uint40",
701
+ "internalType": "uint40"
702
+ },
703
+ {
704
+ "name": "deleteCount",
705
+ "type": "uint40",
706
+ "internalType": "uint40"
707
+ },
708
+ {
709
+ "name": "data",
710
+ "type": "bytes",
711
+ "internalType": "bytes"
712
+ }
713
+ ],
714
+ "outputs": [],
715
+ "stateMutability": "nonpayable"
716
+ },
717
+ {
718
+ "type": "function",
719
+ "name": "spliceStaticData",
720
+ "inputs": [
721
+ {
722
+ "name": "tableId",
723
+ "type": "bytes32",
724
+ "internalType": "ResourceId"
725
+ },
726
+ {
727
+ "name": "keyTuple",
728
+ "type": "bytes32[]",
729
+ "internalType": "bytes32[]"
730
+ },
731
+ {
732
+ "name": "start",
733
+ "type": "uint48",
734
+ "internalType": "uint48"
735
+ },
736
+ {
737
+ "name": "data",
738
+ "type": "bytes",
739
+ "internalType": "bytes"
740
+ }
741
+ ],
742
+ "outputs": [],
743
+ "stateMutability": "nonpayable"
744
+ },
745
+ {
746
+ "type": "function",
747
+ "name": "storeVersion",
748
+ "inputs": [],
749
+ "outputs": [
750
+ {
751
+ "name": "version",
752
+ "type": "bytes32",
753
+ "internalType": "bytes32"
754
+ }
755
+ ],
756
+ "stateMutability": "view"
757
+ },
758
+ {
759
+ "type": "function",
760
+ "name": "unregisterStoreHook",
761
+ "inputs": [
762
+ {
763
+ "name": "tableId",
764
+ "type": "bytes32",
765
+ "internalType": "ResourceId"
766
+ },
767
+ {
768
+ "name": "hookAddress",
769
+ "type": "address",
770
+ "internalType": "contract IStoreHook"
771
+ }
772
+ ],
773
+ "outputs": [],
774
+ "stateMutability": "nonpayable"
775
+ },
776
+ {
777
+ "type": "event",
778
+ "name": "HelloStore",
779
+ "inputs": [
780
+ {
781
+ "name": "storeVersion",
782
+ "type": "bytes32",
783
+ "indexed": true,
784
+ "internalType": "bytes32"
785
+ }
786
+ ],
787
+ "anonymous": false
788
+ },
789
+ {
790
+ "type": "event",
791
+ "name": "Store_DeleteRecord",
792
+ "inputs": [
793
+ {
794
+ "name": "tableId",
795
+ "type": "bytes32",
796
+ "indexed": true,
797
+ "internalType": "ResourceId"
798
+ },
799
+ {
800
+ "name": "keyTuple",
801
+ "type": "bytes32[]",
802
+ "indexed": false,
803
+ "internalType": "bytes32[]"
804
+ }
805
+ ],
806
+ "anonymous": false
807
+ },
808
+ {
809
+ "type": "event",
810
+ "name": "Store_SetRecord",
811
+ "inputs": [
812
+ {
813
+ "name": "tableId",
814
+ "type": "bytes32",
815
+ "indexed": true,
816
+ "internalType": "ResourceId"
817
+ },
818
+ {
819
+ "name": "keyTuple",
820
+ "type": "bytes32[]",
821
+ "indexed": false,
822
+ "internalType": "bytes32[]"
823
+ },
824
+ {
825
+ "name": "staticData",
826
+ "type": "bytes",
827
+ "indexed": false,
828
+ "internalType": "bytes"
829
+ },
830
+ {
831
+ "name": "encodedLengths",
832
+ "type": "bytes32",
833
+ "indexed": false,
834
+ "internalType": "EncodedLengths"
835
+ },
836
+ {
837
+ "name": "dynamicData",
838
+ "type": "bytes",
839
+ "indexed": false,
840
+ "internalType": "bytes"
841
+ }
842
+ ],
843
+ "anonymous": false
844
+ },
845
+ {
846
+ "type": "event",
847
+ "name": "Store_SpliceDynamicData",
848
+ "inputs": [
849
+ {
850
+ "name": "tableId",
851
+ "type": "bytes32",
852
+ "indexed": true,
853
+ "internalType": "ResourceId"
854
+ },
855
+ {
856
+ "name": "keyTuple",
857
+ "type": "bytes32[]",
858
+ "indexed": false,
859
+ "internalType": "bytes32[]"
860
+ },
861
+ {
862
+ "name": "dynamicFieldIndex",
863
+ "type": "uint8",
864
+ "indexed": false,
865
+ "internalType": "uint8"
866
+ },
867
+ {
868
+ "name": "start",
869
+ "type": "uint48",
870
+ "indexed": false,
871
+ "internalType": "uint48"
872
+ },
873
+ {
874
+ "name": "deleteCount",
875
+ "type": "uint40",
876
+ "indexed": false,
877
+ "internalType": "uint40"
878
+ },
879
+ {
880
+ "name": "encodedLengths",
881
+ "type": "bytes32",
882
+ "indexed": false,
883
+ "internalType": "EncodedLengths"
884
+ },
885
+ {
886
+ "name": "data",
887
+ "type": "bytes",
888
+ "indexed": false,
889
+ "internalType": "bytes"
890
+ }
891
+ ],
892
+ "anonymous": false
893
+ },
894
+ {
895
+ "type": "event",
896
+ "name": "Store_SpliceStaticData",
897
+ "inputs": [
898
+ {
899
+ "name": "tableId",
900
+ "type": "bytes32",
901
+ "indexed": true,
902
+ "internalType": "ResourceId"
903
+ },
904
+ {
905
+ "name": "keyTuple",
906
+ "type": "bytes32[]",
907
+ "indexed": false,
908
+ "internalType": "bytes32[]"
909
+ },
910
+ {
911
+ "name": "start",
912
+ "type": "uint48",
913
+ "indexed": false,
914
+ "internalType": "uint48"
915
+ },
916
+ {
917
+ "name": "data",
918
+ "type": "bytes",
919
+ "indexed": false,
920
+ "internalType": "bytes"
921
+ }
922
+ ],
923
+ "anonymous": false
924
+ },
925
+ {
926
+ "type": "error",
927
+ "name": "EncodedLengths_InvalidLength",
928
+ "inputs": [
929
+ {
930
+ "name": "length",
931
+ "type": "uint256",
932
+ "internalType": "uint256"
933
+ }
934
+ ]
935
+ },
936
+ {
937
+ "type": "error",
938
+ "name": "FieldLayout_Empty",
939
+ "inputs": []
940
+ },
941
+ {
942
+ "type": "error",
943
+ "name": "FieldLayout_InvalidStaticDataLength",
944
+ "inputs": [
945
+ {
946
+ "name": "staticDataLength",
947
+ "type": "uint256",
948
+ "internalType": "uint256"
949
+ },
950
+ {
951
+ "name": "computedStaticDataLength",
952
+ "type": "uint256",
953
+ "internalType": "uint256"
954
+ }
955
+ ]
956
+ },
957
+ {
958
+ "type": "error",
959
+ "name": "FieldLayout_StaticLengthDoesNotFitInAWord",
960
+ "inputs": [
961
+ {
962
+ "name": "index",
963
+ "type": "uint256",
964
+ "internalType": "uint256"
965
+ }
966
+ ]
967
+ },
968
+ {
969
+ "type": "error",
970
+ "name": "FieldLayout_StaticLengthIsNotZero",
971
+ "inputs": [
972
+ {
973
+ "name": "index",
974
+ "type": "uint256",
975
+ "internalType": "uint256"
976
+ }
977
+ ]
978
+ },
979
+ {
980
+ "type": "error",
981
+ "name": "FieldLayout_StaticLengthIsZero",
982
+ "inputs": [
983
+ {
984
+ "name": "index",
985
+ "type": "uint256",
986
+ "internalType": "uint256"
987
+ }
988
+ ]
989
+ },
990
+ {
991
+ "type": "error",
992
+ "name": "FieldLayout_TooManyDynamicFields",
993
+ "inputs": [
994
+ {
995
+ "name": "numFields",
996
+ "type": "uint256",
997
+ "internalType": "uint256"
998
+ },
999
+ {
1000
+ "name": "maxFields",
1001
+ "type": "uint256",
1002
+ "internalType": "uint256"
1003
+ }
1004
+ ]
1005
+ },
1006
+ {
1007
+ "type": "error",
1008
+ "name": "FieldLayout_TooManyFields",
1009
+ "inputs": [
1010
+ {
1011
+ "name": "numFields",
1012
+ "type": "uint256",
1013
+ "internalType": "uint256"
1014
+ },
1015
+ {
1016
+ "name": "maxFields",
1017
+ "type": "uint256",
1018
+ "internalType": "uint256"
1019
+ }
1020
+ ]
1021
+ },
1022
+ {
1023
+ "type": "error",
1024
+ "name": "Schema_InvalidLength",
1025
+ "inputs": [
1026
+ {
1027
+ "name": "length",
1028
+ "type": "uint256",
1029
+ "internalType": "uint256"
1030
+ }
1031
+ ]
1032
+ },
1033
+ {
1034
+ "type": "error",
1035
+ "name": "Schema_StaticTypeAfterDynamicType",
1036
+ "inputs": []
1037
+ },
1038
+ {
1039
+ "type": "error",
1040
+ "name": "Slice_OutOfBounds",
1041
+ "inputs": [
1042
+ {
1043
+ "name": "data",
1044
+ "type": "bytes",
1045
+ "internalType": "bytes"
1046
+ },
1047
+ {
1048
+ "name": "start",
1049
+ "type": "uint256",
1050
+ "internalType": "uint256"
1051
+ },
1052
+ {
1053
+ "name": "end",
1054
+ "type": "uint256",
1055
+ "internalType": "uint256"
1056
+ }
1057
+ ]
1058
+ },
1059
+ {
1060
+ "type": "error",
1061
+ "name": "Store_IndexOutOfBounds",
1062
+ "inputs": [
1063
+ {
1064
+ "name": "length",
1065
+ "type": "uint256",
1066
+ "internalType": "uint256"
1067
+ },
1068
+ {
1069
+ "name": "accessedIndex",
1070
+ "type": "uint256",
1071
+ "internalType": "uint256"
1072
+ }
1073
+ ]
1074
+ },
1075
+ {
1076
+ "type": "error",
1077
+ "name": "Store_InvalidBounds",
1078
+ "inputs": [
1079
+ {
1080
+ "name": "start",
1081
+ "type": "uint256",
1082
+ "internalType": "uint256"
1083
+ },
1084
+ {
1085
+ "name": "end",
1086
+ "type": "uint256",
1087
+ "internalType": "uint256"
1088
+ }
1089
+ ]
1090
+ },
1091
+ {
1092
+ "type": "error",
1093
+ "name": "Store_InvalidFieldNamesLength",
1094
+ "inputs": [
1095
+ {
1096
+ "name": "expected",
1097
+ "type": "uint256",
1098
+ "internalType": "uint256"
1099
+ },
1100
+ {
1101
+ "name": "received",
1102
+ "type": "uint256",
1103
+ "internalType": "uint256"
1104
+ }
1105
+ ]
1106
+ },
1107
+ {
1108
+ "type": "error",
1109
+ "name": "Store_InvalidKeyNamesLength",
1110
+ "inputs": [
1111
+ {
1112
+ "name": "expected",
1113
+ "type": "uint256",
1114
+ "internalType": "uint256"
1115
+ },
1116
+ {
1117
+ "name": "received",
1118
+ "type": "uint256",
1119
+ "internalType": "uint256"
1120
+ }
1121
+ ]
1122
+ },
1123
+ {
1124
+ "type": "error",
1125
+ "name": "Store_InvalidResourceType",
1126
+ "inputs": [
1127
+ {
1128
+ "name": "expected",
1129
+ "type": "bytes2",
1130
+ "internalType": "bytes2"
1131
+ },
1132
+ {
1133
+ "name": "resourceId",
1134
+ "type": "bytes32",
1135
+ "internalType": "ResourceId"
1136
+ },
1137
+ {
1138
+ "name": "resourceIdString",
1139
+ "type": "string",
1140
+ "internalType": "string"
1141
+ }
1142
+ ]
1143
+ },
1144
+ {
1145
+ "type": "error",
1146
+ "name": "Store_InvalidSplice",
1147
+ "inputs": [
1148
+ {
1149
+ "name": "startWithinField",
1150
+ "type": "uint40",
1151
+ "internalType": "uint40"
1152
+ },
1153
+ {
1154
+ "name": "deleteCount",
1155
+ "type": "uint40",
1156
+ "internalType": "uint40"
1157
+ },
1158
+ {
1159
+ "name": "fieldLength",
1160
+ "type": "uint40",
1161
+ "internalType": "uint40"
1162
+ }
1163
+ ]
1164
+ },
1165
+ {
1166
+ "type": "error",
1167
+ "name": "Store_InvalidStaticDataLength",
1168
+ "inputs": [
1169
+ {
1170
+ "name": "expected",
1171
+ "type": "uint256",
1172
+ "internalType": "uint256"
1173
+ },
1174
+ {
1175
+ "name": "received",
1176
+ "type": "uint256",
1177
+ "internalType": "uint256"
1178
+ }
1179
+ ]
1180
+ },
1181
+ {
1182
+ "type": "error",
1183
+ "name": "Store_InvalidValueSchemaDynamicLength",
1184
+ "inputs": [
1185
+ {
1186
+ "name": "expected",
1187
+ "type": "uint256",
1188
+ "internalType": "uint256"
1189
+ },
1190
+ {
1191
+ "name": "received",
1192
+ "type": "uint256",
1193
+ "internalType": "uint256"
1194
+ }
1195
+ ]
1196
+ },
1197
+ {
1198
+ "type": "error",
1199
+ "name": "Store_InvalidValueSchemaLength",
1200
+ "inputs": [
1201
+ {
1202
+ "name": "expected",
1203
+ "type": "uint256",
1204
+ "internalType": "uint256"
1205
+ },
1206
+ {
1207
+ "name": "received",
1208
+ "type": "uint256",
1209
+ "internalType": "uint256"
1210
+ }
1211
+ ]
1212
+ },
1213
+ {
1214
+ "type": "error",
1215
+ "name": "Store_InvalidValueSchemaStaticLength",
1216
+ "inputs": [
1217
+ {
1218
+ "name": "expected",
1219
+ "type": "uint256",
1220
+ "internalType": "uint256"
1221
+ },
1222
+ {
1223
+ "name": "received",
1224
+ "type": "uint256",
1225
+ "internalType": "uint256"
1226
+ }
1227
+ ]
1228
+ },
1229
+ {
1230
+ "type": "error",
1231
+ "name": "Store_TableAlreadyExists",
1232
+ "inputs": [
1233
+ {
1234
+ "name": "tableId",
1235
+ "type": "bytes32",
1236
+ "internalType": "ResourceId"
1237
+ },
1238
+ {
1239
+ "name": "tableIdString",
1240
+ "type": "string",
1241
+ "internalType": "string"
1242
+ }
1243
+ ]
1244
+ },
1245
+ {
1246
+ "type": "error",
1247
+ "name": "Store_TableNotFound",
1248
+ "inputs": [
1249
+ {
1250
+ "name": "tableId",
1251
+ "type": "bytes32",
1252
+ "internalType": "ResourceId"
1253
+ },
1254
+ {
1255
+ "name": "tableIdString",
1256
+ "type": "string",
1257
+ "internalType": "string"
1258
+ }
1259
+ ]
1260
+ }
1261
+ ];
1262
+
1263
+ export default abi;