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.

giornatev2 source realm

Package giornatev2 is the thin adapter that registers the Giornate II engine (p/…/sinopia/art/giornate/v2, "Wall Scen...

Overview

Package giornatev2 is the thin adapter that registers the Giornate II engine (p/…/sinopia/art/giornate/v2, "Wall Scenes") with core: a fresco wall with a real scene on it, caught mid-work, finished day-patches in pigment over the red sinopia underdrawing.

The adapter is stateless and has no admin: what it renders is fixed by the p/ package it imports, which can never change. Never mark this realm private (design §5.4: a re-deployable adapter could swap the art). Per-chain values (author key, fee) live in config.gno.

Constants 1

const AuthorFeeBps

1const AuthorFeeBps = 100
source

AuthorFeeBps is the author's fee on primary and secondary sales of collections by other creators (engine.Manifest.FeeBps; waived for the author's own collections, capped by core's engine-fee cap). Showcase engines 1 % (decision §6-4).

Functions 1

func Register

crossing Action
1func Register(cur realm) string
source

Register is an explicit call, not init: under the inert package policy init runs inside the approver's transaction (RA B-1). It registers this realm, once. Core accepts it only when the transaction is signed by the manifest author (author, config.gno); with the fingerprint in core's in-source reserved table (r/core config.gno) only that key can ever register this art. No commit reservation, so the salt is "".

Dependencies

Source Files 3