@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,1020 @@
1
+ declare const abi: [
2
+ {
3
+ "type": "function",
4
+ "name": "_msgSender",
5
+ "inputs": [],
6
+ "outputs": [
7
+ {
8
+ "name": "sender",
9
+ "type": "address",
10
+ "internalType": "address"
11
+ }
12
+ ],
13
+ "stateMutability": "view"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "_msgValue",
18
+ "inputs": [],
19
+ "outputs": [
20
+ {
21
+ "name": "value",
22
+ "type": "uint256",
23
+ "internalType": "uint256"
24
+ }
25
+ ],
26
+ "stateMutability": "view"
27
+ },
28
+ {
29
+ "type": "function",
30
+ "name": "_world",
31
+ "inputs": [],
32
+ "outputs": [
33
+ {
34
+ "name": "",
35
+ "type": "address",
36
+ "internalType": "address"
37
+ }
38
+ ],
39
+ "stateMutability": "view"
40
+ },
41
+ {
42
+ "type": "function",
43
+ "name": "installModule",
44
+ "inputs": [
45
+ {
46
+ "name": "module",
47
+ "type": "address",
48
+ "internalType": "contract IModule"
49
+ },
50
+ {
51
+ "name": "encodedArgs",
52
+ "type": "bytes",
53
+ "internalType": "bytes"
54
+ }
55
+ ],
56
+ "outputs": [],
57
+ "stateMutability": "nonpayable"
58
+ },
59
+ {
60
+ "type": "function",
61
+ "name": "registerDelegation",
62
+ "inputs": [
63
+ {
64
+ "name": "delegatee",
65
+ "type": "address",
66
+ "internalType": "address"
67
+ },
68
+ {
69
+ "name": "delegationControlId",
70
+ "type": "bytes32",
71
+ "internalType": "ResourceId"
72
+ },
73
+ {
74
+ "name": "initCallData",
75
+ "type": "bytes",
76
+ "internalType": "bytes"
77
+ }
78
+ ],
79
+ "outputs": [],
80
+ "stateMutability": "nonpayable"
81
+ },
82
+ {
83
+ "type": "function",
84
+ "name": "registerFunctionSelector",
85
+ "inputs": [
86
+ {
87
+ "name": "systemId",
88
+ "type": "bytes32",
89
+ "internalType": "ResourceId"
90
+ },
91
+ {
92
+ "name": "systemFunctionSignature",
93
+ "type": "string",
94
+ "internalType": "string"
95
+ }
96
+ ],
97
+ "outputs": [
98
+ {
99
+ "name": "worldFunctionSelector",
100
+ "type": "bytes4",
101
+ "internalType": "bytes4"
102
+ }
103
+ ],
104
+ "stateMutability": "nonpayable"
105
+ },
106
+ {
107
+ "type": "function",
108
+ "name": "registerNamespace",
109
+ "inputs": [
110
+ {
111
+ "name": "namespaceId",
112
+ "type": "bytes32",
113
+ "internalType": "ResourceId"
114
+ }
115
+ ],
116
+ "outputs": [],
117
+ "stateMutability": "nonpayable"
118
+ },
119
+ {
120
+ "type": "function",
121
+ "name": "registerNamespaceDelegation",
122
+ "inputs": [
123
+ {
124
+ "name": "namespaceId",
125
+ "type": "bytes32",
126
+ "internalType": "ResourceId"
127
+ },
128
+ {
129
+ "name": "delegationControlId",
130
+ "type": "bytes32",
131
+ "internalType": "ResourceId"
132
+ },
133
+ {
134
+ "name": "initCallData",
135
+ "type": "bytes",
136
+ "internalType": "bytes"
137
+ }
138
+ ],
139
+ "outputs": [],
140
+ "stateMutability": "nonpayable"
141
+ },
142
+ {
143
+ "type": "function",
144
+ "name": "registerRootFunctionSelector",
145
+ "inputs": [
146
+ {
147
+ "name": "systemId",
148
+ "type": "bytes32",
149
+ "internalType": "ResourceId"
150
+ },
151
+ {
152
+ "name": "worldFunctionSignature",
153
+ "type": "string",
154
+ "internalType": "string"
155
+ },
156
+ {
157
+ "name": "systemFunctionSignature",
158
+ "type": "string",
159
+ "internalType": "string"
160
+ }
161
+ ],
162
+ "outputs": [
163
+ {
164
+ "name": "worldFunctionSelector",
165
+ "type": "bytes4",
166
+ "internalType": "bytes4"
167
+ }
168
+ ],
169
+ "stateMutability": "nonpayable"
170
+ },
171
+ {
172
+ "type": "function",
173
+ "name": "registerStoreHook",
174
+ "inputs": [
175
+ {
176
+ "name": "tableId",
177
+ "type": "bytes32",
178
+ "internalType": "ResourceId"
179
+ },
180
+ {
181
+ "name": "hookAddress",
182
+ "type": "address",
183
+ "internalType": "contract IStoreHook"
184
+ },
185
+ {
186
+ "name": "enabledHooksBitmap",
187
+ "type": "uint8",
188
+ "internalType": "uint8"
189
+ }
190
+ ],
191
+ "outputs": [],
192
+ "stateMutability": "nonpayable"
193
+ },
194
+ {
195
+ "type": "function",
196
+ "name": "registerSystem",
197
+ "inputs": [
198
+ {
199
+ "name": "systemId",
200
+ "type": "bytes32",
201
+ "internalType": "ResourceId"
202
+ },
203
+ {
204
+ "name": "system",
205
+ "type": "address",
206
+ "internalType": "contract System"
207
+ },
208
+ {
209
+ "name": "publicAccess",
210
+ "type": "bool",
211
+ "internalType": "bool"
212
+ }
213
+ ],
214
+ "outputs": [],
215
+ "stateMutability": "nonpayable"
216
+ },
217
+ {
218
+ "type": "function",
219
+ "name": "registerSystemHook",
220
+ "inputs": [
221
+ {
222
+ "name": "systemId",
223
+ "type": "bytes32",
224
+ "internalType": "ResourceId"
225
+ },
226
+ {
227
+ "name": "hookAddress",
228
+ "type": "address",
229
+ "internalType": "contract ISystemHook"
230
+ },
231
+ {
232
+ "name": "enabledHooksBitmap",
233
+ "type": "uint8",
234
+ "internalType": "uint8"
235
+ }
236
+ ],
237
+ "outputs": [],
238
+ "stateMutability": "nonpayable"
239
+ },
240
+ {
241
+ "type": "function",
242
+ "name": "registerTable",
243
+ "inputs": [
244
+ {
245
+ "name": "tableId",
246
+ "type": "bytes32",
247
+ "internalType": "ResourceId"
248
+ },
249
+ {
250
+ "name": "fieldLayout",
251
+ "type": "bytes32",
252
+ "internalType": "FieldLayout"
253
+ },
254
+ {
255
+ "name": "keySchema",
256
+ "type": "bytes32",
257
+ "internalType": "Schema"
258
+ },
259
+ {
260
+ "name": "valueSchema",
261
+ "type": "bytes32",
262
+ "internalType": "Schema"
263
+ },
264
+ {
265
+ "name": "keyNames",
266
+ "type": "string[]",
267
+ "internalType": "string[]"
268
+ },
269
+ {
270
+ "name": "fieldNames",
271
+ "type": "string[]",
272
+ "internalType": "string[]"
273
+ }
274
+ ],
275
+ "outputs": [],
276
+ "stateMutability": "nonpayable"
277
+ },
278
+ {
279
+ "type": "function",
280
+ "name": "supportsInterface",
281
+ "inputs": [
282
+ {
283
+ "name": "interfaceId",
284
+ "type": "bytes4",
285
+ "internalType": "bytes4"
286
+ }
287
+ ],
288
+ "outputs": [
289
+ {
290
+ "name": "",
291
+ "type": "bool",
292
+ "internalType": "bool"
293
+ }
294
+ ],
295
+ "stateMutability": "pure"
296
+ },
297
+ {
298
+ "type": "function",
299
+ "name": "unregisterDelegation",
300
+ "inputs": [
301
+ {
302
+ "name": "delegatee",
303
+ "type": "address",
304
+ "internalType": "address"
305
+ }
306
+ ],
307
+ "outputs": [],
308
+ "stateMutability": "nonpayable"
309
+ },
310
+ {
311
+ "type": "function",
312
+ "name": "unregisterNamespaceDelegation",
313
+ "inputs": [
314
+ {
315
+ "name": "namespaceId",
316
+ "type": "bytes32",
317
+ "internalType": "ResourceId"
318
+ }
319
+ ],
320
+ "outputs": [],
321
+ "stateMutability": "nonpayable"
322
+ },
323
+ {
324
+ "type": "function",
325
+ "name": "unregisterStoreHook",
326
+ "inputs": [
327
+ {
328
+ "name": "tableId",
329
+ "type": "bytes32",
330
+ "internalType": "ResourceId"
331
+ },
332
+ {
333
+ "name": "hookAddress",
334
+ "type": "address",
335
+ "internalType": "contract IStoreHook"
336
+ }
337
+ ],
338
+ "outputs": [],
339
+ "stateMutability": "nonpayable"
340
+ },
341
+ {
342
+ "type": "function",
343
+ "name": "unregisterSystemHook",
344
+ "inputs": [
345
+ {
346
+ "name": "systemId",
347
+ "type": "bytes32",
348
+ "internalType": "ResourceId"
349
+ },
350
+ {
351
+ "name": "hookAddress",
352
+ "type": "address",
353
+ "internalType": "contract ISystemHook"
354
+ }
355
+ ],
356
+ "outputs": [],
357
+ "stateMutability": "nonpayable"
358
+ },
359
+ {
360
+ "type": "event",
361
+ "name": "Store_DeleteRecord",
362
+ "inputs": [
363
+ {
364
+ "name": "tableId",
365
+ "type": "bytes32",
366
+ "indexed": true,
367
+ "internalType": "ResourceId"
368
+ },
369
+ {
370
+ "name": "keyTuple",
371
+ "type": "bytes32[]",
372
+ "indexed": false,
373
+ "internalType": "bytes32[]"
374
+ }
375
+ ],
376
+ "anonymous": false
377
+ },
378
+ {
379
+ "type": "event",
380
+ "name": "Store_SetRecord",
381
+ "inputs": [
382
+ {
383
+ "name": "tableId",
384
+ "type": "bytes32",
385
+ "indexed": true,
386
+ "internalType": "ResourceId"
387
+ },
388
+ {
389
+ "name": "keyTuple",
390
+ "type": "bytes32[]",
391
+ "indexed": false,
392
+ "internalType": "bytes32[]"
393
+ },
394
+ {
395
+ "name": "staticData",
396
+ "type": "bytes",
397
+ "indexed": false,
398
+ "internalType": "bytes"
399
+ },
400
+ {
401
+ "name": "encodedLengths",
402
+ "type": "bytes32",
403
+ "indexed": false,
404
+ "internalType": "EncodedLengths"
405
+ },
406
+ {
407
+ "name": "dynamicData",
408
+ "type": "bytes",
409
+ "indexed": false,
410
+ "internalType": "bytes"
411
+ }
412
+ ],
413
+ "anonymous": false
414
+ },
415
+ {
416
+ "type": "event",
417
+ "name": "Store_SpliceDynamicData",
418
+ "inputs": [
419
+ {
420
+ "name": "tableId",
421
+ "type": "bytes32",
422
+ "indexed": true,
423
+ "internalType": "ResourceId"
424
+ },
425
+ {
426
+ "name": "keyTuple",
427
+ "type": "bytes32[]",
428
+ "indexed": false,
429
+ "internalType": "bytes32[]"
430
+ },
431
+ {
432
+ "name": "dynamicFieldIndex",
433
+ "type": "uint8",
434
+ "indexed": false,
435
+ "internalType": "uint8"
436
+ },
437
+ {
438
+ "name": "start",
439
+ "type": "uint48",
440
+ "indexed": false,
441
+ "internalType": "uint48"
442
+ },
443
+ {
444
+ "name": "deleteCount",
445
+ "type": "uint40",
446
+ "indexed": false,
447
+ "internalType": "uint40"
448
+ },
449
+ {
450
+ "name": "encodedLengths",
451
+ "type": "bytes32",
452
+ "indexed": false,
453
+ "internalType": "EncodedLengths"
454
+ },
455
+ {
456
+ "name": "data",
457
+ "type": "bytes",
458
+ "indexed": false,
459
+ "internalType": "bytes"
460
+ }
461
+ ],
462
+ "anonymous": false
463
+ },
464
+ {
465
+ "type": "event",
466
+ "name": "Store_SpliceStaticData",
467
+ "inputs": [
468
+ {
469
+ "name": "tableId",
470
+ "type": "bytes32",
471
+ "indexed": true,
472
+ "internalType": "ResourceId"
473
+ },
474
+ {
475
+ "name": "keyTuple",
476
+ "type": "bytes32[]",
477
+ "indexed": false,
478
+ "internalType": "bytes32[]"
479
+ },
480
+ {
481
+ "name": "start",
482
+ "type": "uint48",
483
+ "indexed": false,
484
+ "internalType": "uint48"
485
+ },
486
+ {
487
+ "name": "data",
488
+ "type": "bytes",
489
+ "indexed": false,
490
+ "internalType": "bytes"
491
+ }
492
+ ],
493
+ "anonymous": false
494
+ },
495
+ {
496
+ "type": "error",
497
+ "name": "EncodedLengths_InvalidLength",
498
+ "inputs": [
499
+ {
500
+ "name": "length",
501
+ "type": "uint256",
502
+ "internalType": "uint256"
503
+ }
504
+ ]
505
+ },
506
+ {
507
+ "type": "error",
508
+ "name": "FieldLayout_Empty",
509
+ "inputs": []
510
+ },
511
+ {
512
+ "type": "error",
513
+ "name": "FieldLayout_InvalidStaticDataLength",
514
+ "inputs": [
515
+ {
516
+ "name": "staticDataLength",
517
+ "type": "uint256",
518
+ "internalType": "uint256"
519
+ },
520
+ {
521
+ "name": "computedStaticDataLength",
522
+ "type": "uint256",
523
+ "internalType": "uint256"
524
+ }
525
+ ]
526
+ },
527
+ {
528
+ "type": "error",
529
+ "name": "FieldLayout_StaticLengthDoesNotFitInAWord",
530
+ "inputs": [
531
+ {
532
+ "name": "index",
533
+ "type": "uint256",
534
+ "internalType": "uint256"
535
+ }
536
+ ]
537
+ },
538
+ {
539
+ "type": "error",
540
+ "name": "FieldLayout_StaticLengthIsNotZero",
541
+ "inputs": [
542
+ {
543
+ "name": "index",
544
+ "type": "uint256",
545
+ "internalType": "uint256"
546
+ }
547
+ ]
548
+ },
549
+ {
550
+ "type": "error",
551
+ "name": "FieldLayout_StaticLengthIsZero",
552
+ "inputs": [
553
+ {
554
+ "name": "index",
555
+ "type": "uint256",
556
+ "internalType": "uint256"
557
+ }
558
+ ]
559
+ },
560
+ {
561
+ "type": "error",
562
+ "name": "FieldLayout_TooManyDynamicFields",
563
+ "inputs": [
564
+ {
565
+ "name": "numFields",
566
+ "type": "uint256",
567
+ "internalType": "uint256"
568
+ },
569
+ {
570
+ "name": "maxFields",
571
+ "type": "uint256",
572
+ "internalType": "uint256"
573
+ }
574
+ ]
575
+ },
576
+ {
577
+ "type": "error",
578
+ "name": "FieldLayout_TooManyFields",
579
+ "inputs": [
580
+ {
581
+ "name": "numFields",
582
+ "type": "uint256",
583
+ "internalType": "uint256"
584
+ },
585
+ {
586
+ "name": "maxFields",
587
+ "type": "uint256",
588
+ "internalType": "uint256"
589
+ }
590
+ ]
591
+ },
592
+ {
593
+ "type": "error",
594
+ "name": "Schema_InvalidLength",
595
+ "inputs": [
596
+ {
597
+ "name": "length",
598
+ "type": "uint256",
599
+ "internalType": "uint256"
600
+ }
601
+ ]
602
+ },
603
+ {
604
+ "type": "error",
605
+ "name": "Schema_StaticTypeAfterDynamicType",
606
+ "inputs": []
607
+ },
608
+ {
609
+ "type": "error",
610
+ "name": "Slice_OutOfBounds",
611
+ "inputs": [
612
+ {
613
+ "name": "data",
614
+ "type": "bytes",
615
+ "internalType": "bytes"
616
+ },
617
+ {
618
+ "name": "start",
619
+ "type": "uint256",
620
+ "internalType": "uint256"
621
+ },
622
+ {
623
+ "name": "end",
624
+ "type": "uint256",
625
+ "internalType": "uint256"
626
+ }
627
+ ]
628
+ },
629
+ {
630
+ "type": "error",
631
+ "name": "Store_IndexOutOfBounds",
632
+ "inputs": [
633
+ {
634
+ "name": "length",
635
+ "type": "uint256",
636
+ "internalType": "uint256"
637
+ },
638
+ {
639
+ "name": "accessedIndex",
640
+ "type": "uint256",
641
+ "internalType": "uint256"
642
+ }
643
+ ]
644
+ },
645
+ {
646
+ "type": "error",
647
+ "name": "Store_InvalidFieldNamesLength",
648
+ "inputs": [
649
+ {
650
+ "name": "expected",
651
+ "type": "uint256",
652
+ "internalType": "uint256"
653
+ },
654
+ {
655
+ "name": "received",
656
+ "type": "uint256",
657
+ "internalType": "uint256"
658
+ }
659
+ ]
660
+ },
661
+ {
662
+ "type": "error",
663
+ "name": "Store_InvalidKeyNamesLength",
664
+ "inputs": [
665
+ {
666
+ "name": "expected",
667
+ "type": "uint256",
668
+ "internalType": "uint256"
669
+ },
670
+ {
671
+ "name": "received",
672
+ "type": "uint256",
673
+ "internalType": "uint256"
674
+ }
675
+ ]
676
+ },
677
+ {
678
+ "type": "error",
679
+ "name": "Store_InvalidResourceType",
680
+ "inputs": [
681
+ {
682
+ "name": "expected",
683
+ "type": "bytes2",
684
+ "internalType": "bytes2"
685
+ },
686
+ {
687
+ "name": "resourceId",
688
+ "type": "bytes32",
689
+ "internalType": "ResourceId"
690
+ },
691
+ {
692
+ "name": "resourceIdString",
693
+ "type": "string",
694
+ "internalType": "string"
695
+ }
696
+ ]
697
+ },
698
+ {
699
+ "type": "error",
700
+ "name": "Store_InvalidSplice",
701
+ "inputs": [
702
+ {
703
+ "name": "startWithinField",
704
+ "type": "uint40",
705
+ "internalType": "uint40"
706
+ },
707
+ {
708
+ "name": "deleteCount",
709
+ "type": "uint40",
710
+ "internalType": "uint40"
711
+ },
712
+ {
713
+ "name": "fieldLength",
714
+ "type": "uint40",
715
+ "internalType": "uint40"
716
+ }
717
+ ]
718
+ },
719
+ {
720
+ "type": "error",
721
+ "name": "Store_InvalidStaticDataLength",
722
+ "inputs": [
723
+ {
724
+ "name": "expected",
725
+ "type": "uint256",
726
+ "internalType": "uint256"
727
+ },
728
+ {
729
+ "name": "received",
730
+ "type": "uint256",
731
+ "internalType": "uint256"
732
+ }
733
+ ]
734
+ },
735
+ {
736
+ "type": "error",
737
+ "name": "Store_InvalidValueSchemaDynamicLength",
738
+ "inputs": [
739
+ {
740
+ "name": "expected",
741
+ "type": "uint256",
742
+ "internalType": "uint256"
743
+ },
744
+ {
745
+ "name": "received",
746
+ "type": "uint256",
747
+ "internalType": "uint256"
748
+ }
749
+ ]
750
+ },
751
+ {
752
+ "type": "error",
753
+ "name": "Store_InvalidValueSchemaLength",
754
+ "inputs": [
755
+ {
756
+ "name": "expected",
757
+ "type": "uint256",
758
+ "internalType": "uint256"
759
+ },
760
+ {
761
+ "name": "received",
762
+ "type": "uint256",
763
+ "internalType": "uint256"
764
+ }
765
+ ]
766
+ },
767
+ {
768
+ "type": "error",
769
+ "name": "Store_InvalidValueSchemaStaticLength",
770
+ "inputs": [
771
+ {
772
+ "name": "expected",
773
+ "type": "uint256",
774
+ "internalType": "uint256"
775
+ },
776
+ {
777
+ "name": "received",
778
+ "type": "uint256",
779
+ "internalType": "uint256"
780
+ }
781
+ ]
782
+ },
783
+ {
784
+ "type": "error",
785
+ "name": "Store_TableAlreadyExists",
786
+ "inputs": [
787
+ {
788
+ "name": "tableId",
789
+ "type": "bytes32",
790
+ "internalType": "ResourceId"
791
+ },
792
+ {
793
+ "name": "tableIdString",
794
+ "type": "string",
795
+ "internalType": "string"
796
+ }
797
+ ]
798
+ },
799
+ {
800
+ "type": "error",
801
+ "name": "Store_TableNotFound",
802
+ "inputs": [
803
+ {
804
+ "name": "tableId",
805
+ "type": "bytes32",
806
+ "internalType": "ResourceId"
807
+ },
808
+ {
809
+ "name": "tableIdString",
810
+ "type": "string",
811
+ "internalType": "string"
812
+ }
813
+ ]
814
+ },
815
+ {
816
+ "type": "error",
817
+ "name": "UnauthorizedCallContext",
818
+ "inputs": []
819
+ },
820
+ {
821
+ "type": "error",
822
+ "name": "World_AccessDenied",
823
+ "inputs": [
824
+ {
825
+ "name": "resource",
826
+ "type": "string",
827
+ "internalType": "string"
828
+ },
829
+ {
830
+ "name": "caller",
831
+ "type": "address",
832
+ "internalType": "address"
833
+ }
834
+ ]
835
+ },
836
+ {
837
+ "type": "error",
838
+ "name": "World_AlreadyInitialized",
839
+ "inputs": []
840
+ },
841
+ {
842
+ "type": "error",
843
+ "name": "World_CallbackNotAllowed",
844
+ "inputs": [
845
+ {
846
+ "name": "functionSelector",
847
+ "type": "bytes4",
848
+ "internalType": "bytes4"
849
+ }
850
+ ]
851
+ },
852
+ {
853
+ "type": "error",
854
+ "name": "World_DelegationNotFound",
855
+ "inputs": [
856
+ {
857
+ "name": "delegator",
858
+ "type": "address",
859
+ "internalType": "address"
860
+ },
861
+ {
862
+ "name": "delegatee",
863
+ "type": "address",
864
+ "internalType": "address"
865
+ }
866
+ ]
867
+ },
868
+ {
869
+ "type": "error",
870
+ "name": "World_FunctionSelectorAlreadyExists",
871
+ "inputs": [
872
+ {
873
+ "name": "functionSelector",
874
+ "type": "bytes4",
875
+ "internalType": "bytes4"
876
+ }
877
+ ]
878
+ },
879
+ {
880
+ "type": "error",
881
+ "name": "World_FunctionSelectorNotFound",
882
+ "inputs": [
883
+ {
884
+ "name": "functionSelector",
885
+ "type": "bytes4",
886
+ "internalType": "bytes4"
887
+ }
888
+ ]
889
+ },
890
+ {
891
+ "type": "error",
892
+ "name": "World_InsufficientBalance",
893
+ "inputs": [
894
+ {
895
+ "name": "balance",
896
+ "type": "uint256",
897
+ "internalType": "uint256"
898
+ },
899
+ {
900
+ "name": "amount",
901
+ "type": "uint256",
902
+ "internalType": "uint256"
903
+ }
904
+ ]
905
+ },
906
+ {
907
+ "type": "error",
908
+ "name": "World_InterfaceNotSupported",
909
+ "inputs": [
910
+ {
911
+ "name": "contractAddress",
912
+ "type": "address",
913
+ "internalType": "address"
914
+ },
915
+ {
916
+ "name": "interfaceId",
917
+ "type": "bytes4",
918
+ "internalType": "bytes4"
919
+ }
920
+ ]
921
+ },
922
+ {
923
+ "type": "error",
924
+ "name": "World_InvalidNamespace",
925
+ "inputs": [
926
+ {
927
+ "name": "namespace",
928
+ "type": "bytes14",
929
+ "internalType": "bytes14"
930
+ }
931
+ ]
932
+ },
933
+ {
934
+ "type": "error",
935
+ "name": "World_InvalidResourceId",
936
+ "inputs": [
937
+ {
938
+ "name": "resourceId",
939
+ "type": "bytes32",
940
+ "internalType": "ResourceId"
941
+ },
942
+ {
943
+ "name": "resourceIdString",
944
+ "type": "string",
945
+ "internalType": "string"
946
+ }
947
+ ]
948
+ },
949
+ {
950
+ "type": "error",
951
+ "name": "World_InvalidResourceType",
952
+ "inputs": [
953
+ {
954
+ "name": "expected",
955
+ "type": "bytes2",
956
+ "internalType": "bytes2"
957
+ },
958
+ {
959
+ "name": "resourceId",
960
+ "type": "bytes32",
961
+ "internalType": "ResourceId"
962
+ },
963
+ {
964
+ "name": "resourceIdString",
965
+ "type": "string",
966
+ "internalType": "string"
967
+ }
968
+ ]
969
+ },
970
+ {
971
+ "type": "error",
972
+ "name": "World_ResourceAlreadyExists",
973
+ "inputs": [
974
+ {
975
+ "name": "resourceId",
976
+ "type": "bytes32",
977
+ "internalType": "ResourceId"
978
+ },
979
+ {
980
+ "name": "resourceIdString",
981
+ "type": "string",
982
+ "internalType": "string"
983
+ }
984
+ ]
985
+ },
986
+ {
987
+ "type": "error",
988
+ "name": "World_ResourceNotFound",
989
+ "inputs": [
990
+ {
991
+ "name": "resourceId",
992
+ "type": "bytes32",
993
+ "internalType": "ResourceId"
994
+ },
995
+ {
996
+ "name": "resourceIdString",
997
+ "type": "string",
998
+ "internalType": "string"
999
+ }
1000
+ ]
1001
+ },
1002
+ {
1003
+ "type": "error",
1004
+ "name": "World_SystemAlreadyExists",
1005
+ "inputs": [
1006
+ {
1007
+ "name": "system",
1008
+ "type": "address",
1009
+ "internalType": "address"
1010
+ }
1011
+ ]
1012
+ },
1013
+ {
1014
+ "type": "error",
1015
+ "name": "World_UnlimitedDelegationNotAllowed",
1016
+ "inputs": []
1017
+ }
1018
+ ];
1019
+
1020
+ export default abi;