WePiggy USDC

Verified contract

Proxy

Active on Ethereum with 738 txns
Deployed by via 0x80731b12 at 11645248
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
3 additional variables
ERC-20
Value $160,355.27
 (#0)
ERC-1555
--
0xd36fd7fe39a712d79e8b758032f6bac1567b46c3a2ebca00d5d7774ca56e7e2b
0xbb7a3749edffa29f6f4ec71a8c6149810f7fc5c17bfd0cc7ecfc2f98c8381528
0x6af53217f9cd62b9f45cc91a5e94f91bf715d699dee7a54e056e55025a7ea308
0xf5cec335b1e02b078f5789677e94c6e798d9b1fdfd8970904de574b438590ec4
0x88020a9f0f411496a69d1498718ec9e05785722ad5e27c2ff8dd69dcf9ced49d
0x1b4e91bef0c3ca2255a52f12bc2fa264225204e8671f46ad4c6d6dabeef855b4
0x2cfd1b19d61628413bf715cdcf544c39fa81f486ef9cee27abf90578f686a5c1
0x3523688178cbaaa27603d68bf0660a5278eedb8dda7932374d0ddd23b660c1f5
0x4578a8d6fd4fae7c0947e7e735abcb56c257ca3af634ea47ed0f556602411acd
0x70ff0f32416ba04baf17da21d558ec16803ff2d2b070d0e88f3533ecd02ff35d

Functions
Getter at block 20868396
accrualBlockNumber(view returns (uint256)
20747505
 
accrueInterestSnapshot(view returns (uint256[])
borrowIndex(view returns (uint256)
1176971570851756910
 
borrowRatePerBlock(view returns (uint256)
comptroller(view returns (address)
0x0c8c1ab017c3c0c8a48dd9f1db2f59022d190f0b
decimals(view returns (uint8)
8
 
exchangeRateStored(view returns (uint256)
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
 
supplyRatePerBlock(view returns (uint256)
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 owneraddress spenderview returns (uint256)
balanceOf(address ownerview returns (uint256)
borrowBalanceStored(address accountview returns (uint256)
getAccountSnapshot(address accountview returns (uint256uint256uint256uint256)
State-modifying
admin(returns (address)
changeAdmin(address newAdmin
implementation(returns (address)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
_addReserves(uint256 addAmountreturns (uint256)
_reduceReserves(uint256 reduceAmountreturns (uint256)
_setComptroller(address newComptrollerreturns (uint256)
_setInterestRateModel(address newInterestRateModelreturns (uint256)
_setMigrator(address newMigratorreturns (uint256)
_setMinInterestAccumulated(uint256 _minInterestAccumulatedreturns (uint256)
_setReserveFactor(uint256 newReserveFactorMantissareturns (uint256)
accrueInterest(returns (uint256)
approve(address spenderuint256 amountreturns (bool)
balanceOfUnderlying(address ownerreturns (uint256)
borrow(uint256 borrowAmountreturns (uint256)
borrowBalanceCurrent(address accountreturns (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 borroweruint256 repayAmountaddress cTokenCollateralreturns (uint256)
mint(uint256 mintAmountreturns (uint256)
mintForMigrate(uint256 mintAmountuint256 mintTokensreturns (uint256)
redeem(uint256 redeemTokensreturns (uint256)
redeemUnderlying(uint256 redeemAmountreturns (uint256)
renounceOwnership(
repayBorrow(uint256 repayAmountreturns (uint256)
repayBorrowBehalf(address borroweruint256 repayAmountreturns (uint256)
seize(address liquidatoraddress borroweruint256 seizeTokensreturns (uint256)
totalBorrowsCurrent(returns (uint256)
transfer(address dstuint256 amountreturns (bool)
transferFrom(address srcaddress dstuint256 amountreturns (bool)
transferOwnership(address newOwner
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
AccrueInterest(uint256 cashPrioruint256 interestAccumulateduint256 borrowIndexuint256 totalBorrowsuint256 totalReserves
Approval(address indexed owneraddress indexed spenderuint256 amount
Borrow(address borroweruint256 borrowAmountuint256 accountBorrowsuint256 totalBorrowsuint256 interestBalancePrior
Failure(uint256 erroruint256 infouint256 detail
LiquidateBorrow(address liquidatoraddress borroweruint256 repayAmountaddress pTokenCollateraluint256 seizeTokens
Mint(address minteruint256 mintAmountuint256 mintTokensuint256 totalSupplyuint256 accountTokens
NewComptroller(address oldComptrolleraddress newComptroller
NewMarketInterestRateModel(address oldInterestRateModeladdress newInterestRateModel
NewMigrator(address oldMigratoraddress newMigrator
NewMinInterestAccumulated(uint256 oldMinInterestAccumulateduint256 newMinInterestAccumulated
NewReserveFactor(uint256 oldReserveFactorMantissauint256 newReserveFactorMantissa
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Redeem(address redeemeruint256 redeemAmountuint256 redeemTokensuint256 totalSupplyuint256 accountTokens
RepayBorrow(address payeraddress borroweruint256 repayAmountuint256 accountBorrowsuint256 totalBorrowsuint256 interestBalancePrior
ReservesAdded(address benefactoruint256 addAmountuint256 newTotalReserves
ReservesReduced(address adminuint256 reduceAmountuint256 newTotalReserves
Transfer(address indexed fromaddress indexed touint256 amount
Constructor
constructor(address _logicaddress _adminbytes _data
Fallback and receive
fallback(
Errors

This contract contains no error objects.