Params constructor
Params({
- Int64? maxMemoCharacters,
- Int64? txSigLimit,
- Int64? txSizeCostPerByte,
- Int64? sigVerifyCostEd25519,
- 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;
}