mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 13:38:35 +00:00
20 lines
394 B
Go
20 lines
394 B
Go
|
package transaction
|
||
|
|
||
|
import (
|
||
|
"io"
|
||
|
)
|
||
|
|
||
|
// ContractTX represents a contract transaction.
|
||
|
// This TX has not special attributes.
|
||
|
type ContractTX struct{}
|
||
|
|
||
|
// DecodeBinary implements the Payload interface.
|
||
|
func (tx *ContractTX) DecodeBinary(r io.Reader) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// EncodeBinary implements the Payload interface.
|
||
|
func (tx *ContractTX) EncodeBinary(w io.Writer) error {
|
||
|
return nil
|
||
|
}
|