From 83583a5053de4e5e643572e3b1c0f49467e8e2ab Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Thu, 14 Sep 2023 19:16:04 +0100 Subject: [PATCH] feat: move forge build + abi + abi-ts to out (#1483) Co-authored-by: alvarius --- .changeset/many-pumpkins-cry.md | 18 + .changeset/modern-trains-remain.md | 19 + .changeset/sweet-kiwis-unite.md | 5 + .dockerignore | 1 - .gitattributes | 2 - .../client-vanilla/src/mud/setupNetwork.ts | 2 +- e2e/packages/contracts/.gitignore | 1 - e2e/packages/contracts/package.json | 6 +- e2e/packages/contracts/test/Worldgen.t.sol | 2 +- e2e/packages/sync-test/data/callWorld.ts | 2 +- e2e/packages/test-data/generate-test-data.ts | 2 +- .../client-phaser/src/mud/setupNetwork.ts | 2 +- .../client-react/src/mud/setupNetwork.ts | 2 +- .../client-vanilla/src/mud/setupNetwork.ts | 2 +- .../minimal/packages/contracts/.gitignore | 1 - .../minimal/packages/contracts/package.json | 4 +- .../contracts/test/ChatNamespaced.t.sol | 2 +- .../packages/contracts/test/CounterTest.t.sol | 2 +- .../packages/contracts/test/StructTest.t.sol | 2 +- .../packages/plugin-example/.gitignore | 1 - packages/cli/foundry.toml | 4 + packages/cli/src/commands/dev-contracts.ts | 8 +- packages/cli/src/commands/trace.ts | 2 +- packages/cli/src/utils/deploy.ts | 12 +- packages/cli/src/utils/deployHandler.ts | 10 +- packages/gas-report/.gitignore | 1 - packages/gas-report/.npmignore | 3 +- packages/gas-report/foundry.toml | 4 + packages/noise/foundry.toml | 4 + packages/schema-type/.gitignore | 1 - packages/schema-type/foundry.toml | 4 + packages/store/.gitignore | 4 - packages/store/.npmignore | 3 +- packages/store/abi/Bytes.sol/Bytes.abi.json | 1 - .../abi/Callbacks.sol/Callbacks.abi.json | 1 - .../abi/DecodeSlice.sol/DecodeSlice.abi.json | 1 - .../EchoSubscriber.abi.json | 202 --- .../EchoSubscriber.abi.json.d.ts | 203 --- .../abi/EncodeArray.sol/EncodeArray.abi.json | 1 - .../FieldLayoutInstance.abi.json | 1 - .../FieldLayout.sol/FieldLayoutLib.abi.json | 23 - .../FieldLayoutLib.abi.json.d.ts | 24 - .../FieldLayoutEncodeHelper.abi.json | 1 - .../store/abi/Hook.sol/HookInstance.abi.json | 1 - packages/store/abi/Hook.sol/HookLib.abi.json | 1 - packages/store/abi/Hooks.sol/Hooks.abi.json | 1 - .../store/abi/IERC165.sol/IERC165.abi.json | 21 - .../abi/IERC165.sol/IERC165.abi.json.d.ts | 22 - packages/store/abi/IStore.sol/IStore.abi.json | 717 ---------- .../store/abi/IStore.sol/IStore.abi.json.d.ts | 718 ---------- .../store/abi/IStore.sol/IStoreData.abi.json | 463 ------- .../abi/IStore.sol/IStoreData.abi.json.d.ts | 464 ------- .../abi/IStore.sol/IStoreEphemeral.abi.json | 55 - .../IStore.sol/IStoreEphemeral.abi.json.d.ts | 56 - .../store/abi/IStore.sol/IStoreRead.abi.json | 200 --- .../abi/IStore.sol/IStoreRead.abi.json.d.ts | 201 --- .../IStore.sol/IStoreRegistration.abi.json | 81 -- .../IStoreRegistration.abi.json.d.ts | 82 -- .../store/abi/IStore.sol/IStoreWrite.abi.json | 265 ---- .../abi/IStore.sol/IStoreWrite.abi.json.d.ts | 266 ---- .../IStoreErrors.sol/IStoreErrors.abi.json | 124 -- .../IStoreErrors.abi.json.d.ts | 125 -- .../abi/IStoreHook.sol/IStoreHook.abi.json | 189 --- .../IStoreHook.sol/IStoreHook.abi.json.d.ts | 190 --- .../abi/KeyEncoding.sol/KeyEncoding.abi.json | 1 - packages/store/abi/Memory.sol/Memory.abi.json | 1 - .../MirrorSubscriber.abi.json | 294 ---- .../MirrorSubscriber.abi.json.d.ts | 295 ---- packages/store/abi/Mixed.sol/Mixed.abi.json | 1 - .../PackedCounterInstance.abi.json | 13 - .../PackedCounterInstance.abi.json.d.ts | 14 - .../PackedCounterLib.abi.json | 1 - .../RevertSubscriber.abi.json | 189 --- .../RevertSubscriber.abi.json.d.ts | 190 --- .../abi/Schema.sol/SchemaInstance.abi.json | 1 - .../store/abi/Schema.sol/SchemaLib.abi.json | 18 - .../abi/Schema.sol/SchemaLib.abi.json.d.ts | 19 - .../SchemaEncodeHelper.abi.json | 1 - .../abi/Slice.sol/SliceInstance.abi.json | 1 - .../store/abi/Slice.sol/SliceLib.abi.json | 23 - .../abi/Slice.sol/SliceLib.abi.json.d.ts | 24 - .../store/abi/Storage.sol/Storage.abi.json | 1 - .../abi/StoreCore.sol/StoreCore.abi.json | 102 -- .../abi/StoreCore.sol/StoreCore.abi.json.d.ts | 103 -- .../StoreCore.sol/StoreCoreInternal.abi.json | 1 - .../abi/StoreHook.sol/StoreHook.abi.json | 189 --- .../abi/StoreHook.sol/StoreHook.abi.json.d.ts | 190 --- .../abi/StoreHook.sol/StoreHookLib.abi.json | 1 - .../abi/StoreHooks.sol/StoreHooks.abi.json | 1 - .../abi/StoreMock.sol/StoreMock.abi.json | 791 ----------- .../abi/StoreMock.sol/StoreMock.abi.json.d.ts | 792 ----------- .../abi/StoreRead.sol/StoreRead.abi.json | 242 ---- .../abi/StoreRead.sol/StoreRead.abi.json.d.ts | 243 ---- .../abi/StoreSwitch.sol/StoreSwitch.abi.json | 1 - packages/store/abi/Tables.sol/Tables.abi.json | 1 - .../abi/TightCoder.sol/TightCoder.abi.json | 1 - .../store/abi/Vector2.sol/Vector2.abi.json | 1 - .../abi/constants.sol/LayoutOffsets.abi.json | 1 - packages/store/foundry.toml | 4 + packages/store/package.json | 6 +- packages/store/ts/storeEventsAbi.test.ts | 2 +- packages/world/.gitignore | 4 - packages/world/.npmignore | 3 +- .../AccessControl.sol/AccessControl.abi.json | 1 - .../AccessManagementSystem.abi.json | 199 --- .../AccessManagementSystem.abi.json.d.ts | 200 --- .../AddressArray.sol/AddressArray.abi.json | 1 - .../world/abi/ArrayLib.sol/ArrayLib.abi.json | 1 - .../BalanceTransferSystem.abi.json | 310 ----- .../BalanceTransferSystem.abi.json.d.ts | 311 ----- .../world/abi/Balances.sol/Balances.abi.json | 1 - packages/world/abi/Bool.sol/Bool.abi.json | 1 - packages/world/abi/Bytes.sol/Bytes.abi.json | 1 - .../abi/Callbacks.sol/Callbacks.abi.json | 1 - .../CallboundDelegationControl.abi.json | 186 --- .../CallboundDelegationControl.abi.json.d.ts | 187 --- .../CallboundDelegations.abi.json | 1 - .../abi/CoreModule.sol/CoreModule.abi.json | 269 ---- .../CoreModule.sol/CoreModule.abi.json.d.ts | 270 ---- .../abi/CoreSystem.sol/CoreSystem.abi.json | 757 ---------- .../CoreSystem.sol/CoreSystem.abi.json.d.ts | 758 ---------- .../world/abi/Create2.sol/Create2.abi.json | 1 - .../Create2Factory.abi.json | 39 - .../Create2Factory.abi.json.d.ts | 40 - .../abi/DecodeSlice.sol/DecodeSlice.abi.json | 1 - .../DelegationInstance.abi.json | 1 - .../DelegationControl.abi.json | 89 -- .../DelegationControl.abi.json.d.ts | 90 -- .../abi/Delegations.sol/Delegations.abi.json | 1 - .../abi/EncodeArray.sol/EncodeArray.abi.json | 1 - .../EphemeralRecordSystem.abi.json | 166 --- .../EphemeralRecordSystem.abi.json.d.ts | 167 --- .../FieldLayoutInstance.abi.json | 1 - .../FieldLayout.sol/FieldLayoutLib.abi.json | 23 - .../FieldLayoutLib.abi.json.d.ts | 24 - .../FunctionSelectors.abi.json | 1 - .../world/abi/Hook.sol/HookInstance.abi.json | 1 - packages/world/abi/Hook.sol/HookLib.abi.json | 1 - packages/world/abi/Hooks.sol/Hooks.abi.json | 1 - .../IAccessManagementSystem.abi.json | 56 - .../IAccessManagementSystem.abi.json.d.ts | 57 - .../IBalanceTransferSystem.abi.json | 48 - .../IBalanceTransferSystem.abi.json.d.ts | 49 - .../abi/IBaseWorld.sol/IBaseWorld.abi.json | 1231 ---------------- .../IBaseWorld.sol/IBaseWorld.abi.json.d.ts | 1232 ----------------- .../abi/ICoreSystem.sol/ICoreSystem.abi.json | 1 - .../IDelegationControl.abi.json | 89 -- .../IDelegationControl.abi.json.d.ts | 90 -- .../world/abi/IERC165.sol/IERC165.abi.json | 21 - .../abi/IERC165.sol/IERC165.abi.json.d.ts | 22 - .../world/abi/IModule.sol/IModule.abi.json | 81 -- .../abi/IModule.sol/IModule.abi.json.d.ts | 82 -- .../IModuleInstallationSystem.abi.json | 20 - .../IModuleInstallationSystem.abi.json.d.ts | 21 - packages/world/abi/IStore.sol/IStore.abi.json | 717 ---------- .../world/abi/IStore.sol/IStore.abi.json.d.ts | 718 ---------- .../world/abi/IStore.sol/IStoreData.abi.json | 463 ------- .../abi/IStore.sol/IStoreData.abi.json.d.ts | 464 ------- .../abi/IStore.sol/IStoreEphemeral.abi.json | 55 - .../IStore.sol/IStoreEphemeral.abi.json.d.ts | 56 - .../world/abi/IStore.sol/IStoreRead.abi.json | 200 --- .../abi/IStore.sol/IStoreRead.abi.json.d.ts | 201 --- .../IStore.sol/IStoreRegistration.abi.json | 81 -- .../IStoreRegistration.abi.json.d.ts | 82 -- .../world/abi/IStore.sol/IStoreWrite.abi.json | 265 ---- .../abi/IStore.sol/IStoreWrite.abi.json.d.ts | 266 ---- .../IStoreErrors.sol/IStoreErrors.abi.json | 124 -- .../IStoreErrors.abi.json.d.ts | 125 -- .../abi/IStoreHook.sol/IStoreHook.abi.json | 189 --- .../IStoreHook.sol/IStoreHook.abi.json.d.ts | 190 --- .../abi/ISystemHook.sol/ISystemHook.abi.json | 67 - .../ISystemHook.sol/ISystemHook.abi.json.d.ts | 68 - .../IUniqueEntitySystem.abi.json | 15 - .../IUniqueEntitySystem.abi.json.d.ts | 16 - .../IWorldContextConsumer.abi.json | 60 - .../IWorldContextConsumer.abi.json.d.ts | 61 - .../IWorldErrors.sol/IWorldErrors.abi.json | 137 -- .../IWorldErrors.abi.json.d.ts | 138 -- .../IWorldFactory.sol/IWorldFactory.abi.json | 35 - .../IWorldFactory.abi.json.d.ts | 36 - .../abi/IWorldKernel.sol/IWorldCall.abi.json | 55 - .../IWorldKernel.sol/IWorldCall.abi.json.d.ts | 56 - .../IWorldKernel.sol/IWorldKernel.abi.json | 240 ---- .../IWorldKernel.abi.json.d.ts | 241 ---- .../IWorldModuleInstallation.abi.json | 20 - .../IWorldModuleInstallation.abi.json.d.ts | 21 - .../IWorldRegistrationSystem.abi.json | 160 --- .../IWorldRegistrationSystem.abi.json.d.ts | 161 --- .../InstalledModules.abi.json | 1 - .../abi/KeyEncoding.sol/KeyEncoding.abi.json | 1 - .../abi/KeysInTable.sol/KeysInTable.abi.json | 1 - .../KeysInTableHook.abi.json | 279 ---- .../KeysInTableHook.abi.json.d.ts | 280 ---- .../KeysInTableModule.abi.json | 157 --- .../KeysInTableModule.abi.json.d.ts | 158 --- .../KeysWithValue.sol/KeysWithValue.abi.json | 1 - .../KeysWithValueHook.abi.json | 263 ---- .../KeysWithValueHook.abi.json.d.ts | 264 ---- .../KeysWithValueModule.abi.json | 157 --- .../KeysWithValueModule.abi.json.d.ts | 158 --- packages/world/abi/Memory.sol/Memory.abi.json | 1 - packages/world/abi/Mixed.sol/Mixed.abi.json | 1 - packages/world/abi/Module.sol/Module.abi.json | 120 -- .../world/abi/Module.sol/Module.abi.json.d.ts | 121 -- .../ModuleInstallationSystem.abi.json | 152 -- .../ModuleInstallationSystem.abi.json.d.ts | 153 -- .../NamespaceOwner.abi.json | 1 - .../PackedCounterInstance.abi.json | 13 - .../PackedCounterInstance.abi.json.d.ts | 14 - .../PackedCounterLib.abi.json | 1 - .../ResourceAccess.abi.json | 1 - .../ResourceSelector.abi.json | 1 - .../ResourceType.sol/ResourceType.abi.json | 1 - .../abi/Schema.sol/SchemaInstance.abi.json | 1 - .../world/abi/Schema.sol/SchemaLib.abi.json | 18 - .../abi/Schema.sol/SchemaLib.abi.json.d.ts | 19 - .../abi/Slice.sol/SliceInstance.abi.json | 1 - .../world/abi/Slice.sol/SliceLib.abi.json | 23 - .../abi/Slice.sol/SliceLib.abi.json.d.ts | 24 - .../StandardDelegationsModule.abi.json | 258 ---- .../StandardDelegationsModule.abi.json.d.ts | 259 ---- .../world/abi/Storage.sol/Storage.abi.json | 1 - .../abi/StoreCore.sol/StoreCore.abi.json | 102 -- .../abi/StoreCore.sol/StoreCore.abi.json.d.ts | 103 -- .../StoreCore.sol/StoreCoreInternal.abi.json | 1 - .../abi/StoreHook.sol/StoreHook.abi.json | 189 --- .../abi/StoreHook.sol/StoreHook.abi.json.d.ts | 190 --- .../abi/StoreHook.sol/StoreHookLib.abi.json | 1 - .../abi/StoreHooks.sol/StoreHooks.abi.json | 1 - .../abi/StoreRead.sol/StoreRead.abi.json | 242 ---- .../abi/StoreRead.sol/StoreRead.abi.json.d.ts | 243 ---- .../StoreRegistrationSystem.abi.json | 428 ------ .../StoreRegistrationSystem.abi.json.d.ts | 429 ------ .../abi/StoreSwitch.sol/StoreSwitch.abi.json | 1 - packages/world/abi/System.sol/System.abi.json | 60 - .../world/abi/System.sol/System.abi.json.d.ts | 61 - .../abi/SystemCall.sol/SystemCall.abi.json | 1 - .../abi/SystemHook.sol/SystemHook.abi.json | 67 - .../SystemHook.sol/SystemHook.abi.json.d.ts | 68 - .../abi/SystemHook.sol/SystemHookLib.abi.json | 1 - .../abi/SystemHooks.sol/SystemHooks.abi.json | 1 - .../SystemRegistry.abi.json | 1 - .../world/abi/Systems.sol/Systems.abi.json | 1 - packages/world/abi/Tables.sol/Tables.abi.json | 1 - .../abi/TightCoder.sol/TightCoder.abi.json | 1 - .../TimeboundDelegationControl.abi.json | 176 --- .../TimeboundDelegationControl.abi.json.d.ts | 177 --- .../TimeboundDelegations.abi.json | 1 - .../UniqueEntity.sol/UniqueEntity.abi.json | 1 - .../UniqueEntityModule.abi.json | 157 --- .../UniqueEntityModule.abi.json.d.ts | 158 --- .../UniqueEntitySystem.abi.json | 142 -- .../UniqueEntitySystem.abi.json.d.ts | 143 -- .../UsedKeysIndex.sol/UsedKeysIndex.abi.json | 1 - packages/world/abi/Utils.sol/Utils.abi.json | 1 - .../world/abi/Vector2.sol/Vector2.abi.json | 1 - packages/world/abi/World.sol/World.abi.json | 820 ----------- .../world/abi/World.sol/World.abi.json.d.ts | 821 ----------- .../WorldContextConsumer.abi.json | 60 - .../WorldContextConsumer.abi.json.d.ts | 61 - .../WorldContextProvider.abi.json | 1 - .../WorldFactory.sol/WorldFactory.abi.json | 59 - .../WorldFactory.abi.json.d.ts | 60 - .../WorldRegistrationSystem.abi.json | 427 ------ .../WorldRegistrationSystem.abi.json.d.ts | 428 ------ .../abi/constants.sol/LayoutOffsets.abi.json | 1 - .../interfaces/IERC165.sol/IERC165.abi.json | 21 - .../IERC165.sol/IERC165.abi.json.d.ts | 22 - .../world/abi/src/Bytes.sol/Bytes.abi.json | 1 - .../FieldLayoutInstance.abi.json | 1 - .../FieldLayout.sol/FieldLayoutLib.abi.json | 23 - .../FieldLayoutLib.abi.json.d.ts | 24 - .../abi/src/Hook.sol/HookInstance.abi.json | 1 - .../world/abi/src/Hook.sol/HookLib.abi.json | 1 - .../world/abi/src/IStore.sol/IStore.abi.json | 717 ---------- .../abi/src/IStore.sol/IStore.abi.json.d.ts | 718 ---------- .../abi/src/IStore.sol/IStoreData.abi.json | 463 ------- .../src/IStore.sol/IStoreData.abi.json.d.ts | 464 ------- .../src/IStore.sol/IStoreEphemeral.abi.json | 55 - .../IStore.sol/IStoreEphemeral.abi.json.d.ts | 56 - .../abi/src/IStore.sol/IStoreRead.abi.json | 200 --- .../src/IStore.sol/IStoreRead.abi.json.d.ts | 201 --- .../IStore.sol/IStoreRegistration.abi.json | 81 -- .../IStoreRegistration.abi.json.d.ts | 82 -- .../abi/src/IStore.sol/IStoreWrite.abi.json | 265 ---- .../src/IStore.sol/IStoreWrite.abi.json.d.ts | 266 ---- .../src/IStoreHook.sol/IStoreHook.abi.json | 189 --- .../IStoreHook.sol/IStoreHook.abi.json.d.ts | 190 --- .../world/abi/src/Memory.sol/Memory.abi.json | 1 - .../PackedCounterInstance.abi.json | 13 - .../PackedCounterInstance.abi.json.d.ts | 14 - .../PackedCounterLib.abi.json | 1 - .../src/Schema.sol/SchemaInstance.abi.json | 1 - .../abi/src/Schema.sol/SchemaLib.abi.json | 18 - .../src/Schema.sol/SchemaLib.abi.json.d.ts | 19 - .../abi/src/Slice.sol/SliceInstance.abi.json | 1 - .../world/abi/src/Slice.sol/SliceLib.abi.json | 23 - .../abi/src/Slice.sol/SliceLib.abi.json.d.ts | 24 - .../abi/src/StoreCore.sol/StoreCore.abi.json | 102 -- .../src/StoreCore.sol/StoreCore.abi.json.d.ts | 103 -- .../StoreCore.sol/StoreCoreInternal.abi.json | 1 - .../abi/src/StoreHook.sol/StoreHook.abi.json | 189 --- .../src/StoreHook.sol/StoreHook.abi.json.d.ts | 190 --- .../src/StoreHook.sol/StoreHookLib.abi.json | 1 - .../src/StoreSwitch.sol/StoreSwitch.abi.json | 1 - .../EncodeArray.sol/EncodeArray.abi.json | 1 - packages/world/foundry.toml | 4 + packages/world/package.json | 6 +- .../MudTest.sol => world/test/MudTest.t.sol} | 6 +- .../packages/client/src/mud/setupNetwork.ts | 2 +- .../phaser/packages/contracts/.gitignore | 1 - .../phaser/packages/contracts/package.json | 4 +- .../packages/contracts/test/CounterTest.t.sol | 2 +- .../packages/client/src/mud/setupNetwork.ts | 2 +- templates/react/packages/contracts/.gitignore | 1 - .../react/packages/contracts/package.json | 4 +- .../packages/contracts/test/CounterTest.t.sol | 2 +- .../packages/client/src/mud/setupNetwork.ts | 2 +- .../threejs/packages/contracts/.gitignore | 1 - .../threejs/packages/contracts/package.json | 4 +- .../packages/client/src/mud/setupNetwork.ts | 2 +- .../vanilla/packages/contracts/.gitignore | 1 - .../vanilla/packages/contracts/package.json | 4 +- .../packages/contracts/test/CounterTest.t.sol | 2 +- turbo.json | 2 +- 325 files changed, 131 insertions(+), 35048 deletions(-) create mode 100644 .changeset/many-pumpkins-cry.md create mode 100644 .changeset/modern-trains-remain.md create mode 100644 .changeset/sweet-kiwis-unite.md delete mode 100644 packages/store/abi/Bytes.sol/Bytes.abi.json delete mode 100644 packages/store/abi/Callbacks.sol/Callbacks.abi.json delete mode 100644 packages/store/abi/DecodeSlice.sol/DecodeSlice.abi.json delete mode 100644 packages/store/abi/EchoSubscriber.sol/EchoSubscriber.abi.json delete mode 100644 packages/store/abi/EchoSubscriber.sol/EchoSubscriber.abi.json.d.ts delete mode 100644 packages/store/abi/EncodeArray.sol/EncodeArray.abi.json delete mode 100644 packages/store/abi/FieldLayout.sol/FieldLayoutInstance.abi.json delete mode 100644 packages/store/abi/FieldLayout.sol/FieldLayoutLib.abi.json delete mode 100644 packages/store/abi/FieldLayout.sol/FieldLayoutLib.abi.json.d.ts delete mode 100644 packages/store/abi/FieldLayoutEncodeHelper.sol/FieldLayoutEncodeHelper.abi.json delete mode 100644 packages/store/abi/Hook.sol/HookInstance.abi.json delete mode 100644 packages/store/abi/Hook.sol/HookLib.abi.json delete mode 100644 packages/store/abi/Hooks.sol/Hooks.abi.json delete mode 100644 packages/store/abi/IERC165.sol/IERC165.abi.json delete mode 100644 packages/store/abi/IERC165.sol/IERC165.abi.json.d.ts delete mode 100644 packages/store/abi/IStore.sol/IStore.abi.json delete mode 100644 packages/store/abi/IStore.sol/IStore.abi.json.d.ts delete mode 100644 packages/store/abi/IStore.sol/IStoreData.abi.json delete mode 100644 packages/store/abi/IStore.sol/IStoreData.abi.json.d.ts delete mode 100644 packages/store/abi/IStore.sol/IStoreEphemeral.abi.json delete mode 100644 packages/store/abi/IStore.sol/IStoreEphemeral.abi.json.d.ts delete mode 100644 packages/store/abi/IStore.sol/IStoreRead.abi.json delete mode 100644 packages/store/abi/IStore.sol/IStoreRead.abi.json.d.ts delete mode 100644 packages/store/abi/IStore.sol/IStoreRegistration.abi.json delete mode 100644 packages/store/abi/IStore.sol/IStoreRegistration.abi.json.d.ts delete mode 100644 packages/store/abi/IStore.sol/IStoreWrite.abi.json delete mode 100644 packages/store/abi/IStore.sol/IStoreWrite.abi.json.d.ts delete mode 100644 packages/store/abi/IStoreErrors.sol/IStoreErrors.abi.json delete mode 100644 packages/store/abi/IStoreErrors.sol/IStoreErrors.abi.json.d.ts delete mode 100644 packages/store/abi/IStoreHook.sol/IStoreHook.abi.json delete mode 100644 packages/store/abi/IStoreHook.sol/IStoreHook.abi.json.d.ts delete mode 100644 packages/store/abi/KeyEncoding.sol/KeyEncoding.abi.json delete mode 100644 packages/store/abi/Memory.sol/Memory.abi.json delete mode 100644 packages/store/abi/MirrorSubscriber.sol/MirrorSubscriber.abi.json delete mode 100644 packages/store/abi/MirrorSubscriber.sol/MirrorSubscriber.abi.json.d.ts delete mode 100644 packages/store/abi/Mixed.sol/Mixed.abi.json delete mode 100644 packages/store/abi/PackedCounter.sol/PackedCounterInstance.abi.json delete mode 100644 packages/store/abi/PackedCounter.sol/PackedCounterInstance.abi.json.d.ts delete mode 100644 packages/store/abi/PackedCounter.sol/PackedCounterLib.abi.json delete mode 100644 packages/store/abi/RevertSubscriber.sol/RevertSubscriber.abi.json delete mode 100644 packages/store/abi/RevertSubscriber.sol/RevertSubscriber.abi.json.d.ts delete mode 100644 packages/store/abi/Schema.sol/SchemaInstance.abi.json delete mode 100644 packages/store/abi/Schema.sol/SchemaLib.abi.json delete mode 100644 packages/store/abi/Schema.sol/SchemaLib.abi.json.d.ts delete mode 100644 packages/store/abi/SchemaEncodeHelper.sol/SchemaEncodeHelper.abi.json delete mode 100644 packages/store/abi/Slice.sol/SliceInstance.abi.json delete mode 100644 packages/store/abi/Slice.sol/SliceLib.abi.json delete mode 100644 packages/store/abi/Slice.sol/SliceLib.abi.json.d.ts delete mode 100644 packages/store/abi/Storage.sol/Storage.abi.json delete mode 100644 packages/store/abi/StoreCore.sol/StoreCore.abi.json delete mode 100644 packages/store/abi/StoreCore.sol/StoreCore.abi.json.d.ts delete mode 100644 packages/store/abi/StoreCore.sol/StoreCoreInternal.abi.json delete mode 100644 packages/store/abi/StoreHook.sol/StoreHook.abi.json delete mode 100644 packages/store/abi/StoreHook.sol/StoreHook.abi.json.d.ts delete mode 100644 packages/store/abi/StoreHook.sol/StoreHookLib.abi.json delete mode 100644 packages/store/abi/StoreHooks.sol/StoreHooks.abi.json delete mode 100644 packages/store/abi/StoreMock.sol/StoreMock.abi.json delete mode 100644 packages/store/abi/StoreMock.sol/StoreMock.abi.json.d.ts delete mode 100644 packages/store/abi/StoreRead.sol/StoreRead.abi.json delete mode 100644 packages/store/abi/StoreRead.sol/StoreRead.abi.json.d.ts delete mode 100644 packages/store/abi/StoreSwitch.sol/StoreSwitch.abi.json delete mode 100644 packages/store/abi/Tables.sol/Tables.abi.json delete mode 100644 packages/store/abi/TightCoder.sol/TightCoder.abi.json delete mode 100644 packages/store/abi/Vector2.sol/Vector2.abi.json delete mode 100644 packages/store/abi/constants.sol/LayoutOffsets.abi.json delete mode 100644 packages/world/abi/AccessControl.sol/AccessControl.abi.json delete mode 100644 packages/world/abi/AccessManagementSystem.sol/AccessManagementSystem.abi.json delete mode 100644 packages/world/abi/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts delete mode 100644 packages/world/abi/AddressArray.sol/AddressArray.abi.json delete mode 100644 packages/world/abi/ArrayLib.sol/ArrayLib.abi.json delete mode 100644 packages/world/abi/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json delete mode 100644 packages/world/abi/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts delete mode 100644 packages/world/abi/Balances.sol/Balances.abi.json delete mode 100644 packages/world/abi/Bool.sol/Bool.abi.json delete mode 100644 packages/world/abi/Bytes.sol/Bytes.abi.json delete mode 100644 packages/world/abi/Callbacks.sol/Callbacks.abi.json delete mode 100644 packages/world/abi/CallboundDelegationControl.sol/CallboundDelegationControl.abi.json delete mode 100644 packages/world/abi/CallboundDelegationControl.sol/CallboundDelegationControl.abi.json.d.ts delete mode 100644 packages/world/abi/CallboundDelegations.sol/CallboundDelegations.abi.json delete mode 100644 packages/world/abi/CoreModule.sol/CoreModule.abi.json delete mode 100644 packages/world/abi/CoreModule.sol/CoreModule.abi.json.d.ts delete mode 100644 packages/world/abi/CoreSystem.sol/CoreSystem.abi.json delete mode 100644 packages/world/abi/CoreSystem.sol/CoreSystem.abi.json.d.ts delete mode 100644 packages/world/abi/Create2.sol/Create2.abi.json delete mode 100644 packages/world/abi/Create2Factory.sol/Create2Factory.abi.json delete mode 100644 packages/world/abi/Create2Factory.sol/Create2Factory.abi.json.d.ts delete mode 100644 packages/world/abi/DecodeSlice.sol/DecodeSlice.abi.json delete mode 100644 packages/world/abi/Delegation.sol/DelegationInstance.abi.json delete mode 100644 packages/world/abi/DelegationControl.sol/DelegationControl.abi.json delete mode 100644 packages/world/abi/DelegationControl.sol/DelegationControl.abi.json.d.ts delete mode 100644 packages/world/abi/Delegations.sol/Delegations.abi.json delete mode 100644 packages/world/abi/EncodeArray.sol/EncodeArray.abi.json delete mode 100644 packages/world/abi/EphemeralRecordSystem.sol/EphemeralRecordSystem.abi.json delete mode 100644 packages/world/abi/EphemeralRecordSystem.sol/EphemeralRecordSystem.abi.json.d.ts delete mode 100644 packages/world/abi/FieldLayout.sol/FieldLayoutInstance.abi.json delete mode 100644 packages/world/abi/FieldLayout.sol/FieldLayoutLib.abi.json delete mode 100644 packages/world/abi/FieldLayout.sol/FieldLayoutLib.abi.json.d.ts delete mode 100644 packages/world/abi/FunctionSelectors.sol/FunctionSelectors.abi.json delete mode 100644 packages/world/abi/Hook.sol/HookInstance.abi.json delete mode 100644 packages/world/abi/Hook.sol/HookLib.abi.json delete mode 100644 packages/world/abi/Hooks.sol/Hooks.abi.json delete mode 100644 packages/world/abi/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json delete mode 100644 packages/world/abi/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json.d.ts delete mode 100644 packages/world/abi/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json delete mode 100644 packages/world/abi/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json.d.ts delete mode 100644 packages/world/abi/IBaseWorld.sol/IBaseWorld.abi.json delete mode 100644 packages/world/abi/IBaseWorld.sol/IBaseWorld.abi.json.d.ts delete mode 100644 packages/world/abi/ICoreSystem.sol/ICoreSystem.abi.json delete mode 100644 packages/world/abi/IDelegationControl.sol/IDelegationControl.abi.json delete mode 100644 packages/world/abi/IDelegationControl.sol/IDelegationControl.abi.json.d.ts delete mode 100644 packages/world/abi/IERC165.sol/IERC165.abi.json delete mode 100644 packages/world/abi/IERC165.sol/IERC165.abi.json.d.ts delete mode 100644 packages/world/abi/IModule.sol/IModule.abi.json delete mode 100644 packages/world/abi/IModule.sol/IModule.abi.json.d.ts delete mode 100644 packages/world/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json delete mode 100644 packages/world/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json.d.ts delete mode 100644 packages/world/abi/IStore.sol/IStore.abi.json delete mode 100644 packages/world/abi/IStore.sol/IStore.abi.json.d.ts delete mode 100644 packages/world/abi/IStore.sol/IStoreData.abi.json delete mode 100644 packages/world/abi/IStore.sol/IStoreData.abi.json.d.ts delete mode 100644 packages/world/abi/IStore.sol/IStoreEphemeral.abi.json delete mode 100644 packages/world/abi/IStore.sol/IStoreEphemeral.abi.json.d.ts delete mode 100644 packages/world/abi/IStore.sol/IStoreRead.abi.json delete mode 100644 packages/world/abi/IStore.sol/IStoreRead.abi.json.d.ts delete mode 100644 packages/world/abi/IStore.sol/IStoreRegistration.abi.json delete mode 100644 packages/world/abi/IStore.sol/IStoreRegistration.abi.json.d.ts delete mode 100644 packages/world/abi/IStore.sol/IStoreWrite.abi.json delete mode 100644 packages/world/abi/IStore.sol/IStoreWrite.abi.json.d.ts delete mode 100644 packages/world/abi/IStoreErrors.sol/IStoreErrors.abi.json delete mode 100644 packages/world/abi/IStoreErrors.sol/IStoreErrors.abi.json.d.ts delete mode 100644 packages/world/abi/IStoreHook.sol/IStoreHook.abi.json delete mode 100644 packages/world/abi/IStoreHook.sol/IStoreHook.abi.json.d.ts delete mode 100644 packages/world/abi/ISystemHook.sol/ISystemHook.abi.json delete mode 100644 packages/world/abi/ISystemHook.sol/ISystemHook.abi.json.d.ts delete mode 100644 packages/world/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json delete mode 100644 packages/world/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts delete mode 100644 packages/world/abi/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json delete mode 100644 packages/world/abi/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json.d.ts delete mode 100644 packages/world/abi/IWorldErrors.sol/IWorldErrors.abi.json delete mode 100644 packages/world/abi/IWorldErrors.sol/IWorldErrors.abi.json.d.ts delete mode 100644 packages/world/abi/IWorldFactory.sol/IWorldFactory.abi.json delete mode 100644 packages/world/abi/IWorldFactory.sol/IWorldFactory.abi.json.d.ts delete mode 100644 packages/world/abi/IWorldKernel.sol/IWorldCall.abi.json delete mode 100644 packages/world/abi/IWorldKernel.sol/IWorldCall.abi.json.d.ts delete mode 100644 packages/world/abi/IWorldKernel.sol/IWorldKernel.abi.json delete mode 100644 packages/world/abi/IWorldKernel.sol/IWorldKernel.abi.json.d.ts delete mode 100644 packages/world/abi/IWorldKernel.sol/IWorldModuleInstallation.abi.json delete mode 100644 packages/world/abi/IWorldKernel.sol/IWorldModuleInstallation.abi.json.d.ts delete mode 100644 packages/world/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json delete mode 100644 packages/world/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json.d.ts delete mode 100644 packages/world/abi/InstalledModules.sol/InstalledModules.abi.json delete mode 100644 packages/world/abi/KeyEncoding.sol/KeyEncoding.abi.json delete mode 100644 packages/world/abi/KeysInTable.sol/KeysInTable.abi.json delete mode 100644 packages/world/abi/KeysInTableHook.sol/KeysInTableHook.abi.json delete mode 100644 packages/world/abi/KeysInTableHook.sol/KeysInTableHook.abi.json.d.ts delete mode 100644 packages/world/abi/KeysInTableModule.sol/KeysInTableModule.abi.json delete mode 100644 packages/world/abi/KeysInTableModule.sol/KeysInTableModule.abi.json.d.ts delete mode 100644 packages/world/abi/KeysWithValue.sol/KeysWithValue.abi.json delete mode 100644 packages/world/abi/KeysWithValueHook.sol/KeysWithValueHook.abi.json delete mode 100644 packages/world/abi/KeysWithValueHook.sol/KeysWithValueHook.abi.json.d.ts delete mode 100644 packages/world/abi/KeysWithValueModule.sol/KeysWithValueModule.abi.json delete mode 100644 packages/world/abi/KeysWithValueModule.sol/KeysWithValueModule.abi.json.d.ts delete mode 100644 packages/world/abi/Memory.sol/Memory.abi.json delete mode 100644 packages/world/abi/Mixed.sol/Mixed.abi.json delete mode 100644 packages/world/abi/Module.sol/Module.abi.json delete mode 100644 packages/world/abi/Module.sol/Module.abi.json.d.ts delete mode 100644 packages/world/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json delete mode 100644 packages/world/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts delete mode 100644 packages/world/abi/NamespaceOwner.sol/NamespaceOwner.abi.json delete mode 100644 packages/world/abi/PackedCounter.sol/PackedCounterInstance.abi.json delete mode 100644 packages/world/abi/PackedCounter.sol/PackedCounterInstance.abi.json.d.ts delete mode 100644 packages/world/abi/PackedCounter.sol/PackedCounterLib.abi.json delete mode 100644 packages/world/abi/ResourceAccess.sol/ResourceAccess.abi.json delete mode 100644 packages/world/abi/ResourceSelector.sol/ResourceSelector.abi.json delete mode 100644 packages/world/abi/ResourceType.sol/ResourceType.abi.json delete mode 100644 packages/world/abi/Schema.sol/SchemaInstance.abi.json delete mode 100644 packages/world/abi/Schema.sol/SchemaLib.abi.json delete mode 100644 packages/world/abi/Schema.sol/SchemaLib.abi.json.d.ts delete mode 100644 packages/world/abi/Slice.sol/SliceInstance.abi.json delete mode 100644 packages/world/abi/Slice.sol/SliceLib.abi.json delete mode 100644 packages/world/abi/Slice.sol/SliceLib.abi.json.d.ts delete mode 100644 packages/world/abi/StandardDelegationsModule.sol/StandardDelegationsModule.abi.json delete mode 100644 packages/world/abi/StandardDelegationsModule.sol/StandardDelegationsModule.abi.json.d.ts delete mode 100644 packages/world/abi/Storage.sol/Storage.abi.json delete mode 100644 packages/world/abi/StoreCore.sol/StoreCore.abi.json delete mode 100644 packages/world/abi/StoreCore.sol/StoreCore.abi.json.d.ts delete mode 100644 packages/world/abi/StoreCore.sol/StoreCoreInternal.abi.json delete mode 100644 packages/world/abi/StoreHook.sol/StoreHook.abi.json delete mode 100644 packages/world/abi/StoreHook.sol/StoreHook.abi.json.d.ts delete mode 100644 packages/world/abi/StoreHook.sol/StoreHookLib.abi.json delete mode 100644 packages/world/abi/StoreHooks.sol/StoreHooks.abi.json delete mode 100644 packages/world/abi/StoreRead.sol/StoreRead.abi.json delete mode 100644 packages/world/abi/StoreRead.sol/StoreRead.abi.json.d.ts delete mode 100644 packages/world/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json delete mode 100644 packages/world/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts delete mode 100644 packages/world/abi/StoreSwitch.sol/StoreSwitch.abi.json delete mode 100644 packages/world/abi/System.sol/System.abi.json delete mode 100644 packages/world/abi/System.sol/System.abi.json.d.ts delete mode 100644 packages/world/abi/SystemCall.sol/SystemCall.abi.json delete mode 100644 packages/world/abi/SystemHook.sol/SystemHook.abi.json delete mode 100644 packages/world/abi/SystemHook.sol/SystemHook.abi.json.d.ts delete mode 100644 packages/world/abi/SystemHook.sol/SystemHookLib.abi.json delete mode 100644 packages/world/abi/SystemHooks.sol/SystemHooks.abi.json delete mode 100644 packages/world/abi/SystemRegistry.sol/SystemRegistry.abi.json delete mode 100644 packages/world/abi/Systems.sol/Systems.abi.json delete mode 100644 packages/world/abi/Tables.sol/Tables.abi.json delete mode 100644 packages/world/abi/TightCoder.sol/TightCoder.abi.json delete mode 100644 packages/world/abi/TimeboundDelegationControl.sol/TimeboundDelegationControl.abi.json delete mode 100644 packages/world/abi/TimeboundDelegationControl.sol/TimeboundDelegationControl.abi.json.d.ts delete mode 100644 packages/world/abi/TimeboundDelegations.sol/TimeboundDelegations.abi.json delete mode 100644 packages/world/abi/UniqueEntity.sol/UniqueEntity.abi.json delete mode 100644 packages/world/abi/UniqueEntityModule.sol/UniqueEntityModule.abi.json delete mode 100644 packages/world/abi/UniqueEntityModule.sol/UniqueEntityModule.abi.json.d.ts delete mode 100644 packages/world/abi/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json delete mode 100644 packages/world/abi/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json.d.ts delete mode 100644 packages/world/abi/UsedKeysIndex.sol/UsedKeysIndex.abi.json delete mode 100644 packages/world/abi/Utils.sol/Utils.abi.json delete mode 100644 packages/world/abi/Vector2.sol/Vector2.abi.json delete mode 100644 packages/world/abi/World.sol/World.abi.json delete mode 100644 packages/world/abi/World.sol/World.abi.json.d.ts delete mode 100644 packages/world/abi/WorldContext.sol/WorldContextConsumer.abi.json delete mode 100644 packages/world/abi/WorldContext.sol/WorldContextConsumer.abi.json.d.ts delete mode 100644 packages/world/abi/WorldContext.sol/WorldContextProvider.abi.json delete mode 100644 packages/world/abi/WorldFactory.sol/WorldFactory.abi.json delete mode 100644 packages/world/abi/WorldFactory.sol/WorldFactory.abi.json.d.ts delete mode 100644 packages/world/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json delete mode 100644 packages/world/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts delete mode 100644 packages/world/abi/constants.sol/LayoutOffsets.abi.json delete mode 100644 packages/world/abi/interfaces/IERC165.sol/IERC165.abi.json delete mode 100644 packages/world/abi/interfaces/IERC165.sol/IERC165.abi.json.d.ts delete mode 100644 packages/world/abi/src/Bytes.sol/Bytes.abi.json delete mode 100644 packages/world/abi/src/FieldLayout.sol/FieldLayoutInstance.abi.json delete mode 100644 packages/world/abi/src/FieldLayout.sol/FieldLayoutLib.abi.json delete mode 100644 packages/world/abi/src/FieldLayout.sol/FieldLayoutLib.abi.json.d.ts delete mode 100644 packages/world/abi/src/Hook.sol/HookInstance.abi.json delete mode 100644 packages/world/abi/src/Hook.sol/HookLib.abi.json delete mode 100644 packages/world/abi/src/IStore.sol/IStore.abi.json delete mode 100644 packages/world/abi/src/IStore.sol/IStore.abi.json.d.ts delete mode 100644 packages/world/abi/src/IStore.sol/IStoreData.abi.json delete mode 100644 packages/world/abi/src/IStore.sol/IStoreData.abi.json.d.ts delete mode 100644 packages/world/abi/src/IStore.sol/IStoreEphemeral.abi.json delete mode 100644 packages/world/abi/src/IStore.sol/IStoreEphemeral.abi.json.d.ts delete mode 100644 packages/world/abi/src/IStore.sol/IStoreRead.abi.json delete mode 100644 packages/world/abi/src/IStore.sol/IStoreRead.abi.json.d.ts delete mode 100644 packages/world/abi/src/IStore.sol/IStoreRegistration.abi.json delete mode 100644 packages/world/abi/src/IStore.sol/IStoreRegistration.abi.json.d.ts delete mode 100644 packages/world/abi/src/IStore.sol/IStoreWrite.abi.json delete mode 100644 packages/world/abi/src/IStore.sol/IStoreWrite.abi.json.d.ts delete mode 100644 packages/world/abi/src/IStoreHook.sol/IStoreHook.abi.json delete mode 100644 packages/world/abi/src/IStoreHook.sol/IStoreHook.abi.json.d.ts delete mode 100644 packages/world/abi/src/Memory.sol/Memory.abi.json delete mode 100644 packages/world/abi/src/PackedCounter.sol/PackedCounterInstance.abi.json delete mode 100644 packages/world/abi/src/PackedCounter.sol/PackedCounterInstance.abi.json.d.ts delete mode 100644 packages/world/abi/src/PackedCounter.sol/PackedCounterLib.abi.json delete mode 100644 packages/world/abi/src/Schema.sol/SchemaInstance.abi.json delete mode 100644 packages/world/abi/src/Schema.sol/SchemaLib.abi.json delete mode 100644 packages/world/abi/src/Schema.sol/SchemaLib.abi.json.d.ts delete mode 100644 packages/world/abi/src/Slice.sol/SliceInstance.abi.json delete mode 100644 packages/world/abi/src/Slice.sol/SliceLib.abi.json delete mode 100644 packages/world/abi/src/Slice.sol/SliceLib.abi.json.d.ts delete mode 100644 packages/world/abi/src/StoreCore.sol/StoreCore.abi.json delete mode 100644 packages/world/abi/src/StoreCore.sol/StoreCore.abi.json.d.ts delete mode 100644 packages/world/abi/src/StoreCore.sol/StoreCoreInternal.abi.json delete mode 100644 packages/world/abi/src/StoreHook.sol/StoreHook.abi.json delete mode 100644 packages/world/abi/src/StoreHook.sol/StoreHook.abi.json.d.ts delete mode 100644 packages/world/abi/src/StoreHook.sol/StoreHookLib.abi.json delete mode 100644 packages/world/abi/src/StoreSwitch.sol/StoreSwitch.abi.json delete mode 100644 packages/world/abi/tightcoder/EncodeArray.sol/EncodeArray.abi.json rename packages/{store/src/MudTest.sol => world/test/MudTest.t.sol} (65%) diff --git a/.changeset/many-pumpkins-cry.md b/.changeset/many-pumpkins-cry.md new file mode 100644 index 0000000000..f8df074d2e --- /dev/null +++ b/.changeset/many-pumpkins-cry.md @@ -0,0 +1,18 @@ +--- +"@latticexyz/store": major +"@latticexyz/world": major +--- + +Store and World contract ABIs are now exported from the `out` directory. You'll need to update your imports like: + +```diff +- import IBaseWorldAbi from "@latticexyz/world/abi/IBaseWorld.sol/IBaseWorldAbi.json"; ++ import IBaseWorldAbi from "@latticexyz/world/out/IBaseWorld.sol/IBaseWorldAbi.json"; +``` + +`MudTest.sol` was also moved to the World package. You can update your import like: + +```diff +- import { MudTest } from "@latticexyz/store/src/MudTest.sol"; ++ import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; +``` diff --git a/.changeset/modern-trains-remain.md b/.changeset/modern-trains-remain.md new file mode 100644 index 0000000000..8e5ad16e7c --- /dev/null +++ b/.changeset/modern-trains-remain.md @@ -0,0 +1,19 @@ +--- +"create-mud": minor +--- + +Templates now use `out` for their `forge build` artifacts, including ABIs. If you have a project created from a previous template, you can update your `packages/contracts/package.json` with: + +```diff +- "build:abi": "rimraf abi && forge build --extra-output-files abi --out abi --skip test script MudTest.sol", +- "build:abi-ts": "mud abi-ts --input 'abi/IWorld.sol/IWorld.abi.json' && prettier --write '**/*.abi.json.d.ts'", ++ "build:abi": "forge clean && forge build --skip test script", ++ "build:abi-ts": "mud abi-ts && prettier --write '**/*.abi.json.d.ts'", +``` + +And your `packages/client/src/mud/setupNetwork` with: + +```diff +- import IWorldAbi from "contracts/abi/IWorld.sol/IWorld.abi.json"; ++ import IWorldAbi from "contracts/out/IWorld.sol/IWorld.abi.json"; +``` diff --git a/.changeset/sweet-kiwis-unite.md b/.changeset/sweet-kiwis-unite.md new file mode 100644 index 0000000000..9326587779 --- /dev/null +++ b/.changeset/sweet-kiwis-unite.md @@ -0,0 +1,5 @@ +--- +"@latticexyz/cli": patch +--- + +`deploy` and `dev-contracts` CLI commands now use `forge build --skip test script` before deploying and run `mud abi-ts` to generate strong types for ABIs. diff --git a/.dockerignore b/.dockerignore index 885a479793..e1e34c7c5a 100644 --- a/.dockerignore +++ b/.dockerignore @@ -8,6 +8,5 @@ dist **/cache/ **/bindings/ **/artifacts/ -**/abi/ **/broadcast/ **/deploys/ diff --git a/.gitattributes b/.gitattributes index 58a6e9be45..a21dceecec 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,2 @@ # suppress diffs for codegen in PRs -**/abi/**/*.json linguist-generated=true -**/abi/**/*.json.d.ts linguist-generated=true **/codegen/**/*.sol linguist-generated=true diff --git a/e2e/packages/client-vanilla/src/mud/setupNetwork.ts b/e2e/packages/client-vanilla/src/mud/setupNetwork.ts index 27904df2f0..ae79c26916 100644 --- a/e2e/packages/client-vanilla/src/mud/setupNetwork.ts +++ b/e2e/packages/client-vanilla/src/mud/setupNetwork.ts @@ -3,7 +3,7 @@ import { createFaucetService } from "@latticexyz/services/faucet"; import { encodeEntity, syncToRecs } from "@latticexyz/store-sync/recs"; import { getNetworkConfig } from "./getNetworkConfig"; import { world } from "./world"; -import IWorldAbi from "contracts/abi/IWorld.sol/IWorld.abi.json"; +import IWorldAbi from "contracts/out/IWorld.sol/IWorld.abi.json"; import { createBurnerAccount, createContract, transportObserver } from "@latticexyz/common"; import mudConfig from "contracts/mud.config"; diff --git a/e2e/packages/contracts/.gitignore b/e2e/packages/contracts/.gitignore index 341c37c466..08d0033089 100644 --- a/e2e/packages/contracts/.gitignore +++ b/e2e/packages/contracts/.gitignore @@ -3,7 +3,6 @@ cache/ node_modules/ bindings/ artifacts/ -abi/ broadcast/ # Ignore all deploy artifacts diff --git a/e2e/packages/contracts/package.json b/e2e/packages/contracts/package.json index ccadce085e..e2122de6d0 100644 --- a/e2e/packages/contracts/package.json +++ b/e2e/packages/contracts/package.json @@ -5,11 +5,11 @@ "license": "MIT", "scripts": { "build": "pnpm run build:mud && pnpm run build:abi && pnpm run build:abi-ts", - "build:abi": "forge build --extra-output-files abi --out abi --skip test script MudTest.sol", - "build:abi-ts": "mud abi-ts --input 'abi/IWorld.sol/IWorld.abi.json' && prettier --write '**/*.abi.json.d.ts'", + "build:abi": "forge build --skip test script", + "build:abi-ts": "mud abi-ts && prettier --write '**/*.abi.json.d.ts'", "build:mud": "mud tablegen && mud worldgen", "clean": "pnpm run clean:abi && pnpm run clean:mud", - "clean:abi": "rimraf abi", + "clean:abi": "forge clean", "clean:mud": "rimraf src/codegen", "deploy:local": "mud deploy", "test": "mud test", diff --git a/e2e/packages/contracts/test/Worldgen.t.sol b/e2e/packages/contracts/test/Worldgen.t.sol index 2b2c88565e..51d59a7d7c 100644 --- a/e2e/packages/contracts/test/Worldgen.t.sol +++ b/e2e/packages/contracts/test/Worldgen.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT pragma solidity >=0.8.0; -import { MudTest } from "@latticexyz/store/src/MudTest.sol"; +import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; import { ICustomErrorsSystem } from "../src/codegen/world/ICustomErrorsSystem.sol"; import { Position } from "../src/CustomTypes.sol"; diff --git a/e2e/packages/sync-test/data/callWorld.ts b/e2e/packages/sync-test/data/callWorld.ts index 0ba17a7e28..c19e1d9029 100644 --- a/e2e/packages/sync-test/data/callWorld.ts +++ b/e2e/packages/sync-test/data/callWorld.ts @@ -1,5 +1,5 @@ import { Page } from "@playwright/test"; -import IWorldAbi from "../../contracts/abi/IWorld.sol/IWorld.abi.json"; +import IWorldAbi from "../../contracts/out/IWorld.sol/IWorld.abi.json"; import { GetContractReturnType, PublicClient, WalletClient } from "viem"; import { AbiParametersToPrimitiveTypes, ExtractAbiFunction, ExtractAbiFunctionNames } from "abitype"; diff --git a/e2e/packages/test-data/generate-test-data.ts b/e2e/packages/test-data/generate-test-data.ts index e273dfb149..4b146a12c3 100644 --- a/e2e/packages/test-data/generate-test-data.ts +++ b/e2e/packages/test-data/generate-test-data.ts @@ -16,7 +16,7 @@ import { mudFoundry } from "@latticexyz/common/chains"; import { createContract } from "@latticexyz/common"; import { storeEventsAbi } from "@latticexyz/store"; import { privateKeyToAccount } from "viem/accounts"; -import IWorldAbi from "../contracts/abi/IWorld.sol/IWorld.abi.json"; +import IWorldAbi from "../contracts/out/IWorld.sol/IWorld.abi.json"; const logsFilename = path.join(path.dirname(fileURLToPath(import.meta.url)), `../../../test-data/world-logs.json`); diff --git a/examples/minimal/packages/client-phaser/src/mud/setupNetwork.ts b/examples/minimal/packages/client-phaser/src/mud/setupNetwork.ts index 548bef1ab3..85bac97cd8 100644 --- a/examples/minimal/packages/client-phaser/src/mud/setupNetwork.ts +++ b/examples/minimal/packages/client-phaser/src/mud/setupNetwork.ts @@ -3,7 +3,7 @@ import { createFaucetService } from "@latticexyz/services/faucet"; import { encodeEntity, syncToRecs } from "@latticexyz/store-sync/recs"; import { getNetworkConfig } from "./getNetworkConfig"; import { world } from "./world"; -import IWorldAbi from "contracts/abi/IWorld.sol/IWorld.abi.json"; +import IWorldAbi from "contracts/out/IWorld.sol/IWorld.abi.json"; import { createBurnerAccount, createContract, transportObserver, ContractWrite } from "@latticexyz/common"; import { Subject, share } from "rxjs"; import mudConfig from "contracts/mud.config"; diff --git a/examples/minimal/packages/client-react/src/mud/setupNetwork.ts b/examples/minimal/packages/client-react/src/mud/setupNetwork.ts index 115985d068..9c42a54e14 100644 --- a/examples/minimal/packages/client-react/src/mud/setupNetwork.ts +++ b/examples/minimal/packages/client-react/src/mud/setupNetwork.ts @@ -3,7 +3,7 @@ import { createFaucetService } from "@latticexyz/services/faucet"; import { encodeEntity, syncToRecs } from "@latticexyz/store-sync/recs"; import { getNetworkConfig } from "./getNetworkConfig"; import { world } from "./world"; -import IWorldAbi from "contracts/abi/IWorld.sol/IWorld.abi.json"; +import IWorldAbi from "contracts/out/IWorld.sol/IWorld.abi.json"; import { ContractWrite, createBurnerAccount, createContract, transportObserver } from "@latticexyz/common"; import { Subject, share } from "rxjs"; import mudConfig from "contracts/mud.config"; diff --git a/examples/minimal/packages/client-vanilla/src/mud/setupNetwork.ts b/examples/minimal/packages/client-vanilla/src/mud/setupNetwork.ts index 548bef1ab3..85bac97cd8 100644 --- a/examples/minimal/packages/client-vanilla/src/mud/setupNetwork.ts +++ b/examples/minimal/packages/client-vanilla/src/mud/setupNetwork.ts @@ -3,7 +3,7 @@ import { createFaucetService } from "@latticexyz/services/faucet"; import { encodeEntity, syncToRecs } from "@latticexyz/store-sync/recs"; import { getNetworkConfig } from "./getNetworkConfig"; import { world } from "./world"; -import IWorldAbi from "contracts/abi/IWorld.sol/IWorld.abi.json"; +import IWorldAbi from "contracts/out/IWorld.sol/IWorld.abi.json"; import { createBurnerAccount, createContract, transportObserver, ContractWrite } from "@latticexyz/common"; import { Subject, share } from "rxjs"; import mudConfig from "contracts/mud.config"; diff --git a/examples/minimal/packages/contracts/.gitignore b/examples/minimal/packages/contracts/.gitignore index 6fed1b991b..aea4e54c82 100644 --- a/examples/minimal/packages/contracts/.gitignore +++ b/examples/minimal/packages/contracts/.gitignore @@ -3,7 +3,6 @@ cache/ node_modules/ bindings/ artifacts/ -abi/ broadcast/ # Ignore MUD deploy artifacts diff --git a/examples/minimal/packages/contracts/package.json b/examples/minimal/packages/contracts/package.json index 731c47a85c..642f4a17b9 100644 --- a/examples/minimal/packages/contracts/package.json +++ b/examples/minimal/packages/contracts/package.json @@ -5,8 +5,8 @@ "license": "MIT", "scripts": { "build": "pnpm run build:mud && pnpm run build:abi && pnpm run build:abi-ts", - "build:abi": "rimraf abi && forge build --extra-output-files abi --out abi --skip test script MudTest.sol", - "build:abi-ts": "mud abi-ts --input 'abi/IWorld.sol/IWorld.abi.json' && prettier --write '**/*.abi.json.d.ts'", + "build:abi": "forge clean && forge build --skip test script", + "build:abi-ts": "mud abi-ts && prettier --write '**/*.abi.json.d.ts'", "build:mud": "mud tablegen && mud worldgen", "deploy:local": "pnpm run build && mud deploy", "deploy:testnet": "pnpm run build && mud deploy --profile=lattice-testnet", diff --git a/examples/minimal/packages/contracts/test/ChatNamespaced.t.sol b/examples/minimal/packages/contracts/test/ChatNamespaced.t.sol index c98a25a337..ac62fff28f 100644 --- a/examples/minimal/packages/contracts/test/ChatNamespaced.t.sol +++ b/examples/minimal/packages/contracts/test/ChatNamespaced.t.sol @@ -2,7 +2,7 @@ pragma solidity >=0.8.0; import "forge-std/Test.sol"; -import { MudTest } from "@latticexyz/store/src/MudTest.sol"; +import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; import { getKeysWithValue } from "@latticexyz/world/src/modules/keyswithvalue/getKeysWithValue.sol"; import { StoreCore } from "@latticexyz/store/src/StoreCore.sol"; diff --git a/examples/minimal/packages/contracts/test/CounterTest.t.sol b/examples/minimal/packages/contracts/test/CounterTest.t.sol index 5509d36599..70b201406a 100644 --- a/examples/minimal/packages/contracts/test/CounterTest.t.sol +++ b/examples/minimal/packages/contracts/test/CounterTest.t.sol @@ -2,7 +2,7 @@ pragma solidity >=0.8.0; import "forge-std/Test.sol"; -import { MudTest } from "@latticexyz/store/src/MudTest.sol"; +import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; import { getKeysWithValue } from "@latticexyz/world/src/modules/keyswithvalue/getKeysWithValue.sol"; import { IWorld } from "../src/codegen/world/IWorld.sol"; diff --git a/examples/minimal/packages/contracts/test/StructTest.t.sol b/examples/minimal/packages/contracts/test/StructTest.t.sol index d18f842a4f..637acd2405 100644 --- a/examples/minimal/packages/contracts/test/StructTest.t.sol +++ b/examples/minimal/packages/contracts/test/StructTest.t.sol @@ -2,7 +2,7 @@ pragma solidity >=0.8.0; import "forge-std/Test.sol"; -import { MudTest } from "@latticexyz/store/src/MudTest.sol"; +import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; import { getKeysWithValue } from "@latticexyz/world/src/modules/keyswithvalue/getKeysWithValue.sol"; import { IWorld } from "../src/codegen/world/IWorld.sol"; diff --git a/examples/minimal/packages/plugin-example/.gitignore b/examples/minimal/packages/plugin-example/.gitignore index 478da10cd1..8556908b69 100644 --- a/examples/minimal/packages/plugin-example/.gitignore +++ b/examples/minimal/packages/plugin-example/.gitignore @@ -3,4 +3,3 @@ out/ cache/ node_modules/ artifacts/ -abi/ diff --git a/packages/cli/foundry.toml b/packages/cli/foundry.toml index 109f6b0747..edd9dc7bbc 100644 --- a/packages/cli/foundry.toml +++ b/packages/cli/foundry.toml @@ -10,3 +10,7 @@ allow_paths = ["../../node_modules", "../"] src = "contracts/src" out = "contracts/out" test = "contracts/test" +extra_output_files = [ + "abi", + "evm.bytecode" +] diff --git a/packages/cli/src/commands/dev-contracts.ts b/packages/cli/src/commands/dev-contracts.ts index ef65a09e4a..036cf2f820 100644 --- a/packages/cli/src/commands/dev-contracts.ts +++ b/packages/cli/src/commands/dev-contracts.ts @@ -141,12 +141,10 @@ const commandModule: CommandModule = { await worldgenHandler({ config, clean: true, srcDir: srcDirectory }); // Build the contracts - await forge(["build"]); + await forge(["build", "--skip", "test", "script"]); - // Generate TS-friendly ABI files - // We rebuild into a separate dir to have a clean set of ABIs without test/script contracts - await forge(["build", "--extra-output-files", "abi", "--out", "abi", "--skip", "test", "script", "MudTest.sol"]); - await execa("mud", ["abi-ts"]); + // Generate TS type definitions for ABIs + await execa("mud", ["abi-ts"], { stdio: "inherit" }); } /** Run after codegen if either mud config or contracts changed */ diff --git a/packages/cli/src/commands/trace.ts b/packages/cli/src/commands/trace.ts index 1246b10e1d..25e88b4ef3 100644 --- a/packages/cli/src/commands/trace.ts +++ b/packages/cli/src/commands/trace.ts @@ -7,7 +7,7 @@ import { MUDError } from "@latticexyz/common/errors"; import { cast, getRpcUrl, getSrcDirectory } from "@latticexyz/common/foundry"; import { StoreConfig } from "@latticexyz/store"; import { resolveWorldConfig, WorldConfig } from "@latticexyz/world"; -import IBaseWorldData from "@latticexyz/world/abi/IBaseWorld.sol/IBaseWorld.json" assert { type: "json" }; +import IBaseWorldData from "@latticexyz/world/out/IBaseWorld.sol/IBaseWorld.json" assert { type: "json" }; import worldConfig from "@latticexyz/world/mud.config.js"; import { tableIdToHex } from "@latticexyz/common"; import { getChainId, getExistingContracts } from "../utils"; diff --git a/packages/cli/src/utils/deploy.ts b/packages/cli/src/utils/deploy.ts index a9d1cb31fc..5a7088d578 100644 --- a/packages/cli/src/utils/deploy.ts +++ b/packages/cli/src/utils/deploy.ts @@ -11,12 +11,12 @@ import { encodeSchema, getStaticByteLength } from "@latticexyz/schema-type/depre import { StoreConfig } from "@latticexyz/store"; import { resolveAbiOrUserType } from "@latticexyz/store/codegen"; import { WorldConfig, resolveWorldConfig } from "@latticexyz/world"; -import IBaseWorldData from "@latticexyz/world/abi/IBaseWorld.sol/IBaseWorld.json" assert { type: "json" }; -import WorldData from "@latticexyz/world/abi/World.sol/World.json" assert { type: "json" }; -import CoreModuleData from "@latticexyz/world/abi/CoreModule.sol/CoreModule.json" assert { type: "json" }; -import KeysWithValueModuleData from "@latticexyz/world/abi/KeysWithValueModule.sol/KeysWithValueModule.json" assert { type: "json" }; -import KeysInTableModuleData from "@latticexyz/world/abi/KeysInTableModule.sol/KeysInTableModule.json" assert { type: "json" }; -import UniqueEntityModuleData from "@latticexyz/world/abi/UniqueEntityModule.sol/UniqueEntityModule.json" assert { type: "json" }; +import IBaseWorldData from "@latticexyz/world/out/IBaseWorld.sol/IBaseWorld.json" assert { type: "json" }; +import WorldData from "@latticexyz/world/out/World.sol/World.json" assert { type: "json" }; +import CoreModuleData from "@latticexyz/world/out/CoreModule.sol/CoreModule.json" assert { type: "json" }; +import KeysWithValueModuleData from "@latticexyz/world/out/KeysWithValueModule.sol/KeysWithValueModule.json" assert { type: "json" }; +import KeysInTableModuleData from "@latticexyz/world/out/KeysInTableModule.sol/KeysInTableModule.json" assert { type: "json" }; +import UniqueEntityModuleData from "@latticexyz/world/out/UniqueEntityModule.sol/UniqueEntityModule.json" assert { type: "json" }; import { tableIdToHex } from "@latticexyz/common"; import { fieldLayoutToHex } from "@latticexyz/protocol-parser"; diff --git a/packages/cli/src/utils/deployHandler.ts b/packages/cli/src/utils/deployHandler.ts index 044432a251..c3f10f9a07 100644 --- a/packages/cli/src/utils/deployHandler.ts +++ b/packages/cli/src/utils/deployHandler.ts @@ -9,6 +9,7 @@ import { forge, getRpcUrl, getSrcDirectory } from "@latticexyz/common/foundry"; import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs"; import { getChainId } from "../utils/getChainId"; import { getExistingContracts } from "./getExistingContracts"; +import { execa } from "execa"; export type DeployOptions = { configPath?: string; @@ -37,10 +38,15 @@ export async function deployHandler(args: DeployOptions) { ) ); - if (clean) await forge(["clean"], { profile }); + if (clean) { + await forge(["clean"], { profile }); + } // Run forge build - if (!skipBuild) await forge(["build"], { profile }); + if (!skipBuild) { + await forge(["build", "--skip", "test", "script"], { profile }); + await execa("mud", ["abi-ts"], { stdio: "inherit" }); + } // Get a list of all contract names const srcDir = args?.srcDir ?? (await getSrcDirectory()); diff --git a/packages/gas-report/.gitignore b/packages/gas-report/.gitignore index bf0021740b..4d69834442 100644 --- a/packages/gas-report/.gitignore +++ b/packages/gas-report/.gitignore @@ -1,5 +1,4 @@ cache -abi out docs _docs diff --git a/packages/gas-report/.npmignore b/packages/gas-report/.npmignore index 5fb5c6be63..6a148ace5b 100644 --- a/packages/gas-report/.npmignore +++ b/packages/gas-report/.npmignore @@ -1,6 +1,7 @@ * -!abi/** +!out/**/*.abi.json +!out/**/*.abi.json.d.ts !src/** !ts/** !package.json diff --git a/packages/gas-report/foundry.toml b/packages/gas-report/foundry.toml index 9489e40e2a..99e1244225 100644 --- a/packages/gas-report/foundry.toml +++ b/packages/gas-report/foundry.toml @@ -9,3 +9,7 @@ allow_paths= ["../../node_modules"] src = "src" out = "out" bytecode_hash = "none" +extra_output_files = [ + "abi", + "evm.bytecode" +] diff --git a/packages/noise/foundry.toml b/packages/noise/foundry.toml index 10ad206a00..79cd1475c4 100644 --- a/packages/noise/foundry.toml +++ b/packages/noise/foundry.toml @@ -8,3 +8,7 @@ verbosity = 2 allow_paths = ["../../node_modules"] src = "contracts" out = "out" +extra_output_files = [ + "abi", + "evm.bytecode" +] diff --git a/packages/schema-type/.gitignore b/packages/schema-type/.gitignore index c87210dba7..7d61603eb8 100644 --- a/packages/schema-type/.gitignore +++ b/packages/schema-type/.gitignore @@ -1,5 +1,4 @@ cache -abi out dist docs diff --git a/packages/schema-type/foundry.toml b/packages/schema-type/foundry.toml index 1d397557ac..0653ef0221 100644 --- a/packages/schema-type/foundry.toml +++ b/packages/schema-type/foundry.toml @@ -9,3 +9,7 @@ allow_paths = ["../../node_modules"] src = "src/solidity" out = "out/solidity" test = "test/solidity" +extra_output_files = [ + "abi", + "evm.bytecode" +] diff --git a/packages/store/.gitignore b/packages/store/.gitignore index dff3cffa0f..4d69834442 100644 --- a/packages/store/.gitignore +++ b/packages/store/.gitignore @@ -7,7 +7,3 @@ artifacts yarn-error.log API dist - -# only check in ABIs -abi/**/*.json -!abi/**/*.abi.json diff --git a/packages/store/.npmignore b/packages/store/.npmignore index 5fb5c6be63..6a148ace5b 100644 --- a/packages/store/.npmignore +++ b/packages/store/.npmignore @@ -1,6 +1,7 @@ * -!abi/** +!out/**/*.abi.json +!out/**/*.abi.json.d.ts !src/** !ts/** !package.json diff --git a/packages/store/abi/Bytes.sol/Bytes.abi.json b/packages/store/abi/Bytes.sol/Bytes.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/Bytes.sol/Bytes.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/Callbacks.sol/Callbacks.abi.json b/packages/store/abi/Callbacks.sol/Callbacks.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/Callbacks.sol/Callbacks.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/DecodeSlice.sol/DecodeSlice.abi.json b/packages/store/abi/DecodeSlice.sol/DecodeSlice.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/DecodeSlice.sol/DecodeSlice.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/EchoSubscriber.sol/EchoSubscriber.abi.json b/packages/store/abi/EchoSubscriber.sol/EchoSubscriber.abi.json deleted file mode 100644 index c1e97ac5ac..0000000000 --- a/packages/store/abi/EchoSubscriber.sol/EchoSubscriber.abi.json +++ /dev/null @@ -1,202 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "HookCalled", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/store/abi/EchoSubscriber.sol/EchoSubscriber.abi.json.d.ts b/packages/store/abi/EchoSubscriber.sol/EchoSubscriber.abi.json.d.ts deleted file mode 100644 index c46f9f8fc0..0000000000 --- a/packages/store/abi/EchoSubscriber.sol/EchoSubscriber.abi.json.d.ts +++ /dev/null @@ -1,203 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - name: "HookCalled"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/store/abi/EncodeArray.sol/EncodeArray.abi.json b/packages/store/abi/EncodeArray.sol/EncodeArray.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/EncodeArray.sol/EncodeArray.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/FieldLayout.sol/FieldLayoutInstance.abi.json b/packages/store/abi/FieldLayout.sol/FieldLayoutInstance.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/FieldLayout.sol/FieldLayoutInstance.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/FieldLayout.sol/FieldLayoutLib.abi.json b/packages/store/abi/FieldLayout.sol/FieldLayoutLib.abi.json deleted file mode 100644 index 0718613ae7..0000000000 --- a/packages/store/abi/FieldLayout.sol/FieldLayoutLib.abi.json +++ /dev/null @@ -1,23 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/store/abi/FieldLayout.sol/FieldLayoutLib.abi.json.d.ts b/packages/store/abi/FieldLayout.sol/FieldLayoutLib.abi.json.d.ts deleted file mode 100644 index 46ebe7906c..0000000000 --- a/packages/store/abi/FieldLayout.sol/FieldLayoutLib.abi.json.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - } -]; -export default abi; diff --git a/packages/store/abi/FieldLayoutEncodeHelper.sol/FieldLayoutEncodeHelper.abi.json b/packages/store/abi/FieldLayoutEncodeHelper.sol/FieldLayoutEncodeHelper.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/FieldLayoutEncodeHelper.sol/FieldLayoutEncodeHelper.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/Hook.sol/HookInstance.abi.json b/packages/store/abi/Hook.sol/HookInstance.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/Hook.sol/HookInstance.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/Hook.sol/HookLib.abi.json b/packages/store/abi/Hook.sol/HookLib.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/Hook.sol/HookLib.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/Hooks.sol/Hooks.abi.json b/packages/store/abi/Hooks.sol/Hooks.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/Hooks.sol/Hooks.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/IERC165.sol/IERC165.abi.json b/packages/store/abi/IERC165.sol/IERC165.abi.json deleted file mode 100644 index f9e19986d2..0000000000 --- a/packages/store/abi/IERC165.sol/IERC165.abi.json +++ /dev/null @@ -1,21 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/store/abi/IERC165.sol/IERC165.abi.json.d.ts b/packages/store/abi/IERC165.sol/IERC165.abi.json.d.ts deleted file mode 100644 index 41da21a6f2..0000000000 --- a/packages/store/abi/IERC165.sol/IERC165.abi.json.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceID"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/store/abi/IStore.sol/IStore.abi.json b/packages/store/abi/IStore.sol/IStore.abi.json deleted file mode 100644 index 5f2611915f..0000000000 --- a/packages/store/abi/IStore.sol/IStore.abi.json +++ /dev/null @@ -1,717 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_DataIndexOverflow", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidFieldNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidKeyNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidValueSchemaLength", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotImplemented", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableNotFound", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "emitEphemeralRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "popFromField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "pushToField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" - }, - { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" - } - ], - "name": "registerTable", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "startByteIndex", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "dataToSet", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "updateInField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/store/abi/IStore.sol/IStore.abi.json.d.ts b/packages/store/abi/IStore.sol/IStore.abi.json.d.ts deleted file mode 100644 index 53be52609c..0000000000 --- a/packages/store/abi/IStore.sol/IStore.abi.json.d.ts +++ /dev/null @@ -1,718 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_DataIndexOverflow"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidFieldNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidKeyNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidValueSchemaLength"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotImplemented"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableAlreadyExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableNotFound"; - type: "error"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "emitEphemeralRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getField"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getFieldLayout"; - outputs: [ - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getFieldLength"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "getFieldSlice"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getRecord"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "byteLengthToPop"; - type: "uint256"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "popFromField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "dataToPush"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "pushToField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - }, - { - internalType: "string[]"; - name: "keyNames"; - type: "string[]"; - }, - { - internalType: "string[]"; - name: "fieldNames"; - type: "string[]"; - } - ]; - name: "registerTable"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "startByteIndex"; - type: "uint256"; - }, - { - internalType: "bytes"; - name: "dataToSet"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "updateInField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/store/abi/IStore.sol/IStoreData.abi.json b/packages/store/abi/IStore.sol/IStoreData.abi.json deleted file mode 100644 index b2f7b1cfe9..0000000000 --- a/packages/store/abi/IStore.sol/IStoreData.abi.json +++ /dev/null @@ -1,463 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "popFromField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "pushToField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "startByteIndex", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "dataToSet", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "updateInField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/store/abi/IStore.sol/IStoreData.abi.json.d.ts b/packages/store/abi/IStore.sol/IStoreData.abi.json.d.ts deleted file mode 100644 index 8376850819..0000000000 --- a/packages/store/abi/IStore.sol/IStoreData.abi.json.d.ts +++ /dev/null @@ -1,464 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getField"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getFieldLayout"; - outputs: [ - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getFieldLength"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "getFieldSlice"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getRecord"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "byteLengthToPop"; - type: "uint256"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "popFromField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "dataToPush"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "pushToField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "startByteIndex"; - type: "uint256"; - }, - { - internalType: "bytes"; - name: "dataToSet"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "updateInField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/store/abi/IStore.sol/IStoreEphemeral.abi.json b/packages/store/abi/IStore.sol/IStoreEphemeral.abi.json deleted file mode 100644 index da76e6a5c2..0000000000 --- a/packages/store/abi/IStore.sol/IStoreEphemeral.abi.json +++ /dev/null @@ -1,55 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "emitEphemeralRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/store/abi/IStore.sol/IStoreEphemeral.abi.json.d.ts b/packages/store/abi/IStore.sol/IStoreEphemeral.abi.json.d.ts deleted file mode 100644 index 5b3d199d71..0000000000 --- a/packages/store/abi/IStore.sol/IStoreEphemeral.abi.json.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "emitEphemeralRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/store/abi/IStore.sol/IStoreRead.abi.json b/packages/store/abi/IStore.sol/IStoreRead.abi.json deleted file mode 100644 index 44bcee43a5..0000000000 --- a/packages/store/abi/IStore.sol/IStoreRead.abi.json +++ /dev/null @@ -1,200 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/store/abi/IStore.sol/IStoreRead.abi.json.d.ts b/packages/store/abi/IStore.sol/IStoreRead.abi.json.d.ts deleted file mode 100644 index 14c859cc2e..0000000000 --- a/packages/store/abi/IStore.sol/IStoreRead.abi.json.d.ts +++ /dev/null @@ -1,201 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getField"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getFieldLayout"; - outputs: [ - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getFieldLength"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "getFieldSlice"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getRecord"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/store/abi/IStore.sol/IStoreRegistration.abi.json b/packages/store/abi/IStore.sol/IStoreRegistration.abi.json deleted file mode 100644 index d21d2dd147..0000000000 --- a/packages/store/abi/IStore.sol/IStoreRegistration.abi.json +++ /dev/null @@ -1,81 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" - }, - { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" - } - ], - "name": "registerTable", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/store/abi/IStore.sol/IStoreRegistration.abi.json.d.ts b/packages/store/abi/IStore.sol/IStoreRegistration.abi.json.d.ts deleted file mode 100644 index 790883941d..0000000000 --- a/packages/store/abi/IStore.sol/IStoreRegistration.abi.json.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - }, - { - internalType: "string[]"; - name: "keyNames"; - type: "string[]"; - }, - { - internalType: "string[]"; - name: "fieldNames"; - type: "string[]"; - } - ]; - name: "registerTable"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/store/abi/IStore.sol/IStoreWrite.abi.json b/packages/store/abi/IStore.sol/IStoreWrite.abi.json deleted file mode 100644 index 98b9d2126f..0000000000 --- a/packages/store/abi/IStore.sol/IStoreWrite.abi.json +++ /dev/null @@ -1,265 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "popFromField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "pushToField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "startByteIndex", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "dataToSet", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "updateInField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/store/abi/IStore.sol/IStoreWrite.abi.json.d.ts b/packages/store/abi/IStore.sol/IStoreWrite.abi.json.d.ts deleted file mode 100644 index 5861267f02..0000000000 --- a/packages/store/abi/IStore.sol/IStoreWrite.abi.json.d.ts +++ /dev/null @@ -1,266 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "byteLengthToPop"; - type: "uint256"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "popFromField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "dataToPush"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "pushToField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "startByteIndex"; - type: "uint256"; - }, - { - internalType: "bytes"; - name: "dataToSet"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "updateInField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/store/abi/IStoreErrors.sol/IStoreErrors.abi.json b/packages/store/abi/IStoreErrors.sol/IStoreErrors.abi.json deleted file mode 100644 index d52ffeba10..0000000000 --- a/packages/store/abi/IStoreErrors.sol/IStoreErrors.abi.json +++ /dev/null @@ -1,124 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_DataIndexOverflow", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidFieldNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidKeyNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidValueSchemaLength", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotImplemented", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableNotFound", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/store/abi/IStoreErrors.sol/IStoreErrors.abi.json.d.ts b/packages/store/abi/IStoreErrors.sol/IStoreErrors.abi.json.d.ts deleted file mode 100644 index 3618648807..0000000000 --- a/packages/store/abi/IStoreErrors.sol/IStoreErrors.abi.json.d.ts +++ /dev/null @@ -1,125 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_DataIndexOverflow"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidFieldNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidKeyNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidValueSchemaLength"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotImplemented"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableAlreadyExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableNotFound"; - type: "error"; - } -]; -export default abi; diff --git a/packages/store/abi/IStoreHook.sol/IStoreHook.abi.json b/packages/store/abi/IStoreHook.sol/IStoreHook.abi.json deleted file mode 100644 index 206689d652..0000000000 --- a/packages/store/abi/IStoreHook.sol/IStoreHook.abi.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/store/abi/IStoreHook.sol/IStoreHook.abi.json.d.ts b/packages/store/abi/IStoreHook.sol/IStoreHook.abi.json.d.ts deleted file mode 100644 index 4fafcfbee3..0000000000 --- a/packages/store/abi/IStoreHook.sol/IStoreHook.abi.json.d.ts +++ /dev/null @@ -1,190 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceID"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/store/abi/KeyEncoding.sol/KeyEncoding.abi.json b/packages/store/abi/KeyEncoding.sol/KeyEncoding.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/KeyEncoding.sol/KeyEncoding.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/Memory.sol/Memory.abi.json b/packages/store/abi/Memory.sol/Memory.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/Memory.sol/Memory.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/MirrorSubscriber.sol/MirrorSubscriber.abi.json b/packages/store/abi/MirrorSubscriber.sol/MirrorSubscriber.abi.json deleted file mode 100644 index 0ac0ded164..0000000000 --- a/packages/store/abi/MirrorSubscriber.sol/MirrorSubscriber.abi.json +++ /dev/null @@ -1,294 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" - }, - { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "", - "type": "bytes32" - } - ], - "name": "onAfterSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/store/abi/MirrorSubscriber.sol/MirrorSubscriber.abi.json.d.ts b/packages/store/abi/MirrorSubscriber.sol/MirrorSubscriber.abi.json.d.ts deleted file mode 100644 index cdd3b22d81..0000000000 --- a/packages/store/abi/MirrorSubscriber.sol/MirrorSubscriber.abi.json.d.ts +++ /dev/null @@ -1,295 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - }, - { - internalType: "string[]"; - name: "keyNames"; - type: "string[]"; - }, - { - internalType: "string[]"; - name: "fieldNames"; - type: "string[]"; - } - ]; - stateMutability: "nonpayable"; - type: "constructor"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: ""; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: ""; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: ""; - type: "uint8"; - }, - { - internalType: "bytes"; - name: ""; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: ""; - type: "bytes32"; - } - ]; - name: "onAfterSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/store/abi/Mixed.sol/Mixed.abi.json b/packages/store/abi/Mixed.sol/Mixed.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/Mixed.sol/Mixed.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/PackedCounter.sol/PackedCounterInstance.abi.json b/packages/store/abi/PackedCounter.sol/PackedCounterInstance.abi.json deleted file mode 100644 index 377085b5aa..0000000000 --- a/packages/store/abi/PackedCounter.sol/PackedCounterInstance.abi.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/store/abi/PackedCounter.sol/PackedCounterInstance.abi.json.d.ts b/packages/store/abi/PackedCounter.sol/PackedCounterInstance.abi.json.d.ts deleted file mode 100644 index 2a863747d0..0000000000 --- a/packages/store/abi/PackedCounter.sol/PackedCounterInstance.abi.json.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - } -]; -export default abi; diff --git a/packages/store/abi/PackedCounter.sol/PackedCounterLib.abi.json b/packages/store/abi/PackedCounter.sol/PackedCounterLib.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/PackedCounter.sol/PackedCounterLib.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/RevertSubscriber.sol/RevertSubscriber.abi.json b/packages/store/abi/RevertSubscriber.sol/RevertSubscriber.abi.json deleted file mode 100644 index 9557def75e..0000000000 --- a/packages/store/abi/RevertSubscriber.sol/RevertSubscriber.abi.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "", - "type": "bytes32" - } - ], - "name": "onAfterSetField", - "outputs": [], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "", - "type": "bytes32" - } - ], - "name": "onAfterSetRecord", - "outputs": [], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "", - "type": "bytes32" - } - ], - "name": "onBeforeSetField", - "outputs": [], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "", - "type": "bytes32" - } - ], - "name": "onBeforeSetRecord", - "outputs": [], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/store/abi/RevertSubscriber.sol/RevertSubscriber.abi.json.d.ts b/packages/store/abi/RevertSubscriber.sol/RevertSubscriber.abi.json.d.ts deleted file mode 100644 index eab9eda73b..0000000000 --- a/packages/store/abi/RevertSubscriber.sol/RevertSubscriber.abi.json.d.ts +++ /dev/null @@ -1,190 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: ""; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: ""; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: ""; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: ""; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: ""; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: ""; - type: "uint8"; - }, - { - internalType: "bytes"; - name: ""; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: ""; - type: "bytes32"; - } - ]; - name: "onAfterSetField"; - outputs: []; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: ""; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: ""; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: ""; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: ""; - type: "bytes32"; - } - ]; - name: "onAfterSetRecord"; - outputs: []; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: ""; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: ""; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: ""; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: ""; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: ""; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: ""; - type: "uint8"; - }, - { - internalType: "bytes"; - name: ""; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: ""; - type: "bytes32"; - } - ]; - name: "onBeforeSetField"; - outputs: []; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: ""; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: ""; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: ""; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: ""; - type: "bytes32"; - } - ]; - name: "onBeforeSetRecord"; - outputs: []; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/store/abi/Schema.sol/SchemaInstance.abi.json b/packages/store/abi/Schema.sol/SchemaInstance.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/Schema.sol/SchemaInstance.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/Schema.sol/SchemaLib.abi.json b/packages/store/abi/Schema.sol/SchemaLib.abi.json deleted file mode 100644 index 2b3a290331..0000000000 --- a/packages/store/abi/Schema.sol/SchemaLib.abi.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "SchemaLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "SchemaLib_StaticTypeAfterDynamicType", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/store/abi/Schema.sol/SchemaLib.abi.json.d.ts b/packages/store/abi/Schema.sol/SchemaLib.abi.json.d.ts deleted file mode 100644 index 94d46e34c7..0000000000 --- a/packages/store/abi/Schema.sol/SchemaLib.abi.json.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "SchemaLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "SchemaLib_StaticTypeAfterDynamicType"; - type: "error"; - } -]; -export default abi; diff --git a/packages/store/abi/SchemaEncodeHelper.sol/SchemaEncodeHelper.abi.json b/packages/store/abi/SchemaEncodeHelper.sol/SchemaEncodeHelper.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/SchemaEncodeHelper.sol/SchemaEncodeHelper.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/Slice.sol/SliceInstance.abi.json b/packages/store/abi/Slice.sol/SliceInstance.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/Slice.sol/SliceInstance.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/Slice.sol/SliceLib.abi.json b/packages/store/abi/Slice.sol/SliceLib.abi.json deleted file mode 100644 index bae09de3e6..0000000000 --- a/packages/store/abi/Slice.sol/SliceLib.abi.json +++ /dev/null @@ -1,23 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/store/abi/Slice.sol/SliceLib.abi.json.d.ts b/packages/store/abi/Slice.sol/SliceLib.abi.json.d.ts deleted file mode 100644 index 65642dcfdf..0000000000 --- a/packages/store/abi/Slice.sol/SliceLib.abi.json.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - } -]; -export default abi; diff --git a/packages/store/abi/Storage.sol/Storage.abi.json b/packages/store/abi/Storage.sol/Storage.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/Storage.sol/Storage.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/StoreCore.sol/StoreCore.abi.json b/packages/store/abi/StoreCore.sol/StoreCore.abi.json deleted file mode 100644 index fb85ad946b..0000000000 --- a/packages/store/abi/StoreCore.sol/StoreCore.abi.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - } -] \ No newline at end of file diff --git a/packages/store/abi/StoreCore.sol/StoreCore.abi.json.d.ts b/packages/store/abi/StoreCore.sol/StoreCore.abi.json.d.ts deleted file mode 100644 index 60f914b4e1..0000000000 --- a/packages/store/abi/StoreCore.sol/StoreCore.abi.json.d.ts +++ /dev/null @@ -1,103 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "fieldIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - } -]; -export default abi; diff --git a/packages/store/abi/StoreCore.sol/StoreCoreInternal.abi.json b/packages/store/abi/StoreCore.sol/StoreCoreInternal.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/StoreCore.sol/StoreCoreInternal.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/StoreHook.sol/StoreHook.abi.json b/packages/store/abi/StoreHook.sol/StoreHook.abi.json deleted file mode 100644 index 84037ddd5e..0000000000 --- a/packages/store/abi/StoreHook.sol/StoreHook.abi.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/store/abi/StoreHook.sol/StoreHook.abi.json.d.ts b/packages/store/abi/StoreHook.sol/StoreHook.abi.json.d.ts deleted file mode 100644 index 96c3279f30..0000000000 --- a/packages/store/abi/StoreHook.sol/StoreHook.abi.json.d.ts +++ /dev/null @@ -1,190 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/store/abi/StoreHook.sol/StoreHookLib.abi.json b/packages/store/abi/StoreHook.sol/StoreHookLib.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/StoreHook.sol/StoreHookLib.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/StoreHooks.sol/StoreHooks.abi.json b/packages/store/abi/StoreHooks.sol/StoreHooks.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/StoreHooks.sol/StoreHooks.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/StoreMock.sol/StoreMock.abi.json b/packages/store/abi/StoreMock.sol/StoreMock.abi.json deleted file mode 100644 index 06aaab4969..0000000000 --- a/packages/store/abi/StoreMock.sol/StoreMock.abi.json +++ /dev/null @@ -1,791 +0,0 @@ -[ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "SchemaLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "SchemaLib_StaticTypeAfterDynamicType", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_DataIndexOverflow", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidFieldNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidKeyNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidValueSchemaLength", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotImplemented", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableNotFound", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "emitEphemeralRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "popFromField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "pushToField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" - }, - { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" - } - ], - "name": "registerTable", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "startByteIndex", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "dataToSet", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "updateInField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/store/abi/StoreMock.sol/StoreMock.abi.json.d.ts b/packages/store/abi/StoreMock.sol/StoreMock.abi.json.d.ts deleted file mode 100644 index 7c1b063fd5..0000000000 --- a/packages/store/abi/StoreMock.sol/StoreMock.abi.json.d.ts +++ /dev/null @@ -1,792 +0,0 @@ -declare const abi: [ - { - inputs: []; - stateMutability: "nonpayable"; - type: "constructor"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "SchemaLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "SchemaLib_StaticTypeAfterDynamicType"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_DataIndexOverflow"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidFieldNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidKeyNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidValueSchemaLength"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotImplemented"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableAlreadyExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableNotFound"; - type: "error"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "emitEphemeralRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getField"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getFieldLayout"; - outputs: [ - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getFieldLength"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "getFieldSlice"; - outputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getRecord"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "byteLengthToPop"; - type: "uint256"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "popFromField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "dataToPush"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "pushToField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - }, - { - internalType: "string[]"; - name: "keyNames"; - type: "string[]"; - }, - { - internalType: "string[]"; - name: "fieldNames"; - type: "string[]"; - } - ]; - name: "registerTable"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "startByteIndex"; - type: "uint256"; - }, - { - internalType: "bytes"; - name: "dataToSet"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "updateInField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/store/abi/StoreRead.sol/StoreRead.abi.json b/packages/store/abi/StoreRead.sol/StoreRead.abi.json deleted file mode 100644 index d667734d9d..0000000000 --- a/packages/store/abi/StoreRead.sol/StoreRead.abi.json +++ /dev/null @@ -1,242 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/store/abi/StoreRead.sol/StoreRead.abi.json.d.ts b/packages/store/abi/StoreRead.sol/StoreRead.abi.json.d.ts deleted file mode 100644 index b55d3b54f0..0000000000 --- a/packages/store/abi/StoreRead.sol/StoreRead.abi.json.d.ts +++ /dev/null @@ -1,243 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getField"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getFieldLayout"; - outputs: [ - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getFieldLength"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "getFieldSlice"; - outputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getRecord"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/store/abi/StoreSwitch.sol/StoreSwitch.abi.json b/packages/store/abi/StoreSwitch.sol/StoreSwitch.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/StoreSwitch.sol/StoreSwitch.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/Tables.sol/Tables.abi.json b/packages/store/abi/Tables.sol/Tables.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/Tables.sol/Tables.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/TightCoder.sol/TightCoder.abi.json b/packages/store/abi/TightCoder.sol/TightCoder.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/TightCoder.sol/TightCoder.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/Vector2.sol/Vector2.abi.json b/packages/store/abi/Vector2.sol/Vector2.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/Vector2.sol/Vector2.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/abi/constants.sol/LayoutOffsets.abi.json b/packages/store/abi/constants.sol/LayoutOffsets.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/store/abi/constants.sol/LayoutOffsets.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/store/foundry.toml b/packages/store/foundry.toml index 9489e40e2a..99e1244225 100644 --- a/packages/store/foundry.toml +++ b/packages/store/foundry.toml @@ -9,3 +9,7 @@ allow_paths= ["../../node_modules"] src = "src" out = "out" bytecode_hash = "none" +extra_output_files = [ + "abi", + "evm.bytecode" +] diff --git a/packages/store/package.json b/packages/store/package.json index ee891b4889..d2fe260e43 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -14,7 +14,7 @@ "./codegen": "./dist/ts/codegen/index.js", "./config": "./dist/ts/config/index.js", "./register": "./dist/ts/register/index.js", - "./abi/*": "./abi/*", + "./out/*": "./out/*", "./*": "./dist/*" }, "typesVersions": { @@ -35,13 +35,13 @@ }, "scripts": { "build": "pnpm run build:tightcoder && pnpm run build:mud && pnpm run build:abi && pnpm run build:abi-ts && pnpm run build:js", - "build:abi": "forge build --extra-output-files abi --out abi --skip test script MudTest.sol", + "build:abi": "forge build --skip test script", "build:abi-ts": "abi-ts && prettier --write '**/*.abi.json.d.ts'", "build:js": "tsup", "build:mud": "tsx ./ts/scripts/tablegen.ts", "build:tightcoder": "tsx ./ts/scripts/generate-tightcoder.ts", "clean": "pnpm run clean:abi && pnpm run clean:js && pnpm run clean:mud", - "clean:abi": "rimraf abi", + "clean:abi": "forge clean", "clean:js": "rimraf dist", "clean:mud": "rimraf src/codegen", "dev": "tsup --watch", diff --git a/packages/store/ts/storeEventsAbi.test.ts b/packages/store/ts/storeEventsAbi.test.ts index 60e9db44dd..37242457f6 100644 --- a/packages/store/ts/storeEventsAbi.test.ts +++ b/packages/store/ts/storeEventsAbi.test.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from "vitest"; import { storeEventsAbi } from "./storeEventsAbi"; -import IStoreAbi from "../abi/IStore.sol/IStore.abi.json"; +import IStoreAbi from "../out/IStore.sol/IStore.abi.json"; // Make sure `storeEvents` stays in sync with Solidity definition/events diff --git a/packages/world/.gitignore b/packages/world/.gitignore index dff3cffa0f..4d69834442 100644 --- a/packages/world/.gitignore +++ b/packages/world/.gitignore @@ -7,7 +7,3 @@ artifacts yarn-error.log API dist - -# only check in ABIs -abi/**/*.json -!abi/**/*.abi.json diff --git a/packages/world/.npmignore b/packages/world/.npmignore index 5fb5c6be63..6a148ace5b 100644 --- a/packages/world/.npmignore +++ b/packages/world/.npmignore @@ -1,6 +1,7 @@ * -!abi/** +!out/**/*.abi.json +!out/**/*.abi.json.d.ts !src/** !ts/** !package.json diff --git a/packages/world/abi/AccessControl.sol/AccessControl.abi.json b/packages/world/abi/AccessControl.sol/AccessControl.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/AccessControl.sol/AccessControl.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/AccessManagementSystem.sol/AccessManagementSystem.abi.json b/packages/world/abi/AccessManagementSystem.sol/AccessManagementSystem.abi.json deleted file mode 100644 index 1455bc1a9e..0000000000 --- a/packages/world/abi/AccessManagementSystem.sol/AccessManagementSystem.abi.json +++ /dev/null @@ -1,199 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - }, - { - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "AccessDenied", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "grantee", - "type": "address" - } - ], - "name": "grantAccess", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "grantee", - "type": "address" - } - ], - "name": "revokeAccess", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "namespace", - "type": "bytes16" - }, - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts b/packages/world/abi/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts deleted file mode 100644 index 8c85f7b821..0000000000 --- a/packages/world/abi/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts +++ /dev/null @@ -1,200 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - }, - { - internalType: "address"; - name: "caller"; - type: "address"; - } - ]; - name: "AccessDenied"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "address"; - name: "grantee"; - type: "address"; - } - ]; - name: "grantAccess"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "address"; - name: "grantee"; - type: "address"; - } - ]; - name: "revokeAccess"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "namespace"; - type: "bytes16"; - }, - { - internalType: "address"; - name: "newOwner"; - type: "address"; - } - ]; - name: "transferOwnership"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/AddressArray.sol/AddressArray.abi.json b/packages/world/abi/AddressArray.sol/AddressArray.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/AddressArray.sol/AddressArray.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/ArrayLib.sol/ArrayLib.abi.json b/packages/world/abi/ArrayLib.sol/ArrayLib.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/ArrayLib.sol/ArrayLib.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json b/packages/world/abi/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json deleted file mode 100644 index 5837ac41b0..0000000000 --- a/packages/world/abi/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json +++ /dev/null @@ -1,310 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - }, - { - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "AccessDenied", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "DelegationNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "InsufficientBalance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "contractAddress", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "InterfaceNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "InvalidSelector", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "system", - "type": "address" - } - ], - "name": "SystemExists", - "type": "error" - }, - { - "inputs": [], - "name": "WorldAlreadyInitialized", - "type": "error" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "fromNamespace", - "type": "bytes16" - }, - { - "internalType": "address", - "name": "toAddress", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferBalanceToAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "fromNamespace", - "type": "bytes16" - }, - { - "internalType": "bytes16", - "name": "toNamespace", - "type": "bytes16" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferBalanceToNamespace", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts b/packages/world/abi/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts deleted file mode 100644 index 35b1726fb1..0000000000 --- a/packages/world/abi/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts +++ /dev/null @@ -1,311 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - }, - { - internalType: "address"; - name: "caller"; - type: "address"; - } - ]; - name: "AccessDenied"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "address"; - name: "delegatee"; - type: "address"; - } - ]; - name: "DelegationNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "balance"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "InsufficientBalance"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "contractAddress"; - type: "address"; - }, - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "InterfaceNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "InvalidSelector"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "system"; - type: "address"; - } - ]; - name: "SystemExists"; - type: "error"; - }, - { - inputs: []; - name: "WorldAlreadyInitialized"; - type: "error"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "fromNamespace"; - type: "bytes16"; - }, - { - internalType: "address"; - name: "toAddress"; - type: "address"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "transferBalanceToAddress"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "fromNamespace"; - type: "bytes16"; - }, - { - internalType: "bytes16"; - name: "toNamespace"; - type: "bytes16"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "transferBalanceToNamespace"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/Balances.sol/Balances.abi.json b/packages/world/abi/Balances.sol/Balances.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Balances.sol/Balances.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Bool.sol/Bool.abi.json b/packages/world/abi/Bool.sol/Bool.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Bool.sol/Bool.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Bytes.sol/Bytes.abi.json b/packages/world/abi/Bytes.sol/Bytes.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Bytes.sol/Bytes.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Callbacks.sol/Callbacks.abi.json b/packages/world/abi/Callbacks.sol/Callbacks.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Callbacks.sol/Callbacks.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/CallboundDelegationControl.sol/CallboundDelegationControl.abi.json b/packages/world/abi/CallboundDelegationControl.sol/CallboundDelegationControl.abi.json deleted file mode 100644 index 559ba3a6a7..0000000000 --- a/packages/world/abi/CallboundDelegationControl.sol/CallboundDelegationControl.abi.json +++ /dev/null @@ -1,186 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "numCalls", - "type": "uint256" - } - ], - "name": "initDelegation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "verify", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/CallboundDelegationControl.sol/CallboundDelegationControl.abi.json.d.ts b/packages/world/abi/CallboundDelegationControl.sol/CallboundDelegationControl.abi.json.d.ts deleted file mode 100644 index 7b1c8c0f8f..0000000000 --- a/packages/world/abi/CallboundDelegationControl.sol/CallboundDelegationControl.abi.json.d.ts +++ /dev/null @@ -1,187 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegatee"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "numCalls"; - type: "uint256"; - } - ]; - name: "initDelegation"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "verify"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/CallboundDelegations.sol/CallboundDelegations.abi.json b/packages/world/abi/CallboundDelegations.sol/CallboundDelegations.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/CallboundDelegations.sol/CallboundDelegations.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/CoreModule.sol/CoreModule.abi.json b/packages/world/abi/CoreModule.sol/CoreModule.abi.json deleted file mode 100644 index d802475a33..0000000000 --- a/packages/world/abi/CoreModule.sol/CoreModule.abi.json +++ /dev/null @@ -1,269 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [], - "name": "NonRootInstallNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resourceSelector", - "type": "string" - } - ], - "name": "RequiredModuleNotFound", - "type": "error" - }, - { - "inputs": [], - "name": "RootInstallModeNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "SchemaLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "SchemaLib_StaticTypeAfterDynamicType", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidFieldNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidKeyNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidValueSchemaLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableAlreadyExists", - "type": "error" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getName", - "outputs": [ - { - "internalType": "bytes16", - "name": "", - "type": "bytes16" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "install", - "outputs": [], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "installRoot", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/CoreModule.sol/CoreModule.abi.json.d.ts b/packages/world/abi/CoreModule.sol/CoreModule.abi.json.d.ts deleted file mode 100644 index a2531ec4bd..0000000000 --- a/packages/world/abi/CoreModule.sol/CoreModule.abi.json.d.ts +++ /dev/null @@ -1,270 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: []; - name: "NonRootInstallNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resourceSelector"; - type: "string"; - } - ]; - name: "RequiredModuleNotFound"; - type: "error"; - }, - { - inputs: []; - name: "RootInstallModeNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "SchemaLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "SchemaLib_StaticTypeAfterDynamicType"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidFieldNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidKeyNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidValueSchemaLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableAlreadyExists"; - type: "error"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "getName"; - outputs: [ - { - internalType: "bytes16"; - name: ""; - type: "bytes16"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - name: "install"; - outputs: []; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - name: "installRoot"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/CoreSystem.sol/CoreSystem.abi.json b/packages/world/abi/CoreSystem.sol/CoreSystem.abi.json deleted file mode 100644 index 37b796f074..0000000000 --- a/packages/world/abi/CoreSystem.sol/CoreSystem.abi.json +++ /dev/null @@ -1,757 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - }, - { - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "AccessDenied", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "DelegationNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "InsufficientBalance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "contractAddress", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "InterfaceNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "InvalidSelector", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "SchemaLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "SchemaLib_StaticTypeAfterDynamicType", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidFieldNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidKeyNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidValueSchemaLength", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "system", - "type": "address" - } - ], - "name": "SystemExists", - "type": "error" - }, - { - "inputs": [], - "name": "WorldAlreadyInitialized", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "emitEphemeralRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "grantee", - "type": "address" - } - ], - "name": "grantAccess", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "module", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installModule", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "delegationControlId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "initFuncSelectorAndArgs", - "type": "bytes" - } - ], - "name": "registerDelegation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "systemFunctionName", - "type": "string" - }, - { - "internalType": "string", - "name": "systemFunctionArguments", - "type": "string" - } - ], - "name": "registerFunctionSelector", - "outputs": [ - { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "namespace", - "type": "bytes16" - } - ], - "name": "registerNamespace", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" - }, - { - "internalType": "bytes4", - "name": "systemFunctionSelector", - "type": "bytes4" - } - ], - "name": "registerRootFunctionSelector", - "outputs": [ - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "contract WorldContextConsumer", - "name": "system", - "type": "address" - }, - { - "internalType": "bool", - "name": "publicAccess", - "type": "bool" - } - ], - "name": "registerSystem", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "contract ISystemHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerSystemHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" - }, - { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" - } - ], - "name": "registerTable", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "grantee", - "type": "address" - } - ], - "name": "revokeAccess", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "fromNamespace", - "type": "bytes16" - }, - { - "internalType": "address", - "name": "toAddress", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferBalanceToAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "fromNamespace", - "type": "bytes16" - }, - { - "internalType": "bytes16", - "name": "toNamespace", - "type": "bytes16" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferBalanceToNamespace", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "namespace", - "type": "bytes16" - }, - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "contract ISystemHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterSystemHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/CoreSystem.sol/CoreSystem.abi.json.d.ts b/packages/world/abi/CoreSystem.sol/CoreSystem.abi.json.d.ts deleted file mode 100644 index 4f7a99f85c..0000000000 --- a/packages/world/abi/CoreSystem.sol/CoreSystem.abi.json.d.ts +++ /dev/null @@ -1,758 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - }, - { - internalType: "address"; - name: "caller"; - type: "address"; - } - ]; - name: "AccessDenied"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "address"; - name: "delegatee"; - type: "address"; - } - ]; - name: "DelegationNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "balance"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "InsufficientBalance"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "contractAddress"; - type: "address"; - }, - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "InterfaceNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "InvalidSelector"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "SchemaLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "SchemaLib_StaticTypeAfterDynamicType"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidFieldNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidKeyNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidValueSchemaLength"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableAlreadyExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "system"; - type: "address"; - } - ]; - name: "SystemExists"; - type: "error"; - }, - { - inputs: []; - name: "WorldAlreadyInitialized"; - type: "error"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "emitEphemeralRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "address"; - name: "grantee"; - type: "address"; - } - ]; - name: "grantAccess"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "contract IModule"; - name: "module"; - type: "address"; - }, - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "installModule"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegatee"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "delegationControlId"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "initFuncSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "registerDelegation"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "systemFunctionName"; - type: "string"; - }, - { - internalType: "string"; - name: "systemFunctionArguments"; - type: "string"; - } - ]; - name: "registerFunctionSelector"; - outputs: [ - { - internalType: "bytes4"; - name: "worldFunctionSelector"; - type: "bytes4"; - } - ]; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "namespace"; - type: "bytes16"; - } - ]; - name: "registerNamespace"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes4"; - name: "worldFunctionSelector"; - type: "bytes4"; - }, - { - internalType: "bytes4"; - name: "systemFunctionSelector"; - type: "bytes4"; - } - ]; - name: "registerRootFunctionSelector"; - outputs: [ - { - internalType: "bytes4"; - name: ""; - type: "bytes4"; - } - ]; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "contract WorldContextConsumer"; - name: "system"; - type: "address"; - }, - { - internalType: "bool"; - name: "publicAccess"; - type: "bool"; - } - ]; - name: "registerSystem"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "contract ISystemHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerSystemHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - }, - { - internalType: "string[]"; - name: "keyNames"; - type: "string[]"; - }, - { - internalType: "string[]"; - name: "fieldNames"; - type: "string[]"; - } - ]; - name: "registerTable"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "address"; - name: "grantee"; - type: "address"; - } - ]; - name: "revokeAccess"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "fromNamespace"; - type: "bytes16"; - }, - { - internalType: "address"; - name: "toAddress"; - type: "address"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "transferBalanceToAddress"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "fromNamespace"; - type: "bytes16"; - }, - { - internalType: "bytes16"; - name: "toNamespace"; - type: "bytes16"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "transferBalanceToNamespace"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "namespace"; - type: "bytes16"; - }, - { - internalType: "address"; - name: "newOwner"; - type: "address"; - } - ]; - name: "transferOwnership"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "contract ISystemHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterSystemHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/Create2.sol/Create2.abi.json b/packages/world/abi/Create2.sol/Create2.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Create2.sol/Create2.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Create2Factory.sol/Create2Factory.abi.json b/packages/world/abi/Create2Factory.sol/Create2Factory.abi.json deleted file mode 100644 index cee9f1b1c0..0000000000 --- a/packages/world/abi/Create2Factory.sol/Create2Factory.abi.json +++ /dev/null @@ -1,39 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "addr", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "salt", - "type": "uint256" - } - ], - "name": "ContractDeployed", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "byteCode", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "salt", - "type": "uint256" - } - ], - "name": "deployContract", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/Create2Factory.sol/Create2Factory.abi.json.d.ts b/packages/world/abi/Create2Factory.sol/Create2Factory.abi.json.d.ts deleted file mode 100644 index 317eae0a44..0000000000 --- a/packages/world/abi/Create2Factory.sol/Create2Factory.abi.json.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "address"; - name: "addr"; - type: "address"; - }, - { - indexed: false; - internalType: "uint256"; - name: "salt"; - type: "uint256"; - } - ]; - name: "ContractDeployed"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "byteCode"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "salt"; - type: "uint256"; - } - ]; - name: "deployContract"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/DecodeSlice.sol/DecodeSlice.abi.json b/packages/world/abi/DecodeSlice.sol/DecodeSlice.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/DecodeSlice.sol/DecodeSlice.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Delegation.sol/DelegationInstance.abi.json b/packages/world/abi/Delegation.sol/DelegationInstance.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Delegation.sol/DelegationInstance.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/DelegationControl.sol/DelegationControl.abi.json b/packages/world/abi/DelegationControl.sol/DelegationControl.abi.json deleted file mode 100644 index ef2b1cf902..0000000000 --- a/packages/world/abi/DelegationControl.sol/DelegationControl.abi.json +++ /dev/null @@ -1,89 +0,0 @@ -[ - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "verify", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/DelegationControl.sol/DelegationControl.abi.json.d.ts b/packages/world/abi/DelegationControl.sol/DelegationControl.abi.json.d.ts deleted file mode 100644 index 924052088b..0000000000 --- a/packages/world/abi/DelegationControl.sol/DelegationControl.abi.json.d.ts +++ /dev/null @@ -1,90 +0,0 @@ -declare const abi: [ - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "systemId"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "verify"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/Delegations.sol/Delegations.abi.json b/packages/world/abi/Delegations.sol/Delegations.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Delegations.sol/Delegations.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/EncodeArray.sol/EncodeArray.abi.json b/packages/world/abi/EncodeArray.sol/EncodeArray.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/EncodeArray.sol/EncodeArray.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/EphemeralRecordSystem.sol/EphemeralRecordSystem.abi.json b/packages/world/abi/EphemeralRecordSystem.sol/EphemeralRecordSystem.abi.json deleted file mode 100644 index a756afe3a6..0000000000 --- a/packages/world/abi/EphemeralRecordSystem.sol/EphemeralRecordSystem.abi.json +++ /dev/null @@ -1,166 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - }, - { - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "AccessDenied", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "emitEphemeralRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/EphemeralRecordSystem.sol/EphemeralRecordSystem.abi.json.d.ts b/packages/world/abi/EphemeralRecordSystem.sol/EphemeralRecordSystem.abi.json.d.ts deleted file mode 100644 index bcee40a567..0000000000 --- a/packages/world/abi/EphemeralRecordSystem.sol/EphemeralRecordSystem.abi.json.d.ts +++ /dev/null @@ -1,167 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - }, - { - internalType: "address"; - name: "caller"; - type: "address"; - } - ]; - name: "AccessDenied"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "emitEphemeralRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/FieldLayout.sol/FieldLayoutInstance.abi.json b/packages/world/abi/FieldLayout.sol/FieldLayoutInstance.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/FieldLayout.sol/FieldLayoutInstance.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/FieldLayout.sol/FieldLayoutLib.abi.json b/packages/world/abi/FieldLayout.sol/FieldLayoutLib.abi.json deleted file mode 100644 index 0718613ae7..0000000000 --- a/packages/world/abi/FieldLayout.sol/FieldLayoutLib.abi.json +++ /dev/null @@ -1,23 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/world/abi/FieldLayout.sol/FieldLayoutLib.abi.json.d.ts b/packages/world/abi/FieldLayout.sol/FieldLayoutLib.abi.json.d.ts deleted file mode 100644 index 46ebe7906c..0000000000 --- a/packages/world/abi/FieldLayout.sol/FieldLayoutLib.abi.json.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - } -]; -export default abi; diff --git a/packages/world/abi/FunctionSelectors.sol/FunctionSelectors.abi.json b/packages/world/abi/FunctionSelectors.sol/FunctionSelectors.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/FunctionSelectors.sol/FunctionSelectors.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Hook.sol/HookInstance.abi.json b/packages/world/abi/Hook.sol/HookInstance.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Hook.sol/HookInstance.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Hook.sol/HookLib.abi.json b/packages/world/abi/Hook.sol/HookLib.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Hook.sol/HookLib.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Hooks.sol/Hooks.abi.json b/packages/world/abi/Hooks.sol/Hooks.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Hooks.sol/Hooks.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json b/packages/world/abi/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json deleted file mode 100644 index 47ed7c0c90..0000000000 --- a/packages/world/abi/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json +++ /dev/null @@ -1,56 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "grantee", - "type": "address" - } - ], - "name": "grantAccess", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "grantee", - "type": "address" - } - ], - "name": "revokeAccess", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "namespace", - "type": "bytes16" - }, - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json.d.ts b/packages/world/abi/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json.d.ts deleted file mode 100644 index 6402cffac0..0000000000 --- a/packages/world/abi/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "address"; - name: "grantee"; - type: "address"; - } - ]; - name: "grantAccess"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "address"; - name: "grantee"; - type: "address"; - } - ]; - name: "revokeAccess"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "namespace"; - type: "bytes16"; - }, - { - internalType: "address"; - name: "newOwner"; - type: "address"; - } - ]; - name: "transferOwnership"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json b/packages/world/abi/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json deleted file mode 100644 index c344a5cad3..0000000000 --- a/packages/world/abi/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json +++ /dev/null @@ -1,48 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes16", - "name": "fromNamespace", - "type": "bytes16" - }, - { - "internalType": "address", - "name": "toAddress", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferBalanceToAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "fromNamespace", - "type": "bytes16" - }, - { - "internalType": "bytes16", - "name": "toNamespace", - "type": "bytes16" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferBalanceToNamespace", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json.d.ts b/packages/world/abi/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json.d.ts deleted file mode 100644 index ab006fbb25..0000000000 --- a/packages/world/abi/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes16"; - name: "fromNamespace"; - type: "bytes16"; - }, - { - internalType: "address"; - name: "toAddress"; - type: "address"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "transferBalanceToAddress"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "fromNamespace"; - type: "bytes16"; - }, - { - internalType: "bytes16"; - name: "toNamespace"; - type: "bytes16"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "transferBalanceToNamespace"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IBaseWorld.sol/IBaseWorld.abi.json b/packages/world/abi/IBaseWorld.sol/IBaseWorld.abi.json deleted file mode 100644 index 89c084071c..0000000000 --- a/packages/world/abi/IBaseWorld.sol/IBaseWorld.abi.json +++ /dev/null @@ -1,1231 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - }, - { - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "AccessDenied", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "DelegationNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "InsufficientBalance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "contractAddress", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "InterfaceNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "InvalidSelector", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_DataIndexOverflow", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidFieldNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidKeyNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidValueSchemaLength", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotImplemented", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "system", - "type": "address" - } - ], - "name": "SystemExists", - "type": "error" - }, - { - "inputs": [], - "name": "WorldAlreadyInitialized", - "type": "error" - }, - { - "anonymous": false, - "inputs": [], - "name": "HelloWorld", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "call", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "callFrom", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "creator", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "emitEphemeralRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "grantee", - "type": "address" - } - ], - "name": "grantAccess", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "coreModule", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "module", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installModule", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "module", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installRootModule", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "popFromField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "pushToField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "delegationControlId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "initFuncSelectorAndArgs", - "type": "bytes" - } - ], - "name": "registerDelegation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "systemFunctionName", - "type": "string" - }, - { - "internalType": "string", - "name": "systemFunctionArguments", - "type": "string" - } - ], - "name": "registerFunctionSelector", - "outputs": [ - { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "namespace", - "type": "bytes16" - } - ], - "name": "registerNamespace", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" - }, - { - "internalType": "bytes4", - "name": "systemFunctionSelector", - "type": "bytes4" - } - ], - "name": "registerRootFunctionSelector", - "outputs": [ - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "contract WorldContextConsumer", - "name": "system", - "type": "address" - }, - { - "internalType": "bool", - "name": "publicAccess", - "type": "bool" - } - ], - "name": "registerSystem", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "contract ISystemHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerSystemHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" - }, - { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" - } - ], - "name": "registerTable", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "grantee", - "type": "address" - } - ], - "name": "revokeAccess", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "fromNamespace", - "type": "bytes16" - }, - { - "internalType": "address", - "name": "toAddress", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferBalanceToAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "fromNamespace", - "type": "bytes16" - }, - { - "internalType": "bytes16", - "name": "toNamespace", - "type": "bytes16" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferBalanceToNamespace", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "namespace", - "type": "bytes16" - }, - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "contract ISystemHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterSystemHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "startByteIndex", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "dataToSet", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "updateInField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IBaseWorld.sol/IBaseWorld.abi.json.d.ts b/packages/world/abi/IBaseWorld.sol/IBaseWorld.abi.json.d.ts deleted file mode 100644 index de47b3b5e6..0000000000 --- a/packages/world/abi/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +++ /dev/null @@ -1,1232 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - }, - { - internalType: "address"; - name: "caller"; - type: "address"; - } - ]; - name: "AccessDenied"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "address"; - name: "delegatee"; - type: "address"; - } - ]; - name: "DelegationNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "balance"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "InsufficientBalance"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "contractAddress"; - type: "address"; - }, - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "InterfaceNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "InvalidSelector"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_DataIndexOverflow"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidFieldNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidKeyNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidValueSchemaLength"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotImplemented"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableAlreadyExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "system"; - type: "address"; - } - ]; - name: "SystemExists"; - type: "error"; - }, - { - inputs: []; - name: "WorldAlreadyInitialized"; - type: "error"; - }, - { - anonymous: false; - inputs: []; - name: "HelloWorld"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "call"; - outputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - stateMutability: "payable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "callFrom"; - outputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - stateMutability: "payable"; - type: "function"; - }, - { - inputs: []; - name: "creator"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "emitEphemeralRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getField"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getFieldLayout"; - outputs: [ - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getFieldLength"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "getFieldSlice"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getRecord"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "address"; - name: "grantee"; - type: "address"; - } - ]; - name: "grantAccess"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "contract IModule"; - name: "coreModule"; - type: "address"; - } - ]; - name: "initialize"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "contract IModule"; - name: "module"; - type: "address"; - }, - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "installModule"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "contract IModule"; - name: "module"; - type: "address"; - }, - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "installRootModule"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "byteLengthToPop"; - type: "uint256"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "popFromField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "dataToPush"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "pushToField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegatee"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "delegationControlId"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "initFuncSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "registerDelegation"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "systemFunctionName"; - type: "string"; - }, - { - internalType: "string"; - name: "systemFunctionArguments"; - type: "string"; - } - ]; - name: "registerFunctionSelector"; - outputs: [ - { - internalType: "bytes4"; - name: "worldFunctionSelector"; - type: "bytes4"; - } - ]; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "namespace"; - type: "bytes16"; - } - ]; - name: "registerNamespace"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes4"; - name: "worldFunctionSelector"; - type: "bytes4"; - }, - { - internalType: "bytes4"; - name: "systemFunctionSelector"; - type: "bytes4"; - } - ]; - name: "registerRootFunctionSelector"; - outputs: [ - { - internalType: "bytes4"; - name: ""; - type: "bytes4"; - } - ]; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "contract WorldContextConsumer"; - name: "system"; - type: "address"; - }, - { - internalType: "bool"; - name: "publicAccess"; - type: "bool"; - } - ]; - name: "registerSystem"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "contract ISystemHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerSystemHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - }, - { - internalType: "string[]"; - name: "keyNames"; - type: "string[]"; - }, - { - internalType: "string[]"; - name: "fieldNames"; - type: "string[]"; - } - ]; - name: "registerTable"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "address"; - name: "grantee"; - type: "address"; - } - ]; - name: "revokeAccess"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "fromNamespace"; - type: "bytes16"; - }, - { - internalType: "address"; - name: "toAddress"; - type: "address"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "transferBalanceToAddress"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "fromNamespace"; - type: "bytes16"; - }, - { - internalType: "bytes16"; - name: "toNamespace"; - type: "bytes16"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "transferBalanceToNamespace"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "namespace"; - type: "bytes16"; - }, - { - internalType: "address"; - name: "newOwner"; - type: "address"; - } - ]; - name: "transferOwnership"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "contract ISystemHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterSystemHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "startByteIndex"; - type: "uint256"; - }, - { - internalType: "bytes"; - name: "dataToSet"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "updateInField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/ICoreSystem.sol/ICoreSystem.abi.json b/packages/world/abi/ICoreSystem.sol/ICoreSystem.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/ICoreSystem.sol/ICoreSystem.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/IDelegationControl.sol/IDelegationControl.abi.json b/packages/world/abi/IDelegationControl.sol/IDelegationControl.abi.json deleted file mode 100644 index 787307f1d3..0000000000 --- a/packages/world/abi/IDelegationControl.sol/IDelegationControl.abi.json +++ /dev/null @@ -1,89 +0,0 @@ -[ - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "verify", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IDelegationControl.sol/IDelegationControl.abi.json.d.ts b/packages/world/abi/IDelegationControl.sol/IDelegationControl.abi.json.d.ts deleted file mode 100644 index d28e50242a..0000000000 --- a/packages/world/abi/IDelegationControl.sol/IDelegationControl.abi.json.d.ts +++ /dev/null @@ -1,90 +0,0 @@ -declare const abi: [ - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceID"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "systemId"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "verify"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IERC165.sol/IERC165.abi.json b/packages/world/abi/IERC165.sol/IERC165.abi.json deleted file mode 100644 index f9e19986d2..0000000000 --- a/packages/world/abi/IERC165.sol/IERC165.abi.json +++ /dev/null @@ -1,21 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IERC165.sol/IERC165.abi.json.d.ts b/packages/world/abi/IERC165.sol/IERC165.abi.json.d.ts deleted file mode 100644 index 41da21a6f2..0000000000 --- a/packages/world/abi/IERC165.sol/IERC165.abi.json.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceID"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IModule.sol/IModule.abi.json b/packages/world/abi/IModule.sol/IModule.abi.json deleted file mode 100644 index 7700a8ec17..0000000000 --- a/packages/world/abi/IModule.sol/IModule.abi.json +++ /dev/null @@ -1,81 +0,0 @@ -[ - { - "inputs": [], - "name": "NonRootInstallNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resourceSelector", - "type": "string" - } - ], - "name": "RequiredModuleNotFound", - "type": "error" - }, - { - "inputs": [], - "name": "RootInstallModeNotSupported", - "type": "error" - }, - { - "inputs": [], - "name": "getName", - "outputs": [ - { - "internalType": "bytes16", - "name": "name", - "type": "bytes16" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "install", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installRoot", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IModule.sol/IModule.abi.json.d.ts b/packages/world/abi/IModule.sol/IModule.abi.json.d.ts deleted file mode 100644 index a7d79f1b71..0000000000 --- a/packages/world/abi/IModule.sol/IModule.abi.json.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -declare const abi: [ - { - inputs: []; - name: "NonRootInstallNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resourceSelector"; - type: "string"; - } - ]; - name: "RequiredModuleNotFound"; - type: "error"; - }, - { - inputs: []; - name: "RootInstallModeNotSupported"; - type: "error"; - }, - { - inputs: []; - name: "getName"; - outputs: [ - { - internalType: "bytes16"; - name: "name"; - type: "bytes16"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "install"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "installRoot"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceID"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json b/packages/world/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json deleted file mode 100644 index 36a2527e83..0000000000 --- a/packages/world/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "module", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installModule", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json.d.ts b/packages/world/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json.d.ts deleted file mode 100644 index 6ab8b131bc..0000000000 --- a/packages/world/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "contract IModule"; - name: "module"; - type: "address"; - }, - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "installModule"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IStore.sol/IStore.abi.json b/packages/world/abi/IStore.sol/IStore.abi.json deleted file mode 100644 index 5f2611915f..0000000000 --- a/packages/world/abi/IStore.sol/IStore.abi.json +++ /dev/null @@ -1,717 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_DataIndexOverflow", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidFieldNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidKeyNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidValueSchemaLength", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotImplemented", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableNotFound", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "emitEphemeralRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "popFromField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "pushToField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" - }, - { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" - } - ], - "name": "registerTable", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "startByteIndex", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "dataToSet", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "updateInField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IStore.sol/IStore.abi.json.d.ts b/packages/world/abi/IStore.sol/IStore.abi.json.d.ts deleted file mode 100644 index 53be52609c..0000000000 --- a/packages/world/abi/IStore.sol/IStore.abi.json.d.ts +++ /dev/null @@ -1,718 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_DataIndexOverflow"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidFieldNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidKeyNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidValueSchemaLength"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotImplemented"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableAlreadyExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableNotFound"; - type: "error"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "emitEphemeralRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getField"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getFieldLayout"; - outputs: [ - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getFieldLength"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "getFieldSlice"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getRecord"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "byteLengthToPop"; - type: "uint256"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "popFromField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "dataToPush"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "pushToField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - }, - { - internalType: "string[]"; - name: "keyNames"; - type: "string[]"; - }, - { - internalType: "string[]"; - name: "fieldNames"; - type: "string[]"; - } - ]; - name: "registerTable"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "startByteIndex"; - type: "uint256"; - }, - { - internalType: "bytes"; - name: "dataToSet"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "updateInField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IStore.sol/IStoreData.abi.json b/packages/world/abi/IStore.sol/IStoreData.abi.json deleted file mode 100644 index b2f7b1cfe9..0000000000 --- a/packages/world/abi/IStore.sol/IStoreData.abi.json +++ /dev/null @@ -1,463 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "popFromField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "pushToField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "startByteIndex", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "dataToSet", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "updateInField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IStore.sol/IStoreData.abi.json.d.ts b/packages/world/abi/IStore.sol/IStoreData.abi.json.d.ts deleted file mode 100644 index 8376850819..0000000000 --- a/packages/world/abi/IStore.sol/IStoreData.abi.json.d.ts +++ /dev/null @@ -1,464 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getField"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getFieldLayout"; - outputs: [ - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getFieldLength"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "getFieldSlice"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getRecord"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "byteLengthToPop"; - type: "uint256"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "popFromField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "dataToPush"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "pushToField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "startByteIndex"; - type: "uint256"; - }, - { - internalType: "bytes"; - name: "dataToSet"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "updateInField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IStore.sol/IStoreEphemeral.abi.json b/packages/world/abi/IStore.sol/IStoreEphemeral.abi.json deleted file mode 100644 index da76e6a5c2..0000000000 --- a/packages/world/abi/IStore.sol/IStoreEphemeral.abi.json +++ /dev/null @@ -1,55 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "emitEphemeralRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IStore.sol/IStoreEphemeral.abi.json.d.ts b/packages/world/abi/IStore.sol/IStoreEphemeral.abi.json.d.ts deleted file mode 100644 index 5b3d199d71..0000000000 --- a/packages/world/abi/IStore.sol/IStoreEphemeral.abi.json.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "emitEphemeralRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IStore.sol/IStoreRead.abi.json b/packages/world/abi/IStore.sol/IStoreRead.abi.json deleted file mode 100644 index 44bcee43a5..0000000000 --- a/packages/world/abi/IStore.sol/IStoreRead.abi.json +++ /dev/null @@ -1,200 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IStore.sol/IStoreRead.abi.json.d.ts b/packages/world/abi/IStore.sol/IStoreRead.abi.json.d.ts deleted file mode 100644 index 14c859cc2e..0000000000 --- a/packages/world/abi/IStore.sol/IStoreRead.abi.json.d.ts +++ /dev/null @@ -1,201 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getField"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getFieldLayout"; - outputs: [ - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getFieldLength"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "getFieldSlice"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getRecord"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IStore.sol/IStoreRegistration.abi.json b/packages/world/abi/IStore.sol/IStoreRegistration.abi.json deleted file mode 100644 index d21d2dd147..0000000000 --- a/packages/world/abi/IStore.sol/IStoreRegistration.abi.json +++ /dev/null @@ -1,81 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" - }, - { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" - } - ], - "name": "registerTable", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IStore.sol/IStoreRegistration.abi.json.d.ts b/packages/world/abi/IStore.sol/IStoreRegistration.abi.json.d.ts deleted file mode 100644 index 790883941d..0000000000 --- a/packages/world/abi/IStore.sol/IStoreRegistration.abi.json.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - }, - { - internalType: "string[]"; - name: "keyNames"; - type: "string[]"; - }, - { - internalType: "string[]"; - name: "fieldNames"; - type: "string[]"; - } - ]; - name: "registerTable"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IStore.sol/IStoreWrite.abi.json b/packages/world/abi/IStore.sol/IStoreWrite.abi.json deleted file mode 100644 index 98b9d2126f..0000000000 --- a/packages/world/abi/IStore.sol/IStoreWrite.abi.json +++ /dev/null @@ -1,265 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "popFromField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "pushToField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "startByteIndex", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "dataToSet", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "updateInField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IStore.sol/IStoreWrite.abi.json.d.ts b/packages/world/abi/IStore.sol/IStoreWrite.abi.json.d.ts deleted file mode 100644 index 5861267f02..0000000000 --- a/packages/world/abi/IStore.sol/IStoreWrite.abi.json.d.ts +++ /dev/null @@ -1,266 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "byteLengthToPop"; - type: "uint256"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "popFromField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "dataToPush"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "pushToField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "startByteIndex"; - type: "uint256"; - }, - { - internalType: "bytes"; - name: "dataToSet"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "updateInField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IStoreErrors.sol/IStoreErrors.abi.json b/packages/world/abi/IStoreErrors.sol/IStoreErrors.abi.json deleted file mode 100644 index d52ffeba10..0000000000 --- a/packages/world/abi/IStoreErrors.sol/IStoreErrors.abi.json +++ /dev/null @@ -1,124 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_DataIndexOverflow", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidFieldNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidKeyNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidValueSchemaLength", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotImplemented", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableNotFound", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/world/abi/IStoreErrors.sol/IStoreErrors.abi.json.d.ts b/packages/world/abi/IStoreErrors.sol/IStoreErrors.abi.json.d.ts deleted file mode 100644 index 3618648807..0000000000 --- a/packages/world/abi/IStoreErrors.sol/IStoreErrors.abi.json.d.ts +++ /dev/null @@ -1,125 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_DataIndexOverflow"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidFieldNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidKeyNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidValueSchemaLength"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotImplemented"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableAlreadyExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableNotFound"; - type: "error"; - } -]; -export default abi; diff --git a/packages/world/abi/IStoreHook.sol/IStoreHook.abi.json b/packages/world/abi/IStoreHook.sol/IStoreHook.abi.json deleted file mode 100644 index 206689d652..0000000000 --- a/packages/world/abi/IStoreHook.sol/IStoreHook.abi.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IStoreHook.sol/IStoreHook.abi.json.d.ts b/packages/world/abi/IStoreHook.sol/IStoreHook.abi.json.d.ts deleted file mode 100644 index 4fafcfbee3..0000000000 --- a/packages/world/abi/IStoreHook.sol/IStoreHook.abi.json.d.ts +++ /dev/null @@ -1,190 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceID"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/ISystemHook.sol/ISystemHook.abi.json b/packages/world/abi/ISystemHook.sol/ISystemHook.abi.json deleted file mode 100644 index dd464a5aec..0000000000 --- a/packages/world/abi/ISystemHook.sol/ISystemHook.abi.json +++ /dev/null @@ -1,67 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "address", - "name": "msgSender", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "onAfterCallSystem", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "msgSender", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "onBeforeCallSystem", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/ISystemHook.sol/ISystemHook.abi.json.d.ts b/packages/world/abi/ISystemHook.sol/ISystemHook.abi.json.d.ts deleted file mode 100644 index 45a2851b1c..0000000000 --- a/packages/world/abi/ISystemHook.sol/ISystemHook.abi.json.d.ts +++ /dev/null @@ -1,68 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "address"; - name: "msgSender"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "onAfterCallSystem"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "msgSender"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "onBeforeCallSystem"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceID"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json b/packages/world/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json deleted file mode 100644 index bfe8c4d27d..0000000000 --- a/packages/world/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "inputs": [], - "name": "uniqueEntity_system_getUniqueEntity", - "outputs": [ - { - "internalType": "bytes32", - "name": "uniqueEntity", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts b/packages/world/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts deleted file mode 100644 index d320f7799b..0000000000 --- a/packages/world/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare const abi: [ - { - inputs: []; - name: "uniqueEntity_system_getUniqueEntity"; - outputs: [ - { - internalType: "bytes32"; - name: "uniqueEntity"; - type: "bytes32"; - } - ]; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json b/packages/world/abi/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json deleted file mode 100644 index 25ad4672dc..0000000000 --- a/packages/world/abi/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json +++ /dev/null @@ -1,60 +0,0 @@ -[ - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json.d.ts b/packages/world/abi/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json.d.ts deleted file mode 100644 index ab71db2ba6..0000000000 --- a/packages/world/abi/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -declare const abi: [ - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceID"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IWorldErrors.sol/IWorldErrors.abi.json b/packages/world/abi/IWorldErrors.sol/IWorldErrors.abi.json deleted file mode 100644 index 06f59dc6e9..0000000000 --- a/packages/world/abi/IWorldErrors.sol/IWorldErrors.abi.json +++ /dev/null @@ -1,137 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - }, - { - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "AccessDenied", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "DelegationNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "InsufficientBalance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "contractAddress", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "InterfaceNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "InvalidSelector", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "system", - "type": "address" - } - ], - "name": "SystemExists", - "type": "error" - }, - { - "inputs": [], - "name": "WorldAlreadyInitialized", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/world/abi/IWorldErrors.sol/IWorldErrors.abi.json.d.ts b/packages/world/abi/IWorldErrors.sol/IWorldErrors.abi.json.d.ts deleted file mode 100644 index 1dceca5afa..0000000000 --- a/packages/world/abi/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +++ /dev/null @@ -1,138 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - }, - { - internalType: "address"; - name: "caller"; - type: "address"; - } - ]; - name: "AccessDenied"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "address"; - name: "delegatee"; - type: "address"; - } - ]; - name: "DelegationNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "balance"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "InsufficientBalance"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "contractAddress"; - type: "address"; - }, - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "InterfaceNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "InvalidSelector"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "system"; - type: "address"; - } - ]; - name: "SystemExists"; - type: "error"; - }, - { - inputs: []; - name: "WorldAlreadyInitialized"; - type: "error"; - } -]; -export default abi; diff --git a/packages/world/abi/IWorldFactory.sol/IWorldFactory.abi.json b/packages/world/abi/IWorldFactory.sol/IWorldFactory.abi.json deleted file mode 100644 index 576d8b9ed4..0000000000 --- a/packages/world/abi/IWorldFactory.sol/IWorldFactory.abi.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "newContract", - "type": "address" - } - ], - "name": "WorldDeployed", - "type": "event" - }, - { - "inputs": [], - "name": "deployWorld", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "worldCount", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IWorldFactory.sol/IWorldFactory.abi.json.d.ts b/packages/world/abi/IWorldFactory.sol/IWorldFactory.abi.json.d.ts deleted file mode 100644 index a0c0cc06da..0000000000 --- a/packages/world/abi/IWorldFactory.sol/IWorldFactory.abi.json.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: true; - internalType: "address"; - name: "newContract"; - type: "address"; - } - ]; - name: "WorldDeployed"; - type: "event"; - }, - { - inputs: []; - name: "deployWorld"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: []; - name: "worldCount"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IWorldKernel.sol/IWorldCall.abi.json b/packages/world/abi/IWorldKernel.sol/IWorldCall.abi.json deleted file mode 100644 index 797e92b604..0000000000 --- a/packages/world/abi/IWorldKernel.sol/IWorldCall.abi.json +++ /dev/null @@ -1,55 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "call", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "callFrom", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "payable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IWorldKernel.sol/IWorldCall.abi.json.d.ts b/packages/world/abi/IWorldKernel.sol/IWorldCall.abi.json.d.ts deleted file mode 100644 index bafb4ca732..0000000000 --- a/packages/world/abi/IWorldKernel.sol/IWorldCall.abi.json.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "call"; - outputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - stateMutability: "payable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "callFrom"; - outputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - stateMutability: "payable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IWorldKernel.sol/IWorldKernel.abi.json b/packages/world/abi/IWorldKernel.sol/IWorldKernel.abi.json deleted file mode 100644 index d4adfc2183..0000000000 --- a/packages/world/abi/IWorldKernel.sol/IWorldKernel.abi.json +++ /dev/null @@ -1,240 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - }, - { - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "AccessDenied", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "DelegationNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "InsufficientBalance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "contractAddress", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "InterfaceNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "InvalidSelector", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "system", - "type": "address" - } - ], - "name": "SystemExists", - "type": "error" - }, - { - "inputs": [], - "name": "WorldAlreadyInitialized", - "type": "error" - }, - { - "anonymous": false, - "inputs": [], - "name": "HelloWorld", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "call", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "callFrom", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "creator", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "coreModule", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "module", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installRootModule", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IWorldKernel.sol/IWorldKernel.abi.json.d.ts b/packages/world/abi/IWorldKernel.sol/IWorldKernel.abi.json.d.ts deleted file mode 100644 index 69abecf3f3..0000000000 --- a/packages/world/abi/IWorldKernel.sol/IWorldKernel.abi.json.d.ts +++ /dev/null @@ -1,241 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - }, - { - internalType: "address"; - name: "caller"; - type: "address"; - } - ]; - name: "AccessDenied"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "address"; - name: "delegatee"; - type: "address"; - } - ]; - name: "DelegationNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "balance"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "InsufficientBalance"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "contractAddress"; - type: "address"; - }, - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "InterfaceNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "InvalidSelector"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "system"; - type: "address"; - } - ]; - name: "SystemExists"; - type: "error"; - }, - { - inputs: []; - name: "WorldAlreadyInitialized"; - type: "error"; - }, - { - anonymous: false; - inputs: []; - name: "HelloWorld"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "call"; - outputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - stateMutability: "payable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "callFrom"; - outputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - stateMutability: "payable"; - type: "function"; - }, - { - inputs: []; - name: "creator"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "contract IModule"; - name: "coreModule"; - type: "address"; - } - ]; - name: "initialize"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "contract IModule"; - name: "module"; - type: "address"; - }, - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "installRootModule"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IWorldKernel.sol/IWorldModuleInstallation.abi.json b/packages/world/abi/IWorldKernel.sol/IWorldModuleInstallation.abi.json deleted file mode 100644 index c277d6c367..0000000000 --- a/packages/world/abi/IWorldKernel.sol/IWorldModuleInstallation.abi.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "module", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installRootModule", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IWorldKernel.sol/IWorldModuleInstallation.abi.json.d.ts b/packages/world/abi/IWorldKernel.sol/IWorldModuleInstallation.abi.json.d.ts deleted file mode 100644 index aa74189db8..0000000000 --- a/packages/world/abi/IWorldKernel.sol/IWorldModuleInstallation.abi.json.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "contract IModule"; - name: "module"; - type: "address"; - }, - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "installRootModule"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json b/packages/world/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json deleted file mode 100644 index dafdf4f8ac..0000000000 --- a/packages/world/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json +++ /dev/null @@ -1,160 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "delegationControlId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "initFuncSelectorAndArgs", - "type": "bytes" - } - ], - "name": "registerDelegation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "systemFunctionName", - "type": "string" - }, - { - "internalType": "string", - "name": "systemFunctionArguments", - "type": "string" - } - ], - "name": "registerFunctionSelector", - "outputs": [ - { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "namespace", - "type": "bytes16" - } - ], - "name": "registerNamespace", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" - }, - { - "internalType": "bytes4", - "name": "systemFunctionSelector", - "type": "bytes4" - } - ], - "name": "registerRootFunctionSelector", - "outputs": [ - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "contract WorldContextConsumer", - "name": "system", - "type": "address" - }, - { - "internalType": "bool", - "name": "publicAccess", - "type": "bool" - } - ], - "name": "registerSystem", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "contract ISystemHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerSystemHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "contract ISystemHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterSystemHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json.d.ts b/packages/world/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json.d.ts deleted file mode 100644 index 3c8934621c..0000000000 --- a/packages/world/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json.d.ts +++ /dev/null @@ -1,161 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "address"; - name: "delegatee"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "delegationControlId"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "initFuncSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "registerDelegation"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "systemFunctionName"; - type: "string"; - }, - { - internalType: "string"; - name: "systemFunctionArguments"; - type: "string"; - } - ]; - name: "registerFunctionSelector"; - outputs: [ - { - internalType: "bytes4"; - name: "worldFunctionSelector"; - type: "bytes4"; - } - ]; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "namespace"; - type: "bytes16"; - } - ]; - name: "registerNamespace"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes4"; - name: "worldFunctionSelector"; - type: "bytes4"; - }, - { - internalType: "bytes4"; - name: "systemFunctionSelector"; - type: "bytes4"; - } - ]; - name: "registerRootFunctionSelector"; - outputs: [ - { - internalType: "bytes4"; - name: ""; - type: "bytes4"; - } - ]; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "contract WorldContextConsumer"; - name: "system"; - type: "address"; - }, - { - internalType: "bool"; - name: "publicAccess"; - type: "bool"; - } - ]; - name: "registerSystem"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "contract ISystemHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerSystemHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "contract ISystemHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterSystemHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/InstalledModules.sol/InstalledModules.abi.json b/packages/world/abi/InstalledModules.sol/InstalledModules.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/InstalledModules.sol/InstalledModules.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/KeyEncoding.sol/KeyEncoding.abi.json b/packages/world/abi/KeyEncoding.sol/KeyEncoding.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/KeyEncoding.sol/KeyEncoding.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/KeysInTable.sol/KeysInTable.abi.json b/packages/world/abi/KeysInTable.sol/KeysInTable.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/KeysInTable.sol/KeysInTable.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/KeysInTableHook.sol/KeysInTableHook.abi.json b/packages/world/abi/KeysInTableHook.sol/KeysInTableHook.abi.json deleted file mode 100644 index 7ab3608f13..0000000000 --- a/packages/world/abi/KeysInTableHook.sol/KeysInTableHook.abi.json +++ /dev/null @@ -1,279 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_DataIndexOverflow", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "", - "type": "bytes32" - } - ], - "name": "onAfterSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "", - "type": "bytes32" - } - ], - "name": "onAfterSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "", - "type": "bytes32" - } - ], - "name": "onBeforeSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "", - "type": "bytes32" - } - ], - "name": "onBeforeSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/KeysInTableHook.sol/KeysInTableHook.abi.json.d.ts b/packages/world/abi/KeysInTableHook.sol/KeysInTableHook.abi.json.d.ts deleted file mode 100644 index 6cd20a736e..0000000000 --- a/packages/world/abi/KeysInTableHook.sol/KeysInTableHook.abi.json.d.ts +++ /dev/null @@ -1,280 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_DataIndexOverflow"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: ""; - type: "uint8"; - }, - { - internalType: "bytes"; - name: ""; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: ""; - type: "bytes32"; - } - ]; - name: "onAfterSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: ""; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: ""; - type: "bytes32"; - } - ]; - name: "onAfterSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: ""; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: ""; - type: "uint8"; - }, - { - internalType: "bytes"; - name: ""; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: ""; - type: "bytes32"; - } - ]; - name: "onBeforeSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: ""; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: ""; - type: "bytes32"; - } - ]; - name: "onBeforeSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/KeysInTableModule.sol/KeysInTableModule.abi.json b/packages/world/abi/KeysInTableModule.sol/KeysInTableModule.abi.json deleted file mode 100644 index d4ea3bd83c..0000000000 --- a/packages/world/abi/KeysInTableModule.sol/KeysInTableModule.abi.json +++ /dev/null @@ -1,157 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [], - "name": "NonRootInstallNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resourceSelector", - "type": "string" - } - ], - "name": "RequiredModuleNotFound", - "type": "error" - }, - { - "inputs": [], - "name": "RootInstallModeNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "SchemaLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "SchemaLib_StaticTypeAfterDynamicType", - "type": "error" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getName", - "outputs": [ - { - "internalType": "bytes16", - "name": "", - "type": "bytes16" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "install", - "outputs": [], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installRoot", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/KeysInTableModule.sol/KeysInTableModule.abi.json.d.ts b/packages/world/abi/KeysInTableModule.sol/KeysInTableModule.abi.json.d.ts deleted file mode 100644 index 5d87fcd701..0000000000 --- a/packages/world/abi/KeysInTableModule.sol/KeysInTableModule.abi.json.d.ts +++ /dev/null @@ -1,158 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: []; - name: "NonRootInstallNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resourceSelector"; - type: "string"; - } - ]; - name: "RequiredModuleNotFound"; - type: "error"; - }, - { - inputs: []; - name: "RootInstallModeNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "SchemaLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "SchemaLib_StaticTypeAfterDynamicType"; - type: "error"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "getName"; - outputs: [ - { - internalType: "bytes16"; - name: ""; - type: "bytes16"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - name: "install"; - outputs: []; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "installRoot"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/KeysWithValue.sol/KeysWithValue.abi.json b/packages/world/abi/KeysWithValue.sol/KeysWithValue.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/KeysWithValue.sol/KeysWithValue.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/KeysWithValueHook.sol/KeysWithValueHook.abi.json b/packages/world/abi/KeysWithValueHook.sol/KeysWithValueHook.abi.json deleted file mode 100644 index fc5a01140c..0000000000 --- a/packages/world/abi/KeysWithValueHook.sol/KeysWithValueHook.abi.json +++ /dev/null @@ -1,263 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "sourceTableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "sourceTableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "sourceTableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "sourceTableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "sourceTableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "sourceTableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/KeysWithValueHook.sol/KeysWithValueHook.abi.json.d.ts b/packages/world/abi/KeysWithValueHook.sol/KeysWithValueHook.abi.json.d.ts deleted file mode 100644 index 4b64245b48..0000000000 --- a/packages/world/abi/KeysWithValueHook.sol/KeysWithValueHook.abi.json.d.ts +++ /dev/null @@ -1,264 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "sourceTableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "sourceTableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: ""; - type: "uint8"; - }, - { - internalType: "bytes"; - name: ""; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "sourceTableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "sourceTableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "sourceTableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: ""; - type: "uint8"; - }, - { - internalType: "bytes"; - name: ""; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "sourceTableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/KeysWithValueModule.sol/KeysWithValueModule.abi.json b/packages/world/abi/KeysWithValueModule.sol/KeysWithValueModule.abi.json deleted file mode 100644 index d4ea3bd83c..0000000000 --- a/packages/world/abi/KeysWithValueModule.sol/KeysWithValueModule.abi.json +++ /dev/null @@ -1,157 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [], - "name": "NonRootInstallNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resourceSelector", - "type": "string" - } - ], - "name": "RequiredModuleNotFound", - "type": "error" - }, - { - "inputs": [], - "name": "RootInstallModeNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "SchemaLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "SchemaLib_StaticTypeAfterDynamicType", - "type": "error" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getName", - "outputs": [ - { - "internalType": "bytes16", - "name": "", - "type": "bytes16" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "install", - "outputs": [], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installRoot", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/KeysWithValueModule.sol/KeysWithValueModule.abi.json.d.ts b/packages/world/abi/KeysWithValueModule.sol/KeysWithValueModule.abi.json.d.ts deleted file mode 100644 index 5d87fcd701..0000000000 --- a/packages/world/abi/KeysWithValueModule.sol/KeysWithValueModule.abi.json.d.ts +++ /dev/null @@ -1,158 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: []; - name: "NonRootInstallNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resourceSelector"; - type: "string"; - } - ]; - name: "RequiredModuleNotFound"; - type: "error"; - }, - { - inputs: []; - name: "RootInstallModeNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "SchemaLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "SchemaLib_StaticTypeAfterDynamicType"; - type: "error"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "getName"; - outputs: [ - { - internalType: "bytes16"; - name: ""; - type: "bytes16"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - name: "install"; - outputs: []; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "installRoot"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/Memory.sol/Memory.abi.json b/packages/world/abi/Memory.sol/Memory.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Memory.sol/Memory.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Mixed.sol/Mixed.abi.json b/packages/world/abi/Mixed.sol/Mixed.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Mixed.sol/Mixed.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Module.sol/Module.abi.json b/packages/world/abi/Module.sol/Module.abi.json deleted file mode 100644 index f1dc03fdc9..0000000000 --- a/packages/world/abi/Module.sol/Module.abi.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "inputs": [], - "name": "NonRootInstallNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resourceSelector", - "type": "string" - } - ], - "name": "RequiredModuleNotFound", - "type": "error" - }, - { - "inputs": [], - "name": "RootInstallModeNotSupported", - "type": "error" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getName", - "outputs": [ - { - "internalType": "bytes16", - "name": "name", - "type": "bytes16" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "install", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installRoot", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/Module.sol/Module.abi.json.d.ts b/packages/world/abi/Module.sol/Module.abi.json.d.ts deleted file mode 100644 index bc24608fee..0000000000 --- a/packages/world/abi/Module.sol/Module.abi.json.d.ts +++ /dev/null @@ -1,121 +0,0 @@ -declare const abi: [ - { - inputs: []; - name: "NonRootInstallNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resourceSelector"; - type: "string"; - } - ]; - name: "RequiredModuleNotFound"; - type: "error"; - }, - { - inputs: []; - name: "RootInstallModeNotSupported"; - type: "error"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "getName"; - outputs: [ - { - internalType: "bytes16"; - name: "name"; - type: "bytes16"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "install"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "installRoot"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json b/packages/world/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json deleted file mode 100644 index 4a76a9b72a..0000000000 --- a/packages/world/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "contractAddress", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "InterfaceNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "module", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installModule", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts b/packages/world/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts deleted file mode 100644 index 7d018a421b..0000000000 --- a/packages/world/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +++ /dev/null @@ -1,153 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "contractAddress"; - type: "address"; - }, - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "InterfaceNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "contract IModule"; - name: "module"; - type: "address"; - }, - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "installModule"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/NamespaceOwner.sol/NamespaceOwner.abi.json b/packages/world/abi/NamespaceOwner.sol/NamespaceOwner.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/NamespaceOwner.sol/NamespaceOwner.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/PackedCounter.sol/PackedCounterInstance.abi.json b/packages/world/abi/PackedCounter.sol/PackedCounterInstance.abi.json deleted file mode 100644 index 377085b5aa..0000000000 --- a/packages/world/abi/PackedCounter.sol/PackedCounterInstance.abi.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/world/abi/PackedCounter.sol/PackedCounterInstance.abi.json.d.ts b/packages/world/abi/PackedCounter.sol/PackedCounterInstance.abi.json.d.ts deleted file mode 100644 index 2a863747d0..0000000000 --- a/packages/world/abi/PackedCounter.sol/PackedCounterInstance.abi.json.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - } -]; -export default abi; diff --git a/packages/world/abi/PackedCounter.sol/PackedCounterLib.abi.json b/packages/world/abi/PackedCounter.sol/PackedCounterLib.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/PackedCounter.sol/PackedCounterLib.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/ResourceAccess.sol/ResourceAccess.abi.json b/packages/world/abi/ResourceAccess.sol/ResourceAccess.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/ResourceAccess.sol/ResourceAccess.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/ResourceSelector.sol/ResourceSelector.abi.json b/packages/world/abi/ResourceSelector.sol/ResourceSelector.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/ResourceSelector.sol/ResourceSelector.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/ResourceType.sol/ResourceType.abi.json b/packages/world/abi/ResourceType.sol/ResourceType.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/ResourceType.sol/ResourceType.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Schema.sol/SchemaInstance.abi.json b/packages/world/abi/Schema.sol/SchemaInstance.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Schema.sol/SchemaInstance.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Schema.sol/SchemaLib.abi.json b/packages/world/abi/Schema.sol/SchemaLib.abi.json deleted file mode 100644 index 2b3a290331..0000000000 --- a/packages/world/abi/Schema.sol/SchemaLib.abi.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "SchemaLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "SchemaLib_StaticTypeAfterDynamicType", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/world/abi/Schema.sol/SchemaLib.abi.json.d.ts b/packages/world/abi/Schema.sol/SchemaLib.abi.json.d.ts deleted file mode 100644 index 94d46e34c7..0000000000 --- a/packages/world/abi/Schema.sol/SchemaLib.abi.json.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "SchemaLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "SchemaLib_StaticTypeAfterDynamicType"; - type: "error"; - } -]; -export default abi; diff --git a/packages/world/abi/Slice.sol/SliceInstance.abi.json b/packages/world/abi/Slice.sol/SliceInstance.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Slice.sol/SliceInstance.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Slice.sol/SliceLib.abi.json b/packages/world/abi/Slice.sol/SliceLib.abi.json deleted file mode 100644 index bae09de3e6..0000000000 --- a/packages/world/abi/Slice.sol/SliceLib.abi.json +++ /dev/null @@ -1,23 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/world/abi/Slice.sol/SliceLib.abi.json.d.ts b/packages/world/abi/Slice.sol/SliceLib.abi.json.d.ts deleted file mode 100644 index 65642dcfdf..0000000000 --- a/packages/world/abi/Slice.sol/SliceLib.abi.json.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - } -]; -export default abi; diff --git a/packages/world/abi/StandardDelegationsModule.sol/StandardDelegationsModule.abi.json b/packages/world/abi/StandardDelegationsModule.sol/StandardDelegationsModule.abi.json deleted file mode 100644 index 80f6e4867e..0000000000 --- a/packages/world/abi/StandardDelegationsModule.sol/StandardDelegationsModule.abi.json +++ /dev/null @@ -1,258 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [], - "name": "NonRootInstallNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resourceSelector", - "type": "string" - } - ], - "name": "RequiredModuleNotFound", - "type": "error" - }, - { - "inputs": [], - "name": "RootInstallModeNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "SchemaLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "SchemaLib_StaticTypeAfterDynamicType", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidFieldNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidKeyNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidValueSchemaLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableAlreadyExists", - "type": "error" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getName", - "outputs": [ - { - "internalType": "bytes16", - "name": "", - "type": "bytes16" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "install", - "outputs": [], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "installRoot", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/StandardDelegationsModule.sol/StandardDelegationsModule.abi.json.d.ts b/packages/world/abi/StandardDelegationsModule.sol/StandardDelegationsModule.abi.json.d.ts deleted file mode 100644 index 760da07043..0000000000 --- a/packages/world/abi/StandardDelegationsModule.sol/StandardDelegationsModule.abi.json.d.ts +++ /dev/null @@ -1,259 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: []; - name: "NonRootInstallNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resourceSelector"; - type: "string"; - } - ]; - name: "RequiredModuleNotFound"; - type: "error"; - }, - { - inputs: []; - name: "RootInstallModeNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "SchemaLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "SchemaLib_StaticTypeAfterDynamicType"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidFieldNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidKeyNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidValueSchemaLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableAlreadyExists"; - type: "error"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "getName"; - outputs: [ - { - internalType: "bytes16"; - name: ""; - type: "bytes16"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - name: "install"; - outputs: []; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - name: "installRoot"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/Storage.sol/Storage.abi.json b/packages/world/abi/Storage.sol/Storage.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Storage.sol/Storage.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/StoreCore.sol/StoreCore.abi.json b/packages/world/abi/StoreCore.sol/StoreCore.abi.json deleted file mode 100644 index fb85ad946b..0000000000 --- a/packages/world/abi/StoreCore.sol/StoreCore.abi.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - } -] \ No newline at end of file diff --git a/packages/world/abi/StoreCore.sol/StoreCore.abi.json.d.ts b/packages/world/abi/StoreCore.sol/StoreCore.abi.json.d.ts deleted file mode 100644 index 60f914b4e1..0000000000 --- a/packages/world/abi/StoreCore.sol/StoreCore.abi.json.d.ts +++ /dev/null @@ -1,103 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "fieldIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - } -]; -export default abi; diff --git a/packages/world/abi/StoreCore.sol/StoreCoreInternal.abi.json b/packages/world/abi/StoreCore.sol/StoreCoreInternal.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/StoreCore.sol/StoreCoreInternal.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/StoreHook.sol/StoreHook.abi.json b/packages/world/abi/StoreHook.sol/StoreHook.abi.json deleted file mode 100644 index 84037ddd5e..0000000000 --- a/packages/world/abi/StoreHook.sol/StoreHook.abi.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/StoreHook.sol/StoreHook.abi.json.d.ts b/packages/world/abi/StoreHook.sol/StoreHook.abi.json.d.ts deleted file mode 100644 index 96c3279f30..0000000000 --- a/packages/world/abi/StoreHook.sol/StoreHook.abi.json.d.ts +++ /dev/null @@ -1,190 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/StoreHook.sol/StoreHookLib.abi.json b/packages/world/abi/StoreHook.sol/StoreHookLib.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/StoreHook.sol/StoreHookLib.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/StoreHooks.sol/StoreHooks.abi.json b/packages/world/abi/StoreHooks.sol/StoreHooks.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/StoreHooks.sol/StoreHooks.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/StoreRead.sol/StoreRead.abi.json b/packages/world/abi/StoreRead.sol/StoreRead.abi.json deleted file mode 100644 index d667734d9d..0000000000 --- a/packages/world/abi/StoreRead.sol/StoreRead.abi.json +++ /dev/null @@ -1,242 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/StoreRead.sol/StoreRead.abi.json.d.ts b/packages/world/abi/StoreRead.sol/StoreRead.abi.json.d.ts deleted file mode 100644 index b55d3b54f0..0000000000 --- a/packages/world/abi/StoreRead.sol/StoreRead.abi.json.d.ts +++ /dev/null @@ -1,243 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getField"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getFieldLayout"; - outputs: [ - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getFieldLength"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "getFieldSlice"; - outputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getRecord"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json b/packages/world/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json deleted file mode 100644 index bf33e46ef0..0000000000 --- a/packages/world/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +++ /dev/null @@ -1,428 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - }, - { - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "AccessDenied", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "DelegationNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "InsufficientBalance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "contractAddress", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "InterfaceNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "InvalidSelector", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "SchemaLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "SchemaLib_StaticTypeAfterDynamicType", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidFieldNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidKeyNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidValueSchemaLength", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "system", - "type": "address" - } - ], - "name": "SystemExists", - "type": "error" - }, - { - "inputs": [], - "name": "WorldAlreadyInitialized", - "type": "error" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" - }, - { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" - } - ], - "name": "registerTable", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts b/packages/world/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts deleted file mode 100644 index d09a81812a..0000000000 --- a/packages/world/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +++ /dev/null @@ -1,429 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - }, - { - internalType: "address"; - name: "caller"; - type: "address"; - } - ]; - name: "AccessDenied"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "address"; - name: "delegatee"; - type: "address"; - } - ]; - name: "DelegationNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "balance"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "InsufficientBalance"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "contractAddress"; - type: "address"; - }, - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "InterfaceNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "InvalidSelector"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "SchemaLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "SchemaLib_StaticTypeAfterDynamicType"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidFieldNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidKeyNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidValueSchemaLength"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableAlreadyExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "system"; - type: "address"; - } - ]; - name: "SystemExists"; - type: "error"; - }, - { - inputs: []; - name: "WorldAlreadyInitialized"; - type: "error"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - }, - { - internalType: "string[]"; - name: "keyNames"; - type: "string[]"; - }, - { - internalType: "string[]"; - name: "fieldNames"; - type: "string[]"; - } - ]; - name: "registerTable"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/StoreSwitch.sol/StoreSwitch.abi.json b/packages/world/abi/StoreSwitch.sol/StoreSwitch.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/StoreSwitch.sol/StoreSwitch.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/System.sol/System.abi.json b/packages/world/abi/System.sol/System.abi.json deleted file mode 100644 index 6dedac7faa..0000000000 --- a/packages/world/abi/System.sol/System.abi.json +++ /dev/null @@ -1,60 +0,0 @@ -[ - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/System.sol/System.abi.json.d.ts b/packages/world/abi/System.sol/System.abi.json.d.ts deleted file mode 100644 index 7ec709a682..0000000000 --- a/packages/world/abi/System.sol/System.abi.json.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -declare const abi: [ - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/SystemCall.sol/SystemCall.abi.json b/packages/world/abi/SystemCall.sol/SystemCall.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/SystemCall.sol/SystemCall.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/SystemHook.sol/SystemHook.abi.json b/packages/world/abi/SystemHook.sol/SystemHook.abi.json deleted file mode 100644 index 4f2910c550..0000000000 --- a/packages/world/abi/SystemHook.sol/SystemHook.abi.json +++ /dev/null @@ -1,67 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "address", - "name": "msgSender", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "onAfterCallSystem", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "msgSender", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "onBeforeCallSystem", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/SystemHook.sol/SystemHook.abi.json.d.ts b/packages/world/abi/SystemHook.sol/SystemHook.abi.json.d.ts deleted file mode 100644 index b8b6cae0cb..0000000000 --- a/packages/world/abi/SystemHook.sol/SystemHook.abi.json.d.ts +++ /dev/null @@ -1,68 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "address"; - name: "msgSender"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "onAfterCallSystem"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "msgSender"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "onBeforeCallSystem"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/SystemHook.sol/SystemHookLib.abi.json b/packages/world/abi/SystemHook.sol/SystemHookLib.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/SystemHook.sol/SystemHookLib.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/SystemHooks.sol/SystemHooks.abi.json b/packages/world/abi/SystemHooks.sol/SystemHooks.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/SystemHooks.sol/SystemHooks.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/SystemRegistry.sol/SystemRegistry.abi.json b/packages/world/abi/SystemRegistry.sol/SystemRegistry.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/SystemRegistry.sol/SystemRegistry.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Systems.sol/Systems.abi.json b/packages/world/abi/Systems.sol/Systems.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Systems.sol/Systems.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Tables.sol/Tables.abi.json b/packages/world/abi/Tables.sol/Tables.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Tables.sol/Tables.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/TightCoder.sol/TightCoder.abi.json b/packages/world/abi/TightCoder.sol/TightCoder.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/TightCoder.sol/TightCoder.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/TimeboundDelegationControl.sol/TimeboundDelegationControl.abi.json b/packages/world/abi/TimeboundDelegationControl.sol/TimeboundDelegationControl.abi.json deleted file mode 100644 index 599df0ec7d..0000000000 --- a/packages/world/abi/TimeboundDelegationControl.sol/TimeboundDelegationControl.abi.json +++ /dev/null @@ -1,176 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "uint256", - "name": "maxTimestamp", - "type": "uint256" - } - ], - "name": "initDelegation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "verify", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/TimeboundDelegationControl.sol/TimeboundDelegationControl.abi.json.d.ts b/packages/world/abi/TimeboundDelegationControl.sol/TimeboundDelegationControl.abi.json.d.ts deleted file mode 100644 index 0add1bc24a..0000000000 --- a/packages/world/abi/TimeboundDelegationControl.sol/TimeboundDelegationControl.abi.json.d.ts +++ /dev/null @@ -1,177 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegatee"; - type: "address"; - }, - { - internalType: "uint256"; - name: "maxTimestamp"; - type: "uint256"; - } - ]; - name: "initDelegation"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "bytes32"; - name: ""; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - name: "verify"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/TimeboundDelegations.sol/TimeboundDelegations.abi.json b/packages/world/abi/TimeboundDelegations.sol/TimeboundDelegations.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/TimeboundDelegations.sol/TimeboundDelegations.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/UniqueEntity.sol/UniqueEntity.abi.json b/packages/world/abi/UniqueEntity.sol/UniqueEntity.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/UniqueEntity.sol/UniqueEntity.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/UniqueEntityModule.sol/UniqueEntityModule.abi.json b/packages/world/abi/UniqueEntityModule.sol/UniqueEntityModule.abi.json deleted file mode 100644 index 2bf1bdd337..0000000000 --- a/packages/world/abi/UniqueEntityModule.sol/UniqueEntityModule.abi.json +++ /dev/null @@ -1,157 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [], - "name": "NonRootInstallNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resourceSelector", - "type": "string" - } - ], - "name": "RequiredModuleNotFound", - "type": "error" - }, - { - "inputs": [], - "name": "RootInstallModeNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "SchemaLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "SchemaLib_StaticTypeAfterDynamicType", - "type": "error" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getName", - "outputs": [ - { - "internalType": "bytes16", - "name": "", - "type": "bytes16" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "install", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installRoot", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/UniqueEntityModule.sol/UniqueEntityModule.abi.json.d.ts b/packages/world/abi/UniqueEntityModule.sol/UniqueEntityModule.abi.json.d.ts deleted file mode 100644 index 9aaa5f39a8..0000000000 --- a/packages/world/abi/UniqueEntityModule.sol/UniqueEntityModule.abi.json.d.ts +++ /dev/null @@ -1,158 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: []; - name: "NonRootInstallNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resourceSelector"; - type: "string"; - } - ]; - name: "RequiredModuleNotFound"; - type: "error"; - }, - { - inputs: []; - name: "RootInstallModeNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "SchemaLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "SchemaLib_StaticTypeAfterDynamicType"; - type: "error"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "getName"; - outputs: [ - { - internalType: "bytes16"; - name: ""; - type: "bytes16"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - name: "install"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "installRoot"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json b/packages/world/abi/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json deleted file mode 100644 index 4958d1179d..0000000000 --- a/packages/world/abi/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json +++ /dev/null @@ -1,142 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getUniqueEntity", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json.d.ts b/packages/world/abi/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json.d.ts deleted file mode 100644 index 5371865452..0000000000 --- a/packages/world/abi/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json.d.ts +++ /dev/null @@ -1,143 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "getUniqueEntity"; - outputs: [ - { - internalType: "bytes32"; - name: ""; - type: "bytes32"; - } - ]; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/UsedKeysIndex.sol/UsedKeysIndex.abi.json b/packages/world/abi/UsedKeysIndex.sol/UsedKeysIndex.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/UsedKeysIndex.sol/UsedKeysIndex.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Utils.sol/Utils.abi.json b/packages/world/abi/Utils.sol/Utils.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Utils.sol/Utils.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/Vector2.sol/Vector2.abi.json b/packages/world/abi/Vector2.sol/Vector2.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/Vector2.sol/Vector2.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/World.sol/World.abi.json b/packages/world/abi/World.sol/World.abi.json deleted file mode 100644 index f5e0c9531a..0000000000 --- a/packages/world/abi/World.sol/World.abi.json +++ /dev/null @@ -1,820 +0,0 @@ -[ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - }, - { - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "AccessDenied", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "DelegationNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "InsufficientBalance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "contractAddress", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "InterfaceNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "InvalidSelector", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_DataIndexOverflow", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "system", - "type": "address" - } - ], - "name": "SystemExists", - "type": "error" - }, - { - "inputs": [], - "name": "WorldAlreadyInitialized", - "type": "error" - }, - { - "anonymous": false, - "inputs": [], - "name": "HelloWorld", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "stateMutability": "payable", - "type": "fallback" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "call", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "funcSelectorAndArgs", - "type": "bytes" - } - ], - "name": "callFrom", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "creator", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "coreModule", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "module", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installRootModule", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "popFromField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "pushToField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "startByteIndex", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "dataToSet", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "updateInField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - } -] \ No newline at end of file diff --git a/packages/world/abi/World.sol/World.abi.json.d.ts b/packages/world/abi/World.sol/World.abi.json.d.ts deleted file mode 100644 index 63c17a18b9..0000000000 --- a/packages/world/abi/World.sol/World.abi.json.d.ts +++ /dev/null @@ -1,821 +0,0 @@ -declare const abi: [ - { - inputs: []; - stateMutability: "nonpayable"; - type: "constructor"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - }, - { - internalType: "address"; - name: "caller"; - type: "address"; - } - ]; - name: "AccessDenied"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "address"; - name: "delegatee"; - type: "address"; - } - ]; - name: "DelegationNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "balance"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "InsufficientBalance"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "contractAddress"; - type: "address"; - }, - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "InterfaceNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "InvalidSelector"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_DataIndexOverflow"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "system"; - type: "address"; - } - ]; - name: "SystemExists"; - type: "error"; - }, - { - inputs: []; - name: "WorldAlreadyInitialized"; - type: "error"; - }, - { - anonymous: false; - inputs: []; - name: "HelloWorld"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - stateMutability: "payable"; - type: "fallback"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "call"; - outputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - stateMutability: "payable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "funcSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "callFrom"; - outputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - stateMutability: "payable"; - type: "function"; - }, - { - inputs: []; - name: "creator"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getField"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getFieldLayout"; - outputs: [ - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getFieldLength"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "getFieldSlice"; - outputs: [ - { - internalType: "bytes"; - name: ""; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getRecord"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "contract IModule"; - name: "coreModule"; - type: "address"; - } - ]; - name: "initialize"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "contract IModule"; - name: "module"; - type: "address"; - }, - { - internalType: "bytes"; - name: "args"; - type: "bytes"; - } - ]; - name: "installRootModule"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "byteLengthToPop"; - type: "uint256"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "popFromField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "dataToPush"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "pushToField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "startByteIndex"; - type: "uint256"; - }, - { - internalType: "bytes"; - name: "dataToSet"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "updateInField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - stateMutability: "payable"; - type: "receive"; - } -]; -export default abi; diff --git a/packages/world/abi/WorldContext.sol/WorldContextConsumer.abi.json b/packages/world/abi/WorldContext.sol/WorldContextConsumer.abi.json deleted file mode 100644 index 6dedac7faa..0000000000 --- a/packages/world/abi/WorldContext.sol/WorldContextConsumer.abi.json +++ /dev/null @@ -1,60 +0,0 @@ -[ - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/WorldContext.sol/WorldContextConsumer.abi.json.d.ts b/packages/world/abi/WorldContext.sol/WorldContextConsumer.abi.json.d.ts deleted file mode 100644 index 7ec709a682..0000000000 --- a/packages/world/abi/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -declare const abi: [ - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/WorldContext.sol/WorldContextProvider.abi.json b/packages/world/abi/WorldContext.sol/WorldContextProvider.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/WorldContext.sol/WorldContextProvider.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/WorldFactory.sol/WorldFactory.abi.json b/packages/world/abi/WorldFactory.sol/WorldFactory.abi.json deleted file mode 100644 index ea6d7bf3b2..0000000000 --- a/packages/world/abi/WorldFactory.sol/WorldFactory.abi.json +++ /dev/null @@ -1,59 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "_coreModule", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "newContract", - "type": "address" - } - ], - "name": "WorldDeployed", - "type": "event" - }, - { - "inputs": [], - "name": "coreModule", - "outputs": [ - { - "internalType": "contract IModule", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "deployWorld", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "worldCount", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/WorldFactory.sol/WorldFactory.abi.json.d.ts b/packages/world/abi/WorldFactory.sol/WorldFactory.abi.json.d.ts deleted file mode 100644 index 840546a35e..0000000000 --- a/packages/world/abi/WorldFactory.sol/WorldFactory.abi.json.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "contract IModule"; - name: "_coreModule"; - type: "address"; - } - ]; - stateMutability: "nonpayable"; - type: "constructor"; - }, - { - anonymous: false; - inputs: [ - { - indexed: true; - internalType: "address"; - name: "newContract"; - type: "address"; - } - ]; - name: "WorldDeployed"; - type: "event"; - }, - { - inputs: []; - name: "coreModule"; - outputs: [ - { - internalType: "contract IModule"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "deployWorld"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: []; - name: "worldCount"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json b/packages/world/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json deleted file mode 100644 index c06b81b68a..0000000000 --- a/packages/world/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +++ /dev/null @@ -1,427 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - }, - { - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "AccessDenied", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "DelegationNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "FunctionSelectorNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "InsufficientBalance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "contractAddress", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "InterfaceNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "InvalidSelector", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - } - ], - "name": "ResourceNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "system", - "type": "address" - } - ], - "name": "SystemExists", - "type": "error" - }, - { - "inputs": [], - "name": "WorldAlreadyInitialized", - "type": "error" - }, - { - "inputs": [], - "name": "_msgSender", - "outputs": [ - { - "internalType": "address", - "name": "sender", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "_msgValue", - "outputs": [ - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [], - "name": "_world", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "delegationControlId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "initFuncSelectorAndArgs", - "type": "bytes" - } - ], - "name": "registerDelegation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "systemFunctionName", - "type": "string" - }, - { - "internalType": "string", - "name": "systemFunctionArguments", - "type": "string" - } - ], - "name": "registerFunctionSelector", - "outputs": [ - { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes16", - "name": "namespace", - "type": "bytes16" - } - ], - "name": "registerNamespace", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" - }, - { - "internalType": "bytes4", - "name": "systemFunctionSelector", - "type": "bytes4" - } - ], - "name": "registerRootFunctionSelector", - "outputs": [ - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "contract WorldContextConsumer", - "name": "system", - "type": "address" - }, - { - "internalType": "bool", - "name": "publicAccess", - "type": "bool" - } - ], - "name": "registerSystem", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "contract ISystemHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerSystemHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "resourceSelector", - "type": "bytes32" - }, - { - "internalType": "contract ISystemHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterSystemHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts b/packages/world/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts deleted file mode 100644 index 297a309951..0000000000 --- a/packages/world/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +++ /dev/null @@ -1,428 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - }, - { - internalType: "address"; - name: "caller"; - type: "address"; - } - ]; - name: "AccessDenied"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegator"; - type: "address"; - }, - { - internalType: "address"; - name: "delegatee"; - type: "address"; - } - ]; - name: "DelegationNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "functionSelector"; - type: "bytes4"; - } - ]; - name: "FunctionSelectorNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "balance"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "amount"; - type: "uint256"; - } - ]; - name: "InsufficientBalance"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "contractAddress"; - type: "address"; - }, - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "InterfaceNotSupported"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "InvalidSelector"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "string"; - name: "resource"; - type: "string"; - } - ]; - name: "ResourceNotFound"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: [ - { - internalType: "address"; - name: "system"; - type: "address"; - } - ]; - name: "SystemExists"; - type: "error"; - }, - { - inputs: []; - name: "WorldAlreadyInitialized"; - type: "error"; - }, - { - inputs: []; - name: "_msgSender"; - outputs: [ - { - internalType: "address"; - name: "sender"; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: []; - name: "_msgValue"; - outputs: [ - { - internalType: "uint256"; - name: "value"; - type: "uint256"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: []; - name: "_world"; - outputs: [ - { - internalType: "address"; - name: ""; - type: "address"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "address"; - name: "delegatee"; - type: "address"; - }, - { - internalType: "bytes32"; - name: "delegationControlId"; - type: "bytes32"; - }, - { - internalType: "bytes"; - name: "initFuncSelectorAndArgs"; - type: "bytes"; - } - ]; - name: "registerDelegation"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "systemFunctionName"; - type: "string"; - }, - { - internalType: "string"; - name: "systemFunctionArguments"; - type: "string"; - } - ]; - name: "registerFunctionSelector"; - outputs: [ - { - internalType: "bytes4"; - name: "worldFunctionSelector"; - type: "bytes4"; - } - ]; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes16"; - name: "namespace"; - type: "bytes16"; - } - ]; - name: "registerNamespace"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "bytes4"; - name: "worldFunctionSelector"; - type: "bytes4"; - }, - { - internalType: "bytes4"; - name: "systemFunctionSelector"; - type: "bytes4"; - } - ]; - name: "registerRootFunctionSelector"; - outputs: [ - { - internalType: "bytes4"; - name: ""; - type: "bytes4"; - } - ]; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "contract WorldContextConsumer"; - name: "system"; - type: "address"; - }, - { - internalType: "bool"; - name: "publicAccess"; - type: "bool"; - } - ]; - name: "registerSystem"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "contract ISystemHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerSystemHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "resourceSelector"; - type: "bytes32"; - }, - { - internalType: "contract ISystemHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterSystemHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/constants.sol/LayoutOffsets.abi.json b/packages/world/abi/constants.sol/LayoutOffsets.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/constants.sol/LayoutOffsets.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/interfaces/IERC165.sol/IERC165.abi.json b/packages/world/abi/interfaces/IERC165.sol/IERC165.abi.json deleted file mode 100644 index f9e19986d2..0000000000 --- a/packages/world/abi/interfaces/IERC165.sol/IERC165.abi.json +++ /dev/null @@ -1,21 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/interfaces/IERC165.sol/IERC165.abi.json.d.ts b/packages/world/abi/interfaces/IERC165.sol/IERC165.abi.json.d.ts deleted file mode 100644 index 41da21a6f2..0000000000 --- a/packages/world/abi/interfaces/IERC165.sol/IERC165.abi.json.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceID"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/src/Bytes.sol/Bytes.abi.json b/packages/world/abi/src/Bytes.sol/Bytes.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/src/Bytes.sol/Bytes.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/src/FieldLayout.sol/FieldLayoutInstance.abi.json b/packages/world/abi/src/FieldLayout.sol/FieldLayoutInstance.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/src/FieldLayout.sol/FieldLayoutInstance.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/src/FieldLayout.sol/FieldLayoutLib.abi.json b/packages/world/abi/src/FieldLayout.sol/FieldLayoutLib.abi.json deleted file mode 100644 index 0718613ae7..0000000000 --- a/packages/world/abi/src/FieldLayout.sol/FieldLayoutLib.abi.json +++ /dev/null @@ -1,23 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "FieldLayoutLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthDoesNotFitInAWord", - "type": "error" - }, - { - "inputs": [], - "name": "FieldLayoutLib_StaticLengthIsZero", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/world/abi/src/FieldLayout.sol/FieldLayoutLib.abi.json.d.ts b/packages/world/abi/src/FieldLayout.sol/FieldLayoutLib.abi.json.d.ts deleted file mode 100644 index 46ebe7906c..0000000000 --- a/packages/world/abi/src/FieldLayout.sol/FieldLayoutLib.abi.json.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "FieldLayoutLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthDoesNotFitInAWord"; - type: "error"; - }, - { - inputs: []; - name: "FieldLayoutLib_StaticLengthIsZero"; - type: "error"; - } -]; -export default abi; diff --git a/packages/world/abi/src/Hook.sol/HookInstance.abi.json b/packages/world/abi/src/Hook.sol/HookInstance.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/src/Hook.sol/HookInstance.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/src/Hook.sol/HookLib.abi.json b/packages/world/abi/src/Hook.sol/HookLib.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/src/Hook.sol/HookLib.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/src/IStore.sol/IStore.abi.json b/packages/world/abi/src/IStore.sol/IStore.abi.json deleted file mode 100644 index 5f2611915f..0000000000 --- a/packages/world/abi/src/IStore.sol/IStore.abi.json +++ /dev/null @@ -1,717 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_DataIndexOverflow", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidDataLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidFieldNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidKeyNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "StoreCore_InvalidValueSchemaLength", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotDynamicField", - "type": "error" - }, - { - "inputs": [], - "name": "StoreCore_NotImplemented", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "StoreCore_TableNotFound", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "emitEphemeralRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "popFromField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "pushToField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" - }, - { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" - } - ], - "name": "registerTable", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "startByteIndex", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "dataToSet", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "updateInField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/src/IStore.sol/IStore.abi.json.d.ts b/packages/world/abi/src/IStore.sol/IStore.abi.json.d.ts deleted file mode 100644 index 53be52609c..0000000000 --- a/packages/world/abi/src/IStore.sol/IStore.abi.json.d.ts +++ /dev/null @@ -1,718 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_DataIndexOverflow"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidDataLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidFieldNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidKeyNamesLength"; - type: "error"; - }, - { - inputs: [ - { - internalType: "uint256"; - name: "expected"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "received"; - type: "uint256"; - } - ]; - name: "StoreCore_InvalidValueSchemaLength"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotDynamicField"; - type: "error"; - }, - { - inputs: []; - name: "StoreCore_NotImplemented"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableAlreadyExists"; - type: "error"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "string"; - name: "tableIdString"; - type: "string"; - } - ]; - name: "StoreCore_TableNotFound"; - type: "error"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "emitEphemeralRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getField"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getFieldLayout"; - outputs: [ - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getFieldLength"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "getFieldSlice"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getRecord"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "byteLengthToPop"; - type: "uint256"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "popFromField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "dataToPush"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "pushToField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - }, - { - internalType: "string[]"; - name: "keyNames"; - type: "string[]"; - }, - { - internalType: "string[]"; - name: "fieldNames"; - type: "string[]"; - } - ]; - name: "registerTable"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "startByteIndex"; - type: "uint256"; - }, - { - internalType: "bytes"; - name: "dataToSet"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "updateInField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/src/IStore.sol/IStoreData.abi.json b/packages/world/abi/src/IStore.sol/IStoreData.abi.json deleted file mode 100644 index b2f7b1cfe9..0000000000 --- a/packages/world/abi/src/IStore.sol/IStoreData.abi.json +++ /dev/null @@ -1,463 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "popFromField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "pushToField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "startByteIndex", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "dataToSet", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "updateInField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/src/IStore.sol/IStoreData.abi.json.d.ts b/packages/world/abi/src/IStore.sol/IStoreData.abi.json.d.ts deleted file mode 100644 index 8376850819..0000000000 --- a/packages/world/abi/src/IStore.sol/IStoreData.abi.json.d.ts +++ /dev/null @@ -1,464 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getField"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getFieldLayout"; - outputs: [ - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getFieldLength"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "getFieldSlice"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getRecord"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "byteLengthToPop"; - type: "uint256"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "popFromField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "dataToPush"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "pushToField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "startByteIndex"; - type: "uint256"; - }, - { - internalType: "bytes"; - name: "dataToSet"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "updateInField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/src/IStore.sol/IStoreEphemeral.abi.json b/packages/world/abi/src/IStore.sol/IStoreEphemeral.abi.json deleted file mode 100644 index da76e6a5c2..0000000000 --- a/packages/world/abi/src/IStore.sol/IStoreEphemeral.abi.json +++ /dev/null @@ -1,55 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "emitEphemeralRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/src/IStore.sol/IStoreEphemeral.abi.json.d.ts b/packages/world/abi/src/IStore.sol/IStoreEphemeral.abi.json.d.ts deleted file mode 100644 index 5b3d199d71..0000000000 --- a/packages/world/abi/src/IStore.sol/IStoreEphemeral.abi.json.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "emitEphemeralRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/src/IStore.sol/IStoreRead.abi.json b/packages/world/abi/src/IStore.sol/IStoreRead.abi.json deleted file mode 100644 index 44bcee43a5..0000000000 --- a/packages/world/abi/src/IStore.sol/IStoreRead.abi.json +++ /dev/null @@ -1,200 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "schema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/src/IStore.sol/IStoreRead.abi.json.d.ts b/packages/world/abi/src/IStore.sol/IStoreRead.abi.json.d.ts deleted file mode 100644 index 14c859cc2e..0000000000 --- a/packages/world/abi/src/IStore.sol/IStoreRead.abi.json.d.ts +++ /dev/null @@ -1,201 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getField"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getFieldLayout"; - outputs: [ - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getFieldLength"; - outputs: [ - { - internalType: "uint256"; - name: ""; - type: "uint256"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "getFieldSlice"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "getRecord"; - outputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "schema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/src/IStore.sol/IStoreRegistration.abi.json b/packages/world/abi/src/IStore.sol/IStoreRegistration.abi.json deleted file mode 100644 index d21d2dd147..0000000000 --- a/packages/world/abi/src/IStore.sol/IStoreRegistration.abi.json +++ /dev/null @@ -1,81 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" - }, - { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" - } - ], - "name": "registerTable", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/src/IStore.sol/IStoreRegistration.abi.json.d.ts b/packages/world/abi/src/IStore.sol/IStoreRegistration.abi.json.d.ts deleted file mode 100644 index 790883941d..0000000000 --- a/packages/world/abi/src/IStore.sol/IStoreRegistration.abi.json.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - }, - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - }, - { - internalType: "string[]"; - name: "keyNames"; - type: "string[]"; - }, - { - internalType: "string[]"; - name: "fieldNames"; - type: "string[]"; - } - ]; - name: "registerTable"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/src/IStore.sol/IStoreWrite.abi.json b/packages/world/abi/src/IStore.sol/IStoreWrite.abi.json deleted file mode 100644 index 98b9d2126f..0000000000 --- a/packages/world/abi/src/IStore.sol/IStoreWrite.abi.json +++ /dev/null @@ -1,265 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "popFromField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "pushToField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "startByteIndex", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "dataToSet", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "updateInField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/src/IStore.sol/IStoreWrite.abi.json.d.ts b/packages/world/abi/src/IStore.sol/IStoreWrite.abi.json.d.ts deleted file mode 100644 index 5861267f02..0000000000 --- a/packages/world/abi/src/IStore.sol/IStoreWrite.abi.json.d.ts +++ /dev/null @@ -1,266 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "byteLengthToPop"; - type: "uint256"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "popFromField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "dataToPush"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "pushToField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "setRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "uint256"; - name: "startByteIndex"; - type: "uint256"; - }, - { - internalType: "bytes"; - name: "dataToSet"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "updateInField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/src/IStoreHook.sol/IStoreHook.abi.json b/packages/world/abi/src/IStoreHook.sol/IStoreHook.abi.json deleted file mode 100644 index 206689d652..0000000000 --- a/packages/world/abi/src/IStoreHook.sol/IStoreHook.abi.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/src/IStoreHook.sol/IStoreHook.abi.json.d.ts b/packages/world/abi/src/IStoreHook.sol/IStoreHook.abi.json.d.ts deleted file mode 100644 index 4fafcfbee3..0000000000 --- a/packages/world/abi/src/IStoreHook.sol/IStoreHook.abi.json.d.ts +++ /dev/null @@ -1,190 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceID"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/src/Memory.sol/Memory.abi.json b/packages/world/abi/src/Memory.sol/Memory.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/src/Memory.sol/Memory.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/src/PackedCounter.sol/PackedCounterInstance.abi.json b/packages/world/abi/src/PackedCounter.sol/PackedCounterInstance.abi.json deleted file mode 100644 index 377085b5aa..0000000000 --- a/packages/world/abi/src/PackedCounter.sol/PackedCounterInstance.abi.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "PackedCounter_InvalidLength", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/world/abi/src/PackedCounter.sol/PackedCounterInstance.abi.json.d.ts b/packages/world/abi/src/PackedCounter.sol/PackedCounterInstance.abi.json.d.ts deleted file mode 100644 index 2a863747d0..0000000000 --- a/packages/world/abi/src/PackedCounter.sol/PackedCounterInstance.abi.json.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "PackedCounter_InvalidLength"; - type: "error"; - } -]; -export default abi; diff --git a/packages/world/abi/src/PackedCounter.sol/PackedCounterLib.abi.json b/packages/world/abi/src/PackedCounter.sol/PackedCounterLib.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/src/PackedCounter.sol/PackedCounterLib.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/src/Schema.sol/SchemaInstance.abi.json b/packages/world/abi/src/Schema.sol/SchemaInstance.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/src/Schema.sol/SchemaInstance.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/src/Schema.sol/SchemaLib.abi.json b/packages/world/abi/src/Schema.sol/SchemaLib.abi.json deleted file mode 100644 index 2b3a290331..0000000000 --- a/packages/world/abi/src/Schema.sol/SchemaLib.abi.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "SchemaLib_InvalidLength", - "type": "error" - }, - { - "inputs": [], - "name": "SchemaLib_StaticTypeAfterDynamicType", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/world/abi/src/Schema.sol/SchemaLib.abi.json.d.ts b/packages/world/abi/src/Schema.sol/SchemaLib.abi.json.d.ts deleted file mode 100644 index 94d46e34c7..0000000000 --- a/packages/world/abi/src/Schema.sol/SchemaLib.abi.json.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "uint256"; - name: "length"; - type: "uint256"; - } - ]; - name: "SchemaLib_InvalidLength"; - type: "error"; - }, - { - inputs: []; - name: "SchemaLib_StaticTypeAfterDynamicType"; - type: "error"; - } -]; -export default abi; diff --git a/packages/world/abi/src/Slice.sol/SliceInstance.abi.json b/packages/world/abi/src/Slice.sol/SliceInstance.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/src/Slice.sol/SliceInstance.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/src/Slice.sol/SliceLib.abi.json b/packages/world/abi/src/Slice.sol/SliceLib.abi.json deleted file mode 100644 index bae09de3e6..0000000000 --- a/packages/world/abi/src/Slice.sol/SliceLib.abi.json +++ /dev/null @@ -1,23 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "Slice_OutOfBounds", - "type": "error" - } -] \ No newline at end of file diff --git a/packages/world/abi/src/Slice.sol/SliceLib.abi.json.d.ts b/packages/world/abi/src/Slice.sol/SliceLib.abi.json.d.ts deleted file mode 100644 index 65642dcfdf..0000000000 --- a/packages/world/abi/src/Slice.sol/SliceLib.abi.json.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "uint256"; - name: "start"; - type: "uint256"; - }, - { - internalType: "uint256"; - name: "end"; - type: "uint256"; - } - ]; - name: "Slice_OutOfBounds"; - type: "error"; - } -]; -export default abi; diff --git a/packages/world/abi/src/StoreCore.sol/StoreCore.abi.json b/packages/world/abi/src/StoreCore.sol/StoreCore.abi.json deleted file mode 100644 index fb85ad946b..0000000000 --- a/packages/world/abi/src/StoreCore.sol/StoreCore.abi.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetField", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - } -] \ No newline at end of file diff --git a/packages/world/abi/src/StoreCore.sol/StoreCore.abi.json.d.ts b/packages/world/abi/src/StoreCore.sol/StoreCore.abi.json.d.ts deleted file mode 100644 index 60f914b4e1..0000000000 --- a/packages/world/abi/src/StoreCore.sol/StoreCore.abi.json.d.ts +++ /dev/null @@ -1,103 +0,0 @@ -declare const abi: [ - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "uint8"; - name: "fieldIndex"; - type: "uint8"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetField"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - } -]; -export default abi; diff --git a/packages/world/abi/src/StoreCore.sol/StoreCoreInternal.abi.json b/packages/world/abi/src/StoreCore.sol/StoreCoreInternal.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/src/StoreCore.sol/StoreCoreInternal.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/src/StoreHook.sol/StoreHook.abi.json b/packages/world/abi/src/StoreHook.sol/StoreHook.abi.json deleted file mode 100644 index 84037ddd5e..0000000000 --- a/packages/world/abi/src/StoreHook.sol/StoreHook.abi.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "schemaIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "table", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "key", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeSetRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "pure", - "type": "function" - } -] \ No newline at end of file diff --git a/packages/world/abi/src/StoreHook.sol/StoreHook.abi.json.d.ts b/packages/world/abi/src/StoreHook.sol/StoreHook.abi.json.d.ts deleted file mode 100644 index 96c3279f30..0000000000 --- a/packages/world/abi/src/StoreHook.sol/StoreHook.abi.json.d.ts +++ /dev/null @@ -1,190 +0,0 @@ -declare const abi: [ - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "uint8"; - name: "schemaIndex"; - type: "uint8"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetField"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "table"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "key"; - type: "bytes32[]"; - }, - { - internalType: "bytes"; - name: "data"; - type: "bytes"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeSetRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes4"; - name: "interfaceId"; - type: "bytes4"; - } - ]; - name: "supportsInterface"; - outputs: [ - { - internalType: "bool"; - name: ""; - type: "bool"; - } - ]; - stateMutability: "pure"; - type: "function"; - } -]; -export default abi; diff --git a/packages/world/abi/src/StoreHook.sol/StoreHookLib.abi.json b/packages/world/abi/src/StoreHook.sol/StoreHookLib.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/src/StoreHook.sol/StoreHookLib.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/src/StoreSwitch.sol/StoreSwitch.abi.json b/packages/world/abi/src/StoreSwitch.sol/StoreSwitch.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/src/StoreSwitch.sol/StoreSwitch.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/abi/tightcoder/EncodeArray.sol/EncodeArray.abi.json b/packages/world/abi/tightcoder/EncodeArray.sol/EncodeArray.abi.json deleted file mode 100644 index 0637a088a0..0000000000 --- a/packages/world/abi/tightcoder/EncodeArray.sol/EncodeArray.abi.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/packages/world/foundry.toml b/packages/world/foundry.toml index 8946bbf75b..8fcf41188a 100644 --- a/packages/world/foundry.toml +++ b/packages/world/foundry.toml @@ -9,3 +9,7 @@ allow_paths = ["../../node_modules", "../"] src = "src" out = "out" bytecode_hash = "none" +extra_output_files = [ + "abi", + "evm.bytecode" +] diff --git a/packages/world/package.json b/packages/world/package.json index e2c56ec3a1..6860b09f41 100644 --- a/packages/world/package.json +++ b/packages/world/package.json @@ -13,7 +13,7 @@ ".": "./dist/ts/library/index.js", "./register": "./dist/ts/register/index.js", "./node": "./dist/ts/node/index.js", - "./abi/*": "./abi/*", + "./out/*": "./out/*", "./*": "./dist/*" }, "typesVersions": { @@ -31,12 +31,12 @@ }, "scripts": { "build": "pnpm run build:mud && pnpm run build:abi && pnpm run build:abi-ts && pnpm run build:js", - "build:abi": "forge build --extra-output-files abi --out abi --skip test script", + "build:abi": "forge build --skip test script", "build:abi-ts": "abi-ts && prettier --write '**/*.abi.json.d.ts'", "build:js": "tsup", "build:mud": "tsx ./ts/scripts/tablegen.ts && tsx ./ts/scripts/worldgen.ts", "clean": "pnpm run clean:abi && pnpm run clean:js && pnpm run clean:mud", - "clean:abi": "rimraf abi", + "clean:abi": "forge clean", "clean:js": "rimraf dist", "clean:mud": "rimraf src/codegen", "dev": "tsup --watch", diff --git a/packages/store/src/MudTest.sol b/packages/world/test/MudTest.t.sol similarity index 65% rename from packages/store/src/MudTest.sol rename to packages/world/test/MudTest.t.sol index 031f44c861..95af8e93be 100644 --- a/packages/store/src/MudTest.sol +++ b/packages/world/test/MudTest.t.sol @@ -2,10 +2,10 @@ pragma solidity >=0.8.0; import { Test } from "forge-std/Test.sol"; -import { StoreSwitch } from "../src/StoreSwitch.sol"; +import { StoreSwitch } from "@latticexyz/store/src/StoreSwitch.sol"; -contract MudTest is Test { - address worldAddress; +abstract contract MudTest is Test { + address public worldAddress; function setUp() public virtual { worldAddress = vm.parseAddress(vm.readFile(".mudtest")); diff --git a/templates/phaser/packages/client/src/mud/setupNetwork.ts b/templates/phaser/packages/client/src/mud/setupNetwork.ts index d84f17cc41..66a27a95ae 100644 --- a/templates/phaser/packages/client/src/mud/setupNetwork.ts +++ b/templates/phaser/packages/client/src/mud/setupNetwork.ts @@ -8,7 +8,7 @@ import { createFaucetService } from "@latticexyz/services/faucet"; import { encodeEntity, syncToRecs } from "@latticexyz/store-sync/recs"; import { getNetworkConfig } from "./getNetworkConfig"; import { world } from "./world"; -import IWorldAbi from "contracts/abi/IWorld.sol/IWorld.abi.json"; +import IWorldAbi from "contracts/out/IWorld.sol/IWorld.abi.json"; import { createBurnerAccount, createContract, transportObserver, ContractWrite } from "@latticexyz/common"; import { Subject, share } from "rxjs"; diff --git a/templates/phaser/packages/contracts/.gitignore b/templates/phaser/packages/contracts/.gitignore index 6fed1b991b..aea4e54c82 100644 --- a/templates/phaser/packages/contracts/.gitignore +++ b/templates/phaser/packages/contracts/.gitignore @@ -3,7 +3,6 @@ cache/ node_modules/ bindings/ artifacts/ -abi/ broadcast/ # Ignore MUD deploy artifacts diff --git a/templates/phaser/packages/contracts/package.json b/templates/phaser/packages/contracts/package.json index ac65bc42fd..d7c3b00abf 100644 --- a/templates/phaser/packages/contracts/package.json +++ b/templates/phaser/packages/contracts/package.json @@ -5,8 +5,8 @@ "license": "MIT", "scripts": { "build": "pnpm run build:mud && pnpm run build:abi && pnpm run build:abi-ts", - "build:abi": "rimraf abi && forge build --extra-output-files abi --out abi --skip test script MudTest.sol", - "build:abi-ts": "mud abi-ts --input 'abi/IWorld.sol/IWorld.abi.json' && prettier --write '**/*.abi.json.d.ts'", + "build:abi": "forge clean && forge build --skip test script", + "build:abi-ts": "mud abi-ts && prettier --write '**/*.abi.json.d.ts'", "build:mud": "mud tablegen && mud worldgen", "deploy:local": "pnpm run build && mud deploy", "deploy:testnet": "pnpm run build && mud deploy --profile=lattice-testnet", diff --git a/templates/phaser/packages/contracts/test/CounterTest.t.sol b/templates/phaser/packages/contracts/test/CounterTest.t.sol index 94c71dc8b4..5c16ef92af 100644 --- a/templates/phaser/packages/contracts/test/CounterTest.t.sol +++ b/templates/phaser/packages/contracts/test/CounterTest.t.sol @@ -2,7 +2,7 @@ pragma solidity >=0.8.0; import "forge-std/Test.sol"; -import { MudTest } from "@latticexyz/store/src/MudTest.sol"; +import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; import { getKeysWithValue } from "@latticexyz/world/src/modules/keyswithvalue/getKeysWithValue.sol"; import { IWorld } from "../src/codegen/world/IWorld.sol"; diff --git a/templates/react/packages/client/src/mud/setupNetwork.ts b/templates/react/packages/client/src/mud/setupNetwork.ts index ddc720a4d7..de4b2c23dd 100644 --- a/templates/react/packages/client/src/mud/setupNetwork.ts +++ b/templates/react/packages/client/src/mud/setupNetwork.ts @@ -9,7 +9,7 @@ import { encodeEntity, syncToRecs } from "@latticexyz/store-sync/recs"; import { getNetworkConfig } from "./getNetworkConfig"; import { world } from "./world"; -import IWorldAbi from "contracts/abi/IWorld.sol/IWorld.abi.json"; +import IWorldAbi from "contracts/out/IWorld.sol/IWorld.abi.json"; import { createBurnerAccount, createContract, transportObserver, ContractWrite } from "@latticexyz/common"; import { Subject, share } from "rxjs"; diff --git a/templates/react/packages/contracts/.gitignore b/templates/react/packages/contracts/.gitignore index 6fed1b991b..aea4e54c82 100644 --- a/templates/react/packages/contracts/.gitignore +++ b/templates/react/packages/contracts/.gitignore @@ -3,7 +3,6 @@ cache/ node_modules/ bindings/ artifacts/ -abi/ broadcast/ # Ignore MUD deploy artifacts diff --git a/templates/react/packages/contracts/package.json b/templates/react/packages/contracts/package.json index ac65bc42fd..d7c3b00abf 100644 --- a/templates/react/packages/contracts/package.json +++ b/templates/react/packages/contracts/package.json @@ -5,8 +5,8 @@ "license": "MIT", "scripts": { "build": "pnpm run build:mud && pnpm run build:abi && pnpm run build:abi-ts", - "build:abi": "rimraf abi && forge build --extra-output-files abi --out abi --skip test script MudTest.sol", - "build:abi-ts": "mud abi-ts --input 'abi/IWorld.sol/IWorld.abi.json' && prettier --write '**/*.abi.json.d.ts'", + "build:abi": "forge clean && forge build --skip test script", + "build:abi-ts": "mud abi-ts && prettier --write '**/*.abi.json.d.ts'", "build:mud": "mud tablegen && mud worldgen", "deploy:local": "pnpm run build && mud deploy", "deploy:testnet": "pnpm run build && mud deploy --profile=lattice-testnet", diff --git a/templates/react/packages/contracts/test/CounterTest.t.sol b/templates/react/packages/contracts/test/CounterTest.t.sol index 94c71dc8b4..5c16ef92af 100644 --- a/templates/react/packages/contracts/test/CounterTest.t.sol +++ b/templates/react/packages/contracts/test/CounterTest.t.sol @@ -2,7 +2,7 @@ pragma solidity >=0.8.0; import "forge-std/Test.sol"; -import { MudTest } from "@latticexyz/store/src/MudTest.sol"; +import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; import { getKeysWithValue } from "@latticexyz/world/src/modules/keyswithvalue/getKeysWithValue.sol"; import { IWorld } from "../src/codegen/world/IWorld.sol"; diff --git a/templates/threejs/packages/client/src/mud/setupNetwork.ts b/templates/threejs/packages/client/src/mud/setupNetwork.ts index a72db6288f..ca2dc8d669 100644 --- a/templates/threejs/packages/client/src/mud/setupNetwork.ts +++ b/templates/threejs/packages/client/src/mud/setupNetwork.ts @@ -8,7 +8,7 @@ import { createFaucetService } from "@latticexyz/services/faucet"; import { encodeEntity, syncToRecs } from "@latticexyz/store-sync/recs"; import { getNetworkConfig } from "./getNetworkConfig"; import { world } from "./world"; -import IWorldAbi from "contracts/abi/IWorld.sol/IWorld.abi.json"; +import IWorldAbi from "contracts/out/IWorld.sol/IWorld.abi.json"; import { createBurnerAccount, createContract, transportObserver, ContractWrite } from "@latticexyz/common"; import { Subject, share } from "rxjs"; diff --git a/templates/threejs/packages/contracts/.gitignore b/templates/threejs/packages/contracts/.gitignore index 6fed1b991b..aea4e54c82 100644 --- a/templates/threejs/packages/contracts/.gitignore +++ b/templates/threejs/packages/contracts/.gitignore @@ -3,7 +3,6 @@ cache/ node_modules/ bindings/ artifacts/ -abi/ broadcast/ # Ignore MUD deploy artifacts diff --git a/templates/threejs/packages/contracts/package.json b/templates/threejs/packages/contracts/package.json index ac65bc42fd..d7c3b00abf 100644 --- a/templates/threejs/packages/contracts/package.json +++ b/templates/threejs/packages/contracts/package.json @@ -5,8 +5,8 @@ "license": "MIT", "scripts": { "build": "pnpm run build:mud && pnpm run build:abi && pnpm run build:abi-ts", - "build:abi": "rimraf abi && forge build --extra-output-files abi --out abi --skip test script MudTest.sol", - "build:abi-ts": "mud abi-ts --input 'abi/IWorld.sol/IWorld.abi.json' && prettier --write '**/*.abi.json.d.ts'", + "build:abi": "forge clean && forge build --skip test script", + "build:abi-ts": "mud abi-ts && prettier --write '**/*.abi.json.d.ts'", "build:mud": "mud tablegen && mud worldgen", "deploy:local": "pnpm run build && mud deploy", "deploy:testnet": "pnpm run build && mud deploy --profile=lattice-testnet", diff --git a/templates/vanilla/packages/client/src/mud/setupNetwork.ts b/templates/vanilla/packages/client/src/mud/setupNetwork.ts index ddc720a4d7..de4b2c23dd 100644 --- a/templates/vanilla/packages/client/src/mud/setupNetwork.ts +++ b/templates/vanilla/packages/client/src/mud/setupNetwork.ts @@ -9,7 +9,7 @@ import { encodeEntity, syncToRecs } from "@latticexyz/store-sync/recs"; import { getNetworkConfig } from "./getNetworkConfig"; import { world } from "./world"; -import IWorldAbi from "contracts/abi/IWorld.sol/IWorld.abi.json"; +import IWorldAbi from "contracts/out/IWorld.sol/IWorld.abi.json"; import { createBurnerAccount, createContract, transportObserver, ContractWrite } from "@latticexyz/common"; import { Subject, share } from "rxjs"; diff --git a/templates/vanilla/packages/contracts/.gitignore b/templates/vanilla/packages/contracts/.gitignore index 6fed1b991b..aea4e54c82 100644 --- a/templates/vanilla/packages/contracts/.gitignore +++ b/templates/vanilla/packages/contracts/.gitignore @@ -3,7 +3,6 @@ cache/ node_modules/ bindings/ artifacts/ -abi/ broadcast/ # Ignore MUD deploy artifacts diff --git a/templates/vanilla/packages/contracts/package.json b/templates/vanilla/packages/contracts/package.json index ac65bc42fd..d7c3b00abf 100644 --- a/templates/vanilla/packages/contracts/package.json +++ b/templates/vanilla/packages/contracts/package.json @@ -5,8 +5,8 @@ "license": "MIT", "scripts": { "build": "pnpm run build:mud && pnpm run build:abi && pnpm run build:abi-ts", - "build:abi": "rimraf abi && forge build --extra-output-files abi --out abi --skip test script MudTest.sol", - "build:abi-ts": "mud abi-ts --input 'abi/IWorld.sol/IWorld.abi.json' && prettier --write '**/*.abi.json.d.ts'", + "build:abi": "forge clean && forge build --skip test script", + "build:abi-ts": "mud abi-ts && prettier --write '**/*.abi.json.d.ts'", "build:mud": "mud tablegen && mud worldgen", "deploy:local": "pnpm run build && mud deploy", "deploy:testnet": "pnpm run build && mud deploy --profile=lattice-testnet", diff --git a/templates/vanilla/packages/contracts/test/CounterTest.t.sol b/templates/vanilla/packages/contracts/test/CounterTest.t.sol index 94c71dc8b4..5c16ef92af 100644 --- a/templates/vanilla/packages/contracts/test/CounterTest.t.sol +++ b/templates/vanilla/packages/contracts/test/CounterTest.t.sol @@ -2,7 +2,7 @@ pragma solidity >=0.8.0; import "forge-std/Test.sol"; -import { MudTest } from "@latticexyz/store/src/MudTest.sol"; +import { MudTest } from "@latticexyz/world/test/MudTest.t.sol"; import { getKeysWithValue } from "@latticexyz/world/src/modules/keyswithvalue/getKeysWithValue.sol"; import { IWorld } from "../src/codegen/world/IWorld.sol"; diff --git a/turbo.json b/turbo.json index 56fc8441e1..dc67ec39b4 100644 --- a/turbo.json +++ b/turbo.json @@ -5,7 +5,7 @@ "dependsOn": ["^build"], "outputs": [ "dist/**", - "abi/**", + "out/**", "build/**", "bin/**", "protoc/**",