Skip to content

About

Reads a bond's final terms and base prospectus with Meta's Muse models, configures a bond token and checks every payment

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

63 Commits

Folders and files

Repository files navigation

Term Sheet to Token

CI

A tokenized bond pays its investors through code, but what it owes them is written in legal documents. The final terms of a note are a few pages long and point to definitions in a base prospectus of a hundred pages or more: the day count fraction, the business day rules, the record date, how amounts are rounded. Today those terms are keyed into issuance platforms by hand, and a wrong digit becomes a wrong payment to every holder.

Term Sheet to Token reads the final terms together with the base prospectus using Meta's Muse models, resolves the cross-references, and fills a schema aligned with the ICMA Bond Data Taxonomy, with a quote and a page for every field. It then deploys a bond token configured from those terms, runs the whole life of the bond on a local chain (issue, transfers around record dates, every coupon, redemption) and checks each payment against an independent QuantLib calculation and against the amounts printed in the documents. A reviewer sees every term next to the highlighted sentence it came from, and every payment next to the clauses it follows from, approves or corrects each term, and issues the token only when all of them are reviewed and the replay raises no red flag.

take2.mp4
flowchart LR
  docs["Final terms and base prospectus"] --> read["Reading: Muse Spark or Muse Wonder on the Meta Model API, Muse Glimmer on the reviewer's machine"]
  read --> terms["Terms, each with a quote and a page"]
  second["Second reading by another model"] --> checks
  terms --> checks["Checks: quote on the page, value in the text, consistency, disagreements"]
  checks --> review["Review: approve or correct each term"]
  review --> token["BondToken on a local chain: issue, transfers, coupons, redemption"]
  token --> four["Engine, QuantLib, token and documents agree on every payment"]
  four --> record["Issuance record under one hash"]
Loading

Built for the Meta Global AI Developer Hackathon, October to November 2026.

How Meta's models are used

Model Where it runs What it does
Muse Spark Meta Model API (Responses API) Reads the documents of a bond in two ways: in one pass, with all documents in context and a strict JSON schema for the answer, or as an agent that calls four tools (list_documents, search, read_page, submit_terms) until its submission passes validation.
Muse Glimmer Open weights on the reviewer's own machine, through a local chat completions server (LM Studio or llama.cpp) The same agent, for documents that should not leave the building. On a single RTX 5090 it reads a bond in under four minutes.
Muse Wonder Meta Model API (Responses API), in preview The same agent and the same single pass, run on every bond as a second reading beside Spark's: the terms where the two models differ are marked for the reviewer.

Every field the model returns carries the quote it relied on and the page of the document, both where the value is stated (the final terms) and where the term is defined (the base prospectus). Nothing the model says is trusted without a check:

  1. Quote check. Each quote must appear on the page it cites. Quotes are compared word by word; a near match is accepted only if every number in it is unchanged.
  2. Value check. The value itself must be written in the quote or on the cited page, in any of the ways prospectuses write it (22nd October, 2029, CAD750,000,000, GBP 1,000 per Specified Denomination for redemption at 100 per cent, "half a cent being rounded upwards" for a rounding rule). A day count, business day convention or rounding rule is also held against the page that states it: the glossary that defines the term lists every option, so where the stating page names another option, the value is flagged.
  3. Consistency checks. Dates in order, payment dates on the stated cycle, a first interest period shorter than two regular periods, denomination dividing the amount issued, printed coupon amounts reproduced by the day count fraction and rounding rule, known calendars and conventions, and the ISIN against its check digit (for a US or Canadian note also the CUSIP inside it, which has a check digit of its own).
  4. Three-way payment check. Every coupon and the redemption are computed by the schedule engine, by QuantLib, and by the token contract on chain, and compared with the amount printed in the documents where there is one.
  5. Holders of record. Units are moved between three holders the day after one record date and on another record date. Who the contract pays is compared with a separate ledger.
  6. Guards. The contract must reject a payment a minute early, a payment by anyone but the paying agent, a second payment of the same coupon, an early redemption, and a redemption with a coupon unpaid.
  7. Properties. Foundry fuzz tests check the contract on random terms, dates and holdings: the four rounding rules never fall out of order and differ by one minor unit at most, a full year counts as one under 30/360 and 30E/360 and a regular period as one over the frequency under Actual/Actual (ICMA) and RBA Bond Basis, interest rounded once on a whole holding stays within one minor unit per calculation amount of the sum of the per-unit coupons, and a coupon and the redemption pay every unit once whatever is transferred and when. An invariant test drives a bond through thousands of random transfers, clock moves, coupon payments and redemptions and checks after every call that the units are conserved until the redemption burns them, that the only cash leaving the paying agent is the coupons and the redemption on every unit once, and that nothing is paid before its date.

