Piranha

Verified contract

Active on Ethereum with 286 txns
Deployed by via 0xa93bd025 at 5260678
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $8.75
0x6c0f7f60bc372b7c3c5fc90465c5ff5b59db5d3414b3a8944874f6d24719111d
0xc1b67c2360ce5ee243cc8b83187aa9ac67b50754f874b11df498c744828bf2cf
0x1996661955acdc342219fd4cc83debd38a90249eb5f9790e37b91c5873b0f2fe
0x62ef01c4a8677deaba95bb34441a2ad85f884b446eb12121730a228dd9b6d14d
0xfea8423a55b1f6306d4a5b58753fd96292509e68e1e7b236737ec1b3fb5bf0f8
0x3b48ff30f193090617b95ba443244223d33e13f55c92ccf4ae51f07e41fac064
0xa002c88afb19d56733523d6f81db9f66d8463d805dddfbee6916601306183537
0xc976f8bd6e6bebc0cada008639d86299ac92869fc3c68faf0a0aff45add3bca9
0xd0dbfdc04f44be4233af575f53de7d95d996893fae94230324a5aad5a4503c2b
0x12e566d7e498660dcc34bec33aebf89d2d02398d0f9f063b69d1ab8f3bdf66df

Functions
Getter at block 21304418
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)
111
Read-only
allPiranhasInfo(uint256 _startPiranhaIdview returns (address[] ownersuint8[] 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
approve(address _touint256 _tokenId
bite(uint256 _tokenIduint256 _victimTokenIdpayable 
breeding(uint256 _maleTokenIduint256 _femaleTokenIdpayable 
buy(uint256 _tokenIdpayable 
changePiranhaName(uint256 _tokenIdstring _namepayable 
contractWithdraw(
createPiranhaTokens(
hungry(uint256 _tokenId
notHungry(uint256 _tokenId
startSelling(uint256 _tokenIduint256 _price
stopSelling(uint256 _tokenId
takeOwnership(uint256 _tokenId
transfer(address _touint256 _tokenId
transferContractOwnership(address _newOwner
transferFrom(address _fromaddress _touint256 _tokenId
Events
Approval(address indexed owneraddress indexed approveduint256 tokenId
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.