declare const abi: [ { "type": "function", "name": "_msgSender", "inputs": [], "outputs": [ { "name": "sender", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "_msgValue", "inputs": [], "outputs": [ { "name": "value", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "pure" }, { "type": "function", "name": "_world", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "createAndDepositInventory", "inputs": [ { "name": "smartObjectId", "type": "uint256", "internalType": "uint256" }, { "name": "items", "type": "tuple[]", "internalType": "struct CreateInventoryItemParams[]", "components": [ { "name": "smartObjectId", "type": "uint256", "internalType": "uint256" }, { "name": "tenantId", "type": "bytes32", "internalType": "bytes32" }, { "name": "itemId", "type": "uint256", "internalType": "uint256" }, { "name": "typeId", "type": "uint256", "internalType": "uint256" }, { "name": "volume", "type": "uint256", "internalType": "uint256" }, { "name": "quantity", "type": "uint256", "internalType": "uint256" } ] } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "depositInventory", "inputs": [ { "name": "smartObjectId", "type": "uint256", "internalType": "uint256" }, { "name": "items", "type": "tuple[]", "internalType": "struct InventoryItemParams[]", "components": [ { "name": "smartObjectId", "type": "uint256", "internalType": "uint256" }, { "name": "quantity", "type": "uint256", "internalType": "uint256" } ] } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "setCapacity", "inputs": [ { "name": "smartObjectId", "type": "uint256", "internalType": "uint256" }, { "name": "capacity", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "setEphemeralCapacity", "inputs": [ { "name": "smartObjectId", "type": "uint256", "internalType": "uint256" }, { "name": "ephemeralCapacity", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "supportsInterface", "inputs": [ { "name": "interfaceId", "type": "bytes4", "internalType": "bytes4" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "pure" }, { "type": "function", "name": "withdrawInventory", "inputs": [ { "name": "smartObjectId", "type": "uint256", "internalType": "uint256" }, { "name": "items", "type": "tuple[]", "internalType": "struct InventoryItemParams[]", "components": [ { "name": "smartObjectId", "type": "uint256", "internalType": "uint256" }, { "name": "quantity", "type": "uint256", "internalType": "uint256" } ] } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "event", "name": "Store_DeleteRecord", "inputs": [ { "name": "tableId", "type": "bytes32", "indexed": true, "internalType": "ResourceId" }, { "name": "keyTuple", "type": "bytes32[]", "indexed": false, "internalType": "bytes32[]" } ], "anonymous": false }, { "type": "event", "name": "Store_SetRecord", "inputs": [ { "name": "tableId", "type": "bytes32", "indexed": true, "internalType": "ResourceId" }, { "name": "keyTuple", "type": "bytes32[]", "indexed": false, "internalType": "bytes32[]" }, { "name": "staticData", "type": "bytes", "indexed": false, "internalType": "bytes" }, { "name": "encodedLengths", "type": "bytes32", "indexed": false, "internalType": "EncodedLengths" }, { "name": "dynamicData", "type": "bytes", "indexed": false, "internalType": "bytes" } ], "anonymous": false }, { "type": "event", "name": "Store_SpliceDynamicData", "inputs": [ { "name": "tableId", "type": "bytes32", "indexed": true, "internalType": "ResourceId" }, { "name": "keyTuple", "type": "bytes32[]", "indexed": false, "internalType": "bytes32[]" }, { "name": "dynamicFieldIndex", "type": "uint8", "indexed": false, "internalType": "uint8" }, { "name": "start", "type": "uint48", "indexed": false, "internalType": "uint48" }, { "name": "deleteCount", "type": "uint40", "indexed": false, "internalType": "uint40" }, { "name": "encodedLengths", "type": "bytes32", "indexed": false, "internalType": "EncodedLengths" }, { "name": "data", "type": "bytes", "indexed": false, "internalType": "bytes" } ], "anonymous": false }, { "type": "event", "name": "Store_SpliceStaticData", "inputs": [ { "name": "tableId", "type": "bytes32", "indexed": true, "internalType": "ResourceId" }, { "name": "keyTuple", "type": "bytes32[]", "indexed": false, "internalType": "bytes32[]" }, { "name": "start", "type": "uint48", "indexed": false, "internalType": "uint48" }, { "name": "data", "type": "bytes", "indexed": false, "internalType": "bytes" } ], "anonymous": false }, { "type": "error", "name": "Deployable_IncorrectState", "inputs": [ { "name": "smartObjectId", "type": "uint256", "internalType": "uint256" }, { "name": "currentState", "type": "uint8", "internalType": "enum State" } ] }, { "type": "error", "name": "EncodedLengths_InvalidLength", "inputs": [ { "name": "length", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "EntityRecordSystemLib_CallingFromRootSystem", "inputs": [] }, { "type": "error", "name": "EntitySystemLib_CallingFromRootSystem", "inputs": [] }, { "type": "error", "name": "InventoryOwnershipSystemLib_CallingFromRootSystem", "inputs": [] }, { "type": "error", "name": "Inventory_InsufficientCapacity", "inputs": [ { "name": "message", "type": "string", "internalType": "string" }, { "name": "maxCapacity", "type": "uint256", "internalType": "uint256" }, { "name": "usedCapacity", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "Inventory_InvalidCapacity", "inputs": [ { "name": "message", "type": "string", "internalType": "string" } ] }, { "type": "error", "name": "Inventory_InvalidItemDepositQuantity", "inputs": [ { "name": "itemObjectId", "type": "uint256", "internalType": "uint256" }, { "name": "quantity", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "Inventory_InvalidItemObjectId", "inputs": [ { "name": "itemObjectId", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "Inventory_InvalidTenantId", "inputs": [ { "name": "itemObjectId", "type": "uint256", "internalType": "uint256" }, { "name": "tenantId", "type": "bytes32", "internalType": "bytes32" } ] }, { "type": "error", "name": "Inventory_NonExistentEntityRecord", "inputs": [ { "name": "message", "type": "string", "internalType": "string" }, { "name": "smartObjectId", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "SOF_CallTooDeep", "inputs": [ { "name": "callCount", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "SOF_InvalidAccessLogic", "inputs": [] }, { "type": "error", "name": "SOF_InvalidCall", "inputs": [] }, { "type": "error", "name": "SOF_InvalidEntityType", "inputs": [ { "name": "givenEntity", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "SOF_UnscopedSystemCall", "inputs": [ { "name": "entityId", "type": "uint256", "internalType": "uint256" }, { "name": "systemId", "type": "bytes32", "internalType": "ResourceId" } ] }, { "type": "error", "name": "Slice_OutOfBounds", "inputs": [ { "name": "data", "type": "bytes", "internalType": "bytes" }, { "name": "start", "type": "uint256", "internalType": "uint256" }, { "name": "end", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "Store_IndexOutOfBounds", "inputs": [ { "name": "length", "type": "uint256", "internalType": "uint256" }, { "name": "accessedIndex", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "Store_InvalidBounds", "inputs": [ { "name": "start", "type": "uint256", "internalType": "uint256" }, { "name": "end", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "Store_InvalidResourceType", "inputs": [ { "name": "expected", "type": "bytes2", "internalType": "bytes2" }, { "name": "resourceId", "type": "bytes32", "internalType": "ResourceId" }, { "name": "resourceIdString", "type": "string", "internalType": "string" } ] }, { "type": "error", "name": "Store_InvalidSplice", "inputs": [ { "name": "startWithinField", "type": "uint40", "internalType": "uint40" }, { "name": "deleteCount", "type": "uint40", "internalType": "uint40" }, { "name": "fieldLength", "type": "uint40", "internalType": "uint40" } ] } ]; export default abi;