pages / program / lambda_exchange_moonbeam_7665f9299d982912

program · lambda_exchange_moonbeam_7665f9299d982912

canister coord://offchain/genie/program/lambda_exchange_moonbeam_7665f9299d982912@v1/18f924d444b07760 · v1 · artifact root 0x18f924d444b0776063f37f791f8c933722020f1f72a52e210de4ef5431fa52fa · 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-7665f9299d982912) — a Taifoon Lambda as a genie client program: its triggers, reads, acts behind its guards, its vault.
genie lambda_exchange_moonbeam_7665f9299d982912 v1
about "Commerce contract of edge_7665f9299d982912 (wire.reply, moonbeam on 36927): flow:agentic-commerce for one seller (8453:172912, its mcp door) under agreement agr_942cd7c0b288504d (signed): list, pay in, the twelve hops of each sale, metered by meter:exchange-moonbeam-7665f9299d982912; 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_7665f9299d982912 is "Commerce contract of edge_7665f9299d982912 (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_7665f9299d982912 (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_7665f9299d982912 (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_7665f9299d982912 (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, …"