The contract between the plaintiff and Shaw contains this provision : “ If no notice is given, contract to expire on the 31st day of December, 1874.” The notice referred to is the ten days’ notice which the buyer was to give to the seller before he could require a delivery of the oil. No notice having been given, the respondent’s counsel claims that the contract and all the rights and obligations created by it are at an end. Doubtless that conclusion would be correct if the words “ contract to expire ” were used in their literal sense. But the contract thus interpreted was no contract at all, or rather, was a unilateral engagement, binding on the seller only. It imposed no obligation whatever on Shaw, for he had it in his power, by not calling for a delivery, to relieve himself from liability, and that, I understand, is the construction contended for by the defendant’s counsel. The construction seems unreasonable, and it should not be adopted except upon very clear grounds. That the parties contemplated a mutual obligation can hardly be doubted. The very, first word employed by them, “ sold,” imports an agreement binding on both parties; an obligation on the part of Bushnell to deliver the property at the price agreed on, and on the part of Shaw to receive and pay for it. And there is nothing in the agreement indicating that either party was to be relieved from the obligation thus assumed by him, unless the words in question have that effect. The agreement imposed on the seller very serious obligations. He was required to keep the oil on hand, or to procure it whenever notified by the buyer. The brokerage was paid by him pursuant to the terms of the contract. If the contract is terminated he has lost what he paid, and also the entire consideration for which he entered into the agreement. That -the parties regarded the contract as binding upon the buyer as well as the seller seems evident from the fact that the buyer deposited $2,500 with the bank, and procured it to become hable to that amount for his performance of the contract, and on the faith of that arrangement the plaintiff entered into the agreement. We incline to the opinion that the true meaning of the clause in question is that the right to call for the oil on ten days’ notice, and the consequent obligation to deliver it should terminate on the thirty-first of December. Like the stipulation for ten days’ notice, it was inserted for the benefit of the seller. It was *381not intended to provide that the obligation of both parties should absolutely be annulled, or that there should be no remedy thereafter for breaches existing on the thirty-first of December. On that day, as the complaint alleges, the plaintiff tendered the oil to Shaw and demanded pay, and the latter refused, of all which the defendant had notice. That, we think, was a breach of the agreement by Shaw, which, by force of the defendant’s implied undertaking, gave the plaintiff a right of action against the bank.
Another point taken by the respondent’s counsel is, that the contract of the bank was ultra vires. By undertaking to hold the money as security for the fulfillment of Shaw’s contract, -the bank, in our opinion, impliedly promised the plaintiff that, in case Shaw failed to perform, the bank would pay to the plaintiff his damages thereby incurred, not exceeding $2,500. The promise is implied from the terms of the undertaking, and from the fact that the bank caused Shaw’s acceptance, with the indorsement of the bank upon it, to be delivered to the plaintiff before he signed the contract with Shaw. The bank had power to receive the deposit. As an incident to that power, it had authority to assent to any terms or conditions respecting the use or disposal of the money deposited which the depositor saw fit to impose, provided they were not illegal or prohibited by the defendant’s charter. If Shaw had chosen to deposit the money payable absolutely to the plaintiff or his order, the receipt of it by the bank, and the issuing of a certificate in accordance with those terms, would have been strictly within its legitimate and ordinary business. What difference does it make as to the power of the bank to receive and hold the money, that the deposit was payable to the plaintiff upon the happening of a future contingent event, and that the amount to be paid to him was also contingent and uncertain, but was capable of being, definitely ascertained, and was in no event to exceed the amount of -the deposit. It is said that a trust was created. In the same sense there is a trust in the case of every bank deposit by one person to the use or credit of another. It is argued by the respondent’s counsel that the bank became a surety for Shaw. Not at all. Its obligation was that of a principal debtor. It was indebted to Shaw for the money deposited, and it agreed to discharge its indebtedness by paying to the plaintiff. We are not aware of 'any provision of law which *382incapacitates a national bank from receiving a deposit of money on tbe terms above stated.
But assuming that the undertaking of tbe bank was ultra vires, yet, as it was not illegal, we think tbe defendant is estopped from setting up that defense. As, has been said, tbe legal effect of tbe transaction between tbe bank and tbe plaintiff was, that tbe bank agreed, if be would enter into tbe contract with Shaw, that-be should be compensated out of tbe money deposited from any damage be might sustain from Shaw’s failure to perform. Tbe condition on which Shaw made tbe deposit was that tbe bank should undertake to that effect. Tbe agreement of tbe bank was an appropriation by it of tbe deposit to tbe plaintiff’s use, by tbe direction of tbe depositor. Tbe agreement has been fully executed on the part of tbe plaintiff by bis entering into tbe proposed obligation to Shaw. It would be a fraud upon him to release tbe defendant from its part of tbe agreement, and tbe bank is therefore estopped from setting up a mere want of power. (Whitney Arms Co. v. Barlow, 63 N. Y., 62.)
It was not necessary or proper for tbe plaintiff to set out tbe impbed promise of tbe defendant in tbe complaint. It was enough to allege tbe facts out of which tbe implication arises. (Eno v. Woodworth, 4 Comst., 249; Glenny v. Hitchins, 4 How. Pr., 98; Cropsey v. Sweeney, 27 Barb., 310; Moak’s Van Santvoord’s Pl. [3d ed.], 186, and cases there cited.)
These views, if correct,' dispose of tbe several positions taken by tbe learned counsel for tbe respondent.
Tbe judgment appealed from should be reversed, and judgment ordered for tbe plaintiff on tbe demurrer, with leave to tbe defendant to answer in twenty days, on payment of tbe costs of tbe demurrer and of this appeal.
Mullin, P. J., and Talcott,' J., concurred.Ordered accordingly.