File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -83,19 +83,19 @@ export async function nextTokenIdToMint(
8383 > ,
8484) : Promise < BigNumber > {
8585 if ( hasFunction < TokenERC721 > ( "nextTokenIdToMint" , contractWrapper ) ) {
86- let nextTokenIdToMint = await (
86+ let _nextTokenIdToMint = await (
8787 contractWrapper as ContractWrapper < TokenERC721 >
8888 ) . read ( "nextTokenIdToMint" , [ ] ) ;
8989 // handle open editions and contracts with startTokenId
9090 if ( hasFunction < OpenEditionERC721 > ( "startTokenId" , contractWrapper ) ) {
91- nextTokenIdToMint = nextTokenIdToMint . sub (
91+ _nextTokenIdToMint = _nextTokenIdToMint . sub (
9292 await ( contractWrapper as ContractWrapper < OpenEditionERC721 > ) . read (
9393 "startTokenId" ,
9494 [ ] ,
9595 ) ,
9696 ) ;
9797 }
98- return nextTokenIdToMint ;
98+ return _nextTokenIdToMint ;
9999 } else if ( hasFunction < TokenERC721 > ( "totalSupply" , contractWrapper ) ) {
100100 return await ( contractWrapper as ContractWrapper < TokenERC721 > ) . read (
101101 "totalSupply" ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import type {
1616 Zora_IERC721Drop ,
1717} from "@thirdweb-dev/contracts-js" ;
1818import type { ThirdwebStorage } from "@thirdweb-dev/storage" ;
19- import { BigNumber , BigNumberish , constants } from "ethers" ;
19+ import { BigNumber , BigNumberish } from "ethers" ;
2020import {
2121 DEFAULT_QUERY_ALL_COUNT ,
2222 type QueryAllParams ,
@@ -34,7 +34,7 @@ import {
3434import { assertEnabled } from "../../common/feature-detection/assertEnabled" ;
3535import { detectContractFeature } from "../../common/feature-detection/detectContractFeature" ;
3636import { hasFunction } from "../../common/feature-detection/hasFunction" ;
37- import { FALLBACK_METADATA , fetchTokenMetadata } from "../../common/nft" ;
37+ import { fetchTokenMetadata } from "../../common/nft" ;
3838import { buildTransactionFunction } from "../../common/transactions" ;
3939import {
4040 FEATURE_NFT ,
You can’t perform that action at this time.
0 commit comments