DegenFarm
Verified contract
Active on
Ethereum with 1,308 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
0xedd5…49fc
-
variable spans 19 additional slots
-
variable spans 4 additional slots
-
variable spans 19 additional slots
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
BAGZ | ERC-20 | 1.435K | -- | -- | |
0x1234…b38d | ERC-1555 | 24 | -- | -- | |
0x1234…b38d | ERC-1555 | 19 | -- | -- | |
0x1234…b38d | ERC-1555 | 19 | -- | -- | |
0x1234…b38d | ERC-1555 | 12 | -- | -- | |
0x1234…b38d | ERC-1555 | 5 | -- | -- | |
0x1234…b38d | ERC-1555 | 4 | -- | -- | |
CREAT | ERC-721 | 1 | -- | -- | |
CREAT | ERC-721 | 1 | -- | -- | |
CREAT | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16170976 | 2 years ago | | | 0 | 0.0055980200 | |
| 15660355 | 2 years ago | | | 0 | 0.0011597833 | |
| 15660355 | 2 years ago | | | 0 | 0.0011466266 | |
| 15248220 | 2 years ago | | | 0 | 0.00081917400 | |
| 14801128 | 3 years ago | | | 0 | 0.0011776577 | |
| 14801128 | 3 years ago | | | 0 | 0.0011776577 | |
| 14801119 | 3 years ago | | | 0 | 0.0010732239 | |
| 14801117 | 3 years ago | | | 0 | 0.00098775878 | |
| 14786319 | 3 years ago | | | 0 | 0.0010539211 | |
| 14786316 | 3 years ago | | | 0 | 0.0010823938 |
ABI
ABI objects
Getter at block 21425223
BONUS_POINTS_AMULET_HOLD() view returns (uint256)
10
CHAD_COUNT_IN_TYPE() view returns (uint16)
20
COMMON_AMULET_COUNT() view returns (uint256)
2
CREATURE_P_MULT() view returns (uint32)
230
CREATURE_TYPE_COUNT() view returns (uint8)
20
CREATURE_TYPE_COUNT_MAX() view returns (uint8)
20
FARMING_DURATION() view returns (uint256)
604800
FARMING_ENABLED() view returns (bool)
true
FARM_DUNG_AMOUNT() view returns (uint256)
250000000000000000000000000000000000
MAX_ALL_NORMIES() view returns (uint16)
2000
MAX_LANDS() view returns (uint16)
2500
NFT_ID_MULTIPLIER() view returns (uint256)
10000
NORMIE_COUNT_IN_TYPE() view returns (uint16)
100
REVEAL_ENABLED() view returns (bool)
true
TOOL_TYPE_COUNT() view returns (uint256)
6
TOOL_UNSTAKE_DELAY() view returns (uint256)
604800
allNormiesesLeft() view returns (uint16)
1111
eggs() view returns (address)
0xedd50bece1a87f7b3104633f2c10a1b20c5f49fc
farm() view returns (address land, address creatures, address inventory, address bagstoken, address dungtoken)
(land=0xe1d05ad0de9690cb553bde0705bccd1ee983f924, creatures=0xd227df494367a8b769b4bf2bbebd0388a8758741, inventory=0x123456c13537c42f713fb748fb086344b825b38d, bagstoken=0xbaba0d970e735c7e48bba07c1164c4e0449ae9b8, dungtoken=0xdada00a9c23390112d08a1377cc59f7d03d9df55)
landCount() view returns (uint16 total, uint16 left)
(total=2500, left=1954)
owner() view returns (address)
0x39b550e389f20ba42a76ec083f0de75b40531598
priceProvider() view returns (address)
0x3e7d6393ea108800e14a7a61ad961b80b13c5009
Read-only
COMMON_AMULETS(uint256) view returns (address)
amulets(uint256) view returns (address)
creaturesBorn(uint256) view returns (uint16 totalNormie, uint16 leftNormie, uint16 totalChad, uint16 leftChadToDiscover, uint16 totalDegen, uint16 leftDegenToDiscover, uint16 chadFarmAttempts, uint16 degenFarmAttempts)
farming(uint256) view returns (uint256 creatureId, uint256 landId, uint256 harvestTime, uint256 amuletsPrice1, uint256 amuletsPrice2, uint8 harvest, uint256 harvestId)
getCreatureAmulets(uint8 _creatureType) view returns (address)
getCreatureStat(uint8 _creatureType) view returns (uint16, uint16, uint16, uint16, uint16, uint16, uint16, uint16)
getFarmingAllowedCreatures(address _owner) view returns (uint256[])
getFarmingAllowedCreaturesWithRarity(address _owner, uint8 wantRarity) view returns (uint256[])
getFarmingById(uint256 _farmingId) view returns (struct DegenFarmBaseFarmRecord)
getOneAmuletPrice(address _token) view returns (uint256)
getUsersTokens(address _owner) view returns (uint256[])
getWeightedChoice(uint32[] _weights) view returns (uint8)
isFarmingAllowedForCreature(uint256 creatureId) view returns (bool)
maxAmuletBalances(address) view returns (uint256)
parents(uint256) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
userStakedTools(address, uint256) view returns (uint256)
State-modifying
Events addOperator(address _contract, address newOperator)
enableFarming(bool _isEnabled)
enableReveal(bool _isEnabled)
farmDeploy(uint256 _creatureId, uint256 _landId)
harvest(uint256 _deployId)
onERC1155BatchReceived(address operator, address from, uint256[] ids, uint256[] values, bytes data) returns (bytes4)
onERC1155Received(address operator, address from, uint256 id, uint256 value, bytes data) returns (bytes4)
reclaimToken(address _contract, address anyTokens, address _admin)
removeOperator(address _contract, address oldOperator)
renounceOwnership()
reveal(uint256 count)
setAmuletForOneCreature(uint8 _index, address _token)
setAmulets(address[] _tokens)
setOneCommonAmulet(uint8 _index, address _token)
setPriceProvider(address _priceProvider)
setSigner(address _contract, address _newSigner)
stakeOneTool(uint8 _itemId)
transferOwnership(address newOwner)
unstakeOneTool(uint8 _itemId)
Harvest(uint256 indexed _eggId, address farmer, uint8 result, uint256 baseChance, uint256 commonAmuletHold, uint256 amuletBullTrend, uint256 inventoryHold, uint256 amuletMaxBalance, uint256 resultChance)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Reveal(address _farmer, uint256 indexed _tokenId, bool _isCreature, uint8 _animalType)
Stake(address owner, uint8 innventory)
UnStake(address owner, uint8 innventory)
constructor(address _land, address _creatures, address _inventory, address _bagstoken, address _dungtoken, address _eggs)
This contract contains no fallback and receive objects.
This contract contains no error objects.