Coda by Ian Macalinao
    Preparing search index...

    Type Alias WithdrawGoverningTokensInput<TAccountRealmAccount, TAccountGoverningTokenHoldingAccount, TAccountGoverningTokenDestinationAccount, TAccountGoverningTokenOwnerAccount, TAccountTokenOwnerRecord, TAccountTokenProgram, TAccountRealmConfigAccount>

    type WithdrawGoverningTokensInput<
        TAccountRealmAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGoverningTokenHoldingAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGoverningTokenDestinationAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountGoverningTokenOwnerAccount extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountTokenOwnerRecord extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountRealmConfigAccount extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        governingTokenDestinationAccount: TAccountGoverningTokenDestinationAccount;
        governingTokenHoldingAccount: TAccountGoverningTokenHoldingAccount;
        governingTokenOwnerAccount: TAccountGoverningTokenOwnerAccount;
        realmAccount: TAccountRealmAccount;
        realmConfigAccount: TAccountRealmConfigAccount;
        tokenOwnerRecord: TAccountTokenOwnerRecord;
        tokenProgram?: TAccountTokenProgram;
    }

    Type Parameters

    • TAccountRealmAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountGoverningTokenHoldingAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountGoverningTokenDestinationAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountGoverningTokenOwnerAccount extends InstructionSignerInput = InstructionSignerInput
    • TAccountTokenOwnerRecord extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountRealmConfigAccount extends InstructionAccountInput = InstructionAccountInput
    Index
    governingTokenDestinationAccount: TAccountGoverningTokenDestinationAccount

    All tokens will be transferred to this account

    governingTokenHoldingAccount: TAccountGoverningTokenHoldingAccount

    seeds=['governance', realm, governing_token_mint]

    governingTokenOwnerAccount: TAccountGoverningTokenOwnerAccount
    realmAccount: TAccountRealmAccount
    realmConfigAccount: TAccountRealmConfigAccount

    seeds=['realm-config', realm]

    tokenOwnerRecord: TAccountTokenOwnerRecord

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

    tokenProgram?: TAccountTokenProgram