Copyright | Alexander Krupenkin 2016-2018 |
---|---|
License | BSD3 |
Maintainer | mail@akru.me |
Stability | experimental |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
TemplateHaskell based generator for Ethereum contract ABI.
[abiFrom|data/sample.json|] main = do runWeb3 $ event "0x..." $ (Action2 n x) -> liftIO $ do print n print x wait where wait = threadDelay 1000000 >> wait
- abi :: QuasiQuoter
- abiFrom :: QuasiQuoter
Documentation
abi :: QuasiQuoter Source #
QQ reader for contract ABI
abiFrom :: QuasiQuoter Source #
Read contract ABI from file