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

0

Your Answer

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