Sjothr startup raises and credit risk market
v0.4.0Sjothr on Base: startup raises, credit risk tranches, resale Market, unsigned transactions.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sjothr_campaigns Sjothr fundraising campaigns
Public fundraising campaigns on Sjothr: company token, state, funding goal and capital raised in USDC, deadline and public record page.
sjothr_campaign One Sjothr campaign
Public record of one Sjothr campaign by campaign id: token, vault, funding goal, capital raised, deadline, state and dossier reference.
| Parameter | Type | Description |
|---|---|---|
campaignId * | string |
sjothr_rules How a Sjothr raise works
Rules of a Sjothr raise: who pays which fee, how capital is released in stages by token-holder votes, when backers are refunded, and the risks.
sjothr_prepare Prepare an investment in a Sjothr raise
Unsigned transactions to invest an amount of USDC in one Sjothr raise, from the contract's own quote: the USDC allowance, then the purchase. The 10% fee is paid by the backer on top of the amount. To be signed and sent in order by the user's or the agent's own wallet; nothing is signed or sent by this server.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
amount * | string | USDC that go to the round vault, digits with an optional decimal point, for example 25.5 |
campaignId * | string | |
wallet * | string | Address of the wallet that will sign and send |
sjothr_risk_portfolios Sjothr credit risk portfolios
Verified loan-book portfolios on the Sjothr credit risk market: company first loss, tranches (band, size, covered, yearly premium or premium cap, accepted guarantee), offer deadline, protection dates, lending of the guarantees and page.
sjothr_risk_portfolio One Sjothr credit risk portfolio
One credit risk portfolio by id: its terms and tranches, the open offers of each tranche (premium and amount covered) and the guarantor positions for sale with their price.
| Parameter | Type | Description |
|---|---|---|
poolId * | string |
sjothr_risk_positions Guarantor positions of a wallet
Credit risk positions held by one wallet: portfolio, band, amount covered, guarantee, premium and interest to collect, sale price if listed, released or not.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | 0x address of the wallet |
sjothr_risk_prepare Prepare a credit risk action
Unsigned transactions for one credit risk action, checked against the contract for this wallet. Guarantor: cover (offer on a tranche at a yearly premium), withdraw_offer, collect (premium and interest), sell, unlist, buy, release (after the end), contest (a signed claim, with its bond). Credit company or firm: verify_entity (LEI and official domain, once a year). Credit company: publish (from its public anonymous loan file; the publication fee to Sjothr is allowed first), close_offers, cancel, pay_premium, file_claim (loans in default from the loan file, with the public claim dossier), withdra…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
wallet * | string | Address of the wallet that will sign and send |
amount | string | USDC covered (cover) |
attestation | string | Id of the EAS entity attestation issued to this wallet by a recognized verifier, obtained with verify_entity (publish, sign_engagement) |
bookDefaultPercent | string | Share in default over the same period of all the company's loans of the same kind, in percent (file_report) |
criteriaUri | string | Public address of the fixed criteria that selected the loans, not their quality (publish) |
defaultDays | integer | Days unpaid that make a loan a default (publish) |
domain | string | Official domain of the company, whose certificate names it and which publishes /.well-known/sjothr.json (verify_entity) |
findings | object | The juror's four findings under Sjothr's code, each true (established by the published record) or false (not established, or in doubt), the same for vote and reveal; the contract computes the verdict:… |
firm | string | Address of an eligible verification firm (publish, replace_firm), listed as verifiedFirms by sjothr_tribunal |
firstLossPercent | string | Share of the loan book the company keeps first, in percent (publish) |
hash | string | keccak256 of the same document's bytes, 0x and 64 hex digits (file_claim, file_report, sign_engagement, attest) |
lei | string | LEI of the company, active in the GLEIF register (verify_entity) |
lendingPercent | integer | Share of USDC guarantees CantorFi may lend, fixed for life (publish) |
licence | string | Regulator and licence number of the credit company (attest) |
loans | array | Loans of the claim: number in the loan file, total loss in USDC for this loan, first unpaid day YYYY-MM-DD (file_claim) |
loansUri | string | Public HTTPS, IPFS or Arweave address of the anonymous loan file, CSV loan_id,principal_usdc,rate_bps,maturity,status (publish) |
months | integer | Months of protection (publish) |
name | string | Portfolio name (publish) |
offer | integer | Offer index (withdraw_offer) |
offerDays | integer | Days offers stay open (publish) |
poolDefaultPercent | string | Share of the portfolio's principal in default over the period, in percent, 0 allowed (file_report) |
poolId | string | Portfolio id (every action on a portfolio) |
positionId | string | Position id (collect, sell, unlist, buy, release) |
premium | string | Yearly premium asked, in percent, for example 11.5 (cover) |
price | string | Sale price in USDC (sell) |
reasons | string | Written reasons, 4000 bytes at most: for each finding, true or false, the article of the code and the document that ground it, with the precise fact. Published with the findings at reveal (vote, revea… |
salt | string | Secret 0x and 64 hex digits chosen by the juror, the same for vote and reveal (vote, reveal) |
signature | string | The wallet's signature (personal_sign) of the statement returned by verify_entity without signature (verify_entity) |
tranche | integer | Tranche index (cover) |
tranches | array | Tranches from the bottom (publish) |
uri | string | Public address of the claim dossier, the quarterly report or the engagement (file_claim, file_report, sign_engagement) |
sjothr_tribunal Sjothr credit risk tribunal
Claims of the verified portfolios that guarantors can still contest (loss, dossier, deadline, bond), disputes open to independent jurors (the law that judges it, dossier, loan file, ticket, hidden-vote and open-vote deadlines, verdicts so far) and the verification firms a credit company can choose.
sjothr_code Sjothr credit risk code: the law of the tribunal
Full text of Sjothr's credit risk code with its on-chain fingerprint, and how a juror applies it: what the contract already enforced, the four findings with the evidence to check for each, and the form of the reasons. With poolId: the version that judges that portfolio and whether its company is in breach today (premium owed, report overdue: no claim possible).
| Parameter | Type | Description |
|---|---|---|
poolId | string | Portfolio id: the version of the code fixed when it was published |
version | integer | A version of the code (default: the latest, or the portfolio's) |
sjothr_market Sjothr Market: startup token resale
Resale of startup tokens before their listing, at the price of the startup's current round (not negotiated): tokens offered by holders (offer id, round, amount) and requests of buyers (request id, amount, USDC deposited), for one startup or all of them.
| Parameter | Type | Description |
|---|---|---|
campaignId | string |
sjothr_market_prepare Prepare a Market action
Unsigned transactions for one startup token resale action, checked against the contract for this wallet: sell (deposit tokens of a successful round for sale), buy (allowance, then a request at the current round price), validate (the seller exchanges its offer with a buyer's request), cancel_offer, cancel_request, collect (USDC from completed sales and cancelled requests). Signed and sent by the user's or the agent's own wallet.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
wallet * | string | Address of the wallet that will sign and send |
campaignId | string | Startup campaign id (sell, buy) |
offer | string | Offer id (validate, cancel_offer) |
request | string | Request id (validate, cancel_request) |
round | integer | Round the sold tokens come from, 0 for the first round (sell) |
tokens | string | Amount of tokens, digits with an optional decimal point (sell, buy) |
sjothr_backer A backer's raise
One raise seen from one wallet: its rounds (price, deadline, outcome, vault), the round proposed by the founder with its vote, and the wallet's tokens kept by Sjothr, redeemed and claimed, and its vote.
| Parameter | Type | Description |
|---|---|---|
campaignId * | string | |
wallet * | string |
sjothr_backer_prepare Prepare a backer action
Unsigned transaction for one backer action, checked against the contract for this wallet: vote_round (for or against the round proposed by the founder), vote_release (for or against the capital release requested in a round, with an amount of kept tokens), refund (base contribution of a raise that missed its goal), redeem (remaining capital of a round, against kept tokens). Signed and sent by the user's or the agent's own wallet.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
campaignId * | string | |
wallet * | string | Address of the wallet that will sign and send |
round | integer | Round index (vote_release, redeem) |
support | boolean | true for, false against (vote_round, vote_release) |
tokens | string | Amount of kept tokens (vote_release, redeem) |
sjothr_founder A founder's raise
The raise created by one founder wallet: token supply, each round with its vault (raised, released to the founder, withdrawn, available, voted tranches, release vote in progress), the round proposed to the backers, the writer it invited and the published updates with their author.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | 0x address of the founder wallet |
sjothr_founder_prepare Prepare a founder action
Unsigned transactions for one founder action, checked against the contract for this wallet (publish_update also for the writer the founder invited, with campaignId): create (the company token and its first round, priced from the goal and the share sold; the creation fee to Sjothr is allowed first; optionally the company's country and registration number), propose_round (the next round, or the listing round that opens the token's market at the round price), open_round (after the backers' vote), finalize_round (close the round on sale), publish_update (progress on the public record: what was rea…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
wallet * | string | Address of the founder wallet that will sign and send |
amount | string | USDC to withdraw (withdraw) |
campaignId | string | Only for an invited writer (publish_update): the raise it writes for; the founder wallet's own raise is used otherwise |
country | string | Two-letter country code of the company (create, optional) |
days | integer | Days the round stays on sale, counted after the backers' vote when they vote first (create, propose_round) |
dossierHash | string | keccak256 of the dossier's exact bytes (create, propose_round) |
dossierUri | string | Public HTTPS, IPFS or Arweave address of the round dossier (create, propose_round) |
files | array | Public files of the update with the keccak256 of their exact bytes, taken when they were published: photos, videos, PDF (publish_update) |
founderTokens | string | Founder's tokens in whole tokens, the only ones created with the raise (create) |
goal | string | Funding goal of the round in USDC (create, propose_round) |
links | array | Public proofs of the update: commits, articles, demos, on-chain transactions (publish_update) |
listing | object | Listing round only: share of the round that opens the market (10-50%), creator fees on buys and sells (0-5%), founder lock-up in months (create, propose_round) |
maxSupply | string | Maximum supply in whole tokens, never raised (create) |
name | string | Token name (create) |
registrationNumber | string | Company registration number (create, optional) |
round | integer | Round index (request_release, finalize_release, withdraw) |
sharePercent | string | Share of the supply after the round that the round sells, in percent; sets the price (create, propose_round) |
symbol | string | Token symbol, uppercase letters and digits (create) |
text | string | Update text (publish_update) |
title | string | Update title (publish_update) |
updates | array | Numbers of the published updates the request rests on (request_release) |
writer | string | null | Wallet of the founder's AI agent, or null to remove it (set_writer) |
search Search Sjothr
Search Sjothr campaigns, credit risk portfolios and guides (tokenize a company, raise money for a startup, tokenized equity, milestone-based funding, credit risk); returns ids for fetch.
| Parameter | Type | Description |
|---|---|---|
query * | string |
fetch Fetch a Sjothr campaign, portfolio or guide
Full record of one Sjothr campaign or credit risk portfolio, or full text of one guide, by id (from search).
| Parameter | Type | Description |
|---|---|---|
id * | string |