optimise imports
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
5fbc27e184
commit
041b8ecdd0
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue