SavingsContract

Verified contract

Active on Ethereum with 9,776 txns
Deployed by via 0xb329859a at 10148059
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $31,890.93
0xd75c84f254432ddbecab3ad7c432b0489809b680988b867a514f989a848915a3
0xecaf87189914432b45a2d3bf7c337025839dc89a6a2f51a80881e82ee8aae09b
0x216daa16c15e0c51715f98e888304a683b292c264217640530353619ebf17d53
0x9508c4d0e4ce6bad3f48bf9e174b2e8283b0807fa0079cab57f2e0d174b7008d
0xd942f4aa43b337e622a62d52fe533bcfb0f3b83f423ac9ec1053de2b0a1d0254
0xe5266f8a383374b3241f2c4920a7b87c3da33279e2057de911d554b59532e9e5
0xb6064b44f045d2db73d0bbd35350255f39f202229ad4ca6678566c28344f92a4
From
0xfef7c2d6dceda71d06511125e26cb07f30dee127e6ea37c7bff5964d30599160
0x45e097d1a4ddb87b0f68eff51597a432146a7013f7b890653079b441a6ad3304
0xfffe549522f4a7992740abf3cbf3c8caf7a48e7d886880dcb5d1887667c7da94

Functions
Getter at block 20988822
exchangeRate(view returns (uint256)
1167272912930095589
nexus(view returns (address)
0xafce80b19a8ce13dec0739a1aab7a028d6845eb3
totalCredits(view returns (uint256)
26890635194318035361254
totalSavings(view returns (uint256)
31388710073812166339608
Read-only
creditBalances(addressview returns (uint256)
State-modifying
automateInterestCollectionFlag(bool _enabled
depositInterest(uint256 _amount
depositSavings(uint256 _amountreturns (uint256 creditsIssued)
redeem(uint256 _creditsreturns (uint256 massetReturned)
Events
AutomaticInterestCollectionSwitched(bool automationEnabled
CreditsRedeemed(address indexed redeemeruint256 creditsRedeemeduint256 savingsCredited
ExchangeRateUpdated(uint256 newExchangeRateuint256 interestCollected
SavingsDeposited(address indexed saveruint256 savingsDepositeduint256 creditsIssued
Constructor
constructor(address _nexusaddress _mUSD
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.