FYDAI2306B LP

Verified contract

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

No balances found for "FYDAI2306B LP"

0x7c534a1c4fa705a3771aa875bc2a5245678c1cc0047ab775a0c3ca9b04808ae6
From

Functions
Getter at block 21191357
DOMAIN_SEPARATOR(view returns (bytes32)
0x31aa6c47292eb9dff46922582470b8ebb5abf5f5f9f0fd2b3da3929a0ac4a361
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)
0x6b175474e89094c44da98b954eedeac495271d0f
baseDecimals(view returns (uint256)
18
baseToken(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
cumulativeRatioLast(view returns (uint256)
7154213830634433455788933674697613
 
currentCumulativeRatio(view returns (uint256 currentCumulativeRatio_uint256 blockTimestampCurrent)
decimals(view returns (uint8)
18
deploymentChainId(view returns (uint256)
1
fyToken(view returns (address)
0xc7f12ea237be7be6028285052cf3727eaf0e597b
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)
FYDAI2306B LP
scaleFactor(view returns (uint96)
1
sharesToken(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
symbol(view returns (string)
FYDAI2306BLP
totalSupply(view returns (uint256)
0
ts(view returns (int128)
12989823246
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