GameLogic

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xd08a1ba8 at 15073422
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000

No balances found for "GameLogic"

No transactions found for "GameLogic"


Functions
Getter at block 22933139
getAllStrainInfo(view returns (struct IGameStrain[])
[]
Read-only
getStatus(uint256 plantview returns (uint8)
isApprovedFn(uint256 idaddress walletview returns (bool)
isPlantAlive(uint256 _nftIdview returns (bool)
level(uint256 tokenIdview returns (uint256)
onAttack(uint256 fromIduint256 toIdview returns (uint256 pctuint256 oddsbool canAttack)
pendingEth(uint256 plantIdview returns (uint256)
statusToString(uint8 statuspure returns (string)
State-modifying
attack(uint256 fromIduint256 toId
kill(uint256 _deadIduint256 _tokenId
pass(uint256 fromuint256 to
redeem(uint256 id
setPlantName(uint256 _idstring _name
Events
Attack(uint256 attackeruint256 winneruint256 loseruint256 scoresWon
Killed(uint256 nftIduint256 deadIdstring loserNameuint256 rewardaddress killerstring winnerName
Pass(uint256 fromuint256 to
Played(uint256 indexed iduint256 pointsuint256 timeExtension
PlayedV2(uint256 indexed idint256 pointsint256 timeExtension
RedeemRewards(uint256 indexed iduint256 reward
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.