TRANSACTION HASH
0xbaa4863210c3f5c38868e96af9cf166727c950cb59260b3dd721dd4832d66830
TX COST
$0.03 / 0.062262 eth
GAS USED / GAS LIMIT
1443281 / 6000000
GAS PRICE (BASE FEE + PRIORITY FEE)
43139273766 (37209824589 + 5929449177) wei
DATE
Sun Mar 19 2023 07:00:05 GMT+0000
TRANSACTION INDEX
10
Token Transfers
From
To
Token
Amount
Value
Balances
Transaction Trace
- [1030533]FastPriceFeed.setPricesWithBitsAndExecute(_priceBits = 8965125217340842765751, _timestamp = 1679209187, _endIndexForIncreasePositions = 115792089237316195423570985008687907853269984665640564039457584007913129639935, _endIndexForDecreasePositions = 115792089237316195423570985008687907853269984665640564039457584007913129639935, _maxIncreasePositions = 5, _maxDecreasePositions = 5)
- return(2703557000000)
- return(2703557000000)
- return(2703557000000)
- emit FastPriceFeed.PriceData(token = 0x321162Cd933E2Be498Cd2267a90534A804051b11, refPrice = 2703557000000, fastPrice = 26953850000000000000000000000000000, cumulativeRefDelta = 0, cumulativeFastDelta = 8620)
- [4108]FastPriceEvents.emitPriceEvent(_token = 0x321162Cd933E2Be498Cd2267a90534A804051b11, _price = 26930615000000000000000000000000000)
- emit FastPriceEvents.PriceUpdate(token = 0x321162Cd933E2Be498Cd2267a90534A804051b11, price = 26930615000000000000000000000000000, priceFeed = FastPriceFeed)
- return(177502000000)
- return(177502000000)
- return(177502000000)
- emit FastPriceFeed.PriceData(token = 0x74b23882a30290451A17c44f4F05243b6b58C76d, refPrice = 177502000000, fastPrice = 1770145000000000000000000000000000, cumulativeRefDelta = 0, cumulativeFastDelta = 6835)
- [2108]FastPriceEvents.emitPriceEvent(_token = 0x74b23882a30290451A17c44f4F05243b6b58C76d, _price = 1768935000000000000000000000000000)
- emit FastPriceEvents.PriceUpdate(token = 0x74b23882a30290451A17c44f4F05243b6b58C76d, price = 1768935000000000000000000000000000, priceFeed = FastPriceFeed)
- return(48794788)
- return(48794788)
- return(48794788)
- emit FastPriceFeed.PriceData(token = Wrapped Fantom, refPrice = 48794788, fastPrice = 487000000000000000000000000000, cumulativeRefDelta = 15638, cumulativeFastDelta = 20533)
- [2108]FastPriceEvents.emitPriceEvent(_token = Wrapped Fantom, _price = 486000000000000000000000000000)
- emit FastPriceEvents.PriceUpdate(token = Wrapped Fantom, price = 486000000000000000000000000000, priceFeed = FastPriceFeed)
- return(20195)
- return(12252)
- [839204]PositionRouter.executeIncreasePositions(_endIndex = 20200, _executionFeeReceiver = 0x53B9Ad09B82A313ec07040f6D8Cb07Bb6fD6e7CE)
- [824831]PositionRouter.executeIncreasePosition(_key = 0x4f343b8bba5b912c9ba4a7f81f76bbf586b63145e9a6eb934215bd6558c51c6a, _executionFeeReceiver = 0x53B9Ad09B82A313ec07040f6D8Cb07Bb6fD6e7CE)
- emit Wrapped Fantom.Transfer(from = PositionRouter, to = Vault, value = 25000000000000000000)
- return(True)
- return(True)
- emit Vault.UpdateFundingRate(token = Wrapped Fantom, fundingRate = 97086)
- return(True)
- emit Vault.UpdateFundingRate(token = USD Coin, fundingRate = 27928)
- return(1633489932822088489273083)
- [39635]VaultPriceFeed.getPrice(_token = Wrapped Fantom, _maximise = False, _includeAmmPrice = True, True)
- return(340408)
- return(18446744073709892024)
- return(48794788)
- return(48794788)
- [16157]FastPriceFeed.getPrice(_token = Wrapped Fantom, _refPrice = 487947880000000000000000000000, _maximise = False)
- return(486000000000000000000000000000)
- return(486000000000000000000000000000)
- return(2930)
- return(18446744073709554546)
- return(99986101)
- return(99986101)
- [3997]FastPriceFeed.getPrice(_token = USD Coin, _refPrice = 999861010000000000000000000000, _maximise = True)
- return(999861010000000000000000000000)
- return(1000000000000000000000000000000)
- [40823]VaultUtils.getSwapFeeBasisPoints(_tokenIn = Wrapped Fantom, _tokenOut = USD Coin, _usdgAmount = 12150000000000000000)
- return(False)
- return(20)
- return(50)
- return(True)
- return(886986023267079668157298)
- return(13400197808413374585156078)
- return(1742025715093738696070290)
- return(True)
- return(7945848929460677342415179)
- return(13400197808413374585156078)
- return(5360079123365349834062431)
- return(0)
- emit Vault.CollectSwapFees(token = USD Coin, feeUsd = 0, feeTokens = 0)
- emit Vault.IncreaseUsdgAmount(token = Wrapped Fantom, amount = 12150000000000000000)
- emit Vault.DecreaseUsdgAmount(token = USD Coin, amount = 12150000000000000000)
- return(1633489932822088489273083)
- emit Vault.IncreasePoolAmount(token = Wrapped Fantom, amount = 25000000000000000000)
- emit Vault.DecreasePoolAmount(token = USD Coin, amount = 12150000)
- emit USD Coin.Transfer(from = Vault, to = PositionRouter, value = 12150000)
- return(True)
- return(8340878128441)
- emit Vault.Swap(account = PositionRouter, tokenIn = Wrapped Fantom, tokenOut = USD Coin, amountIn = 25000000000000000000, amountOut = 12150000, amountOutAfterFees = 12150000, feeBasisPoints = 0)
- return(12150000)
- emit USD Coin.Transfer(from = PositionRouter, to = Vault, value = 12150000)
- return(True)
- [13635]VaultPriceFeed.getPrice(_token = Wrapped Fantom, _maximise = False, _includeAmmPrice = True, False)
- return(340408)
- return(18446744073709892024)
- return(48794788)
- return(48794788)
- [4157]FastPriceFeed.getPrice(_token = Wrapped Fantom, _refPrice = 487947880000000000000000000000, _maximise = False)
- return(486000000000000000000000000000)
- return(486000000000000000000000000000)
- return(486000000000000000000000000000)
- return(672920992247240375750648520572500000)
- return(Timelock)
- [4988]ShortsTracker.updateGlobalShortData(_account = 0x62de3D0bBd1F2d30aEB97C393d148cEc5087fa61, _collateralToken = USD Coin, _indexToken = Wrapped Fantom, _isLong = False, _sizeDelta = 1105035444318181818181641270000000, _markPrice = 486000000000000000000000000000, _isIncrease = True)
- [4772]Vault.setIsLeverageEnabled(_isLeverageEnabled = True)
- return(50)
- return(5)
- return(20)
- return(20)
- return(1)
- return(5000000000000000000000000000000)
- return(10800)
- return(True)
- [8101]Vault.setFees(_taxBasisPoints = 50, _stableTaxBasisPoints = 5, _mintBurnFeeBasisPoints = 20, _swapFeeBasisPoints = 20, _stableSwapFeeBasisPoints = 1, _marginFeeBasisPoints = 10, _liquidationFeeUsd = 5000000000000000000000000000000, _minProfitTime = 10800, _hasDynamicFees = True)
- [283989]Router.pluginIncreasePosition(_account = 0x62de3D0bBd1F2d30aEB97C393d148cEc5087fa61, _collateralToken = USD Coin, _indexToken = Wrapped Fantom, _sizeDelta = 1105035444318181818181641270000000, _isLong = False)
- [276573]Vault.increasePosition(_account = 0x62de3D0bBd1F2d30aEB97C393d148cEc5087fa61, _collateralToken = USD Coin, _indexToken = Wrapped Fantom, _sizeDelta = 1105035444318181818181641270000000, _isLong = False)
- [380]VaultUtils.validateIncreasePosition(False)
- return(True)
- [13635]VaultPriceFeed.getPrice(_token = Wrapped Fantom, _maximise = False, _includeAmmPrice = True, False)
- return(340408)
- return(18446744073709892024)
- return(48794788)
- return(48794788)
- [4157]FastPriceFeed.getPrice(_token = Wrapped Fantom, _refPrice = 487947880000000000000000000000, _maximise = False)
- return(486000000000000000000000000000)
- return(486000000000000000000000000000)
- return(10)
- return(1105035444318181818181641270000)
- return(0)
- return(2930)
- return(18446744073709554546)
- return(99986101)
- return(99986101)
- [1997]FastPriceFeed.getPrice(_token = USD Coin, _refPrice = 999861010000000000000000000000, _maximise = True)
- return(999861010000000000000000000000)
- return(1000000000000000000000000000000)
- emit Vault.CollectMarginFees(token = USD Coin, feeUsd = 1105035444318181818181641270000, feeTokens = 1105035)
- return(8340890278441)
- [11222]VaultPriceFeed.getPrice(_token = USD Coin, _maximise = False, _includeAmmPrice = True, False)
- return(2930)
- return(18446744073709554546)
- return(99986101)
- return(99986101)
- [1997]FastPriceFeed.getPrice(_token = USD Coin, _refPrice = 999861010000000000000000000000, _maximise = False)
- return(999861010000000000000000000000)
- return(999861010000000000000000000000)
- return(27928)
- return(27928)
- [37336]VaultUtils.validateLiquidation(_account = 0x62de3D0bBd1F2d30aEB97C393d148cEc5087fa61, _collateralToken = USD Coin, _indexToken = Wrapped Fantom, _isLong = False, _raise = True)
- [6942]Vault.getPosition(_account = 0x62de3D0bBd1F2d30aEB97C393d148cEc5087fa61, _collateralToken = USD Coin, _indexToken = Wrapped Fantom, _isLong = False)
- return(1679209205)
- [18879]Vault.getDelta(_indexToken = Wrapped Fantom, _size = 1105035444318181818181641270000000, _averagePrice = 486000000000000000000000000000, _isLong = False, _lastIncreasedTime = 1679209205)
- [13550]VaultPriceFeed.getPrice(_token = Wrapped Fantom, _maximise = True, _includeAmmPrice = True, False)
- return(340408)
- return(18446744073709892024)
- return(48794788)
- return(48794788)
- [4157]FastPriceFeed.getPrice(_token = Wrapped Fantom, _refPrice = 487947880000000000000000000000, _maximise = True)
- return(486000000000000000000000000000)
- return(486000000000000000000000000000)
- return(0)
- return(27928)
- return(10)
- return(5000000000000000000000000000000)
- return(1250000)
- return(1105035444318181818181641270000)
- [11222]VaultPriceFeed.getPrice(_token = USD Coin, _maximise = False, _includeAmmPrice = True, False)
- return(2930)
- return(18446744073709554546)
- return(99986101)
- return(99986101)
- [1997]FastPriceFeed.getPrice(_token = USD Coin, _refPrice = 999861010000000000000000000000, _maximise = False)
- return(999861010000000000000000000000)
- return(999861010000000000000000000000)
- emit Vault.IncreaseReservedAmount(token = USD Coin, amount = 1105189054)
- emit Vault.IncreasePosition(key = 0x0c02395166f3d82af8ccf1586d3eae18b8434bb9db68af9509d89e0c96729c64, account = 0x62de3D0bBd1F2d30aEB97C393d148cEc5087fa61, collateralToken = USD Coin, indexToken = Wrapped Fantom, collateralDelta = 12148311271500000000000000000000, sizeDelta = 1105035444318181818181641270000000, isLong = False, price = 486000000000000000000000000000, fee = 1105035444318181818181641270000)
- emit Vault.UpdatePosition(key = 0x0c02395166f3d82af8ccf1586d3eae18b8434bb9db68af9509d89e0c96729c64, size = 1105035444318181818181641270000000, collateral = 11043275827181818181818358730000, averagePrice = 486000000000000000000000000000, entryFundingRate = 27928, reserveAmount = 1105189054, realisedPnl = 0, markPrice = 486000000000000000000000000000)
- [1972]Vault.setIsLeverageEnabled(_isLeverageEnabled = False)
- return(50)
- return(5)
- return(20)
- return(20)
- return(1)
- return(5000000000000000000000000000000)
- return(10800)
- return(True)
- [3201]Vault.setFees(_taxBasisPoints = 50, _stableTaxBasisPoints = 5, _mintBurnFeeBasisPoints = 20, _swapFeeBasisPoints = 20, _stableSwapFeeBasisPoints = 1, _marginFeeBasisPoints = 500, _liquidationFeeUsd = 5000000000000000000000000000000, _minProfitTime = 10800, _hasDynamicFees = True)
- return(500)
- emit PositionRouter.IncreasePositionReferral(account = 0x62de3D0bBd1F2d30aEB97C393d148cEc5087fa61, sizeDelta = 1105035444318181818181641270000000, marginFeeBasisPoints = 500, referralCode = 0x0000000000000000000000000000000000000000000000000000000000000000, referrer = 0x0000000000000000000000000000000000000000)
- emit Wrapped Fantom.Transfer(from = PositionRouter, to = 0x0000000000000000000000000000000000000000, value = 200000000000000000)
- [195]PositionRouter.transfer(0.2)
- return(0)
- [0]0x53B9Ad09B82A313ec07040f6D8Cb07Bb6fD6e7CE.transfer(0.2)
- emit PositionRouter.ExecuteIncreasePosition(account = 0x62de3D0bBd1F2d30aEB97C393d148cEc5087fa61, path = [Wrapped Fantom, USD Coin], indexToken = Wrapped Fantom, amountIn = 25000000000000000000, minOut = 0, sizeDelta = 1105035444318181818181641270000000, isLong = False, acceptablePrice = 485047977500000000000000000000, executionFee = 200000000000000000, blockGap = 12, timeGap = 23)
- return(True)
- [3714]PositionRouter.executeDecreasePositions(_endIndex = 12257, _executionFeeReceiver = 0x53B9Ad09B82A313ec07040f6D8Cb07Bb6fD6e7CE)