Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

markets/v2 package

Overview

Package markets is realm v2 of 67: fully collateralized markets on Gno with a service fee, two-sided expiring quotes, limits, pauses, a resolution window, void refunds and an abandonment exit. It does not discover outcomes: each market trusts its pinned oracle, and a guardian can cancel a proposal for 24 hours before anyone can make it final.

Money only leaves through Claim (to the holder who calls) and WithdrawSurplus (to the market's fixed treasury, after it is final). Nothing can pause them.

Function

BindingHash

func BindingHash(question, rules string) string
Ask AI Claude ChatGPT

Hash UTF-8 length-framed text, shared exactly with the backend source binding.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-sixseven067/markets/v2.BindingHash(,)"

Result