Coda by Ian Macalinao
    Preparing search index...

    Interface WithdrawGoverningTokensInput<TAccountRealmAccount, TAccountGoverningTokenHoldingAccount, TAccountGoverningTokenDestinationAccount, TAccountGoverningTokenOwnerAccount, TAccountTokenOwnerRecord, TAccountTokenProgram, TAccountRealmConfigAccount>

    interface WithdrawGoverningTokensInput<
        TAccountRealmAccount extends string = string,
        TAccountGoverningTokenHoldingAccount extends string = string,
        TAccountGoverningTokenDestinationAccount extends string = string,
        TAccountGoverningTokenOwnerAccount extends string = string,
        TAccountTokenOwnerRecord extends string = string,
        TAccountTokenProgram extends string = string,
        TAccountRealmConfigAccount extends string = string,
    > {
        governingTokenDestinationAccount: Address<
            TAccountGoverningTokenDestinationAccount,
        >;
        governingTokenHoldingAccount: Address<TAccountGoverningTokenHoldingAccount>;
        governingTokenOwnerAccount: TransactionSigner<
            TAccountGoverningTokenOwnerAccount,
        >;
        realmAccount: Address<TAccountRealmAccount>;
        realmConfigAccount: Address<TAccountRealmConfigAccount>;
        tokenOwnerRecord: Address<TAccountTokenOwnerRecord>;
        tokenProgram?: Address<TAccountTokenProgram>;
    }

    Type Parameters

    • TAccountRealmAccount extends string = string
    • TAccountGoverningTokenHoldingAccount extends string = string
    • TAccountGoverningTokenDestinationAccount extends string = string
    • TAccountGoverningTokenOwnerAccount extends string = string
    • TAccountTokenOwnerRecord extends string = string
    • TAccountTokenProgram extends string = string
    • TAccountRealmConfigAccount extends string = string
    Index

    Properties

    governingTokenDestinationAccount: Address<
        TAccountGoverningTokenDestinationAccount,
    >

    All tokens will be transferred to this account

    governingTokenHoldingAccount: Address<TAccountGoverningTokenHoldingAccount>

    seeds=['governance', realm, governing_token_mint]

    governingTokenOwnerAccount: TransactionSigner<
        TAccountGoverningTokenOwnerAccount,
    >
    realmAccount: Address<TAccountRealmAccount>
    realmConfigAccount: Address<TAccountRealmConfigAccount>

    seeds=['realm-config', realm]

    tokenOwnerRecord: Address<TAccountTokenOwnerRecord>

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

    tokenProgram?: Address<TAccountTokenProgram>