Versions in this module Expand all Collapse all v1 v1.0.0 Aug 23, 2024 Changes in this version + const AccountSize + func Authorize(param AuthorizeParam) types.Instruction + func AuthorizeWithSeed(param AuthorizeWithSeedParam) types.Instruction + func Deactivate(param DeactivateParam) types.Instruction + func DelegateStake(param DelegateStakeParam) types.Instruction + func Initialize(param InitializeParam) types.Instruction + func Merge(param MergeParam) types.Instruction + func SetLockup(param SetLockupParam) types.Instruction + func Split(param SplitParam) types.Instruction + func Withdraw(param WithdrawParam) types.Instruction + type AuthorizeParam struct + Auth common.PublicKey + AuthType StakeAuthorizationType + Custodian *common.PublicKey + NewAuth common.PublicKey + Stake common.PublicKey + type AuthorizeWithSeedParam struct + AuthBase common.PublicKey + AuthOwner common.PublicKey + AuthSeed string + AuthType StakeAuthorizationType + Custodian *common.PublicKey + NewAuth common.PublicKey + Stake common.PublicKey + type Authorized struct + Staker common.PublicKey + Withdrawer common.PublicKey + type DeactivateParam struct + Auth common.PublicKey + Stake common.PublicKey + type DelegateStakeParam struct + Auth common.PublicKey + Stake common.PublicKey + Vote common.PublicKey + type InitializeParam struct + Auth Authorized + Lockup Lockup + Stake common.PublicKey + type Instruction uint32 + const InstructionAuthorize + const InstructionAuthorizeWithSeed + const InstructionDeactivate + const InstructionDelegateStake + const InstructionInitialize + const InstructionMerge + const InstructionSetLockup + const InstructionSplit + const InstructionWithdraw + type Lockup struct + Cusodian common.PublicKey + Epoch uint64 + UnixTimestamp int64 + type LockupParam struct + Cusodian *common.PublicKey + Epoch *uint64 + UnixTimestamp *int64 + type MergeParam struct + Auth common.PublicKey + From common.PublicKey + To common.PublicKey + type SetLockupParam struct + Auth common.PublicKey + Lockup LockupParam + Stake common.PublicKey + type SplitParam struct + Auth common.PublicKey + Lamports uint64 + SplitStake common.PublicKey + Stake common.PublicKey + type StakeAuthorizationType uint32 + const StakeAuthorizationTypeStaker + const StakeAuthorizationTypeWithdrawer + type WithdrawParam struct + Auth common.PublicKey + Custodian *common.PublicKey + Lamports uint64 + Stake common.PublicKey + To common.PublicKey