Shekalim4: 8
הַמַּקְדִּישׁ נְכָסִים, וְהָיוּ בָהֶן דְּבָרִים רְאוּיִין עַל גַּבֵּי הַמִּזְבֵּחַ, יֵינוֹת, שְׁמָנִים וְעוֹפוֹת, רַבִּי אֶלְעָזָר אוֹמֵר: יִמָּכְרוּ לְצָרְכֵי אוֹתוֹ הַמִּין וְיָבִיא בִדְמֵיהֶן עוֹלוֹת, וּשְׁאָר נְכָסִים יִפְּלוּ לְבֶדֶק הַבָּיִת.
[If] one consecrated [his] possessions, and among them were things suitable for the altar, [such as] wines, oils or fowl —- R’ Elazar says: They should be sold to those needing each particular item and their proceeds should be used for burnt-offerings, but the rest of the possessions should go to the upkeep of the Temple.
Shekalim4: 9
אַחַת לִשְׁלֹשִׁים יוֹם מְשַׁעֲרִין אֶת הַלִּשְׁכָּה. כָּל הַמְקַבֵּל עָלָיו לְסַפֵּק סְלָתוֹת מֵאַרְבַּע, עָמְדוּ מִשָּׁלֹשׁ, יְסַפֵּק מֵאַרְבַּע; מִשָּׁלֹשׁ, וְעָמְדוּ מֵאַרְבַּע, יְסַפֵּק מֵאַרְבַּע, שֶׁיַּד הֶקְדֵּשׁ עַל הָעֶלְיוֹנָה.  וְאִם הִתְלִיעָה סֹלֶת, הִתְלִיעָה לוֹ; וְאִם הֶחְמִיץ יַיִן, הֶחְמִיץ לוֹ. וְאֵינוֹ מְקַבֵּל אֶת מְעוֹתָיו עַד שֶׁיְּהֵא הַמִּזְבֵּחַ מְרַצֶּה.
Once every thirty days they would set the price paid by the [treasury] chamber. Whoever undertook to supply fine flour at four [se’ah for a sela], and [the price subsequently] stood at [only] three [se’ah for a sela], must supply at four; [but if he undertook to supply at] three [se’ah for a sela], and [the price subsequently] stood at four, he must supply at four, for the Temple has the upper hand.  [Likewise,] if the fine flour became wormy, the loss is his; and if the wine soured, the loss is his. He does not receive his money until the altar atones.