handleOps method

Future<String> handleOps(
  1. List ops,
  2. EthereumAddress beneficiary,
  3. {required Credentials credentials,
  4. Transaction? transaction}
)

The optional transaction parameter can be used to override parameters like the gas price, nonce and max gas. The data and to fields will be set by the contract.

Implementation

Future<String> handleOps(
  List<dynamic> ops,
  _i1.EthereumAddress beneficiary, {
  required _i1.Credentials credentials,
  _i1.Transaction? transaction,
}) async {
  final function = self.abi.functions[11];
  assert(checkSignature(function, '1fad948c'));
  final params = [
    ops,
    beneficiary,
  ];
  return write(
    credentials,
    transaction,
    function,
    params,
  );
}