Public ledger
Every sale, payout, cost and report anchor NearBI makes is an event emitted by the revenue splitter contract splitter.nearbi.near. Payments made through NEAR Intents reach it through the settlement forwarder forwarder.nearbi.near, whose events are listed here too. This page lists all of them, each linked to its transaction, and checks the totals against the contract's own counters.
get_stats(), get_config() and get_failed_payouts(). The build fails instead of publishing if any check fails.- ✅ hash chain: 6 lines, head 744a4d4fc0f655eb0c4f1d72498c12edeccfe6f6ccdd66c1a5c0b43dfb95a1d3
- ✅ rows match raw events; split math per sale: all sales: contributors = floor(amount*bps/10000), treasury = amount - contributors
- ✅ totals == get_stats() [17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1]: sales=1, total_received=29000000, contributors_amount=2900000, treasury_amount=26100000, pending_failed=0
- ✅ payouts + pending == received [17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1]: contributors paid 2900000 + treasury paid 26100000 + pending 0 vs received 29000000
- ✅ every sale used the configured split: 1 sales at 1000 bps (init tx 8tp7qUMgGu9X7zbW5Q2ZunofECaQdRw6xiK3gPW3267P, plus config_change events)
- ✅ configured split == get_config(): events say 1000 bps, contract says 1000 bps
- ✅ outstanding failed payouts == get_failed_payouts(): 0 outstanding
- ✅ forwarded events == forwarder get_config(): events 1 orders / 29000000 units, contract 1 / 29000000
- ✅ open orders (in flight + retryable) == get_config().open_orders: events 0, contract 0
- ✅ every forward has its splitter sale (same order_id, amount) and vice versa: 1 forwards, 1 sales from the forwarder
- ✅ forwarder points at this splitter: splitter splitter.nearbi.near, token 17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1, paused False, pending change null
- ✅ append-only (previous ledger is a prefix): 6 previous lines kept, 0 new
Contract stats (get_stats at block 223184676)
| token | sales | total_received | contributors_amount | treasury_amount | pending_failed |
|---|---|---|---|---|---|
| 17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1 | 1 | 29000000 | 2900000 | 26100000 | 0 |
Every event, newest first
| time (UTC) | event | amount | details | transaction | raw event |
|---|---|---|---|---|---|
| 2026-11-03 22:17:50 UTC | forwarded | 29.000000 USDC | Order b2d28dc7-5a26-4380-8f79-f5cce9e9f3f9 forwarded into the splitter | DZVmjroxaR… block 222931526 | rawEVENT_JSON:{"standard":"nearbi_forwarder","version":"1.0.0","event":"forwarded","data":[{"order_id":"b2d28dc7-5a26-4380-8f79-f5cce9e9f3f9","amount":"29000000"}]}receipt 7x8K1QCdTNHGfVHCPBKJnnrUDWuKuLFz5srBZXZ5VUFE · log 0 · line_hash 744a4d4fc0f655eb… |
| 2026-11-03 22:17:50 UTC | payout | 26.100000 USDC | Treasury share of b2d28dc7-5a26-4380-8f79-f5cce9e9f3f9 to nearbi.near | DZVmjroxaR… block 222931526 | rawEVENT_JSON:{"standard":"nearbi_splitter","version":"1.0.0","event":"payout","data":[{"order_id":"b2d28dc7-5a26-4380-8f79-f5cce9e9f3f9","token":"17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1","recipient":"nearbi.near","role":"Treasury","amount":"26100000"}]}receipt EToCee5vqH6ZQyc5bizdEYBRUCJMSZuYKWZdjarYuW7V · log 0 · line_hash a6386e2675fb679b… |
| 2026-11-03 22:17:50 UTC | payout | 2.900000 USDC | Contributors share of b2d28dc7-5a26-4380-8f79-f5cce9e9f3f9 to contributors.nearbi.near | DZVmjroxaR… block 222931526 | rawEVENT_JSON:{"standard":"nearbi_splitter","version":"1.0.0","event":"payout","data":[{"order_id":"b2d28dc7-5a26-4380-8f79-f5cce9e9f3f9","token":"17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1","recipient":"contributors.nearbi.near","role":"Contributors","amount":"2900000"}]}receipt 5nsmUSpzsQdr97Ka524A5SjjbrcbtQ81x2N69mZtnvTV · log 0 · line_hash fb79ab7e1cdcae8f… |
| 2026-11-03 22:17:49 UTC | sale | 29.000000 USDC | Order b2d28dc7-5a26-4380-8f79-f5cce9e9f3f9 paid by forwarder.nearbi.near: contributors 2.900000, treasury 26.100000 (1000 bps) | DZVmjroxaR… block 222931524 | rawEVENT_JSON:{"standard":"nearbi_splitter","version":"1.0.0","event":"sale","data":[{"order_id":"b2d28dc7-5a26-4380-8f79-f5cce9e9f3f9","payer":"forwarder.nearbi.near","token":"17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1","amount":"29000000","contributors_amount":"2900000","treasury_amount":"26100000","split_bps_contributors":1000}]}receipt Bm1GqeuBhA2xGyCHPbmeQBm2Hs2H582W9J8MAmgENJbF · log 0 · line_hash 5b32daba7bde3df5… |
| 2026-11-03 22:17:48 UTC | forward_started | 29.000000 USDC | Forwarding order b2d28dc7-5a26-4380-8f79-f5cce9e9f3f9 into splitter.nearbi.near (attempt 1, by forwarder.nearbi.near) | DZVmjroxaR… block 222931522 | rawEVENT_JSON:{"standard":"nearbi_forwarder","version":"1.0.0","event":"forward_started","data":[{"order_id":"b2d28dc7-5a26-4380-8f79-f5cce9e9f3f9","amount":"29000000","attempt":1,"splitter":"splitter.nearbi.near","token":"17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1","by":"forwarder.nearbi.near"}]}receipt 6J9pFKNoc1JTgbvwTZpYPxWVjRuQtahYfbVEhTFWPGCK · log 0 · line_hash 01224067f2dc05dc… |
| 2026-11-03 16:59:46 UTC | init | Forwarder initialised: splitter splitter.nearbi.near, token 17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1, agent forwarder.nearbi.near, owner nearbi.near, change delay 86400 s | G9yN22f3Zg… block 222898446 | rawEVENT_JSON:{"standard":"nearbi_forwarder","version":"1.0.0","event":"init","data":[{"owner":"nearbi.near","splitter":"splitter.nearbi.near","token":"17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1","agent":"forwarder.nearbi.near","change_delay_sec":"86400"}]}receipt GudhB7mGkEo6ov2ADeiERoXLjSsVxcgXuS9o4yhgncjm · log 0 · line_hash 19ee30fa7fa3a7b8… |
Contract configuration
- contract
- splitter.nearbi.near (v0.1.0)
- owner
- nearbi.near
- treasury
- nearbi.near
- contributors
- contributors.nearbi.near
- split
- 1000 bps contributors / 9000 bps treasury
- accepted tokens
- 17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1
- paused
- no
Settlement forwarder
NEAR Intents delivers each payment as USDC to forwarder.nearbi.near. Its code has one way to move funds: forward(order_id, amount) into the splitter configured below; splitter, token and owner can only change after a public 86400 s timelock.
- contract
- forwarder.nearbi.near (v0.2.0)
- forwards into
- splitter.nearbi.near
- token
- 17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1
- agent
- forwarder.nearbi.near
- owner
- nearbi.near
- change delay
- 86400 s
- pending change
- none
- forwarded
- 1 orders, 29.000000 USDC
- open orders
- 0
- paused
- no
Verify it yourself
ledger.jsonlledger.jsonverify_ledger.py
Each line of ledger.jsonl is one event with its block, transaction, receipt and the exact EVENT_JSON log it came from. Lines are hash-chained: line_hash = sha256(canonical_json(line minus hashes) + prev_hash), starting from 64 zeros, so no past row can be changed or dropped without breaking every later hash. The verifier is standard-library Python:
curl -sO https://nearbi.ai/ledger/ledger.jsonl curl -sO https://nearbi.ai/ledger/verify_ledger.py python3 verify_ledger.py ledger.jsonl # hash chain, split math, totals python3 verify_ledger.py ledger.jsonl --rpc # + re-fetch every event and block from NEAR RPC
Or ask the contract directly:
curl -s https://rpc.mainnet.fastnear.com -H 'content-type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"query","params":{"request_type":"call_function","finality":"final","account_id":"splitter.nearbi.near","method_name":"get_stats","args_base64":"e30="}}' \
| python3 -c 'import sys,json; print(bytes(json.load(sys.stdin)["result"]["result"]).decode())'