1 | <?php |
||
10 | class PayToPubkey implements ScriptInfoInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var PublicKeyInterface |
||
14 | */ |
||
15 | private $publicKey; |
||
16 | |||
17 | /** |
||
18 | * @param ScriptInterface $script |
||
19 | */ |
||
20 | 6 | public function __construct(ScriptInterface $script) |
|
28 | |||
29 | /** |
||
30 | * @return int |
||
31 | */ |
||
32 | 6 | public function getRequiredSigCount() |
|
36 | |||
37 | /** |
||
38 | * @return int |
||
39 | */ |
||
40 | 6 | public function getKeyCount() |
|
44 | |||
45 | /** |
||
46 | * @param PublicKeyInterface $publicKey |
||
47 | * @return bool |
||
48 | */ |
||
49 | 6 | public function checkInvolvesKey(PublicKeyInterface $publicKey) |
|
53 | |||
54 | /** |
||
55 | * @return PublicKeyInterface[] |
||
56 | */ |
||
57 | 6 | public function getKeys() |
|
61 | } |
||
62 |