VNFT

Verified contract

Active on Ethereum with 61,237 txns
Deployed by via 0x31beaeb7 at 11023280
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
12 additional variables
ERC-20
Value $0.14
ERC-20
--
 (#48)
ERC-1555
--
 (#10)
ERC-1555
--
 (#33)
ERC-1555
--
 (#1)
ERC-1555
--
 (#32)
ERC-1555
--
 (#37)
ERC-1555
--
 (#31)
ERC-1555
--
 (#27)
ERC-1555
--
0x21c5a5ddea4587dd4ef72ff81d610e3764d7913503b760ce437e1bffd60894e9
0xd6af6a98b79b1cfe7fafb0fbb6371240d8662364fc4b80f8940664f9d9a1e913
0xe3ee005a1155867c6e8631cf90176867bc9fe7fd74420ff135a30b99bd9c309e
0x40af95e2b6766582b5fdcc607e0448e09355e3d7711bc2daf65b800a97b878ab
0x2871015ad73a9bd6e18e243244fa75d018139bb20dcd74e18b6003d610dcbd11
0x43a0b299ea11ec83c7efa9ae193c5471eca8742b801b237e2256fdd20612e600
0x8ad218482d7ec3c7faeb8d829c8e83e130b22b089e6b9ad807927b9e92f2e686
0x726acdbce30cc96357fc114dfe912ef65006d2e720b1e95b94f0929ac1572db4
0x1b60f9c4f5b0f5a1f83ce2beb500cd16d577dae30d4fd67bd43078b2b8159e31
0x57bb193017bb84398a6410bc8a6f10aba15fc6cdbbf3b735e1a9006b2e47e8c1

Functions
Getter at block 21288152
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
OPERATOR_ROLE(view returns (bytes32)
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
PAUSER_ROLE(view returns (bytes32)
0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a
baseURI(view returns (string)
https://gallery.verynifty.io/api/
burnPercentage(view returns (uint256)
90
contractURI(pure returns (string)
https://gallery.verynifty.io/api
devAllocation(view returns (uint256)
49827150000000000000000
gameStopped(view returns (bool)
false
giveLifePrice(view returns (uint256)
200000000000000000000
maxDevAllocation(view returns (uint256)
100000000000000000000000
muse(view returns (address)
0xb6ca7399b4f9ca56fc27cbff44f4d2e4eef1fc81
name(view returns (string)
VNFT
owner(view returns (address)
0x4b5922abf25858d012d12bb1184e5d3d0b6d6be4
paused(view returns (bool)
false
supportedNftLength(view returns (uint256)
6
symbol(view returns (string)
VNFT
totalSupply(view returns (uint256)
545
Read-only
balanceOf(address ownerview returns (uint256)
careTaker(uint256addressview returns (address)
getApproved(uint256 tokenIdview returns (address)
getFatalityReward(uint256 _deadIdview returns (uint256)
getItemInfo(uint256 _itemIdview returns (string _nameuint256 _priceuint256 _pointsuint256 _timeExtension)
getRewards(uint256 tokenIdview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getVnftInfo(uint256 _nftIdview returns (uint256 _vNFTbool _isAliveuint256 _scoreuint256 _leveluint256 _expectedRewarduint256 _timeUntilStarvinguint256 _lastTimeMineduint256 _timeVnftBornaddress _owneraddress _tokenuint256 _tokenIduint256 _fatalityReward)
getVnftScore(uint256 _nftIdview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address owneraddress operatorview returns (bool)
isVnftAlive(uint256 _nftIdview returns (bool)
itemExists(uint256 itemIdview returns (bool)
itemName(uint256view returns (string)
itemPoints(uint256view returns (uint256)
itemPrice(uint256view returns (uint256)
itemTimeExtension(uint256view returns (uint256)
lastTimeMined(uint256view returns (uint256)
level(uint256 tokenIdview returns (uint256)
ownerOf(uint256 tokenIdview returns (address)
supportedNfts(uint256view returns (address tokenbool activeuint256 standard)
supportsInterface(bytes4 interfaceIdview returns (bool)
timeUntilStarving(uint256view returns (uint256)
timeVnftBorn(uint256view returns (uint256)
tokenByIndex(uint256 indexview returns (uint256)
tokenOfOwnerByIndex(address owneruint256 indexview returns (uint256)
tokenURI(uint256 tokenIdview returns (string)
vnftDetails(uint256view returns (address tokenuint256 iduint256 standard)
vnftScore(uint256view returns (uint256)
State-modifying
addCareTaker(uint256 _tokenIdaddress _careTaker
addNft(address _nftTokenuint256 _type
approve(address touint256 tokenId
burn(uint256 tokenId
buyAccesory(uint256 nftIduint256 itemId
changeBurnPercentage(uint256 percentage
changeGiveLifePrice(uint256 _newPrice
changeMaxDevAllocation(uint256 amount
claimMiningRewards(uint256 nftId
clearCareTaker(uint256 _tokenId
createItem(string nameuint256 priceuint256 pointsuint256 timeExtensionreturns (bool)
editCurves(uint256 _lauint256 _lbuint256 _rauint256 _rb
editItem(uint256 _iduint256 _priceuint256 _pointsstring _nameuint256 _timeExtension
fatality(uint256 _deadIduint256 _tokenId
giveLife(uint256 indexuint256 _iduint256 nftType
grantRole(bytes32 roleaddress account
mint(address player
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
pause(
pauseGame(bool _pause
recoverERC20(address tokenAddressuint256 tokenAmount
renounceOwnership(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes _data
setApprovalForAll(address operatorbool approved
setBaseURI(string baseURI_
transferFrom(address fromaddress touint256 tokenId
transferOwnership(address newOwner
unpause(
unwrap(uint256 _vnftId
updateSupportedNFT(uint256 indexbool _activeaddress _address
withdraw(uint256 _idaddress _contractAddraddress _touint256 _type
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
BurnPercentageChanged(uint256 percentage
CareTakerAdded(uint256 nftIdaddress _to
CareTakerRemoved(uint256 nftId
ClaimedMiningRewards(uint256 whoaddress owneruint256 amount
ItemCreated(uint256 idstring nameuint256 priceuint256 points
LifeGiven(address forSupportedNFTuint256 id
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Unpaused(address account
Unwrapped(uint256 nftId
VnftConsumed(uint256 nftIdaddress giveruint256 itemId
VnftFatalized(uint256 nftIdaddress killer
VnftMinted(address to
Constructor
constructor(address _museToken
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.