status-go/signal/events_wallet.go

15 lines
369 B
Go
Raw Permalink Normal View History

package signal
type SignalType string
const (
Wallet = SignalType("wallet")
SignTransactions = SignalType("wallet.sign.transactions")
SuggestedRoutes = SignalType("wallet.suggested.routes")
)
// SendWalletEvent sends event from services/wallet/events.
func SendWalletEvent(signalType SignalType, event interface{}) {
send(string(signalType), event)
}