https://github.com/aavegotchi/aavegotchi-contracts/blob/master/contracts/Aavegotchi/libraries/LibAppStorage.sol#L303

https://github.com/aavegotchi/aavegotchi-contracts/blob/master/contracts/Aavegotchi/facets/AavegotchiFacet.sol#L18