neo-devpack-solidity 0.22.0

Production-focused Solidity-to-NeoVM compilation system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract FixedPointError {
    fixed128x18 public price;

    function setPrice(fixed128x18 _price) public {
        price = _price;
    }

    function getPrice() public view returns (fixed128x18) {
        return price;
    }
}