-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
37 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.28; | ||
|
||
import {IHats} from "./hats/full/IHats.sol"; | ||
import {ISablierV2Lockup} from "./sablier/full/ISablierV2Lockup.sol"; | ||
|
||
interface IDecentAutonomousAdmin { | ||
struct SablierStreamInfo { | ||
uint256 streamId; | ||
ISablierV2Lockup sablierV2Lockup; | ||
} | ||
|
||
struct TriggerStartArgs { | ||
address currentWearer; | ||
IHats userHatProtocol; | ||
uint256 userHatId; | ||
address nominatedWearer; | ||
} | ||
|
||
function triggerStartNextTerm(TriggerStartArgs calldata args) external; | ||
} |