1 | import { EnvironmentName } from './v2/environments';
|
2 | import { OfcTokenConfig } from './v2/coins/ofcToken';
|
3 | import { Erc20TokenConfig } from './v2/coins/erc20Token';
|
4 | import { StellarTokenConfig } from './v2/coins/stellarToken';
|
5 | import { CeloTokenConfig } from './v2/coins/celoToken';
|
6 | import { EosTokenConfig } from './v2/coins/eosToken';
|
7 | import { AlgoTokenConfig } from './v2/coins/algoToken';
|
8 | export interface Tokens {
|
9 | bitcoin: {
|
10 | eth: {
|
11 | tokens: Erc20TokenConfig[];
|
12 | };
|
13 | xlm: {
|
14 | tokens: StellarTokenConfig[];
|
15 | };
|
16 | algo: {
|
17 | tokens: AlgoTokenConfig[];
|
18 | };
|
19 | ofc: {
|
20 | tokens: OfcTokenConfig[];
|
21 | };
|
22 | celo: {
|
23 | tokens: CeloTokenConfig[];
|
24 | };
|
25 | eos: {
|
26 | tokens: EosTokenConfig[];
|
27 | };
|
28 | };
|
29 | testnet: {
|
30 | eth: {
|
31 | tokens: Erc20TokenConfig[];
|
32 | };
|
33 | xlm: {
|
34 | tokens: StellarTokenConfig[];
|
35 | };
|
36 | algo: {
|
37 | tokens: AlgoTokenConfig[];
|
38 | };
|
39 | ofc: {
|
40 | tokens: OfcTokenConfig[];
|
41 | };
|
42 | celo: {
|
43 | tokens: CeloTokenConfig[];
|
44 | };
|
45 | eos: {
|
46 | tokens: EosTokenConfig[];
|
47 | };
|
48 | };
|
49 | }
|
50 | export declare const ethGasConfigs: {
|
51 | minimumGasPrice: number;
|
52 | defaultGasPrice: number;
|
53 | maximumGasPrice: number;
|
54 | defaultGasLimit: number;
|
55 | defaultGasLimitTokenSend: number;
|
56 | minimumGasLimit: number;
|
57 | maximumGasLimit: number;
|
58 | };
|
59 | export declare const tokens: Tokens;
|
60 | export declare const mainnetTokens: {};
|
61 | export declare const testnetTokens: {};
|
62 | export declare const defaults: {
|
63 | maxFee: number;
|
64 | maxFeeRate: number;
|
65 | minFeeRate: number;
|
66 | fallbackFeeRate: number;
|
67 | minOutputSize: number;
|
68 | minInstantFeeRate: number;
|
69 | bitgoEthAddress: string;
|
70 | };
|
71 | export declare const supportedCrossChainRecoveries: {
|
72 | btc: string[];
|
73 | bch: string[];
|
74 | ltc: string[];
|
75 | bsv: string[];
|
76 | };
|
77 | export declare type KrsProvider = {
|
78 | feeType: 'flatUsd';
|
79 | feeAmount: number;
|
80 | supportedCoins: string[];
|
81 | feeAddresses?: Record<string, string>;
|
82 | };
|
83 | export declare const krsProviders: Record<string, KrsProvider>;
|
84 | export declare const coinGeckoBaseUrl = "https://api.coingecko.com/api/v3/";
|
85 |
|
86 |
|
87 |
|
88 |
|
89 |
|
90 |
|
91 |
|
92 | export declare const defaultConstants: (env: EnvironmentName) => {
|
93 | maxFee: number;
|
94 | maxFeeRate: number;
|
95 | minFeeRate: number;
|
96 | fallbackFeeRate: number;
|
97 | minOutputSize: number;
|
98 | minInstantFeeRate: number;
|
99 | bitgoEthAddress: string;
|
100 | } & ({
|
101 | eth: {
|
102 | tokens: Erc20TokenConfig[];
|
103 | };
|
104 | xlm: {
|
105 | tokens: StellarTokenConfig[];
|
106 | };
|
107 | algo: {
|
108 | tokens: AlgoTokenConfig[];
|
109 | };
|
110 | ofc: {
|
111 | tokens: OfcTokenConfig[];
|
112 | };
|
113 | celo: {
|
114 | tokens: CeloTokenConfig[];
|
115 | };
|
116 | eos: {
|
117 | tokens: EosTokenConfig[];
|
118 | };
|
119 | } | {
|
120 | eth: {
|
121 | tokens: Erc20TokenConfig[];
|
122 | };
|
123 | xlm: {
|
124 | tokens: StellarTokenConfig[];
|
125 | };
|
126 | algo: {
|
127 | tokens: AlgoTokenConfig[];
|
128 | };
|
129 | ofc: {
|
130 | tokens: OfcTokenConfig[];
|
131 | };
|
132 | celo: {
|
133 | tokens: CeloTokenConfig[];
|
134 | };
|
135 | eos: {
|
136 | tokens: EosTokenConfig[];
|
137 | };
|
138 | });
|
139 |
|
\ | No newline at end of file |