Exemple #1
0
 /**
  * @param Binary $currency
  * @param string $description
  * @param Output $output
  * @param Binary $issuerAddress
  * @param string $signature
  */
 public function __construct(Binary $currency, $description, Output $output, Binary $issuerAddress, $signature)
 {
     parent::__construct([], [$output], $signature);
     $this->description = $description;
     $this->currency = $currency;
     $this->issuerAddress = $issuerAddress;
 }
Exemple #2
0
 /**
  * @param Base[] $bases
  * @param Output $output
  * @param Binary $hash
  * @param string $signature
  */
 public function __construct(array $bases, Output $output, Binary $hash, $signature)
 {
     parent::__construct(array_map([$this, 'makeInput'], $bases), $this->keepChange($bases, $output), $signature);
     $this->hash = $hash;
 }