/** * Opacus ERC Standards SDK * * Provides TypeScript clients for the 6 Opacus ERC standards (ERC-7750–7755). * Each standard collects a 1% protocol fee to the Opacus treasury on every * on-chain interaction. * * Use-case quick guide * -------------------- * ERC-7750 OpacusNitro — AI agent hires someone for a task and pays on-chain. * e.g. "Summarise this PDF" → pay 10 USDC → agent earns 9.9 USDC * ERC-7751 H3Routing — Register / discover agents by location (H3 hex grid). * e.g. "Find agents within 50 km of Istanbul with GPT capability" * ERC-7752 ZeroGBridge — Cross-chain token transfers without gas on destination. * e.g. "Send 100 USDC from Base to 0G chain" * ERC-7753 EscrowV2 — Two-party escrow with dispute arbitration. * e.g. "Lock 500 USDC, release only when freelancer delivers" * ERC-7754 CrossChainMint — Lock on source chain, mint wrapped token on destination. * e.g. "Wrap BASE-USDC → OG-USDC" * ERC-7755 KineticScore — On-chain agent reputation score (0–10,000 bps). * e.g. "Only hire agents with score ≥ 8000" */ export { NitroClient } from './ERC7750NitroClient.js'; export { H3RoutingClient } from './ERC7751H3RoutingClient.js'; export { BridgeClient } from './ERC7752BridgeClient.js'; export { EscrowClient } from './ERC7753EscrowClient.js'; export { MintClient } from './ERC7754MintClient.js'; export { KineticClient } from './ERC7755KineticClient.js'; export { QuicTransportClient, TransportMode } from './ERC7756QuicClient.js'; export { ERC8004RegistrationClient } from './ERC8004RegistrationClient.js'; export { latLngToH3Cell, citadelDID, h3FromDID, distKm, buildIoTConfig, H3_RESOLUTION_KM2, CITY_PRESETS, } from './H3LocationHelper.js'; export type { IoTAgentConfig } from './H3LocationHelper.js'; export type { NitroTask, NitroSubmitOptions } from './ERC7750NitroClient.js'; export type { AgentRecord, DiscoverOptions } from './ERC7751H3RoutingClient.js'; export type { BridgeIntent, BridgeSubmitOptions } from './ERC7752BridgeClient.js'; export type { EscrowRecord, EscrowCreateOptions } from './ERC7753EscrowClient.js'; export type { CrossTransfer, InitiateTransferOptions } from './ERC7754MintClient.js'; export type { AgentScore, ScoreBreakdown } from './ERC7755KineticClient.js'; export type { QuicEndpoint, RegisterEndpointOptions } from './ERC7756QuicClient.js'; export type { AgentRegistrationFile, ServiceEndpoint, OpacusExtension, FetchOptions } from './ERC8004RegistrationClient.js'; /** Opacus Protocol treasury — receives 1 % fee from all ERC-775x contracts */ export declare const OPACUS_TREASURY = "0xA943F46eE5f977067f07565CF1d31A10B68D7718"; /** Protocol fee in basis points (100 bps = 1 %) */ export declare const PROTOCOL_FEE_BPS = 100; /** * Helper: calculate the gross amount needed so that after the 1 % fee the * recipient receives exactly `netAmount`. * * @example * // User wants to pay the agent 99 USDC exactly * const gross = toGross(99n * 10n**6n); // → 100_000_000n (100 USDC) */ export declare function toGross(netAmount: bigint): bigint; /** * Helper: calculate the fee that will be deducted from a gross amount. * * @example * const fee = calcFee(100n * 10n**6n); // → 1_000_000n (1 USDC) */ export declare function calcFee(grossAmount: bigint): bigint; //# sourceMappingURL=index.d.ts.map