Sjothr startup raises and credit risk market

v0.4.0
io.github.Djangode/sjothr-mcp Checked 1 day ago Published 7 days ago

Sjothr 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.

ParameterTypeDescription
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.

ParameterTypeDescription
action *string
amount *stringUSDC that go to the round vault, digits with an optional decimal point, for example 25.5
campaignId *string
wallet *stringAddress 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.

ParameterTypeDescription
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.

ParameterTypeDescription
wallet *string0x 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…

ParameterTypeDescription
action *string
wallet *stringAddress of the wallet that will sign and send
amountstringUSDC covered (cover)
attestationstringId of the EAS entity attestation issued to this wallet by a recognized verifier, obtained with verify_entity (publish, sign_engagement)
bookDefaultPercentstringShare in default over the same period of all the company's loans of the same kind, in percent (file_report)
criteriaUristringPublic address of the fixed criteria that selected the loans, not their quality (publish)
defaultDaysintegerDays unpaid that make a loan a default (publish)
domainstringOfficial domain of the company, whose certificate names it and which publishes /.well-known/sjothr.json (verify_entity)
findingsobjectThe 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:…
firmstringAddress of an eligible verification firm (publish, replace_firm), listed as verifiedFirms by sjothr_tribunal
firstLossPercentstringShare of the loan book the company keeps first, in percent (publish)
hashstringkeccak256 of the same document's bytes, 0x and 64 hex digits (file_claim, file_report, sign_engagement, attest)
leistringLEI of the company, active in the GLEIF register (verify_entity)
lendingPercentintegerShare of USDC guarantees CantorFi may lend, fixed for life (publish)
licencestringRegulator and licence number of the credit company (attest)
loansarrayLoans of the claim: number in the loan file, total loss in USDC for this loan, first unpaid day YYYY-MM-DD (file_claim)
loansUristringPublic HTTPS, IPFS or Arweave address of the anonymous loan file, CSV loan_id,principal_usdc,rate_bps,maturity,status (publish)
monthsintegerMonths of protection (publish)
namestringPortfolio name (publish)
offerintegerOffer index (withdraw_offer)
offerDaysintegerDays offers stay open (publish)
poolDefaultPercentstringShare of the portfolio's principal in default over the period, in percent, 0 allowed (file_report)
poolIdstringPortfolio id (every action on a portfolio)
positionIdstringPosition id (collect, sell, unlist, buy, release)
premiumstringYearly premium asked, in percent, for example 11.5 (cover)
pricestringSale price in USDC (sell)
reasonsstringWritten 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…
saltstringSecret 0x and 64 hex digits chosen by the juror, the same for vote and reveal (vote, reveal)
signaturestringThe wallet's signature (personal_sign) of the statement returned by verify_entity without signature (verify_entity)
trancheintegerTranche index (cover)
tranchesarrayTranches from the bottom (publish)
uristringPublic 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).

ParameterTypeDescription
poolIdstringPortfolio id: the version of the code fixed when it was published
versionintegerA 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.

ParameterTypeDescription
campaignIdstring

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.

ParameterTypeDescription
action *string
wallet *stringAddress of the wallet that will sign and send
campaignIdstringStartup campaign id (sell, buy)
offerstringOffer id (validate, cancel_offer)
requeststringRequest id (validate, cancel_request)
roundintegerRound the sold tokens come from, 0 for the first round (sell)
tokensstringAmount 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.

ParameterTypeDescription
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.

ParameterTypeDescription
action *string
campaignId *string
wallet *stringAddress of the wallet that will sign and send
roundintegerRound index (vote_release, redeem)
supportbooleantrue for, false against (vote_round, vote_release)
tokensstringAmount 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.

ParameterTypeDescription
wallet *string0x 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…

ParameterTypeDescription
action *string
wallet *stringAddress of the founder wallet that will sign and send
amountstringUSDC to withdraw (withdraw)
campaignIdstringOnly for an invited writer (publish_update): the raise it writes for; the founder wallet's own raise is used otherwise
countrystringTwo-letter country code of the company (create, optional)
daysintegerDays the round stays on sale, counted after the backers' vote when they vote first (create, propose_round)
dossierHashstringkeccak256 of the dossier's exact bytes (create, propose_round)
dossierUristringPublic HTTPS, IPFS or Arweave address of the round dossier (create, propose_round)
filesarrayPublic files of the update with the keccak256 of their exact bytes, taken when they were published: photos, videos, PDF (publish_update)
founderTokensstringFounder's tokens in whole tokens, the only ones created with the raise (create)
goalstringFunding goal of the round in USDC (create, propose_round)
linksarrayPublic proofs of the update: commits, articles, demos, on-chain transactions (publish_update)
listingobjectListing 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)
maxSupplystringMaximum supply in whole tokens, never raised (create)
namestringToken name (create)
registrationNumberstringCompany registration number (create, optional)
roundintegerRound index (request_release, finalize_release, withdraw)
sharePercentstringShare of the supply after the round that the round sells, in percent; sets the price (create, propose_round)
symbolstringToken symbol, uppercase letters and digits (create)
textstringUpdate text (publish_update)
titlestringUpdate title (publish_update)
updatesarrayNumbers of the published updates the request rests on (request_release)
writerstring | nullWallet of the founder's AI agent, or null to remove it (set_writer)

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).

ParameterTypeDescription
id *string