OneStepLeverageStETH

Verified contract

Active on Ethereum with 152 txns
Deployed by via 0x72ad93ad at 17669930
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xcadcbaf91386a300031cfffb1f6b6e7c93eca76a1694ab938fe80061eb47ace8
0x732cce4b75576bdd7754ad509ca32e7dada7a47cb7b5048ed3b6a637c8cea92a
0x201ce1fa2a56afde80769e8835ce6d71405b95b7bbebb3ac30195989b64a28f4
0xffb2fcd48cde5ede9f5f959a58a4fd613e2fabaea8b2bf2e910d76e22524ffcc
0x47b1304d86cde9401efa0393db300f511df4fdb8c310f5dc731ce9fd1b11976f
0x2240b9e6698c322eaeec857d86d93ac1387fcb950b1031266eb7a0acc25e49d7
0x77b8eb41bcccf7d6cac55276d10f29e0740052f12ff3488c65164eb901b3b654
0x3f47beda693a1c5bd25ec4729aef618bc31d8dde1f95a47bcd54187f6df2f8b2
0xb949933d5a52db97b1db0c2621562368e339b15d22e6058b15020d312ced4f86
0x7ed356f634fecc53956e7138681356cf2b81889d732996baacb39d5d1ae0c043

Functions
Getter at block 21191679
MAX_LEFTOVER_R(view returns (uint256)
1000000000000000000
amm(view returns (address)
0x10fbb5a361aa1a35bf2d0a262e24125fd39d33d8
collateralToken(view returns (address)
0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0
owner(view returns (address)
0x603d50bad151da8becf405e51a8c4abc8ba1c95e
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
positionManager(view returns (address)
0x5f59b322eb3e16a0c78846195af1f588b77403fc
raftCollateralToken(view returns (address)
0xa7820009f79687d39f51909a01e7fd4b4d0663f8
raftDebtToken(view returns (address)
0x1c1d49d8f601f19d2fa88b14bef491759aaaf5d8
stETH(view returns (address)
0xae7ab96520de3a18e5e111b5eaab095312d7fe84
underlyingCollateralToken(view returns (address)
0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0
wstETH(view returns (address)
0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0
Read-only

This contract contains no read-only function objects.

State-modifying
acceptOwnership(
manageLeveragedPosition(uint256 debtChangebool isDebtIncreaseuint256 principalCollateralChangebool principalCollateralIncreasebytes ammDatauint256 minReturnOrAmountToSelluint256 maxFeePercentage
manageLeveragedPositionStETH(uint256 debtChangebool isDebtIncreaseuint256 stETHCollateralChangebool stETHCollateralIncreasebytes ammDatauint256 minReturnOrAmountToSelluint256 maxFeePercentage
onFlashLoan(address initiatoraddressuint256 amountuint256 feebytes datareturns (bytes32)
renounceOwnership(
rescueTokens(address tokenaddress to
transferOwnership(address newOwner
Events
LeveragedPositionAdjusted(address indexed positionuint256 principalCollateralChangebool principalCollateralIncreaseuint256 debtChangebool isDebtIncreaseuint256 leveragedCollateralChange
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
StETHLeveragedPositionChange(address indexed positionuint256 collateralChangebool isCollateralIncreaseuint256 debtChangebool isDebtIncrease
Constructor
constructor(address positionManager_address amm_address wstETH_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AmmCannotBeZero(
CallerIsNotPositionManager(address caller
CollateralTokenCannotBeZero(
InvalidInitiator(
PositionManagerCannotBeZero(
UnsupportedToken(
WstETHAddressCannotBeZero(
ZeroDebtChange(