Skip to content

Commit 1103fd9

Browse files
committed
ix funcions added
1 parent c516e2b commit 1103fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func Swap(client *rpc.Client, amountIn, amountOutMin uint64, sqrtPriceLimit bin.
7878
return sig, err
7979
}
8080

81-
func SwapIx(client *rpc.Client, amountIn, amountOutMin uint64, sqrtPriceLimit bin.Uint128, isBaseInput bool, tokenIn,
81+
func SwapIx(amountIn, amountOutMin uint64, sqrtPriceLimit bin.Uint128, isBaseInput bool, tokenIn,
8282
tokenOut, observationState, inputVault, outputVault, poolState, ammConfig, tickarray solana.PublicKey, owner solana.PrivateKey) ([]solana.Instruction, error) {
8383
amm_v32.ProgramID = RAYDIUM_PROGRAM_ID
8484
i := amm_v32.NewSwapInstruction(

0 commit comments

Comments
 (0)