TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 4,969 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
0x9939…1d9c
0x9578…0750
0x6706…accc
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Creatures | ERC-721 | 1 | -- | -- | |
Creatures | ERC-721 | 1 | -- | -- | |
Creatures | ERC-721 | 1 | -- | -- | |
Creatures | ERC-721 | 1 | -- | -- | |
Creatures | ERC-721 | 1 | -- | -- | |
Creatures | ERC-721 | 1 | -- | -- | |
Creatures | ERC-721 | 1 | -- | -- | |
Creatures | ERC-721 | 1 | -- | -- | |
Creatures | ERC-721 | 1 | -- | -- | |
Creatures | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21183339 | a day ago | | | 0 | 0.0022012005 | |
| 21182119 | 2 days ago | | | 0 | 0.0023434306 | |
| 21180517 | 2 days ago | | | 0 | 0.0055668513 | |
| 20933480 | a month ago | | | 0 | 0.0011784905 | |
| 20911682 | a month ago | | | 0 | 0.00044464423 | |
| 20853739 | 2 months ago | | | 0 | 0.00013624516 | |
| 20713382 | 2 months ago | | | 0 | 0.0012696402 | |
| 20600256 | 3 months ago | | | 0 | 0.00026866696 | |
| 20600217 | 3 months ago | | | 0 | 0.00014687373 | |
| 20505179 | 3 months ago | | | 0 | 0.00023756760 |
ABI
ABI objects
Getter at block 21193818
SECONDS_IN_DAY() view returns (uint32)
86400
creatureRewardPerDay() view returns (uint256)
15
creatureToken() view returns (address)
0x67062888a7c4d7acac8d4ee82920aa1e0189accc
owner() view returns (address)
0x88b4d85d76178b8ba6e3fa614dc598d2a6078c2b
paused() view returns (bool)
false
rewardsToken() view returns (address)
0x99394f6193c749674ff442763c6cdb27f0aa1d9c
swamperRewardPerDay() view returns (uint256)
10
swamperToken() view returns (address)
0x95784f7b5c8849b0104eaf5d13d6341d8cc40750
Read-only
balanceOf(address owner) view returns (uint256)
pending(address account) view returns (uint256)
stakedCreatures(uint256) view returns (address)
stakedCreaturesByOwner(address account) view returns (uint256[])
stakedSwampers(uint256) view returns (address)
stakedSwampersByOwner(address account) view returns (uint256[])
userInfo(address) view returns (uint256 stakedCreatureCount, uint256 stakedSwamperCount, uint256 pendingRewards, uint256 lastUpdate)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addController(address controller)
getReward()
initialize(address _swamperToken, address _creatureToken, address _rewardsToken, uint256 _swamperRewardPerDay, uint256 _creatureRewardPerDay)
onERC721Received(address, address, uint256, bytes) returns (bytes4)
pause()
removeController(address controller)
renounceOwnership()
setAddresses(uint8 _mode, address _address)
setRewards(uint8 _mode, uint256 _amount)
stakeCreatures(uint256[] tokenIds)
stakeSwampers(uint256[] tokenIds)
transferOwnership(address newOwner)
unpause()
withdrawCreatures(uint256[] tokenIds)
withdrawSwampers(uint256[] tokenIds)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
RewardPaid(address indexed user, uint256 reward)
Staked(address indexed user, uint256 amount, uint256[] tokenIds, uint256 nftType)
Unpaused(address account)
Withdrawn(address indexed user, uint256 amount, uint256[] tokenIds, uint256 nftType)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
This contract contains no error objects.