You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @notice Abstract contract defining operator functions for creating and managing payment rails in the FilecoinPayV1 system.
10
11
* This contract provides internal helper functions for interacting with the FilecoinPayV1 interface, while leaving the implementation of the external functions to derived contracts.
11
12
*/
12
-
abstractcontractOperator {
13
-
/**
14
-
* @notice Creates a payment rail
15
-
* @param token The ERC20 token to use for the payment rail
16
-
*/
17
-
function createRail(IERC20token) externalvirtual;
18
-
19
-
/**
20
-
* @notice Updates the lockup period of a payment rail
21
-
* @param railId ID of the payment rail
22
-
* @param newLockupPeriod New lockup period to set
23
-
*/
24
-
function updateLockupPeriod(uint256railId, uint256newLockupPeriod) externalvirtual;
25
-
26
-
/**
27
-
* @notice Modifies the payment rate and optionally makes a one-time payment.
28
-
* @param railId The ID of the rail to modify.
29
-
*/
30
-
function modifyRailPayment(uint256railId) externalvirtual;
31
-
32
-
/**
33
-
* @notice Terminates a payment rail, preventing further payments after the rail's lockup period. After calling this method, the lockup period cannot be changed, and the rail's rate and fixed lockup may only be reduced.
34
-
* @param railId The ID of the rail to terminate.
35
-
*/
36
-
function terminateRail(uint256railId) externalvirtual;
37
-
13
+
abstractcontractOperatorisIOperator {
38
14
/**
39
15
* @notice Internal function to create a payment rail
0 commit comments