Fren Pet

Verified contract

Active on Base with 56,769 txns
Deployed by via 0x6852058a at 3332900
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
9 additional variables
Native
Value $19.96
0x944be7ce4c9e42fd56c5bf26b6c2b4ad8ab473ec0128e6676f50d9ed2692cd09
0x3727e75a30ca75f62b0c322679ebe404d5b716460f2a9325c07e0459f17f4a24
0xe08937785014d977c8f85cecd3ee966aa8482a0ddf705f02607a6f28405b47a1
0x9c68d456811ded77bae8ae6dffb7b5fd491bd08de50edb9036ceaa907e0e4c98
0x1d2c3c9ad03456a7d9071ebf82dddefabae1216fba8236067d39e51d05b8833d
0x9cc4c112952cffa88207d02a593a4d176d362991d0cdfd0376343710d23400cf
0xa8555c2e4af98c975b999943616acc01c1490dd71349e98ee3f50bd2a12dc58c
0x0ae2278c4e959bee55ff961c15d82d411aa57161a915dc6e8663c6a8f0a06d49
0xf8e4e2dca72e5e409a08c3afbb7eabfb99054008ff20346426d4d8c23d8656eb
0xbb3d4878ff2b9c429378a9592ac63f89a0421c039e0db4969d958c615977d205

Functions
Getter at block 22741726
_generateSVG(pure returns (string)
data:image/svg+xml;utf8,<svg width='198' height='198' viewBox='0 0 198 198' fill='none' xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink'><path fill-rule='evenodd' clip-rule='evenodd' d='M53 65H60V60H137V65H144V122H129V138H106V122H91V138H68V122H53V65ZM81 88H89V105H81V88ZM127 88H119V105H127V88Z' fill='black'/></svg>
_itemIds(view returns (uint256)
6
_tokenIds(view returns (uint256)
783
discountRate(view returns (uint256)
3166666666666666666
ethAccPerShare(view returns (uint256)
5749432515983401503
gameManager(view returns (address)
0x773565aadf59f07f6d72f1e1e2a489cffe96b1e9
getPrice(view returns (uint256)
100000000000000000000
hasTheDiamond(view returns (uint256)
200
la(view returns (uint256)
2
lb(view returns (uint256)
2
name(view returns (string)
Fren Pet
owner(view returns (address)
0x047f606fd5b2baa5f5c6c4ab8958e45cb6b054b7
risks(pure returns (string)
The developers behind fren pet are retarded and test in prod, do not spend money on this unless you are going to play the game, everything in crypto is risky.
startAt(view returns (uint256)
1700802413
startingPrice(view returns (uint256)
2000000000000000000000
symbol(view returns (string)
Fren Pet
token(view returns (address)
0xff0c532fdb8cd566ae169c1cb157ff2bdc83e105
totalScores(view returns (uint256)
16614562261615290
Read-only
balanceOf(address ownerview returns (uint256)
ethOwed(uint256view returns (uint256)
getApproved(uint256view returns (address)
getItemInfo(uint256 _itemIdview returns (string _nameuint256 _priceuint256 _pointsuint256 _timeExtension)
getPetInfo(uint256 _nftIdview returns (string _nameuint8 _statusuint256 _scoreuint256 _leveluint256 _timeUntilStarvinguint256 _lastAttackeduint256 _lastAttackUsedaddress _owneruint256 _rewards)
getStatus(uint256 petview returns (uint8 _health)
isApprovedForAll(addressaddressview returns (bool)
isPetAlive(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)
lastAttackUsed(uint256view returns (uint256)
lastAttacked(uint256view returns (uint256)
level(uint256 tokenIdview returns (uint256)
ownerOf(uint256 idview returns (address owner)
pendingEth(uint256 petIdview returns (uint256)
petName(uint256view returns (string)
petRewardDebt(uint256view returns (uint256)
petScore(uint256view returns (uint256)
stars(uint256view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
timePetBorn(uint256view returns (uint256)
timeUntilStarving(uint256view returns (uint256)
tokenURI(uint256 idview returns (string)
State-modifying
approve(address spenderuint256 id
attack(uint256 fromIduint256 toId
buyAccessory(uint256 nftIduint256 itemIdpayable 
createItem(string nameuint256 priceuint256 pointsuint256 timeExtension
editItem(uint256 _iduint256 _priceuint256 _pointsstring _nameuint256 _timeExtension
kill(uint256 _deadIduint256 _tokenId
mint(
pass(uint256 fromuint256 to
redeem(uint256 petId
safeTransferFrom(address fromaddress touint256 id
safeTransferFrom(address fromaddress touint256 idbytes data
setApprovalForAll(address operatorbool approved
setGameManager(address _gameManager
setPetName(uint256 _idstring _name
transferFrom(address fromaddress touint256 id
transferOwnership(address newOwner
Events
Approval(address indexed owneraddress indexed spenderuint256 indexed id
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
Attack(uint256 attackeruint256 winneruint256 loseruint256 scoresWon
ItemConsumed(uint256 nftIdaddress giveruint256 itemId
ItemCreated(uint256 idstring nameuint256 priceuint256 points
OwnershipTransferred(address indexed useraddress indexed newOwner
Pass(uint256 fromuint256 to
PetKilled(uint256 nftIduint256 deadIdstring loserNameuint256 rewardaddress killerstring winnerName
RedeemRewards(uint256 indexed petIduint256 reward
Transfer(address indexed fromaddress indexed touint256 indexed id
Constructor
constructor(address _token
Fallback and receive
receive(
Errors

This contract contains no error objects.