Coda by Ian Macalinao
    Preparing search index...

    Type Alias RelinquishVoteInput<TAccountRealmAccount, TAccountGovernanceAccount, TAccountProposalAccount, TAccountTokenOwnerRecord, TAccountProposalVoteRecord, TAccountGoverningTokenMint, TAccountGovernanceAuthority, TAccountBeneficiaryAccount>

    type RelinquishVoteInput<
        TAccountRealmAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGovernanceAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountProposalAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenOwnerRecord extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountProposalVoteRecord extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGoverningTokenMint extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGovernanceAuthority extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountBeneficiaryAccount extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        beneficiaryAccount?: TAccountBeneficiaryAccount;
        governanceAccount: TAccountGovernanceAccount;
        governanceAuthority?: TAccountGovernanceAuthority;
        governingTokenMint: TAccountGoverningTokenMint;
        proposalAccount: TAccountProposalAccount;
        proposalVoteRecord: TAccountProposalVoteRecord;
        realmAccount: TAccountRealmAccount;
        tokenOwnerRecord: TAccountTokenOwnerRecord;
    }

    Type Parameters

    • TAccountRealmAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountGovernanceAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountProposalAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenOwnerRecord extends InstructionAccountInput = InstructionAccountInput
    • TAccountProposalVoteRecord extends InstructionAccountInput = InstructionAccountInput
    • TAccountGoverningTokenMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountGovernanceAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountBeneficiaryAccount extends InstructionAccountInput = InstructionAccountInput
    Index
    beneficiaryAccount?: TAccountBeneficiaryAccount

    Optional Beneficiary account which would receive lamports when VoteRecord Account is disposed. It's required only when Proposal is still being voted on

    governanceAccount: TAccountGovernanceAccount
    governanceAuthority?: TAccountGovernanceAuthority
    governingTokenMint: TAccountGoverningTokenMint

    The Governing Token Mint which was used to cast the vote (vote_governing_token_mint)

    proposalAccount: TAccountProposalAccount
    proposalVoteRecord: TAccountProposalVoteRecord

    Proposal VoteRecord account. PDA seeds: ['governance',proposal, token_owner_record]

    realmAccount: TAccountRealmAccount
    tokenOwnerRecord: TAccountTokenOwnerRecord

    TokenOwnerRecord account. PDA seeds: ['governance',realm, vote_governing_token_mint, governing_token_owner]