At Qingluan Middle School, everything you want can be exchanged for memories.
There is a secret rule circulating in this century-old school: as long as you dare to complete a strange "contract" at midnight - for example, playing a non-existent piece of music in an empty old piano room, or answering a question from the dark in the restricted section of the library - you can instantly obtain the coveted talent, perfect grades, or a heart-warming fate.
But all shortcuts have secretly marked prices. The price of the transaction is the most precious memory in your life.
Lin Wan, a senior high school student, originally didn't believe these campus rumors until she witnessed her best friend forgetting her name as if it had been erased after a "contract". What's even more frightening is that she finds that her memory of her mother also begins to have strange gaps. In order to retrieve the lost memory of his best friend and to protect his own collapsing past, Lin Wan formed an alliance with Chen Mo, the son of the librarian who holds the school's secrets, and entered a dark maze woven with countless rules.
However, they soon discovered that the source of the rules was a living "Book of Contracts." It not only devours memories, but also quietly tamperes with reality. When the people closest to him become strangers one after another, and when his past becomes fragmented, Lin Wan faces the ultimate choice: Should he destroy this twisted rule, let all the abilities obtained through the contract disappear, and plunge society into chaos; or use himself as bait, become a new rule-maker, and endure eternal loneliness?