Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($75.11)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 0.0208 | $3,606.31 |
$75.01 | |
GOCHU | ERC-20 | 50K | $0.000001 |
$0.05 | |
WGC | ERC-20 | 200 | $0.000248 |
$0.05 | |
USA | ERC-20 | 1 | $0.000591 |
$0 | |
kurbi | ERC-20 | 0.1 | $0.000428 |
$0 | |
SNICK | ERC-20 | 2.4M | -- | -- | |
LZPZ | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19032090 | 3 months ago | | | 0.010100001 | 0.0000027258087 | |
| 18118119 | 4 months ago | | | 0 | 5.7080201e-7 | |
| 17759025 | 4 months ago | | | 0 | 7.5868414e-7 | |
| 17717032 | 4 months ago | | | 0.000100001 | 0.0000055159664 | |
| 17649598 | 4 months ago | | | 0 | 0.0000011379661 | |
| 17435983 | 4 months ago | | | 0.000100001 | 0.000012044107 | |
0xf09f92a8 | 17426082 | 4 months ago | | | 0 | 5.2582176e-7 | |
| 16657039 | 5 months ago | | | 0.064100001 | 0.0000046530447 | |
| 16649886 | 5 months ago | | | 0.1101 | 0.0000047008047 | |
| 16644487 | 5 months ago | | | 0.1301 | 0.0000024445204 |
ABI
ABI objects
Getter at block 23214941
PRICE_PRECISION() view returns (uint256)
1000000000000000000000000000000
USDP_PRECISION() view returns (uint256)
1000000000000000000
gov() view returns (address)
0x4f6e437f7e90087f7090acfe967d77ba0b4c7444
isInitialized() view returns (bool)
true
minExecutionFee() view returns (uint256)
100000000000000
minPurchaseTokenAmountUsd() view returns (uint256)
10000000000000000000000000000000
router() view returns (address)
0x6a5a8aa9d251034b9e5034e1c0305c06f7102fae
usdp() view returns (address)
0xa8c2fecc1a59130cb931adcf2262aab2db8c3788
vault() view returns (address)
0x102b73ca761f5dfb59918f62604b54aeb2fb0b3e
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)
getUsdpMinPrice(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 _usdp, 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 usdp, 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()
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
FailedInnerCall()
ReentrancyGuardReentrantCall()
SafeERC20FailedOperation(address token)