pages / example / covered_job

example · covered_job

canister coord://offchain/genie/program/covered_job@v1/91532ff092a1a169 · v1 · artifact root 0x91532ff092a1a169b690eb6a9c96f28f5f3aaaafc3280d8b2e8bf18ac4ed69da · previous none (first version) · superroot at publish not sealed yet · follows taifoon_assurance

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

the words it says

its helpdesk graph

covered job (a .genie program) in the studio: 7 symptoms, 8 fixes

the source

// _GENIE_v1_ — one covered job on the assurance line: opened on the hook, funded under the quoted cover of the seller's record
// (the assurance pack: every number jev-wilson quoteEconomy's), submitted, graded by System One, settled on Base through the vault that
// caps there, or rejected with the buyer compensated from the deposit. The program follows the register's taifoon_assurance stages.
genie covered_job v1
about "One covered job: Opened, Funded under the quoted cover, Submitted, graded by System One, Settled on Base through the KMS vault, or Rejected with the compensation the cover quoted"

use protocol taifoon_assurance
use venue taifoon-hooks
use chain eip155:8453
use vault vault:taifoon:kms
use product taifoon.api
use guard owner-arm signer-allowlist value-cap receipt-check simulate-first

agent job is "one covered job of the assurance line, buyer to seller, the cover priced for the seller's record"
  follows protocol taifoon_assurance
  states Opened Funded Submitted RejectPending Disputed Settled Rejected Expired Cheat
  start Opened
  final Settled Rejected Expired Cheat
  failed Rejected Expired Cheat
  on lane taifoon_assurance
  read GET /v1/assurance/round as round
  move Opened -> Funded when round.price > 0 cover r5of100-p10 hop hired venue taifoon-hooks op POST /v1/assurance/call
  move Opened -> Expired when round.deadline_passed == true
  move Funded -> Submitted hop delivered op POST /v1/jobs/:jobId/complete
  move Funded -> Expired when round.deadline_passed == true pays no_show
  move Submitted -> Settled assure 0.7 asks spec_met unsupported_claim ending cheat_shaped pays completed act settler signs taifoon-hooks settle(bytes32) guard owner-arm signer-allowlist value-cap receipt-check simulate-first via vault:taifoon:kms on eip155:8453 cap 5000000 USDC meter taifoon.api hop settled
  move Submitted -> RejectPending when grade.verdict == "reject" hop graded
  move Submitted -> Expired when round.deadline_passed == true pays expired_delivered
  move RejectPending -> Disputed when round.disputed == true
  move RejectPending -> Rejected when round.dispute_window_passed == true pays rejected
  move Disputed -> Settled when round.finding == "stands" pays completed
  move Disputed -> Rejected when round.finding == "rejected" pays rejected
  move Disputed -> Cheat when round.finding == "cheat" pays cheated
  refuse not_covered "the seller's record prices no cover: the job runs deposit-only or waits for a graded record"
  say Funded "The price, the premium and the evaluator fee sit in the hook; the seller's deposit stands behind the delivery"
  say Settled "The seller is paid and gets the deposit back; the backers and the layer take their legs of the premium"
  say Rejected "The rejection stands: the buyer is refunded and compensated from the deposit, as the cover quoted"
  next Opened Funded "Fund the job under the cover quoted for the seller's record"
  next Submitted Settled "System One grades the delivery; at 0.7 and above it settles on Base"

knowledge
  symptom "the quote says not covered" caused_by "the seller has no graded record, or the priced cover is over 30 percent of the price" fixed_by "run deposit-only, or pick a seller with a record the pool insures; the quote names the reason"
  symptom "the job is rejected and the buyer sees no compensation" caused_by "the rejection is still pending: the dispute window is open" fixed_by "wait for the window, or dispute; the compensation leaves the deposit when the rejection stands"
  symptom "the settle on Base is refused" caused_by "the move is over the vault's cap or the simulation failed" fixed_by "read the vault's caps and the receipt check; settle within the cap"
  rule "every number of a cover is quoted by the economy for the seller's record; none is typed into a program"

door "Buy a covered job" as job
  product assured-job
  locale en
  api https://coord.taifoon.dev
  rule white-label
  step Opened "Your job is open on the hook; the cover is quoted for the seller's record" next Funded opens Funded
  step Funded "Your price and the premium sit in the hook; the seller's deposit stands behind the delivery" next Submitted
  check GET /v1/assurance/round at round.state exists
  step Submitted "The seller delivered; System One grades it" next Settled opens Settled
  step RejectPending "The reject is pending; the dispute window is open" next Disputed
  step Disputed "A person reads the dispute; the finding settles, rejects or finds cheating" next Settled
  step Settled "The job settled on Base; the receipt is the proof"
  step Rejected "The reject stands; you are refunded and compensated from the deposit"
  step Expired "The deadline passed; the cover lapsed"
  step Cheat "A finding of cheating: the cover pays you up to the cap"
  handoff "a dispute over a grade is a person's case" booking https://cal.com/taifoon meet https://meet.jit.si room genie-covered-job

agreement covered_job
  parties buyer seller evaluator layer
  hops hired delivered graded settled
  leg our_fee 5%
  leg protocol_share 2%
  leg seller_share rest
  settle via vault:taifoon:kms meter taifoon.api
  protocol taifoon_assurance
  venue taifoon-hooks
  term "the premium's legs to the backers and the layer, the deposit and the compensation are the cover's quoted numbers"