/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit'; import { COMMERCE_PROGRAM_PROGRAM_ADDRESS } from '../programs'; export declare const UPDATE_MERCHANT_SETTLEMENT_WALLET_DISCRIMINATOR = 6; export declare function getUpdateMerchantSettlementWalletDiscriminatorBytes(): ReadonlyUint8Array; export type UpdateMerchantSettlementWalletInstruction = string, TAccountAuthority extends string | AccountMeta = string, TAccountMerchant extends string | AccountMeta = string, TAccountNewSettlementWallet extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountPayer extends string ? WritableSignerAccount & AccountSignerMeta : TAccountPayer, TAccountAuthority extends string ? WritableSignerAccount & AccountSignerMeta : TAccountAuthority, TAccountMerchant extends string ? WritableAccount : TAccountMerchant, TAccountNewSettlementWallet extends string ? ReadonlyAccount : TAccountNewSettlementWallet, ...TRemainingAccounts ]>; export type UpdateMerchantSettlementWalletInstructionData = { discriminator: number; }; export type UpdateMerchantSettlementWalletInstructionDataArgs = {}; export declare function getUpdateMerchantSettlementWalletInstructionDataEncoder(): FixedSizeEncoder; export declare function getUpdateMerchantSettlementWalletInstructionDataDecoder(): FixedSizeDecoder; export declare function getUpdateMerchantSettlementWalletInstructionDataCodec(): FixedSizeCodec; export type UpdateMerchantSettlementWalletAsyncInput = { payer: TransactionSigner; authority: TransactionSigner; /** Merchant PDA */ merchant?: Address; newSettlementWallet: Address; }; export declare function getUpdateMerchantSettlementWalletInstructionAsync(input: UpdateMerchantSettlementWalletAsyncInput, config?: { programAddress?: TProgramAddress; }): Promise>; export type UpdateMerchantSettlementWalletInput = { payer: TransactionSigner; authority: TransactionSigner; /** Merchant PDA */ merchant: Address; newSettlementWallet: Address; }; export declare function getUpdateMerchantSettlementWalletInstruction(input: UpdateMerchantSettlementWalletInput, config?: { programAddress?: TProgramAddress; }): UpdateMerchantSettlementWalletInstruction; export type ParsedUpdateMerchantSettlementWalletInstruction = { programAddress: Address; accounts: { payer: TAccountMetas[0]; authority: TAccountMetas[1]; /** Merchant PDA */ merchant: TAccountMetas[2]; newSettlementWallet: TAccountMetas[3]; }; data: UpdateMerchantSettlementWalletInstructionData; }; export declare function parseUpdateMerchantSettlementWalletInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedUpdateMerchantSettlementWalletInstruction; //# sourceMappingURL=updateMerchantSettlementWallet.d.ts.map