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.

gov package

Overview

Package gov is the WIZ GovDAO treasury, token version 4.

Seal on gno.land/r/nym-wizards001/drop sends two sleeves here: the incentive sleeve (7% of supply) and community development (3% plus the pro-rata remainder). A vote spends one sleeve. It cannot spend the other. Liquidity was sent to the address named in Seal, and this realm cannot move it.

Voting weight is the signer's WIZ balance. One vote per address. The window is 7 days, the same duration as drop.VoteWindow. A spend passes when yes beats no and yes reaches drop.Quorum, 10% of the sealed airdrop. There is no withdraw and no listing vote.

Function

Execute

func Execute(cur realm, id int)
Ask AI Claude ChatGPT

Execute closes a finished proposal. A passed spend pays one sleeve. A failed vote moves nothing. Anyone may call it.

Param

Command

# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/nym-wizards001/gov" -func "Execute" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "gnoland-1" -remote "https://rpc.gno.land" ADDRESSgnokey query -remote "https://rpc.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/nym-wizards001/gov" -func "Execute" -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "gnoland-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.gno.land" call.tx