forked from sherlock-audit/2024-11-autonomint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIMultiSign.sol
More file actions
33 lines (29 loc) · 685 Bytes
/
IMultiSign.sol
File metadata and controls
33 lines (29 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
interface IMultiSign {
enum SetterFunctions {
SetLTV,
SetAPR,
SetWithdrawTimeLimitCDS,
SetAdminBorrow,
SetAdminCDS,
SetTreasuryBorrow,
SetTreasuryCDS,
SetBondRatio,
SetUSDaLimit,
SetUsdtLimit
}
enum Functions {
BorrowingDeposit,
BorrowingWithdraw,
Liquidation,
SetAPR,
CDSDeposit,
CDSWithdraw,
RedeemUSDT
}
function functionState(Functions) external returns (bool);
function executeSetterFunction(
SetterFunctions _function
) external returns (bool);
}