Pool

Verified contract

Active on Base with 221 txns
Deployed by via 0xcdba7972 at 6372007
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
6 additional variables
ERC-20
Value $1,487.38
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xd5727a32bf7f2a75c429a874b9c5de9ae8b58b4f4144d5eb3056101cf36f1e6f
0xf2375b5b0387c5922057558ae164117905e3d376d1f37af78fba9c28d289cfdb
0x56b9948ca71feae247b8f7c15846191d92bcc64b4a7a468ecaf7bd3312083c3b
0xd5fa94e0c3815754be43b8af038e530205b4ac33c1bb3b4e2668dcd241b5465c
0x61a6f1e310995d61b9c75b6664228f93dedfb652a0f76f2cc315515105df2dfd
0xedf177d9eb01395ed826d967e01bf4fcedd92f82ae29820d6f4e000990ced9eb
0x2b4a2eba645b02742c1b234050fbfd079c015a3151e2229d73252ef0f3976c54
0xbbbac1d126a04585f8cbfc969e1901fff5ffd39b9d3bc28ea850d69d7227c07d
0x65d41819b922462805429fa02f1c370f330c17910a276c13788e61057e1a3052
0xc83a9c3f52ab3ee9f042b267082ce367749fb00ce167e637eb261728ba007f02

Functions
Getter at block 22157167
MINTING_FEE_MAX(view returns (uint256)
10000
REDEMPTION_FEE_MAX(view returns (uint256)
10000
TIMELOCK_STRATEGY(view returns (uint256)
172800
 
WethAvailable(view returns (uint256 _collateralBalanceuint256 _strategyWethAvailable)
calcExcessCollateralBalance(view returns (uint256 _deltabool _exceeded)
(_delta=6667379831308234, _exceeded=false)
collateralRatio(view returns (uint256)
900000
collateralRatioPaused(view returns (bool)
false
info(view returns (uint256 _collateralRatiouint256 _lastRefreshCrTimestampuint256 _mintingFeeuint256 _redemptionFeebool _mintingPausedbool _redemptionPauseduint256 _collateralBalance)
(_collateralRatio=900000, _lastRefreshCrTimestamp=1708913159, _mintingFee=3500, _redemptionFee=6500, _mintingPaused=false, _redemptionPaused=false, _collateralBalance=503582165739399908)
lastRefreshCrTimestamp(view returns (uint256)
1708913159
maxCapCollateralRatio(view returns (uint256)
900000
minCollateralRatio(view returns (uint256)
700000
mintPaused(view returns (bool)
false
mintingFee(view returns (uint256)
3500
nextStrategy(view returns (address)
0xd6ea45fc7d2dace77c4f444ca1e4f76402ae79c7
nextStrategyTimestamp(view returns (uint256)
0
oracle(view returns (address)
0x00eee5696a5a4f97c1dc8de85364e1432eee2151
owner(view returns (address)
0xd6f1257847fde8a67fd66d4ea41f26a872d4b6c9
priceBand(view returns (uint256)
5000000000000000
priceTarget(view returns (uint256)
1000000000000000000
ratioStepDown(view returns (uint256)
1000
ratioStepUp(view returns (uint256)
2000
redeemPaused(view returns (bool)
false
redemptionFee(view returns (uint256)
6500
refreshCooldown(view returns (uint256)
3600
strategy(view returns (address)
0xd6ea45fc7d2dace77c4f444ca1e4f76402ae79c7
swapStrategy(view returns (address)
0xc47f18fe49f56a894746b67271673b650c0083d0
treasury(view returns (address)
0x17bd9839e5d8100e385464f787a9b83a24b95b4e
unclaimedEth(view returns (uint256)
0
unclaimedXToken(view returns (uint256)
0
unclaimedYToken(view returns (uint256)
0
usableCollateralBalance(view returns (uint256)
503582165739399908
xToken(view returns (address)
0xc4655eb36aa7f1e476a3059a609443ded02ab61f
yToken(view returns (address)
0xafe5451185513925f5e757f001425338ff93412d
yTokenReserve(view returns (address)
0x8355fcd6b489d413941a6cb7129956c5f7372e51
yTokenSlippage(view returns (uint256)
1000000
Read-only
calcMint(uint256 _ethInview returns (uint256 _xTokenOutuint256 _yTokenOutTwapuint256 _ethFeeuint256 _ethSwapIn)
calcRedeem(uint256 _xTokenInview returns (uint256 _ethOutuint256 _yTokenOutSpotuint256 _yTokenOutTwapuint256 _ethFeeuint256 _requiredEthBalance)
userInfo(addressview returns (uint256 xTokenBalanceuint256 yTokenBalanceuint256 ethBalanceuint256 lastAction)
State-modifying
collect(
mint(uint256 _minXTokenOutpayable 
receiveFromStrategy(uint256 _wethOut
recollateralize(payable 
redeem(uint256 _xTokenInuint256 _minYTokenOutuint256 _minEthOut
reduceExcessCollateral(uint256 _amount
refreshCollateralRatio(
renounceOwnership(
sendToStrategy(uint256 _wethIn
setCapMaxCollateralRatio(uint256 _maxCapCollateralRatio
setCollateralRatioOptions(uint256 _ratioStepUpuint256 _ratioStepDownuint256 _priceBanduint256 _refreshCooldown
setFees(uint256 _mintingFeeuint256 _redemptionFee
setMinCollateralRatio(uint256 _minCollateralRatio
setNextStrategy(address _strategy
setOracle(address _oracle
setStrategy(
setSwapStrategy(address _swapStrategy
setTreasury(address _treasury
setYTokenSlippage(uint256 _slippage
toggle(bool _mintPausedbool _redeemPaused
toggleCollateralRatio(bool _collateralRatioPaused
transferOwnership(address newOwner
Events
FeesUpdated(uint256 _mintingFeeuint256 _redemptionFee
MaxCapCollateralRatioUpdated(uint256 _maxCapCollateralRatio
MinCollateralRatioUpdated(uint256 _minCollateralRatio
Mint(address minteruint256 amountuint256 ethInuint256 fee
NewCollateralRatioOptions(uint256 _ratioStepUpuint256 _ratioStepDownuint256 _priceBanduint256 _refreshCooldown
NewCollateralRatioSet(uint256 _cr
OracleChanged(address indexed _oracle
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ReceiveFromStrategy(uint256 _wethOutuint256 realWethOut
Recollateralized(address indexed _senderuint256 _amount
Redeem(address redeemeruint256 amountuint256 ethOutuint256 yTokenOutuint256 fee
SendToStrategy(uint256 _wethIn
SetNextStrategy(address _strategy
SetStrategy(address _strategy
SwapStrategyChanged(address indexed _swapper
Toggled(bool _mintPausedbool _redeemPaused
TreasurySet(address indexed _treasury
UpdateCollateralRatioPaused(bool _collateralRatioPaused
YTokenSlippageSet(uint256 _slippage
Constructor
constructor(address _xTokenaddress _yTokenaddress _yTokenReserve
Fallback and receive
receive(
Errors

This contract contains no error objects.