FARM_DAI

Verified contract

Proxy

Active on Ethereum with 2,917 txns
Deployed by via 0x6743bdd2 at 11086832
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 43 additional slots
-
variable spans 49 additional slots
ERC-20
--
ERC-20
--
0xc284d6e4e633a715711189e4e57be6ba0f6b2e0d773e6812a1759ce0571af303
0x4368c3bd4e590fe424cd6357979cbfaa1ff785eb0b6b851f0e6c862d25f5091e
0xb3250bbda8a203ac39a87e401f4533edc3457a0e85ab6a022b246bd7e3e80888
0x250f60841c04b3920cf44ef072429e207fb56d2ac75c351bf93cc37b4a03863d
0x24727768c91e0cef60bd4177a3163b38d9f5ed150956dd3bafc4a52042e6f54f
0xcbaa99df977e7274a945310a78efe39459b041da053f9d7d18782a6cfbb44e0a
0xb58f41dba4f97d0b7fa3b528b3dd20e7fbb7c460ccb46c95f8425d22ce274888
0xc6db1211e3c9f4be7f2d2b4fbc9bc165b54467a18a328f662b119ecc9103a74e
0x0601c5e262d24496058b54a43d77fab47e3d5a43d38676ed6d3886b664d3a858
0x346494b0038eb536f64ce0557a7cd31a7967dd0738ceccedbb25798024a88471

Functions
Getter at block 21161952
implementation(view returns (address)
0x0de5f3a958f8e927c5b27d202d12b607e213d08c
TEN(view returns (uint256)
10
asset(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
 
assetsPerShare(view returns (uint256)
 
availableToInvestOut(view returns (uint256)
controller(view returns (address)
0x7583d7f36635e5642713accbded717ca59fdad07
decimals(view returns (uint8)
18
 
getPricePerFullShare(view returns (uint256)
governance(view returns (address)
0xf066789028fe31d4f53b69b81b328b8218cc0641
name(view returns (string)
FARM_DAI
nextImplementation(view returns (address)
0x0000000000000000000000000000000000000000
nextImplementationDelay(view returns (uint256)
43200
nextImplementationTimestamp(view returns (uint256)
0
nextStrategy(view returns (address)
0x0000000000000000000000000000000000000000
nextStrategyTimestamp(view returns (uint256)
0
shouldUpgrade(view returns (booladdress)
(false, 0x0000000000000000000000000000000000000000)
strategy(view returns (address)
0x8f605dba5207f57e3ae2e8fea7b740b7d4b204a5
symbol(view returns (string)
fDAI
 
totalAssets(view returns (uint256)
totalSupply(view returns (uint256)
181762448282428763773405
underlying(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
underlyingBalanceInVault(view returns (uint256)
0
 
underlyingBalanceWithInvestment(view returns (uint256)
underlyingUnit(view returns (uint256)
1000000000000000000
vaultFractionToInvestDenominator(view returns (uint256)
10000
vaultFractionToInvestNumerator(view returns (uint256)
9700
Read-only
allowance(address owneraddress spenderview returns (uint256)
assetsOf(address _depositorview returns (uint256)
balanceOf(address accountview returns (uint256)
canUpdateStrategy(address _strategyview returns (bool)
convertToAssets(uint256 _sharesview returns (uint256)
convertToShares(uint256 _assetsview returns (uint256)
maxDeposit(addressview returns (uint256)
maxMint(addressview returns (uint256)
maxRedeem(address _callerview returns (uint256)
maxWithdraw(address _callerview returns (uint256)
previewDeposit(uint256 _assetsview returns (uint256)
previewMint(uint256 _sharesview returns (uint256)
previewRedeem(uint256 _sharesview returns (uint256)
previewWithdraw(uint256 _assetsview returns (uint256)
underlyingBalanceWithInvestmentForHolder(address holderview returns (uint256)
State-modifying
upgrade(
announceStrategyUpdate(address _strategy
approve(address spenderuint256 amountreturns (bool)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256 _assetsaddress _receiverreturns (uint256)
deposit(uint256 amountreturns (uint256 minted)
depositFor(uint256 amountaddress holderreturns (uint256 minted)
doHardWork(
finalizeStrategyUpdate(
finalizeUpgrade(
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(
initialize(address _storage
initialize(address _underlyinguint256 _toInvestNumeratoruint256 _toInvestDenominatoruint256 _underlyingUnit
initializeVault(address _storageaddress _underlyinguint256 _toInvestNumeratoruint256 _toInvestDenominator
mint(uint256 _sharesaddress _receiverreturns (uint256)
rebalance(
redeem(uint256 _sharesaddress _receiveraddress _ownerreturns (uint256)
scheduleUpgrade(address impl
setStorage(address _store
setStrategy(address _strategy
setVaultFractionToInvest(uint256 numeratoruint256 denominator
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
withdraw(uint256 _assetsaddress _receiveraddress _ownerreturns (uint256)
withdraw(uint256 sharesreturns (uint256 amtUnderlying)
withdrawAll(
Events
Upgraded(address indexed implementation
Approval(address indexed owneraddress indexed spenderuint256 value
Deposit(address indexed senderaddress indexed receiveruint256 assetsuint256 shares
Invest(uint256 amount
StrategyAnnounced(address newStrategyuint256 time
StrategyChanged(address newStrategyaddress oldStrategy
Transfer(address indexed fromaddress indexed touint256 value
Withdraw(address indexed senderaddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
Constructor
constructor(address _implementation
Fallback and receive
fallback(
Errors

This contract contains no error objects.