Copyright | Aleksandr Krupenkin 2016-2021 |
---|---|
License | Apache-2.0 |
Maintainer | mail@akru.me |
Stability | experimental |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
Data.Solidity.Event
Description
This module is internal, the purpose is to define helper classes and functions to assist in event decoding. The user of this library should have no need to use this directly in application code.
Documentation
class DecodeEvent i ni e | e -> i ni where Source #
Methods
decodeEvent :: ByteArrayAccess ba => [ba] -> ba -> Either String e Source #
Instances
(IndexedEvent i ni e, Generic i, Rep i ~ SOP I '[hli], AbiGet ni, Generic ni, Rep ni ~ SOP I '[hlni], Generic e, Rep e ~ SOP I '[hle], CombineChange i ni e, ArrayParser (SOP I '[hli])) => DecodeEvent (i :: Type) (ni :: Type) e Source # | |
Defined in Data.Solidity.Event Methods decodeEvent :: ByteArrayAccess ba => [ba] -> ba -> Either String e Source # |
class IndexedEvent i ni e | e -> i ni where Source #
Methods
isAnonymous :: Proxy e -> Bool Source #