Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xd2ce…0907
19 additional
variables
Balances ($5,387.86)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DAI | ERC-20 | 5.12944K | $1.001 |
$5,134.57 | |
USDC | ERC-20 | 153.952613 | $1.00 |
$153.95 | |
cbETH | ERC-20 | 0.029294 | $2,930.34 |
$85.84 | |
USDbC | ERC-20 | 13.359633 | $1.003 |
$13.4 | |
GRG | ERC-20 | 0.05 | $1.47 |
$0.07 | |
WGC | ERC-20 | 200 | $0.000105 |
$0.02 | |
USA | ERC-20 | 1 | $0.001793 |
$0 | |
kurbi | ERC-20 | 0.2 | $0.000723 |
$0 | |
BLOOM | ERC-20 | 1 | $0.000046 |
$0 | |
LIFI | ERC-20 | 28.519018K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 2521980 | a year ago | | | 0 | 0.0000028671004 | |
| 2520823 | a year ago | | | 0 | 0.000044934000 | |
| 2520809 | a year ago | | | 0 | 0.00011821750 | |
| 2520800 | a year ago | | | 0 | 0.000047485003 | |
| 2520768 | a year ago | | | 0 | 0.000070249503 | |
| 2520764 | a year ago | | | 0 | 0.000071530503 | |
| 2520760 | a year ago | | | 0 | 0.0000034650004 | |
| 2520756 | a year ago | | | 0 | 0.000098003007 |
ABI
ABI objects
Getter at block 21754378
BASIS_POINTS_DIVISOR() view returns (uint256)
10000
FUNDING_RATE_PRECISION() view returns (uint256)
1000000
MIN_LEVERAGE() view returns (uint256)
10000
PRICE_PRECISION() view returns (uint256)
1000000000000000000000000000000
USDF_DECIMALS() view returns (uint256)
18
allWhitelistedTokensLength() view returns (uint256)
5
errorController() view returns (address)
0x88984da5550e521270cf34f824ebe7d4093cbb54
feeUtils() view returns (address)
0xd2cedbf8089d521f9573625c4fa27fdc48870907
getFeeUtils() view returns (address)
0xd2cedbf8089d521f9573625c4fa27fdc48870907
getVaultUtils() view returns (address)
0x2f4266fa695ca9891e93eccea18239d59ccc277c
gov() view returns (address)
0x3e26c1a39dc6c1ce7afe159a0d46ef3ca4b6a742
inManagerMode() view returns (bool)
true
inPrivateLiquidationMode() view returns (bool)
false
includeAmmPrice() view returns (bool)
true
isInitialized() view returns (bool)
true
isLeverageEnabled() view returns (bool)
false
isSwapEnabled() view returns (bool)
true
maxGasPrice() view returns (uint256)
0
maxLeverage() view returns (uint256)
1000000
minProfitTime() view returns (uint256)
10800
priceFeed() view returns (address)
0xda6e43c3b5fb0d3ba67f23ab17c7f76a277e1a9e
router() view returns (address)
0xb575cea2d54c08d9c25ac033b8c93bce2fb49495
totalTokenWeights() view returns (uint256)
26000
usdf() view returns (address)
0xfe4dfb5789f6fd2c2bc3c3b8d1a13025b55756b1
useSwapPricing() view returns (bool)
false
vaultUtils() view returns (address)
0x2f4266fa695ca9891e93eccea18239d59ccc277c
whitelistedTokenCount() view returns (uint256)
5
Read-only
adjustForDecimals(uint256 _amount, address _tokenDiv, address _tokenMul) view returns (uint256)
allWhitelistedTokens(uint256) view returns (address)
approvedRouters(address, address) view returns (bool)
bufferAmounts(address) view returns (uint256)
errors(uint256) view returns (string)
feeReserves(address) view returns (uint256)
getDelta(address _indexToken, uint256 _size, uint256 _averagePrice, bool _isLong, uint256 _lastIncreasedTime) view returns (bool, uint256)
getGlobalShortDelta(address _token) view returns (bool, uint256)
getMaxPrice(address _token) view returns (uint256)
getMinPrice(address _token) view returns (uint256)
getNextAveragePrice(address _indexToken, uint256 _size, uint256 _averagePrice, bool _isLong, uint256 _nextPrice, uint256 _sizeDelta, uint256 _lastIncreasedTime) view returns (uint256)
getNextGlobalShortAveragePrice(address _indexToken, uint256 _nextPrice, uint256 _sizeDelta) view returns (uint256)
getPosition(address _account, address _collateralToken, address _indexToken, bool _isLong) view returns (uint256, uint256, uint256, uint256, uint256, uint256, bool, uint256)
getPositionDelta(address _account, address _collateralToken, address _indexToken, bool _isLong) view returns (bool, uint256)
getPositionKey(address _account, address _collateralToken, address _indexToken, bool _isLong) pure returns (bytes32)
getPositionLeverage(address _account, address _collateralToken, address _indexToken, bool _isLong) view returns (uint256)
getRedemptionAmount(address _token, uint256 _usdfAmount) view returns (uint256)
getRedemptionCollateral(address _token) view returns (uint256)
getRedemptionCollateralUsd(address _token) view returns (uint256)
getTargetUsdfAmount(address _token) view returns (uint256)
getUtilisation(address _token) view returns (uint256)
globalShortAveragePrices(address) view returns (uint256)
globalShortSizes(address) view returns (uint256)
guaranteedUsd(address) view returns (uint256)
isLiquidator(address) view returns (bool)
isManager(address) view returns (bool)
maxGlobalShortSizes(address) view returns (uint256)
maxUsdfAmounts(address) view returns (uint256)
minProfitBasisPoints(address) view returns (uint256)
poolAmounts(address) view returns (uint256)
positions(bytes32) view returns (uint256 size, uint256 collateral, uint256 averagePrice, uint256 entryRolloverRate, uint256 reserveAmount, int256 realisedPnl, uint256 lastIncreasedTime)
reservedAmounts(address) view returns (uint256)
shortableTokens(address) view returns (bool)
stableTokens(address) view returns (bool)
tokenBalances(address) view returns (uint256)
tokenDecimals(address) view returns (uint256)
tokenToUsdMin(address _token, uint256 _tokenAmount) view returns (uint256)
tokenWeights(address) view returns (uint256)
usdToToken(address _token, uint256 _usdAmount, uint256 _price) view returns (uint256)
usdToTokenMax(address _token, uint256 _usdAmount) view returns (uint256)
usdToTokenMin(address _token, uint256 _usdAmount) view returns (uint256)
usdfAmounts(address) view returns (uint256)
validateLiquidation(address _account, address _collateralToken, address _indexToken, bool _isLong, bool _raise) view returns (uint256, uint256)
whitelistedTokens(address) view returns (bool)
State-modifying
Events addRouter(address _router)
buyUSDF(address _token, address _receiver) returns (uint256)
clearTokenConfig(address _token)
decreasePosition(address _account, address _collateralToken, address _indexToken, uint256 _collateralDelta, uint256 _sizeDelta, bool _isLong, address _receiver) returns (uint256)
directPoolDeposit(address _token)
increasePosition(address _account, address _collateralToken, address _indexToken, uint256 _sizeDelta, bool _isLong)
initialize(address _router, address _usdf, address _priceFeed)
liquidatePosition(address _account, address _collateralToken, address _indexToken, bool _isLong, address _feeReceiver)
removeRouter(address _router)
sellUSDF(address _token, address _receiver) returns (uint256)
setBufferAmount(address _token, uint256 _amount)
setError(uint256 _errorCode, string _error)
setErrorController(address _errorController)
setFeeUtils(address _feeUtils)
setGov(address _gov)
setInManagerMode(bool _inManagerMode)
setInPrivateLiquidationMode(bool _inPrivateLiquidationMode)
setIsLeverageEnabled(bool _isLeverageEnabled)
setIsSwapEnabled(bool _isSwapEnabled)
setLiquidator(address _liquidator, bool _isActive)
setManager(address _manager, bool _isManager)
setMaxGasPrice(uint256 _maxGasPrice)
setMaxGlobalShortSize(address _token, uint256 _amount)
setMaxLeverage(uint256 _maxLeverage)
setMinProfitTime(uint256 _minProfitTime)
setPriceFeed(address _priceFeed)
setTokenConfig(address _token, uint256 _tokenDecimals, uint256 _tokenWeight, uint256 _minProfitBps, uint256 _maxUsdfAmount, bool _isStable, bool _isShortable)
setUsdfAmount(address _token, uint256 _amount)
setVaultUtils(address _vaultUtils)
swap(address _tokenIn, address _tokenOut, address _receiver) returns (uint256)
upgradeVault(address _newVault, address _token, uint256 _amount)
withdrawFees(address _token, address _receiver) returns (uint256)
BuyUSDF(address account, address token, uint256 tokenAmount, uint256 usdfAmount, uint256 feeBasisPoints)
ClosePosition(bytes32 key, uint256 size, uint256 collateral, uint256 averagePrice, uint256 entryRolloverRate, uint256 reserveAmount, int256 realisedPnl)
CollectPositionTradeFees(address token, uint256 feeUsd, uint256 feeTokens)
CollectSwapFees(address token, uint256 feeUsd, uint256 feeTokens)
DecreaseGuaranteedUsd(address token, uint256 amount)
DecreasePoolAmount(address token, uint256 amount)
DecreasePosition(bytes32 key, address account, address collateralToken, address indexToken, uint256 collateralDelta, uint256 sizeDelta, bool isLong, uint256 price, uint256 fee)
DecreaseReservedAmount(address token, uint256 amount)
DecreaseUsdfAmount(address token, uint256 amount)
DirectPoolDeposit(address token, uint256 amount)
IncreaseGuaranteedUsd(address token, uint256 amount)
IncreasePoolAmount(address token, uint256 amount)
IncreasePosition(bytes32 key, address account, address collateralToken, address indexToken, uint256 collateralDelta, uint256 sizeDelta, bool isLong, uint256 price, uint256 fee)
IncreaseReservedAmount(address token, uint256 amount)
IncreaseUsdfAmount(address token, uint256 amount)
LiquidatePosition(bytes32 key, address account, address collateralToken, address indexToken, bool isLong, uint256 size, uint256 collateral, uint256 reserveAmount, int256 realisedPnl, uint256 markPrice)
SellUSDF(address account, address token, uint256 usdfAmount, uint256 tokenAmount, uint256 feeBasisPoints)
Swap(address account, address tokenIn, address tokenOut, uint256 amountIn, uint256 amountOut, uint256 amountOutAfterFees, uint256 feeBasisPoints)
UpdatePnl(bytes32 key, bool hasProfit, uint256 delta)
UpdatePosition(bytes32 key, uint256 size, uint256 collateral, uint256 averagePrice, uint256 entryRolloverRate, uint256 reserveAmount, int256 realisedPnl, uint256 markPrice)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.