Coda by Ian Macalinao
    Preparing search index...

    Interface ParsedRelinquishVoteInstruction<TProgram, TAccountMetas>

    interface ParsedRelinquishVoteInstruction<
        TProgram extends string = typeof SPL_GOVERNANCE_PROGRAM_ADDRESS,
        TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],
    > {
        accounts: {
            beneficiaryAccount?: TAccountMetas[7];
            governanceAccount: TAccountMetas[1];
            governanceAuthority?: TAccountMetas[6];
            governingTokenMint: TAccountMetas[5];
            proposalAccount: TAccountMetas[2];
            proposalVoteRecord: TAccountMetas[4];
            realmAccount: TAccountMetas[0];
            tokenOwnerRecord: TAccountMetas[3];
        };
        data: RelinquishVoteInstructionData;
        programAddress: Address<TProgram>;
    }

    Type Parameters

    Index

    Properties

    accounts: {
        beneficiaryAccount?: TAccountMetas[7];
        governanceAccount: TAccountMetas[1];
        governanceAuthority?: TAccountMetas[6];
        governingTokenMint: TAccountMetas[5];
        proposalAccount: TAccountMetas[2];
        proposalVoteRecord: TAccountMetas[4];
        realmAccount: TAccountMetas[0];
        tokenOwnerRecord: TAccountMetas[3];
    }

    Type Declaration

    • OptionalbeneficiaryAccount?: TAccountMetas[7]

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

    • governanceAccount: TAccountMetas[1]
    • OptionalgovernanceAuthority?: TAccountMetas[6]
    • governingTokenMint: TAccountMetas[5]

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

    • proposalAccount: TAccountMetas[2]
    • proposalVoteRecord: TAccountMetas[4]

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

    • realmAccount: TAccountMetas[0]
    • tokenOwnerRecord: TAccountMetas[3]

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

    programAddress: Address<TProgram>