-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #284 from WalletConnect/chores/wallet_sample_enhan…
…cements Chores/wallet sample enhancements
- Loading branch information
Showing
13 changed files
with
316 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:get_it/get_it.dart'; | ||
import 'package:walletconnect_flutter_v2/walletconnect_flutter_v2.dart'; | ||
|
||
abstract class IWeb3WalletService extends Disposable { | ||
abstract ValueNotifier<List<PairingInfo>> pairings; | ||
abstract ValueNotifier<List<SessionData>> sessions; | ||
abstract ValueNotifier<List<StoredCacao>> auth; | ||
class UpdateEvent extends EventArgs { | ||
final bool loading; | ||
|
||
UpdateEvent({required this.loading}); | ||
} | ||
|
||
abstract class IWeb3WalletService extends Disposable { | ||
void create(); | ||
Future<void> init(); | ||
Web3Wallet getWeb3Wallet(); | ||
|
||
Web3Wallet get web3wallet; | ||
} |
Oops, something went wrong.