mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 22:26:30 +00:00
92361d9e20
- `GetSuggestedRoutesV2Async` calculates the route/s based on input parameters and sends `wallet.suggested.routes` signal to notify a client.
15 lines
369 B
Go
15 lines
369 B
Go
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)
|
|
}
|