-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into misc-sips
- Loading branch information
Showing
85 changed files
with
5,232 additions
and
1,410 deletions.
There are no files selected for viewing
Binary file renamed
BIN
+1.24 MB
...lder-npm-2.4.20-c88eae7630-342818635e.zip → ...lder-npm-2.4.21-5dac6deee6-e37889a5e6.zip
Binary file not shown.
Binary file renamed
BIN
+205 KB
...-cli-npm-2.4.20-0858c1dc0e-39fa135e5d.zip → ...-cli-npm-2.4.21-6e52472173-fd2a755e2d.zip
Binary file not shown.
Binary file renamed
BIN
+56 KB
...nnon-npm-2.4.17-e95edf0280-d854831f53.zip → ...nnon-npm-2.4.21-73f233b4d8-f00a31c6e9.zip
Binary file not shown.
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
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
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
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
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
20 changes: 20 additions & 0 deletions
20
markets/perps-market/contracts/interfaces/external/IFeeCollector.sol
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,20 @@ | ||
//SPDX-License-Identifier: MIT | ||
pragma solidity >=0.8.11 <0.9.0; | ||
|
||
import "@synthetixio/core-contracts/contracts/interfaces/IERC165.sol"; | ||
|
||
interface IFeeCollector is IERC165 { | ||
/** | ||
* @notice .This function is called by the spot market proxy to get the fee amount to be collected. | ||
* @dev .The quoted fee amount is then transferred directly to the fee collector. | ||
* @param marketId .synth market id value | ||
* @param feeAmount .max fee amount that can be collected | ||
* @param transactor .the trader the fee was collected from | ||
* @return feeAmountToCollect .quoted fee amount | ||
*/ | ||
function quoteFees( | ||
uint128 marketId, | ||
uint256 feeAmount, | ||
address transactor | ||
) external returns (uint256 feeAmountToCollect); | ||
} |
Oops, something went wrong.