From 4fa62f35fc8591d540845d3dd30163b541245c09 Mon Sep 17 00:00:00 2001 From: onmax Date: Tue, 13 Aug 2024 16:21:37 +0200 Subject: [PATCH] chore(swap crc): implemented swap logic --- src/components/DualCurrencyInput.vue | 41 +- src/components/modals/AssetTransferModal.vue | 165 +- .../SinpeMovilMobileVerificationModal.vue | 42 +- src/components/swap/SwapAnimation.vue | 14 +- src/components/swap/SwapNotification.vue | 15 +- src/components/swap/animation/sinpe-movil.svg | 1 + src/composables/asset-transfer/types.ts | 13 +- .../asset-transfer/useSinpeMovilSwap.ts | 178 +- src/lib/swap/utils/CommonUtils.ts | 4 +- src/main.ts | 3 + src/stores/SinpeMovil.ts | 24 +- src/stores/Swaps.ts | 2 + yarn.lock | 11848 ++++++++++++++++ 13 files changed, 12130 insertions(+), 220 deletions(-) create mode 100644 src/components/swap/animation/sinpe-movil.svg create mode 100644 yarn.lock diff --git a/src/components/DualCurrencyInput.vue b/src/components/DualCurrencyInput.vue index a34bc597a..b58051902 100644 --- a/src/components/DualCurrencyInput.vue +++ b/src/components/DualCurrencyInput.vue @@ -2,7 +2,8 @@
- +