Documentation
    Preparing search index...

    Type Alias WhirlpoolRewardInfoArgs

    type WhirlpoolRewardInfoArgs = {
        emissionsPerSecondX64: number | bigint;
        extension: ReadonlyUint8Array;
        growthGlobalX64: number | bigint;
        mint: Address;
        vault: Address;
    }
    Index

    Properties

    emissionsPerSecondX64: number | bigint

    Q64.64 number that indicates how many tokens per second are earned per unit of liquidity.

    extension: ReadonlyUint8Array

    reward_infos[0]: Authority account that has permission to initialize the reward and set emissions. reward_infos[1]: used for a struct that contains fields for extending the functionality of Whirlpool. reward_infos[2]: reserved for future use.

    Historical notes: Originally, this was a field named "authority", but it was found that there was no opportunity to set different authorities for the three rewards. Therefore, the use of this field was changed for Whirlpool's future extensibility.

    growthGlobalX64: number | bigint

    Q64.64 number that tracks the total tokens earned per unit of liquidity since the reward emissions were turned on.

    mint: Address

    Reward token mint.

    vault: Address

    Reward vault token account.