ChibiKingdomV3
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
17
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "ChibiKingdomV3"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ChibiKingdomV3"
ABI
ABI objects
Getter at block 23096336 getKingdom() view returns (struct KingdomMetadata kingdom) owner() view returns (address)
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
landBasePrice() view returns (uint256)
0
landPlotSupply() view returns (uint256)
0
name() view returns (string)
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 owner) view returns (uint256)
clashUpgradePriceByTiers(uint256) view returns (uint256)
getApproved(uint256 tokenId) view returns (address)
getLand(uint256 landId) view returns (struct LandMetadata land)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
isApprovedForAll(address owner, address operator) view returns (bool)
landDistribution(uint256) view returns (uint256)
landNames(uint256) view returns (string)
lands(uint256) view returns (uint8 tier, uint8 appearance, uint40 lastUpdatedAt, uint16 fertilityPoint, uint16 wealthPoint, uint16 defensePoint, uint16 prestigePoint, bool listedForSale, uint256 price)
ownerOf(uint256 tokenId) view returns (address)
royaltyInfo(uint256 tokenId, uint256 salePrice) view returns (address, uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenURI(uint256 tokenId) view returns (string)
whitelistedApprovers(address) view returns (bool)
State-modifying
Events approve(address to, uint256 tokenId)
grantRole(bytes32 role, address account)
initialize(address minter_, address treasury_, address verifier_, uint256 landBasePrice_, uint256 upgradeStartTime_, uint256 tradingStartTime_, uint256 landPlotSupply_, string baseUri)
listForSale(uint256 landId, bool listedForSale, uint256 price)
mint(address to, uint256 tokenId)
mintBatch(address to, uint256[] tokenId)
purchase(uint256 landId, bool shouldChangeName, string newName, bool landProtected, bytes signature, uint256 expiredAt) payable
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes data)
setApprovalForAll(address operator, bool approved)
setClashToken(address clashToken_)
setClashUpgradePriceByTiers(uint256[] tiers, uint256[] prices)
setDefaultRoyalty(address receiver, uint96 feeNumerator)
setLandAppearance(uint256 landId, uint8 appearance)
setLandStats(uint256 landId, struct LandStats stats)
setName(uint256 landId, string newName, bool landProtected, bytes signature, uint256 expiredAt)
setStartTime(uint256 upgradeStartTime_, uint256 tradingStartTime_)
setTransferEnabled(bool transferEnabled_, bool transferEnabledForBelowTier5_)
setURI(string baseUri_)
setVerifier(address verifier_)
setWhitelistedApprover(address approver, bool whitelisted)
transferFrom(address from, address to, uint256 tokenId)
upgrade(uint256 landId, bool shouldChangeName, string newName, bool landProtected, bytes signature, uint256 expiredAt) payable
upgradeWithClash(uint256 landId, bool shouldChangeName, string newName, bool landProtected, bytes signature, uint256 expiredAt)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
Initialized(uint64 version)
LandUpgraded(uint256 indexed landId, address indexed newOwner, uint256 newTier)
MetadataUpdate(uint256 tokenId)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
This contract contains no constructor objects.
receive()
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AlreadyReachedMaxTier()
ApproverNotWhitelisted()
CooldownTimeNotPassed()
ECDSAInvalidSignature()
ECDSAInvalidSignatureLength(uint256 length)
ECDSAInvalidSignatureS(bytes32 s)
ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator)
ERC2981InvalidDefaultRoyaltyReceiver(address receiver)
ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator)
ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver)
ERC721IncorrectOwner(address sender, uint256 tokenId, address owner)
ERC721InsufficientApproval(address operator, uint256 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()