ChibiKingdomV3

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x7865d4de at 18637224
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "ChibiKingdomV3"

No transactions found for "ChibiKingdomV3"


Functions
Getter at block 23096336
BASE_STAT(view returns (uint256)
50
COOLDOWN_TIME(view returns (uint256)
900
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GAME_MANAGER_ROLE(view returns (bytes32)
0x47414d455f4d414e414745525f524f4c45000000000000000000000000000000
LAND_PLOTS_RESERVED(view returns (uint256)
4
MAX_TIER(view returns (uint256)
5
MINTER_ROLE(view returns (bytes32)
0x4d494e5445525f524f4c45000000000000000000000000000000000000000000
ROYALTY_FEE_BEFORE_MAX_TIER(view returns (uint256)
2000
STAT_POINT_GAINED_PER_TIER(view returns (uint256)
5
clashToken(view returns (address)
0x0000000000000000000000000000000000000000
 
getKingdom(view returns (struct KingdomMetadata kingdom)
landBasePrice(view returns (uint256)
0
landPlotSupply(view returns (uint256)
0
name(view returns (string)
 
owner(view returns (address)
symbol(view returns (string)
totalSupply(view returns (uint256)
0
tradingStartTime(view returns (uint256)
0
transferEnabled(view returns (bool)
false
transferEnabledForBelowTier5(view returns (bool)
false
upgradeStartTime(view returns (uint256)
0
verifier(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
balanceOf(address ownerview returns (uint256)
clashUpgradePriceByTiers(uint256view returns (uint256)
getApproved(uint256 tokenIdview returns (address)
getLand(uint256 landIdview returns (struct LandMetadata land)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address owneraddress operatorview returns (bool)
landDistribution(uint256view returns (uint256)
landNames(uint256view returns (string)
lands(uint256view returns (uint8 tieruint8 appearanceuint40 lastUpdatedAtuint16 fertilityPointuint16 wealthPointuint16 defensePointuint16 prestigePointbool listedForSaleuint256 price)
ownerOf(uint256 tokenIdview returns (address)
royaltyInfo(uint256 tokenIduint256 salePriceview returns (addressuint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenURI(uint256 tokenIdview returns (string)
whitelistedApprovers(addressview returns (bool)
State-modifying
approve(address touint256 tokenId
grantRole(bytes32 roleaddress account
initialize(address minter_address treasury_address verifier_uint256 landBasePrice_uint256 upgradeStartTime_uint256 tradingStartTime_uint256 landPlotSupply_string baseUri
listForSale(uint256 landIdbool listedForSaleuint256 price
mint(address touint256 tokenId
mintBatch(address touint256[] tokenId
purchase(uint256 landIdbool shouldChangeNamestring newNamebool landProtectedbytes signatureuint256 expiredAtpayable 
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes data
setApprovalForAll(address operatorbool approved
setClashToken(address clashToken_
setClashUpgradePriceByTiers(uint256[] tiersuint256[] prices
setDefaultRoyalty(address receiveruint96 feeNumerator
setLandAppearance(uint256 landIduint8 appearance
setLandStats(uint256 landIdstruct LandStats stats
setName(uint256 landIdstring newNamebool landProtectedbytes signatureuint256 expiredAt
setStartTime(uint256 upgradeStartTime_uint256 tradingStartTime_
setTransferEnabled(bool transferEnabled_bool transferEnabledForBelowTier5_
setURI(string baseUri_
setVerifier(address verifier_
setWhitelistedApprover(address approverbool whitelisted
transferFrom(address fromaddress touint256 tokenId
upgrade(uint256 landIdbool shouldChangeNamestring newNamebool landProtectedbytes signatureuint256 expiredAtpayable 
upgradeWithClash(uint256 landIdbool shouldChangeNamestring newNamebool landProtectedbytes signatureuint256 expiredAt
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
Initialized(uint64 version
LandUpgraded(uint256 indexed landIdaddress indexed newOwneruint256 newTier
MetadataUpdate(uint256 tokenId
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AlreadyReachedMaxTier(
ApproverNotWhitelisted(
CooldownTimeNotPassed(
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
ERC2981InvalidDefaultRoyalty(uint256 numeratoruint256 denominator
ERC2981InvalidDefaultRoyaltyReceiver(address receiver
ERC2981InvalidTokenRoyalty(uint256 tokenIduint256 numeratoruint256 denominator
ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenIdaddress receiver
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
FailedToSendToken(
InsufficientPayment(
InvalidConfiguration(
InvalidInitialization(
InvalidSignature(
LandIsProtected(
LandNotAvailable(
NotForSale(
NotInitializing(
OnlyLandWithMaxTier(
OnlyOwner(
PriceMustBeGreaterThanZero(
PriceNotSet(
ReentrancyGuardReentrantCall(
SignatureExpired(
TradeNotAvailable(
TransferIsLocked(
UpgradeNotAvailable(