mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00: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:
parent
199ada3fa9
commit
9cda2c99e7
21 changed files with 413 additions and 21 deletions
|
@ -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 &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue