OmarHatem
a9f0466825
Revert SimpleSwap changes since we disabled it for fixed rate
2022-12-06 20:10:26 +02:00
OmarHatem
f14c01303f
- Add whether this provide supports fixed rate or not
...
- Fix Change now fixed rate exchange due to wrong rate id
2022-12-06 19:23:46 +02:00
OmarHatem
e65bd87f06
Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-271-fixed-rate-incorrect-amount
2022-12-06 17:33:08 +02:00
Omar Hatem
50fd6accef
Merge pull request #623 from cake-tech/fix-trade-datails-screen-for-SideShift
...
CW-255 SideShift confirm sending screen bug
2022-12-06 17:30:05 +02:00
Omar Hatem
fa5c705bc8
Add nullability to status
String [skip ci]
2022-12-06 17:29:44 +02:00
Serhii
f29f17476c
add null check [skip ci]
2022-12-06 17:14:07 +02:00
OmarHatem
8514887da6
Negate is Fixed rate mode in simpleswap
2022-12-06 15:40:40 +02:00
Serhii
35b7c05bc1
fix null check
2022-12-06 11:41:25 +02:00
OmarHatem
cbe31aa5aa
Revert allowing nullable values for input and refund addresses
2022-12-01 18:21:19 +02:00
OmarHatem
47764835c3
Fix nullability issue in create trade response
2022-12-01 18:09:21 +02:00
Serhii
292c4c396c
remove HUSD and rename BTTBSC
2022-11-30 23:53:57 +02:00
Serhii
6988637266
fix fetching trade state for SideShift
2022-11-13 20:06:45 +02:00
Serhii
1f08d87471
Rework filter on the transactions list screen
2022-11-10 13:25:03 +02:00
mkyq
d99aac9d98
Cast rateId as optional String for calculateAmount for ChangeNow api. ( #612 )
2022-11-08 15:57:33 -05:00
mkyq
5d741b183f
Add default values for hive fields for Node, UnspentCoinsInfo, Wallet… ( #598 )
...
* Add default values for hive fields for Node, UnspentCoinsInfo, WalletInfo, Order, Contact, TransactionDescription, Trade
2022-11-04 15:55:21 -04:00
mkyq
8e70b611d0
move amount_converter to cw_core ( #588 )
...
Co-authored-by: Serhii <borodenko.sv@gmail.com>
2022-11-03 14:45:50 -04:00
mkyq
b182c26ff2
Update hive types: UnspentCoinsInfo, Template, ExchangeTemplate. ( #583 )
2022-11-01 17:43:39 -04:00
Godwin Asuquo
95ecf4ef56
Cw 181 simple swap extra id fix ( #532 )
...
* extra id for simple swap
2022-10-25 16:36:28 -04:00
Omar Hatem
4279b82bca
exclude zzec currency from simple swap ( #516 )
2022-10-20 13:54:00 -04:00
Omar Hatem
7e7217008c
Cw 171 exchange auto selector bug ( #523 )
...
* Fix de-selecting exchange providers not getting saved
* only change field value when the amount is better than the already existing one
* Show calculated amount after getting the best value from all providers
* Catch exceptions to avoid stopping the providers calculate amount APIs
* Fix Splay map only saving the last value obtained
* Show limits for the provider with the highest rate
* Load limits on currency pair change
* Show limits for lowest min provider
* Show limits for lowest min and highest max
* Sync best rate every 10 seconds instead of calculating it on every amount change
* Fix conflicts with flutter upgrade
Add null safety to changes in exchange_view_model.dart
* Remove un-necessary checks
2022-10-20 13:47:36 -04:00
Omar Hatem
6046385236
Cw 178 additional accents for exchange ( #526 )
...
* Fix SimpleSwap create exchange (#522 )
* Check for status code 201 instead of 200 to follow SimpleSwap API documentation
* allow 200 and 201 success status code
* Changed app version to 4.4.7 (1.1.1 for monero.com)
* Add new currencies
Separate a list for unsupported currencies for SideShift
Fix currencies normalization symbols
* Add new currencies
* Add Currencies validation and possible length
Co-authored-by: M <m@cakewallet.com>
2022-10-20 13:23:36 -04:00
Omar Hatem
a2dfbc6076
Fix exchange limits issue ( #545 )
...
* Allow nullable values from limits API
* Handle null values in SideShift limits API response
2022-10-19 18:20:11 -04:00
M
1beb18b045
Flutter upgrade
2022-10-12 13:09:57 -04:00
Serhii
f59c2fbd2b
add new coins to exchange ( #499 )
...
* add new coins
APE, AVAXC, BTT, BTTBSC, DOGE, FIRO, USDTTRC20, HBAR, SC, SOL, USDC, USDCSOL, ZEN, XVG
* remove UST icon
* remove xhv from excludeDepositCurrencies
* remove xhv from excludeReceiveCurrencies
2022-09-07 13:10:21 +01:00
mkyq
04be884357
Enable exchange for haven wallets. ( #495 )
2022-09-01 19:46:14 +01:00
Omar Hatem
c50eeee58b
CW 68 exchange automatic rate selector ( #472 )
...
* Add 'Exchange provider picker'
Save user selections
* Save user's exchange providers selection
* Add text for selected providers availability
* Fix selected providers not updating
* Load limits based on highest maximum in the selected providers
* Change received and deposit amount to be the best value from the selected providers
* Add provider name next to Trade ID
Set selected provider based on amount calculated
* Grey out providers who doesn't support selected currency pair
* Fix disabled providers
* Add Provider logo in Confirm Screen
* Only choose a provider if it satisfies its limits
* Fix amount validation
* Fix typo in error message
* Add a queue of possible exchange providers sorted by the best rate to try next if one failed
* Fix string locale typo
* Add Localization for other languages
* Add Placeholder text when there are no providers selected
* Check Exchange provider availability before creating a trade
* Fix "Fixed Rate" changing unconditionally
* Enable "convert to" field regardless of the provider
* Remove "Choose one" from providers picker
* Merge Master
* Fix Conflicts with master
* Add missing isEnabled field in simple swap provider
2022-09-01 15:12:38 +01:00
Godwin Asuquo
d9905a7cf3
Cw 110 integrate simple swap exchange ( #459 )
...
* add support for SimpleSwap exchange
* fix edit receive amount field
* fixed merge conflicts
* Fix issues from code review
2022-08-31 16:34:07 +01:00
M
d62131e649
Remove using of api key for sideshift.
2022-08-09 17:51:52 +01:00
Serhii
52b8bafac9
Exchange screens access improvements ( #409 )
...
* move tag prop to the crypto currency
* add currency icons
2022-07-11 16:20:16 +01:00
Godwin Asuquo
6378d052ac
Cw 72 implement sideshift exchange ( #332 )
...
* add sideshift exchange provider
* add secret key
* Fix issues
* Fix issues
* refactor code
* add permission checks to side shift
* fix formatting issues
2022-04-13 14:28:21 +01:00
M
56cd6c26ed
Fixes for network based pairs for changenow. Fixes for address validation for ustd address.
2022-02-08 10:57:02 +02:00
M
02de3104eb
Fixed rate for changenow.
2022-01-26 17:44:15 +02:00
M
e6b1da376d
Configure wallet types for the app
2021-12-24 14:41:34 +02:00
OleksandrSobol
1fccb0b546
Merge branch 'main' into CAKE-306-add-moonpay-option-for-btc-buying
...
# Conflicts:
# lib/buy/wyre/wyre_buy_provider.dart
# lib/di.dart
# lib/src/screens/dashboard/dashboard_page.dart
# lib/view_model/dashboard/dashboard_view_model.dart
# res/values/strings_de.arb
# res/values/strings_en.arb
# res/values/strings_es.arb
# res/values/strings_hi.arb
# res/values/strings_ja.arb
# res/values/strings_ko.arb
# res/values/strings_nl.arb
# res/values/strings_pl.arb
# res/values/strings_pt.arb
# res/values/strings_ru.arb
# res/values/strings_uk.arb
# res/values/strings_zh.arb
2021-05-28 12:06:50 +03:00
OleksandrSobol
3675350452
CAKE-314 | changed bnb crypto currency to bnb bep2; removed bnb bep2 from receive currency list on exchange page
2021-04-30 12:46:15 +03:00
OleksandrSobol
697fc7f5a5
CAKE-306 | reworked buy_list_item.dart and pre_order_page.dart; added clear button to pre_order_page.dart; fixed order_row.dart and order_details_view_model.dart; added MoonPay statuses to trade_state.dart
2021-04-14 21:23:10 +03:00
M
db75167302
Changed monero dependencies path for android. Changed scripts for generation of secrets.
2021-03-16 15:20:46 +02:00
OleksandrSobol
6245dfe885
CAKE-284 | added static function defineUrlForCalculatingAmount() to changenow_exchange_provider.dart; fixed FAQ in the support_view_model.dart
2021-03-01 20:16:28 +02:00
OleksandrSobol
ae96213aad
CAKE-278 | added expireAt to Trade() for exchange with fixed rate
2021-02-22 18:04:37 +02:00
OleksandrSobol
fb6e7de166
CAKE-278 | fixed calculating estimated amount when receive amount is entered; fixed applyTemplate() method in the exchange_page.dart and reset() method in the exchange_view_model.dart
2021-02-19 10:37:30 +02:00
OleksandrSobol
6e102c4969
CAKE-278 | applied fixed-rate flow to changenow_exchange_provider.dart, exchange_view_model.dart and exchange_page.dart; added isFixedRateMode to fetchLimits(), createTrade() and calculateAmount() methods in the exchange_provider.dart
2021-02-18 21:08:52 +02:00
M
47ceac2dd6
Backup stuff.
2021-01-15 19:41:30 +02:00
M
48c48bd3db
Force added User-Agent header field to all requests to xmr.to
2020-12-15 20:41:06 +02:00
OleksandrSobol
df01fa0314
CAKE-185 | removed isValidAmount() from exchange_view_model.dart and exchange_page.dart; throw exception in the createTrade() (xmrto_exchange_provider.dart) if number of fractional digits of amount more than 8
2020-12-03 23:22:56 +02:00
OleksandrSobol
458079d3ae
CAKE-185 | added title property to TradeIsCreatedFailure class; applied title property in the createTrade() method (exchange_view_model.dart); applied title property as alert title in the exchange_page.dart
2020-12-02 21:51:06 +02:00
M
93049b4aa1
Fixes for exchanges. CAKE-159.
2020-11-10 16:58:40 +02:00
M
c86c44a936
CAKE-161
2020-11-10 13:46:58 +02:00
M
588d93c1a4
Fixes
2020-10-24 15:55:24 +03:00
OleksandrSobol
56258de341
Merge branch 'new-world' into CAKE-43-xmr_to-amount-entering
...
# Conflicts:
# lib/src/screens/dashboard/dashboard_page.dart
2020-09-28 21:31:58 +03:00
OleksandrSobol
bc85058ad8
CAKE-43 | added the ability to enter an amount for xmr.to exchange in both currencies xmr and btc; added isReceiveAmountEntered to ExchangeViewModel; added receiveAmount and isBTCRequest to XMRTOTradeRequest; added isReceiveAmount to calculateAmount method of ExchangeProvider; fixed XMRTOExchangeProvider
2020-09-25 22:55:41 +03:00
OleksandrSobol
360e04cc4c
CAKE-53 | added dai to cryptocurrencies list; added dai to currency picker; added dai logo to contact list page; added address validator for dai
2020-09-24 21:58:07 +03:00
M
e4ebfc94b2
Part 1
2020-09-21 14:50:26 +03:00