nado-sdk 2.1.0

Official Rust SDK for the Nado Protocol API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use alloy::sol;

sol! {
    #[sol(rpc)]
    #[allow(missing_docs)]
    contract ClearinghouseLiq {
        function getEndpoint() external view returns (address);
        function owner() external view returns (address);
        function isAboveInitial(bytes32 subaccount) external returns (bool);
        function isUnderInitial(bytes32 subaccount) external returns (bool);
        function transferOwnership(address newOwner) external;
        function renounceOwnership() external;
    }
}