GameLogic
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Raw
Slot | Value |
---|---|
0x0000000000000000000000000000000000000000000000000000000000000000 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000001 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000002 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000003 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000004 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
Balances ($0.00)
No balances found for "GameLogic"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "GameLogic"
ABI
ABI objects
Getter at block 22933139
getAllStrainInfo() view returns (struct IGameStrain[])
[]
Read-only
getStatus(uint256 plant) view returns (uint8)
isApprovedFn(uint256 id, address wallet) view returns (bool)
isPlantAlive(uint256 _nftId) view returns (bool)
level(uint256 tokenId) view returns (uint256)
onAttack(uint256 fromId, uint256 toId) view returns (uint256 pct, uint256 odds, bool canAttack)
pendingEth(uint256 plantId) view returns (uint256)
statusToString(uint8 status) pure returns (string)
State-modifying
Events attack(uint256 fromId, uint256 toId)
kill(uint256 _deadId, uint256 _tokenId)
pass(uint256 from, uint256 to)
redeem(uint256 id)
setPlantName(uint256 _id, string _name)
Attack(uint256 attacker, uint256 winner, uint256 loser, uint256 scoresWon)
Killed(uint256 nftId, uint256 deadId, string loserName, uint256 reward, address killer, string winnerName)
Pass(uint256 from, uint256 to)
Played(uint256 indexed id, uint256 points, uint256 timeExtension)
PlayedV2(uint256 indexed id, int256 points, int256 timeExtension)
RedeemRewards(uint256 indexed id, uint256 reward)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.