solana/src/instructions/spl_token_swap/spl_token_swap library
Classes
- SolanaRPCSPLTokenSwapAccount
- SPLTokenSwapConst
- SPLTokenSwapCurveType
- Curve types supported by the token-swap program.
- SPLTokenSwapDepositLayout
- Deposit both types of tokens into the pool layoyt.
- SPLTokenSwapDepositSingleTokenLayout
- Deposit one type of tokens into the pool layout.
- SPLTokenSwapInitSwapLayout
- Initializes a new swap layout
- SPLTokenSwapProgram
- Instructions supported by the token swap program.
- SPLTokenSwapProgramInstruction
- SPLTokenSwapProgramLayout
- SPLTokenSwapSwapLayout
- Swap the tokens in the pool layout.
- SPLTokenSwapWithdrawLayout
- Withdraw both types of tokens from the pool layout.
- SPLTokenSwapWithdrawSingleTokenLayout
- Withdraw one token type from the pool layout.
- TokenSwapFees
- Encapsulates all fee information and calculations for swap operations