Skip to content

Commit

Permalink
remove close vamm
Browse files Browse the repository at this point in the history
  • Loading branch information
lehieuhust committed Jan 31, 2024
1 parent 9ff03b0 commit 738567c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/vamm_price/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ export async function queryAllVammSpotPrice(
client,
insurance
);
const allVamms = await insuranceClient.getAllVamm({});
const promiseSpotPrice = allVamms.vamm_list.map((item) =>
const allVamms = [
"orai1hgc4tmvuj6zuagyjpjjdrgwzj6ncgclm0n6rn4vwjg3wdxxyq0fs9k3ps9",
"orai1rujsndzwez98c9wg8vfp0fcjfeprddnlud5dweesd3j0qume9nzqvs0ykn",
];
const promiseSpotPrice = allVamms.map((item) =>
querySpotPrice(client, item)
);
const listvammPrices = await Promise.all(promiseSpotPrice);
Expand Down

0 comments on commit 738567c

Please sign in to comment.