This repository has been archived by the owner on Jan 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathIControlEvents.sol
65 lines (64 loc) · 2.81 KB
/
IControlEvents.sol
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// SPDX-License-Identifier: SYMM-Core-Business-Source-License-1.1
// This contract is licensed under the SYMM Core Business Source License 1.1
// Copyright (c) 2023 Symmetry Labs AG
// For more information, see https://docs.symm.io/legal-disclaimer/license
pragma solidity >=0.8.18;
interface IControlEvents {
event RoleGranted(bytes32 role, address user);
event RoleRevoked(bytes32 role, address user);
event SetMuonConfig(
uint256 upnlValidTime,
uint256 priceValidTime,
uint256 priceQuantityValidTime
);
event SetMuonIds(uint256 muonAppId, address gateway, uint256 x, uint8 parity);
event SetCollateral(address collateral);
event AddSymbol(
uint256 id,
string name,
uint256 minAcceptableQuoteValue,
uint256 minAcceptablePortionLF,
uint256 tradingFee
);
event SetFeeCollector(address oldFeeCollector, address newFeeCollector);
event SetSymbolValidationState(uint256 id, bool oldState, bool isValid);
event SetSymbolAcceptableValues(
uint256 symbolId,
uint256 oldMinAcceptableQuoteValue,
uint256 oldMinAcceptablePortionLF,
uint256 minAcceptableQuoteValue,
uint256 minAcceptablePortionLF
);
event SetSymbolTradingFee(uint256 symbolId, uint256 oldTradingFee, uint256 tradingFee);
event SetSymbolMaxSlippage(uint256 symbolId, uint256 oldMaxSlippage, uint256 maxSlippage);
event SetDeallocateCooldown(uint256 oldDeallocateCooldown, uint256 newDeallocateCooldown);
event SetForceCancelCooldown(uint256 oldForceCancelCooldown, uint256 newForceCancelCooldown);
event SetForceCloseCooldown(uint256 oldForceCloseCooldown, uint256 newForceCloseCooldown);
event SetForceCancelCloseCooldown(
uint256 oldForceCancelCloseCooldown,
uint256 newForceCancelCloseCooldown
);
event SetLiquidatorShare(uint256 oldLiquidatorShare, uint256 newLiquidatorShare);
event SetForceCloseGapRatio(uint256 oldForceCloseGapRatio, uint256 newForceCloseGapRatio);
event SetPendingQuotesValidLength(
uint256 oldPendingQuotesValidLength,
uint256 newPendingQuotesValidLength
);
event PauseGlobal();
event PauseLiquidation();
event PauseAccounting();
event PausePartyAActions();
event PausePartyBActions();
event ActiveEmergencyMode();
event UnpauseGlobal();
event UnpauseLiquidation();
event UnpauseAccounting();
event UnpausePartyAActions();
event UnpausePartyBActions();
event DeactiveEmergencyMode();
event SetLiquidationTimeout(uint256 oldLiquidationTimeout, uint256 newLiquidationTimeout);
event SetSuspendedAddress(address user, bool isSuspended);
event SetPartyBEmergencyStatus(address partyB, bool status);
event SetBalanceLimitPerUser(uint256 balanceLimitPerUser);
event RegisterPartyB(address partyB);
}