Mp 2565 api for active vaults (#239)

* feat: get deposited vaults functions

* feat: functional improvements

* cleanup: logging

* cleanup: remove unused import

* update: naming conventions
This commit is contained in:
Yusuf Seyrek
2023-06-05 08:31:46 +02:00
committed by GitHub
parent 9d09ebdf77
commit 2156431355
6 changed files with 235 additions and 7 deletions
-1
View File
@@ -5,7 +5,6 @@ import { getClient } from 'api/cosmwasm-client'
export default async function getAccounts(address: string): Promise<Account[]> {
const accountIds: string[] = await getWalletAccountIds(address)
const client = await getClient()
const $accounts: Promise<AccountResponse>[] = accountIds.map((accountId) =>