0

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

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);
}
4
  • Most likely the constructor reverts. Commented Jun 7, 2023 at 13:03
  • @LauriPeltonen you mean constructor contract reverts? constructor( string memory _name, string memory _symbol ) ERC721A(_name, _symbol) { } Commented Jun 7, 2023 at 13:19
  • Constructor code Commented Jun 7, 2023 at 14:01
  • @LauriPeltonen this ERC721A I'm reproducing Commented Jun 8, 2023 at 4:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.