PaymentChannelManagerActor constructor
PaymentChannelManagerActor({
- required ActorRef walletManager,
- required EventStore eventStore,
- required CryptoService cryptoService,
- NetworkType networkType = dartsv.NetworkType.TEST,
- void eventBroadcaster()?,
Implementation
PaymentChannelManagerActor({
required ActorRef walletManager,
required EventStore eventStore,
required CryptoService cryptoService,
dartsv.NetworkType networkType = dartsv.NetworkType.TEST,
void Function(ChannelEvent)? eventBroadcaster,
}) : _walletManager = walletManager,
_eventStore = eventStore,
_cryptoService = cryptoService,
_networkType = networkType,
_eventBroadcaster = eventBroadcaster {
_channelBuilder = PaymentChannelBuilder(cryptoService: cryptoService);
}