venerdì 11 marzo 2016

ETHEREUM SOLIDITY - how Store informations inside contract

contract SimpleStorage {
    uint storedData;
    function set(uint x) {
        storedData = x;
    }
    function get() constant returns (uint retVal) {
        return storedData;
    }
}

Nessun commento:

Posta un commento