CryptoChamps

Verified contract

Active on Ethereum with 1,059 txns
Deployed by via 0x64a9c987 at 5232027
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
0x0b856f47e2c782e0738c25974f047d18d0d588398e94549d11910af003ac34af
0x94cc359c254837877ef2318e3ac4ab7e1e02fdc73f94b157d8b003d8e55dfe90
0x3ce80c7ca8dcb90ef054ec977433d352abf9061d23d73763b8f58325c2eaeaaf
0x64d792a3a0b2733fdee4715192413ff80bc7148f20a10f46a1cf0b27970a39cd
0x4f8d5895e23f00ea4f69564578850354142809710e27ec178f53e8a6e1eb293f
0x5c827d2aa51e05f7a35800014016646972e4b7e1d24821cd8eee745027eb7473
0x4c802f9c426f7016ca50b3be09c500889b798c88dade6063b890d8ef318fa6e4
0x740b3528de1d08a324c096b866c2b855e30aaa7b3180d3a00208e8fb8e1188ab
0x041801d82755ce82cd9711bc8863c63ae2f7f11cd01619c04ee7f0a9d6421ed3
0x79d80e74a43ed213db3c02bd5992d2499c1ba77dfa21fa246065912f81a692d9

Functions
Getter at block 21425222
 
getStore(view returns (address)
 
getUsers(view returns (address[])
name(view returns (string)
CryptoChamps
owner(view returns (address)
0x765428b437e313c48521609a9e6f5d873fab638a
symbol(view returns (string)
CCH
totalSupply(view returns (uint256)
121
Read-only
balanceOf(address _ownerview returns (uint256)
getPerson(uint32 _idview returns (stringuint256uint256)
ownerOf(uint32 _idview returns (address)
personToOldPrice(uint32view returns (uint256)
personToPrice(uint32view returns (uint256)
priceOf(uint32 _idview returns (uint256)
State-modifying
createPerson(uint32 _idstring _nameuint256 _startingPrice
discount(uint32 _iduint256 _newPricereturns (bool)
purchase(uint32 _idpayable 
setStore(address _storereturns (bool)
transfer(address _touint32 _id
transferOwnership(address newOwner
withdraw(returns (bool)
Events
Birth(uint32 _iduint256 _startingPrice
Discount(uint32 _iduint256 _newPrice
Purchase(uint32 indexed _idaddress indexed _byaddress indexed _fromuint256 _priceuint256 _nextPrice
Transfer(address indexed _fromaddress indexed _touint32 _id
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.