pub parent: Option<InscriptionId>,
pub reveal: Txid,
pub total_fees: u64,
}
#[derive(Clone, Debug)]
pub(crate) struct ParentInfo {
destination: Address,
id: InscriptionId,
location: SatPoint,
tx_out: TxOut,
}
#[derive(Debug, Parser)]
#[clap(
group = ArgGroup::new("source")
.required(true)
.args(&["file", "batch"]),
)]
pub(crate) struct Inscribe {
#[arg(
long,
help = "Inscribe a multiple inscriptions defines in a yaml <BATCH_FILE>.",
conflicts_with_all = &[
"cbor_metadata", "destination", "file", "json_metadata", "metaprotocol", "parent", "postage", "reinscribe", "satpoint"
]
)]
pub(crate) batch: Option<PathBuf>,
#[arg(
long,
help = "Include CBOR in file at <METADATA> as inscription metadata",
conflicts_with = "json_metadata"
)]
pub(crate) cbor_metadata: Option<PathBuf>,
#[arg(
long,
help = "Use <COMMIT_FEE_RATE> sats/vbyte for commit transaction.\nDefaults to <FEE_RATE> if unset."
)]
pub(crate) commit_fee_rate: Option<FeeRate>,