WePiggy DAI
Verified contract
Proxy
Active on
Ethereum with 796 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x0c8c…0f0b
0x8158…554b
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
3 additional
variables
Balances ($100,894.07)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DAI | ERC-20 | 100.894065K | $1.00 |
$100,894.07 | |
StableDAI.com | ERC-20 | 634 | -- | -- | |
daiblack.com | ERC-20 | 450 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21282935 | 4 days ago | | | 0 | 0.0035659616 | |
| 21276279 | 5 days ago | | | 0 | 0.0014552560 | |
| 21257784 | 8 days ago | | | 0 | 0.0028791810 | |
| 21257150 | 8 days ago | | | 0 | 0.0039479236 | |
| 21251366 | 9 days ago | | | 0 | 0.0038273653 | |
| 20883421 | 2 months ago | | | 0 | 0.0010685505 | |
| 20883408 | 2 months ago | | | 0 | 0.0010407288 | |
| 20883051 | 2 months ago | | | 0 | 0.0012440948 | |
| 20808469 | 2 months ago | | | 0 | 0.0026255694 | |
| 20781923 | 2 months ago | | | 0 | 0.0079884596 |
ABI
ABI objects
Getter at block 21314708 accrueInterestSnapshot() view returns (uint256[]) borrowRatePerBlock() view returns (uint256) supplyRatePerBlock() view returns (uint256)
accrualBlockNumber() view returns (uint256)
21282935
borrowIndex() view returns (uint256)
1496070638075850312
comptroller() view returns (address)
0x0c8c1ab017c3c0c8a48dd9f1db2f59022d190f0b
decimals() view returns (uint8)
8
exchangeRateStored() view returns (uint256)
283304472969570568891942813
getCash() view returns (uint256)
100894065413625099210864
interestRateModel() view returns (address)
0x8158b34ff8a36dd9e4519d62c52913c24ad5554b
isPToken() view returns (bool)
true
migrator() view returns (address)
0x836490dcf3c63da80a8bee9c666fbfe294d80c69
minInterestAccumulated() view returns (uint256)
0
name() view returns (string)
WePiggy DAI
owner() view returns (address)
0x8114b3854d1e7b7f5f14896537c321e9062284ce
reserveFactorMantissa() view returns (uint256)
100000000000000000
symbol() view returns (string)
pDAI
totalBorrows() view returns (uint256)
146820915122276610483
totalReserves() view returns (uint256)
13751505591330524136532
totalSupply() view returns (uint256)
308111551584265
underlying() view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address owner) view returns (uint256)
borrowBalanceStored(address account) view returns (uint256)
getAccountSnapshot(address account) view returns (uint256, uint256, uint256, uint256)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
_addReserves(uint256 addAmount) returns (uint256)
_reduceReserves(uint256 reduceAmount) returns (uint256)
_setComptroller(address newComptroller) returns (uint256)
_setInterestRateModel(address newInterestRateModel) returns (uint256)
_setMigrator(address newMigrator) returns (uint256)
_setMinInterestAccumulated(uint256 _minInterestAccumulated) returns (uint256)
_setReserveFactor(uint256 newReserveFactorMantissa) returns (uint256)
accrueInterest() returns (uint256)
approve(address spender, uint256 amount) returns (bool)
balanceOfUnderlying(address owner) returns (uint256)
borrow(uint256 borrowAmount) returns (uint256)
borrowBalanceCurrent(address account) returns (uint256)
exchangeRateCurrent() returns (uint256)
init(address comptroller_, address interestRateModel_, uint256 initialExchangeRateMantissa_, string name_, string symbol_, uint8 decimals_)
initialize(address underlying_, address comptroller_, address interestRateModel_, uint256 initialExchangeRateMantissa_, string name_, string symbol_, uint8 decimals_)
liquidateBorrow(address borrower, uint256 repayAmount, address cTokenCollateral) returns (uint256)
mint(uint256 mintAmount) returns (uint256)
mintForMigrate(uint256 mintAmount, uint256 mintTokens) returns (uint256)
redeem(uint256 redeemTokens) returns (uint256)
redeemUnderlying(uint256 redeemAmount) returns (uint256)
renounceOwnership()
repayBorrow(uint256 repayAmount) returns (uint256)
repayBorrowBehalf(address borrower, uint256 repayAmount) returns (uint256)
seize(address liquidator, address borrower, uint256 seizeTokens) returns (uint256)
totalBorrowsCurrent() returns (uint256)
transfer(address dst, uint256 amount) returns (bool)
transferFrom(address src, address dst, uint256 amount) returns (bool)
transferOwnership(address newOwner)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
AccrueInterest(uint256 cashPrior, uint256 interestAccumulated, uint256 borrowIndex, uint256 totalBorrows, uint256 totalReserves)
Approval(address indexed owner, address indexed spender, uint256 amount)
Borrow(address borrower, uint256 borrowAmount, uint256 accountBorrows, uint256 totalBorrows, uint256 interestBalancePrior)
Failure(uint256 error, uint256 info, uint256 detail)
LiquidateBorrow(address liquidator, address borrower, uint256 repayAmount, address pTokenCollateral, uint256 seizeTokens)
Mint(address minter, uint256 mintAmount, uint256 mintTokens, uint256 totalSupply, uint256 accountTokens)
NewComptroller(address oldComptroller, address newComptroller)
NewMarketInterestRateModel(address oldInterestRateModel, address newInterestRateModel)
NewMigrator(address oldMigrator, address newMigrator)
NewMinInterestAccumulated(uint256 oldMinInterestAccumulated, uint256 newMinInterestAccumulated)
NewReserveFactor(uint256 oldReserveFactorMantissa, uint256 newReserveFactorMantissa)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Redeem(address redeemer, uint256 redeemAmount, uint256 redeemTokens, uint256 totalSupply, uint256 accountTokens)
RepayBorrow(address payer, address borrower, uint256 repayAmount, uint256 accountBorrows, uint256 totalBorrows, uint256 interestBalancePrior)
ReservesAdded(address benefactor, uint256 addAmount, uint256 newTotalReserves)
ReservesReduced(address admin, uint256 reduceAmount, uint256 newTotalReserves)
Transfer(address indexed from, address indexed to, uint256 amount)
constructor(address _logic, address _admin, bytes _data)
fallback()
This contract contains no error objects.