Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($70.83)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 0.0119 | $3,355.74 |
$39.93 | |
USDbC | ERC-20 | 30.785102 | $1.002 |
$30.85 | |
GOCHU | ERC-20 | 50K | $0.000001 |
$0.05 | |
kurbi | ERC-20 | 0.1 | $0.00075 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18953493 | 3 months ago | | | 0.0203 | 0.0000048907396 | |
| 18948167 | 3 months ago | | | 0.0003 | 0.0000050226153 | |
| 18946973 | 3 months ago | | | 0.0403 | 0.0000041321609 | |
| 18942778 | 3 months ago | | | 0 | 1.1600210e-7 | |
| 18935357 | 3 months ago | | | 0.0123 | 0.0000022304131 | |
| 18652009 | 3 months ago | | | 0 | 0.000000700612833690 | |
| 18133683 | 3 months ago | | | 0.0103 | 0.0000025434759 | |
| 18133576 | 3 months ago | | | 0.0203 | 0.0000026010987 | |
| 18129261 | 3 months ago | | | 0.0003 | 0.0000093025416 | |
0xf09f92a8 | 17430358 | 4 months ago | | | 0 | 7.9976982e-7 |
ABI
ABI objects
Getter at block 22766487
PRICE_PRECISION() view returns (uint256)
1000000000000000000000000000000
USDG_PRECISION() view returns (uint256)
1000000000000000000
gov() view returns (address)
0x1e61a5c911ab51f98a8dfbe90c0aa42e355885c5
isInitialized() view returns (bool)
true
minExecutionFee() view returns (uint256)
180000000000000
minPurchaseTokenAmountUsd() view returns (uint256)
5000000000000000000000000000000
router() view returns (address)
0xd00c4ad1e462c99369b5e4b79427756ededfce14
usdg() view returns (address)
0xaec117e93f7087c277bb520b80785113d91da11b
vault() view returns (address)
0x853a8ce6b6338f5b0a14bcfc97f9d68396099c9c
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.