Results

Twenty-five live fixed-rate bonds from 40 public documents. Eighteen were read while the field rules were being written: four IBRD notes (EUR, GBP, AUD, CHF; the EUR note is digitally native), the Hong Kong SAR digital green bonds (USD, EUR, HKD, CNY) and a conventional HKSAR green bond, and notes of ADB, EIB, CEB, KfW, the Republic of Korea, Toyota Motor Credit, John Deere Capital and PACCAR Financial. Seven more were fetched, labelled and read after the rules were frozen: two digitally native EIB notes (EUR on GS DAP, SEK on so|bond), an EIB USD global note, a CEB euro bond, a NIB USD note and two KfW USD global notes.

Check Result
Payments where the engine, QuantLib, the token on chain and the printed amounts agree (verified terms) 205 of 205
Guard probes rejected on chain 125 of 125
Deliberate bugs planted in the bond contract and caught by replaying the 25 bonds and the contract tests 18 of 18
Deliberate errors planted in the verified terms that change a cash flow, flagged before issuance by the page check or a consistency check 302 of 306
Deliberate errors planted in the identifiers (one digit of the ISIN changed), flagged by the check digit before issuance 24 of 24
Verified values found on the page they are cited from 316 of 321
Wrong values in the readings of Spark and Glimmer, marked by a disagreement between the two readings 14 of 22
Wrong values in the readings of Spark and Wonder, marked by a disagreement between the two readings 8 of 14

Reading the documents of the first eighteen bonds (bonds for which the model submitted a full set of terms, field accuracy of those against the verified terms, bonds whose every payment comes out right, quotes found on the cited page, time and cost per bond):

Model and mode Terms submitted Field accuracy All payments right Quotes on page Time per bond Cost per bond
Muse Spark 1.3, agent 18 of 18 99.2% 18 of 18 503 of 530 292 s $0.009
Muse Spark 1.3, one pass 18 of 18 99.7% 18 of 18 478 of 522 81 s $0.015
Muse Wonder 1.0, agent 18 of 18 98.7% 18 of 18 532 of 542 156 s $0.44
Muse Wonder 1.0, one pass 18 of 18 90.2% 5 of 18 542 of 577 34 s $0.43
Muse Glimmer 30B, agent (local) 15 of 18 96.1% 10 of 15 364 of 395 222 s none

Muse Spark ran on the Contributor tier of the Meta Model API (the same model at a lower price, in exchange for the inputs being usable for training; the documents are public). Agent mode costs less than one pass because it reads only the pages it searches for, not the whole prospectus. Muse Wonder ran the same code unchanged.

Of 396 values, the single pass got one wrong and agent mode three. Both modes kept London and Stockholm among the business day centres of the EIB krona note, where the base prospectus says that once T2 is listed only TARGET days count. Agent mode also took the record date of one Hong Kong euro bond from the rule for registered notes instead of the rule for the global certificate held in the clearing system, and wrote the issuer of the KfW note with its seat ("KfW, Frankfurt/Main, Federal Republic of Germany"). None of these changes the amount or the date of a payment, so the replay cannot catch them: this is the kind of error the reviewer is there for.

