subscan
Runtime Modules / Estate
Spec Version:
Events
Name
Lookup
Attributes
NewLandsMinted4000["AccountId","MetaverseId","Vec<(i32, i32)>"]
TransferredLandUnit4001["MetaverseId","(i32, i32)","AccountId","AccountId"]
TransferredEstate4002["EstateId","AccountId","AccountId"]
NewLandUnitMinted4003["OwnerId<AccountId, ClassId, TokenId>","MetaverseId","(i32, i32)"]
NewEstateMinted4004["EstateId","OwnerId<AccountId, ClassId, TokenId>","MetaverseId","Vec<(i32, i32)>"]
MaxBoundSet4005["MetaverseId","(i32, i32)"]
LandBlockDeployed4006["AccountId","MetaverseId","UndeployedLandBlockId","Vec<(i32, i32)>"]
UndeployedLandBlockIssued4007["AccountId","UndeployedLandBlockId"]
UndeployedLandBlockTransferred4008["AccountId","AccountId","UndeployedLandBlockId"]
UndeployedLandBlockApproved4009["AccountId","AccountId","UndeployedLandBlockId"]
EstateDestroyed400a["EstateId","OwnerId<AccountId, ClassId, TokenId>"]
EstateUpdated400b["EstateId","OwnerId<AccountId, ClassId, TokenId>","Vec<(i32, i32)>"]
LandUnitAdded400c["EstateId","OwnerId<AccountId, ClassId, TokenId>","Vec<(i32, i32)>"]
LandUnitsRemoved400d["EstateId","OwnerId<AccountId, ClassId, TokenId>","Vec<(i32, i32)>"]
UndeployedLandBlockUnapproved400e["UndeployedLandBlockId"]
UndeployedLandBlockFreezed400f["UndeployedLandBlockId"]
UndeployedLandBlockUnfreezed4010["UndeployedLandBlockId"]
UndeployedLandBlockBurnt4011["UndeployedLandBlockId"]
EstateLeaseOfferCreated4012["AccountId","EstateId","BalanceOf"]
EstateLeaseOfferAccepted4013["EstateId","AccountId","BlockNumber"]
EstateLeaseOfferRemoved4014["AccountId","EstateId"]
EstateLeaseContractEnded4015["EstateId"]
EstateLeaseContractCancelled4016["EstateId"]
EstateRentCollected4017["EstateId","BalanceOf"]
NewRound4018["BlockNumber","RoundIndex","u64"]
Storage Functions
Name
Type
AllLandUnitsCount{"origin":"PlainType","plain_type":"U64","PlainTypeValue":8}
TotalUndeployedLandUnit{"origin":"PlainType","plain_type":"U64","PlainTypeValue":8}
LandUnits{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U64","Tuple:I32I32"],"value":"bit_country_primitives:estate:OwnerId","keys_id":444,"value_id":129}}
NextEstateId{"origin":"PlainType","plain_type":"U64","PlainTypeValue":8}
AllEstatesCount{"origin":"PlainType","plain_type":"U64","PlainTypeValue":8}
Estates{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"bit_country_primitives:estate:EstateInfo","keys_id":8,"value_id":445}}
EstateOwner{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"bit_country_primitives:estate:OwnerId","keys_id":8,"value_id":129}}
NextUndeployedLandBlockId{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
UndeployedLandBlocks{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"bit_country_primitives:UndeployedLandBlock","keys_id":6,"value_id":446}}
UndeployedLandBlocksOwner{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","U128"],"value":"NULL","keys_id":141,"value_id":32}}
Round{"origin":"PlainType","plain_type":"bit_country_primitives:staking:RoundInfo","PlainTypeValue":405}
MintingRateConfig{"origin":"PlainType","plain_type":"pallet_estate:rate:MintingRateInfo","PlainTypeValue":447}
EstateLeases{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"bit_country_primitives:estate:LeaseContract","keys_id":8,"value_id":449}}
EstateLeasors{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["AccountId","U64"],"value":"NULL","keys_id":295,"value_id":32}}
EstateLeaseOffers{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Blake2_128Concat"],"key_vec":["U64","AccountId"],"value":"bit_country_primitives:estate:LeaseContract","keys_id":450,"value_id":449}}
Constants
Name
Type
Value
LandTreasury[U8; 8]6269742f6c616e64
MinBlocksPerRoundU3214000000
MinimumStakeU128000010632d5ec76b0500000000000000
RewardPaymentDelayU3202000000
NetworkFeeU1280000e8890423c78a0000000000000000
MaxOffersPerEstateU3264000000
MinLeasePricePerBlockU1280000c16ff28623000000000000000000
MaxLeasePeriodU3240420f00
LeaseOfferExpiryPeriodU3210270000
Error Types
Name
Docs
NoPermissionNo permission
NoAvailableEstateIdNo available estate ID
InsufficientFundInsufficient fund
EstateIdAlreadyExistEstate ID already exist
LandUnitIsNotAvailableLand unit is not available
LandUnitIsOutOfBoundLand unit is out of bound
UndeployedLandBlockNotFoundUndeployed land block is not found
UndeployedLandBlockIsNotTransferableUndeployed land block is not transferable
UndeployedLandBlockDoesNotHaveEnoughLandUnitsUndeployed land block does not hae enough land units
UndeployedLandBlockUnitAndInputDoesNotMatchNumber of land block credit and land unit does not match
UndeployedLandBlockNotOwnedAccount is not the owner of a given undeployed land block
AlreadyOwnTheUndeployedLandBlockAlready own the undeployed land block
UndeployedLandBlockFreezedUndeployed land block is freezed
UndeployedLandBlockAlreadyFreezedUndeployed land block is already freezed
UndeployedLandBlockNotFrozenUndeployed land block is not frozen
AlreadyOwnTheEstateAlready owning the estate
AlreadyOwnTheLandUnitAlready owning the land unit
EstateNotInAuctionEstate is not in auction
LandUnitNotInAuctionLand unit is not in auction
EstateAlreadyInAuctionEstate is already in auction
LandUnitAlreadyInAuctionLand unit is already in auction
UndeployedLandBlockAlreadyInAuctionUndeployed land block is already in auction
EstateDoesNotExistEstate is does not exist
LandUnitDoesNotExistLand unit does not exist
OnlyFrozenUndeployedLandBlockCanBeDestroyedOnly frozen undeployed land block can be destroyed
BelowMinimumStakeBelow minimum staking amount
OverflowValue overflow
EstateStakeAlreadyLeftEstate stake is already left
AccountHasNoStakeAccount has not staked anything
InvalidOwnerValueInvalid owner value
CoordinatesForEstateIsNotValidCoordinate for estate is not valid
InsufficientBalanceForDeployingLandOrCreatingEstateInsufficient balance for deploying land blocks or creating estates
LandUnitAlreadyInEstate
EstateIsAlreadyLeasedEstate is already leased
EstateLeaseOffersQueueLimitIsReachedEstate lease offer limit is reached
LeaseOfferPriceBelowMinimumLease offer price per block is below the minimum
LeaseOfferDoesNotExistLease offer does not exist
LeaseOfferAlreadyExistsLease offer already exists
LeaseOfferIsNotExpiredLease offer is not expired
LeaseDoesNotExistLease does not exist
LeaseIsNotExpiredLease is not expired
LeaseIsExpiredLease is expired
LeaseOfferDurationAboveMaximumLease duration beyond max duration
NoUnclaimedRentLeftNo unclaimed rent balance