unsafe

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: UNKNOWN not legal advice Imports: 0 Imported by: 0

Documentation

Overview

Package unsafe quarantines the stack-walking and tx-origin primitives. See unsafe.gno for the security rationale.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func X_getRealm

func X_getRealm(m *gno.Machine, height int) (address, pkgPath string)

func X_originCaller

func X_originCaller(m *gno.Machine) string

func X_originSend

func X_originSend(m *gno.Machine) (denoms []string, amounts []int64)

X_originSend mirrors the implementation that lived at gnovm/stdlibs/chain/banker.X_originSend. The OriginSend envelope is a tx-origin primitive (see Class-2 in docs/resources/gno-security.md), so its native binding belongs with the other tx-origin natives.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL