Coda by Ian Macalinao
    Preparing search index...

    Type Alias GrantInput<TAccountRegistrar, TAccountVoter, TAccountVoterAuthority, TAccountVoterWeightRecord, TAccountVault, TAccountDepositToken, TAccountTokenAuthority, TAccountGrantAuthority, TAccountPayer, TAccountDepositMint, TAccountSystemProgram, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountRent>

    type GrantInput<
        TAccountRegistrar extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountVoter extends InstructionAccountInput = InstructionAccountInput,
        TAccountVoterAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountVoterWeightRecord extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountVault extends InstructionAccountInput = InstructionAccountInput,
        TAccountDepositToken extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenAuthority extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountGrantAuthority extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountDepositMint extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountAssociatedTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountRent extends InstructionAccountInput = InstructionAccountInput,
    > = {
        allowClawback: GrantInstructionDataArgs["allowClawback"];
        amount: GrantInstructionDataArgs["amount"];
        associatedTokenProgram?: TAccountAssociatedTokenProgram;
        depositMint: TAccountDepositMint;
        depositToken: TAccountDepositToken;
        grantAuthority: TAccountGrantAuthority;
        kind: GrantInstructionDataArgs["kind"];
        payer: TAccountPayer;
        periods: GrantInstructionDataArgs["periods"];
        registrar: TAccountRegistrar;
        rent?: TAccountRent;
        startTs: GrantInstructionDataArgs["startTs"];
        systemProgram?: TAccountSystemProgram;
        tokenAuthority: TAccountTokenAuthority;
        tokenProgram?: TAccountTokenProgram;
        vault: TAccountVault;
        voter: TAccountVoter;
        voterAuthority: TAccountVoterAuthority;
        voterBump: GrantInstructionDataArgs["voterBump"];
        voterWeightRecord: TAccountVoterWeightRecord;
        voterWeightRecordBump: GrantInstructionDataArgs["voterWeightRecordBump"];
    }

    Type Parameters

    • TAccountRegistrar extends InstructionAccountInput = InstructionAccountInput
    • TAccountVoter extends InstructionAccountInput = InstructionAccountInput
    • TAccountVoterAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountVoterWeightRecord extends InstructionAccountInput = InstructionAccountInput
    • TAccountVault extends InstructionAccountInput = InstructionAccountInput
    • TAccountDepositToken extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountGrantAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    • TAccountDepositMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountAssociatedTokenProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountRent extends InstructionAccountInput = InstructionAccountInput
    Index
    associatedTokenProgram?: TAccountAssociatedTokenProgram
    depositMint: TAccountDepositMint
    depositToken: TAccountDepositToken
    grantAuthority: TAccountGrantAuthority
    systemProgram?: TAccountSystemProgram
    tokenAuthority: TAccountTokenAuthority
    tokenProgram?: TAccountTokenProgram
    voterAuthority: TAccountVoterAuthority
    voterWeightRecord: TAccountVoterWeightRecord