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.

fees package

Overview

Package fees is the entry-fee rate each account pays on Mimir's pool and VS markets (the gno.land port of contracts/MimirFees.sol).

Everyone pays BaseBps (0.5%) of what they put in. A lower rate needs a fee ticket signed by the signer: "this account is tier T until `expires`". The account submits it with ApplyTicket, normally in the same transaction as its stake. Mimir's server signs no tickets.

Signatures are ed25519 over TicketMessage(account, tier, expires), which binds the chain id and this realm's path, so a ticket cannot be replayed on another network or another deployment.

Trust: the signer can only lower an account's rate (BaseBps is the most anyone pays), so a stolen signer key costs the protocol revenue, never a user money. The owner revokes it at once (RevokeSigner); a new signer waits SignerTimelock, so a stolen owner key cannot install one quietly. Both retire every ticket the old signer issued (each ticket carries the signer epoch it was applied under).

Function

SignerEpoch

func SignerEpoch() int64
Ask AI Claude ChatGPT

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g12dcsmwccgdxasqde2eumua88tlrkw83kqf6tcz/fees.SignerEpoch()"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/g12dcsmwccgdxasqde2eumua88tlrkw83kqf6tcz/fees, for example a function call with arguments.