Muse Wonder as an agent read 391 of the 396 values. Four of its five wrong values are one judgement: the final terms of the IBRD notes leave the Calculation Amount blank, and Wonder filled in the base prospectus rule that it then equals the minimum denomination, where the verified terms keep it blank. The fifth is the business day centres of the EIB krona note, which every reading gets wrong. In one pass, with the whole documents in context and a strict schema for the answer, Wonder was unreliable. In a first run it wrote the rate as a fraction, the redemption as an amount per note and the payment dates as a list of every date, against the formats the schema describes. With the formats repeated in the instructions (the single pass now does this for every model), it put values into the wrong fields instead, a date as the rate or a day count as the redemption amount, or left a value empty while its note gives it. The replay catches most of this: thirteen of the eighteen bonds fail the payment check, and the consistency checks flag 24 of its 39 wrong values. Spark's single pass shows neither problem.

Muse Glimmer, the 30B open-weights model running locally, read fifteen of the eighteen bonds to the end; for three (Deere, IBRD EUR, Toyota) it never produced a complete set of terms within its step budget of 50 steps. With the budget raised to 100 steps (tstt extract --steps 100) it finished those three as well, 64 of their 66 terms and every payment right, at about eight minutes a bond. Of the 330 values it submitted in the first run, 317 are right. Its most frequent mistake is to read "Business Day Convention: Not Applicable" or "not adjusted" as no convention at all, instead of the payment on the next business day that the conditions provide for; that moves payment dates, and the consistency checks flag it. Nine of its thirteen wrong values are flagged before issuance.

The seven bonds fetched and labelled after the field rules were frozen (154 values):

Model and mode Terms submitted Field accuracy All payments right Quotes on page Time per bond Cost per bond
Muse Spark 1.3, agent 7 of 7 98.1% 7 of 7 184 of 184 192 s $0.006
Muse Spark 1.3, one pass 7 of 7 98.1% 7 of 7 200 of 211 83 s $0.008
Muse Wonder 1.0, agent 7 of 7 98.1% 7 of 7 200 of 200 150 s $0.41
Muse Wonder 1.0, one pass 7 of 7 92.2% 3 of 7 194 of 205 30 s $0.34
Muse Glimmer 30B, agent (local) 7 of 7 98.1% 7 of 7 166 of 166 232 s none

The three agent readings and Spark's single pass miss the same values of the EIB krona note, whose conditions are written without the usual labels. Its day count is the 30E/360 wording of the ISDA definitions ("without regard to the date of the first day or last day of the period"), and all four read it as 30/360. Its coupon amounts are rounded "to the nearest SEK (with one half of öre rounded down)", which none of the five rounding rules expresses; the verified terms carry half up as the nearest rounding, all four chose rounding down. Glimmer and Wonder also took the interest periods as adjusted, because the payment dates are defined "subject to the Following Business Day Convention", although the coupon is a fixed amount per note. Agent mode of Spark wrote the KfW issuer with its seat again; its single pass took a clause of the NIB note that rounds the results of interest rate calculations for a rounding of the coupon. None of these changes a payment of the seven bonds; the day count is flagged by the checks, the others are not. Glimmer completed all seven bonds within its step budget, against fifteen of eighteen before.

The four that get through are listed in tstt mutate terms: a financial centre left out of a list, a swapped rounding rule where the documents state none, and a swapped day count where the page that states the term is the glossary of the conditions, which defines every option. A value that is implied rather than written is caught where its consequences show: a redemption read as 101 per cent in a US prospectus that never says "100 per cent" contradicts the clause that the principal amount is payable at maturity, and an interest commencement date read a month early falls before the issue date, which the checks flag. A flag is an error or a warning: an error stops the issuance, on the local replay and on a live chain, and a warning (the page check among them) is shown to the reviewer, who decides.

