Code has been added to clipboard!

Solidity Constant State Variables Example

Example
pragma solidity ^0.4.0;

contract cont1 {
    uint constant a = 32**22 + 8;
    string constant myText = "text";
    bytes32 constant myHash = keccak256("text");
}