Avastar

Verified contract

Active on Ethereum with 18,825 txns
Deployed by via 0xf650cbb2 at 9432995
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
7 additional variables
 (#4)
ERC-721
--
0x8a2583ad4bf00cbc92b13dde78f3437907cf11b1e9e13e9297565ad84efaabbc
From
0x195a7f0807ac6b24ab2f6dbe80ff6e4fd32258c64b4aaff0d7ec9bd9e9739b9a
0xc040f32a26fb13ab3aea4a95a0b91141e4fa83b54dc17f977bf39f718c24014f
0x932a06e182a4e120bd7d22da9e09b08f372f91cb91bf574c3ca3c12b21b59d36
0xd522a83ce1250adc91c545f5d0682bf259fce8cbc59a6c1ec23c6e763d628b28
0x7d7d9e5292a0937cb8c1fd1a8688db1dd61e3aaf219449aa16d897d012ae57e9
From
0x7fa939e74a972c024cbac5514d31e90eacd7047ef59a057641f3a62bf69e3d5c
0xa9f559407be599231c21645d363bc309123b84e6f8031cc6dbcbedc7a0e11dce
0x22f51b7fb93d07e4312c6fb1a2e11dab57dee3ee1e4e95d30c7992ec18ddd97b
0xc196f68308fb76bd3adfdb5d492c48ea7845bd605c89730a1c4e3f26595b068e

Functions
Getter at block 21163924
MAX_PRIMES_PER_SERIES(view returns (uint16)
5000
MAX_PROMO_PRIMES_PER_GENERATION(view returns (uint16)
200
MAX_REPLICANTS_PER_GENERATION(view returns (uint16)
25200
TOKEN_NAME(view returns (string)
Avastar
TOKEN_SYMBOL(view returns (string)
AVASTAR
getMetadataContractAddress(view returns (address contractAddress)
0xaccd4bf469711de6ca7d622c6e33357baacf39e7
isAvastarTeleporter(pure returns (bool)
true
name(view returns (string)
Avastar
newContractAddress(view returns (address)
0x0000000000000000000000000000000000000000
paused(view returns (bool)
false
symbol(view returns (string)
AVASTAR
totalSupply(view returns (uint256)
26617
upgraded(view returns (bool)
false
Read-only
attributionByGeneration(uint8view returns (uint8 generationstring artiststring infoURI)
balanceOf(address ownerview returns (uint256)
getApproved(uint256 tokenIdview returns (address)
getAttributionByGeneration(uint8 _generationview returns (string attribution)
getAvastarWaveByTokenId(uint256 _tokenIdview returns (uint8 wave)
getPrimeByGenerationAndSerial(uint8 _generationuint256 _serialview returns (uint256 tokenIduint256 serialuint256 traitsuint8 generationuint8 seriesuint8 genderuint8 ranking)
getPrimeByTokenId(uint256 _tokenIdview returns (uint256 tokenIduint256 serialuint256 traitsuint8 generationuint8 seriesuint8 genderuint8 ranking)
getPrimeReplicationByTokenId(uint256 _tokenIdview returns (uint256 tokenIdbool[12] replicated)
getReplicantByGenerationAndSerial(uint8 _generationuint256 _serialview returns (uint256 tokenIduint256 serialuint256 traitsuint8 generationuint8 genderuint8 ranking)
getReplicantByTokenId(uint256 _tokenIdview returns (uint256 tokenIduint256 serialuint256 traitsuint8 generationuint8 genderuint8 ranking)
getTraitArtById(uint256 _traitIdview returns (string art)
getTraitIdByGenerationGeneAndVariation(uint8 _generationuint8 _geneuint8 _variationview returns (uint256 traitId)
getTraitInfoById(uint256 _traitIdview returns (uint256 iduint8 generationuint8[] seriesuint8 genderuint8 geneuint8 rarityuint8 variationstring name)
getTraitNameById(uint256 _traitIdview returns (string name)
isApprovedForAll(address owneraddress operatorview returns (bool)
isHashUsedByGeneration(uint8uint256view returns (bool)
ownerOf(uint256 tokenIdview returns (address)
primeCountByGenAndSeries(uint8uint8view returns (uint16)
renderAvastar(uint256 _tokenIdview returns (string svg)
replicantCountByGeneration(uint8view returns (uint16)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenByIndex(uint256 indexview returns (uint256)
tokenIdByGenerationAndHash(uint8uint256view returns (uint256)
tokenIdByGenerationWaveAndSerial(uint8uint8uint256view returns (uint256)
tokenOfOwnerByIndex(address owneruint256 indexview returns (uint256)
tokenURI(uint256 _tokenIdview returns (string uri)
traitIdByGenerationGeneAndVariation(uint8uint8uint8view returns (uint256)
State-modifying
addMinter(address _minterAddress
addOwner(address _ownerAddress
addSysAdmin(address _sysAdminAddress
approve(address touint256 tokenId
approveTraitAccess(address _handleruint256[] _primeIds
createTrait(uint8 _generationuint8[] _seriesuint8 _genderuint8 _geneuint8 _rarityuint8 _variationstring _namestring _svgreturns (uint256 traitId)
extendTraitArt(uint256 _traitIdstring _svg
mintPrime(address _owneruint256 _traitsuint8 _generationuint8 _seriesuint8 _genderuint8 _rankingreturns (uint256 tokenIduint256 serial)
mintReplicant(address _owneruint256 _traitsuint8 _generationuint8 _genderuint8 _rankingreturns (uint256 tokenIduint256 serial)
pause(
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes _data
setApprovalForAll(address tobool approved
setAttribution(uint8 _generationstring _artiststring _infoURI
setMetadataContractAddress(address _address
stripRoles(address _address
transferFrom(address fromaddress touint256 tokenId
unpause(
upgradeContract(address _newAddress
useTraits(uint256 _primeIdbool[12] _traitFlags
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
AttributionSet(uint8 generationstring artiststring infoURI
ContractPaused(
ContractUnpaused(
ContractUpgrade(address newContract
MetadataContractAddressSet(address contractAddress
NewPrime(uint256 iduint256 serialuint8 generationuint8 seriesuint8 genderuint256 traits
NewReplicant(uint256 iduint256 serialuint8 generationuint8 genderuint256 traits
NewTrait(uint256 iduint8 generationuint8 geneuint8 rarityuint8 variationstring name
TraitAccessApproved(address indexed handleruint256[] primeIds
TraitArtExtended(uint256 id
TraitsUsed(address indexed handleruint256 primeIdbool[12] used
Transfer(address indexed fromaddress indexed touint256 indexed 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.