Orders

Verified contract

Active on Base with 7,737 txns
Deployed by via 0x34b6bb70 at 11719623
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
ERC-20
Value $0
ERC-20
--
ERC-20
--
0xcc41e7cf39bf379ffa497440845985061ac8431029794c2e4b95b96dd439a798
0x82b4552b6f8ed287d1a2a0edc1e0e3c81ec5b12fa60d5c1c6abd31102c38c38c
0xf25ffbfe3bc05f5338a41427646c3e53df57f55f0d4c3ed4e8aa257ac94ede2e
0x138ad51d7dc9e97e9156f9637594cdc98141e64c7017196ea9b4b62d8c5a4250
0xec746056e38c9046267cef4285f25d6c3aa4ec74a089cfde517745baf3ff3e46
0xe5bde534beef331b210a0f80c699ec6a2247442d58b71405914dd3ea3cf395ba
0xb312ecbae4b1b931c6e90f668b78e70e4719d39a9d1ac49f8c85dd2708fe93ca
0x91c974ab8cd69aa810fe5679f0ebb574b28ee226d8618f046912cfbc2d712c03
0xca57fce13642f4e951413faf2f994bf587a05d4903f55f57d3c9606618e990a2
0xaf8b078495c2e3aa9cf6c6097ab7bf78d5938cc82bb8506323de7935575d770c

Functions
Getter at block 22773394
BPS_FACTOR(view returns (uint256)
10000
IDENTIFIER(view returns (bytes32)
0xa6b4afb8261e54ddfe8e816fa0588fc508f1a674b9cdbef046227c80992dbcbf
UNIT(view returns (uint256)
1000000000000000000
dataRegistry(view returns (address)
0x5dc939df0cf253873cf77b786a24d51baa72cf75
getMarketOrderCount(view returns (uint256)
0
getTriggerOrderCount(view returns (uint256)
2
isOrderPlacementPaused(view returns (bool)
false
isOrderProcessingPaused(view returns (bool)
false
maxMarketOrderEXP(view returns (uint256)
180
maxTriggerOrderEXP(view returns (uint256)
15552000
oid(view returns (uint256)
9916
positions(view returns (address)
0x7fee4e1457918adf315f5e8384b1ddeaf9722f1a
refInvite(view returns (address)
0xa66f101dc0948e9916f5276325bbb0a90ae278ed
roleManager(view returns (address)
0xac01b059dbe1f52e2cdfab6470448fbce7b26503
tradingMarket(view returns (address)
0xe52e928c9bcfbd60fe5982cd2f6e0d352ac0ea24
vaultAssets(view returns (address)
0xcd2f0d3e93559f557f33204acf662f681d79e096
vaultManager(view returns (address)
0x69bbc2b8ad81c572e5fd6894d4196c6b69c12975
vaultUtils(view returns (address)
0x13254afa6b549b63c65b49eade5a14fa64163726
Read-only
get(uint256 orderIdview returns (struct OrdersOrder)
getMarketOrders(uint256 lengthview returns (struct OrdersOrder[])
getMultipleMarkets(uint256[] orderIdsview returns (struct OrdersOrder[])
getTriggerOrders(uint256 lengthuint256 offsetview returns (struct OrdersOrder[])
getUserOrderCount(address userview returns (uint256)
getUserOrders(address userview returns (struct OrdersOrder[])
isGov(addressview returns (bool)
userPlacedOrder(uint256 orderIdaddress userview returns (bool)
State-modifying
_add(struct OrdersOrder orderreturns (uint256)
_remove(uint256 orderId
initialize(
pauseOrderPlacement(bool b
pauseOrderProcessing(bool b
placeOrder(struct OrdersOrder paramsuint256 tProfituint256 sLossstring inviteCodepayable 
revokeOrder(uint256 orderId
revokeOrder(uint256 orderIdstring reason
revokeOrders(uint256[] orderIds
revokeOrders(uint256[] orderIdsstring[] reasons
setGov(address _govbool _status
setMaxMarketOrderEXP(uint256 amount
setMaxTriggerOrderEXP(uint256 amount
Events
OrderPlaced(uint256 indexed orderIdaddress indexed useraddress indexed assetstring marketuint256 collateraluint256 sizeuint256 priceuint256 feebool isLonguint8 orderSortbool isReduceOnlyuint256 expiryuint256 revokeOrderId
RevokedOrder(uint256 indexed orderIdaddress indexed userstring reason
SetGov(address govbool status
Constructor
constructor(address roleManageraddress dataRegistry_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.