File tree Expand file tree Collapse file tree 2 files changed +6
-123
lines changed
Expand file tree Collapse file tree 2 files changed +6
-123
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export default class DropKit {
7474 throw new Error ( 'Initialization failed' )
7575 }
7676
77- const dropPrice = await this . contract ?. _price ( )
77+ const dropPrice = await this . contract ?. price ( )
7878 return Number ( ethers . utils . formatEther ( dropPrice ) )
7979 }
8080
@@ -83,7 +83,7 @@ export default class DropKit {
8383 throw new Error ( 'Initialization failed' )
8484 }
8585
86- const maxMint = await await this . contract ?. _maxPerMint ( )
86+ const maxMint = await await this . contract ?. maxPerMint ( )
8787 return maxMint . toNumber ( )
8888 }
8989
@@ -92,7 +92,7 @@ export default class DropKit {
9292 throw new Error ( 'Initialization failed' )
9393 }
9494
95- const maxWallet = await await this . contract ?. _maxPerWallet ( )
95+ const maxWallet = await await this . contract ?. maxPerWallet ( )
9696 return maxWallet . toNumber ( )
9797 }
9898
You can’t perform that action at this time.
0 commit comments