pages / program / lambda_exchange_moonbeam_3ee45c35c88f1081

program · lambda_exchange_moonbeam_3ee45c35c88f1081

canister coord://offchain/genie/program/lambda_exchange_moonbeam_3ee45c35c88f1081@v1/5a9b43e51aea2d4b · v1 · artifact root 0x5a9b43e51aea2d4bd9ee1c2f149a7ecf739ee811890fcb4fa9ea7bff3ea2d202 · 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-3ee45c35c88f1081) — a Taifoon Lambda as a genie client program: its triggers, reads, acts behind its guards, its vault.
genie lambda_exchange_moonbeam_3ee45c35c88f1081 v1
about "Commerce contract of edge_3ee45c35c88f1081 (wire.reply, moonbeam on 36927): flow:agentic-commerce for one seller (8453:58599, its mcp door) under agreement agr_ad28d87205f61148 (signed): list, pay in, the twelve hops of each sale, metered by meter:exchange-moonbeam-3ee45c35c88f1081; 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_3ee45c35c88f1081 is "Commerce contract of edge_3ee45c35c88f1081 (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_3ee45c35c88f1081 (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_3ee45c35c88f1081 (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_3ee45c35c88f1081 (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, …"