@metaplex-foundation/mpl-candy-machine
Advanced tools
Comparing version 6.0.0-alpha.10 to 6.0.0-alpha.11
@@ -37,1 +37,3 @@ /** | ||
}): Pda; | ||
export declare function fetchAllowListProofFromSeeds(context: Pick<Context, 'eddsa' | 'programs' | 'rpc' | 'serializer'>, seeds: Parameters<typeof findAllowListProofPda>[1], options?: RpcGetAccountOptions): Promise<AllowListProof>; | ||
export declare function safeFetchAllowListProofFromSeeds(context: Pick<Context, 'eddsa' | 'programs' | 'rpc' | 'serializer'>, seeds: Parameters<typeof findAllowListProofPda>[1], options?: RpcGetAccountOptions): Promise<AllowListProof | null>; |
@@ -10,3 +10,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.findAllowListProofPda = exports.getAllowListProofSize = exports.getAllowListProofGpaBuilder = exports.safeFetchAllAllowListProof = exports.fetchAllAllowListProof = exports.safeFetchAllowListProof = exports.fetchAllowListProof = exports.deserializeAllowListProof = exports.getAllowListProofAccountDataSerializer = void 0; | ||
exports.safeFetchAllowListProofFromSeeds = exports.fetchAllowListProofFromSeeds = exports.findAllowListProofPda = exports.getAllowListProofSize = exports.getAllowListProofGpaBuilder = exports.safeFetchAllAllowListProof = exports.fetchAllAllowListProof = exports.safeFetchAllowListProof = exports.fetchAllowListProof = exports.deserializeAllowListProof = exports.getAllowListProofAccountDataSerializer = void 0; | ||
const umi_1 = require("@metaplex-foundation/umi"); | ||
@@ -77,2 +77,10 @@ function getAllowListProofAccountDataSerializer(context) { | ||
exports.findAllowListProofPda = findAllowListProofPda; | ||
async function fetchAllowListProofFromSeeds(context, seeds, options) { | ||
return fetchAllowListProof(context, findAllowListProofPda(context, seeds), options); | ||
} | ||
exports.fetchAllowListProofFromSeeds = fetchAllowListProofFromSeeds; | ||
async function safeFetchAllowListProofFromSeeds(context, seeds, options) { | ||
return safeFetchAllowListProof(context, findAllowListProofPda(context, seeds), options); | ||
} | ||
exports.safeFetchAllowListProofFromSeeds = safeFetchAllowListProofFromSeeds; | ||
//# sourceMappingURL=allowListProof.js.map |
@@ -38,1 +38,3 @@ /** | ||
}): Pda; | ||
export declare function fetchCandyGuardFromSeeds(context: Pick<Context, 'eddsa' | 'programs' | 'rpc' | 'serializer'>, seeds: Parameters<typeof findCandyGuardPda>[1], options?: RpcGetAccountOptions): Promise<CandyGuard>; | ||
export declare function safeFetchCandyGuardFromSeeds(context: Pick<Context, 'eddsa' | 'programs' | 'rpc' | 'serializer'>, seeds: Parameters<typeof findCandyGuardPda>[1], options?: RpcGetAccountOptions): Promise<CandyGuard | null>; |
@@ -10,3 +10,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.findCandyGuardPda = exports.getCandyGuardSize = exports.getCandyGuardGpaBuilder = exports.safeFetchAllCandyGuard = exports.fetchAllCandyGuard = exports.safeFetchCandyGuard = exports.fetchCandyGuard = exports.deserializeCandyGuard = exports.getCandyGuardAccountDataSerializer = void 0; | ||
exports.safeFetchCandyGuardFromSeeds = exports.fetchCandyGuardFromSeeds = exports.findCandyGuardPda = exports.getCandyGuardSize = exports.getCandyGuardGpaBuilder = exports.safeFetchAllCandyGuard = exports.fetchAllCandyGuard = exports.safeFetchCandyGuard = exports.fetchCandyGuard = exports.deserializeCandyGuard = exports.getCandyGuardAccountDataSerializer = void 0; | ||
const umi_1 = require("@metaplex-foundation/umi"); | ||
@@ -85,2 +85,10 @@ function getCandyGuardAccountDataSerializer(context) { | ||
exports.findCandyGuardPda = findCandyGuardPda; | ||
async function fetchCandyGuardFromSeeds(context, seeds, options) { | ||
return fetchCandyGuard(context, findCandyGuardPda(context, seeds), options); | ||
} | ||
exports.fetchCandyGuardFromSeeds = fetchCandyGuardFromSeeds; | ||
async function safeFetchCandyGuardFromSeeds(context, seeds, options) { | ||
return safeFetchCandyGuard(context, findCandyGuardPda(context, seeds), options); | ||
} | ||
exports.safeFetchCandyGuardFromSeeds = safeFetchCandyGuardFromSeeds; | ||
//# sourceMappingURL=candyGuard.js.map |
@@ -88,1 +88,3 @@ /** | ||
}): Pda; | ||
export declare function fetchFreezeEscrowFromSeeds(context: Pick<Context, 'eddsa' | 'programs' | 'rpc' | 'serializer'>, seeds: Parameters<typeof findFreezeEscrowPda>[1], options?: RpcGetAccountOptions): Promise<FreezeEscrow>; | ||
export declare function safeFetchFreezeEscrowFromSeeds(context: Pick<Context, 'eddsa' | 'programs' | 'rpc' | 'serializer'>, seeds: Parameters<typeof findFreezeEscrowPda>[1], options?: RpcGetAccountOptions): Promise<FreezeEscrow | null>; |
@@ -10,3 +10,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.findFreezeEscrowPda = exports.getFreezeEscrowGpaBuilder = exports.safeFetchAllFreezeEscrow = exports.fetchAllFreezeEscrow = exports.safeFetchFreezeEscrow = exports.fetchFreezeEscrow = exports.deserializeFreezeEscrow = exports.getFreezeEscrowAccountDataSerializer = void 0; | ||
exports.safeFetchFreezeEscrowFromSeeds = exports.fetchFreezeEscrowFromSeeds = exports.findFreezeEscrowPda = exports.getFreezeEscrowGpaBuilder = exports.safeFetchAllFreezeEscrow = exports.fetchAllFreezeEscrow = exports.safeFetchFreezeEscrow = exports.fetchFreezeEscrow = exports.deserializeFreezeEscrow = exports.getFreezeEscrowAccountDataSerializer = void 0; | ||
const umi_1 = require("@metaplex-foundation/umi"); | ||
@@ -91,2 +91,10 @@ function getFreezeEscrowAccountDataSerializer(context) { | ||
exports.findFreezeEscrowPda = findFreezeEscrowPda; | ||
async function fetchFreezeEscrowFromSeeds(context, seeds, options) { | ||
return fetchFreezeEscrow(context, findFreezeEscrowPda(context, seeds), options); | ||
} | ||
exports.fetchFreezeEscrowFromSeeds = fetchFreezeEscrowFromSeeds; | ||
async function safeFetchFreezeEscrowFromSeeds(context, seeds, options) { | ||
return safeFetchFreezeEscrow(context, findFreezeEscrowPda(context, seeds), options); | ||
} | ||
exports.safeFetchFreezeEscrowFromSeeds = safeFetchFreezeEscrowFromSeeds; | ||
//# sourceMappingURL=freezeEscrow.js.map |
@@ -35,1 +35,3 @@ /** | ||
}): Pda; | ||
export declare function fetchMintCounterFromSeeds(context: Pick<Context, 'eddsa' | 'programs' | 'rpc' | 'serializer'>, seeds: Parameters<typeof findMintCounterPda>[1], options?: RpcGetAccountOptions): Promise<MintCounter>; | ||
export declare function safeFetchMintCounterFromSeeds(context: Pick<Context, 'eddsa' | 'programs' | 'rpc' | 'serializer'>, seeds: Parameters<typeof findMintCounterPda>[1], options?: RpcGetAccountOptions): Promise<MintCounter | null>; |
@@ -10,3 +10,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.findMintCounterPda = exports.getMintCounterSize = exports.getMintCounterGpaBuilder = exports.safeFetchAllMintCounter = exports.fetchAllMintCounter = exports.safeFetchMintCounter = exports.fetchMintCounter = exports.deserializeMintCounter = exports.getMintCounterAccountDataSerializer = void 0; | ||
exports.safeFetchMintCounterFromSeeds = exports.fetchMintCounterFromSeeds = exports.findMintCounterPda = exports.getMintCounterSize = exports.getMintCounterGpaBuilder = exports.safeFetchAllMintCounter = exports.fetchAllMintCounter = exports.safeFetchMintCounter = exports.fetchMintCounter = exports.deserializeMintCounter = exports.getMintCounterAccountDataSerializer = void 0; | ||
const umi_1 = require("@metaplex-foundation/umi"); | ||
@@ -77,2 +77,10 @@ function getMintCounterAccountDataSerializer(context) { | ||
exports.findMintCounterPda = findMintCounterPda; | ||
async function fetchMintCounterFromSeeds(context, seeds, options) { | ||
return fetchMintCounter(context, findMintCounterPda(context, seeds), options); | ||
} | ||
exports.fetchMintCounterFromSeeds = fetchMintCounterFromSeeds; | ||
async function safeFetchMintCounterFromSeeds(context, seeds, options) { | ||
return safeFetchMintCounter(context, findMintCounterPda(context, seeds), options); | ||
} | ||
exports.safeFetchMintCounterFromSeeds = safeFetchMintCounterFromSeeds; | ||
//# sourceMappingURL=mintCounter.js.map |
@@ -9,3 +9,3 @@ /** | ||
import { Program, ProgramError } from '@metaplex-foundation/umi'; | ||
/** InvalidAccountSize: 'Could not save guard to account' */ | ||
/** InvalidAccountSize: Could not save guard to account */ | ||
export declare class CgInvalidAccountSizeError extends ProgramError { | ||
@@ -16,3 +16,3 @@ readonly name: string; | ||
} | ||
/** DeserializationError: 'Could not deserialize guard' */ | ||
/** DeserializationError: Could not deserialize guard */ | ||
export declare class CgDeserializationErrorError extends ProgramError { | ||
@@ -23,3 +23,3 @@ readonly name: string; | ||
} | ||
/** PublicKeyMismatch: 'Public key mismatch' */ | ||
/** PublicKeyMismatch: Public key mismatch */ | ||
export declare class CgPublicKeyMismatchError extends ProgramError { | ||
@@ -30,3 +30,3 @@ readonly name: string; | ||
} | ||
/** DataIncrementLimitExceeded: 'Exceeded account increase limit' */ | ||
/** DataIncrementLimitExceeded: Exceeded account increase limit */ | ||
export declare class CgDataIncrementLimitExceededError extends ProgramError { | ||
@@ -37,3 +37,3 @@ readonly name: string; | ||
} | ||
/** IncorrectOwner: 'Account does not have correct owner' */ | ||
/** IncorrectOwner: Account does not have correct owner */ | ||
export declare class CgIncorrectOwnerError extends ProgramError { | ||
@@ -44,3 +44,3 @@ readonly name: string; | ||
} | ||
/** Uninitialized: 'Account is not initialized' */ | ||
/** Uninitialized: Account is not initialized */ | ||
export declare class CgUninitializedError extends ProgramError { | ||
@@ -51,3 +51,3 @@ readonly name: string; | ||
} | ||
/** MissingRemainingAccount: 'Missing expected remaining account' */ | ||
/** MissingRemainingAccount: Missing expected remaining account */ | ||
export declare class CgMissingRemainingAccountError extends ProgramError { | ||
@@ -58,3 +58,3 @@ readonly name: string; | ||
} | ||
/** NumericalOverflowError: 'Numerical overflow error' */ | ||
/** NumericalOverflowError: Numerical overflow error */ | ||
export declare class CgNumericalOverflowErrorError extends ProgramError { | ||
@@ -65,3 +65,3 @@ readonly name: string; | ||
} | ||
/** RequiredGroupLabelNotFound: 'Missing required group label' */ | ||
/** RequiredGroupLabelNotFound: Missing required group label */ | ||
export declare class CgRequiredGroupLabelNotFoundError extends ProgramError { | ||
@@ -72,3 +72,3 @@ readonly name: string; | ||
} | ||
/** GroupNotFound: 'Group not found' */ | ||
/** GroupNotFound: Group not found */ | ||
export declare class CgGroupNotFoundError extends ProgramError { | ||
@@ -79,3 +79,3 @@ readonly name: string; | ||
} | ||
/** ExceededLength: 'Value exceeded maximum length' */ | ||
/** ExceededLength: Value exceeded maximum length */ | ||
export declare class CgExceededLengthError extends ProgramError { | ||
@@ -86,3 +86,3 @@ readonly name: string; | ||
} | ||
/** CandyMachineEmpty: 'Candy machine is empty' */ | ||
/** CandyMachineEmpty: Candy machine is empty */ | ||
export declare class CgCandyMachineEmptyError extends ProgramError { | ||
@@ -93,3 +93,3 @@ readonly name: string; | ||
} | ||
/** InstructionNotFound: 'No instruction was found' */ | ||
/** InstructionNotFound: No instruction was found */ | ||
export declare class CgInstructionNotFoundError extends ProgramError { | ||
@@ -100,3 +100,3 @@ readonly name: string; | ||
} | ||
/** CollectionKeyMismatch: 'Collection public key mismatch' */ | ||
/** CollectionKeyMismatch: Collection public key mismatch */ | ||
export declare class CgCollectionKeyMismatchError extends ProgramError { | ||
@@ -107,3 +107,3 @@ readonly name: string; | ||
} | ||
/** MissingCollectionAccounts: 'Missing collection accounts' */ | ||
/** MissingCollectionAccounts: Missing collection accounts */ | ||
export declare class CgMissingCollectionAccountsError extends ProgramError { | ||
@@ -114,3 +114,3 @@ readonly name: string; | ||
} | ||
/** CollectionUpdateAuthorityKeyMismatch: 'Collection update authority public key mismatch' */ | ||
/** CollectionUpdateAuthorityKeyMismatch: Collection update authority public key mismatch */ | ||
export declare class CgCollectionUpdateAuthorityKeyMismatchError extends ProgramError { | ||
@@ -121,3 +121,3 @@ readonly name: string; | ||
} | ||
/** MintNotLastTransaction: 'Mint must be the last instructions of the transaction' */ | ||
/** MintNotLastTransaction: Mint must be the last instructions of the transaction */ | ||
export declare class CgMintNotLastTransactionError extends ProgramError { | ||
@@ -128,3 +128,3 @@ readonly name: string; | ||
} | ||
/** MintNotLive: 'Mint is not live' */ | ||
/** MintNotLive: Mint is not live */ | ||
export declare class CgMintNotLiveError extends ProgramError { | ||
@@ -135,3 +135,3 @@ readonly name: string; | ||
} | ||
/** NotEnoughSOL: 'Not enough SOL to pay for the mint' */ | ||
/** NotEnoughSOL: Not enough SOL to pay for the mint */ | ||
export declare class CgNotEnoughSOLError extends ProgramError { | ||
@@ -142,3 +142,3 @@ readonly name: string; | ||
} | ||
/** TokenBurnFailed: 'Token burn failed' */ | ||
/** TokenBurnFailed: Token burn failed */ | ||
export declare class CgTokenBurnFailedError extends ProgramError { | ||
@@ -149,3 +149,3 @@ readonly name: string; | ||
} | ||
/** NotEnoughTokens: 'Not enough tokens on the account' */ | ||
/** NotEnoughTokens: Not enough tokens on the account */ | ||
export declare class CgNotEnoughTokensError extends ProgramError { | ||
@@ -156,3 +156,3 @@ readonly name: string; | ||
} | ||
/** TokenTransferFailed: 'Token transfer failed' */ | ||
/** TokenTransferFailed: Token transfer failed */ | ||
export declare class CgTokenTransferFailedError extends ProgramError { | ||
@@ -163,3 +163,3 @@ readonly name: string; | ||
} | ||
/** MissingRequiredSignature: 'A signature was required but not found' */ | ||
/** MissingRequiredSignature: A signature was required but not found */ | ||
export declare class CgMissingRequiredSignatureError extends ProgramError { | ||
@@ -170,3 +170,3 @@ readonly name: string; | ||
} | ||
/** GatewayTokenInvalid: 'Gateway token is not valid' */ | ||
/** GatewayTokenInvalid: Gateway token is not valid */ | ||
export declare class CgGatewayTokenInvalidError extends ProgramError { | ||
@@ -177,3 +177,3 @@ readonly name: string; | ||
} | ||
/** AfterEndDate: 'Current time is after the set end date' */ | ||
/** AfterEndDate: Current time is after the set end date */ | ||
export declare class CgAfterEndDateError extends ProgramError { | ||
@@ -184,3 +184,3 @@ readonly name: string; | ||
} | ||
/** InvalidMintTime: 'Current time is not within the allowed mint time' */ | ||
/** InvalidMintTime: Current time is not within the allowed mint time */ | ||
export declare class CgInvalidMintTimeError extends ProgramError { | ||
@@ -191,3 +191,3 @@ readonly name: string; | ||
} | ||
/** AddressNotFoundInAllowedList: 'Address not found on the allowed list' */ | ||
/** AddressNotFoundInAllowedList: Address not found on the allowed list */ | ||
export declare class CgAddressNotFoundInAllowedListError extends ProgramError { | ||
@@ -198,3 +198,3 @@ readonly name: string; | ||
} | ||
/** MissingAllowedListProof: 'Missing allowed list proof' */ | ||
/** MissingAllowedListProof: Missing allowed list proof */ | ||
export declare class CgMissingAllowedListProofError extends ProgramError { | ||
@@ -205,3 +205,3 @@ readonly name: string; | ||
} | ||
/** AllowedListNotEnabled: 'Allow list guard is not enabled' */ | ||
/** AllowedListNotEnabled: Allow list guard is not enabled */ | ||
export declare class CgAllowedListNotEnabledError extends ProgramError { | ||
@@ -212,3 +212,3 @@ readonly name: string; | ||
} | ||
/** AllowedMintLimitReached: 'The maximum number of allowed mints was reached' */ | ||
/** AllowedMintLimitReached: The maximum number of allowed mints was reached */ | ||
export declare class CgAllowedMintLimitReachedError extends ProgramError { | ||
@@ -219,3 +219,3 @@ readonly name: string; | ||
} | ||
/** InvalidNftCollection: 'Invalid NFT collection' */ | ||
/** InvalidNftCollection: Invalid NFT collection */ | ||
export declare class CgInvalidNftCollectionError extends ProgramError { | ||
@@ -226,3 +226,3 @@ readonly name: string; | ||
} | ||
/** MissingNft: 'Missing NFT on the account' */ | ||
/** MissingNft: Missing NFT on the account */ | ||
export declare class CgMissingNftError extends ProgramError { | ||
@@ -233,3 +233,3 @@ readonly name: string; | ||
} | ||
/** MaximumRedeemedAmount: 'Current redemeed items is at the set maximum amount' */ | ||
/** MaximumRedeemedAmount: Current redemeed items is at the set maximum amount */ | ||
export declare class CgMaximumRedeemedAmountError extends ProgramError { | ||
@@ -240,3 +240,3 @@ readonly name: string; | ||
} | ||
/** AddressNotAuthorized: 'Address not authorized' */ | ||
/** AddressNotAuthorized: Address not authorized */ | ||
export declare class CgAddressNotAuthorizedError extends ProgramError { | ||
@@ -247,3 +247,3 @@ readonly name: string; | ||
} | ||
/** MissingFreezeInstruction: 'Missing freeze instruction data' */ | ||
/** MissingFreezeInstruction: Missing freeze instruction data */ | ||
export declare class CgMissingFreezeInstructionError extends ProgramError { | ||
@@ -254,3 +254,3 @@ readonly name: string; | ||
} | ||
/** FreezeGuardNotEnabled: 'Freeze guard must be enabled' */ | ||
/** FreezeGuardNotEnabled: Freeze guard must be enabled */ | ||
export declare class CgFreezeGuardNotEnabledError extends ProgramError { | ||
@@ -261,3 +261,3 @@ readonly name: string; | ||
} | ||
/** FreezeNotInitialized: 'Freeze must be initialized' */ | ||
/** FreezeNotInitialized: Freeze must be initialized */ | ||
export declare class CgFreezeNotInitializedError extends ProgramError { | ||
@@ -268,3 +268,3 @@ readonly name: string; | ||
} | ||
/** MissingFreezePeriod: 'Missing freeze period' */ | ||
/** MissingFreezePeriod: Missing freeze period */ | ||
export declare class CgMissingFreezePeriodError extends ProgramError { | ||
@@ -275,3 +275,3 @@ readonly name: string; | ||
} | ||
/** FreezeEscrowAlreadyExists: 'The freeze escrow account already exists' */ | ||
/** FreezeEscrowAlreadyExists: The freeze escrow account already exists */ | ||
export declare class CgFreezeEscrowAlreadyExistsError extends ProgramError { | ||
@@ -282,3 +282,3 @@ readonly name: string; | ||
} | ||
/** ExceededMaximumFreezePeriod: 'Maximum freeze period exceeded' */ | ||
/** ExceededMaximumFreezePeriod: Maximum freeze period exceeded */ | ||
export declare class CgExceededMaximumFreezePeriodError extends ProgramError { | ||
@@ -289,3 +289,3 @@ readonly name: string; | ||
} | ||
/** ThawNotEnabled: 'Thaw is not enabled' */ | ||
/** ThawNotEnabled: Thaw is not enabled */ | ||
export declare class CgThawNotEnabledError extends ProgramError { | ||
@@ -296,3 +296,3 @@ readonly name: string; | ||
} | ||
/** UnlockNotEnabled: 'Unlock is not enabled (not all NFTs are thawed)' */ | ||
/** UnlockNotEnabled: Unlock is not enabled (not all NFTs are thawed) */ | ||
export declare class CgUnlockNotEnabledError extends ProgramError { | ||
@@ -303,3 +303,3 @@ readonly name: string; | ||
} | ||
/** DuplicatedGroupLabel: 'Duplicated group label' */ | ||
/** DuplicatedGroupLabel: Duplicated group label */ | ||
export declare class CgDuplicatedGroupLabelError extends ProgramError { | ||
@@ -310,3 +310,3 @@ readonly name: string; | ||
} | ||
/** DuplicatedMintLimitId: 'Duplicated mint limit id' */ | ||
/** DuplicatedMintLimitId: Duplicated mint limit id */ | ||
export declare class CgDuplicatedMintLimitIdError extends ProgramError { | ||
@@ -317,3 +317,3 @@ readonly name: string; | ||
} | ||
/** UnauthorizedProgramFound: 'An unauthorized program was found in the transaction' */ | ||
/** UnauthorizedProgramFound: An unauthorized program was found in the transaction */ | ||
export declare class CgUnauthorizedProgramFoundError extends ProgramError { | ||
@@ -324,3 +324,3 @@ readonly name: string; | ||
} | ||
/** ExceededProgramListSize: 'Exceeded the maximum number of programs in the additional list' */ | ||
/** ExceededProgramListSize: Exceeded the maximum number of programs in the additional list */ | ||
export declare class CgExceededProgramListSizeError extends ProgramError { | ||
@@ -331,3 +331,3 @@ readonly name: string; | ||
} | ||
/** AllocationNotInitialized: 'Allocation PDA not initialized' */ | ||
/** AllocationNotInitialized: Allocation PDA not initialized */ | ||
export declare class CgAllocationNotInitializedError extends ProgramError { | ||
@@ -338,3 +338,3 @@ readonly name: string; | ||
} | ||
/** AllocationLimitReached: 'Allocation limit was reached' */ | ||
/** AllocationLimitReached: Allocation limit was reached */ | ||
export declare class CgAllocationLimitReachedError extends ProgramError { | ||
@@ -345,3 +345,3 @@ readonly name: string; | ||
} | ||
/** AllocationGuardNotEnabled: 'Allocation guard must be enabled' */ | ||
/** AllocationGuardNotEnabled: Allocation guard must be enabled */ | ||
export declare class CgAllocationGuardNotEnabledError extends ProgramError { | ||
@@ -352,3 +352,3 @@ readonly name: string; | ||
} | ||
/** InvalidMintAuthority: 'Candy machine has an invalid mint authority' */ | ||
/** InvalidMintAuthority: Candy machine has an invalid mint authority */ | ||
export declare class CgInvalidMintAuthorityError extends ProgramError { | ||
@@ -359,3 +359,3 @@ readonly name: string; | ||
} | ||
/** InstructionBuilderFailed: 'Instruction could not be created' */ | ||
/** InstructionBuilderFailed: Instruction could not be created */ | ||
export declare class CgInstructionBuilderFailedError extends ProgramError { | ||
@@ -366,3 +366,3 @@ readonly name: string; | ||
} | ||
/** InvalidAccountVersion: 'Invalid account version' */ | ||
/** InvalidAccountVersion: Invalid account version */ | ||
export declare class CgInvalidAccountVersionError extends ProgramError { | ||
@@ -369,0 +369,0 @@ readonly name: string; |
@@ -15,3 +15,3 @@ "use strict"; | ||
const nameToErrorMap = new Map(); | ||
/** InvalidAccountSize: 'Could not save guard to account' */ | ||
/** InvalidAccountSize: Could not save guard to account */ | ||
class CgInvalidAccountSizeError extends umi_1.ProgramError { | ||
@@ -27,3 +27,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('InvalidAccountSize', CgInvalidAccountSizeError); | ||
/** DeserializationError: 'Could not deserialize guard' */ | ||
/** DeserializationError: Could not deserialize guard */ | ||
class CgDeserializationErrorError extends umi_1.ProgramError { | ||
@@ -39,3 +39,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('DeserializationError', CgDeserializationErrorError); | ||
/** PublicKeyMismatch: 'Public key mismatch' */ | ||
/** PublicKeyMismatch: Public key mismatch */ | ||
class CgPublicKeyMismatchError extends umi_1.ProgramError { | ||
@@ -51,3 +51,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('PublicKeyMismatch', CgPublicKeyMismatchError); | ||
/** DataIncrementLimitExceeded: 'Exceeded account increase limit' */ | ||
/** DataIncrementLimitExceeded: Exceeded account increase limit */ | ||
class CgDataIncrementLimitExceededError extends umi_1.ProgramError { | ||
@@ -63,3 +63,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('DataIncrementLimitExceeded', CgDataIncrementLimitExceededError); | ||
/** IncorrectOwner: 'Account does not have correct owner' */ | ||
/** IncorrectOwner: Account does not have correct owner */ | ||
class CgIncorrectOwnerError extends umi_1.ProgramError { | ||
@@ -75,3 +75,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('IncorrectOwner', CgIncorrectOwnerError); | ||
/** Uninitialized: 'Account is not initialized' */ | ||
/** Uninitialized: Account is not initialized */ | ||
class CgUninitializedError extends umi_1.ProgramError { | ||
@@ -87,3 +87,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('Uninitialized', CgUninitializedError); | ||
/** MissingRemainingAccount: 'Missing expected remaining account' */ | ||
/** MissingRemainingAccount: Missing expected remaining account */ | ||
class CgMissingRemainingAccountError extends umi_1.ProgramError { | ||
@@ -99,3 +99,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MissingRemainingAccount', CgMissingRemainingAccountError); | ||
/** NumericalOverflowError: 'Numerical overflow error' */ | ||
/** NumericalOverflowError: Numerical overflow error */ | ||
class CgNumericalOverflowErrorError extends umi_1.ProgramError { | ||
@@ -111,3 +111,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('NumericalOverflowError', CgNumericalOverflowErrorError); | ||
/** RequiredGroupLabelNotFound: 'Missing required group label' */ | ||
/** RequiredGroupLabelNotFound: Missing required group label */ | ||
class CgRequiredGroupLabelNotFoundError extends umi_1.ProgramError { | ||
@@ -123,3 +123,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('RequiredGroupLabelNotFound', CgRequiredGroupLabelNotFoundError); | ||
/** GroupNotFound: 'Group not found' */ | ||
/** GroupNotFound: Group not found */ | ||
class CgGroupNotFoundError extends umi_1.ProgramError { | ||
@@ -135,3 +135,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('GroupNotFound', CgGroupNotFoundError); | ||
/** ExceededLength: 'Value exceeded maximum length' */ | ||
/** ExceededLength: Value exceeded maximum length */ | ||
class CgExceededLengthError extends umi_1.ProgramError { | ||
@@ -147,3 +147,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('ExceededLength', CgExceededLengthError); | ||
/** CandyMachineEmpty: 'Candy machine is empty' */ | ||
/** CandyMachineEmpty: Candy machine is empty */ | ||
class CgCandyMachineEmptyError extends umi_1.ProgramError { | ||
@@ -159,3 +159,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('CandyMachineEmpty', CgCandyMachineEmptyError); | ||
/** InstructionNotFound: 'No instruction was found' */ | ||
/** InstructionNotFound: No instruction was found */ | ||
class CgInstructionNotFoundError extends umi_1.ProgramError { | ||
@@ -171,3 +171,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('InstructionNotFound', CgInstructionNotFoundError); | ||
/** CollectionKeyMismatch: 'Collection public key mismatch' */ | ||
/** CollectionKeyMismatch: Collection public key mismatch */ | ||
class CgCollectionKeyMismatchError extends umi_1.ProgramError { | ||
@@ -183,3 +183,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('CollectionKeyMismatch', CgCollectionKeyMismatchError); | ||
/** MissingCollectionAccounts: 'Missing collection accounts' */ | ||
/** MissingCollectionAccounts: Missing collection accounts */ | ||
class CgMissingCollectionAccountsError extends umi_1.ProgramError { | ||
@@ -195,3 +195,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MissingCollectionAccounts', CgMissingCollectionAccountsError); | ||
/** CollectionUpdateAuthorityKeyMismatch: 'Collection update authority public key mismatch' */ | ||
/** CollectionUpdateAuthorityKeyMismatch: Collection update authority public key mismatch */ | ||
class CgCollectionUpdateAuthorityKeyMismatchError extends umi_1.ProgramError { | ||
@@ -207,3 +207,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('CollectionUpdateAuthorityKeyMismatch', CgCollectionUpdateAuthorityKeyMismatchError); | ||
/** MintNotLastTransaction: 'Mint must be the last instructions of the transaction' */ | ||
/** MintNotLastTransaction: Mint must be the last instructions of the transaction */ | ||
class CgMintNotLastTransactionError extends umi_1.ProgramError { | ||
@@ -219,3 +219,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MintNotLastTransaction', CgMintNotLastTransactionError); | ||
/** MintNotLive: 'Mint is not live' */ | ||
/** MintNotLive: Mint is not live */ | ||
class CgMintNotLiveError extends umi_1.ProgramError { | ||
@@ -231,3 +231,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MintNotLive', CgMintNotLiveError); | ||
/** NotEnoughSOL: 'Not enough SOL to pay for the mint' */ | ||
/** NotEnoughSOL: Not enough SOL to pay for the mint */ | ||
class CgNotEnoughSOLError extends umi_1.ProgramError { | ||
@@ -243,3 +243,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('NotEnoughSOL', CgNotEnoughSOLError); | ||
/** TokenBurnFailed: 'Token burn failed' */ | ||
/** TokenBurnFailed: Token burn failed */ | ||
class CgTokenBurnFailedError extends umi_1.ProgramError { | ||
@@ -255,3 +255,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('TokenBurnFailed', CgTokenBurnFailedError); | ||
/** NotEnoughTokens: 'Not enough tokens on the account' */ | ||
/** NotEnoughTokens: Not enough tokens on the account */ | ||
class CgNotEnoughTokensError extends umi_1.ProgramError { | ||
@@ -267,3 +267,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('NotEnoughTokens', CgNotEnoughTokensError); | ||
/** TokenTransferFailed: 'Token transfer failed' */ | ||
/** TokenTransferFailed: Token transfer failed */ | ||
class CgTokenTransferFailedError extends umi_1.ProgramError { | ||
@@ -279,3 +279,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('TokenTransferFailed', CgTokenTransferFailedError); | ||
/** MissingRequiredSignature: 'A signature was required but not found' */ | ||
/** MissingRequiredSignature: A signature was required but not found */ | ||
class CgMissingRequiredSignatureError extends umi_1.ProgramError { | ||
@@ -291,3 +291,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MissingRequiredSignature', CgMissingRequiredSignatureError); | ||
/** GatewayTokenInvalid: 'Gateway token is not valid' */ | ||
/** GatewayTokenInvalid: Gateway token is not valid */ | ||
class CgGatewayTokenInvalidError extends umi_1.ProgramError { | ||
@@ -303,3 +303,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('GatewayTokenInvalid', CgGatewayTokenInvalidError); | ||
/** AfterEndDate: 'Current time is after the set end date' */ | ||
/** AfterEndDate: Current time is after the set end date */ | ||
class CgAfterEndDateError extends umi_1.ProgramError { | ||
@@ -315,3 +315,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('AfterEndDate', CgAfterEndDateError); | ||
/** InvalidMintTime: 'Current time is not within the allowed mint time' */ | ||
/** InvalidMintTime: Current time is not within the allowed mint time */ | ||
class CgInvalidMintTimeError extends umi_1.ProgramError { | ||
@@ -327,3 +327,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('InvalidMintTime', CgInvalidMintTimeError); | ||
/** AddressNotFoundInAllowedList: 'Address not found on the allowed list' */ | ||
/** AddressNotFoundInAllowedList: Address not found on the allowed list */ | ||
class CgAddressNotFoundInAllowedListError extends umi_1.ProgramError { | ||
@@ -339,3 +339,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('AddressNotFoundInAllowedList', CgAddressNotFoundInAllowedListError); | ||
/** MissingAllowedListProof: 'Missing allowed list proof' */ | ||
/** MissingAllowedListProof: Missing allowed list proof */ | ||
class CgMissingAllowedListProofError extends umi_1.ProgramError { | ||
@@ -351,3 +351,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MissingAllowedListProof', CgMissingAllowedListProofError); | ||
/** AllowedListNotEnabled: 'Allow list guard is not enabled' */ | ||
/** AllowedListNotEnabled: Allow list guard is not enabled */ | ||
class CgAllowedListNotEnabledError extends umi_1.ProgramError { | ||
@@ -363,3 +363,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('AllowedListNotEnabled', CgAllowedListNotEnabledError); | ||
/** AllowedMintLimitReached: 'The maximum number of allowed mints was reached' */ | ||
/** AllowedMintLimitReached: The maximum number of allowed mints was reached */ | ||
class CgAllowedMintLimitReachedError extends umi_1.ProgramError { | ||
@@ -375,3 +375,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('AllowedMintLimitReached', CgAllowedMintLimitReachedError); | ||
/** InvalidNftCollection: 'Invalid NFT collection' */ | ||
/** InvalidNftCollection: Invalid NFT collection */ | ||
class CgInvalidNftCollectionError extends umi_1.ProgramError { | ||
@@ -387,3 +387,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('InvalidNftCollection', CgInvalidNftCollectionError); | ||
/** MissingNft: 'Missing NFT on the account' */ | ||
/** MissingNft: Missing NFT on the account */ | ||
class CgMissingNftError extends umi_1.ProgramError { | ||
@@ -399,3 +399,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MissingNft', CgMissingNftError); | ||
/** MaximumRedeemedAmount: 'Current redemeed items is at the set maximum amount' */ | ||
/** MaximumRedeemedAmount: Current redemeed items is at the set maximum amount */ | ||
class CgMaximumRedeemedAmountError extends umi_1.ProgramError { | ||
@@ -411,3 +411,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MaximumRedeemedAmount', CgMaximumRedeemedAmountError); | ||
/** AddressNotAuthorized: 'Address not authorized' */ | ||
/** AddressNotAuthorized: Address not authorized */ | ||
class CgAddressNotAuthorizedError extends umi_1.ProgramError { | ||
@@ -423,3 +423,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('AddressNotAuthorized', CgAddressNotAuthorizedError); | ||
/** MissingFreezeInstruction: 'Missing freeze instruction data' */ | ||
/** MissingFreezeInstruction: Missing freeze instruction data */ | ||
class CgMissingFreezeInstructionError extends umi_1.ProgramError { | ||
@@ -435,3 +435,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MissingFreezeInstruction', CgMissingFreezeInstructionError); | ||
/** FreezeGuardNotEnabled: 'Freeze guard must be enabled' */ | ||
/** FreezeGuardNotEnabled: Freeze guard must be enabled */ | ||
class CgFreezeGuardNotEnabledError extends umi_1.ProgramError { | ||
@@ -447,3 +447,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('FreezeGuardNotEnabled', CgFreezeGuardNotEnabledError); | ||
/** FreezeNotInitialized: 'Freeze must be initialized' */ | ||
/** FreezeNotInitialized: Freeze must be initialized */ | ||
class CgFreezeNotInitializedError extends umi_1.ProgramError { | ||
@@ -459,3 +459,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('FreezeNotInitialized', CgFreezeNotInitializedError); | ||
/** MissingFreezePeriod: 'Missing freeze period' */ | ||
/** MissingFreezePeriod: Missing freeze period */ | ||
class CgMissingFreezePeriodError extends umi_1.ProgramError { | ||
@@ -471,3 +471,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MissingFreezePeriod', CgMissingFreezePeriodError); | ||
/** FreezeEscrowAlreadyExists: 'The freeze escrow account already exists' */ | ||
/** FreezeEscrowAlreadyExists: The freeze escrow account already exists */ | ||
class CgFreezeEscrowAlreadyExistsError extends umi_1.ProgramError { | ||
@@ -483,3 +483,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('FreezeEscrowAlreadyExists', CgFreezeEscrowAlreadyExistsError); | ||
/** ExceededMaximumFreezePeriod: 'Maximum freeze period exceeded' */ | ||
/** ExceededMaximumFreezePeriod: Maximum freeze period exceeded */ | ||
class CgExceededMaximumFreezePeriodError extends umi_1.ProgramError { | ||
@@ -495,3 +495,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('ExceededMaximumFreezePeriod', CgExceededMaximumFreezePeriodError); | ||
/** ThawNotEnabled: 'Thaw is not enabled' */ | ||
/** ThawNotEnabled: Thaw is not enabled */ | ||
class CgThawNotEnabledError extends umi_1.ProgramError { | ||
@@ -507,3 +507,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('ThawNotEnabled', CgThawNotEnabledError); | ||
/** UnlockNotEnabled: 'Unlock is not enabled (not all NFTs are thawed)' */ | ||
/** UnlockNotEnabled: Unlock is not enabled (not all NFTs are thawed) */ | ||
class CgUnlockNotEnabledError extends umi_1.ProgramError { | ||
@@ -519,3 +519,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('UnlockNotEnabled', CgUnlockNotEnabledError); | ||
/** DuplicatedGroupLabel: 'Duplicated group label' */ | ||
/** DuplicatedGroupLabel: Duplicated group label */ | ||
class CgDuplicatedGroupLabelError extends umi_1.ProgramError { | ||
@@ -531,3 +531,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('DuplicatedGroupLabel', CgDuplicatedGroupLabelError); | ||
/** DuplicatedMintLimitId: 'Duplicated mint limit id' */ | ||
/** DuplicatedMintLimitId: Duplicated mint limit id */ | ||
class CgDuplicatedMintLimitIdError extends umi_1.ProgramError { | ||
@@ -543,3 +543,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('DuplicatedMintLimitId', CgDuplicatedMintLimitIdError); | ||
/** UnauthorizedProgramFound: 'An unauthorized program was found in the transaction' */ | ||
/** UnauthorizedProgramFound: An unauthorized program was found in the transaction */ | ||
class CgUnauthorizedProgramFoundError extends umi_1.ProgramError { | ||
@@ -555,3 +555,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('UnauthorizedProgramFound', CgUnauthorizedProgramFoundError); | ||
/** ExceededProgramListSize: 'Exceeded the maximum number of programs in the additional list' */ | ||
/** ExceededProgramListSize: Exceeded the maximum number of programs in the additional list */ | ||
class CgExceededProgramListSizeError extends umi_1.ProgramError { | ||
@@ -567,3 +567,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('ExceededProgramListSize', CgExceededProgramListSizeError); | ||
/** AllocationNotInitialized: 'Allocation PDA not initialized' */ | ||
/** AllocationNotInitialized: Allocation PDA not initialized */ | ||
class CgAllocationNotInitializedError extends umi_1.ProgramError { | ||
@@ -579,3 +579,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('AllocationNotInitialized', CgAllocationNotInitializedError); | ||
/** AllocationLimitReached: 'Allocation limit was reached' */ | ||
/** AllocationLimitReached: Allocation limit was reached */ | ||
class CgAllocationLimitReachedError extends umi_1.ProgramError { | ||
@@ -591,3 +591,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('AllocationLimitReached', CgAllocationLimitReachedError); | ||
/** AllocationGuardNotEnabled: 'Allocation guard must be enabled' */ | ||
/** AllocationGuardNotEnabled: Allocation guard must be enabled */ | ||
class CgAllocationGuardNotEnabledError extends umi_1.ProgramError { | ||
@@ -603,3 +603,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('AllocationGuardNotEnabled', CgAllocationGuardNotEnabledError); | ||
/** InvalidMintAuthority: 'Candy machine has an invalid mint authority' */ | ||
/** InvalidMintAuthority: Candy machine has an invalid mint authority */ | ||
class CgInvalidMintAuthorityError extends umi_1.ProgramError { | ||
@@ -615,3 +615,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('InvalidMintAuthority', CgInvalidMintAuthorityError); | ||
/** InstructionBuilderFailed: 'Instruction could not be created' */ | ||
/** InstructionBuilderFailed: Instruction could not be created */ | ||
class CgInstructionBuilderFailedError extends umi_1.ProgramError { | ||
@@ -627,3 +627,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('InstructionBuilderFailed', CgInstructionBuilderFailedError); | ||
/** InvalidAccountVersion: 'Invalid account version' */ | ||
/** InvalidAccountVersion: Invalid account version */ | ||
class CgInvalidAccountVersionError extends umi_1.ProgramError { | ||
@@ -630,0 +630,0 @@ constructor(program, cause) { |
@@ -9,3 +9,3 @@ /** | ||
import { Program, ProgramError } from '@metaplex-foundation/umi'; | ||
/** IncorrectOwner: 'Account does not have correct owner' */ | ||
/** IncorrectOwner: Account does not have correct owner */ | ||
export declare class CmIncorrectOwnerError extends ProgramError { | ||
@@ -16,3 +16,3 @@ readonly name: string; | ||
} | ||
/** Uninitialized: 'Account is not initialized' */ | ||
/** Uninitialized: Account is not initialized */ | ||
export declare class CmUninitializedError extends ProgramError { | ||
@@ -23,3 +23,3 @@ readonly name: string; | ||
} | ||
/** MintMismatch: 'Mint Mismatch' */ | ||
/** MintMismatch: Mint Mismatch */ | ||
export declare class CmMintMismatchError extends ProgramError { | ||
@@ -30,3 +30,3 @@ readonly name: string; | ||
} | ||
/** IndexGreaterThanLength: 'Index greater than length' */ | ||
/** IndexGreaterThanLength: Index greater than length */ | ||
export declare class CmIndexGreaterThanLengthError extends ProgramError { | ||
@@ -37,3 +37,3 @@ readonly name: string; | ||
} | ||
/** NumericalOverflowError: 'Numerical overflow error' */ | ||
/** NumericalOverflowError: Numerical overflow error */ | ||
export declare class CmNumericalOverflowErrorError extends ProgramError { | ||
@@ -44,3 +44,3 @@ readonly name: string; | ||
} | ||
/** TooManyCreators: 'Can only provide up to 4 creators to candy machine (because candy machine is one)' */ | ||
/** TooManyCreators: Can only provide up to 4 creators to candy machine (because candy machine is one) */ | ||
export declare class CmTooManyCreatorsError extends ProgramError { | ||
@@ -51,3 +51,3 @@ readonly name: string; | ||
} | ||
/** CandyMachineEmpty: 'Candy machine is empty' */ | ||
/** CandyMachineEmpty: Candy machine is empty */ | ||
export declare class CmCandyMachineEmptyError extends ProgramError { | ||
@@ -58,3 +58,3 @@ readonly name: string; | ||
} | ||
/** HiddenSettingsDoNotHaveConfigLines: 'Candy machines using hidden uris do not have config lines, they have a single hash representing hashed order' */ | ||
/** HiddenSettingsDoNotHaveConfigLines: Candy machines using hidden uris do not have config lines, they have a single hash representing hashed order */ | ||
export declare class CmHiddenSettingsDoNotHaveConfigLinesError extends ProgramError { | ||
@@ -65,3 +65,3 @@ readonly name: string; | ||
} | ||
/** CannotChangeNumberOfLines: 'Cannot change number of lines unless is a hidden config' */ | ||
/** CannotChangeNumberOfLines: Cannot change number of lines unless is a hidden config */ | ||
export declare class CmCannotChangeNumberOfLinesError extends ProgramError { | ||
@@ -72,3 +72,3 @@ readonly name: string; | ||
} | ||
/** CannotSwitchToHiddenSettings: 'Cannot switch to hidden settings after items available is greater than 0' */ | ||
/** CannotSwitchToHiddenSettings: Cannot switch to hidden settings after items available is greater than 0 */ | ||
export declare class CmCannotSwitchToHiddenSettingsError extends ProgramError { | ||
@@ -79,3 +79,3 @@ readonly name: string; | ||
} | ||
/** IncorrectCollectionAuthority: 'Incorrect collection NFT authority' */ | ||
/** IncorrectCollectionAuthority: Incorrect collection NFT authority */ | ||
export declare class CmIncorrectCollectionAuthorityError extends ProgramError { | ||
@@ -86,3 +86,3 @@ readonly name: string; | ||
} | ||
/** MetadataAccountMustBeEmpty: 'The metadata account has data in it, and this must be empty to mint a new NFT' */ | ||
/** MetadataAccountMustBeEmpty: The metadata account has data in it, and this must be empty to mint a new NFT */ | ||
export declare class CmMetadataAccountMustBeEmptyError extends ProgramError { | ||
@@ -93,3 +93,3 @@ readonly name: string; | ||
} | ||
/** NoChangingCollectionDuringMint: 'Can't change collection settings after items have begun to be minted' */ | ||
/** NoChangingCollectionDuringMint: Can't change collection settings after items have begun to be minted */ | ||
export declare class CmNoChangingCollectionDuringMintError extends ProgramError { | ||
@@ -100,3 +100,3 @@ readonly name: string; | ||
} | ||
/** ExceededLengthError: 'Value longer than expected maximum value' */ | ||
/** ExceededLengthError: Value longer than expected maximum value */ | ||
export declare class CmExceededLengthErrorError extends ProgramError { | ||
@@ -107,3 +107,3 @@ readonly name: string; | ||
} | ||
/** MissingConfigLinesSettings: 'Missing config lines settings' */ | ||
/** MissingConfigLinesSettings: Missing config lines settings */ | ||
export declare class CmMissingConfigLinesSettingsError extends ProgramError { | ||
@@ -114,3 +114,3 @@ readonly name: string; | ||
} | ||
/** CannotIncreaseLength: 'Cannot increase the length in config lines settings' */ | ||
/** CannotIncreaseLength: Cannot increase the length in config lines settings */ | ||
export declare class CmCannotIncreaseLengthError extends ProgramError { | ||
@@ -121,3 +121,3 @@ readonly name: string; | ||
} | ||
/** CannotSwitchFromHiddenSettings: 'Cannot switch from hidden settings' */ | ||
/** CannotSwitchFromHiddenSettings: Cannot switch from hidden settings */ | ||
export declare class CmCannotSwitchFromHiddenSettingsError extends ProgramError { | ||
@@ -128,3 +128,3 @@ readonly name: string; | ||
} | ||
/** CannotChangeSequentialIndexGeneration: 'Cannot change sequential index generation after items have begun to be minted' */ | ||
/** CannotChangeSequentialIndexGeneration: Cannot change sequential index generation after items have begun to be minted */ | ||
export declare class CmCannotChangeSequentialIndexGenerationError extends ProgramError { | ||
@@ -135,3 +135,3 @@ readonly name: string; | ||
} | ||
/** CollectionKeyMismatch: 'Collection public key mismatch' */ | ||
/** CollectionKeyMismatch: Collection public key mismatch */ | ||
export declare class CmCollectionKeyMismatchError extends ProgramError { | ||
@@ -142,3 +142,3 @@ readonly name: string; | ||
} | ||
/** CouldNotRetrieveConfigLineData: 'Could not retrive config line data' */ | ||
/** CouldNotRetrieveConfigLineData: Could not retrive config line data */ | ||
export declare class CmCouldNotRetrieveConfigLineDataError extends ProgramError { | ||
@@ -149,3 +149,3 @@ readonly name: string; | ||
} | ||
/** NotFullyLoaded: 'Not all config lines were added to the candy machine' */ | ||
/** NotFullyLoaded: Not all config lines were added to the candy machine */ | ||
export declare class CmNotFullyLoadedError extends ProgramError { | ||
@@ -156,3 +156,3 @@ readonly name: string; | ||
} | ||
/** InstructionBuilderFailed: 'Instruction could not be created' */ | ||
/** InstructionBuilderFailed: Instruction could not be created */ | ||
export declare class CmInstructionBuilderFailedError extends ProgramError { | ||
@@ -163,3 +163,3 @@ readonly name: string; | ||
} | ||
/** MissingCollectionAuthorityRecord: 'Missing collection authority record' */ | ||
/** MissingCollectionAuthorityRecord: Missing collection authority record */ | ||
export declare class CmMissingCollectionAuthorityRecordError extends ProgramError { | ||
@@ -170,3 +170,3 @@ readonly name: string; | ||
} | ||
/** MissingMetadataDelegateRecord: 'Missing metadata delegate record' */ | ||
/** MissingMetadataDelegateRecord: Missing metadata delegate record */ | ||
export declare class CmMissingMetadataDelegateRecordError extends ProgramError { | ||
@@ -177,3 +177,3 @@ readonly name: string; | ||
} | ||
/** InvalidTokenStandard: 'Invalid token standard' */ | ||
/** InvalidTokenStandard: Invalid token standard */ | ||
export declare class CmInvalidTokenStandardError extends ProgramError { | ||
@@ -184,3 +184,3 @@ readonly name: string; | ||
} | ||
/** MissingTokenAccount: 'Missing token account' */ | ||
/** MissingTokenAccount: Missing token account */ | ||
export declare class CmMissingTokenAccountError extends ProgramError { | ||
@@ -191,3 +191,3 @@ readonly name: string; | ||
} | ||
/** MissingTokenRecord: 'Missing token record' */ | ||
/** MissingTokenRecord: Missing token record */ | ||
export declare class CmMissingTokenRecordError extends ProgramError { | ||
@@ -198,3 +198,3 @@ readonly name: string; | ||
} | ||
/** MissingInstructionsSysvar: 'Missing instructions sysvar account' */ | ||
/** MissingInstructionsSysvar: Missing instructions sysvar account */ | ||
export declare class CmMissingInstructionsSysvarError extends ProgramError { | ||
@@ -205,3 +205,3 @@ readonly name: string; | ||
} | ||
/** MissingSplAtaProgram: 'Missing SPL ATA program' */ | ||
/** MissingSplAtaProgram: Missing SPL ATA program */ | ||
export declare class CmMissingSplAtaProgramError extends ProgramError { | ||
@@ -212,3 +212,3 @@ readonly name: string; | ||
} | ||
/** InvalidAccountVersion: 'Invalid account version' */ | ||
/** InvalidAccountVersion: Invalid account version */ | ||
export declare class CmInvalidAccountVersionError extends ProgramError { | ||
@@ -215,0 +215,0 @@ readonly name: string; |
@@ -14,3 +14,3 @@ "use strict"; | ||
const nameToErrorMap = new Map(); | ||
/** IncorrectOwner: 'Account does not have correct owner' */ | ||
/** IncorrectOwner: Account does not have correct owner */ | ||
class CmIncorrectOwnerError extends umi_1.ProgramError { | ||
@@ -26,3 +26,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('IncorrectOwner', CmIncorrectOwnerError); | ||
/** Uninitialized: 'Account is not initialized' */ | ||
/** Uninitialized: Account is not initialized */ | ||
class CmUninitializedError extends umi_1.ProgramError { | ||
@@ -38,3 +38,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('Uninitialized', CmUninitializedError); | ||
/** MintMismatch: 'Mint Mismatch' */ | ||
/** MintMismatch: Mint Mismatch */ | ||
class CmMintMismatchError extends umi_1.ProgramError { | ||
@@ -50,3 +50,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MintMismatch', CmMintMismatchError); | ||
/** IndexGreaterThanLength: 'Index greater than length' */ | ||
/** IndexGreaterThanLength: Index greater than length */ | ||
class CmIndexGreaterThanLengthError extends umi_1.ProgramError { | ||
@@ -62,3 +62,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('IndexGreaterThanLength', CmIndexGreaterThanLengthError); | ||
/** NumericalOverflowError: 'Numerical overflow error' */ | ||
/** NumericalOverflowError: Numerical overflow error */ | ||
class CmNumericalOverflowErrorError extends umi_1.ProgramError { | ||
@@ -74,3 +74,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('NumericalOverflowError', CmNumericalOverflowErrorError); | ||
/** TooManyCreators: 'Can only provide up to 4 creators to candy machine (because candy machine is one)' */ | ||
/** TooManyCreators: Can only provide up to 4 creators to candy machine (because candy machine is one) */ | ||
class CmTooManyCreatorsError extends umi_1.ProgramError { | ||
@@ -86,3 +86,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('TooManyCreators', CmTooManyCreatorsError); | ||
/** CandyMachineEmpty: 'Candy machine is empty' */ | ||
/** CandyMachineEmpty: Candy machine is empty */ | ||
class CmCandyMachineEmptyError extends umi_1.ProgramError { | ||
@@ -98,3 +98,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('CandyMachineEmpty', CmCandyMachineEmptyError); | ||
/** HiddenSettingsDoNotHaveConfigLines: 'Candy machines using hidden uris do not have config lines, they have a single hash representing hashed order' */ | ||
/** HiddenSettingsDoNotHaveConfigLines: Candy machines using hidden uris do not have config lines, they have a single hash representing hashed order */ | ||
class CmHiddenSettingsDoNotHaveConfigLinesError extends umi_1.ProgramError { | ||
@@ -110,3 +110,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('HiddenSettingsDoNotHaveConfigLines', CmHiddenSettingsDoNotHaveConfigLinesError); | ||
/** CannotChangeNumberOfLines: 'Cannot change number of lines unless is a hidden config' */ | ||
/** CannotChangeNumberOfLines: Cannot change number of lines unless is a hidden config */ | ||
class CmCannotChangeNumberOfLinesError extends umi_1.ProgramError { | ||
@@ -122,3 +122,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('CannotChangeNumberOfLines', CmCannotChangeNumberOfLinesError); | ||
/** CannotSwitchToHiddenSettings: 'Cannot switch to hidden settings after items available is greater than 0' */ | ||
/** CannotSwitchToHiddenSettings: Cannot switch to hidden settings after items available is greater than 0 */ | ||
class CmCannotSwitchToHiddenSettingsError extends umi_1.ProgramError { | ||
@@ -134,3 +134,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('CannotSwitchToHiddenSettings', CmCannotSwitchToHiddenSettingsError); | ||
/** IncorrectCollectionAuthority: 'Incorrect collection NFT authority' */ | ||
/** IncorrectCollectionAuthority: Incorrect collection NFT authority */ | ||
class CmIncorrectCollectionAuthorityError extends umi_1.ProgramError { | ||
@@ -146,3 +146,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('IncorrectCollectionAuthority', CmIncorrectCollectionAuthorityError); | ||
/** MetadataAccountMustBeEmpty: 'The metadata account has data in it, and this must be empty to mint a new NFT' */ | ||
/** MetadataAccountMustBeEmpty: The metadata account has data in it, and this must be empty to mint a new NFT */ | ||
class CmMetadataAccountMustBeEmptyError extends umi_1.ProgramError { | ||
@@ -158,3 +158,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MetadataAccountMustBeEmpty', CmMetadataAccountMustBeEmptyError); | ||
/** NoChangingCollectionDuringMint: 'Can't change collection settings after items have begun to be minted' */ | ||
/** NoChangingCollectionDuringMint: Can't change collection settings after items have begun to be minted */ | ||
class CmNoChangingCollectionDuringMintError extends umi_1.ProgramError { | ||
@@ -170,3 +170,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('NoChangingCollectionDuringMint', CmNoChangingCollectionDuringMintError); | ||
/** ExceededLengthError: 'Value longer than expected maximum value' */ | ||
/** ExceededLengthError: Value longer than expected maximum value */ | ||
class CmExceededLengthErrorError extends umi_1.ProgramError { | ||
@@ -182,3 +182,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('ExceededLengthError', CmExceededLengthErrorError); | ||
/** MissingConfigLinesSettings: 'Missing config lines settings' */ | ||
/** MissingConfigLinesSettings: Missing config lines settings */ | ||
class CmMissingConfigLinesSettingsError extends umi_1.ProgramError { | ||
@@ -194,3 +194,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MissingConfigLinesSettings', CmMissingConfigLinesSettingsError); | ||
/** CannotIncreaseLength: 'Cannot increase the length in config lines settings' */ | ||
/** CannotIncreaseLength: Cannot increase the length in config lines settings */ | ||
class CmCannotIncreaseLengthError extends umi_1.ProgramError { | ||
@@ -206,3 +206,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('CannotIncreaseLength', CmCannotIncreaseLengthError); | ||
/** CannotSwitchFromHiddenSettings: 'Cannot switch from hidden settings' */ | ||
/** CannotSwitchFromHiddenSettings: Cannot switch from hidden settings */ | ||
class CmCannotSwitchFromHiddenSettingsError extends umi_1.ProgramError { | ||
@@ -218,3 +218,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('CannotSwitchFromHiddenSettings', CmCannotSwitchFromHiddenSettingsError); | ||
/** CannotChangeSequentialIndexGeneration: 'Cannot change sequential index generation after items have begun to be minted' */ | ||
/** CannotChangeSequentialIndexGeneration: Cannot change sequential index generation after items have begun to be minted */ | ||
class CmCannotChangeSequentialIndexGenerationError extends umi_1.ProgramError { | ||
@@ -230,3 +230,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('CannotChangeSequentialIndexGeneration', CmCannotChangeSequentialIndexGenerationError); | ||
/** CollectionKeyMismatch: 'Collection public key mismatch' */ | ||
/** CollectionKeyMismatch: Collection public key mismatch */ | ||
class CmCollectionKeyMismatchError extends umi_1.ProgramError { | ||
@@ -242,3 +242,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('CollectionKeyMismatch', CmCollectionKeyMismatchError); | ||
/** CouldNotRetrieveConfigLineData: 'Could not retrive config line data' */ | ||
/** CouldNotRetrieveConfigLineData: Could not retrive config line data */ | ||
class CmCouldNotRetrieveConfigLineDataError extends umi_1.ProgramError { | ||
@@ -254,3 +254,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('CouldNotRetrieveConfigLineData', CmCouldNotRetrieveConfigLineDataError); | ||
/** NotFullyLoaded: 'Not all config lines were added to the candy machine' */ | ||
/** NotFullyLoaded: Not all config lines were added to the candy machine */ | ||
class CmNotFullyLoadedError extends umi_1.ProgramError { | ||
@@ -266,3 +266,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('NotFullyLoaded', CmNotFullyLoadedError); | ||
/** InstructionBuilderFailed: 'Instruction could not be created' */ | ||
/** InstructionBuilderFailed: Instruction could not be created */ | ||
class CmInstructionBuilderFailedError extends umi_1.ProgramError { | ||
@@ -278,3 +278,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('InstructionBuilderFailed', CmInstructionBuilderFailedError); | ||
/** MissingCollectionAuthorityRecord: 'Missing collection authority record' */ | ||
/** MissingCollectionAuthorityRecord: Missing collection authority record */ | ||
class CmMissingCollectionAuthorityRecordError extends umi_1.ProgramError { | ||
@@ -290,3 +290,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MissingCollectionAuthorityRecord', CmMissingCollectionAuthorityRecordError); | ||
/** MissingMetadataDelegateRecord: 'Missing metadata delegate record' */ | ||
/** MissingMetadataDelegateRecord: Missing metadata delegate record */ | ||
class CmMissingMetadataDelegateRecordError extends umi_1.ProgramError { | ||
@@ -302,3 +302,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MissingMetadataDelegateRecord', CmMissingMetadataDelegateRecordError); | ||
/** InvalidTokenStandard: 'Invalid token standard' */ | ||
/** InvalidTokenStandard: Invalid token standard */ | ||
class CmInvalidTokenStandardError extends umi_1.ProgramError { | ||
@@ -314,3 +314,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('InvalidTokenStandard', CmInvalidTokenStandardError); | ||
/** MissingTokenAccount: 'Missing token account' */ | ||
/** MissingTokenAccount: Missing token account */ | ||
class CmMissingTokenAccountError extends umi_1.ProgramError { | ||
@@ -326,3 +326,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MissingTokenAccount', CmMissingTokenAccountError); | ||
/** MissingTokenRecord: 'Missing token record' */ | ||
/** MissingTokenRecord: Missing token record */ | ||
class CmMissingTokenRecordError extends umi_1.ProgramError { | ||
@@ -338,3 +338,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MissingTokenRecord', CmMissingTokenRecordError); | ||
/** MissingInstructionsSysvar: 'Missing instructions sysvar account' */ | ||
/** MissingInstructionsSysvar: Missing instructions sysvar account */ | ||
class CmMissingInstructionsSysvarError extends umi_1.ProgramError { | ||
@@ -350,3 +350,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MissingInstructionsSysvar', CmMissingInstructionsSysvarError); | ||
/** MissingSplAtaProgram: 'Missing SPL ATA program' */ | ||
/** MissingSplAtaProgram: Missing SPL ATA program */ | ||
class CmMissingSplAtaProgramError extends umi_1.ProgramError { | ||
@@ -362,3 +362,3 @@ constructor(program, cause) { | ||
nameToErrorMap.set('MissingSplAtaProgram', CmMissingSplAtaProgramError); | ||
/** InvalidAccountVersion: 'Invalid account version' */ | ||
/** InvalidAccountVersion: Invalid account version */ | ||
class CmInvalidAccountVersionError extends umi_1.ProgramError { | ||
@@ -365,0 +365,0 @@ constructor(program, cause) { |
@@ -17,6 +17,3 @@ "use strict"; | ||
const s = context.serializer; | ||
return (0, umi_1.mapSerializer)(s.struct([['discriminator', s.array(s.u8(), { size: 8 })]], { description: 'SetCollectionV2InstructionData' }), (value) => ({ | ||
...value, | ||
discriminator: [229, 35, 61, 91, 15, 14, 99, 160], | ||
})); | ||
return (0, umi_1.mapSerializer)(s.struct([['discriminator', s.array(s.u8(), { size: 8 })]], { description: 'SetCollectionV2InstructionData' }), (value) => ({ ...value, discriminator: [229, 35, 61, 91, 15, 14, 99, 160] })); | ||
} | ||
@@ -23,0 +20,0 @@ exports.getSetCollectionV2InstructionDataSerializer = getSetCollectionV2InstructionDataSerializer; |
{ | ||
"name": "@metaplex-foundation/mpl-candy-machine", | ||
"version": "6.0.0-alpha.10", | ||
"version": "6.0.0-alpha.11", | ||
"description": "Client library for Candy Machine related programs", | ||
@@ -22,4 +22,4 @@ "main": "dist/src/index.js", | ||
"dependencies": { | ||
"@metaplex-foundation/mpl-essentials": "^0.5.7", | ||
"@metaplex-foundation/mpl-token-metadata": "3.0.0-alpha.17", | ||
"@metaplex-foundation/mpl-essentials": "^0.5.8", | ||
"@metaplex-foundation/mpl-token-metadata": "3.0.0-alpha.18", | ||
"@noble/hashes": "^1.2.0", | ||
@@ -26,0 +26,0 @@ "merkletreejs": "^0.3.9" |
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
676630
10325
+ Added@metaplex-foundation/mpl-token-metadata@3.0.0-alpha.18(transitive)
- Removed@metaplex-foundation/mpl-token-metadata@3.0.0-alpha.17(transitive)
Updated@metaplex-foundation/mpl-token-metadata@3.0.0-alpha.18