CompanionFarm

Verified contract

Active on Ethereum with 1,152 txns
Deployed by via 0xf9c91c47 at 13847565
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
 (#3736)
ERC-721
--
 (#3735)
ERC-721
--
 (#3734)
ERC-721
--
 (#3733)
ERC-721
--
 (#3732)
ERC-721
--
 (#3731)
ERC-721
--
 (#3730)
ERC-721
--
 (#3729)
ERC-721
--
 (#3728)
ERC-721
--
0x270e9e0df506fcedf3b4d60363402de07aed39ebc7897f5e2f769c7435b229be
0x8a48de18ec6f4ff2b428128d103f8fe7346dfdc4efd3d57faa4112f26122a9dd
From
0x402b4762f2e9fee80daeab124563ddc3f99f06f072652333a32ce48d099c90ab
0x6065b3075ca21aa0c74785f0221091264100aaf0de0b15a0ed27a6175735bb54
0x0facd66008630b2048febe43cb317f58e24ea4573d202be550ea39040c26ea30
0xc8f013de22e2bf5a751c6a5b304c2471d5318806cb4286709ba542d5a3e93f2a
0xb89cbd32bc61282940288a75397e452a715282efd64df25af7217577e455bef3
0xf989980be8167dfbb9c6f52aef7eb94b3f55bf7f4ae0098b6811f6a0f1770974
0xfd52448e190f1835108c08fb2ebfcfa09fc587c715af19fea2d3e20e1cc3be6f
0xbc9ce23fa3f0425b2cefdd81b5621dd3b202015e3b2cbd0d7de6d89a1340f37f

Functions
Getter at block 21440215
compboxAddress(view returns (address)
0x13bd2ac3779cbbcb2ac874c33f1145dd71ce41ee
compshipAddress(view returns (address)
0xb33a59958e216b8fc7e9d0ea7faf57de3d4f250b
expiration(view returns (uint256)
32525925494
owner(view returns (address)
0xe99f64ea8ef1b0072accb7ea00a6c7478c62f92c
paused(view returns (bool)
false
rewardRate(view returns (uint256)
2500000000000000
Read-only
_lastClaimBlocks(addressuint256view returns (uint256)
calculateReward(address accountuint256 tokenIdview returns (uint256)
calculateRewards(address accountuint256[] tokenIdsview returns (uint256[] rewards)
depositsOf(address accountview returns (uint256[])
onERC721Received(addressaddressuint256bytespure returns (bytes4)
State-modifying
claimRewards(uint256[] tokenIds
deposit(uint256[] tokenIds
pause(
renounceOwnership(
setExpiration(uint256 _expiration
setRate(uint256 _rewardRate
transferOwnership(address newOwner
unpause(
withdraw(uint256[] tokenIds
withdrawTokens(
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
Unpaused(address account
Constructor
constructor(address _compboxAddressaddress _compshipAddressuint256 _rewardRateuint256 _expiration
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.