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.

treasury/v4 package

Overview

Package treasury holds funds and accounts for reservations across independent policies.

Function

PolicyRenderRoute

func PolicyRenderRoute(path, policyPath string) (ProgramView, []string, int64)
Ask AI Claude ChatGPT

PolicyRenderRoute resolves a policy route against the lanes registered to its realm. A bare program route may return several lanes for the caller to display.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1aj9pzthj36aav0kff2zcmx9llapa7ng7xzcfct/shared_budget/treasury/v4.PolicyRenderRoute(,)"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/g1aj9pzthj36aav0kff2zcmx9llapa7ng7xzcfct/shared_budget/treasury/v4, for example a function call with arguments.