ts: fix script
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
cc92389666
commit
7466123934
|
@ -132,19 +132,11 @@ async function debugUser(
|
|||
function getMaxForPerpWrapper(perpMarket: PerpMarket) {
|
||||
console.log(
|
||||
`getMaxQuoteForPerpBidUi ${perpMarket.perpMarketIndex} ` +
|
||||
mangoAccount.getMaxQuoteForPerpBidUi(
|
||||
group,
|
||||
perpMarket.perpMarketIndex,
|
||||
perpMarket.price.toNumber(),
|
||||
),
|
||||
mangoAccount.getMaxQuoteForPerpBidUi(group, perpMarket.perpMarketIndex),
|
||||
);
|
||||
console.log(
|
||||
`getMaxBaseForPerpAskUi ${perpMarket.perpMarketIndex} ` +
|
||||
mangoAccount.getMaxBaseForPerpAskUi(
|
||||
group,
|
||||
perpMarket.perpMarketIndex,
|
||||
perpMarket.price.toNumber(),
|
||||
),
|
||||
mangoAccount.getMaxBaseForPerpAskUi(group, perpMarket.perpMarketIndex),
|
||||
);
|
||||
}
|
||||
for (const perpMarket of Array.from(
|
||||
|
|
Loading…
Reference in New Issue