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_originCaller ¶
func X_originSend ¶
X_originSend is the native binding for the OriginSend envelope, a tx-origin primitive (see Class-2 in docs/resources/gno-security.md), so it sits with the other tx-origin natives rather than with the banker.
The expansion below repeats banker.ExpandCoins rather than calling it, so this package need not import the banker it is quarantined from. The two write one wire shape and have to stay in step.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.