Settlemint · NEAR Protocol

A market that settles itself, to the last yocto.

One resolver key opens a Yes/No event market on NEAR. Stakers commit yoctoNEAR while it is open. When the outcome is known, an operator agent resolves once and pays every winner pro rata in a single pass. The last winner sweeps the rounding dust, so escrow lands at exactly zero and no stake is ever stranded. If the resolver never shows up, anyone can void the market after a grace window and every staker withdraws their own stake. Press run and watch the escrow drain to zero.

Event #0 · resolver.testnet

Does the launch ship before the close block?

Open
Yes
0 NEAR
No
0 NEAR
Escrow conservation 0 / 0 NEAR paid
Escrow held: 0 yocto
7 calls: open, 3 stakes, resolve, 2 settles
Agent activity · NEAR RPC calls
    Artifacts in this repo
    • contract/src/lib.rsNEAR Rust core
    • cargo test23 passing
    • pytest (model + parity)32 passing
    • release WASM205 KB
    • docs/run.jsonthis run
    • mainnetnone (testnet only)

    On-chain event history

    emitted by the contract
    EventAccountyoctoNEARDetail