@latticexyz/world-consumer 2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0

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/035195f71f276cfc878db57a98c5269a.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,1542 @@
1
+ [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [],
5
+ "stateMutability": "nonpayable"
6
+ },
7
+ {
8
+ "type": "fallback",
9
+ "stateMutability": "payable"
10
+ },
11
+ {
12
+ "type": "receive",
13
+ "stateMutability": "payable"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "call",
18
+ "inputs": [
19
+ {
20
+ "name": "systemId",
21
+ "type": "bytes32",
22
+ "internalType": "ResourceId"
23
+ },
24
+ {
25
+ "name": "callData",
26
+ "type": "bytes",
27
+ "internalType": "bytes"
28
+ }
29
+ ],
30
+ "outputs": [
31
+ {
32
+ "name": "",
33
+ "type": "bytes",
34
+ "internalType": "bytes"
35
+ }
36
+ ],
37
+ "stateMutability": "payable"
38
+ },
39
+ {
40
+ "type": "function",
41
+ "name": "callFrom",
42
+ "inputs": [
43
+ {
44
+ "name": "delegator",
45
+ "type": "address",
46
+ "internalType": "address"
47
+ },
48
+ {
49
+ "name": "systemId",
50
+ "type": "bytes32",
51
+ "internalType": "ResourceId"
52
+ },
53
+ {
54
+ "name": "callData",
55
+ "type": "bytes",
56
+ "internalType": "bytes"
57
+ }
58
+ ],
59
+ "outputs": [
60
+ {
61
+ "name": "",
62
+ "type": "bytes",
63
+ "internalType": "bytes"
64
+ }
65
+ ],
66
+ "stateMutability": "payable"
67
+ },
68
+ {
69
+ "type": "function",
70
+ "name": "creator",
71
+ "inputs": [],
72
+ "outputs": [
73
+ {
74
+ "name": "",
75
+ "type": "address",
76
+ "internalType": "address"
77
+ }
78
+ ],
79
+ "stateMutability": "view"
80
+ },
81
+ {
82
+ "type": "function",
83
+ "name": "deleteRecord",
84
+ "inputs": [
85
+ {
86
+ "name": "tableId",
87
+ "type": "bytes32",
88
+ "internalType": "ResourceId"
89
+ },
90
+ {
91
+ "name": "keyTuple",
92
+ "type": "bytes32[]",
93
+ "internalType": "bytes32[]"
94
+ }
95
+ ],
96
+ "outputs": [],
97
+ "stateMutability": "nonpayable"
98
+ },
99
+ {
100
+ "type": "function",
101
+ "name": "getDynamicField",
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": "dynamicFieldIndex",
115
+ "type": "uint8",
116
+ "internalType": "uint8"
117
+ }
118
+ ],
119
+ "outputs": [
120
+ {
121
+ "name": "data",
122
+ "type": "bytes",
123
+ "internalType": "bytes"
124
+ }
125
+ ],
126
+ "stateMutability": "view"
127
+ },
128
+ {
129
+ "type": "function",
130
+ "name": "getDynamicFieldLength",
131
+ "inputs": [
132
+ {
133
+ "name": "tableId",
134
+ "type": "bytes32",
135
+ "internalType": "ResourceId"
136
+ },
137
+ {
138
+ "name": "keyTuple",
139
+ "type": "bytes32[]",
140
+ "internalType": "bytes32[]"
141
+ },
142
+ {
143
+ "name": "dynamicFieldIndex",
144
+ "type": "uint8",
145
+ "internalType": "uint8"
146
+ }
147
+ ],
148
+ "outputs": [
149
+ {
150
+ "name": "",
151
+ "type": "uint256",
152
+ "internalType": "uint256"
153
+ }
154
+ ],
155
+ "stateMutability": "view"
156
+ },
157
+ {
158
+ "type": "function",
159
+ "name": "getDynamicFieldSlice",
160
+ "inputs": [
161
+ {
162
+ "name": "tableId",
163
+ "type": "bytes32",
164
+ "internalType": "ResourceId"
165
+ },
166
+ {
167
+ "name": "keyTuple",
168
+ "type": "bytes32[]",
169
+ "internalType": "bytes32[]"
170
+ },
171
+ {
172
+ "name": "dynamicFieldIndex",
173
+ "type": "uint8",
174
+ "internalType": "uint8"
175
+ },
176
+ {
177
+ "name": "start",
178
+ "type": "uint256",
179
+ "internalType": "uint256"
180
+ },
181
+ {
182
+ "name": "end",
183
+ "type": "uint256",
184
+ "internalType": "uint256"
185
+ }
186
+ ],
187
+ "outputs": [
188
+ {
189
+ "name": "",
190
+ "type": "bytes",
191
+ "internalType": "bytes"
192
+ }
193
+ ],
194
+ "stateMutability": "view"
195
+ },
196
+ {
197
+ "type": "function",
198
+ "name": "getField",
199
+ "inputs": [
200
+ {
201
+ "name": "tableId",
202
+ "type": "bytes32",
203
+ "internalType": "ResourceId"
204
+ },
205
+ {
206
+ "name": "keyTuple",
207
+ "type": "bytes32[]",
208
+ "internalType": "bytes32[]"
209
+ },
210
+ {
211
+ "name": "fieldIndex",
212
+ "type": "uint8",
213
+ "internalType": "uint8"
214
+ },
215
+ {
216
+ "name": "fieldLayout",
217
+ "type": "bytes32",
218
+ "internalType": "FieldLayout"
219
+ }
220
+ ],
221
+ "outputs": [
222
+ {
223
+ "name": "data",
224
+ "type": "bytes",
225
+ "internalType": "bytes"
226
+ }
227
+ ],
228
+ "stateMutability": "view"
229
+ },
230
+ {
231
+ "type": "function",
232
+ "name": "getField",
233
+ "inputs": [
234
+ {
235
+ "name": "tableId",
236
+ "type": "bytes32",
237
+ "internalType": "ResourceId"
238
+ },
239
+ {
240
+ "name": "keyTuple",
241
+ "type": "bytes32[]",
242
+ "internalType": "bytes32[]"
243
+ },
244
+ {
245
+ "name": "fieldIndex",
246
+ "type": "uint8",
247
+ "internalType": "uint8"
248
+ }
249
+ ],
250
+ "outputs": [
251
+ {
252
+ "name": "data",
253
+ "type": "bytes",
254
+ "internalType": "bytes"
255
+ }
256
+ ],
257
+ "stateMutability": "view"
258
+ },
259
+ {
260
+ "type": "function",
261
+ "name": "getFieldLayout",
262
+ "inputs": [
263
+ {
264
+ "name": "tableId",
265
+ "type": "bytes32",
266
+ "internalType": "ResourceId"
267
+ }
268
+ ],
269
+ "outputs": [
270
+ {
271
+ "name": "fieldLayout",
272
+ "type": "bytes32",
273
+ "internalType": "FieldLayout"
274
+ }
275
+ ],
276
+ "stateMutability": "view"
277
+ },
278
+ {
279
+ "type": "function",
280
+ "name": "getFieldLength",
281
+ "inputs": [
282
+ {
283
+ "name": "tableId",
284
+ "type": "bytes32",
285
+ "internalType": "ResourceId"
286
+ },
287
+ {
288
+ "name": "keyTuple",
289
+ "type": "bytes32[]",
290
+ "internalType": "bytes32[]"
291
+ },
292
+ {
293
+ "name": "fieldIndex",
294
+ "type": "uint8",
295
+ "internalType": "uint8"
296
+ },
297
+ {
298
+ "name": "fieldLayout",
299
+ "type": "bytes32",
300
+ "internalType": "FieldLayout"
301
+ }
302
+ ],
303
+ "outputs": [
304
+ {
305
+ "name": "",
306
+ "type": "uint256",
307
+ "internalType": "uint256"
308
+ }
309
+ ],
310
+ "stateMutability": "view"
311
+ },
312
+ {
313
+ "type": "function",
314
+ "name": "getFieldLength",
315
+ "inputs": [
316
+ {
317
+ "name": "tableId",
318
+ "type": "bytes32",
319
+ "internalType": "ResourceId"
320
+ },
321
+ {
322
+ "name": "keyTuple",
323
+ "type": "bytes32[]",
324
+ "internalType": "bytes32[]"
325
+ },
326
+ {
327
+ "name": "fieldIndex",
328
+ "type": "uint8",
329
+ "internalType": "uint8"
330
+ }
331
+ ],
332
+ "outputs": [
333
+ {
334
+ "name": "",
335
+ "type": "uint256",
336
+ "internalType": "uint256"
337
+ }
338
+ ],
339
+ "stateMutability": "view"
340
+ },
341
+ {
342
+ "type": "function",
343
+ "name": "getKeySchema",
344
+ "inputs": [
345
+ {
346
+ "name": "tableId",
347
+ "type": "bytes32",
348
+ "internalType": "ResourceId"
349
+ }
350
+ ],
351
+ "outputs": [
352
+ {
353
+ "name": "keySchema",
354
+ "type": "bytes32",
355
+ "internalType": "Schema"
356
+ }
357
+ ],
358
+ "stateMutability": "view"
359
+ },
360
+ {
361
+ "type": "function",
362
+ "name": "getRecord",
363
+ "inputs": [
364
+ {
365
+ "name": "tableId",
366
+ "type": "bytes32",
367
+ "internalType": "ResourceId"
368
+ },
369
+ {
370
+ "name": "keyTuple",
371
+ "type": "bytes32[]",
372
+ "internalType": "bytes32[]"
373
+ },
374
+ {
375
+ "name": "fieldLayout",
376
+ "type": "bytes32",
377
+ "internalType": "FieldLayout"
378
+ }
379
+ ],
380
+ "outputs": [
381
+ {
382
+ "name": "staticData",
383
+ "type": "bytes",
384
+ "internalType": "bytes"
385
+ },
386
+ {
387
+ "name": "encodedLengths",
388
+ "type": "bytes32",
389
+ "internalType": "EncodedLengths"
390
+ },
391
+ {
392
+ "name": "dynamicData",
393
+ "type": "bytes",
394
+ "internalType": "bytes"
395
+ }
396
+ ],
397
+ "stateMutability": "view"
398
+ },
399
+ {
400
+ "type": "function",
401
+ "name": "getRecord",
402
+ "inputs": [
403
+ {
404
+ "name": "tableId",
405
+ "type": "bytes32",
406
+ "internalType": "ResourceId"
407
+ },
408
+ {
409
+ "name": "keyTuple",
410
+ "type": "bytes32[]",
411
+ "internalType": "bytes32[]"
412
+ }
413
+ ],
414
+ "outputs": [
415
+ {
416
+ "name": "staticData",
417
+ "type": "bytes",
418
+ "internalType": "bytes"
419
+ },
420
+ {
421
+ "name": "encodedLengths",
422
+ "type": "bytes32",
423
+ "internalType": "EncodedLengths"
424
+ },
425
+ {
426
+ "name": "dynamicData",
427
+ "type": "bytes",
428
+ "internalType": "bytes"
429
+ }
430
+ ],
431
+ "stateMutability": "view"
432
+ },
433
+ {
434
+ "type": "function",
435
+ "name": "getStaticField",
436
+ "inputs": [
437
+ {
438
+ "name": "tableId",
439
+ "type": "bytes32",
440
+ "internalType": "ResourceId"
441
+ },
442
+ {
443
+ "name": "keyTuple",
444
+ "type": "bytes32[]",
445
+ "internalType": "bytes32[]"
446
+ },
447
+ {
448
+ "name": "fieldIndex",
449
+ "type": "uint8",
450
+ "internalType": "uint8"
451
+ },
452
+ {
453
+ "name": "fieldLayout",
454
+ "type": "bytes32",
455
+ "internalType": "FieldLayout"
456
+ }
457
+ ],
458
+ "outputs": [
459
+ {
460
+ "name": "data",
461
+ "type": "bytes32",
462
+ "internalType": "bytes32"
463
+ }
464
+ ],
465
+ "stateMutability": "view"
466
+ },
467
+ {
468
+ "type": "function",
469
+ "name": "getValueSchema",
470
+ "inputs": [
471
+ {
472
+ "name": "tableId",
473
+ "type": "bytes32",
474
+ "internalType": "ResourceId"
475
+ }
476
+ ],
477
+ "outputs": [
478
+ {
479
+ "name": "valueSchema",
480
+ "type": "bytes32",
481
+ "internalType": "Schema"
482
+ }
483
+ ],
484
+ "stateMutability": "view"
485
+ },
486
+ {
487
+ "type": "function",
488
+ "name": "initialize",
489
+ "inputs": [
490
+ {
491
+ "name": "initModule",
492
+ "type": "address",
493
+ "internalType": "contract IModule"
494
+ }
495
+ ],
496
+ "outputs": [],
497
+ "stateMutability": "nonpayable"
498
+ },
499
+ {
500
+ "type": "function",
501
+ "name": "installRootModule",
502
+ "inputs": [
503
+ {
504
+ "name": "module",
505
+ "type": "address",
506
+ "internalType": "contract IModule"
507
+ },
508
+ {
509
+ "name": "encodedArgs",
510
+ "type": "bytes",
511
+ "internalType": "bytes"
512
+ }
513
+ ],
514
+ "outputs": [],
515
+ "stateMutability": "nonpayable"
516
+ },
517
+ {
518
+ "type": "function",
519
+ "name": "popFromDynamicField",
520
+ "inputs": [
521
+ {
522
+ "name": "tableId",
523
+ "type": "bytes32",
524
+ "internalType": "ResourceId"
525
+ },
526
+ {
527
+ "name": "keyTuple",
528
+ "type": "bytes32[]",
529
+ "internalType": "bytes32[]"
530
+ },
531
+ {
532
+ "name": "dynamicFieldIndex",
533
+ "type": "uint8",
534
+ "internalType": "uint8"
535
+ },
536
+ {
537
+ "name": "byteLengthToPop",
538
+ "type": "uint256",
539
+ "internalType": "uint256"
540
+ }
541
+ ],
542
+ "outputs": [],
543
+ "stateMutability": "nonpayable"
544
+ },
545
+ {
546
+ "type": "function",
547
+ "name": "pushToDynamicField",
548
+ "inputs": [
549
+ {
550
+ "name": "tableId",
551
+ "type": "bytes32",
552
+ "internalType": "ResourceId"
553
+ },
554
+ {
555
+ "name": "keyTuple",
556
+ "type": "bytes32[]",
557
+ "internalType": "bytes32[]"
558
+ },
559
+ {
560
+ "name": "dynamicFieldIndex",
561
+ "type": "uint8",
562
+ "internalType": "uint8"
563
+ },
564
+ {
565
+ "name": "dataToPush",
566
+ "type": "bytes",
567
+ "internalType": "bytes"
568
+ }
569
+ ],
570
+ "outputs": [],
571
+ "stateMutability": "nonpayable"
572
+ },
573
+ {
574
+ "type": "function",
575
+ "name": "setDynamicField",
576
+ "inputs": [
577
+ {
578
+ "name": "tableId",
579
+ "type": "bytes32",
580
+ "internalType": "ResourceId"
581
+ },
582
+ {
583
+ "name": "keyTuple",
584
+ "type": "bytes32[]",
585
+ "internalType": "bytes32[]"
586
+ },
587
+ {
588
+ "name": "dynamicFieldIndex",
589
+ "type": "uint8",
590
+ "internalType": "uint8"
591
+ },
592
+ {
593
+ "name": "data",
594
+ "type": "bytes",
595
+ "internalType": "bytes"
596
+ }
597
+ ],
598
+ "outputs": [],
599
+ "stateMutability": "nonpayable"
600
+ },
601
+ {
602
+ "type": "function",
603
+ "name": "setField",
604
+ "inputs": [
605
+ {
606
+ "name": "tableId",
607
+ "type": "bytes32",
608
+ "internalType": "ResourceId"
609
+ },
610
+ {
611
+ "name": "keyTuple",
612
+ "type": "bytes32[]",
613
+ "internalType": "bytes32[]"
614
+ },
615
+ {
616
+ "name": "fieldIndex",
617
+ "type": "uint8",
618
+ "internalType": "uint8"
619
+ },
620
+ {
621
+ "name": "data",
622
+ "type": "bytes",
623
+ "internalType": "bytes"
624
+ }
625
+ ],
626
+ "outputs": [],
627
+ "stateMutability": "nonpayable"
628
+ },
629
+ {
630
+ "type": "function",
631
+ "name": "setField",
632
+ "inputs": [
633
+ {
634
+ "name": "tableId",
635
+ "type": "bytes32",
636
+ "internalType": "ResourceId"
637
+ },
638
+ {
639
+ "name": "keyTuple",
640
+ "type": "bytes32[]",
641
+ "internalType": "bytes32[]"
642
+ },
643
+ {
644
+ "name": "fieldIndex",
645
+ "type": "uint8",
646
+ "internalType": "uint8"
647
+ },
648
+ {
649
+ "name": "data",
650
+ "type": "bytes",
651
+ "internalType": "bytes"
652
+ },
653
+ {
654
+ "name": "fieldLayout",
655
+ "type": "bytes32",
656
+ "internalType": "FieldLayout"
657
+ }
658
+ ],
659
+ "outputs": [],
660
+ "stateMutability": "nonpayable"
661
+ },
662
+ {
663
+ "type": "function",
664
+ "name": "setRecord",
665
+ "inputs": [
666
+ {
667
+ "name": "tableId",
668
+ "type": "bytes32",
669
+ "internalType": "ResourceId"
670
+ },
671
+ {
672
+ "name": "keyTuple",
673
+ "type": "bytes32[]",
674
+ "internalType": "bytes32[]"
675
+ },
676
+ {
677
+ "name": "staticData",
678
+ "type": "bytes",
679
+ "internalType": "bytes"
680
+ },
681
+ {
682
+ "name": "encodedLengths",
683
+ "type": "bytes32",
684
+ "internalType": "EncodedLengths"
685
+ },
686
+ {
687
+ "name": "dynamicData",
688
+ "type": "bytes",
689
+ "internalType": "bytes"
690
+ }
691
+ ],
692
+ "outputs": [],
693
+ "stateMutability": "nonpayable"
694
+ },
695
+ {
696
+ "type": "function",
697
+ "name": "setStaticField",
698
+ "inputs": [
699
+ {
700
+ "name": "tableId",
701
+ "type": "bytes32",
702
+ "internalType": "ResourceId"
703
+ },
704
+ {
705
+ "name": "keyTuple",
706
+ "type": "bytes32[]",
707
+ "internalType": "bytes32[]"
708
+ },
709
+ {
710
+ "name": "fieldIndex",
711
+ "type": "uint8",
712
+ "internalType": "uint8"
713
+ },
714
+ {
715
+ "name": "data",
716
+ "type": "bytes",
717
+ "internalType": "bytes"
718
+ },
719
+ {
720
+ "name": "fieldLayout",
721
+ "type": "bytes32",
722
+ "internalType": "FieldLayout"
723
+ }
724
+ ],
725
+ "outputs": [],
726
+ "stateMutability": "nonpayable"
727
+ },
728
+ {
729
+ "type": "function",
730
+ "name": "spliceDynamicData",
731
+ "inputs": [
732
+ {
733
+ "name": "tableId",
734
+ "type": "bytes32",
735
+ "internalType": "ResourceId"
736
+ },
737
+ {
738
+ "name": "keyTuple",
739
+ "type": "bytes32[]",
740
+ "internalType": "bytes32[]"
741
+ },
742
+ {
743
+ "name": "dynamicFieldIndex",
744
+ "type": "uint8",
745
+ "internalType": "uint8"
746
+ },
747
+ {
748
+ "name": "startWithinField",
749
+ "type": "uint40",
750
+ "internalType": "uint40"
751
+ },
752
+ {
753
+ "name": "deleteCount",
754
+ "type": "uint40",
755
+ "internalType": "uint40"
756
+ },
757
+ {
758
+ "name": "data",
759
+ "type": "bytes",
760
+ "internalType": "bytes"
761
+ }
762
+ ],
763
+ "outputs": [],
764
+ "stateMutability": "nonpayable"
765
+ },
766
+ {
767
+ "type": "function",
768
+ "name": "spliceStaticData",
769
+ "inputs": [
770
+ {
771
+ "name": "tableId",
772
+ "type": "bytes32",
773
+ "internalType": "ResourceId"
774
+ },
775
+ {
776
+ "name": "keyTuple",
777
+ "type": "bytes32[]",
778
+ "internalType": "bytes32[]"
779
+ },
780
+ {
781
+ "name": "start",
782
+ "type": "uint48",
783
+ "internalType": "uint48"
784
+ },
785
+ {
786
+ "name": "data",
787
+ "type": "bytes",
788
+ "internalType": "bytes"
789
+ }
790
+ ],
791
+ "outputs": [],
792
+ "stateMutability": "nonpayable"
793
+ },
794
+ {
795
+ "type": "function",
796
+ "name": "storeVersion",
797
+ "inputs": [],
798
+ "outputs": [
799
+ {
800
+ "name": "",
801
+ "type": "bytes32",
802
+ "internalType": "bytes32"
803
+ }
804
+ ],
805
+ "stateMutability": "pure"
806
+ },
807
+ {
808
+ "type": "function",
809
+ "name": "worldVersion",
810
+ "inputs": [],
811
+ "outputs": [
812
+ {
813
+ "name": "",
814
+ "type": "bytes32",
815
+ "internalType": "bytes32"
816
+ }
817
+ ],
818
+ "stateMutability": "pure"
819
+ },
820
+ {
821
+ "type": "event",
822
+ "name": "HelloStore",
823
+ "inputs": [
824
+ {
825
+ "name": "storeVersion",
826
+ "type": "bytes32",
827
+ "indexed": true,
828
+ "internalType": "bytes32"
829
+ }
830
+ ],
831
+ "anonymous": false
832
+ },
833
+ {
834
+ "type": "event",
835
+ "name": "HelloWorld",
836
+ "inputs": [
837
+ {
838
+ "name": "worldVersion",
839
+ "type": "bytes32",
840
+ "indexed": true,
841
+ "internalType": "bytes32"
842
+ }
843
+ ],
844
+ "anonymous": false
845
+ },
846
+ {
847
+ "type": "event",
848
+ "name": "Store_DeleteRecord",
849
+ "inputs": [
850
+ {
851
+ "name": "tableId",
852
+ "type": "bytes32",
853
+ "indexed": true,
854
+ "internalType": "ResourceId"
855
+ },
856
+ {
857
+ "name": "keyTuple",
858
+ "type": "bytes32[]",
859
+ "indexed": false,
860
+ "internalType": "bytes32[]"
861
+ }
862
+ ],
863
+ "anonymous": false
864
+ },
865
+ {
866
+ "type": "event",
867
+ "name": "Store_SetRecord",
868
+ "inputs": [
869
+ {
870
+ "name": "tableId",
871
+ "type": "bytes32",
872
+ "indexed": true,
873
+ "internalType": "ResourceId"
874
+ },
875
+ {
876
+ "name": "keyTuple",
877
+ "type": "bytes32[]",
878
+ "indexed": false,
879
+ "internalType": "bytes32[]"
880
+ },
881
+ {
882
+ "name": "staticData",
883
+ "type": "bytes",
884
+ "indexed": false,
885
+ "internalType": "bytes"
886
+ },
887
+ {
888
+ "name": "encodedLengths",
889
+ "type": "bytes32",
890
+ "indexed": false,
891
+ "internalType": "EncodedLengths"
892
+ },
893
+ {
894
+ "name": "dynamicData",
895
+ "type": "bytes",
896
+ "indexed": false,
897
+ "internalType": "bytes"
898
+ }
899
+ ],
900
+ "anonymous": false
901
+ },
902
+ {
903
+ "type": "event",
904
+ "name": "Store_SpliceDynamicData",
905
+ "inputs": [
906
+ {
907
+ "name": "tableId",
908
+ "type": "bytes32",
909
+ "indexed": true,
910
+ "internalType": "ResourceId"
911
+ },
912
+ {
913
+ "name": "keyTuple",
914
+ "type": "bytes32[]",
915
+ "indexed": false,
916
+ "internalType": "bytes32[]"
917
+ },
918
+ {
919
+ "name": "dynamicFieldIndex",
920
+ "type": "uint8",
921
+ "indexed": false,
922
+ "internalType": "uint8"
923
+ },
924
+ {
925
+ "name": "start",
926
+ "type": "uint48",
927
+ "indexed": false,
928
+ "internalType": "uint48"
929
+ },
930
+ {
931
+ "name": "deleteCount",
932
+ "type": "uint40",
933
+ "indexed": false,
934
+ "internalType": "uint40"
935
+ },
936
+ {
937
+ "name": "encodedLengths",
938
+ "type": "bytes32",
939
+ "indexed": false,
940
+ "internalType": "EncodedLengths"
941
+ },
942
+ {
943
+ "name": "data",
944
+ "type": "bytes",
945
+ "indexed": false,
946
+ "internalType": "bytes"
947
+ }
948
+ ],
949
+ "anonymous": false
950
+ },
951
+ {
952
+ "type": "event",
953
+ "name": "Store_SpliceStaticData",
954
+ "inputs": [
955
+ {
956
+ "name": "tableId",
957
+ "type": "bytes32",
958
+ "indexed": true,
959
+ "internalType": "ResourceId"
960
+ },
961
+ {
962
+ "name": "keyTuple",
963
+ "type": "bytes32[]",
964
+ "indexed": false,
965
+ "internalType": "bytes32[]"
966
+ },
967
+ {
968
+ "name": "start",
969
+ "type": "uint48",
970
+ "indexed": false,
971
+ "internalType": "uint48"
972
+ },
973
+ {
974
+ "name": "data",
975
+ "type": "bytes",
976
+ "indexed": false,
977
+ "internalType": "bytes"
978
+ }
979
+ ],
980
+ "anonymous": false
981
+ },
982
+ {
983
+ "type": "error",
984
+ "name": "EncodedLengths_InvalidLength",
985
+ "inputs": [
986
+ {
987
+ "name": "length",
988
+ "type": "uint256",
989
+ "internalType": "uint256"
990
+ }
991
+ ]
992
+ },
993
+ {
994
+ "type": "error",
995
+ "name": "FieldLayout_Empty",
996
+ "inputs": []
997
+ },
998
+ {
999
+ "type": "error",
1000
+ "name": "FieldLayout_InvalidStaticDataLength",
1001
+ "inputs": [
1002
+ {
1003
+ "name": "staticDataLength",
1004
+ "type": "uint256",
1005
+ "internalType": "uint256"
1006
+ },
1007
+ {
1008
+ "name": "computedStaticDataLength",
1009
+ "type": "uint256",
1010
+ "internalType": "uint256"
1011
+ }
1012
+ ]
1013
+ },
1014
+ {
1015
+ "type": "error",
1016
+ "name": "FieldLayout_StaticLengthDoesNotFitInAWord",
1017
+ "inputs": [
1018
+ {
1019
+ "name": "index",
1020
+ "type": "uint256",
1021
+ "internalType": "uint256"
1022
+ }
1023
+ ]
1024
+ },
1025
+ {
1026
+ "type": "error",
1027
+ "name": "FieldLayout_StaticLengthIsNotZero",
1028
+ "inputs": [
1029
+ {
1030
+ "name": "index",
1031
+ "type": "uint256",
1032
+ "internalType": "uint256"
1033
+ }
1034
+ ]
1035
+ },
1036
+ {
1037
+ "type": "error",
1038
+ "name": "FieldLayout_StaticLengthIsZero",
1039
+ "inputs": [
1040
+ {
1041
+ "name": "index",
1042
+ "type": "uint256",
1043
+ "internalType": "uint256"
1044
+ }
1045
+ ]
1046
+ },
1047
+ {
1048
+ "type": "error",
1049
+ "name": "FieldLayout_TooManyDynamicFields",
1050
+ "inputs": [
1051
+ {
1052
+ "name": "numFields",
1053
+ "type": "uint256",
1054
+ "internalType": "uint256"
1055
+ },
1056
+ {
1057
+ "name": "maxFields",
1058
+ "type": "uint256",
1059
+ "internalType": "uint256"
1060
+ }
1061
+ ]
1062
+ },
1063
+ {
1064
+ "type": "error",
1065
+ "name": "FieldLayout_TooManyFields",
1066
+ "inputs": [
1067
+ {
1068
+ "name": "numFields",
1069
+ "type": "uint256",
1070
+ "internalType": "uint256"
1071
+ },
1072
+ {
1073
+ "name": "maxFields",
1074
+ "type": "uint256",
1075
+ "internalType": "uint256"
1076
+ }
1077
+ ]
1078
+ },
1079
+ {
1080
+ "type": "error",
1081
+ "name": "Module_AlreadyInstalled",
1082
+ "inputs": []
1083
+ },
1084
+ {
1085
+ "type": "error",
1086
+ "name": "Module_MissingDependency",
1087
+ "inputs": [
1088
+ {
1089
+ "name": "dependency",
1090
+ "type": "address",
1091
+ "internalType": "address"
1092
+ }
1093
+ ]
1094
+ },
1095
+ {
1096
+ "type": "error",
1097
+ "name": "Module_NonRootInstallNotSupported",
1098
+ "inputs": []
1099
+ },
1100
+ {
1101
+ "type": "error",
1102
+ "name": "Module_RootInstallNotSupported",
1103
+ "inputs": []
1104
+ },
1105
+ {
1106
+ "type": "error",
1107
+ "name": "Schema_InvalidLength",
1108
+ "inputs": [
1109
+ {
1110
+ "name": "length",
1111
+ "type": "uint256",
1112
+ "internalType": "uint256"
1113
+ }
1114
+ ]
1115
+ },
1116
+ {
1117
+ "type": "error",
1118
+ "name": "Schema_StaticTypeAfterDynamicType",
1119
+ "inputs": []
1120
+ },
1121
+ {
1122
+ "type": "error",
1123
+ "name": "Slice_OutOfBounds",
1124
+ "inputs": [
1125
+ {
1126
+ "name": "data",
1127
+ "type": "bytes",
1128
+ "internalType": "bytes"
1129
+ },
1130
+ {
1131
+ "name": "start",
1132
+ "type": "uint256",
1133
+ "internalType": "uint256"
1134
+ },
1135
+ {
1136
+ "name": "end",
1137
+ "type": "uint256",
1138
+ "internalType": "uint256"
1139
+ }
1140
+ ]
1141
+ },
1142
+ {
1143
+ "type": "error",
1144
+ "name": "Store_IndexOutOfBounds",
1145
+ "inputs": [
1146
+ {
1147
+ "name": "length",
1148
+ "type": "uint256",
1149
+ "internalType": "uint256"
1150
+ },
1151
+ {
1152
+ "name": "accessedIndex",
1153
+ "type": "uint256",
1154
+ "internalType": "uint256"
1155
+ }
1156
+ ]
1157
+ },
1158
+ {
1159
+ "type": "error",
1160
+ "name": "Store_InvalidBounds",
1161
+ "inputs": [
1162
+ {
1163
+ "name": "start",
1164
+ "type": "uint256",
1165
+ "internalType": "uint256"
1166
+ },
1167
+ {
1168
+ "name": "end",
1169
+ "type": "uint256",
1170
+ "internalType": "uint256"
1171
+ }
1172
+ ]
1173
+ },
1174
+ {
1175
+ "type": "error",
1176
+ "name": "Store_InvalidFieldNamesLength",
1177
+ "inputs": [
1178
+ {
1179
+ "name": "expected",
1180
+ "type": "uint256",
1181
+ "internalType": "uint256"
1182
+ },
1183
+ {
1184
+ "name": "received",
1185
+ "type": "uint256",
1186
+ "internalType": "uint256"
1187
+ }
1188
+ ]
1189
+ },
1190
+ {
1191
+ "type": "error",
1192
+ "name": "Store_InvalidKeyNamesLength",
1193
+ "inputs": [
1194
+ {
1195
+ "name": "expected",
1196
+ "type": "uint256",
1197
+ "internalType": "uint256"
1198
+ },
1199
+ {
1200
+ "name": "received",
1201
+ "type": "uint256",
1202
+ "internalType": "uint256"
1203
+ }
1204
+ ]
1205
+ },
1206
+ {
1207
+ "type": "error",
1208
+ "name": "Store_InvalidResourceType",
1209
+ "inputs": [
1210
+ {
1211
+ "name": "expected",
1212
+ "type": "bytes2",
1213
+ "internalType": "bytes2"
1214
+ },
1215
+ {
1216
+ "name": "resourceId",
1217
+ "type": "bytes32",
1218
+ "internalType": "ResourceId"
1219
+ },
1220
+ {
1221
+ "name": "resourceIdString",
1222
+ "type": "string",
1223
+ "internalType": "string"
1224
+ }
1225
+ ]
1226
+ },
1227
+ {
1228
+ "type": "error",
1229
+ "name": "Store_InvalidSplice",
1230
+ "inputs": [
1231
+ {
1232
+ "name": "startWithinField",
1233
+ "type": "uint40",
1234
+ "internalType": "uint40"
1235
+ },
1236
+ {
1237
+ "name": "deleteCount",
1238
+ "type": "uint40",
1239
+ "internalType": "uint40"
1240
+ },
1241
+ {
1242
+ "name": "fieldLength",
1243
+ "type": "uint40",
1244
+ "internalType": "uint40"
1245
+ }
1246
+ ]
1247
+ },
1248
+ {
1249
+ "type": "error",
1250
+ "name": "Store_InvalidStaticDataLength",
1251
+ "inputs": [
1252
+ {
1253
+ "name": "expected",
1254
+ "type": "uint256",
1255
+ "internalType": "uint256"
1256
+ },
1257
+ {
1258
+ "name": "received",
1259
+ "type": "uint256",
1260
+ "internalType": "uint256"
1261
+ }
1262
+ ]
1263
+ },
1264
+ {
1265
+ "type": "error",
1266
+ "name": "Store_InvalidValueSchemaDynamicLength",
1267
+ "inputs": [
1268
+ {
1269
+ "name": "expected",
1270
+ "type": "uint256",
1271
+ "internalType": "uint256"
1272
+ },
1273
+ {
1274
+ "name": "received",
1275
+ "type": "uint256",
1276
+ "internalType": "uint256"
1277
+ }
1278
+ ]
1279
+ },
1280
+ {
1281
+ "type": "error",
1282
+ "name": "Store_InvalidValueSchemaLength",
1283
+ "inputs": [
1284
+ {
1285
+ "name": "expected",
1286
+ "type": "uint256",
1287
+ "internalType": "uint256"
1288
+ },
1289
+ {
1290
+ "name": "received",
1291
+ "type": "uint256",
1292
+ "internalType": "uint256"
1293
+ }
1294
+ ]
1295
+ },
1296
+ {
1297
+ "type": "error",
1298
+ "name": "Store_InvalidValueSchemaStaticLength",
1299
+ "inputs": [
1300
+ {
1301
+ "name": "expected",
1302
+ "type": "uint256",
1303
+ "internalType": "uint256"
1304
+ },
1305
+ {
1306
+ "name": "received",
1307
+ "type": "uint256",
1308
+ "internalType": "uint256"
1309
+ }
1310
+ ]
1311
+ },
1312
+ {
1313
+ "type": "error",
1314
+ "name": "Store_TableAlreadyExists",
1315
+ "inputs": [
1316
+ {
1317
+ "name": "tableId",
1318
+ "type": "bytes32",
1319
+ "internalType": "ResourceId"
1320
+ },
1321
+ {
1322
+ "name": "tableIdString",
1323
+ "type": "string",
1324
+ "internalType": "string"
1325
+ }
1326
+ ]
1327
+ },
1328
+ {
1329
+ "type": "error",
1330
+ "name": "Store_TableNotFound",
1331
+ "inputs": [
1332
+ {
1333
+ "name": "tableId",
1334
+ "type": "bytes32",
1335
+ "internalType": "ResourceId"
1336
+ },
1337
+ {
1338
+ "name": "tableIdString",
1339
+ "type": "string",
1340
+ "internalType": "string"
1341
+ }
1342
+ ]
1343
+ },
1344
+ {
1345
+ "type": "error",
1346
+ "name": "World_AccessDenied",
1347
+ "inputs": [
1348
+ {
1349
+ "name": "resource",
1350
+ "type": "string",
1351
+ "internalType": "string"
1352
+ },
1353
+ {
1354
+ "name": "caller",
1355
+ "type": "address",
1356
+ "internalType": "address"
1357
+ }
1358
+ ]
1359
+ },
1360
+ {
1361
+ "type": "error",
1362
+ "name": "World_AlreadyInitialized",
1363
+ "inputs": []
1364
+ },
1365
+ {
1366
+ "type": "error",
1367
+ "name": "World_CallbackNotAllowed",
1368
+ "inputs": [
1369
+ {
1370
+ "name": "functionSelector",
1371
+ "type": "bytes4",
1372
+ "internalType": "bytes4"
1373
+ }
1374
+ ]
1375
+ },
1376
+ {
1377
+ "type": "error",
1378
+ "name": "World_DelegationNotFound",
1379
+ "inputs": [
1380
+ {
1381
+ "name": "delegator",
1382
+ "type": "address",
1383
+ "internalType": "address"
1384
+ },
1385
+ {
1386
+ "name": "delegatee",
1387
+ "type": "address",
1388
+ "internalType": "address"
1389
+ }
1390
+ ]
1391
+ },
1392
+ {
1393
+ "type": "error",
1394
+ "name": "World_FunctionSelectorAlreadyExists",
1395
+ "inputs": [
1396
+ {
1397
+ "name": "functionSelector",
1398
+ "type": "bytes4",
1399
+ "internalType": "bytes4"
1400
+ }
1401
+ ]
1402
+ },
1403
+ {
1404
+ "type": "error",
1405
+ "name": "World_FunctionSelectorNotFound",
1406
+ "inputs": [
1407
+ {
1408
+ "name": "functionSelector",
1409
+ "type": "bytes4",
1410
+ "internalType": "bytes4"
1411
+ }
1412
+ ]
1413
+ },
1414
+ {
1415
+ "type": "error",
1416
+ "name": "World_InsufficientBalance",
1417
+ "inputs": [
1418
+ {
1419
+ "name": "balance",
1420
+ "type": "uint256",
1421
+ "internalType": "uint256"
1422
+ },
1423
+ {
1424
+ "name": "amount",
1425
+ "type": "uint256",
1426
+ "internalType": "uint256"
1427
+ }
1428
+ ]
1429
+ },
1430
+ {
1431
+ "type": "error",
1432
+ "name": "World_InterfaceNotSupported",
1433
+ "inputs": [
1434
+ {
1435
+ "name": "contractAddress",
1436
+ "type": "address",
1437
+ "internalType": "address"
1438
+ },
1439
+ {
1440
+ "name": "interfaceId",
1441
+ "type": "bytes4",
1442
+ "internalType": "bytes4"
1443
+ }
1444
+ ]
1445
+ },
1446
+ {
1447
+ "type": "error",
1448
+ "name": "World_InvalidNamespace",
1449
+ "inputs": [
1450
+ {
1451
+ "name": "namespace",
1452
+ "type": "bytes14",
1453
+ "internalType": "bytes14"
1454
+ }
1455
+ ]
1456
+ },
1457
+ {
1458
+ "type": "error",
1459
+ "name": "World_InvalidResourceId",
1460
+ "inputs": [
1461
+ {
1462
+ "name": "resourceId",
1463
+ "type": "bytes32",
1464
+ "internalType": "ResourceId"
1465
+ },
1466
+ {
1467
+ "name": "resourceIdString",
1468
+ "type": "string",
1469
+ "internalType": "string"
1470
+ }
1471
+ ]
1472
+ },
1473
+ {
1474
+ "type": "error",
1475
+ "name": "World_InvalidResourceType",
1476
+ "inputs": [
1477
+ {
1478
+ "name": "expected",
1479
+ "type": "bytes2",
1480
+ "internalType": "bytes2"
1481
+ },
1482
+ {
1483
+ "name": "resourceId",
1484
+ "type": "bytes32",
1485
+ "internalType": "ResourceId"
1486
+ },
1487
+ {
1488
+ "name": "resourceIdString",
1489
+ "type": "string",
1490
+ "internalType": "string"
1491
+ }
1492
+ ]
1493
+ },
1494
+ {
1495
+ "type": "error",
1496
+ "name": "World_ResourceAlreadyExists",
1497
+ "inputs": [
1498
+ {
1499
+ "name": "resourceId",
1500
+ "type": "bytes32",
1501
+ "internalType": "ResourceId"
1502
+ },
1503
+ {
1504
+ "name": "resourceIdString",
1505
+ "type": "string",
1506
+ "internalType": "string"
1507
+ }
1508
+ ]
1509
+ },
1510
+ {
1511
+ "type": "error",
1512
+ "name": "World_ResourceNotFound",
1513
+ "inputs": [
1514
+ {
1515
+ "name": "resourceId",
1516
+ "type": "bytes32",
1517
+ "internalType": "ResourceId"
1518
+ },
1519
+ {
1520
+ "name": "resourceIdString",
1521
+ "type": "string",
1522
+ "internalType": "string"
1523
+ }
1524
+ ]
1525
+ },
1526
+ {
1527
+ "type": "error",
1528
+ "name": "World_SystemAlreadyExists",
1529
+ "inputs": [
1530
+ {
1531
+ "name": "system",
1532
+ "type": "address",
1533
+ "internalType": "address"
1534
+ }
1535
+ ]
1536
+ },
1537
+ {
1538
+ "type": "error",
1539
+ "name": "World_UnlimitedDelegationNotAllowed",
1540
+ "inputs": []
1541
+ }
1542
+ ]