aufacicenta / splitfund-contracts

Sp/itfund is a co-ownership protocol built on NEAR.
https://splitfund.xyz
2 stars 1 forks source link

feat(ConditionalEscrow): deposit should not be allowed new conditions #17

Closed netpoe closed 2 years ago

netpoe commented 2 years ago

This PR introduces new conditions to let a wallet deposit funds or not.

If the attached_deposit exceeds the unpaid_funding_amount, the deposit will fail.

Adds new test to this.