TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Base with 1,247 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
0xc8e0…bbb6
0x8b97…f524
0xe8ae…624a
0xc4ab…3352
0x23fc…e684
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
LZPZ | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21194456 | a month ago | | | 0 | 5.3474684e-7 | |
| 21105934 | a month ago | | | 0 | 5.3474684e-7 | |
| 21091416 | a month ago | | | 0 | 5.2525504e-7 | |
| 21091309 | a month ago | | | 0 | 0.000000609137552736 | |
| 21063496 | a month ago | | | 0 | 5.2175280e-7 | |
| 20979805 | a month ago | | | 0 | 5.2892344e-7 | |
| 20912629 | a month ago | | | 0 | 4.2889730e-7 | |
| 20853356 | a month ago | | | 0 | 5.4446043e-7 | |
| 20771153 | 2 months ago | | | 0 | 4.4268420e-7 | |
| 20771151 | 2 months ago | | | 0 | 4.4691507e-7 |
ABI
ABI objects
Getter at block 22773950
lastAddPositionTriggerId() view returns (uint256)
0
Read-only
getAddPositionOrder(uint256 _posId) view returns (struct AddPositionOrder)
getAddPositionTrigger(uint256 _addPositionTriggerId) view returns (struct AddPositionTrigger)
getAliveTriggerIds(uint256 _posId) view returns (uint256[] _aliveTriggerIds)
getDecreasePositionOrder(uint256 _posId) view returns (struct DecreasePositionOrder)
getOrder(uint256 _posId) view returns (struct Order)
getPosAddPositionTriggerIds(uint256 _posId) view returns (uint256[] _addPositionTriggerIds)
getTriggerOrderInfo(uint256 _posId) view returns (struct PositionTrigger)
validateTrailingStopInputData(uint256[] _params) pure returns (bool)
validateTrailingStopPrice(uint256 _tokenId, bool _isLong, uint256 _posId, bool _raise) view returns (bool)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addTrailingStop(address _account, uint256 _posId, uint256[] _params)
addTriggerOrders(uint256 _posId, address _account, bool[] _isTPs, uint256[] _prices, uint256[] _amountPercents)
cancelAddPositionOrder(uint256 _posId)
cancelAddPositionTriggers(uint256[] _addPositionTriggerIds)
cancelAllTriggerOrders(uint256 _posId)
cancelMarketOrder(uint256 _posId)
cancelPendingOrder(address _account, uint256 _posId)
cancelPosAddPositionTriggers(uint256 _posId, address _positionOwner)
cancelTriggerOrder(uint256 _posId, uint256 _orderId)
cancelTriggerOrderPacked(uint256 x)
createAddPositionOrder(address _owner, uint256 _posId, uint256 _collateralDelta, uint256 _sizeDelta, uint256 _allowedPrice, uint256 _fee)
createAddPositionTrigger(bool _isTriggerAbove, uint256 _posId, uint256 _tokenId, uint256 _triggerPrice, uint256 _collateral, uint256 _size, uint256 _fee)
createDecreasePositionOrder(uint256 _posId, uint256 _sizeDelta, uint256 _allowedPrice)
createNewOrder(uint256 _posId, address _account, bool _isLong, uint256 _tokenId, uint256 _positionType, uint256[] _params, address _refer)
deleteAddPositionOrder(uint256 _posId)
deleteDecreasePositionOrder(uint256 _posId)
editTriggerOrder(uint256 _posId, uint256 _orderId, bool _isTP, uint256 _price, uint256 _amountPercent)
init(address _priceManager, address _positionVault, address _settingsManager, address _vault, address _operators)
initialize()
selfExecuteDecreasePositionOrder(uint256 _posId)
triggerForAddPositionTrigger(uint256 _addPositionTriggerId)
triggerForOpenOrders(uint256 _posId)
triggerForTPSL(uint256 _posId)
updateOrder(uint256 _posId, uint256 _positionType, uint256 _collateral, uint256 _size, uint8 _status)
updateTrailingStop(uint256 _posId)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
AddTrailingStop(uint256 posId, uint256[] data)
AddTriggerOrders(uint256 posId, uint256 orderId, bool isTP, uint256 price, uint256 amountPercent, uint8 status)
CreateAddPositionTrigger(uint256 indexed addPositionTriggerId, uint256 posId, uint256 tokenId, bool isTriggerAbove, uint256 triggerPrice)
EditTriggerOrder(uint256 indexed posId, uint256 orderId, bool isTP, uint256 price, uint256 amountPercent)
ExecuteTriggerOrders(uint256 posId, uint256 amount, uint256 orderId, uint256 price)
FinishOrder(uint256 posId, uint256 positionType, uint8 orderStatus)
Initialized(uint8 version)
NewOrder(uint256 posId, address account, bool isLong, uint256 tokenId, uint256 positionType, uint8 orderStatus, uint256[] triggerData, address refer)
RemoveAddPositionTrigger(uint256 indexed addPositionTriggerId, uint256 posId)
UpdateOrder(uint256 posId, uint256 positionType, uint8 orderStatus)
UpdateTrailingStop(uint256 posId, uint256 stpPrice)
UpdateTriggerOrderStatus(uint256 posId, uint256 orderId, uint8 status)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
This contract contains no error objects.