Trading

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x0915b4c9 at 17827992
Slot
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

No balances found for "Trading"

No transactions found for "Trading"


Functions
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(addressview returns (bool)
lastUpdateTime(addressuint256view returns (uint256)
whitelistedAddress(addressview returns (bool)
State-modifying
addWhitelist(address _address
cancelOpenLimitOrder(uint256 _pairIndexuint256 _index
cancelPendingMarketOrder(uint256 _id
closeTradeMarket(uint256 _pairIndexuint256 _indexuint256 _amountuint256 _executionFeepayable returns (uint256 orderId)
executeLimitOrder(uint8 _orderTypeaddress _traderuint256 _pairIndexuint256 _indexbytes[] priceUpdateDatapayable 
executeMarketOrders(uint256 pairIndexuint256[] orderIdbytes[] priceUpdateDatapayable 
initialize(address _storageTaddress _pairInfos
openTrade(struct ITradingStorageTrade tuint8 _typeuint256 _slippagePuint256 _executionFeepayable returns (uint256 orderId)
pause(
removeWhitelist(address _address
setLimitOrdersTimelock(uint256 _blocks
setMarketExecFeeReciever(address _reciever
toggleWhitelist(
unpause(
updateMargin(uint256 _pairIndexuint256 _indexuint8 _typeuint256 _amountbytes[] priceUpdateDatapayable returns (uint256 orderId)
updateOpenLimitOrder(uint256 _pairIndexuint256 _indexuint256 _priceuint256 _slippagePuint256 _tpuint256 _sl
updateOperator(address _operatorbool _isOperator
updateSl(uint256 _pairIndexuint256 _indexuint256 _newSlbytes[] priceUpdateDatapayable 
updateTp(uint256 _pairIndexuint256 _indexuint256 _newTp
updateTpAndSl(uint256 _pairIndexuint256 _indexuint256 _newSluint256 _newTPbytes[] priceUpdateDatapayable 
Events
AddressUpdated(string nameaddress a
Initialized(uint8 version
LimitOrderInitiated(address indexed traderuint256 pairIndexuint256 orderIduint256 timestamp
LimitOrderSameBlock(address indexed traderuint256 pairIndexuint256 timestamp
MarginUpdated(address indexed traderuint256 pairIndexuint256 indexuint8 _typestruct ITradingStorageTrade newTradeuint256 marginFeesuint256 lossProtectionTieruint256 timestamp
MarketOrderInitiated(address indexed traderuint256 pairIndexbool openuint256 orderIduint256 timestamp
NumberUpdated(string nameuint256 value
OpenLimitCanceled(address indexed traderuint256 pairIndexuint256 indexuint256 timestamp
OpenLimitPlaced(address indexed traderuint256 pairIndexuint256 indexbool isBuyuint256 openPriceuint256 executionFeeuint8 orderTypeuint256 slippageP
OpenLimitUpdated(address indexed traderuint256 pairIndexuint256 indexuint256 newPriceuint256 newTpuint256 newSluint256 timestamp
OperatorUpdated(address operatorbool isOperator
Paused(address account
SlUpdateInitiated(address indexed traderuint256 pairIndexuint256 indexuint256 newSluint256 orderIduint256 timestamp
SlUpdated(address indexed traderuint256 pairIndexuint256 indexuint256 newSluint256 timestamp
TpUpdated(address indexed traderuint256 pairIndexuint256 indexuint256 newTpuint256 timestamp
Unpaused(address account
Whitelist(bool whitelist
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.