@metaplex-foundation/mpl-candy-guard
Version:
MPL Candy Guard JavaScript API. This MPL package is for the current generation of the Candy Guard
19 lines (18 loc) • 817 B
TypeScript
import * as beet from '@metaplex-foundation/beet';
import * as web3 from '@solana/web3.js';
export declare type InitializeInstructionArgs = {
data: Uint8Array;
};
export declare const initializeStruct: beet.FixableBeetArgsStruct<InitializeInstructionArgs & {
instructionDiscriminator: number[];
}>;
export declare type InitializeInstructionAccounts = {
candyGuard: web3.PublicKey;
base: web3.PublicKey;
authority: web3.PublicKey;
payer: web3.PublicKey;
systemProgram?: web3.PublicKey;
anchorRemainingAccounts?: web3.AccountMeta[];
};
export declare const initializeInstructionDiscriminator: number[];
export declare function createInitializeInstruction(accounts: InitializeInstructionAccounts, args: InitializeInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;