A wrong digit in the ISIN changes no payment, so the replay cannot see it, and the 24 errors planted in the identifiers (one digit of each ISIN; the PACCAR note has only a CUSIP) are counted apart from the 306 that change a cash flow. The check digit of ISO 6166 catches every one of them, as it does any single wrong digit, and for a US or Canadian note the CUSIP inside the ISIN carries a check digit of its own.

Two readers make different mistakes. On the 22 bonds that both models read to the end as an agent, the two readings together hold 22 wrong values; the readings disagree on 14 of them, the consistency checks flag 11, and one or the other marks 17. The five that pass both are the two business day centres of the EIB krona note, where both models kept London and Stockholm, a record date both took from the rule for registered notes, which the checks flag in one reading only, and the rounding of the second krona note, which both read as rounding down. With Wonder as the second reader, on the 25 bonds that it and Spark read as an agent, the two readings hold 14 wrong values; they disagree on 8, the checks flag 3, and one or the other marks 10. The two models slip on different terms, Wonder on the Calculation Amount of the IBRD notes, Spark on the KfW issuer and the record date of one Hong Kong bond, and each is marked by the other. What passes both is the krona notes again: the business day centres of one and the rounding of the other. The review screen shows a second reading beside the first, by default the other model's, and marks every term where the two differ, so the reviewer looks there first and approves the terms that two readers and the checks agree on quickly (tstt second counts the disagreements). On a marked term the reviewer opens the page the second reading cites and, if it is the right one, takes its value as the correction with one click.

What is in the repository

src/tstt/        Python package and the `tstt` command
  fetch.py       download the documents listed in sources/manifest.json, check SHA-256
  docs.py        split PDF and HTML filings into numbered pages
  terms.py       term schema (ICMA Bond Data Taxonomy names) and validation
  schedule.py    payment schedule engine: day counts, calendars, stubs, rounding
  reference.py   the same schedule built independently with QuantLib
  extract.py     one-pass and agent extraction with Meta's models
  llm.py         clients for the Meta Model API and a local chat completions server
  cite.py        quote check;  evidence.py  value check;  checks.py  consistency checks
  token.py       deploy the token on anvil and run the bond's life
  audit.py       read a deployed token back and compare it with the documents
  verify.py      the per-bond report
  mutate.py      planted errors in terms and planted bugs in the contract
  eval.py        scoring against the verified terms
  second.py      a second reading of the same bond, compared field by field
  web.py         review screen;  review.py  reviewer sign-off and issuance
  issued.py      the issuance record: documents with hashes, reading, decisions, terms, replay;
                 the hash the token carries
  bdt.py         the reviewed terms as an ICMA Bond Data Taxonomy record
contracts/       BondToken.sol and CashToken.sol (Foundry), with unit, fuzz and invariant tests
eval/groundtruth one file of verified terms per bond, each value with its page
eval/results     score of each extraction run behind the tables above, and the comparisons of two runs
eval/readings    the readings of one bond by the three models, for the review screen without an API key
sources/         manifest of the public documents: URL, size, SHA-256
web/             review screen (plain HTML, CSS and JavaScript)

The bond documents themselves are not in the repository; several of them say they may not be redistributed. tstt fetch downloads them from the issuers' and regulators' sites into a folder outside the repository and checks each file against the manifest.

BondToken

One contract per bond. The constructor takes the terms (currency, cash token, issuer, paying agent, units, denomination, calculation amount, rate, frequency, day count fraction, rounding rule, redemption percentage, whether interest is calculated on each holding), the schedule (accrual segments and payment dates with record dates) and the hash of what it is configured from, all as data. The contract then:

  • computes each coupon itself from the day count fraction (Actual/Actual ICMA, 30/360, 30E/360, Actual/365 Fixed, Actual/360, RBA Bond Basis, Actual/Actual Canadian compound) as an exact fraction over the segments of the period, and rounds once per calculation amount with the rule from the documents, or once per holding where the documents calculate interest on each holder's whole holding (the Hong Kong digital bonds, on each Digital Token Account);
  • pays the holders of record at the close of the record date, from balance checkpoints, so a sale after the record date does not move the coupon;
  • lets only the paying agent pay, not before the payment date, and only once;
  • redeems at maturity only after the last coupon is paid, and burns the units;
  • carries the SHA-256 of the documents and the reviewed terms it was configured from: the canonical JSON (keys sorted, no whitespace) of the SHA-256 of each document file by document id and of the reviewed terms by field name. The constructor refuses an empty hash, getTerms() returns it and TermsConfigured emits it. The issuance record shows the same hash beside its own, with the value the deployed token returned, and tstt audit recomputes it from the documents and the terms it is given.

