wasm

package
v11.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// scheme is the URI scheme for the WASM filesystem.
	Scheme = "cosmwasm"
)

Variables

This section is empty.

Functions

func NewFS

func NewFS(ctx context.Context, wasmKeeper types.WasmKeeper) fs.ReadFileFS

NewFS creates a new filesystem that can read data from a WASM contract. The URI should be in the format `cosmwasm:{contractName}:{contractAddr}?query={query}`.

func NewVirtualFile

func NewVirtualFile(name string, content []byte, modTime time.Time) fs.File

Types

This section is empty.

Jump to

Keyboard shortcuts

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