Skip to content

Commit

Permalink
Update so once again
Browse files Browse the repository at this point in the history
  • Loading branch information
alittlezz committed Jun 20, 2024
1 parent 447f370 commit 7cc02dc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
Binary file modified deps/kamino.so
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ export interface EmergencySwapAccounts {
adminAuthority: PublicKey
strategy: PublicKey
globalConfig: PublicKey
tokenAMint: PublicKey
tokenBMint: PublicKey
tokenAVault: PublicKey
tokenBVault: PublicKey
baseVaultAuthority: PublicKey
Expand Down Expand Up @@ -49,6 +51,8 @@ export function emergencySwap(
{ pubkey: accounts.adminAuthority, isSigner: true, isWritable: true },
{ pubkey: accounts.strategy, isSigner: false, isWritable: true },
{ pubkey: accounts.globalConfig, isSigner: false, isWritable: false },
{ pubkey: accounts.tokenAMint, isSigner: false, isWritable: false },
{ pubkey: accounts.tokenBMint, isSigner: false, isWritable: false },
{ pubkey: accounts.tokenAVault, isSigner: false, isWritable: true },
{ pubkey: accounts.tokenBVault, isSigner: false, isWritable: true },
{ pubkey: accounts.baseVaultAuthority, isSigner: false, isWritable: true },
Expand All @@ -59,7 +63,7 @@ export function emergencySwap(
{ pubkey: accounts.tickArray0, isSigner: false, isWritable: true },
{ pubkey: accounts.tickArray1, isSigner: false, isWritable: true },
{ pubkey: accounts.tickArray2, isSigner: false, isWritable: true },
{ pubkey: accounts.oracle, isSigner: false, isWritable: false },
{ pubkey: accounts.oracle, isSigner: false, isWritable: true },
{ pubkey: accounts.poolProgram, isSigner: false, isWritable: false },
{ pubkey: accounts.scopePrices, isSigner: false, isWritable: false },
{ pubkey: accounts.tokenInfos, isSigner: false, isWritable: false },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export interface OrcaSwapAccounts {
tokenVaultA: PublicKey
tokenOwnerAccountB: PublicKey
tokenVaultB: PublicKey
tokenMintA: PublicKey
tokenMintB: PublicKey
tickArray0: PublicKey
tickArray1: PublicKey
tickArray2: PublicKey
Expand Down Expand Up @@ -54,6 +56,8 @@ export function orcaSwap(
{ pubkey: accounts.tokenVaultA, isSigner: false, isWritable: false },
{ pubkey: accounts.tokenOwnerAccountB, isSigner: false, isWritable: false },
{ pubkey: accounts.tokenVaultB, isSigner: false, isWritable: false },
{ pubkey: accounts.tokenMintA, isSigner: false, isWritable: false },
{ pubkey: accounts.tokenMintB, isSigner: false, isWritable: false },
{ pubkey: accounts.tickArray0, isSigner: false, isWritable: false },
{ pubkey: accounts.tickArray1, isSigner: false, isWritable: false },
{ pubkey: accounts.tickArray2, isSigner: false, isWritable: false },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function swapUnevenVaults(
{ pubkey: accounts.tickArray0, isSigner: false, isWritable: true },
{ pubkey: accounts.tickArray1, isSigner: false, isWritable: true },
{ pubkey: accounts.tickArray2, isSigner: false, isWritable: true },
{ pubkey: accounts.oracle, isSigner: false, isWritable: false },
{ pubkey: accounts.oracle, isSigner: false, isWritable: true },
{ pubkey: accounts.poolProgram, isSigner: false, isWritable: false },
{ pubkey: accounts.scopePrices, isSigner: false, isWritable: false },
{ pubkey: accounts.tokenInfos, isSigner: false, isWritable: false },
Expand Down

0 comments on commit 7cc02dc

Please sign in to comment.