We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c516e2b commit 1103fd9Copy full SHA for 1103fd9
swap.go
@@ -78,7 +78,7 @@ func Swap(client *rpc.Client, amountIn, amountOutMin uint64, sqrtPriceLimit bin.
78
return sig, err
79
}
80
81
-func SwapIx(client *rpc.Client, amountIn, amountOutMin uint64, sqrtPriceLimit bin.Uint128, isBaseInput bool, tokenIn,
+func SwapIx(amountIn, amountOutMin uint64, sqrtPriceLimit bin.Uint128, isBaseInput bool, tokenIn,
82
tokenOut, observationState, inputVault, outputVault, poolState, ammConfig, tickarray solana.PublicKey, owner solana.PrivateKey) ([]solana.Instruction, error) {
83
amm_v32.ProgramID = RAYDIUM_PROGRAM_ID
84
i := amm_v32.NewSwapInstruction(
0 commit comments