@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,31 @@
1
+ declare const abi: [
2
+ {
3
+ "type": "error",
4
+ "name": "ECDSAInvalidSignature",
5
+ "inputs": []
6
+ },
7
+ {
8
+ "type": "error",
9
+ "name": "ECDSAInvalidSignatureLength",
10
+ "inputs": [
11
+ {
12
+ "name": "length",
13
+ "type": "uint256",
14
+ "internalType": "uint256"
15
+ }
16
+ ]
17
+ },
18
+ {
19
+ "type": "error",
20
+ "name": "ECDSAInvalidSignatureS",
21
+ "inputs": [
22
+ {
23
+ "name": "s",
24
+ "type": "bytes32",
25
+ "internalType": "bytes32"
26
+ }
27
+ ]
28
+ }
29
+ ];
30
+
31
+ export default abi;
@@ -0,0 +1 @@
1
+ {"abi":[{"type":"error","name":"ECDSAInvalidSignature","inputs":[]},{"type":"error","name":"ECDSAInvalidSignatureLength","inputs":[{"name":"length","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"ECDSAInvalidSignatureS","inputs":[{"name":"s","type":"bytes32","internalType":"bytes32"}]}],"bytecode":{"object":"0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a","sourceMap":"345:6904:133:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;345:6904:133;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a","sourceMap":"345:6904:133:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ECDSAInvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"ECDSAInvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"ECDSAInvalidSignatureS\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Elliptic Curve Digital Signature Algorithm (ECDSA) operations. These functions can be used to verify that a message was signed by the holder of the private keys of a given address.\",\"errors\":{\"ECDSAInvalidSignature()\":[{\"details\":\"The signature derives the `address(0)`.\"}],\"ECDSAInvalidSignatureLength(uint256)\":[{\"details\":\"The signature has an invalid length.\"}],\"ECDSAInvalidSignatureS(bytes32)\":[{\"details\":\"The signature has an S value that is in the upper half order.\"}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/ECDSA.sol\":\"ECDSA\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"src/ECDSA.sol\":{\"keccak256\":\"0xbd68848a89cbb5df7d82f4579c2474cc9e270624ec8c3f469f9d6e142f47802d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://baef0573e75353174036f5ab2410c52ee6c24dad8081f4e5d3557378ccac0438\",\"dweb:/ipfs/QmTeEH53nKLoRKFfMNh8XP55JEbYQFDcem1RgfiJmqBbVF\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[],"type":"error","name":"ECDSAInvalidSignature"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"type":"error","name":"ECDSAInvalidSignatureLength"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"type":"error","name":"ECDSAInvalidSignatureS"}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","ds-test/=node_modules/ds-test/src/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"src/ECDSA.sol":"ECDSA"},"evmVersion":"cancun","libraries":{}},"sources":{"src/ECDSA.sol":{"keccak256":"0xbd68848a89cbb5df7d82f4579c2474cc9e270624ec8c3f469f9d6e142f47802d","urls":["bzz-raw://baef0573e75353174036f5ab2410c52ee6c24dad8081f4e5d3557378ccac0438","dweb:/ipfs/QmTeEH53nKLoRKFfMNh8XP55JEbYQFDcem1RgfiJmqBbVF"],"license":"MIT"}},"version":1},"id":133}
@@ -0,0 +1 @@
1
+ {"abi":[],"bytecode":{"object":"0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a","sourceMap":"466:4244:49:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;466:4244:49;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a","sourceMap":"466:4244:49:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Library used to query support of an interface declared via {IERC165}. Note that these functions return the actual result of the query: they do not `revert` if an interface is not supported. It is up to the caller to decide what to do in these cases.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/ERC165Checker.sol\":\"ERC165Checker\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/world/src/ERC165Checker.sol\":{\"keccak256\":\"0xb9d3ad8030a8d111971cbf775c1834313736c2f714d2bcb90fe065a928abe2c8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://702c7297150819d078d498d3c6ebbc9dc9414c35aaf1f8e19ae4c5beb5048c7d\",\"dweb:/ipfs/QmZxKTDNLvVDV4jJ6S2qu9HnPbSXq1hRfgazJAL1xWkSkt\"]},\"node_modules/@latticexyz/world/src/IERC165.sol\":{\"keccak256\":\"0xe3d9074a1be3247be67ff4dd2c9e41481650ddaa799285a249736bb85673e33d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0b6743ee1e6d0c74927bf17fc1da0cad7575aa7634871b94190ffbdb4c28c2a7\",\"dweb:/ipfs/Qma5bNsPJSBTesWxg3eAAMUBTDE7UjqWaHF7eMiGwP87jr\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","ds-test/=node_modules/ds-test/src/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"node_modules/@latticexyz/world/src/ERC165Checker.sol":"ERC165Checker"},"evmVersion":"cancun","libraries":{}},"sources":{"node_modules/@latticexyz/world/src/ERC165Checker.sol":{"keccak256":"0xb9d3ad8030a8d111971cbf775c1834313736c2f714d2bcb90fe065a928abe2c8","urls":["bzz-raw://702c7297150819d078d498d3c6ebbc9dc9414c35aaf1f8e19ae4c5beb5048c7d","dweb:/ipfs/QmZxKTDNLvVDV4jJ6S2qu9HnPbSXq1hRfgazJAL1xWkSkt"],"license":"MIT"},"node_modules/@latticexyz/world/src/IERC165.sol":{"keccak256":"0xe3d9074a1be3247be67ff4dd2c9e41481650ddaa799285a249736bb85673e33d","urls":["bzz-raw://0b6743ee1e6d0c74927bf17fc1da0cad7575aa7634871b94190ffbdb4c28c2a7","dweb:/ipfs/Qma5bNsPJSBTesWxg3eAAMUBTDE7UjqWaHF7eMiGwP87jr"],"license":"MIT"}},"version":1},"id":49}
@@ -0,0 +1,303 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "onAfterDeleteRecord",
5
+ "inputs": [
6
+ {
7
+ "name": "tableId",
8
+ "type": "bytes32",
9
+ "internalType": "ResourceId"
10
+ },
11
+ {
12
+ "name": "keyTuple",
13
+ "type": "bytes32[]",
14
+ "internalType": "bytes32[]"
15
+ },
16
+ {
17
+ "name": "fieldLayout",
18
+ "type": "bytes32",
19
+ "internalType": "FieldLayout"
20
+ }
21
+ ],
22
+ "outputs": [],
23
+ "stateMutability": "nonpayable"
24
+ },
25
+ {
26
+ "type": "function",
27
+ "name": "onAfterSetRecord",
28
+ "inputs": [
29
+ {
30
+ "name": "tableId",
31
+ "type": "bytes32",
32
+ "internalType": "ResourceId"
33
+ },
34
+ {
35
+ "name": "keyTuple",
36
+ "type": "bytes32[]",
37
+ "internalType": "bytes32[]"
38
+ },
39
+ {
40
+ "name": "staticData",
41
+ "type": "bytes",
42
+ "internalType": "bytes"
43
+ },
44
+ {
45
+ "name": "encodedLengths",
46
+ "type": "bytes32",
47
+ "internalType": "EncodedLengths"
48
+ },
49
+ {
50
+ "name": "dynamicData",
51
+ "type": "bytes",
52
+ "internalType": "bytes"
53
+ },
54
+ {
55
+ "name": "fieldLayout",
56
+ "type": "bytes32",
57
+ "internalType": "FieldLayout"
58
+ }
59
+ ],
60
+ "outputs": [],
61
+ "stateMutability": "nonpayable"
62
+ },
63
+ {
64
+ "type": "function",
65
+ "name": "onAfterSpliceDynamicData",
66
+ "inputs": [
67
+ {
68
+ "name": "tableId",
69
+ "type": "bytes32",
70
+ "internalType": "ResourceId"
71
+ },
72
+ {
73
+ "name": "keyTuple",
74
+ "type": "bytes32[]",
75
+ "internalType": "bytes32[]"
76
+ },
77
+ {
78
+ "name": "dynamicFieldIndex",
79
+ "type": "uint8",
80
+ "internalType": "uint8"
81
+ },
82
+ {
83
+ "name": "startWithinField",
84
+ "type": "uint40",
85
+ "internalType": "uint40"
86
+ },
87
+ {
88
+ "name": "deleteCount",
89
+ "type": "uint40",
90
+ "internalType": "uint40"
91
+ },
92
+ {
93
+ "name": "encodedLengths",
94
+ "type": "bytes32",
95
+ "internalType": "EncodedLengths"
96
+ },
97
+ {
98
+ "name": "data",
99
+ "type": "bytes",
100
+ "internalType": "bytes"
101
+ }
102
+ ],
103
+ "outputs": [],
104
+ "stateMutability": "nonpayable"
105
+ },
106
+ {
107
+ "type": "function",
108
+ "name": "onAfterSpliceStaticData",
109
+ "inputs": [
110
+ {
111
+ "name": "tableId",
112
+ "type": "bytes32",
113
+ "internalType": "ResourceId"
114
+ },
115
+ {
116
+ "name": "keyTuple",
117
+ "type": "bytes32[]",
118
+ "internalType": "bytes32[]"
119
+ },
120
+ {
121
+ "name": "start",
122
+ "type": "uint48",
123
+ "internalType": "uint48"
124
+ },
125
+ {
126
+ "name": "data",
127
+ "type": "bytes",
128
+ "internalType": "bytes"
129
+ }
130
+ ],
131
+ "outputs": [],
132
+ "stateMutability": "nonpayable"
133
+ },
134
+ {
135
+ "type": "function",
136
+ "name": "onBeforeDeleteRecord",
137
+ "inputs": [
138
+ {
139
+ "name": "tableId",
140
+ "type": "bytes32",
141
+ "internalType": "ResourceId"
142
+ },
143
+ {
144
+ "name": "keyTuple",
145
+ "type": "bytes32[]",
146
+ "internalType": "bytes32[]"
147
+ },
148
+ {
149
+ "name": "fieldLayout",
150
+ "type": "bytes32",
151
+ "internalType": "FieldLayout"
152
+ }
153
+ ],
154
+ "outputs": [],
155
+ "stateMutability": "nonpayable"
156
+ },
157
+ {
158
+ "type": "function",
159
+ "name": "onBeforeSetRecord",
160
+ "inputs": [
161
+ {
162
+ "name": "tableId",
163
+ "type": "bytes32",
164
+ "internalType": "ResourceId"
165
+ },
166
+ {
167
+ "name": "keyTuple",
168
+ "type": "bytes32[]",
169
+ "internalType": "bytes32[]"
170
+ },
171
+ {
172
+ "name": "staticData",
173
+ "type": "bytes",
174
+ "internalType": "bytes"
175
+ },
176
+ {
177
+ "name": "encodedLengths",
178
+ "type": "bytes32",
179
+ "internalType": "EncodedLengths"
180
+ },
181
+ {
182
+ "name": "dynamicData",
183
+ "type": "bytes",
184
+ "internalType": "bytes"
185
+ },
186
+ {
187
+ "name": "fieldLayout",
188
+ "type": "bytes32",
189
+ "internalType": "FieldLayout"
190
+ }
191
+ ],
192
+ "outputs": [],
193
+ "stateMutability": "nonpayable"
194
+ },
195
+ {
196
+ "type": "function",
197
+ "name": "onBeforeSpliceDynamicData",
198
+ "inputs": [
199
+ {
200
+ "name": "tableId",
201
+ "type": "bytes32",
202
+ "internalType": "ResourceId"
203
+ },
204
+ {
205
+ "name": "keyTuple",
206
+ "type": "bytes32[]",
207
+ "internalType": "bytes32[]"
208
+ },
209
+ {
210
+ "name": "dynamicFieldIndex",
211
+ "type": "uint8",
212
+ "internalType": "uint8"
213
+ },
214
+ {
215
+ "name": "startWithinField",
216
+ "type": "uint40",
217
+ "internalType": "uint40"
218
+ },
219
+ {
220
+ "name": "deleteCount",
221
+ "type": "uint40",
222
+ "internalType": "uint40"
223
+ },
224
+ {
225
+ "name": "encodedLengths",
226
+ "type": "bytes32",
227
+ "internalType": "EncodedLengths"
228
+ },
229
+ {
230
+ "name": "data",
231
+ "type": "bytes",
232
+ "internalType": "bytes"
233
+ }
234
+ ],
235
+ "outputs": [],
236
+ "stateMutability": "nonpayable"
237
+ },
238
+ {
239
+ "type": "function",
240
+ "name": "onBeforeSpliceStaticData",
241
+ "inputs": [
242
+ {
243
+ "name": "tableId",
244
+ "type": "bytes32",
245
+ "internalType": "ResourceId"
246
+ },
247
+ {
248
+ "name": "keyTuple",
249
+ "type": "bytes32[]",
250
+ "internalType": "bytes32[]"
251
+ },
252
+ {
253
+ "name": "start",
254
+ "type": "uint48",
255
+ "internalType": "uint48"
256
+ },
257
+ {
258
+ "name": "data",
259
+ "type": "bytes",
260
+ "internalType": "bytes"
261
+ }
262
+ ],
263
+ "outputs": [],
264
+ "stateMutability": "nonpayable"
265
+ },
266
+ {
267
+ "type": "function",
268
+ "name": "supportsInterface",
269
+ "inputs": [
270
+ {
271
+ "name": "interfaceId",
272
+ "type": "bytes4",
273
+ "internalType": "bytes4"
274
+ }
275
+ ],
276
+ "outputs": [
277
+ {
278
+ "name": "",
279
+ "type": "bool",
280
+ "internalType": "bool"
281
+ }
282
+ ],
283
+ "stateMutability": "pure"
284
+ },
285
+ {
286
+ "type": "event",
287
+ "name": "HookCalled",
288
+ "inputs": [
289
+ {
290
+ "name": "",
291
+ "type": "bytes",
292
+ "indexed": false,
293
+ "internalType": "bytes"
294
+ }
295
+ ],
296
+ "anonymous": false
297
+ },
298
+ {
299
+ "type": "error",
300
+ "name": "StoreHook_NotImplemented",
301
+ "inputs": []
302
+ }
303
+ ]
@@ -0,0 +1,305 @@
1
+ declare const abi: [
2
+ {
3
+ "type": "function",
4
+ "name": "onAfterDeleteRecord",
5
+ "inputs": [
6
+ {
7
+ "name": "tableId",
8
+ "type": "bytes32",
9
+ "internalType": "ResourceId"
10
+ },
11
+ {
12
+ "name": "keyTuple",
13
+ "type": "bytes32[]",
14
+ "internalType": "bytes32[]"
15
+ },
16
+ {
17
+ "name": "fieldLayout",
18
+ "type": "bytes32",
19
+ "internalType": "FieldLayout"
20
+ }
21
+ ],
22
+ "outputs": [],
23
+ "stateMutability": "nonpayable"
24
+ },
25
+ {
26
+ "type": "function",
27
+ "name": "onAfterSetRecord",
28
+ "inputs": [
29
+ {
30
+ "name": "tableId",
31
+ "type": "bytes32",
32
+ "internalType": "ResourceId"
33
+ },
34
+ {
35
+ "name": "keyTuple",
36
+ "type": "bytes32[]",
37
+ "internalType": "bytes32[]"
38
+ },
39
+ {
40
+ "name": "staticData",
41
+ "type": "bytes",
42
+ "internalType": "bytes"
43
+ },
44
+ {
45
+ "name": "encodedLengths",
46
+ "type": "bytes32",
47
+ "internalType": "EncodedLengths"
48
+ },
49
+ {
50
+ "name": "dynamicData",
51
+ "type": "bytes",
52
+ "internalType": "bytes"
53
+ },
54
+ {
55
+ "name": "fieldLayout",
56
+ "type": "bytes32",
57
+ "internalType": "FieldLayout"
58
+ }
59
+ ],
60
+ "outputs": [],
61
+ "stateMutability": "nonpayable"
62
+ },
63
+ {
64
+ "type": "function",
65
+ "name": "onAfterSpliceDynamicData",
66
+ "inputs": [
67
+ {
68
+ "name": "tableId",
69
+ "type": "bytes32",
70
+ "internalType": "ResourceId"
71
+ },
72
+ {
73
+ "name": "keyTuple",
74
+ "type": "bytes32[]",
75
+ "internalType": "bytes32[]"
76
+ },
77
+ {
78
+ "name": "dynamicFieldIndex",
79
+ "type": "uint8",
80
+ "internalType": "uint8"
81
+ },
82
+ {
83
+ "name": "startWithinField",
84
+ "type": "uint40",
85
+ "internalType": "uint40"
86
+ },
87
+ {
88
+ "name": "deleteCount",
89
+ "type": "uint40",
90
+ "internalType": "uint40"
91
+ },
92
+ {
93
+ "name": "encodedLengths",
94
+ "type": "bytes32",
95
+ "internalType": "EncodedLengths"
96
+ },
97
+ {
98
+ "name": "data",
99
+ "type": "bytes",
100
+ "internalType": "bytes"
101
+ }
102
+ ],
103
+ "outputs": [],
104
+ "stateMutability": "nonpayable"
105
+ },
106
+ {
107
+ "type": "function",
108
+ "name": "onAfterSpliceStaticData",
109
+ "inputs": [
110
+ {
111
+ "name": "tableId",
112
+ "type": "bytes32",
113
+ "internalType": "ResourceId"
114
+ },
115
+ {
116
+ "name": "keyTuple",
117
+ "type": "bytes32[]",
118
+ "internalType": "bytes32[]"
119
+ },
120
+ {
121
+ "name": "start",
122
+ "type": "uint48",
123
+ "internalType": "uint48"
124
+ },
125
+ {
126
+ "name": "data",
127
+ "type": "bytes",
128
+ "internalType": "bytes"
129
+ }
130
+ ],
131
+ "outputs": [],
132
+ "stateMutability": "nonpayable"
133
+ },
134
+ {
135
+ "type": "function",
136
+ "name": "onBeforeDeleteRecord",
137
+ "inputs": [
138
+ {
139
+ "name": "tableId",
140
+ "type": "bytes32",
141
+ "internalType": "ResourceId"
142
+ },
143
+ {
144
+ "name": "keyTuple",
145
+ "type": "bytes32[]",
146
+ "internalType": "bytes32[]"
147
+ },
148
+ {
149
+ "name": "fieldLayout",
150
+ "type": "bytes32",
151
+ "internalType": "FieldLayout"
152
+ }
153
+ ],
154
+ "outputs": [],
155
+ "stateMutability": "nonpayable"
156
+ },
157
+ {
158
+ "type": "function",
159
+ "name": "onBeforeSetRecord",
160
+ "inputs": [
161
+ {
162
+ "name": "tableId",
163
+ "type": "bytes32",
164
+ "internalType": "ResourceId"
165
+ },
166
+ {
167
+ "name": "keyTuple",
168
+ "type": "bytes32[]",
169
+ "internalType": "bytes32[]"
170
+ },
171
+ {
172
+ "name": "staticData",
173
+ "type": "bytes",
174
+ "internalType": "bytes"
175
+ },
176
+ {
177
+ "name": "encodedLengths",
178
+ "type": "bytes32",
179
+ "internalType": "EncodedLengths"
180
+ },
181
+ {
182
+ "name": "dynamicData",
183
+ "type": "bytes",
184
+ "internalType": "bytes"
185
+ },
186
+ {
187
+ "name": "fieldLayout",
188
+ "type": "bytes32",
189
+ "internalType": "FieldLayout"
190
+ }
191
+ ],
192
+ "outputs": [],
193
+ "stateMutability": "nonpayable"
194
+ },
195
+ {
196
+ "type": "function",
197
+ "name": "onBeforeSpliceDynamicData",
198
+ "inputs": [
199
+ {
200
+ "name": "tableId",
201
+ "type": "bytes32",
202
+ "internalType": "ResourceId"
203
+ },
204
+ {
205
+ "name": "keyTuple",
206
+ "type": "bytes32[]",
207
+ "internalType": "bytes32[]"
208
+ },
209
+ {
210
+ "name": "dynamicFieldIndex",
211
+ "type": "uint8",
212
+ "internalType": "uint8"
213
+ },
214
+ {
215
+ "name": "startWithinField",
216
+ "type": "uint40",
217
+ "internalType": "uint40"
218
+ },
219
+ {
220
+ "name": "deleteCount",
221
+ "type": "uint40",
222
+ "internalType": "uint40"
223
+ },
224
+ {
225
+ "name": "encodedLengths",
226
+ "type": "bytes32",
227
+ "internalType": "EncodedLengths"
228
+ },
229
+ {
230
+ "name": "data",
231
+ "type": "bytes",
232
+ "internalType": "bytes"
233
+ }
234
+ ],
235
+ "outputs": [],
236
+ "stateMutability": "nonpayable"
237
+ },
238
+ {
239
+ "type": "function",
240
+ "name": "onBeforeSpliceStaticData",
241
+ "inputs": [
242
+ {
243
+ "name": "tableId",
244
+ "type": "bytes32",
245
+ "internalType": "ResourceId"
246
+ },
247
+ {
248
+ "name": "keyTuple",
249
+ "type": "bytes32[]",
250
+ "internalType": "bytes32[]"
251
+ },
252
+ {
253
+ "name": "start",
254
+ "type": "uint48",
255
+ "internalType": "uint48"
256
+ },
257
+ {
258
+ "name": "data",
259
+ "type": "bytes",
260
+ "internalType": "bytes"
261
+ }
262
+ ],
263
+ "outputs": [],
264
+ "stateMutability": "nonpayable"
265
+ },
266
+ {
267
+ "type": "function",
268
+ "name": "supportsInterface",
269
+ "inputs": [
270
+ {
271
+ "name": "interfaceId",
272
+ "type": "bytes4",
273
+ "internalType": "bytes4"
274
+ }
275
+ ],
276
+ "outputs": [
277
+ {
278
+ "name": "",
279
+ "type": "bool",
280
+ "internalType": "bool"
281
+ }
282
+ ],
283
+ "stateMutability": "pure"
284
+ },
285
+ {
286
+ "type": "event",
287
+ "name": "HookCalled",
288
+ "inputs": [
289
+ {
290
+ "name": "",
291
+ "type": "bytes",
292
+ "indexed": false,
293
+ "internalType": "bytes"
294
+ }
295
+ ],
296
+ "anonymous": false
297
+ },
298
+ {
299
+ "type": "error",
300
+ "name": "StoreHook_NotImplemented",
301
+ "inputs": []
302
+ }
303
+ ];
304
+
305
+ export default abi;