Pollrow.live_claim: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/pollrow.bend as Pollrow Lines 101-108 of cswap-bend-cli@0.1.0.0/pollrow.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/pollrow.bend&start_line=101&end_line=108 import Base # A fetch lease is live: claimUntil when present, else the legacy 10 s after # lastAttemptAt. def live_claim(claim_until: Maybe<&2, U32>, last_attempt: Maybe<&2, U32>, +now: U32) -> Bool: match claim_until: case Some{c}: U32.is_lt(now, c) case None{}: legacy_claim(last_attempt, now) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/pollrow.bend&name=legacy_claim