FYDAI2312 LP
Verified contract
Active on
Ethereum with 1 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
No balances found for "FYDAI2312 LP"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17683527 | a year ago | | | 0 | 0.0010251600 |
ABI
ABI objects
Getter at block 21191519 currentCumulativeRatio() view returns (uint256 currentCumulativeRatio_, uint256 blockTimestampCurrent) invariant() view returns (uint128 result) maxBaseIn() view returns (uint128 baseIn) maxFYTokenIn() view returns (uint128 fyTokenIn) maxFYTokenOut() view returns (uint128 fyTokenOut)
DOMAIN_SEPARATOR() view returns (bytes32)
0x55f9eef5668dfa536b2d53bd41fcbce5b65b2a0d79d80fd372ed7f4c8c882112
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)
168129926051249827971887976784603073
decimals() view returns (uint8)
18
deploymentChainId() view returns (uint256)
1
fyToken() view returns (address)
0xb78f9f7d67a4c7cfad0dad80364e95bae42d2fe1
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 (uint104, uint104, uint32, uint16)
(0, 0, 1706629547, 9000)
getCurrentSharePrice() view returns (uint256)
1000000000000000000
getFYTokenBalance() view returns (uint128)
0
getSharesBalance() view returns (uint128)
0
maturity() view returns (uint32)
1703862000
maxBaseOut() view returns (uint128 baseOut)
0
mu() view returns (int128)
18446744073709551616
name() view returns (string)
FYDAI2312 LP
scaleFactor() view returns (uint96)
1
sharesToken() view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
symbol() view returns (string)
FYDAI2312LP
totalSupply() view returns (uint256)
0
ts() view returns (int128)
22482386388
version() pure returns (string)
1
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address guy) view returns (uint256)
buyBasePreview(uint128 baseOut) view returns (uint128 fyTokenIn)
buyFYTokenPreview(uint128 fyTokenOut) view returns (uint128 baseIn)
getRoleAdmin(bytes4 role) view returns (bytes4)
hasRole(bytes4 role, address account) view returns (bool)
nonces(address) view returns (uint256)
sellBasePreview(uint128 baseIn) view returns (uint128 fyTokenOut)
sellFYTokenPreview(uint128 fyTokenIn) view returns (uint128 baseOut)
unwrapPreview(uint256 shares) view returns (uint256 assets)
wrapPreview(uint256 assets) view returns (uint256 shares)
State-modifying
Events approve(address spender, uint256 wad) returns (bool)
burn(address baseTo, address fyTokenTo, uint256 minRatio, uint256 maxRatio) returns (uint256 lpTokensBurned, uint256 baseOut, uint256 fyTokenOut)
burnForBase(address to, uint256 minRatio, uint256 maxRatio) returns (uint256 lpTokensBurned, uint256 baseOut)
buyBase(address to, uint128 baseOut, uint128 max) returns (uint128 fyTokenIn)
buyFYToken(address to, uint128 fyTokenOut, uint128 max) returns (uint128 baseIn)
grantRole(bytes4 role, address account)
grantRoles(bytes4[] roles, address account)
init(address to) returns (uint256 baseIn, uint256 fyTokenIn, uint256 lpTokensMinted)
lockRole(bytes4 role)
mint(address to, address remainder, uint256 minRatio, uint256 maxRatio) returns (uint256 baseIn, uint256 fyTokenIn, uint256 lpTokensMinted)
mintWithBase(address to, address remainder, uint256 fyTokenToBuy, uint256 minRatio, uint256 maxRatio) returns (uint256 baseIn, uint256 fyTokenIn, uint256 lpTokensMinted)
permit(address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
renounceRole(bytes4 role, address account)
retrieveBase(address to) returns (uint128 retrieved)
retrieveFYToken(address to) returns (uint128 retrieved)
retrieveShares(address to) returns (uint128 retrieved)
revokeRole(bytes4 role, address account)
revokeRoles(bytes4[] roles, address account)
sellBase(address to, uint128 min) returns (uint128 fyTokenOut)
sellFYToken(address to, uint128 min) returns (uint128 baseOut)
setFees(uint16 g1Fee_)
setRoleAdmin(bytes4 role, bytes4 adminRole)
transfer(address dst, uint256 wad) returns (bool)
transferFrom(address src, address dst, uint256 wad) returns (bool)
unwrap(address receiver) returns (uint256 assets)
wrap(address receiver) returns (uint256 shares)
Approval(address indexed owner, address indexed spender, uint256 value)
FeesSet(uint16 g1Fee)
Liquidity(uint32 maturity, address indexed from, address indexed to, address indexed fyTokenTo, int256 base, int256 fyTokens, int256 poolTokens)
RoleAdminChanged(bytes4 indexed role, bytes4 indexed newAdminRole)
RoleGranted(bytes4 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes4 indexed role, address indexed account, address indexed sender)
Sync(uint112 baseCached, uint112 fyTokenCached, uint256 cumulativeBalancesRatio)
Trade(uint32 maturity, address indexed from, address indexed to, int256 base, int256 fyTokens)
Transfer(address indexed from, address indexed to, uint256 value)
gg()
gm()
constructor(address base_, address fyToken_, int128 ts_, uint16 g1Fee_)
This contract contains no fallback and receive objects.
AfterMaturity()
FYTokenCachedBadState()
Initialized()
InvalidFee(uint16 proposedFee)
MaturityOverflow()
MuCannotBeZero()
NegativeInterestRatesNotAllowed(uint128 newFYTokenBalance, uint128 newSharesBalanceTimesMu)
NotEnoughBaseIn(uint256 baseAvailable, uint256 baseNeeded)
NotEnoughFYTokenIn(uint256 fYTokensAvailable, uint256 fYTokensNeeded)
NotInitialized()
SlippageDuringBurn(uint256 newRatio, uint256 minRatio, uint256 maxRatio)
SlippageDuringMint(uint256 newRatio, uint256 minRatio, uint256 maxRatio)
SlippageDuringSellBase(uint128 fyTokenOut, uint128 min)
SlippageDuringSellFYToken(uint128 baseOut, uint128 min)