BrainWorms

Verified contract

Active on Base with 29,201 txns
Deployed by via 0x53e2ab92 at 16926055
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
3 additional variables
ERC-20
Value $5
ERC-20
--
ERC-20
--
0x957805f629e154ea0a7bff0da84f6f1698df052d21208b99c42d1ec43d301429
0x3aa61ed92168966721d54a3ef2ba1bdb9086b300009ce11e86100aa9e28b35e6
0x9b7bc7c95ae34d369bdf17246233bf831a7d30a0715a180c986c0ccf985dd8ed
0x0f67542d2e74726d9cef12404e8b31265daa1998e39a2de019009e5068a83140
0xa60104bee6f8a78768ad56e33fb0dd8624d54b6a058a8e6c17d1e145f129dfea
0xf1e8c25f5d8eb3d5734b46e75c37077e798475a005ea37a97672f290cb871263
0xbb7c49f34f08dd7336bc7c4b3ca431735f5ebad7a3f705a8f0705ef9dced68d9
0xa95611e8c5672ca77413c2616d225c4b3f37af26073bfbd957ec5ac4ba6d7738
0xb675ab6ab36f735d76dc696a99ae785019de62f447ef1db17e7714d3d70af50c
0x997c525c77b5fd1f651cb1f775c6a16567333d2a2c668a232730b89b8c793b11

Functions
Getter at block 22751143
DOMAIN_SEPARATOR(view returns (bytes32)
0xe702bf990e8ed4fbb250ddfc0730b1195f0deabc9be8946d84208aa5c628f1d5
HELIOS(view returns (uint256)
8135
ID_ENCODING_PREFIX(view returns (uint256)
57896044618658097711785492504343953926634992332820282019728792003956564819968
airdropIsOpen(view returns (bool)
true
airdropMerkleRoot(view returns (bytes32)
0x77407cb2a8136dad8a320745f4dfd9898583bc153d32f2c6b4f3b4330715d06b
brainWormsCombatSystem(view returns (address)
0x45ccb739b51c6d2c3b683e1e22592db9d04375ef
brainWormsTokenURI(view returns (address)
0x8d6df3fb7972c89d6b4b8d3a8268a88e4e1bece0
decimals(view returns (uint8)
18
erc20TotalSupply(view returns (uint256)
2959114977290536670000
erc721TotalSupply(view returns (uint256)
2353
fightCount(view returns (uint256)
16633
getERC721QueueLength(view returns (uint256)
345
initialMaxHoldingAmount(view returns (uint256)
125000000000000000000
initialTransferLimitEnabled(view returns (bool)
false
minted(view returns (uint256)
2353
name(view returns (string)
BrainWorms
owner(view returns (address)
0x0000000000000000000000000000000000000000
resourceHarvesting(view returns (address)
0x0c15c5e8f28f4f935813f966731ca34cb29c1580
symbol(view returns (string)
BWORM
totalSupply(view returns (uint256)
2959114977290536670000
uniswapV2Pair(view returns (address)
0x4dad1171096abba835bf1d377bb4f580b8b4a7e5
units(view returns (uint256)
1000000000000000000
Read-only
allowance(addressaddressview returns (uint256)
balanceOf(addressview returns (uint256)
erc20BalanceOf(address owner_view returns (uint256)
erc721BalanceOf(address owner_view returns (uint256)
erc721TransferExempt(address target_view returns (bool)
getApproved(uint256view returns (address)
getERC721TokensInQueue(uint256 start_uint256 count_view returns (uint256[])
getProperties(uint256 tokenId_view returns (uint8 staminauint8 strengthuint8 dexterityuint16 winsuint16 lossesuint16 generationuint256 DNAbool isDefensiveStanceuint16 pvpPoints)
hasClaimedAirdrop(addressview returns (bool)
isApprovedForAll(addressaddressview returns (bool)
nonces(addressview returns (uint256)
owned(address owner_view returns (uint256[])
ownerOf(uint256 id_view returns (address erc721Owner)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenURI(uint256 id_view returns (string result)
transferLimitExempt(addressview returns (bool)
verifyProof(bytes32[] proof_address claimer_uint256 value_view returns (bool)
State-modifying
airdropMint(bytes32[] proof_uint256 value_
approve(address spender_uint256 valueOrId_returns (bool)
batchHarvest(uint256[] tokenIds
erc20Approve(address spender_uint256 value_returns (bool)
erc20TransferFrom(address from_address to_uint256 value_returns (bool)
erc721Approve(address spender_uint256 id_
erc721TransferFrom(address from_address to_uint256 id_
fightBrainWorms(uint256 p1_uint256 p2_bool attackType_
fightBrainWormsWithUpdatedStance(uint256 p1_uint256 p2_bool p1IsDefensiveStance_bool attackType_
harvestResource(uint256 tokenId
ownerSetInitialTransferLimitEnabled(bool value
ownerSetMaxHoldingAmount(uint256 newMaxHoldingAmount
ownerSetProperties(uint256 tokenIduint8 staminauint8 strengthuint8 dexterityuint16 winsuint16 lossesuint16 generationuint256 DNAbool isDefensiveStanceuint16 PVPPoints
ownerSetTransferLimitExempt(address account_bool value_
ownerUpdateCombatSystemAddress(address newAddress_
ownerUpdateResourceHarvestingAddress(address newAddress_
ownerUpdateTokenURIAddress(address newAddress_
permit(address owner_address spender_uint256 value_uint256 deadline_uint8 v_bytes32 r_bytes32 s_
publicRerollWorm(uint256 id_
renounceOwnership(
safeTransferFrom(address from_address to_uint256 id_
safeTransferFrom(address from_address to_uint256 id_bytes data_
setAirdropMerkleRoot(bytes32 airdropMerkleRoot_
setApprovalForAll(address operator_bool approved_
setERC721TransferExempt(address account_bool value_
setResourceTypeToHarvest(uint256 tokenIduint256 resourceType
setSelfERC721TransferExempt(bool state_
setStance(uint256 tokenIdbool isDefensiveStance
toggleAirdropIsOpen(
transfer(address to_uint256 value_returns (bool)
transferFrom(address from_address to_uint256 valueOrId_returns (bool)
transferOwnership(address newOwner
Events
Approval(address indexed owneraddress indexed spenderuint256 indexed id
Approval(address indexed owneraddress indexed spenderuint256 value
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Transfer(address indexed fromaddress indexed touint256 amount
Transfer(address indexed fromaddress indexed touint256 indexed id
Constructor
constructor(string name_string symbol_uint8 decimals_uint256 initialSupply_address initialOwner_address initialMintRecipient_address uniswapSwapRouter_uint256 initialMaxHoldingAmount_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AirdropAlreadyClaimed(
AirdropIsClosed(
AlreadyExists(
DecimalsTooLow(
InsufficientAllowance(
InvalidApproval(
InvalidExemption(
InvalidOperator(
InvalidRecipient(
InvalidSender(
InvalidSigner(
InvalidSpender(
InvalidTokenId(
MintLimitReached(
NotEligibleForAirdrop(
NotFound(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
OwnedIndexOverflow(
PermitDeadlineExpired(
QueueEmpty(
QueueFull(
QueueOutOfBounds(
RecipientIsERC721TransferExempt(
Unauthorized(
UnsafeRecipient(