Post
Topic
Board Project Development
Calculating Input / Output to Pay Investor £/% Based on Cunsumer BTC Buy.
by
contemptx
on 12/07/2017, 12:00:54 UTC
Hopefully someone gets the gist of the idea and can shed some light on if something like this is possible Wink

Example:

1st: Investor A sends 1BTC to address xxx
2nd: Investor B sends 1BTC to same address xxx
3rd: Investor A send another 1BTC to same address xxx

Customer Buys 2.5BTC from address

How could we track so that the bitcoin used would be from investor A & B first (as those deposits happened first) and then 0.5BTC from Investor A again to supply the customer's bitcoin.

So first deposit is used first if that makes sense?
In short we want to track input / output so we can payout the correct amount / % to the investor... (we want to automate this & not have to run reports manually)

If this is not possible then another solution we are considering is that

Investor A sends 0.70BTC
Investor B send 0.30BTC

= 100%

Customer Buys 0.20BTC = (20%)

Investor A gets (70% of sale)
Investor B gets (30% of sale)

Because the % would be based on how many investors + how much BTC + how much BTC is sold.