Crab Strategy v2
Verified contract
Active on
Ethereum with 12,952 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($703,657.20)
Native
Value
$703,657.2
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 220.091644 | $3,197.11 |
$703,657.2 | |
sSQU | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21160914 | 23 minutes ago | | | 0 | 0.00079901629 | |
| 21155469 | 19 hours ago | | | 0 | 0.00065864982 | |
| 21155222 | 19 hours ago | | | 0 | 0.00077150394 | |
| 21155219 | 19 hours ago | | | 0 | 0.00074134660 | |
| 21155214 | 19 hours ago | | | 0 | 0.00079224322 | |
| 21155183 | 20 hours ago | | | 0 | 0.00076943272 | |
| 21155175 | 20 hours ago | | | 0 | 0.00071523610 | |
| 21154960 | 20 hours ago | | | 0 | 0.00051885309 | |
| 21154756 | 21 hours ago | | | 0 | 0.00049807968 | |
| 21154699 | 21 hours ago | | | 0 | 0.00036832105 |
ABI
ABI objects
Getter at block 21161026 checkPriceHedge() view returns (bool)
DOMAIN_SEPARATOR() view returns (bytes32)
0xff40743a0440aa739a394eca66c0780128b20b3a645f0ed4fbf890877a2020c9
MAX_OTC_PRICE_TOLERANCE() view returns (uint256)
200000000000000000
POWER_PERP_PERIOD() view returns (uint32)
420
checkTimeHedge() view returns (bool)
true
crabMigration() view returns (address)
0xa1cab67a4383312718a5799eaa127906e9d4b19e
decimals() view returns (uint8)
18
ethWSqueethPool() view returns (address)
0x82c427adfdf2d245ec51d8046b41c4ee87f0d29c
factory() view returns (address)
0x1f98431c8ad98523631ae4a59f267346ea31f984
getStrategyVaultId() view returns (uint256)
286
getVaultDetails() view returns (address, uint256, uint256, uint256)
(0x0000000000000000000000000000000000000000, 0, 0, 0)
hedgePriceThreshold() view returns (uint256)
200000000000000000
hedgeTimeThreshold() view returns (uint256)
1800
hedgingTwapPeriod() view returns (uint32)
420
isInitialized() view returns (bool)
true
name() view returns (string)
Crab Strategy v2
oracle() view returns (address)
0x65d66c76447ccb45daf1e8044e918fa786a483a1
otcPriceTolerance() view returns (uint256)
50000000000000000
owner() view returns (address)
0xafe66363c27eedb597a140c28b70b32f113fd5a8
powerTokenController() view returns (address)
0x64187ae08781b09368e6253f9e94951243a493d5
priceAtLastHedge() view returns (uint256)
34450000000000000
strategyCap() view returns (uint256)
10000000000000000000000
symbol() view returns (string)
Crabv2
timeAtLastHedge() view returns (uint256)
1730479415
timelock() view returns (address)
0x67c083ae303741372f0f321bf9cad567cfefe2dc
totalSupply() view returns (uint256)
303998324782299559585
vaultId() view returns (uint256)
286
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)
getWsqueethFromCrabAmount(uint256 _crabAmount) view returns (uint256)
nonces(address, uint256) view returns (bool)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
deposit() payable
flashDeposit(uint256 _ethToDeposit, uint24 _poolFee) payable
flashWithdraw(uint256 _crabAmount, uint256 _maxEthToPay, uint24 _poolFee)
hedgeOTC(uint256 _totalQuantity, uint256 _clearingPrice, bool _isHedgeBuying, struct CrabStrategyV2Order[] _orders)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initialize(uint256 _wSqueethToMint, uint256 _crabSharesToMint, uint256 _timeAtLastHedge, uint256 _priceAtLastHedge, uint256 _strategyCap) payable
redeemShortShutdown()
renounceOwnership()
setHedgePriceThreshold(uint256 _hedgePriceThreshold)
setHedgeTimeThreshold(uint256 _hedgeTimeThreshold)
setHedgingTwapPeriod(uint32 _hedgingTwapPeriod)
setNonceTrue(uint256 _nonce)
setOTCPriceTolerance(uint256 _otcPriceTolerance)
setStrategyCap(uint256 _capAmount)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address sender, address recipient, uint256 amount) returns (bool)
transferOwnership(address newOwner)
transferVault(address _newStrategy)
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)
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)
HedgeOTC(uint256 bidId, uint256 quantity, bool isBuying, uint256 clearingPrice)
HedgeOTCSingle(address trader, uint256 bidId, uint256 quantity, uint256 price, bool isBuying, uint256 clearingPrice)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SetHedgePriceThreshold(uint256 newHedgePriceThreshold)
SetHedgeTimeThreshold(uint256 newHedgeTimeThreshold)
SetHedgingTwapPeriod(uint32 newHedgingTwapPeriod)
SetOTCPriceTolerance(uint256 otcPriceTolerance)
SetStrategyCap(uint256 newCapAmount)
Transfer(address indexed from, address indexed to, uint256 value)
VaultTransferred(address indexed newStrategy, uint256 vaultId)
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, address _timelock, address _crabMigration, uint256 _hedgeTimeThreshold, uint256 _hedgePriceThreshold)
receive()
This contract contains no error objects.