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

ID

c264315dd5...e52674b0i0

Detail

History

Action
Price
Marketplace
From
To
Time

INSCRIBED

-

-

-647n

7 months

Sign Up for our Newsletter

And be the first to know about any updates!

OrdinalHub logo

All Rights Reserved OrdinalHub.com 2024

Support

Follow Us