PiggyDistribution

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xf6d8e415 at 13682370
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

No balances found for "PiggyDistribution"

No transactions found for "PiggyDistribution"


Functions
Getter at block 21082977
comptroller(view returns (address)
0x0000000000000000000000000000000000000000
enableDistributeBorrowWpc(view returns (bool)
false
enableDistributeMintWpc(view returns (bool)
false
enableDistributeRedeemWpc(view returns (bool)
false
enableDistributeRepayBorrowWpc(view returns (bool)
false
enableDistributeSeizeWpc(view returns (bool)
false
enableDistributeTransferWpc(view returns (bool)
false
enableWpcClaim(view returns (bool)
false
owner(view returns (address)
0x0000000000000000000000000000000000000000
piggy(view returns (address)
0x0000000000000000000000000000000000000000
piggyBreeder(view returns (address)
0x0000000000000000000000000000000000000000
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
_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
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

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.