From 6c3e80b291f00880077aa9c973418de90f9ac6df Mon Sep 17 00:00:00 2001 From: Georges KABBOUCHI Date: Sun, 22 Aug 2021 21:32:28 +0300 Subject: [PATCH] wip --- components/TokenSelect.vue | 81 +++++++++++++++++++ components/TokenSelectOption.vue | 25 ++++++ components/common/input/InputAmount.vue | 6 +- .../context/strategy/SidebarStrategy.vue | 24 ++++-- composables/useStrategy.ts | 26 +++++- core/strategies/helpers/strategy.ts | 34 +++++--- .../protocols/aave-v2/deposit-and-borrow.ts | 18 +++-- 7 files changed, 182 insertions(+), 32 deletions(-) create mode 100644 components/TokenSelect.vue create mode 100644 components/TokenSelectOption.vue diff --git a/components/TokenSelect.vue b/components/TokenSelect.vue new file mode 100644 index 0000000..3bac487 --- /dev/null +++ b/components/TokenSelect.vue @@ -0,0 +1,81 @@ + + + \ No newline at end of file diff --git a/components/TokenSelectOption.vue b/components/TokenSelectOption.vue new file mode 100644 index 0000000..98b8ae1 --- /dev/null +++ b/components/TokenSelectOption.vue @@ -0,0 +1,25 @@ + + + \ No newline at end of file diff --git a/components/common/input/InputAmount.vue b/components/common/input/InputAmount.vue index 7e2474d..75168ad 100644 --- a/components/common/input/InputAmount.vue +++ b/components/common/input/InputAmount.vue @@ -92,7 +92,7 @@