diff --git a/primitives/mangata-types/src/assets.rs b/primitives/mangata-types/src/assets.rs index a247395d35c76..d6d42a53ed9ea 100644 --- a/primitives/mangata-types/src/assets.rs +++ b/primitives/mangata-types/src/assets.rs @@ -19,6 +19,8 @@ use scale_info::TypeInfo; pub struct CustomMetadata { /// XCM-related metadata, optional. pub xcm: Option, + /// XYK-related metadata, optional + pub xyk: Option, } #[derive( @@ -39,3 +41,22 @@ pub struct XcmMetadata { /// The fee charged for every second that an XCM message takes to execute. pub fee_per_second: u128, } + +#[derive( + Clone, + Copy, + Default, + PartialOrd, + Ord, + PartialEq, + Eq, + Debug, + Encode, + Decode, + TypeInfo, + MaxEncodedLen, +)] +pub struct XykMetadata { + /// If the asset can't be used in the xyk operations. + pub operations_disabled: bool, +}