Skip to content

Instantly share code, notes, and snippets.

@SeldeOn
SeldeOn / Playground.hs
Created October 23, 2019 11:12
Plutus Playground Smart Contract
import Language.PlutusTx.Prelude
import Playground.Contract
import Wallet
data MyType = First | Second | Third
deriving (ToSchema, Generic)
myFunction :: MonadWallet m => MyType -> m ()
myFunction myType = logMsg "Message"