Coda by Ian Macalinao
    Preparing search index...

    Type Alias ValidateInput<TAccountRuleSetPda, TAccountMint, TAccountSystemProgram, TAccountPayer, TAccountRuleAuthority, TAccountRuleSetStatePda>

    type ValidateInput<
        TAccountRuleSetPda extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountMint extends InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountRuleAuthority extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountRuleSetStatePda extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        mint: TAccountMint;
        payer?: TAccountPayer;
        ruleAuthority?: TAccountRuleAuthority;
        ruleSetPda: TAccountRuleSetPda;
        ruleSetStatePda?: TAccountRuleSetStatePda;
        systemProgram?: TAccountSystemProgram;
        validateArgs: ValidateInstructionDataArgs["validateArgs"];
    }

    Type Parameters

    • TAccountRuleSetPda extends InstructionAccountInput = InstructionAccountInput
    • TAccountMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    • TAccountRuleAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountRuleSetStatePda extends InstructionAccountInput = InstructionAccountInput
    Index

    Mint of token asset

    Payer for RuleSet state PDA account

    ruleAuthority?: TAccountRuleAuthority

    Signing authority for any Rule state updates

    ruleSetPda: TAccountRuleSetPda

    The PDA account where the RuleSet is stored

    ruleSetStatePda?: TAccountRuleSetStatePda

    The PDA account where any RuleSet state is stored

    systemProgram?: TAccountSystemProgram

    System program