enter image description hereWhat 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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