addOwnerWithThreshold method
Future<SafeContractEncodedCall>
addOwnerWithThreshold({
- required ETHAddress address,
- 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,
);
}