dForce DAI

Verified contract

Proxy

Active on Ethereum with 540 txns
Deployed by via 0x980be8da at 11927377
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
4 additional variables
ERC-20
--
0x2a6990d819b7efc2ccfac6112854fa94c566e1fca976baeaa530115fe29411a3
0x092433d769de5abcf32ead21de78f7a5ca5f592f93de24502157c7347b048b5c
0x1dce5c2b4b2fdedcdad8318a38e860fc686820926603adbb8e2cb0dbd91d9e69
0x83571494f8d9cb7f74e608f94d8ed2a1463442d079dd6eb9f67bf23af6cb3155
0x88e632f30a0e3614385692977a2b236bf7a7295de3f771329a0fa568511cb83b
0x4e58f5e12db0765671cf8ac241123ea4a3dc233b7e2856881baa01d3b6698bd8
0xb53db14a9e7bb7b039565cfdcac91d75e25cdb4d30d9cdbb1d251a7db26757df
0x1b13b779091b9bc89dd874d2b1e5dee50a910109304feef8ded6ef7cf2593a2d
0x4ba53cf4c16209849a9e37ad9c3d80efcbf4ce59d71fd4959aa343a42ff60819
0x3aef192c8515c46b93e4fcf6db52d258108764f94a80e78f1eb7e5ff727fcde8

Functions
Getter at block 20910373
DOMAIN_SEPARATOR(view returns (bytes32)
0x3a0316fd962e5942d9f6703da0349ce269505e82a5e25a8c55985add99fd969d
PERMIT_TYPEHASH(view returns (bytes32)
0x576144ed657c8304561e56ca632e17751956250114636e8c01f64a7f2c6d98cf
accrualBlockNumber(view returns (uint256)
20813403
borrowIndex(view returns (uint256)
1127069133355117393
 
borrowRatePerBlock(view returns (uint256)
controller(view returns (address)
0x8b53ab2c0df3230ea327017c91eb909f815ad113
daiJoin(view returns (address)
0x9759a6ac90977b93b58547b4a71c78317f391a28
decimals(view returns (uint8)
18
exchangeRateStored(view returns (uint256)
1115596803421302210
flashloanFeeRatio(view returns (uint256)
800000000000000
getCash(view returns (uint256)
45369008822656688400569
interestRateModel(view returns (address)
0x8dfbf566566a8f29e86f490594bd170162ee99fc
isSupported(view returns (bool)
true
isiToken(pure returns (bool)
true
name(view returns (string)
dForce DAI
owner(view returns (address)
0x17e66b1e0260c930bfa567ff3ab5c71794279b94
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
pot(view returns (address)
0x197e90f9fad81970ba7976f33cbd77088e5d7cf7
protocolFeeRatio(view returns (uint256)
250000000000000000
reserveRatio(view returns (uint256)
100000000000000000
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
iDAI
totalBorrows(view returns (uint256)
6972496778779029976345
totalReserves(view returns (uint256)
775299852173787462148
totalSupply(view returns (uint256)
46222977325785764544912
underlying(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
vat(view returns (address)
0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b
Read-only
allowance(addressaddressview returns (uint256)
balanceOf(addressview returns (uint256)
borrowBalanceStored(address _accountview returns (uint256)
borrowSnapshot(address _accountview returns (uint256uint256)
nonces(addressview returns (uint256)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
_acceptOwner(
_disableDSR(
_enableDSR(
_setController(address _newController
_setInterestRateModel(address _newInterestRateModel
_setNewFlashloanFeeRatio(uint256 _newFlashloanFeeRatio
_setNewProtocolFeeRatio(uint256 _newProtocolFeeRatio
_setNewReserveRatio(uint256 _newReserveRatio
_setPendingOwner(address newPendingOwner
_withdrawReserves(uint256 _withdrawAmount
approve(address spenderuint256 amountreturns (bool)
balanceOfUnderlying(address _accountreturns (uint256)
borrow(uint256 _borrowAmount
borrowBalanceCurrent(address _accountreturns (uint256)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
exchangeRateCurrent(returns (uint256)
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _underlyingTokenstring _namestring _symboladdress _controlleraddress _interestRateModel
liquidateBorrow(address _borroweruint256 _repayAmountaddress _assetCollateral
mint(address _recipientuint256 _mintAmount
mintForSelfAndEnterMarket(uint256 _mintAmount
permit(address _owneraddress _spenderuint256 _valueuint256 _deadlineuint8 _vbytes32 _rbytes32 _s
redeem(address _fromuint256 _redeemiToken
redeemUnderlying(address _fromuint256 _redeemUnderlying
repayBorrow(uint256 _repayAmount
repayBorrowBehalf(address _borroweruint256 _repayAmount
seize(address _liquidatoraddress _borroweruint256 _seizeTokens
totalBorrowsCurrent(returns (uint256)
transfer(address _recipientuint256 _amountreturns (bool)
transferFrom(address _senderaddress _recipientuint256 _amountreturns (bool)
updateInterest(returns (bool)
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
Approval(address indexed owneraddress indexed spenderuint256 value
Borrow(address borroweruint256 borrowAmountuint256 accountBorrowsuint256 accountInterestIndexuint256 totalBorrows
Flashloan(address loaneruint256 loanAmountuint256 flashloanFeeuint256 protocolFeeuint256 timestamp
LiquidateBorrow(address liquidatoraddress borroweruint256 repayAmountaddress iTokenCollateraluint256 seizeTokens
Mint(address senderaddress recipientuint256 mintAmountuint256 mintTokens
NewController(address oldControlleraddress newController
NewFlashloanFee(uint256 oldFlashloanFeeRatiouint256 newFlashloanFeeRatiouint256 oldProtocolFeeRatiouint256 newProtocolFeeRatio
NewFlashloanFeeRatio(uint256 oldFlashloanFeeRatiouint256 newFlashloanFeeRatio
NewInterestRateModel(address oldInterestRateModeladdress newInterestRateModel
NewOwner(address indexed previousOwneraddress indexed newOwner
NewPendingOwner(address indexed oldPendingOwneraddress indexed newPendingOwner
NewProtocolFeeRatio(uint256 oldProtocolFeeRatiouint256 newProtocolFeeRatio
NewReserveRatio(uint256 oldReserveRatiouint256 newReserveRatio
Redeem(address fromaddress recipientuint256 redeemiTokenAmountuint256 redeemUnderlyingAmount
RepayBorrow(address payeraddress borroweruint256 repayAmountuint256 accountBorrowsuint256 accountInterestIndexuint256 totalBorrows
ReservesWithdrawn(address adminuint256 amountuint256 newTotalReservesuint256 oldTotalReserves
Transfer(address indexed fromaddress indexed touint256 value
UpdateInterest(uint256 currentBlockNumberuint256 interestAccumulateduint256 borrowIndexuint256 cashuint256 totalBorrowsuint256 totalReserves
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.