I noticed you can actually put 3 arg into the deploy functions
.deploy(0,0,0)
min 3 , what is the purpose of the 3 variables. I. can't seem to find it on the documentation
Documentation Reference : https://docs.ethers.io/v5/api/contract/contract-factory/
let factory = new ethers.ContractFactory(abi, bytecode, signer);
let contract = await factory.deploy(0,0,0);
await contract.deployed()
I tried this and it's returning 0 fees on metamask tx
const deployedContract = await factory.deploy(tokenURI, maxQuantity, cost, {
gasLimit: 2,
gasPrice: ethers.utils.parseUnits(price, price_unit),
})