Check that multiUpdate affects linkValueSquared uniformly
[rootstock.git] / Fund.hs
blob1ea446036ff078ac0c19a85beaf2a0557491463f
1 {-# LANGUAGE TemplateHaskell #-}
2 module Fund where
3 import Data.Text (Text)
4 import Database.Persist.TH (derivePersistField)
6 data IOULine = IOULine
7 { peerAccount :: Text
8 , lineCurrency :: Text
10 deriving (Show, Eq, Read)
12 data Fund
13 = XRP
14 | IOUFund IOULine
15 deriving (Eq, Read, Show)
16 derivePersistField "Fund"