WeethStrategyContract

Verified contract

Active on Ethereum with 6 txns
Deployed by via 0xfa1f8bbe at 20063630
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "WeethStrategyContract"

0xb636449c8945ea54cfb143f3bcd4f8a650bb8cdf840ca97e89b7768777c1c27e
0xeaacdc76889f70d6322d0fa24456780a919af9200b8d1d8ef946926ee4cde948
0x3bc392db43a807894b7ff8d62d6c0b988dd1d802dd9eeba08a40b02e6ae35068
0x41e7c981b9e2545b131b5e71be0d5e3eab97431bc8dfbddf676e20e3401f5a12
0xeee145abc0d6ccd190221b6fa490c49c8f482116eed81196724461fc5db19d5d
0xda56b20ec542070fa5fe0a6f4dd7e8e57741671753653d3564a28516ff46a5e4

Functions
Getter at block 20905024
 
getPositionRatio(view returns (uint256 weETHAmount_uint256 eETHAmount_uint256 wethAmount_uint256 ratio_)
 
getWeETHData(view returns (uint256 weETHSupplyCap_uint256 weETHSupplied_)
maxPosRatio(view returns (uint256)
928000
owner(view returns (address)
0x3bd7c3df5dcf67f3aa314500c683c82dc65671d5
vaultDSA(view returns (address)
0xf6edcf5261112c06539412fb760c46173d3cdb12
 
wethReserveData(view returns (uint256 availableLiquidity_)
Read-only
isRebalancer(addressview returns (bool)
State-modifying
addDSAAuth(address auth_
leverage(
setOwner(address owner_
setVaultDSA(address vaultDSA_
spell(address to_bytes calldata_uint256 value_uint256 operation_payable 
updateMaxPosRatio(uint256 maxPosRatio_
updateOwner(address owner_
updateRebalancer(address rebalancer_bool isRebalancer_
Events
LogAddDSAAuthority(address indexed newAuthority
LogDSASpell(address indexed tobytes datauint256 valueuint256 operation
LogLeverage(uint256 indexed wETHCollAmountuint256 indexed wETHBorrowAmountuint256 indexed currentPosRatio
LogSetOwner(address owner
LogSetVaultDSA(address vaultDSA
LogUpdateMaxRatio(uint256 indexed maxPosRatioBeforeuint256 indexed maxPosRatioAfter
LogUpdateOwner(address oldOwneraddress newOwner
LogUpdateRebalancer(address indexed rebalancerbool indexed isRebalancer
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
Helpers__InvalidParams(
Helpers__NotOwner(
Helpers__NotRebalancer(
Helpers__Reentrant(
OwnerContract__AlreadyInitialized(
WeethStrategyContract__MaxLeveraged(
WeethStrategyContract__MinAvailabilityNotReached(
WeethStrategyContract__MinLimitNotReached(
WeethStrategyContract__NoBorrowingAvailability(
WeethStrategyContract__PosExceededRatio(
WeethStrategyContract__SupplyCapReached(