by throwaway405769 · 4y ago · 0 comments
This is part of the smart contract, which has to explicitly define the conditions on which the collateral is confiscated.
Getting real life data reliably into the blockchain is hard, but there are different approaches to solve this.
A more practical approach is to transfer the funds to Bob once he clicks on the checkbox and have some lock-up period, so that Alice has the opportunity to trigger a dispute if she needs to.
Then the dispute can be resolved by a private court (composed of humans) that both Alice and Bob agreed on beforehand. See: https://kleros.io