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}`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.