Documentation ¶
Index ¶
- Constants
- 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
- type AuthorizeWithSeedParam
- type Authorized
- type DeactivateParam
- type DelegateStakeParam
- type InitializeParam
- type Instruction
- type Lockup
- type LockupParam
- type MergeParam
- type SetLockupParam
- type SplitParam
- type StakeAuthorizationType
- type WithdrawParam
Constants ¶
View Source
const AccountSize uint64 = 200
Variables ¶
This section is empty.
Functions ¶
func Authorize ¶
func Authorize(param AuthorizeParam) types.Instruction
func AuthorizeWithSeed ¶
func AuthorizeWithSeed(param AuthorizeWithSeedParam) types.Instruction
func Deactivate ¶
func Deactivate(param DeactivateParam) types.Instruction
func DelegateStake ¶
func DelegateStake(param DelegateStakeParam) types.Instruction
func Initialize ¶
func Initialize(param InitializeParam) types.Instruction
func Merge ¶
func Merge(param MergeParam) types.Instruction
func SetLockup ¶
func SetLockup(param SetLockupParam) types.Instruction
func Split ¶
func Split(param SplitParam) types.Instruction
func Withdraw ¶
func Withdraw(param WithdrawParam) types.Instruction
Types ¶
type AuthorizeParam ¶
type AuthorizeWithSeedParam ¶
type DelegateStakeParam ¶
type InitializeParam ¶
type InitializeParam struct { Stake common.PublicKey Auth Authorized Lockup Lockup }
type Instruction ¶
type Instruction uint32
const ( InstructionInitialize Instruction = iota InstructionAuthorize InstructionDelegateStake InstructionSplit InstructionWithdraw InstructionDeactivate InstructionSetLockup InstructionMerge InstructionAuthorizeWithSeed )
type LockupParam ¶
type MergeParam ¶
type SetLockupParam ¶
type SetLockupParam struct { Stake common.PublicKey Auth common.PublicKey Lockup LockupParam }
type SplitParam ¶
type StakeAuthorizationType ¶
type StakeAuthorizationType uint32
const ( StakeAuthorizationTypeStaker StakeAuthorizationType = iota StakeAuthorizationTypeWithdrawer )
Click to show internal directories.
Click to hide internal directories.