Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.18)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
GRG | ERC-20 | 0.05 | $2.03 |
$0.1 | |
GOCHU | ERC-20 | 50K | $0.000001 |
$0.06 | |
WGC | ERC-20 | 200 | $0.000105 |
$0.02 | |
USA | ERC-20 | 1 | $0.001573 |
$0 | |
kurbi | ERC-20 | 0.1 | $0.000647 |
$0 | |
LOTTO | ERC-20 | 42.0777 | -- | -- | |
NUNU | ERC-20 | 11.984733 | -- | -- | |
WETH | ERC-20 | 0.048 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20543067 | a month ago | | | 0 | 0.0000010369641 | |
| 20543037 | a month ago | | | 0.0325 | 0.0000043015702 | |
| 20098120 | a month ago | | | 0 | 4.6980939e-7 | |
| 15463975 | 5 months ago | | | 0.000500001 | 0.0000023649414 | |
| 15463936 | 5 months ago | | | 0.000500001 | 0.0000023882507 | |
| 15463887 | 5 months ago | | | 0.000500001 | 0.0000024110632 | |
| 15463810 | 5 months ago | | | 0.000500001 | 0.0000024800995 | |
| 15463773 | 5 months ago | | | 0.000500001 | 0.0000025263257 | |
| 14727138 | 5 months ago | | | 0.000500001 | 0.0000011333571 | |
| 13391653 | 6 months ago | | | 0 | 0.0000013969946 |
ABI
ABI objects
Getter at block 21877284
PRICE_PRECISION() view returns (uint256)
1000000000000000000000000000000
USDF_PRECISION() view returns (uint256)
1000000000000000000
gov() view returns (address)
0x13a8a2dfd6481f34523fa9208271f50249f8079b
isInitialized() view returns (bool)
true
minExecutionFee() view returns (uint256)
500000000000000
minPurchaseTokenAmountUsd() view returns (uint256)
10000000000000000000000000000000
router() view returns (address)
0xb575cea2d54c08d9c25ac033b8c93bce2fb49495
usdf() view returns (address)
0xfe4dfb5789f6fd2c2bc3c3b8d1a13025b55756b1
vault() view returns (address)
0x1ce0ebd2b95221b924765456fde017b076e79dbe
weth() view returns (address)
0xd6c5469a7cc587e1e89a841fb7c102ff1370c05f
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)
getUsdfMinPrice(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 _usdf, 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 usdf, 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.