func (t *Transfer) Verify() (err error) {
	return t.DefaultHashSignVerifierImpl.Verify(&t.TransferHeader)
}
Verify implements interfaces/Transaction.Verify.
package types
import (
	pi "github.com/SQLess/SQLess/blockproducer/interfaces"
	"github.com/SQLess/SQLess/crypto/asymmetric"
	"github.com/SQLess/SQLess/crypto/verifier"
	"github.com/SQLess/SQLess/proto"
)
type TransferHeader struct {
	Sender, Receiver proto.AccountAddress
	Nonce            pi.AccountNonce
	Amount           uint64
	TokenType        TokenType
}
type Transfer struct {
	TransferHeader
	pi.TransactionTypeMixin
	verifier.DefaultHashSignVerifierImpl
}
func NewTransfer(header *TransferHeader) *Transfer {
	return &Transfer{
		TransferHeader:       *header,
		TransactionTypeMixin: *pi.NewTransactionTypeMixin(pi.TransactionTypeTransfer),
	}
}
func (t *Transfer) GetAccountAddress() proto.AccountAddress {
	return t.Sender
}
func (t *Transfer) GetAccountNonce() pi.AccountNonce {
	return t.Nonce
}
func (t *Transfer) Sign(signer *asymmetric.PrivateKey) (err error) {
	return t.DefaultHashSignVerifierImpl.Sign(&t.TransferHeader, signer)
}