solana-framework
Version:
solana-framework is solana uni-tools for typescript
70 lines • 3.72 kB
TypeScript
/**
* This code was GENERATED using the solita package.
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
*
* See: https://github.com/metaplex-foundation/solita
*/
import * as beet from '@metaplex-foundation/beet';
import * as web3 from '@solana/web3.js';
/**
* @category Instructions
* @category DeprecatedMintNewEditionFromMasterEditionViaPrintingToken
* @category generated
*/
export declare const DeprecatedMintNewEditionFromMasterEditionViaPrintingTokenStruct: beet.BeetArgsStruct<{
instructionDiscriminator: number;
}>;
/**
* Accounts required by the _DeprecatedMintNewEditionFromMasterEditionViaPrintingToken_ instruction
*
* @property [_writable_] metadata New Metadata key (pda of ['metadata', program id, mint id])
* @property [_writable_] edition New Edition V1 (pda of ['metadata', program id, mint id, 'edition'])
* @property [_writable_] masterEdition Master Record Edition V1 (pda of ['metadata', program id, master metadata mint id, 'edition'])
* @property [_writable_] mint Mint of new token - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY
* @property [**signer**] mintAuthority Mint authority of new mint
* @property [_writable_] printingMint Printing Mint of master record edition
* @property [_writable_] masterTokenAccount Token account containing Printing mint token to be transferred
* @property [_writable_] editionMarker Edition pda to mark creation - will be checked for pre-existence. (pda of ['metadata', program id, master mint id, edition_number])
* @property [**signer**] burnAuthority Burn authority for this token
* @property [**signer**] payer payer
* @property [] masterUpdateAuthority update authority info for new metadata account
* @property [] masterMetadata Master record metadata account
* @property [_writable_] reservationList (optional) Reservation List - If present, and you are on this list, you can get an edition number given by your position on the list.
* @category Instructions
* @category DeprecatedMintNewEditionFromMasterEditionViaPrintingToken
* @category generated
*/
export type DeprecatedMintNewEditionFromMasterEditionViaPrintingTokenInstructionAccounts = {
metadata: web3.PublicKey;
edition: web3.PublicKey;
masterEdition: web3.PublicKey;
mint: web3.PublicKey;
mintAuthority: web3.PublicKey;
printingMint: web3.PublicKey;
masterTokenAccount: web3.PublicKey;
editionMarker: web3.PublicKey;
burnAuthority: web3.PublicKey;
payer: web3.PublicKey;
masterUpdateAuthority: web3.PublicKey;
masterMetadata: web3.PublicKey;
tokenProgram?: web3.PublicKey;
systemProgram?: web3.PublicKey;
rent?: web3.PublicKey;
reservationList?: web3.PublicKey;
};
export declare const deprecatedMintNewEditionFromMasterEditionViaPrintingTokenInstructionDiscriminator = 3;
/**
* Creates a _DeprecatedMintNewEditionFromMasterEditionViaPrintingToken_ instruction.
*
* Optional accounts that are not provided will be omitted from the accounts
* array passed with the instruction.
* An optional account that is set cannot follow an optional account that is unset.
* Otherwise an Error is raised.
*
* @param accounts that will be accessed while the instruction is processed
* @category Instructions
* @category DeprecatedMintNewEditionFromMasterEditionViaPrintingToken
* @category generated
*/
export declare function createDeprecatedMintNewEditionFromMasterEditionViaPrintingTokenInstruction(accounts: DeprecatedMintNewEditionFromMasterEditionViaPrintingTokenInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;
//# sourceMappingURL=DeprecatedMintNewEditionFromMasterEditionViaPrintingToken.d.ts.map