fix ts calls

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2023-08-07 11:36:13 +02:00
parent 98cbf2df59
commit a6b6fbbb82
1 changed files with 7 additions and 11 deletions

View File

@ -1,19 +1,12 @@
import { AnchorProvider, BN, Wallet } from '@coral-xyz/anchor';
import { Cluster, Connection, Keypair, PublicKey } from '@solana/web3.js';
import { assert } from 'console';
import fs from 'fs';
import { Bank } from '../../src/accounts/bank';
import { MangoAccount } from '../../src/accounts/mangoAccount';
import {
PerpMarket,
PerpOrderSide,
PerpOrderType,
} from '../../src/accounts/perp';
import {
Serum3OrderType,
Serum3SelfTradeBehavior,
Serum3Side,
} from '../../src/accounts/serum3';
MangoAccount,
TokenConditionalSwapDisplayPriceStyle,
} from '../../src/accounts/mangoAccount';
import { PerpMarket } from '../../src/accounts/perp';
import { Builder } from '../../src/builder';
import { MangoClient } from '../../src/client';
import {
@ -194,6 +187,7 @@ async function main() {
0.01,
true,
true,
TokenConditionalSwapDisplayPriceStyle.buyTokenPerSellToken,
);
}
@ -216,6 +210,7 @@ async function main() {
0.01,
true,
true,
TokenConditionalSwapDisplayPriceStyle.buyTokenPerSellToken,
);
}
@ -238,6 +233,7 @@ async function main() {
0.01,
true,
true,
TokenConditionalSwapDisplayPriceStyle.buyTokenPerSellToken,
);
}