bitcoin-sv / sol2scrypt

Solidity to sCrypt Transplier
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Transpile VariableDeclaration/Param #34

Closed xhliu closed 2 years ago

xhliu commented 2 years ago

used in multiple places, e.g.,

uint storedData & uint x & bool y

contract SimpleStorage {
    uint storedData;

    function set(uint x) external {
        // bool y = x > 0;
        storedData = x;
    }

    function get() public view returns (uint) {
        return storedData;
    }
}