package
23.0.12-iavl-v1
Repository: https://github.com/osmosis-labs/osmosis.git
Documentation: pkg.go.dev

# README

CosmWasm support

This package contains CosmWasm integration points.

This package provides first class support for:

  • Queries
    • Denoms
    • Pools
    • Prices
  • Messages / Execution
    • Minting / controlling of new native tokens
    • Swap

Command line interface (CLI)

  • Commands
  osmosisd tx wasm -h
  • Query
  osmosisd query wasm -h

Tests

This contains a few high level tests that x/wasm is properly integrated.

Since the code tested is not in this repo, and we are just testing the application integration (app.go), I figured this is the most suitable location for it.

# Packages

No description provided by the author
No description provided by the author

# Functions

ChangeAdmin is used with changeAdmin to validate changeAdmin messages and to dispatch.
ConvertProtoToJsonMarshal unmarshals the given bytes into a proto message and then marshals it to json.
ConvertSdkCoinsToWasmCoins converts sdk type coins to wasm vm type coins.
ConvertSdkCoinToWasmCoin converts a sdk type coin to a wasm vm type coin.
CustomMessageDecorator returns decorator for custom CosmWasm bindings messages.
CustomQuerier dispatches custom CosmWasm bindings queries.
GetFullDenom is a function, not method, so the message_plugin can use it.
No description provided by the author
IsWhitelistedQuery returns if the query is not whitelisted.
NewQueryPlugin returns a reference to a new QueryPlugin.
PerformBurn performs token burning after validating tokenBurn message.
PerformCreateDenom is used with createDenom to create a token denom; validates the msgCreateDenom.
PerformMint used with mintTokens to validate the mint message and mint through token factory.
No description provided by the author
No description provided by the author
StargateQuerier dispatches whitelisted stargate queries.

# Structs

No description provided by the author
No description provided by the author