1 | <?php |
||
7 | class NetworkFactory |
||
8 | { |
||
9 | /** |
||
10 | * @return NetworkInterface |
||
11 | * @throws \Exception |
||
12 | */ |
||
13 | 91 | public static function bitcoin(): NetworkInterface |
|
17 | |||
18 | /** |
||
19 | * @return NetworkInterface |
||
20 | * @throws \Exception |
||
21 | */ |
||
22 | 22 | public static function bitcoinTestnet(): NetworkInterface |
|
26 | |||
27 | /** |
||
28 | * @return NetworkInterface |
||
29 | * @throws \Exception |
||
30 | */ |
||
31 | 1 | public static function bitcoinRegtest(): NetworkInterface |
|
35 | |||
36 | /** |
||
37 | * @return NetworkInterface |
||
38 | */ |
||
39 | 3 | public static function litecoin(): NetworkInterface |
|
43 | |||
44 | /** |
||
45 | * @return Networks\LitecoinTestnet |
||
46 | */ |
||
47 | 1 | public static function litecoinTestnet(): NetworkInterface |
|
51 | |||
52 | /** |
||
53 | * @return Networks\Viacoin |
||
54 | */ |
||
55 | 3 | public static function viacoin(): NetworkInterface |
|
59 | |||
60 | /** |
||
61 | * @return Networks\ViacoinTestnet |
||
62 | */ |
||
63 | 2 | public static function viacoinTestnet(): NetworkInterface |
|
67 | |||
68 | /** |
||
69 | * @return Networks\Dogecoin |
||
70 | */ |
||
71 | 2 | public static function dogecoin(): NetworkInterface |
|
75 | |||
76 | /** |
||
77 | * @return Networks\DogecoinTestnet |
||
78 | */ |
||
79 | 2 | public static function dogecoinTestnet(): NetworkInterface |
|
83 | |||
84 | /** |
||
85 | * @return Networks\Dash |
||
86 | */ |
||
87 | 2 | public static function dash(): NetworkInterface |
|
91 | |||
92 | /** |
||
93 | * @return Networks\DashTestnet |
||
94 | */ |
||
95 | 2 | public static function dashTestnet(): NetworkInterface |
|
99 | |||
100 | /** |
||
101 | * @return NetworkInterface |
||
102 | */ |
||
103 | public static function zcash() |
||
107 | } |
||
108 |