0

function mint(address user, uint256 value) external onlyOwner { require(user == OWNER, "NOT_OWNER");

    balances[user] = balances[user].add(value);
    totalSupply = totalSupply.add(value);
    emit Mint(user, value);
    emit Transfer(address(0), user, value);

1 Answer 1

0

enter image description here

function mint(address user, uint256 value) external onlyOwner { require(user == OWNER, "NOT_OWNER"); how do i solve this problem???

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.