java.lang.Object
software.sava.solana.programs.vote.VoteProgram
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic software.sava.core.tx.Instructionauthorize(software.sava.core.accounts.SolanaAccounts solanaAccounts, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey currentAuthority, software.sava.core.accounts.PublicKey newAuthority, VoteAuthorize voteAuthorize) static software.sava.core.tx.InstructionauthorizeChecked(software.sava.core.accounts.SolanaAccounts solanaAccounts, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey currentAuthority, software.sava.core.accounts.PublicKey newAuthority, VoteAuthorize voteAuthorize) static software.sava.core.tx.InstructionauthorizeCheckedWithSeed(software.sava.core.accounts.SolanaAccounts solanaAccounts, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey baseKey, software.sava.core.accounts.PublicKey newAuthority, VoteAuthorizeCheckedWithSeedArgs args) static software.sava.core.tx.InstructionauthorizeWithSeed(software.sava.core.accounts.SolanaAccounts solanaAccounts, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey baseKey, VoteAuthorizeWithSeedArgs args) static software.sava.core.tx.InstructioninitializeAccount(software.sava.core.accounts.SolanaAccounts solanaAccounts, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey validatorIdentity, VoteInit voteInit) static software.sava.core.tx.InstructionupdateCommission(software.sava.core.accounts.meta.AccountMeta invokedProgram, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey withdrawAuthority, int commission) static software.sava.core.tx.InstructionupdateValidatorIdentity(software.sava.core.accounts.meta.AccountMeta invokedProgram, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey newValidatorIdentity, software.sava.core.accounts.PublicKey withdrawAuthority) static software.sava.core.tx.Instructionwithdraw(software.sava.core.accounts.meta.AccountMeta invokedProgram, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey recipientAccount, software.sava.core.accounts.PublicKey withdrawAuthority, long lamports)
-
Method Details
-
initializeAccount
public static software.sava.core.tx.Instruction initializeAccount(software.sava.core.accounts.SolanaAccounts solanaAccounts, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey validatorIdentity, VoteInit voteInit) -
authorize
public static software.sava.core.tx.Instruction authorize(software.sava.core.accounts.SolanaAccounts solanaAccounts, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey currentAuthority, software.sava.core.accounts.PublicKey newAuthority, VoteAuthorize voteAuthorize) -
authorizeChecked
public static software.sava.core.tx.Instruction authorizeChecked(software.sava.core.accounts.SolanaAccounts solanaAccounts, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey currentAuthority, software.sava.core.accounts.PublicKey newAuthority, VoteAuthorize voteAuthorize) -
authorizeWithSeed
public static software.sava.core.tx.Instruction authorizeWithSeed(software.sava.core.accounts.SolanaAccounts solanaAccounts, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey baseKey, VoteAuthorizeWithSeedArgs args) -
authorizeCheckedWithSeed
public static software.sava.core.tx.Instruction authorizeCheckedWithSeed(software.sava.core.accounts.SolanaAccounts solanaAccounts, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey baseKey, software.sava.core.accounts.PublicKey newAuthority, VoteAuthorizeCheckedWithSeedArgs args) -
withdraw
public static software.sava.core.tx.Instruction withdraw(software.sava.core.accounts.meta.AccountMeta invokedProgram, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey recipientAccount, software.sava.core.accounts.PublicKey withdrawAuthority, long lamports) -
updateValidatorIdentity
public static software.sava.core.tx.Instruction updateValidatorIdentity(software.sava.core.accounts.meta.AccountMeta invokedProgram, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey newValidatorIdentity, software.sava.core.accounts.PublicKey withdrawAuthority) -
updateCommission
public static software.sava.core.tx.Instruction updateCommission(software.sava.core.accounts.meta.AccountMeta invokedProgram, software.sava.core.accounts.PublicKey voteAccount, software.sava.core.accounts.PublicKey withdrawAuthority, int commission)
-