diff --git a/components/common/input/Input.vue b/components/common/input/Input.vue
new file mode 100644
index 0000000..8d7b0fe
--- /dev/null
+++ b/components/common/input/Input.vue
@@ -0,0 +1,23 @@
+
+
+
+
+
diff --git a/components/sidebar/context/SidebarWithdraw.vue b/components/sidebar/context/SidebarWithdraw.vue
new file mode 100644
index 0000000..0ff9f46
--- /dev/null
+++ b/components/sidebar/context/SidebarWithdraw.vue
@@ -0,0 +1,181 @@
+
+
+ Withdraw {{ symbol }}
+
+
+
+ {{ formatNumber(balance) }} {{ symbol }}
+
+
+
+
+
+ Withdrawal Address
+
+
+
+
+ You can only withdraw tokens to owner's address
+
+
+
+
+
+ Amount to withdraw
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Withdraw
+
+
+
+
+
+
+
+
+
diff --git a/components/sidebar/context/components/CurrencyList.vue b/components/sidebar/context/components/CurrencyList.vue
index d873a04..29945e0 100644
--- a/components/sidebar/context/components/CurrencyList.vue
+++ b/components/sidebar/context/components/CurrencyList.vue
@@ -10,6 +10,7 @@
:symbol="token.symbol"
:action-label="actionLabel"
@deposit="$router.push({ hash: 'deposit-overview?tokenKey=' + token.key })"
+ @withdraw="$router.push({ hash: 'withdraw-token?tokenKey=' + token.key })"
/>
diff --git a/components/sidebar/context/overview/CardCurrency.vue b/components/sidebar/context/overview/CardCurrency.vue
index 514d4e8..318a23c 100644
--- a/components/sidebar/context/overview/CardCurrency.vue
+++ b/components/sidebar/context/overview/CardCurrency.vue
@@ -24,7 +24,7 @@
diff --git a/composables/useSidebar.ts b/composables/useSidebar.ts
index f6447ff..ea5eefb 100644
--- a/composables/useSidebar.ts
+++ b/composables/useSidebar.ts
@@ -17,15 +17,17 @@ import SidebarAaveV2Withdraw from '~/components/sidebar/context/aaveV2/SidebarAa
import SidebarAaveV2Borrow from '~/components/sidebar/context/aaveV2/SidebarAaveV2Borrow.vue'
//@ts-ignore
import SidebarAaveV2Payback from '~/components/sidebar/context/aaveV2/SidebarAaveV2Payback.vue'
-
//@ts-ignore
import SidebarOverview from '~/components/sidebar/context/overview/SidebarOverview.vue'
//@ts-ignore
import SidebarDepositOverview from '~/components/sidebar/context/SidebarDepositOverview.vue'
+//@ts-ignore
+import SidebarWithdraw from '~/components/sidebar/context/SidebarWithdraw.vue'
const sidebars = {
"#overview" : {component: SidebarOverview, back : false, close : true },
- "#deposit-overview": {component: SidebarDepositOverview },
+ "#deposit-overview": {component: SidebarDepositOverview, back: { hash: 'overview' } },
+ '#withdraw-token': { component: SidebarWithdraw, back: { hash: 'overview' } },
"/polygon/aave-v2": { component: null },
"/polygon/aave-v2#supply": { component: SidebarAaveV2Supply },
"/polygon/aave-v2#borrow": { component: SidebarAaveV2Borrow },