changeThreshold
Changes the threshold of the Safe to _threshold
.
⚠️
This action can only be done via a Safe transaction.
Usage
_10interface ISafe {_10 function changeThreshold(uint256 _threshold) external;_10}_10_10contract Example {_10 function example() ... {_10 (ISafe safe).changeThreshold(1);_10 }_10}
Parameters
_threshold
- Type:
uint256
New threshold.
_10(ISafe safe).changeThreshold(_10 1_10);
Events
ChangedThreshold
_10event ChangedThreshold(uint256 threshold);
Emitted when the threshold for confirmations is changed.