WriteContractParameters class

Implementers
Annotations
  • @freezed

Constructors

WriteContractParameters.eip1559({required Abi abi, required String address, required String functionName, List<Map<String, dynamic>>? accessList, String? account, List? args, int? chainId, String? dataSuffix, BigInt? gas, FeeValuesEIP1559? feeValues, BigInt? nonce, BigInt? value, String? type})
const
factory
WriteContractParameters.eip4844({required List<Map> abi, required String address, required String functionName, List<Map<String, dynamic>>? accessList, String? account, List? args, int? chainId, String? dataSuffix, BigInt? gas, FeeValuesEIP4844? feeValues, BigInt? nonce, BigInt? value, String? type})
const
factory
WriteContractParameters.legacy({required List<Map> abi, required String address, required String functionName, List<Map<String, dynamic>>? accessList, String? account, List? args, int? chainId, String? dataSuffix, BigInt? gas, FeeValuesLegacy? feeValues, BigInt? nonce, BigInt? value, String? type})
const
factory

Properties

abi List<Map>
no setterinherited
accessList List<Map<String, dynamic>>?
no setterinherited
account String?
no setterinherited
address String
no setterinherited
args List?
no setterinherited
chainId int?
no setterinherited
copyWith → $WriteContractParametersCopyWith<WriteContractParameters>
Create a copy of WriteContractParameters with the given fields replaced by the non-null parameter values.
no setterinherited
dataSuffix String?
no setterinherited
feeValues FeeValues?
no setterinherited
functionName String
no setterinherited
gas BigInt?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
nonce BigInt?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
no setterinherited
value BigInt?
no setterinherited

Methods

map<TResult extends Object?>({required TResult legacy(WriteContractParametersLegacy value), required TResult eip1559(WriteContractParametersEIP1559 value), required TResult eip4844(WriteContractParametersEIP4844 value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? legacy(WriteContractParametersLegacy value)?, TResult? eip1559(WriteContractParametersEIP1559 value)?, TResult? eip4844(WriteContractParametersEIP4844 value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult legacy(WriteContractParametersLegacy value)?, TResult eip1559(WriteContractParametersEIP1559 value)?, TResult eip4844(WriteContractParametersEIP4844 value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult legacy(List<Map> abi, String address, String functionName, List<Map<String, dynamic>>? accessList, String? account, List? args, int? chainId, String? dataSuffix, BigInt? gas, FeeValuesLegacy? feeValues, BigInt? nonce, BigInt? value, String? type)?, TResult eip1559(List<Map<String, dynamic>> abi, String address, String functionName, List<Map<String, dynamic>>? accessList, String? account, List? args, int? chainId, String? dataSuffix, BigInt? gas, FeeValuesEIP1559? feeValues, BigInt? nonce, BigInt? value, String? type)?, TResult eip4844(List<Map> abi, String address, String functionName, List<Map<String, dynamic>>? accessList, String? account, List? args, int? chainId, String? dataSuffix, BigInt? gas, FeeValuesEIP4844? feeValues, BigInt? nonce, BigInt? value, String? type)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult legacy(List<Map> abi, String address, String functionName, List<Map<String, dynamic>>? accessList, String? account, List? args, int? chainId, String? dataSuffix, BigInt? gas, FeeValuesLegacy? feeValues, BigInt? nonce, BigInt? value, String? type), required TResult eip1559(List<Map<String, dynamic>> abi, String address, String functionName, List<Map<String, dynamic>>? accessList, String? account, List? args, int? chainId, String? dataSuffix, BigInt? gas, FeeValuesEIP1559? feeValues, BigInt? nonce, BigInt? value, String? type), required TResult eip4844(List<Map> abi, String address, String functionName, List<Map<String, dynamic>>? accessList, String? account, List? args, int? chainId, String? dataSuffix, BigInt? gas, FeeValuesEIP4844? feeValues, BigInt? nonce, BigInt? value, String? type)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? legacy(List<Map> abi, String address, String functionName, List<Map<String, dynamic>>? accessList, String? account, List? args, int? chainId, String? dataSuffix, BigInt? gas, FeeValuesLegacy? feeValues, BigInt? nonce, BigInt? value, String? type)?, TResult? eip1559(List<Map<String, dynamic>> abi, String address, String functionName, List<Map<String, dynamic>>? accessList, String? account, List? args, int? chainId, String? dataSuffix, BigInt? gas, FeeValuesEIP1559? feeValues, BigInt? nonce, BigInt? value, String? type)?, TResult? eip4844(List<Map> abi, String address, String functionName, List<Map<String, dynamic>>? accessList, String? account, List? args, int? chainId, String? dataSuffix, BigInt? gas, FeeValuesEIP4844? feeValues, BigInt? nonce, BigInt? value, String? type)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited