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.

hlfees state

Back to all declarations

namespace

untyped string

Value

"gno.land/r/g1zdaz6sypk5tdsjc2fzsqrrn4ttn8qzmnl4waqp/"

pkgPath

untyped string

// must match gnomod.toml

Value

"gno.land/r/g1zdaz6sypk5tdsjc2fzsqrrn4ttn8qzmnl4waqp/hlfees"

launchTreasurer

.uverse.address

Value

<gnolang.StringValue>

launchGovernor

.uverse.address

launchGovernor is the governor (M1k): the mailbox's, compiled here too so a member reads it in this realm's served source; init refuses a deploy with another. bridge/local/e2e.sh swaps it for gnodev's test1.

Value

<gnolang.StringValue>

treasurer

.uverse.address

Value

<gnolang.StringValue>

treasurerParams

type

Value

hlfees.treasurerParams

cancelParams

type

Value

hlfees.cancelParams

Treasurer

func() .uverse.address
Open
OID
0d6bee…b449:12
Treasurer details

Inspect func

Balances

func() (ugnot int64, bubbles int64)

Balances are the fees held: ugnot and BUBBLE base units.

Open
OID
0d6bee…b449:13
Balances details

Inspect func

Withdraw

func()

Withdraw pays everything held to the treasurer, who alone may call it.

Open
OID
0d6bee…b449:14
Withdraw details

Inspect func

Request

type

Request is what a builder returns (M1k): the proposal GovDAO's proxy executes after the yield (Proposal), and the same decision the governor runs directly before it (Govern); see hlgnot's.

Value

hlfees.Request

who

func(path string, a .uverse.address) string

who names a previous realm in a refusal: its pkgpath, or a user's address.

Open
OID
0d6bee…b449:15
who details

Inspect func

mustBeGovernor

func()

mustBeGovernor is a decision's identity check (M1k), read from the closure's own live cur: the governor's own call until it yields on r/hlmailbox, gno.land/r/gov/dao's proxy exactly after (or from the first block, when no governor was compiled); see hlgnot's.

Open
OID
0d6bee…b449:16
mustBeGovernor details

Inspect func

propose

func(kind string, text string, apply func(...)) hlfees.Request
Open
OID
0d6bee…b449:18
propose details

Inspect func

Govern

func(r hlfees.Request)

Govern is the governor's way in before the yield (M1k): the same closure GovDAO's proxy runs after it, called non-crossing in this frame so it reads the governor from cur.Previous(); refused for anyone else and for everyone once the governor yielded on r/hlmailbox (or when none was compiled); see hlgnot's.

Open
OID
0d6bee…b449:19
Govern details

Inspect func

NewSetTreasurerRequest

func(to .uverse.address) hlfees.Request

NewSetTreasurerRequest names the address that may withdraw, 7 days after the decision is made.

Open
OID
0d6bee…b449:20
NewSetTreasurerRequest details

Inspect func

NewCancelRequest

func(id int64) hlfees.Request

NewCancelRequest cancels a pending decision of this realm, at once.

Open
OID
0d6bee…b449:21
NewCancelRequest details

Inspect func

Execute

func(id int64)

Execute applies a queued decision whose 7 days have passed; anyone may call it.

Open
OID
0d6bee…b449:22
Execute details

Inspect func

Render

func(path string) string

Render: "" the page; "json" the figures; "decisions" and "decisions.json" the decisions.

Open
OID
0d6bee…b449:23
Render details

Inspect func
namespace : untyped string ="gno.land/r/g1zdaz6sypk5tdsjc2fzsqrrn4ttn8qzmnl4waqp/"
pkgPath : untyped string ="gno.land/r/g1zdaz6sypk5tdsjc2fzsqrrn4ttn8qzmnl4waqp/hlfees"
launchTreasurer : .uverse.address =<gnolang.StringValue>
launchGovernor : .uverse.address =<gnolang.StringValue>
treasurer : .uverse.address =<gnolang.StringValue>
ledger : v0.Ledger Inspect
init.6 : func() Inspect
treasurerParams : type =hlfees.treasurerParams
cancelParams : type =hlfees.cancelParams
now : func() int64 Inspect
itoa : func(n int64) string Inspect
Address : func() .uverse.address Inspect
Treasurer : func() .uverse.address Inspect
Balances : func() (ugnot int64, bubbles int64) Inspect
Withdraw : func() Inspect
Request : type =hlfees.Request
who : func(path string, a .uverse.address) string Inspect
mustBeGovernor : func() Inspect
mustBeLive : func() Inspect
propose : func(kind string, text string, apply func(...)) hlfees.Request Inspect
Govern : func(r hlfees.Request) Inspect
NewSetTreasurerRequest : func(to .uverse.address) hlfees.Request Inspect
NewCancelRequest : func(id int64) hlfees.Request Inspect
Execute : func(id int64) Inspect
Render : func(path string) string Inspect