aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Type Alias ApiFarmsInitializeStakingPoolRewardBody

    ApiFarmsInitializeStakingPoolRewardBody: {
        emissionDelayTimestampMs: Timestamp;
        emissionRate: bigint;
        emissionScheduleMs: Timestamp;
        isSponsoredTx?: boolean;
        rewardAmount: Balance;
        rewardCoinType: CoinType;
        stakeCoinType: CoinType;
        stakingPoolId: ObjectId;
        walletAddress: SuiAddress;
    } & FarmOwnerOrOneTimeAdminCap

    Parameters for initializing one reward coin in a staking pool.

    Type Declaration

    • emissionDelayTimestampMs: Timestamp

      Emission start or delay timestamp, in milliseconds.

    • emissionRate: bigint

      Reward amount emitted at each interval, in base units.

    • emissionScheduleMs: Timestamp

      Emission interval, in milliseconds.

    • OptionalisSponsoredTx?: boolean

      Whether to request the sponsored transaction flow.

    • rewardAmount: Balance

      Initial reward amount, in the reward coin's base units.

    • rewardCoinType: CoinType

      Fully qualified Move type of the reward coin.

    • stakeCoinType: CoinType

      Fully qualified Move type of the staked coin.

    • stakingPoolId: ObjectId

      Staking pool object ID.

    • walletAddress: SuiAddress

      Address that supplies the reward coin and signs the transaction.