Over the replays of the 25 bonds on anvil, deploying a token took 2.2 to 3.1 million gas (the whole schedule is stored on chain), a coupon to three holders 133 to 245 thousand, and the redemption 188 to 233 thousand. On Sepolia, under the Glamsterdam rules, the same deployment takes about six times as much (see On Sepolia).

Other chains

Everything up to the issuance record knows nothing about a chain. The reading, the checks, the schedule engine, the QuantLib comparison and the reviewer's decisions end in the terms and the payment schedule as data, and the record keeps them with the pages they came from. The chain-specific part is token.py, which turns that data into constructor arguments, deploys on anvil and runs the replay, and the two Solidity contracts.

  • Another EVM chain. The same bytecode deploys on any EVM network, public or a bank's own, with the constructor arguments rebuilt from the issuance record: the record keeps the terms as the constructor took them, and the segments and payments follow from the reviewed terms through the schedule engine. tstt deploy <bond> --rpc URL does this on whatever chain answers at the endpoint, from the account whose key is in DEPLOYER_KEY: the settlement token, the bond token with the hash of the documents and the reviewed terms, and the issue of its units, with a record of the chain, the addresses and the transactions (the IBRD token on Sepolia, below, came out of it). The replay stays on a local chain because it moves the clock through the whole life of the bond; on a live network each coupon is paid on its date. A token already deployed is checked against the documents with tstt audit --rpc URL --address 0x…: it reads the terms, the accrual segments, the payment dates and the terms hash the contract holds and lists every value that differs from the reading, as dates, percentages and named conventions; a token configured from other documents or other terms shows a different hash even where every value agrees.
  • Other platforms. Seven of the 25 bonds were issued on DLT platforms (Euroclear D-FMI, GS DAP, so|bond, HSBC Orion), and the digital bonds of banks run on Canton or on private chains. Those systems take the terms as data, as this contract does. What a port rewrites is the contract's job in that platform's language: holders of record from checkpoints, the coupon from the day count fraction, one payment per date, with the same four-way check of every payment against the engine, QuantLib and the documents.

On Sepolia

IBRD GBP 0.750% 2026 (ISIN XS2113033281) is on the Sepolia test network, deployed with tstt deploy from the verified terms on 2026-11-01: the settlement token, the bond token with the hash of the documents and the reviewed terms, and 1,500,000 units of GBP 1,000 issued to the deployer as the paying agent. The record is contracts/deployments.json.

Bond token 0x5Be460d6bDC6A8444A3DBe204805f3E721c04F9A
Settlement token 0x6394c9FFad6E61FF2C222c115a03fEc31edbAA55
Deployment transaction in block 12,043,973, 15,328,244 gas
Issue transaction
Terms hash f6beda2c26f207ea2f513c5c71a622f95a0a37a617c421b43b3e7974d1d36950

The deployment used 15,328,244 gas, where the same bytecode and arguments use 2,447,054 on anvil: since 6 October 2026 Sepolia runs the Glamsterdam rules, which price the creation of new state several times higher, and the token stores its code and its whole schedule. Estimated the same way on Sepolia, 24 of the 25 bonds fit in one transaction under the cap of 16,777,216 gas; ADB USD 4.250% 2036, with 20 coupon payments, needs 18.4 million and would take a contract that accepts its schedule in parts.

