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
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

library BadLib {
    constructor() {}

    function doSomething(uint256 x) internal pure returns (uint256) {
        return x + 1;
    }
}

contract User {
    function use_lib(uint256 x) public pure returns (uint256) {
        return BadLib.doSomething(x);
    }
}