# Transparency

Mosaiq holds client funds in a treasury wallet, in pooled venue accounts, and in
token accounts on Hyperliquid. The transparency view of the console reads each
of them from public APIs, in your browser, every minute, and divides their
total by what Mosaiq owes its clients.
Every reserve comes from a public source, not from Mosaiq's servers, so you can
check each figure with the requests on this page. Only the liabilities come
from Mosaiq's ledger.

## Where the funds are

| Location | Account | Asset |
| --- | --- | --- |
| Hyperliquid taker | [`0x3a17bDE82706aaF297A0d721D5c31E4EB3c48B65`](https://app.hyperliquid.xyz/explorer/address/0x3a17bDE82706aaF297A0d721D5c31E4EB3c48B65) | USDC |
| Hyperliquid maker | [`0xa3b5671871105a2aa47be6a5a76c68de70ed0600`](https://app.hyperliquid.xyz/explorer/address/0xa3b5671871105a2aa47be6a5a76c68de70ed0600) | USDC |
| Hyperliquid sub-accounts | Every sub-account of [`0x3a17bDE82706aaF297A0d721D5c31E4EB3c48B65`](https://app.hyperliquid.xyz/explorer/address/0x3a17bDE82706aaF297A0d721D5c31E4EB3c48B65) except the maker | USDC |
| Lighter | [account `693073`](https://app.lighter.xyz/explorer/accounts/693073) | USDC |
| Lighter Robinhood | [account `18320`](https://api.rh.lighter.xyz/api/v1/account?by=index\&value=18320) | USDG |
| Treasury on Arbitrum | [`0xF084946bEb3DB4b709aCfD123692Bf36279D1fA1`](https://arbiscan.io/address/0xF084946bEb3DB4b709aCfD123692Bf36279D1fA1) | USDC |
| Treasury on Robinhood Chain | [`0xF084946bEb3DB4b709aCfD123692Bf36279D1fA1`](https://robinhoodchain.blockscout.com/address/0xF084946bEb3DB4b709aCfD123692Bf36279D1fA1) | USDG |

A Fordefi vault holds the treasury funds on Arbitrum and on Robinhood Chain.
The address of the Hyperliquid taker owns both Lighter accounts, and the
Hyperliquid maker is a sub-account of this address. Until 2026-11-01, this
address was also the treasury.

Each Mosaiq account that trades spot or outcomes has its own token account, a
Hyperliquid sub-account of the taker. A token account holds the token cash of
its Mosaiq account, in USDC. It also holds the spot and outcome tokens that the
Mosaiq account bought. Token accounts carry different names, and some are older
sub-accounts that Mosaiq reused. So the console counts every sub-account of the
taker other than the maker, not a list of addresses or a name pattern. A sub-account that
the taker creates later counts from its creation, with no change to the
console.

## How each balance is read

* Hyperliquid counts the total equity of an account (`marginSummary.accountValue`)
  on core and on each HIP-3 dex Mosaiq trades (`xyz`, `mkts`, `io`, `para`), plus
  the USDC it holds in spot. Each dex keeps its own balance, and the margin of
  isolated positions counts.
* The console lists the Hyperliquid sub-accounts, with their spot balances,
  from the `subAccounts` request on the taker. It counts each one except the
  maker as it counts the taker and the maker. The spot USDC `total`
  includes the USDC that open buys hold.
* Lighter counts the total asset value of an account: collateral, unrealized PnL
  in cross margin, and what isolated positions hold. The console counts an
  account only if the address of the Hyperliquid taker owns it.
* The treasury counts `balanceOf` on the USDC contract on Arbitrum and on the
  USDG contract on Robinhood Chain.
* USDC counts at par. USDG counts at the CoinGecko `global-dollar` price, and a
  price older than an hour leaves USDG out of the total.

## Coverage

Coverage is the reserves divided by `totalUsdc` from
[`GET /v1/liabilities`](/api/liabilities): client equity, withdrawals not paid
yet and deposits waiting for review, read from Mosaiq's ledger at most once a
minute. At 100% or more, every client balance is backed. The console rounds
the coverage down, and shows none while a reserve is unread or a client
position has no fresh price.

```bash
curl -s 'https://production.mosaiq.0d.finance/v1/liabilities' | jq '.data'
```

## Check it yourself

These commands need `curl` and `jq`. Each one sends the same request as the
console.

### Hyperliquid taker

The first command prints the equity on each dex Mosaiq trades. The second prints the USDC held in spot. The balance is their sum.

```bash
for dex in "" "xyz" "mkts" "io" "para"; do curl -s https://api.hyperliquid.xyz/info -H 'content-type: application/json' -d "{\"type\":\"clearinghouseState\",\"user\":\"0x3a17bDE82706aaF297A0d721D5c31E4EB3c48B65\",\"dex\":\"$dex\"}" | jq -r '.marginSummary.accountValue'; done
```

```bash
curl -s https://api.hyperliquid.xyz/info -H 'content-type: application/json' -d '{"type":"spotClearinghouseState","user":"0x3a17bDE82706aaF297A0d721D5c31E4EB3c48B65"}' | jq -r '.balances[] | select(.coin == "USDC") | .total'
```

### Hyperliquid maker

The first command prints the equity on each dex Mosaiq trades. The second prints the USDC held in spot. The balance is their sum.

```bash
for dex in "" "xyz" "mkts" "io" "para"; do curl -s https://api.hyperliquid.xyz/info -H 'content-type: application/json' -d "{\"type\":\"clearinghouseState\",\"user\":\"0xa3b5671871105a2aa47be6a5a76c68de70ed0600\",\"dex\":\"$dex\"}" | jq -r '.marginSummary.accountValue'; done
```

```bash
curl -s https://api.hyperliquid.xyz/info -H 'content-type: application/json' -d '{"type":"spotClearinghouseState","user":"0xa3b5671871105a2aa47be6a5a76c68de70ed0600"}' | jq -r '.balances[] | select(.coin == "USDC") | .total'
```

### Hyperliquid sub-accounts

The first command lists each sub-account of the taker except the maker, with its address, its name, and the USDC it holds in spot. The second prints the equity of these sub-accounts on each dex Mosaiq trades. The balance is the sum of both outputs.

```bash
curl -s https://api.hyperliquid.xyz/info -H 'content-type: application/json' -d '{"type":"subAccounts","user":"0x3a17bDE82706aaF297A0d721D5c31E4EB3c48B65"}' | jq -r '.[] | select((.subAccountUser | ascii_downcase) != "0xa3b5671871105a2aa47be6a5a76c68de70ed0600") | [.subAccountUser, .name, ((.spotState.balances[] | select(.coin == "USDC") | .total) // "0")] | @tsv'
```

```bash
for user in $(curl -s https://api.hyperliquid.xyz/info -H 'content-type: application/json' -d '{"type":"subAccounts","user":"0x3a17bDE82706aaF297A0d721D5c31E4EB3c48B65"}' | jq -r '.[].subAccountUser | select(ascii_downcase != "0xa3b5671871105a2aa47be6a5a76c68de70ed0600")'); do for dex in "" "xyz" "mkts" "io" "para"; do curl -s https://api.hyperliquid.xyz/info -H 'content-type: application/json' -d "{\"type\":\"clearinghouseState\",\"user\":\"$user\",\"dex\":\"$dex\"}" | jq -r --arg user "$user" --arg dex "${dex:-core}" '[$user, $dex, .marginSummary.accountValue] | @tsv'; done; done
```

### Lighter

Prints the total asset value: collateral, unrealized PnL in cross margin, and what isolated positions hold.

```bash
curl -s 'https://mainnet.zklighter.elliot.ai/api/v1/account?by=index&value=693073' | jq -r '.accounts[0].total_asset_value'
```

### Lighter Robinhood

Prints the total asset value: collateral, unrealized PnL in cross margin, and what isolated positions hold.

```bash
curl -s 'https://api.rh.lighter.xyz/api/v1/account?by=index&value=18320' | jq -r '.accounts[0].total_asset_value'
```

### Treasury on Arbitrum

Prints `balanceOf` on the token contract, in micro-units (6 decimals).

```bash
curl -s https://arb1.arbitrum.io/rpc -H 'content-type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{"to":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","data":"0x70a08231000000000000000000000000f084946beb3db4b709acfd123692bf36279d1fa1"},"latest"]}' | jq -r '.result' | xargs printf '%d\n'
```

### Treasury on Robinhood Chain

Prints `balanceOf` on the token contract, in micro-units (6 decimals).

```bash
curl -s https://rpc.mainnet.chain.robinhood.com -H 'content-type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{"to":"0x5fc5360d0400a0fd4f2af552add042d716f1d168","data":"0x70a08231000000000000000000000000f084946beb3db4b709acfd123692bf36279d1fa1"},"latest"]}' | jq -r '.result' | xargs printf '%d\n'
```

### USDG price

Prints the USD price the console values USDG at.

```bash
curl -s 'https://api.coingecko.com/api/v3/simple/price?ids=global-dollar&vs_currencies=usd&include_last_updated_at=true' | jq '.["global-dollar"].usd'
```

## Movements

The console lists 30 days of USDC movements from the public ledger of the
Hyperliquid taker and the Hyperliquid maker, and from the explorer log of the
Lighter account. Rebalancing shows up there as transfers between venues and
accounts. Token cash moves show up in the ledger of the taker as spot transfers
to and from its sub-accounts. The treasury wallets and Lighter Robinhood have
no public log, so their transfers show only when they reach one of those
accounts.

### Hyperliquid taker ledger

```bash
curl -s https://api.hyperliquid.xyz/info -H 'content-type: application/json' -d "{\"type\":\"userNonFundingLedgerUpdates\",\"user\":\"0x3a17bDE82706aaF297A0d721D5c31E4EB3c48B65\",\"startTime\":$(( ($(date +%s) - 2592000) * 1000 ))}"
```

### Hyperliquid maker ledger

```bash
curl -s https://api.hyperliquid.xyz/info -H 'content-type: application/json' -d "{\"type\":\"userNonFundingLedgerUpdates\",\"user\":\"0xa3b5671871105a2aa47be6a5a76c68de70ed0600\",\"startTime\":$(( ($(date +%s) - 2592000) * 1000 ))}"
```

### Lighter log

```bash
curl -s 'https://explorer.elliot.ai/api/accounts/693073/logs?limit=100&offset=0&pub_data_type=L1Deposit,L1DepositV2,L2TransferV2,Withdraw,WithdrawV2'
```

## Limits

* A reading takes a few seconds and about 20 requests, plus 5 for each
  sub-account of the taker other than the maker. A transfer that lands
  during one can be counted twice or missed until the next reading. A reading
  proves nothing about the time between two readings.
* Money in transit, in a bridge or a venue withdrawal, is in no balance until it
  lands, so reserves dip while a rebalance moves funds.
* There is no insurance fund. A loss at a venue or a bridge comes out of
  reserves.
* Only USDC and USDG count. Other tokens these accounts hold, such as HYPE or
  LIT, do not. The token cash in a token account counts. The spot and outcome
  tokens that clients bought there do not, and
  [`GET /v1/liabilities`](/api/liabilities) does not count them either.
* Every Hyperliquid sub-account of the taker counts, including the ones that
  Mosaiq does not trade with. The address of the Hyperliquid taker also owns two
  Lighter sub-accounts that Mosaiq does not trade with. They do not count.
* Liabilities come from Mosaiq's ledger, not from a public source. They differ
  from the reserves in the cases that
  [`GET /v1/liabilities`](/api/liabilities#where-the-figure-and-the-reserves-differ)
  lists, such as a deposit that is in the reserves before its credit.
