1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/* This file has been automatically generated. */
//! # Issuance
//!
//! This module defines jets for handling issuance of Elements assets or tokens.
use *;
/// Calculate the issued asset id from a given entropy value.
///
/// ## Cost
///
/// 807 mWU _(milli weight units)_
/// Calculate the reissuance token id from a given entropy value for assets with confidential issued amounts.
///
/// ## Cost
///
/// 707 mWU _(milli weight units)_
/// Calculate the reissuance token id from a given entropy value for assets with explicit issued amounts.
///
/// ## Cost
///
/// 771 mWU _(milli weight units)_
/// Calculate the entropy value from a given outpoint and contract hash.
///
/// This entropy value is used to compute issued asset and token IDs.
///
/// ## Cost
///
/// 2095 mWU _(milli weight units)_
/// Return the kind of issuance of the input at the given index:
/// - Return `Some(Some(false))` if the input has new issuance.
/// - Return `Some(Some(true))` if the input as reissuance.
/// - Return `Some(None)` if the input has no issuance.
/// - Return `None` if the input does not exist.
///
/// ## Cost
///
/// 91 mWU _(milli weight units)_
/// Return the ID of the issued asset of the input at the given index:
/// - Return `Some(Some(x))` if the input has issuance with asset id `x`.
/// - Return `Some(None)` if the input has no issuance.
/// - Return `None` if the input does not exist.
///
/// ## Cost
///
/// 151 mWU _(milli weight units)_
/// Return the issuance entropy of the input at the given index:
/// - Return `Some(Some(x))` if the input has reissuance with entropy `x` or if there is new issuance whose computed entropy is `x`.
/// - Return `Some(Some(x))` if the input has no issuance.
/// - Return `None` if the input does not exist.
///
/// ## Cost
///
/// 153 mWU _(milli weight units)_
/// Return the reissuance token of the input at the given index:
/// - Return `Some(Some(x))` if the input has issuance with the reissuance token ID `x`.
/// - Return `Some(None)` if the input has no issuance.
/// - Return `None` if the input does not exist.
///
/// ## Cost
///
/// 149 mWU _(milli weight units)_
/// Return the asset for Liquid Bitcoin.
///
/// ## Cost
///
/// 145 mWU _(milli weight units)_