Trading

Verified contract

Active on Ethereum with 7 txns
Deployed by via 0xc26263a7 at 11538601
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Trading"

0x4e7bf8145e44d34afc3ee3998ae7046af0c8e50197cce2499ade04f006d62f93
From
0x05db93aebbbd259347c2bf5018efa0f965b9ce44dcc079f7e23baf37ff14644d
0x1adce0588d0bfd1b534ba751a6d5c8abac04a347e2de6ee3b6612669604d9e01
0xd9c431acd110731b727c915b52809091edc6c8f725a15dbca8d9ac772e3914f8
From
0x8280102b75538881363bbe32d0ecd1d7908e6a13237696a9c760bac75a7284d6
From
0xb5b98edeefb85c1fa4e9179d160d2fe9f4fb9b500df85987efe79a8a47f79fb3
0x7b0db78c640bc601e08249264055c875f284f13f2f5848e9f89b1dbde0ff7be9

Functions
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(addressview returns (uint256)
getUserFreeMargin(address userview returns (uint256)
getUserPositions(address userview returns (struct TradingPosition[] _positions)
liquidatingIds(uint256view returns (bool)
maxRisks(bytes32view returns (uint256)
pausedUsers(addressview returns (uint256)
positions(uint256view returns (address senderbytes12 symboluint64 marginuint64 leverageuint64 priceuint48 blockbool isBuyuint256 id)
riskDirections(bytes32view returns (bool)
risks(bytes32view returns (uint256)
State-modifying
cancelOrder(uint256 iduint256 positionIdaddress liquidatorstring reason
capUserBalance(address useruint256 newBalanceCap
deposit(uint256 amountuint256 deadlineuint8 vbytes32 rbytes32 s
initialize(address _currency
liquidatePositions(uint256[] positionIds
pause(
pauseUsers(address[] users
processOrder(uint256 idbytes32 symboluint256 priceuint256 marginuint256 positionIdaddress liquidator
registerContracts(address _productsaddress _queueaddress _treasury
setCurrencyMin(uint256 _amount
setLiquidatorReward(uint256 _amount
setMaxRisk(bytes32[] _symbolsuint256[] _maxRisks
submitOrder(bool isBuybytes32 symboluint256 marginuint256 leverage
submitOrderUpdate(uint256 positionIdbool isBuyuint256 margin
unpause(
unpauseUsers(address[] users
withdraw(uint256 amount
Events
Deposited(uint256 amount
LiquidationSubmitted(uint256 iduint256 positionIdaddress indexed sender
NewContracts(address productsaddress queueaddress treasury
NewLiquidatorReward(uint256 amount
NewMaxRisk(bytes32 symboluint256 risk
NewMinimum(uint256 amount
OrderCancelled(uint256 iduint256 positionIdaddress indexed senderstring reason
OrderSubmitted(uint256 idaddress indexed senderbool isBuybytes32 symboluint256 marginuint256 leverageuint256 positionId
PositionClosed(uint256 positionIdaddress indexed senderuint256 marginCloseduint256 amountToReturnuint256 entryPriceuint256 priceuint256 leverage
PositionLiquidated(uint256 positionIdaddress indexed senderaddress indexed liquidatoruint256 marginLiquidated
PositionMarginAdded(uint256 positionIdaddress indexed senderuint256 newMarginuint256 oldMarginuint256 newLeverage
PositionOpened(uint256 positionIdaddress indexed senderbool isBuybytes32 symboluint256 marginuint256 leverageuint256 price
Withdrew(uint256 amount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.