PFXRewards

Verified contract

Active on Ethereum with 301 txns
Deployed by via 0xea202df7 at 20660532
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $500
 (#209)
ERC-721
--
 (#183)
ERC-721
--
 (#171)
ERC-721
--
 (#151)
ERC-721
--
 (#150)
ERC-721
--
 (#149)
ERC-721
--
 (#143)
ERC-721
--
 (#142)
ERC-721
--
 (#137)
ERC-721
--
0x9064be3e9d5c76b351d8e9fd0a54f82ee88ba2433c54fda1a9e97eea20ba5b93
0x82d3c94ef3b68fe6c3469657882fdc2f1cbdcc5a089827a0e9819be3bdee46bb
0xdd8c8b0c8c2b4ca5054eaad465a8dba952c024a808908521641f4c6f7671c68a
0x263df76d8b0c5813404fd57e3b775637bb5a6de51633110651391a7bd3889d94
0x619fe78c911f38cd09351f8c2e5c022f2c38853f3c44d485f0e65a5076f69fa6
0x9e421202d2c5d0223f7ab965dbaf5b9a00dc70b99ac66dd441d418f8d5eb1957
0x1689a197b19c589d8569ab0a1b45b9b22aec131aa9ca9777f0f35483320e2c7a
0xfcc3aed16f48cadc7b8837e6dacee716ea0940127569ede6da5b747041c23321
0x46c7047c7777027f520e35c3a441fd55941f71a1ac8fb36179d6f96f6228f444
0x21c4a4823ccc3238b37e2dd41e9c78b7d7b57f32aeca7fff2033d7bb37a60667

Functions
Getter at block 21421214
REWARD_PER_DAY(view returns (uint256)
3520000000000000000
claimCooldown(view returns (uint256)
300
decimals(view returns (uint8)
18
minPFXSwapAmount(view returns (uint256)
5000000000000000000
name(view returns (string)
PFXRewards
nft(view returns (address)
0x06f3cd903b46d74e4f14e5dac70505981fe17ed1
owner(view returns (address)
0x24ac82a60652e7932fe93773404b6f90b35b9c20
pfxSwapPrice(view returns (uint256)
1000000
symbol(view returns (string)
PFX
totalStaked(view returns (uint256)
14
totalSupply(view returns (uint256)
17236367147222221565764
usdtToken(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
balanceOfNFT(address accountview returns (uint256)
earningInfo(address accountuint256[] tokenIdsview returns (struct NFTStakingWithRewardsEarningInfo[])
onERC721Received(addressaddress fromuint256bytespure returns (bytes4)
tokensOfOwner(address accountview returns (uint256[] ownerTokens)
vault(uint256view returns (uint24 tokenIduint48 timestampaddress owneruint48 lastClaimeduint256 accumulatedRewards)
State-modifying
approve(address spenderuint256 valuereturns (bool)
burn(uint256 value
burnFrom(address accountuint256 value
burnTokensFromContract(uint256 value
claim(uint256[] tokenIds
renounceOwnership(
setClaimCoolDown(uint256 _claimCoolDown
setMinPFXSwapAmount(uint256 _minPFXSwapAmount
setPfxSwapPrice(uint256 _newPfxPrice
setRewardsPerDay(uint256 _rewardsPerDay
stake(uint256[] tokenIds
swapPFXForUSDT(uint256 pfxAmount
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
transferOwnership(address newOwner
unstake(uint256[] tokenIds
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Claimed(address owneruint256 amount
NFTStaked(address owneruint256 tokenIduint256 value
NFTUnstaked(address owneruint256 tokenIduint256 value
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Swapped(address indexed useruint256 pfxAmountuint256 usdtAmount
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(address _nftaddress _owneraddress _usdtTokenAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account