Skip to main content

Timeline for Need help with smart contract

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Aug 8, 2018 at 12:17 vote accept Makarenko_I_V
Aug 8, 2018 at 9:48 comment added Henk Because canUpgrade does not alter the state, AND it does not read from it. It just returns true, a constant.
Aug 8, 2018 at 9:43 comment added Makarenko_I_V so why function canUpgrade() public view returns(bool) { return true; } is wrong and compilator ask: Function state mutability can be restricted to pure ?
Aug 8, 2018 at 9:18 comment added Henk Check out the pages to which I added links
Aug 8, 2018 at 9:18 history edited Henk CC BY-SA 4.0
Added links to documentation
Aug 8, 2018 at 9:12 comment added Makarenko_I_V Shuld I declared all functions as view or pure? Whatll hapens if I dont set it?
Aug 8, 2018 at 9:05 history answered Henk CC BY-SA 4.0