Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "Trading"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11545159 | 4 years ago | | | 0 | 0.0027473000 | |
| 11544971 | 4 years ago | | | 0 | 0.0016773120 | |
| 11544750 | 4 years ago | | | 0 | 0.0022547540 | |
| 11544569 | 4 years ago | | | 0 | 0.0027485000 | |
| 11540722 | 4 years ago | | | 0 | 0.0027485000 | |
| 11539940 | 4 years ago | | | 0 | 0.0027485000 | |
| 11538924 | 4 years ago | | | 0 | 0.0027485000 |
ABI
ABI objects
Getter at block 21177940
currency() view returns (address)
0x0000000000000000000000000000000000000000
currencyUnit() view returns (uint256)
0
liquidatorReward() view returns (uint256)
0
minimumMargin() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
Read-only
freeMargins(address) view returns (uint256)
getUserFreeMargin(address user) view returns (uint256)
getUserPositions(address user) view returns (struct TradingPosition[] _positions)
liquidatingIds(uint256) view returns (bool)
maxRisks(bytes32) view returns (uint256)
pausedUsers(address) view returns (uint256)
positions(uint256) view returns (address sender, bytes12 symbol, uint64 margin, uint64 leverage, uint64 price, uint48 block, bool isBuy, uint256 id)
riskDirections(bytes32) view returns (bool)
risks(bytes32) view returns (uint256)
State-modifying
Events cancelOrder(uint256 id, uint256 positionId, address liquidator, string reason)
capUserBalance(address user, uint256 newBalanceCap)
deposit(uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
initialize(address _currency)
liquidatePositions(uint256[] positionIds)
pause()
pauseUsers(address[] users)
processOrder(uint256 id, bytes32 symbol, uint256 price, uint256 margin, uint256 positionId, address liquidator)
registerContracts(address _products, address _queue, address _treasury)
setCurrencyMin(uint256 _amount)
setLiquidatorReward(uint256 _amount)
setMaxRisk(bytes32[] _symbols, uint256[] _maxRisks)
submitOrder(bool isBuy, bytes32 symbol, uint256 margin, uint256 leverage)
submitOrderUpdate(uint256 positionId, bool isBuy, uint256 margin)
unpause()
unpauseUsers(address[] users)
withdraw(uint256 amount)
Deposited(uint256 amount)
LiquidationSubmitted(uint256 id, uint256 positionId, address indexed sender)
NewContracts(address products, address queue, address treasury)
NewLiquidatorReward(uint256 amount)
NewMaxRisk(bytes32 symbol, uint256 risk)
NewMinimum(uint256 amount)
OrderCancelled(uint256 id, uint256 positionId, address indexed sender, string reason)
OrderSubmitted(uint256 id, address indexed sender, bool isBuy, bytes32 symbol, uint256 margin, uint256 leverage, uint256 positionId)
PositionClosed(uint256 positionId, address indexed sender, uint256 marginClosed, uint256 amountToReturn, uint256 entryPrice, uint256 price, uint256 leverage)
PositionLiquidated(uint256 positionId, address indexed sender, address indexed liquidator, uint256 marginLiquidated)
PositionMarginAdded(uint256 positionId, address indexed sender, uint256 newMargin, uint256 oldMargin, uint256 newLeverage)
PositionOpened(uint256 positionId, address indexed sender, bool isBuy, bytes32 symbol, uint256 margin, uint256 leverage, uint256 price)
Withdrew(uint256 amount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.