optimise imports

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-04-02 20:17:08 +02:00
parent 5fbc27e184
commit 041b8ecdd0
4 changed files with 9 additions and 12 deletions

View File

@ -4,13 +4,11 @@ import * as spl from '@solana/spl-token';
import fs from 'fs';
import { MangoClient } from './client';
import {
closeMangoAccount,
createGroup,
createMangoAccount,
deposit,
getBank,
getBankForGroupAndMint,
getBanksForGroup,
getGroupForAdmin,
getMangoAccount,
getMangoAccountsForGroupAndOwner,

View File

@ -1,15 +1,15 @@
import { BN, ProgramAccount } from '@project-serum/anchor';
import { TransactionInstruction } from '@solana/web3.js';
import { Transaction } from '@solana/web3.js';
import { Keypair, PublicKey, SYSVAR_RENT_PUBKEY } from '@solana/web3.js';
import { BN } from '@project-serum/anchor';
import {
Keypair,
PublicKey,
SYSVAR_RENT_PUBKEY,
Transaction,
TransactionInstruction,
} from '@solana/web3.js';
import * as bs58 from 'bs58';
import { Key } from 'readline';
import { MangoClient } from './client';
import { Bank, Group, MangoAccount, Serum3Market } from './types';
import { debugAccountMetas } from './utils';
import * as borsh from '@project-serum/borsh';
import { I80F48 } from './I80F48';
import { stat } from 'fs';
//
// group

View File

@ -1,4 +1,4 @@
import { PublicKey, SystemProgram, SYSVAR_RENT_PUBKEY } from '@solana/web3.js';
import { PublicKey } from '@solana/web3.js';
import BN from 'bn.js';
import { I80F48 } from './I80F48';

View File

@ -1,5 +1,4 @@
import { AccountMeta } from '@solana/web3.js';
import { PublicKey } from '@solana/web3.js';
export function debugAccountMetas(ams: AccountMeta[]) {
for (const am of ams) {