Params constructor

Params({
  1. Int64? maxMemoCharacters,
  2. Int64? txSigLimit,
  3. Int64? txSizeCostPerByte,
  4. Int64? sigVerifyCostEd25519,
  5. Int64? sigVerifyCostSecp256k1,
})

Implementation

factory Params({
  $fixnum.Int64? maxMemoCharacters,
  $fixnum.Int64? txSigLimit,
  $fixnum.Int64? txSizeCostPerByte,
  $fixnum.Int64? sigVerifyCostEd25519,
  $fixnum.Int64? sigVerifyCostSecp256k1,
}) {
  final _result = create();
  if (maxMemoCharacters != null) {
    _result.maxMemoCharacters = maxMemoCharacters;
  }
  if (txSigLimit != null) {
    _result.txSigLimit = txSigLimit;
  }
  if (txSizeCostPerByte != null) {
    _result.txSizeCostPerByte = txSizeCostPerByte;
  }
  if (sigVerifyCostEd25519 != null) {
    _result.sigVerifyCostEd25519 = sigVerifyCostEd25519;
  }
  if (sigVerifyCostSecp256k1 != null) {
    _result.sigVerifyCostSecp256k1 = sigVerifyCostSecp256k1;
  }
  return _result;
}