Coda by Ian Macalinao
    Preparing search index...
    interface FarmStateArgs {
        delegateAuthority: Address;
        delegatedRpsAdmin: Address;
        depositCapAmount: number | bigint;
        depositWarmupPeriod: number;
        farmAdmin: Address;
        farmVault: Address;
        farmVaultsAuthority: Address;
        farmVaultsAuthorityBump: number | bigint;
        globalConfig: Address;
        isFarmDelegated: number;
        isFarmFrozen: number;
        lockingDuration: number | bigint;
        lockingEarlyWithdrawalPenaltyBps: number | bigint;
        lockingMode: number | bigint;
        lockingStartTimestamp: number | bigint;
        numRewardTokens: number | bigint;
        numUsers: number | bigint;
        padding: (number | bigint)[];
        padding0: number[];
        pendingFarmAdmin: Address;
        rewardInfos: RewardInfoArgs[];
        scopeOracleMaxAge: number | bigint;
        scopeOraclePriceId: number | bigint;
        scopePrices: Address;
        slashedAmountCumulative: number | bigint;
        slashedAmountCurrent: number | bigint;
        slashedAmountSpillAddress: Address;
        strategyId: Address;
        timeUnit: number;
        token: FarmsTokenInfoArgs;
        totalActiveStakeScaled: number | bigint;
        totalPendingAmount: number | bigint;
        totalPendingStakeScaled: number | bigint;
        totalStakedAmount: number | bigint;
        vaultId: Address;
        withdrawalCooldownPeriod: number;
        withdrawAuthority: Address;
    }
    Index

    Properties

    delegateAuthority: Address

    Only used for delegate farms Set to default() otherwise

    delegatedRpsAdmin: Address
    depositCapAmount: number | bigint
    depositWarmupPeriod: number

    Delay between a user deposit and the moment it is considered as staked 0 if unused

    farmAdmin: Address
    farmVault: Address
    farmVaultsAuthority: Address
    farmVaultsAuthorityBump: number | bigint
    globalConfig: Address
    isFarmDelegated: number

    Indicates if the farm is a delegate farm If true, the farm is a delegate farm and the delegate_authority is set*

    isFarmFrozen: number

    Automatically set to true in case of a full authority withdrawal If true, the farm is frozen and no more deposits are allowed

    lockingDuration: number | bigint
    lockingEarlyWithdrawalPenaltyBps: number | bigint
    lockingMode: number | bigint

    Locking stake

    lockingStartTimestamp: number | bigint
    numRewardTokens: number | bigint
    numUsers: number | bigint

    Data used to calculate the rewards of the user

    padding: (number | bigint)[]
    padding0: number[]
    pendingFarmAdmin: Address
    rewardInfos: RewardInfoArgs[]
    scopeOracleMaxAge: number | bigint
    scopeOraclePriceId: number | bigint
    scopePrices: Address
    slashedAmountCumulative: number | bigint
    slashedAmountCurrent: number | bigint

    Slashed amounts from early withdrawal

    slashedAmountSpillAddress: Address
    strategyId: Address
    timeUnit: number

    Raw representation of a TimeUnit Seconds = 0, Slots = 1

    totalActiveStakeScaled: number | bigint

    Total active stake of tokens in the farm (scaled from Decimal representation).

    totalPendingAmount: number | bigint

    Total pending amount of tokens in the farm

    totalPendingStakeScaled: number | bigint

    Total pending stake of tokens in the farm (scaled from Decimal representation). (can be used by withdraw_authority but don't get rewards or fees)

    totalStakedAmount: number | bigint

    The number of token in the farm_vault staked (getting rewards and fees) Set such as farm_vault.amount = total_staked_amount + total_pending_amount

    vaultId: Address
    withdrawalCooldownPeriod: number

    Delay between a user unstake and the ability to withdraw his deposit.

    withdrawAuthority: Address

    Withdraw authority for the farm, allowed to lock deposited funds and withdraw them Set to default() if unused (only the depositors can withdraw their funds)