mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
feat: add wbtc.eth, usdt.sol, usdt.arb on chainflip, fix usdc.arb and eth.arb (#3050)
This commit is contained in:
@@ -24,11 +24,13 @@ class ChainflipExchangeProvider extends ExchangeProvider {
|
||||
CryptoCurrency.usdc,
|
||||
CryptoCurrency.usdterc20,
|
||||
CryptoCurrency.flip,
|
||||
CryptoCurrency.wbtc,
|
||||
CryptoCurrency.sol,
|
||||
CryptoCurrency.usdcsol,
|
||||
CryptoCurrency.usdtSol,
|
||||
CryptoCurrency.arbEth,
|
||||
CryptoCurrency.usdcArb,
|
||||
// TODO: Add CryptoCurrency.dot
|
||||
CryptoCurrency.usdtArb,
|
||||
];
|
||||
|
||||
static const _baseURL = 'chainflip-broker.io';
|
||||
@@ -338,6 +340,7 @@ class ChainflipExchangeProvider extends ExchangeProvider {
|
||||
final networkName = switch (name) {
|
||||
'BITCOIN' => 'Bitcoin',
|
||||
'ETHEREUM' => 'Ethereum',
|
||||
'ARBITRUM' => 'Arbitrum',
|
||||
'SOLANA' => 'Solana',
|
||||
_ => name
|
||||
};
|
||||
@@ -353,8 +356,12 @@ class ChainflipExchangeProvider extends ExchangeProvider {
|
||||
'usdc.eth' => CryptoCurrency.usdc,
|
||||
'usdt.eth' => CryptoCurrency.usdterc20,
|
||||
'flip.eth' => CryptoCurrency.flip,
|
||||
'wbtc.eth' => CryptoCurrency.wbtc,
|
||||
'sol.sol' => CryptoCurrency.sol,
|
||||
'usdc.sol' => CryptoCurrency.usdcsol,
|
||||
'eth.arb' => CryptoCurrency.arbEth,
|
||||
'usdc.arb' => CryptoCurrency.usdcArb,
|
||||
'usdt.arb' => CryptoCurrency.usdtArb,
|
||||
_ => null
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user