5 func (Claim) typ() string { return "claim1" }
6 func (c *Claim) writeForHash(w io.Writer) {
7 mustWriteForHash(w, c.Peginwitness)
10 // SetDestination is support function for map tx
11 func (c *Claim) SetDestination(id *Hash, val *AssetAmount, pos uint64) {
12 c.WitnessDestination = &ValueDestination{
19 func NewClaim(spentOutputID *Hash, ordinal uint64, peginwitness [][]byte) *Claim {
21 SpentOutputId: spentOutputID,
23 Peginwitness: peginwitness,