BattleCore
Verified contract
Active on
Ethereum with 9,511 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x87d5…21a1
0x9288…e5b1
0xc6fb…9287
-
variable spans 6 additional slots
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
PRO | ERC-20 | 0.088889 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 13004319 | 3 years ago | | | 0 | 0.0019227733 | |
| 12990275 | 3 years ago | | | 0 | 0.012861812 | |
| 12990126 | 3 years ago | | | 0 | 0.016633831 | |
| 12989905 | 3 years ago | | | 0 | 0.0087159097 | |
| 12940534 | 3 years ago | | | 0 | 0.0051740150 | |
| 12921869 | 3 years ago | | | 0 | 0.010018400 | |
| 12919314 | 3 years ago | | | 0 | 0.0032522380 | |
| 12824530 | 3 years ago | | | 0 | 0.0010661001 | |
| 12824530 | 3 years ago | | | 0 | 0.0082793040 | |
| 12817655 | 3 years ago | | | 0 | 0.0038435542 |
ABI
ABI objects
Getter at block 21256426 getDeletedTeams() view returns (uint256[])
battleDecider() view returns (address)
0xc6fb27e980e75aae48fbc793f362e3cf87409287
battlesTillBattleCooldown() view returns (uint8)
5
experienceDelay() view returns (uint32)
21600
fighterCore() view returns (address)
0x87d598064c736dd0c712d329afcfaa0ccc1921a1
geneScience() view returns (address)
0x92882f859e7179d6625e91a09e7b6e856870e5b1
maxPerTeam() view returns (uint256)
5
newContractAddress() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x4e2eae6aba4e61eb16c2d7905a4747323ca7a504
paused() view returns (bool)
true
secondsPerBlock() view returns (uint256)
15
totalTeams() view returns (uint256)
41
Read-only
_getStrengthDexterityVitality(uint256 _race, uint256 _generation, uint256 _rand) view returns (uint256 strength, uint256 dexterity, uint256 vitality)
deletedTeamIds(uint256) view returns (uint256)
experienceToLevel(uint256 _experience) view returns (uint256)
extraStatsForGen(uint256) view returns (uint8)
fighterIndexToTeam(uint256) view returns (uint256)
genBaseStats(uint256) view returns (uint8)
genToExtraStats(uint256 _gen, uint256 _rand) view returns (uint8 extraStrength, uint8 extraDexterity, uint8 extraVitality)
genToLuck(uint256 _gen, uint256 _rand) pure returns (uint8)
getFighterArray(uint256[] _fighterIds) view returns (uint256[7][])
getRaceBaseStats(uint256 _id) view returns (uint256 strength, uint256 dexterity, uint256 vitality)
getTeam(uint256 _id) view returns (address owner, uint256[] fighterIds)
isValidTeam(uint256[] _fighterIds) view returns (bool)
prizeCooldowns(uint256) view returns (uint32)
raceBaseStats(uint256) view returns (uint8 strength, uint8 dexterity, uint8 vitality)
raceToBaseStats(uint256 _race) view returns (uint8 strength, uint8 dexterity, uint8 vitality)
stats(uint256) view returns (uint32)
teamExists(uint256 _teamId) view returns (bool)
teamIndexToExist(uint256) view returns (bool)
teams(uint256) view returns (address owner)
State-modifying
Events addRace(uint8 _strength, uint8 _dexterity, uint8 _vitality)
battle(uint256[] _attackerFighterIds, uint256 _defenderTeamId) returns (bool)
createTeam(uint256[] _fighterIds) returns (uint256)
deleteTeam(uint256 _teamId)
pause()
removeLastRace()
setBattleDeciderAddress(address _address)
setFighterCoreAddress(address _address)
setGeneScienceAddress(address _address)
setNewAddress(address _v2Address)
setSecondsPerBlock(uint256 _secs)
transferOwnership(address newOwner)
unpause()
BattleResult(address indexed winnerAddress, address indexed loserAddress, uint256[] attackerFighterIds, uint256[] defenderFighterIds, bool attackerWon, uint16 prizeFighterGeneration, uint256 prizeFighterGenes, uint32 attackerXpGained, uint32 defenderXpGained)
ContractUpgrade(address newContract)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Pause()
TeamCreated(uint256 indexed teamId, uint256[] fighterIds)
TeamDeleted(uint256 indexed teamId, uint256[] fighterIds)
Unpause()
constructor(address _coreAddress, address _geneScienceAddress, address _battleDeciderAddress)
fallback()
This contract contains no error objects.