Socket
Socket
Sign inDemoInstall

@metaplex-foundation/mpl-token-metadata

Package Overview
Dependencies
2
Maintainers
10
Versions
81
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-alpha.15 to 3.0.0-alpha.16

10

dist/src/digitalAsset.d.ts

@@ -0,3 +1,3 @@

import { FetchTokenAmountFilter, FetchTokenStrategy, Mint } from '@metaplex-foundation/mpl-essentials';
import { Context, PublicKey, RpcAccount, RpcGetAccountsOptions } from '@metaplex-foundation/umi';
import { Mint } from '@metaplex-foundation/mpl-essentials';
import { Edition, MasterEdition, Metadata, TokenStandard } from './generated';

@@ -21,2 +21,10 @@ export type DigitalAsset = {

export declare function fetchAllDigitalAssetByUpdateAuthority(context: Pick<Context, 'rpc' | 'serializer' | 'eddsa' | 'programs'>, updateAuthority: PublicKey, options?: RpcGetAccountsOptions): Promise<DigitalAsset[]>;
export declare function fetchAllDigitalAssetByOwner(context: Pick<Context, 'rpc' | 'serializer' | 'eddsa' | 'programs'>, owner: PublicKey, options?: RpcGetAccountsOptions & {
tokenStrategy?: FetchTokenStrategy;
tokenAmountFilter?: FetchTokenAmountFilter;
}): Promise<DigitalAsset[]>;
export declare function fetchAllMetadataByOwner(context: Pick<Context, 'rpc' | 'serializer' | 'eddsa' | 'programs'>, owner: PublicKey, options?: RpcGetAccountsOptions & {
tokenStrategy?: FetchTokenStrategy;
tokenAmountFilter?: FetchTokenAmountFilter;
}): Promise<Metadata[]>;
export declare function deserializeDigitalAsset(context: Pick<Context, 'serializer'>, mintAccount: RpcAccount, metadataAccount: RpcAccount, editionAccount?: RpcAccount): DigitalAsset;

@@ -23,0 +31,0 @@ export declare const isFungible: (tokenStandard: TokenStandard) => boolean;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isProgrammable = exports.isNonFungible = exports.isFungible = exports.deserializeDigitalAsset = exports.fetchAllDigitalAssetByUpdateAuthority = exports.fetchAllDigitalAssetByCreator = exports.fetchAllDigitalAsset = exports.fetchDigitalAssetByMetadata = exports.fetchDigitalAsset = void 0;
exports.isProgrammable = exports.isNonFungible = exports.isFungible = exports.deserializeDigitalAsset = exports.fetchAllMetadataByOwner = exports.fetchAllDigitalAssetByOwner = exports.fetchAllDigitalAssetByUpdateAuthority = exports.fetchAllDigitalAssetByCreator = exports.fetchAllDigitalAsset = exports.fetchDigitalAssetByMetadata = exports.fetchDigitalAsset = void 0;
const mpl_essentials_1 = require("@metaplex-foundation/mpl-essentials");
const umi_1 = require("@metaplex-foundation/umi");
const mpl_essentials_1 = require("@metaplex-foundation/mpl-essentials");
const errors_1 = require("./errors");
const generated_1 = require("./generated");
const errors_1 = require("./errors");
const CREATORS_OFFSET = 326;

@@ -31,6 +31,13 @@ const MAX_CREATOR_SIZE = 34;

const accounts = await context.rpc.getAccounts(accountsToFetch, options);
return (0, umi_1.chunk)(accounts, 3).map(([mintAccount, metadataAccount, editionAccount]) => {
(0, umi_1.assertAccountExists)(mintAccount, 'Mint');
(0, umi_1.assertAccountExists)(metadataAccount, 'Metadata');
return deserializeDigitalAsset(context, mintAccount, metadataAccount, editionAccount.exists ? editionAccount : undefined);
return (0, umi_1.chunk)(accounts, 3).flatMap(([mintAccount, metadataAccount, editionAccount]) => {
try {
(0, umi_1.assertAccountExists)(mintAccount, 'Mint');
(0, umi_1.assertAccountExists)(metadataAccount, 'Metadata');
return [
deserializeDigitalAsset(context, mintAccount, metadataAccount, editionAccount.exists ? editionAccount : undefined),
];
}
catch (e) {
return [];
}
});

@@ -56,2 +63,22 @@ }

exports.fetchAllDigitalAssetByUpdateAuthority = fetchAllDigitalAssetByUpdateAuthority;
async function fetchAllDigitalAssetByOwner(context, owner, options) {
const mints = await (0, mpl_essentials_1.fetchAllMintPublicKeyByOwner)(context, owner, options);
return fetchAllDigitalAsset(context, mints, options);
}
exports.fetchAllDigitalAssetByOwner = fetchAllDigitalAssetByOwner;
async function fetchAllMetadataByOwner(context, owner, options) {
const mints = await (0, mpl_essentials_1.fetchAllMintPublicKeyByOwner)(context, owner, options);
const publicKeys = mints.map((mint) => (0, generated_1.findMetadataPda)(context, { mint }));
const maybeAccounts = await context.rpc.getAccounts(publicKeys, options);
return maybeAccounts.flatMap((maybeAccount) => {
try {
(0, umi_1.assertAccountExists)(maybeAccount, 'Metadata');
return [(0, generated_1.deserializeMetadata)(context, maybeAccount)];
}
catch (e) {
return [];
}
});
}
exports.fetchAllMetadataByOwner = fetchAllMetadataByOwner;
function deserializeDigitalAsset(context, mintAccount, metadataAccount, editionAccount) {

@@ -62,2 +89,3 @@ const mint = (0, mpl_essentials_1.deserializeMint)(context, mintAccount);

if (tokenStandard && (0, exports.isNonFungible)(tokenStandard) && !editionAccount) {
// TODO(loris): Custom error.
throw new Error('Edition account must be provided for non-fungible assets.');

@@ -64,0 +92,0 @@ }

import { Context, PublicKey, RpcAccount, RpcBaseOptions, RpcGetAccountsOptions } from '@metaplex-foundation/umi';
import { Token } from '@metaplex-foundation/mpl-essentials';
import { FetchTokenAmountFilter, FetchTokenStrategy, Token } from '@metaplex-foundation/mpl-essentials';
import { DigitalAsset } from './digitalAsset';

@@ -14,5 +14,11 @@ import { TokenRecord } from './generated';

mint?: PublicKey;
tokenStrategy?: FetchTokenStrategy;
tokenAmountFilter?: FetchTokenAmountFilter;
}): Promise<DigitalAssetWithToken[]>;
export declare function fetchAllDigitalAssetWithTokenByOwnerAndMint(context: Pick<Context, 'rpc' | 'serializer' | 'eddsa' | 'programs'>, owner: PublicKey, mint: PublicKey, options?: RpcBaseOptions): Promise<DigitalAssetWithToken[]>;
/**
* Retrives the largest 20 token accounts only for performance reasons.
* For a more robust solution, please use an external indexer.
*/
export declare function fetchAllDigitalAssetWithTokenByMint(context: Pick<Context, 'rpc' | 'serializer' | 'eddsa' | 'programs'>, mint: PublicKey, options?: RpcBaseOptions): Promise<DigitalAssetWithToken[]>;
export declare function deserializeDigitalAssetWithToken(context: Pick<Context, 'serializer'>, mintAccount: RpcAccount, metadataAccount: RpcAccount, tokenAccount: RpcAccount, editionAccount?: RpcAccount, tokenRecordAccount?: RpcAccount): DigitalAssetWithToken;

34

dist/src/digitalAssetWithToken.js

@@ -40,5 +40,4 @@ "use strict";

async function fetchAllDigitalAssetWithTokenByOwner(context, owner, options) {
const tokens = await (0, mpl_essentials_1.fetchTokensByOwner)(context, owner, options);
const nonEmptyTokens = tokens.filter((token) => token.amount > 0);
const accountsToFetch = nonEmptyTokens.flatMap((token) => [
const tokens = await (0, mpl_essentials_1.fetchAllTokenByOwner)(context, owner, options);
const accountsToFetch = tokens.flatMap((token) => [
token.mint,

@@ -50,3 +49,3 @@ (0, generated_1.findMetadataPda)(context, { mint: token.mint }),

const accounts = await context.rpc.getAccounts(accountsToFetch, options);
return (0, umi_1.zipMap)(nonEmptyTokens, (0, umi_1.chunk)(accounts, 4), (token, otherAccounts) => {
return (0, umi_1.zipMap)(tokens, (0, umi_1.chunk)(accounts, 4), (token, otherAccounts) => {
if (!otherAccounts || otherAccounts.length !== 4) {

@@ -59,11 +58,16 @@ return [];

}
return [
{
...(0, digitalAsset_1.deserializeDigitalAsset)(context, mintAccount, metadataAccount, editionAccount.exists ? editionAccount : undefined),
token,
tokenRecord: tokenRecordAccount.exists
? (0, generated_1.deserializeTokenRecord)(context, tokenRecordAccount)
: undefined,
},
];
try {
return [
{
...(0, digitalAsset_1.deserializeDigitalAsset)(context, mintAccount, metadataAccount, editionAccount.exists ? editionAccount : undefined),
token,
tokenRecord: tokenRecordAccount.exists
? (0, generated_1.deserializeTokenRecord)(context, tokenRecordAccount)
: undefined,
},
];
}
catch (e) {
return [];
}
}).flat();

@@ -79,2 +83,6 @@ }

exports.fetchAllDigitalAssetWithTokenByOwnerAndMint = fetchAllDigitalAssetWithTokenByOwnerAndMint;
/**
* Retrives the largest 20 token accounts only for performance reasons.
* For a more robust solution, please use an external indexer.
*/
async function fetchAllDigitalAssetWithTokenByMint(context, mint, options) {

@@ -81,0 +89,0 @@ const largestTokens = await (0, mpl_essentials_1.findLargestTokensByMint)(context, mint, options);

@@ -0,1 +1,8 @@

/**
* 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 { Account, Context, Option, Pda, PublicKey, RpcAccount, RpcGetAccountOptions, RpcGetAccountsOptions, Serializer } from '@metaplex-foundation/umi';

@@ -25,4 +32,6 @@ import { Key, KeyArgs } from '../types';

export declare function findCollectionAuthorityRecordPda(context: Pick<Context, 'eddsa' | 'programs' | 'serializer'>, seeds: {
/** The address of the mint account */
mint: PublicKey;
/** The address of the collection authority */
collectionAuthority: PublicKey;
}): Pda;
"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.findCollectionAuthorityRecordPda = exports.getCollectionAuthorityRecordGpaBuilder = exports.safeFetchAllCollectionAuthorityRecord = exports.fetchAllCollectionAuthorityRecord = exports.safeFetchCollectionAuthorityRecord = exports.fetchCollectionAuthorityRecord = exports.deserializeCollectionAuthorityRecord = exports.getCollectionAuthorityRecordAccountDataSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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 { Account, Context, PublicKey, RpcAccount, RpcGetAccountOptions, RpcGetAccountsOptions, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { Key, KeyArgs } from '../types';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getEditionSize = exports.getEditionGpaBuilder = exports.safeFetchAllEdition = exports.fetchAllEdition = exports.safeFetchEdition = exports.fetchEdition = exports.deserializeEdition = exports.getEditionAccountDataSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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 { Account, Context, PublicKey, RpcAccount, RpcGetAccountOptions, RpcGetAccountsOptions, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { Key, KeyArgs } from '../types';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getEditionMarkerSize = exports.getEditionMarkerGpaBuilder = exports.safeFetchAllEditionMarker = exports.fetchAllEditionMarker = exports.safeFetchEditionMarker = exports.fetchEditionMarker = exports.deserializeEditionMarker = exports.getEditionMarkerAccountDataSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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
*/
export * from './collectionAuthorityRecord';

@@ -2,0 +9,0 @@ export * from './edition';

"use strict";
/**
* 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
*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

@@ -3,0 +10,0 @@ if (k2 === undefined) k2 = k;

@@ -0,1 +1,8 @@

/**
* 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 { Account, Context, Option, Pda, PublicKey, RpcAccount, RpcGetAccountOptions, RpcGetAccountsOptions, Serializer } from '@metaplex-foundation/umi';

@@ -26,3 +33,4 @@ import { Key, KeyArgs } from '../types';

export declare function findMasterEditionPda(context: Pick<Context, 'eddsa' | 'programs' | 'serializer'>, seeds: {
/** The address of the mint account */
mint: PublicKey;
}): Pda;
"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.findMasterEditionPda = exports.getMasterEditionSize = exports.getMasterEditionGpaBuilder = exports.safeFetchAllMasterEdition = exports.fetchAllMasterEdition = exports.safeFetchMasterEdition = exports.fetchMasterEdition = exports.deserializeMasterEdition = exports.getMasterEditionAccountDataSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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 { Account, Context, Option, Pda, PublicKey, RpcAccount, RpcGetAccountOptions, RpcGetAccountsOptions, Serializer } from '@metaplex-foundation/umi';

@@ -65,3 +72,4 @@ import { Collection, CollectionArgs, CollectionDetails, CollectionDetailsArgs, Creator, CreatorArgs, Key, KeyArgs, ProgrammableConfig, ProgrammableConfigArgs, TokenStandard, TokenStandardArgs, Uses, UsesArgs } from '../types';

export declare function findMetadataPda(context: Pick<Context, 'eddsa' | 'programs' | 'serializer'>, seeds: {
/** The address of the mint account */
mint: PublicKey;
}): Pda;
"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.findMetadataPda = exports.getMetadataSize = exports.getMetadataGpaBuilder = exports.safeFetchAllMetadata = exports.fetchAllMetadata = exports.safeFetchMetadata = exports.fetchMetadata = exports.deserializeMetadata = exports.getMetadataAccountDataSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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 { Account, Context, Pda, PublicKey, RpcAccount, RpcGetAccountOptions, RpcGetAccountsOptions, Serializer } from '@metaplex-foundation/umi';

@@ -34,6 +41,10 @@ import { MetadataDelegateRoleSeedArgs } from '../../hooked';

export declare function findMetadataDelegateRecordPda(context: Pick<Context, 'eddsa' | 'programs' | 'serializer'>, seeds: {
/** The address of the mint account */
mint: PublicKey;
/** The role of the metadata delegate */
delegateRole: MetadataDelegateRoleSeedArgs;
/** The address of the metadata's update authority */
updateAuthority: PublicKey;
/** The address of delegate authority */
delegate: PublicKey;
}): Pda;
"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.findMetadataDelegateRecordPda = exports.getMetadataDelegateRecordSize = exports.getMetadataDelegateRecordGpaBuilder = exports.safeFetchAllMetadataDelegateRecord = exports.fetchAllMetadataDelegateRecord = exports.safeFetchMetadataDelegateRecord = exports.fetchMetadataDelegateRecord = exports.deserializeMetadataDelegateRecord = exports.getMetadataDelegateRecordAccountDataSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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 { Account, Context, PublicKey, RpcAccount, RpcGetAccountOptions, RpcGetAccountsOptions, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { EscrowAuthority, EscrowAuthorityArgs, Key, KeyArgs } from '../types';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getTokenOwnedEscrowGpaBuilder = exports.safeFetchAllTokenOwnedEscrow = exports.fetchAllTokenOwnedEscrow = exports.safeFetchTokenOwnedEscrow = exports.fetchTokenOwnedEscrow = exports.deserializeTokenOwnedEscrow = exports.getTokenOwnedEscrowAccountDataSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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 { Account, Context, Option, Pda, PublicKey, RpcAccount, RpcGetAccountOptions, RpcGetAccountsOptions, Serializer } from '@metaplex-foundation/umi';

@@ -38,4 +45,6 @@ import { Key, KeyArgs, TokenDelegateRole, TokenDelegateRoleArgs, TokenState, TokenStateArgs } from '../types';

export declare function findTokenRecordPda(context: Pick<Context, 'eddsa' | 'programs' | 'serializer'>, seeds: {
/** The address of the mint account */
mint: PublicKey;
/** The address of the token account (ata or not) */
token: PublicKey;
}): Pda;
"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.findTokenRecordPda = exports.getTokenRecordSize = exports.getTokenRecordGpaBuilder = exports.safeFetchAllTokenRecord = exports.fetchAllTokenRecord = exports.safeFetchTokenRecord = exports.fetchTokenRecord = exports.deserializeTokenRecord = exports.getTokenRecordAccountDataSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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 { Account, Context, Pda, PublicKey, RpcAccount, RpcGetAccountOptions, RpcGetAccountsOptions, Serializer } from '@metaplex-foundation/umi';

@@ -26,4 +33,6 @@ import { Key, KeyArgs } from '../types';

export declare function findUseAuthorityRecordPda(context: Pick<Context, 'eddsa' | 'programs' | 'serializer'>, seeds: {
/** The address of the mint account */
mint: PublicKey;
/** The address of the use authority */
useAuthority: PublicKey;
}): Pda;
"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.findUseAuthorityRecordPda = exports.getUseAuthorityRecordSize = exports.getUseAuthorityRecordGpaBuilder = exports.safeFetchAllUseAuthorityRecord = exports.fetchAllUseAuthorityRecord = exports.safeFetchUseAuthorityRecord = exports.fetchUseAuthorityRecord = exports.deserializeUseAuthorityRecord = exports.getUseAuthorityRecordAccountDataSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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
*/
export * from './mplTokenMetadata';
"use strict";
/**
* 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
*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

@@ -3,0 +10,0 @@ if (k2 === undefined) k2 = k;

@@ -0,2 +1,10 @@

/**
* 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 { Program, ProgramError } from '@metaplex-foundation/umi';
/** InstructionUnpackError: 'Failed to unpack instruction data' */
export declare class InstructionUnpackErrorError extends ProgramError {

@@ -7,2 +15,3 @@ readonly name: string;

}
/** InstructionPackError: 'Failed to pack instruction data' */
export declare class InstructionPackErrorError extends ProgramError {

@@ -13,2 +22,3 @@ readonly name: string;

}
/** NotRentExempt: 'Lamport balance below rent-exempt threshold' */
export declare class NotRentExemptError extends ProgramError {

@@ -19,2 +29,3 @@ readonly name: string;

}
/** AlreadyInitialized: 'Already initialized' */
export declare class AlreadyInitializedError extends ProgramError {

@@ -25,2 +36,3 @@ readonly name: string;

}
/** Uninitialized: 'Uninitialized' */
export declare class UninitializedError extends ProgramError {

@@ -31,2 +43,3 @@ readonly name: string;

}
/** InvalidMetadataKey: ' Metadata's key must match seed of ['metadata', program id, mint] provided' */
export declare class InvalidMetadataKeyError extends ProgramError {

@@ -37,2 +50,3 @@ readonly name: string;

}
/** InvalidEditionKey: 'Edition's key must match seed of ['metadata', program id, name, 'edition'] provided' */
export declare class InvalidEditionKeyError extends ProgramError {

@@ -43,2 +57,3 @@ readonly name: string;

}
/** UpdateAuthorityIncorrect: 'Update Authority given does not match' */
export declare class UpdateAuthorityIncorrectError extends ProgramError {

@@ -49,2 +64,3 @@ readonly name: string;

}
/** UpdateAuthorityIsNotSigner: 'Update Authority needs to be signer to update metadata' */
export declare class UpdateAuthorityIsNotSignerError extends ProgramError {

@@ -55,2 +71,3 @@ readonly name: string;

}
/** NotMintAuthority: 'You must be the mint authority and signer on this transaction' */
export declare class NotMintAuthorityError extends ProgramError {

@@ -61,2 +78,3 @@ readonly name: string;

}
/** InvalidMintAuthority: 'Mint authority provided does not match the authority on the mint' */
export declare class InvalidMintAuthorityError extends ProgramError {

@@ -67,2 +85,3 @@ readonly name: string;

}
/** NameTooLong: 'Name too long' */
export declare class NameTooLongError extends ProgramError {

@@ -73,2 +92,3 @@ readonly name: string;

}
/** SymbolTooLong: 'Symbol too long' */
export declare class SymbolTooLongError extends ProgramError {

@@ -79,2 +99,3 @@ readonly name: string;

}
/** UriTooLong: 'URI too long' */
export declare class UriTooLongError extends ProgramError {

@@ -85,2 +106,3 @@ readonly name: string;

}
/** UpdateAuthorityMustBeEqualToMetadataAuthorityAndSigner: 'Update authority must be equivalent to the metadata's authority and also signer of this transaction' */
export declare class UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError extends ProgramError {

@@ -91,2 +113,3 @@ readonly name: string;

}
/** MintMismatch: 'Mint given does not match mint on Metadata' */
export declare class MintMismatchError extends ProgramError {

@@ -97,2 +120,3 @@ readonly name: string;

}
/** EditionsMustHaveExactlyOneToken: 'Editions must have exactly one token' */
export declare class EditionsMustHaveExactlyOneTokenError extends ProgramError {

@@ -103,2 +127,3 @@ readonly name: string;

}
/** MaxEditionsMintedAlready: 'Maximum editions printed already' */
export declare class MaxEditionsMintedAlreadyError extends ProgramError {

@@ -109,2 +134,3 @@ readonly name: string;

}
/** TokenMintToFailed: 'Token mint to failed' */
export declare class TokenMintToFailedError extends ProgramError {

@@ -115,2 +141,3 @@ readonly name: string;

}
/** MasterRecordMismatch: 'The master edition record passed must match the master record on the edition given' */
export declare class MasterRecordMismatchError extends ProgramError {

@@ -121,2 +148,3 @@ readonly name: string;

}
/** DestinationMintMismatch: 'The destination account does not have the right mint' */
export declare class DestinationMintMismatchError extends ProgramError {

@@ -127,2 +155,3 @@ readonly name: string;

}
/** EditionAlreadyMinted: 'An edition can only mint one of its kind!' */
export declare class EditionAlreadyMintedError extends ProgramError {

@@ -133,2 +162,3 @@ readonly name: string;

}
/** PrintingMintDecimalsShouldBeZero: 'Printing mint decimals should be zero' */
export declare class PrintingMintDecimalsShouldBeZeroError extends ProgramError {

@@ -139,2 +169,3 @@ readonly name: string;

}
/** OneTimePrintingAuthorizationMintDecimalsShouldBeZero: 'OneTimePrintingAuthorization mint decimals should be zero' */
export declare class OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError extends ProgramError {

@@ -145,2 +176,3 @@ readonly name: string;

}
/** EditionMintDecimalsShouldBeZero: 'EditionMintDecimalsShouldBeZero' */
export declare class EditionMintDecimalsShouldBeZeroError extends ProgramError {

@@ -151,2 +183,3 @@ readonly name: string;

}
/** TokenBurnFailed: 'Token burn failed' */
export declare class TokenBurnFailedError extends ProgramError {

@@ -157,2 +190,3 @@ readonly name: string;

}
/** TokenAccountOneTimeAuthMintMismatch: 'The One Time authorization mint does not match that on the token account!' */
export declare class TokenAccountOneTimeAuthMintMismatchError extends ProgramError {

@@ -163,2 +197,3 @@ readonly name: string;

}
/** DerivedKeyInvalid: 'Derived key invalid' */
export declare class DerivedKeyInvalidError extends ProgramError {

@@ -169,2 +204,3 @@ readonly name: string;

}
/** PrintingMintMismatch: 'The Printing mint does not match that on the master edition!' */
export declare class PrintingMintMismatchError extends ProgramError {

@@ -175,2 +211,3 @@ readonly name: string;

}
/** OneTimePrintingAuthMintMismatch: 'The One Time Printing Auth mint does not match that on the master edition!' */
export declare class OneTimePrintingAuthMintMismatchError extends ProgramError {

@@ -181,2 +218,3 @@ readonly name: string;

}
/** TokenAccountMintMismatch: 'The mint of the token account does not match the Printing mint!' */
export declare class TokenAccountMintMismatchError extends ProgramError {

@@ -187,2 +225,3 @@ readonly name: string;

}
/** TokenAccountMintMismatchV2: 'The mint of the token account does not match the master metadata mint!' */
export declare class TokenAccountMintMismatchV2Error extends ProgramError {

@@ -193,2 +232,3 @@ readonly name: string;

}
/** NotEnoughTokens: 'Not enough tokens to mint a limited edition' */
export declare class NotEnoughTokensError extends ProgramError {

@@ -199,2 +239,3 @@ readonly name: string;

}
/** PrintingMintAuthorizationAccountMismatch: 'The mint on your authorization token holding account does not match your Printing mint!' */
export declare class PrintingMintAuthorizationAccountMismatchError extends ProgramError {

@@ -205,2 +246,3 @@ readonly name: string;

}
/** AuthorizationTokenAccountOwnerMismatch: 'The authorization token account has a different owner than the update authority for the master edition!' */
export declare class AuthorizationTokenAccountOwnerMismatchError extends ProgramError {

@@ -211,2 +253,3 @@ readonly name: string;

}
/** Disabled: 'This feature is currently disabled.' */
export declare class DisabledError extends ProgramError {

@@ -217,2 +260,3 @@ readonly name: string;

}
/** CreatorsTooLong: 'Creators list too long' */
export declare class CreatorsTooLongError extends ProgramError {

@@ -223,2 +267,3 @@ readonly name: string;

}
/** CreatorsMustBeAtleastOne: 'Creators must be at least one if set' */
export declare class CreatorsMustBeAtleastOneError extends ProgramError {

@@ -229,2 +274,3 @@ readonly name: string;

}
/** MustBeOneOfCreators: 'If using a creators array, you must be one of the creators listed' */
export declare class MustBeOneOfCreatorsError extends ProgramError {

@@ -235,2 +281,3 @@ readonly name: string;

}
/** NoCreatorsPresentOnMetadata: 'This metadata does not have creators' */
export declare class NoCreatorsPresentOnMetadataError extends ProgramError {

@@ -241,2 +288,3 @@ readonly name: string;

}
/** CreatorNotFound: 'This creator address was not found' */
export declare class CreatorNotFoundError extends ProgramError {

@@ -247,2 +295,3 @@ readonly name: string;

}
/** InvalidBasisPoints: 'Basis points cannot be more than 10000' */
export declare class InvalidBasisPointsError extends ProgramError {

@@ -253,2 +302,3 @@ readonly name: string;

}
/** PrimarySaleCanOnlyBeFlippedToTrue: 'Primary sale can only be flipped to true and is immutable' */
export declare class PrimarySaleCanOnlyBeFlippedToTrueError extends ProgramError {

@@ -259,2 +309,3 @@ readonly name: string;

}
/** OwnerMismatch: 'Owner does not match that on the account given' */
export declare class OwnerMismatchError extends ProgramError {

@@ -265,2 +316,3 @@ readonly name: string;

}
/** NoBalanceInAccountForAuthorization: 'This account has no tokens to be used for authorization' */
export declare class NoBalanceInAccountForAuthorizationError extends ProgramError {

@@ -271,2 +323,3 @@ readonly name: string;

}
/** ShareTotalMustBe100: 'Share total must equal 100 for creator array' */
export declare class ShareTotalMustBe100Error extends ProgramError {

@@ -277,2 +330,3 @@ readonly name: string;

}
/** ReservationExists: 'This reservation list already exists!' */
export declare class ReservationExistsError extends ProgramError {

@@ -283,2 +337,3 @@ readonly name: string;

}
/** ReservationDoesNotExist: 'This reservation list does not exist!' */
export declare class ReservationDoesNotExistError extends ProgramError {

@@ -289,2 +344,3 @@ readonly name: string;

}
/** ReservationNotSet: 'This reservation list exists but was never set with reservations' */
export declare class ReservationNotSetError extends ProgramError {

@@ -295,2 +351,3 @@ readonly name: string;

}
/** ReservationAlreadyMade: 'This reservation list has already been set!' */
export declare class ReservationAlreadyMadeError extends ProgramError {

@@ -301,2 +358,3 @@ readonly name: string;

}
/** BeyondMaxAddressSize: 'Provided more addresses than max allowed in single reservation' */
export declare class BeyondMaxAddressSizeError extends ProgramError {

@@ -307,2 +365,3 @@ readonly name: string;

}
/** NumericalOverflowError: 'NumericalOverflowError' */
export declare class NumericalOverflowErrorError extends ProgramError {

@@ -313,2 +372,3 @@ readonly name: string;

}
/** ReservationBreachesMaximumSupply: 'This reservation would go beyond the maximum supply of the master edition!' */
export declare class ReservationBreachesMaximumSupplyError extends ProgramError {

@@ -319,2 +379,3 @@ readonly name: string;

}
/** AddressNotInReservation: 'Address not in reservation!' */
export declare class AddressNotInReservationError extends ProgramError {

@@ -325,2 +386,3 @@ readonly name: string;

}
/** CannotVerifyAnotherCreator: 'You cannot unilaterally verify another creator, they must sign' */
export declare class CannotVerifyAnotherCreatorError extends ProgramError {

@@ -331,2 +393,3 @@ readonly name: string;

}
/** CannotUnverifyAnotherCreator: 'You cannot unilaterally unverify another creator' */
export declare class CannotUnverifyAnotherCreatorError extends ProgramError {

@@ -337,2 +400,3 @@ readonly name: string;

}
/** SpotMismatch: 'In initial reservation setting, spots remaining should equal total spots' */
export declare class SpotMismatchError extends ProgramError {

@@ -343,2 +407,3 @@ readonly name: string;

}
/** IncorrectOwner: 'Incorrect account owner' */
export declare class IncorrectOwnerError extends ProgramError {

@@ -349,2 +414,3 @@ readonly name: string;

}
/** PrintingWouldBreachMaximumSupply: 'printing these tokens would breach the maximum supply limit of the master edition' */
export declare class PrintingWouldBreachMaximumSupplyError extends ProgramError {

@@ -355,2 +421,3 @@ readonly name: string;

}
/** DataIsImmutable: 'Data is immutable' */
export declare class DataIsImmutableError extends ProgramError {

@@ -361,2 +428,3 @@ readonly name: string;

}
/** DuplicateCreatorAddress: 'No duplicate creator addresses' */
export declare class DuplicateCreatorAddressError extends ProgramError {

@@ -367,2 +435,3 @@ readonly name: string;

}
/** ReservationSpotsRemainingShouldMatchTotalSpotsAtStart: 'Reservation spots remaining should match total spots when first being created' */
export declare class ReservationSpotsRemainingShouldMatchTotalSpotsAtStartError extends ProgramError {

@@ -373,2 +442,3 @@ readonly name: string;

}
/** InvalidTokenProgram: 'Invalid token program' */
export declare class InvalidTokenProgramError extends ProgramError {

@@ -379,2 +449,3 @@ readonly name: string;

}
/** DataTypeMismatch: 'Data type mismatch' */
export declare class DataTypeMismatchError extends ProgramError {

@@ -385,2 +456,3 @@ readonly name: string;

}
/** BeyondAlottedAddressSize: 'Beyond alotted address size in reservation!' */
export declare class BeyondAlottedAddressSizeError extends ProgramError {

@@ -391,2 +463,3 @@ readonly name: string;

}
/** ReservationNotComplete: 'The reservation has only been partially alotted' */
export declare class ReservationNotCompleteError extends ProgramError {

@@ -397,2 +470,3 @@ readonly name: string;

}
/** TriedToReplaceAnExistingReservation: 'You cannot splice over an existing reservation!' */
export declare class TriedToReplaceAnExistingReservationError extends ProgramError {

@@ -403,2 +477,3 @@ readonly name: string;

}
/** InvalidOperation: 'Invalid operation' */
export declare class InvalidOperationError extends ProgramError {

@@ -409,2 +484,3 @@ readonly name: string;

}
/** InvalidOwner: 'Invalid Owner' */
export declare class InvalidOwnerError extends ProgramError {

@@ -415,2 +491,3 @@ readonly name: string;

}
/** PrintingMintSupplyMustBeZeroForConversion: 'Printing mint supply must be zero for conversion' */
export declare class PrintingMintSupplyMustBeZeroForConversionError extends ProgramError {

@@ -421,2 +498,3 @@ readonly name: string;

}
/** OneTimeAuthMintSupplyMustBeZeroForConversion: 'One Time Auth mint supply must be zero for conversion' */
export declare class OneTimeAuthMintSupplyMustBeZeroForConversionError extends ProgramError {

@@ -427,2 +505,3 @@ readonly name: string;

}
/** InvalidEditionIndex: 'You tried to insert one edition too many into an edition mark pda' */
export declare class InvalidEditionIndexError extends ProgramError {

@@ -433,2 +512,3 @@ readonly name: string;

}
/** ReservationArrayShouldBeSizeOne: 'In the legacy system the reservation needs to be of size one for cpu limit reasons' */
export declare class ReservationArrayShouldBeSizeOneError extends ProgramError {

@@ -439,2 +519,3 @@ readonly name: string;

}
/** IsMutableCanOnlyBeFlippedToFalse: 'Is Mutable can only be flipped to false' */
export declare class IsMutableCanOnlyBeFlippedToFalseError extends ProgramError {

@@ -445,2 +526,3 @@ readonly name: string;

}
/** CollectionCannotBeVerifiedInThisInstruction: 'Collection cannot be verified in this instruction' */
export declare class CollectionCannotBeVerifiedInThisInstructionError extends ProgramError {

@@ -451,2 +533,3 @@ readonly name: string;

}
/** Removed: 'This instruction was deprecated in a previous release and is now removed' */
export declare class RemovedError extends ProgramError {

@@ -457,2 +540,3 @@ readonly name: string;

}
/** MustBeBurned: 'This token use method is burn and there are no remaining uses, it must be burned' */
export declare class MustBeBurnedError extends ProgramError {

@@ -463,2 +547,3 @@ readonly name: string;

}
/** InvalidUseMethod: 'This use method is invalid' */
export declare class InvalidUseMethodError extends ProgramError {

@@ -469,2 +554,3 @@ readonly name: string;

}
/** CannotChangeUseMethodAfterFirstUse: 'Cannot Change Use Method after the first use' */
export declare class CannotChangeUseMethodAfterFirstUseError extends ProgramError {

@@ -475,2 +561,3 @@ readonly name: string;

}
/** CannotChangeUsesAfterFirstUse: 'Cannot Change Remaining or Available uses after the first use' */
export declare class CannotChangeUsesAfterFirstUseError extends ProgramError {

@@ -481,2 +568,3 @@ readonly name: string;

}
/** CollectionNotFound: 'Collection Not Found on Metadata' */
export declare class CollectionNotFoundError extends ProgramError {

@@ -487,2 +575,3 @@ readonly name: string;

}
/** InvalidCollectionUpdateAuthority: 'Collection Update Authority is invalid' */
export declare class InvalidCollectionUpdateAuthorityError extends ProgramError {

@@ -493,2 +582,3 @@ readonly name: string;

}
/** CollectionMustBeAUniqueMasterEdition: 'Collection Must Be a Unique Master Edition v2' */
export declare class CollectionMustBeAUniqueMasterEditionError extends ProgramError {

@@ -499,2 +589,3 @@ readonly name: string;

}
/** UseAuthorityRecordAlreadyExists: 'The Use Authority Record Already Exists, to modify it Revoke, then Approve' */
export declare class UseAuthorityRecordAlreadyExistsError extends ProgramError {

@@ -505,2 +596,3 @@ readonly name: string;

}
/** UseAuthorityRecordAlreadyRevoked: 'The Use Authority Record is empty or already revoked' */
export declare class UseAuthorityRecordAlreadyRevokedError extends ProgramError {

@@ -511,2 +603,3 @@ readonly name: string;

}
/** Unusable: 'This token has no uses' */
export declare class UnusableError extends ProgramError {

@@ -517,2 +610,3 @@ readonly name: string;

}
/** NotEnoughUses: 'There are not enough Uses left on this token.' */
export declare class NotEnoughUsesError extends ProgramError {

@@ -523,2 +617,3 @@ readonly name: string;

}
/** CollectionAuthorityRecordAlreadyExists: 'This Collection Authority Record Already Exists.' */
export declare class CollectionAuthorityRecordAlreadyExistsError extends ProgramError {

@@ -529,2 +624,3 @@ readonly name: string;

}
/** CollectionAuthorityDoesNotExist: 'This Collection Authority Record Does Not Exist.' */
export declare class CollectionAuthorityDoesNotExistError extends ProgramError {

@@ -535,2 +631,3 @@ readonly name: string;

}
/** InvalidUseAuthorityRecord: 'This Use Authority Record is invalid.' */
export declare class InvalidUseAuthorityRecordError extends ProgramError {

@@ -541,2 +638,3 @@ readonly name: string;

}
/** InvalidCollectionAuthorityRecord: 'This Collection Authority Record is invalid.' */
export declare class InvalidCollectionAuthorityRecordError extends ProgramError {

@@ -547,2 +645,3 @@ readonly name: string;

}
/** InvalidFreezeAuthority: 'Metadata does not match the freeze authority on the mint' */
export declare class InvalidFreezeAuthorityError extends ProgramError {

@@ -553,2 +652,3 @@ readonly name: string;

}
/** InvalidDelegate: 'All tokens in this account have not been delegated to this user.' */
export declare class InvalidDelegateError extends ProgramError {

@@ -559,2 +659,3 @@ readonly name: string;

}
/** CannotAdjustVerifiedCreator: 'Creator can not be adjusted once they are verified.' */
export declare class CannotAdjustVerifiedCreatorError extends ProgramError {

@@ -565,2 +666,3 @@ readonly name: string;

}
/** CannotRemoveVerifiedCreator: 'Verified creators cannot be removed.' */
export declare class CannotRemoveVerifiedCreatorError extends ProgramError {

@@ -571,2 +673,3 @@ readonly name: string;

}
/** CannotWipeVerifiedCreators: 'Can not wipe verified creators.' */
export declare class CannotWipeVerifiedCreatorsError extends ProgramError {

@@ -577,2 +680,3 @@ readonly name: string;

}
/** NotAllowedToChangeSellerFeeBasisPoints: 'Not allowed to change seller fee basis points.' */
export declare class NotAllowedToChangeSellerFeeBasisPointsError extends ProgramError {

@@ -583,2 +687,3 @@ readonly name: string;

}
/** EditionOverrideCannotBeZero: 'Edition override cannot be zero' */
export declare class EditionOverrideCannotBeZeroError extends ProgramError {

@@ -589,2 +694,3 @@ readonly name: string;

}
/** InvalidUser: 'Invalid User' */
export declare class InvalidUserError extends ProgramError {

@@ -595,2 +701,3 @@ readonly name: string;

}
/** RevokeCollectionAuthoritySignerIncorrect: 'Revoke Collection Authority signer is incorrect' */
export declare class RevokeCollectionAuthoritySignerIncorrectError extends ProgramError {

@@ -601,2 +708,3 @@ readonly name: string;

}
/** TokenCloseFailed: 'Token close failed' */
export declare class TokenCloseFailedError extends ProgramError {

@@ -607,2 +715,3 @@ readonly name: string;

}
/** UnsizedCollection: 'Can't use this function on unsized collection' */
export declare class UnsizedCollectionError extends ProgramError {

@@ -613,2 +722,3 @@ readonly name: string;

}
/** SizedCollection: 'Can't use this function on a sized collection' */
export declare class SizedCollectionError extends ProgramError {

@@ -619,2 +729,3 @@ readonly name: string;

}
/** MissingCollectionMetadata: 'Missing collection metadata account' */
export declare class MissingCollectionMetadataError extends ProgramError {

@@ -625,2 +736,3 @@ readonly name: string;

}
/** NotAMemberOfCollection: 'This NFT is not a member of the specified collection.' */
export declare class NotAMemberOfCollectionError extends ProgramError {

@@ -631,2 +743,3 @@ readonly name: string;

}
/** NotVerifiedMemberOfCollection: 'This NFT is not a verified member of the specified collection.' */
export declare class NotVerifiedMemberOfCollectionError extends ProgramError {

@@ -637,2 +750,3 @@ readonly name: string;

}
/** NotACollectionParent: 'This NFT is not a collection parent NFT.' */
export declare class NotACollectionParentError extends ProgramError {

@@ -643,2 +757,3 @@ readonly name: string;

}
/** CouldNotDetermineTokenStandard: 'Could not determine a TokenStandard type.' */
export declare class CouldNotDetermineTokenStandardError extends ProgramError {

@@ -649,2 +764,3 @@ readonly name: string;

}
/** MissingEditionAccount: 'This mint account has an edition but none was provided.' */
export declare class MissingEditionAccountError extends ProgramError {

@@ -655,2 +771,3 @@ readonly name: string;

}
/** NotAMasterEdition: 'This edition is not a Master Edition' */
export declare class NotAMasterEditionError extends ProgramError {

@@ -661,2 +778,3 @@ readonly name: string;

}
/** MasterEditionHasPrints: 'This Master Edition has existing prints' */
export declare class MasterEditionHasPrintsError extends ProgramError {

@@ -667,2 +785,3 @@ readonly name: string;

}
/** BorshDeserializationError: 'Borsh Deserialization Error' */
export declare class BorshDeserializationErrorError extends ProgramError {

@@ -673,2 +792,3 @@ readonly name: string;

}
/** CannotUpdateVerifiedCollection: 'Cannot update a verified collection in this command' */
export declare class CannotUpdateVerifiedCollectionError extends ProgramError {

@@ -679,2 +799,3 @@ readonly name: string;

}
/** CollectionMasterEditionAccountInvalid: 'Edition account doesnt match collection ' */
export declare class CollectionMasterEditionAccountInvalidError extends ProgramError {

@@ -685,2 +806,3 @@ readonly name: string;

}
/** AlreadyVerified: 'Item is already verified.' */
export declare class AlreadyVerifiedError extends ProgramError {

@@ -691,2 +813,3 @@ readonly name: string;

}
/** AlreadyUnverified: 'Item is already unverified.' */
export declare class AlreadyUnverifiedError extends ProgramError {

@@ -697,2 +820,3 @@ readonly name: string;

}
/** NotAPrintEdition: 'This edition is not a Print Edition' */
export declare class NotAPrintEditionError extends ProgramError {

@@ -703,2 +827,3 @@ readonly name: string;

}
/** InvalidMasterEdition: 'Invalid Master Edition' */
export declare class InvalidMasterEditionError extends ProgramError {

@@ -709,2 +834,3 @@ readonly name: string;

}
/** InvalidPrintEdition: 'Invalid Print Edition' */
export declare class InvalidPrintEditionError extends ProgramError {

@@ -715,2 +841,3 @@ readonly name: string;

}
/** InvalidEditionMarker: 'Invalid Edition Marker' */
export declare class InvalidEditionMarkerError extends ProgramError {

@@ -721,2 +848,3 @@ readonly name: string;

}
/** ReservationListDeprecated: 'Reservation List is Deprecated' */
export declare class ReservationListDeprecatedError extends ProgramError {

@@ -727,2 +855,3 @@ readonly name: string;

}
/** PrintEditionDoesNotMatchMasterEdition: 'Print Edition does not match Master Edition' */
export declare class PrintEditionDoesNotMatchMasterEditionError extends ProgramError {

@@ -733,2 +862,3 @@ readonly name: string;

}
/** EditionNumberGreaterThanMaxSupply: 'Edition Number greater than max supply' */
export declare class EditionNumberGreaterThanMaxSupplyError extends ProgramError {

@@ -739,2 +869,3 @@ readonly name: string;

}
/** MustUnverify: 'Must unverify before migrating collections.' */
export declare class MustUnverifyError extends ProgramError {

@@ -745,2 +876,3 @@ readonly name: string;

}
/** InvalidEscrowBumpSeed: 'Invalid Escrow Account Bump Seed' */
export declare class InvalidEscrowBumpSeedError extends ProgramError {

@@ -751,2 +883,3 @@ readonly name: string;

}
/** MustBeEscrowAuthority: 'Must Escrow Authority' */
export declare class MustBeEscrowAuthorityError extends ProgramError {

@@ -757,2 +890,3 @@ readonly name: string;

}
/** InvalidSystemProgram: 'Invalid System Program' */
export declare class InvalidSystemProgramError extends ProgramError {

@@ -763,2 +897,3 @@ readonly name: string;

}
/** MustBeNonFungible: 'Must be a Non Fungible Token' */
export declare class MustBeNonFungibleError extends ProgramError {

@@ -769,2 +904,3 @@ readonly name: string;

}
/** InsufficientTokens: 'Insufficient tokens for transfer' */
export declare class InsufficientTokensError extends ProgramError {

@@ -775,2 +911,3 @@ readonly name: string;

}
/** BorshSerializationError: 'Borsh Serialization Error' */
export declare class BorshSerializationErrorError extends ProgramError {

@@ -781,2 +918,3 @@ readonly name: string;

}
/** NoFreezeAuthoritySet: 'Cannot create NFT with no Freeze Authority.' */
export declare class NoFreezeAuthoritySetError extends ProgramError {

@@ -787,2 +925,3 @@ readonly name: string;

}
/** InvalidCollectionSizeChange: 'Invalid collection size change' */
export declare class InvalidCollectionSizeChangeError extends ProgramError {

@@ -793,2 +932,3 @@ readonly name: string;

}
/** InvalidBubblegumSigner: 'Invalid bubblegum signer' */
export declare class InvalidBubblegumSignerError extends ProgramError {

@@ -799,2 +939,3 @@ readonly name: string;

}
/** EscrowParentHasDelegate: 'Escrow parent cannot have a delegate' */
export declare class EscrowParentHasDelegateError extends ProgramError {

@@ -805,2 +946,3 @@ readonly name: string;

}
/** MintIsNotSigner: 'Mint needs to be signer to initialize the account' */
export declare class MintIsNotSignerError extends ProgramError {

@@ -811,2 +953,3 @@ readonly name: string;

}
/** InvalidTokenStandard: 'Invalid token standard' */
export declare class InvalidTokenStandardError extends ProgramError {

@@ -817,2 +960,3 @@ readonly name: string;

}
/** InvalidMintForTokenStandard: 'Invalid mint account for specified token standard' */
export declare class InvalidMintForTokenStandardError extends ProgramError {

@@ -823,2 +967,3 @@ readonly name: string;

}
/** InvalidAuthorizationRules: 'Invalid authorization rules account' */
export declare class InvalidAuthorizationRulesError extends ProgramError {

@@ -829,2 +974,3 @@ readonly name: string;

}
/** MissingAuthorizationRules: 'Missing authorization rules account' */
export declare class MissingAuthorizationRulesError extends ProgramError {

@@ -835,2 +981,3 @@ readonly name: string;

}
/** MissingProgrammableConfig: 'Missing programmable configuration' */
export declare class MissingProgrammableConfigError extends ProgramError {

@@ -841,2 +988,3 @@ readonly name: string;

}
/** InvalidProgrammableConfig: 'Invalid programmable configuration' */
export declare class InvalidProgrammableConfigError extends ProgramError {

@@ -847,2 +995,3 @@ readonly name: string;

}
/** DelegateAlreadyExists: 'Delegate already exists' */
export declare class DelegateAlreadyExistsError extends ProgramError {

@@ -853,2 +1002,3 @@ readonly name: string;

}
/** DelegateNotFound: 'Delegate not found' */
export declare class DelegateNotFoundError extends ProgramError {

@@ -859,2 +1009,3 @@ readonly name: string;

}
/** MissingAccountInBuilder: 'Required account not set in instruction builder' */
export declare class MissingAccountInBuilderError extends ProgramError {

@@ -865,2 +1016,3 @@ readonly name: string;

}
/** MissingArgumentInBuilder: 'Required argument not set in instruction builder' */
export declare class MissingArgumentInBuilderError extends ProgramError {

@@ -871,2 +1023,3 @@ readonly name: string;

}
/** FeatureNotSupported: 'Feature not supported currently' */
export declare class FeatureNotSupportedError extends ProgramError {

@@ -877,2 +1030,3 @@ readonly name: string;

}
/** InvalidSystemWallet: 'Invalid system wallet' */
export declare class InvalidSystemWalletError extends ProgramError {

@@ -883,2 +1037,3 @@ readonly name: string;

}
/** OnlySaleDelegateCanTransfer: 'Only the sale delegate can transfer while its set' */
export declare class OnlySaleDelegateCanTransferError extends ProgramError {

@@ -889,2 +1044,3 @@ readonly name: string;

}
/** MissingTokenAccount: 'Missing token account' */
export declare class MissingTokenAccountError extends ProgramError {

@@ -895,2 +1051,3 @@ readonly name: string;

}
/** MissingSplTokenProgram: 'Missing SPL token program' */
export declare class MissingSplTokenProgramError extends ProgramError {

@@ -901,2 +1058,3 @@ readonly name: string;

}
/** MissingAuthorizationRulesProgram: 'Missing authorization rules program' */
export declare class MissingAuthorizationRulesProgramError extends ProgramError {

@@ -907,2 +1065,3 @@ readonly name: string;

}
/** InvalidDelegateRoleForTransfer: 'Invalid delegate role for transfer' */
export declare class InvalidDelegateRoleForTransferError extends ProgramError {

@@ -913,2 +1072,3 @@ readonly name: string;

}
/** InvalidTransferAuthority: 'Invalid transfer authority' */
export declare class InvalidTransferAuthorityError extends ProgramError {

@@ -919,2 +1079,3 @@ readonly name: string;

}
/** InstructionNotSupported: 'Instruction not supported for ProgrammableNonFungible assets' */
export declare class InstructionNotSupportedError extends ProgramError {

@@ -925,2 +1086,3 @@ readonly name: string;

}
/** KeyMismatch: 'Public key does not match expected value' */
export declare class KeyMismatchError extends ProgramError {

@@ -931,2 +1093,3 @@ readonly name: string;

}
/** LockedToken: 'Token is locked' */
export declare class LockedTokenError extends ProgramError {

@@ -937,2 +1100,3 @@ readonly name: string;

}
/** UnlockedToken: 'Token is unlocked' */
export declare class UnlockedTokenError extends ProgramError {

@@ -943,2 +1107,3 @@ readonly name: string;

}
/** MissingDelegateRole: 'Missing delegate role' */
export declare class MissingDelegateRoleError extends ProgramError {

@@ -949,2 +1114,3 @@ readonly name: string;

}
/** InvalidAuthorityType: 'Invalid authority type' */
export declare class InvalidAuthorityTypeError extends ProgramError {

@@ -955,2 +1121,3 @@ readonly name: string;

}
/** MissingTokenRecord: 'Missing token record account' */
export declare class MissingTokenRecordError extends ProgramError {

@@ -961,2 +1128,3 @@ readonly name: string;

}
/** MintSupplyMustBeZero: 'Mint supply must be zero for programmable assets' */
export declare class MintSupplyMustBeZeroError extends ProgramError {

@@ -967,2 +1135,3 @@ readonly name: string;

}
/** DataIsEmptyOrZeroed: 'Data is empty or zeroed' */
export declare class DataIsEmptyOrZeroedError extends ProgramError {

@@ -973,2 +1142,3 @@ readonly name: string;

}
/** MissingTokenOwnerAccount: 'Missing token owner' */
export declare class MissingTokenOwnerAccountError extends ProgramError {

@@ -979,2 +1149,3 @@ readonly name: string;

}
/** InvalidMasterEditionAccountLength: 'Master edition account has an invalid length' */
export declare class InvalidMasterEditionAccountLengthError extends ProgramError {

@@ -985,2 +1156,3 @@ readonly name: string;

}
/** IncorrectTokenState: 'Incorrect token state' */
export declare class IncorrectTokenStateError extends ProgramError {

@@ -991,2 +1163,3 @@ readonly name: string;

}
/** InvalidDelegateRole: 'Invalid delegate role' */
export declare class InvalidDelegateRoleError extends ProgramError {

@@ -997,2 +1170,3 @@ readonly name: string;

}
/** MissingPrintSupply: 'Print supply is required for non-fungibles' */
export declare class MissingPrintSupplyError extends ProgramError {

@@ -1003,2 +1177,3 @@ readonly name: string;

}
/** MissingMasterEditionAccount: 'Missing master edition account' */
export declare class MissingMasterEditionAccountError extends ProgramError {

@@ -1009,2 +1184,3 @@ readonly name: string;

}
/** AmountMustBeGreaterThanZero: 'Amount must be greater than zero' */
export declare class AmountMustBeGreaterThanZeroError extends ProgramError {

@@ -1015,2 +1191,3 @@ readonly name: string;

}
/** InvalidDelegateArgs: 'Invalid delegate args' */
export declare class InvalidDelegateArgsError extends ProgramError {

@@ -1021,2 +1198,3 @@ readonly name: string;

}
/** MissingLockedTransferAddress: 'Missing address for locked transfer' */
export declare class MissingLockedTransferAddressError extends ProgramError {

@@ -1027,2 +1205,3 @@ readonly name: string;

}
/** InvalidLockedTransferAddress: 'Invalid destination address for locked transfer' */
export declare class InvalidLockedTransferAddressError extends ProgramError {

@@ -1033,2 +1212,3 @@ readonly name: string;

}
/** DataIncrementLimitExceeded: 'Exceeded account realloc increase limit' */
export declare class DataIncrementLimitExceededError extends ProgramError {

@@ -1039,2 +1219,3 @@ readonly name: string;

}
/** CannotUpdateAssetWithDelegate: 'Cannot update the rule set of a programmable asset that has a delegate' */
export declare class CannotUpdateAssetWithDelegateError extends ProgramError {

@@ -1045,2 +1226,3 @@ readonly name: string;

}
/** InvalidAmount: 'Invalid token amount for this operation or token standard' */
export declare class InvalidAmountError extends ProgramError {

@@ -1051,2 +1233,3 @@ readonly name: string;

}
/** MissingMasterEditionMintAccount: 'Missing master edition mint account' */
export declare class MissingMasterEditionMintAccountError extends ProgramError {

@@ -1057,2 +1240,3 @@ readonly name: string;

}
/** MissingMasterEditionTokenAccount: 'Missing master edition token account' */
export declare class MissingMasterEditionTokenAccountError extends ProgramError {

@@ -1063,2 +1247,3 @@ readonly name: string;

}
/** MissingEditionMarkerAccount: 'Missing edition marker account' */
export declare class MissingEditionMarkerAccountError extends ProgramError {

@@ -1069,2 +1254,3 @@ readonly name: string;

}
/** CannotBurnWithDelegate: 'Cannot burn while persistent delegate is set' */
export declare class CannotBurnWithDelegateError extends ProgramError {

@@ -1075,2 +1261,3 @@ readonly name: string;

}
/** MissingEdition: 'Missing edition account' */
export declare class MissingEditionError extends ProgramError {

@@ -1081,2 +1268,3 @@ readonly name: string;

}
/** InvalidAssociatedTokenAccountProgram: 'Invalid Associated Token Account Program' */
export declare class InvalidAssociatedTokenAccountProgramError extends ProgramError {

@@ -1087,2 +1275,3 @@ readonly name: string;

}
/** InvalidInstructionsSysvar: 'Invalid InstructionsSysvar' */
export declare class InvalidInstructionsSysvarError extends ProgramError {

@@ -1093,2 +1282,3 @@ readonly name: string;

}
/** InvalidParentAccounts: 'Invalid or Unneeded parent accounts' */
export declare class InvalidParentAccountsError extends ProgramError {

@@ -1099,2 +1289,3 @@ readonly name: string;

}
/** InvalidUpdateArgs: 'Authority cannot apply all update args' */
export declare class InvalidUpdateArgsError extends ProgramError {

@@ -1105,2 +1296,3 @@ readonly name: string;

}
/** InsufficientTokenBalance: 'Token account does not have enough tokens' */
export declare class InsufficientTokenBalanceError extends ProgramError {

@@ -1111,2 +1303,3 @@ readonly name: string;

}
/** MissingCollectionMint: 'Missing collection account' */
export declare class MissingCollectionMintError extends ProgramError {

@@ -1117,2 +1310,3 @@ readonly name: string;

}
/** MissingCollectionMasterEdition: 'Missing collection master edition account' */
export declare class MissingCollectionMasterEditionError extends ProgramError {

@@ -1123,2 +1317,3 @@ readonly name: string;

}
/** InvalidTokenRecord: 'Invalid token record account' */
export declare class InvalidTokenRecordError extends ProgramError {

@@ -1129,2 +1324,3 @@ readonly name: string;

}
/** InvalidCloseAuthority: 'The close authority needs to be revoked by the Utility Delegate' */
export declare class InvalidCloseAuthorityError extends ProgramError {

@@ -1135,3 +1331,11 @@ readonly name: string;

}
/**
* Attempts to resolve a custom program error from the provided error code.
* @category Errors
*/
export declare function getMplTokenMetadataErrorFromCode(code: number, program: Program, cause?: Error): ProgramError | null;
/**
* Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'.
* @category Errors
*/
export declare function getMplTokenMetadataErrorFromName(name: string, program: Program, cause?: Error): ProgramError | null;

@@ -0,1 +1,8 @@

/**
* 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
*/
export * from './accounts';

@@ -2,0 +9,0 @@ export * from './errors';

"use strict";
/**
* 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
*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

@@ -3,0 +10,0 @@ if (k2 === undefined) k2 = k;

@@ -0,10 +1,25 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type ApproveCollectionAuthorityInstructionAccounts = {
/** Collection Authority Record PDA */
collectionAuthorityRecord: PublicKey;
/** A Collection Authority */
newCollectionAuthority: PublicKey;
/** Update Authority of Collection NFT */
updateAuthority?: Signer;
/** Payer */
payer?: Signer;
/** Collection Metadata account */
metadata?: PublicKey;
/** Mint of Collection Metadata */
mint: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Rent info */
rent?: PublicKey;

@@ -11,0 +26,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -14,6 +21,9 @@ exports.approveCollectionAuthority = exports.getApproveCollectionAuthorityInstructionDataSerializer = void 0;

exports.getApproveCollectionAuthorityInstructionDataSerializer = getApproveCollectionAuthorityInstructionDataSerializer;
// Instruction.
function approveCollectionAuthority(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const collectionAuthorityRecordAccount = input.collectionAuthorityRecord;

@@ -31,2 +41,3 @@ const newCollectionAuthorityAccount = input.newCollectionAuthority;

const rentAccount = input.rent;
// Collection Authority Record.
keys.push({

@@ -37,2 +48,3 @@ pubkey: collectionAuthorityRecordAccount,

});
// New Collection Authority.
keys.push({

@@ -43,2 +55,3 @@ pubkey: newCollectionAuthorityAccount,

});
// Update Authority.
signers.push(updateAuthorityAccount);

@@ -50,2 +63,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -57,2 +71,3 @@ keys.push({

});
// Metadata.
keys.push({

@@ -63,2 +78,3 @@ pubkey: metadataAccount,

});
// Mint.
keys.push({

@@ -69,2 +85,3 @@ pubkey: mintAccount,

});
// System Program.
keys.push({

@@ -75,2 +92,3 @@ pubkey: systemProgramAccount,

});
// Rent (optional).
if (rentAccount) {

@@ -83,3 +101,5 @@ keys.push({

}
// Data.
const data = getApproveCollectionAuthorityInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -86,0 +106,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,13 +1,31 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type ApproveUseAuthorityInstructionAccounts = {
/** Use Authority Record PDA */
useAuthorityRecord: PublicKey;
/** Owner */
owner: Signer;
/** Payer */
payer?: Signer;
/** A Use Authority */
user: PublicKey;
/** Owned Token Account Of Mint */
ownerTokenAccount: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Mint of Metadata */
mint: PublicKey;
/** Program As Signer (Burner) */
burner: PublicKey;
/** Token program */
tokenProgram?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Rent info */
rent?: PublicKey;

@@ -14,0 +32,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -14,6 +21,9 @@ exports.approveUseAuthority = exports.getApproveUseAuthorityInstructionDataSerializer = void 0;

exports.getApproveUseAuthorityInstructionDataSerializer = getApproveUseAuthorityInstructionDataSerializer;
// Instruction.
function approveUseAuthority(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const useAuthorityRecordAccount = input.useAuthorityRecord;

@@ -37,2 +47,3 @@ const ownerAccount = input.owner;

const rentAccount = input.rent;
// Use Authority Record.
keys.push({

@@ -43,2 +54,3 @@ pubkey: useAuthorityRecordAccount,

});
// Owner.
signers.push(ownerAccount);

@@ -50,2 +62,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -57,2 +70,3 @@ keys.push({

});
// User.
keys.push({

@@ -63,2 +77,3 @@ pubkey: userAccount,

});
// Owner Token Account.
keys.push({

@@ -69,2 +84,3 @@ pubkey: ownerTokenAccountAccount,

});
// Metadata.
keys.push({

@@ -75,2 +91,3 @@ pubkey: metadataAccount,

});
// Mint.
keys.push({

@@ -81,2 +98,3 @@ pubkey: mintAccount,

});
// Burner.
keys.push({

@@ -87,2 +105,3 @@ pubkey: burnerAccount,

});
// Token Program.
keys.push({

@@ -93,2 +112,3 @@ pubkey: tokenProgramAccount,

});
// System Program.
keys.push({

@@ -99,2 +119,3 @@ pubkey: systemProgramAccount,

});
// Rent (optional).
if (rentAccount) {

@@ -107,3 +128,5 @@ keys.push({

}
// Data.
const data = getApproveUseAuthorityInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -110,0 +133,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,8 +1,20 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { SetCollectionSizeArgs, SetCollectionSizeArgsArgs } from '../types';
export type BubblegumSetCollectionSizeInstructionAccounts = {
/** Collection Metadata account */
collectionMetadata: PublicKey;
/** Collection Update authority */
collectionAuthority: Signer;
/** Mint of the Collection */
collectionMint: PublicKey;
/** Signing PDA of Bubblegum program */
bubblegumSigner: Signer;
/** Collection Authority Record PDA */
collectionAuthorityRecord?: PublicKey;

@@ -9,0 +21,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -17,6 +24,9 @@ exports.bubblegumSetCollectionSize = exports.getBubblegumSetCollectionSizeInstructionDataSerializer = void 0;

exports.getBubblegumSetCollectionSizeInstructionDataSerializer = getBubblegumSetCollectionSizeInstructionDataSerializer;
// Instruction.
function bubblegumSetCollectionSize(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const collectionMetadataAccount = input.collectionMetadata;

@@ -27,2 +37,3 @@ const collectionAuthorityAccount = input.collectionAuthority;

const collectionAuthorityRecordAccount = input.collectionAuthorityRecord;
// Collection Metadata.
keys.push({

@@ -33,2 +44,3 @@ pubkey: collectionMetadataAccount,

});
// Collection Authority.
signers.push(collectionAuthorityAccount);

@@ -40,2 +52,3 @@ keys.push({

});
// Collection Mint.
keys.push({

@@ -46,2 +59,3 @@ pubkey: collectionMintAccount,

});
// Bubblegum Signer.
signers.push(bubblegumSignerAccount);

@@ -53,2 +67,3 @@ keys.push({

});
// Collection Authority Record (optional).
if (collectionAuthorityRecordAccount) {

@@ -61,3 +76,5 @@ keys.push({

}
// Data.
const data = getBubblegumSetCollectionSizeInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -64,0 +81,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,17 +1,38 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { BurnArgs, BurnArgsArgs } from '../types';
export type BurnInstructionAccounts = {
/** Asset owner or Utility delegate */
authority?: Signer;
/** Metadata of the Collection */
collectionMetadata?: PublicKey;
/** Metadata (pda of ['metadata', program id, mint id]) */
metadata?: PublicKey;
/** Edition of the asset */
edition?: PublicKey;
/** Mint of token asset */
mint: PublicKey;
/** Token account to close */
token: PublicKey;
/** Master edition account */
masterEdition?: PublicKey;
/** Master edition mint of the asset */
masterEditionMint?: PublicKey;
/** Master edition token account */
masterEditionToken?: PublicKey;
/** Edition marker account */
editionMarker?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;

@@ -18,0 +39,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -15,6 +22,9 @@ exports.burn = exports.getBurnInstructionDataSerializer = void 0;

exports.getBurnInstructionDataSerializer = getBurnInstructionDataSerializer;
// Instruction.
function burn(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -60,2 +70,3 @@ const collectionMetadataAccount = input.collectionMetadata ?? {

};
// Authority.
signers.push(authorityAccount);

@@ -67,2 +78,3 @@ keys.push({

});
// Collection Metadata.
keys.push({

@@ -73,2 +85,3 @@ pubkey: collectionMetadataAccount,

});
// Metadata.
keys.push({

@@ -79,2 +92,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -85,2 +99,3 @@ pubkey: editionAccount,

});
// Mint.
keys.push({

@@ -91,2 +106,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -97,2 +113,3 @@ pubkey: tokenAccount,

});
// Master Edition.
keys.push({

@@ -103,2 +120,3 @@ pubkey: masterEditionAccount,

});
// Master Edition Mint.
keys.push({

@@ -109,2 +127,3 @@ pubkey: masterEditionMintAccount,

});
// Master Edition Token.
keys.push({

@@ -115,2 +134,3 @@ pubkey: masterEditionTokenAccount,

});
// Edition Marker.
keys.push({

@@ -121,2 +141,3 @@ pubkey: editionMarkerAccount,

});
// Token Record.
keys.push({

@@ -127,2 +148,3 @@ pubkey: tokenRecordAccount,

});
// System Program.
keys.push({

@@ -133,2 +155,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -139,2 +162,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -145,3 +169,5 @@ pubkey: splTokenProgramAccount,

});
// Data.
const data = getBurnInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -148,0 +174,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,12 +1,29 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type BurnEditionNftInstructionAccounts = {
/** Metadata (pda of ['metadata', program id, mint id]) */
metadata: PublicKey;
/** NFT owner */
owner: Signer;
/** Mint of the print edition NFT */
printEditionMint: PublicKey;
/** Mint of the original/master NFT */
masterEditionMint: PublicKey;
/** Token account the print edition NFT is in */
printEditionTokenAccount: PublicKey;
/** Token account the Master Edition NFT is in */
masterEditionTokenAccount: PublicKey;
/** MasterEdition2 of the original NFT */
masterEditionAccount: PublicKey;
/** Print Edition account of the NFT */
printEditionAccount: PublicKey;
/** Edition Marker PDA of the NFT */
editionMarkerAccount: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;

@@ -13,0 +30,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -12,6 +19,9 @@ exports.burnEditionNft = exports.getBurnEditionNftInstructionDataSerializer = void 0;

exports.getBurnEditionNftInstructionDataSerializer = getBurnEditionNftInstructionDataSerializer;
// Instruction.
function burnEditionNft(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const metadataAccount = input.metadata;

@@ -30,2 +40,3 @@ const ownerAccount = input.owner;

};
// Metadata.
keys.push({

@@ -36,2 +47,3 @@ pubkey: metadataAccount,

});
// Owner.
signers.push(ownerAccount);

@@ -43,2 +55,3 @@ keys.push({

});
// Print Edition Mint.
keys.push({

@@ -49,2 +62,3 @@ pubkey: printEditionMintAccount,

});
// Master Edition Mint.
keys.push({

@@ -55,2 +69,3 @@ pubkey: masterEditionMintAccount,

});
// Print Edition Token Account.
keys.push({

@@ -61,2 +76,3 @@ pubkey: printEditionTokenAccountAccount,

});
// Master Edition Token Account.
keys.push({

@@ -67,2 +83,3 @@ pubkey: masterEditionTokenAccountAccount,

});
// Master Edition Account.
keys.push({

@@ -73,2 +90,3 @@ pubkey: masterEditionAccountAccount,

});
// Print Edition Account.
keys.push({

@@ -79,2 +97,3 @@ pubkey: printEditionAccountAccount,

});
// Edition Marker Account.
keys.push({

@@ -85,2 +104,3 @@ pubkey: editionMarkerAccountAccount,

});
// Spl Token Program.
keys.push({

@@ -91,3 +111,5 @@ pubkey: splTokenProgramAccount,

});
// Data.
const data = getBurnEditionNftInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -94,0 +116,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,9 +1,23 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type BurnNftInstructionAccounts = {
/** Metadata (pda of ['metadata', program id, mint id]) */
metadata?: PublicKey;
/** NFT owner */
owner: Signer;
/** Mint of the NFT */
mint: PublicKey;
/** Token account to close */
tokenAccount: PublicKey;
/** MasterEdition2 of the NFT */
masterEditionAccount: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Metadata of the Collection */
collectionMetadata?: PublicKey;

@@ -10,0 +24,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -13,6 +20,9 @@ exports.burnNft = exports.getBurnNftInstructionDataSerializer = void 0;

exports.getBurnNftInstructionDataSerializer = getBurnNftInstructionDataSerializer;
// Instruction.
function burnNft(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const mintAccount = input.mint;

@@ -29,2 +39,3 @@ const metadataAccount = input.metadata ??

const collectionMetadataAccount = input.collectionMetadata;
// Metadata.
keys.push({

@@ -35,2 +46,3 @@ pubkey: metadataAccount,

});
// Owner.
signers.push(ownerAccount);

@@ -42,2 +54,3 @@ keys.push({

});
// Mint.
keys.push({

@@ -48,2 +61,3 @@ pubkey: mintAccount,

});
// Token Account.
keys.push({

@@ -54,2 +68,3 @@ pubkey: tokenAccountAccount,

});
// Master Edition Account.
keys.push({

@@ -60,2 +75,3 @@ pubkey: masterEditionAccountAccount,

});
// Spl Token Program.
keys.push({

@@ -66,2 +82,3 @@ pubkey: splTokenProgramAccount,

});
// Collection Metadata (optional).
if (collectionMetadataAccount) {

@@ -74,3 +91,5 @@ keys.push({

}
// Data.
const data = getBurnNftInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -77,0 +96,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,37 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type BurnV1InstructionAccounts = {
/** Asset owner or Utility delegate */
authority?: Signer;
/** Metadata of the Collection */
collectionMetadata?: PublicKey;
/** Metadata (pda of ['metadata', program id, mint id]) */
metadata?: PublicKey;
/** Edition of the asset */
edition?: PublicKey;
/** Mint of token asset */
mint: PublicKey;
/** Token account to close */
token: PublicKey;
/** Master edition account */
masterEdition?: PublicKey;
/** Master edition mint of the asset */
masterEditionMint?: PublicKey;
/** Master edition token account */
masterEditionToken?: PublicKey;
/** Edition marker account */
editionMarker?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;

@@ -17,0 +38,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -19,6 +26,9 @@ exports.burnV1 = exports.getBurnV1InstructionDataSerializer = void 0;

exports.getBurnV1InstructionDataSerializer = getBurnV1InstructionDataSerializer;
// Instruction.
function burnV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -64,2 +74,3 @@ const collectionMetadataAccount = input.collectionMetadata ?? {

};
// Authority.
signers.push(authorityAccount);

@@ -71,2 +82,3 @@ keys.push({

});
// Collection Metadata.
keys.push({

@@ -77,2 +89,3 @@ pubkey: collectionMetadataAccount,

});
// Metadata.
keys.push({

@@ -83,2 +96,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -89,2 +103,3 @@ pubkey: editionAccount,

});
// Mint.
keys.push({

@@ -95,2 +110,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -101,2 +117,3 @@ pubkey: tokenAccount,

});
// Master Edition.
keys.push({

@@ -107,2 +124,3 @@ pubkey: masterEditionAccount,

});
// Master Edition Mint.
keys.push({

@@ -113,2 +131,3 @@ pubkey: masterEditionMintAccount,

});
// Master Edition Token.
keys.push({

@@ -119,2 +138,3 @@ pubkey: masterEditionTokenAccount,

});
// Edition Marker.
keys.push({

@@ -125,2 +145,3 @@ pubkey: editionMarkerAccount,

});
// Token Record.
keys.push({

@@ -131,2 +152,3 @@ pubkey: tokenRecordAccount,

});
// System Program.
keys.push({

@@ -137,2 +159,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -143,2 +166,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -149,3 +173,5 @@ pubkey: splTokenProgramAccount,

});
// Data.
const data = getBurnV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -152,0 +178,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,10 +1,25 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type CloseEscrowAccountInstructionAccounts = {
/** Escrow account */
escrow: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Mint account */
mint: PublicKey;
/** Token account */
tokenAccount: PublicKey;
/** Edition account */
edition?: PublicKey;
/** Wallet paying for the transaction and new account */
payer?: Signer;
/** System program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;

@@ -11,0 +26,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -13,6 +20,9 @@ exports.closeEscrowAccount = exports.getCloseEscrowAccountInstructionDataSerializer = void 0;

exports.getCloseEscrowAccountInstructionDataSerializer = getCloseEscrowAccountInstructionDataSerializer;
// Instruction.
function closeEscrowAccount(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const escrowAccount = input.escrow;

@@ -32,2 +42,3 @@ const mintAccount = input.mint;

(0, umi_1.publicKey)('Sysvar1nstructions1111111111111111111111111');
// Escrow.
keys.push({

@@ -38,2 +49,3 @@ pubkey: escrowAccount,

});
// Metadata.
keys.push({

@@ -44,2 +56,3 @@ pubkey: metadataAccount,

});
// Mint.
keys.push({

@@ -50,2 +63,3 @@ pubkey: mintAccount,

});
// Token Account.
keys.push({

@@ -56,2 +70,3 @@ pubkey: tokenAccountAccount,

});
// Edition.
keys.push({

@@ -62,2 +77,3 @@ pubkey: editionAccount,

});
// Payer.
signers.push(payerAccount);

@@ -69,2 +85,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -75,2 +92,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -81,3 +99,5 @@ pubkey: sysvarInstructionsAccount,

});
// Data.
const data = getCloseEscrowAccountInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -84,0 +104,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,5 +1,15 @@

/**
* 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, PublicKey, Serializer, TransactionBuilder } from '@metaplex-foundation/umi';
export type ConvertMasterEditionV1ToV2InstructionAccounts = {
/** Master Record Edition V1 (pda of ['metadata', program id, master metadata mint id, 'edition']) */
masterEdition: PublicKey;
/** One time authorization mint */
oneTimeAuth: PublicKey;
/** Printing mint */
printingMint: PublicKey;

@@ -6,0 +16,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -13,9 +20,13 @@ exports.convertMasterEditionV1ToV2 = exports.getConvertMasterEditionV1ToV2InstructionDataSerializer = void 0;

exports.getConvertMasterEditionV1ToV2InstructionDataSerializer = getConvertMasterEditionV1ToV2InstructionDataSerializer;
// Instruction.
function convertMasterEditionV1ToV2(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const masterEditionAccount = input.masterEdition;
const oneTimeAuthAccount = input.oneTimeAuth;
const printingMintAccount = input.printingMint;
// Master Edition.
keys.push({

@@ -26,2 +37,3 @@ pubkey: masterEditionAccount,

});
// One Time Auth.
keys.push({

@@ -32,2 +44,3 @@ pubkey: oneTimeAuthAccount,

});
// Printing Mint.
keys.push({

@@ -38,3 +51,5 @@ pubkey: printingMintAccount,

});
// Data.
const data = getConvertMasterEditionV1ToV2InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -41,0 +56,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,12 +1,28 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { CreateArgs, CreateArgsArgs } from '../types';
export type CreateInstructionAccounts = {
/** Unallocated metadata account with address as pda of ['metadata', program id, mint id] */
metadata?: PublicKey;
/** Unallocated edition account with address as pda of ['metadata', program id, mint, 'edition'] */
masterEdition?: PublicKey;
/** Mint of token asset */
mint: PublicKey | Signer;
/** Mint authority */
authority?: Signer;
/** Payer */
payer?: Signer;
/** Update authority for the metadata account */
updateAuthority?: PublicKey | Signer;
/** System program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token program */
splTokenProgram?: PublicKey;

@@ -13,0 +29,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -15,6 +22,9 @@ exports.create = exports.getCreateInstructionDataSerializer = void 0;

exports.getCreateInstructionDataSerializer = getCreateInstructionDataSerializer;
// Instruction.
function create(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const mintAccount = input.mint;

@@ -40,2 +50,3 @@ const metadataAccount = input.metadata ??

};
// Metadata.
keys.push({

@@ -46,2 +57,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -52,2 +64,3 @@ pubkey: masterEditionAccount,

});
// Mint.
if ((0, umi_1.isSigner)(mintAccount)) {

@@ -61,2 +74,3 @@ signers.push(mintAccount);

});
// Authority.
signers.push(authorityAccount);

@@ -68,2 +82,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -75,2 +90,3 @@ keys.push({

});
// Update Authority.
if ((0, umi_1.isSigner)(updateAuthorityAccount)) {

@@ -84,2 +100,3 @@ signers.push(updateAuthorityAccount);

});
// System Program.
keys.push({

@@ -90,2 +107,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -96,2 +114,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -102,3 +121,5 @@ pubkey: splTokenProgramAccount,

});
// Data.
const data = getCreateInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 1427;

@@ -105,0 +126,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,11 +1,27 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type CreateEscrowAccountInstructionAccounts = {
/** Escrow account */
escrow: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Mint account */
mint: PublicKey;
/** Token account of the token */
tokenAccount: PublicKey;
/** Edition account */
edition?: PublicKey;
/** Wallet paying for the transaction and new account */
payer?: Signer;
/** System program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** Authority/creator of the escrow account */
authority?: Signer;

@@ -12,0 +28,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -13,6 +20,9 @@ exports.createEscrowAccount = exports.getCreateEscrowAccountInstructionDataSerializer = void 0;

exports.getCreateEscrowAccountInstructionDataSerializer = getCreateEscrowAccountInstructionDataSerializer;
// Instruction.
function createEscrowAccount(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const escrowAccount = input.escrow;

@@ -33,2 +43,3 @@ const mintAccount = input.mint;

const authorityAccount = input.authority;
// Escrow.
keys.push({

@@ -39,2 +50,3 @@ pubkey: escrowAccount,

});
// Metadata.
keys.push({

@@ -45,2 +57,3 @@ pubkey: metadataAccount,

});
// Mint.
keys.push({

@@ -51,2 +64,3 @@ pubkey: mintAccount,

});
// Token Account.
keys.push({

@@ -57,2 +71,3 @@ pubkey: tokenAccountAccount,

});
// Edition.
keys.push({

@@ -63,2 +78,3 @@ pubkey: editionAccount,

});
// Payer.
signers.push(payerAccount);

@@ -70,2 +86,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -76,2 +93,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -82,2 +100,3 @@ pubkey: sysvarInstructionsAccount,

});
// Authority (optional).
if (authorityAccount) {

@@ -91,3 +110,5 @@ signers.push(authorityAccount);

}
// Data.
const data = getCreateEscrowAccountInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -94,0 +115,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,12 +1,28 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { CreateMasterEditionArgs, CreateMasterEditionArgsArgs } from '../types';
export type CreateMasterEditionInstructionAccounts = {
/** Unallocated edition V2 account with address as pda of ['metadata', program id, mint, 'edition'] */
edition?: PublicKey;
/** Metadata mint */
mint: PublicKey;
/** Update authority */
updateAuthority?: Signer;
/** Mint authority on the metadata's mint - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY */
mintAuthority: Signer;
/** payer */
payer?: Signer;
/** Metadata account */
metadata?: PublicKey;
/** Token program */
tokenProgram?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Rent info */
rent?: PublicKey;

@@ -13,0 +29,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,6 +25,9 @@ exports.createMasterEdition = exports.getCreateMasterEditionInstructionDataSerializer = void 0;

exports.getCreateMasterEditionInstructionDataSerializer = getCreateMasterEditionInstructionDataSerializer;
// Instruction.
function createMasterEdition(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const mintAccount = input.mint;

@@ -40,2 +50,3 @@ const editionAccount = input.edition ??

const rentAccount = input.rent ?? (0, umi_1.publicKey)('SysvarRent111111111111111111111111111111111');
// Edition.
keys.push({

@@ -46,2 +57,3 @@ pubkey: editionAccount,

});
// Mint.
keys.push({

@@ -52,2 +64,3 @@ pubkey: mintAccount,

});
// Update Authority.
signers.push(updateAuthorityAccount);

@@ -59,2 +72,3 @@ keys.push({

});
// Mint Authority.
signers.push(mintAuthorityAccount);

@@ -66,2 +80,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -73,2 +88,3 @@ keys.push({

});
// Metadata.
keys.push({

@@ -79,2 +95,3 @@ pubkey: metadataAccount,

});
// Token Program.
keys.push({

@@ -85,2 +102,3 @@ pubkey: tokenProgramAccount,

});
// System Program.
keys.push({

@@ -91,2 +109,3 @@ pubkey: systemProgramAccount,

});
// Rent.
keys.push({

@@ -97,3 +116,5 @@ pubkey: rentAccount,

});
// Data.
const data = getCreateMasterEditionInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -100,0 +121,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,12 +1,28 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { CreateMasterEditionArgs, CreateMasterEditionArgsArgs } from '../types';
export type CreateMasterEditionV3InstructionAccounts = {
/** Unallocated edition V2 account with address as pda of ['metadata', program id, mint, 'edition'] */
edition?: PublicKey;
/** Metadata mint */
mint: PublicKey;
/** Update authority */
updateAuthority?: Signer;
/** Mint authority on the metadata's mint - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY */
mintAuthority: Signer;
/** payer */
payer?: Signer;
/** Metadata account */
metadata?: PublicKey;
/** Token program */
tokenProgram?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Rent info */
rent?: PublicKey;

@@ -13,0 +29,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,6 +25,9 @@ exports.createMasterEditionV3 = exports.getCreateMasterEditionV3InstructionDataSerializer = void 0;

exports.getCreateMasterEditionV3InstructionDataSerializer = getCreateMasterEditionV3InstructionDataSerializer;
// Instruction.
function createMasterEditionV3(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const mintAccount = input.mint;

@@ -40,2 +50,3 @@ const editionAccount = input.edition ??

const rentAccount = input.rent;
// Edition.
keys.push({

@@ -46,2 +57,3 @@ pubkey: editionAccount,

});
// Mint.
keys.push({

@@ -52,2 +64,3 @@ pubkey: mintAccount,

});
// Update Authority.
signers.push(updateAuthorityAccount);

@@ -59,2 +72,3 @@ keys.push({

});
// Mint Authority.
signers.push(mintAuthorityAccount);

@@ -66,2 +80,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -73,2 +88,3 @@ keys.push({

});
// Metadata.
keys.push({

@@ -79,2 +95,3 @@ pubkey: metadataAccount,

});
// Token Program.
keys.push({

@@ -85,2 +102,3 @@ pubkey: tokenProgramAccount,

});
// System Program.
keys.push({

@@ -91,2 +109,3 @@ pubkey: systemProgramAccount,

});
// Rent (optional).
if (rentAccount) {

@@ -99,3 +118,5 @@ keys.push({

}
// Data.
const data = getCreateMasterEditionV3InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -102,0 +123,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,10 +1,24 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { Creator, CreatorArgs } from '../types';
export type CreateMetadataAccountInstructionAccounts = {
/** Metadata key (pda of ['metadata', program id, mint id]) */
metadata?: PublicKey;
/** Mint of token asset */
mint: PublicKey;
/** Mint authority */
mintAuthority: Signer;
/** payer */
payer?: Signer;
/** update authority info */
updateAuthority?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Rent info */
rent?: PublicKey;

@@ -11,0 +25,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -25,6 +32,9 @@ exports.createMetadataAccount = exports.getCreateMetadataAccountInstructionDataSerializer = void 0;

exports.getCreateMetadataAccountInstructionDataSerializer = getCreateMetadataAccountInstructionDataSerializer;
// Instruction.
function createMetadataAccount(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const mintAccount = input.mint;

@@ -41,2 +51,3 @@ const metadataAccount = input.metadata ??

const rentAccount = input.rent ?? (0, umi_1.publicKey)('SysvarRent111111111111111111111111111111111');
// Metadata.
keys.push({

@@ -47,2 +58,3 @@ pubkey: metadataAccount,

});
// Mint.
keys.push({

@@ -53,2 +65,3 @@ pubkey: mintAccount,

});
// Mint Authority.
signers.push(mintAuthorityAccount);

@@ -60,2 +73,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -67,2 +81,3 @@ keys.push({

});
// Update Authority.
keys.push({

@@ -73,2 +88,3 @@ pubkey: updateAuthorityAccount,

});
// System Program.
keys.push({

@@ -79,2 +95,3 @@ pubkey: systemProgramAccount,

});
// Rent.
keys.push({

@@ -85,3 +102,5 @@ pubkey: rentAccount,

});
// Data.
const data = getCreateMetadataAccountInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -88,0 +107,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,10 +1,24 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { DataV2, DataV2Args } from '../types';
export type CreateMetadataAccountV2InstructionAccounts = {
/** Metadata key (pda of ['metadata', program id, mint id]) */
metadata?: PublicKey;
/** Mint of token asset */
mint: PublicKey;
/** Mint authority */
mintAuthority: Signer;
/** payer */
payer?: Signer;
/** update authority info */
updateAuthority?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Rent info */
rent?: PublicKey;

@@ -11,0 +25,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -19,6 +26,9 @@ exports.createMetadataAccountV2 = exports.getCreateMetadataAccountV2InstructionDataSerializer = void 0;

exports.getCreateMetadataAccountV2InstructionDataSerializer = getCreateMetadataAccountV2InstructionDataSerializer;
// Instruction.
function createMetadataAccountV2(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const mintAccount = input.mint;

@@ -35,2 +45,3 @@ const metadataAccount = input.metadata ??

const rentAccount = input.rent;
// Metadata.
keys.push({

@@ -41,2 +52,3 @@ pubkey: metadataAccount,

});
// Mint.
keys.push({

@@ -47,2 +59,3 @@ pubkey: mintAccount,

});
// Mint Authority.
signers.push(mintAuthorityAccount);

@@ -54,2 +67,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -61,2 +75,3 @@ keys.push({

});
// Update Authority.
keys.push({

@@ -67,2 +82,3 @@ pubkey: updateAuthorityAccount,

});
// System Program.
keys.push({

@@ -73,2 +89,3 @@ pubkey: systemProgramAccount,

});
// Rent (optional).
if (rentAccount) {

@@ -81,3 +98,5 @@ keys.push({

}
// Data.
const data = getCreateMetadataAccountV2InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -84,0 +103,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,10 +1,24 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { CollectionDetails, CollectionDetailsArgs, DataV2, DataV2Args } from '../types';
export type CreateMetadataAccountV3InstructionAccounts = {
/** Metadata key (pda of ['metadata', program id, mint id]) */
metadata?: PublicKey;
/** Mint of token asset */
mint: PublicKey;
/** Mint authority */
mintAuthority: Signer;
/** payer */
payer?: Signer;
/** update authority info */
updateAuthority?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Rent info */
rent?: PublicKey;

@@ -11,0 +25,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -23,6 +30,9 @@ exports.createMetadataAccountV3 = exports.getCreateMetadataAccountV3InstructionDataSerializer = void 0;

exports.getCreateMetadataAccountV3InstructionDataSerializer = getCreateMetadataAccountV3InstructionDataSerializer;
// Instruction.
function createMetadataAccountV3(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const mintAccount = input.mint;

@@ -39,2 +49,3 @@ const metadataAccount = input.metadata ??

const rentAccount = input.rent;
// Metadata.
keys.push({

@@ -45,2 +56,3 @@ pubkey: metadataAccount,

});
// Mint.
keys.push({

@@ -51,2 +63,3 @@ pubkey: mintAccount,

});
// Mint Authority.
signers.push(mintAuthorityAccount);

@@ -58,2 +71,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -65,2 +79,3 @@ keys.push({

});
// Update Authority.
keys.push({

@@ -71,2 +86,3 @@ pubkey: updateAuthorityAccount,

});
// System Program.
keys.push({

@@ -77,2 +93,3 @@ pubkey: systemProgramAccount,

});
// Rent (optional).
if (rentAccount) {

@@ -85,3 +102,5 @@ keys.push({

}
// Data.
const data = getCreateMetadataAccountV3InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -88,0 +107,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,12 +1,28 @@

/**
* 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 { Amount, Context, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { Collection, CollectionArgs, CollectionDetails, CollectionDetailsArgs, Creator, CreatorArgs, PrintSupply, PrintSupplyArgs, TokenStandard, TokenStandardArgs, Uses, UsesArgs } from '../types';
export type CreateV1InstructionAccounts = {
/** Unallocated metadata account with address as pda of ['metadata', program id, mint id] */
metadata?: PublicKey;
/** Unallocated edition account with address as pda of ['metadata', program id, mint, 'edition'] */
masterEdition?: PublicKey;
/** Mint of token asset */
mint: PublicKey | Signer;
/** Mint authority */
authority?: Signer;
/** Payer */
payer?: Signer;
/** Update authority for the metadata account */
updateAuthority?: PublicKey | Signer;
/** System program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token program */
splTokenProgram?: PublicKey;

@@ -13,0 +29,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -45,6 +52,9 @@ exports.createV1 = exports.getCreateV1InstructionDataSerializer = void 0;

exports.getCreateV1InstructionDataSerializer = getCreateV1InstructionDataSerializer;
// Instruction.
function createV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const mintAccount = input.mint;

@@ -70,2 +80,3 @@ const metadataAccount = input.metadata ??

};
// Metadata.
keys.push({

@@ -76,2 +87,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -82,2 +94,3 @@ pubkey: masterEditionAccount,

});
// Mint.
if ((0, umi_1.isSigner)(mintAccount)) {

@@ -91,2 +104,3 @@ signers.push(mintAccount);

});
// Authority.
signers.push(authorityAccount);

@@ -98,2 +112,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -105,2 +120,3 @@ keys.push({

});
// Update Authority.
if ((0, umi_1.isSigner)(updateAuthorityAccount)) {

@@ -114,2 +130,3 @@ signers.push(updateAuthorityAccount);

});
// System Program.
keys.push({

@@ -120,2 +137,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -126,2 +144,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -132,3 +151,5 @@ pubkey: splTokenProgramAccount,

});
// Data.
const data = getCreateV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 1427;

@@ -135,0 +156,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,17 +1,38 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { DelegateArgs, DelegateArgsArgs } from '../types';
export type DelegateInstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -18,0 +39,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -15,6 +22,9 @@ exports.delegate = exports.getDelegateInstructionDataSerializer = void 0;

exports.getDelegateInstructionDataSerializer = getDelegateInstructionDataSerializer;
// Instruction.
function delegate(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -57,2 +67,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -63,2 +74,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -69,2 +81,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -75,2 +88,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -81,2 +95,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -87,2 +102,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -93,2 +109,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -99,2 +116,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -106,2 +124,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -113,2 +132,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -119,2 +139,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -125,2 +146,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -131,2 +153,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -137,2 +160,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -143,3 +167,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getDelegateInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -146,0 +172,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,17 +1,38 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { AuthorizationData, AuthorizationDataArgs } from '../types';
export type DelegateCollectionV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -18,0 +39,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -23,6 +30,9 @@ exports.delegateCollectionV1 = exports.getDelegateCollectionV1InstructionDataSerializer = void 0;

exports.getDelegateCollectionV1InstructionDataSerializer = getDelegateCollectionV1InstructionDataSerializer;
// Instruction.
function delegateCollectionV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -65,2 +75,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -71,2 +82,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -77,2 +89,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -83,2 +96,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -89,2 +103,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -95,2 +110,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -101,2 +117,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -107,2 +124,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -114,2 +132,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -121,2 +140,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -127,2 +147,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -133,2 +154,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -139,2 +161,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -145,2 +168,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -151,3 +175,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getDelegateCollectionV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -154,0 +180,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,17 +1,38 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { AuthorizationData, AuthorizationDataArgs } from '../types';
export type DelegateLockedTransferV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -18,0 +39,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -25,6 +32,9 @@ exports.delegateLockedTransferV1 = exports.getDelegateLockedTransferV1InstructionDataSerializer = void 0;

exports.getDelegateLockedTransferV1InstructionDataSerializer = getDelegateLockedTransferV1InstructionDataSerializer;
// Instruction.
function delegateLockedTransferV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -67,2 +77,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -73,2 +84,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -79,2 +91,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -85,2 +98,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -91,2 +105,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -97,2 +112,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -103,2 +119,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -109,2 +126,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -116,2 +134,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -123,2 +142,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -129,2 +149,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -135,2 +156,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -141,2 +163,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -147,2 +170,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -153,3 +177,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getDelegateLockedTransferV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -156,0 +182,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,17 +1,38 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { AuthorizationData, AuthorizationDataArgs } from '../types';
export type DelegateProgrammableConfigV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -18,0 +39,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -23,6 +30,9 @@ exports.delegateProgrammableConfigV1 = exports.getDelegateProgrammableConfigV1InstructionDataSerializer = void 0;

exports.getDelegateProgrammableConfigV1InstructionDataSerializer = getDelegateProgrammableConfigV1InstructionDataSerializer;
// Instruction.
function delegateProgrammableConfigV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -65,2 +75,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -71,2 +82,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -77,2 +89,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -83,2 +96,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -89,2 +103,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -95,2 +110,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -101,2 +117,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -107,2 +124,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -114,2 +132,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -121,2 +140,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -127,2 +147,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -133,2 +154,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -139,2 +161,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -145,2 +168,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -151,3 +175,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getDelegateProgrammableConfigV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -154,0 +180,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,17 +1,38 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { AuthorizationData, AuthorizationDataArgs } from '../types';
export type DelegateSaleV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -18,0 +39,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -24,6 +31,9 @@ exports.delegateSaleV1 = exports.getDelegateSaleV1InstructionDataSerializer = void 0;

exports.getDelegateSaleV1InstructionDataSerializer = getDelegateSaleV1InstructionDataSerializer;
// Instruction.
function delegateSaleV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -66,2 +76,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -72,2 +83,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -78,2 +90,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -84,2 +97,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -90,2 +104,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -96,2 +111,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -102,2 +118,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -108,2 +125,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -115,2 +133,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -122,2 +141,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -128,2 +148,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -134,2 +155,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -140,2 +162,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -146,2 +169,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -152,3 +176,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getDelegateSaleV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -155,0 +181,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,17 +1,38 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { AuthorizationData, AuthorizationDataArgs } from '../types';
export type DelegateStakingV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -18,0 +39,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -24,6 +31,9 @@ exports.delegateStakingV1 = exports.getDelegateStakingV1InstructionDataSerializer = void 0;

exports.getDelegateStakingV1InstructionDataSerializer = getDelegateStakingV1InstructionDataSerializer;
// Instruction.
function delegateStakingV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -66,2 +76,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -72,2 +83,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -78,2 +90,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -84,2 +97,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -90,2 +104,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -96,2 +111,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -102,2 +118,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -108,2 +125,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -115,2 +133,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -122,2 +141,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -128,2 +148,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -134,2 +155,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -140,2 +162,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -146,2 +169,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -152,3 +176,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getDelegateStakingV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -155,0 +181,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,37 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type DelegateStandardV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +38,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -19,6 +26,9 @@ exports.delegateStandardV1 = exports.getDelegateStandardV1InstructionDataSerializer = void 0;

exports.getDelegateStandardV1InstructionDataSerializer = getDelegateStandardV1InstructionDataSerializer;
// Instruction.
function delegateStandardV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -61,2 +71,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -67,2 +78,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -73,2 +85,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -79,2 +92,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -85,2 +99,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -91,2 +106,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -97,2 +113,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -103,2 +120,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -110,2 +128,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -117,2 +136,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -123,2 +143,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -129,2 +150,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -135,2 +157,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -141,2 +164,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -147,3 +171,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getDelegateStandardV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -150,0 +176,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,17 +1,38 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { AuthorizationData, AuthorizationDataArgs } from '../types';
export type DelegateTransferV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -18,0 +39,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -24,6 +31,9 @@ exports.delegateTransferV1 = exports.getDelegateTransferV1InstructionDataSerializer = void 0;

exports.getDelegateTransferV1InstructionDataSerializer = getDelegateTransferV1InstructionDataSerializer;
// Instruction.
function delegateTransferV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -66,2 +76,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -72,2 +83,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -78,2 +90,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -84,2 +97,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -90,2 +104,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -96,2 +111,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -102,2 +118,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -108,2 +125,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -115,2 +133,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -122,2 +141,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -128,2 +148,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -134,2 +155,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -140,2 +162,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -146,2 +169,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -152,3 +176,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getDelegateTransferV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -155,0 +181,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,17 +1,38 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { AuthorizationData, AuthorizationDataArgs } from '../types';
export type DelegateUpdateV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -18,0 +39,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -23,6 +30,9 @@ exports.delegateUpdateV1 = exports.getDelegateUpdateV1InstructionDataSerializer = void 0;

exports.getDelegateUpdateV1InstructionDataSerializer = getDelegateUpdateV1InstructionDataSerializer;
// Instruction.
function delegateUpdateV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -65,2 +75,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -71,2 +82,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -77,2 +89,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -83,2 +96,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -89,2 +103,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -95,2 +110,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -101,2 +117,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -107,2 +124,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -114,2 +132,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -121,2 +140,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -127,2 +147,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -133,2 +154,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -139,2 +161,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -145,2 +168,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -151,3 +175,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getDelegateUpdateV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -154,0 +180,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,17 +1,38 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { AuthorizationData, AuthorizationDataArgs } from '../types';
export type DelegateUtilityV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -18,0 +39,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -24,6 +31,9 @@ exports.delegateUtilityV1 = exports.getDelegateUtilityV1InstructionDataSerializer = void 0;

exports.getDelegateUtilityV1InstructionDataSerializer = getDelegateUtilityV1InstructionDataSerializer;
// Instruction.
function delegateUtilityV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -66,2 +76,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -72,2 +83,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -78,2 +90,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -84,2 +97,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -90,2 +104,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -96,2 +111,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -102,2 +118,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -108,2 +125,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -115,2 +133,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -122,2 +141,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -128,2 +148,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -134,2 +155,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -140,2 +162,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -146,2 +169,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -152,3 +176,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getDelegateUtilityV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -155,0 +181,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,36 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { CreateMasterEditionArgs, CreateMasterEditionArgsArgs } from '../types';
export type DeprecatedCreateMasterEditionInstructionAccounts = {
/** Unallocated edition V1 account with address as pda of ['metadata', program id, mint, 'edition'] */
edition?: PublicKey;
/** Metadata mint */
mint: PublicKey;
/** Printing mint - A mint you control that can mint tokens that can be exchanged for limited editions of your master edition via the MintNewEditionFromMasterEditionViaToken endpoint */
printingMint: PublicKey;
/** One time authorization printing mint - A mint you control that prints tokens that gives the bearer permission to mint any number of tokens from the printing mint one time via an endpoint with the token-metadata program for your metadata. Also burns the token. */
oneTimePrintingAuthorizationMint: PublicKey;
/** Current Update authority key */
updateAuthority?: Signer;
/** Printing mint authority - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY. */
printingMintAuthority: Signer;
/** Mint authority on the metadata's mint - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY */
mintAuthority: Signer;
/** Metadata account */
metadata?: PublicKey;
/** payer */
payer?: Signer;
/** Token program */
tokenProgram?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Rent info */
rent?: PublicKey;
/** One time authorization printing mint authority - must be provided if using max supply. THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY. */
oneTimePrintingAuthorizationMintAuthority: Signer;

@@ -17,0 +37,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -21,6 +28,9 @@ exports.deprecatedCreateMasterEdition = exports.getDeprecatedCreateMasterEditionInstructionDataSerializer = void 0;

exports.getDeprecatedCreateMasterEditionInstructionDataSerializer = getDeprecatedCreateMasterEditionInstructionDataSerializer;
// Instruction.
function deprecatedCreateMasterEdition(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const mintAccount = input.mint;

@@ -47,2 +57,3 @@ const editionAccount = input.edition ??

const oneTimePrintingAuthorizationMintAuthorityAccount = input.oneTimePrintingAuthorizationMintAuthority;
// Edition.
keys.push({

@@ -53,2 +64,3 @@ pubkey: editionAccount,

});
// Mint.
keys.push({

@@ -59,2 +71,3 @@ pubkey: mintAccount,

});
// Printing Mint.
keys.push({

@@ -65,2 +78,3 @@ pubkey: printingMintAccount,

});
// One Time Printing Authorization Mint.
keys.push({

@@ -71,2 +85,3 @@ pubkey: oneTimePrintingAuthorizationMintAccount,

});
// Update Authority.
signers.push(updateAuthorityAccount);

@@ -78,2 +93,3 @@ keys.push({

});
// Printing Mint Authority.
signers.push(printingMintAuthorityAccount);

@@ -85,2 +101,3 @@ keys.push({

});
// Mint Authority.
signers.push(mintAuthorityAccount);

@@ -92,2 +109,3 @@ keys.push({

});
// Metadata.
keys.push({

@@ -98,2 +116,3 @@ pubkey: metadataAccount,

});
// Payer.
signers.push(payerAccount);

@@ -105,2 +124,3 @@ keys.push({

});
// Token Program.
keys.push({

@@ -111,2 +131,3 @@ pubkey: tokenProgramAccount,

});
// System Program.
keys.push({

@@ -117,2 +138,3 @@ pubkey: systemProgramAccount,

});
// Rent.
keys.push({

@@ -123,2 +145,3 @@ pubkey: rentAccount,

});
// One Time Printing Authorization Mint Authority.
signers.push(oneTimePrintingAuthorizationMintAuthorityAccount);

@@ -130,3 +153,5 @@ keys.push({

});
// Data.
const data = getDeprecatedCreateMasterEditionInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -133,0 +158,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,18 +1,41 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type DeprecatedMintNewEditionFromMasterEditionViaPrintingTokenInstructionAccounts = {
/** New Metadata key (pda of ['metadata', program id, mint id]) */
metadata?: PublicKey;
/** New Edition V1 (pda of ['metadata', program id, mint id, 'edition']) */
edition?: PublicKey;
/** Master Record Edition V1 (pda of ['metadata', program id, master metadata mint id, 'edition']) */
masterEdition?: PublicKey;
/** Mint of new token - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY */
mint: PublicKey;
/** Mint authority of new mint */
mintAuthority: Signer;
/** Printing Mint of master record edition */
printingMint: PublicKey;
/** Token account containing Printing mint token to be transferred */
masterTokenAccount: PublicKey;
/** Edition pda to mark creation - will be checked for pre-existence. (pda of ['metadata', program id, master mint id, edition_number]) */
editionMarker?: PublicKey;
/** Burn authority for this token */
burnAuthority: Signer;
/** payer */
payer?: Signer;
/** update authority info for new metadata account */
masterUpdateAuthority: PublicKey;
/** Master record metadata account */
masterMetadata: PublicKey;
/** Token program */
tokenProgram?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Rent info */
rent?: PublicKey;
/** Reservation List - If present, and you are on this list, you can get an edition number given by your position on the list. */
reservationList?: PublicKey;

@@ -19,0 +42,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -16,6 +23,9 @@ exports.deprecatedMintNewEditionFromMasterEditionViaPrintingToken = exports.getDeprecatedMintNewEditionFromMasterEditionViaPrintingTokenInstructionDataSerializer = void 0;

exports.getDeprecatedMintNewEditionFromMasterEditionViaPrintingTokenInstructionDataSerializer = getDeprecatedMintNewEditionFromMasterEditionViaPrintingTokenInstructionDataSerializer;
// Instruction.
function deprecatedMintNewEditionFromMasterEditionViaPrintingToken(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const mintAccount = input.mint;

@@ -47,2 +57,3 @@ const metadataAccount = input.metadata ??

const reservationListAccount = input.reservationList;
// Metadata.
keys.push({

@@ -53,2 +64,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -59,2 +71,3 @@ pubkey: editionAccount,

});
// Master Edition.
keys.push({

@@ -65,2 +78,3 @@ pubkey: masterEditionAccount,

});
// Mint.
keys.push({

@@ -71,2 +85,3 @@ pubkey: mintAccount,

});
// Mint Authority.
signers.push(mintAuthorityAccount);

@@ -78,2 +93,3 @@ keys.push({

});
// Printing Mint.
keys.push({

@@ -84,2 +100,3 @@ pubkey: printingMintAccount,

});
// Master Token Account.
keys.push({

@@ -90,2 +107,3 @@ pubkey: masterTokenAccountAccount,

});
// Edition Marker.
keys.push({

@@ -96,2 +114,3 @@ pubkey: editionMarkerAccount,

});
// Burn Authority.
signers.push(burnAuthorityAccount);

@@ -103,2 +122,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -110,2 +130,3 @@ keys.push({

});
// Master Update Authority.
keys.push({

@@ -116,2 +137,3 @@ pubkey: masterUpdateAuthorityAccount,

});
// Master Metadata.
keys.push({

@@ -122,2 +144,3 @@ pubkey: masterMetadataAccount,

});
// Token Program.
keys.push({

@@ -128,2 +151,3 @@ pubkey: tokenProgramAccount,

});
// System Program.
keys.push({

@@ -134,2 +158,3 @@ pubkey: systemProgramAccount,

});
// Rent.
keys.push({

@@ -140,2 +165,3 @@ pubkey: rentAccount,

});
// Reservation List (optional).
if (reservationListAccount) {

@@ -148,3 +174,5 @@ keys.push({

}
// Data.
const data = getDeprecatedMintNewEditionFromMasterEditionViaPrintingTokenInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -151,0 +179,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,10 +1,24 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { MintPrintingTokensViaTokenArgs, MintPrintingTokensViaTokenArgsArgs } from '../types';
export type DeprecatedMintPrintingTokensInstructionAccounts = {
/** Destination account */
destination: PublicKey;
/** Printing mint */
printingMint: PublicKey;
/** Update authority */
updateAuthority?: Signer;
/** Metadata key (pda of ['metadata', program id, mint id]) */
metadata: PublicKey;
/** Master Edition V1 key (pda of ['metadata', program id, mint id, 'edition']) */
masterEdition: PublicKey;
/** Token program */
tokenProgram?: PublicKey;
/** Rent */
rent?: PublicKey;

@@ -11,0 +25,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -20,6 +27,9 @@ exports.deprecatedMintPrintingTokens = exports.getDeprecatedMintPrintingTokensInstructionDataSerializer = void 0;

exports.getDeprecatedMintPrintingTokensInstructionDataSerializer = getDeprecatedMintPrintingTokensInstructionDataSerializer;
// Instruction.
function deprecatedMintPrintingTokens(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const destinationAccount = input.destination;

@@ -35,2 +45,3 @@ const printingMintAccount = input.printingMint;

const rentAccount = input.rent ?? (0, umi_1.publicKey)('SysvarRent111111111111111111111111111111111');
// Destination.
keys.push({

@@ -41,2 +52,3 @@ pubkey: destinationAccount,

});
// Printing Mint.
keys.push({

@@ -47,2 +59,3 @@ pubkey: printingMintAccount,

});
// Update Authority.
signers.push(updateAuthorityAccount);

@@ -54,2 +67,3 @@ keys.push({

});
// Metadata.
keys.push({

@@ -60,2 +74,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -66,2 +81,3 @@ pubkey: masterEditionAccount,

});
// Token Program.
keys.push({

@@ -72,2 +88,3 @@ pubkey: tokenProgramAccount,

});
// Rent.
keys.push({

@@ -78,3 +95,5 @@ pubkey: rentAccount,

});
// Data.
const data = getDeprecatedMintPrintingTokensInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -81,0 +100,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,12 +1,28 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { MintPrintingTokensViaTokenArgs, MintPrintingTokensViaTokenArgsArgs } from '../types';
export type DeprecatedMintPrintingTokensViaTokenInstructionAccounts = {
/** Destination account */
destination: PublicKey;
/** Token account containing one time authorization token */
token: PublicKey;
/** One time authorization mint */
oneTimePrintingAuthorizationMint: PublicKey;
/** Printing mint */
printingMint: PublicKey;
/** Burn authority */
burnAuthority: Signer;
/** Metadata key (pda of ['metadata', program id, mint id]) */
metadata: PublicKey;
/** Master Edition V1 key (pda of ['metadata', program id, mint id, 'edition']) */
masterEdition: PublicKey;
/** Token program */
tokenProgram?: PublicKey;
/** Rent */
rent?: PublicKey;

@@ -13,0 +29,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -20,6 +27,9 @@ exports.deprecatedMintPrintingTokensViaToken = exports.getDeprecatedMintPrintingTokensViaTokenInstructionDataSerializer = void 0;

exports.getDeprecatedMintPrintingTokensViaTokenInstructionDataSerializer = getDeprecatedMintPrintingTokensViaTokenInstructionDataSerializer;
// Instruction.
function deprecatedMintPrintingTokensViaToken(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const destinationAccount = input.destination;

@@ -37,2 +47,3 @@ const tokenAccount = input.token;

const rentAccount = input.rent ?? (0, umi_1.publicKey)('SysvarRent111111111111111111111111111111111');
// Destination.
keys.push({

@@ -43,2 +54,3 @@ pubkey: destinationAccount,

});
// Token.
keys.push({

@@ -49,2 +61,3 @@ pubkey: tokenAccount,

});
// One Time Printing Authorization Mint.
keys.push({

@@ -55,2 +68,3 @@ pubkey: oneTimePrintingAuthorizationMintAccount,

});
// Printing Mint.
keys.push({

@@ -61,2 +75,3 @@ pubkey: printingMintAccount,

});
// Burn Authority.
signers.push(burnAuthorityAccount);

@@ -68,2 +83,3 @@ keys.push({

});
// Metadata.
keys.push({

@@ -74,2 +90,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -80,2 +97,3 @@ pubkey: masterEditionAccount,

});
// Token Program.
keys.push({

@@ -86,2 +104,3 @@ pubkey: tokenProgramAccount,

});
// Rent.
keys.push({

@@ -92,3 +111,5 @@ pubkey: rentAccount,

});
// Data.
const data = getDeprecatedMintPrintingTokensViaTokenInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -95,0 +116,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,7 +1,19 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type FreezeDelegatedAccountInstructionAccounts = {
/** Delegate */
delegate: Signer;
/** Token account to freeze */
tokenAccount: PublicKey;
/** Edition */
edition?: PublicKey;
/** Token mint */
mint: PublicKey;
/** Token Program */
tokenProgram?: PublicKey;

@@ -8,0 +20,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -11,6 +18,9 @@ exports.freezeDelegatedAccount = exports.getFreezeDelegatedAccountInstructionDataSerializer = void 0;

exports.getFreezeDelegatedAccountInstructionDataSerializer = getFreezeDelegatedAccountInstructionDataSerializer;
// Instruction.
function freezeDelegatedAccount(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateAccount = input.delegate;

@@ -25,2 +35,3 @@ const tokenAccountAccount = input.tokenAccount;

};
// Delegate.
signers.push(delegateAccount);

@@ -32,2 +43,3 @@ keys.push({

});
// Token Account.
keys.push({

@@ -38,2 +50,3 @@ pubkey: tokenAccountAccount,

});
// Edition.
keys.push({

@@ -44,2 +57,3 @@ pubkey: editionAccount,

});
// Mint.
keys.push({

@@ -50,2 +64,3 @@ pubkey: mintAccount,

});
// Token Program.
keys.push({

@@ -56,3 +71,5 @@ pubkey: tokenProgramAccount,

});
// Data.
const data = getFreezeDelegatedAccountInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -59,0 +76,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,1 +1,8 @@

/**
* 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
*/
export * from './approveCollectionAuthority';

@@ -2,0 +9,0 @@ export * from './approveUseAuthority';

"use strict";
/**
* 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
*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

@@ -3,0 +10,0 @@ if (k2 === undefined) k2 = k;

@@ -0,16 +1,36 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { LockArgs, LockArgsArgs } from '../types';
export type LockInstructionAccounts = {
/** Delegate or freeze authority */
authority?: Signer;
/** Token owner account */
tokenOwner?: PublicKey;
/** Token account */
token: PublicKey;
/** Mint account */
mint: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Edition account */
edition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Payer */
payer?: Signer;
/** System program */
systemProgram?: PublicKey;
/** System program */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +37,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -15,6 +22,9 @@ exports.lock = exports.getLockInstructionDataSerializer = void 0;

exports.getLockInstructionDataSerializer = getLockInstructionDataSerializer;
// Instruction.
function lock(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -53,2 +63,3 @@ const tokenOwnerAccount = input.tokenOwner ?? {

};
// Authority.
signers.push(authorityAccount);

@@ -60,2 +71,3 @@ keys.push({

});
// Token Owner.
keys.push({

@@ -66,2 +78,3 @@ pubkey: tokenOwnerAccount,

});
// Token.
keys.push({

@@ -72,2 +85,3 @@ pubkey: tokenAccount,

});
// Mint.
keys.push({

@@ -78,2 +92,3 @@ pubkey: mintAccount,

});
// Metadata.
keys.push({

@@ -84,2 +99,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -90,2 +106,3 @@ pubkey: editionAccount,

});
// Token Record.
keys.push({

@@ -96,2 +113,3 @@ pubkey: tokenRecordAccount,

});
// Payer.
signers.push(payerAccount);

@@ -103,2 +121,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -109,2 +128,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -115,2 +135,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -121,2 +142,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -127,2 +149,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -133,3 +156,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getLockInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -136,0 +161,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,36 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { AuthorizationData, AuthorizationDataArgs } from '../types';
export type LockV1InstructionAccounts = {
/** Delegate or freeze authority */
authority?: Signer;
/** Token owner account */
tokenOwner?: PublicKey;
/** Token account */
token: PublicKey;
/** Mint account */
mint: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Edition account */
edition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Payer */
payer?: Signer;
/** System program */
systemProgram?: PublicKey;
/** System program */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +37,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -23,6 +30,9 @@ exports.lockV1 = exports.getLockV1InstructionDataSerializer = void 0;

exports.getLockV1InstructionDataSerializer = getLockV1InstructionDataSerializer;
// Instruction.
function lockV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -61,2 +71,3 @@ const tokenOwnerAccount = input.tokenOwner ?? {

};
// Authority.
signers.push(authorityAccount);

@@ -68,2 +79,3 @@ keys.push({

});
// Token Owner.
keys.push({

@@ -74,2 +86,3 @@ pubkey: tokenOwnerAccount,

});
// Token.
keys.push({

@@ -80,2 +93,3 @@ pubkey: tokenAccount,

});
// Mint.
keys.push({

@@ -86,2 +100,3 @@ pubkey: mintAccount,

});
// Metadata.
keys.push({

@@ -92,2 +107,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -98,2 +114,3 @@ pubkey: editionAccount,

});
// Token Record.
keys.push({

@@ -104,2 +121,3 @@ pubkey: tokenRecordAccount,

});
// Payer.
signers.push(payerAccount);

@@ -111,2 +129,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -117,2 +136,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -123,2 +143,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -129,2 +150,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -135,2 +157,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -141,3 +164,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getLockV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -144,0 +169,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,18 +1,40 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { MigrateArgs, MigrateArgsArgs } from '../types';
export type MigrateInstructionAccounts = {
/** Metadata account */
metadata?: PublicKey;
/** Edition account */
edition?: PublicKey;
/** Token account */
token: PublicKey;
/** Token account owner */
tokenOwner: PublicKey;
/** Mint account */
mint: PublicKey;
/** Payer */
payer?: Signer;
/** Update authority */
authority?: Signer;
/** Collection metadata account */
collectionMetadata: PublicKey;
/** Delegate record account */
delegateRecord: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Instruction sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -19,0 +41,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -15,6 +22,9 @@ exports.migrate = exports.getMigrateInstructionDataSerializer = void 0;

exports.getMigrateInstructionDataSerializer = getMigrateInstructionDataSerializer;
// Instruction.
function migrate(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const mintAccount = input.mint;

@@ -54,2 +64,3 @@ const metadataAccount = input.metadata ??

};
// Metadata.
keys.push({

@@ -60,2 +71,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -66,2 +78,3 @@ pubkey: editionAccount,

});
// Token.
keys.push({

@@ -72,2 +85,3 @@ pubkey: tokenAccount,

});
// Token Owner.
keys.push({

@@ -78,2 +92,3 @@ pubkey: tokenOwnerAccount,

});
// Mint.
keys.push({

@@ -84,2 +99,3 @@ pubkey: mintAccount,

});
// Payer.
signers.push(payerAccount);

@@ -91,2 +107,3 @@ keys.push({

});
// Authority.
signers.push(authorityAccount);

@@ -98,2 +115,3 @@ keys.push({

});
// Collection Metadata.
keys.push({

@@ -104,2 +122,3 @@ pubkey: collectionMetadataAccount,

});
// Delegate Record.
keys.push({

@@ -110,2 +129,3 @@ pubkey: delegateRecordAccount,

});
// Token Record.
keys.push({

@@ -116,2 +136,3 @@ pubkey: tokenRecordAccount,

});
// System Program.
keys.push({

@@ -122,2 +143,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -128,2 +150,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -134,2 +157,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -140,2 +164,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -146,3 +171,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getMigrateInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -149,0 +176,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,18 +1,40 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { MigrationType, MigrationTypeArgs } from '../types';
export type MigrateV1InstructionAccounts = {
/** Metadata account */
metadata?: PublicKey;
/** Edition account */
edition?: PublicKey;
/** Token account */
token: PublicKey;
/** Token account owner */
tokenOwner: PublicKey;
/** Mint account */
mint: PublicKey;
/** Payer */
payer?: Signer;
/** Update authority */
authority?: Signer;
/** Collection metadata account */
collectionMetadata: PublicKey;
/** Delegate record account */
delegateRecord: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Instruction sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -19,0 +41,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -21,6 +28,9 @@ exports.migrateV1 = exports.getMigrateV1InstructionDataSerializer = void 0;

exports.getMigrateV1InstructionDataSerializer = getMigrateV1InstructionDataSerializer;
// Instruction.
function migrateV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const mintAccount = input.mint;

@@ -60,2 +70,3 @@ const metadataAccount = input.metadata ??

};
// Metadata.
keys.push({

@@ -66,2 +77,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -72,2 +84,3 @@ pubkey: editionAccount,

});
// Token.
keys.push({

@@ -78,2 +91,3 @@ pubkey: tokenAccount,

});
// Token Owner.
keys.push({

@@ -84,2 +98,3 @@ pubkey: tokenOwnerAccount,

});
// Mint.
keys.push({

@@ -90,2 +105,3 @@ pubkey: mintAccount,

});
// Payer.
signers.push(payerAccount);

@@ -97,2 +113,3 @@ keys.push({

});
// Authority.
signers.push(authorityAccount);

@@ -104,2 +121,3 @@ keys.push({

});
// Collection Metadata.
keys.push({

@@ -110,2 +128,3 @@ pubkey: collectionMetadataAccount,

});
// Delegate Record.
keys.push({

@@ -116,2 +135,3 @@ pubkey: delegateRecordAccount,

});
// Token Record.
keys.push({

@@ -122,2 +142,3 @@ pubkey: tokenRecordAccount,

});
// System Program.
keys.push({

@@ -128,2 +149,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -134,2 +156,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -140,2 +163,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -146,2 +170,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -152,3 +177,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getMigrateV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -155,0 +182,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,18 +1,40 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { MintArgs, MintArgsArgs } from '../types';
export type MintInstructionAccounts = {
/** Token or Associated Token account */
token: PublicKey;
/** Owner of the token account */
tokenOwner?: PublicKey;
/** Metadata account (pda of ['metadata', program id, mint id]) */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of token asset */
mint: PublicKey;
/** (Mint or Update) authority */
authority?: Signer;
/** Metadata delegate record */
delegateRecord?: PublicKey;
/** Payer */
payer?: Signer;
/** System program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token program */
splTokenProgram?: PublicKey;
/** SPL Associated Token Account program */
splAtaProgram?: PublicKey;
/** Token Authorization Rules program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -19,0 +41,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -15,6 +22,9 @@ exports.mint = exports.getMintInstructionDataSerializer = void 0;

exports.getMintInstructionDataSerializer = getMintInstructionDataSerializer;
// Instruction.
function mint(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const tokenAccount = input.token;

@@ -64,2 +74,3 @@ const tokenOwnerAccount = input.tokenOwner ?? {

};
// Token.
keys.push({

@@ -70,2 +81,3 @@ pubkey: tokenAccount,

});
// Token Owner.
keys.push({

@@ -76,2 +88,3 @@ pubkey: tokenOwnerAccount,

});
// Metadata.
keys.push({

@@ -82,2 +95,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -88,2 +102,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -94,2 +109,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -100,2 +116,3 @@ pubkey: mintAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -107,2 +124,3 @@ keys.push({

});
// Delegate Record.
keys.push({

@@ -113,2 +131,3 @@ pubkey: delegateRecordAccount,

});
// Payer.
signers.push(payerAccount);

@@ -120,2 +139,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -126,2 +146,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -132,2 +153,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -138,2 +160,3 @@ pubkey: splTokenProgramAccount,

});
// Spl Ata Program.
keys.push({

@@ -144,2 +167,3 @@ pubkey: splAtaProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -150,2 +174,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -156,3 +181,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getMintInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 468;

@@ -159,0 +186,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,17 +1,38 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { MintNewEditionFromMasterEditionViaTokenArgs, MintNewEditionFromMasterEditionViaTokenArgsArgs } from '../types';
export type MintNewEditionFromMasterEditionViaTokenInstructionAccounts = {
/** New Metadata key (pda of ['metadata', program id, mint id]) */
newMetadata: PublicKey;
/** New Edition (pda of ['metadata', program id, mint id, 'edition']) */
newEdition: PublicKey;
/** Master Record Edition V2 (pda of ['metadata', program id, master metadata mint id, 'edition']) */
masterEdition: PublicKey;
/** Mint of new token - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY */
newMint: PublicKey;
/** Edition pda to mark creation - will be checked for pre-existence. (pda of ['metadata', program id, master metadata mint id, 'edition', edition_number]) where edition_number is NOT the edition number you pass in args but actually edition_number = floor(edition/EDITION_MARKER_BIT_SIZE). */
editionMarkPda: PublicKey;
/** Mint authority of new mint */
newMintAuthority: Signer;
/** payer */
payer?: Signer;
/** owner of token account containing master token (#8) */
tokenAccountOwner: Signer;
/** token account containing token from master metadata mint */
tokenAccount: PublicKey;
/** Update authority info for new metadata */
newMetadataUpdateAuthority: PublicKey;
/** Master record metadata account */
metadata: PublicKey;
/** Token program */
tokenProgram?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Rent info */
rent?: PublicKey;

@@ -18,0 +39,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -20,6 +27,9 @@ exports.mintNewEditionFromMasterEditionViaToken = exports.getMintNewEditionFromMasterEditionViaTokenInstructionDataSerializer = void 0;

exports.getMintNewEditionFromMasterEditionViaTokenInstructionDataSerializer = getMintNewEditionFromMasterEditionViaTokenInstructionDataSerializer;
// Instruction.
function mintNewEditionFromMasterEditionViaToken(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const newMetadataAccount = input.newMetadata;

@@ -45,2 +55,3 @@ const newEditionAccount = input.newEdition;

const rentAccount = input.rent;
// New Metadata.
keys.push({

@@ -51,2 +62,3 @@ pubkey: newMetadataAccount,

});
// New Edition.
keys.push({

@@ -57,2 +69,3 @@ pubkey: newEditionAccount,

});
// Master Edition.
keys.push({

@@ -63,2 +76,3 @@ pubkey: masterEditionAccount,

});
// New Mint.
keys.push({

@@ -69,2 +83,3 @@ pubkey: newMintAccount,

});
// Edition Mark Pda.
keys.push({

@@ -75,2 +90,3 @@ pubkey: editionMarkPdaAccount,

});
// New Mint Authority.
signers.push(newMintAuthorityAccount);

@@ -82,2 +98,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -89,2 +106,3 @@ keys.push({

});
// Token Account Owner.
signers.push(tokenAccountOwnerAccount);

@@ -96,2 +114,3 @@ keys.push({

});
// Token Account.
keys.push({

@@ -102,2 +121,3 @@ pubkey: tokenAccountAccount,

});
// New Metadata Update Authority.
keys.push({

@@ -108,2 +128,3 @@ pubkey: newMetadataUpdateAuthorityAccount,

});
// Metadata.
keys.push({

@@ -114,2 +135,3 @@ pubkey: metadataAccount,

});
// Token Program.
keys.push({

@@ -120,2 +142,3 @@ pubkey: tokenProgramAccount,

});
// System Program.
keys.push({

@@ -126,2 +149,3 @@ pubkey: systemProgramAccount,

});
// Rent (optional).
if (rentAccount) {

@@ -134,3 +158,5 @@ keys.push({

}
// Data.
const data = getMintNewEditionFromMasterEditionViaTokenInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -137,0 +163,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,20 +1,44 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { MintNewEditionFromMasterEditionViaTokenArgs, MintNewEditionFromMasterEditionViaTokenArgsArgs } from '../types';
export type MintNewEditionFromMasterEditionViaVaultProxyInstructionAccounts = {
/** New Metadata key (pda of ['metadata', program id, mint id]) */
newMetadata: PublicKey;
/** New Edition (pda of ['metadata', program id, mint id, 'edition']) */
newEdition: PublicKey;
/** Master Record Edition V2 (pda of ['metadata', program id, master metadata mint id, 'edition'] */
masterEdition: PublicKey;
/** Mint of new token - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY */
newMint: PublicKey;
/** Edition pda to mark creation - will be checked for pre-existence. (pda of ['metadata', program id, master metadata mint id, 'edition', edition_number]) where edition_number is NOT the edition number you pass in args but actually edition_number = floor(edition/EDITION_MARKER_BIT_SIZE). */
editionMarkPda: PublicKey;
/** Mint authority of new mint */
newMintAuthority: Signer;
/** payer */
payer?: Signer;
/** Vault authority */
vaultAuthority: Signer;
/** Safety deposit token store account */
safetyDepositStore: PublicKey;
/** Safety deposit box */
safetyDepositBox: PublicKey;
/** Vault */
vault: PublicKey;
/** Update authority info for new metadata */
newMetadataUpdateAuthority: PublicKey;
/** Master record metadata account */
metadata: PublicKey;
/** Token program */
tokenProgram?: PublicKey;
/** Token vault program */
tokenVaultProgram: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Rent info */
rent?: PublicKey;

@@ -21,0 +45,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -22,6 +29,9 @@ exports.mintNewEditionFromMasterEditionViaVaultProxy = exports.getMintNewEditionFromMasterEditionViaVaultProxyInstructionDataSerializer = void 0;

exports.getMintNewEditionFromMasterEditionViaVaultProxyInstructionDataSerializer = getMintNewEditionFromMasterEditionViaVaultProxyInstructionDataSerializer;
// Instruction.
function mintNewEditionFromMasterEditionViaVaultProxy(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const newMetadataAccount = input.newMetadata;

@@ -50,2 +60,3 @@ const newEditionAccount = input.newEdition;

const rentAccount = input.rent;
// New Metadata.
keys.push({

@@ -56,2 +67,3 @@ pubkey: newMetadataAccount,

});
// New Edition.
keys.push({

@@ -62,2 +74,3 @@ pubkey: newEditionAccount,

});
// Master Edition.
keys.push({

@@ -68,2 +81,3 @@ pubkey: masterEditionAccount,

});
// New Mint.
keys.push({

@@ -74,2 +88,3 @@ pubkey: newMintAccount,

});
// Edition Mark Pda.
keys.push({

@@ -80,2 +95,3 @@ pubkey: editionMarkPdaAccount,

});
// New Mint Authority.
signers.push(newMintAuthorityAccount);

@@ -87,2 +103,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -94,2 +111,3 @@ keys.push({

});
// Vault Authority.
signers.push(vaultAuthorityAccount);

@@ -101,2 +119,3 @@ keys.push({

});
// Safety Deposit Store.
keys.push({

@@ -107,2 +126,3 @@ pubkey: safetyDepositStoreAccount,

});
// Safety Deposit Box.
keys.push({

@@ -113,2 +133,3 @@ pubkey: safetyDepositBoxAccount,

});
// Vault.
keys.push({

@@ -119,2 +140,3 @@ pubkey: vaultAccount,

});
// New Metadata Update Authority.
keys.push({

@@ -125,2 +147,3 @@ pubkey: newMetadataUpdateAuthorityAccount,

});
// Metadata.
keys.push({

@@ -131,2 +154,3 @@ pubkey: metadataAccount,

});
// Token Program.
keys.push({

@@ -137,2 +161,3 @@ pubkey: tokenProgramAccount,

});
// Token Vault Program.
keys.push({

@@ -143,2 +168,3 @@ pubkey: tokenVaultProgramAccount,

});
// System Program.
keys.push({

@@ -149,2 +175,3 @@ pubkey: systemProgramAccount,

});
// Rent (optional).
if (rentAccount) {

@@ -157,3 +184,5 @@ keys.push({

}
// Data.
const data = getMintNewEditionFromMasterEditionViaVaultProxyInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -160,0 +189,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,18 +1,40 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { AuthorizationData, AuthorizationDataArgs } from '../types';
export type MintV1InstructionAccounts = {
/** Token or Associated Token account */
token: PublicKey;
/** Owner of the token account */
tokenOwner?: PublicKey;
/** Metadata account (pda of ['metadata', program id, mint id]) */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of token asset */
mint: PublicKey;
/** (Mint or Update) authority */
authority?: Signer;
/** Metadata delegate record */
delegateRecord?: PublicKey;
/** Payer */
payer?: Signer;
/** System program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token program */
splTokenProgram?: PublicKey;
/** SPL Associated Token Account program */
splAtaProgram?: PublicKey;
/** Token Authorization Rules program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -19,0 +41,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -25,6 +32,9 @@ exports.mintV1 = exports.getMintV1InstructionDataSerializer = void 0;

exports.getMintV1InstructionDataSerializer = getMintV1InstructionDataSerializer;
// Instruction.
function mintV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const tokenAccount = input.token;

@@ -74,2 +84,3 @@ const tokenOwnerAccount = input.tokenOwner ?? {

};
// Token.
keys.push({

@@ -80,2 +91,3 @@ pubkey: tokenAccount,

});
// Token Owner.
keys.push({

@@ -86,2 +98,3 @@ pubkey: tokenOwnerAccount,

});
// Metadata.
keys.push({

@@ -92,2 +105,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -98,2 +112,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -104,2 +119,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -110,2 +126,3 @@ pubkey: mintAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -117,2 +134,3 @@ keys.push({

});
// Delegate Record.
keys.push({

@@ -123,2 +141,3 @@ pubkey: delegateRecordAccount,

});
// Payer.
signers.push(payerAccount);

@@ -130,2 +149,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -136,2 +156,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -142,2 +163,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -148,2 +170,3 @@ pubkey: splTokenProgramAccount,

});
// Spl Ata Program.
keys.push({

@@ -154,2 +177,3 @@ pubkey: splAtaProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -160,2 +184,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -166,3 +191,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getMintV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 468;

@@ -169,0 +196,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,3 +1,11 @@

/**
* 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, PublicKey, Serializer, TransactionBuilder } from '@metaplex-foundation/umi';
export type PuffMetadataInstructionAccounts = {
/** Metadata account */
metadata: PublicKey;

@@ -4,0 +12,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -12,7 +19,11 @@ exports.puffMetadata = exports.getPuffMetadataInstructionDataSerializer = void 0;

exports.getPuffMetadataInstructionDataSerializer = getPuffMetadataInstructionDataSerializer;
// Instruction.
function puffMetadata(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const metadataAccount = input.metadata;
// Metadata.
keys.push({

@@ -23,3 +34,5 @@ pubkey: metadataAccount,

});
// Data.
const data = getPuffMetadataInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -26,0 +39,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,4 +1,13 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type RemoveCreatorVerificationInstructionAccounts = {
/** Metadata (pda of ['metadata', program id, mint id]) */
metadata: PublicKey;
/** Creator */
creator: Signer;

@@ -5,0 +14,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -13,8 +20,12 @@ exports.removeCreatorVerification = exports.getRemoveCreatorVerificationInstructionDataSerializer = void 0;

exports.getRemoveCreatorVerificationInstructionDataSerializer = getRemoveCreatorVerificationInstructionDataSerializer;
// Instruction.
function removeCreatorVerification(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const metadataAccount = input.metadata;
const creatorAccount = input.creator;
// Metadata.
keys.push({

@@ -25,2 +36,3 @@ pubkey: metadataAccount,

});
// Creator.
signers.push(creatorAccount);

@@ -32,3 +44,5 @@ keys.push({

});
// Data.
const data = getRemoveCreatorVerificationInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -35,0 +49,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,17 +1,38 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { RevokeArgs, RevokeArgsArgs } from '../types';
export type RevokeInstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -18,0 +39,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -15,6 +22,9 @@ exports.revoke = exports.getRevokeInstructionDataSerializer = void 0;

exports.getRevokeInstructionDataSerializer = getRevokeInstructionDataSerializer;
// Instruction.
function revoke(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -57,2 +67,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -63,2 +74,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -69,2 +81,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -75,2 +88,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -81,2 +95,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -87,2 +102,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -93,2 +109,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -99,2 +116,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -106,2 +124,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -113,2 +132,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -119,2 +139,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -125,2 +146,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -131,2 +153,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -137,2 +160,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -143,3 +167,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getRevokeInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -146,0 +172,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,7 +1,19 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type RevokeCollectionAuthorityInstructionAccounts = {
/** Collection Authority Record PDA */
collectionAuthorityRecord: PublicKey;
/** Delegated Collection Authority */
delegateAuthority: PublicKey;
/** Update Authority, or Delegated Authority, of Collection NFT */
revokeAuthority: Signer;
/** Metadata account */
metadata?: PublicKey;
/** Mint of Metadata */
mint: PublicKey;

@@ -8,0 +20,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -14,6 +21,9 @@ exports.revokeCollectionAuthority = exports.getRevokeCollectionAuthorityInstructionDataSerializer = void 0;

exports.getRevokeCollectionAuthorityInstructionDataSerializer = getRevokeCollectionAuthorityInstructionDataSerializer;
// Instruction.
function revokeCollectionAuthority(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const collectionAuthorityRecordAccount = input.collectionAuthorityRecord;

@@ -25,2 +35,3 @@ const delegateAuthorityAccount = input.delegateAuthority;

(0, accounts_1.findMetadataPda)(context, { mint: (0, umi_1.publicKey)(mintAccount) });
// Collection Authority Record.
keys.push({

@@ -31,2 +42,3 @@ pubkey: collectionAuthorityRecordAccount,

});
// Delegate Authority.
keys.push({

@@ -37,2 +49,3 @@ pubkey: delegateAuthorityAccount,

});
// Revoke Authority.
signers.push(revokeAuthorityAccount);

@@ -44,2 +57,3 @@ keys.push({

});
// Metadata.
keys.push({

@@ -50,2 +64,3 @@ pubkey: metadataAccount,

});
// Mint.
keys.push({

@@ -56,3 +71,5 @@ pubkey: mintAccount,

});
// Data.
const data = getRevokeCollectionAuthorityInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -59,0 +76,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,37 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type RevokeCollectionV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +38,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,6 +25,9 @@ exports.revokeCollectionV1 = exports.getRevokeCollectionV1InstructionDataSerializer = void 0;

exports.getRevokeCollectionV1InstructionDataSerializer = getRevokeCollectionV1InstructionDataSerializer;
// Instruction.
function revokeCollectionV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -60,2 +70,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -66,2 +77,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -72,2 +84,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -78,2 +91,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -84,2 +98,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -90,2 +105,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -96,2 +112,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -102,2 +119,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -109,2 +127,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -116,2 +135,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -122,2 +142,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -128,2 +149,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -134,2 +156,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -140,2 +163,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -146,3 +170,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getRevokeCollectionV1InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -149,0 +175,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,37 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type RevokeLockedTransferV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +38,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,6 +25,9 @@ exports.revokeLockedTransferV1 = exports.getRevokeLockedTransferV1InstructionDataSerializer = void 0;

exports.getRevokeLockedTransferV1InstructionDataSerializer = getRevokeLockedTransferV1InstructionDataSerializer;
// Instruction.
function revokeLockedTransferV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -60,2 +70,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -66,2 +77,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -72,2 +84,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -78,2 +91,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -84,2 +98,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -90,2 +105,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -96,2 +112,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -102,2 +119,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -109,2 +127,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -116,2 +135,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -122,2 +142,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -128,2 +149,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -134,2 +156,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -140,2 +163,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -146,3 +170,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getRevokeLockedTransferV1InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -149,0 +175,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,37 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type RevokeMigrationV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +38,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,6 +25,9 @@ exports.revokeMigrationV1 = exports.getRevokeMigrationV1InstructionDataSerializer = void 0;

exports.getRevokeMigrationV1InstructionDataSerializer = getRevokeMigrationV1InstructionDataSerializer;
// Instruction.
function revokeMigrationV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -60,2 +70,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -66,2 +77,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -72,2 +84,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -78,2 +91,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -84,2 +98,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -90,2 +105,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -96,2 +112,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -102,2 +119,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -109,2 +127,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -116,2 +135,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -122,2 +142,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -128,2 +149,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -134,2 +156,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -140,2 +163,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -146,3 +170,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getRevokeMigrationV1InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -149,0 +175,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,37 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type RevokeProgrammableConfigV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +38,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,6 +25,9 @@ exports.revokeProgrammableConfigV1 = exports.getRevokeProgrammableConfigV1InstructionDataSerializer = void 0;

exports.getRevokeProgrammableConfigV1InstructionDataSerializer = getRevokeProgrammableConfigV1InstructionDataSerializer;
// Instruction.
function revokeProgrammableConfigV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -60,2 +70,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -66,2 +77,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -72,2 +84,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -78,2 +91,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -84,2 +98,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -90,2 +105,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -96,2 +112,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -102,2 +119,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -109,2 +127,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -116,2 +135,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -122,2 +142,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -128,2 +149,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -134,2 +156,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -140,2 +163,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -146,3 +170,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getRevokeProgrammableConfigV1InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -149,0 +175,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,37 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type RevokeSaleV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +38,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,6 +25,9 @@ exports.revokeSaleV1 = exports.getRevokeSaleV1InstructionDataSerializer = void 0;

exports.getRevokeSaleV1InstructionDataSerializer = getRevokeSaleV1InstructionDataSerializer;
// Instruction.
function revokeSaleV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -60,2 +70,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -66,2 +77,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -72,2 +84,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -78,2 +91,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -84,2 +98,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -90,2 +105,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -96,2 +112,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -102,2 +119,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -109,2 +127,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -116,2 +135,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -122,2 +142,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -128,2 +149,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -134,2 +156,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -140,2 +163,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -146,3 +170,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getRevokeSaleV1InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -149,0 +175,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,37 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type RevokeStakingV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +38,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,6 +25,9 @@ exports.revokeStakingV1 = exports.getRevokeStakingV1InstructionDataSerializer = void 0;

exports.getRevokeStakingV1InstructionDataSerializer = getRevokeStakingV1InstructionDataSerializer;
// Instruction.
function revokeStakingV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -60,2 +70,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -66,2 +77,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -72,2 +84,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -78,2 +91,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -84,2 +98,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -90,2 +105,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -96,2 +112,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -102,2 +119,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -109,2 +127,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -116,2 +135,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -122,2 +142,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -128,2 +149,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -134,2 +156,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -140,2 +163,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -146,3 +170,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getRevokeStakingV1InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -149,0 +175,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,37 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type RevokeStandardV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +38,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,6 +25,9 @@ exports.revokeStandardV1 = exports.getRevokeStandardV1InstructionDataSerializer = void 0;

exports.getRevokeStandardV1InstructionDataSerializer = getRevokeStandardV1InstructionDataSerializer;
// Instruction.
function revokeStandardV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -60,2 +70,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -66,2 +77,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -72,2 +84,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -78,2 +91,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -84,2 +98,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -90,2 +105,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -96,2 +112,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -102,2 +119,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -109,2 +127,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -116,2 +135,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -122,2 +142,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -128,2 +149,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -134,2 +156,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -140,2 +163,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -146,3 +170,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getRevokeStandardV1InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -149,0 +175,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,37 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type RevokeTransferV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +38,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,6 +25,9 @@ exports.revokeTransferV1 = exports.getRevokeTransferV1InstructionDataSerializer = void 0;

exports.getRevokeTransferV1InstructionDataSerializer = getRevokeTransferV1InstructionDataSerializer;
// Instruction.
function revokeTransferV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -60,2 +70,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -66,2 +77,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -72,2 +84,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -78,2 +91,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -84,2 +98,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -90,2 +105,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -96,2 +112,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -102,2 +119,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -109,2 +127,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -116,2 +135,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -122,2 +142,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -128,2 +149,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -134,2 +156,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -140,2 +163,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -146,3 +170,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getRevokeTransferV1InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -149,0 +175,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,37 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type RevokeUpdateV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +38,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,6 +25,9 @@ exports.revokeUpdateV1 = exports.getRevokeUpdateV1InstructionDataSerializer = void 0;

exports.getRevokeUpdateV1InstructionDataSerializer = getRevokeUpdateV1InstructionDataSerializer;
// Instruction.
function revokeUpdateV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -60,2 +70,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -66,2 +77,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -72,2 +84,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -78,2 +91,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -84,2 +98,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -90,2 +105,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -96,2 +112,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -102,2 +119,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -109,2 +127,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -116,2 +135,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -122,2 +142,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -128,2 +149,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -134,2 +156,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -140,2 +163,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -146,3 +170,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getRevokeUpdateV1InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -149,0 +175,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,11 +1,27 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type RevokeUseAuthorityInstructionAccounts = {
/** Use Authority Record PDA */
useAuthorityRecord: PublicKey;
/** Owner */
owner: Signer;
/** A Use Authority */
user: PublicKey;
/** Owned Token Account Of Mint */
ownerTokenAccount: PublicKey;
/** Mint of Metadata */
mint: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Token program */
tokenProgram?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Rent info */
rent?: PublicKey;

@@ -12,0 +28,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -13,6 +20,9 @@ exports.revokeUseAuthority = exports.getRevokeUseAuthorityInstructionDataSerializer = void 0;

exports.getRevokeUseAuthorityInstructionDataSerializer = getRevokeUseAuthorityInstructionDataSerializer;
// Instruction.
function revokeUseAuthority(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const useAuthorityRecordAccount = input.useAuthorityRecord;

@@ -34,2 +44,3 @@ const ownerAccount = input.owner;

const rentAccount = input.rent;
// Use Authority Record.
keys.push({

@@ -40,2 +51,3 @@ pubkey: useAuthorityRecordAccount,

});
// Owner.
signers.push(ownerAccount);

@@ -47,2 +59,3 @@ keys.push({

});
// User.
keys.push({

@@ -53,2 +66,3 @@ pubkey: userAccount,

});
// Owner Token Account.
keys.push({

@@ -59,2 +73,3 @@ pubkey: ownerTokenAccountAccount,

});
// Mint.
keys.push({

@@ -65,2 +80,3 @@ pubkey: mintAccount,

});
// Metadata.
keys.push({

@@ -71,2 +87,3 @@ pubkey: metadataAccount,

});
// Token Program.
keys.push({

@@ -77,2 +94,3 @@ pubkey: tokenProgramAccount,

});
// System Program.
keys.push({

@@ -83,2 +101,3 @@ pubkey: systemProgramAccount,

});
// Rent (optional).
if (rentAccount) {

@@ -91,3 +110,5 @@ keys.push({

}
// Data.
const data = getRevokeUseAuthorityInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -94,0 +115,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,37 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type RevokeUtilityV1InstructionAccounts = {
/** Delegate record account */
delegateRecord?: PublicKey;
/** Owner of the delegated account */
delegate: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Master Edition account */
masterEdition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Mint of metadata */
mint: PublicKey;
/** Token account of mint */
token?: PublicKey;
/** Update authority or token owner */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +38,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,6 +25,9 @@ exports.revokeUtilityV1 = exports.getRevokeUtilityV1InstructionDataSerializer = void 0;

exports.getRevokeUtilityV1InstructionDataSerializer = getRevokeUtilityV1InstructionDataSerializer;
// Instruction.
function revokeUtilityV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateRecordAccount = input.delegateRecord ?? {

@@ -60,2 +70,3 @@ ...programId,

};
// Delegate Record.
keys.push({

@@ -66,2 +77,3 @@ pubkey: delegateRecordAccount,

});
// Delegate.
keys.push({

@@ -72,2 +84,3 @@ pubkey: delegateAccount,

});
// Metadata.
keys.push({

@@ -78,2 +91,3 @@ pubkey: metadataAccount,

});
// Master Edition.
keys.push({

@@ -84,2 +98,3 @@ pubkey: masterEditionAccount,

});
// Token Record.
keys.push({

@@ -90,2 +105,3 @@ pubkey: tokenRecordAccount,

});
// Mint.
keys.push({

@@ -96,2 +112,3 @@ pubkey: mintAccount,

});
// Token.
keys.push({

@@ -102,2 +119,3 @@ pubkey: tokenAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -109,2 +127,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -116,2 +135,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -122,2 +142,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -128,2 +149,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -134,2 +156,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -140,2 +163,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -146,3 +170,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getRevokeUtilityV1InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -149,0 +175,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,10 +1,25 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type SetAndVerifyCollectionInstructionAccounts = {
/** Metadata account */
metadata: PublicKey;
/** Collection Update authority */
collectionAuthority: Signer;
/** Payer */
payer?: Signer;
/** Update Authority of Collection NFT and NFT */
updateAuthority?: PublicKey;
/** Mint of the Collection */
collectionMint: PublicKey;
/** Metadata Account of the Collection */
collection: PublicKey;
/** MasterEdition2 Account of the Collection Token */
collectionMasterEditionAccount: PublicKey;
/** Collection Authority Record PDA */
collectionAuthorityRecord?: PublicKey;

@@ -11,0 +26,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -10,6 +17,9 @@ exports.setAndVerifyCollection = exports.getSetAndVerifyCollectionInstructionDataSerializer = void 0;

exports.getSetAndVerifyCollectionInstructionDataSerializer = getSetAndVerifyCollectionInstructionDataSerializer;
// Instruction.
function setAndVerifyCollection(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const metadataAccount = input.metadata;

@@ -23,2 +33,3 @@ const collectionAuthorityAccount = input.collectionAuthority;

const collectionAuthorityRecordAccount = input.collectionAuthorityRecord;
// Metadata.
keys.push({

@@ -29,2 +40,3 @@ pubkey: metadataAccount,

});
// Collection Authority.
signers.push(collectionAuthorityAccount);

@@ -36,2 +48,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -43,2 +56,3 @@ keys.push({

});
// Update Authority.
keys.push({

@@ -49,2 +63,3 @@ pubkey: updateAuthorityAccount,

});
// Collection Mint.
keys.push({

@@ -55,2 +70,3 @@ pubkey: collectionMintAccount,

});
// Collection.
keys.push({

@@ -61,2 +77,3 @@ pubkey: collectionAccount,

});
// Collection Master Edition Account.
keys.push({

@@ -67,2 +84,3 @@ pubkey: collectionMasterEditionAccountAccount,

});
// Collection Authority Record (optional).
if (collectionAuthorityRecordAccount) {

@@ -75,3 +93,5 @@ keys.push({

}
// Data.
const data = getSetAndVerifyCollectionInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -78,0 +98,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,10 +1,25 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type SetAndVerifySizedCollectionItemInstructionAccounts = {
/** Metadata account */
metadata: PublicKey;
/** Collection Update authority */
collectionAuthority: Signer;
/** payer */
payer?: Signer;
/** Update Authority of Collection NFT and NFT */
updateAuthority?: PublicKey;
/** Mint of the Collection */
collectionMint: PublicKey;
/** Metadata Account of the Collection */
collection: PublicKey;
/** MasterEdition2 Account of the Collection Token */
collectionMasterEditionAccount: PublicKey;
/** Collection Authority Record PDA */
collectionAuthorityRecord?: PublicKey;

@@ -11,0 +26,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -13,6 +20,9 @@ exports.setAndVerifySizedCollectionItem = exports.getSetAndVerifySizedCollectionItemInstructionDataSerializer = void 0;

exports.getSetAndVerifySizedCollectionItemInstructionDataSerializer = getSetAndVerifySizedCollectionItemInstructionDataSerializer;
// Instruction.
function setAndVerifySizedCollectionItem(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const metadataAccount = input.metadata;

@@ -26,2 +36,3 @@ const collectionAuthorityAccount = input.collectionAuthority;

const collectionAuthorityRecordAccount = input.collectionAuthorityRecord;
// Metadata.
keys.push({

@@ -32,2 +43,3 @@ pubkey: metadataAccount,

});
// Collection Authority.
signers.push(collectionAuthorityAccount);

@@ -39,2 +51,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -46,2 +59,3 @@ keys.push({

});
// Update Authority.
keys.push({

@@ -52,2 +66,3 @@ pubkey: updateAuthorityAccount,

});
// Collection Mint.
keys.push({

@@ -58,2 +73,3 @@ pubkey: collectionMintAccount,

});
// Collection.
keys.push({

@@ -64,2 +80,3 @@ pubkey: collectionAccount,

});
// Collection Master Edition Account.
keys.push({

@@ -70,2 +87,3 @@ pubkey: collectionMasterEditionAccountAccount,

});
// Collection Authority Record (optional).
if (collectionAuthorityRecordAccount) {

@@ -78,3 +96,5 @@ keys.push({

}
// Data.
const data = getSetAndVerifySizedCollectionItemInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -81,0 +101,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,7 +1,18 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { SetCollectionSizeArgs, SetCollectionSizeArgsArgs } from '../types';
export type SetCollectionSizeInstructionAccounts = {
/** Collection Metadata account */
collectionMetadata: PublicKey;
/** Collection Update authority */
collectionAuthority: Signer;
/** Mint of the Collection */
collectionMint: PublicKey;
/** Collection Authority Record PDA */
collectionAuthorityRecord?: PublicKey;

@@ -8,0 +19,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -14,6 +21,9 @@ exports.setCollectionSize = exports.getSetCollectionSizeInstructionDataSerializer = void 0;

exports.getSetCollectionSizeInstructionDataSerializer = getSetCollectionSizeInstructionDataSerializer;
// Instruction.
function setCollectionSize(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const collectionMetadataAccount = input.collectionMetadata;

@@ -23,2 +33,3 @@ const collectionAuthorityAccount = input.collectionAuthority;

const collectionAuthorityRecordAccount = input.collectionAuthorityRecord;
// Collection Metadata.
keys.push({

@@ -29,2 +40,3 @@ pubkey: collectionMetadataAccount,

});
// Collection Authority.
signers.push(collectionAuthorityAccount);

@@ -36,2 +48,3 @@ keys.push({

});
// Collection Mint.
keys.push({

@@ -42,2 +55,3 @@ pubkey: collectionMintAccount,

});
// Collection Authority Record (optional).
if (collectionAuthorityRecordAccount) {

@@ -50,3 +64,5 @@ keys.push({

}
// Data.
const data = getSetCollectionSizeInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -53,0 +69,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,6 +1,17 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type SetTokenStandardInstructionAccounts = {
/** Metadata account */
metadata?: PublicKey;
/** Metadata update authority */
updateAuthority?: Signer;
/** Mint account */
mint: PublicKey;
/** Edition account */
edition?: PublicKey;

@@ -7,0 +18,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -13,6 +20,9 @@ exports.setTokenStandard = exports.getSetTokenStandardInstructionDataSerializer = void 0;

exports.getSetTokenStandardInstructionDataSerializer = getSetTokenStandardInstructionDataSerializer;
// Instruction.
function setTokenStandard(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const mintAccount = input.mint;

@@ -23,2 +33,3 @@ const metadataAccount = input.metadata ??

const editionAccount = input.edition;
// Metadata.
keys.push({

@@ -29,2 +40,3 @@ pubkey: metadataAccount,

});
// Update Authority.
signers.push(updateAuthorityAccount);

@@ -36,2 +48,3 @@ keys.push({

});
// Mint.
keys.push({

@@ -42,2 +55,3 @@ pubkey: mintAccount,

});
// Edition (optional).
if (editionAccount) {

@@ -50,3 +64,5 @@ keys.push({

}
// Data.
const data = getSetTokenStandardInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -53,0 +69,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,4 +1,13 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type SignMetadataInstructionAccounts = {
/** Metadata (pda of ['metadata', program id, mint id]) */
metadata: PublicKey;
/** Creator */
creator: Signer;

@@ -5,0 +14,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -12,8 +19,12 @@ exports.signMetadata = exports.getSignMetadataInstructionDataSerializer = void 0;

exports.getSignMetadataInstructionDataSerializer = getSignMetadataInstructionDataSerializer;
// Instruction.
function signMetadata(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const metadataAccount = input.metadata;
const creatorAccount = input.creator;
// Metadata.
keys.push({

@@ -24,2 +35,3 @@ pubkey: metadataAccount,

});
// Creator.
signers.push(creatorAccount);

@@ -31,3 +43,5 @@ keys.push({

});
// Data.
const data = getSignMetadataInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -34,0 +48,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,7 +1,19 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type ThawDelegatedAccountInstructionAccounts = {
/** Delegate */
delegate: Signer;
/** Token account to thaw */
tokenAccount: PublicKey;
/** Edition */
edition?: PublicKey;
/** Token mint */
mint: PublicKey;
/** Token Program */
tokenProgram?: PublicKey;

@@ -8,0 +20,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -13,6 +20,9 @@ exports.thawDelegatedAccount = exports.getThawDelegatedAccountInstructionDataSerializer = void 0;

exports.getThawDelegatedAccountInstructionDataSerializer = getThawDelegatedAccountInstructionDataSerializer;
// Instruction.
function thawDelegatedAccount(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const delegateAccount = input.delegate;

@@ -27,2 +37,3 @@ const tokenAccountAccount = input.tokenAccount;

};
// Delegate.
signers.push(delegateAccount);

@@ -34,2 +45,3 @@ keys.push({

});
// Token Account.
keys.push({

@@ -40,2 +52,3 @@ pubkey: tokenAccountAccount,

});
// Edition.
keys.push({

@@ -46,2 +59,3 @@ pubkey: editionAccount,

});
// Mint.
keys.push({

@@ -52,2 +66,3 @@ pubkey: mintAccount,

});
// Token Program.
keys.push({

@@ -58,3 +73,5 @@ pubkey: tokenProgramAccount,

});
// Data.
const data = getThawDelegatedAccountInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -61,0 +78,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,20 +1,44 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { TransferArgs, TransferArgsArgs } from '../types';
export type TransferInstructionAccounts = {
/** Token account */
token: PublicKey;
/** Token account owner */
tokenOwner: PublicKey;
/** Destination token account */
destination: PublicKey;
/** Destination token account owner */
destinationOwner: PublicKey;
/** Mint of token asset */
mint: PublicKey;
/** Metadata (pda of ['metadata', program id, mint id]) */
metadata?: PublicKey;
/** Edition of token asset */
edition?: PublicKey;
/** Owner token record account */
ownerTokenRecord?: PublicKey;
/** Destination token record account */
destinationTokenRecord?: PublicKey;
/** Transfer authority (token owner or delegate) */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** SPL Associated Token Account program */
splAtaProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -21,0 +45,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -15,6 +22,9 @@ exports.transfer = exports.getTransferInstructionDataSerializer = void 0;

exports.getTransferInstructionDataSerializer = getTransferInstructionDataSerializer;
// Instruction.
function transfer(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const tokenAccount = input.token;

@@ -60,2 +70,3 @@ const tokenOwnerAccount = input.tokenOwner;

};
// Token.
keys.push({

@@ -66,2 +77,3 @@ pubkey: tokenAccount,

});
// Token Owner.
keys.push({

@@ -72,2 +84,3 @@ pubkey: tokenOwnerAccount,

});
// Destination.
keys.push({

@@ -78,2 +91,3 @@ pubkey: destinationAccount,

});
// Destination Owner.
keys.push({

@@ -84,2 +98,3 @@ pubkey: destinationOwnerAccount,

});
// Mint.
keys.push({

@@ -90,2 +105,3 @@ pubkey: mintAccount,

});
// Metadata.
keys.push({

@@ -96,2 +112,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -102,2 +119,3 @@ pubkey: editionAccount,

});
// Owner Token Record.
keys.push({

@@ -108,2 +126,3 @@ pubkey: ownerTokenRecordAccount,

});
// Destination Token Record.
keys.push({

@@ -114,2 +133,3 @@ pubkey: destinationTokenRecordAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -121,2 +141,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -128,2 +149,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -134,2 +156,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -140,2 +163,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -146,2 +170,3 @@ pubkey: splTokenProgramAccount,

});
// Spl Ata Program.
keys.push({

@@ -152,2 +177,3 @@ pubkey: splAtaProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -158,2 +184,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -164,3 +191,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getTransferInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -167,0 +196,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,15 +1,35 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type TransferOutOfEscrowInstructionAccounts = {
/** Escrow account */
escrow: PublicKey;
/** Metadata account */
metadata: PublicKey;
/** Wallet paying for the transaction and new account */
payer?: Signer;
/** Mint account for the new attribute */
attributeMint: PublicKey;
/** Token account source for the new attribute */
attributeSrc: PublicKey;
/** Token account, owned by TM, destination for the new attribute */
attributeDst: PublicKey;
/** Mint account that the escrow is attached */
escrowMint: PublicKey;
/** Token account that holds the token the escrow is attached to */
escrowAccount: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Associated Token program */
ataProgram?: PublicKey;
/** Token program */
tokenProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** Authority/creator of the escrow account */
authority?: Signer;

@@ -16,0 +36,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -13,6 +20,9 @@ exports.transferOutOfEscrow = exports.getTransferOutOfEscrowInstructionDataSerializer = void 0;

exports.getTransferOutOfEscrowInstructionDataSerializer = getTransferOutOfEscrowInstructionDataSerializer;
// Instruction.
function transferOutOfEscrow(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const escrowAccount = input.escrow;

@@ -41,2 +51,3 @@ const metadataAccount = input.metadata;

const authorityAccount = input.authority;
// Escrow.
keys.push({

@@ -47,2 +58,3 @@ pubkey: escrowAccount,

});
// Metadata.
keys.push({

@@ -53,2 +65,3 @@ pubkey: metadataAccount,

});
// Payer.
signers.push(payerAccount);

@@ -60,2 +73,3 @@ keys.push({

});
// Attribute Mint.
keys.push({

@@ -66,2 +80,3 @@ pubkey: attributeMintAccount,

});
// Attribute Src.
keys.push({

@@ -72,2 +87,3 @@ pubkey: attributeSrcAccount,

});
// Attribute Dst.
keys.push({

@@ -78,2 +94,3 @@ pubkey: attributeDstAccount,

});
// Escrow Mint.
keys.push({

@@ -84,2 +101,3 @@ pubkey: escrowMintAccount,

});
// Escrow Account.
keys.push({

@@ -90,2 +108,3 @@ pubkey: escrowAccountAccount,

});
// System Program.
keys.push({

@@ -96,2 +115,3 @@ pubkey: systemProgramAccount,

});
// Ata Program.
keys.push({

@@ -102,2 +122,3 @@ pubkey: ataProgramAccount,

});
// Token Program.
keys.push({

@@ -108,2 +129,3 @@ pubkey: tokenProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -114,2 +136,3 @@ pubkey: sysvarInstructionsAccount,

});
// Authority (optional).
if (authorityAccount) {

@@ -123,3 +146,5 @@ signers.push(authorityAccount);

}
// Data.
const data = getTransferOutOfEscrowInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -126,0 +151,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,20 +1,44 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { AuthorizationData, AuthorizationDataArgs } from '../types';
export type TransferV1InstructionAccounts = {
/** Token account */
token: PublicKey;
/** Token account owner */
tokenOwner: PublicKey;
/** Destination token account */
destination: PublicKey;
/** Destination token account owner */
destinationOwner: PublicKey;
/** Mint of token asset */
mint: PublicKey;
/** Metadata (pda of ['metadata', program id, mint id]) */
metadata?: PublicKey;
/** Edition of token asset */
edition?: PublicKey;
/** Owner token record account */
ownerTokenRecord?: PublicKey;
/** Destination token record account */
destinationTokenRecord?: PublicKey;
/** Transfer authority (token owner or delegate) */
authority?: Signer;
/** Payer */
payer?: Signer;
/** System Program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** SPL Associated Token Account program */
splAtaProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -21,0 +45,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -24,6 +31,9 @@ exports.transferV1 = exports.getTransferV1InstructionDataSerializer = void 0;

exports.getTransferV1InstructionDataSerializer = getTransferV1InstructionDataSerializer;
// Instruction.
function transferV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const tokenAccount = input.token;

@@ -69,2 +79,3 @@ const tokenOwnerAccount = input.tokenOwner;

};
// Token.
keys.push({

@@ -75,2 +86,3 @@ pubkey: tokenAccount,

});
// Token Owner.
keys.push({

@@ -81,2 +93,3 @@ pubkey: tokenOwnerAccount,

});
// Destination.
keys.push({

@@ -87,2 +100,3 @@ pubkey: destinationAccount,

});
// Destination Owner.
keys.push({

@@ -93,2 +107,3 @@ pubkey: destinationOwnerAccount,

});
// Mint.
keys.push({

@@ -99,2 +114,3 @@ pubkey: mintAccount,

});
// Metadata.
keys.push({

@@ -105,2 +121,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -111,2 +128,3 @@ pubkey: editionAccount,

});
// Owner Token Record.
keys.push({

@@ -117,2 +135,3 @@ pubkey: ownerTokenRecordAccount,

});
// Destination Token Record.
keys.push({

@@ -123,2 +142,3 @@ pubkey: destinationTokenRecordAccount,

});
// Authority.
signers.push(authorityAccount);

@@ -130,2 +150,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -137,2 +158,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -143,2 +165,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -149,2 +172,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -155,2 +179,3 @@ pubkey: splTokenProgramAccount,

});
// Spl Ata Program.
keys.push({

@@ -161,2 +186,3 @@ pubkey: splAtaProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -167,2 +193,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -173,3 +200,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getTransferV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -176,0 +205,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,36 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { UnlockArgs, UnlockArgsArgs } from '../types';
export type UnlockInstructionAccounts = {
/** Delegate or freeze authority */
authority?: Signer;
/** Token owner account */
tokenOwner?: PublicKey;
/** Token account */
token: PublicKey;
/** Mint account */
mint: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Edition account */
edition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Payer */
payer?: Signer;
/** System program */
systemProgram?: PublicKey;
/** System program */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +37,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -15,6 +22,9 @@ exports.unlock = exports.getUnlockInstructionDataSerializer = void 0;

exports.getUnlockInstructionDataSerializer = getUnlockInstructionDataSerializer;
// Instruction.
function unlock(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -53,2 +63,3 @@ const tokenOwnerAccount = input.tokenOwner ?? {

};
// Authority.
signers.push(authorityAccount);

@@ -60,2 +71,3 @@ keys.push({

});
// Token Owner.
keys.push({

@@ -66,2 +78,3 @@ pubkey: tokenOwnerAccount,

});
// Token.
keys.push({

@@ -72,2 +85,3 @@ pubkey: tokenAccount,

});
// Mint.
keys.push({

@@ -78,2 +92,3 @@ pubkey: mintAccount,

});
// Metadata.
keys.push({

@@ -84,2 +99,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -90,2 +106,3 @@ pubkey: editionAccount,

});
// Token Record.
keys.push({

@@ -96,2 +113,3 @@ pubkey: tokenRecordAccount,

});
// Payer.
signers.push(payerAccount);

@@ -103,2 +121,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -109,2 +128,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -115,2 +135,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -121,2 +142,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -127,2 +149,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -133,3 +156,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getUnlockInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -136,0 +161,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,16 +1,36 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { AuthorizationData, AuthorizationDataArgs } from '../types';
export type UnlockV1InstructionAccounts = {
/** Delegate or freeze authority */
authority?: Signer;
/** Token owner account */
tokenOwner?: PublicKey;
/** Token account */
token: PublicKey;
/** Mint account */
mint: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Edition account */
edition?: PublicKey;
/** Token record account */
tokenRecord?: PublicKey;
/** Payer */
payer?: Signer;
/** System program */
systemProgram?: PublicKey;
/** System program */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -17,0 +37,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -23,6 +30,9 @@ exports.unlockV1 = exports.getUnlockV1InstructionDataSerializer = void 0;

exports.getUnlockV1InstructionDataSerializer = getUnlockV1InstructionDataSerializer;
// Instruction.
function unlockV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -61,2 +71,3 @@ const tokenOwnerAccount = input.tokenOwner ?? {

};
// Authority.
signers.push(authorityAccount);

@@ -68,2 +79,3 @@ keys.push({

});
// Token Owner.
keys.push({

@@ -74,2 +86,3 @@ pubkey: tokenOwnerAccount,

});
// Token.
keys.push({

@@ -80,2 +93,3 @@ pubkey: tokenAccount,

});
// Mint.
keys.push({

@@ -86,2 +100,3 @@ pubkey: mintAccount,

});
// Metadata.
keys.push({

@@ -92,2 +107,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -98,2 +114,3 @@ pubkey: editionAccount,

});
// Token Record.
keys.push({

@@ -104,2 +121,3 @@ pubkey: tokenRecordAccount,

});
// Payer.
signers.push(payerAccount);

@@ -111,2 +129,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -117,2 +136,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -123,2 +143,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -129,2 +150,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -135,2 +157,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -141,3 +164,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getUnlockV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -144,0 +169,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,10 +1,24 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { VerificationArgs, VerificationArgsArgs } from '../types';
export type UnverifyInstructionAccounts = {
/** Creator to verify, collection (or metadata if parent burned) update authority or delegate */
authority?: Signer;
/** Delegate record PDA */
delegateRecord?: PublicKey;
/** Metadata account */
metadata: PublicKey;
/** Mint of the Collection */
collectionMint?: PublicKey;
/** Metadata Account of the Collection */
collectionMetadata?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;

@@ -11,0 +25,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -14,6 +21,9 @@ exports.unverify = exports.getUnverifyInstructionDataSerializer = void 0;

exports.getUnverifyInstructionDataSerializer = getUnverifyInstructionDataSerializer;
// Instruction.
function unverify(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -39,2 +49,3 @@ const delegateRecordAccount = input.delegateRecord ?? {

(0, umi_1.publicKey)('Sysvar1nstructions1111111111111111111111111');
// Authority.
signers.push(authorityAccount);

@@ -46,2 +57,3 @@ keys.push({

});
// Delegate Record.
keys.push({

@@ -52,2 +64,3 @@ pubkey: delegateRecordAccount,

});
// Metadata.
keys.push({

@@ -58,2 +71,3 @@ pubkey: metadataAccount,

});
// Collection Mint.
keys.push({

@@ -64,2 +78,3 @@ pubkey: collectionMintAccount,

});
// Collection Metadata.
keys.push({

@@ -70,2 +85,3 @@ pubkey: collectionMetadataAccount,

});
// System Program.
keys.push({

@@ -76,2 +92,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -82,3 +99,5 @@ pubkey: sysvarInstructionsAccount,

});
// Data.
const data = getUnverifyInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -85,0 +104,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,8 +1,21 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type UnverifyCollectionInstructionAccounts = {
/** Metadata account */
metadata: PublicKey;
/** Collection Authority */
collectionAuthority: Signer;
/** Mint of the Collection */
collectionMint: PublicKey;
/** Metadata Account of the Collection */
collection: PublicKey;
/** MasterEdition2 Account of the Collection Token */
collectionMasterEditionAccount: PublicKey;
/** Collection Authority Record PDA */
collectionAuthorityRecord?: PublicKey;

@@ -9,0 +22,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -12,6 +19,9 @@ exports.unverifyCollection = exports.getUnverifyCollectionInstructionDataSerializer = void 0;

exports.getUnverifyCollectionInstructionDataSerializer = getUnverifyCollectionInstructionDataSerializer;
// Instruction.
function unverifyCollection(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const metadataAccount = input.metadata;

@@ -23,2 +33,3 @@ const collectionAuthorityAccount = input.collectionAuthority;

const collectionAuthorityRecordAccount = input.collectionAuthorityRecord;
// Metadata.
keys.push({

@@ -29,2 +40,3 @@ pubkey: metadataAccount,

});
// Collection Authority.
signers.push(collectionAuthorityAccount);

@@ -36,2 +48,3 @@ keys.push({

});
// Collection Mint.
keys.push({

@@ -42,2 +55,3 @@ pubkey: collectionMintAccount,

});
// Collection.
keys.push({

@@ -48,2 +62,3 @@ pubkey: collectionAccount,

});
// Collection Master Edition Account.
keys.push({

@@ -54,2 +69,3 @@ pubkey: collectionMasterEditionAccountAccount,

});
// Collection Authority Record (optional).
if (collectionAuthorityRecordAccount) {

@@ -62,3 +78,5 @@ keys.push({

}
// Data.
const data = getUnverifyCollectionInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -65,0 +83,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,9 +1,23 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type UnverifyCollectionV1InstructionAccounts = {
/** Creator to verify, collection (or metadata if parent burned) update authority or delegate */
authority?: Signer;
/** Delegate record PDA */
delegateRecord?: PublicKey;
/** Metadata account */
metadata: PublicKey;
/** Mint of the Collection */
collectionMint: PublicKey;
/** Metadata Account of the Collection */
collectionMetadata?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;

@@ -10,0 +24,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,6 +25,9 @@ exports.unverifyCollectionV1 = exports.getUnverifyCollectionV1InstructionDataSerializer = void 0;

exports.getUnverifyCollectionV1InstructionDataSerializer = getUnverifyCollectionV1InstructionDataSerializer;
// Instruction.
function unverifyCollectionV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -38,2 +48,3 @@ const delegateRecordAccount = input.delegateRecord ?? {

(0, umi_1.publicKey)('Sysvar1nstructions1111111111111111111111111');
// Authority.
signers.push(authorityAccount);

@@ -45,2 +56,3 @@ keys.push({

});
// Delegate Record.
keys.push({

@@ -51,2 +63,3 @@ pubkey: delegateRecordAccount,

});
// Metadata.
keys.push({

@@ -57,2 +70,3 @@ pubkey: metadataAccount,

});
// Collection Mint.
keys.push({

@@ -63,2 +77,3 @@ pubkey: collectionMintAccount,

});
// Collection Metadata.
keys.push({

@@ -69,2 +84,3 @@ pubkey: collectionMetadataAccount,

});
// System Program.
keys.push({

@@ -75,2 +91,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -81,3 +98,5 @@ pubkey: sysvarInstructionsAccount,

});
// Data.
const data = getUnverifyCollectionV1InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -84,0 +103,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,9 +1,23 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type UnverifyCreatorV1InstructionAccounts = {
/** Creator to verify, collection (or metadata if parent burned) update authority or delegate */
authority?: Signer;
/** Delegate record PDA */
delegateRecord?: PublicKey;
/** Metadata account */
metadata: PublicKey;
/** Mint of the Collection */
collectionMint?: PublicKey;
/** Metadata Account of the Collection */
collectionMetadata?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;

@@ -10,0 +24,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -17,6 +24,9 @@ exports.unverifyCreatorV1 = exports.getUnverifyCreatorV1InstructionDataSerializer = void 0;

exports.getUnverifyCreatorV1InstructionDataSerializer = getUnverifyCreatorV1InstructionDataSerializer;
// Instruction.
function unverifyCreatorV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -42,2 +52,3 @@ const delegateRecordAccount = input.delegateRecord ?? {

(0, umi_1.publicKey)('Sysvar1nstructions1111111111111111111111111');
// Authority.
signers.push(authorityAccount);

@@ -49,2 +60,3 @@ keys.push({

});
// Delegate Record.
keys.push({

@@ -55,2 +67,3 @@ pubkey: delegateRecordAccount,

});
// Metadata.
keys.push({

@@ -61,2 +74,3 @@ pubkey: metadataAccount,

});
// Collection Mint.
keys.push({

@@ -67,2 +81,3 @@ pubkey: collectionMintAccount,

});
// Collection Metadata.
keys.push({

@@ -73,2 +88,3 @@ pubkey: collectionMetadataAccount,

});
// System Program.
keys.push({

@@ -79,2 +95,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -85,3 +102,5 @@ pubkey: sysvarInstructionsAccount,

});
// Data.
const data = getUnverifyCreatorV1InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -88,0 +107,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,9 +1,23 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type UnverifySizedCollectionItemInstructionAccounts = {
/** Metadata account */
metadata: PublicKey;
/** Collection Authority */
collectionAuthority: Signer;
/** payer */
payer?: Signer;
/** Mint of the Collection */
collectionMint: PublicKey;
/** Metadata Account of the Collection */
collection: PublicKey;
/** MasterEdition2 Account of the Collection Token */
collectionMasterEditionAccount: PublicKey;
/** Collection Authority Record PDA */
collectionAuthorityRecord?: PublicKey;

@@ -10,0 +24,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -13,6 +20,9 @@ exports.unverifySizedCollectionItem = exports.getUnverifySizedCollectionItemInstructionDataSerializer = void 0;

exports.getUnverifySizedCollectionItemInstructionDataSerializer = getUnverifySizedCollectionItemInstructionDataSerializer;
// Instruction.
function unverifySizedCollectionItem(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const metadataAccount = input.metadata;

@@ -25,2 +35,3 @@ const collectionAuthorityAccount = input.collectionAuthority;

const collectionAuthorityRecordAccount = input.collectionAuthorityRecord;
// Metadata.
keys.push({

@@ -31,2 +42,3 @@ pubkey: metadataAccount,

});
// Collection Authority.
signers.push(collectionAuthorityAccount);

@@ -38,2 +50,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -45,2 +58,3 @@ keys.push({

});
// Collection Mint.
keys.push({

@@ -51,2 +65,3 @@ pubkey: collectionMintAccount,

});
// Collection.
keys.push({

@@ -57,2 +72,3 @@ pubkey: collectionAccount,

});
// Collection Master Edition Account.
keys.push({

@@ -63,2 +79,3 @@ pubkey: collectionMasterEditionAccountAccount,

});
// Collection Authority Record (optional).
if (collectionAuthorityRecordAccount) {

@@ -71,3 +88,5 @@ keys.push({

}
// Data.
const data = getUnverifySizedCollectionItemInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -74,0 +93,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,14 +1,32 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { UpdateArgs, UpdateArgsArgs } from '../types';
export type UpdateInstructionAccounts = {
/** Update authority or delegate */
authority?: Signer;
/** Delegate record PDA */
delegateRecord?: PublicKey;
/** Token account */
token?: PublicKey;
/** Mint account */
mint: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Edition account */
edition?: PublicKey;
/** Payer */
payer?: Signer;
/** System program */
systemProgram?: PublicKey;
/** System program */
sysvarInstructions?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -15,0 +33,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -15,6 +22,9 @@ exports.update = exports.getUpdateInstructionDataSerializer = void 0;

exports.getUpdateInstructionDataSerializer = getUpdateInstructionDataSerializer;
// Instruction.
function update(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -45,2 +55,3 @@ const delegateRecordAccount = input.delegateRecord ?? {

};
// Authority.
signers.push(authorityAccount);

@@ -52,2 +63,3 @@ keys.push({

});
// Delegate Record.
keys.push({

@@ -58,2 +70,3 @@ pubkey: delegateRecordAccount,

});
// Token.
keys.push({

@@ -64,2 +77,3 @@ pubkey: tokenAccount,

});
// Mint.
keys.push({

@@ -70,2 +84,3 @@ pubkey: mintAccount,

});
// Metadata.
keys.push({

@@ -76,2 +91,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -82,2 +98,3 @@ pubkey: editionAccount,

});
// Payer.
signers.push(payerAccount);

@@ -89,2 +106,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -95,2 +113,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -101,2 +120,3 @@ pubkey: sysvarInstructionsAccount,

});
// Authorization Rules Program.
keys.push({

@@ -107,2 +127,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -113,3 +134,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getUpdateInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -116,0 +139,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,5 +1,14 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { Creator, CreatorArgs } from '../types';
export type UpdateMetadataAccountInstructionAccounts = {
/** Metadata account */
metadata: PublicKey;
/** Update authority key */
updateAuthority?: Signer;

@@ -6,0 +15,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -25,8 +32,12 @@ exports.updateMetadataAccount = exports.getUpdateMetadataAccountInstructionDataSerializer = void 0;

exports.getUpdateMetadataAccountInstructionDataSerializer = getUpdateMetadataAccountInstructionDataSerializer;
// Instruction.
function updateMetadataAccount(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const metadataAccount = input.metadata;
const updateAuthorityAccount = input.updateAuthority ?? context.identity;
// Metadata.
keys.push({

@@ -37,2 +48,3 @@ pubkey: metadataAccount,

});
// Update Authority.
signers.push(updateAuthorityAccount);

@@ -44,3 +56,5 @@ keys.push({

});
// Data.
const data = getUpdateMetadataAccountInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -47,0 +61,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,5 +1,14 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { DataV2, DataV2Args } from '../types';
export type UpdateMetadataAccountV2InstructionAccounts = {
/** Metadata account */
metadata: PublicKey;
/** Update authority key */
updateAuthority?: Signer;

@@ -6,0 +15,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -20,8 +27,12 @@ exports.updateMetadataAccountV2 = exports.getUpdateMetadataAccountV2InstructionDataSerializer = void 0;

exports.getUpdateMetadataAccountV2InstructionDataSerializer = getUpdateMetadataAccountV2InstructionDataSerializer;
// Instruction.
function updateMetadataAccountV2(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const metadataAccount = input.metadata;
const updateAuthorityAccount = input.updateAuthority ?? context.identity;
// Metadata.
keys.push({

@@ -32,2 +43,3 @@ pubkey: metadataAccount,

});
// Update Authority.
signers.push(updateAuthorityAccount);

@@ -39,3 +51,5 @@ keys.push({

});
// Data.
const data = getUpdateMetadataAccountV2InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -42,0 +56,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,5 +1,15 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type UpdatePrimarySaleHappenedViaTokenInstructionAccounts = {
/** Metadata key (pda of ['metadata', program id, mint id]) */
metadata: PublicKey;
/** Owner on the token account */
owner: Signer;
/** Account containing tokens from the metadata's mint */
token: PublicKey;

@@ -6,0 +16,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -13,9 +20,13 @@ exports.updatePrimarySaleHappenedViaToken = exports.getUpdatePrimarySaleHappenedViaTokenInstructionDataSerializer = void 0;

exports.getUpdatePrimarySaleHappenedViaTokenInstructionDataSerializer = getUpdatePrimarySaleHappenedViaTokenInstructionDataSerializer;
// Instruction.
function updatePrimarySaleHappenedViaToken(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const metadataAccount = input.metadata;
const ownerAccount = input.owner;
const tokenAccount = input.token;
// Metadata.
keys.push({

@@ -26,2 +37,3 @@ pubkey: metadataAccount,

});
// Owner.
signers.push(ownerAccount);

@@ -33,2 +45,3 @@ keys.push({

});
// Token.
keys.push({

@@ -39,3 +52,5 @@ pubkey: tokenAccount,

});
// Data.
const data = getUpdatePrimarySaleHappenedViaTokenInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -42,0 +57,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,14 +1,32 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { AuthorizationData, AuthorizationDataArgs, CollectionDetailsToggle, CollectionDetailsToggleArgs, CollectionToggle, CollectionToggleArgs, Creator, CreatorArgs, RuleSetToggle, RuleSetToggleArgs, UsesToggle, UsesToggleArgs } from '../types';
export type UpdateV1InstructionAccounts = {
/** Update authority or delegate */
authority?: Signer;
/** Delegate record PDA */
delegateRecord?: PublicKey;
/** Token account */
token?: PublicKey;
/** Mint account */
mint: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Edition account */
edition?: PublicKey;
/** Payer */
payer?: Signer;
/** System program */
systemProgram?: PublicKey;
/** System program */
sysvarInstructions?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -15,0 +33,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -49,6 +56,9 @@ exports.updateV1 = exports.getUpdateV1InstructionDataSerializer = void 0;

exports.getUpdateV1InstructionDataSerializer = getUpdateV1InstructionDataSerializer;
// Instruction.
function updateV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -79,2 +89,3 @@ const delegateRecordAccount = input.delegateRecord ?? {

};
// Authority.
signers.push(authorityAccount);

@@ -86,2 +97,3 @@ keys.push({

});
// Delegate Record.
keys.push({

@@ -92,2 +104,3 @@ pubkey: delegateRecordAccount,

});
// Token.
keys.push({

@@ -98,2 +111,3 @@ pubkey: tokenAccount,

});
// Mint.
keys.push({

@@ -104,2 +118,3 @@ pubkey: mintAccount,

});
// Metadata.
keys.push({

@@ -110,2 +125,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -116,2 +132,3 @@ pubkey: editionAccount,

});
// Payer.
signers.push(payerAccount);

@@ -123,2 +140,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -129,2 +147,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -135,2 +154,3 @@ pubkey: sysvarInstructionsAccount,

});
// Authorization Rules Program.
keys.push({

@@ -141,2 +161,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -147,3 +168,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getUpdateV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -150,0 +173,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,15 +1,34 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { UseArgs, UseArgsArgs } from '../types';
export type UseInstructionAccounts = {
/** Token owner or delegate */
authority?: Signer;
/** Delegate record PDA */
delegateRecord?: PublicKey;
/** Token account */
token?: PublicKey;
/** Mint account */
mint: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Edition account */
edition?: PublicKey;
/** Payer */
payer?: Signer;
/** System program */
systemProgram?: PublicKey;
/** System program */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -16,0 +35,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -15,6 +22,9 @@ exports.use = exports.getUseInstructionDataSerializer = void 0;

exports.getUseInstructionDataSerializer = getUseInstructionDataSerializer;
// Instruction.
function use(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -49,2 +59,3 @@ const delegateRecordAccount = input.delegateRecord ?? {

};
// Authority.
signers.push(authorityAccount);

@@ -56,2 +67,3 @@ keys.push({

});
// Delegate Record.
keys.push({

@@ -62,2 +74,3 @@ pubkey: delegateRecordAccount,

});
// Token.
keys.push({

@@ -68,2 +81,3 @@ pubkey: tokenAccount,

});
// Mint.
keys.push({

@@ -74,2 +88,3 @@ pubkey: mintAccount,

});
// Metadata.
keys.push({

@@ -80,2 +95,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -86,2 +102,3 @@ pubkey: editionAccount,

});
// Payer.
signers.push(payerAccount);

@@ -93,2 +110,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -99,2 +117,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -105,2 +124,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -111,2 +131,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -117,2 +138,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -123,3 +145,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getUseInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -126,0 +150,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,15 +1,34 @@

/**
* 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, Option, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { AuthorizationData, AuthorizationDataArgs } from '../types';
export type UseV1InstructionAccounts = {
/** Token owner or delegate */
authority?: Signer;
/** Delegate record PDA */
delegateRecord?: PublicKey;
/** Token account */
token?: PublicKey;
/** Mint account */
mint: PublicKey;
/** Metadata account */
metadata?: PublicKey;
/** Edition account */
edition?: PublicKey;
/** Payer */
payer?: Signer;
/** System program */
systemProgram?: PublicKey;
/** System program */
sysvarInstructions?: PublicKey;
/** SPL Token Program */
splTokenProgram?: PublicKey;
/** Token Authorization Rules Program */
authorizationRulesProgram?: PublicKey;
/** Token Authorization Rules account */
authorizationRules?: PublicKey;

@@ -16,0 +35,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -23,6 +30,9 @@ exports.useV1 = exports.getUseV1InstructionDataSerializer = void 0;

exports.getUseV1InstructionDataSerializer = getUseV1InstructionDataSerializer;
// Instruction.
function useV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -57,2 +67,3 @@ const delegateRecordAccount = input.delegateRecord ?? {

};
// Authority.
signers.push(authorityAccount);

@@ -64,2 +75,3 @@ keys.push({

});
// Delegate Record.
keys.push({

@@ -70,2 +82,3 @@ pubkey: delegateRecordAccount,

});
// Token.
keys.push({

@@ -76,2 +89,3 @@ pubkey: tokenAccount,

});
// Mint.
keys.push({

@@ -82,2 +96,3 @@ pubkey: mintAccount,

});
// Metadata.
keys.push({

@@ -88,2 +103,3 @@ pubkey: metadataAccount,

});
// Edition.
keys.push({

@@ -94,2 +110,3 @@ pubkey: editionAccount,

});
// Payer.
signers.push(payerAccount);

@@ -101,2 +118,3 @@ keys.push({

});
// System Program.
keys.push({

@@ -107,2 +125,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -113,2 +132,3 @@ pubkey: sysvarInstructionsAccount,

});
// Spl Token Program.
keys.push({

@@ -119,2 +139,3 @@ pubkey: splTokenProgramAccount,

});
// Authorization Rules Program.
keys.push({

@@ -125,2 +146,3 @@ pubkey: authorizationRulesProgramAccount,

});
// Authorization Rules.
keys.push({

@@ -131,3 +153,5 @@ pubkey: authorizationRulesAccount,

});
// Data.
const data = getUseV1InstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -134,0 +158,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,13 +1,31 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type UtilizeInstructionAccounts = {
/** Metadata account */
metadata?: PublicKey;
/** Token Account Of NFT */
tokenAccount: PublicKey;
/** Mint of the Metadata */
mint: PublicKey;
/** A Use Authority / Can be the current Owner of the NFT */
useAuthority: Signer;
/** Owner */
owner: PublicKey;
/** Token program */
tokenProgram?: PublicKey;
/** Associated Token program */
ataProgram?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Rent info */
rent?: PublicKey;
/** Use Authority Record PDA If present the program Assumes a delegated use authority */
useAuthorityRecord?: PublicKey;
/** Program As Signer (Burner) */
burner?: PublicKey;

@@ -14,0 +32,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -14,6 +21,9 @@ exports.utilize = exports.getUtilizeInstructionDataSerializer = void 0;

exports.getUtilizeInstructionDataSerializer = getUtilizeInstructionDataSerializer;
// Instruction.
function utilize(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const mintAccount = input.mint;

@@ -40,2 +50,3 @@ const metadataAccount = input.metadata ??

const burnerAccount = input.burner;
// Metadata.
keys.push({

@@ -46,2 +57,3 @@ pubkey: metadataAccount,

});
// Token Account.
keys.push({

@@ -52,2 +64,3 @@ pubkey: tokenAccountAccount,

});
// Mint.
keys.push({

@@ -58,2 +71,3 @@ pubkey: mintAccount,

});
// Use Authority.
signers.push(useAuthorityAccount);

@@ -65,2 +79,3 @@ keys.push({

});
// Owner.
keys.push({

@@ -71,2 +86,3 @@ pubkey: ownerAccount,

});
// Token Program.
keys.push({

@@ -77,2 +93,3 @@ pubkey: tokenProgramAccount,

});
// Ata Program.
keys.push({

@@ -83,2 +100,3 @@ pubkey: ataProgramAccount,

});
// System Program.
keys.push({

@@ -89,2 +107,3 @@ pubkey: systemProgramAccount,

});
// Rent.
keys.push({

@@ -95,2 +114,3 @@ pubkey: rentAccount,

});
// Use Authority Record (optional).
if (useAuthorityRecordAccount) {

@@ -103,2 +123,3 @@ keys.push({

}
// Burner (optional).
if (burnerAccount) {

@@ -111,3 +132,5 @@ keys.push({

}
// Data.
const data = getUtilizeInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -114,0 +137,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,11 +1,26 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
import { VerificationArgs, VerificationArgsArgs } from '../types';
export type VerifyInstructionAccounts = {
/** Creator to verify, collection update authority or delegate */
authority?: Signer;
/** Delegate record PDA */
delegateRecord?: PublicKey;
/** Metadata account */
metadata: PublicKey;
/** Mint of the Collection */
collectionMint?: PublicKey;
/** Metadata Account of the Collection */
collectionMetadata?: PublicKey;
/** Master Edition Account of the Collection Token */
collectionMasterEdition?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;

@@ -12,0 +27,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -14,6 +21,9 @@ exports.verify = exports.getVerifyInstructionDataSerializer = void 0;

exports.getVerifyInstructionDataSerializer = getVerifyInstructionDataSerializer;
// Instruction.
function verify(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -43,2 +53,3 @@ const delegateRecordAccount = input.delegateRecord ?? {

(0, umi_1.publicKey)('Sysvar1nstructions1111111111111111111111111');
// Authority.
signers.push(authorityAccount);

@@ -50,2 +61,3 @@ keys.push({

});
// Delegate Record.
keys.push({

@@ -56,2 +68,3 @@ pubkey: delegateRecordAccount,

});
// Metadata.
keys.push({

@@ -62,2 +75,3 @@ pubkey: metadataAccount,

});
// Collection Mint.
keys.push({

@@ -68,2 +82,3 @@ pubkey: collectionMintAccount,

});
// Collection Metadata.
keys.push({

@@ -74,2 +89,3 @@ pubkey: collectionMetadataAccount,

});
// Collection Master Edition.
keys.push({

@@ -80,2 +96,3 @@ pubkey: collectionMasterEditionAccount,

});
// System Program.
keys.push({

@@ -86,2 +103,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -92,3 +110,5 @@ pubkey: sysvarInstructionsAccount,

});
// Data.
const data = getVerifyInstructionDataSerializer(context).serialize(input);
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -95,0 +115,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,8 +1,21 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type VerifyCollectionInstructionAccounts = {
/** Metadata account */
metadata: PublicKey;
/** Collection Update authority */
collectionAuthority: Signer;
/** payer */
payer?: Signer;
/** Mint of the Collection */
collectionMint: PublicKey;
/** Metadata Account of the Collection */
collection: PublicKey;
/** MasterEdition2 Account of the Collection Token */
collectionMasterEditionAccount: PublicKey;

@@ -9,0 +22,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -12,6 +19,9 @@ exports.verifyCollection = exports.getVerifyCollectionInstructionDataSerializer = void 0;

exports.getVerifyCollectionInstructionDataSerializer = getVerifyCollectionInstructionDataSerializer;
// Instruction.
function verifyCollection(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const metadataAccount = input.metadata;

@@ -23,2 +33,3 @@ const collectionAuthorityAccount = input.collectionAuthority;

const collectionMasterEditionAccountAccount = input.collectionMasterEditionAccount;
// Metadata.
keys.push({

@@ -29,2 +40,3 @@ pubkey: metadataAccount,

});
// Collection Authority.
signers.push(collectionAuthorityAccount);

@@ -36,2 +48,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -43,2 +56,3 @@ keys.push({

});
// Collection Mint.
keys.push({

@@ -49,2 +63,3 @@ pubkey: collectionMintAccount,

});
// Collection.
keys.push({

@@ -55,2 +70,3 @@ pubkey: collectionAccount,

});
// Collection Master Edition Account.
keys.push({

@@ -61,3 +77,5 @@ pubkey: collectionMasterEditionAccountAccount,

});
// Data.
const data = getVerifyCollectionInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -64,0 +82,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,10 +1,25 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type VerifyCollectionV1InstructionAccounts = {
/** Creator to verify, collection update authority or delegate */
authority?: Signer;
/** Delegate record PDA */
delegateRecord?: PublicKey;
/** Metadata account */
metadata: PublicKey;
/** Mint of the Collection */
collectionMint: PublicKey;
/** Metadata Account of the Collection */
collectionMetadata?: PublicKey;
/** Master Edition Account of the Collection Token */
collectionMasterEdition?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;

@@ -11,0 +26,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,6 +25,9 @@ exports.verifyCollectionV1 = exports.getVerifyCollectionV1InstructionDataSerializer = void 0;

exports.getVerifyCollectionV1InstructionDataSerializer = getVerifyCollectionV1InstructionDataSerializer;
// Instruction.
function verifyCollectionV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -40,2 +50,3 @@ const delegateRecordAccount = input.delegateRecord ?? {

(0, umi_1.publicKey)('Sysvar1nstructions1111111111111111111111111');
// Authority.
signers.push(authorityAccount);

@@ -47,2 +58,3 @@ keys.push({

});
// Delegate Record.
keys.push({

@@ -53,2 +65,3 @@ pubkey: delegateRecordAccount,

});
// Metadata.
keys.push({

@@ -59,2 +72,3 @@ pubkey: metadataAccount,

});
// Collection Mint.
keys.push({

@@ -65,2 +79,3 @@ pubkey: collectionMintAccount,

});
// Collection Metadata.
keys.push({

@@ -71,2 +86,3 @@ pubkey: collectionMetadataAccount,

});
// Collection Master Edition.
keys.push({

@@ -77,2 +93,3 @@ pubkey: collectionMasterEditionAccount,

});
// System Program.
keys.push({

@@ -83,2 +100,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -89,3 +107,5 @@ pubkey: sysvarInstructionsAccount,

});
// Data.
const data = getVerifyCollectionV1InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -92,0 +112,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,10 +1,25 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type VerifyCreatorV1InstructionAccounts = {
/** Creator to verify, collection update authority or delegate */
authority?: Signer;
/** Delegate record PDA */
delegateRecord?: PublicKey;
/** Metadata account */
metadata: PublicKey;
/** Mint of the Collection */
collectionMint?: PublicKey;
/** Metadata Account of the Collection */
collectionMetadata?: PublicKey;
/** Master Edition Account of the Collection Token */
collectionMasterEdition?: PublicKey;
/** System program */
systemProgram?: PublicKey;
/** Instructions sysvar account */
sysvarInstructions?: PublicKey;

@@ -11,0 +26,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -17,6 +24,9 @@ exports.verifyCreatorV1 = exports.getVerifyCreatorV1InstructionDataSerializer = void 0;

exports.getVerifyCreatorV1InstructionDataSerializer = getVerifyCreatorV1InstructionDataSerializer;
// Instruction.
function verifyCreatorV1(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const authorityAccount = input.authority ?? context.identity;

@@ -46,2 +56,3 @@ const delegateRecordAccount = input.delegateRecord ?? {

(0, umi_1.publicKey)('Sysvar1nstructions1111111111111111111111111');
// Authority.
signers.push(authorityAccount);

@@ -53,2 +64,3 @@ keys.push({

});
// Delegate Record.
keys.push({

@@ -59,2 +71,3 @@ pubkey: delegateRecordAccount,

});
// Metadata.
keys.push({

@@ -65,2 +78,3 @@ pubkey: metadataAccount,

});
// Collection Mint.
keys.push({

@@ -71,2 +85,3 @@ pubkey: collectionMintAccount,

});
// Collection Metadata.
keys.push({

@@ -77,2 +92,3 @@ pubkey: collectionMetadataAccount,

});
// Collection Master Edition.
keys.push({

@@ -83,2 +99,3 @@ pubkey: collectionMasterEditionAccount,

});
// System Program.
keys.push({

@@ -89,2 +106,3 @@ pubkey: systemProgramAccount,

});
// Sysvar Instructions.
keys.push({

@@ -95,3 +113,5 @@ pubkey: sysvarInstructionsAccount,

});
// Data.
const data = getVerifyCreatorV1InstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -98,0 +118,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,9 +1,23 @@

/**
* 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, PublicKey, Serializer, Signer, TransactionBuilder } from '@metaplex-foundation/umi';
export type VerifySizedCollectionItemInstructionAccounts = {
/** Metadata account */
metadata: PublicKey;
/** Collection Update authority */
collectionAuthority: Signer;
/** payer */
payer?: Signer;
/** Mint of the Collection */
collectionMint: PublicKey;
/** Metadata Account of the Collection */
collection: PublicKey;
/** MasterEdition2 Account of the Collection Token */
collectionMasterEditionAccount: PublicKey;
/** Collection Authority Record PDA */
collectionAuthorityRecord?: PublicKey;

@@ -10,0 +24,0 @@ };

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -13,6 +20,9 @@ exports.verifySizedCollectionItem = exports.getVerifySizedCollectionItemInstructionDataSerializer = void 0;

exports.getVerifySizedCollectionItemInstructionDataSerializer = getVerifySizedCollectionItemInstructionDataSerializer;
// Instruction.
function verifySizedCollectionItem(context, input) {
const signers = [];
const keys = [];
// Program ID.
const programId = context.programs.getPublicKey('mplTokenMetadata', 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s');
// Resolved accounts.
const metadataAccount = input.metadata;

@@ -25,2 +35,3 @@ const collectionAuthorityAccount = input.collectionAuthority;

const collectionAuthorityRecordAccount = input.collectionAuthorityRecord;
// Metadata.
keys.push({

@@ -31,2 +42,3 @@ pubkey: metadataAccount,

});
// Collection Authority.
signers.push(collectionAuthorityAccount);

@@ -38,2 +50,3 @@ keys.push({

});
// Payer.
signers.push(payerAccount);

@@ -45,2 +58,3 @@ keys.push({

});
// Collection Mint.
keys.push({

@@ -51,2 +65,3 @@ pubkey: collectionMintAccount,

});
// Collection.
keys.push({

@@ -57,2 +72,3 @@ pubkey: collectionAccount,

});
// Collection Master Edition Account.
keys.push({

@@ -63,2 +79,3 @@ pubkey: collectionMasterEditionAccountAccount,

});
// Collection Authority Record (optional).
if (collectionAuthorityRecordAccount) {

@@ -71,3 +88,5 @@ keys.push({

}
// Data.
const data = getVerifySizedCollectionItemInstructionDataSerializer(context).serialize({});
// Bytes Created On Chain.
const bytesCreatedOnChain = 0;

@@ -74,0 +93,0 @@ return (0, umi_1.transactionBuilder)([

@@ -0,1 +1,8 @@

/**
* 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
*/
export * from './mplTokenMetadata';
"use strict";
/**
* 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
*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

@@ -3,0 +10,0 @@ if (k2 === undefined) k2 = k;

@@ -0,1 +1,8 @@

/**
* 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 { ClusterFilter, Context, Program, PublicKey } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export declare const MPL_TOKEN_METADATA_PROGRAM_ID: PublicKey;

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getMplTokenMetadataProgramId = exports.getMplTokenMetadataProgram = exports.createMplTokenMetadataProgram = exports.MPL_TOKEN_METADATA_PROGRAM_ID = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export declare enum AuthorityType {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getAuthorityTypeSerializer = exports.AuthorityType = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { Payload, PayloadArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getAuthorizationDataSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type BurnArgs = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isBurnArgs = exports.burnArgs = exports.getBurnArgsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, PublicKey, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type Collection = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getCollectionSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type CollectionDetails = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isCollectionDetails = exports.collectionDetails = exports.getCollectionDetailsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { CollectionDetails, CollectionDetailsArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isCollectionDetailsToggle = exports.collectionDetailsToggle = exports.getCollectionDetailsToggleSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { Collection, CollectionArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isCollectionToggle = exports.collectionToggle = exports.getCollectionToggleSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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 { Amount, Context, GetDataEnumKind, GetDataEnumKindContent, Option, PublicKey, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { Collection, CollectionArgs, CollectionDetails, CollectionDetailsArgs, Creator, CreatorArgs, PrintSupply, PrintSupplyArgs, TokenStandard, TokenStandardArgs, Uses, UsesArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isCreateArgs = exports.createArgs = exports.getCreateArgsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Option, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type CreateMasterEditionArgs = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getCreateMasterEditionArgsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, PublicKey, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type Creator = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getCreatorSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Option, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { Collection, CollectionArgs, Creator, CreatorArgs, Uses, UsesArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getDataV2Serializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Option, PublicKey, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { AuthorizationData, AuthorizationDataArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isDelegateArgs = exports.delegateArgs = exports.getDelegateArgsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, PublicKey, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type EscrowAuthority = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isEscrowAuthority = exports.escrowAuthority = exports.getEscrowAuthoritySerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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
*/
export * from './authorityType';

@@ -2,0 +9,0 @@ export * from './authorizationData';

"use strict";
/**
* 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
*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

@@ -3,0 +10,0 @@ if (k2 === undefined) k2 = k;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export declare enum Key {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getKeySerializer = exports.Key = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type LeafInfo = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getLeafInfoSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Option, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { AuthorizationData, AuthorizationDataArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isLockArgs = exports.lockArgs = exports.getLockArgsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export declare enum MetadataDelegateRole {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getMetadataDelegateRoleSerializer = exports.MetadataDelegateRole = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Option, PublicKey, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { MigrationType, MigrationTypeArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isMigrateArgs = exports.migrateArgs = exports.getMigrateArgsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export declare enum MigrationType {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getMigrationTypeSerializer = exports.MigrationType = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Option, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { AuthorizationData, AuthorizationDataArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isMintArgs = exports.mintArgs = exports.getMintArgsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type MintNewEditionFromMasterEditionViaTokenArgs = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getMintNewEditionFromMasterEditionViaTokenArgsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type MintPrintingTokensViaTokenArgs = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getMintPrintingTokensViaTokenArgsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { PayloadType, PayloadTypeArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getPayloadSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export declare enum PayloadKey {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getPayloadKeySerializer = exports.PayloadKey = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, PublicKey, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { LeafInfo, LeafInfoArgs, SeedsVec, SeedsVecArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isPayloadType = exports.payloadType = exports.getPayloadTypeSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type PrintSupply = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isPrintSupply = exports.printSupply = exports.getPrintSupplySerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Option, PublicKey, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type ProgrammableConfig = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isProgrammableConfig = exports.programmableConfig = exports.getProgrammableConfigSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, PublicKey, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type Reservation = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getReservationSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, PublicKey, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type ReservationV1 = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getReservationV1Serializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export declare enum RevokeArgs {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getRevokeArgsSerializer = exports.RevokeArgs = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, PublicKey, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type RuleSetToggle = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isRuleSetToggle = exports.ruleSetToggle = exports.getRuleSetToggleSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type SeedsVec = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getSeedsVecSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export type SetCollectionSizeArgs = {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getSetCollectionSizeArgsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export declare enum TokenDelegateRole {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getTokenDelegateRoleSerializer = exports.TokenDelegateRole = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export declare enum TokenStandard {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getTokenStandardSerializer = exports.TokenStandard = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export declare enum TokenState {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getTokenStateSerializer = exports.TokenState = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Option, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { AuthorizationData, AuthorizationDataArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isTransferArgs = exports.transferArgs = exports.getTransferArgsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Option, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { AuthorizationData, AuthorizationDataArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isUnlockArgs = exports.unlockArgs = exports.getUnlockArgsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Option, PublicKey, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { AuthorizationData, AuthorizationDataArgs, CollectionDetailsToggle, CollectionDetailsToggleArgs, CollectionToggle, CollectionToggleArgs, Creator, CreatorArgs, RuleSetToggle, RuleSetToggleArgs, UsesToggle, UsesToggleArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isUpdateArgs = exports.updateArgs = exports.getUpdateArgsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Option, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { AuthorizationData, AuthorizationDataArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isUseArgs = exports.useArgs = exports.getUseArgsSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export declare enum UseMethod {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getUseMethodSerializer = exports.UseMethod = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { UseMethod, UseMethodArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getUsesSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, GetDataEnumKind, GetDataEnumKindContent, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ import { Uses, UsesArgs } from '.';

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.isUsesToggle = exports.usesToggle = exports.getUsesToggleSerializer = void 0;

@@ -0,1 +1,8 @@

/**
* 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, Serializer } from '@metaplex-foundation/umi';

@@ -2,0 +9,0 @@ export declare enum VerificationArgs {

"use strict";
/**
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +10,0 @@ exports.getVerificationArgsSerializer = exports.VerificationArgs = void 0;

@@ -6,6 +6,9 @@ import { Option, TransactionBuilder } from '@metaplex-foundation/umi';

export type CreateV1InstructionInput = Omit<Parameters<typeof baseCreateV1>[1], 'tokenStandard' | 'creators'> & {
/** @defaultValue `false` */
isCollection?: boolean;
/** @defaultValue `TokenStandard.NonFungible` */
tokenStandard?: TokenStandard;
/** @defaultValue Defaults to using the update authority as the only creator with 100% shares. */
creators?: Option<Array<Creator>>;
};
export declare const createV1: (context: Parameters<typeof baseCreateV1>[0], input: CreateV1InstructionInput) => TransactionBuilder;

@@ -36,5 +36,5 @@ "use strict";

ix.bytesCreatedOnChain =
82 +
679 +
2 * umi_1.ACCOUNT_HEADER_SIZE;
82 + // Mint account.
679 + // Metadata account.
2 * umi_1.ACCOUNT_HEADER_SIZE; // 2 account headers.
}

@@ -41,0 +41,0 @@ return (0, umi_1.transactionBuilder)([ix]);

@@ -6,2 +6,3 @@ import { PublicKey, TransactionBuilder } from '@metaplex-foundation/umi';

export type MintV1InstructionInput = Omit<Parameters<typeof baseMintV1>[1], 'token'> & {
/** @defaultValue Defaults to the associated token of the `tokenOwner` */
token?: PublicKey;

@@ -8,0 +9,0 @@ tokenStandard: TokenStandard;

{
"name": "@metaplex-foundation/mpl-token-metadata",
"version": "3.0.0-alpha.15",
"version": "3.0.0-alpha.16",
"description": "JavaScript client for Token Metadata",

@@ -22,8 +22,8 @@ "main": "dist/src/index.js",

"dependencies": {
"@metaplex-foundation/mpl-essentials": "^0.5.4"
"@metaplex-foundation/mpl-essentials": "^0.5.5"
},
"devDependencies": {
"@ava/typescript": "^3.0.1",
"@metaplex-foundation/umi": "^0.7.0",
"@metaplex-foundation/umi-bundle-tests": "^0.7.0",
"@metaplex-foundation/umi": "^0.7.2",
"@metaplex-foundation/umi-bundle-tests": "^0.7.2",
"@solana/web3.js": "^1.73.0",

@@ -30,0 +30,0 @@ "@typescript-eslint/eslint-plugin": "^5.0.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc