Proxy
Verified contract
Proxy
Active on
Ethereum with 2,325 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
HEROES | ERC-721 | 1 | -- | -- | |
HEROES | ERC-721 | 1 | -- | -- | |
HEROES | ERC-721 | 1 | -- | -- | |
HEROES | ERC-721 | 1 | -- | -- | |
HEROES | ERC-721 | 1 | -- | -- | |
HEROES | ERC-721 | 1 | -- | -- | |
HEROES | ERC-721 | 1 | -- | -- | |
HEROES | ERC-721 | 1 | -- | -- | |
HEROES | ERC-721 | 1 | -- | -- | |
HEROES | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15312155 | 2 years ago | | | 0 | 0.00042511075 | |
| 15312152 | 2 years ago | | | 0 | 0.00085012440 | |
| 15312141 | 2 years ago | | | 0 | 0.00063378846 | |
| 15311676 | 2 years ago | | | 0 | 0.0026225478 | |
| 15311666 | 2 years ago | | | 0 | 0.00072355587 | |
| 15311624 | 2 years ago | | | 0 | 0.0035734568 | |
| 15311623 | 2 years ago | | | 0 | 0.0039324524 | |
| 15311606 | 2 years ago | | | 0 | 0.00083182714 | |
| 15311592 | 2 years ago | | | 0 | 0.00066950544 | |
| 15311582 | 2 years ago | | | 0 | 0.00030623620 |
ABI
ABI objects
Getter at block 21303713
implementation() view returns (address impl)
0x998249a2ba7ef86a6bfa00254c2e59a331a072a4
currentBoss() view returns (uint256)
11
precision() view returns (uint256)
1000000000000
Read-only
bosses(uint256) view returns (bytes8 stats, uint16 topScorers, uint56 highestScore, uint56 entries, uint56 winIndex)
fights(bytes32) view returns (uint16 heroId, uint16 boss, bytes10 items, uint32 start, uint32 count, bool claimedScore, bool claimedBoss)
getFightId(uint256 hero_, uint256 boss_, bytes10 items_, address owner_) pure returns (bytes32 id)
getScore(bytes32 fightId, address player) view returns (uint256 score)
heroes(uint256) view returns (address owner, uint16 lastBoss, uint32 highestScore)
prizeTokens(uint256) view returns (address)
prizeValues(uint256) view returns (uint256)
requests(uint256) view returns (uint256)
State-modifying
Events setAdmin(address newAdmin)
setImplementation(address newImpl)
addBoss(address prizeToken, uint256 halfPrize, uint256 hp_, uint256 atk_, uint256 mgk_, uint256 mod_, uint256 element_)
fight(uint256 heroId, bytes10 items) returns (bytes32 fightId)
getBossDrop(uint256 heroId_, uint256 boss_, bytes10 items_) returns (uint256 bossItemId)
getPrize(uint256 heroId_, uint256 boss_, bytes10 items_)
getRafflePrize(uint256 heroId_, uint256 boss_, bytes10 items_)
initialize(address heroes_, address items_)
manageHero(uint256[] toStake, uint256[] toUnstake)
moveBoss()
rawFulfillRandomWords(uint256 requestId, uint256[] randomWords)
requestRaffleResult(uint256 boss_)
setUpOracle(address vrf_, bytes32 keyHash, uint64 subscriptionId)
stake(uint256 heroId)
unstake(uint256 heroId)
FightResult(address sender, uint256 hero, uint256 boss, bytes10 items, uint256 score, bytes32 id)
constructor(address impl)
fallback()
receive()
This contract contains no error objects.