1 | <?php |
||
12 | abstract class CheckerCreatorBase |
||
13 | { |
||
14 | /** |
||
15 | * @var EcAdapterInterface |
||
16 | */ |
||
17 | protected $ecAdapter; |
||
18 | |||
19 | /** |
||
20 | * @var TransactionSignatureSerializer |
||
21 | */ |
||
22 | protected $txSigSerializer; |
||
23 | |||
24 | /** |
||
25 | * @var PublicKeySerializerInterface |
||
26 | */ |
||
27 | protected $pubKeySerializer; |
||
28 | |||
29 | /** |
||
30 | * CheckerCreator constructor. |
||
31 | * @param EcAdapterInterface $ecAdapter |
||
32 | * @param TransactionSignatureSerializer $txSigSerializer |
||
33 | * @param PublicKeySerializerInterface $pubKeySerializer |
||
34 | */ |
||
35 | 61 | public function __construct( |
|
44 | |||
45 | /** |
||
46 | * @param TransactionInterface $tx |
||
47 | * @param int $nInput |
||
48 | * @param TransactionOutputInterface $txOut |
||
49 | * @return CheckerBase |
||
50 | */ |
||
51 | abstract public function create(TransactionInterface $tx, $nInput, TransactionOutputInterface $txOut); |
||
52 | } |
||
53 |