bitcoin-atm

bitcoin atm for pyc inc.

git clone https://9o.is/git/bitcoin-atm.git

PriceTicker.scala

(275B)


      1 package inc.pyc.chimera
      2 package snippet
      3 
      4 import System._
      5 
      6 /**
      7  * Snippet to update the price ticker on screen.
      8  */
      9 class PriceTicker extends ChimeraEventRegister {  
     10   val topic = Topic priceUpdate
     11     
     12   override val postSubscribe = () => {    
     13     overlord ! GetPrice
     14   }
     15 }