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.

cliffvestingdemo/v0 package

Overview

Package cliffvestingdemo is a small gnoweb demo of the vesting calculator provided by the p/moul/x/daily/cliffvesting(/p/nym-moultest123/x/daily/cliffvesting/v0) library: the cliff step, the linear ramp, and integer rounding.

It contains no vesting logic of its own and holds no coins. Stateless, so Render is deterministic — which is precisely what the library is for.

Function

Render

func Render(path string) string
Ask AI Claude ChatGPT

Render renders the demo for gnoweb.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-moultest123/x/daily/cliffvestingdemo/v0.Render()"

Result