Ask before
you commit.
Contracts report finished dealings. The network grades them against public criteria. Any other contract reads the result in the same transaction it is deciding in.
curl -s https://genlayer-vouchsafe.vercel.app/vouchsafe.jsonok = VouchsafeIface(VOUCHSAFE).view().qualifies(
borrower, 10, 0, 30, True)
if ok["passes"]:
ratio = 120 # instead of 150Synchronous. Inside the transaction that is already deciding.
No callback, no oracle round trip, no second block. The consuming contract reads the record and keeps going.
NEXT_PUBLIC_VOUCHSAFE_ADDRESS, and every number on this site becomes a contract read. Nothing is shown until then - there is no sample data behind this page.// what it is
A shared counterparty record that other contracts read inline while deciding.
Not an oracle: it answers one fixed question about an address rather than arbitrary questions. Not a social graph: only completed dealings with evidence count.
what the record contains
- Four counters: completed, late, failed, unresolved
- The age of the record, shown beside every count
- Twelve recent entries, each with the evidence it was graded from
- The reporting contract behind each entry
what it deliberately does not
- No score out of ten, and no tier anybody can buy
- No identity claim: it records dealings, not people
- No negative-only view, so it cannot become a blacklist
- No private formula: the criteria are published text
// one transaction, left to right
- 01Report - a party contract submits a dealing with evidence
- 02Grade - outcome judged against published criteria
- 03Store - counters updated, recent entries bounded
- 04Read - another contract calls view() inline
- 05Decide - that contract adjusts its own terms
the moment that sells it
A lending contract reads a borrower’s record inline, sees eleven completed dealings and no unresolved failures, and drops the collateral requirement in the same transaction.
The record never fetches a web page. A dealing is described by the contract that was party to it, and only a contract may report one.
Integrate →