bitcoin-atm
bitcoin atm for pyc inc.
git clone https://9o.is/git/bitcoin-atm.git
Lycia.scala
(614B)
1 package inc.pyc.chimera
2 package lycia
3
4 import System._
5 import inc.pyc.bitcoin._
6 import akka.actor._
7
8 object Lycia {
9
10 val stateWatcher = system.actorOf(Props[StateWatcher])
11
12 def buyLimit: Int = {
13 50//1000
14 }
15
16 def phoneVerifiedBuyLimit: Int = {
17 100//3000
18 }
19
20 def maxBuyLimit: Int = {
21 3000
22 }
23
24 def percentProfit: Percentage = Percentage(5.0)
25
26 def servicePriceTicker: BitcoinService.Value = {
27 // TODO get service configured
28 BitcoinService.BitStamp
29 }
30
31 def serviceWallet: BitcoinService.Value = {
32 // TODO get service configured
33 BitcoinService.BlockChain
34 }
35 }