pages / program / flow_token_trade

program · flow_token_trade

canister coord://offchain/genie/program/flow_token_trade@v1/edf7743662915adb · v1 · artifact root 0xedf7743662915adbfa33d9c5c774de111fd455cba6bc6f4a29f96beb0061d45e · 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/lambda-flows.json (flow:token-trade) — a lambda flow as a genie machine: every node a state, every edge a move; a guard node's edge carries its pass; an act node's entry signs behind the lambda's standard arm.
genie flow_token_trade v1
about "Buy or sell a launch token from any golden network: an agent or a person pays on Solana, Base, Arbitrum, Arc or Robinhood; the route bridges to Robinhood Chain and the destination call buys on the curve (sell: the curve, then the route out); a vault agent signs through its vault's guard, anyone else signs the unsigned plan in their …"

use chain eip155:4663 eip155:8453 eip155:42161 eip155:5042

agent token_trade is "Buy or sell a launch token from any golden network"
  states start launch curve route guard_node pay receipt
  start start
  final receipt
  on event ask_node
  move start -> launch component coord-rpc
  move launch -> curve component pons-v2
  move curve -> route component relay
  move route -> guard_node component vault-signer
  move guard_node -> pay component relay
  move pay -> receipt component coord-stream
  next launch curve "then curve"
  next curve route "then route"
  next route guard_node "then guard"
  next guard_node pay "then pay"
  next pay receipt "then receipt"

knowledge
  symptom "Buy or sell a launch token from any golden network stops before its end" caused_by "a guard node did not pass" fixed_by "read the guard's expect in the flow, fix the input, run again"
  rule "Buy or sell a launch token from any golden network: an act node is entered only from a …"