WePiggy USDC
Verified contract
Proxy
Active on
Ethereum with 738 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 ($160,355.27)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 160.355271K | $1.00 |
$160,355.27 | |
0x0f24…0831 | ERC-1555 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20845944 | 3 days ago | | | 0 | 0.00024200810 | |
| 20747505 | 17 days ago | | | 0 | 0.00038130269 | |
| 20747467 | 17 days ago | | | 0 | 0.00036702615 | |
| 20726244 | 20 days ago | | | 0 | 0.00036888281 | |
| 20668014 | a month ago | | | 0 | 0.00013992607 | |
| 20550373 | a month ago | | | 0 | 0.00061644465 | |
| 20545263 | a month ago | | | 0 | 0.00038455533 | |
| 20538812 | 2 months ago | | | 0 | 0.00021369565 | |
| 20504021 | 2 months ago | | | 0 | 0.00019920831 | |
| 20500595 | 2 months ago | | | 0 | 0.00044482457 |
ABI
ABI objects
Getter at block 20868396 accrueInterestSnapshot() view returns (uint256[]) borrowRatePerBlock() view returns (uint256) exchangeRateStored() view returns (uint256) supplyRatePerBlock() view returns (uint256)
accrualBlockNumber() view returns (uint256)
20747505
borrowIndex() view returns (uint256)
1176971570851756910
comptroller() view returns (address)
0x0c8c1ab017c3c0c8a48dd9f1db2f59022d190f0b
decimals() view returns (uint8)
8
getCash() view returns (uint256)
160355271141
interestRateModel() view returns (address)
0x8158b34ff8a36dd9e4519d62c52913c24ad5554b
isPToken() view returns (bool)
true
migrator() view returns (address)
0x271e498c2fcaa9f2dbb4f6b9046ba65fa2c79dbe
minInterestAccumulated() view returns (uint256)
0
name() view returns (string)
WePiggy USDC
owner() view returns (address)
0x8114b3854d1e7b7f5f14896537c321e9062284ce
reserveFactorMantissa() view returns (uint256)
100000000000000000
symbol() view returns (string)
pUSDC
totalBorrows() view returns (uint256)
415565081236
totalReserves() view returns (uint256)
8967296685
totalSupply() view returns (uint256)
2374169900758561
underlying() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
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.