UNPKG

@bancor/carbon-sdk

Version:

The SDK is a READ-ONLY tool, intended to facilitate working with Carbon contracts. It's a convenient wrapper around our matching algorithm, allowing programs and users get a ready to use transaction data that will allow them to manage strategies and fulfi

15 lines 757 B
import { EncodedStrategy } from '../../common/types'; import { UniV3CastStrategy } from './types'; /** * Converts a Carbon strategy to Uniswap V3 format * @param {EncodedStrategy} strategy - The Carbon strategy to convert * @returns {UniV3CastStrategy} The strategy in Uniswap V3 format */ export declare function castToUniV3(strategy: EncodedStrategy): UniV3CastStrategy; /** * Batch converts multiple encoded Carbon strategies to Uniswap V3 format * @param {EncodedStrategy[]} encodedStrategies - Array of encoded Carbon strategies * @returns {UniV3CastStrategy[]} Array of strategies in Uniswap V3 format */ export declare function batchCastToUniV3(encodedStrategies: EncodedStrategy[]): UniV3CastStrategy[]; //# sourceMappingURL=adapter.d.ts.map