bullet-exchange-interface 0.1.0

Type definitions and message formats for the Bullet exchange protocol.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Argument types for vault operations.

use crate::decimals::PositiveDecimal;
use crate::define_struct;

define_struct! {
    struct UpdateVaultConfigArgs {
        deposit_limit: Option<PositiveDecimal>,
        withdraw_lockup_period_hours: Option<u8>,
        profit_share_percentage: Option<u8>,
    }
}