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": "registerDelegation", "inputs": [ { "name": "delegatee", "type": "address", "internalType": "address" }, { "name": "delegationControlId", "type": "bytes32", "internalType": "ResourceId" }, { "name": "initCallData", "type": "bytes", "internalType": "bytes" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "registerFunctionSelector", "inputs": [ { "name": "systemId", "type": "bytes32", "internalType": "ResourceId" }, { "name": "systemFunctionSignature", "type": "string", "internalType": "string" } ], "outputs": [ { "name": "worldFunctionSelector", "type": "bytes4", "internalType": "bytes4" } ], "stateMutability": "nonpayable" }, { "type": "function", "name": "registerNamespace", "inputs": [ { "name": "namespaceId", "type": "bytes32", "internalType": "ResourceId" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "registerNamespaceDelegation", "inputs": [ { "name": "namespaceId", "type": "bytes32", "internalType": "ResourceId" }, { "name": "delegationControlId", "type": "bytes32", "internalType": "ResourceId" }, { "name": "initCallData", "type": "bytes", "internalType": "bytes" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "registerRootFunctionSelector", "inputs": [ { "name": "systemId", "type": "bytes32", "internalType": "ResourceId" }, { "name": "worldFunctionSignature", "type": "string", "internalType": "string" }, { "name": "systemFunctionSignature", "type": "string", "internalType": "string" } ], "outputs": [ { "name": "worldFunctionSelector", "type": "bytes4", "internalType": "bytes4" } ], "stateMutability": "nonpayable" }, { "type": "function", "name": "registerSystem", "inputs": [ { "name": "systemId", "type": "bytes32", "internalType": "ResourceId" }, { "name": "system", "type": "address", "internalType": "contract System" }, { "name": "publicAccess", "type": "bool", "internalType": "bool" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "registerSystemHook", "inputs": [ { "name": "systemId", "type": "bytes32", "internalType": "ResourceId" }, { "name": "hookAddress", "type": "address", "internalType": "contract ISystemHook" }, { "name": "enabledHooksBitmap", "type": "uint8", "internalType": "uint8" } ], "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": "unregisterDelegation", "inputs": [ { "name": "delegatee", "type": "address", "internalType": "address" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "unregisterNamespaceDelegation", "inputs": [ { "name": "namespaceId", "type": "bytes32", "internalType": "ResourceId" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "unregisterSystemHook", "inputs": [ { "name": "systemId", "type": "bytes32", "internalType": "ResourceId" }, { "name": "hookAddress", "type": "address", "internalType": "contract ISystemHook" } ], "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": "EncodedLengths_InvalidLength", "inputs": [ { "name": "length", "type": "uint256", "internalType": "uint256" } ] }, { "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_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" } ] }, { "type": "error", "name": "UnauthorizedCallContext", "inputs": [] }, { "type": "error", "name": "World_AccessDenied", "inputs": [ { "name": "resource", "type": "string", "internalType": "string" }, { "name": "caller", "type": "address", "internalType": "address" } ] }, { "type": "error", "name": "World_AlreadyInitialized", "inputs": [] }, { "type": "error", "name": "World_CallbackNotAllowed", "inputs": [ { "name": "functionSelector", "type": "bytes4", "internalType": "bytes4" } ] }, { "type": "error", "name": "World_DelegationNotFound", "inputs": [ { "name": "delegator", "type": "address", "internalType": "address" }, { "name": "delegatee", "type": "address", "internalType": "address" } ] }, { "type": "error", "name": "World_FunctionSelectorAlreadyExists", "inputs": [ { "name": "functionSelector", "type": "bytes4", "internalType": "bytes4" } ] }, { "type": "error", "name": "World_FunctionSelectorNotFound", "inputs": [ { "name": "functionSelector", "type": "bytes4", "internalType": "bytes4" } ] }, { "type": "error", "name": "World_InsufficientBalance", "inputs": [ { "name": "balance", "type": "uint256", "internalType": "uint256" }, { "name": "amount", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "World_InterfaceNotSupported", "inputs": [ { "name": "contractAddress", "type": "address", "internalType": "address" }, { "name": "interfaceId", "type": "bytes4", "internalType": "bytes4" } ] }, { "type": "error", "name": "World_InvalidNamespace", "inputs": [ { "name": "namespace", "type": "bytes14", "internalType": "bytes14" } ] }, { "type": "error", "name": "World_InvalidResourceId", "inputs": [ { "name": "resourceId", "type": "bytes32", "internalType": "ResourceId" }, { "name": "resourceIdString", "type": "string", "internalType": "string" } ] }, { "type": "error", "name": "World_InvalidResourceType", "inputs": [ { "name": "expected", "type": "bytes2", "internalType": "bytes2" }, { "name": "resourceId", "type": "bytes32", "internalType": "ResourceId" }, { "name": "resourceIdString", "type": "string", "internalType": "string" } ] }, { "type": "error", "name": "World_ResourceAlreadyExists", "inputs": [ { "name": "resourceId", "type": "bytes32", "internalType": "ResourceId" }, { "name": "resourceIdString", "type": "string", "internalType": "string" } ] }, { "type": "error", "name": "World_ResourceNotFound", "inputs": [ { "name": "resourceId", "type": "bytes32", "internalType": "ResourceId" }, { "name": "resourceIdString", "type": "string", "internalType": "string" } ] }, { "type": "error", "name": "World_SystemAlreadyExists", "inputs": [ { "name": "system", "type": "address", "internalType": "address" } ] }, { "type": "error", "name": "World_UnlimitedDelegationNotAllowed", "inputs": [] } ]; export default abi;