PiggyDistribution
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
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
Balances ($0.00)
No balances found for "PiggyDistribution"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PiggyDistribution"
ABI
ABI objects
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 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 _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)
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)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.