@latticexyz/world-module-callwithsignature 2.2.17-03eae1330cef5cae129841958fb75541ef13fb43

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 (384) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -0
  3. package/dist/internal.d.ts +20 -0
  4. package/dist/internal.js +2 -0
  5. package/dist/internal.js.map +1 -0
  6. package/dist/mud.config.d.ts +103 -0
  7. package/dist/mud.config.js +2 -0
  8. package/dist/mud.config.js.map +1 -0
  9. package/out/AccessControl.sol/AccessControl.abi.json +1 -0
  10. package/out/AccessControl.sol/AccessControl.json +1 -0
  11. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json +256 -0
  12. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts +258 -0
  13. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -0
  14. package/out/AddressArray.sol/AddressArray.abi.json +1 -0
  15. package/out/AddressArray.sol/AddressArray.json +1 -0
  16. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json +361 -0
  17. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts +363 -0
  18. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -0
  19. package/out/Balances.sol/Balances.abi.json +1 -0
  20. package/out/Balances.sol/Balances.json +1 -0
  21. package/out/Base.sol/CommonBase.abi.json +1 -0
  22. package/out/Base.sol/CommonBase.json +1 -0
  23. package/out/Base.sol/ScriptBase.abi.json +1 -0
  24. package/out/Base.sol/ScriptBase.json +1 -0
  25. package/out/Base.sol/TestBase.abi.json +1 -0
  26. package/out/Base.sol/TestBase.json +1 -0
  27. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json +132 -0
  28. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json.d.ts +134 -0
  29. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -0
  30. package/out/Bool.sol/Bool.abi.json +1 -0
  31. package/out/Bool.sol/Bool.json +1 -0
  32. package/out/Bytes.sol/Bytes.abi.json +1 -0
  33. package/out/Bytes.sol/Bytes.json +1 -0
  34. package/out/CallWithSignatureModule.sol/CallWithSignatureModule.abi.json +436 -0
  35. package/out/CallWithSignatureModule.sol/CallWithSignatureModule.abi.json.d.ts +438 -0
  36. package/out/CallWithSignatureModule.sol/CallWithSignatureModule.json +1 -0
  37. package/out/CallWithSignatureModule.t.sol/CallWithSignatureModuleTest.abi.json +541 -0
  38. package/out/CallWithSignatureModule.t.sol/CallWithSignatureModuleTest.abi.json.d.ts +543 -0
  39. package/out/CallWithSignatureModule.t.sol/CallWithSignatureModuleTest.json +1 -0
  40. package/out/CallWithSignatureNonces.sol/CallWithSignatureNonces.abi.json +1 -0
  41. package/out/CallWithSignatureNonces.sol/CallWithSignatureNonces.json +1 -0
  42. package/out/CallWithSignatureSystem.sol/CallWithSignatureSystem.abi.json +183 -0
  43. package/out/CallWithSignatureSystem.sol/CallWithSignatureSystem.abi.json.d.ts +185 -0
  44. package/out/CallWithSignatureSystem.sol/CallWithSignatureSystem.json +1 -0
  45. package/out/DecodeSlice.sol/DecodeSlice.abi.json +1 -0
  46. package/out/DecodeSlice.sol/DecodeSlice.json +1 -0
  47. package/out/Delegation.sol/Delegation.abi.json +1 -0
  48. package/out/Delegation.sol/Delegation.json +1 -0
  49. package/out/DelegationControl.sol/DelegationControl.abi.json +89 -0
  50. package/out/DelegationControl.sol/DelegationControl.abi.json.d.ts +91 -0
  51. package/out/DelegationControl.sol/DelegationControl.json +1 -0
  52. package/out/DelegationControlMock.sol/DelegationControlMock.abi.json +126 -0
  53. package/out/DelegationControlMock.sol/DelegationControlMock.abi.json.d.ts +128 -0
  54. package/out/DelegationControlMock.sol/DelegationControlMock.json +1 -0
  55. package/out/ECDSA.sol/ECDSA.abi.json +29 -0
  56. package/out/ECDSA.sol/ECDSA.abi.json.d.ts +31 -0
  57. package/out/ECDSA.sol/ECDSA.json +1 -0
  58. package/out/ERC165Checker.sol/ERC165Checker.abi.json +1 -0
  59. package/out/ERC165Checker.sol/ERC165Checker.json +1 -0
  60. package/out/EchoSubscriber.sol/EchoSubscriber.abi.json +303 -0
  61. package/out/EchoSubscriber.sol/EchoSubscriber.abi.json.d.ts +305 -0
  62. package/out/EchoSubscriber.sol/EchoSubscriber.json +1 -0
  63. package/out/EncodeArray.sol/EncodeArray.abi.json +1 -0
  64. package/out/EncodeArray.sol/EncodeArray.json +1 -0
  65. package/out/EncodedLengths.sol/EncodedLengthsInstance.abi.json +1 -0
  66. package/out/EncodedLengths.sol/EncodedLengthsInstance.json +1 -0
  67. package/out/EncodedLengths.sol/EncodedLengthsLib.abi.json +1 -0
  68. package/out/EncodedLengths.sol/EncodedLengthsLib.json +1 -0
  69. package/out/FieldLayout.sol/FieldLayoutInstance.abi.json +1 -0
  70. package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -0
  71. package/out/FieldLayout.sol/FieldLayoutLib.abi.json +1 -0
  72. package/out/FieldLayout.sol/FieldLayoutLib.json +1 -0
  73. package/out/FieldLayoutEncodeHelper.sol/FieldLayoutEncodeHelper.abi.json +1 -0
  74. package/out/FieldLayoutEncodeHelper.sol/FieldLayoutEncodeHelper.json +1 -0
  75. package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
  76. package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -0
  77. package/out/FunctionSignatures.sol/FunctionSignatures.abi.json +1 -0
  78. package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -0
  79. package/out/GasReporter.sol/GasReporter.abi.json +520 -0
  80. package/out/GasReporter.sol/GasReporter.abi.json.d.ts +522 -0
  81. package/out/GasReporter.sol/GasReporter.json +1 -0
  82. package/out/Hook.sol/HookInstance.abi.json +1 -0
  83. package/out/Hook.sol/HookInstance.json +1 -0
  84. package/out/Hook.sol/HookLib.abi.json +1 -0
  85. package/out/Hook.sol/HookLib.json +1 -0
  86. package/out/Hooks.sol/Hooks.abi.json +1 -0
  87. package/out/Hooks.sol/Hooks.json +1 -0
  88. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json +69 -0
  89. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json.d.ts +71 -0
  90. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -0
  91. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json +48 -0
  92. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json.d.ts +50 -0
  93. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -0
  94. package/out/IBaseWorld.sol/IBaseWorld.abi.json +2008 -0
  95. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +2010 -0
  96. package/out/IBaseWorld.sol/IBaseWorld.json +1 -0
  97. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  98. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +71 -0
  99. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -0
  100. package/out/ICallWithSignatureErrors.sol/ICallWithSignatureErrors.abi.json +7 -0
  101. package/out/ICallWithSignatureErrors.sol/ICallWithSignatureErrors.abi.json.d.ts +9 -0
  102. package/out/ICallWithSignatureErrors.sol/ICallWithSignatureErrors.json +1 -0
  103. package/out/ICallWithSignatureSystem.sol/ICallWithSignatureSystem.abi.json +36 -0
  104. package/out/ICallWithSignatureSystem.sol/ICallWithSignatureSystem.abi.json.d.ts +38 -0
  105. package/out/ICallWithSignatureSystem.sol/ICallWithSignatureSystem.json +1 -0
  106. package/out/IDelegationControl.sol/IDelegationControl.abi.json +89 -0
  107. package/out/IDelegationControl.sol/IDelegationControl.abi.json.d.ts +91 -0
  108. package/out/IDelegationControl.sol/IDelegationControl.json +1 -0
  109. package/out/IERC1271.sol/IERC1271.abi.json +26 -0
  110. package/out/IERC1271.sol/IERC1271.abi.json.d.ts +28 -0
  111. package/out/IERC1271.sol/IERC1271.json +1 -0
  112. package/out/IERC165.sol/IERC165.abi.json +21 -0
  113. package/out/IERC165.sol/IERC165.abi.json.d.ts +23 -0
  114. package/out/IERC165.sol/IERC165.json +1 -0
  115. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json +13 -0
  116. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json.d.ts +15 -0
  117. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.json +1 -0
  118. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json +88 -0
  119. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json.d.ts +90 -0
  120. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.json +1 -0
  121. package/out/IModule.sol/IModule.abi.json +73 -0
  122. package/out/IModule.sol/IModule.abi.json.d.ts +75 -0
  123. package/out/IModule.sol/IModule.json +1 -0
  124. package/out/IModuleErrors.sol/IModuleErrors.abi.json +28 -0
  125. package/out/IModuleErrors.sol/IModuleErrors.abi.json.d.ts +30 -0
  126. package/out/IModuleErrors.sol/IModuleErrors.json +1 -0
  127. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json +20 -0
  128. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json.d.ts +22 -0
  129. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -0
  130. package/out/IMulticall3.sol/IMulticall3.abi.json +440 -0
  131. package/out/IMulticall3.sol/IMulticall3.abi.json.d.ts +442 -0
  132. package/out/IMulticall3.sol/IMulticall3.json +1 -0
  133. package/out/IRegistrationSystem.sol/IRegistrationSystem.abi.json +1 -0
  134. package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -0
  135. package/out/ISchemaErrors.sol/ISchemaErrors.abi.json +18 -0
  136. package/out/ISchemaErrors.sol/ISchemaErrors.abi.json.d.ts +20 -0
  137. package/out/ISchemaErrors.sol/ISchemaErrors.json +1 -0
  138. package/out/ISliceErrors.sol/ISliceErrors.abi.json +23 -0
  139. package/out/ISliceErrors.sol/ISliceErrors.abi.json.d.ts +25 -0
  140. package/out/ISliceErrors.sol/ISliceErrors.json +1 -0
  141. package/out/IStore.sol/IStore.abi.json +1261 -0
  142. package/out/IStore.sol/IStore.abi.json.d.ts +1263 -0
  143. package/out/IStore.sol/IStore.json +1 -0
  144. package/out/IStoreErrors.sol/IStoreErrors.abi.json +204 -0
  145. package/out/IStoreErrors.sol/IStoreErrors.abi.json.d.ts +206 -0
  146. package/out/IStoreErrors.sol/IStoreErrors.json +1 -0
  147. package/out/IStoreEvents.sol/IStoreEvents.abi.json +151 -0
  148. package/out/IStoreEvents.sol/IStoreEvents.abi.json.d.ts +153 -0
  149. package/out/IStoreEvents.sol/IStoreEvents.json +1 -0
  150. package/out/IStoreHook.sol/IStoreHook.abi.json +290 -0
  151. package/out/IStoreHook.sol/IStoreHook.abi.json.d.ts +292 -0
  152. package/out/IStoreHook.sol/IStoreHook.json +1 -0
  153. package/out/IStoreKernel.sol/IStoreKernel.abi.json +1182 -0
  154. package/out/IStoreKernel.sol/IStoreKernel.abi.json.d.ts +1184 -0
  155. package/out/IStoreKernel.sol/IStoreKernel.json +1 -0
  156. package/out/IStoreRead.sol/IStoreRead.abi.json +389 -0
  157. package/out/IStoreRead.sol/IStoreRead.abi.json.d.ts +391 -0
  158. package/out/IStoreRead.sol/IStoreRead.json +1 -0
  159. package/out/IStoreRegistration.sol/IStoreRegistration.abi.json +81 -0
  160. package/out/IStoreRegistration.sol/IStoreRegistration.abi.json.d.ts +83 -0
  161. package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -0
  162. package/out/IStoreWrite.sol/IStoreWrite.abi.json +446 -0
  163. package/out/IStoreWrite.sol/IStoreWrite.abi.json.d.ts +448 -0
  164. package/out/IStoreWrite.sol/IStoreWrite.json +1 -0
  165. package/out/ISystemHook.sol/ISystemHook.abi.json +67 -0
  166. package/out/ISystemHook.sol/ISystemHook.abi.json.d.ts +69 -0
  167. package/out/ISystemHook.sol/ISystemHook.json +1 -0
  168. package/out/IWorld.sol/IWorld.abi.json +2042 -0
  169. package/out/IWorld.sol/IWorld.abi.json.d.ts +2044 -0
  170. package/out/IWorld.sol/IWorld.json +1 -0
  171. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json +60 -0
  172. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json.d.ts +62 -0
  173. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -0
  174. package/out/IWorldErrors.sol/IWorldErrors.abi.json +200 -0
  175. package/out/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +202 -0
  176. package/out/IWorldErrors.sol/IWorldErrors.json +1 -0
  177. package/out/IWorldEvents.sol/IWorldEvents.abi.json +15 -0
  178. package/out/IWorldEvents.sol/IWorldEvents.abi.json.d.ts +17 -0
  179. package/out/IWorldEvents.sol/IWorldEvents.json +1 -0
  180. package/out/IWorldKernel.sol/IWorldCall.abi.json +55 -0
  181. package/out/IWorldKernel.sol/IWorldCall.abi.json.d.ts +57 -0
  182. package/out/IWorldKernel.sol/IWorldCall.json +1 -0
  183. package/out/IWorldKernel.sol/IWorldKernel.abi.json +349 -0
  184. package/out/IWorldKernel.sol/IWorldKernel.abi.json.d.ts +351 -0
  185. package/out/IWorldKernel.sol/IWorldKernel.json +1 -0
  186. package/out/IWorldKernel.sol/IWorldModuleInstallation.abi.json +20 -0
  187. package/out/IWorldKernel.sol/IWorldModuleInstallation.abi.json.d.ts +22 -0
  188. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -0
  189. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json +204 -0
  190. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json.d.ts +206 -0
  191. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -0
  192. package/out/InitModule.sol/InitModule.abi.json +462 -0
  193. package/out/InitModule.sol/InitModule.abi.json.d.ts +464 -0
  194. package/out/InitModule.sol/InitModule.json +1 -0
  195. package/out/InitModuleAddress.sol/InitModuleAddress.abi.json +1 -0
  196. package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -0
  197. package/out/InstalledModules.sol/InstalledModules.abi.json +1 -0
  198. package/out/InstalledModules.sol/InstalledModules.json +1 -0
  199. package/out/LimitedCallContext.sol/LimitedCallContext.abi.json +7 -0
  200. package/out/LimitedCallContext.sol/LimitedCallContext.abi.json.d.ts +9 -0
  201. package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -0
  202. package/out/Memory.sol/Memory.abi.json +1 -0
  203. package/out/Memory.sol/Memory.json +1 -0
  204. package/out/Module.sol/Module.abi.json +112 -0
  205. package/out/Module.sol/Module.abi.json.d.ts +114 -0
  206. package/out/Module.sol/Module.json +1 -0
  207. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +151 -0
  208. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +153 -0
  209. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -0
  210. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.abi.json +1 -0
  211. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -0
  212. package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
  213. package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -0
  214. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json +1018 -0
  215. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json.d.ts +1020 -0
  216. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -0
  217. package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
  218. package/out/ResourceAccess.sol/ResourceAccess.json +1 -0
  219. package/out/ResourceId.sol/ResourceIdInstance.abi.json +1 -0
  220. package/out/ResourceId.sol/ResourceIdInstance.json +1 -0
  221. package/out/ResourceId.sol/ResourceIdLib.abi.json +1 -0
  222. package/out/ResourceId.sol/ResourceIdLib.json +1 -0
  223. package/out/ResourceIds.sol/ResourceIds.abi.json +1 -0
  224. package/out/ResourceIds.sol/ResourceIds.json +1 -0
  225. package/out/RevertSubscriber.sol/RevertSubscriber.abi.json +290 -0
  226. package/out/RevertSubscriber.sol/RevertSubscriber.abi.json.d.ts +292 -0
  227. package/out/RevertSubscriber.sol/RevertSubscriber.json +1 -0
  228. package/out/Schema.sol/SchemaInstance.abi.json +1 -0
  229. package/out/Schema.sol/SchemaInstance.json +1 -0
  230. package/out/Schema.sol/SchemaLib.abi.json +1 -0
  231. package/out/Schema.sol/SchemaLib.json +1 -0
  232. package/out/SchemaEncodeHelper.sol/SchemaEncodeHelper.abi.json +1 -0
  233. package/out/SchemaEncodeHelper.sol/SchemaEncodeHelper.json +1 -0
  234. package/out/SignatureChecker.sol/SignatureChecker.abi.json +1 -0
  235. package/out/SignatureChecker.sol/SignatureChecker.json +1 -0
  236. package/out/Slice.sol/SliceInstance.abi.json +1 -0
  237. package/out/Slice.sol/SliceInstance.json +1 -0
  238. package/out/Slice.sol/SliceLib.abi.json +1 -0
  239. package/out/Slice.sol/SliceLib.json +1 -0
  240. package/out/StdAssertions.sol/StdAssertions.abi.json +392 -0
  241. package/out/StdAssertions.sol/StdAssertions.abi.json.d.ts +394 -0
  242. package/out/StdAssertions.sol/StdAssertions.json +1 -0
  243. package/out/StdChains.sol/StdChains.abi.json +1 -0
  244. package/out/StdChains.sol/StdChains.json +1 -0
  245. package/out/StdCheats.sol/StdCheats.abi.json +1 -0
  246. package/out/StdCheats.sol/StdCheats.json +1 -0
  247. package/out/StdCheats.sol/StdCheatsSafe.abi.json +1 -0
  248. package/out/StdCheats.sol/StdCheatsSafe.json +1 -0
  249. package/out/StdError.sol/stdError.abi.json +119 -0
  250. package/out/StdError.sol/stdError.abi.json.d.ts +121 -0
  251. package/out/StdError.sol/stdError.json +1 -0
  252. package/out/StdInvariant.sol/StdInvariant.abi.json +130 -0
  253. package/out/StdInvariant.sol/StdInvariant.abi.json.d.ts +132 -0
  254. package/out/StdInvariant.sol/StdInvariant.json +1 -0
  255. package/out/StdJson.sol/stdJson.abi.json +1 -0
  256. package/out/StdJson.sol/stdJson.json +1 -0
  257. package/out/StdMath.sol/stdMath.abi.json +1 -0
  258. package/out/StdMath.sol/stdMath.json +1 -0
  259. package/out/StdStorage.sol/stdStorage.abi.json +1 -0
  260. package/out/StdStorage.sol/stdStorage.json +1 -0
  261. package/out/StdStorage.sol/stdStorageSafe.abi.json +52 -0
  262. package/out/StdStorage.sol/stdStorageSafe.abi.json.d.ts +54 -0
  263. package/out/StdStorage.sol/stdStorageSafe.json +1 -0
  264. package/out/StdStyle.sol/StdStyle.abi.json +1 -0
  265. package/out/StdStyle.sol/StdStyle.json +1 -0
  266. package/out/StdUtils.sol/StdUtils.abi.json +1 -0
  267. package/out/StdUtils.sol/StdUtils.json +1 -0
  268. package/out/Storage.sol/Storage.abi.json +1 -0
  269. package/out/Storage.sol/Storage.json +1 -0
  270. package/out/StoreCore.sol/StoreCore.abi.json +1 -0
  271. package/out/StoreCore.sol/StoreCore.json +1 -0
  272. package/out/StoreCore.sol/StoreCoreInternal.abi.json +1 -0
  273. package/out/StoreCore.sol/StoreCoreInternal.json +1 -0
  274. package/out/StoreHook.sol/StoreHook.abi.json +290 -0
  275. package/out/StoreHook.sol/StoreHook.abi.json.d.ts +292 -0
  276. package/out/StoreHook.sol/StoreHook.json +1 -0
  277. package/out/StoreHooks.sol/StoreHooks.abi.json +1 -0
  278. package/out/StoreHooks.sol/StoreHooks.json +1 -0
  279. package/out/StoreKernel.sol/StoreKernel.abi.json +1182 -0
  280. package/out/StoreKernel.sol/StoreKernel.abi.json.d.ts +1184 -0
  281. package/out/StoreKernel.sol/StoreKernel.json +1 -0
  282. package/out/StoreRead.sol/StoreRead.abi.json +437 -0
  283. package/out/StoreRead.sol/StoreRead.abi.json.d.ts +439 -0
  284. package/out/StoreRead.sol/StoreRead.json +1 -0
  285. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +779 -0
  286. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +781 -0
  287. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -0
  288. package/out/StoreSwitch.sol/StoreSwitch.abi.json +1 -0
  289. package/out/StoreSwitch.sol/StoreSwitch.json +1 -0
  290. package/out/System.sol/System.abi.json +60 -0
  291. package/out/System.sol/System.abi.json.d.ts +62 -0
  292. package/out/System.sol/System.json +1 -0
  293. package/out/SystemCall.sol/SystemCall.abi.json +1 -0
  294. package/out/SystemCall.sol/SystemCall.json +1 -0
  295. package/out/SystemHook.sol/SystemHook.abi.json +67 -0
  296. package/out/SystemHook.sol/SystemHook.abi.json.d.ts +69 -0
  297. package/out/SystemHook.sol/SystemHook.json +1 -0
  298. package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
  299. package/out/SystemHooks.sol/SystemHooks.json +1 -0
  300. package/out/SystemRegistry.sol/SystemRegistry.abi.json +1 -0
  301. package/out/SystemRegistry.sol/SystemRegistry.json +1 -0
  302. package/out/Systems.sol/Systems.abi.json +1 -0
  303. package/out/Systems.sol/Systems.json +1 -0
  304. package/out/Tables.sol/Tables.abi.json +1 -0
  305. package/out/Tables.sol/Tables.json +1 -0
  306. package/out/Test.sol/Test.abi.json +520 -0
  307. package/out/Test.sol/Test.abi.json.d.ts +522 -0
  308. package/out/Test.sol/Test.json +1 -0
  309. package/out/TightCoder.sol/TightCoder.abi.json +1 -0
  310. package/out/TightCoder.sol/TightCoder.json +1 -0
  311. package/out/TwoFields.sol/TwoFields.abi.json +1 -0
  312. package/out/TwoFields.sol/TwoFields.json +1 -0
  313. package/out/UserDelegationControl.sol/UserDelegationControl.abi.json +1 -0
  314. package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -0
  315. package/out/Vm.sol/Vm.abi.json +3878 -0
  316. package/out/Vm.sol/Vm.abi.json.d.ts +3880 -0
  317. package/out/Vm.sol/Vm.json +1 -0
  318. package/out/Vm.sol/VmSafe.abi.json +2678 -0
  319. package/out/Vm.sol/VmSafe.abi.json.d.ts +2680 -0
  320. package/out/Vm.sol/VmSafe.json +1 -0
  321. package/out/World.sol/World.abi.json +1542 -0
  322. package/out/World.sol/World.abi.json.d.ts +1544 -0
  323. package/out/World.sol/World.json +1 -0
  324. package/out/World.t.sol/EchoSystemHook.abi.json +80 -0
  325. package/out/World.t.sol/EchoSystemHook.abi.json.d.ts +82 -0
  326. package/out/World.t.sol/EchoSystemHook.json +1 -0
  327. package/out/World.t.sol/IWorldTestSystem.abi.json +15 -0
  328. package/out/World.t.sol/IWorldTestSystem.abi.json.d.ts +17 -0
  329. package/out/World.t.sol/IWorldTestSystem.json +1 -0
  330. package/out/World.t.sol/PayableFallbackSystem.abi.json +64 -0
  331. package/out/World.t.sol/PayableFallbackSystem.abi.json.d.ts +66 -0
  332. package/out/World.t.sol/PayableFallbackSystem.json +1 -0
  333. package/out/World.t.sol/RevertSystemHook.abi.json +80 -0
  334. package/out/World.t.sol/RevertSystemHook.abi.json.d.ts +82 -0
  335. package/out/World.t.sol/RevertSystemHook.json +1 -0
  336. package/out/World.t.sol/WorldTest.abi.json +1029 -0
  337. package/out/World.t.sol/WorldTest.abi.json.d.ts +1031 -0
  338. package/out/World.t.sol/WorldTest.json +1 -0
  339. package/out/World.t.sol/WorldTestSystem.abi.json +277 -0
  340. package/out/World.t.sol/WorldTestSystem.abi.json.d.ts +279 -0
  341. package/out/World.t.sol/WorldTestSystem.json +1 -0
  342. package/out/WorldContext.sol/WorldContextConsumer.abi.json +60 -0
  343. package/out/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +62 -0
  344. package/out/WorldContext.sol/WorldContextConsumer.json +1 -0
  345. package/out/WorldContext.sol/WorldContextConsumerLib.abi.json +1 -0
  346. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -0
  347. package/out/WorldContext.sol/WorldContextProviderLib.abi.json +1 -0
  348. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -0
  349. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +691 -0
  350. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +693 -0
  351. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -0
  352. package/out/WorldResourceId.sol/WorldResourceIdInstance.abi.json +1 -0
  353. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -0
  354. package/out/WorldResourceId.sol/WorldResourceIdLib.abi.json +1 -0
  355. package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -0
  356. package/out/build-info/306c60bc5d3442ad78ed6293bddbefdd.json +1 -0
  357. package/out/console.sol/console.abi.json +1 -0
  358. package/out/console.sol/console.json +1 -0
  359. package/out/console2.sol/console2.abi.json +1 -0
  360. package/out/console2.sol/console2.json +1 -0
  361. package/out/constants.sol/LayoutOffsets.abi.json +1 -0
  362. package/out/constants.sol/LayoutOffsets.json +1 -0
  363. package/out/safeconsole.sol/safeconsole.abi.json +1 -0
  364. package/out/safeconsole.sol/safeconsole.json +1 -0
  365. package/out/src/IERC165.sol/IERC165.abi.json +21 -0
  366. package/out/src/IERC165.sol/IERC165.abi.json.d.ts +23 -0
  367. package/out/src/IERC165.sol/IERC165.json +1 -0
  368. package/out/test.sol/DSTest.abi.json +296 -0
  369. package/out/test.sol/DSTest.abi.json.d.ts +298 -0
  370. package/out/test.sol/DSTest.json +1 -0
  371. package/package.json +64 -0
  372. package/src/CallWithSignatureModule.sol +48 -0
  373. package/src/CallWithSignatureSystem.sol +36 -0
  374. package/src/ECDSA.sol +174 -0
  375. package/src/ICallWithSignatureErrors.sol +9 -0
  376. package/src/IERC1271.sol +17 -0
  377. package/src/SignatureChecker.sol +50 -0
  378. package/src/codegen/index.sol +6 -0
  379. package/src/codegen/tables/CallWithSignatureNonces.sol +199 -0
  380. package/src/codegen/world/ICallWithSignatureSystem.sol +20 -0
  381. package/src/codegen/world/IWorld.sol +16 -0
  382. package/src/constants.sol +10 -0
  383. package/src/getSignedMessageHash.sol +54 -0
  384. package/src/validateCallWithSignature.sol +31 -0
