Piranha

Verified contract

Active on Ethereum with 518 txns
Deployed by via 0xca92d3f2 at 5266052
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $80.07
0x1ed77c5cbcd7c33b1f7993f1da5bb10b3adf15f3d576aee86c71b8b62d9414a9
0x6680bbc8fb0283bf41ba59483198a1634bcc1f3f048cc6a4cb24c02dbd10a0a6
0x90ab362ca0413072e92cfab654fafebe5e3ef62171486c6e63e5c51382e6f59d
0xedde5e08351f3a4691ab2c63a9b5afff8eae1a95a411524c672cf64f275ae45e
0x80564723f4a377c08670cdba01c5ef1eb045b27ce1a622bfd31d3b03248a5627
0xaac178ff182d268567a2a9c9c3d68542243dd4ca7f891270856c3d237f373e1e
0x398b9cb62bf46fd6f66f5992acbb6067a6a1a0288f1fbe786e9f405b0ef69550
0x7f217f7381a67d81c86e096ef04914e0eb5c52ba18f71168303e1ed68f7f0ba3
0x73f840de29436c2144bb51ce39528f395e89bb0e2e9c2fb29c222f64a38ca86e
0x1e2451f2bf1e89b15d09003062ac29801dd364d946ae5f4eb1f495caa371caaf

Functions
Getter at block 21395603
NAME(view returns (string)
Piranha
SYMBOL(view returns (string)
PiranhaToken
contractOwner(view returns (address)
0x5221f6800e26946d847aa8d47755cf6363031c47
implementsERC721(pure returns (bool)
true
name(pure returns (string)
Piranha
symbol(pure returns (string)
PiranhaToken
totalSupply(view returns (uint256 total)
247
Read-only
allPiranhasInfo(uint256 _startPiranhaIdview returns (address[] ownersuint256[] sizesuint8[] hungryuint256[] prices)
balanceOf(address _ownerview returns (uint256 balance)
ownerOf(uint256 _tokenIdview returns (address owner)
piranhas(uint256view returns (string nameuint8 sizeuint256 genuint8 uniqueuint256 growthStartTimeuint256 sellPriceuint8 hungry)
State-modifying
bite(uint256 _tokenIduint256 _victimTokenIdpayable 
breeding(uint256 _maleTokenIduint256 _femaleTokenIdpayable 
buy(uint256 _tokenIdpayable 
changeBeedingCost(uint256 _newCost
changeBiteCost(uint256 _newCost
changePiranhaName(uint256 _tokenIdstring _namepayable 
contractWithdraw(
createPiranhaToken(string _nameaddress _owneruint256 _priceuint8 _sizeuint8 _hungry
hungry(uint256 _tokenId
notHungry(uint256 _tokenId
startSelling(uint256 _tokenIduint256 _price
stopSelling(uint256 _tokenId
transfer(address _touint256 _tokenId
transferContractOwnership(address _newOwner
Events
PiranhaCreated(uint256 tokenIdstring nameaddress owner
TokenSold(uint256 tokenIduint256 oldPriceuint256 newPriceaddress prevOwneraddress winnerstring name
Transfer(address fromaddress touint256 tokenId
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.