WePiggy LRC

Verified contract

Proxy

Active on Ethereum with 367 txns
Deployed by via 0xb423f16b at 12249539
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 $2,580.79
0x81f2808ccb768af997a94a23436cc10e179cf73b46b40022e57371dbe0200864
0x0fa47d409be09716e0661211e57ed353f0ea8279a1dcc6f7e8ad44639d21e761
0x081df052f576e91c9ce1611bb79fa77be3ad7e14b3009ae883208395f0559908
0x011c3a931b5c4902c64f1ac46d51a893e0d68c2a1ae5bdd11b06ecb13ee2c10a
0xe96e41344c03f648cd580a8e787591dcf69c7825645db9cb49a4b3141e4ff882
0xe7663c7eb896c5dff2e0400acab05d79cbef0c390fdb8791163e77516537e9b9
0x283f1a95638031633f3b451cb0bfe490fc24d69fb45e8c0f5aea82d9df00be31
0x741dd1a532e6a3478311b7fee920d5b36c2d7789bf7b144e88e3bde2eeae9799
0xbdc134d40bd755443e773001971c00eddd2111488ad072e004f6f8b86e2216a6
0x92e335f1749b7f006d2a2aa11d2f9344d3019a64703893b68ad96effefaff6b4

Functions
Getter at block 21205742
accrualBlockNumber(view returns (uint256)
20395681
 
accrueInterestSnapshot(view returns (uint256[])
borrowIndex(view returns (uint256)
1201760290182240199
 
borrowRatePerBlock(view returns (uint256)
comptroller(view returns (address)
0x0c8c1ab017c3c0c8a48dd9f1db2f59022d190f0b
decimals(view returns (uint8)
8
exchangeRateStored(view returns (uint256)
202134830025926935556472081
getCash(view returns (uint256)
15440954088042015432939
interestRateModel(view returns (address)
0x678c86dbd6965d65bf74b73d75b615a37428a87d
isPToken(view returns (bool)
true
migrator(view returns (address)
0x0000000000000000000000000000000000000000
minInterestAccumulated(view returns (uint256)
0
name(view returns (string)
WePiggy LRC
owner(view returns (address)
0x8114b3854d1e7b7f5f14896537c321e9062284ce
reserveFactorMantissa(view returns (uint256)
1000000000000000000
 
supplyRatePerBlock(view returns (uint256)
symbol(view returns (string)
pLRC
totalBorrows(view returns (uint256)
3737814328883406263
totalReserves(view returns (uint256)
4294827867108626316671
totalSupply(view returns (uint256)
55160528414782
underlying(view returns (address)
0xbbbbca6a901c926f240b89eacb641d8aec7aeafd
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.