Skip to content

DO NOT MERGE: Options

Emergent Reasons requested to merge options into universal-arrangement

First it is probably better to understand the arrangement in !18 (closed) .

This PR shows the diff between my initial options contract and that branch which attempts to make a more universal arrangement of AnyHedge.

The trick here is that the Buyer puts sats (whether long or short) and the Seller puts zero. The contract works either way. It will fail if (for some reason), Buyer tries to redeem when the contract is underwater.

Merge request reports