@@ -27,7 +27,13 @@ interface IScheduler is SchedulerEvents {
2727     */ 
2828    function getSubscription  (
2929        uint256  subscriptionId 
30-     ) external  view  returns  (SchedulerState.SubscriptionParams memory  params , SchedulerState.SubscriptionStatus memory  status );
30+     )
31+         external 
32+         view 
33+         returns  (
34+             SchedulerState.SubscriptionParams memory  params ,
35+             SchedulerState.SubscriptionStatus memory  status 
36+         );
3137
3238    /** 
3339     * @notice Updates an existing subscription 
@@ -43,9 +49,7 @@ interface IScheduler is SchedulerEvents {
4349     * @notice Deactivates a subscription 
4450     * @param subscriptionId The ID of the subscription to deactivate 
4551     */ 
46-     function deactivateSubscription  (
47-         uint256  subscriptionId 
48-     ) external ;
52+     function deactivateSubscription  (uint256  subscriptionId ) external ;
4953
5054    /** 
5155     * @notice Updates price feeds for a subscription 
@@ -75,27 +79,26 @@ interface IScheduler is SchedulerEvents {
7579     * @notice Adds funds to a subscription's balance 
7680     * @param subscriptionId The ID of the subscription 
7781     */ 
78-     function addFunds  (
79-         uint256  subscriptionId 
80-     ) external  payable ;
82+     function addFunds  (uint256  subscriptionId ) external  payable ;
8183
8284    /** 
8385     * @notice Withdraws funds from a subscription's balance 
8486     * @param subscriptionId The ID of the subscription 
8587     * @param amount The amount to withdraw 
8688     */ 
87-     function withdrawFunds  (
88-         uint256  subscriptionId ,
89-         uint256  amount 
90-     ) external ;
89+     function withdrawFunds  (uint256  subscriptionId , uint256  amount ) external ;
9190
9291    /** 
9392     * @notice Gets all active subscriptions with their parameters 
93+      * @dev This function has no access control to allow keepers to discover active subscriptions 
9494     * @return subscriptionIds Array of active subscription IDs 
9595     * @return subscriptionParams Array of subscription parameters for each active subscription 
9696     */ 
97-     function getActiveSubscriptions  () external  view  returns  (
98-         uint256 [] memory  subscriptionIds ,
99-         SchedulerState.SubscriptionParams[] memory  subscriptionParams 
100-     );
97+     function getActiveSubscriptions  ()
98+         external 
99+         view 
100+         returns  (
101+             uint256 [] memory  subscriptionIds ,
102+             SchedulerState.SubscriptionParams[] memory  subscriptionParams 
103+         );
101104}
0 commit comments