package
0.2.5
Repository: https://github.com/quadrateorg/core.git
Documentation: pkg.go.dev

# README

CosmWasm support

This package allows for custom queries and custom messages sends from contract.

What is supported

  • Queries:
    • InterchainQueryResult - Get the result of a registered interchain query by query_id
    • InterchainAccountAddress - Get the interchain account address by owner_id and connection_id
    • RegisteredInterchainQueries - all set of registered interchain queries.
    • RegisteredInterchainQuery - registered interchain query with specified query_id
  • Messages:
    • RegisterInterchainAccount - register an interchain account
    • SubmitTx - submit a transaction for execution on a remote chain
    • RegisterInterchainQuery - register an interchain query
    • UpdateInterchainQuery - update an interchain query
    • RemoveInterchainQuery - remove an interchain query

Command line interface (CLI)

  • Commands
  qubed tx wasm -h
  • Query
  qubed q wasm -h

Tests

# Packages

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.
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

# Structs

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