waterpump-evm-pool-sdk 0.1.0

EVM pool SDK — viewers, infusers, harvesters, swappers for Uniswap V3/V4, PancakeSwap, Slipstream, Shadow, Algebra
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// ERC20 interface definition
use alloy::sol;

sol! {
    #[sol(rpc)]
    #[allow(missing_docs)]
    interface IERC20 {

        function name() external view returns (string memory);
        function symbol() external view returns (string memory);
        function balanceOf(address account) external view returns (uint256);
        function decimals() external view returns (uint8);
    }
}