carbon-moonshot-decoder 0.5.0

Moonshot Decoder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use carbon_core::{borsh, CarbonDeserialize};

#[derive(
    CarbonDeserialize, Debug, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone, Hash,
)]
#[carbon(discriminator = "0xe445a52e51cb9a1dffca4c935be74916")]
pub struct MigrationEvent {
    pub tokens_migrated: u64,
    pub tokens_burned: u64,
    pub collateral_migrated: u64,
    pub fee: u64,
    pub label: String,
}