Crab Strategy
Verified contract
Active on
Ethereum with 1,596 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($16,450.31)
Native
Value
$16,450.31
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 4.737638 | $3,472.26 |
$16,450.31 | |
sSQU | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21123087 | 20 days ago | | | 0 | 0.00066581920 | |
| 21075917 | a month ago | | | 0 | 0.0070020200 | |
| 21068656 | a month ago | | | 0 | 0.010411642 | |
| 21046048 | a month ago | | | 0 | 0.0077322053 | |
| 21038676 | a month ago | | | 0 | 0.0044010727 | |
| 21031347 | a month ago | | | 0 | 0.0039311854 | |
| 21016847 | a month ago | | | 0 | 0.0029618646 | |
| 20994459 | a month ago | | | 0 | 0.010237543 | |
| 20979968 | a month ago | | | 0 | 0.0075180534 | |
| 20865875 | 2 months ago | | | 0 | 0.0097155202 |
ABI
ABI objects
Getter at block 21267450
POWER_PERP_PERIOD() view returns (uint32)
420
auctionTime() view returns (uint256)
1200
checkTimeHedge() view returns (bool, uint256)
(true, 1730434319)
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 (address, uint256, uint256, uint256)
(0x0000000000000000000000000000000000000000, 0, 0, 0)
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)
36929851693929030
quoteCurrency() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
strategyCap() view returns (uint256)
9102000000000000000
symbol() view returns (string)
Crab
timeAtLastHedge() view returns (uint256)
1730347919
totalSupply() view returns (uint256)
19878092140375932412
vaultId() view returns (uint256)
70
wPowerPerp() view returns (address)
0xf1b99e3e573a1a9c5e6b2ce818b617f0e664e86b
weth() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
checkPriceHedge(uint256 _auctionTriggerTime) view returns (bool)
getAuctionDetails(uint256 _auctionTriggerTime) view returns (bool, uint256, uint256, uint256, bool)
getWsqueethFromCrabAmount(uint256 _crabAmount) view returns (uint256)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
deposit() payable
flashDeposit(uint256 _ethToDeposit) payable
flashWithdraw(uint256 _crabAmount, uint256 _maxEthToPay)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
priceHedge(uint256 _auctionTriggerTime, bool _isStrategySellingWSqueeth, uint256 _limitPrice) payable
priceHedgeOnUniswap(uint256 _auctionTriggerTime, uint256 _minWSqueeth, uint256 _minEth) payable
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 _isStrategySellingWSqueeth, uint256 _limitPrice) payable
timeHedgeOnUniswap(uint256 _minWSqueeth, uint256 _minEth)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address sender, address recipient, uint256 amount) returns (bool)
transferOwnership(address newOwner)
uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes _data)
withdraw(uint256 _crabAmount)
withdrawShutdown(uint256 _crabAmount)
Approval(address indexed owner, address indexed spender, uint256 value)
Deposit(address indexed depositor, uint256 wSqueethAmount, uint256 lpAmount)
ExecuteBuyAuction(address indexed seller, uint256 wSqueethBought, uint256 ethSold, bool isHedgingOnUniswap)
ExecuteSellAuction(address indexed buyer, uint256 wSqueethSold, uint256 ethBought, bool isHedgingOnUniswap)
FlashDeposit(address indexed depositor, uint256 depositedAmount, uint256 tradedAmountOut)
FlashDepositCallback(address indexed depositor, uint256 flashswapDebt, uint256 excess)
FlashWithdraw(address indexed withdrawer, uint256 crabAmount, uint256 wSqueethAmount)
FlashWithdrawCallback(address indexed withdrawer, uint256 flashswapDebt, uint256 excess)
Hedge(address indexed hedger, bool auctionType, uint256 hedgerPrice, uint256 auctionPrice, uint256 wSqueethHedgeTargetAmount, uint256 ethHedgetargetAmount)
HedgeOnUniswap(address indexed hedger, bool auctionType, uint256 auctionPrice, uint256 wSqueethHedgeTargetAmount, uint256 ethHedgetargetAmount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PriceHedge(address indexed hedger, bool auctionType, uint256 hedgerPrice, uint256 auctionTriggerTimestamp)
PriceHedgeOnUniswap(address indexed hedger, uint256 hedgeTimestamp, uint256 auctionTriggerTimestamp, uint256 minWSqueeth, uint256 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 hedger, bool auctionType, uint256 hedgerPrice, uint256 auctionTriggerTimestamp)
TimeHedgeOnUniswap(address indexed hedger, uint256 hedgeTimestamp, uint256 auctionTriggerTimestamp, uint256 minWSqueeth, uint256 minEth)
Transfer(address indexed from, address indexed to, uint256 value)
Withdraw(address indexed withdrawer, uint256 crabAmount, uint256 wSqueethAmount, uint256 ethWithdrawn)
WithdrawShutdown(address indexed withdrawer, uint256 crabAmount, uint256 ethWithdrawn)
constructor(address _wSqueethController, address _oracle, address _weth, address _uniswapFactory, address _ethWSqueethPool, uint256 _hedgeTimeThreshold, uint256 _hedgePriceThreshold, uint256 _auctionTime, uint256 _minPriceMultiplier, uint256 _maxPriceMultiplier)
receive()
This contract contains no error objects.