Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($838.45)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 0.2548 | $3,290.19 |
$838.34 | |
WGC | ERC-20 | 200 | $0.000563 |
$0.11 | |
kurbi | ERC-20 | 0.1 | $0.000785 |
$0 | |
BIU BULL | ERC-20 | 99 | -- | -- | |
XBOO | ERC-20 | 88 | -- | -- | |
OOMBASE | ERC-20 | 76.33 | -- | -- | |
OHNO | ERC-20 | 18.794613 | -- | -- | |
GURMY | ERC-20 | 3.33 | -- | -- | |
LZPZ | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22721824 | 14 hours ago | | | 0.00020001 | 0.0000011548001 | |
| 22721810 | 14 hours ago | | | 0 | 4.1786229e-7 | |
| 22721725 | 14 hours ago | | | 0 | 4.2797812e-7 | |
| 22721352 | 14 hours ago | | | 0.00020001 | 0.0000016478140 | |
| 22721336 | 14 hours ago | | | 0.00020001 | 0.0000015084300 | |
| 22719090 | 15 hours ago | | | 0.00020001 | 0.0000020716798 | |
| 22719051 | 15 hours ago | | | 0 | 7.6635678e-7 | |
| 22718446 | 16 hours ago | | | 0 | 5.1215200e-7 | |
| 22718421 | 16 hours ago | | | 0 | 5.1656354e-7 | |
| 22713833 | 18 hours ago | | | 0.00020001 | 0.0000022756804 |
ABI
ABI objects
Getter at block 22746658
PRICE_PRECISION() view returns (uint256)
1000000000000000000000000000000
USDG_PRECISION() view returns (uint256)
1000000000000000000
gov() view returns (address)
0xe02fb5c70af32f80aa7f9e8775fe7f12550348ec
isInitialized() view returns (bool)
true
minExecutionFee() view returns (uint256)
200000000000000
minPurchaseTokenAmountUsd() view returns (uint256)
10000000000000000000000000000000
router() view returns (address)
0xc608188e753b1e9558731724b7f7cdde40c3b174
usdg() view returns (address)
0xe974a88385935cb8846482f3ab01b6c0f70fa5f3
vault() view returns (address)
0xec8d8d4b215727f3476ff0ab41c406fa99b4272c
weth() view returns (address)
0x4200000000000000000000000000000000000006
Read-only
decreaseOrders(address, uint256) view returns (address account, address collateralToken, uint256 collateralDelta, address indexToken, uint256 sizeDelta, bool isLong, uint256 triggerPrice, bool triggerAboveThreshold, uint256 executionFee)
decreaseOrdersIndex(address) view returns (uint256)
getDecreaseOrder(address _account, uint256 _orderIndex) view returns (address collateralToken, uint256 collateralDelta, address indexToken, uint256 sizeDelta, bool isLong, uint256 triggerPrice, bool triggerAboveThreshold, uint256 executionFee)
getIncreaseOrder(address _account, uint256 _orderIndex) view returns (address purchaseToken, uint256 purchaseTokenAmount, address collateralToken, address indexToken, uint256 sizeDelta, bool isLong, uint256 triggerPrice, bool triggerAboveThreshold, uint256 executionFee)
getSwapOrder(address _account, uint256 _orderIndex) view returns (address path0, address path1, address path2, uint256 amountIn, uint256 minOut, uint256 triggerRatio, bool triggerAboveThreshold, bool shouldUnwrap, uint256 executionFee)
getUsdgMinPrice(address _otherToken) view returns (uint256)
increaseOrders(address, uint256) view returns (address account, address purchaseToken, uint256 purchaseTokenAmount, address collateralToken, address indexToken, uint256 sizeDelta, bool isLong, uint256 triggerPrice, bool triggerAboveThreshold, uint256 executionFee)
increaseOrdersIndex(address) view returns (uint256)
swapOrders(address, uint256) view returns (address account, uint256 amountIn, uint256 minOut, uint256 triggerRatio, bool triggerAboveThreshold, bool shouldUnwrap, uint256 executionFee)
swapOrdersIndex(address) view returns (uint256)
validatePositionOrderPrice(bool _triggerAboveThreshold, uint256 _triggerPrice, address _indexToken, bool _maximizePrice, bool _raise) view returns (uint256, bool)
validateSwapOrderPriceWithTriggerAboveThreshold(address[] _path, uint256 _triggerRatio) view returns (bool)
State-modifying
Events cancelDecreaseOrder(uint256 _orderIndex)
cancelIncreaseOrder(uint256 _orderIndex)
cancelMultiple(uint256[] _swapOrderIndexes, uint256[] _increaseOrderIndexes, uint256[] _decreaseOrderIndexes)
cancelSwapOrder(uint256 _orderIndex)
createDecreaseOrder(address _indexToken, uint256 _sizeDelta, address _collateralToken, uint256 _collateralDelta, bool _isLong, uint256 _triggerPrice, bool _triggerAboveThreshold) payable
createIncreaseOrder(address[] _path, uint256 _amountIn, address _indexToken, uint256 _minOut, uint256 _sizeDelta, address _collateralToken, bool _isLong, uint256 _triggerPrice, bool _triggerAboveThreshold, uint256 _executionFee, bool _shouldWrap) payable
createSwapOrder(address[] _path, uint256 _amountIn, uint256 _minOut, uint256 _triggerRatio, bool _triggerAboveThreshold, uint256 _executionFee, bool _shouldWrap, bool _shouldUnwrap) payable
executeDecreaseOrder(address _address, uint256 _orderIndex, address _feeReceiver)
executeIncreaseOrder(address _address, uint256 _orderIndex, address _feeReceiver)
executeSwapOrder(address _account, uint256 _orderIndex, address _feeReceiver)
initialize(address _router, address _vault, address _weth, address _usdg, uint256 _minExecutionFee, uint256 _minPurchaseTokenAmountUsd)
setGov(address _gov)
setMinExecutionFee(uint256 _minExecutionFee)
setMinPurchaseTokenAmountUsd(uint256 _minPurchaseTokenAmountUsd)
updateDecreaseOrder(uint256 _orderIndex, uint256 _collateralDelta, uint256 _sizeDelta, uint256 _triggerPrice, bool _triggerAboveThreshold)
updateIncreaseOrder(uint256 _orderIndex, uint256 _sizeDelta, uint256 _triggerPrice, bool _triggerAboveThreshold)
updateSwapOrder(uint256 _orderIndex, uint256 _minOut, uint256 _triggerRatio, bool _triggerAboveThreshold)
CancelDecreaseOrder(address indexed account, uint256 orderIndex, address collateralToken, uint256 collateralDelta, address indexToken, uint256 sizeDelta, bool isLong, uint256 triggerPrice, bool triggerAboveThreshold, uint256 executionFee)
CancelIncreaseOrder(address indexed account, uint256 orderIndex, address purchaseToken, uint256 purchaseTokenAmount, address collateralToken, address indexToken, uint256 sizeDelta, bool isLong, uint256 triggerPrice, bool triggerAboveThreshold, uint256 executionFee)
CancelSwapOrder(address indexed account, uint256 orderIndex, address[] path, uint256 amountIn, uint256 minOut, uint256 triggerRatio, bool triggerAboveThreshold, bool shouldUnwrap, uint256 executionFee)
CreateDecreaseOrder(address indexed account, uint256 orderIndex, address collateralToken, uint256 collateralDelta, address indexToken, uint256 sizeDelta, bool isLong, uint256 triggerPrice, bool triggerAboveThreshold, uint256 executionFee)
CreateIncreaseOrder(address indexed account, uint256 orderIndex, address purchaseToken, uint256 purchaseTokenAmount, address collateralToken, address indexToken, uint256 sizeDelta, bool isLong, uint256 triggerPrice, bool triggerAboveThreshold, uint256 executionFee)
CreateSwapOrder(address indexed account, uint256 orderIndex, address[] path, uint256 amountIn, uint256 minOut, uint256 triggerRatio, bool triggerAboveThreshold, bool shouldUnwrap, uint256 executionFee)
ExecuteDecreaseOrder(address indexed account, uint256 orderIndex, address collateralToken, uint256 collateralDelta, address indexToken, uint256 sizeDelta, bool isLong, uint256 triggerPrice, bool triggerAboveThreshold, uint256 executionFee, uint256 executionPrice)
ExecuteIncreaseOrder(address indexed account, uint256 orderIndex, address purchaseToken, uint256 purchaseTokenAmount, address collateralToken, address indexToken, uint256 sizeDelta, bool isLong, uint256 triggerPrice, bool triggerAboveThreshold, uint256 executionFee, uint256 executionPrice)
ExecuteSwapOrder(address indexed account, uint256 orderIndex, address[] path, uint256 amountIn, uint256 minOut, uint256 amountOut, uint256 triggerRatio, bool triggerAboveThreshold, bool shouldUnwrap, uint256 executionFee)
Initialize(address router, address vault, address weth, address usdg, uint256 minExecutionFee, uint256 minPurchaseTokenAmountUsd)
UpdateDecreaseOrder(address indexed account, uint256 orderIndex, address collateralToken, uint256 collateralDelta, address indexToken, uint256 sizeDelta, bool isLong, uint256 triggerPrice, bool triggerAboveThreshold)
UpdateGov(address gov)
UpdateIncreaseOrder(address indexed account, uint256 orderIndex, address collateralToken, address indexToken, bool isLong, uint256 sizeDelta, uint256 triggerPrice, bool triggerAboveThreshold)
UpdateMinExecutionFee(uint256 minExecutionFee)
UpdateMinPurchaseTokenAmountUsd(uint256 minPurchaseTokenAmountUsd)
UpdateSwapOrder(address indexed account, uint256 ordexIndex, address[] path, uint256 amountIn, uint256 minOut, uint256 triggerRatio, bool triggerAboveThreshold, bool shouldUnwrap, uint256 executionFee)
constructor()
receive()
This contract contains no error objects.