From f6544e68902b93f5a6cb40efffb78da4a461d4cb Mon Sep 17 00:00:00 2001 From: Max Andreev Date: Tue, 04 Oct 2022 07:58:39 +0000 Subject: [PATCH] Move isExist method to UniqueBaseToken class --- --- a/tests/src/util/playgrounds/unique.ts +++ b/tests/src/util/playgrounds/unique.ts @@ -2607,6 +2607,10 @@ return await this.collection.deleteTokenProperties(signer, this.tokenId, propertyKeys); } + async isExist() { + return await this.collection.isTokenExists(this.tokenId); + } + nestingAccount() { return this.collection.helper.util.getTokenAccount(this); } @@ -2659,10 +2663,6 @@ async isApproved(toAddressObj: ICrossAccountId) { return await this.collection.isTokenApproved(this.tokenId, toAddressObj); - } - - async isExist() { - return await this.collection.isTokenExists(this.tokenId); } async burn(signer: TSigner) { @@ -2696,10 +2696,6 @@ async getTotalPieces() { return await this.collection.getTokenTotalPieces(this.tokenId); - } - - async isExist() { - return await this.collection.isTokenExists(this.tokenId); } async getApprovedPieces(fromAddressObj: ICrossAccountId, toAccountObj: ICrossAccountId) { -- gitstuff