BasedAI Brains

Verified contract

Active on Ethereum with 21 txns
Deployed by via 0xfe9689eb at 20714294
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x3dba3acf9706ed272ca0d48f199468e04ea93ea43aa91f82f08c1dcb70644964
0x117492c1d72552aa55d475a42631a3182c8a6fd5f6fd462e9714db3a7934d548
0x3a80962f40e921c883676d592bf2f1d3c73d33cfb821ca7bca7603598a2124e7
0x0139cf29eb8b918b00df0c67d0f0aa9053d52bc5cf9e2166fd2f443321e2fdf8
0xb05bd01980b59937cca490d503f03205f3e3856f5196c27ac33c17a5d7cd0426
0xa3a6f5689c9feaf09ada84c7c6418cf996dc189f2457c56966f1e399a6df50af
0x803078ede09817104ffb8b4c4a13316525a5bada515fc6d06d57af5882451734
0xe5bc0094cd97a4a96360f125289f1b8c370062b8d3c4b4b5bf138a426b07938a
0x1684f1abad88621bcb377bdfd70308205afebc7c6c742f100c0388e1c652b058
0xdbcd9dc8797feb15ecf3756195b15af8d9a2685d87285dc31fdc4794ffbb9587

Functions
Getter at block 21246640
MAX_SUPPLY(view returns (uint256)
1024
PROPOSAL_THRESHOLD(view returns (uint256)
250000000000000000000000
brainCreditAddress(view returns (address)
0x978fc2c3f8f8b1cdfa3c88199160fb3af8066d0e
name(view returns (string)
BasedAI Brains
owner(view returns (address)
0x3f8a29dc613522d4c2961212ba25b134f140ed99
pepecoinAddress(view returns (address)
0xe388e1dc76feaea8ac892033351992ae458dd307
symbol(view returns (string)
BRAIN
tokenCounter(view returns (uint256)
9
totalSupply(pure returns (uint256)
1024
Read-only
balanceOf(address ownerview returns (uint256)
brainMetadata(uint256view returns (string namestring metadataUrlstring imageUrl)
brainToERC20(uint256view returns (address)
contributions(addressview returns (uint256)
contributors(uint256view returns (address)
getApproved(uint256 tokenIdview returns (address)
getStakedAmount(address stakerview returns (uint256)
getTimeUntilWithdrawal(uint256 tokenIdview returns (uint256)
isApprovedForAll(address owneraddress operatorview returns (bool)
metadataProposals(uint256uint256view returns (string namestring metadataUrlstring imageUrluint256 votesLockedbool executed)
ownerOf(uint256 tokenIdview returns (address)
proposalCounter(uint256view returns (uint256)
stakes(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenStakeTime(uint256view returns (uint256)
tokenURI(uint256 tokenIdview returns (string)
State-modifying
activateBrain(uint256 tokenId
approve(address touint256 tokenId
collectiveMint(
contributeBrainCredits(uint256 amount
mintLabsBrain(uint256 tokenId
onERC721Received(address operatoraddress fromuint256 tokenIdbytes datareturns (bytes4)
proposeMetadataChange(uint256 tokenIdstring namestring metadataUrlstring imageUrl
redeemBrain(uint256 amount
renounceOwnership(
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes data
setApprovalForAll(address operatorbool approved
setBrainCredits(address _brainCreditAddress
setPepecoin(address _pepecoinAddress
stakePepecoin(uint256 amount
toggleBlockBrainUri(uint256 tokenId
transferFrom(address fromaddress touint256 tokenId
transferOwnership(address newOwner
unstakePepecoin(uint256 tokenId
updateBrainMetadata(uint256 tokenIdstring namestring metadataUrlstring imageUrl
voteOnProposal(uint256 tokenIduint256 proposalIduint256 amount
withdrawVotes(uint256 tokenIduint256 proposalId
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
BrainMetadataUpdated(uint256 tokenIdstring namestring metadataUrlstring imageUrl
BrainMinted(uint256 nftIdaddress brainFather
BrainTokenActivated(uint256 nftIdaddress brainTokenAddress
BrainTransferred(uint256 indexed tokenIdaddress indexed fromaddress indexed touint256 timestamp
ContributionReceived(address contributoruint256 amount
MetadataChangeProposed(uint256 indexed tokenIduint256 proposalIdstring namestring metadataUrlstring imageUrl
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
VoteCast(uint256 indexed tokenIduint256 proposalIdaddress voteruint256 amount
Constructor
constructor(
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
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account