UNPKG

@0xsplits/splits-sdk

Version:

SDK for the 0xSplits protocol

8 lines (7 loc) 574 B
import { GqlOracle, GqlSwapper, IOracle, ISwapper } from './types'; import { Swapper } from '../types'; export declare const ORACLE_FIELDS_FRAGMENT: import("@urql/core").TypedDocumentNode<any, import("@urql/core").AnyVariables>; export declare const SWAPPER_FIELDS_FRAGMENT: import("@urql/core").TypedDocumentNode<any, import("@urql/core").AnyVariables>; export declare const formatGqlOracle: (arg0: GqlOracle) => IOracle; export declare const formatGqlSwapper: (arg0: GqlSwapper) => ISwapper; export declare const protectedFormatSwapper: (gqlSwapper: ISwapper) => Swapper;