nwaku/waku/incentivization/eligibility.nim

7 lines
246 B
Nim

import std/options, chronos
import waku/incentivization/[rpc, txid_proof]
proc isEligible*(eligibilityProof: EligibilityProof, ethClient: string): Future[bool] {.async.} =
result = await txidEligiblityCriteriaMet(eligibilityProof, ethClient)