forge-fmt 0.2.0

solidity formatting
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pragma solidity ^0.8.8;

type Hello is uint256;

contract TypeDefinition {
    event Moon(Hello world);

    function demo(Hello world) public {
        world = Hello.wrap(Hello.unwrap(world) + 1337);
        emit Moon(world);
    }
}