/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from "@solana/kit"; import { type List, type ListArgs } from "."; export type StakeSystem = { stakeList: List; delayedUnstakeCoolingDown: bigint; stakeDepositBumpSeed: number; stakeWithdrawBumpSeed: number; /** set by admin, how much slots before the end of the epoch, stake-delta can start */ slotsForStakeDelta: bigint; /** * Marks the start of stake-delta operations, meaning that if somebody starts a delayed-unstake ticket * after this var is set with epoch_num the ticket will have epoch_created = current_epoch+1 * (the user must wait one more epoch, because their unstake-delta will be execute in this epoch) */ lastStakeDeltaEpoch: bigint; minStake: bigint; /** * can be set by validator-manager-auth to allow a second run of stake-delta to stake late stakers in the last minute of the epoch * so we maximize user's rewards */ extraStakeDeltaRuns: number; }; export type StakeSystemArgs = { stakeList: ListArgs; delayedUnstakeCoolingDown: number | bigint; stakeDepositBumpSeed: number; stakeWithdrawBumpSeed: number; /** set by admin, how much slots before the end of the epoch, stake-delta can start */ slotsForStakeDelta: number | bigint; /** * Marks the start of stake-delta operations, meaning that if somebody starts a delayed-unstake ticket * after this var is set with epoch_num the ticket will have epoch_created = current_epoch+1 * (the user must wait one more epoch, because their unstake-delta will be execute in this epoch) */ lastStakeDeltaEpoch: number | bigint; minStake: number | bigint; /** * can be set by validator-manager-auth to allow a second run of stake-delta to stake late stakers in the last minute of the epoch * so we maximize user's rewards */ extraStakeDeltaRuns: number; }; export declare function getStakeSystemEncoder(): FixedSizeEncoder; export declare function getStakeSystemDecoder(): FixedSizeDecoder; export declare function getStakeSystemCodec(): FixedSizeCodec; //# sourceMappingURL=stakeSystem.d.ts.map