Transaction ef12d78894576dcb42c4b2c3bd0e9dcef04e5efc87100e8ea30a7e9ccc907b77

1 Input
  • ff2865d942f155ea67f9808bf715b3a557e94e0132d9043f8816c298de555643:9
    OP_DATA_32(32) bf3817d55e4a6600f45762b25646beca8f2c959feabb8afbd2f34116c683119f
    OP_CHECKSIG(172)
    OP_0(0)
    OP_IF(99)
    OP_DATA_3(3) ord
    OP_DATA_1(1) 
    OP_DATA_24(24) text/plain;charset=utf-8
    OP_0(0)
    OP_PUSHDATA2(77) use super::*; #[derive(Boilerplate)] pub(crate) struct CollectionsHtml { pub(crate) inscriptions: Vec<InscriptionId>, pub(crate) prev: Option<usize>, pub(crate) next: Option<usize>, } impl PageContent for CollectionsHtml { fn title(&self) -> String { "Collections".into() } } #[cfg(test)] mod tests { use super::*; #[test] fn without_prev_and_next() { assert_regex_match!( CollectionsHtml { inscriptions: vec![inscription_id(1), inscription_id(2)], prev: None, n
    OP_PUSHDATA2(77) ext: None, }, " <h1>Collections</h1> <div class=thumbnails> <a href=/inscription/1{64}i1><iframe .* src=/preview/1{64}i1></iframe></a> <a href=/inscription/2{64}i2><iframe .* src=/preview/2{64}i2></iframe></a> </div> .* prev next .* " .unindent() ); } #[test] fn with_prev_and_next() { assert_regex_match!( CollectionsHtml { inscriptions: vec![inscription_id(1), inscription_id(2)],
    OP_ENDIF(104)
1 Outputs
  • ef12d78894576dcb42c4b2c3bd0e9dcef04e5efc87100e8ea30a7e9ccc907b77:0
  • value  330
    address  bc1px6hvd2meh7l467hpx7enz8qa67q4krnl7gq34hc236rp7ks5uqts28tpup