Hello. I need your help! Can't validate smart contract on BscScan. What am I doing wrong?
I'm pasting a flattened version of the contract. In the ABI field, I generate a byte code on the abi.hashex.org website indicating JSON and the address. Still an error.
Please help me figure out what I am doing wrong and what is the problem?
// Contract code
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts@4.5.0/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts@4.5.0/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts@4.5.0/security/Pausable.sol";
import "@openzeppelin/contracts@4.5.0/access/Ownable.sol";
contract Camloo is ERC20, ERC20Burnable, Pausable, Ownable {
constructor() ERC20("Camloo", "CAML") {
_mint(msg.sender, 100000000 * 10 ** decimals());
}
function pause() public onlyOwner {
_pause();
}
function unpause() public onlyOwner {
_unpause();
}
function _beforeTokenTransfer(address from, address to, uint256 amount)
internal
whenNotPaused
override
{
super._beforeTokenTransfer(from, to, amount);
}
}
Contract adress
0x111acb0fa947e6147d7d9ff6f03f29812b5d74e1
Founder adress
0xF914856656b200AC64F251C78E5d35622edFd7b8