InstallationFacet
AddedToQueue
QueueClaimed
CraftTimeReduced
UpgradeTimeReduced
InstallationIdIO
ReservoirStats
installationsBalances
Returns balance for each installation that exists for an account
Parameters
Return Values
installationsBalancesWithTypes
Returns balance for each installation(and their types) that exists for an account
Parameters
Return Values
balanceOfToken
Get the balance of a non-fungible parent token
Parameters
Return Values
installationBalancesOfToken
Returns the balances for all ERC1155 items for a ERC721 token
Parameters
Return Values
installationBalancesOfTokenWithTypes
Returns the balances for all ERC1155 items for a ERC721 token
Parameters
Return Values
spilloverRateAndRadiusOfId
Check the spillover radius of an installation type
Parameters
Return Values
installationBalancesOfTokenByIds
Query the installation balances of an ERC721 parent token
Parameters
Return Values
getInstallationType
Query the item type of a particular installation
Parameters
Return Values
getInstallationUnequipType
getInstallationTypes
Query the item type of multiple installation types
Parameters
Return Values
getCraftQueue
Query details about all ongoing craft queues
Parameters
Return Values
getAltarLevel
getLodgeLevel
getReservoirCapacity
getReservoirStats
BatchCraftInstallationsInput
batchCraftInstallations
craftInstallations
Allow a user to craft installations
Will throw even if one of the installationTypes is deprecated Puts the installation into a queue
Parameters
claimInstallations
Allow a user to claim installations from ready queues
Will throw if the caller is not the queue owner Will throw if one of the queues is not ready
Parameters
reduceCraftTime
Allow a user to speed up multiple queues(installation craft time) by paying the correct amount of $GLTR tokens
Will throw if the caller is not the queue owner $GLTR tokens are burnt upon usage amount expressed in block numbers
Parameters
equipInstallation
Allow a user to equip an installation to a parcel
Will throw if the caller is not the parcel diamond contract Will also throw if various prerequisites for the installation are not met
Parameters
unequipInstallation
Allow a user to unequip an installation from a parcel
Will throw if the caller is not the parcel diamond contract