5 // Issuance is a source of new value on a blockchain. It satisfies the
8 // (Not to be confused with the deprecated type IssuanceInput.)
10 func (Issuance) typ() string { return "issuance1" }
11 func (iss *Issuance) writeForHash(w io.Writer) {
12 mustWriteForHash(w, iss.AnchorId)
13 mustWriteForHash(w, iss.Value)
14 mustWriteForHash(w, iss.Data)
15 mustWriteForHash(w, iss.ExtHash)
18 func (iss *Issuance) SetDestination(id *Hash, val *AssetAmount, pos uint64) {
19 iss.WitnessDestination = &ValueDestination{
26 // NewIssuance creates a new Issuance.
27 func NewIssuance(anchorID *Hash, value *AssetAmount, data *Hash, ordinal uint64) *Issuance {