AdminUpgradeabilityProxy

Verified contract

Proxy

Active on Ethereum with 98 txns
Deployed by via 0x5c5a5cb6 at 11737782
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
ERC-20
--
0x2ace65cd16f4070784be3efe325f0a2cd3296a7e8d91a49cc479c0e097b4de6d
0xd4c0b00d9f2fdb5c415503c14b6f5ff5019633a14854bb01ac1474e700e2e469
0x8b5a8e4461822ded875cf6218bea84103bd4007ee052ac266d8412e218e7e737
0x555a169b55b31c33af0034e8ea1758d829b53ca9c7b9f5b68714c1190a43b65c
0x403646c6bc34c09ff63dfdabb3c7cc4209afca226c58d7d51e179788c007ae45
0xfcd47b34097d5223c1df3616e52d0ef407b0dd9c4a79af54844ed4980e7e66f8
0x5a00843cb637161ca2727ed9cadf50e8fd71e3d68b88f448635ff31e7ecedf10
0xf5d05d154c181dd83dc9a585dfb48e537b792c23e0935a30c96d7e4649b89126
0x362c9eddd4aca971a80cf2a1a901460b5376266fb79d7d8c691c14077fa979e8
0xf9562214dc9e2e9f5d1a00f6fc863c2e7b8222034662ac6186a44228752959da

Functions
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 holderbool borrowersbool suppliersview returns (uint256)
wpcAccrued(addressview returns (uint256)
wpcBorrowState(addressview returns (uint224 indexuint32 block)
wpcBorrowerIndex(addressaddressview returns (uint256)
wpcSpeeds(addressview returns (uint256)
wpcSupplierIndex(addressaddressview returns (uint256)
wpcSupplyState(addressview returns (uint224 indexuint32 block)
State-modifying
admin(returns (address)
changeAdmin(address newAdmin
implementation(returns (address)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
_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 pTokenuint256 wpcSpeed
_stakeTokenToPiggyBreeder(address tokenuint256 pid
_transferToken(address tokenaddress touint256 amount
_transferWpc(address touint256 amount
claimWpc(address holder
claimWpc(address holderaddress[] pTokens
claimWpc(address[] holdersaddress[] pTokensbool borrowersbool suppliers
distributeBorrowWpc(address pTokenaddress borrowerbool distributeAll
distributeMintWpc(address pTokenaddress minterbool distributeAll
distributeRedeemWpc(address pTokenaddress redeemerbool distributeAll
distributeRepayBorrowWpc(address pTokenaddress borrowerbool distributeAll
distributeSeizeWpc(address pTokenCollateraladdress borroweraddress liquidatorbool distributeAll
distributeTransferWpc(address pTokenaddress srcaddress dstbool distributeAll
initialize(address _piggyaddress _piggyBreederaddress _comptroller
renounceOwnership(
transferOwnership(address newOwner
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
ClaimWpcFromPiggyBreeder(uint256 pid
DistributedBorrowerWpc(address indexed pTokenaddress indexed borroweruint256 wpcDeltauint256 wpcBorrowIndex
DistributedSupplierWpc(address indexed pTokenaddress indexed supplieruint256 wpcDeltauint256 wpcSupplyIndex
EnableState(string actionbool state
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
StakeTokenToPiggyBreeder(address tokenuint256 piduint256 amount
WpcSpeedUpdated(address indexed pTokenuint256 newSpeed
Constructor
constructor(address _logicaddress _adminbytes _data
Fallback and receive
fallback(
Errors

This contract contains no error objects.