Anyone can check the token against the documents, with the final terms and the prospectus fetched as in Running it:

uv run tstt audit ibrd-gbp-0750-2026 --rpc https://ethereum-sepolia-rpc.publicnode.com --address 0x5Be460d6bDC6A8444A3DBe204805f3E721c04F9A

Running it

Requirements: Python 3.12 or later with uv, and Foundry for forge and anvil.

The review screen for one bond, with the readings of the three models shipped in the repository, needs no API key:

uv sync
cp .env.example .env              # set TSTT_DATA_DIR
uv run tstt fetch --only ibrd-xs2113033281-ft ibrd-gdif-2008   # final terms and prospectus, under 1 MB
uv run tstt parse --only ibrd-xs2113033281-ft ibrd-gdif-2008
uv run tstt import                # the readings of IBRD GBP 0.750% 2026 by Spark, Wonder and Glimmer
uv run tstt serve                 # review screen on http://127.0.0.1:8000

Everything else:

cp .env.example .env              # set TSTT_DATA_DIR, MODEL_API_KEY, SEC_USER_AGENT
uv run tstt fetch                 # download the public documents (about 21 MB)
uv run tstt parse
forge test --root contracts

uv run tstt verify                # deploy and replay all 25 bonds from the verified terms
uv run tstt extract ibrd-gbp-0750-2026 --model hosted --mode agent
HOSTED_MODEL=muse-wonder-1.0 uv run tstt extract ibrd-gbp-0750-2026 --mode agent   # the same reading with Muse Wonder
uv run tstt verify ibrd-gbp-0750-2026 --extraction <data dir>/runs/extractions/agent-muse-spark-1.3-contributor
uv run tstt audit ibrd-gbp-0750-2026 --rpc http://127.0.0.1:8545 --address 0x…   # a deployed token against the documents
uv run tstt deploy ibrd-gbp-0750-2026 --rpc https://…   # the token on a live chain, from the account in DEPLOYER_KEY
uv run tstt extract --held-out    # the seven bonds read after the field rules were frozen
uv run tstt mutate                # planted errors and planted contract bugs
uv run tstt eval                  # score every extraction run
uv run tstt second agent-muse-spark-1.3-contributor agent-muse-glimmer-30b   # where two readings differ
uv run tstt export groundtruth ibrd-gbp-0750-2026 --out ibrd-gbp-0750-2026.bdt.json   # the reviewed terms as an ICMA Bond Data Taxonomy record
uv run tstt serve                 # review screen on http://127.0.0.1:8000

For the local model, load Muse Glimmer in LM Studio (or llama-server), set LOCAL_API_BASE and LOCAL_MODEL, and pass --model local.

The review screen: the terms Muse Spark read from the Hong Kong SAR digital green bond, the pricing supplement page with the sentence it relied on marked, and every coupon with the amounts from the engine, QuantLib, the token and the documents

On the review screen each term is approved or corrected (keys: A approves and moves on, J and K move down and up). A second reading of the bond, by the other model or by Spark in the other mode, is shown beside the first, and the terms where the two differ are marked; the page it cites opens from the term, and its value can be taken as the correction. Corrections to a model's reading are kept beside the run, so the run can still be scored; on the verified terms they are written into eval/groundtruth, and the file is marked verified once every term is reviewed and the bond replays cleanly. Issuing writes an issuance record (runs/issued/<run>/<bond>.json): the documents with their SHA-256, the reading, every decision of the reviewer with the value it replaced, the terms the token was configured with, the page and quote each was read from, and the result of the replay, under one hash. The record also shows the hash the token carries, over the document hashes and the reviewed terms, with the value the deployed token returned. The screen shows the record as a page to read, print or file, and serves the JSON. A question about a payment years later goes back to the page, the reading and the reviewer.

