0

I spent 4 days for this work.

plz make me know anybody.

this is solidity code of my token I use openzeppelin.


// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/[email protected]/token/ERC20/ERC20.sol";
import "@openzeppelin/[email protected]/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/[email protected]/token/ERC20/extensions/draft-ERC20Permit.sol";

contract Happycat is ERC20, ERC20Burnable, ERC20Permit {
    constructor() ERC20("Happycat", "Hcat") ERC20Permit("Hcat") {
        _mint(msg.sender, 100000000000000 * 10 ** decimals());
    }
}

token contract is

0xB8e0ddC1db55EAFf61D65BDC483Ff8e2aB26869A

kind anybody.. make me know abi encoded constructor arguments of my token plz

2
  • additional question. Which mod should I use on Etherscan? single file? multi file? json?
    – jerry12345
    Jun 23 at 14:34
  • The constructor doesn't accept parameters so it should be empty.
    – Ismael
    Jul 2 at 18:38

1 Answer 1

0

Firstly I would suggest using hardhat and ethers for developing smart contracts, everything becomes easy with these tools.

If you want to directly paste your code and verify then you can use this website to encode your arguments and then paste it https://abi.hashex.org/

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.

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