Coda by Ian Macalinao
    Preparing search index...

    Type Alias CreateOrUpdateAsyncInput<TAccountPayer, TAccountRuleSetPda, TAccountSystemProgram, TAccountBufferPda>

    type CreateOrUpdateAsyncInput<
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountRuleSetPda extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountBufferPda extends InstructionAccountInput = InstructionAccountInput,
    > = {
        bufferPda?: TAccountBufferPda;
        createOrUpdateArgs: CreateOrUpdateInstructionDataArgs["createOrUpdateArgs"];
        payer: TAccountPayer;
        ruleSetPda: TAccountRuleSetPda;
        systemProgram?: TAccountSystemProgram;
    }

    Type Parameters

    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    • TAccountRuleSetPda extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountBufferPda extends InstructionAccountInput = InstructionAccountInput
    Index
    bufferPda?: TAccountBufferPda

    The buffer to copy a complete ruleset from

    Payer and creator of the RuleSet

    ruleSetPda: TAccountRuleSetPda

    The PDA account where the RuleSet is stored

    systemProgram?: TAccountSystemProgram

    System program