pages / program / lambda_exchange_moonbeam_dc9af346c107cc3c

program · lambda_exchange_moonbeam_dc9af346c107cc3c

canister coord://offchain/genie/program/lambda_exchange_moonbeam_dc9af346c107cc3c@v1/d1c36d1f607014f0 · v1 · artifact root 0xd1c36d1f607014f0d34398f6670611a65205f99aa485927a1acafe6c3683f464 · previous none (first version) · superroot at publish not sealed yet

sealed cases that reached it: 0 — sealed cases that reached this word (the store counts, never reads)

the words it says

the source

// generated by genie import from lang/gen/taifoon-lambdas.json (lambda:exchange-moonbeam-dc9af346c107cc3c) — a Taifoon Lambda as a genie client program: its triggers, reads, acts behind its guards, its vault.
genie lambda_exchange_moonbeam_dc9af346c107cc3c v1
about "Commerce contract of edge_dc9af346c107cc3c (wire.reply, moonbeam on 36927): flow:agentic-commerce for one seller (1:52522, its a2a door) under agreement agr_7a06adac324f75d4 (signed): list, pay in, the twelve hops of each sale, metered by meter:exchange-moonbeam-dc9af346c107cc3c; reads, records and unsigned plans only"

use vault vault:taifoon:loop
use chain every
use product lambda.act lambda.read
use guard owner-arm signer-allowlist chain-pin receipt-check outflow-breaker halt-on-failure single-runner idempotent-payouts fixed-addresses vault-owns kms-sign-only role-keys

agent exchange_moonbeam_dc9af346c107cc3c is "Commerce contract of edge_dc9af346c107cc3c (wire.reply, moonbeam on 36927)"
  states idle read settled recorded held
  start idle
  final recorded held
  failed held
  on event lane
  move idle -> read meter lambda.read
  move read -> settled act settler signs evm-carrier settle(bytes32) guard owner-arm signer-allowlist chain-pin receipt-check outflow-breaker halt-on-failure single-runner idempotent-payouts fixed-addresses vault-owns kms-sign-only role-keys via vault:taifoon:loop on every cap 50000 USDC meter lambda.act
  move settled -> recorded
  move * -> held when guard.held == true
  refuse guard_held "a guard held the run; nothing was signed"
  say recorded "Commerce contract of edge_dc9af346c107cc3c (wire.reply, moonbeam on 36927): the run is recorded"
  next idle read "The run starts on its trigger: lane"

vault vault:taifoon:loop
  grid lambda.act per_call 1
  cap USDC every per_tx 50000 per_day 5000000

knowledge
  symptom "Commerce contract of edge_dc9af346c107cc3c (wire.reply, moonbeam on 36927) is held" caused_by "a guard held the run (owner-arm, signer-allowlist, chain-pin, receipt-check, outflow-breaker, halt-on-failure, single-runner, idempotent-payouts, fixed-addresses, vault-owns, kms-sign-only, role-keys)" fixed_by "read the guard by name in the trace, fix its cause, let the next trigger run"
  rule "Commerce contract of edge_dc9af346c107cc3c (wire.reply, moonbeam on 36927) signs only behind owner-arm, signer-allowlist, chain-pin, receipt-check, outflow-breaker, halt-on-failure, single-runner, idempotent-payouts, fixed-addresses, …"