Trading
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "Trading"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Trading"
ABI
ABI objects
Getter at block 21736211
isWhitelisted() view returns (bool)
false
limitOrdersTimelock() view returns (uint256)
0
operator() view returns (address)
0x0000000000000000000000000000000000000000
pairInfos() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
storageT() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
isOperator(address) view returns (bool)
lastUpdateTime(address, uint256) view returns (uint256)
whitelistedAddress(address) view returns (bool)
State-modifying
Events addWhitelist(address _address)
cancelOpenLimitOrder(uint256 _pairIndex, uint256 _index)
cancelPendingMarketOrder(uint256 _id)
closeTradeMarket(uint256 _pairIndex, uint256 _index, uint256 _amount, uint256 _executionFee) payable returns (uint256 orderId)
executeLimitOrder(uint8 _orderType, address _trader, uint256 _pairIndex, uint256 _index, bytes[] priceUpdateData) payable
executeMarketOrders(uint256 pairIndex, uint256[] orderId, bytes[] priceUpdateData) payable
initialize(address _storageT, address _pairInfos)
openTrade(struct ITradingStorageTrade t, uint8 _type, uint256 _slippageP, uint256 _executionFee) payable returns (uint256 orderId)
pause()
removeWhitelist(address _address)
setLimitOrdersTimelock(uint256 _blocks)
setMarketExecFeeReciever(address _reciever)
toggleWhitelist()
unpause()
updateMargin(uint256 _pairIndex, uint256 _index, uint8 _type, uint256 _amount, bytes[] priceUpdateData) payable returns (uint256 orderId)
updateOpenLimitOrder(uint256 _pairIndex, uint256 _index, uint256 _price, uint256 _slippageP, uint256 _tp, uint256 _sl)
updateOperator(address _operator, bool _isOperator)
updateSl(uint256 _pairIndex, uint256 _index, uint256 _newSl, bytes[] priceUpdateData) payable
updateTp(uint256 _pairIndex, uint256 _index, uint256 _newTp)
updateTpAndSl(uint256 _pairIndex, uint256 _index, uint256 _newSl, uint256 _newTP, bytes[] priceUpdateData) payable
AddressUpdated(string name, address a)
Initialized(uint8 version)
LimitOrderInitiated(address indexed trader, uint256 pairIndex, uint256 orderId, uint256 timestamp)
LimitOrderSameBlock(address indexed trader, uint256 pairIndex, uint256 timestamp)
MarginUpdated(address indexed trader, uint256 pairIndex, uint256 index, uint8 _type, struct ITradingStorageTrade newTrade, uint256 marginFees, uint256 lossProtectionTier, uint256 timestamp)
MarketOrderInitiated(address indexed trader, uint256 pairIndex, bool open, uint256 orderId, uint256 timestamp)
NumberUpdated(string name, uint256 value)
OpenLimitCanceled(address indexed trader, uint256 pairIndex, uint256 index, uint256 timestamp)
OpenLimitPlaced(address indexed trader, uint256 pairIndex, uint256 index, bool isBuy, uint256 openPrice, uint256 executionFee, uint8 orderType, uint256 slippageP)
OpenLimitUpdated(address indexed trader, uint256 pairIndex, uint256 index, uint256 newPrice, uint256 newTp, uint256 newSl, uint256 timestamp)
OperatorUpdated(address operator, bool isOperator)
Paused(address account)
SlUpdateInitiated(address indexed trader, uint256 pairIndex, uint256 index, uint256 newSl, uint256 orderId, uint256 timestamp)
SlUpdated(address indexed trader, uint256 pairIndex, uint256 index, uint256 newSl, uint256 timestamp)
TpUpdated(address indexed trader, uint256 pairIndex, uint256 index, uint256 newTp, uint256 timestamp)
Unpaused(address account)
Whitelist(bool whitelist)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.