carbon-mpl-core-decoder 0.12.0

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

#[derive(
    CarbonDeserialize, Debug, serde::Deserialize, serde::Serialize, PartialEq, Eq, Clone, Hash,
)]
#[carbon(discriminator = "0xc56d2e767fef7e32")]
pub struct HashedAssetV1 {
    pub key: Key,
    pub hash: [u8; 32],
}