For wizards, magic contracts are a commonplace and highly popular method of restraint.
It's ancient, but extremely effective.
In a wizard's world devoid of logic, a credit system maintained by unknown mysteries has stood the test of time and earned the trust of all wizards.
According to the definition in the "Wizard World Encyclopedia", a magical contract is a proof of obligation that is signed with magic as its core, documents, magic array, spells, and witchcraft as an intermediary, witnessed by mysterious existences in the depth of the starry sky, under the mutual recognition of the parties.
Unlike the slave contracts, master-servant contracts, and punishment contracts favored by ancient wizards; modern wizards prefer human-centered equal contracts.