Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x0ac0…dd14
0xf75e…9195
Balances ($0.00)
No balances found for "Battle"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 13192127 | 3 years ago | | | 0 | 0.0096886395 | |
| 13180679 | 3 years ago | | | 0 | 0.0088021441 | |
| 13178023 | 3 years ago | | | 0 | 0.0050504625 | |
| 13177887 | 3 years ago | | | 0 | 0.0061124220 | |
| 13177698 | 3 years ago | | | 0 | 0.0091923102 | |
| 13176141 | 3 years ago | | | 0 | 0.0067419876 | |
| 13176028 | 3 years ago | | | 0 | 0.015690456 | |
| 13176024 | 3 years ago | | | 0 | 0.010467043 | |
| 13175809 | 3 years ago | | | 0 | 0.0083275029 | |
| 13175809 | 3 years ago | | | 0 | 0.0083280447 |
ABI
ABI objects
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(uint256, address) view returns (uint256 power, uint256 side)
battleIdToWeaponEnlisted(uint256, uint256) view returns (bool)
idToBattleInfo(uint256) view returns (uint256 defenderPower, uint256 attackerPower, uint256 duration, uint256 endTimestamp, uint256 numWarriors)
State-modifying
Events changeMinBattleDuration(uint256 newDuration)
enlist(uint256 battleId, uint256 side, uint256 weaponId)
renounceOwnership()
setBattleRewarder(address newRewarder)
setPowerCalculator(address newCalculator)
setV2ContractAddress(address newV2Contract)
startBattle(uint256 duration) returns (uint256)
transferOwnership(address newOwner)
BattleRewarderChanged(address newRewarder)
BattleStarted(uint256 indexed battleId, uint256 duration, uint256 endTimestamp)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PowerCalculatorChanged(address newCalculator)
WarriorEnlisted(uint256 indexed battleId, address indexed warrior, uint256 indexed weaponId, uint256 side, uint256 power)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.