forked from Synthetixio/synthetix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEmptyFuturesMarketManager.sol
64 lines (52 loc) · 1.72 KB
/
EmptyFuturesMarketManager.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
pragma solidity ^0.5.16;
// Empty contract for ether collateral placeholder for OVM
// https://docs.synthetix.io/contracts/source/contracts/emptyethercollateral
import "./interfaces/IFuturesMarketManager.sol";
contract EmptyFuturesMarketManager is IFuturesMarketManager {
bytes32 public constant CONTRACT_NAME = "EmptyFuturesMarketManager";
function markets(uint index, uint pageSize) external view returns (address[] memory) {
index;
pageSize;
address[] memory _markets;
return _markets;
}
function markets(
uint index,
uint pageSize,
bool proxiedMarkets
) external view returns (address[] memory) {
index;
pageSize;
proxiedMarkets;
address[] memory _markets;
return _markets;
}
function numMarkets() external view returns (uint) {
return 0;
}
function numMarkets(bool proxiedMarkets) external view returns (uint) {
proxiedMarkets;
return 0;
}
function allMarkets() external view returns (address[] memory) {
address[] memory _markets;
return _markets;
}
function allMarkets(bool proxiedMarkets) external view returns (address[] memory) {
proxiedMarkets;
address[] memory _markets;
return _markets;
}
function marketForKey(bytes32 marketKey) external view returns (address) {
marketKey;
return address(0);
}
function marketsForKeys(bytes32[] calldata marketKeys) external view returns (address[] memory) {
marketKeys;
address[] memory _markets;
return _markets;
}
function totalDebt() external view returns (uint debt, bool isInvalid) {
return (0, false);
}
}