Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
What is declaration error here! I can't figure it out and the error is shown as an unidentified declaration error. Please help me out
Function createTokens is declared external, but you are calling it inside the contract.
In order to be able to call it from both inside and outside the contract, declare it public.
Required, but never shown