mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-01 12:04:21 +01:00
* Add Chainflip exchange provider (#1807) * feat: add Chainflip exchange provider feat: add chainflip provider (fetchLimits and fetchRate) feat: add createTrade feat: add icon feat: add swap status feat: add FLIP to list feat: add to transaction list, with target amount feat: update receivedAmount with real values style: dart formatting feat: update received amount chore: cleanup space and typo * fix: use correct retryDurationInBlocks * feat: use secrets for api key --------- Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com> * Add secrets to workflow * revert boostfee change * minor ui fix [skip ci] --------- Co-authored-by: David Cumps <david@cumps.be>
This commit is contained in:
co-authored by
David Cumps
parent
199ada3fa9
commit
9cda2c99e7
@@ -16,6 +16,7 @@ abstract class TradeFilterStoreBase with Store {
|
||||
displaySimpleSwap = true,
|
||||
displayTrocador = true,
|
||||
displayExolix = true,
|
||||
displayChainflip = true,
|
||||
displayThorChain = true,
|
||||
displayLetsExchange = true,
|
||||
displayStealthEx = true;
|
||||
@@ -41,6 +42,9 @@ abstract class TradeFilterStoreBase with Store {
|
||||
@observable
|
||||
bool displayExolix;
|
||||
|
||||
@observable
|
||||
bool displayChainflip;
|
||||
|
||||
@observable
|
||||
bool displayThorChain;
|
||||
|
||||
@@ -56,7 +60,8 @@ abstract class TradeFilterStoreBase with Store {
|
||||
displaySideShift &&
|
||||
displaySimpleSwap &&
|
||||
displayTrocador &&
|
||||
displayExolix &&
|
||||
displayExolix &&
|
||||
displayChainflip &&
|
||||
displayThorChain &&
|
||||
displayLetsExchange &&
|
||||
displayStealthEx;
|
||||
@@ -85,11 +90,15 @@ abstract class TradeFilterStoreBase with Store {
|
||||
case ExchangeProviderDescription.exolix:
|
||||
displayExolix = !displayExolix;
|
||||
break;
|
||||
case ExchangeProviderDescription.chainflip:
|
||||
displayChainflip = !displayChainflip;
|
||||
break;
|
||||
case ExchangeProviderDescription.thorChain:
|
||||
displayThorChain = !displayThorChain;
|
||||
break;
|
||||
case ExchangeProviderDescription.letsExchange:
|
||||
displayLetsExchange = !displayLetsExchange;
|
||||
break;
|
||||
case ExchangeProviderDescription.stealthEx:
|
||||
displayStealthEx = !displayStealthEx;
|
||||
break;
|
||||
@@ -102,6 +111,7 @@ abstract class TradeFilterStoreBase with Store {
|
||||
displaySimpleSwap = false;
|
||||
displayTrocador = false;
|
||||
displayExolix = false;
|
||||
displayChainflip = false;
|
||||
displayThorChain = false;
|
||||
displayLetsExchange = false;
|
||||
displayStealthEx = false;
|
||||
@@ -113,6 +123,7 @@ abstract class TradeFilterStoreBase with Store {
|
||||
displaySimpleSwap = true;
|
||||
displayTrocador = true;
|
||||
displayExolix = true;
|
||||
displayChainflip = true;
|
||||
displayThorChain = true;
|
||||
displayLetsExchange = true;
|
||||
displayStealthEx = true;
|
||||
@@ -141,6 +152,8 @@ abstract class TradeFilterStoreBase with Store {
|
||||
item.trade.provider == ExchangeProviderDescription.simpleSwap) ||
|
||||
(displayTrocador && item.trade.provider == ExchangeProviderDescription.trocador) ||
|
||||
(displayExolix && item.trade.provider == ExchangeProviderDescription.exolix) ||
|
||||
(displayChainflip &&
|
||||
item.trade.provider == ExchangeProviderDescription.chainflip) ||
|
||||
(displayThorChain &&
|
||||
item.trade.provider == ExchangeProviderDescription.thorChain) ||
|
||||
(displayLetsExchange &&
|
||||
|
||||
Reference in New Issue
Block a user