Ustore.claim_row: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/ustore.bend as Ustore Lines 149-150 of cswap-bend-cli@0.1.0.0/ustore.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/ustore.bend&start_line=149&end_line=150 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/poll.bend as Poll def claim_row(+row: Json.Json, +claim: String, +now: U32) -> Json.Json: Json.set("claimUntil", fl((now + Poll.claim_ttl() : U32)), Json.set("claimId", jstr(claim), Json.set("lastAttemptAt", fl(now), row))) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=set https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/poll.bend&name=claim_ttl https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/ustore.bend&name=fl https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/ustore.bend&name=jstr