OrderVault

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x9c1c3731 at 14893569
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots

No balances found for "OrderVault"

No transactions found for "OrderVault"


Functions
Getter at block 22937788
lastAddPositionTriggerId(view returns (uint256)
0
Read-only
getAddPositionOrder(uint256 _posIdview returns (struct AddPositionOrder)
getAddPositionTrigger(uint256 _addPositionTriggerIdview returns (struct AddPositionTrigger)
getAliveTriggerIds(uint256 _posIdview returns (uint256[] _aliveTriggerIds)
getDecreasePositionOrder(uint256 _posIdview returns (struct DecreasePositionOrder)
getOrder(uint256 _posIdview returns (struct Order)
getPosAddPositionTriggerIds(uint256 _posIdview returns (uint256[] _addPositionTriggerIds)
getTriggerOrderInfo(uint256 _posIdview returns (struct PositionTrigger)
validateTrailingStopInputData(uint256[] _paramspure returns (bool)
validateTrailingStopPrice(uint256 _tokenIdbool _isLonguint256 _posIdbool _raiseview returns (bool)
State-modifying
addTrailingStop(address _accountuint256 _posIduint256[] _params
addTriggerOrders(uint256 _posIdaddress _accountbool[] _isTPsuint256[] _pricesuint256[] _amountPercents
cancelAddPositionOrder(uint256 _posId
cancelAddPositionTriggers(uint256[] _addPositionTriggerIds
cancelAllTriggerOrders(uint256 _posId
cancelMarketOrder(uint256 _posId
cancelPendingOrder(address _accountuint256 _posId
cancelPosAddPositionTriggers(uint256 _posIdaddress _positionOwner
cancelTriggerOrder(uint256 _posIduint256 _orderId
cancelTriggerOrderPacked(uint256 x
createAddPositionOrder(address _owneruint256 _posIduint256 _collateralDeltauint256 _sizeDeltauint256 _allowedPriceuint256 _fee
createAddPositionTrigger(bool _isTriggerAboveuint256 _posIduint256 _tokenIduint256 _triggerPriceuint256 _collateraluint256 _sizeuint256 _fee
createDecreasePositionOrder(uint256 _posIduint256 _sizeDeltauint256 _allowedPrice
createNewOrder(uint256 _posIdaddress _accountbool _isLonguint256 _tokenIduint256 _positionTypeuint256[] _paramsaddress _refer
deleteAddPositionOrder(uint256 _posId
deleteDecreasePositionOrder(uint256 _posId
editTriggerOrder(uint256 _posIduint256 _orderIdbool _isTPuint256 _priceuint256 _amountPercent
init(address _priceManageraddress _positionVaultaddress _settingsManageraddress _vaultaddress _operators
initialize(
selfExecuteDecreasePositionOrder(uint256 _posId
triggerForAddPositionTrigger(uint256 _addPositionTriggerId
triggerForOpenOrders(uint256 _posId
triggerForTPSL(uint256 _posId
updateOrder(uint256 _posIduint256 _positionTypeuint256 _collateraluint256 _sizeuint8 _status
updateTrailingStop(uint256 _posId
Events
AddTrailingStop(uint256 posIduint256[] data
AddTriggerOrders(uint256 posIduint256 orderIdbool isTPuint256 priceuint256 amountPercentuint8 status
CreateAddPositionTrigger(uint256 indexed addPositionTriggerIduint256 posIduint256 tokenIdbool isTriggerAboveuint256 triggerPrice
EditTriggerOrder(uint256 indexed posIduint256 orderIdbool isTPuint256 priceuint256 amountPercent
ExecuteTriggerOrders(uint256 posIduint256 amountuint256 orderIduint256 price
FinishOrder(uint256 posIduint256 positionTypeuint8 orderStatus
Initialized(uint8 version
NewOrder(uint256 posIdaddress accountbool isLonguint256 tokenIduint256 positionTypeuint8 orderStatusuint256[] triggerDataaddress refer
RemoveAddPositionTrigger(uint256 indexed addPositionTriggerIduint256 posId
UpdateOrder(uint256 posIduint256 positionTypeuint8 orderStatus
UpdateTrailingStop(uint256 posIduint256 stpPrice
UpdateTriggerOrderStatus(uint256 posIduint256 orderIduint8 status
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.