@bbachain/spl-token-metadata
Version:
999 lines • 193 kB
JavaScript
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
exports.__esModule = 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;
var createErrorFromCodeLookup = new Map();
var createErrorFromNameLookup = new Map();
/**
* InstructionUnpackError: ''
*
* @category Errors
* @category generated
*/
var InstructionUnpackErrorError = /** @class */ (function (_super) {
__extends(InstructionUnpackErrorError, _super);
function InstructionUnpackErrorError() {
var _this = _super.call(this, '') || this;
_this.code = 0x0;
_this.name = 'InstructionUnpackError';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, InstructionUnpackErrorError);
}
return _this;
}
return InstructionUnpackErrorError;
}(Error));
exports.InstructionUnpackErrorError = InstructionUnpackErrorError;
createErrorFromCodeLookup.set(0x0, function () { return new InstructionUnpackErrorError(); });
createErrorFromNameLookup.set('InstructionUnpackError', function () { return new InstructionUnpackErrorError(); });
/**
* InstructionPackError: ''
*
* @category Errors
* @category generated
*/
var InstructionPackErrorError = /** @class */ (function (_super) {
__extends(InstructionPackErrorError, _super);
function InstructionPackErrorError() {
var _this = _super.call(this, '') || this;
_this.code = 0x1;
_this.name = 'InstructionPackError';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, InstructionPackErrorError);
}
return _this;
}
return InstructionPackErrorError;
}(Error));
exports.InstructionPackErrorError = InstructionPackErrorError;
createErrorFromCodeLookup.set(0x1, function () { return new InstructionPackErrorError(); });
createErrorFromNameLookup.set('InstructionPackError', function () { return new InstructionPackErrorError(); });
/**
* NotRentExempt: 'Lamport balance below rent-exempt threshold'
*
* @category Errors
* @category generated
*/
var NotRentExemptError = /** @class */ (function (_super) {
__extends(NotRentExemptError, _super);
function NotRentExemptError() {
var _this = _super.call(this, 'Lamport balance below rent-exempt threshold') || this;
_this.code = 0x2;
_this.name = 'NotRentExempt';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, NotRentExemptError);
}
return _this;
}
return NotRentExemptError;
}(Error));
exports.NotRentExemptError = NotRentExemptError;
createErrorFromCodeLookup.set(0x2, function () { return new NotRentExemptError(); });
createErrorFromNameLookup.set('NotRentExempt', function () { return new NotRentExemptError(); });
/**
* AlreadyInitialized: 'Already initialized'
*
* @category Errors
* @category generated
*/
var AlreadyInitializedError = /** @class */ (function (_super) {
__extends(AlreadyInitializedError, _super);
function AlreadyInitializedError() {
var _this = _super.call(this, 'Already initialized') || this;
_this.code = 0x3;
_this.name = 'AlreadyInitialized';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, AlreadyInitializedError);
}
return _this;
}
return AlreadyInitializedError;
}(Error));
exports.AlreadyInitializedError = AlreadyInitializedError;
createErrorFromCodeLookup.set(0x3, function () { return new AlreadyInitializedError(); });
createErrorFromNameLookup.set('AlreadyInitialized', function () { return new AlreadyInitializedError(); });
/**
* Uninitialized: 'Uninitialized'
*
* @category Errors
* @category generated
*/
var UninitializedError = /** @class */ (function (_super) {
__extends(UninitializedError, _super);
function UninitializedError() {
var _this = _super.call(this, 'Uninitialized') || this;
_this.code = 0x4;
_this.name = 'Uninitialized';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, UninitializedError);
}
return _this;
}
return UninitializedError;
}(Error));
exports.UninitializedError = UninitializedError;
createErrorFromCodeLookup.set(0x4, function () { return new UninitializedError(); });
createErrorFromNameLookup.set('Uninitialized', function () { return new UninitializedError(); });
/**
* InvalidMetadataKey: ' Metadata's key must match seed of ['metadata', program id, mint] provided'
*
* @category Errors
* @category generated
*/
var InvalidMetadataKeyError = /** @class */ (function (_super) {
__extends(InvalidMetadataKeyError, _super);
function InvalidMetadataKeyError() {
var _this = _super.call(this, " Metadata's key must match seed of ['metadata', program id, mint] provided") || this;
_this.code = 0x5;
_this.name = 'InvalidMetadataKey';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, InvalidMetadataKeyError);
}
return _this;
}
return InvalidMetadataKeyError;
}(Error));
exports.InvalidMetadataKeyError = InvalidMetadataKeyError;
createErrorFromCodeLookup.set(0x5, function () { return new InvalidMetadataKeyError(); });
createErrorFromNameLookup.set('InvalidMetadataKey', function () { return new InvalidMetadataKeyError(); });
/**
* InvalidEditionKey: 'Edition's key must match seed of ['metadata', program id, name, 'edition'] provided'
*
* @category Errors
* @category generated
*/
var InvalidEditionKeyError = /** @class */ (function (_super) {
__extends(InvalidEditionKeyError, _super);
function InvalidEditionKeyError() {
var _this = _super.call(this, "Edition's key must match seed of ['metadata', program id, name, 'edition'] provided") || this;
_this.code = 0x6;
_this.name = 'InvalidEditionKey';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, InvalidEditionKeyError);
}
return _this;
}
return InvalidEditionKeyError;
}(Error));
exports.InvalidEditionKeyError = InvalidEditionKeyError;
createErrorFromCodeLookup.set(0x6, function () { return new InvalidEditionKeyError(); });
createErrorFromNameLookup.set('InvalidEditionKey', function () { return new InvalidEditionKeyError(); });
/**
* UpdateAuthorityIncorrect: 'Update Authority given does not match'
*
* @category Errors
* @category generated
*/
var UpdateAuthorityIncorrectError = /** @class */ (function (_super) {
__extends(UpdateAuthorityIncorrectError, _super);
function UpdateAuthorityIncorrectError() {
var _this = _super.call(this, 'Update Authority given does not match') || this;
_this.code = 0x7;
_this.name = 'UpdateAuthorityIncorrect';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, UpdateAuthorityIncorrectError);
}
return _this;
}
return UpdateAuthorityIncorrectError;
}(Error));
exports.UpdateAuthorityIncorrectError = UpdateAuthorityIncorrectError;
createErrorFromCodeLookup.set(0x7, function () { return new UpdateAuthorityIncorrectError(); });
createErrorFromNameLookup.set('UpdateAuthorityIncorrect', function () { return new UpdateAuthorityIncorrectError(); });
/**
* UpdateAuthorityIsNotSigner: 'Update Authority needs to be signer to update metadata'
*
* @category Errors
* @category generated
*/
var UpdateAuthorityIsNotSignerError = /** @class */ (function (_super) {
__extends(UpdateAuthorityIsNotSignerError, _super);
function UpdateAuthorityIsNotSignerError() {
var _this = _super.call(this, 'Update Authority needs to be signer to update metadata') || this;
_this.code = 0x8;
_this.name = 'UpdateAuthorityIsNotSigner';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, UpdateAuthorityIsNotSignerError);
}
return _this;
}
return UpdateAuthorityIsNotSignerError;
}(Error));
exports.UpdateAuthorityIsNotSignerError = UpdateAuthorityIsNotSignerError;
createErrorFromCodeLookup.set(0x8, function () { return new UpdateAuthorityIsNotSignerError(); });
createErrorFromNameLookup.set('UpdateAuthorityIsNotSigner', function () { return new UpdateAuthorityIsNotSignerError(); });
/**
* NotMintAuthority: 'You must be the mint authority and signer on this transaction'
*
* @category Errors
* @category generated
*/
var NotMintAuthorityError = /** @class */ (function (_super) {
__extends(NotMintAuthorityError, _super);
function NotMintAuthorityError() {
var _this = _super.call(this, 'You must be the mint authority and signer on this transaction') || this;
_this.code = 0x9;
_this.name = 'NotMintAuthority';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, NotMintAuthorityError);
}
return _this;
}
return NotMintAuthorityError;
}(Error));
exports.NotMintAuthorityError = NotMintAuthorityError;
createErrorFromCodeLookup.set(0x9, function () { return new NotMintAuthorityError(); });
createErrorFromNameLookup.set('NotMintAuthority', function () { return new NotMintAuthorityError(); });
/**
* InvalidMintAuthority: 'Mint authority provided does not match the authority on the mint'
*
* @category Errors
* @category generated
*/
var InvalidMintAuthorityError = /** @class */ (function (_super) {
__extends(InvalidMintAuthorityError, _super);
function InvalidMintAuthorityError() {
var _this = _super.call(this, 'Mint authority provided does not match the authority on the mint') || this;
_this.code = 0xa;
_this.name = 'InvalidMintAuthority';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, InvalidMintAuthorityError);
}
return _this;
}
return InvalidMintAuthorityError;
}(Error));
exports.InvalidMintAuthorityError = InvalidMintAuthorityError;
createErrorFromCodeLookup.set(0xa, function () { return new InvalidMintAuthorityError(); });
createErrorFromNameLookup.set('InvalidMintAuthority', function () { return new InvalidMintAuthorityError(); });
/**
* NameTooLong: 'Name too long'
*
* @category Errors
* @category generated
*/
var NameTooLongError = /** @class */ (function (_super) {
__extends(NameTooLongError, _super);
function NameTooLongError() {
var _this = _super.call(this, 'Name too long') || this;
_this.code = 0xb;
_this.name = 'NameTooLong';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, NameTooLongError);
}
return _this;
}
return NameTooLongError;
}(Error));
exports.NameTooLongError = NameTooLongError;
createErrorFromCodeLookup.set(0xb, function () { return new NameTooLongError(); });
createErrorFromNameLookup.set('NameTooLong', function () { return new NameTooLongError(); });
/**
* SymbolTooLong: 'Symbol too long'
*
* @category Errors
* @category generated
*/
var SymbolTooLongError = /** @class */ (function (_super) {
__extends(SymbolTooLongError, _super);
function SymbolTooLongError() {
var _this = _super.call(this, 'Symbol too long') || this;
_this.code = 0xc;
_this.name = 'SymbolTooLong';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, SymbolTooLongError);
}
return _this;
}
return SymbolTooLongError;
}(Error));
exports.SymbolTooLongError = SymbolTooLongError;
createErrorFromCodeLookup.set(0xc, function () { return new SymbolTooLongError(); });
createErrorFromNameLookup.set('SymbolTooLong', function () { return new SymbolTooLongError(); });
/**
* UriTooLong: 'URI too long'
*
* @category Errors
* @category generated
*/
var UriTooLongError = /** @class */ (function (_super) {
__extends(UriTooLongError, _super);
function UriTooLongError() {
var _this = _super.call(this, 'URI too long') || this;
_this.code = 0xd;
_this.name = 'UriTooLong';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, UriTooLongError);
}
return _this;
}
return UriTooLongError;
}(Error));
exports.UriTooLongError = UriTooLongError;
createErrorFromCodeLookup.set(0xd, function () { return new UriTooLongError(); });
createErrorFromNameLookup.set('UriTooLong', function () { return new UriTooLongError(); });
/**
* UpdateAuthorityMustBeEqualToMetadataAuthorityAndSigner: ''
*
* @category Errors
* @category generated
*/
var UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError = /** @class */ (function (_super) {
__extends(UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError, _super);
function UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError() {
var _this = _super.call(this, '') || this;
_this.code = 0xe;
_this.name = 'UpdateAuthorityMustBeEqualToMetadataAuthorityAndSigner';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError);
}
return _this;
}
return UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError;
}(Error));
exports.UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError = UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError;
createErrorFromCodeLookup.set(0xe, function () { return new UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError(); });
createErrorFromNameLookup.set('UpdateAuthorityMustBeEqualToMetadataAuthorityAndSigner', function () { return new UpdateAuthorityMustBeEqualToMetadataAuthorityAndSignerError(); });
/**
* MintMismatch: 'Mint given does not match mint on Metadata'
*
* @category Errors
* @category generated
*/
var MintMismatchError = /** @class */ (function (_super) {
__extends(MintMismatchError, _super);
function MintMismatchError() {
var _this = _super.call(this, 'Mint given does not match mint on Metadata') || this;
_this.code = 0xf;
_this.name = 'MintMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, MintMismatchError);
}
return _this;
}
return MintMismatchError;
}(Error));
exports.MintMismatchError = MintMismatchError;
createErrorFromCodeLookup.set(0xf, function () { return new MintMismatchError(); });
createErrorFromNameLookup.set('MintMismatch', function () { return new MintMismatchError(); });
/**
* EditionsMustHaveExactlyOneToken: 'Editions must have exactly one token'
*
* @category Errors
* @category generated
*/
var EditionsMustHaveExactlyOneTokenError = /** @class */ (function (_super) {
__extends(EditionsMustHaveExactlyOneTokenError, _super);
function EditionsMustHaveExactlyOneTokenError() {
var _this = _super.call(this, 'Editions must have exactly one token') || this;
_this.code = 0x10;
_this.name = 'EditionsMustHaveExactlyOneToken';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, EditionsMustHaveExactlyOneTokenError);
}
return _this;
}
return EditionsMustHaveExactlyOneTokenError;
}(Error));
exports.EditionsMustHaveExactlyOneTokenError = EditionsMustHaveExactlyOneTokenError;
createErrorFromCodeLookup.set(0x10, function () { return new EditionsMustHaveExactlyOneTokenError(); });
createErrorFromNameLookup.set('EditionsMustHaveExactlyOneToken', function () { return new EditionsMustHaveExactlyOneTokenError(); });
/**
* MaxEditionsMintedAlready: ''
*
* @category Errors
* @category generated
*/
var MaxEditionsMintedAlreadyError = /** @class */ (function (_super) {
__extends(MaxEditionsMintedAlreadyError, _super);
function MaxEditionsMintedAlreadyError() {
var _this = _super.call(this, '') || this;
_this.code = 0x11;
_this.name = 'MaxEditionsMintedAlready';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, MaxEditionsMintedAlreadyError);
}
return _this;
}
return MaxEditionsMintedAlreadyError;
}(Error));
exports.MaxEditionsMintedAlreadyError = MaxEditionsMintedAlreadyError;
createErrorFromCodeLookup.set(0x11, function () { return new MaxEditionsMintedAlreadyError(); });
createErrorFromNameLookup.set('MaxEditionsMintedAlready', function () { return new MaxEditionsMintedAlreadyError(); });
/**
* TokenMintToFailed: ''
*
* @category Errors
* @category generated
*/
var TokenMintToFailedError = /** @class */ (function (_super) {
__extends(TokenMintToFailedError, _super);
function TokenMintToFailedError() {
var _this = _super.call(this, '') || this;
_this.code = 0x12;
_this.name = 'TokenMintToFailed';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, TokenMintToFailedError);
}
return _this;
}
return TokenMintToFailedError;
}(Error));
exports.TokenMintToFailedError = TokenMintToFailedError;
createErrorFromCodeLookup.set(0x12, function () { return new TokenMintToFailedError(); });
createErrorFromNameLookup.set('TokenMintToFailed', function () { return new TokenMintToFailedError(); });
/**
* MasterRecordMismatch: ''
*
* @category Errors
* @category generated
*/
var MasterRecordMismatchError = /** @class */ (function (_super) {
__extends(MasterRecordMismatchError, _super);
function MasterRecordMismatchError() {
var _this = _super.call(this, '') || this;
_this.code = 0x13;
_this.name = 'MasterRecordMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, MasterRecordMismatchError);
}
return _this;
}
return MasterRecordMismatchError;
}(Error));
exports.MasterRecordMismatchError = MasterRecordMismatchError;
createErrorFromCodeLookup.set(0x13, function () { return new MasterRecordMismatchError(); });
createErrorFromNameLookup.set('MasterRecordMismatch', function () { return new MasterRecordMismatchError(); });
/**
* DestinationMintMismatch: ''
*
* @category Errors
* @category generated
*/
var DestinationMintMismatchError = /** @class */ (function (_super) {
__extends(DestinationMintMismatchError, _super);
function DestinationMintMismatchError() {
var _this = _super.call(this, '') || this;
_this.code = 0x14;
_this.name = 'DestinationMintMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, DestinationMintMismatchError);
}
return _this;
}
return DestinationMintMismatchError;
}(Error));
exports.DestinationMintMismatchError = DestinationMintMismatchError;
createErrorFromCodeLookup.set(0x14, function () { return new DestinationMintMismatchError(); });
createErrorFromNameLookup.set('DestinationMintMismatch', function () { return new DestinationMintMismatchError(); });
/**
* EditionAlreadyMinted: ''
*
* @category Errors
* @category generated
*/
var EditionAlreadyMintedError = /** @class */ (function (_super) {
__extends(EditionAlreadyMintedError, _super);
function EditionAlreadyMintedError() {
var _this = _super.call(this, '') || this;
_this.code = 0x15;
_this.name = 'EditionAlreadyMinted';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, EditionAlreadyMintedError);
}
return _this;
}
return EditionAlreadyMintedError;
}(Error));
exports.EditionAlreadyMintedError = EditionAlreadyMintedError;
createErrorFromCodeLookup.set(0x15, function () { return new EditionAlreadyMintedError(); });
createErrorFromNameLookup.set('EditionAlreadyMinted', function () { return new EditionAlreadyMintedError(); });
/**
* PrintingMintDecimalsShouldBeZero: ''
*
* @category Errors
* @category generated
*/
var PrintingMintDecimalsShouldBeZeroError = /** @class */ (function (_super) {
__extends(PrintingMintDecimalsShouldBeZeroError, _super);
function PrintingMintDecimalsShouldBeZeroError() {
var _this = _super.call(this, '') || this;
_this.code = 0x16;
_this.name = 'PrintingMintDecimalsShouldBeZero';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, PrintingMintDecimalsShouldBeZeroError);
}
return _this;
}
return PrintingMintDecimalsShouldBeZeroError;
}(Error));
exports.PrintingMintDecimalsShouldBeZeroError = PrintingMintDecimalsShouldBeZeroError;
createErrorFromCodeLookup.set(0x16, function () { return new PrintingMintDecimalsShouldBeZeroError(); });
createErrorFromNameLookup.set('PrintingMintDecimalsShouldBeZero', function () { return new PrintingMintDecimalsShouldBeZeroError(); });
/**
* OneTimePrintingAuthorizationMintDecimalsShouldBeZero: ''
*
* @category Errors
* @category generated
*/
var OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError = /** @class */ (function (_super) {
__extends(OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError, _super);
function OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError() {
var _this = _super.call(this, '') || this;
_this.code = 0x17;
_this.name = 'OneTimePrintingAuthorizationMintDecimalsShouldBeZero';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError);
}
return _this;
}
return OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError;
}(Error));
exports.OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError = OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError;
createErrorFromCodeLookup.set(0x17, function () { return new OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError(); });
createErrorFromNameLookup.set('OneTimePrintingAuthorizationMintDecimalsShouldBeZero', function () { return new OneTimePrintingAuthorizationMintDecimalsShouldBeZeroError(); });
/**
* EditionMintDecimalsShouldBeZero: 'EditionMintDecimalsShouldBeZero'
*
* @category Errors
* @category generated
*/
var EditionMintDecimalsShouldBeZeroError = /** @class */ (function (_super) {
__extends(EditionMintDecimalsShouldBeZeroError, _super);
function EditionMintDecimalsShouldBeZeroError() {
var _this = _super.call(this, 'EditionMintDecimalsShouldBeZero') || this;
_this.code = 0x18;
_this.name = 'EditionMintDecimalsShouldBeZero';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, EditionMintDecimalsShouldBeZeroError);
}
return _this;
}
return EditionMintDecimalsShouldBeZeroError;
}(Error));
exports.EditionMintDecimalsShouldBeZeroError = EditionMintDecimalsShouldBeZeroError;
createErrorFromCodeLookup.set(0x18, function () { return new EditionMintDecimalsShouldBeZeroError(); });
createErrorFromNameLookup.set('EditionMintDecimalsShouldBeZero', function () { return new EditionMintDecimalsShouldBeZeroError(); });
/**
* TokenBurnFailed: ''
*
* @category Errors
* @category generated
*/
var TokenBurnFailedError = /** @class */ (function (_super) {
__extends(TokenBurnFailedError, _super);
function TokenBurnFailedError() {
var _this = _super.call(this, '') || this;
_this.code = 0x19;
_this.name = 'TokenBurnFailed';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, TokenBurnFailedError);
}
return _this;
}
return TokenBurnFailedError;
}(Error));
exports.TokenBurnFailedError = TokenBurnFailedError;
createErrorFromCodeLookup.set(0x19, function () { return new TokenBurnFailedError(); });
createErrorFromNameLookup.set('TokenBurnFailed', function () { return new TokenBurnFailedError(); });
/**
* TokenAccountOneTimeAuthMintMismatch: ''
*
* @category Errors
* @category generated
*/
var TokenAccountOneTimeAuthMintMismatchError = /** @class */ (function (_super) {
__extends(TokenAccountOneTimeAuthMintMismatchError, _super);
function TokenAccountOneTimeAuthMintMismatchError() {
var _this = _super.call(this, '') || this;
_this.code = 0x1a;
_this.name = 'TokenAccountOneTimeAuthMintMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, TokenAccountOneTimeAuthMintMismatchError);
}
return _this;
}
return TokenAccountOneTimeAuthMintMismatchError;
}(Error));
exports.TokenAccountOneTimeAuthMintMismatchError = TokenAccountOneTimeAuthMintMismatchError;
createErrorFromCodeLookup.set(0x1a, function () { return new TokenAccountOneTimeAuthMintMismatchError(); });
createErrorFromNameLookup.set('TokenAccountOneTimeAuthMintMismatch', function () { return new TokenAccountOneTimeAuthMintMismatchError(); });
/**
* DerivedKeyInvalid: 'Derived key invalid'
*
* @category Errors
* @category generated
*/
var DerivedKeyInvalidError = /** @class */ (function (_super) {
__extends(DerivedKeyInvalidError, _super);
function DerivedKeyInvalidError() {
var _this = _super.call(this, 'Derived key invalid') || this;
_this.code = 0x1b;
_this.name = 'DerivedKeyInvalid';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, DerivedKeyInvalidError);
}
return _this;
}
return DerivedKeyInvalidError;
}(Error));
exports.DerivedKeyInvalidError = DerivedKeyInvalidError;
createErrorFromCodeLookup.set(0x1b, function () { return new DerivedKeyInvalidError(); });
createErrorFromNameLookup.set('DerivedKeyInvalid', function () { return new DerivedKeyInvalidError(); });
/**
* PrintingMintMismatch: 'The Printing mint does not match that on the master edition!'
*
* @category Errors
* @category generated
*/
var PrintingMintMismatchError = /** @class */ (function (_super) {
__extends(PrintingMintMismatchError, _super);
function PrintingMintMismatchError() {
var _this = _super.call(this, 'The Printing mint does not match that on the master edition!') || this;
_this.code = 0x1c;
_this.name = 'PrintingMintMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, PrintingMintMismatchError);
}
return _this;
}
return PrintingMintMismatchError;
}(Error));
exports.PrintingMintMismatchError = PrintingMintMismatchError;
createErrorFromCodeLookup.set(0x1c, function () { return new PrintingMintMismatchError(); });
createErrorFromNameLookup.set('PrintingMintMismatch', function () { return new PrintingMintMismatchError(); });
/**
* OneTimePrintingAuthMintMismatch: 'The One Time Printing Auth mint does not match that on the master edition!'
*
* @category Errors
* @category generated
*/
var OneTimePrintingAuthMintMismatchError = /** @class */ (function (_super) {
__extends(OneTimePrintingAuthMintMismatchError, _super);
function OneTimePrintingAuthMintMismatchError() {
var _this = _super.call(this, 'The One Time Printing Auth mint does not match that on the master edition!') || this;
_this.code = 0x1d;
_this.name = 'OneTimePrintingAuthMintMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, OneTimePrintingAuthMintMismatchError);
}
return _this;
}
return OneTimePrintingAuthMintMismatchError;
}(Error));
exports.OneTimePrintingAuthMintMismatchError = OneTimePrintingAuthMintMismatchError;
createErrorFromCodeLookup.set(0x1d, function () { return new OneTimePrintingAuthMintMismatchError(); });
createErrorFromNameLookup.set('OneTimePrintingAuthMintMismatch', function () { return new OneTimePrintingAuthMintMismatchError(); });
/**
* TokenAccountMintMismatch: 'The mint of the token account does not match the Printing mint!'
*
* @category Errors
* @category generated
*/
var TokenAccountMintMismatchError = /** @class */ (function (_super) {
__extends(TokenAccountMintMismatchError, _super);
function TokenAccountMintMismatchError() {
var _this = _super.call(this, 'The mint of the token account does not match the Printing mint!') || this;
_this.code = 0x1e;
_this.name = 'TokenAccountMintMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, TokenAccountMintMismatchError);
}
return _this;
}
return TokenAccountMintMismatchError;
}(Error));
exports.TokenAccountMintMismatchError = TokenAccountMintMismatchError;
createErrorFromCodeLookup.set(0x1e, function () { return new TokenAccountMintMismatchError(); });
createErrorFromNameLookup.set('TokenAccountMintMismatch', function () { return new TokenAccountMintMismatchError(); });
/**
* TokenAccountMintMismatchV2: 'The mint of the token account does not match the master metadata mint!'
*
* @category Errors
* @category generated
*/
var TokenAccountMintMismatchV2Error = /** @class */ (function (_super) {
__extends(TokenAccountMintMismatchV2Error, _super);
function TokenAccountMintMismatchV2Error() {
var _this = _super.call(this, 'The mint of the token account does not match the master metadata mint!') || this;
_this.code = 0x1f;
_this.name = 'TokenAccountMintMismatchV2';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, TokenAccountMintMismatchV2Error);
}
return _this;
}
return TokenAccountMintMismatchV2Error;
}(Error));
exports.TokenAccountMintMismatchV2Error = TokenAccountMintMismatchV2Error;
createErrorFromCodeLookup.set(0x1f, function () { return new TokenAccountMintMismatchV2Error(); });
createErrorFromNameLookup.set('TokenAccountMintMismatchV2', function () { return new TokenAccountMintMismatchV2Error(); });
/**
* NotEnoughTokens: 'Not enough tokens to mint a limited edition'
*
* @category Errors
* @category generated
*/
var NotEnoughTokensError = /** @class */ (function (_super) {
__extends(NotEnoughTokensError, _super);
function NotEnoughTokensError() {
var _this = _super.call(this, 'Not enough tokens to mint a limited edition') || this;
_this.code = 0x20;
_this.name = 'NotEnoughTokens';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, NotEnoughTokensError);
}
return _this;
}
return NotEnoughTokensError;
}(Error));
exports.NotEnoughTokensError = NotEnoughTokensError;
createErrorFromCodeLookup.set(0x20, function () { return new NotEnoughTokensError(); });
createErrorFromNameLookup.set('NotEnoughTokens', function () { return new NotEnoughTokensError(); });
/**
* PrintingMintAuthorizationAccountMismatch: ''
*
* @category Errors
* @category generated
*/
var PrintingMintAuthorizationAccountMismatchError = /** @class */ (function (_super) {
__extends(PrintingMintAuthorizationAccountMismatchError, _super);
function PrintingMintAuthorizationAccountMismatchError() {
var _this = _super.call(this, '') || this;
_this.code = 0x21;
_this.name = 'PrintingMintAuthorizationAccountMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, PrintingMintAuthorizationAccountMismatchError);
}
return _this;
}
return PrintingMintAuthorizationAccountMismatchError;
}(Error));
exports.PrintingMintAuthorizationAccountMismatchError = PrintingMintAuthorizationAccountMismatchError;
createErrorFromCodeLookup.set(0x21, function () { return new PrintingMintAuthorizationAccountMismatchError(); });
createErrorFromNameLookup.set('PrintingMintAuthorizationAccountMismatch', function () { return new PrintingMintAuthorizationAccountMismatchError(); });
/**
* AuthorizationTokenAccountOwnerMismatch: ''
*
* @category Errors
* @category generated
*/
var AuthorizationTokenAccountOwnerMismatchError = /** @class */ (function (_super) {
__extends(AuthorizationTokenAccountOwnerMismatchError, _super);
function AuthorizationTokenAccountOwnerMismatchError() {
var _this = _super.call(this, '') || this;
_this.code = 0x22;
_this.name = 'AuthorizationTokenAccountOwnerMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, AuthorizationTokenAccountOwnerMismatchError);
}
return _this;
}
return AuthorizationTokenAccountOwnerMismatchError;
}(Error));
exports.AuthorizationTokenAccountOwnerMismatchError = AuthorizationTokenAccountOwnerMismatchError;
createErrorFromCodeLookup.set(0x22, function () { return new AuthorizationTokenAccountOwnerMismatchError(); });
createErrorFromNameLookup.set('AuthorizationTokenAccountOwnerMismatch', function () { return new AuthorizationTokenAccountOwnerMismatchError(); });
/**
* Disabled: ''
*
* @category Errors
* @category generated
*/
var DisabledError = /** @class */ (function (_super) {
__extends(DisabledError, _super);
function DisabledError() {
var _this = _super.call(this, '') || this;
_this.code = 0x23;
_this.name = 'Disabled';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, DisabledError);
}
return _this;
}
return DisabledError;
}(Error));
exports.DisabledError = DisabledError;
createErrorFromCodeLookup.set(0x23, function () { return new DisabledError(); });
createErrorFromNameLookup.set('Disabled', function () { return new DisabledError(); });
/**
* CreatorsTooLong: 'Creators list too long'
*
* @category Errors
* @category generated
*/
var CreatorsTooLongError = /** @class */ (function (_super) {
__extends(CreatorsTooLongError, _super);
function CreatorsTooLongError() {
var _this = _super.call(this, 'Creators list too long') || this;
_this.code = 0x24;
_this.name = 'CreatorsTooLong';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, CreatorsTooLongError);
}
return _this;
}
return CreatorsTooLongError;
}(Error));
exports.CreatorsTooLongError = CreatorsTooLongError;
createErrorFromCodeLookup.set(0x24, function () { return new CreatorsTooLongError(); });
createErrorFromNameLookup.set('CreatorsTooLong', function () { return new CreatorsTooLongError(); });
/**
* CreatorsMustBeAtleastOne: 'Creators must be at least one if set'
*
* @category Errors
* @category generated
*/
var CreatorsMustBeAtleastOneError = /** @class */ (function (_super) {
__extends(CreatorsMustBeAtleastOneError, _super);
function CreatorsMustBeAtleastOneError() {
var _this = _super.call(this, 'Creators must be at least one if set') || this;
_this.code = 0x25;
_this.name = 'CreatorsMustBeAtleastOne';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, CreatorsMustBeAtleastOneError);
}
return _this;
}
return CreatorsMustBeAtleastOneError;
}(Error));
exports.CreatorsMustBeAtleastOneError = CreatorsMustBeAtleastOneError;
createErrorFromCodeLookup.set(0x25, function () { return new CreatorsMustBeAtleastOneError(); });
createErrorFromNameLookup.set('CreatorsMustBeAtleastOne', function () { return new CreatorsMustBeAtleastOneError(); });
/**
* MustBeOneOfCreators: ''
*
* @category Errors
* @category generated
*/
var MustBeOneOfCreatorsError = /** @class */ (function (_super) {
__extends(MustBeOneOfCreatorsError, _super);
function MustBeOneOfCreatorsError() {
var _this = _super.call(this, '') || this;
_this.code = 0x26;
_this.name = 'MustBeOneOfCreators';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, MustBeOneOfCreatorsError);
}
return _this;
}
return MustBeOneOfCreatorsError;
}(Error));
exports.MustBeOneOfCreatorsError = MustBeOneOfCreatorsError;
createErrorFromCodeLookup.set(0x26, function () { return new MustBeOneOfCreatorsError(); });
createErrorFromNameLookup.set('MustBeOneOfCreators', function () { return new MustBeOneOfCreatorsError(); });
/**
* NoCreatorsPresentOnMetadata: 'This metadata does not have creators'
*
* @category Errors
* @category generated
*/
var NoCreatorsPresentOnMetadataError = /** @class */ (function (_super) {
__extends(NoCreatorsPresentOnMetadataError, _super);
function NoCreatorsPresentOnMetadataError() {
var _this = _super.call(this, 'This metadata does not have creators') || this;
_this.code = 0x27;
_this.name = 'NoCreatorsPresentOnMetadata';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, NoCreatorsPresentOnMetadataError);
}
return _this;
}
return NoCreatorsPresentOnMetadataError;
}(Error));
exports.NoCreatorsPresentOnMetadataError = NoCreatorsPresentOnMetadataError;
createErrorFromCodeLookup.set(0x27, function () { return new NoCreatorsPresentOnMetadataError(); });
createErrorFromNameLookup.set('NoCreatorsPresentOnMetadata', function () { return new NoCreatorsPresentOnMetadataError(); });
/**
* CreatorNotFound: 'This creator address was not found'
*
* @category Errors
* @category generated
*/
var CreatorNotFoundError = /** @class */ (function (_super) {
__extends(CreatorNotFoundError, _super);
function CreatorNotFoundError() {
var _this = _super.call(this, 'This creator address was not found') || this;
_this.code = 0x28;
_this.name = 'CreatorNotFound';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, CreatorNotFoundError);
}
return _this;
}
return CreatorNotFoundError;
}(Error));
exports.CreatorNotFoundError = CreatorNotFoundError;
createErrorFromCodeLookup.set(0x28, function () { return new CreatorNotFoundError(); });
createErrorFromNameLookup.set('CreatorNotFound', function () { return new CreatorNotFoundError(); });
/**
* InvalidBasisPoints: 'Basis points cannot be more than 10000'
*
* @category Errors
* @category generated
*/
var InvalidBasisPointsError = /** @class */ (function (_super) {
__extends(InvalidBasisPointsError, _super);
function InvalidBasisPointsError() {
var _this = _super.call(this, 'Basis points cannot be more than 10000') || this;
_this.code = 0x29;
_this.name = 'InvalidBasisPoints';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, InvalidBasisPointsError);
}
return _this;
}
return InvalidBasisPointsError;
}(Error));
exports.InvalidBasisPointsError = InvalidBasisPointsError;
createErrorFromCodeLookup.set(0x29, function () { return new InvalidBasisPointsError(); });
createErrorFromNameLookup.set('InvalidBasisPoints', function () { return new InvalidBasisPointsError(); });
/**
* PrimarySaleCanOnlyBeFlippedToTrue: 'Primary sale can only be flipped to true and is immutable'
*
* @category Errors
* @category generated
*/
var PrimarySaleCanOnlyBeFlippedToTrueError = /** @class */ (function (_super) {
__extends(PrimarySaleCanOnlyBeFlippedToTrueError, _super);
function PrimarySaleCanOnlyBeFlippedToTrueError() {
var _this = _super.call(this, 'Primary sale can only be flipped to true and is immutable') || this;
_this.code = 0x2a;
_this.name = 'PrimarySaleCanOnlyBeFlippedToTrue';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, PrimarySaleCanOnlyBeFlippedToTrueError);
}
return _this;
}
return PrimarySaleCanOnlyBeFlippedToTrueError;
}(Error));
exports.PrimarySaleCanOnlyBeFlippedToTrueError = PrimarySaleCanOnlyBeFlippedToTrueError;
createErrorFromCodeLookup.set(0x2a, function () { return new PrimarySaleCanOnlyBeFlippedToTrueError(); });
createErrorFromNameLookup.set('PrimarySaleCanOnlyBeFlippedToTrue', function () { return new PrimarySaleCanOnlyBeFlippedToTrueError(); });
/**
* OwnerMismatch: 'Owner does not match that on the account given'
*
* @category Errors
* @category generated
*/
var OwnerMismatchError = /** @class */ (function (_super) {
__extends(OwnerMismatchError, _super);
function OwnerMismatchError() {
var _this = _super.call(this, 'Owner does not match that on the account given') || this;
_this.code = 0x2b;
_this.name = 'OwnerMismatch';
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(_this, OwnerMismatchError);
}
return _this;
}
return OwnerMismatchError;
}(Error));
exports.OwnerMismatchError = OwnerMismatchError;
createErrorFromCodeLookup.set(0x2b, function () { return new OwnerMismatchError(); });
createErrorFromNameLookup.set('OwnerMismatch', function () { return new OwnerMismatchError(); });
/**
* NoBalanceInAccountForAuthorization: 'This account has no tokens to be used for authorization'
*
* @category Errors
* @category generated
*/
var NoBalanceInAccountForAuthorizationError = /** @class */ (function (_super) {
__extends(NoBalanceInAcc