circles-types 0.3.1

Core type definitions for the Circles protocol
Documentation
1
2
3
4
5
6
7
8
9
10
use alloy_primitives::U256;
use serde::{Deserialize, Serialize};

/// Escrowed Amount and Days Result
/// Returned by InvitationEscrow.getEscrowedAmountAndDays()
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct EscrowedAmountAndDays {
    pub escrowed_amount: U256,
    pub days_: U256,
}