Copyright | Alexander Krupenkin 2016 |
---|---|
License | BSD3 |
Maintainer | mail@akru.me |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Web3 ABI encoding data support.
- class ABIEncoding a where
Documentation
class ABIEncoding a where Source #
Contract ABI data codec
toDataBuilder :: a -> Builder Source #
fromDataParser :: Parser a Source #
Encode value into abi-encoding represenation
fromData :: Text -> Maybe a Source #
Parse encoded value
ABIEncoding Bool Source # | |
ABIEncoding Int Source # | |
ABIEncoding Integer Source # | |
ABIEncoding Word Source # | |
ABIEncoding Text Source # | |
ABIEncoding Address Source # | |
ABIEncoding BytesD Source # | |
ABIEncoding NoMethod Source # | |
ABIEncoding a => ABIEncoding [a] Source # | |
KnownNat n => ABIEncoding (BytesN n) Source # | |
(EncodingType a, ABIEncoding a) => ABIEncoding (Singleton a) Source # | |