Documentation
    Preparing search index...

    Type Alias InitPoolWithAdaptiveFeeParams

    Parameters to initialize a Whirlpool account with AdaptiveFee.

    The desired initial sqrt-price for this pool

    The public key for the WhirlpoolsConfig this pool is initialized in

    PDA for the whirlpool account that would be initialized

    PDA for the oracle account that would be initialized

    Mint public key for token A

    Mint public key for token B

    TokenBadge public key for token A

    TokenBadge public key for token B

    Token program public key for token A

    Token program public key for token B

    Keypair of the token A vault for this pool

    Keypair of the token B vault for this pool

    PublicKey of the adaptive fee-tier account that this pool would use for the fee-rate

    The authority that would initialize this pool

    The account that would fund the creation of this account

    type InitPoolWithAdaptiveFeeParams = {
        adaptiveFeeTierKey: PublicKey;
        funder: PublicKey;
        initializePoolAuthority: PublicKey;
        initSqrtPrice: BN;
        oraclePda: PDA;
        tokenBadgeA: PublicKey;
        tokenBadgeB: PublicKey;
        tokenMintA: PublicKey;
        tokenMintB: PublicKey;
        tokenProgramA: PublicKey;
        tokenProgramB: PublicKey;
        tokenVaultAKeypair: Keypair;
        tokenVaultBKeypair: Keypair;
        tradeEnableTimestamp?: BN;
        whirlpoolPda: PDA;
        whirlpoolsConfig: PublicKey;
    }
    Index

    Properties

    adaptiveFeeTierKey: PublicKey
    funder: PublicKey
    initializePoolAuthority: PublicKey
    initSqrtPrice: BN
    oraclePda: PDA
    tokenBadgeA: PublicKey
    tokenBadgeB: PublicKey
    tokenMintA: PublicKey
    tokenMintB: PublicKey
    tokenProgramA: PublicKey
    tokenProgramB: PublicKey
    tokenVaultAKeypair: Keypair
    tokenVaultBKeypair: Keypair
    tradeEnableTimestamp?: BN
    whirlpoolPda: PDA
    whirlpoolsConfig: PublicKey