TransparentUpgradeableProxy

Verified contract

Proxy

Active on Base with 10,146 txns
Deployed by via 0x94739250 at 4151681
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
5 additional variables
Native
Value $27.75
0xa5f49b89a436595711dafe726fde766d37fc202bf4a5d920aa29bcfb2b67967a
0x8e3ead2d08e0aec4875b27a095004b6468af4405fac8af265c9eea0124c9bcea
0xdc1fd5639c9933b62805b315831361d505b87c467024c768c5a7a6bc769f2ca7
0x4e7c2bc6ffd274b244d780325c05056a305249c92188757c1ba6b07fa8225f8f
0xf4b586a009ea6246f05288acb2bddb29f62aed8ca242953fb95bbca29054c008
0x7d8f657c6ff513a772acd240fbc4ed09bb2172a597cd72587ccd01d5b4cb1d26
0xa05ebbcf71d9f9731370b8d1e27a767bdc76f44a26f5a243ce66f22ebfcee26d
0x7fdeb2bdc988f1261705a0b17f419201925f98d778881e2e14e958d80560ee39
0x279c333bb74ece664aee296a80026cf31deeeca82354c763481ac011539c0432
0x6405c17752423ed470feac274143c1f0d96685fdbff2c2b0d10e085dce0c7d62

Functions
Getter at block 21772393
ETH(view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
ETH_UNWRAPPER(view returns (address)
0xcf6094042e9dfeac407f25d7d4868691c46f6122
VERSION(view returns (uint8)
1
_ETH_UNWRAPPER(view returns (address)
0xcf6094042e9dfeac407f25d7d4868691c46f6122
bridgeController(view returns (address)
0x7c71a8b0ef49274d63f0ebc3c44b06d4ddf70e07
controller(view returns (address)
0x0000000000000000000000000000000000000000
enablePublicExecution(view returns (bool)
false
executionDelayTime(view returns (uint256)
1
executor(view returns (address)
0xcd9fb94e4c558de1d75e661e4761029bd58df513
minLeverageExecutionFee(view returns (uint256)
180000000000000
minSwapExecutionFee(view returns (uint256)
160000000000000
nextLeverageOrderId(view returns (uint256)
7701
nextSwapOrderId(view returns (uint256)
1322
oracle(view returns (address)
0x9e37206810b5af02f52728cf8df31ada8c57935c
orderHook(view returns (address)
0xf4287dd5c81ac89eb28781faea4f49c29181d8b5
owner(view returns (address)
0xe11aadb7bbc0c76a15bcd5b3afb9590bbcbfb865
pool(view returns (address)
0x22787c26bb0ab0d331eb840ff010855a70a0dca6
weth(view returns (address)
0x4200000000000000000000000000000000000006
Read-only
getOrders(address useruint256 skipuint256 takeview returns (uint256[] orderIdsuint256 total)
getSwapOrders(address useruint256 skipuint256 takeview returns (uint256[] orderIdsuint256 total)
isMarketSwap(uint256 orderIdview returns (bool)
leverageOrders(uint256 orderIdview returns (address owneraddress indexTokenaddress collateralTokenuint8 statusbool triggerAboveThresholdaddress payTokenuint256 priceuint256 executionFeeuint256 submissionBlockuint256 expiresAtuint256 submissionTimestamp)
swapOrders(uint256 orderIdview returns (address owneraddress tokenInaddress tokenOutuint8 statusuint256 amountInuint256 minAmountOutuint256 priceuint256 executionFeeuint256 submissionBlockuint256 submissionTimestamp)
updatePositionRequests(uint256 orderIdview returns (uint256 sizeChangeuint256 collateraluint8 updateTypeuint8 side)
userLeverageOrderCount(address userview returns (uint256)
userLeverageOrders(address useruint256view returns (uint256)
userSwapOrderCount(address userview returns (uint256)
userSwapOrders(address useruint256view returns (uint256)
State-modifying
cancelLeverageOrder(uint256 _orderId
cancelSwapOrder(uint256 _orderId
executeLeverageOrder(uint256 _orderIdaddress _feeTo
executeSwapOrder(uint256 _orderIdaddress _feeTo
initialize(address _wethaddress _oracleaddress _pooluint256 _minLeverageExecutionFeeuint256 _minSwapExecutionFeeaddress _eth_unwrapper
placeLeverageOrder(uint8 _updateTypeuint8 _sideaddress _indexTokenaddress _collateralTokenuint8 _orderTypebytes datapayable returns (uint256 orderId)
placeLeverageOrderFromBridge(uint8 _updateTypeuint8 _sideaddress _indexTokenaddress _collateralTokenuint8 _orderTypebytes dataaddress userpayable returns (uint256 orderId)
placeSwapOrder(address _tokenInaddress _tokenOutuint256 _amountInuint256 _minOutuint256 _priceuint8 _orderTypebytes _extradatapayable returns (uint256 orderId)
renounceOwnership(
setBridgeController(address _bridgeController
setController(address _controller
setEnablePublicExecution(bool _isEnable
setExecutionDelayTime(uint256 _delay
setExecutor(address _executor
setMinExecutionFee(uint256 _leverageExecutionFeeuint256 _swapExecutionFee
setOracle(address _oracle
setOrderHook(address _hook
swap(address _fromTokenaddress _toTokenuint256 _amountInuint256 _minAmountOutbytes _extradatapayable 
transferOwnership(address newOwner
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
BridgeControllerSet(address indexed bridgeController
ControllerSet(address indexed controller
ExecutorSet(address indexed executor
Initialized(uint8 version
LeverageOrderCancelled(uint256 indexed key
LeverageOrderExecuted(uint256 indexed keystruct DataTypesLeverageOrder orderstruct DataTypesUpdatePositionRequest requestuint256 fillPrice
LeverageOrderExpired(uint256 indexed key
LeverageOrderPlaced(uint256 indexed keystruct DataTypesLeverageOrder orderstruct DataTypesUpdatePositionRequest request
MinLeverageExecutionFeeSet(uint256 leverageExecutionFee
MinSwapExecutionFeeSet(uint256 swapExecutionFee
OracleChanged(address arg0
OrderHookSet(address indexed hook
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PoolSet(address indexed pool
SetEnablePublicExecution(bool isEnable
SetExecutionDelayTime(uint256 delay
Swap(address indexed accountaddress indexed tokenInaddress indexed tokenOutaddress pooluint256 amountInuint256 amountOut
SwapOrderCancelled(uint256 indexed key
SwapOrderExecuted(uint256 indexed keyuint256 amountInuint256 amountOut
SwapOrderExpired(uint256 indexed key
SwapOrderPlaced(uint256 indexed keystruct DataTypesSwapOrder order
SwapOrderTypeSet(uint256 indexed keybool isMarket
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
receive(
Errors
ExecutionDelay(
ExecutionFeeTooLow(
InvalidBridgeOrder(
InvalidExecutionFee(
InvalidLeverageTokenPair(address indexTokenaddress collateralToken
InvalidPayToken(
InvalidPurchaseToken(
InvalidSwapPair(
OnlyBridgeController(
OnlyExecutor(
OnlyOrderOwner(
OnlyOwnerOrController(
OnlyWeth(
OrderNotOpen(
SameTokenSwap(
SlippageReached(
ZeroAddress(
ZeroPurchaseAmount(