FYETH2306B LP

Verified contract

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

No balances found for "FYETH2306B LP"

0x29e74f62070a9565815b78d386d105fbd45cf3810d703d29471a5fbe5be23a5f
From

Functions
Getter at block 21191394
DOMAIN_SEPARATOR(view returns (bytes32)
0x378343bafddeb33a09fcaddedabb8b15251b8f180bfe952328be93f0c43d7214
LOCK(view returns (bytes4)
0xffffffff
LOCK8605463013(view returns (bytes4)
0xffffffff
PERMIT_TYPEHASH(view returns (bytes32)
0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9
ROOT(view returns (bytes4)
0x00000000
ROOT4146650865(view returns (bytes4)
0x00000000
base(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
baseDecimals(view returns (uint256)
18
baseToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
cumulativeRatioLast(view returns (uint256)
22104411108737179059626032048338775
 
currentCumulativeRatio(view returns (uint256 currentCumulativeRatio_uint256 blockTimestampCurrent)
decimals(view returns (uint8)
18
deploymentChainId(view returns (uint256)
1
fyToken(view returns (address)
0xc8110b03629211b946c2783637abc9402b50ecdf
g1(view returns (int128)
16602069666338596454
g1Fee(view returns (uint16)
9000
g2(view returns (int128)
20496382304121724017
getBaseBalance(view returns (uint128)
0
getC(view returns (int128)
18446744073709551616
getCache(view returns (uint104uint104uint32uint16)
(0, 0, 1689602915, 9000)
getCurrentSharePrice(view returns (uint256)
1000000000000000000
getFYTokenBalance(view returns (uint128)
0
getSharesBalance(view returns (uint128)
0
 
invariant(view returns (uint128 result)
maturity(view returns (uint32)
1688137200
 
maxBaseIn(view returns (uint128 baseIn)
maxBaseOut(view returns (uint128 baseOut)
0
 
maxFYTokenIn(view returns (uint128 fyTokenIn)
 
maxFYTokenOut(view returns (uint128 fyTokenOut)
mu(view returns (int128)
18446744073709551616
name(view returns (string)
FYETH2306B LP
scaleFactor(view returns (uint96)
1
sharesToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
symbol(view returns (string)
FYETH2306BLP
totalSupply(view returns (uint256)
0
ts(view returns (int128)
23381681843
version(pure returns (string)
1
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address guyview returns (uint256)
buyBasePreview(uint128 baseOutview returns (uint128 fyTokenIn)
buyFYTokenPreview(uint128 fyTokenOutview returns (uint128 baseIn)
getRoleAdmin(bytes4 roleview returns (bytes4)
hasRole(bytes4 roleaddress accountview returns (bool)
nonces(addressview returns (uint256)
sellBasePreview(uint128 baseInview returns (uint128 fyTokenOut)
sellFYTokenPreview(uint128 fyTokenInview returns (uint128 baseOut)
unwrapPreview(uint256 sharesview returns (uint256 assets)
wrapPreview(uint256 assetsview returns (uint256 shares)
State-modifying
approve(address spenderuint256 wadreturns (bool)
burn(address baseToaddress fyTokenTouint256 minRatiouint256 maxRatioreturns (uint256 lpTokensBurneduint256 baseOutuint256 fyTokenOut)
burnForBase(address touint256 minRatiouint256 maxRatioreturns (uint256 lpTokensBurneduint256 baseOut)
buyBase(address touint128 baseOutuint128 maxreturns (uint128 fyTokenIn)
buyFYToken(address touint128 fyTokenOutuint128 maxreturns (uint128 baseIn)
grantRole(bytes4 roleaddress account
grantRoles(bytes4[] rolesaddress account
init(address toreturns (uint256 baseInuint256 fyTokenInuint256 lpTokensMinted)
lockRole(bytes4 role
mint(address toaddress remainderuint256 minRatiouint256 maxRatioreturns (uint256 baseInuint256 fyTokenInuint256 lpTokensMinted)
mintWithBase(address toaddress remainderuint256 fyTokenToBuyuint256 minRatiouint256 maxRatioreturns (uint256 baseInuint256 fyTokenInuint256 lpTokensMinted)
permit(address owneraddress spenderuint256 amountuint256 deadlineuint8 vbytes32 rbytes32 s
renounceRole(bytes4 roleaddress account
retrieveBase(address toreturns (uint128 retrieved)
retrieveFYToken(address toreturns (uint128 retrieved)
retrieveShares(address toreturns (uint128 retrieved)
revokeRole(bytes4 roleaddress account
revokeRoles(bytes4[] rolesaddress account
sellBase(address touint128 minreturns (uint128 fyTokenOut)
sellFYToken(address touint128 minreturns (uint128 baseOut)
setFees(uint16 g1Fee_
setRoleAdmin(bytes4 rolebytes4 adminRole
transfer(address dstuint256 wadreturns (bool)
transferFrom(address srcaddress dstuint256 wadreturns (bool)
unwrap(address receiverreturns (uint256 assets)
wrap(address receiverreturns (uint256 shares)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
FeesSet(uint16 g1Fee
Liquidity(uint32 maturityaddress indexed fromaddress indexed toaddress indexed fyTokenToint256 baseint256 fyTokensint256 poolTokens
RoleAdminChanged(bytes4 indexed rolebytes4 indexed newAdminRole
RoleGranted(bytes4 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes4 indexed roleaddress indexed accountaddress indexed sender
Sync(uint112 baseCacheduint112 fyTokenCacheduint256 cumulativeBalancesRatio
Trade(uint32 maturityaddress indexed fromaddress indexed toint256 baseint256 fyTokens
Transfer(address indexed fromaddress indexed touint256 value
gg(
gm(
Constructor
constructor(address base_address fyToken_int128 ts_uint16 g1Fee_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AfterMaturity(
FYTokenCachedBadState(
Initialized(
InvalidFee(uint16 proposedFee
MaturityOverflow(
MuCannotBeZero(
NegativeInterestRatesNotAllowed(uint128 newFYTokenBalanceuint128 newSharesBalanceTimesMu
NotEnoughBaseIn(uint256 baseAvailableuint256 baseNeeded
NotEnoughFYTokenIn(uint256 fYTokensAvailableuint256 fYTokensNeeded
NotInitialized(
SlippageDuringBurn(uint256 newRatiouint256 minRatiouint256 maxRatio
SlippageDuringMint(uint256 newRatiouint256 minRatiouint256 maxRatio
SlippageDuringSellBase(uint128 fyTokenOutuint128 min
SlippageDuringSellFYToken(uint128 baseOutuint128 min