changeThreshold method

  1. @override
Future<SafeContractEncodedCall> changeThreshold(
  1. int threshold
)
override

"stateMutability": "nonpayable", Changes the threshold of the Safe to threshold.

Implementation

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