SettlementsHelper
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
13
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional
variables
Balances ($0.00)
No balances found for "SettlementsHelper"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SettlementsHelper"
ABI
ABI objects
Getter at block 22940419
CYBER_INIT_INDEX() view returns (uint256)
40
DRAGON_INIT_INDEX() view returns (uint256)
56
FIRE_INIT_INDEX() view returns (uint256)
24
MEADOW_INIT_INDEX() view returns (uint256)
72
MECHA_INIT_INDEX() view returns (uint256)
48
NECRO_INIT_INDEX() view returns (uint256)
8
STEAMPUNK_INIT_INDEX() view returns (uint256)
32
UPGRADE_INTERFACE_VERSION() view returns (string)
5.0.0
VOLCANO_INIT_INDEX() view returns (uint256)
64
WATER_INIT_INDEX() view returns (uint256)
0
WIND_INIT_INDEX() view returns (uint256)
16
getBaseSurveyTimePerLand() view returns (uint256 baseSurveyTimePerLand)
0
getChancesPerBiomeAndMaterial() view returns (uint16[] chances)
[]
getKanariaLimitsAndAdditionalChunkies() view returns (uint256[] minSizes, uint256[] values, uint256 additionalChunkiesPerKanaria)
(minSizes=[], values=[], additionalChunkiesPerKanaria=0)
getMetadataUriSigner() view returns (address metadataUriSigner)
0x0000000000000000000000000000000000000000
getRmrkStakeBoostPerNumberOfLands() view returns (uint256[] keys, uint256[] values)
(keys=[], values=[])
getRmrkStakeLimits() view returns (uint256 commonLand, uint256 rareLand, uint256 epicLand, uint256 premiumLand, uint256 harbLand)
(commonLand=0, rareLand=0, epicLand=0, premiumLand=0, harbLand=0)
getSilaBoostWeights() view returns (uint256 commonLand, uint256 rareLand, uint256 epicLand, uint256 premiumLand)
(commonLand=0, rareLand=0, epicLand=0, premiumLand=0)
getSilaBoosts() view returns (uint256 commonLand, uint256 rareLand, uint256 epicLand, uint256 premiumLand)
(commonLand=0, rareLand=0, epicLand=0, premiumLand=0)
owner() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
Read-only
addStaticConfigToLandData(struct ISBStructsLandData surveyedLand) pure returns (struct ISBStructsSurveyedLandData surveyedLandData)
calculateBoostFromRarities(struct ISBStructsSurveyedSettlementData settlementData) view returns (uint16 averageSilaBoost)
calculateResourceAbundance(struct ISBStructsLandData landData, struct ISBStructsSurveyedLandData initSurveyedLandData, uint256 totalResources, uint256 seed) view returns (struct ISBStructsSurveyedLandData surveyedLandData)
calculateTotalResources(uint256 seed, uint8 rarity) pure returns (uint256 totalResources)
checkMetadataURI(string metadataUri, uint256[] landIds, uint256 signatureDeadline, uint8 v, bytes32 r, bytes32 s) view
getLandDataFromLandAsset(address skybreachLands, uint256 landId) view returns (struct ISBStructsLandData plotdata)
getMaxChunkiesForSizeAndKanarias(uint256 size, uint256 kanarias) view returns (uint256 maxChunkies)
getMaxKanariasForSize(uint256 size) view returns (uint256 maxKanarias)
getMaxRmrkStakeForSettlement(struct ISBStructsSurveyedSettlementData settlement) view returns (uint256)
getRmrkStakeBoostPerNumberOfLands(uint256 numberOfLands) view returns (uint256)
getSurroundingLandIdsLayer1(uint256 x, uint256 y) pure returns (uint256[] suroundingLands)
getSurroundingLandIdsLayer2(uint256 x, uint256 y) pure returns (uint256[] suroundingLands)
getSurroundingLandIdsLayer3(uint256 x, uint256 y) pure returns (uint256[] suroundingLands)
isContributor(address contributor) view returns (bool)
updateSettlementData(struct ISBStructsSurveyedSettlementData settlement, struct ISBStructsSurveyedLandData surveyedLand) pure returns (struct ISBStructsSurveyedSettlementData updatedSettlement)
validateTotalKanariasAndChunkies(uint256 totalLands, uint256 totalKanarias, uint256 totalChunkies) view
State-modifying
Events batchSetUniqueLandIds(uint64[] assetIds, uint256[] landDataIds)
initialize()
manageContributor(address contributor, bool grantRole)
renounceOwnership()
setBaseSurveyTimePerLand(uint256 time)
setChancesPerBiomeAndMaterial(uint16[] chances)
setKanariaLimitsAndAdditionalChunkies(uint256[] minSizes, uint256[] values, uint256 additionalChunkiesPerKanaria)
setMetadataUriSigner(address metadataUriSigner)
setRmrkStakeBoostPerNumberOfLands(uint256[] keys, uint256[] values)
setRmrkStakeLimits(uint256 commonLand, uint256 rareLand, uint256 epicLand, uint256 premiumLand, uint256 harbLand)
setSilaBoostWeights(uint256 commonLand, uint256 rareLand, uint256 epicLand, uint256 premiumLand)
setSilaBoosts(uint256 commonLand, uint256 rareLand, uint256 epicLand, uint256 premiumLand)
transferOwnership(address newOwner)
upgradeToAndCall(address newImplementation, bytes data) payable
ContributorUpdate(address indexed contributor, bool isContributor)
Initialized(uint64 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Upgraded(address indexed implementation)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AddressEmptyCode(address target)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
InvalidInitialization()
LengthsMismatch()
NotInitializing()
RMRKNewContributorIsZeroAddress()
RMRKNewOwnerIsZeroAddress()
RMRKNotOwner()
RMRKNotOwnerOrContributor()
SignatureExpired()
TooManyChunkies()
TooManyKanarias()
UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID(bytes32 slot)
WrongSigner()