trident-sdk 0.1.0

SDK for Trident protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
use alloy_sol_types::sol;

sol! {
    #[sol(rpc)]
    interface IERC20 {
        function approve(address spender, uint256 value) external returns (bool);
        function allowance(address owner, address spender) external view returns (uint256);
        function decimals() external view returns (uint8);
        function balanceOf(address account) external view returns (uint256);
    }
}