EatTheBlocks Forum

Question with ERC20Capped of openzeppelin

If I need a cap of 20million tokens and the token has 18 decimals, when using the constructor of ERC20Capped(), should I pass ERC20Capped(20000000) OR ERC20Capped(20000000 * 10 ** 18) ?

Just the real 20 million number which is 20000000000000000000000000

1 Like

thanks man, appreciate it