OrderManager

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x690e9b76 at 7225915
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
-
variable spans 48 additional slots
1 additional variable

No balances found for "OrderManager"

No transactions found for "OrderManager"


Functions
Getter at block 22932814
ORDER_VERSION(view returns (uint256)
2
VERSION(view returns (uint8)
4
controller(view returns (address)
0x0000000000000000000000000000000000000000
enablePublicExecution(view returns (bool)
false
ethUnwrapper(view returns (address)
0x0000000000000000000000000000000000000000
executor(view returns (address)
0x0000000000000000000000000000000000000000
minPerpetualExecutionFee(view returns (uint256)
0
minSwapExecutionFee(view returns (uint256)
0
nextOrderId(view returns (uint256)
0
nextSwapOrderId(view returns (uint256)
0
oracle(view returns (address)
0x0000000000000000000000000000000000000000
orderHook(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x0000000000000000000000000000000000000000
pool(view returns (address)
0x0000000000000000000000000000000000000000
weth(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getOrderIds(address useruint256 skipuint256 takeview returns (uint256[] orderIdsuint256 total)
getOrders(address useruint256 skipuint256 takeview returns (uint256[] orderIdsstruct Order[] takeOrdersstruct UpdatePositionRequest[] takeRequestsuint256 total)
getSwapOrders(address useruint256 skipuint256 takeview returns (uint256[] orderIdsuint256 total)
orderVersions(uint256view returns (uint256)
orders(uint256view returns (address pooladdress owneraddress indexTokenaddress collateralTokenaddress payTokenuint256 expiresAtuint256 submissionBlockuint256 priceuint256 executionFeebool triggerAboveThreshold)
requests(uint256view returns (uint8 sideuint256 sizeChangeuint256 collateraluint8 updateType)
swapOrders(uint256view returns (address pooladdress owneraddress tokenInaddress tokenOutuint256 amountInuint256 minAmountOutuint256 priceuint256 executionFee)
userOrders(addressuint256view returns (uint256)
userSwapOrders(addressuint256view returns (uint256)
State-modifying
cancelOrder(uint256 _orderId
cancelSwapOrder(uint256 _orderId
executeOrder(uint256 _orderIdaddress _feeTo
executeSwapOrder(uint256 _orderIdaddress _feeTo
initialize(address _wethaddress _oracleuint256 _minExecutionFeeuint256 _minSwapExecutionFeeaddress _ethUnwrapper
placeOrder(uint8 _updateTypeuint8 _sideaddress _indexTokenaddress _collateralTokenuint8 _orderTypebytes datapayable 
placeSwapOrder(address _tokenInaddress _tokenOutuint256 _amountInuint256 _minOutuint256 _pricepayable 
placeSwapOrder(address _tokenInaddress _tokenOutuint256 _amountInuint256 _minOutuint256 _pricebytes _extradatapayable 
renounceOwnership(
setController(address _controller
setEnablePublicExecution(bool _isEnabled
setExecutor(address _executor
setMinExecutionFee(uint256 _perpExecutionFeeuint256 _swapExecutionFee
setOracle(address _oracle
setOrderHook(address _hook
setPool(address _pool
swap(address _fromTokenaddress _toTokenuint256 _amountInuint256 _minAmountOutpayable 
swap(address _fromTokenaddress _toTokenuint256 _amountInuint256 _minAmountOutbytes _extradatapayable 
transferOwnership(address newOwner
Events
ControllerSet(address controller
ExecutorSet(address indexed executor
Initialized(uint8 version
MinExecutionFeeSet(uint256 perpetualFee
MinSwapExecutionFeeSet(uint256 swapExecutionFee
OracleChanged(address arg0
OrderCancelled(uint256 indexed key
OrderExecuted(uint256 indexed keystruct Order orderstruct UpdatePositionRequest requestuint256 fillPrice
OrderExpired(uint256 indexed key
OrderHookSet(address indexed hook
OrderPlaced(uint256 indexed keystruct Order orderstruct UpdatePositionRequest request
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PoolSet(address indexed pool
SetEnablePublicExecution(bool enabled
Swap(address indexed accountaddress indexed tokenInaddress indexed tokenOutaddress pooluint256 amountInuint256 amountOut
SwapOrderCancelled(uint256 indexed key
SwapOrderExecuted(uint256 indexed keyuint256 amountInuint256 amountOut
SwapOrderPlaced(uint256 indexed key
Constructor
constructor(
Fallback and receive
receive(
Errors

This contract contains no error objects.