SettlementsHelper

Verified contract

Implementation

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

No balances found for "SettlementsHelper"

No transactions found for "SettlementsHelper"


Functions
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[] minSizesuint256[] valuesuint256 additionalChunkiesPerKanaria)
(minSizes=[], values=[], additionalChunkiesPerKanaria=0)
getMetadataUriSigner(view returns (address metadataUriSigner)
0x0000000000000000000000000000000000000000
getRmrkStakeBoostPerNumberOfLands(view returns (uint256[] keysuint256[] values)
(keys=[], values=[])
getRmrkStakeLimits(view returns (uint256 commonLanduint256 rareLanduint256 epicLanduint256 premiumLanduint256 harbLand)
(commonLand=0, rareLand=0, epicLand=0, premiumLand=0, harbLand=0)
getSilaBoostWeights(view returns (uint256 commonLanduint256 rareLanduint256 epicLanduint256 premiumLand)
(commonLand=0, rareLand=0, epicLand=0, premiumLand=0)
getSilaBoosts(view returns (uint256 commonLanduint256 rareLanduint256 epicLanduint256 premiumLand)
(commonLand=0, rareLand=0, epicLand=0, premiumLand=0)
owner(view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID(view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
Read-only
addStaticConfigToLandData(struct ISBStructsLandData surveyedLandpure returns (struct ISBStructsSurveyedLandData surveyedLandData)
calculateBoostFromRarities(struct ISBStructsSurveyedSettlementData settlementDataview returns (uint16 averageSilaBoost)
calculateResourceAbundance(struct ISBStructsLandData landDatastruct ISBStructsSurveyedLandData initSurveyedLandDatauint256 totalResourcesuint256 seedview returns (struct ISBStructsSurveyedLandData surveyedLandData)
calculateTotalResources(uint256 seeduint8 raritypure returns (uint256 totalResources)
checkMetadataURI(string metadataUriuint256[] landIdsuint256 signatureDeadlineuint8 vbytes32 rbytes32 sview 
getLandDataFromLandAsset(address skybreachLandsuint256 landIdview returns (struct ISBStructsLandData plotdata)
getMaxChunkiesForSizeAndKanarias(uint256 sizeuint256 kanariasview returns (uint256 maxChunkies)
getMaxKanariasForSize(uint256 sizeview returns (uint256 maxKanarias)
getMaxRmrkStakeForSettlement(struct ISBStructsSurveyedSettlementData settlementview returns (uint256)
getRmrkStakeBoostPerNumberOfLands(uint256 numberOfLandsview returns (uint256)
getSurroundingLandIdsLayer1(uint256 xuint256 ypure returns (uint256[] suroundingLands)
getSurroundingLandIdsLayer2(uint256 xuint256 ypure returns (uint256[] suroundingLands)
getSurroundingLandIdsLayer3(uint256 xuint256 ypure returns (uint256[] suroundingLands)
isContributor(address contributorview returns (bool)
updateSettlementData(struct ISBStructsSurveyedSettlementData settlementstruct ISBStructsSurveyedLandData surveyedLandpure returns (struct ISBStructsSurveyedSettlementData updatedSettlement)
validateTotalKanariasAndChunkies(uint256 totalLandsuint256 totalKanariasuint256 totalChunkiesview 
State-modifying
batchSetUniqueLandIds(uint64[] assetIdsuint256[] landDataIds
initialize(
manageContributor(address contributorbool grantRole
renounceOwnership(
setBaseSurveyTimePerLand(uint256 time
setChancesPerBiomeAndMaterial(uint16[] chances
setKanariaLimitsAndAdditionalChunkies(uint256[] minSizesuint256[] valuesuint256 additionalChunkiesPerKanaria
setMetadataUriSigner(address metadataUriSigner
setRmrkStakeBoostPerNumberOfLands(uint256[] keysuint256[] values
setRmrkStakeLimits(uint256 commonLanduint256 rareLanduint256 epicLanduint256 premiumLanduint256 harbLand
setSilaBoostWeights(uint256 commonLanduint256 rareLanduint256 epicLanduint256 premiumLand
setSilaBoosts(uint256 commonLanduint256 rareLanduint256 epicLanduint256 premiumLand
transferOwnership(address newOwner
upgradeToAndCall(address newImplementationbytes datapayable 
Events
ContributorUpdate(address indexed contributorbool isContributor
Initialized(uint64 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Upgraded(address indexed implementation
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
InvalidInitialization(
LengthsMismatch(
NotInitializing(
RMRKNewContributorIsZeroAddress(
RMRKNewOwnerIsZeroAddress(
RMRKNotOwner(
RMRKNotOwnerOrContributor(
SignatureExpired(
TooManyChunkies(
TooManyKanarias(
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot
WrongSigner(