Coda by Ian Macalinao
    Preparing search index...

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

    type CreateOrUpdateInput<
        TAccountPayer extends string = string,
        TAccountRuleSetPda extends string = string,
        TAccountSystemProgram extends string = string,
        TAccountBufferPda extends string = string,
    > = {
        bufferPda?: Address<TAccountBufferPda>;
        createOrUpdateArgs: CreateOrUpdateInstructionDataArgs["createOrUpdateArgs"];
        payer: TransactionSigner<TAccountPayer>;
        ruleSetPda: Address<TAccountRuleSetPda>;
        systemProgram?: Address<TAccountSystemProgram>;
    }

    Type Parameters

    • TAccountPayer extends string = string
    • TAccountRuleSetPda extends string = string
    • TAccountSystemProgram extends string = string
    • TAccountBufferPda extends string = string
    Index

    Properties

    bufferPda?: Address<TAccountBufferPda>

    The buffer to copy a complete ruleset from

    payer: TransactionSigner<TAccountPayer>

    Payer and creator of the RuleSet

    ruleSetPda: Address<TAccountRuleSetPda>

    The PDA account where the RuleSet is stored

    systemProgram?: Address<TAccountSystemProgram>

    System program