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