Coda by Ian Macalinao
    Preparing search index...

    Type Alias FinalizeVoteInput<TAccountRealmAccount, TAccountGovernanceAccount, TAccountProposalAccount, TAccountTokenOwnerRecord, TAccountGoverningTokenMint, TAccountRealmConfig, TAccountMaxVoterWeightRecord>

    type FinalizeVoteInput<
        TAccountRealmAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGovernanceAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountProposalAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenOwnerRecord extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGoverningTokenMint extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountRealmConfig extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMaxVoterWeightRecord extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        governanceAccount: TAccountGovernanceAccount;
        governingTokenMint: TAccountGoverningTokenMint;
        maxVoterWeightRecord?: TAccountMaxVoterWeightRecord;
        proposalAccount: TAccountProposalAccount;
        realmAccount: TAccountRealmAccount;
        realmConfig: TAccountRealmConfig;
        tokenOwnerRecord: TAccountTokenOwnerRecord;
    }

    Type Parameters

    • TAccountRealmAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountGovernanceAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountProposalAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenOwnerRecord extends InstructionAccountInput = InstructionAccountInput
    • TAccountGoverningTokenMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountRealmConfig extends InstructionAccountInput = InstructionAccountInput
    • TAccountMaxVoterWeightRecord extends InstructionAccountInput = InstructionAccountInput
    Index
    governanceAccount: TAccountGovernanceAccount
    governingTokenMint: TAccountGoverningTokenMint
    maxVoterWeightRecord?: TAccountMaxVoterWeightRecord

    Optional Max Voter Weight Record

    proposalAccount: TAccountProposalAccount
    realmAccount: TAccountRealmAccount
    realmConfig: TAccountRealmConfig

    RealmConfig account. PDA seeds: ['realm-config', realm]

    tokenOwnerRecord: TAccountTokenOwnerRecord

    TokenOwnerRecord of the Proposal owner