Transaction 7792a2afc9601007ce1c37146449cbf9ec388b372dc61311580a870a854cf140
1 Input
-
1e77fe5a7cee6a04ad036b9424d254638a6aa05d3f532c0cbc383c37151ea77f:9
OP_DATA_32(32) 21526d37ece210d3127b4850fda523536cbbed744b4316040332e21816c07a3bOP_CHECKSIG(172)OP_0(0)OP_IF(99)OP_DATA_3(3) ordOP_DATA_1(1)OP_DATA_24(24) text/plain;charset=utf-8OP_0(0)OP_PUSHDATA2(77) } #[test] fn from_str_number() { assert_eq!(parse("0").unwrap(), 0); assert_eq!(parse("2099999997689999").unwrap(), 2099999997689999); assert!(parse("2099999997690000").is_err()); } #[test] fn from_str_degree_invalid_cycle_number() { assert!(parse("5°0′0″0‴").is_ok()); assert!(parse("6°0′0″0‴").is_err()); } #[test] fn from_str_degree_invalid_epoch_offset() { assert!(parse("0°209999′335″0‴").is_ok()); assert!(parse("0°210000′336″0‴").is_errOP_PUSHDATA2(77) ()); } #[test] fn from_str_degree_invalid_period_offset() { assert!(parse("0°2015′2015″0‴").is_ok()); assert!(parse("0°2016′2016″0‴").is_err()); } #[test] fn from_str_degree_invalid_block_offset() { assert!(parse("0°0′0″4999999999‴").is_ok()); assert!(parse("0°0′0″5000000000‴").is_err()); assert!(parse("0°209999′335″4999999999‴").is_ok()); assert!(parse("0°0′336″4999999999‴").is_err()); } #[test] fn from_str_degree_invalid_periodOP_PUSHDATA1(76) _block_relationship() { assert!(parse("0°2015′2015″0‴").is_ok());OP_ENDIF(104)
1 Outputs
- 7792a2afc9601007ce1c37146449cbf9ec388b372dc61311580a870a854cf140:0
value 546
address bc1p6semdnghyuvrlkratjdhkqhxzhujgqn76aqmtcf25y6t05ng44jsp9gr8t