java.lang.Object
software.sava.solana.programs.vote.VoteProgram

public final class VoteProgram extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)