Dark Forest Avatars

Verified contract

Proxy

Active on Ethereum with 376 txns
Deployed by via 0x9fed5f4b at 15653866
Slot
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 43 additional slots
-
variable spans 5 additional slots
-
variable spans 2 additional slots
Native
Value $409.06
0x0ee46f780c163d2ee06334b649339614f4d774ab4717f6218a6a68f182ac38c0
0x979e84739ff28d76b4207bf790fe0c5aaa3f601f50567c19aa02cd5b132ed05d
0x6966431a780ff6fe4668057c02b243d82e1096ad107ad4735593b2f81d751885
0xd2177045564d33716586cc9d138c79a2541ac030509aba30f00dccb6f9c06294
0x0aae72fff11febcef9dc164803cec2c2ac710ff0adef1865fb7bb2fa5c0561cb
0xb94d934977e9731d3f9b82bcb2e66e4c15ca6fe2112c84da68718fd88de37c0e
0x932927470c59e98796276f4a868eb5239a991357f5194316be522686706844b8
0xec649f1cfd72939bb130a414b9c4dfde580cd51717096e5bbf5bb5f5ce3c059d
0x8d96fc268e6122d300a2ff8610fd3dbe2b3e48836e9182a1f580b82a30db2fab
0x17ab0d02583aea8fe465e12fe891906bc1ef617fd923771c670f248f4ad69243

Functions
Getter at block 21177214
name(view returns (string)
Dark Forest Avatars
owner(view returns (address)
0x31ae2c2caec2bc9211cc6e55d73dc3e874babdbb
symbol(view returns (string)
DFA
Read-only
avatars(uint256view returns (uint256 iduint8 statusuint8 xp)
balanceOf(address ownerview returns (uint256)
getApproved(uint256 tokenIdview returns (address)
getOwnedAvatars(address tokenOwnerview returns (uint256[])
isApprovedForAll(address owneraddress operatorview returns (bool)
ownerOf(uint256 tokenIdview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenURI(uint256 idview returns (string)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
allowListMint(bytes32[] merkleProofuint8 amountpayable 
approve(address touint256 tokenId
attack(uint256 attackeruint256 victim
editSlot0(string baseURIuint8 xpToLevelUpuint256 mintPriceuint256 revivePriceuint256 maxAvatars
editSlot1(uint8 maxAmountToMintbytes32 allowListbool isAllowlistMintablebool isPublicMintable
initialize(
publicMint(uint8 amountpayable 
revive(uint256 recipientpayable 
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes data
setApprovalForAll(address operatorbool approved
setOwner(address newOwner
transferFrom(address fromaddress touint256 tokenId
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
BattleWon(uint256 winningAvataruint256 losingAvataraddress winneraddress loser
Initialized(uint8 version
Revived(uint256 revivedAvataraddress reviver
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.