CosmicCowboysV2
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "CosmicCowboysV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "CosmicCowboysV2"
ABI
ABI objects
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 owner) view returns (uint256)
characterType(uint256) view returns (uint8)
getApproved(uint256 tokenId) view returns (address)
getNPCStats(uint256 tokenId) view returns (uint8 health, string location, uint8 trust, bool rescuedStatus, string playerType)
getTBA(uint256 tokenId) view returns (address)
isApprovedForAll(address owner, address operator) view returns (bool)
isRescued(uint256) view returns (bool)
ownerOf(uint256 tokenId) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenHealth(uint256) view returns (uint8)
tokenLocation(uint256) view returns (uint8)
tokenTrust(uint256) view returns (uint8)
tokenURI(uint256 tokenId) view returns (string)
State-modifying
Events approve(address to, uint256 tokenId)
attackPlayer(uint256 attackerId, uint256 victimId, address account)
buildShip(uint256 playerId, uint256 npcId, address account)
buyFood(uint256 tokenId, address account)
buySupplies(uint256 tokenId, address account)
createNPC(address to, string uri)
createPlayer(address to, string uri, uint8 paymentMethod) payable
createWeapon(uint256 tokenId, address account)
donate(uint256 tokenId) payable
goTo(uint256 tokenId, uint8 newLocation, address account)
grantAchievement(address to, uint256 tokenId)
launchSupplyMission(uint256 tokenId, address account)
playPoker(uint256 tokenId, address account)
renounceOwnership()
revoke(uint256 tokenId, address account, address out, uint8 revokeType)
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes data)
sellSupplies(uint256 tokenId, address account)
setApprovalForAll(address operator, bool approved)
setDonationAmount(uint256 amount)
setHealth(uint256 tokenId, uint8 health)
setMintPrice(uint256 price)
setTokenURI(uint256 tokenId, string uri)
setTrust(uint256 tokenId, uint8 trust)
stealFood(uint256 theifId, uint256 victimId, address account)
stealSupplies(uint256 theifId, uint256 victimId, address account)
transferFrom(address from, address to, uint256 tokenId)
transferOwnership(address newOwner)
whitelistCredits(address tba, bool status)
withdraw()
AchievementGranted(address to, uint256 tokenId)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)
DonationSent(address from, uint256 minerId)
FoodPurchased(uint256 indexed tokenId)
FoodStolen(uint256 indexed theifId, uint256 indexed victimId, uint8 trustDecrement)
HealthUpdated(uint256 indexed tokenId, uint8 health)
Initialized(uint64 version)
LaunchedSupplyMission(uint256 indexed tokenId)
LocationUpdated(uint256 indexed tokenId, string location)
MetadataUpdate(uint256 _tokenId)
NPCCreated(uint256 indexed tokenId, address tba, uint8 health, uint8 trust, bool isRescued)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PlayedPoker(uint256 indexed tokenId, string result)
PlayerAttacked(uint256 indexed attackerId, uint256 indexed victimId, uint8 healthDecrement, uint8 trustDecrement)
PlayerCreated(uint256 indexed tokenId, address tba, uint8 health, uint8 trust, bool isRescued)
ShipBuilt(address to, uint256 jumperId, uint256 minerId)
SuppliesPurchased(uint256 indexed tokenId)
SuppliesSold(uint256 indexed tokenId, uint8 trustIncrement)
SuppliesStolen(uint256 indexed theifId, uint256 indexed victimId, uint8 trustDecrement)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
TrustUpdated(uint256 indexed tokenId, uint8 trust)
WeaponCreated(uint256 indexed tokenId)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
ERC721IncorrectOwner(address sender, uint256 tokenId, address owner)
ERC721InsufficientApproval(address operator, uint256 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)