AdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 98 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
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
0x6f62…6746
0x4510…5454
0x0c8c…0f0b
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WPC | ERC-20 | 18.407423 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20781928 | a month ago | | | 0 | 0.0092051587 | |
| 20760658 | a month ago | | | 0 | 0.0013069835 | |
| 20760625 | a month ago | | | 0 | 0.0011040161 | |
| 20760617 | a month ago | | | 0 | 0.0013925725 | |
| 20747527 | 2 months ago | | | 0 | 0.0018144996 | |
| 20538827 | 2 months ago | | | 0 | 0.00080785760 | |
| 20179145 | 4 months ago | | | 0 | 0.0025484018 | |
| 20179135 | 4 months ago | | | 0 | 0.0038670168 | |
| 19629823 | 7 months ago | | | 0 | 0.010025177 | |
| 19629802 | 7 months ago | | | 0 | 0.010716359 |
ABI
ABI objects
Getter at block 21082977
comptroller() view returns (address)
0x0c8c1ab017c3c0c8a48dd9f1db2f59022d190f0b
enableDistributeBorrowWpc() view returns (bool)
true
enableDistributeMintWpc() view returns (bool)
true
enableDistributeRedeemWpc() view returns (bool)
true
enableDistributeRepayBorrowWpc() view returns (bool)
true
enableDistributeSeizeWpc() view returns (bool)
true
enableDistributeTransferWpc() view returns (bool)
true
enableWpcClaim() view returns (bool)
true
owner() view returns (address)
0x99c3d8ae617b8eae653633a70c6954a67e280c62
piggy() view returns (address)
0x6f620ec89b8479e97a6985792d0c64f237566746
piggyBreeder() view returns (address)
0x451032c55f813338b6e73c1c4b24217614165454
wpcClaimThreshold() view returns (uint256)
1000000000000000
wpcInitialIndex() view returns (uint224)
1000000000000000000000000000000000000
Read-only
pendingWpcAccrued(address holder, bool borrowers, bool suppliers) view returns (uint256)
wpcAccrued(address) view returns (uint256)
wpcBorrowState(address) view returns (uint224 index, uint32 block)
wpcBorrowerIndex(address, address) view returns (uint256)
wpcSpeeds(address) view returns (uint256)
wpcSupplierIndex(address, address) view returns (uint256)
wpcSupplyState(address) view returns (uint224 index, uint32 block)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
_claimWpcFromPiggyBreeder(uint256 pid)
_resetWpcSupplyState(address[] pTokens)
_setEnableAll(bool state)
_setEnableDistributeBorrowWpc(bool state)
_setEnableDistributeMintWpc(bool state)
_setEnableDistributeRedeemWpc(bool state)
_setEnableDistributeRepayBorrowWpc(bool state)
_setEnableDistributeSeizeWpc(bool state)
_setEnableDistributeTransferWpc(bool state)
_setEnableWpcClaim(bool state)
_setPiggy(address _piggy)
_setWpcSpeed(address pToken, uint256 wpcSpeed)
_stakeTokenToPiggyBreeder(address token, uint256 pid)
_transferToken(address token, address to, uint256 amount)
_transferWpc(address to, uint256 amount)
claimWpc(address holder)
claimWpc(address holder, address[] pTokens)
claimWpc(address[] holders, address[] pTokens, bool borrowers, bool suppliers)
distributeBorrowWpc(address pToken, address borrower, bool distributeAll)
distributeMintWpc(address pToken, address minter, bool distributeAll)
distributeRedeemWpc(address pToken, address redeemer, bool distributeAll)
distributeRepayBorrowWpc(address pToken, address borrower, bool distributeAll)
distributeSeizeWpc(address pTokenCollateral, address borrower, address liquidator, bool distributeAll)
distributeTransferWpc(address pToken, address src, address dst, bool distributeAll)
initialize(address _piggy, address _piggyBreeder, address _comptroller)
renounceOwnership()
transferOwnership(address newOwner)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
ClaimWpcFromPiggyBreeder(uint256 pid)
DistributedBorrowerWpc(address indexed pToken, address indexed borrower, uint256 wpcDelta, uint256 wpcBorrowIndex)
DistributedSupplierWpc(address indexed pToken, address indexed supplier, uint256 wpcDelta, uint256 wpcSupplyIndex)
EnableState(string action, bool state)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
StakeTokenToPiggyBreeder(address token, uint256 pid, uint256 amount)
WpcSpeedUpdated(address indexed pToken, uint256 newSpeed)
constructor(address _logic, address _admin, bytes _data)
fallback()
This contract contains no error objects.