2018-03-17 11:53:21 +00:00
|
|
|
package transaction
|
|
|
|
|
|
|
|
import (
|
2019-09-16 09:18:13 +00:00
|
|
|
"github.com/CityOfZion/neo-go/pkg/io"
|
2018-03-17 11:53:21 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// IssueTX represents a issue transaction.
|
|
|
|
// This TX has not special attributes.
|
|
|
|
type IssueTX struct{}
|
|
|
|
|
|
|
|
// DecodeBinary implements the Payload interface.
|
2019-09-16 09:18:13 +00:00
|
|
|
func (tx *IssueTX) DecodeBinary(r *io.BinReader) error {
|
2018-03-17 11:53:21 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// EncodeBinary implements the Payload interface.
|
2019-09-16 09:18:13 +00:00
|
|
|
func (tx *IssueTX) EncodeBinary(w *io.BinWriter) error {
|
2018-03-17 11:53:21 +00:00
|
|
|
return nil
|
|
|
|
}
|
2019-08-30 08:28:30 +00:00
|
|
|
|
2019-09-03 14:51:37 +00:00
|
|
|
// Size returns serialized binary size for this transaction.
|
2019-08-30 08:28:30 +00:00
|
|
|
func (tx *IssueTX) Size() int {
|
|
|
|
return 0
|
|
|
|
}
|