Skip to content Search Apps Documentation Source Content Run Reset Eval Playground 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.

config.gno

1.11 Kb · 22 lines
 1package katman
 2
 3// Deploy-time configuration (mainnet plan §3.1, M-8, M-10, M-27). Staging
 4// (WP-H, deploy/realms/<chain>.json) rewrites this file per chain; the
 5// source carries the Onyx values.
 6
 7// author is the platform engine-author key (S-8: no other role). It signs
 8// Register and ClaimEngine (core requires signer == Manifest.Author, I-14).
 9var author = address("g1nm8kd8hsmp6pr7mudj2c3y2hnmnl8awx7vcz4m") // stage:engineAuthor
10
11// AuthorFeeBps is the author's fee on primary and secondary sales of
12// collections by other creators (engine.Manifest.FeeBps; waived for the
13// author's own collections, capped by core's engine-fee cap). Platform
14// engines: 1 %.
15const AuthorFeeBps = 100
16
17// Access policy (core I-19, docs/mainnet/engine-access-policy.md): a tool
18// engine, "open". Core registers every engine closed; the bootstrap calls
19// core.SetEnginePolicy(<this realm>, "open") with the author key right after
20// ClaimEngine (deploy/realms/<chain>.json engines.katman.policy). Art theft
21// is closed here, not by the policy: a store kit's params are accepted only
22// when core's recorded creator owns the store (GateCreate).