ICO
ICO copied to clipboard
Error in contract instance name in getOwner function in index.js
In the index.js file of my app folder, the getOwner function initializes the instance of the contract as
const nftContract = new Contract(TOKEN_CONTRACT_ADDRESS, TOKEN_CONTRACT_ABI, provider);
const _owner = await tokenContract.owner();
I think the contract name should be
const tokenContract = new Contract(TOKEN_CONTRACT_ADDRESS, TOKEN_CONTRACT_ABI, provider);
const _owner = await tokenContract.owner();
@haardikk21 @Sneh1999 @KacieAhmed Any chance y'all can look into this?
@yanukadeneth99 this was resolved earlier today