import type { Networkish } from '../types.js'; /** * Action hash for GOVERNANCE.PROPOSAL_CREATED * Used when creating proposals via SpaceRegistry.enter() */ export declare const PROPOSAL_CREATED_ACTION: `0x${string}`; /** * Action hash for GOVERNANCE.PROPOSAL_VOTED * Used when voting on proposals via SpaceRegistry.enter() */ export declare const PROPOSAL_VOTED_ACTION: `0x${string}`; /** * Action hash for GOVERNANCE.MEMBERSHIP_REQUESTED * Used when requesting membership in a DAO space via SpaceRegistry.enter() */ export declare const MEMBERSHIP_REQUESTED_ACTION: `0x${string}`; /** * Action hash for GOVERNANCE.PROPOSAL_EXECUTED * Used when executing a passed proposal via SpaceRegistry.enter() */ export declare const PROPOSAL_EXECUTED_ACTION: `0x${string}`; /** * Maps VoteOption strings to their on-chain uint8 values (IDAOSpace.VoteOption enum). */ export declare const VOTE_OPTION_VALUES: { readonly YES: 1; readonly NO: 2; readonly ABSTAIN: 3; }; /** * Empty topic (bytes32(0)) used for proposals */ export declare const EMPTY_TOPIC: "0x0000000000000000000000000000000000000000000000000000000000000000"; /** * Empty signature used when msg.sender == fromSpace */ export declare const EMPTY_SIGNATURE: "0x"; /** * Regex for bytes16 hex: 0x prefix + 32 hex characters (16 bytes) */ export declare const BYTES16_HEX_REGEX: RegExp; /** * Regex for bytes32 hex: 0x prefix + 64 hex characters (32 bytes) */ export declare const BYTES32_HEX_REGEX: RegExp; /** * Ensures a hex string has the 0x prefix. */ export declare function ensure0xPrefix(value: string): `0x${string}`; /** * Checks if a string is a valid bytes16 hex (0x prefix + 32 hex chars). */ export declare function isBytes16Hex(value: string): boolean; /** * Converts a bytes32 hex string to bytes16 by taking the first 16 bytes. */ export declare function toBytes16(hex32: `0x${string}`): `0x${string}`; /** * Converts a bytes16 hex string to bytes32 (left-aligned, right-padded with zeros). */ export declare function bytes16ToBytes32LeftAligned(bytes16Hex: `0x${string}`): `0x${string}`; export type DaoSpaceContractAddresses = { SPACE_REGISTRY_ADDRESS: `0x${string}`; }; /** * Get contract addresses based on network. */ export declare function getContractAddressesBasedOnNetwork(network: Networkish): DaoSpaceContractAddresses; //# sourceMappingURL=constants.d.ts.map