Novatar

Verified contract

Active on Ethereum with 523 txns
Deployed by via 0xbfde667a at 15193419
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $317.9
0x89be8e0976edd9ab7674c5f540e711d1b7f1884ffbaccc43d585a89faf465c1b
0x418ba3290db286c3f3278c52af2f544555d331ab97a5ca4d385a50bb145dfe84
0x4fed947d49091c5e7063981ba7faecfd3013f21b1d5ed379d28ac0ae89ea4a48
0x3bd2465302e833b61e033638c9c3120668a63ba6f1a207f14702d1ccab975229
0x9cb85d0cbb38f6880b75058eeaa0f90548bfb6c0243ccb4d5c05e268dfae2fd8
0xbe4e478f24e9b4626e6333367fdab3bdf4914c75e0d2dd58a87d504425ba4e1b
0x56d572e36e04394949e0b4a37a0b972d261f244e8493c2126ed1508e34740c31
0x283ce3aace9d0aaa72559ca7a25417eb8adf56360d92bf9eeca25f1991e78341
0xa88a467ac37282f4b13c2feeecc33c629fc0044c3fa849102d3c6842e9f3f221
0xf4813790996827543c786b6c56d03ddaac217c3a61b8c97edbc35ba7ee55c0da

Functions
Getter at block 21160588
BAD_ADDRESS_ERROR(view returns (string)
AvatarToken: bad address
BAD_AMOUNT_ERROR(view returns (string)
AvatarToken: bad amount
BAD_CID_ERROR(view returns (string)
AvatarToken: bad CID
CEO_ROLE(view returns (bytes32)
0xdc0d7a095c4e917ecbeb7deda7c942ff9744013d419e37549215a413915e421d
CFO_ROLE(view returns (bytes32)
0x33fa24d9aab6b79237248a16094d5f78ea83bb51e42c123ce925a264e7d816cc
CID_SET_ERROR(view returns (string)
AvatarToken: CID is already set
COLLECTION_NOT_REVEALED_ERROR(view returns (string)
AvatarToken: the collection is not revealed
COLLECTION_REVEALED_ERROR(view returns (string)
AvatarToken: already revealed
COO_ROLE(view returns (bytes32)
0xefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b13969
GROW_UP_ADULT_ERROR(view returns (string)
AvatarToken: already adult
GROW_UP_OWNER_ERROR(view returns (string)
AvatarToken: caller is not owner
GROW_UP_TIME_ERROR(view returns (string)
AvatarToken: it is not time to grow up
NON_EXISTENT_TOKEN_ERROR(view returns (string)
AvatarToken: nonexistent token
NOT_ENOUGH_PRIVILEGES_ERROR(view returns (string)
AvatarToken: not enough privileges
SET_ADULT_IMAGE_ERROR(view returns (string)
AvatarToken: the avatar is not adult
SUPPLY_LIMIT_ERROR(view returns (string)
AvatarToken: total supply has exceeded
accessControlAddress(view returns (address)
0xa54102176c054a20dee3d4e772a7010ed641417d
avatarMarketAddress(view returns (address)
0x616a549dac470585d32a119649039f2e09c2098e
currentTokenCount(view returns (uint256)
14061
defaultAdultCID(view returns (string)
QmVZYfkX9K5C66bvvtDgE6iuP3yCdzh15GX7ohqq9UQXdN
defaultBabyURI(view returns (string)
ipfs://QmUiVLZBpayBkHyvQX9mvQWav4Ay28aXQ758KrWGHDqD28
growUpTime(view returns (uint256)
777600
name(view returns (string)
Novatar
paused(view returns (bool)
false
priceOfGrowingUp(view returns (uint256)
100000000000000000
symbol(view returns (string)
NVT
totalTokenSupply(view returns (uint256)
25000
Read-only
avatar(uint256 tokenIdview returns (struct AvatarInfoDetails)
balanceOf(address ownerview returns (uint256)
getApproved(uint256 tokenIdview returns (address)
hasAdultImage(uint256 tokenIdview returns (bool)
hasRole(bytes32 roleaddress accountview returns (bool)
isAdult(uint256 tokenIdview returns (bool)
isApprovedForAll(address owneraddress operatorview returns (bool)
ownerOf(uint256 tokenIdview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenURI(uint256 tokenIdview returns (string)
State-modifying
approve(address touint256 tokenId
growUp(uint256 tokenIdpayable 
mint(address toreturns (uint256)
pause(
revealBabyAvatars(string baseUri
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes _data
setAccessControlAddress(address newAddress
setAdultImage(uint256 tokenIdstring cid
setApprovalForAll(address operatorbool approved
setAvatarMarketAddress(address newAddress
setBaseURI(string newBaseUri
setDefaultAdultCID(string newDefaultCid
setDefaultBabyURI(string newDefaultUri
setGrowUpTime(uint256 newValue
setPriceOfGrowingUp(uint256 newValue
transferFrom(address fromaddress touint256 tokenId
unpause(
withdrawEthers(uint256 amountaddress to
Events
AddressChanged(string fieldNameaddress previousAddressaddress newAddress
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
AvatarCreated(address indexed operatoraddress indexed touint256 tokenId
AvatarGrown(address indexed operatoruint256 tokenId
BoolValueChanged(string fieldNamebool previousValuebool newValue
EthersWithdrawn(address operatoraddress indexed touint256 amount
Paused(address account
Revealed(address indexed operatorstring baseUri
SetAdultImage(address indexed operatoruint256 tokenId
StringValueChanged(string fieldNamestring previousValuestring newValue
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Unpaused(address account
ValueChanged(string fieldNameuint256 previousValueuint256 newValue
Constructor
constructor(uint256 totalSupplystring defaultBabyUristring defaultAdultCiduint256 gtuint256 priceaddress accessControl
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.