Skip to content

Commit

Permalink
change ISuperfluid
Browse files Browse the repository at this point in the history
  • Loading branch information
youssefea committed Jan 22, 2024
1 parent 1afc186 commit 97beff3
Showing 1 changed file with 7 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
// SPDX-License-Identifier: AGPLv3
pragma solidity ^0.8.0;

import {
ISuperToken, ISuperfluid
} from "@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperToken.sol";
import {
IConstantFlowAgreementV1
} from "@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IConstantFlowAgreementV1.sol";
import {ISuperToken} from "@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperToken.sol";
import {ISuperfluid} from "@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluid.sol";
import {IConstantFlowAgreementV1} from "@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IConstantFlowAgreementV1.sol";

interface IVestingScheduler {

error TimeWindowInvalid();
error AccountInvalid();
error ZeroAddress();
Expand Down Expand Up @@ -109,7 +105,7 @@ interface IVestingScheduler {
address receiver,
uint32 endDate,
bytes memory ctx
) external returns(bytes memory newCtx);
) external returns (bytes memory newCtx);

/**
* @dev Event emitted on deletion of a vesting schedule
Expand Down Expand Up @@ -180,7 +176,7 @@ interface IVestingScheduler {
ISuperToken superToken,
address sender,
address receiver
) external returns(bool success);
) external returns (bool success);

/**
* @dev Emitted when the end of a scheduled vesting is executed
Expand Down Expand Up @@ -211,7 +207,7 @@ interface IVestingScheduler {
ISuperToken superToken,
address sender,
address receiver
) external returns(bool success);
) external returns (bool success);

/**
* @dev Gets data currently stored for a vesting schedule
Expand All @@ -224,4 +220,4 @@ interface IVestingScheduler {
address sender,
address receiver
) external view returns (VestingSchedule memory);
}
}

0 comments on commit 97beff3

Please sign in to comment.