CosmicCowboysV2

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x203eec78 at 10791893
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "CosmicCowboysV2"

No transactions found for "CosmicCowboysV2"


Functions
Getter at block 22734632
achievements(view returns (address)
0x0000000000000000000000000000000000000000
astroRevolver(view returns (address)
0x0000000000000000000000000000000000000000
donationAmount(view returns (uint256)
0
galacticCredits(view returns (address)
0x0000000000000000000000000000000000000000
jupiterJunk(view returns (address)
0x0000000000000000000000000000000000000000
latestTokenId(view returns (uint256)
0
mintPrice(view returns (uint256)
0
name(view returns (string)
owner(view returns (address)
0x0000000000000000000000000000000000000000
spaceSlop(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
tbaAccount(view returns (address)
0x0000000000000000000000000000000000000000
tbaRegistry(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
balanceOf(address ownerview returns (uint256)
characterType(uint256view returns (uint8)
getApproved(uint256 tokenIdview returns (address)
getNPCStats(uint256 tokenIdview returns (uint8 healthstring locationuint8 trustbool rescuedStatusstring playerType)
getTBA(uint256 tokenIdview returns (address)
isApprovedForAll(address owneraddress operatorview returns (bool)
isRescued(uint256view returns (bool)
ownerOf(uint256 tokenIdview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenHealth(uint256view returns (uint8)
tokenLocation(uint256view returns (uint8)
tokenTrust(uint256view returns (uint8)
tokenURI(uint256 tokenIdview returns (string)
State-modifying
approve(address touint256 tokenId
attackPlayer(uint256 attackerIduint256 victimIdaddress account
buildShip(uint256 playerIduint256 npcIdaddress account
buyFood(uint256 tokenIdaddress account
buySupplies(uint256 tokenIdaddress account
createNPC(address tostring uri
createPlayer(address tostring uriuint8 paymentMethodpayable 
createWeapon(uint256 tokenIdaddress account
donate(uint256 tokenIdpayable 
goTo(uint256 tokenIduint8 newLocationaddress account
grantAchievement(address touint256 tokenId
launchSupplyMission(uint256 tokenIdaddress account
playPoker(uint256 tokenIdaddress account
renounceOwnership(
revoke(uint256 tokenIdaddress accountaddress outuint8 revokeType
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes data
sellSupplies(uint256 tokenIdaddress account
setApprovalForAll(address operatorbool approved
setDonationAmount(uint256 amount
setHealth(uint256 tokenIduint8 health
setMintPrice(uint256 price
setTokenURI(uint256 tokenIdstring uri
setTrust(uint256 tokenIduint8 trust
stealFood(uint256 theifIduint256 victimIdaddress account
stealSupplies(uint256 theifIduint256 victimIdaddress account
transferFrom(address fromaddress touint256 tokenId
transferOwnership(address newOwner
whitelistCredits(address tbabool status
withdraw(
Events
AchievementGranted(address touint256 tokenId
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
BatchMetadataUpdate(uint256 _fromTokenIduint256 _toTokenId
DonationSent(address fromuint256 minerId
FoodPurchased(uint256 indexed tokenId
FoodStolen(uint256 indexed theifIduint256 indexed victimIduint8 trustDecrement
HealthUpdated(uint256 indexed tokenIduint8 health
Initialized(uint64 version
LaunchedSupplyMission(uint256 indexed tokenId
LocationUpdated(uint256 indexed tokenIdstring location
MetadataUpdate(uint256 _tokenId
NPCCreated(uint256 indexed tokenIdaddress tbauint8 healthuint8 trustbool isRescued
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PlayedPoker(uint256 indexed tokenIdstring result
PlayerAttacked(uint256 indexed attackerIduint256 indexed victimIduint8 healthDecrementuint8 trustDecrement
PlayerCreated(uint256 indexed tokenIdaddress tbauint8 healthuint8 trustbool isRescued
ShipBuilt(address touint256 jumperIduint256 minerId
SuppliesPurchased(uint256 indexed tokenId
SuppliesSold(uint256 indexed tokenIduint8 trustIncrement
SuppliesStolen(uint256 indexed theifIduint256 indexed victimIduint8 trustDecrement
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
TrustUpdated(uint256 indexed tokenIduint8 trust
WeaponCreated(uint256 indexed tokenId
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
ERC721IncorrectOwner(address senderuint256 tokenIdaddress owner
ERC721InsufficientApproval(address operatoruint256 tokenId
ERC721InvalidApprover(address approver
ERC721InvalidOperator(address operator
ERC721InvalidOwner(address owner
ERC721InvalidReceiver(address receiver
ERC721InvalidSender(address sender
ERC721NonexistentToken(uint256 tokenId
InvalidInitialization(
NotInitializing(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account