solana-framework
Version:
solana-framework is solana uni-tools for typescript
1,171 lines • 146 kB
JavaScript
"use strict";
/**
* This code was GENERATED using the solita package.
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
*
* See: https://github.com/metaplex-foundation/solita
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReservationAlreadyMadeError = exports.ReservationNotSetError = exports.ReservationDoesNotExistError = exports.ReservationExistsError = exports.ShareTotalMustBe100Error = exports.NoBalanceInAccountForAuthorizationError = exports.OwnerMismatchError = exports.PrimarySaleCanOnlyBeFlippedToTrueError = exports.InvalidBasisPointsError = exports.CreatorNotFoundError = exports.NoCreatorsPresentOnMetadataError = exports.MustBeOneOfCreatorsError = exports.CreatorsMustBeAtleastOneError = exports.CreatorsTooLongError = exports.DisabledError = exports.AuthorizationTokenAccountOwnerMismatchError = exports.PrintingMintAuthorizationAccountMismatchError = exports.NotEnoughTokensError = exports.TokenAccountMintMismatchV2Error = exports.TokenAccountMintMismatchError = exports.OneTimePrintingAuthMintMismatchError = exports.PrintingMintMismatchError = exports.DerivedKeyInvalidError = exports.TokenAccountOneTimeAuthMintMismatchError = exports.TokenBurnFailedError = exports.EditionMintDecimalsShouldBeZeroError = exports.OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError = exports.PrintingMintDecimalsShouldBeZeroError = exports.EditionAlreadyMintedError = exports.DestinationMintMismatchError = exports.MasterRecordMismatchError = exports.TokenMintToFailedError = exports.MaxEditionsMintedAlreadyError = exports.EditionsMustHaveExactlyOneTokenError = exports.MintMismatchError = exports.UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError = exports.UriTooLongError = exports.SymbolTooLongError = exports.NameTooLongError = exports.InvalidMintAuthorityError = exports.NotMintAuthorityError = exports.UpdateAuthorityIsNotSignerError = exports.UpdateAuthorityIncorrectError = exports.InvalidEditionKeyError = exports.InvalidMetadataKeyError = exports.UninitializedError = exports.AlreadyInitializedError = exports.NotRentExemptError = exports.InstructionPackErrorError = exports.InstructionUnpackErrorError = void 0;
exports.RevokeCollectionAuthoritySignerIncorrectError = exports.InvalidUserError = exports.EditionOverrideCannotBeZeroError = exports.NotAllowedToChangeSellerFeeBasisPointsError = exports.CannotWipeVerifiedCreatorsError = exports.CannotRemoveVerifiedCreatorError = exports.CannotAdjustVerifiedCreatorError = exports.InvalidDelegateError = exports.InvalidFreezeAuthorityError = exports.InvalidCollectionAuthorityRecordError = exports.InvalidUseAuthorityRecordError = exports.CollectionAuthorityDoesNotExistError = exports.CollectionAuthorityRecordAlreadyExistsError = exports.NotEnoughUsesError = exports.UnusableError = exports.UseAuthorityRecordAlreadyRevokedError = exports.UseAuthorityRecordAlreadyExistsError = exports.CollectionMustBeAUniqueMasterEditionError = exports.InvalidCollectionUpdateAuthorityError = exports.CollectionNotFoundError = exports.CannotChangeUsesAfterFirstUseError = exports.CannotChangeUseMethodAfterFirstUseError = exports.InvalidUseMethodError = exports.MustBeBurnedError = exports.RemovedError = exports.CollectionCannotBeVerifiedInThisInstructionError = exports.IsMutableCanOnlyBeFlippedToFalseError = exports.ReservationArrayShouldBeSizeOneError = exports.InvalidEditionIndexError = exports.OneTimeAuthMintSupplyMustBeZeroForConversionError = exports.PrintingMintSupplyMustBeZeroForConversionError = exports.InvalidOwnerError = exports.InvalidOperationError = exports.TriedToReplaceAnExistingReservationError = exports.ReservationNotCompleteError = exports.BeyondAlottedAddressSizeError = exports.DataTypeMismatchError = exports.InvalidTokenProgramError = exports.ReservationSpotsRemainingShouldMatchTotalSpotsAtStartError = exports.DuplicateCreatorAddressError = exports.DataIsImmutableError = exports.PrintingWouldBreachMaximumSupplyError = exports.IncorrectOwnerError = exports.SpotMismatchError = exports.CannotUnverifyAnotherCreatorError = exports.CannotVerifyAnotherCreatorError = exports.AddressNotInReservationError = exports.ReservationBreachesMaximumSupplyError = exports.NumericalOverflowErrorError = exports.BeyondMaxAddressSizeError = void 0;
exports.MissingSplTokenProgramError = exports.MissingTokenAccountError = exports.OnlySaleDelegateCanTransferError = exports.InvalidSystemWalletError = exports.FeatureNotSupportedError = exports.MissingArgumentInBuilderError = exports.MissingAccountInBuilderError = exports.DelegateNotFoundError = exports.DelegateAlreadyExistsError = exports.InvalidProgrammableConfigError = exports.MissingProgrammableConfigError = exports.MissingAuthorizationRulesError = exports.InvalidAuthorizationRulesError = exports.InvalidMintForTokenStandardError = exports.InvalidTokenStandardError = exports.MintIsNotSignerError = exports.EscrowParentHasDelegateError = exports.InvalidBubblegumSignerError = exports.InvalidCollectionSizeChangeError = exports.NoFreezeAuthoritySetError = exports.BorshSerializationErrorError = exports.InsufficientTokensError = exports.MustBeNonFungibleError = exports.InvalidSystemProgramError = exports.MustBeEscrowAuthorityError = exports.InvalidEscrowBumpSeedError = exports.MustUnverifyError = exports.EditionNumberGreaterThanMaxSupplyError = exports.PrintEditionDoesNotMatchMasterEditionError = exports.ReservationListDeprecatedError = exports.InvalidEditionMarkerError = exports.InvalidPrintEditionError = exports.InvalidMasterEditionError = exports.NotAPrintEditionError = exports.AlreadyUnverifiedError = exports.AlreadyVerifiedError = exports.CollectionMasterEditionAccountInvalidError = exports.CannotUpdateVerifiedCollectionError = exports.BorshDeserializationErrorError = exports.MasterEditionHasPrintsError = exports.NotAMasterEditionError = exports.MissingEditionAccountError = exports.CouldNotDetermineTokenStandardError = exports.NotACollectionParentError = exports.NotVerifiedMemberOfCollectionError = exports.NotAMemberOfCollectionError = exports.MissingCollectionMetadataError = exports.SizedCollectionError = exports.UnsizedCollectionError = exports.TokenCloseFailedError = void 0;
exports.errorFromName = exports.errorFromCode = exports.InvalidMetadataFlagsError = exports.InvalidFeeAccountError = exports.MissingDelegateRecordError = exports.InvalidInstructionError = exports.InvalidCloseAuthorityError = exports.InvalidTokenRecordError = exports.MissingCollectionMasterEditionError = exports.MissingCollectionMintError = exports.InsufficientTokenBalanceError = exports.InvalidUpdateArgsError = exports.InvalidParentAccountsError = exports.InvalidInstructionsSysvarError = exports.InvalidAssociatedTokenAccountProgramError = exports.MissingEditionError = exports.CannotBurnWithDelegateError = exports.MissingEditionMarkerAccountError = exports.MissingMasterEditionTokenAccountError = exports.MissingMasterEditionMintAccountError = exports.InvalidAmountError = exports.CannotUpdateAssetWithDelegateError = exports.DataIncrementLimitExceededError = exports.InvalidLockedTransferAddressError = exports.MissingLockedTransferAddressError = exports.InvalidDelegateArgsError = exports.AmountMustBeGreaterThanZeroError = exports.MissingMasterEditionAccountError = exports.MissingPrintSupplyError = exports.InvalidDelegateRoleError = exports.IncorrectTokenStateError = exports.InvalidMasterEditionAccountLengthError = exports.MissingTokenOwnerAccountError = exports.DataIsEmptyOrZeroedError = exports.MintSupplyMustBeZeroError = exports.MissingTokenRecordError = exports.InvalidAuthorityTypeError = exports.MissingDelegateRoleError = exports.UnlockedTokenError = exports.LockedTokenError = exports.KeyMismatchError = exports.InstructionNotSupportedError = exports.InvalidTransferAuthorityError = exports.InvalidDelegateRoleForTransferError = exports.MissingAuthorizationRulesProgramError = void 0;
const createErrorFromCodeLookup = new Map();
const createErrorFromNameLookup = new Map();
/**
* InstructionUnpackError: ''
*
* @category Errors
* @category generated
*/
class InstructionUnpackErrorError extends Error {
constructor() {
super('');
this.code = 0x0;
this.name = 'InstructionUnpackError';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, InstructionUnpackErrorError);
}
}
}
exports.InstructionUnpackErrorError = InstructionUnpackErrorError;
createErrorFromCodeLookup.set(0x0, () => new InstructionUnpackErrorError());
createErrorFromNameLookup.set('InstructionUnpackError', () => new InstructionUnpackErrorError());
/**
* InstructionPackError: ''
*
* @category Errors
* @category generated
*/
class InstructionPackErrorError extends Error {
constructor() {
super('');
this.code = 0x1;
this.name = 'InstructionPackError';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, InstructionPackErrorError);
}
}
}
exports.InstructionPackErrorError = InstructionPackErrorError;
createErrorFromCodeLookup.set(0x1, () => new InstructionPackErrorError());
createErrorFromNameLookup.set('InstructionPackError', () => new InstructionPackErrorError());
/**
* NotRentExempt: 'Lamport balance below rent-exempt threshold'
*
* @category Errors
* @category generated
*/
class NotRentExemptError extends Error {
constructor() {
super('Lamport balance below rent-exempt threshold');
this.code = 0x2;
this.name = 'NotRentExempt';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, NotRentExemptError);
}
}
}
exports.NotRentExemptError = NotRentExemptError;
createErrorFromCodeLookup.set(0x2, () => new NotRentExemptError());
createErrorFromNameLookup.set('NotRentExempt', () => new NotRentExemptError());
/**
* AlreadyInitialized: 'Already initialized'
*
* @category Errors
* @category generated
*/
class AlreadyInitializedError extends Error {
constructor() {
super('Already initialized');
this.code = 0x3;
this.name = 'AlreadyInitialized';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, AlreadyInitializedError);
}
}
}
exports.AlreadyInitializedError = AlreadyInitializedError;
createErrorFromCodeLookup.set(0x3, () => new AlreadyInitializedError());
createErrorFromNameLookup.set('AlreadyInitialized', () => new AlreadyInitializedError());
/**
* Uninitialized: 'Uninitialized'
*
* @category Errors
* @category generated
*/
class UninitializedError extends Error {
constructor() {
super('Uninitialized');
this.code = 0x4;
this.name = 'Uninitialized';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, UninitializedError);
}
}
}
exports.UninitializedError = UninitializedError;
createErrorFromCodeLookup.set(0x4, () => new UninitializedError());
createErrorFromNameLookup.set('Uninitialized', () => new UninitializedError());
/**
* InvalidMetadataKey: ' Metadata's key must match seed of ['metadata', program id, mint] provided'
*
* @category Errors
* @category generated
*/
class InvalidMetadataKeyError extends Error {
constructor() {
super(" Metadata's key must match seed of ['metadata', program id, mint] provided");
this.code = 0x5;
this.name = 'InvalidMetadataKey';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, InvalidMetadataKeyError);
}
}
}
exports.InvalidMetadataKeyError = InvalidMetadataKeyError;
createErrorFromCodeLookup.set(0x5, () => new InvalidMetadataKeyError());
createErrorFromNameLookup.set('InvalidMetadataKey', () => new InvalidMetadataKeyError());
/**
* InvalidEditionKey: 'Edition's key must match seed of ['metadata', program id, name, 'edition'] provided'
*
* @category Errors
* @category generated
*/
class InvalidEditionKeyError extends Error {
constructor() {
super("Edition's key must match seed of ['metadata', program id, name, 'edition'] provided");
this.code = 0x6;
this.name = 'InvalidEditionKey';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, InvalidEditionKeyError);
}
}
}
exports.InvalidEditionKeyError = InvalidEditionKeyError;
createErrorFromCodeLookup.set(0x6, () => new InvalidEditionKeyError());
createErrorFromNameLookup.set('InvalidEditionKey', () => new InvalidEditionKeyError());
/**
* UpdateAuthorityIncorrect: 'Update Authority given does not match'
*
* @category Errors
* @category generated
*/
class UpdateAuthorityIncorrectError extends Error {
constructor() {
super('Update Authority given does not match');
this.code = 0x7;
this.name = 'UpdateAuthorityIncorrect';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, UpdateAuthorityIncorrectError);
}
}
}
exports.UpdateAuthorityIncorrectError = UpdateAuthorityIncorrectError;
createErrorFromCodeLookup.set(0x7, () => new UpdateAuthorityIncorrectError());
createErrorFromNameLookup.set('UpdateAuthorityIncorrect', () => new UpdateAuthorityIncorrectError());
/**
* UpdateAuthorityIsNotSigner: 'Update Authority needs to be signer to update metadata'
*
* @category Errors
* @category generated
*/
class UpdateAuthorityIsNotSignerError extends Error {
constructor() {
super('Update Authority needs to be signer to update metadata');
this.code = 0x8;
this.name = 'UpdateAuthorityIsNotSigner';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, UpdateAuthorityIsNotSignerError);
}
}
}
exports.UpdateAuthorityIsNotSignerError = UpdateAuthorityIsNotSignerError;
createErrorFromCodeLookup.set(0x8, () => new UpdateAuthorityIsNotSignerError());
createErrorFromNameLookup.set('UpdateAuthorityIsNotSigner', () => new UpdateAuthorityIsNotSignerError());
/**
* NotMintAuthority: 'You must be the mint authority and signer on this transaction'
*
* @category Errors
* @category generated
*/
class NotMintAuthorityError extends Error {
constructor() {
super('You must be the mint authority and signer on this transaction');
this.code = 0x9;
this.name = 'NotMintAuthority';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, NotMintAuthorityError);
}
}
}
exports.NotMintAuthorityError = NotMintAuthorityError;
createErrorFromCodeLookup.set(0x9, () => new NotMintAuthorityError());
createErrorFromNameLookup.set('NotMintAuthority', () => new NotMintAuthorityError());
/**
* InvalidMintAuthority: 'Mint authority provided does not match the authority on the mint'
*
* @category Errors
* @category generated
*/
class InvalidMintAuthorityError extends Error {
constructor() {
super('Mint authority provided does not match the authority on the mint');
this.code = 0xa;
this.name = 'InvalidMintAuthority';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, InvalidMintAuthorityError);
}
}
}
exports.InvalidMintAuthorityError = InvalidMintAuthorityError;
createErrorFromCodeLookup.set(0xa, () => new InvalidMintAuthorityError());
createErrorFromNameLookup.set('InvalidMintAuthority', () => new InvalidMintAuthorityError());
/**
* NameTooLong: 'Name too long'
*
* @category Errors
* @category generated
*/
class NameTooLongError extends Error {
constructor() {
super('Name too long');
this.code = 0xb;
this.name = 'NameTooLong';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, NameTooLongError);
}
}
}
exports.NameTooLongError = NameTooLongError;
createErrorFromCodeLookup.set(0xb, () => new NameTooLongError());
createErrorFromNameLookup.set('NameTooLong', () => new NameTooLongError());
/**
* SymbolTooLong: 'Symbol too long'
*
* @category Errors
* @category generated
*/
class SymbolTooLongError extends Error {
constructor() {
super('Symbol too long');
this.code = 0xc;
this.name = 'SymbolTooLong';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, SymbolTooLongError);
}
}
}
exports.SymbolTooLongError = SymbolTooLongError;
createErrorFromCodeLookup.set(0xc, () => new SymbolTooLongError());
createErrorFromNameLookup.set('SymbolTooLong', () => new SymbolTooLongError());
/**
* UriTooLong: 'URI too long'
*
* @category Errors
* @category generated
*/
class UriTooLongError extends Error {
constructor() {
super('URI too long');
this.code = 0xd;
this.name = 'UriTooLong';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, UriTooLongError);
}
}
}
exports.UriTooLongError = UriTooLongError;
createErrorFromCodeLookup.set(0xd, () => new UriTooLongError());
createErrorFromNameLookup.set('UriTooLong', () => new UriTooLongError());
/**
* UpdateAuthorityMustBeEqualToMetadataAuthorityAndSigner: ''
*
* @category Errors
* @category generated
*/
class UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError extends Error {
constructor() {
super('');
this.code = 0xe;
this.name = 'UpdateAuthorityMustBeEqualToMetadataAuthorityAndSigner';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError);
}
}
}
exports.UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError = UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError;
createErrorFromCodeLookup.set(0xe, () => new UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError());
createErrorFromNameLookup.set('UpdateAuthorityMustBeEqualToMetadataAuthorityAndSigner', () => new UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError());
/**
* MintMismatch: 'Mint given does not match mint on Metadata'
*
* @category Errors
* @category generated
*/
class MintMismatchError extends Error {
constructor() {
super('Mint given does not match mint on Metadata');
this.code = 0xf;
this.name = 'MintMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, MintMismatchError);
}
}
}
exports.MintMismatchError = MintMismatchError;
createErrorFromCodeLookup.set(0xf, () => new MintMismatchError());
createErrorFromNameLookup.set('MintMismatch', () => new MintMismatchError());
/**
* EditionsMustHaveExactlyOneToken: 'Editions must have exactly one token'
*
* @category Errors
* @category generated
*/
class EditionsMustHaveExactlyOneTokenError extends Error {
constructor() {
super('Editions must have exactly one token');
this.code = 0x10;
this.name = 'EditionsMustHaveExactlyOneToken';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, EditionsMustHaveExactlyOneTokenError);
}
}
}
exports.EditionsMustHaveExactlyOneTokenError = EditionsMustHaveExactlyOneTokenError;
createErrorFromCodeLookup.set(0x10, () => new EditionsMustHaveExactlyOneTokenError());
createErrorFromNameLookup.set('EditionsMustHaveExactlyOneToken', () => new EditionsMustHaveExactlyOneTokenError());
/**
* MaxEditionsMintedAlready: ''
*
* @category Errors
* @category generated
*/
class MaxEditionsMintedAlreadyError extends Error {
constructor() {
super('');
this.code = 0x11;
this.name = 'MaxEditionsMintedAlready';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, MaxEditionsMintedAlreadyError);
}
}
}
exports.MaxEditionsMintedAlreadyError = MaxEditionsMintedAlreadyError;
createErrorFromCodeLookup.set(0x11, () => new MaxEditionsMintedAlreadyError());
createErrorFromNameLookup.set('MaxEditionsMintedAlready', () => new MaxEditionsMintedAlreadyError());
/**
* TokenMintToFailed: ''
*
* @category Errors
* @category generated
*/
class TokenMintToFailedError extends Error {
constructor() {
super('');
this.code = 0x12;
this.name = 'TokenMintToFailed';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, TokenMintToFailedError);
}
}
}
exports.TokenMintToFailedError = TokenMintToFailedError;
createErrorFromCodeLookup.set(0x12, () => new TokenMintToFailedError());
createErrorFromNameLookup.set('TokenMintToFailed', () => new TokenMintToFailedError());
/**
* MasterRecordMismatch: ''
*
* @category Errors
* @category generated
*/
class MasterRecordMismatchError extends Error {
constructor() {
super('');
this.code = 0x13;
this.name = 'MasterRecordMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, MasterRecordMismatchError);
}
}
}
exports.MasterRecordMismatchError = MasterRecordMismatchError;
createErrorFromCodeLookup.set(0x13, () => new MasterRecordMismatchError());
createErrorFromNameLookup.set('MasterRecordMismatch', () => new MasterRecordMismatchError());
/**
* DestinationMintMismatch: ''
*
* @category Errors
* @category generated
*/
class DestinationMintMismatchError extends Error {
constructor() {
super('');
this.code = 0x14;
this.name = 'DestinationMintMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, DestinationMintMismatchError);
}
}
}
exports.DestinationMintMismatchError = DestinationMintMismatchError;
createErrorFromCodeLookup.set(0x14, () => new DestinationMintMismatchError());
createErrorFromNameLookup.set('DestinationMintMismatch', () => new DestinationMintMismatchError());
/**
* EditionAlreadyMinted: ''
*
* @category Errors
* @category generated
*/
class EditionAlreadyMintedError extends Error {
constructor() {
super('');
this.code = 0x15;
this.name = 'EditionAlreadyMinted';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, EditionAlreadyMintedError);
}
}
}
exports.EditionAlreadyMintedError = EditionAlreadyMintedError;
createErrorFromCodeLookup.set(0x15, () => new EditionAlreadyMintedError());
createErrorFromNameLookup.set('EditionAlreadyMinted', () => new EditionAlreadyMintedError());
/**
* PrintingMintDecimalsShouldBeZero: ''
*
* @category Errors
* @category generated
*/
class PrintingMintDecimalsShouldBeZeroError extends Error {
constructor() {
super('');
this.code = 0x16;
this.name = 'PrintingMintDecimalsShouldBeZero';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, PrintingMintDecimalsShouldBeZeroError);
}
}
}
exports.PrintingMintDecimalsShouldBeZeroError = PrintingMintDecimalsShouldBeZeroError;
createErrorFromCodeLookup.set(0x16, () => new PrintingMintDecimalsShouldBeZeroError());
createErrorFromNameLookup.set('PrintingMintDecimalsShouldBeZero', () => new PrintingMintDecimalsShouldBeZeroError());
/**
* OneTimePrintingAuthorizationMintDecimalsShouldBeZero: ''
*
* @category Errors
* @category generated
*/
class OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError extends Error {
constructor() {
super('');
this.code = 0x17;
this.name = 'OneTimePrintingAuthorizationMintDecimalsShouldBeZero';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError);
}
}
}
exports.OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError = OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError;
createErrorFromCodeLookup.set(0x17, () => new OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError());
createErrorFromNameLookup.set('OneTimePrintingAuthorizationMintDecimalsShouldBeZero', () => new OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError());
/**
* EditionMintDecimalsShouldBeZero: 'EditionMintDecimalsShouldBeZero'
*
* @category Errors
* @category generated
*/
class EditionMintDecimalsShouldBeZeroError extends Error {
constructor() {
super('EditionMintDecimalsShouldBeZero');
this.code = 0x18;
this.name = 'EditionMintDecimalsShouldBeZero';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, EditionMintDecimalsShouldBeZeroError);
}
}
}
exports.EditionMintDecimalsShouldBeZeroError = EditionMintDecimalsShouldBeZeroError;
createErrorFromCodeLookup.set(0x18, () => new EditionMintDecimalsShouldBeZeroError());
createErrorFromNameLookup.set('EditionMintDecimalsShouldBeZero', () => new EditionMintDecimalsShouldBeZeroError());
/**
* TokenBurnFailed: ''
*
* @category Errors
* @category generated
*/
class TokenBurnFailedError extends Error {
constructor() {
super('');
this.code = 0x19;
this.name = 'TokenBurnFailed';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, TokenBurnFailedError);
}
}
}
exports.TokenBurnFailedError = TokenBurnFailedError;
createErrorFromCodeLookup.set(0x19, () => new TokenBurnFailedError());
createErrorFromNameLookup.set('TokenBurnFailed', () => new TokenBurnFailedError());
/**
* TokenAccountOneTimeAuthMintMismatch: ''
*
* @category Errors
* @category generated
*/
class TokenAccountOneTimeAuthMintMismatchError extends Error {
constructor() {
super('');
this.code = 0x1a;
this.name = 'TokenAccountOneTimeAuthMintMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, TokenAccountOneTimeAuthMintMismatchError);
}
}
}
exports.TokenAccountOneTimeAuthMintMismatchError = TokenAccountOneTimeAuthMintMismatchError;
createErrorFromCodeLookup.set(0x1a, () => new TokenAccountOneTimeAuthMintMismatchError());
createErrorFromNameLookup.set('TokenAccountOneTimeAuthMintMismatch', () => new TokenAccountOneTimeAuthMintMismatchError());
/**
* DerivedKeyInvalid: 'Derived key invalid'
*
* @category Errors
* @category generated
*/
class DerivedKeyInvalidError extends Error {
constructor() {
super('Derived key invalid');
this.code = 0x1b;
this.name = 'DerivedKeyInvalid';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, DerivedKeyInvalidError);
}
}
}
exports.DerivedKeyInvalidError = DerivedKeyInvalidError;
createErrorFromCodeLookup.set(0x1b, () => new DerivedKeyInvalidError());
createErrorFromNameLookup.set('DerivedKeyInvalid', () => new DerivedKeyInvalidError());
/**
* PrintingMintMismatch: 'The Printing mint does not match that on the master edition!'
*
* @category Errors
* @category generated
*/
class PrintingMintMismatchError extends Error {
constructor() {
super('The Printing mint does not match that on the master edition!');
this.code = 0x1c;
this.name = 'PrintingMintMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, PrintingMintMismatchError);
}
}
}
exports.PrintingMintMismatchError = PrintingMintMismatchError;
createErrorFromCodeLookup.set(0x1c, () => new PrintingMintMismatchError());
createErrorFromNameLookup.set('PrintingMintMismatch', () => new PrintingMintMismatchError());
/**
* OneTimePrintingAuthMintMismatch: 'The One Time Printing Auth mint does not match that on the master edition!'
*
* @category Errors
* @category generated
*/
class OneTimePrintingAuthMintMismatchError extends Error {
constructor() {
super('The One Time Printing Auth mint does not match that on the master edition!');
this.code = 0x1d;
this.name = 'OneTimePrintingAuthMintMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, OneTimePrintingAuthMintMismatchError);
}
}
}
exports.OneTimePrintingAuthMintMismatchError = OneTimePrintingAuthMintMismatchError;
createErrorFromCodeLookup.set(0x1d, () => new OneTimePrintingAuthMintMismatchError());
createErrorFromNameLookup.set('OneTimePrintingAuthMintMismatch', () => new OneTimePrintingAuthMintMismatchError());
/**
* TokenAccountMintMismatch: 'The mint of the token account does not match the Printing mint!'
*
* @category Errors
* @category generated
*/
class TokenAccountMintMismatchError extends Error {
constructor() {
super('The mint of the token account does not match the Printing mint!');
this.code = 0x1e;
this.name = 'TokenAccountMintMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, TokenAccountMintMismatchError);
}
}
}
exports.TokenAccountMintMismatchError = TokenAccountMintMismatchError;
createErrorFromCodeLookup.set(0x1e, () => new TokenAccountMintMismatchError());
createErrorFromNameLookup.set('TokenAccountMintMismatch', () => new TokenAccountMintMismatchError());
/**
* TokenAccountMintMismatchV2: 'The mint of the token account does not match the master metadata mint!'
*
* @category Errors
* @category generated
*/
class TokenAccountMintMismatchV2Error extends Error {
constructor() {
super('The mint of the token account does not match the master metadata mint!');
this.code = 0x1f;
this.name = 'TokenAccountMintMismatchV2';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, TokenAccountMintMismatchV2Error);
}
}
}
exports.TokenAccountMintMismatchV2Error = TokenAccountMintMismatchV2Error;
createErrorFromCodeLookup.set(0x1f, () => new TokenAccountMintMismatchV2Error());
createErrorFromNameLookup.set('TokenAccountMintMismatchV2', () => new TokenAccountMintMismatchV2Error());
/**
* NotEnoughTokens: 'Not enough tokens to mint a limited edition'
*
* @category Errors
* @category generated
*/
class NotEnoughTokensError extends Error {
constructor() {
super('Not enough tokens to mint a limited edition');
this.code = 0x20;
this.name = 'NotEnoughTokens';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, NotEnoughTokensError);
}
}
}
exports.NotEnoughTokensError = NotEnoughTokensError;
createErrorFromCodeLookup.set(0x20, () => new NotEnoughTokensError());
createErrorFromNameLookup.set('NotEnoughTokens', () => new NotEnoughTokensError());
/**
* PrintingMintAuthorizationAccountMismatch: ''
*
* @category Errors
* @category generated
*/
class PrintingMintAuthorizationAccountMismatchError extends Error {
constructor() {
super('');
this.code = 0x21;
this.name = 'PrintingMintAuthorizationAccountMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, PrintingMintAuthorizationAccountMismatchError);
}
}
}
exports.PrintingMintAuthorizationAccountMismatchError = PrintingMintAuthorizationAccountMismatchError;
createErrorFromCodeLookup.set(0x21, () => new PrintingMintAuthorizationAccountMismatchError());
createErrorFromNameLookup.set('PrintingMintAuthorizationAccountMismatch', () => new PrintingMintAuthorizationAccountMismatchError());
/**
* AuthorizationTokenAccountOwnerMismatch: ''
*
* @category Errors
* @category generated
*/
class AuthorizationTokenAccountOwnerMismatchError extends Error {
constructor() {
super('');
this.code = 0x22;
this.name = 'AuthorizationTokenAccountOwnerMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, AuthorizationTokenAccountOwnerMismatchError);
}
}
}
exports.AuthorizationTokenAccountOwnerMismatchError = AuthorizationTokenAccountOwnerMismatchError;
createErrorFromCodeLookup.set(0x22, () => new AuthorizationTokenAccountOwnerMismatchError());
createErrorFromNameLookup.set('AuthorizationTokenAccountOwnerMismatch', () => new AuthorizationTokenAccountOwnerMismatchError());
/**
* Disabled: ''
*
* @category Errors
* @category generated
*/
class DisabledError extends Error {
constructor() {
super('');
this.code = 0x23;
this.name = 'Disabled';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, DisabledError);
}
}
}
exports.DisabledError = DisabledError;
createErrorFromCodeLookup.set(0x23, () => new DisabledError());
createErrorFromNameLookup.set('Disabled', () => new DisabledError());
/**
* CreatorsTooLong: 'Creators list too long'
*
* @category Errors
* @category generated
*/
class CreatorsTooLongError extends Error {
constructor() {
super('Creators list too long');
this.code = 0x24;
this.name = 'CreatorsTooLong';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, CreatorsTooLongError);
}
}
}
exports.CreatorsTooLongError = CreatorsTooLongError;
createErrorFromCodeLookup.set(0x24, () => new CreatorsTooLongError());
createErrorFromNameLookup.set('CreatorsTooLong', () => new CreatorsTooLongError());
/**
* CreatorsMustBeAtleastOne: 'Creators must be at least one if set'
*
* @category Errors
* @category generated
*/
class CreatorsMustBeAtleastOneError extends Error {
constructor() {
super('Creators must be at least one if set');
this.code = 0x25;
this.name = 'CreatorsMustBeAtleastOne';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, CreatorsMustBeAtleastOneError);
}
}
}
exports.CreatorsMustBeAtleastOneError = CreatorsMustBeAtleastOneError;
createErrorFromCodeLookup.set(0x25, () => new CreatorsMustBeAtleastOneError());
createErrorFromNameLookup.set('CreatorsMustBeAtleastOne', () => new CreatorsMustBeAtleastOneError());
/**
* MustBeOneOfCreators: ''
*
* @category Errors
* @category generated
*/
class MustBeOneOfCreatorsError extends Error {
constructor() {
super('');
this.code = 0x26;
this.name = 'MustBeOneOfCreators';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, MustBeOneOfCreatorsError);
}
}
}
exports.MustBeOneOfCreatorsError = MustBeOneOfCreatorsError;
createErrorFromCodeLookup.set(0x26, () => new MustBeOneOfCreatorsError());
createErrorFromNameLookup.set('MustBeOneOfCreators', () => new MustBeOneOfCreatorsError());
/**
* NoCreatorsPresentOnMetadata: 'This metadata does not have creators'
*
* @category Errors
* @category generated
*/
class NoCreatorsPresentOnMetadataError extends Error {
constructor() {
super('This metadata does not have creators');
this.code = 0x27;
this.name = 'NoCreatorsPresentOnMetadata';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, NoCreatorsPresentOnMetadataError);
}
}
}
exports.NoCreatorsPresentOnMetadataError = NoCreatorsPresentOnMetadataError;
createErrorFromCodeLookup.set(0x27, () => new NoCreatorsPresentOnMetadataError());
createErrorFromNameLookup.set('NoCreatorsPresentOnMetadata', () => new NoCreatorsPresentOnMetadataError());
/**
* CreatorNotFound: 'This creator address was not found'
*
* @category Errors
* @category generated
*/
class CreatorNotFoundError extends Error {
constructor() {
super('This creator address was not found');
this.code = 0x28;
this.name = 'CreatorNotFound';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, CreatorNotFoundError);
}
}
}
exports.CreatorNotFoundError = CreatorNotFoundError;
createErrorFromCodeLookup.set(0x28, () => new CreatorNotFoundError());
createErrorFromNameLookup.set('CreatorNotFound', () => new CreatorNotFoundError());
/**
* InvalidBasisPoints: 'Basis points cannot be more than 10000'
*
* @category Errors
* @category generated
*/
class InvalidBasisPointsError extends Error {
constructor() {
super('Basis points cannot be more than 10000');
this.code = 0x29;
this.name = 'InvalidBasisPoints';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, InvalidBasisPointsError);
}
}
}
exports.InvalidBasisPointsError = InvalidBasisPointsError;
createErrorFromCodeLookup.set(0x29, () => new InvalidBasisPointsError());
createErrorFromNameLookup.set('InvalidBasisPoints', () => new InvalidBasisPointsError());
/**
* PrimarySaleCanOnlyBeFlippedToTrue: 'Primary sale can only be flipped to true and is immutable'
*
* @category Errors
* @category generated
*/
class PrimarySaleCanOnlyBeFlippedToTrueError extends Error {
constructor() {
super('Primary sale can only be flipped to true and is immutable');
this.code = 0x2a;
this.name = 'PrimarySaleCanOnlyBeFlippedToTrue';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, PrimarySaleCanOnlyBeFlippedToTrueError);
}
}
}
exports.PrimarySaleCanOnlyBeFlippedToTrueError = PrimarySaleCanOnlyBeFlippedToTrueError;
createErrorFromCodeLookup.set(0x2a, () => new PrimarySaleCanOnlyBeFlippedToTrueError());
createErrorFromNameLookup.set('PrimarySaleCanOnlyBeFlippedToTrue', () => new PrimarySaleCanOnlyBeFlippedToTrueError());
/**
* OwnerMismatch: 'Owner does not match that on the account given'
*
* @category Errors
* @category generated
*/
class OwnerMismatchError extends Error {
constructor() {
super('Owner does not match that on the account given');
this.code = 0x2b;
this.name = 'OwnerMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, OwnerMismatchError);
}
}
}
exports.OwnerMismatchError = OwnerMismatchError;
createErrorFromCodeLookup.set(0x2b, () => new OwnerMismatchError());
createErrorFromNameLookup.set('OwnerMismatch', () => new OwnerMismatchError());
/**
* NoBalanceInAccountForAuthorization: 'This account has no tokens to be used for authorization'
*
* @category Errors
* @category generated
*/
class NoBalanceInAccountForAuthorizationError extends Error {
constructor() {
super('This account has no tokens to be used for authorization');
this.code = 0x2c;
this.name = 'NoBalanceInAccountForAuthorization';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, NoBalanceInAccountForAuthorizationError);
}
}
}
exports.NoBalanceInAccountForAuthorizationError = NoBalanceInAccountForAuthorizationError;
createErrorFromCodeLookup.set(0x2c, () => new NoBalanceInAccountForAuthorizationError());
createErrorFromNameLookup.set('NoBalanceInAccountForAuthorization', () => new NoBalanceInAccountForAuthorizationError());
/**
* ShareTotalMustBe100: 'Share total must equal 100 for creator array'
*
* @category Errors
* @category generated
*/
class ShareTotalMustBe100Error extends Error {
constructor() {
super('Share total must equal 100 for creator array');
this.code = 0x2d;
this.name = 'ShareTotalMustBe100';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, ShareTotalMustBe100Error);
}
}
}
exports.ShareTotalMustBe100Error = ShareTotalMustBe100Error;
createErrorFromCodeLookup.set(0x2d, () => new ShareTotalMustBe100Error());
createErrorFromNameLookup.set('ShareTotalMustBe100', () => new ShareTotalMustBe100Error());
/**
* ReservationExists: ''
*
* @category Errors
* @category generated
*/
class ReservationExistsError extends Error {
constructor() {
super('');
this.code = 0x2e;
this.name = 'ReservationExists';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, ReservationExistsError);
}
}
}
exports.ReservationExistsError = ReservationExistsError;
createErrorFromCodeLookup.set(0x2e, () => new ReservationExistsError());
createErrorFromNameLookup.set('ReservationExists', () => new ReservationExistsError());
/**
* ReservationDoesNotExist: ''
*
* @category Errors
* @category generated
*/
class ReservationDoesNotExistError extends Error {
constructor() {
super('');
this.code = 0x2f;
this.name = 'ReservationDoesNotExist';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, ReservationDoesNotExistError);
}
}
}
exports.ReservationDoesNotExistError = ReservationDoesNotExistError;
createErrorFromCodeLookup.set(0x2f, () => new ReservationDoesNotExistError());
createErrorFromNameLookup.set('ReservationDoesNotExist', () => new ReservationDoesNotExistError());
/**
* ReservationNotSet: ''
*
* @category Errors
* @category generated
*/
class ReservationNotSetError extends Error {
constructor() {
super('');
this.code = 0x30;
this.name = 'ReservationNotSet';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, ReservationNotSetError);
}
}
}
exports.ReservationNotSetError = ReservationNotSetError;
createErrorFromCodeLookup.set(0x30, () => new ReservationNotSetError());
createErrorFromNameLookup.set('ReservationNotSet', () => new ReservationNotSetError());
/**
* ReservationAlreadyMade: ''
*
* @category Errors
* @category generated
*/
class ReservationAlreadyMadeError extends Error {
constructor() {
super('');
this.code = 0x31;
this.name = 'ReservationAlreadyMade';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, ReservationAlreadyMadeError);
}
}
}
exports.ReservationAlreadyMadeError = ReservationAlreadyMadeError;
createErrorFromCodeLookup.set(0x31, () => new ReservationAlreadyMadeError());
createErrorFromNameLookup.set('ReservationAlreadyMade', () => new ReservationAlreadyMadeError());
/**
* BeyondMaxAddressSize: ''
*
* @category Errors
* @category generated
*/
class BeyondMaxAddressSizeError extends Error {
constructor() {
super('');
this.code = 0x32;
this.name = 'BeyondMaxAddressSize';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, BeyondMaxAddressSizeError);
}
}
}
exports.BeyondMaxAddressSizeError = BeyondMaxAddressSizeError;
createErrorFromCodeLookup.set(0x32, () => new BeyondMaxAddressSizeError());
createErrorFromNameLookup.set('BeyondMaxAddressSize', () => new BeyondMaxAddressSizeError());
/**
* NumericalOverflowError: 'NumericalOverflowError'
*
* @category Errors
* @category generated
*/
class NumericalOverflowErrorError extends Error {
constructor() {
super('NumericalOverflowError');
this.code = 0x33;
this.name = 'NumericalOverflowError';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, NumericalOverflowErrorError);
}
}
}
exports.NumericalOverflowErrorError = NumericalOverflowErrorError;
createErrorFromCodeLookup.set(0x33, () => new NumericalOverflowErrorError());
createErrorFromNameLookup.set('NumericalOverflowError', () => new NumericalOverflowErrorError());
/**
* ReservationBreachesMaximumSupply: ''
*
* @category Errors
* @category generated
*/
class ReservationBreachesMaximumSupplyError extends Error {
constructor() {
super('');
this.code = 0x34;
this.name = 'ReservationBreachesMaximumSupply';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, ReservationBreachesMaximumSupplyError);
}
}
}
exports.ReservationBreachesMaximumSupplyError = ReservationBreachesMaximumSupplyError;
createErrorFromCodeLookup.set(0x34, () => new ReservationBreachesMaximumSupplyError());
createErrorFromNameLookup.set('ReservationBreachesMaximumSupply', () => new ReservationBreachesMaximumSupplyError());
/**
* AddressNotInReservation: ''
*
* @category Errors
* @category generated
*/
class AddressNotInReservationError extends Error {
constructor() {
super('');
this.code = 0x35;
this.name = 'AddressNotInReservation';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, AddressNotInReservationError);
}
}
}
exports.AddressNotInReservationError = AddressNotInReservationError;
createErrorFromCodeLookup.set(0x35, () => new AddressNotInReservationError());
createErrorFromNameLookup.set('AddressNotInReservation', () => new AddressNotInReservationError());
/**
* CannotVerifyAnotherCreator: 'You cannot unilaterally verify another creator, they must sign'
*
* @category Errors
* @category generated
*/
class CannotVerifyAnotherCreatorError extends Error {
constructor() {
super('You cannot unilaterally verify another creator, they must sign');
this.code = 0x36;
this.name = 'CannotVerifyAnotherCreator';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, CannotVerifyAnotherCreatorError);
}
}
}
exports.CannotVerifyAnotherCreatorError = CannotVerifyAnotherCreatorError;
createErrorFromCodeLookup.set(0x36, () => new CannotVerifyAnotherCreatorError());
createErrorFromNameLookup.set('CannotVerifyAnotherCreator', () => new CannotVerifyAnotherCreatorError());
/**
* CannotUnverifyAnotherCreator: 'You cannot unilaterally unverify another creator'
*
* @category Errors
* @category generated
*/
class CannotUnverifyAnotherCreatorError extends Error {
constructor() {
super('You cannot unilaterally unverify another creator');
this.code = 0x37;
this.name = 'CannotUnverifyAnotherCreator';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, CannotUnverifyAnotherCreatorError);
}
}
}
exports.CannotUnverifyAnotherCreatorError = CannotUnverifyAnotherCreatorError;
createErrorFromCodeLookup.set(0x37, () => new CannotUnverifyAnotherCreatorError());
createErrorFromNameLookup.set('CannotUnverifyAnotherCreator', () => new CannotUnverifyAnotherCreatorError());
/**
* SpotMismatch: ''
*
* @category Errors
* @category generated
*/
class SpotMismatchError extends Error {
constructor() {
super('');
this.code = 0x38;
this.name = 'SpotMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, SpotMismatchError);
}
}
}
exports.SpotMismatchError = SpotMismatchError;
createErrorFromCodeLookup.set(0x38, () => new SpotMismatchError());
createErrorFromNameLookup.set('SpotMismatch', () => new SpotMismatchError());
/**
* IncorrectOwner: 'Incorrect account owner'
*
* @category Errors
* @category generated
*/
class IncorrectOwnerError extends Error {
constructor() {
super('Incorrect account owner');
this.code = 0x39;
this.name = 'IncorrectOwner';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, IncorrectOwnerError);
}
}
}
exports.IncorrectOwnerError = IncorrectOwnerError;
createErrorFromCodeLookup.set(0x39, () => new IncorrectOwnerError());
createErrorFromNameLookup.set('IncorrectOwner', () => new IncorrectOwnerError());
/**
* PrintingWouldBreachMaximumSupply: ''
*
* @category Errors
* @category generated
*/
class PrintingWouldBreachMaximumSupplyError extends Error {
constructor() {
super('');
this.code = 0x3a;
this.name = 'PrintingWouldBreachMaximumSupply';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, PrintingWouldBreachMaximumSupplyError);
}
}
}
exports.PrintingWouldBreachMaximumSupplyError = PrintingWouldBreachMaximumSupplyError;
createErrorFromCodeLookup.set(0x3a, () => new PrintingWouldBreachMaximumSupplyError());
createErrorFromNameLookup.set('PrintingWouldBreachMaximumSupply', () => new PrintingWouldBreachMaximumSupplyError());
/**
* DataIsImmutable: 'Data is immutable'
*
* @category Errors
* @category generated
*/
class DataIsImmutableError extends Error {
constructor() {
super('Data is immutable');
this.code = 0x3b;
this.name = 'DataIsImmutable';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, DataIsImmutableError);
}
}
}
exports.DataIsImmutableError = DataIsImmutableError;
createErrorFromCodeLookup.set(0x3b, () => new DataIsImmutableError());
createErrorFromNameLookup.set('DataIsImmutable', () => new DataIsImmutableError());
/**
* DuplicateCreatorAddress: 'No duplicate creator addresses'
*
* @category Errors
* @category generated
*/
class DuplicateCreatorAddressError extends Error {
constructor() {
super('No duplicate creator addresses');
this.code = 0x3c;
this.name = 'DuplicateCreatorAddress';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, DuplicateCreatorAddressError);
}
}
}
exports.DuplicateCreatorAddressEr