Coda by Ian Macalinao
    Preparing search index...
    interface UserState {
        activeStakeScaled: bigint;
        bump: bigint;
        delegatee: Address;
        discriminator: ReadonlyUint8Array;
        farmState: Address;
        isFarmDelegated: number;
        lastClaimTs: bigint[];
        lastStakeTs: bigint;
        owner: Address;
        padding0: number[];
        padding1: bigint[];
        pendingDepositStakeScaled: bigint;
        pendingDepositStakeTs: bigint;
        pendingWithdrawalUnstakeScaled: bigint;
        pendingWithdrawalUnstakeTs: bigint;
        rewardsIssuedUnclaimed: bigint[];
        rewardsTallyScaled: bigint[];
        userId: bigint;
    }
    Index

    Properties

    activeStakeScaled: bigint

    User stake deposited and usable, generating rewards and fees. (scaled from Decimal representation).

    bump: bigint

    User bump used for account address validation

    delegatee: Address

    Delegatee used for initialisation - useful to check against

    discriminator: ReadonlyUint8Array
    farmState: Address
    isFarmDelegated: number

    Indicate if this user state is part of a delegated farm

    lastClaimTs: bigint[]
    lastStakeTs: bigint
    owner: Address
    padding0: number[]
    padding1: bigint[]
    pendingDepositStakeScaled: bigint

    User stake deposited but not usable and not generating rewards yet. (scaled from Decimal representation).

    pendingDepositStakeTs: bigint

    After this timestamp, pending user stake can be moved to user stake Initialized to now() + delayed user stake period

    pendingWithdrawalUnstakeScaled: bigint

    User deposits unstaked, pending for withdrawal, not usable and not generating rewards. (scaled from Decimal representation).

    pendingWithdrawalUnstakeTs: bigint

    After this timestamp, user can withdraw their deposit.

    rewardsIssuedUnclaimed: bigint[]

    Number of reward tokens ready for claim

    rewardsTallyScaled: bigint[]

    Rewards tally used for computation of gained rewards (scaled from Decimal representation).

    userId: bigint