web3-solidity-1.0.1.0: Solidity language for Haskell Web3 library.
CopyrightAleksandr Krupenkin 2016-2024
LicenseApache-2.0
Maintainermail@akru.me
Stabilityexperimental
Portabilityunportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Instances details
(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 # 
Instance details

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 #