DInterest

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xeb3e4b1b at 13135209
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
1 additional variable

No balances found for "DInterest"

No transactions found for "DInterest"


Functions
Getter at block 21216252
GlobalDepositCap(view returns (uint256)
0
MaxDepositPeriod(view returns (uint64)
0
MinDepositAmount(view returns (uint256)
0
depositNFT(view returns (address)
0x0000000000000000000000000000000000000000
depositsLength(view returns (uint256)
0
feeModel(view returns (address)
0x0000000000000000000000000000000000000000
fundingListLength(view returns (uint256)
0
fundingMultitoken(view returns (address)
0x0000000000000000000000000000000000000000
interestModel(view returns (address)
0x0000000000000000000000000000000000000000
interestOracle(view returns (address)
0x0000000000000000000000000000000000000000
 
moneyMarket(view returns (address)
mphMinter(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x0000000000000000000000000000000000000000
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
 
stablecoin(view returns (address)
sumOfRecordedFundedPrincipalAmountDivRecordedIncomeIndex(view returns (uint256)
0
totalDeposit(view returns (uint256)
0
totalFeeOwed(view returns (uint256)
0
totalFundedPrincipalAmount(view returns (uint256)
0
totalInterestOwed(view returns (uint256)
0
Read-only
getDeposit(uint64 depositIDview returns (struct DInterestDeposit)
getFunding(uint64 fundingIDview returns (struct DInterestFunding)
State-modifying
calculateInterestAmount(uint256 depositAmountuint256 depositPeriodInSecondsreturns (uint256 interestAmount)
claimOwnership(
decreaseFeeForDeposit(uint64 depositIDuint256 newFeeRate
deposit(uint256 depositAmountuint64 maturationTimestampreturns (uint64 depositIDuint256 interestAmount)
deposit(uint256 depositAmountuint64 maturationTimestampuint256 minimumInterestAmountstring urireturns (uint64 depositIDuint256 interestAmount)
fund(uint64 depositIDuint256 fundAmountreturns (uint64 fundingIDuint256 fundingMultitokensMinteduint256 actualFundAmountuint256 principalFunded)
fund(uint64 depositIDuint256 fundAmountuint256 minPrincipalFundedreturns (uint64 fundingIDuint256 fundingMultitokensMinteduint256 actualFundAmountuint256 principalFunded)
initialize(uint64 _MaxDepositPerioduint256 _MinDepositAmountaddress _feeModeladdress _interestModeladdress _interestOracleaddress _depositNFTaddress _fundingMultitokenaddress _mphMinter
multicall(bytes[] datareturns (bytes[] results)
payInterestToFunders(uint64 fundingIDreturns (uint256 interestAmount)
rescue(address tokenaddress target
rolloverDeposit(uint64 depositIDuint64 maturationTimestampreturns (uint256 newDepositIDuint256 interestAmount)
rolloverDeposit(uint64 depositIDuint64 maturationTimestampuint256 minimumInterestAmountstring urireturns (uint256 newDepositIDuint256 interestAmount)
setDepositNFTBaseURI(string newURI
setDepositNFTContractURI(string newURI
setFeeModel(address newValue
setGlobalDepositCap(uint256 newValue
setInterestModel(address newValue
setInterestOracle(address newValue
setMPHMinter(address newValue
setMaxDepositPeriod(uint64 newValue
setMinDepositAmount(uint256 newValue
setRewards(address newValue
skimSurplus(address recipient
surplus(returns (bool isNegativeuint256 surplusAmount)
topupDeposit(uint64 depositIDuint256 depositAmountreturns (uint256 interestAmount)
topupDeposit(uint64 depositIDuint256 depositAmountuint256 minimumInterestAmountreturns (uint256 interestAmount)
transferOwnership(address newOwnerbool directbool renounce
withdraw(uint64 depositIDuint256 virtualTokenAmountbool earlyreturns (uint256 withdrawnStablecoinAmount)
Events
EDeposit(address indexed senderuint256 indexed depositIDuint256 depositAmountuint256 interestAmountuint256 feeAmountuint64 maturationTimestamp
EFund(address indexed senderuint64 indexed fundingIDuint256 fundAmountuint256 tokenAmount
EPayFundingInterest(uint256 indexed fundingIDuint256 interestAmountuint256 refundAmount
ERolloverDeposit(address indexed senderuint64 indexed depositIDuint64 indexed newDepositID
ESetParamAddress(address indexed senderstring indexed paramNameaddress newValue
ESetParamUint(address indexed senderstring indexed paramNameuint256 newValue
ETopupDeposit(address indexed senderuint64 indexed depositIDuint256 depositAmountuint256 interestAmountuint256 feeAmount
EWithdraw(address indexed senderuint256 indexed depositIDbool indexed earlyuint256 virtualTokenAmountuint256 feeAmount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
PRBMathUD60x18__Exp2InputTooBig(uint256 x
PRBMath__MulDivFixedPointOverflow(uint256 prod1
PRBMath__MulDivOverflow(uint256 prod1uint256 denominator