Chaindata constructor

Chaindata(
  1. String name,
  2. int p2pkhPrefix,
  3. int p2shPrefix,
  4. int defaultPort,
  5. int kawpowHeaderActivationTimestamp,
  6. Uint8List assetLiteral, {
  7. String? symbol,
  8. int uniquification = 0,
  9. required BurnH160 burnH160s,
  10. required BurnAmount burnAmounts,
})

Implementation

Chaindata(
  this.name,
  this.p2pkhPrefix,
  this.p2shPrefix,
  this.defaultPort,
  this.kawpowHeaderActivationTimestamp,
  this.assetLiteral, {
  this.symbol,
  this.uniquification = 0,
  required this.burnH160s,
  required this.burnAmounts,
}) {
  nameToChainMap[name] = this;
}