5 // Issuance is a source of new value on a blockchain. It satisfies the
8 func (Issuance) typ() string { return "issuance1" }
9 func (iss *Issuance) writeForHash(w io.Writer) {
10 mustWriteForHash(w, iss.NonceHash)
11 mustWriteForHash(w, iss.Value)
14 // SetDestination will link the issuance to the output
15 func (iss *Issuance) SetDestination(id *Hash, val *AssetAmount, pos uint64) {
16 iss.WitnessDestination = &ValueDestination{
23 // NewIssuance creates a new Issuance.
24 func NewIssuance(nonceHash *Hash, value *AssetAmount, ordinal uint64) *Issuance {