package result

import (
	"git.marketally.com/tutus-one/tutus-chain/pkg/core/mempoolevent"
	"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
)

// MempoolEvent represents a transaction event either added to
// or removed from the mempool.
type MempoolEvent struct {
	Type mempoolevent.Type        `json:"type"`
	Tx   *transaction.Transaction `json:"transaction"`
}
