perpl-cli 0.2.2

Perpl DEX CLI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use colored::Colorize;
use perpl_sdk::state::Exchange;

pub(crate) fn render(exchange: Exchange) {
    println!(
        "{}\n",
        format!("{:#^144}", " Perpl Exchange Snapshot ")
            .bold()
            .purple()
    );
    println!("{:#}", exchange);
}