ord/subcommand/teleburn.rs
1use super::*;
2
3#[derive(Debug, Parser)]
4pub(crate) struct Teleburn {
5 #[arg(help = "Generate teleburn addresses for inscription <DESTINATION>.")]
6 destination: InscriptionId,
7}
8
9#[derive(Debug, PartialEq, Serialize, Deserialize)]
10pub struct Output {
11 pub ethereum: crate::teleburn::Ethereum,
12}
13
14impl Teleburn {
15 pub(crate) fn run(self) -> SubcommandResult {
16 Ok(Some(Box::new(Output {
17 ethereum: self.destination.into(),
18 })))
19 }
20}