chiru-labs/ERC721A

We were not able to estimate gas. There might be an error in the contract and this transaction may fail

bunthoeunstable opened this issue · 0 comments

hello, please core team help check.
testnet working, but on mainnet is not work

https://etherscan.io/address/0x24288d6332f800282eE0538d044dcaA3A8786Aaf#writeContract

function minterMint(
address to,
uint256 quantity,
address payee,
uint256 price
) external payable {

    require(maxSupply >= totalSupply() + quantity, "insufficent supply");
    require(!paused, "mint is paused");
    require(msg.value >= unitPrice * quantity, "insufficent balance");
    require(payeeAddress == payee, "invalid payee address");
    payable(payeeAddress).transfer(price);
    _mint(to, quantity);
}