-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
9f03df2
commit f0c6f07
Showing
3 changed files
with
83 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.23; | ||
|
||
import {IERC20} from 'forge-std/interfaces/IERC20.sol'; | ||
import {IQWManager} from 'interfaces/IQWManager.sol'; | ||
|
||
contract QWManager is IQWManager {} |
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,22 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.23; | ||
|
||
/** | ||
* @title Interface for Quant Wealth Integration Contract | ||
* @author Quant Wealth | ||
* @notice ... | ||
*/ | ||
interface IQWIChild { | ||
/*/////////////////////////////////////////////////////////////// | ||
EVENTS | ||
//////////////////////////////////////////////////////////////*/ | ||
/*/////////////////////////////////////////////////////////////// | ||
ERRORS | ||
//////////////////////////////////////////////////////////////*/ | ||
/*/////////////////////////////////////////////////////////////// | ||
VARIABLES | ||
//////////////////////////////////////////////////////////////*/ | ||
/*/////////////////////////////////////////////////////////////// | ||
FUNCTIONS | ||
//////////////////////////////////////////////////////////////*/ | ||
} |
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,54 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.23; | ||
|
||
/** | ||
* @title Quant Wealth Manager Contract | ||
* @author quantwealth | ||
* @notice TODO: Add a description | ||
*/ | ||
interface IQWManager { | ||
/*/////////////////////////////////////////////////////////////// | ||
EVENTS | ||
//////////////////////////////////////////////////////////////*/ | ||
|
||
/*/////////////////////////////////////////////////////////////// | ||
ERRORS | ||
//////////////////////////////////////////////////////////////*/ | ||
/*/////////////////////////////////////////////////////////////// | ||
VARIABLES | ||
//////////////////////////////////////////////////////////////*/ | ||
|
||
/*/////////////////////////////////////////////////////////////// | ||
FUNCTIONS | ||
//////////////////////////////////////////////////////////////*/ | ||
/** | ||
* @notice ... | ||
* @dev Only callable by the wing | ||
* @param _targetQwi ... | ||
* @param _callData ... | ||
* @param _tokenAddress ... | ||
* @param _amount ... | ||
*/ | ||
function execute( | ||
address[] memory _targetQwi, | ||
bytes[] memory _callData, | ||
address[] memory _tokenAddress, | ||
uint256[] _amount | ||
) external; | ||
|
||
/** | ||
* @notice ... | ||
* @dev Only callable by the wing | ||
* @param _targetQwi ... | ||
* @param _callData ... | ||
*/ | ||
function close(address[] memory _targetQwi, bytes[] memory _callData) external; | ||
|
||
/** | ||
* @notice ... | ||
* @dev Only callable by the wing | ||
* @param _targetQwi ... | ||
* @param _callData ... | ||
*/ | ||
function withdraw(address user, uint256 amount) external; | ||
} |