Coda by Ian Macalinao
    Preparing search index...

    Type Alias RevokeGoverningTokensInput<TAccountRealmAccount, TAccountGoverningTokenHoldingAccount, TAccountTokenOwnerRecord, TAccountGoverningTokenMint, TAccountGoverningTokenMintAuthorityOrTokenOwner, TAccountRealmConfigAccount, TAccountTokenProgram>

    type RevokeGoverningTokensInput<
        TAccountRealmAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGoverningTokenHoldingAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenOwnerRecord extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGoverningTokenMint extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGoverningTokenMintAuthorityOrTokenOwner extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountRealmConfigAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        amount: RevokeGoverningTokensInstructionDataArgs["amount"];
        governingTokenHoldingAccount: TAccountGoverningTokenHoldingAccount;
        governingTokenMint: TAccountGoverningTokenMint;
        governingTokenMintAuthorityOrTokenOwner: TAccountGoverningTokenMintAuthorityOrTokenOwner;
        realmAccount: TAccountRealmAccount;
        realmConfigAccount: TAccountRealmConfigAccount;
        tokenOwnerRecord: TAccountTokenOwnerRecord;
        tokenProgram?: TAccountTokenProgram;
    }

    Type Parameters

    • TAccountRealmAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountGoverningTokenHoldingAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenOwnerRecord extends InstructionAccountInput = InstructionAccountInput
    • TAccountGoverningTokenMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountGoverningTokenMintAuthorityOrTokenOwner extends InstructionSignerInput = InstructionSignerInput
    • TAccountRealmConfigAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    governingTokenHoldingAccount: TAccountGoverningTokenHoldingAccount

    seeds=['governance', realm, governing_token_mint]

    governingTokenMint: TAccountGoverningTokenMint
    governingTokenMintAuthorityOrTokenOwner: TAccountGoverningTokenMintAuthorityOrTokenOwner

    GoverningTokenMint mint_authority

    realmAccount: TAccountRealmAccount
    realmConfigAccount: TAccountRealmConfigAccount

    seeds=['realm-config', realm]

    tokenOwnerRecord: TAccountTokenOwnerRecord

    seeds=['governance', realm, governing_token_mint, governing_token_owner]

    tokenProgram?: TAccountTokenProgram