![](/_next/image?url=%2Fimages%2Fgradient-top-bg.png&w=1920&q=75)
use super::*; #[derive(Boilerplate)] pub(crate) struct RuneHtml { pub(crate) entry: RuneEntry, pub(crate) id: RuneId, pub(crate) parent: Option<InscriptionId>, } impl PageContent for RuneHtml { fn title(&self) -> String { format!("Rune {}", self.entry.rune) } } #[cfg(test)] mod tests { use {super::*, crate::runes::Rune}; #[test] fn display() { assert_regex_match!( RuneHtml { entry: RuneEntry { burned: 123456789123456789, divisibility: 9, etching: Txid::all_zeros(), number: 25, rune: Rune(u128::max_value()), supply: 123456789123456789, symbol: Some('$'), limit: Some(1000000001), end: Some(11), timestamp: 0, }, id: RuneId { height: 10, index: 9, }, parent: Some(InscriptionId { txid: Txid::all_zeros(), index: 0, }), }, r"<h1>BCGDENLQRQWDSLRUGSNLBTMFIJAV</h1> <iframe .* src=/preview/0{64}i0></iframe>
Inscription #44972017
Collection
Ord
Owner
bc1p2e2mlr...pl3s3y647nID
c264315dd5...e52674b0i0
Detail
History
Sign Up for our Newsletter
And be the first to know about any updates!