Pokebase

Verified contract

Active on Base with 2,922 txns
Deployed by via 0x35390c5c at 11614861
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $59.83
0x4ccfb33e1c74069aa2c4d980f28e85f2fcc530b8fd5c54f37976e8026fbe5f37
0x8d0b9a7cc173a15abdea377a295e75dec43d924105cbb334789e1aae757ad50b
0xb4f70ab9a045690f98eaed44cab830022ecc0645615788e8b94a3e73e16a51b8
0x1a647f92c967fb6c8890ca43fcdb5bbb56b1fa46e2db7acfffdbd084a0201e2b
0xaeffde3bf75225c0d57bcac1b0967f5850f03da64f52065e08c56c9482ead5b0
0x9a09d0013db7ea85eb5666ca07727761c16602deee61c839cc207917ec447b43
0x780c20f4ba15c65a898d6e6ea5720cc22c7ff374ec69d3dd961b3ccb34710e18
0x0ba94f418613263f16c804dbdad57f97c3374533f6ca169fd6cc9cdb261457fa
0x2e9c678e641162e040ef89d68e49ac4bd8183da25eb9b21b73e75e107e97ec54
0x47b97d046121b8385c96012333ebec9a31503bf0cab4abc348330d817765a5c8

Functions
Getter at block 22748087
bondDiscount(view returns (uint8)
25
bondNodeStartTime(view returns (uint64)
0
getBondCost(view returns (uint256)
6083208994173275412158449725
 
getBondCostUSDC(view returns (uint256)
getEthPriceUsdc(view returns (uint256)
3299374965
 
getExistingNodes(view returns (struct PokebasePokebaseType[])
getPrice(view returns (uint256)
81109453255643672162112663
 
getPriceUsdc(view returns (uint256)
interestDuration(view returns (uint64)
86400
isLive(view returns (bool)
true
maxSupplyNodes(view returns (uint8)
59
nodeBase(view returns (uint256)
2000000000000000000
nodeCost(view returns (uint256)
100000000000000000000
owner(view returns (address result)
0x2b0aee616fdb4dfef9790d07b263b48048746c77
poke(view returns (address)
0xf58f48a68164d90e2a5f1ba594167bb5ad41ba5c
totalNodes(view returns (uint256)
104207
treasury(view returns (address)
0x83482bbb75b0ca6672ed23c673afe19cd8131a8a
Read-only
balanceOf(address accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
claimables(addressview returns (uint256)
currentDailyRewards(uint256 tokenId_view returns (uint256)
getClaimable(address _useruint256[] tokenId_bool cumulative_view returns (uint256)
getNodeIds(address owner_view returns (uint8[])
holdings(addressuint256view returns (uint256)
interestsOnDuration(address addr_uint256[] tokenIds_view returns (uint256)
isApprovedForAll(address accountaddress operatorview returns (bool)
ownershipHandoverExpiresAt(address pendingOwnerview returns (uint256 result)
pokebases(uint256view returns (uint248 interestuint8 chance)
supportsInterface(bytes4 interfaceIdview returns (bool)
uri(uint256 tokenId_view returns (string)
State-modifying
addPokebaseTypes(struct PokebasePokebaseType[] types_
awardNode(address addr_uint256 tokenId_uint256 amount_
burn(address from_uint256 id_uint256 value_
buyNode(uint256 amount_bool isBondETH_bool isBondUSDC_payable 
cancelOwnershipHandover(payable 
claim(uint256 tokenId_payable 
claimMultiple(uint256[] tokenIds_payable 
completeOwnershipHandover(address pendingOwnerpayable 
compoundNode(uint256[] tokenIds_uint256 amount_
renounceOwnership(payable 
requestOwnershipHandover(payable 
safeBatchTransferFrom(address from_address to_uint256[] ids_uint256[] values_bytes data_
safeTransferFrom(address from_address to_uint256 id_uint256 value_bytes data_
setApprovalForAll(address operatorbool approved
setBondDiscount(uint8 discount_
setBondNodeStartTime(uint64 bondStartTime_
setController(address addr_bool value_
setInterestDuration(uint64 duration_
setNodeBase(uint256 base_
setNodeCost(uint256 cost_
setPlatformState(bool isLive_
setPoke(address addr_
setPokebaseType(uint256 tokenId_uint248 interest_uint8 chance_
setTreasuryAddr(address treasury_
setURI(string newuri_
transferOwnership(address newOwnerpayable 
Events
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
Claimed(address indexed useruint256 amount
ControllerUpdated(address addrbool value_
OwnershipHandoverCanceled(address indexed pendingOwner
OwnershipHandoverRequested(address indexed pendingOwner
OwnershipTransferred(address indexed oldOwneraddress indexed newOwner
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
URI(string valueuint256 indexed id
Constructor
constructor(address poke_address ethPokePair_address treasury_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AboveLimits(
AlreadyInitialized(
BondsNotStarted(
ERC1155InsufficientBalance(address senderuint256 balanceuint256 neededuint256 tokenId
ERC1155InvalidApprover(address approver
ERC1155InvalidArrayLength(uint256 idsLengthuint256 valuesLength
ERC1155InvalidOperator(address operator
ERC1155InvalidReceiver(address receiver
ERC1155InvalidSender(address sender
ERC1155MissingApprovalForAll(address operatoraddress owner
InsufficientETH(
MaxSupplyReached(
NewOwnerIsZeroAddress(
NoHandoverRequest(
NoReserves(
NonExistantTokenId(
NotController(
NotEnoughToClaim(
NotEnoughToCompound(
OnlyEOA(
PlatformOffline(
Unauthorized(