Skip to content

Commit

Permalink
fix: fixed circular deps (#54)
Browse files Browse the repository at this point in the history
In vault transactions

Co-authored-by: Valentine Panchin <vpanchyn@markerr.com>
  • Loading branch information
b2kdaman and Valentine Panchin authored Nov 8, 2021
1 parent bf75e8d commit 84a7272
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/programs/vault/transactions/ActivateVault.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TOKEN_PROGRAM_ID } from '@solana/spl-token';
import { PublicKey, TransactionCtorFields, TransactionInstruction } from '@solana/web3.js';
import BN from 'bn.js';
import { VaultInstructions } from '..';
import { VaultInstructions } from '../VaultProgram';
import { Transaction } from '../../../Transaction';
import { NumberOfShareArgs } from '../accounts/Vault';
import { VaultProgram } from '../VaultProgram';
Expand Down
2 changes: 1 addition & 1 deletion src/programs/vault/transactions/AddSharesToTreasury.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
TransactionInstruction,
} from '@solana/web3.js';
import BN from 'bn.js';
import { VaultInstructions } from '..';
import { VaultInstructions } from '../VaultProgram';
import { Transaction } from '../../../Transaction';
import { NumberOfShareArgs } from '../accounts/Vault';
import { VaultProgram } from '../VaultProgram';
Expand Down
2 changes: 1 addition & 1 deletion src/programs/vault/transactions/AddTokenToInactiveVault.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import BN from 'bn.js';
import { AmountArgs } from '../accounts/Vault';
import { Transaction } from '../../../Transaction';
import { VaultProgram } from '../VaultProgram';
import { VaultInstructions } from '..';
import { VaultInstructions } from '../VaultProgram';

type AddTokenToInactiveVaultParams = {
vault: PublicKey;
Expand Down
2 changes: 1 addition & 1 deletion src/programs/vault/transactions/CombineVault.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Borsh } from '@metaplex/utils';
import { TOKEN_PROGRAM_ID } from '@solana/spl-token';
import { PublicKey, TransactionCtorFields, TransactionInstruction } from '@solana/web3.js';
import { VaultInstructions } from '..';
import { VaultInstructions } from '../VaultProgram';
import { Transaction } from '../../../Transaction';
import { VaultProgram } from '../VaultProgram';

Expand Down
2 changes: 1 addition & 1 deletion src/programs/vault/transactions/InitVault.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
TransactionCtorFields,
TransactionInstruction,
} from '@solana/web3.js';
import { VaultInstructions } from '..';
import { VaultInstructions } from '../VaultProgram';
import { Transaction } from '../../../Transaction';
import { VaultProgram } from '../VaultProgram';

Expand Down
2 changes: 1 addition & 1 deletion src/programs/vault/transactions/MintFractionalShares.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ParamsWithStore } from '@metaplex/types';
import { TOKEN_PROGRAM_ID } from '@solana/spl-token';
import { PublicKey, TransactionCtorFields, TransactionInstruction } from '@solana/web3.js';
import BN from 'bn.js';
import { VaultInstructions } from '..';
import { VaultInstructions } from '../VaultProgram';
import { Transaction } from '../../../Transaction';
import { NumberOfShareArgs } from '../accounts/Vault';
import { VaultProgram } from '../VaultProgram';
Expand Down
2 changes: 1 addition & 1 deletion src/programs/vault/transactions/RedeemShares.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
TransactionCtorFields,
TransactionInstruction,
} from '@solana/web3.js';
import { VaultInstructions } from '..';
import { VaultInstructions } from '../VaultProgram';
import { Transaction } from '../../../Transaction';
import { VaultProgram } from '../VaultProgram';

Expand Down
2 changes: 1 addition & 1 deletion src/programs/vault/transactions/SetVaultAuthority.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Borsh } from '@metaplex/utils';
import { PublicKey, TransactionCtorFields, TransactionInstruction } from '@solana/web3.js';
import { VaultInstructions } from '..';
import { VaultInstructions } from '../VaultProgram';
import { Transaction } from '../../../Transaction';
import { VaultProgram } from '../VaultProgram';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ParamsWithStore } from '@metaplex/types';
import { Borsh } from '@metaplex/utils';
import { PublicKey, TransactionCtorFields, TransactionInstruction } from '@solana/web3.js';
import { VaultInstructions } from '..';
import { VaultInstructions } from '../VaultProgram';
import { Transaction } from '../../../Transaction';
import { ExternalPriceAccountData } from '../accounts/ExternalPriceAccount';
import { VaultProgram } from '../VaultProgram';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
TransactionInstruction,
} from '@solana/web3.js';
import BN from 'bn.js';
import { VaultInstructions } from '..';
import { VaultInstructions } from '../VaultProgram';
import { Transaction } from '../../../Transaction';
import { NumberOfShareArgs } from '../accounts/Vault';
import { VaultProgram } from '../VaultProgram';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
TransactionInstruction,
} from '@solana/web3.js';
import BN from 'bn.js';
import { VaultInstructions } from '..';
import { VaultInstructions } from '../VaultProgram';
import { Transaction } from '../../../Transaction';
import { AmountArgs } from '../accounts/Vault';
import { VaultProgram } from '../VaultProgram';
Expand Down

0 comments on commit 84a7272

Please sign in to comment.