@@ -9,7 +9,6 @@ import {FVMRewards} from "./lib/FVMRewards.sol";
99import {PendingOp, Share, WeightRecord, WeightRecordUpdate} from "./lib/FVMRewardTypes.sol " ;
1010import {OwnersLibrary} from "./lib/Owners.sol " ;
1111import {UnanimousGovernance} from "./lib/UnanimousGovernance.sol " ;
12- import {IsASafe} from "./lib/IsASafe.sol " ;
1312
1413uint64 constant SERVICE_ID = 2 ;
1514
@@ -20,21 +19,17 @@ int256 constant STEP = 5e16; // 5%
2019/// @dev Writes require unanimous owner approval, except `cancelPending`/`cancelPendingWeight`
2120/// (any single owner, immediate) and `quarterlyGateCheck` (fully permissionless).
2221contract StreamWeightActor is UnanimousGovernance {
23- using IsASafe for address ;
2422 using OwnersLibrary for address ;
2523
2624 IServiceRewardsActor immutable SRA;
2725 Epoch immutable QUARTER;
2826 Epoch immutable HOLD;
2927
3028 /// @notice Deploys the actor with its two initial owners, bound to a Service Rewards Actor.
31- /// @param owner1 First owner; must be a Safe .
32- /// @param owner2 Second owner; must be a Safe .
29+ /// @param owner1 First owner.
30+ /// @param owner2 Second owner.
3331 /// @param sra Service Rewards Actor supplying QUARTER/HOLD and gating `quarterlyGateCheck`.
3432 constructor (address owner1 , address owner2 , IServiceRewardsActor sra ) {
35- owner1.isProbablyASafe ();
36- owner2.isProbablyASafe ();
37-
3833 owner1.addOwner ();
3934 owner2.addOwner ();
4035
@@ -118,9 +113,8 @@ contract StreamWeightActor is UnanimousGovernance {
118113
119114 /// @notice Replaces one of the two owners.
120115 /// @param prevOwner Owner being removed.
121- /// @param newOwner Owner being added; must be a Safe .
116+ /// @param newOwner Owner being added.
122117 function replaceOwner (address prevOwner , address newOwner ) external unanimousNoHold (keccak256 (msg .data )) {
123- newOwner.isProbablyASafe ();
124118 prevOwner.removeOwner ();
125119 newOwner.addOwner ();
126120 }
0 commit comments