UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

17 lines (16 loc) 906 B
import { type Address } from 'viem'; /** Action type signalling a Polymarket Perps deposit (USDC.e → pUSD → Perps). */ export declare const POLYMARKET_PERPS_DEPOSIT_ACTION_TYPE = "POLYMARKET_PERPS_DEPOSIT"; /** * Polymarket pUSD on Polygon. Perps deposits must land in pUSD on-chain, so * QR/UDA transfers for the deposit action target this address. */ export declare const POLYMARKET_PUSD_ADDRESS: `0x${string}`; /** * Customer-scoped destination-token override for the token-transfer param * builder. Polymarket Perps deposits must target pUSD on-chain regardless of * the configured target asset. Lives here (not in the now-core * `getCheckoutTokenTransferParams`) so the shared param builder stays * customer-agnostic — web resolves the override and injects it. */ export declare function getPolymarketPerpsTargetAssetOverride(qrcodeActionType: string | undefined): Address | undefined;