difftreelog
Move isExist method to UniqueBaseToken class
in: master
1 file changed
tests/src/util/playgrounds/unique.tsdiffbeforeafterboth2607 return await this.collection.deleteTokenProperties(signer, this.tokenId, propertyKeys);2607 return await this.collection.deleteTokenProperties(signer, this.tokenId, propertyKeys);2608 }2608 }26092610 async isExist() {2611 return await this.collection.isTokenExists(this.tokenId);2612 }260926132610 nestingAccount() {2614 nestingAccount() {2611 return this.collection.helper.util.getTokenAccount(this);2615 return this.collection.helper.util.getTokenAccount(this);2661 return await this.collection.isTokenApproved(this.tokenId, toAddressObj);2665 return await this.collection.isTokenApproved(this.tokenId, toAddressObj);2662 }2666 }26632664 async isExist() {2665 return await this.collection.isTokenExists(this.tokenId);2666 }266726672668 async burn(signer: TSigner) {2668 async burn(signer: TSigner) {2669 return await this.collection.burnToken(signer, this.tokenId);2669 return await this.collection.burnToken(signer, this.tokenId);2698 return await this.collection.getTokenTotalPieces(this.tokenId);2698 return await this.collection.getTokenTotalPieces(this.tokenId);2699 }2699 }27002701 async isExist() {2702 return await this.collection.isTokenExists(this.tokenId);2703 }270427002705 async getApprovedPieces(fromAddressObj: ICrossAccountId, toAccountObj: ICrossAccountId) {2701 async getApprovedPieces(fromAddressObj: ICrossAccountId, toAccountObj: ICrossAccountId) {2706 return await this.collection.getTokenApprovedPieces(this.tokenId, fromAddressObj, toAccountObj);2702 return await this.collection.getTokenApprovedPieces(this.tokenId, fromAddressObj, toAccountObj);