pub mod timestamp {
pub const IDENTIFIER: &str = "Timestamp";
pub mod storage_keys {
pub const PALLET_NAME: &[u8] = b"Timestamp";
pub const NOW: &[u8] = b"Now";
}
pub mod metadata {
pub const PALLET_NAME: &str = "Timestamp";
pub const SET_CALL_NAME: &str = "set";
}
pub mod slot_duration {
pub const AURA_API_METHOD: &str = "AuraApi_slot_duration";
pub const BABE_PALLET: &str = "Babe";
pub const BABE_EXPECTED_BLOCK_TIME: &str = "ExpectedBlockTime";
pub const RELAY_CHAIN_FALLBACK_MS: u64 = 6_000;
pub const PARACHAIN_FALLBACK_MS: u64 = 12_000;
}
pub mod errors {
pub const DECODE_FAILED: &str = "Failed to decode timestamp";
pub const PALLET_NOT_FOUND: &str = "Pallet not found in metadata";
pub const CALL_NOT_FOUND: &str = "Call not found in pallet metadata";
}
}
pub mod parachain {
pub const IDENTIFIER: &str = "ParachainSystem";
pub mod metadata {
pub const PALLET_NAME: &str = "ParachainSystem";
pub const SET_VALIDATION_DATA_CALL_NAME: &str = "set_validation_data";
}
pub mod storage_keys {
pub const PARACHAIN_INFO_PALLET: &[u8] = b"ParachainInfo";
pub const PARACHAIN_ID: &[u8] = b"ParachainId";
}
}
pub mod relay {
pub const PARA_INHERENT_PALLET: &str = "ParaInherent";
pub mod storage_keys {
pub const PARA_INHERENT_PALLET: &[u8] = b"ParaInherent";
pub const INCLUDED: &[u8] = b"Included";
}
}