Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xe97b…53d9
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
GOO | ERC-20 | 168.45K | -- | -- | |
MYOU | ERC-20 | 0.1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20551435 | 3 months ago | | | 0 | 0.000088264430 | |
| 20551416 | 3 months ago | | | 0 | 0.000094166438 | |
| 20551126 | 3 months ago | | | 0 | 0.000092785939 | |
| 20551114 | 3 months ago | | | 0 | 0.00010781624 | |
| 13860877 | 3 years ago | | | 0 | 0.0044016809 | |
| 11855801 | 4 years ago | | | 0 | 0.0085247400 | |
| 11855801 | 4 years ago | | | 0 | 0.016766820 | |
| 11792185 | 4 years ago | | | 0 | 0.0093070809 | |
| 11787419 | 4 years ago | | | 0 | 0.014575452 | |
| 11787117 | 4 years ago | | | 0 | 0.0093739721 |
ABI
ABI objects
Getter at block 21163199
This contract contains no getter function objects.
Read-only
getUnitsCurrentProduction(address player, uint256 unitId) view returns (uint256)
unitExp(address, uint256) view returns (uint224 experience, uint32 level)
unitList(uint256) view returns (uint256 unitId, uint224 gooCost, uint256 baseProduction, uint80 attack, uint80 defense, uint80 looting)
unitsOwned(address, uint256) view returns (uint80 units, uint8 factoryBuiltFlag)
upgradeList(uint256) view returns (uint256 upgradeId, uint224 gooCost, uint256 unitId, uint256 column, uint256 prerequisiteUpgrade, uint256 unitMaxCapacityGain, uint32 prodIncrease, uint32 prodMultiplier, uint32 attackIncrease, uint32 attackMultiplier, uint32 defenseIncrease, uint32 defenseMultiplier, uint32 lootingIncrease, uint32 lootingMultiplier)
upgradesOwned(address, uint256) view returns (uint64 column0, uint64 column1, uint64 column2)
State-modifying
Events addUnit(uint256 id, uint224 baseGooCost, uint256 baseGooProduction, uint80 baseAttack, uint80 baseDefense, uint80 baseLooting)
addUpgrade(uint256 id, uint224 gooCost, uint256 unit, uint256 column, uint256 prereq, uint256 unitMaxCapacityGain, uint32[8] upgradeGains)
buyUnit(uint256 unitId, uint80 amount, uint8 position)
buyUpgrade(uint64 upgradeId)
decreaseUnitCapacity(address player, uint256 upgradeGain, uint256 unitId)
decreaseUpgradesExternal(address player, uint256 unitId, uint32 prodIncrease, uint32 prodMultiplier, uint32 attackIncrease, uint32 attackMultiplier, uint32 defenseIncrease, uint32 defenseMultiplier, uint32 lootingIncrease, uint32 lootingMultiplier)
deleteUnitExternal(uint80 amount, uint256 unit, address player)
grantArmyExp(address player, uint256 unitId, uint224 amount) returns (bool)
increaseUnitCapacity(address player, uint256 upgradeGain, uint256 unitId)
increaseUpgradesExternal(address player, uint256 unitId, uint32 prodIncrease, uint32 prodMultiplier, uint32 attackIncrease, uint32 attackMultiplier, uint32 defenseIncrease, uint32 defenseMultiplier, uint32 lootingIncrease, uint32 lootingMultiplier)
mintUnitExternal(uint256 unit, uint80 amount, address player, uint8 chosenPosition)
sellUnit(uint256 unitId, uint80 amount)
setArmy(address armyContract)
setClans(address clansContract)
setOperator(address gameContract, bool isOperator)
swapUpgradesExternal(address player, uint256 unitId, uint32[8] upgradeGains, uint32[8] upgradeLosses)
This contract contains no event objects.
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.