UNPKG

@funkit/fun-relay

Version:
13 lines 700 B
import type { Address } from 'viem'; import { CheckoutRefundState, CheckoutState, type RelayExecutionInfo } from './types'; /** * Converts a token address within Funkit the corresponding Relay token address. */ export declare function convertFunToRelayTokenAddress(address: Address): Address; export declare function getRelayExecutionRefundState(info: RelayExecutionInfo): CheckoutRefundState | undefined; export declare function getRelayExecutionState(info: RelayExecutionInfo): CheckoutState; /** * Checks whether the Relay execution has reached a terminal status. */ export declare function isRelayExecutionTerminalStatus(info: RelayExecutionInfo): boolean; //# sourceMappingURL=utils.d.ts.map