/** * Shared constants for Clawtomaton. * * Gas estimates, profit thresholds, and re-exports of SDK addresses * so nothing is hardcoded in multiple places. */ import type { Address } from 'viem'; import { BASE_WETH, NATIVE_TOKEN_ADDRESS } from '@clawnch/clawncher-sdk'; /** Gas per transaction on Base (overestimate for safety) */ export declare const GAS_PER_TX = 150000n; /** Number of txs in a full claimAll (collectRewards + claimFees WETH + claimFees token) */ export declare const CLAIM_TX_COUNT = 3n; /** Minimum net profit in WETH to justify claiming (0.0005 ETH ~ $1.25) */ export declare const MIN_CLAIM_PROFIT_WEI: bigint; /** Cost of one inference call in ETH-equivalent terms (~$0.50) */ export declare const INFERENCE_COST_ETH_EQUIV: bigint; /** Re-export SDK addresses so nothing is hardcoded elsewhere */ export { BASE_WETH, NATIVE_TOKEN_ADDRESS }; /** USDC on Base mainnet */ export declare const BASE_USDC: Address; /** USDC has 6 decimals */ export declare const USDC_DECIMALS = 6; /** BUNKER token on Base mainnet (MOLT BUNKER ERC-20) */ export declare const BUNKER_TOKEN_ADDRESS: Address; /** Default MoltBunker API URL */ export declare const BUNKER_API_URL = "https://api.moltbunker.com/v1"; /** Docker image for self-deployment to MoltBunker */ export declare const BUNKER_DOCKER_IMAGE = "ghcr.io/clawnch/clawtomaton:latest"; /** Hours before runtime expiry to trigger wake condition */ export declare const BUNKER_EXPIRY_WARN_HOURS = 48; /** Default bunker runtime duration in hours (30 days) */ export declare const BUNKER_DEFAULT_DURATION_HOURS = 720; /** Time window for computing net earnings (7 days) */ export declare const EARNING_THROTTLE_WINDOW_MS: number; /** * Earning throttle tiers: if 7-day net P&L is below the loss threshold, * the heartbeat MIN_RUN_INTERVAL_MS is multiplied by the multiplier. * Checked from most severe (highest loss) to least. */ export declare const EARNING_THROTTLE_TIERS: Array<{ lossThresholdEth: number; multiplier: number; }>; /** Minimum interval between analytics signal checks (1 hour) */ export declare const ANALYTICS_CHECK_INTERVAL_MS: number; //# sourceMappingURL=constants.d.ts.map