| 1 | <?php  | 
            ||
| 14 | class MultisigScriptDataFactory extends KeyToScriptDataFactory  | 
            ||
| 15 | { | 
            ||
| 16 | /**  | 
            ||
| 17 | * @var int  | 
            ||
| 18 | */  | 
            ||
| 19 | private $numSigners;  | 
            ||
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * @var int  | 
            ||
| 23 | */  | 
            ||
| 24 | private $numKeys;  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * @var bool  | 
            ||
| 28 | */  | 
            ||
| 29 | private $sortKeys;  | 
            ||
| 30 | |||
| 31 | public function __construct(int $numSigners, int $numKeys, bool $sortKeys, PublicKeySerializerInterface $pubKeySerializer = null)  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 | * @return string  | 
            ||
| 41 | */  | 
            ||
| 42 | public function getScriptType(): string  | 
            ||
| 46 | |||
| 47 | /**  | 
            ||
| 48 | * @param PublicKeyInterface ...$publicKeys  | 
            ||
| 49 | * @return ScriptAndSignData  | 
            ||
| 50 | */  | 
            ||
| 51 | protected function convertKeyToScriptData(PublicKeyInterface... $publicKeys): ScriptAndSignData  | 
            ||
| 62 | }  | 
            ||
| 63 |