PathrockNetwork Gno Explorer
HomeBlocksTransactionsTokensRealmsPackagesValidatorsAnalytics

PathrockNetwork Gno Explorer — an independent explorer for Gno.land Mainnet (gnoland-1), operated by PathrockNetwork. Not an official Gno.land service.

gnowebarchive RPC

gno.land/p/g17khqpukees4237dtn3astzapmp462vjhsz6st4/datasource

Package
Open in gnoweb ↗

Overview

Kind
Pure package
Name
datasource
Namespace
g17khqpukees4237dtn3astzapmp462vjhsz6st4
Files
6 (README)(gnomod.toml)
Exported functions
n/a — not supported for pure packages by the node (vm/qfuncs)
Module
gno.land/p/g17khqpukees4237dtn3astzapmp462vjhsz6st4/datasource
gno
0.9

Files (6)

  • README.mdmarkdown
  • gnomod.tomltoml
  • datasource.gnogno
  • fields.gnogno
  • iterator.gnogno
  • query.gnogno
fields.gnogno
1package datasource23// NewFieldsFromMap returns read-only fields for a map of field names and values.4//5// The map is wrapped as is and not copied, so changes made to it by the caller6// are also visible through the returned fields.7func NewFieldsFromMap(m map[string]any) Fields {8	return fields{values: m}9}1011type fields struct {12	values map[string]any13}1415func (f fields) Has(name string) bool {16	_, found := f.values[name]17	return found18}1920func (f fields) Get(name string) (value any, found bool) {21	value, found = f.values[name]22	return value, found23}24

Functions

not supported for pure packages by the node (vm/qfuncs)

Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.