CollateralFacet
IncreaseStake
DecreaseStake
ExperienceTransfer
collaterals
Query addresses about all collaterals available for a particular haunt
Parameters
Return Values
collateralInfo
Query all details about a collateral in a haunt
Parameters
getCollateralInfo
Query all details about all collaterals in a haunt
Parameters
getAllCollateralTypes
Query the address of all collaterals that are available universally throughout all haunts
Return Values
collateralBalance
Query the collateral address,balance and escrow contract of an NFT
Only valid for claimed aavegotchis
Parameters
Return Values
increaseStake
Allow the owner of a claimed aavegotchi to increase its collateral stake
Only valid for claimed aavegotchis
Parameters
decreaseStake
Allow the owner of a claimed aavegotchi to decrease its collateral stake
Only valid for claimed aavegotchis Will throw if it is reduced less than the minimum stake
Parameters
decreaseAndDestroy
Allow the owner of an aavegotchi to destroy his aavegotchi and transfer the XP points to another aavegotchi
Only valid for claimed aavegotchisi Name assigned to destroyed aavegotchi is freed up for use by another aavegotch
Parameters
setCollateralEyeShapeSvgId
Set the SVG id for a supported/existing collateral