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.03 Kb · 21 lines
 1package ebru
 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
18// signature engine, "closed". Core registers every engine closed and the
19// bootstrap leaves it so (deploy/realms/<chain>.json engines.ebru.policy), so
20// only the author key opens collections with it; the author may later
21// license creators (core.GrantLicence) without a new deploy.