/** * LoanCarryVault attestation constants (carry-contracts; spec D25, D40, D42, D60, D71, D80). * * The EIP-712 types below are the vault's (carry-contracts/src/libraries/CarrySignedTypes.sol) — field order is * normative and is proven byte-for-byte against carry-contracts/test-vectors/carry-eip712.json by * tests/carry/carry-attestation.unit.test.ts. Imported directly (not through constants/index.ts) so no other * action's bundle — and therefore no other CID — changes. */ /** keccak256 of these strings are the vault's action tags (D71 (1)). */ export declare const CARRY_TAG_COLLATERAL = "carry-collateral"; export declare const CARRY_TAG_FUNDING = "carry-funding"; /** borrowerKind (D45). v1 attests EOAs only: the Lit Action refuses a borrower with contract code. */ export declare const CARRY_BORROWER_KIND_EOA = 0; export declare const CARRY_COLLATERAL_TYPES: { CarryCollateralAttestation: { name: string; type: string; }[]; }; export declare const CARRY_FUNDING_TYPES: { CarryFundingAttestation: { name: string; type: string; }[]; }; /** Hourly funding rate × 1e8, signed (D60); the vault's |rate| cap is 4%/hour (CarryConfig.FUNDING_RATE_CAP). */ export declare const CARRY_FUNDING_RATE_DECIMALS = 8; export declare const CARRY_FUNDING_RATE_CAP = 4000000n; export declare const CARRY_HOUR_MS = 3600000; /** The newest sample used is the last hour boundary at least this far in the past, so every node sees it published. */ export declare const CARRY_FUNDING_PUBLICATION_LAG_MS: number; /** Hyperliquid's undocumented fundingHistory page size (notes *Funding history*). */ export declare const HYPERLIQUID_FUNDING_PAGE_LIMIT = 500; export declare const CARRY_HTTP_TIMEOUT_MS = 15000; /** The vault's instrument (D22, D23): the BTC perp. */ export declare const CARRY_PERP_COIN = "BTC"; /** Hyperliquid Info API per HyperEVM chain — never caller-supplied outside hardhat. */ export declare const HYPERLIQUID_INFO_URL: Record; /** * D40: the pinned pairing per SOURCE (Ethereum) chain — the HyperEVM chain and vault proxy the attestations are for, * and the dedicated carry signer (never the loan validator key). The action refuses any other domain or signer and * reads loans only from that chain's pinned PositionManager. A new vault or signer means a new CID. * * A chain with no row refuses (mainnet: carry is testnet-only — Master, 2026-10-01). */ export interface CarryPairing { hyperEvmChainId: number; /** LoanCarryVault PROXY on HyperEVM — the EIP-712 verifyingContract. */ vault: string; /** The carry signer wallet (Chipotle create_wallet address) registered in the vault's signer set. */ signer: string; } export declare const CARRY_PAIRINGS: Record; export declare function getCarryPairing(sourceChainId: number): CarryPairing | null; //# sourceMappingURL=carry.d.ts.map