@metaplex-foundation/mpl-toolbox
Version:
Auto-generated essential Solana and Metaplex programs
29 lines (28 loc) • 1.26 kB
TypeScript
/**
* This code was AUTOGENERATED using the kinobi library.
* Please DO NOT EDIT THIS FILE, instead use visitors
* to add features, then rerun kinobi to update it.
*
* @see https://github.com/metaplex-foundation/kinobi
*/
import { Context, Pda, PublicKey, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { Serializer } from '@metaplex-foundation/umi/serializers';
import { PickPartial } from '../shared';
export type CreateEmptyLutInstructionAccounts = {
address?: Pda;
authority?: Signer;
payer?: Signer;
systemProgram?: PublicKey | Pda;
};
export type CreateEmptyLutInstructionData = {
discriminator: number;
recentSlot: bigint;
bump: number;
};
export type CreateEmptyLutInstructionDataArgs = {
recentSlot: number | bigint;
bump: number;
};
export declare function getCreateEmptyLutInstructionDataSerializer(): Serializer<CreateEmptyLutInstructionDataArgs, CreateEmptyLutInstructionData>;
export type CreateEmptyLutInstructionArgs = PickPartial<CreateEmptyLutInstructionDataArgs, 'bump'>;
export declare function createEmptyLut(context: Pick<Context, 'eddsa' | 'identity' | 'payer' | 'programs'>, input: CreateEmptyLutInstructionAccounts & CreateEmptyLutInstructionArgs): TransactionBuilder;