This contract is being backfilled. You may encounter incomplete storage history.

Crab Strategy

Verified contract

Active on Ethereum with 1,581 txns
Deployed by via 0xb672155e at 14048622
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
 (#70)
ERC-721
--
0x58496e3d58b6c0f95be25c7e915dd845d3edb2a9d4c94bdb4ad0194c0338d0a3
0x541bb5f599254e5e1e2102fa5b43563de5de6cced7e59bb2df94d087faad01d1
0xd5715dd13f42613a5aec09b7729b53323f0bee8102a4436fb33da0cb8ab110c6
0x3d2adce6d5426382567d64da9fad7517cfe64fe608ca9380ea44a4b24c13cd91
0xedc339accd0739ca90b4bd612f947c348f0d256aa81e99f3ff65856185e8a499
0x4df5433f6d92137bf6a6daa9fcdbcc4571d11cb1481e69e4893a587ef86cde53
0x4f02ee1554a964be165436f97731d787c0f983ab4357dd2110a90788c9830782
0x33b2f4403fd5d33c3c482c73b42fd473f2e68aaf7ee9a5c989ea2ad4714a1973
0x1d29b190c4ee4301da59e3daf8f6363b3ba64c3a619d385861b46f0c146763d2
0xdbf61bff4b8af404bd9c0f6e005063427772a6c7e1c83b7b07bfe8c4432db707

Functions
Getter at block 20793666
POWER_PERP_PERIOD(view returns (uint32)
420
auctionTime(view returns (uint256)
1200
checkTimeHedge(view returns (booluint256)
(false, 1726939979)
decimals(view returns (uint8)
18
deltaHedgeThreshold(view returns (uint256)
1000000000000000
ethQuoteCurrencyPool(view returns (address)
0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8
ethWSqueethPool(view returns (address)
0x82c427adfdf2d245ec51d8046b41c4ee87f0d29c
factory(view returns (address)
0x1f98431c8ad98523631ae4a59f267346ea31f984
getStrategyVaultId(view returns (uint256)
70
getVaultDetails(view returns (addressuint256uint256uint256)
(0x0000000000000000000000000000000000000000, 0, 11483548214498276130, 145694608553481318371)
hedgePriceThreshold(view returns (uint256)
200000000000000000
hedgeTimeThreshold(view returns (uint256)
86400
hedgingTwapPeriod(view returns (uint32)
420
maxPriceMultiplier(view returns (uint256)
1050000000000000000
minPriceMultiplier(view returns (uint256)
950000000000000000
name(view returns (string)
Crab Strategy
oracle(view returns (address)
0x65d66c76447ccb45daf1e8044e918fa786a483a1
owner(view returns (address)
0x609fff64429e2a275a879e5c50e415cec842c629
powerTokenController(view returns (address)
0x64187ae08781b09368e6253f9e94951243a493d5
priceAtLastHedge(view returns (uint256)
38448442889939535
quoteCurrency(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
strategyCap(view returns (uint256)
9102000000000000000
symbol(view returns (string)
Crab
timeAtLastHedge(view returns (uint256)
1726853579
totalSupply(view returns (uint256)
25584916819780533335
vaultId(view returns (uint256)
70
wPowerPerp(view returns (address)
0xf1b99e3e573a1a9c5e6b2ce818b617f0e664e86b
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
checkPriceHedge(uint256 _auctionTriggerTimeview returns (bool)
getAuctionDetails(uint256 _auctionTriggerTimeview returns (booluint256uint256uint256bool)
getWsqueethFromCrabAmount(uint256 _crabAmountview returns (uint256)
State-modifying
approve(address spenderuint256 amountreturns (bool)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(payable 
flashDeposit(uint256 _ethToDepositpayable 
flashWithdraw(uint256 _crabAmountuint256 _maxEthToPay
increaseAllowance(address spenderuint256 addedValuereturns (bool)
priceHedge(uint256 _auctionTriggerTimebool _isStrategySellingWSqueethuint256 _limitPricepayable 
priceHedgeOnUniswap(uint256 _auctionTriggerTimeuint256 _minWSqueethuint256 _minEthpayable 
redeemShortShutdown(
renounceOwnership(
setAuctionTime(uint256 _auctionTime
setDeltaHedgeThreshold(uint256 _deltaHedgeThreshold
setHedgePriceThreshold(uint256 _hedgePriceThreshold
setHedgeTimeThreshold(uint256 _hedgeTimeThreshold
setHedgingTwapPeriod(uint32 _hedgingTwapPeriod
setMaxPriceMultiplier(uint256 _maxPriceMultiplier
setMinPriceMultiplier(uint256 _minPriceMultiplier
setStrategyCap(uint256 _capAmount
timeHedge(bool _isStrategySellingWSqueethuint256 _limitPricepayable 
timeHedgeOnUniswap(uint256 _minWSqueethuint256 _minEth
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
transferOwnership(address newOwner
uniswapV3SwapCallback(int256 amount0Deltaint256 amount1Deltabytes _data
withdraw(uint256 _crabAmount
withdrawShutdown(uint256 _crabAmount
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Deposit(address indexed depositoruint256 wSqueethAmountuint256 lpAmount
ExecuteBuyAuction(address indexed selleruint256 wSqueethBoughtuint256 ethSoldbool isHedgingOnUniswap
ExecuteSellAuction(address indexed buyeruint256 wSqueethSolduint256 ethBoughtbool isHedgingOnUniswap
FlashDeposit(address indexed depositoruint256 depositedAmountuint256 tradedAmountOut
FlashDepositCallback(address indexed depositoruint256 flashswapDebtuint256 excess
FlashWithdraw(address indexed withdraweruint256 crabAmountuint256 wSqueethAmount
FlashWithdrawCallback(address indexed withdraweruint256 flashswapDebtuint256 excess
Hedge(address indexed hedgerbool auctionTypeuint256 hedgerPriceuint256 auctionPriceuint256 wSqueethHedgeTargetAmountuint256 ethHedgetargetAmount
HedgeOnUniswap(address indexed hedgerbool auctionTypeuint256 auctionPriceuint256 wSqueethHedgeTargetAmountuint256 ethHedgetargetAmount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PriceHedge(address indexed hedgerbool auctionTypeuint256 hedgerPriceuint256 auctionTriggerTimestamp
PriceHedgeOnUniswap(address indexed hedgeruint256 hedgeTimestampuint256 auctionTriggerTimestampuint256 minWSqueethuint256 minEth
SetAuctionTime(uint256 newAuctionTime
SetDeltaHedgeThreshold(uint256 newDeltaHedgeThreshold
SetHedgePriceThreshold(uint256 newHedgePriceThreshold
SetHedgeTimeThreshold(uint256 newHedgeTimeThreshold
SetHedgingTwapPeriod(uint32 newHedgingTwapPeriod
SetMaxPriceMultiplier(uint256 newMaxPriceMultiplier
SetMinPriceMultiplier(uint256 newMinPriceMultiplier
SetStrategyCap(uint256 newCapAmount
TimeHedge(address indexed hedgerbool auctionTypeuint256 hedgerPriceuint256 auctionTriggerTimestamp
TimeHedgeOnUniswap(address indexed hedgeruint256 hedgeTimestampuint256 auctionTriggerTimestampuint256 minWSqueethuint256 minEth
Transfer(address indexed fromaddress indexed touint256 value
Withdraw(address indexed withdraweruint256 crabAmountuint256 wSqueethAmountuint256 ethWithdrawn
WithdrawShutdown(address indexed withdraweruint256 crabAmountuint256 ethWithdrawn
Constructor
constructor(address _wSqueethControlleraddress _oracleaddress _wethaddress _uniswapFactoryaddress _ethWSqueethPooluint256 _hedgeTimeThresholduint256 _hedgePriceThresholduint256 _auctionTimeuint256 _minPriceMultiplieruint256 _maxPriceMultiplier
Fallback and receive
receive(
Errors

This contract contains no error objects.