Fundamentals of Stablecoin Mechanics & Variants