Battle

Verified contract

Active on Ethereum with 102 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Battle"

0xc2ae87838f962945762f3c2147059802103b9cfc30a56fd1349332a99af8067b
0x63f7d1f6e5b5e5a486a72918938d3edeb923c3a1d4cb245aeabffb251e1bb665
0xef815522ed413b82c87baff4a97382c4d6c2a2e77775ae9f0ac02694027d6691
From
0xed0a25197304e74b2841101114bc77ca39979e192c6e30c40ac6b51f5c23722f
From
0x51af7d56a85e7d5345a6541124ea7d3e286894114147ccb7883ae812f648ea23
0x339a8e87654bdc679d02edd1de10d76939ba119a964038a44e6e3f04fc259d1e
From
0xef30ea4ea3fa59ae4e1cb31a75bf4e34431d71d45127a44f2acb3d3a20d4d999
0xa23d59c5afbc1604e8c4204cf3fdad088cb89a67e11cf271396ddc14050c721f
From
0x2986f3614d4980816dcc47ed43402951c4572901acda8081a87d026e865a065c
0x6d2299db5b122fba5430d036617a870ec5cec097a9acdf75327a55dbbecc64a8

Functions
Getter at block 21385312
battleRewarder(view returns (address)
0x0000000000000000000000000000000000000000
minBattleDuration(view returns (uint256)
300
nextBattleId(view returns (uint256)
26
owner(view returns (address)
0x132d373145d72f4eb4859cd18f34d08c3d62c7a6
powerCalculator(view returns (address)
0xf75e4e2a49d7394f73a451baf6fadaf86b5a9195
weaponContractV1(view returns (address)
0x0ac0ecc6d249f1383c5c7c2ff4941bd56decdd14
weaponContractV2(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
battleIdToWarriorInfo(uint256addressview returns (uint256 poweruint256 side)
battleIdToWeaponEnlisted(uint256uint256view returns (bool)
idToBattleInfo(uint256view returns (uint256 defenderPoweruint256 attackerPoweruint256 durationuint256 endTimestampuint256 numWarriors)
State-modifying
changeMinBattleDuration(uint256 newDuration
enlist(uint256 battleIduint256 sideuint256 weaponId
renounceOwnership(
setBattleRewarder(address newRewarder
setPowerCalculator(address newCalculator
setV2ContractAddress(address newV2Contract
startBattle(uint256 durationreturns (uint256)
transferOwnership(address newOwner
Events
BattleRewarderChanged(address newRewarder
BattleStarted(uint256 indexed battleIduint256 durationuint256 endTimestamp
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PowerCalculatorChanged(address newCalculator
WarriorEnlisted(uint256 indexed battleIdaddress indexed warrioruint256 indexed weaponIduint256 sideuint256 power
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.