InstallationAdminFacet
AddressesUpdated
AddInstallationType
EditInstallationType
DeprecateInstallation
SetInstallationUnequipType
EditInstallationUnequipType
UpgradeCancelled
EditDeprecateTime
deprecateInstallations
Allow the Diamond owner to deprecate an installation
Deprecated installations cannot be crafted by users
Parameters
Name | Type | Description |
---|---|---|
_installationIds | uint256[] | An array containing the identifiers of installations to deprecate |
setAddresses
Allow the diamond owner to set some important contract addresses
Parameters
Name | Type | Description |
---|---|---|
_aavegotchiDiamond | address | The aavegotchi diamond address |
_realmDiamond | address | The Realm diamond address |
_gltr | address | The $GLTR token address |
_pixelcraft | address | Pixelcraft address |
_aavegotchiDAO | address | The Aavegotchi DAO address |
_backendPubKey | bytes | The Backend Key |
getAddresses
addInstallationTypes
Allow the diamond owner to add an installation type
Parameters
Name | Type | Description |
---|---|---|
_installationTypes | struct InstallationTypeIO[] | An array of structs, each struct representing each installationType to be added |
editDeprecateTime
editInstallationTypes
editInstallationUnequipTypes
mintInstallations
Allow the owner to mint installations
This function does not check for deprecation because otherwise the installations could be minted by players. Make sure that the installation is deprecated when you add it onchain
Parameters
Name | Type | Description |
---|---|---|
_installationIds | uint16[] | An array containing the identifiers of the installationTypes to mint |
_amounts | uint16[] | An array containing the amounts of the installationTypes to mint |
_toAddress | address | Address to mint installations |
MissingAltars
fixMissingAltars
BuggedUpgradeInput
deleteBuggedUpgrades
Used if a parcel has an upgrade that must be deleted.