Delay between a user deposit and the moment it is considered as staked 0 if unused
Indicates if the farm is a delegate farm
If true, the farm is a delegate farm and the delegate_authority is set*
Automatically set to true in case of a full authority withdrawal If true, the farm is frozen and no more deposits are allowed
Locking stake
Data used to calculate the rewards of the user
Slashed amounts from early withdrawal
Raw representation of a TimeUnit
Seconds = 0, Slots = 1
Total active stake of tokens in the farm (scaled from Decimal representation).
Total pending amount of tokens in the farm
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)
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
Delay between a user unstake and the ability to withdraw his deposit.
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)
Only used for delegate farms Set to
default()otherwise