Skip to content

Commit 9d50f8a

Browse files
committed
Update ABI
1 parent ef84e33 commit 9d50f8a

File tree

2 files changed

+6
-123
lines changed

2 files changed

+6
-123
lines changed

src/DropKit.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)