Offer
From The Contingency Market
Overview
The offer to transfer funds contingent on a particular contingency (or even just a deal to do so). This proposes a split and optional fund ceiling and time limit. A commissioner may also be specified to receive a share of positive transfers.
Note: If a commissioner is to pay a share of negative transfers they can make a separate deal and nominate this agent as commissioner. Without their consent, you can only nominate a third party to receive funds.
API Methods
You can register an offer using RegisterOffer().
All registered offers have ids and given just an id you can request full details on the corresponding offer using GetOffer().
You can count all registered offers using CountOffers() and list their details using ListOffers().
You can total all the payments that occur as a consequence of deals involving an offer using TotalPaymentsOnOffer().
Notes
An offer is made by one agent, independently, that specifies a transfer of funds between the agent and acceptor upon success or failure of a potential outcome.
An offer implicitly includes transfers more advantageous to the agent, i.e. more advantageous counter-offers are valid for making deals. It also includes fractions, i.e. all deal amounts may be reduced by the same factor.
An offer may be matched simultaneously in varying amounts by any number of other compatible offers (not just one, although a deal is always limited to a pair of offers).
An offer may effectively specify a sweetener (factored unconditional transfer made on acceptance of deal, irrespective of outcome), and a bonus (unfactored positive transfer made on success of outcome if deal accepted)(Not yet implemented).
An offer can also specify the transfer of one or more small digital items (on acceptance and eventual failure and/or completion). These can be passwords, licenses, certificates, urls, etc.(Not yet implemented)

