addOwnerWithThreshold method

  1. @override
Future<SafeContractEncodedCall> addOwnerWithThreshold({
  1. required ETHAddress address,
  2. required int threshold,
})
override

"stateMutability": "nonpayable", Adds the owner owner to the Safe and updates the threshold to threshold.

Implementation

@override
Future<SafeContractEncodedCall> addOwnerWithThreshold({
  required ETHAddress address,
  required int threshold,
}) async {
  final params = [address, threshold];
  return encodeTransactionCall(
    functionName: SafeContractFunction.addOwnerWithThreshold,
    params: params,
  );
}