tstt export <run> <bond> writes the reviewed terms of a bond as an ICMA Bond Data Taxonomy record in JSON; the record page offers the same file for download. Its keys follow the taxonomy's element names in the groups PartyGroup, Issuance and Product, with the enumerations written as plain names. The page and quote each term was read from, the reviewer's decisions, the documents with their hashes and the project's own field codes sit in a separate extension object, because the taxonomy has no place for them. The record was aligned with the taxonomy as ICMA's pages describe it (pack 2.1) and is not validated against the schema files.

The review screen listens on 127.0.0.1 only. It answers only requests addressed to localhost and accepts a POST only from its own page, so a page on another site cannot start an extraction that spends API credit.

Every hosted response is recorded with its cost in <data dir>/runs/spend.jsonl. Once the total reaches MODEL_SPEND_LIMIT_USD, no further request is sent, from the command line or the review screen; the limit on the billing page only sends a notification.

Related work

Reading bond documents with models is not new. The World Bank Treasury extracts fields from final terms and compares them with vendor data through the ICMA Bond Data Taxonomy, and a person approves the result (EuroFinance, February 2026). Origin Markets extracts term sheet data with machine learning, and the Deutsche Bundesbank checks collateral eligibility criteria in prospectuses with a language model (arXiv 2606.27316). These stop at the data: none of them configures a token or follows the payments.

The opposite route starts from data. In the DZ BANK and KfW Smart Bond Contract pilot (March 2026) the term sheet is an ICMA Bond Data Taxonomy record stored in the contract, and the legal terms are generated from it (KfW). That works for new issues; the bonds already outstanding exist only as prose.

The closest project is DOS Chain RWA (github.com/DOS/RWA, an entry in a 2026 hackathon): Qwen extracts the parameters of a prospectus, a person reviews them, and an ERC-3643 token is deployed. Its README describes no quotes or pages, no payment schedule, and no coupons computed by the token. Term Sheet to Token is about the check between paper and code: a quote and a page for every term, a contract that computes each payment itself, and a replay of the whole bond against QuantLib and the printed amounts.

Limitations

  • Fixed-rate notes only. Floating rate, zero coupon, amortising and callable notes are out of scope.
  • Record dates defined by a clearing system's business days are computed with the bond's payment calendar.
  • Where a coupon is calculated on the aggregate outstanding amount, the token rounds per unit of the smallest denomination, which can differ by a fraction of a cent per holding.
  • Rounding to a cash unit larger than the currency's minor unit (CHF 0.05) is not modelled.
  • The verified terms were prepared by hand from the documents and may contain mistakes of their own; each value cites its page so it can be checked.
  • The check digit of an ISIN catches a misread digit, not the valid ISIN of another note; that the ISIN read belongs to the bond being issued is for the reviewer to confirm.
  • The field rules given to the models were refined while reading the first eighteen bonds. The seven bonds read afterwards are a small set, and their issuers other than NIB (EIB, CEB, KfW) also appear among the eighteen, so they test unseen documents more than unseen drafting styles.

Where this goes

The reviewer today is the second person who checks a colleague's keying against the PDF. The same reading, evidence and replay serve more than a new issue:

  • Bonds already outstanding exist only as prose. tstt audit runs the check between paper and code for one token on an EVM chain; the same comparison against the terms configured in an issuance system or a custodian's records makes it a control that runs over a whole book of bonds.
  • Validating the ICMA Bond Data Taxonomy record that tstt export writes against the taxonomy's schema files, and the comparison with vendor data that treasuries already run.
  • Who may hold the token. The contract checks holdings and payments, not investors; transfer restrictions and identity (ERC-3643, or the registry the issuer already keeps) sit in front of transfer.
  • Floating-rate, callable and amortising notes: more fields and the fixings of a reference rate, the same quotes and the same replay.
  • A fully local installation, Muse Glimmer with a local chain, for institutions that cannot send documents outside, with the accuracy gap to the hosted model measured as here.

License

Apache License 2.0, see LICENSE.

About

Reads a bond's final terms and base prospectus with Meta's Muse models, configures a bond token and checks every payment

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages