butterjs-sdk
Version:
Butter Network SDK
16 lines (15 loc) • 819 B
TypeScript
import { AddTokenPairParam } from '../../types';
/**
* TODO: need improvement!
* Approve the bridge of the token pair provided.
* @param srcToken source token
* @param targetToken target token
* @param feeBP bridge fee in BP(tenth of one percent)
* @param mapNetwork map network 'testnet' or 'mainnet'
* @param mapSigner map signer to sign transaction
* @param srcSigner src chain signer if src chain is a evm blockchain
* @param nearConfig near network configuration see {@link NearNetworkConfig}
* @param mapToken intermediary map token, if the token pair provided both from other blockchain than map,
* provide a map intermediary token
*/
export declare function addTokenPair({ srcToken, targetToken, feeRate, mapNetwork, mapSigner, srcSigner, nearConfig, mapToken, }: AddTokenPairParam): Promise<void>;