"However, a cherem that a man shall vow to set aside for G‑d from anything he possesses, whether human or beast"—Leviticus 27:28.
Anything sanctified as cherem must be given to a priest (unless the person specified that it is "cherem to G‑d," in which case it is donated to the Temple coffers).
"No cherem thing...shall be sold"—Leviticus 27:28.
Any object that is sanctified as cherem [and consequently must be given to a priest] may not be sold—even to the Temple treasurer.