@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.
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/dist/internal.d.ts +20 -0
- package/dist/internal.js +2 -0
- package/dist/internal.js.map +1 -0
- package/dist/mud.config.d.ts +103 -0
- package/dist/mud.config.js +2 -0
- package/dist/mud.config.js.map +1 -0
- package/out/AccessControl.sol/AccessControl.abi.json +1 -0
- package/out/AccessControl.sol/AccessControl.json +1 -0
- package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json +256 -0
- package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts +258 -0
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -0
- package/out/AddressArray.sol/AddressArray.abi.json +1 -0
- package/out/AddressArray.sol/AddressArray.json +1 -0
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json +361 -0
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts +363 -0
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -0
- package/out/Balances.sol/Balances.abi.json +1 -0
- package/out/Balances.sol/Balances.json +1 -0
- package/out/Base.sol/CommonBase.abi.json +1 -0
- package/out/Base.sol/CommonBase.json +1 -0
- package/out/Base.sol/ScriptBase.abi.json +1 -0
- package/out/Base.sol/ScriptBase.json +1 -0
- package/out/Base.sol/TestBase.abi.json +1 -0
- package/out/Base.sol/TestBase.json +1 -0
- package/out/BatchCallSystem.sol/BatchCallSystem.abi.json +132 -0
- package/out/BatchCallSystem.sol/BatchCallSystem.abi.json.d.ts +134 -0
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -0
- package/out/Bool.sol/Bool.abi.json +1 -0
- package/out/Bool.sol/Bool.json +1 -0
- package/out/Bytes.sol/Bytes.abi.json +1 -0
- package/out/Bytes.sol/Bytes.json +1 -0
- package/out/CallWithSignatureModule.sol/CallWithSignatureModule.abi.json +436 -0
- package/out/CallWithSignatureModule.sol/CallWithSignatureModule.abi.json.d.ts +438 -0
- package/out/CallWithSignatureModule.sol/CallWithSignatureModule.json +1 -0
- package/out/CallWithSignatureModule.t.sol/CallWithSignatureModuleTest.abi.json +541 -0
- package/out/CallWithSignatureModule.t.sol/CallWithSignatureModuleTest.abi.json.d.ts +543 -0
- package/out/CallWithSignatureModule.t.sol/CallWithSignatureModuleTest.json +1 -0
- package/out/CallWithSignatureNonces.sol/CallWithSignatureNonces.abi.json +1 -0
- package/out/CallWithSignatureNonces.sol/CallWithSignatureNonces.json +1 -0
- package/out/CallWithSignatureSystem.sol/CallWithSignatureSystem.abi.json +183 -0
- package/out/CallWithSignatureSystem.sol/CallWithSignatureSystem.abi.json.d.ts +185 -0
- package/out/CallWithSignatureSystem.sol/CallWithSignatureSystem.json +1 -0
- package/out/DecodeSlice.sol/DecodeSlice.abi.json +1 -0
- package/out/DecodeSlice.sol/DecodeSlice.json +1 -0
- package/out/Delegation.sol/Delegation.abi.json +1 -0
- package/out/Delegation.sol/Delegation.json +1 -0
- package/out/DelegationControl.sol/DelegationControl.abi.json +89 -0
- package/out/DelegationControl.sol/DelegationControl.abi.json.d.ts +91 -0
- package/out/DelegationControl.sol/DelegationControl.json +1 -0
- package/out/DelegationControlMock.sol/DelegationControlMock.abi.json +126 -0
- package/out/DelegationControlMock.sol/DelegationControlMock.abi.json.d.ts +128 -0
- package/out/DelegationControlMock.sol/DelegationControlMock.json +1 -0
- package/out/ECDSA.sol/ECDSA.abi.json +29 -0
- package/out/ECDSA.sol/ECDSA.abi.json.d.ts +31 -0
- package/out/ECDSA.sol/ECDSA.json +1 -0
- package/out/ERC165Checker.sol/ERC165Checker.abi.json +1 -0
- package/out/ERC165Checker.sol/ERC165Checker.json +1 -0
- package/out/EchoSubscriber.sol/EchoSubscriber.abi.json +303 -0
- package/out/EchoSubscriber.sol/EchoSubscriber.abi.json.d.ts +305 -0
- package/out/EchoSubscriber.sol/EchoSubscriber.json +1 -0
- package/out/EncodeArray.sol/EncodeArray.abi.json +1 -0
- package/out/EncodeArray.sol/EncodeArray.json +1 -0
- package/out/EncodedLengths.sol/EncodedLengthsInstance.abi.json +1 -0
- package/out/EncodedLengths.sol/EncodedLengthsInstance.json +1 -0
- package/out/EncodedLengths.sol/EncodedLengthsLib.abi.json +1 -0
- package/out/EncodedLengths.sol/EncodedLengthsLib.json +1 -0
- package/out/FieldLayout.sol/FieldLayoutInstance.abi.json +1 -0
- package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -0
- package/out/FieldLayout.sol/FieldLayoutLib.abi.json +1 -0
- package/out/FieldLayout.sol/FieldLayoutLib.json +1 -0
- package/out/FieldLayoutEncodeHelper.sol/FieldLayoutEncodeHelper.abi.json +1 -0
- package/out/FieldLayoutEncodeHelper.sol/FieldLayoutEncodeHelper.json +1 -0
- package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
- package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -0
- package/out/FunctionSignatures.sol/FunctionSignatures.abi.json +1 -0
- package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -0
- package/out/GasReporter.sol/GasReporter.abi.json +520 -0
- package/out/GasReporter.sol/GasReporter.abi.json.d.ts +522 -0
- package/out/GasReporter.sol/GasReporter.json +1 -0
- package/out/Hook.sol/HookInstance.abi.json +1 -0
- package/out/Hook.sol/HookInstance.json +1 -0
- package/out/Hook.sol/HookLib.abi.json +1 -0
- package/out/Hook.sol/HookLib.json +1 -0
- package/out/Hooks.sol/Hooks.abi.json +1 -0
- package/out/Hooks.sol/Hooks.json +1 -0
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json +69 -0
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json.d.ts +71 -0
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -0
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json +48 -0
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json.d.ts +50 -0
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -0
- package/out/IBaseWorld.sol/IBaseWorld.abi.json +2008 -0
- package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +2010 -0
- package/out/IBaseWorld.sol/IBaseWorld.json +1 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +71 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -0
- package/out/ICallWithSignatureErrors.sol/ICallWithSignatureErrors.abi.json +7 -0
- package/out/ICallWithSignatureErrors.sol/ICallWithSignatureErrors.abi.json.d.ts +9 -0
- package/out/ICallWithSignatureErrors.sol/ICallWithSignatureErrors.json +1 -0
- package/out/ICallWithSignatureSystem.sol/ICallWithSignatureSystem.abi.json +36 -0
- package/out/ICallWithSignatureSystem.sol/ICallWithSignatureSystem.abi.json.d.ts +38 -0
- package/out/ICallWithSignatureSystem.sol/ICallWithSignatureSystem.json +1 -0
- package/out/IDelegationControl.sol/IDelegationControl.abi.json +89 -0
- package/out/IDelegationControl.sol/IDelegationControl.abi.json.d.ts +91 -0
- package/out/IDelegationControl.sol/IDelegationControl.json +1 -0
- package/out/IERC1271.sol/IERC1271.abi.json +26 -0
- package/out/IERC1271.sol/IERC1271.abi.json.d.ts +28 -0
- package/out/IERC1271.sol/IERC1271.json +1 -0
- package/out/IERC165.sol/IERC165.abi.json +21 -0
- package/out/IERC165.sol/IERC165.abi.json.d.ts +23 -0
- package/out/IERC165.sol/IERC165.json +1 -0
- package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json +13 -0
- package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json.d.ts +15 -0
- package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.json +1 -0
- package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json +88 -0
- package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json.d.ts +90 -0
- package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.json +1 -0
- package/out/IModule.sol/IModule.abi.json +73 -0
- package/out/IModule.sol/IModule.abi.json.d.ts +75 -0
- package/out/IModule.sol/IModule.json +1 -0
- package/out/IModuleErrors.sol/IModuleErrors.abi.json +28 -0
- package/out/IModuleErrors.sol/IModuleErrors.abi.json.d.ts +30 -0
- package/out/IModuleErrors.sol/IModuleErrors.json +1 -0
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json +20 -0
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json.d.ts +22 -0
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -0
- package/out/IMulticall3.sol/IMulticall3.abi.json +440 -0
- package/out/IMulticall3.sol/IMulticall3.abi.json.d.ts +442 -0
- package/out/IMulticall3.sol/IMulticall3.json +1 -0
- package/out/IRegistrationSystem.sol/IRegistrationSystem.abi.json +1 -0
- package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -0
- package/out/ISchemaErrors.sol/ISchemaErrors.abi.json +18 -0
- package/out/ISchemaErrors.sol/ISchemaErrors.abi.json.d.ts +20 -0
- package/out/ISchemaErrors.sol/ISchemaErrors.json +1 -0
- package/out/ISliceErrors.sol/ISliceErrors.abi.json +23 -0
- package/out/ISliceErrors.sol/ISliceErrors.abi.json.d.ts +25 -0
- package/out/ISliceErrors.sol/ISliceErrors.json +1 -0
- package/out/IStore.sol/IStore.abi.json +1261 -0
- package/out/IStore.sol/IStore.abi.json.d.ts +1263 -0
- package/out/IStore.sol/IStore.json +1 -0
- package/out/IStoreErrors.sol/IStoreErrors.abi.json +204 -0
- package/out/IStoreErrors.sol/IStoreErrors.abi.json.d.ts +206 -0
- package/out/IStoreErrors.sol/IStoreErrors.json +1 -0
- package/out/IStoreEvents.sol/IStoreEvents.abi.json +151 -0
- package/out/IStoreEvents.sol/IStoreEvents.abi.json.d.ts +153 -0
- package/out/IStoreEvents.sol/IStoreEvents.json +1 -0
- package/out/IStoreHook.sol/IStoreHook.abi.json +290 -0
- package/out/IStoreHook.sol/IStoreHook.abi.json.d.ts +292 -0
- package/out/IStoreHook.sol/IStoreHook.json +1 -0
- package/out/IStoreKernel.sol/IStoreKernel.abi.json +1182 -0
- package/out/IStoreKernel.sol/IStoreKernel.abi.json.d.ts +1184 -0
- package/out/IStoreKernel.sol/IStoreKernel.json +1 -0
- package/out/IStoreRead.sol/IStoreRead.abi.json +389 -0
- package/out/IStoreRead.sol/IStoreRead.abi.json.d.ts +391 -0
- package/out/IStoreRead.sol/IStoreRead.json +1 -0
- package/out/IStoreRegistration.sol/IStoreRegistration.abi.json +81 -0
- package/out/IStoreRegistration.sol/IStoreRegistration.abi.json.d.ts +83 -0
- package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -0
- package/out/IStoreWrite.sol/IStoreWrite.abi.json +446 -0
- package/out/IStoreWrite.sol/IStoreWrite.abi.json.d.ts +448 -0
- package/out/IStoreWrite.sol/IStoreWrite.json +1 -0
- package/out/ISystemHook.sol/ISystemHook.abi.json +67 -0
- package/out/ISystemHook.sol/ISystemHook.abi.json.d.ts +69 -0
- package/out/ISystemHook.sol/ISystemHook.json +1 -0
- package/out/IWorld.sol/IWorld.abi.json +2042 -0
- package/out/IWorld.sol/IWorld.abi.json.d.ts +2044 -0
- package/out/IWorld.sol/IWorld.json +1 -0
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json +60 -0
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json.d.ts +62 -0
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -0
- package/out/IWorldErrors.sol/IWorldErrors.abi.json +200 -0
- package/out/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +202 -0
- package/out/IWorldErrors.sol/IWorldErrors.json +1 -0
- package/out/IWorldEvents.sol/IWorldEvents.abi.json +15 -0
- package/out/IWorldEvents.sol/IWorldEvents.abi.json.d.ts +17 -0
- package/out/IWorldEvents.sol/IWorldEvents.json +1 -0
- package/out/IWorldKernel.sol/IWorldCall.abi.json +55 -0
- package/out/IWorldKernel.sol/IWorldCall.abi.json.d.ts +57 -0
- package/out/IWorldKernel.sol/IWorldCall.json +1 -0
- package/out/IWorldKernel.sol/IWorldKernel.abi.json +349 -0
- package/out/IWorldKernel.sol/IWorldKernel.abi.json.d.ts +351 -0
- package/out/IWorldKernel.sol/IWorldKernel.json +1 -0
- package/out/IWorldKernel.sol/IWorldModuleInstallation.abi.json +20 -0
- package/out/IWorldKernel.sol/IWorldModuleInstallation.abi.json.d.ts +22 -0
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -0
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json +204 -0
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json.d.ts +206 -0
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -0
- package/out/InitModule.sol/InitModule.abi.json +462 -0
- package/out/InitModule.sol/InitModule.abi.json.d.ts +464 -0
- package/out/InitModule.sol/InitModule.json +1 -0
- package/out/InitModuleAddress.sol/InitModuleAddress.abi.json +1 -0
- package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -0
- package/out/InstalledModules.sol/InstalledModules.abi.json +1 -0
- package/out/InstalledModules.sol/InstalledModules.json +1 -0
- package/out/LimitedCallContext.sol/LimitedCallContext.abi.json +7 -0
- package/out/LimitedCallContext.sol/LimitedCallContext.abi.json.d.ts +9 -0
- package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -0
- package/out/Memory.sol/Memory.abi.json +1 -0
- package/out/Memory.sol/Memory.json +1 -0
- package/out/Module.sol/Module.abi.json +112 -0
- package/out/Module.sol/Module.abi.json.d.ts +114 -0
- package/out/Module.sol/Module.json +1 -0
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +151 -0
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +153 -0
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -0
- package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.abi.json +1 -0
- package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -0
- package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
- package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -0
- package/out/RegistrationSystem.sol/RegistrationSystem.abi.json +1018 -0
- package/out/RegistrationSystem.sol/RegistrationSystem.abi.json.d.ts +1020 -0
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -0
- package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
- package/out/ResourceAccess.sol/ResourceAccess.json +1 -0
- package/out/ResourceId.sol/ResourceIdInstance.abi.json +1 -0
- package/out/ResourceId.sol/ResourceIdInstance.json +1 -0
- package/out/ResourceId.sol/ResourceIdLib.abi.json +1 -0
- package/out/ResourceId.sol/ResourceIdLib.json +1 -0
- package/out/ResourceIds.sol/ResourceIds.abi.json +1 -0
- package/out/ResourceIds.sol/ResourceIds.json +1 -0
- package/out/RevertSubscriber.sol/RevertSubscriber.abi.json +290 -0
- package/out/RevertSubscriber.sol/RevertSubscriber.abi.json.d.ts +292 -0
- package/out/RevertSubscriber.sol/RevertSubscriber.json +1 -0
- package/out/Schema.sol/SchemaInstance.abi.json +1 -0
- package/out/Schema.sol/SchemaInstance.json +1 -0
- package/out/Schema.sol/SchemaLib.abi.json +1 -0
- package/out/Schema.sol/SchemaLib.json +1 -0
- package/out/SchemaEncodeHelper.sol/SchemaEncodeHelper.abi.json +1 -0
- package/out/SchemaEncodeHelper.sol/SchemaEncodeHelper.json +1 -0
- package/out/SignatureChecker.sol/SignatureChecker.abi.json +1 -0
- package/out/SignatureChecker.sol/SignatureChecker.json +1 -0
- package/out/Slice.sol/SliceInstance.abi.json +1 -0
- package/out/Slice.sol/SliceInstance.json +1 -0
- package/out/Slice.sol/SliceLib.abi.json +1 -0
- package/out/Slice.sol/SliceLib.json +1 -0
- package/out/StdAssertions.sol/StdAssertions.abi.json +392 -0
- package/out/StdAssertions.sol/StdAssertions.abi.json.d.ts +394 -0
- package/out/StdAssertions.sol/StdAssertions.json +1 -0
- package/out/StdChains.sol/StdChains.abi.json +1 -0
- package/out/StdChains.sol/StdChains.json +1 -0
- package/out/StdCheats.sol/StdCheats.abi.json +1 -0
- package/out/StdCheats.sol/StdCheats.json +1 -0
- package/out/StdCheats.sol/StdCheatsSafe.abi.json +1 -0
- package/out/StdCheats.sol/StdCheatsSafe.json +1 -0
- package/out/StdError.sol/stdError.abi.json +119 -0
- package/out/StdError.sol/stdError.abi.json.d.ts +121 -0
- package/out/StdError.sol/stdError.json +1 -0
- package/out/StdInvariant.sol/StdInvariant.abi.json +130 -0
- package/out/StdInvariant.sol/StdInvariant.abi.json.d.ts +132 -0
- package/out/StdInvariant.sol/StdInvariant.json +1 -0
- package/out/StdJson.sol/stdJson.abi.json +1 -0
- package/out/StdJson.sol/stdJson.json +1 -0
- package/out/StdMath.sol/stdMath.abi.json +1 -0
- package/out/StdMath.sol/stdMath.json +1 -0
- package/out/StdStorage.sol/stdStorage.abi.json +1 -0
- package/out/StdStorage.sol/stdStorage.json +1 -0
- package/out/StdStorage.sol/stdStorageSafe.abi.json +52 -0
- package/out/StdStorage.sol/stdStorageSafe.abi.json.d.ts +54 -0
- package/out/StdStorage.sol/stdStorageSafe.json +1 -0
- package/out/StdStyle.sol/StdStyle.abi.json +1 -0
- package/out/StdStyle.sol/StdStyle.json +1 -0
- package/out/StdUtils.sol/StdUtils.abi.json +1 -0
- package/out/StdUtils.sol/StdUtils.json +1 -0
- package/out/Storage.sol/Storage.abi.json +1 -0
- package/out/Storage.sol/Storage.json +1 -0
- package/out/StoreCore.sol/StoreCore.abi.json +1 -0
- package/out/StoreCore.sol/StoreCore.json +1 -0
- package/out/StoreCore.sol/StoreCoreInternal.abi.json +1 -0
- package/out/StoreCore.sol/StoreCoreInternal.json +1 -0
- package/out/StoreHook.sol/StoreHook.abi.json +290 -0
- package/out/StoreHook.sol/StoreHook.abi.json.d.ts +292 -0
- package/out/StoreHook.sol/StoreHook.json +1 -0
- package/out/StoreHooks.sol/StoreHooks.abi.json +1 -0
- package/out/StoreHooks.sol/StoreHooks.json +1 -0
- package/out/StoreKernel.sol/StoreKernel.abi.json +1182 -0
- package/out/StoreKernel.sol/StoreKernel.abi.json.d.ts +1184 -0
- package/out/StoreKernel.sol/StoreKernel.json +1 -0
- package/out/StoreRead.sol/StoreRead.abi.json +437 -0
- package/out/StoreRead.sol/StoreRead.abi.json.d.ts +439 -0
- package/out/StoreRead.sol/StoreRead.json +1 -0
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +779 -0
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +781 -0
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -0
- package/out/StoreSwitch.sol/StoreSwitch.abi.json +1 -0
- package/out/StoreSwitch.sol/StoreSwitch.json +1 -0
- package/out/System.sol/System.abi.json +60 -0
- package/out/System.sol/System.abi.json.d.ts +62 -0
- package/out/System.sol/System.json +1 -0
- package/out/SystemCall.sol/SystemCall.abi.json +1 -0
- package/out/SystemCall.sol/SystemCall.json +1 -0
- package/out/SystemHook.sol/SystemHook.abi.json +67 -0
- package/out/SystemHook.sol/SystemHook.abi.json.d.ts +69 -0
- package/out/SystemHook.sol/SystemHook.json +1 -0
- package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
- package/out/SystemHooks.sol/SystemHooks.json +1 -0
- package/out/SystemRegistry.sol/SystemRegistry.abi.json +1 -0
- package/out/SystemRegistry.sol/SystemRegistry.json +1 -0
- package/out/Systems.sol/Systems.abi.json +1 -0
- package/out/Systems.sol/Systems.json +1 -0
- package/out/Tables.sol/Tables.abi.json +1 -0
- package/out/Tables.sol/Tables.json +1 -0
- package/out/Test.sol/Test.abi.json +520 -0
- package/out/Test.sol/Test.abi.json.d.ts +522 -0
- package/out/Test.sol/Test.json +1 -0
- package/out/TightCoder.sol/TightCoder.abi.json +1 -0
- package/out/TightCoder.sol/TightCoder.json +1 -0
- package/out/TwoFields.sol/TwoFields.abi.json +1 -0
- package/out/TwoFields.sol/TwoFields.json +1 -0
- package/out/UserDelegationControl.sol/UserDelegationControl.abi.json +1 -0
- package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -0
- package/out/Vm.sol/Vm.abi.json +3878 -0
- package/out/Vm.sol/Vm.abi.json.d.ts +3880 -0
- package/out/Vm.sol/Vm.json +1 -0
- package/out/Vm.sol/VmSafe.abi.json +2678 -0
- package/out/Vm.sol/VmSafe.abi.json.d.ts +2680 -0
- package/out/Vm.sol/VmSafe.json +1 -0
- package/out/World.sol/World.abi.json +1542 -0
- package/out/World.sol/World.abi.json.d.ts +1544 -0
- package/out/World.sol/World.json +1 -0
- package/out/World.t.sol/EchoSystemHook.abi.json +80 -0
- package/out/World.t.sol/EchoSystemHook.abi.json.d.ts +82 -0
- package/out/World.t.sol/EchoSystemHook.json +1 -0
- package/out/World.t.sol/IWorldTestSystem.abi.json +15 -0
- package/out/World.t.sol/IWorldTestSystem.abi.json.d.ts +17 -0
- package/out/World.t.sol/IWorldTestSystem.json +1 -0
- package/out/World.t.sol/PayableFallbackSystem.abi.json +64 -0
- package/out/World.t.sol/PayableFallbackSystem.abi.json.d.ts +66 -0
- package/out/World.t.sol/PayableFallbackSystem.json +1 -0
- package/out/World.t.sol/RevertSystemHook.abi.json +80 -0
- package/out/World.t.sol/RevertSystemHook.abi.json.d.ts +82 -0
- package/out/World.t.sol/RevertSystemHook.json +1 -0
- package/out/World.t.sol/WorldTest.abi.json +1029 -0
- package/out/World.t.sol/WorldTest.abi.json.d.ts +1031 -0
- package/out/World.t.sol/WorldTest.json +1 -0
- package/out/World.t.sol/WorldTestSystem.abi.json +277 -0
- package/out/World.t.sol/WorldTestSystem.abi.json.d.ts +279 -0
- package/out/World.t.sol/WorldTestSystem.json +1 -0
- package/out/WorldContext.sol/WorldContextConsumer.abi.json +60 -0
- package/out/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +62 -0
- package/out/WorldContext.sol/WorldContextConsumer.json +1 -0
- package/out/WorldContext.sol/WorldContextConsumerLib.abi.json +1 -0
- package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -0
- package/out/WorldContext.sol/WorldContextProviderLib.abi.json +1 -0
- package/out/WorldContext.sol/WorldContextProviderLib.json +1 -0
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +691 -0
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +693 -0
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -0
- package/out/WorldResourceId.sol/WorldResourceIdInstance.abi.json +1 -0
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -0
- package/out/WorldResourceId.sol/WorldResourceIdLib.abi.json +1 -0
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -0
- package/out/build-info/306c60bc5d3442ad78ed6293bddbefdd.json +1 -0
- package/out/console.sol/console.abi.json +1 -0
- package/out/console.sol/console.json +1 -0
- package/out/console2.sol/console2.abi.json +1 -0
- package/out/console2.sol/console2.json +1 -0
- package/out/constants.sol/LayoutOffsets.abi.json +1 -0
- package/out/constants.sol/LayoutOffsets.json +1 -0
- package/out/safeconsole.sol/safeconsole.abi.json +1 -0
- package/out/safeconsole.sol/safeconsole.json +1 -0
- package/out/src/IERC165.sol/IERC165.abi.json +21 -0
- package/out/src/IERC165.sol/IERC165.abi.json.d.ts +23 -0
- package/out/src/IERC165.sol/IERC165.json +1 -0
- package/out/test.sol/DSTest.abi.json +296 -0
- package/out/test.sol/DSTest.abi.json.d.ts +298 -0
- package/out/test.sol/DSTest.json +1 -0
- package/package.json +64 -0
- package/src/CallWithSignatureModule.sol +48 -0
- package/src/CallWithSignatureSystem.sol +36 -0
- package/src/ECDSA.sol +174 -0
- package/src/ICallWithSignatureErrors.sol +9 -0
- package/src/IERC1271.sol +17 -0
- package/src/SignatureChecker.sol +50 -0
- package/src/codegen/index.sol +6 -0
- package/src/codegen/tables/CallWithSignatureNonces.sol +199 -0
- package/src/codegen/world/ICallWithSignatureSystem.sol +20 -0
- package/src/codegen/world/IWorld.sol +16 -0
- package/src/constants.sol +10 -0
- package/src/getSignedMessageHash.sol +54 -0
- package/src/validateCallWithSignature.sol +31 -0
|
@@ -0,0 +1,290 @@
|
|
|
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": "view"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"type": "error",
|
|
287
|
+
"name": "StoreHook_NotImplemented",
|
|
288
|
+
"inputs": []
|
|
289
|
+
}
|
|
290
|
+
]
|
|
@@ -0,0 +1,292 @@
|
|
|
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": "view"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"type": "error",
|
|
287
|
+
"name": "StoreHook_NotImplemented",
|
|
288
|
+
"inputs": []
|
|
289
|
+
}
|
|
290
|
+
];
|
|
291
|
+
|
|
292
|
+
export default abi;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"function","name":"onAfterDeleteRecord","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onAfterSetRecord","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"staticData","type":"bytes","internalType":"bytes"},{"name":"encodedLengths","type":"bytes32","internalType":"EncodedLengths"},{"name":"dynamicData","type":"bytes","internalType":"bytes"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onAfterSpliceDynamicData","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"dynamicFieldIndex","type":"uint8","internalType":"uint8"},{"name":"startWithinField","type":"uint40","internalType":"uint40"},{"name":"deleteCount","type":"uint40","internalType":"uint40"},{"name":"encodedLengths","type":"bytes32","internalType":"EncodedLengths"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onAfterSpliceStaticData","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"start","type":"uint48","internalType":"uint48"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onBeforeDeleteRecord","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onBeforeSetRecord","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"staticData","type":"bytes","internalType":"bytes"},{"name":"encodedLengths","type":"bytes32","internalType":"EncodedLengths"},{"name":"dynamicData","type":"bytes","internalType":"bytes"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onBeforeSpliceDynamicData","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"dynamicFieldIndex","type":"uint8","internalType":"uint8"},{"name":"startWithinField","type":"uint40","internalType":"uint40"},{"name":"deleteCount","type":"uint40","internalType":"uint40"},{"name":"encodedLengths","type":"bytes32","internalType":"EncodedLengths"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"onBeforeSpliceStaticData","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"start","type":"uint48","internalType":"uint48"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"supportsInterface","inputs":[{"name":"interfaceID","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"error","name":"StoreHook_NotImplemented","inputs":[]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"onAfterDeleteRecord(bytes32,bytes32[],bytes32)":"83b5c95b","onAfterSetRecord(bytes32,bytes32[],bytes,bytes32,bytes,bytes32)":"5b28cdaf","onAfterSpliceDynamicData(bytes32,bytes32[],uint8,uint40,uint40,bytes32,bytes)":"63584533","onAfterSpliceStaticData(bytes32,bytes32[],uint48,bytes)":"a8ba8721","onBeforeDeleteRecord(bytes32,bytes32[],bytes32)":"9faeaf45","onBeforeSetRecord(bytes32,bytes32[],bytes,bytes32,bytes,bytes32)":"57066c9c","onBeforeSpliceDynamicData(bytes32,bytes32[],uint8,uint40,uint40,bytes32,bytes)":"55eb5a28","onBeforeSpliceStaticData(bytes32,bytes32[],uint48,bytes)":"964f667d","supportsInterface(bytes4)":"01ffc9a7"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"StoreHook_NotImplemented\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"onAfterDeleteRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"staticData\",\"type\":\"bytes\"},{\"internalType\":\"EncodedLengths\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"dynamicData\",\"type\":\"bytes\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"onAfterSetRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"uint40\",\"name\":\"startWithinField\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"deleteCount\",\"type\":\"uint40\"},{\"internalType\":\"EncodedLengths\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onAfterSpliceDynamicData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint48\",\"name\":\"start\",\"type\":\"uint48\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onAfterSpliceStaticData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"onBeforeDeleteRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"staticData\",\"type\":\"bytes\"},{\"internalType\":\"EncodedLengths\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"dynamicData\",\"type\":\"bytes\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"onBeforeSetRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"uint40\",\"name\":\"startWithinField\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"deleteCount\",\"type\":\"uint40\"},{\"internalType\":\"EncodedLengths\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onBeforeSpliceDynamicData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint48\",\"name\":\"start\",\"type\":\"uint48\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onBeforeSpliceStaticData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"kind\":\"dev\",\"methods\":{\"onAfterDeleteRecord(bytes32,bytes32[],bytes32)\":{\"params\":{\"fieldLayout\":\"The layout of the field, see FieldLayout.sol.\",\"keyTuple\":\"An array representing the composite key for the record.\",\"tableId\":\"The ID of the table where the record was deleted.\"}},\"onAfterSetRecord(bytes32,bytes32[],bytes,bytes32,bytes,bytes32)\":{\"params\":{\"dynamicData\":\"The dynamic data of the record.\",\"encodedLengths\":\"The encoded lengths of the dynamic data of the record.\",\"fieldLayout\":\"The layout of the field, see FieldLayout.sol.\",\"keyTuple\":\"An array representing the composite key for the record.\",\"staticData\":\"The static data of the record.\",\"tableId\":\"The ID of the table where the record was set.\"}},\"onAfterSpliceDynamicData(bytes32,bytes32[],uint8,uint40,uint40,bytes32,bytes)\":{\"details\":\"Splice operations in dynamic data always reach the end of the dynamic data to avoid shifting data after the inserted or deleted data.\",\"params\":{\"data\":\"The data inserted into the dynamic data of the record at the start byte.\",\"deleteCount\":\"The number of bytes deleted in the dynamic data of the record.\",\"dynamicFieldIndex\":\"The index of the dynamic field.\",\"encodedLengths\":\"The encoded lengths of the dynamic data of the record.\",\"keyTuple\":\"An array representing the composite key for the record.\",\"startWithinField\":\"The start byte position within the field for splicing.\",\"tableId\":\"The ID of the table where the data was spliced.\"}},\"onAfterSpliceStaticData(bytes32,bytes32[],uint48,bytes)\":{\"details\":\"Splice operations in static data always overwrite data starting at the start position, so the total length of the data remains the same and no data is shifted.\",\"params\":{\"data\":\"The data written to the static data of the record at the start byte.\",\"keyTuple\":\"An array representing the composite key for the record.\",\"start\":\"The start byte position for splicing.\",\"tableId\":\"The ID of the table where the data was spliced.\"}},\"onBeforeDeleteRecord(bytes32,bytes32[],bytes32)\":{\"params\":{\"fieldLayout\":\"The layout of the field, see FieldLayout.sol.\",\"keyTuple\":\"An array representing the composite key for the record.\",\"tableId\":\"The ID of the table where the record is to be deleted.\"}},\"onBeforeSetRecord(bytes32,bytes32[],bytes,bytes32,bytes,bytes32)\":{\"params\":{\"dynamicData\":\"The dynamic data of the record.\",\"encodedLengths\":\"The encoded lengths of the dynamic data of the record.\",\"fieldLayout\":\"The layout of the field, see FieldLayout.sol.\",\"keyTuple\":\"An array representing the composite key for the record.\",\"staticData\":\"The static data of the record.\",\"tableId\":\"The ID of the table where the record is to be set.\"}},\"onBeforeSpliceDynamicData(bytes32,bytes32[],uint8,uint40,uint40,bytes32,bytes)\":{\"details\":\"Splice operations in dynamic data always reach the end of the dynamic data to avoid shifting data after the inserted or deleted data.\",\"params\":{\"data\":\"The data to be inserted into the dynamic data of the record at the start byte.\",\"deleteCount\":\"The number of bytes to delete in the dynamic data of the record.\",\"dynamicFieldIndex\":\"The index of the dynamic field.\",\"encodedLengths\":\"The encoded lengths of the dynamic data of the record.\",\"keyTuple\":\"An array representing the composite key for the record.\",\"startWithinField\":\"The start byte position within the field for splicing.\",\"tableId\":\"The ID of the table where the data is to be spliced.\"}},\"onBeforeSpliceStaticData(bytes32,bytes32[],uint48,bytes)\":{\"details\":\"Splice operations in static data always overwrite data starting at the start position, so the total length of the data remains the same and no data is shifted.\",\"params\":{\"data\":\"The data to be written to the static data of the record at the start byte.\",\"keyTuple\":\"An array representing the composite key for the record.\",\"start\":\"The start byte position for splicing.\",\"tableId\":\"The ID of the table where the data is to be spliced.\"}},\"supportsInterface(bytes4)\":{\"details\":\"Interface identification is specified in ERC-165. This function uses less than 30,000 gas.\",\"params\":{\"interfaceID\":\"The interface identifier, as specified in ERC-165\"},\"returns\":{\"_0\":\"`true` if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, `false` otherwise\"}}},\"title\":\"IStoreHook\",\"version\":1},\"userdoc\":{\"errors\":{\"StoreHook_NotImplemented()\":[{\"notice\":\"Error emitted when a function is not implemented.\"}]},\"kind\":\"user\",\"methods\":{\"onAfterDeleteRecord(bytes32,bytes32[],bytes32)\":{\"notice\":\"Called after deleting a record from the store.\"},\"onAfterSetRecord(bytes32,bytes32[],bytes,bytes32,bytes,bytes32)\":{\"notice\":\"Called after setting a record in the store.\"},\"onAfterSpliceDynamicData(bytes32,bytes32[],uint8,uint40,uint40,bytes32,bytes)\":{\"notice\":\"Called after splicing dynamic data in the store.\"},\"onAfterSpliceStaticData(bytes32,bytes32[],uint48,bytes)\":{\"notice\":\"Called after splicing static data in the store.\"},\"onBeforeDeleteRecord(bytes32,bytes32[],bytes32)\":{\"notice\":\"Called before deleting a record from the store.\"},\"onBeforeSetRecord(bytes32,bytes32[],bytes,bytes32,bytes,bytes32)\":{\"notice\":\"Called before setting a record in the store.\"},\"onBeforeSpliceDynamicData(bytes32,bytes32[],uint8,uint40,uint40,bytes32,bytes)\":{\"notice\":\"Called before splicing dynamic data in the store.\"},\"onBeforeSpliceStaticData(bytes32,bytes32[],uint48,bytes)\":{\"notice\":\"Called before splicing static data in the store.\"},\"supportsInterface(bytes4)\":{\"notice\":\"Query if a contract implements an interface\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/store/src/IStoreHook.sol\":\"IStoreHook\"},\"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/store/src/EncodedLengths.sol\":{\"keccak256\":\"0xebc0a6efd611e02b15c05a382382b597fe059eba7f2a9e90da81eeb2f7666774\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://00b2cac12599935e25ea0697e99fc9e6d5af6c1c982761996c16707d9cd6ca09\",\"dweb:/ipfs/QmXccFminkrFtDpNfx6X1pHvW7Tn1nA5XcGu9T17pJyZyK\"]},\"node_modules/@latticexyz/store/src/FieldLayout.sol\":{\"keccak256\":\"0x15f698b7eabc062a00ff7a2e02db0ace2dd51f8bd2bc51a45dc0afa88f2ee658\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f774202c98ad394b3b62be93292512c633dec63bc931c190ed984656c2d54ec7\",\"dweb:/ipfs/Qmd2D9mvP8S88ad2Q8WU54saNVr3Pwc5stPqEKHwcpo8AT\"]},\"node_modules/@latticexyz/store/src/IERC165.sol\":{\"keccak256\":\"0x0efbf9afc716c585621482221f75e5bd60bcf0e813c9f7800d7c0309dcc3c927\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31b6aeb5446a0a0d5bd71be15a68c5bde94b08c961369203b83c8abe36f401d2\",\"dweb:/ipfs/QmXhComne4es9ZMKaGNqHCdJZrFoFssxMYgLaqvCXPL1Mg\"]},\"node_modules/@latticexyz/store/src/IEncodedLengthsErrors.sol\":{\"keccak256\":\"0x06bb49164f44acc8d51df7b75ecf2f7aeb9281f7a3b357cae7d8d58bd1700dfa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://719027f4cc60fea30ce01cd4f672462f41fac750ae802e91a1a6d37c929e11ba\",\"dweb:/ipfs/QmWi5DM2jT5V5SGP1afRmFyRgFvuZiGDX2PWHwP19HssF1\"]},\"node_modules/@latticexyz/store/src/IFieldLayoutErrors.sol\":{\"keccak256\":\"0xaef70c46e412bded1024ac82c957cea81c1d1ab11878a95635531e2ac9673a53\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cda2c7dc02ee8f0163b1c8d0f3e1e05d48b2a009e5c7365d2418f17bc3455817\",\"dweb:/ipfs/QmXHDZuCPTxjHaeiEaJhA81koX2NJ3Gj1zt5WVWaz77FL8\"]},\"node_modules/@latticexyz/store/src/IStoreHook.sol\":{\"keccak256\":\"0x6574a30a2bbd8a0de21b2504c55effb8802fdeff62296af82a9380bd753adcc4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85a859c533f51b584a9a2e8a64d61b6cf6f69bfcff1b926ad787518b1cae9562\",\"dweb:/ipfs/QmVyjmyJ69ZeqaXHg91JtGLVahRfZ7KtWaessLWZ6rYk9p\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x842b07f2ff9df2e1ecf9bf424b0e5a77e1471c983d674cf86b76c365178d6cc5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f4c2df8853b020aef1bb8615ac69d5512a9b5385b82c88e03b27dc521c9d007b\",\"dweb:/ipfs/QmWEDiJn69DvHsdrikrMWY8DERWPSeWwVYgPcunfq3yiT7\"]},\"node_modules/@latticexyz/store/src/constants.sol\":{\"keccak256\":\"0x67e0d59237bd37424827ecde1ecdbe71f65376af517b0623cd8f8d5451bca7a6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://09c5ec7fe73e06140957d44a3d9938587711c783ccbf08ff017638c9279a3168\",\"dweb:/ipfs/QmfS9ZRqHXmBJ1h5B4x4gbU6d18DtMgKZSkxhQgNVRxueu\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[],"type":"error","name":"StoreHook_NotImplemented"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"onAfterDeleteRecord"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"bytes","name":"staticData","type":"bytes"},{"internalType":"EncodedLengths","name":"encodedLengths","type":"bytes32"},{"internalType":"bytes","name":"dynamicData","type":"bytes"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"onAfterSetRecord"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"dynamicFieldIndex","type":"uint8"},{"internalType":"uint40","name":"startWithinField","type":"uint40"},{"internalType":"uint40","name":"deleteCount","type":"uint40"},{"internalType":"EncodedLengths","name":"encodedLengths","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"onAfterSpliceDynamicData"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint48","name":"start","type":"uint48"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"onAfterSpliceStaticData"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"onBeforeDeleteRecord"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"bytes","name":"staticData","type":"bytes"},{"internalType":"EncodedLengths","name":"encodedLengths","type":"bytes32"},{"internalType":"bytes","name":"dynamicData","type":"bytes"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"onBeforeSetRecord"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"dynamicFieldIndex","type":"uint8"},{"internalType":"uint40","name":"startWithinField","type":"uint40"},{"internalType":"uint40","name":"deleteCount","type":"uint40"},{"internalType":"EncodedLengths","name":"encodedLengths","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"onBeforeSpliceDynamicData"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint48","name":"start","type":"uint48"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"onBeforeSpliceStaticData"},{"inputs":[{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"stateMutability":"view","type":"function","name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}]}],"devdoc":{"kind":"dev","methods":{"onAfterDeleteRecord(bytes32,bytes32[],bytes32)":{"params":{"fieldLayout":"The layout of the field, see FieldLayout.sol.","keyTuple":"An array representing the composite key for the record.","tableId":"The ID of the table where the record was deleted."}},"onAfterSetRecord(bytes32,bytes32[],bytes,bytes32,bytes,bytes32)":{"params":{"dynamicData":"The dynamic data of the record.","encodedLengths":"The encoded lengths of the dynamic data of the record.","fieldLayout":"The layout of the field, see FieldLayout.sol.","keyTuple":"An array representing the composite key for the record.","staticData":"The static data of the record.","tableId":"The ID of the table where the record was set."}},"onAfterSpliceDynamicData(bytes32,bytes32[],uint8,uint40,uint40,bytes32,bytes)":{"details":"Splice operations in dynamic data always reach the end of the dynamic data to avoid shifting data after the inserted or deleted data.","params":{"data":"The data inserted into the dynamic data of the record at the start byte.","deleteCount":"The number of bytes deleted in the dynamic data of the record.","dynamicFieldIndex":"The index of the dynamic field.","encodedLengths":"The encoded lengths of the dynamic data of the record.","keyTuple":"An array representing the composite key for the record.","startWithinField":"The start byte position within the field for splicing.","tableId":"The ID of the table where the data was spliced."}},"onAfterSpliceStaticData(bytes32,bytes32[],uint48,bytes)":{"details":"Splice operations in static data always overwrite data starting at the start position, so the total length of the data remains the same and no data is shifted.","params":{"data":"The data written to the static data of the record at the start byte.","keyTuple":"An array representing the composite key for the record.","start":"The start byte position for splicing.","tableId":"The ID of the table where the data was spliced."}},"onBeforeDeleteRecord(bytes32,bytes32[],bytes32)":{"params":{"fieldLayout":"The layout of the field, see FieldLayout.sol.","keyTuple":"An array representing the composite key for the record.","tableId":"The ID of the table where the record is to be deleted."}},"onBeforeSetRecord(bytes32,bytes32[],bytes,bytes32,bytes,bytes32)":{"params":{"dynamicData":"The dynamic data of the record.","encodedLengths":"The encoded lengths of the dynamic data of the record.","fieldLayout":"The layout of the field, see FieldLayout.sol.","keyTuple":"An array representing the composite key for the record.","staticData":"The static data of the record.","tableId":"The ID of the table where the record is to be set."}},"onBeforeSpliceDynamicData(bytes32,bytes32[],uint8,uint40,uint40,bytes32,bytes)":{"details":"Splice operations in dynamic data always reach the end of the dynamic data to avoid shifting data after the inserted or deleted data.","params":{"data":"The data to be inserted into the dynamic data of the record at the start byte.","deleteCount":"The number of bytes to delete in the dynamic data of the record.","dynamicFieldIndex":"The index of the dynamic field.","encodedLengths":"The encoded lengths of the dynamic data of the record.","keyTuple":"An array representing the composite key for the record.","startWithinField":"The start byte position within the field for splicing.","tableId":"The ID of the table where the data is to be spliced."}},"onBeforeSpliceStaticData(bytes32,bytes32[],uint48,bytes)":{"details":"Splice operations in static data always overwrite data starting at the start position, so the total length of the data remains the same and no data is shifted.","params":{"data":"The data to be written to the static data of the record at the start byte.","keyTuple":"An array representing the composite key for the record.","start":"The start byte position for splicing.","tableId":"The ID of the table where the data is to be spliced."}},"supportsInterface(bytes4)":{"details":"Interface identification is specified in ERC-165. This function uses less than 30,000 gas.","params":{"interfaceID":"The interface identifier, as specified in ERC-165"},"returns":{"_0":"`true` if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, `false` otherwise"}}},"version":1},"userdoc":{"kind":"user","methods":{"onAfterDeleteRecord(bytes32,bytes32[],bytes32)":{"notice":"Called after deleting a record from the store."},"onAfterSetRecord(bytes32,bytes32[],bytes,bytes32,bytes,bytes32)":{"notice":"Called after setting a record in the store."},"onAfterSpliceDynamicData(bytes32,bytes32[],uint8,uint40,uint40,bytes32,bytes)":{"notice":"Called after splicing dynamic data in the store."},"onAfterSpliceStaticData(bytes32,bytes32[],uint48,bytes)":{"notice":"Called after splicing static data in the store."},"onBeforeDeleteRecord(bytes32,bytes32[],bytes32)":{"notice":"Called before deleting a record from the store."},"onBeforeSetRecord(bytes32,bytes32[],bytes,bytes32,bytes,bytes32)":{"notice":"Called before setting a record in the store."},"onBeforeSpliceDynamicData(bytes32,bytes32[],uint8,uint40,uint40,bytes32,bytes)":{"notice":"Called before splicing dynamic data in the store."},"onBeforeSpliceStaticData(bytes32,bytes32[],uint48,bytes)":{"notice":"Called before splicing static data in the store."},"supportsInterface(bytes4)":{"notice":"Query if a contract implements an interface"}},"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/store/src/IStoreHook.sol":"IStoreHook"},"evmVersion":"cancun","libraries":{}},"sources":{"node_modules/@latticexyz/store/src/EncodedLengths.sol":{"keccak256":"0xebc0a6efd611e02b15c05a382382b597fe059eba7f2a9e90da81eeb2f7666774","urls":["bzz-raw://00b2cac12599935e25ea0697e99fc9e6d5af6c1c982761996c16707d9cd6ca09","dweb:/ipfs/QmXccFminkrFtDpNfx6X1pHvW7Tn1nA5XcGu9T17pJyZyK"],"license":"MIT"},"node_modules/@latticexyz/store/src/FieldLayout.sol":{"keccak256":"0x15f698b7eabc062a00ff7a2e02db0ace2dd51f8bd2bc51a45dc0afa88f2ee658","urls":["bzz-raw://f774202c98ad394b3b62be93292512c633dec63bc931c190ed984656c2d54ec7","dweb:/ipfs/Qmd2D9mvP8S88ad2Q8WU54saNVr3Pwc5stPqEKHwcpo8AT"],"license":"MIT"},"node_modules/@latticexyz/store/src/IERC165.sol":{"keccak256":"0x0efbf9afc716c585621482221f75e5bd60bcf0e813c9f7800d7c0309dcc3c927","urls":["bzz-raw://31b6aeb5446a0a0d5bd71be15a68c5bde94b08c961369203b83c8abe36f401d2","dweb:/ipfs/QmXhComne4es9ZMKaGNqHCdJZrFoFssxMYgLaqvCXPL1Mg"],"license":"MIT"},"node_modules/@latticexyz/store/src/IEncodedLengthsErrors.sol":{"keccak256":"0x06bb49164f44acc8d51df7b75ecf2f7aeb9281f7a3b357cae7d8d58bd1700dfa","urls":["bzz-raw://719027f4cc60fea30ce01cd4f672462f41fac750ae802e91a1a6d37c929e11ba","dweb:/ipfs/QmWi5DM2jT5V5SGP1afRmFyRgFvuZiGDX2PWHwP19HssF1"],"license":"MIT"},"node_modules/@latticexyz/store/src/IFieldLayoutErrors.sol":{"keccak256":"0xaef70c46e412bded1024ac82c957cea81c1d1ab11878a95635531e2ac9673a53","urls":["bzz-raw://cda2c7dc02ee8f0163b1c8d0f3e1e05d48b2a009e5c7365d2418f17bc3455817","dweb:/ipfs/QmXHDZuCPTxjHaeiEaJhA81koX2NJ3Gj1zt5WVWaz77FL8"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreHook.sol":{"keccak256":"0x6574a30a2bbd8a0de21b2504c55effb8802fdeff62296af82a9380bd753adcc4","urls":["bzz-raw://85a859c533f51b584a9a2e8a64d61b6cf6f69bfcff1b926ad787518b1cae9562","dweb:/ipfs/QmVyjmyJ69ZeqaXHg91JtGLVahRfZ7KtWaessLWZ6rYk9p"],"license":"MIT"},"node_modules/@latticexyz/store/src/ResourceId.sol":{"keccak256":"0x842b07f2ff9df2e1ecf9bf424b0e5a77e1471c983d674cf86b76c365178d6cc5","urls":["bzz-raw://f4c2df8853b020aef1bb8615ac69d5512a9b5385b82c88e03b27dc521c9d007b","dweb:/ipfs/QmWEDiJn69DvHsdrikrMWY8DERWPSeWwVYgPcunfq3yiT7"],"license":"MIT"},"node_modules/@latticexyz/store/src/constants.sol":{"keccak256":"0x67e0d59237bd37424827ecde1ecdbe71f65376af517b0623cd8f8d5451bca7a6","urls":["bzz-raw://09c5ec7fe73e06140957d44a3d9938587711c783ccbf08ff017638c9279a3168","dweb:/ipfs/QmfS9ZRqHXmBJ1h5B4x4gbU6d18DtMgKZSkxhQgNVRxueu"],"license":"MIT"}},"version":1},"id":14}
|