Dark Forest Avatars
Verified contract
Proxy
Active on
Ethereum with 376 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 49 additional slots
-
variable spans 49 additional slots
-
variable spans 43 additional slots
-
variable spans 5 additional slots
-
variable spans 2 additional slots
Balances ($409.06)
Native
Value
$409.06
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.13 | $3,146.65 |
$409.06 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19916555 | 6 months ago | | | 0 | 0.00029409281 | |
| 17273498 | a year ago | | | 0 | 0.0034733573 | |
| 15984318 | 2 years ago | | | 0 | 0.00089331174 | |
| 15984134 | 2 years ago | | | 0.001 | 0.0014157998 | |
| 15984131 | 2 years ago | | | 0 | 0.0014581370 | |
| 15984072 | 2 years ago | | | 0.01 | 0.0032094809 | |
| 15984051 | 2 years ago | | | 0.01 | 0.0044845324 | |
| 15831565 | 2 years ago | | | 0 | 0.00038353573 | |
| 15793089 | 2 years ago | | | 0 | 0.0011109726 | |
| 15793086 | 2 years ago | | | 0.001 | 0.0010623782 |
ABI
ABI objects
Getter at block 21177214
name() view returns (string)
Dark Forest Avatars
owner() view returns (address)
0x31ae2c2caec2bc9211cc6e55d73dc3e874babdbb
symbol() view returns (string)
DFA
Read-only
avatars(uint256) view returns (uint256 id, uint8 status, uint8 xp)
balanceOf(address owner) view returns (uint256)
getApproved(uint256 tokenId) view returns (address)
getOwnedAvatars(address tokenOwner) view returns (uint256[])
isApprovedForAll(address owner, address operator) view returns (bool)
ownerOf(uint256 tokenId) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenURI(uint256 id) view returns (string)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
allowListMint(bytes32[] merkleProof, uint8 amount) payable
approve(address to, uint256 tokenId)
attack(uint256 attacker, uint256 victim)
editSlot0(string baseURI, uint8 xpToLevelUp, uint256 mintPrice, uint256 revivePrice, uint256 maxAvatars)
editSlot1(uint8 maxAmountToMint, bytes32 allowList, bool isAllowlistMintable, bool isPublicMintable)
initialize()
publicMint(uint8 amount) payable
revive(uint256 recipient) payable
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes data)
setApprovalForAll(address operator, bool approved)
setOwner(address newOwner)
transferFrom(address from, address to, uint256 tokenId)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
BattleWon(uint256 winningAvatar, uint256 losingAvatar, address winner, address loser)
Initialized(uint8 version)
Revived(uint256 revivedAvatar, address reviver)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
This contract contains no error objects.