pages / program / venue_x402_solana

program · venue_x402_solana

canister coord://offchain/genie/program/venue_x402_solana@v1/2ae72832e2c3fed5 · v1 · artifact root 0x2ae72832e2c3fed58ddd3592bd940fd1784dfece47e683750945b779d1eca425 · 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/venues-registry.json (x402-solana) — a programmable venue: one sale of the twelve hops through it, settled through the vault that pays on its chain, on every chain that vault caps.
genie venue_x402_solana v1
about "a sale through x402-solana (x402 walls on Solana (USDC SPL) · onchain_market · solana · solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · programmable (adapter lane x402)): twelve hops, the legs of the payment, the seller paid on the venue"

use venue x402-solana
// no vault of the register caps this venue’s chain: the sale records, the layer cannot settle here yet (a register gap genie coverage lists)
use chain every
use product taifoon.api jev.grade
use guard owner-arm receipt-check

agent sale is "one sale through x402-solana"
  states offer_in classify listed hired delivered graded settled legs accrued split paid recorded refused
  start offer_in
  final recorded refused
  failed refused
  on tick 60s
  read GET /v1/venues/:id as venue
  read GET /v1/match/offers as offers
  move offer_in -> classify when offer.price > 0 hop classify venue x402-solana
  move classify -> listed hop listed op POST /v1/listings/discover venue x402-solana
  move listed -> hired when hire.paid == true hop hired op GET /v1/listings/:id venue x402-solana
  move hired -> delivered hop delivered op POST /v1/jobs/:jobId/complete
  move delivered -> graded assure 0.7 meter jev.grade hop graded
  move graded -> settled guard receipt-check hop settled venue x402-solana
  move settled -> legs hop legs
  move legs -> accrued hop accrued
  move accrued -> split hop split
  move split -> paid guard owner-arm hop paid
  move paid -> recorded hop recorded op POST /v1/jobs/:jobId/record
  move * -> refused when venue.known == false
  refuse open_venue "the venue is not one of the sets"
  refuse cap_over "the settle is over the vault's per_tx cap"
  say offer_in "Your offer was read from the venue into the layer"
  say classify "The offer became one class of the class language"
  say listed "The offer is listed under the layer’s name"
  say hired "A buyer paid the wall once (one authorized transfer, at most one unit); the layer served the call"
  say delivered "The answer went back on the same call and was content-checked"
  say graded "System One graded the delivery"
  say settled "The payment is the buyer’s transfer to the payee on the venue’s chain; nothing more settles"
  say legs "The payment left as named legs that sum to it"
  say accrued "Each leg sits on its owner’s account"
  say split "The redirect mode released the share into one batch"
  say paid "The batch was paid, one signature through the vault"
  say recorded "The sale is recorded; its proof sits under the superroot"
  next listed hired "Wait for a buyer: the wall is public, the first paid hire moves the sale"
  next delivered graded "System One grades the delivery; a reject withholds the share"

agreement sale_on_x402_solana
  parties buyer seller layer
  hops offer_in classify listed hired delivered graded settled legs accrued split paid recorded
  leg our_fee 5%
  leg venue_fee 2.5%
  leg seller_share rest
  settle via vault:taifoon:ledger meter taifoon.api
  venue x402-solana
  term "the seller is paid on its own venue"
  term "one payment here is a wall call: the buyer’s one stablecoin transfer with its authorization, at most one unit, answered on the same call"

knowledge
  symptom "the payment did not arrive on the seller venue" caused_by "the settle move stayed behind its guard" fixed_by "arm the vault owner and retry the settle"
  term "x402-solana" is "x402 walls on Solana (USDC SPL) · onchain_market · solana · solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · programmable (adapter lane x402)"
  term "a payment on x402-solana" is "a wall call: the buyer’s one stablecoin transfer with its authorization, at most one unit, answered on the same call"

door "Sell on x402-solana" as sale
  product x402-solana
  locale en
  rule white-label
  step offer_in "Your offer was read from the venue into the layer" next classify
  step classify "The offer became one class of the class language" next listed
  step listed "The offer is listed under the layer’s name" next hired
  step hired "A buyer paid the wall once (one authorized transfer, at most one unit); the layer served the call" next delivered
  step delivered "The answer went back on the same call and was content-checked" next graded
  step graded "System One graded the delivery" next settled
  step settled "The payment is the buyer’s transfer to the payee on the venue’s chain; nothing more settles" next legs
  step legs "The payment left as named legs that sum to it" next accrued
  step accrued "Each leg sits on its owner’s account" next split
  step split "The redirect mode released the share into one batch" next paid
  step paid "The batch was paid, one signature through the vault" next recorded
  step recorded "The sale is recorded; its proof sits under the superroot"
  step refused "The sale was refused; the reason is named"
  handoff "the graph has no next step for this case; a person picks up" booking https://cal.com/taifoon meet https://meet.jit.si room genie-x402-solana