@@ -0,0 +1,2042 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "batchCall",
5
+ "inputs": [
6
+ {
7
+ "name": "systemCalls",
8
+ "type": "tuple[]",
9
+ "internalType": "struct SystemCallData[]",
10
+ "components": [
11
+ {
12
+ "name": "systemId",
13
+ "type": "bytes32",
14
+ "internalType": "ResourceId"
15
+ },
16
+ {
17
+ "name": "callData",
18
+ "type": "bytes",
19
+ "internalType": "bytes"
20
+ }
21
+ ]
22
+ }
23
+ ],
24
+ "outputs": [
25
+ {
26
+ "name": "returnDatas",
27
+ "type": "bytes[]",
28
+ "internalType": "bytes[]"
29
+ }
30
+ ],
31
+ "stateMutability": "nonpayable"
32
+ },
33
+ {
34
+ "type": "function",
35
+ "name": "batchCallFrom",
36
+ "inputs": [
37
+ {
38
+ "name": "systemCalls",
39
+ "type": "tuple[]",
40
+ "internalType": "struct SystemCallFromData[]",
41
+ "components": [
42
+ {
43
+ "name": "from",
44
+ "type": "address",
45
+ "internalType": "address"
46
+ },
47
+ {
48
+ "name": "systemId",
49
+ "type": "bytes32",
50
+ "internalType": "ResourceId"
51
+ },
52
+ {
53
+ "name": "callData",
54
+ "type": "bytes",
55
+ "internalType": "bytes"
56
+ }
57
+ ]
58
+ }
59
+ ],
60
+ "outputs": [
61
+ {
62
+ "name": "returnDatas",
63
+ "type": "bytes[]",
64
+ "internalType": "bytes[]"
65
+ }
66
+ ],
67
+ "stateMutability": "nonpayable"
68
+ },
69
+ {
70
+ "type": "function",
71
+ "name": "call",
72
+ "inputs": [
73
+ {
74
+ "name": "systemId",
75
+ "type": "bytes32",
76
+ "internalType": "ResourceId"
77
+ },
78
+ {
79
+ "name": "callData",
80
+ "type": "bytes",
81
+ "internalType": "bytes"
82
+ }
83
+ ],
84
+ "outputs": [
85
+ {
86
+ "name": "",
87
+ "type": "bytes",
88
+ "internalType": "bytes"
89
+ }
90
+ ],
91
+ "stateMutability": "payable"
92
+ },
93
+ {
94
+ "type": "function",
95
+ "name": "callFrom",
96
+ "inputs": [
97
+ {
98
+ "name": "delegator",
99
+ "type": "address",
100
+ "internalType": "address"
101
+ },
102
+ {
103
+ "name": "systemId",
104
+ "type": "bytes32",
105
+ "internalType": "ResourceId"
106
+ },
107
+ {
108
+ "name": "callData",
109
+ "type": "bytes",
110
+ "internalType": "bytes"
111
+ }
112
+ ],
113
+ "outputs": [
114
+ {
115
+ "name": "",
116
+ "type": "bytes",
117
+ "internalType": "bytes"
118
+ }
119
+ ],
120
+ "stateMutability": "payable"
121
+ },
122
+ {
123
+ "type": "function",
124
+ "name": "callWithSignature",
125
+ "inputs": [
126
+ {
127
+ "name": "signer",
128
+ "type": "address",
129
+ "internalType": "address"
130
+ },
131
+ {
132
+ "name": "systemId",
133
+ "type": "bytes32",
134
+ "internalType": "ResourceId"
135
+ },
136
+ {
137
+ "name": "callData",
138
+ "type": "bytes",
139
+ "internalType": "bytes"
140
+ },
141
+ {
142
+ "name": "signature",
143
+ "type": "bytes",
144
+ "internalType": "bytes"
145
+ }
146
+ ],
147
+ "outputs": [
148
+ {
149
+ "name": "",
150
+ "type": "bytes",
151
+ "internalType": "bytes"
152
+ }
153
+ ],
154
+ "stateMutability": "payable"
155
+ },
156
+ {
157
+ "type": "function",
158
+ "name": "creator",
159
+ "inputs": [],
160
+ "outputs": [
161
+ {
162
+ "name": "",
163
+ "type": "address",
164
+ "internalType": "address"
165
+ }
166
+ ],
167
+ "stateMutability": "view"
168
+ },
169
+ {
170
+ "type": "function",
171
+ "name": "deleteRecord",
172
+ "inputs": [
173
+ {
174
+ "name": "tableId",
175
+ "type": "bytes32",
176
+ "internalType": "ResourceId"
177
+ },
178
+ {
179
+ "name": "keyTuple",
180
+ "type": "bytes32[]",
181
+ "internalType": "bytes32[]"
182
+ }
183
+ ],
184
+ "outputs": [],
185
+ "stateMutability": "nonpayable"
186
+ },
187
+ {
188
+ "type": "function",
189
+ "name": "getDynamicField",
190
+ "inputs": [
191
+ {
192
+ "name": "tableId",
193
+ "type": "bytes32",
194
+ "internalType": "ResourceId"
195
+ },
196
+ {
197
+ "name": "keyTuple",
198
+ "type": "bytes32[]",
199
+ "internalType": "bytes32[]"
200
+ },
201
+ {
202
+ "name": "dynamicFieldIndex",
203
+ "type": "uint8",
204
+ "internalType": "uint8"
205
+ }
206
+ ],
207
+ "outputs": [
208
+ {
209
+ "name": "",
210
+ "type": "bytes",
211
+ "internalType": "bytes"
212
+ }
213
+ ],
214
+ "stateMutability": "view"
215
+ },
216
+ {
217
+ "type": "function",
218
+ "name": "getDynamicFieldLength",
219
+ "inputs": [
220
+ {
221
+ "name": "tableId",
222
+ "type": "bytes32",
223
+ "internalType": "ResourceId"
224
+ },
225
+ {
226
+ "name": "keyTuple",
227
+ "type": "bytes32[]",
228
+ "internalType": "bytes32[]"
229
+ },
230
+ {
231
+ "name": "dynamicFieldIndex",
232
+ "type": "uint8",
233
+ "internalType": "uint8"
234
+ }
235
+ ],
236
+ "outputs": [
237
+ {
238
+ "name": "",
239
+ "type": "uint256",
240
+ "internalType": "uint256"
241
+ }
242
+ ],
243
+ "stateMutability": "view"
244
+ },
245
+ {
246
+ "type": "function",
247
+ "name": "getDynamicFieldSlice",
248
+ "inputs": [
249
+ {
250
+ "name": "tableId",
251
+ "type": "bytes32",
252
+ "internalType": "ResourceId"
253
+ },
254
+ {
255
+ "name": "keyTuple",
256
+ "type": "bytes32[]",
257
+ "internalType": "bytes32[]"
258
+ },
259
+ {
260
+ "name": "dynamicFieldIndex",
261
+ "type": "uint8",
262
+ "internalType": "uint8"
263
+ },
264
+ {
265
+ "name": "start",
266
+ "type": "uint256",
267
+ "internalType": "uint256"
268
+ },
269
+ {
270
+ "name": "end",
271
+ "type": "uint256",
272
+ "internalType": "uint256"
273
+ }
274
+ ],
275
+ "outputs": [
276
+ {
277
+ "name": "data",
278
+ "type": "bytes",
279
+ "internalType": "bytes"
280
+ }
281
+ ],
282
+ "stateMutability": "view"
283
+ },
284
+ {
285
+ "type": "function",
286
+ "name": "getField",
287
+ "inputs": [
288
+ {
289
+ "name": "tableId",
290
+ "type": "bytes32",
291
+ "internalType": "ResourceId"
292
+ },
293
+ {
294
+ "name": "keyTuple",
295
+ "type": "bytes32[]",
296
+ "internalType": "bytes32[]"
297
+ },
298
+ {
299
+ "name": "fieldIndex",
300
+ "type": "uint8",
301
+ "internalType": "uint8"
302
+ },
303
+ {
304
+ "name": "fieldLayout",
305
+ "type": "bytes32",
306
+ "internalType": "FieldLayout"
307
+ }
308
+ ],
309
+ "outputs": [
310
+ {
311
+ "name": "data",
312
+ "type": "bytes",
313
+ "internalType": "bytes"
314
+ }
315
+ ],
316
+ "stateMutability": "view"
317
+ },
318
+ {
319
+ "type": "function",
320
+ "name": "getField",
321
+ "inputs": [
322
+ {
323
+ "name": "tableId",
324
+ "type": "bytes32",
325
+ "internalType": "ResourceId"
326
+ },
327
+ {
328
+ "name": "keyTuple",
329
+ "type": "bytes32[]",
330
+ "internalType": "bytes32[]"
331
+ },
332
+ {
333
+ "name": "fieldIndex",
334
+ "type": "uint8",
335
+ "internalType": "uint8"
336
+ }
337
+ ],
338
+ "outputs": [
339
+ {
340
+ "name": "data",
341
+ "type": "bytes",
342
+ "internalType": "bytes"
343
+ }
344
+ ],
345
+ "stateMutability": "view"
346
+ },
347
+ {
348
+ "type": "function",
349
+ "name": "getFieldLayout",
350
+ "inputs": [
351
+ {
352
+ "name": "tableId",
353
+ "type": "bytes32",
354
+ "internalType": "ResourceId"
355
+ }
356
+ ],
357
+ "outputs": [
358
+ {
359
+ "name": "fieldLayout",
360
+ "type": "bytes32",
361
+ "internalType": "FieldLayout"
362
+ }
363
+ ],
364
+ "stateMutability": "view"
365
+ },
366
+ {
367
+ "type": "function",
368
+ "name": "getFieldLength",
369
+ "inputs": [
370
+ {
371
+ "name": "tableId",
372
+ "type": "bytes32",
373
+ "internalType": "ResourceId"
374
+ },
375
+ {
376
+ "name": "keyTuple",
377
+ "type": "bytes32[]",
378
+ "internalType": "bytes32[]"
379
+ },
380
+ {
381
+ "name": "fieldIndex",
382
+ "type": "uint8",
383
+ "internalType": "uint8"
384
+ },
385
+ {
386
+ "name": "fieldLayout",
387
+ "type": "bytes32",
388
+ "internalType": "FieldLayout"
389
+ }
390
+ ],
391
+ "outputs": [
392
+ {
393
+ "name": "",
394
+ "type": "uint256",
395
+ "internalType": "uint256"
396
+ }
397
+ ],
398
+ "stateMutability": "view"
399
+ },
400
+ {
401
+ "type": "function",
402
+ "name": "getFieldLength",
403
+ "inputs": [
404
+ {
405
+ "name": "tableId",
406
+ "type": "bytes32",
407
+ "internalType": "ResourceId"
408
+ },
409
+ {
410
+ "name": "keyTuple",
411
+ "type": "bytes32[]",
412
+ "internalType": "bytes32[]"
413
+ },
414
+ {
415
+ "name": "fieldIndex",
416
+ "type": "uint8",
417
+ "internalType": "uint8"
418
+ }
419
+ ],
420
+ "outputs": [
421
+ {
422
+ "name": "",
423
+ "type": "uint256",
424
+ "internalType": "uint256"
425
+ }
426
+ ],
427
+ "stateMutability": "view"
428
+ },
429
+ {
430
+ "type": "function",
431
+ "name": "getKeySchema",
432
+ "inputs": [
433
+ {
434
+ "name": "tableId",
435
+ "type": "bytes32",
436
+ "internalType": "ResourceId"
437
+ }
438
+ ],
439
+ "outputs": [
440
+ {
441
+ "name": "keySchema",
442
+ "type": "bytes32",
443
+ "internalType": "Schema"
444
+ }
445
+ ],
446
+ "stateMutability": "view"
447
+ },
448
+ {
449
+ "type": "function",
450
+ "name": "getRecord",
451
+ "inputs": [
452
+ {
453
+ "name": "tableId",
454
+ "type": "bytes32",
455
+ "internalType": "ResourceId"
456
+ },
457
+ {
458
+ "name": "keyTuple",
459
+ "type": "bytes32[]",
460
+ "internalType": "bytes32[]"
461
+ },
462
+ {
463
+ "name": "fieldLayout",
464
+ "type": "bytes32",
465
+ "internalType": "FieldLayout"
466
+ }
467
+ ],
468
+ "outputs": [
469
+ {
470
+ "name": "staticData",
471
+ "type": "bytes",
472
+ "internalType": "bytes"
473
+ },
474
+ {
475
+ "name": "encodedLengths",
476
+ "type": "bytes32",
477
+ "internalType": "EncodedLengths"
478
+ },
479
+ {
480
+ "name": "dynamicData",
481
+ "type": "bytes",
482
+ "internalType": "bytes"
483
+ }
484
+ ],
485
+ "stateMutability": "view"
486
+ },
487
+ {
488
+ "type": "function",
489
+ "name": "getRecord",
490
+ "inputs": [
491
+ {
492
+ "name": "tableId",
493
+ "type": "bytes32",
494
+ "internalType": "ResourceId"
495
+ },
496
+ {
497
+ "name": "keyTuple",
498
+ "type": "bytes32[]",
499
+ "internalType": "bytes32[]"
500
+ }
501
+ ],
502
+ "outputs": [
503
+ {
504
+ "name": "staticData",
505
+ "type": "bytes",
506
+ "internalType": "bytes"
507
+ },
508
+ {
509
+ "name": "encodedLengths",
510
+ "type": "bytes32",
511
+ "internalType": "EncodedLengths"
512
+ },
513
+ {
514
+ "name": "dynamicData",
515
+ "type": "bytes",
516
+ "internalType": "bytes"
517
+ }
518
+ ],
519
+ "stateMutability": "view"
520
+ },
521
+ {
522
+ "type": "function",
523
+ "name": "getStaticField",
524
+ "inputs": [
525
+ {
526
+ "name": "tableId",
527
+ "type": "bytes32",
528
+ "internalType": "ResourceId"
529
+ },
530
+ {
531
+ "name": "keyTuple",
532
+ "type": "bytes32[]",
533
+ "internalType": "bytes32[]"
534
+ },
535
+ {
536
+ "name": "fieldIndex",
537
+ "type": "uint8",
538
+ "internalType": "uint8"
539
+ },
540
+ {
541
+ "name": "fieldLayout",
542
+ "type": "bytes32",
543
+ "internalType": "FieldLayout"
544
+ }
545
+ ],
546
+ "outputs": [
547
+ {
548
+ "name": "",
549
+ "type": "bytes32",
550
+ "internalType": "bytes32"
551
+ }
552
+ ],
553
+ "stateMutability": "view"
554
+ },
555
+ {
556
+ "type": "function",
557
+ "name": "getValueSchema",
558
+ "inputs": [
559
+ {
560
+ "name": "tableId",
561
+ "type": "bytes32",
562
+ "internalType": "ResourceId"
563
+ }
564
+ ],
565
+ "outputs": [
566
+ {
567
+ "name": "valueSchema",
568
+ "type": "bytes32",
569
+ "internalType": "Schema"
570
+ }
571
+ ],
572
+ "stateMutability": "view"
573
+ },
574
+ {
575
+ "type": "function",
576
+ "name": "grantAccess",
577
+ "inputs": [
578
+ {
579
+ "name": "resourceId",
580
+ "type": "bytes32",
581
+ "internalType": "ResourceId"
582
+ },
583
+ {
584
+ "name": "grantee",
585
+ "type": "address",
586
+ "internalType": "address"
587
+ }
588
+ ],
589
+ "outputs": [],
590
+ "stateMutability": "nonpayable"
591
+ },
592
+ {
593
+ "type": "function",
594
+ "name": "initialize",
595
+ "inputs": [
596
+ {
597
+ "name": "initModule",
598
+ "type": "address",
599
+ "internalType": "contract IModule"
600
+ }
601
+ ],
602
+ "outputs": [],
603
+ "stateMutability": "nonpayable"
604
+ },
605
+ {
606
+ "type": "function",
607
+ "name": "installModule",
608
+ "inputs": [
609
+ {
610
+ "name": "module",
611
+ "type": "address",
612
+ "internalType": "contract IModule"
613
+ },
614
+ {
615
+ "name": "encodedArgs",
616
+ "type": "bytes",
617
+ "internalType": "bytes"
618
+ }
619
+ ],
620
+ "outputs": [],
621
+ "stateMutability": "nonpayable"
622
+ },
623
+ {
624
+ "type": "function",
625
+ "name": "installRootModule",
626
+ "inputs": [
627
+ {
628
+ "name": "module",
629
+ "type": "address",
630
+ "internalType": "contract IModule"
631
+ },
632
+ {
633
+ "name": "encodedArgs",
634
+ "type": "bytes",
635
+ "internalType": "bytes"
636
+ }
637
+ ],
638
+ "outputs": [],
639
+ "stateMutability": "nonpayable"
640
+ },
641
+ {
642
+ "type": "function",
643
+ "name": "popFromDynamicField",
644
+ "inputs": [
645
+ {
646
+ "name": "tableId",
647
+ "type": "bytes32",
648
+ "internalType": "ResourceId"
649
+ },
650
+ {
651
+ "name": "keyTuple",
652
+ "type": "bytes32[]",
653
+ "internalType": "bytes32[]"
654
+ },
655
+ {
656
+ "name": "dynamicFieldIndex",
657
+ "type": "uint8",
658
+ "internalType": "uint8"
659
+ },
660
+ {
661
+ "name": "byteLengthToPop",
662
+ "type": "uint256",
663
+ "internalType": "uint256"
664
+ }
665
+ ],
666
+ "outputs": [],
667
+ "stateMutability": "nonpayable"
668
+ },
669
+ {
670
+ "type": "function",
671
+ "name": "pushToDynamicField",
672
+ "inputs": [
673
+ {
674
+ "name": "tableId",
675
+ "type": "bytes32",
676
+ "internalType": "ResourceId"
677
+ },
678
+ {
679
+ "name": "keyTuple",
680
+ "type": "bytes32[]",
681
+ "internalType": "bytes32[]"
682
+ },
683
+ {
684
+ "name": "dynamicFieldIndex",
685
+ "type": "uint8",
686
+ "internalType": "uint8"
687
+ },
688
+ {
689
+ "name": "dataToPush",
690
+ "type": "bytes",
691
+ "internalType": "bytes"
692
+ }
693
+ ],
694
+ "outputs": [],
695
+ "stateMutability": "nonpayable"
696
+ },
697
+ {
698
+ "type": "function",
699
+ "name": "registerDelegation",
700
+ "inputs": [
701
+ {
702
+ "name": "delegatee",
703
+ "type": "address",
704
+ "internalType": "address"
705
+ },
706
+ {
707
+ "name": "delegationControlId",
708
+ "type": "bytes32",
709
+ "internalType": "ResourceId"
710
+ },
711
+ {
712
+ "name": "initCallData",
713
+ "type": "bytes",
714
+ "internalType": "bytes"
715
+ }
716
+ ],
717
+ "outputs": [],
718
+ "stateMutability": "nonpayable"
719
+ },
720
+ {
721
+ "type": "function",
722
+ "name": "registerFunctionSelector",
723
+ "inputs": [
724
+ {
725
+ "name": "systemId",
726
+ "type": "bytes32",
727
+ "internalType": "ResourceId"
728
+ },
729
+ {
730
+ "name": "systemFunctionSignature",
731
+ "type": "string",
732
+ "internalType": "string"
733
+ }
734
+ ],
735
+ "outputs": [
736
+ {
737
+ "name": "worldFunctionSelector",
738
+ "type": "bytes4",
739
+ "internalType": "bytes4"
740
+ }
741
+ ],
742
+ "stateMutability": "nonpayable"
743
+ },
744
+ {
745
+ "type": "function",
746
+ "name": "registerNamespace",
747
+ "inputs": [
748
+ {
749
+ "name": "namespaceId",
750
+ "type": "bytes32",
751
+ "internalType": "ResourceId"
752
+ }
753
+ ],
754
+ "outputs": [],
755
+ "stateMutability": "nonpayable"
756
+ },
757
+ {
758
+ "type": "function",
759
+ "name": "registerNamespaceDelegation",
760
+ "inputs": [
761
+ {
762
+ "name": "namespaceId",
763
+ "type": "bytes32",
764
+ "internalType": "ResourceId"
765
+ },
766
+ {
767
+ "name": "delegationControlId",
768
+ "type": "bytes32",
769
+ "internalType": "ResourceId"
770
+ },
771
+ {
772
+ "name": "initCallData",
773
+ "type": "bytes",
774
+ "internalType": "bytes"
775
+ }
776
+ ],
777
+ "outputs": [],
778
+ "stateMutability": "nonpayable"
779
+ },
780
+ {
781
+ "type": "function",
782
+ "name": "registerRootFunctionSelector",
783
+ "inputs": [
784
+ {
785
+ "name": "systemId",
786
+ "type": "bytes32",
787
+ "internalType": "ResourceId"
788
+ },
789
+ {
790
+ "name": "worldFunctionSignature",
791
+ "type": "string",
792
+ "internalType": "string"
793
+ },
794
+ {
795
+ "name": "systemFunctionSignature",
796
+ "type": "string",
797
+ "internalType": "string"
798
+ }
799
+ ],
800
+ "outputs": [
801
+ {
802
+ "name": "worldFunctionSelector",
803
+ "type": "bytes4",
804
+ "internalType": "bytes4"
805
+ }
806
+ ],
807
+ "stateMutability": "nonpayable"
808
+ },
809
+ {
810
+ "type": "function",
811
+ "name": "registerStoreHook",
812
+ "inputs": [
813
+ {
814
+ "name": "tableId",
815
+ "type": "bytes32",
816
+ "internalType": "ResourceId"
817
+ },
818
+ {
819
+ "name": "hookAddress",
820
+ "type": "address",
821
+ "internalType": "contract IStoreHook"
822
+ },
823
+ {
824
+ "name": "enabledHooksBitmap",
825
+ "type": "uint8",
826
+ "internalType": "uint8"
827
+ }
828
+ ],
829
+ "outputs": [],
830
+ "stateMutability": "nonpayable"
831
+ },
832
+ {
833
+ "type": "function",
834
+ "name": "registerSystem",
835
+ "inputs": [
836
+ {
837
+ "name": "systemId",
838
+ "type": "bytes32",
839
+ "internalType": "ResourceId"
840
+ },
841
+ {
842
+ "name": "system",
843
+ "type": "address",
844
+ "internalType": "contract System"
845
+ },
846
+ {
847
+ "name": "publicAccess",
848
+ "type": "bool",
849
+ "internalType": "bool"
850
+ }
851
+ ],
852
+ "outputs": [],
853
+ "stateMutability": "nonpayable"
854
+ },
855
+ {
856
+ "type": "function",
857
+ "name": "registerSystemHook",
858
+ "inputs": [
859
+ {
860
+ "name": "systemId",
861
+ "type": "bytes32",
862
+ "internalType": "ResourceId"
863
+ },
864
+ {
865
+ "name": "hookAddress",
866
+ "type": "address",
867
+ "internalType": "contract ISystemHook"
868
+ },
869
+ {
870
+ "name": "enabledHooksBitmap",
871
+ "type": "uint8",
872
+ "internalType": "uint8"
873
+ }
874
+ ],
875
+ "outputs": [],
876
+ "stateMutability": "nonpayable"
877
+ },
878
+ {
879
+ "type": "function",
880
+ "name": "registerTable",
881
+ "inputs": [
882
+ {
883
+ "name": "tableId",
884
+ "type": "bytes32",
885
+ "internalType": "ResourceId"
886
+ },
887
+ {
888
+ "name": "fieldLayout",
889
+ "type": "bytes32",
890
+ "internalType": "FieldLayout"
891
+ },
892
+ {
893
+ "name": "keySchema",
894
+ "type": "bytes32",
895
+ "internalType": "Schema"
896
+ },
897
+ {
898
+ "name": "valueSchema",
899
+ "type": "bytes32",
900
+ "internalType": "Schema"
901
+ },
902
+ {
903
+ "name": "keyNames",
904
+ "type": "string[]",
905
+ "internalType": "string[]"
906
+ },
907
+ {
908
+ "name": "fieldNames",
909
+ "type": "string[]",
910
+ "internalType": "string[]"
911
+ }
912
+ ],
913
+ "outputs": [],
914
+ "stateMutability": "nonpayable"
915
+ },
916
+ {
917
+ "type": "function",
918
+ "name": "renounceOwnership",
919
+ "inputs": [
920
+ {
921
+ "name": "namespaceId",
922
+ "type": "bytes32",
923
+ "internalType": "ResourceId"
924
+ }
925
+ ],
926
+ "outputs": [],
927
+ "stateMutability": "nonpayable"
928
+ },
929
+ {
930
+ "type": "function",
931
+ "name": "revokeAccess",
932
+ "inputs": [
933
+ {
934
+ "name": "resourceId",
935
+ "type": "bytes32",
936
+ "internalType": "ResourceId"
937
+ },
938
+ {
939
+ "name": "grantee",
940
+ "type": "address",
941
+ "internalType": "address"
942
+ }
943
+ ],
944
+ "outputs": [],
945
+ "stateMutability": "nonpayable"
946
+ },
947
+ {
948
+ "type": "function",
949
+ "name": "setDynamicField",
950
+ "inputs": [
951
+ {
952
+ "name": "tableId",
953
+ "type": "bytes32",
954
+ "internalType": "ResourceId"
955
+ },
956
+ {
957
+ "name": "keyTuple",
958
+ "type": "bytes32[]",
959
+ "internalType": "bytes32[]"
960
+ },
961
+ {
962
+ "name": "dynamicFieldIndex",
963
+ "type": "uint8",
964
+ "internalType": "uint8"
965
+ },
966
+ {
967
+ "name": "data",
968
+ "type": "bytes",
969
+ "internalType": "bytes"
970
+ }
971
+ ],
972
+ "outputs": [],
973
+ "stateMutability": "nonpayable"
974
+ },
975
+ {
976
+ "type": "function",
977
+ "name": "setField",
978
+ "inputs": [
979
+ {
980
+ "name": "tableId",
981
+ "type": "bytes32",
982
+ "internalType": "ResourceId"
983
+ },
984
+ {
985
+ "name": "keyTuple",
986
+ "type": "bytes32[]",
987
+ "internalType": "bytes32[]"
988
+ },
989
+ {
990
+ "name": "fieldIndex",
991
+ "type": "uint8",
992
+ "internalType": "uint8"
993
+ },
994
+ {
995
+ "name": "data",
996
+ "type": "bytes",
997
+ "internalType": "bytes"
998
+ }
999
+ ],
1000
+ "outputs": [],
1001
+ "stateMutability": "nonpayable"
1002
+ },
1003
+ {
1004
+ "type": "function",
1005
+ "name": "setField",
1006
+ "inputs": [
1007
+ {
1008
+ "name": "tableId",
1009
+ "type": "bytes32",
1010
+ "internalType": "ResourceId"
1011
+ },
1012
+ {
1013
+ "name": "keyTuple",
1014
+ "type": "bytes32[]",
1015
+ "internalType": "bytes32[]"
1016
+ },
1017
+ {
1018
+ "name": "fieldIndex",
1019
+ "type": "uint8",
1020
+ "internalType": "uint8"
1021
+ },
1022
+ {
1023
+ "name": "data",
1024
+ "type": "bytes",
1025
+ "internalType": "bytes"
1026
+ },
1027
+ {
1028
+ "name": "fieldLayout",
1029
+ "type": "bytes32",
1030
+ "internalType": "FieldLayout"
1031
+ }
1032
+ ],
1033
+ "outputs": [],
1034
+ "stateMutability": "nonpayable"
1035
+ },
1036
+ {
1037
+ "type": "function",
1038
+ "name": "setRecord",
1039
+ "inputs": [
1040
+ {
1041
+ "name": "tableId",
1042
+ "type": "bytes32",
1043
+ "internalType": "ResourceId"
1044
+ },
1045
+ {
1046
+ "name": "keyTuple",
1047
+ "type": "bytes32[]",
1048
+ "internalType": "bytes32[]"
1049
+ },
1050
+ {
1051
+ "name": "staticData",
1052
+ "type": "bytes",
1053
+ "internalType": "bytes"
1054
+ },
1055
+ {
1056
+ "name": "encodedLengths",
1057
+ "type": "bytes32",
1058
+ "internalType": "EncodedLengths"
1059
+ },
1060
+ {
1061
+ "name": "dynamicData",
1062
+ "type": "bytes",
1063
+ "internalType": "bytes"
1064
+ }
1065
+ ],
1066
+ "outputs": [],
1067
+ "stateMutability": "nonpayable"
1068
+ },
1069
+ {
1070
+ "type": "function",
1071
+ "name": "setStaticField",
1072
+ "inputs": [
1073
+ {
1074
+ "name": "tableId",
1075
+ "type": "bytes32",
1076
+ "internalType": "ResourceId"
1077
+ },
1078
+ {
1079
+ "name": "keyTuple",
1080
+ "type": "bytes32[]",
1081
+ "internalType": "bytes32[]"
1082
+ },
1083
+ {
1084
+ "name": "fieldIndex",
1085
+ "type": "uint8",
1086
+ "internalType": "uint8"
1087
+ },
1088
+ {
1089
+ "name": "data",
1090
+ "type": "bytes",
1091
+ "internalType": "bytes"
1092
+ },
1093
+ {
1094
+ "name": "fieldLayout",
1095
+ "type": "bytes32",
1096
+ "internalType": "FieldLayout"
1097
+ }
1098
+ ],
1099
+ "outputs": [],
1100
+ "stateMutability": "nonpayable"
1101
+ },
1102
+ {
1103
+ "type": "function",
1104
+ "name": "spliceDynamicData",
1105
+ "inputs": [
1106
+ {
1107
+ "name": "tableId",
1108
+ "type": "bytes32",
1109
+ "internalType": "ResourceId"
1110
+ },
1111
+ {
1112
+ "name": "keyTuple",
1113
+ "type": "bytes32[]",
1114
+ "internalType": "bytes32[]"
1115
+ },
1116
+ {
1117
+ "name": "dynamicFieldIndex",
1118
+ "type": "uint8",
1119
+ "internalType": "uint8"
1120
+ },
1121
+ {
1122
+ "name": "startWithinField",
1123
+ "type": "uint40",
1124
+ "internalType": "uint40"
1125
+ },
1126
+ {
1127
+ "name": "deleteCount",
1128
+ "type": "uint40",
1129
+ "internalType": "uint40"
1130
+ },
1131
+ {
1132
+ "name": "data",
1133
+ "type": "bytes",
1134
+ "internalType": "bytes"
1135
+ }
1136
+ ],
1137
+ "outputs": [],
1138
+ "stateMutability": "nonpayable"
1139
+ },
1140
+ {
1141
+ "type": "function",
1142
+ "name": "spliceStaticData",
1143
+ "inputs": [
1144
+ {
1145
+ "name": "tableId",
1146
+ "type": "bytes32",
1147
+ "internalType": "ResourceId"
1148
+ },
1149
+ {
1150
+ "name": "keyTuple",
1151
+ "type": "bytes32[]",
1152
+ "internalType": "bytes32[]"
1153
+ },
1154
+ {
1155
+ "name": "start",
1156
+ "type": "uint48",
1157
+ "internalType": "uint48"
1158
+ },
1159
+ {
1160
+ "name": "data",
1161
+ "type": "bytes",
1162
+ "internalType": "bytes"
1163
+ }
1164
+ ],
1165
+ "outputs": [],
1166
+ "stateMutability": "nonpayable"
1167
+ },
1168
+ {
1169
+ "type": "function",
1170
+ "name": "storeVersion",
1171
+ "inputs": [],
1172
+ "outputs": [
1173
+ {
1174
+ "name": "version",
1175
+ "type": "bytes32",
1176
+ "internalType": "bytes32"
1177
+ }
1178
+ ],
1179
+ "stateMutability": "view"
1180
+ },
1181
+ {
1182
+ "type": "function",
1183
+ "name": "transferBalanceToAddress",
1184
+ "inputs": [
1185
+ {
1186
+ "name": "fromNamespaceId",
1187
+ "type": "bytes32",
1188
+ "internalType": "ResourceId"
1189
+ },
1190
+ {
1191
+ "name": "toAddress",
1192
+ "type": "address",
1193
+ "internalType": "address"
1194
+ },
1195
+ {
1196
+ "name": "amount",
1197
+ "type": "uint256",
1198
+ "internalType": "uint256"
1199
+ }
1200
+ ],
1201
+ "outputs": [],
1202
+ "stateMutability": "nonpayable"
1203
+ },
1204
+ {
1205
+ "type": "function",
1206
+ "name": "transferBalanceToNamespace",
1207
+ "inputs": [
1208
+ {
1209
+ "name": "fromNamespaceId",
1210
+ "type": "bytes32",
1211
+ "internalType": "ResourceId"
1212
+ },
1213
+ {
1214
+ "name": "toNamespaceId",
1215
+ "type": "bytes32",
1216
+ "internalType": "ResourceId"
1217
+ },
1218
+ {
1219
+ "name": "amount",
1220
+ "type": "uint256",
1221
+ "internalType": "uint256"
1222
+ }
1223
+ ],
1224
+ "outputs": [],
1225
+ "stateMutability": "nonpayable"
1226
+ },
1227
+ {
1228
+ "type": "function",
1229
+ "name": "transferOwnership",
1230
+ "inputs": [
1231
+ {
1232
+ "name": "namespaceId",
1233
+ "type": "bytes32",
1234
+ "internalType": "ResourceId"
1235
+ },
1236
+ {
1237
+ "name": "newOwner",
1238
+ "type": "address",
1239
+ "internalType": "address"
1240
+ }
1241
+ ],
1242
+ "outputs": [],
1243
+ "stateMutability": "nonpayable"
1244
+ },
1245
+ {
1246
+ "type": "function",
1247
+ "name": "unregisterDelegation",
1248
+ "inputs": [
1249
+ {
1250
+ "name": "delegatee",
1251
+ "type": "address",
1252
+ "internalType": "address"
1253
+ }
1254
+ ],
1255
+ "outputs": [],
1256
+ "stateMutability": "nonpayable"
1257
+ },
1258
+ {
1259
+ "type": "function",
1260
+ "name": "unregisterNamespaceDelegation",
1261
+ "inputs": [
1262
+ {
1263
+ "name": "namespaceId",
1264
+ "type": "bytes32",
1265
+ "internalType": "ResourceId"
1266
+ }
1267
+ ],
1268
+ "outputs": [],
1269
+ "stateMutability": "nonpayable"
1270
+ },
1271
+ {
1272
+ "type": "function",
1273
+ "name": "unregisterStoreHook",
1274
+ "inputs": [
1275
+ {
1276
+ "name": "tableId",
1277
+ "type": "bytes32",
1278
+ "internalType": "ResourceId"
1279
+ },
1280
+ {
1281
+ "name": "hookAddress",
1282
+ "type": "address",
1283
+ "internalType": "contract IStoreHook"
1284
+ }
1285
+ ],
1286
+ "outputs": [],
1287
+ "stateMutability": "nonpayable"
1288
+ },
1289
+ {
1290
+ "type": "function",
1291
+ "name": "unregisterSystemHook",
1292
+ "inputs": [
1293
+ {
1294
+ "name": "systemId",
1295
+ "type": "bytes32",
1296
+ "internalType": "ResourceId"
1297
+ },
1298
+ {
1299
+ "name": "hookAddress",
1300
+ "type": "address",
1301
+ "internalType": "contract ISystemHook"
1302
+ }
1303
+ ],
1304
+ "outputs": [],
1305
+ "stateMutability": "nonpayable"
1306
+ },
1307
+ {
1308
+ "type": "function",
1309
+ "name": "worldVersion",
1310
+ "inputs": [],
1311
+ "outputs": [
1312
+ {
1313
+ "name": "",
1314
+ "type": "bytes32",
1315
+ "internalType": "bytes32"
1316
+ }
1317
+ ],
1318
+ "stateMutability": "view"
1319
+ },
1320
+ {
1321
+ "type": "event",
1322
+ "name": "HelloStore",
1323
+ "inputs": [
1324
+ {
1325
+ "name": "storeVersion",
1326
+ "type": "bytes32",
1327
+ "indexed": true,
1328
+ "internalType": "bytes32"
1329
+ }
1330
+ ],
1331
+ "anonymous": false
1332
+ },
1333
+ {
1334
+ "type": "event",
1335
+ "name": "HelloWorld",
1336
+ "inputs": [
1337
+ {
1338
+ "name": "worldVersion",
1339
+ "type": "bytes32",
1340
+ "indexed": true,
1341
+ "internalType": "bytes32"
1342
+ }
1343
+ ],
1344
+ "anonymous": false
1345
+ },
1346
+ {
1347
+ "type": "event",
1348
+ "name": "Store_DeleteRecord",
1349
+ "inputs": [
1350
+ {
1351
+ "name": "tableId",
1352
+ "type": "bytes32",
1353
+ "indexed": true,
1354
+ "internalType": "ResourceId"
1355
+ },
1356
+ {
1357
+ "name": "keyTuple",
1358
+ "type": "bytes32[]",
1359
+ "indexed": false,
1360
+ "internalType": "bytes32[]"
1361
+ }
1362
+ ],
1363
+ "anonymous": false
1364
+ },
1365
+ {
1366
+ "type": "event",
1367
+ "name": "Store_SetRecord",
1368
+ "inputs": [
1369
+ {
1370
+ "name": "tableId",
1371
+ "type": "bytes32",
1372
+ "indexed": true,
1373
+ "internalType": "ResourceId"
1374
+ },
1375
+ {
1376
+ "name": "keyTuple",
1377
+ "type": "bytes32[]",
1378
+ "indexed": false,
1379
+ "internalType": "bytes32[]"
1380
+ },
1381
+ {
1382
+ "name": "staticData",
1383
+ "type": "bytes",
1384
+ "indexed": false,
1385
+ "internalType": "bytes"
1386
+ },
1387
+ {
1388
+ "name": "encodedLengths",
1389
+ "type": "bytes32",
1390
+ "indexed": false,
1391
+ "internalType": "EncodedLengths"
1392
+ },
1393
+ {
1394
+ "name": "dynamicData",
1395
+ "type": "bytes",
1396
+ "indexed": false,
1397
+ "internalType": "bytes"
1398
+ }
1399
+ ],
1400
+ "anonymous": false
1401
+ },
1402
+ {
1403
+ "type": "event",
1404
+ "name": "Store_SpliceDynamicData",
1405
+ "inputs": [
1406
+ {
1407
+ "name": "tableId",
1408
+ "type": "bytes32",
1409
+ "indexed": true,
1410
+ "internalType": "ResourceId"
1411
+ },
1412
+ {
1413
+ "name": "keyTuple",
1414
+ "type": "bytes32[]",
1415
+ "indexed": false,
1416
+ "internalType": "bytes32[]"
1417
+ },
1418
+ {
1419
+ "name": "dynamicFieldIndex",
1420
+ "type": "uint8",
1421
+ "indexed": false,
1422
+ "internalType": "uint8"
1423
+ },
1424
+ {
1425
+ "name": "start",
1426
+ "type": "uint48",
1427
+ "indexed": false,
1428
+ "internalType": "uint48"
1429
+ },
1430
+ {
1431
+ "name": "deleteCount",
1432
+ "type": "uint40",
1433
+ "indexed": false,
1434
+ "internalType": "uint40"
1435
+ },
1436
+ {
1437
+ "name": "encodedLengths",
1438
+ "type": "bytes32",
1439
+ "indexed": false,
1440
+ "internalType": "EncodedLengths"
1441
+ },
1442
+ {
1443
+ "name": "data",
1444
+ "type": "bytes",
1445
+ "indexed": false,
1446
+ "internalType": "bytes"
1447
+ }
1448
+ ],
1449
+ "anonymous": false
1450
+ },
1451
+ {
1452
+ "type": "event",
1453
+ "name": "Store_SpliceStaticData",
1454
+ "inputs": [
1455
+ {
1456
+ "name": "tableId",
1457
+ "type": "bytes32",
1458
+ "indexed": true,
1459
+ "internalType": "ResourceId"
1460
+ },
1461
+ {
1462
+ "name": "keyTuple",
1463
+ "type": "bytes32[]",
1464
+ "indexed": false,
1465
+ "internalType": "bytes32[]"
1466
+ },
1467
+ {
1468
+ "name": "start",
1469
+ "type": "uint48",
1470
+ "indexed": false,
1471
+ "internalType": "uint48"
1472
+ },
1473
+ {
1474
+ "name": "data",
1475
+ "type": "bytes",
1476
+ "indexed": false,
1477
+ "internalType": "bytes"
1478
+ }
1479
+ ],
1480
+ "anonymous": false
1481
+ },
1482
+ {
1483
+ "type": "error",
1484
+ "name": "EncodedLengths_InvalidLength",
1485
+ "inputs": [
1486
+ {
1487
+ "name": "length",
1488
+ "type": "uint256",
1489
+ "internalType": "uint256"
1490
+ }
1491
+ ]
1492
+ },
1493
+ {
1494
+ "type": "error",
1495
+ "name": "FieldLayout_Empty",
1496
+ "inputs": []
1497
+ },
1498
+ {
1499
+ "type": "error",
1500
+ "name": "FieldLayout_InvalidStaticDataLength",
1501
+ "inputs": [
1502
+ {
1503
+ "name": "staticDataLength",
1504
+ "type": "uint256",
1505
+ "internalType": "uint256"
1506
+ },
1507
+ {
1508
+ "name": "computedStaticDataLength",
1509
+ "type": "uint256",
1510
+ "internalType": "uint256"
1511
+ }
1512
+ ]
1513
+ },
1514
+ {
1515
+ "type": "error",
1516
+ "name": "FieldLayout_StaticLengthDoesNotFitInAWord",
1517
+ "inputs": [
1518
+ {
1519
+ "name": "index",
1520
+ "type": "uint256",
1521
+ "internalType": "uint256"
1522
+ }
1523
+ ]
1524
+ },
1525
+ {
1526
+ "type": "error",
1527
+ "name": "FieldLayout_StaticLengthIsNotZero",
1528
+ "inputs": [
1529
+ {
1530
+ "name": "index",
1531
+ "type": "uint256",
1532
+ "internalType": "uint256"
1533
+ }
1534
+ ]
1535
+ },
1536
+ {
1537
+ "type": "error",
1538
+ "name": "FieldLayout_StaticLengthIsZero",
1539
+ "inputs": [
1540
+ {
1541
+ "name": "index",
1542
+ "type": "uint256",
1543
+ "internalType": "uint256"
1544
+ }
1545
+ ]
1546
+ },
1547
+ {
1548
+ "type": "error",
1549
+ "name": "FieldLayout_TooManyDynamicFields",
1550
+ "inputs": [
1551
+ {
1552
+ "name": "numFields",
1553
+ "type": "uint256",
1554
+ "internalType": "uint256"
1555
+ },
1556
+ {
1557
+ "name": "maxFields",
1558
+ "type": "uint256",
1559
+ "internalType": "uint256"
1560
+ }
1561
+ ]
1562
+ },
1563
+ {
1564
+ "type": "error",
1565
+ "name": "FieldLayout_TooManyFields",
1566
+ "inputs": [
1567
+ {
1568
+ "name": "numFields",
1569
+ "type": "uint256",
1570
+ "internalType": "uint256"
1571
+ },
1572
+ {
1573
+ "name": "maxFields",
1574
+ "type": "uint256",
1575
+ "internalType": "uint256"
1576
+ }
1577
+ ]
1578
+ },
1579
+ {
1580
+ "type": "error",
1581
+ "name": "Module_AlreadyInstalled",
1582
+ "inputs": []
1583
+ },
1584
+ {
1585
+ "type": "error",
1586
+ "name": "Module_MissingDependency",
1587
+ "inputs": [
1588
+ {
1589
+ "name": "dependency",
1590
+ "type": "address",
1591
+ "internalType": "address"
1592
+ }
1593
+ ]
1594
+ },
1595
+ {
1596
+ "type": "error",
1597
+ "name": "Module_NonRootInstallNotSupported",
1598
+ "inputs": []
1599
+ },
1600
+ {
1601
+ "type": "error",
1602
+ "name": "Module_RootInstallNotSupported",
1603
+ "inputs": []
1604
+ },
1605
+ {
1606
+ "type": "error",
1607
+ "name": "Schema_InvalidLength",
1608
+ "inputs": [
1609
+ {
1610
+ "name": "length",
1611
+ "type": "uint256",
1612
+ "internalType": "uint256"
1613
+ }
1614
+ ]
1615
+ },
1616
+ {
1617
+ "type": "error",
1618
+ "name": "Schema_StaticTypeAfterDynamicType",
1619
+ "inputs": []
1620
+ },
1621
+ {
1622
+ "type": "error",
1623
+ "name": "Slice_OutOfBounds",
1624
+ "inputs": [
1625
+ {
1626
+ "name": "data",
1627
+ "type": "bytes",
1628
+ "internalType": "bytes"
1629
+ },
1630
+ {
1631
+ "name": "start",
1632
+ "type": "uint256",
1633
+ "internalType": "uint256"
1634
+ },
1635
+ {
1636
+ "name": "end",
1637
+ "type": "uint256",
1638
+ "internalType": "uint256"
1639
+ }
1640
+ ]
1641
+ },
1642
+ {
1643
+ "type": "error",
1644
+ "name": "Store_IndexOutOfBounds",
1645
+ "inputs": [
1646
+ {
1647
+ "name": "length",
1648
+ "type": "uint256",
1649
+ "internalType": "uint256"
1650
+ },
1651
+ {
1652
+ "name": "accessedIndex",
1653
+ "type": "uint256",
1654
+ "internalType": "uint256"
1655
+ }
1656
+ ]
1657
+ },
1658
+ {
1659
+ "type": "error",
1660
+ "name": "Store_InvalidBounds",
1661
+ "inputs": [
1662
+ {
1663
+ "name": "start",
1664
+ "type": "uint256",
1665
+ "internalType": "uint256"
1666
+ },
1667
+ {
1668
+ "name": "end",
1669
+ "type": "uint256",
1670
+ "internalType": "uint256"
1671
+ }
1672
+ ]
1673
+ },
1674
+ {
1675
+ "type": "error",
1676
+ "name": "Store_InvalidFieldNamesLength",
1677
+ "inputs": [
1678
+ {
1679
+ "name": "expected",
1680
+ "type": "uint256",
1681
+ "internalType": "uint256"
1682
+ },
1683
+ {
1684
+ "name": "received",
1685
+ "type": "uint256",
1686
+ "internalType": "uint256"
1687
+ }
1688
+ ]
1689
+ },
1690
+ {
1691
+ "type": "error",
1692
+ "name": "Store_InvalidKeyNamesLength",
1693
+ "inputs": [
1694
+ {
1695
+ "name": "expected",
1696
+ "type": "uint256",
1697
+ "internalType": "uint256"
1698
+ },
1699
+ {
1700
+ "name": "received",
1701
+ "type": "uint256",
1702
+ "internalType": "uint256"
1703
+ }
1704
+ ]
1705
+ },
1706
+ {
1707
+ "type": "error",
1708
+ "name": "Store_InvalidResourceType",
1709
+ "inputs": [
1710
+ {
1711
+ "name": "expected",
1712
+ "type": "bytes2",
1713
+ "internalType": "bytes2"
1714
+ },
1715
+ {
1716
+ "name": "resourceId",
1717
+ "type": "bytes32",
1718
+ "internalType": "ResourceId"
1719
+ },
1720
+ {
1721
+ "name": "resourceIdString",
1722
+ "type": "string",
1723
+ "internalType": "string"
1724
+ }
1725
+ ]
1726
+ },
1727
+ {
1728
+ "type": "error",
1729
+ "name": "Store_InvalidSplice",
1730
+ "inputs": [
1731
+ {
1732
+ "name": "startWithinField",
1733
+ "type": "uint40",
1734
+ "internalType": "uint40"
1735
+ },
1736
+ {
1737
+ "name": "deleteCount",
1738
+ "type": "uint40",
1739
+ "internalType": "uint40"
1740
+ },
1741
+ {
1742
+ "name": "fieldLength",
1743
+ "type": "uint40",
1744
+ "internalType": "uint40"
1745
+ }
1746
+ ]
1747
+ },
1748
+ {
1749
+ "type": "error",
1750
+ "name": "Store_InvalidStaticDataLength",
1751
+ "inputs": [
1752
+ {
1753
+ "name": "expected",
1754
+ "type": "uint256",
1755
+ "internalType": "uint256"
1756
+ },
1757
+ {
1758
+ "name": "received",
1759
+ "type": "uint256",
1760
+ "internalType": "uint256"
1761
+ }
1762
+ ]
1763
+ },
1764
+ {
1765
+ "type": "error",
1766
+ "name": "Store_InvalidValueSchemaDynamicLength",
1767
+ "inputs": [
1768
+ {
1769
+ "name": "expected",
1770
+ "type": "uint256",
1771
+ "internalType": "uint256"
1772
+ },
1773
+ {
1774
+ "name": "received",
1775
+ "type": "uint256",
1776
+ "internalType": "uint256"
1777
+ }
1778
+ ]
1779
+ },
1780
+ {
1781
+ "type": "error",
1782
+ "name": "Store_InvalidValueSchemaLength",
1783
+ "inputs": [
1784
+ {
1785
+ "name": "expected",
1786
+ "type": "uint256",
1787
+ "internalType": "uint256"
1788
+ },
1789
+ {
1790
+ "name": "received",
1791
+ "type": "uint256",
1792
+ "internalType": "uint256"
1793
+ }
1794
+ ]
1795
+ },
1796
+ {
1797
+ "type": "error",
1798
+ "name": "Store_InvalidValueSchemaStaticLength",
1799
+ "inputs": [
1800
+ {
1801
+ "name": "expected",
1802
+ "type": "uint256",
1803
+ "internalType": "uint256"
1804
+ },
1805
+ {
1806
+ "name": "received",
1807
+ "type": "uint256",
1808
+ "internalType": "uint256"
1809
+ }
1810
+ ]
1811
+ },
1812
+ {
1813
+ "type": "error",
1814
+ "name": "Store_TableAlreadyExists",
1815
+ "inputs": [
1816
+ {
1817
+ "name": "tableId",
1818
+ "type": "bytes32",
1819
+ "internalType": "ResourceId"
1820
+ },
1821
+ {
1822
+ "name": "tableIdString",
1823
+ "type": "string",
1824
+ "internalType": "string"
1825
+ }
1826
+ ]
1827
+ },
1828
+ {
1829
+ "type": "error",
1830
+ "name": "Store_TableNotFound",
1831
+ "inputs": [
1832
+ {
1833
+ "name": "tableId",
1834
+ "type": "bytes32",
1835
+ "internalType": "ResourceId"
1836
+ },
1837
+ {
1838
+ "name": "tableIdString",
1839
+ "type": "string",
1840
+ "internalType": "string"
1841
+ }
1842
+ ]
1843
+ },
1844
+ {
1845
+ "type": "error",
1846
+ "name": "World_AccessDenied",
1847
+ "inputs": [
1848
+ {
1849
+ "name": "resource",
1850
+ "type": "string",
1851
+ "internalType": "string"
1852
+ },
1853
+ {
1854
+ "name": "caller",
1855
+ "type": "address",
1856
+ "internalType": "address"
1857
+ }
1858
+ ]
1859
+ },
1860
+ {
1861
+ "type": "error",
1862
+ "name": "World_AlreadyInitialized",
1863
+ "inputs": []
1864
+ },
1865
+ {
1866
+ "type": "error",
1867
+ "name": "World_CallbackNotAllowed",
1868
+ "inputs": [
1869
+ {
1870
+ "name": "functionSelector",
1871
+ "type": "bytes4",
1872
+ "internalType": "bytes4"
1873
+ }
1874
+ ]
1875
+ },
1876
+ {
1877
+ "type": "error",
1878
+ "name": "World_DelegationNotFound",
1879
+ "inputs": [
1880
+ {
1881
+ "name": "delegator",
1882
+ "type": "address",
1883
+ "internalType": "address"
1884
+ },
1885
+ {
1886
+ "name": "delegatee",
1887
+ "type": "address",
1888
+ "internalType": "address"
1889
+ }
1890
+ ]
1891
+ },
1892
+ {
1893
+ "type": "error",
1894
+ "name": "World_FunctionSelectorAlreadyExists",
1895
+ "inputs": [
1896
+ {
1897
+ "name": "functionSelector",
1898
+ "type": "bytes4",
1899
+ "internalType": "bytes4"
1900
+ }
1901
+ ]
1902
+ },
1903
+ {
1904
+ "type": "error",
1905
+ "name": "World_FunctionSelectorNotFound",
1906
+ "inputs": [
1907
+ {
1908
+ "name": "functionSelector",
1909
+ "type": "bytes4",
1910
+ "internalType": "bytes4"
1911
+ }
1912
+ ]
1913
+ },
1914
+ {
1915
+ "type": "error",
1916
+ "name": "World_InsufficientBalance",
1917
+ "inputs": [
1918
+ {
1919
+ "name": "balance",
1920
+ "type": "uint256",
1921
+ "internalType": "uint256"
1922
+ },
1923
+ {
1924
+ "name": "amount",
1925
+ "type": "uint256",
1926
+ "internalType": "uint256"
1927
+ }
1928
+ ]
1929
+ },
1930
+ {
1931
+ "type": "error",
1932
+ "name": "World_InterfaceNotSupported",
1933
+ "inputs": [
1934
+ {
1935
+ "name": "contractAddress",
1936
+ "type": "address",
1937
+ "internalType": "address"
1938
+ },
1939
+ {
1940
+ "name": "interfaceId",
1941
+ "type": "bytes4",
1942
+ "internalType": "bytes4"
1943
+ }
1944
+ ]
1945
+ },
1946
+ {
1947
+ "type": "error",
1948
+ "name": "World_InvalidNamespace",
1949
+ "inputs": [
1950
+ {
1951
+ "name": "namespace",
1952
+ "type": "bytes14",
1953
+ "internalType": "bytes14"
1954
+ }
1955
+ ]
1956
+ },
1957
+ {
1958
+ "type": "error",
1959
+ "name": "World_InvalidResourceId",
1960
+ "inputs": [
1961
+ {
1962
+ "name": "resourceId",
1963
+ "type": "bytes32",
1964
+ "internalType": "ResourceId"
1965
+ },
1966
+ {
1967
+ "name": "resourceIdString",
1968
+ "type": "string",
1969
+ "internalType": "string"
1970
+ }
1971
+ ]
1972
+ },
1973
+ {
1974
+ "type": "error",
1975
+ "name": "World_InvalidResourceType",
1976
+ "inputs": [
1977
+ {
1978
+ "name": "expected",
1979
+ "type": "bytes2",
1980
+ "internalType": "bytes2"
1981
+ },
1982
+ {
1983
+ "name": "resourceId",
1984
+ "type": "bytes32",
1985
+ "internalType": "ResourceId"
1986
+ },
1987
+ {
1988
+ "name": "resourceIdString",
1989
+ "type": "string",
1990
+ "internalType": "string"
1991
+ }
1992
+ ]
1993
+ },
1994
+ {
1995
+ "type": "error",
1996
+ "name": "World_ResourceAlreadyExists",
1997
+ "inputs": [
1998
+ {
1999
+ "name": "resourceId",
2000
+ "type": "bytes32",
2001
+ "internalType": "ResourceId"
2002
+ },
2003
+ {
2004
+ "name": "resourceIdString",
2005
+ "type": "string",
2006
+ "internalType": "string"
2007
+ }
2008
+ ]
2009
+ },
2010
+ {
2011
+ "type": "error",
2012
+ "name": "World_ResourceNotFound",
2013
+ "inputs": [
2014
+ {
2015
+ "name": "resourceId",
2016
+ "type": "bytes32",
2017
+ "internalType": "ResourceId"
2018
+ },
2019
+ {
2020
+ "name": "resourceIdString",
2021
+ "type": "string",
2022
+ "internalType": "string"
2023
+ }
2024
+ ]
2025
+ },
2026
+ {
2027
+ "type": "error",
2028
+ "name": "World_SystemAlreadyExists",
2029
+ "inputs": [
2030
+ {
2031
+ "name": "system",
2032
+ "type": "address",
2033
+ "internalType": "address"
2034
+ }
2035
+ ]
2036
+ },
2037
+ {
2038
+ "type": "error",
2039
+ "name": "World_UnlimitedDelegationNotAllowed",
2040
+ "inputs": []
2041
+ }
2042
+ ]