We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a19e347 commit add54c8Copy full SHA for add54c8
src/pset/elip100.rs
@@ -76,6 +76,12 @@ fn prop_key(asset_id: &AssetId) -> ProprietaryKey {
76
}
77
78
impl AssetMetadata {
79
+
80
+ /// Create a new [`AssetMetadata`]
81
+ pub fn new(contract: String, issuance_prevout: OutPoint) -> Self {
82
+ Self { contract, issuance_prevout }
83
+ }
84
85
/// Returns the contract as string containing a json
86
pub fn contract(&self) -> &str {
87
&self.contract
0 commit comments