Cartilage-inspired terpolymer hydrogel with excellent mechanical properties and superior lubricating ability.