RealmFacet
MintParcelInput
EquipInstallation
UnequipInstallation
EquipTile
UnequipTile
AavegotchiDiamondUpdated
InstallationUpgraded
mintParcels
Allow the diamond owner to mint new parcels
Parameters
Name | Type | Description |
---|---|---|
_to | address[] | The address to mint the parcels to |
_tokenIds | uint256[] | The identifiers of tokens to mint |
_metadata | struct RealmFacet.MintParcelInput[] | An array of structs containing the metadata of each parcel being minted |
BatchEquipIO
batchEquip
equipInstallation
Allow a parcel owner to equip an installation
_The _x and y denote the starting coordinates of the installation and are used to make sure that slot is available on a parcel
Parameters
Name | Type | Description |
---|---|---|
_realmId | uint256 | The identifier of the parcel which the installation is being equipped on |
_gotchiId | uint256 | The Gotchi ID of the Aavegotchi being played. Must be verified by the backend API. |
_installationId | uint256 | The identifier of the installation being equipped |
_x | uint256 | The x(horizontal) coordinate of the installation |
_y | uint256 | The y(vertical) coordinate of the installation |
_signature | bytes |
unequipInstallation
Allow a parcel owner to unequip an installation
_The _x and y denote the starting coordinates of the installation and are used to make sure that slot is available on a parcel
Parameters
Name | Type | Description |
---|---|---|
_realmId | uint256 | The identifier of the parcel which the installation is being unequipped from |
_gotchiId | uint256 | |
_installationId | uint256 | The identifier of the installation being unequipped |
_x | uint256 | The x(horizontal) coordinate of the installation |
_y | uint256 | The y(vertical) coordinate of the installation |
_signature | bytes |
moveInstallation
Allow a parcel owner to move an installation
Parameters
Name | Type | Description |
---|---|---|
_realmId | uint256 | The identifier of the parcel which the installation is being moved on |
_installationId | uint256 | The identifier of the installation being moved |
_x0 | uint256 | The x(horizontal) coordinate of the installation |
_y0 | uint256 | The y(vertical) coordinate of the installation |
_x1 | uint256 | The x(horizontal) coordinate of the installation to move to |
_y1 | uint256 | The y(vertical) coordinate of the installation to move to |
equipTile
Allow a parcel owner to equip a tile
_The _x and y denote the starting coordinates of the tile and are used to make sure that slot is available on a parcel
Parameters
Name | Type | Description |
---|---|---|
_realmId | uint256 | The identifier of the parcel which the tile is being equipped on |
_gotchiId | uint256 | |
_tileId | uint256 | The identifier of the tile being equipped |
_x | uint256 | The x(horizontal) coordinate of the tile |
_y | uint256 | The y(vertical) coordinate of the tile |
_signature | bytes |
unequipTile
Allow a parcel owner to unequip a tile
_The _x and y denote the starting coordinates of the tile and are used to make sure that slot is available on a parcel
Parameters
Name | Type | Description |
---|---|---|
_realmId | uint256 | The identifier of the parcel which the tile is being unequipped from |
_gotchiId | uint256 | |
_tileId | uint256 | The identifier of the tile being unequipped |
_x | uint256 | The x(horizontal) coordinate of the tile |
_y | uint256 | The y(vertical) coordinate of the tile |
_signature | bytes |
moveTile
Allow a parcel owner to move a tile
Parameters
Name | Type | Description |
---|---|---|
_realmId | uint256 | The identifier of the parcel which the tile is being moved on |
_tileId | uint256 | The identifier of the tile being moved |
_x0 | uint256 | The x(horizontal) coordinate of the tile |
_y0 | uint256 | The y(vertical) coordinate of the tile |
_x1 | uint256 | The x(horizontal) coordinate of the tile to move to |
_y1 | uint256 | The y(vertical) coordinate of the tile to move to |