Closed Madeindreams closed 4 years ago
Pure was being used but since we pass the token price on deployment it has to be set has view. Also y == 0 was not passing. Y should be tokenPrice. Tested it in Remix with solidity v0.7.0 and everything is working.
Pure was being used but since we pass the token price on deployment it has to be set has view. Also y == 0 was not passing. Y should be tokenPrice. Tested it in Remix with solidity v0.7.0 and everything is working.