Type alias SwapBondingCurveV2InstructionAccounts

SwapBondingCurveV2InstructionAccounts: {
    associatedTokenProgram?: PublicKey | Pda;
    backendSigner?: Signer;
    baseMint: PublicKey | Pda;
    baseTokenProgram?: PublicKey | Pda;
    bucket: PublicKey | Pda;
    bucketQuoteTokenAccount?: PublicKey | Pda;
    feeQuoteTokenAccount?: PublicKey | Pda;
    genesisAccount: PublicKey | Pda;
    genesisBaseTokenAccount?: PublicKey | Pda;
    payer?: Signer;
    quoteMint?: PublicKey | Pda;
    quoteTokenProgram?: PublicKey | Pda;
    swapper?: Signer;
    swapperBaseTokenAccount?: PublicKey | Pda;
    swapperQuoteTokenAccount?: PublicKey | Pda;
    systemProgram?: PublicKey | Pda;
}

Type declaration

  • Optional associatedTokenProgram?: PublicKey | Pda

    The associated token program

  • Optional backendSigner?: Signer

    Backend authorization signer

  • baseMint: PublicKey | Pda

    The mint account of the base token

  • Optional baseTokenProgram?: PublicKey | Pda

    The SPL Token program for the base token

  • bucket: PublicKey | Pda

    The address of the bonding curve bucket

  • Optional bucketQuoteTokenAccount?: PublicKey | Pda

    The bucket's quote token account

  • Optional feeQuoteTokenAccount?: PublicKey | Pda

    The fee wallet's quote token account

  • genesisAccount: PublicKey | Pda

    The address of the genesis account

  • Optional genesisBaseTokenAccount?: PublicKey | Pda

    The base token account owned by the genesis account

  • Optional payer?: Signer

    The account paying for rent

  • Optional quoteMint?: PublicKey | Pda

    The mint account of the quote token

  • Optional quoteTokenProgram?: PublicKey | Pda

    The SPL Token program for the quote token

  • Optional swapper?: Signer

    The wallet performing the swap (defaults to payer if not provided)

  • Optional swapperBaseTokenAccount?: PublicKey | Pda

    The swapper's base token account

  • Optional swapperQuoteTokenAccount?: PublicKey | Pda

    The swapper's quote token account

  • Optional systemProgram?: PublicKey | Pda

    The system program

Generated using TypeDoc