1 | <?php |
||
10 | class PayToPubkey implements ScriptInfoInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var ScriptInterface |
||
14 | */ |
||
15 | private $script; |
||
16 | |||
17 | /** |
||
18 | * @var PublicKeyInterface |
||
19 | */ |
||
20 | private $publicKey; |
||
21 | |||
22 | /** |
||
23 | * @param ScriptInterface $script |
||
24 | */ |
||
25 | public function __construct(ScriptInterface $script) |
||
34 | |||
35 | /** |
||
36 | * @return string |
||
37 | */ |
||
38 | public function classification() |
||
42 | |||
43 | /** |
||
44 | * @return int |
||
45 | */ |
||
46 | public function getRequiredSigCount() |
||
50 | |||
51 | /** |
||
52 | * @return int |
||
53 | */ |
||
54 | public function getKeyCount() |
||
58 | |||
59 | /** |
||
60 | * @param PublicKeyInterface $publicKey |
||
61 | * @return bool |
||
62 | */ |
||
63 | public function checkInvolvesKey(PublicKeyInterface $publicKey) |
||
67 | |||
68 | /** |
||
69 | * @return PublicKeyInterface[] |
||
70 | */ |
||
71 | public function getKeys() |
||
75 | } |
||
76 |