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 e63888908d..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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 dacb0ff8c4..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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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/IStore.sol/IStore.abi.json b/packages/store/abi/IStore.sol/IStore.abi.json deleted file mode 100644 index 974e2e74fa..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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "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": "keyTuple", - "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": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 e939bc04ed..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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 f6db946f1c..0000000000 --- a/packages/store/abi/IStore.sol/IStoreData.abi.json +++ /dev/null @@ -1,463 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "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": "keyTuple", - "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": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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 077b246517..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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 f591aa2757..0000000000 --- a/packages/store/abi/IStore.sol/IStoreEphemeral.abi.json +++ /dev/null @@ -1,55 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 9b9186d587..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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 5fb8e1bc53..0000000000 --- a/packages/store/abi/IStore.sol/IStoreRead.abi.json +++ /dev/null @@ -1,200 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "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": "keyTuple", - "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": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "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 9ca275d41b..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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - 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 352fb8196a..0000000000 --- a/packages/store/abi/IStore.sol/IStoreWrite.abi.json +++ /dev/null @@ -1,265 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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 04ce5d76ab..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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/IStoreHook.sol/IStoreHook.abi.json b/packages/store/abi/IStoreHook.sol/IStoreHook.abi.json deleted file mode 100644 index 9782a97c93..0000000000 --- a/packages/store/abi/IStoreHook.sol/IStoreHook.abi.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 d3e9224ef8..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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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/MirrorSubscriber.sol/MirrorSubscriber.abi.json b/packages/store/abi/MirrorSubscriber.sol/MirrorSubscriber.abi.json deleted file mode 100644 index 750e79f3bb..0000000000 --- a/packages/store/abi/MirrorSubscriber.sol/MirrorSubscriber.abi.json +++ /dev/null @@ -1,294 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 6bd3d612aa..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: "tableId"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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/StoreCore.sol/StoreCore.abi.json b/packages/store/abi/StoreCore.sol/StoreCore.abi.json deleted file mode 100644 index 3808909d9a..0000000000 --- a/packages/store/abi/StoreCore.sol/StoreCore.abi.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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 fa9de440d1..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - } -]; -export default abi; 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 59ef8376aa..0000000000 --- a/packages/store/abi/StoreHook.sol/StoreHook.abi.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 4091c781ed..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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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/StoreMock.sol/StoreMock.abi.json b/packages/store/abi/StoreMock.sol/StoreMock.abi.json deleted file mode 100644 index 7cd7dccb82..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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "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": "keyTuple", - "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": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 0f24437cb3..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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 7ac3c66a02..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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "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": "keyTuple", - "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": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "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 8a28178333..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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - 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 b0b3c7ceed..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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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 a4e49e5b2c..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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/EphemeralRecordSystem.sol/EphemeralRecordSystem.abi.json b/packages/world/abi/EphemeralRecordSystem.sol/EphemeralRecordSystem.abi.json deleted file mode 100644 index 367398d105..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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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 4e436b91de..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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/IBaseWorld.sol/IBaseWorld.abi.json b/packages/world/abi/IBaseWorld.sol/IBaseWorld.abi.json deleted file mode 100644 index f7915c9a9f..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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "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": "keyTuple", - "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": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "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": "tableId", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "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" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 eebaf2c6b2..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "valueSchema"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "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: "tableId"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "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"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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/IStore.abi.json b/packages/world/abi/IStore.sol/IStore.abi.json deleted file mode 100644 index 974e2e74fa..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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "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": "keyTuple", - "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": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 e939bc04ed..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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 f6db946f1c..0000000000 --- a/packages/world/abi/IStore.sol/IStoreData.abi.json +++ /dev/null @@ -1,463 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "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": "keyTuple", - "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": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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 077b246517..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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 f591aa2757..0000000000 --- a/packages/world/abi/IStore.sol/IStoreEphemeral.abi.json +++ /dev/null @@ -1,55 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 9b9186d587..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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 5fb8e1bc53..0000000000 --- a/packages/world/abi/IStore.sol/IStoreRead.abi.json +++ /dev/null @@ -1,200 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "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": "keyTuple", - "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": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "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 9ca275d41b..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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - 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 352fb8196a..0000000000 --- a/packages/world/abi/IStore.sol/IStoreWrite.abi.json +++ /dev/null @@ -1,265 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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 04ce5d76ab..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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/IStoreHook.sol/IStoreHook.abi.json b/packages/world/abi/IStoreHook.sol/IStoreHook.abi.json deleted file mode 100644 index 9782a97c93..0000000000 --- a/packages/world/abi/IStoreHook.sol/IStoreHook.abi.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 d3e9224ef8..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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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/KeysInTableHook.sol/KeysInTableHook.abi.json b/packages/world/abi/KeysInTableHook.sol/KeysInTableHook.abi.json deleted file mode 100644 index 710c1ed06c..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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 d01f54b190..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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: ""; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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/KeysWithValueHook.sol/KeysWithValueHook.abi.json b/packages/world/abi/KeysWithValueHook.sol/KeysWithValueHook.abi.json deleted file mode 100644 index 0760ed5cb7..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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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 e5c0491a73..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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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/StoreCore.sol/StoreCore.abi.json b/packages/world/abi/StoreCore.sol/StoreCore.abi.json deleted file mode 100644 index 3808909d9a..0000000000 --- a/packages/world/abi/StoreCore.sol/StoreCore.abi.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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 fa9de440d1..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - } -]; -export default abi; 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 59ef8376aa..0000000000 --- a/packages/world/abi/StoreHook.sol/StoreHook.abi.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 4091c781ed..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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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/StoreRead.sol/StoreRead.abi.json b/packages/world/abi/StoreRead.sol/StoreRead.abi.json deleted file mode 100644 index 7ac3c66a02..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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "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": "keyTuple", - "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": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "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 8a28178333..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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - } -]; -export default abi; 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 23782fe93e..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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "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": "keyTuple", - "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": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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 e5398caa53..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "valueSchema"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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/src/IStore.sol/IStore.abi.json b/packages/world/abi/src/IStore.sol/IStore.abi.json deleted file mode 100644 index 974e2e74fa..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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "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": "keyTuple", - "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": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 e939bc04ed..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - }, - { - internalType: "uint8"; - name: "enabledHooksBitmap"; - type: "uint8"; - } - ]; - name: "registerStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "contract IStoreHook"; - name: "hookAddress"; - type: "address"; - } - ]; - name: "unregisterStoreHook"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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 f6db946f1c..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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "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": "keyTuple", - "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": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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 077b246517..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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 f591aa2757..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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 9b9186d587..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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 5fb8e1bc53..0000000000 --- a/packages/world/abi/src/IStore.sol/IStoreRead.abi.json +++ /dev/null @@ -1,200 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "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": "keyTuple", - "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": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "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 9ca275d41b..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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getKeySchema"; - outputs: [ - { - internalType: "Schema"; - name: "keySchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - } - ]; - name: "getValueSchema"; - outputs: [ - { - internalType: "Schema"; - name: "valueSchema"; - type: "bytes32"; - } - ]; - stateMutability: "view"; - 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 352fb8196a..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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreSetRecord", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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": "keyTuple", - "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 04ce5d76ab..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "deleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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: "keyTuple"; - 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 9782a97c93..0000000000 --- a/packages/world/abi/src/IStoreHook.sol/IStoreHook.abi.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 d3e9224ef8..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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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/StoreCore.sol/StoreCore.abi.json b/packages/world/abi/src/StoreCore.sol/StoreCore.abi.json deleted file mode 100644 index 3808909d9a..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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "StoreDeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "StoreEphemeralRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "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 fa9de440d1..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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - } - ]; - name: "StoreDeleteRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreEphemeralRecord"; - type: "event"; - }, - { - anonymous: false; - inputs: [ - { - indexed: false; - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - indexed: false; - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - indexed: false; - internalType: "bytes"; - name: "data"; - type: "bytes"; - } - ]; - name: "StoreSetRecord"; - type: "event"; - } -]; -export default abi; 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 59ef8376aa..0000000000 --- a/packages/world/abi/src/StoreHook.sol/StoreHook.abi.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onAfterDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "onBeforeDeleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "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 4091c781ed..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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onAfterDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - type: "bytes32[]"; - }, - { - internalType: "FieldLayout"; - name: "fieldLayout"; - type: "bytes32"; - } - ]; - name: "onBeforeDeleteRecord"; - outputs: []; - stateMutability: "nonpayable"; - type: "function"; - }, - { - inputs: [ - { - internalType: "bytes32"; - name: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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: "tableId"; - type: "bytes32"; - }, - { - internalType: "bytes32[]"; - name: "keyTuple"; - 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;