BrainWorms
Verified contract
Active on
Base with 29,201 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
0x45cc…75ef
0x8d6d…ece0
0x0c15…1580
3 additional
variables
Balances ($5.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 5.0045 | $0.998438 |
$5 | |
BABYBWORM | ERC-20 | 252.525K | -- | -- | |
OHNO | ERC-20 | 1.82K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22744770 | 4 hours ago | | | 0 | 0.000000206745500000 | |
| 22741739 | 5 hours ago | | | 0 | 4.2439966e-7 | |
| 22741599 | 5 hours ago | | | 0 | 3.5428607e-7 | |
| 22740716 | 6 hours ago | | | 0 | 0.000000305939661798 | |
| 22739406 | 7 hours ago | | | 0 | 0.000000207810432768 | |
| 22737498 | 8 hours ago | | | 0 | 2.6420363e-7 | |
| 22722189 | 16 hours ago | | | 0 | 0.0000010766737 | |
| 22722159 | 16 hours ago | | | 0 | 9.6365885e-7 | |
| 22722147 | 16 hours ago | | | 0 | 9.7045798e-7 | |
| 22722137 | 16 hours ago | | | 0 | 9.6593495e-7 |
ABI
ABI objects
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(address, address) view returns (uint256)
balanceOf(address) view returns (uint256)
erc20BalanceOf(address owner_) view returns (uint256)
erc721BalanceOf(address owner_) view returns (uint256)
erc721TransferExempt(address target_) view returns (bool)
getApproved(uint256) view returns (address)
getERC721TokensInQueue(uint256 start_, uint256 count_) view returns (uint256[])
getProperties(uint256 tokenId_) view returns (uint8 stamina, uint8 strength, uint8 dexterity, uint16 wins, uint16 losses, uint16 generation, uint256 DNA, bool isDefensiveStance, uint16 pvpPoints)
hasClaimedAirdrop(address) view returns (bool)
isApprovedForAll(address, address) view returns (bool)
nonces(address) view returns (uint256)
owned(address owner_) view returns (uint256[])
ownerOf(uint256 id_) view returns (address erc721Owner)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenURI(uint256 id_) view returns (string result)
transferLimitExempt(address) view returns (bool)
verifyProof(bytes32[] proof_, address claimer_, uint256 value_) view returns (bool)
State-modifying
Events 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 tokenId, uint8 stamina, uint8 strength, uint8 dexterity, uint16 wins, uint16 losses, uint16 generation, uint256 DNA, bool isDefensiveStance, uint16 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 tokenId, uint256 resourceType)
setSelfERC721TransferExempt(bool state_)
setStance(uint256 tokenId, bool isDefensiveStance)
toggleAirdropIsOpen()
transfer(address to_, uint256 value_) returns (bool)
transferFrom(address from_, address to_, uint256 valueOrId_) returns (bool)
transferOwnership(address newOwner)
Approval(address indexed owner, address indexed spender, uint256 indexed id)
Approval(address indexed owner, address indexed spender, uint256 value)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Transfer(address indexed from, address indexed to, uint256 amount)
Transfer(address indexed from, address indexed to, uint256 indexed id)
constructor(string name_, string symbol_, uint8 decimals_, uint256 initialSupply_, address initialOwner_, address initialMintRecipient_, address uniswapSwapRouter_, uint256 initialMaxHoldingAmount_)
This contract contains no fallback and receive objects.
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()