wasm

package
v2.17.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: BSD-2-Clause Imports: 30 Imported by: 0

README

Nibiru - /x/wasm

Module x/wasm is Nibiru's Cosmos SDK integration for CosmWasm smart contracts. The package wraps wasmvm, persists code and contract state, exposes gRPC/CLI interfaces, and handles IBC port callbacks. Most of the core lifecycle (store, instantiate, execute, migrate, sudo) comes from the upstream wasmd fork; Nibiru adds chain-specific behavior such as Wasm block hooks.

⚡ NibiruChain/Nibiru/x/wasm
├── 📂 cli              # `nibid` query and tx commands for the wasm module
├── 📂 docs-wasmd       # Vendored upstream wasmd docs (integration, upgrading, events)
├── 📂 exported         # Cross-module interfaces (legacy param subspace)
├── 📂 ibctesting       # Multi-chain IBC test harness for wasm integration tests
├── 📂 ioutils          # Gzip and wasm-bytecode detection for code uploads
├── 📂 keeper           # Core keeper: wasmvm lifecycle, IBC, msg/query servers, ABCI hooks
│   └── 📂 wasmtesting  # Mock wasm engine and keeper doubles for unit tests
├── 📂 testdata         # Shared CosmWasm fixture binaries and embed helpers
├── 📂 testutil         # Path helpers (`FixturePath`) for tests loading fixtures
├── 📂 types            # Module types, params, codec, genesis, protobuf msgs/queries
├── ibc.go              # Port-level IBC handler delegating to keeper callbacks
├── module.go           # AppModule wiring, node flags, ABCI begin/end hooks
├── alias.go            # Deprecated re-exports of types and keeper symbols
├── 01-gov-txs.md       # Governance proposal types for the wasm lifecycle
├── 02-ibc.md           # IBC contract interaction spec
└── README.md

Related paths outside this directory:

  • directory proto/cosmwasm/wasm/v1/ — protobuf definitions for msgs, queries, and genesis
  • directory app/ — module wiring into NibiruApp
  • repo nibi-wasm — Rust smart contracts and package nibiru-std (contract side, not chain module code)

Hacking

Install command just to run repo-level recipes. From the repository root, run command just -l to list them.

Go tests

Run wasm package tests from the repository root:

go test ./x/wasm/...
go test ./x/wasm/keeper

Some tests require a live localnet or CGO-enabled wasmvm. See CLAUDE.md for just test, just test-fast, and localnet setup.

Keeper test file naming

Directory x/wasm/keeper/ uses two test package conventions:

Package Filename pattern Purpose
keeper_test X_test.go External (black-box) tests against the public keeper API
keeper X_unit_test.go Internal unit tests with access to unexported symbols

Package keeper/wasmtesting holds test doubles (mock wasm engine, mock keepers). It is not a test package itself.

Test fixtures
  • Package testdata embeds sample contract bytecode (HackatomContractWasm, ReflectContractWasm, etc.) via file contracts.go
  • Directory x/wasm/testdata/ holds .wasm binaries, gzip fixtures, and the block-hooks tester contract
  • Function FixturePath in package testutil resolves absolute paths under x/wasm/ for CLI and IBC tests

Nibiru-specific behavior: Wasm block hooks

At begin-block and end-block, function AppModule.BeginBlock and function AppModule.EndBlock in file module.go call into keeper methods BeginBlockWasmHooks and EndBlockWasmHooks (file keeper/abci_hooks.go).

flowchart LR
  AppModule --> BeginBlockWasmHooks
  AppModule --> EndBlockWasmHooks
  BeginBlockWasmHooks --> RegistryQuery
  EndBlockWasmHooks --> RegistryQuery
  RegistryQuery --> ValidateCalls
  ValidateCalls --> SudoDispatch

Flow:

  1. Read the registry contract address from SudoKeeper.WasmBlockHooksContract. If unset, the hook is a no-op.
  2. Smart-query the registry with {"begin_block_plan":{}} or {"end_block_plan":{}}.
  3. Decode the response as a list of type WasmSudoMsgCall (contract_addr, msg).
  4. Validate each item (address format, non-empty JSON object payload, size limits). Constants WasmBlockHookMaxDispatches and WasmBlockHookMaxPayloadJSONSize bound the plan.
  5. Execute each valid target via Keeper.Sudo in an isolated cache context. A target failure emits event type wasm_block_hook_failure and does not block later targets.

Tests in file keeper/abci_hooks_test.go exercise this flow against fixture contract wasm_block_hooks_tester.wasm in directory testdata/.

Configuration

Add the following section to file config/app.toml:

[wasm]
# Maximum SDK gas (wasm and storage) allowed for x/wasm smart queries
query_gas_limit = 300000
# Memory cache size for Wasm modules kept in memory to speed up instantiation (MiB, not bytes)
memory_cache_size = 300

The same values can be set via CLI flags on command start:

--wasm.memory_cache_size uint32   # MiB (NOT bytes); 0 disables cache (default 100)
--wasm.query_gas_limit uint       # Max gas for smart queries (default 3000000)

Note: the TOML example above uses query_gas_limit = 300000, while the CLI default is 3000000. Set both explicitly if you need them to match.

Events

Wasm transactions emit several event layers useful for indexers and explorers.

Module message events

Every MsgInstantiateContract or MsgExecuteContract emits a message event tagged with the contract and signer. The module attribute is always wasm. Attribute code_id appears only on instantiate (so you can subscribe to new instances); it is omitted on execute. Attribute action is auto-added by the Cosmos SDK with value store-code, instantiate, or execute:

{
    "Type": "message",
    "Attr": [
        {
            "key": "module",
            "value": "wasm"
        },
        {
            "key": "action",
            "value": "instantiate"
        },
        {
            "key": "signer",
            "value": "cosmos1vx8knpllrj7n963p9ttd80w47kpacrhuts497x"
        },
        {
            "key": "code_id",
            "value": "1"
        },
        {
            "key": "_contract_address",
            "value": "cosmos14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s4hmalr"
        }
    ]
}
Bank transfer events

If funds move to or from a contract as part of the message, standard bank transfer events appear. For example, instantiating with an initial balance in the same MsgInstantiateContract adds:

[
    {
        "Type": "transfer",
        "Attr": [
            {
                "key": "recipient",
                "value": "cosmos14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s4hmalr"
            },
            {
                "key": "sender",
                "value": "cosmos1ffnqn02ft2psvyv4dyr56nnv6plllf9pm2kpmv"
            },
            {
                "key": "amount",
                "value": "100000denom"
            }
        ]
    }
]
Contract custom events

Contracts can emit custom events on execute (not on init). Each contract gets its own wasm event. If one contract calls another, you may see one event per contract. Contract attributes pass through verbatim; the module adds _contract_address with the emitting contract. Example from an escrow contract releasing funds:

{
    "Type": "wasm",
    "Attr": [
        {
            "key": "_contract_address",
            "value": "cosmos14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s4hmalr"
        },
        {
            "key": "action",
            "value": "release"
        },
        {
            "key": "destination",
            "value": "cosmos14k7v7ms4jxkk2etmg9gljxjm4ru3qjdugfsflq"
        }
    ]
}
Pulling this all together

Invoke an escrow contract to release to the designated beneficiary. The escrow was previously loaded with 100000denom. In this transaction, send 5000denom along with MsgExecuteContract; the contract releases the full balance (105000denom) to the beneficiary.

You should see four event groups: (1) transfer of funds to the contract, (2) contract custom event for the release, (3) transfer from contract to beneficiary, and (4) generic x/wasm execute event (always present; the custom event in (2) is optional and only as reliable as the contract):

[
    {
        "Type": "transfer",
        "Attr": [
            {
                "key": "recipient",
                "value": "cosmos14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s4hmalr"
            },
            {
                "key": "sender",
                "value": "cosmos1zm074khx32hqy20hlshlsd423n07pwlu9cpt37"
            },
            {
                "key": "amount",
                "value": "5000denom"
            }
        ]
    },
    {
        "Type": "wasm",
        "Attr": [
            {
                "key": "_contract_address",
                "value": "cosmos14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s4hmalr"
            },
            {
                "key": "action",
                "value": "release"
            },
            {
                "key": "destination",
                "value": "cosmos14k7v7ms4jxkk2etmg9gljxjm4ru3qjdugfsflq"
            }
        ]
    },
    {
        "Type": "transfer",
        "Attr": [
            {
                "key": "recipient",
                "value": "cosmos14k7v7ms4jxkk2etmg9gljxjm4ru3qjdugfsflq"
            },
            {
                "key": "sender",
                "value": "cosmos14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s4hmalr"
            },
            {
                "key": "amount",
                "value": "105000denom"
            }
        ]
    },
    {
        "Type": "message",
        "Attr": [
            {
                "key": "module",
                "value": "wasm"
            },
            {
                "key": "action",
                "value": "execute"
            },
            {
                "key": "signer",
                "value": "cosmos1zm074khx32hqy20hlshlsd423n07pwlu9cpt37"
            },
            {
                "key": "_contract_address",
                "value": "cosmos14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s4hmalr"
            }
        ]
    }
]

Events with the same Type may be merged somewhere in the stack, so you might see one transfer event combining both transfers. Verify against raw transaction logs when indexing.

Further reading

Topic Location
CLI commands (nibid query wasm, nibid tx wasm) directory x/wasm/cli/
REST and gRPC API directory proto/cosmwasm/wasm/v1/
IBC contract model (one port per contract, channel handshake) file 02-ibc.md
Governance proposals for wasm lifecycle file 01-gov-txs.md
Upstream wasmd integration and upgrading notes directory docs-wasmd/
Rust contracts and nibiru-std repo nibi-wasm

Documentation

Overview

autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Cosmwasm/wasmd/x/wasm/types ALIASGEN: github.com/NibiruChain/nibiru/v2/x/wasm/keeper

Index

Constants

View Source
const (
	// Deprecated: Do not use.
	ModuleName = types.ModuleName
	// Deprecated: Do not use.
	StoreKey = types.StoreKey
	// Deprecated: Do not use.
	TStoreKey = types.TStoreKey
	// Deprecated: Do not use.
	QuerierRoute = types.QuerierRoute
	// Deprecated: Do not use.
	RouterKey = types.RouterKey
	// Deprecated: Do not use.
	WasmModuleEventType = types.WasmModuleEventType
	// Deprecated: Do not use.
	AttributeKeyContractAddr = types.AttributeKeyContractAddr
)

Variables

View Source
var (
	// functions aliases
	// Deprecated: Do not use.
	RegisterCodec = types.RegisterLegacyAminoCodec
	// Deprecated: Do not use.
	RegisterInterfaces = types.RegisterInterfaces
	// Deprecated: Do not use.
	ValidateGenesis = types.ValidateGenesis
	// Deprecated: Do not use.
	GetCodeKey = types.GetCodeKey
	// Deprecated: Do not use.
	GetContractAddressKey = types.GetContractAddressKey
	// Deprecated: Do not use.
	GetContractStorePrefixKey = types.GetContractStorePrefix
	// Deprecated: Do not use.
	NewCodeInfo = types.NewCodeInfo
	// Deprecated: Do not use.
	NewAbsoluteTxPosition = types.NewAbsoluteTxPosition
	// Deprecated: Do not use.
	NewContractInfo = types.NewContractInfo
	// Deprecated: Do not use.
	NewEnv = types.NewEnv
	// Deprecated: Do not use.
	NewWasmCoins = types.NewWasmCoins
	// Deprecated: Do not use.
	DefaultWasmConfig = types.DefaultWasmConfig
	// Deprecated: Do not use.
	DefaultParams = types.DefaultParams
	// Deprecated: Do not use.
	InitGenesis = keeper.InitGenesis
	// Deprecated: Do not use.
	ExportGenesis = keeper.ExportGenesis
	// Deprecated: Do not use.
	NewMessageHandler = keeper.NewDefaultMessageHandler
	// Deprecated: Do not use.
	DefaultEncoders = keeper.DefaultEncoders
	// Deprecated: Do not use.
	EncodeBankMsg = keeper.EncodeBankMsg
	// Deprecated: Do not use.
	NoCustomMsg = keeper.NoCustomMsg
	// Deprecated: Do not use.
	EncodeStakingMsg = keeper.EncodeStakingMsg
	// Deprecated: Do not use.
	EncodeWasmMsg = keeper.EncodeWasmMsg
	// Deprecated: Do not use.
	NewKeeper = keeper.NewKeeper
	// Deprecated: Do not use.
	DefaultQueryPlugins = keeper.DefaultQueryPlugins
	// Deprecated: Do not use.
	BankQuerier = keeper.BankQuerier
	// Deprecated: Do not use.
	NoCustomQuerier = keeper.NoCustomQuerier
	// Deprecated: Do not use.
	StakingQuerier = keeper.StakingQuerier
	// Deprecated: Do not use.
	WasmQuerier = keeper.WasmQuerier
	// Deprecated: Do not use.
	NewQuerier = keeper.Querier
	// Deprecated: Do not use.
	ContractFromPortID = keeper.ContractFromPortID
	// Deprecated: Do not use.
	WithWasmEngine = keeper.WithWasmEngine
	// Deprecated: Do not use.
	NewCountTXDecorator = keeper.NewCountTXDecorator

	// variable aliases
	// Deprecated: Do not use.
	ModuleCdc = types.ModuleCdc
	// Deprecated: Do not use.
	DefaultCodespace = types.DefaultCodespace
	// Deprecated: Do not use.
	ErrCreateFailed = types.ErrCreateFailed
	// Deprecated: Do not use.
	ErrAccountExists = types.ErrAccountExists
	// Deprecated: Do not use.
	ErrInstantiateFailed = types.ErrInstantiateFailed
	// Deprecated: Do not use.
	ErrExecuteFailed = types.ErrExecuteFailed
	// Deprecated: Do not use.
	ErrGasLimit = types.ErrGasLimit
	// Deprecated: Do not use.
	ErrInvalidGenesis = types.ErrInvalidGenesis
	// Deprecated: Do not use.
	ErrNotFound = types.ErrNotFound
	// Deprecated: Do not use.
	ErrQueryFailed = types.ErrQueryFailed
	// Deprecated: Do not use.
	ErrInvalidMsg = types.ErrInvalidMsg
	// Deprecated: Do not use.
	KeyLastCodeID = types.KeySequenceCodeID
	// Deprecated: Do not use.
	KeyLastInstanceID = types.KeySequenceInstanceID
	// Deprecated: Do not use.
	CodeKeyPrefix = types.CodeKeyPrefix
	// Deprecated: Do not use.
	ContractKeyPrefix = types.ContractKeyPrefix
	// Deprecated: Do not use.
	ContractStorePrefix = types.ContractStorePrefix
)

Functions

func AddModuleInitFlags

func AddModuleInitFlags(startCmd *cobra.Command)

AddModuleInitFlags implements servertypes.ModuleInitFlags interface.

func CheckLibwasmVersion

func CheckLibwasmVersion(wasmExpectedVersion string) error

CheckLibwasmVersion ensures that the libwasmvm version loaded at runtime matches the version of the in-tree libwasmvm Rust crate. This is useful when dealing with shared libraries that are copied or moved from their default location, e.g. when building the node on one machine and deploying it to other machines.

Usually the libwasmvm version (the Rust project) and wasmvm version (the Go project) match. However, there are situations in which this is not the case. This can be during development or if one of the two is patched. In such cases it is advised to not execute the check.

An alternative method to obtain the libwasmvm version loaded at runtime is executing `wasmd query wasm libwasmvm-version`.

func ReadWasmConfig

func ReadWasmConfig(opts servertypes.AppOptions) (types.WasmConfig, error)

ReadWasmConfig reads the wasm specifig configuration

func ValidateChannelParams

func ValidateChannelParams(channelID string) error

Types

type AppModule

type AppModule struct {
	AppModuleBasic
	// contains filtered or unexported fields
}

AppModule implements an application module for the wasm module.

func NewAppModule

func NewAppModule(
	cdc codec.Codec,
	keeper *keeper.Keeper,
	validatorSetSource keeper.ValidatorSetSource,
	ak types.AccountKeeper,
	bk any,
	router *baseapp.MsgServiceRouter,
	ss exported.Subspace,
) AppModule

NewAppModule creates a new AppModule object

func (AppModule) BeginBlock

func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock)

BeginBlock returns the begin blocker for the wasm module.

func (AppModule) ConsensusVersion

func (AppModule) ConsensusVersion() uint64

ConsensusVersion is a sequence number for state-breaking change of the module. It should be incremented on each consensus-breaking change introduced by the module. To avoid wrong/empty versions, the initial version should be set to 1.

func (AppModule) EndBlock

EndBlock returns the end blocker for the wasm module. It returns no validator updates.

func (AppModule) ExportGenesis

func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage

ExportGenesis returns the exported genesis state as raw bytes for the wasm module.

func (AppModule) GenerateGenesisState

func (AppModule) GenerateGenesisState(simState *module.SimulationState)

GenerateGenesisState creates a randomized GenState of the bank module.

func (AppModule) InitGenesis

func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, data json.RawMessage) []abci.ValidatorUpdate

InitGenesis performs genesis initialization for the wasm module. It returns no validator updates.

func (AppModule) IsAppModule

func (am AppModule) IsAppModule()

IsAppModule implements the appmodule.AppModule interface.

func (AppModule) IsOnePerModuleType

func (am AppModule) IsOnePerModuleType()

IsOnePerModuleType implements the depinject.OnePerModuleType interface.

func (AppModule) ProposalMsgs

func (am AppModule) ProposalMsgs(simState module.SimulationState) []simtypes.WeightedProposalMsg

ProposalMsgs returns msgs used for governance proposals for simulations.

func (AppModule) QuerierRoute

func (AppModule) QuerierRoute() string

QuerierRoute returns the wasm module's querier route name.

func (AppModule) RegisterInvariants

func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry)

RegisterInvariants registers the wasm module invariants.

func (AppModule) RegisterServices

func (am AppModule) RegisterServices(cfg module.Configurator)

func (AppModule) RegisterStoreDecoder

func (am AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)

RegisterStoreDecoder registers a decoder for supply module's types

func (AppModule) WeightedOperations

func (am AppModule) WeightedOperations(simState module.SimulationState) []simtypes.WeightedOperation

WeightedOperations returns the all the gov module operations with their respective weights.

type AppModuleBasic

type AppModuleBasic struct{}

AppModuleBasic defines the basic application module used by the wasm module.

func (AppModuleBasic) DefaultGenesis

func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage

DefaultGenesis returns default genesis state as raw bytes for the wasm module.

func (AppModuleBasic) GetQueryCmd

func (b AppModuleBasic) GetQueryCmd() *cobra.Command

GetQueryCmd returns no root query command for the wasm module.

func (AppModuleBasic) GetTxCmd

func (b AppModuleBasic) GetTxCmd() *cobra.Command

GetTxCmd returns the root tx command for the wasm module.

func (AppModuleBasic) Name

func (AppModuleBasic) Name() string

Name returns the wasm module's name.

func (AppModuleBasic) RegisterGRPCGatewayRoutes

func (b AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, serveMux *runtime.ServeMux)

func (AppModuleBasic) RegisterInterfaces

func (b AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry)

RegisterInterfaces implements InterfaceModule

func (AppModuleBasic) RegisterLegacyAminoCodec

func (b AppModuleBasic) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)

func (AppModuleBasic) ValidateGenesis

func (b AppModuleBasic) ValidateGenesis(marshaler codec.JSONCodec, _ client.TxEncodingConfig, message json.RawMessage) error

ValidateGenesis performs genesis state validation for the wasm module.

type BankEncoder deprecated

type BankEncoder = keeper.BankEncoder

Deprecated: Do not use.

type Code deprecated

type Code = types.Code

Deprecated: Do not use.

type CodeInfo deprecated

type CodeInfo = types.CodeInfo

Deprecated: Do not use.

type CodeInfoResponse deprecated

type CodeInfoResponse = types.CodeInfoResponse

Deprecated: Do not use.

type Config deprecated

type Config = types.WasmConfig

Deprecated: Do not use.

type Contract deprecated

type Contract = types.Contract

Deprecated: Do not use.

type ContractInfo deprecated

type ContractInfo = types.ContractInfo

Deprecated: Do not use.

type CreatedAt deprecated

type CreatedAt = types.AbsoluteTxPosition

Deprecated: Do not use.

type CustomEncoder deprecated

type CustomEncoder = keeper.CustomEncoder

Deprecated: Do not use.

type CustomQuerier deprecated

type CustomQuerier = keeper.CustomQuerier

Deprecated: Do not use.

type GenesisState deprecated

type GenesisState = types.GenesisState

Deprecated: Do not use.

type IBCHandler

type IBCHandler struct {
	// contains filtered or unexported fields
}

func NewIBCHandler

func NewIBCHandler(k types.IBCContractKeeper, ck types.ChannelKeeper, vg appVersionGetter) IBCHandler

func (IBCHandler) OnAcknowledgementPacket

func (i IBCHandler) OnAcknowledgementPacket(
	ctx sdk.Context,
	packet channeltypes.Packet,
	acknowledgement []byte,
	relayer sdk.AccAddress,
) error

OnAcknowledgementPacket implements the IBCModule interface

func (IBCHandler) OnChanCloseConfirm

func (i IBCHandler) OnChanCloseConfirm(ctx sdk.Context, portID, channelID string) error

OnChanCloseConfirm implements the IBCModule interface

func (IBCHandler) OnChanCloseInit

func (i IBCHandler) OnChanCloseInit(ctx sdk.Context, portID, channelID string) error

OnChanCloseInit implements the IBCModule interface

func (IBCHandler) OnChanOpenAck

func (i IBCHandler) OnChanOpenAck(
	ctx sdk.Context,
	portID, channelID string,
	counterpartyChannelID string,
	counterpartyVersion string,
) error

OnChanOpenAck implements the IBCModule interface

func (IBCHandler) OnChanOpenConfirm

func (i IBCHandler) OnChanOpenConfirm(ctx sdk.Context, portID, channelID string) error

OnChanOpenConfirm implements the IBCModule interface

func (IBCHandler) OnChanOpenInit

func (i IBCHandler) OnChanOpenInit(
	ctx sdk.Context,
	order channeltypes.Order,
	connectionHops []string,
	portID string,
	channelID string,
	chanCap *capabilitytypes.Capability,
	counterParty channeltypes.Counterparty,
	version string,
) (string, error)

OnChanOpenInit implements the IBCModule interface

func (IBCHandler) OnChanOpenTry

func (i IBCHandler) OnChanOpenTry(
	ctx sdk.Context,
	order channeltypes.Order,
	connectionHops []string,
	portID, channelID string,
	chanCap *capabilitytypes.Capability,
	counterParty channeltypes.Counterparty,
	counterpartyVersion string,
) (string, error)

OnChanOpenTry implements the IBCModule interface

func (IBCHandler) OnRecvPacket

func (i IBCHandler) OnRecvPacket(
	ctx sdk.Context,
	packet channeltypes.Packet,
	relayer sdk.AccAddress,
) ibcexported.Acknowledgement

OnRecvPacket implements the IBCModule interface

func (IBCHandler) OnTimeoutPacket

func (i IBCHandler) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error

OnTimeoutPacket implements the IBCModule interface

type Keeper deprecated

type Keeper = keeper.Keeper

Deprecated: Do not use.

type MessageEncoders deprecated

type MessageEncoders = keeper.MessageEncoders

Deprecated: Do not use.

type MessageHandler deprecated

type MessageHandler = keeper.SDKMessageHandler

Deprecated: Do not use.

type Model deprecated

type Model = types.Model

Deprecated: Do not use.

type MsgClearAdmin deprecated

type MsgClearAdmin = types.MsgClearAdmin

Deprecated: Do not use.

type MsgClearAdminResponse deprecated

type MsgClearAdminResponse = types.MsgClearAdminResponse

Deprecated: Do not use.

type MsgExecuteContract deprecated

type MsgExecuteContract = types.MsgExecuteContract

Deprecated: Do not use.

type MsgExecuteContractResponse deprecated

type MsgExecuteContractResponse = types.MsgExecuteContractResponse

Deprecated: Do not use.

type MsgInstantiateContract deprecated

type MsgInstantiateContract = types.MsgInstantiateContract

Deprecated: Do not use.

type MsgInstantiateContract2 deprecated

type MsgInstantiateContract2 = types.MsgInstantiateContract2

Deprecated: Do not use.

type MsgInstantiateContractResponse deprecated

type MsgInstantiateContractResponse = types.MsgInstantiateContractResponse

Deprecated: Do not use.

type MsgMigrateContract deprecated

type MsgMigrateContract = types.MsgMigrateContract

Deprecated: Do not use.

type MsgMigrateContractResponse deprecated

type MsgMigrateContractResponse = types.MsgMigrateContractResponse

Deprecated: Do not use.

type MsgServer deprecated

type MsgServer = types.MsgServer

Deprecated: Do not use.

type MsgStoreCode deprecated

type MsgStoreCode = types.MsgStoreCode

Deprecated: Do not use.

type MsgStoreCodeResponse deprecated

type MsgStoreCodeResponse = types.MsgStoreCodeResponse

Deprecated: Do not use.

type MsgUpdateAdmin deprecated

type MsgUpdateAdmin = types.MsgUpdateAdmin

Deprecated: Do not use.

type MsgUpdateAdminResponse deprecated

type MsgUpdateAdminResponse = types.MsgUpdateAdminResponse

Deprecated: Do not use.

type MsgWasmIBCCall deprecated

type MsgWasmIBCCall = types.MsgIBCSend

Deprecated: Do not use.

type Option deprecated

type Option = keeper.Option

Deprecated: Do not use.

type QueryHandler deprecated

type QueryHandler = keeper.QueryHandler

Deprecated: Do not use.

type QueryPlugins deprecated

type QueryPlugins = keeper.QueryPlugins

Deprecated: Do not use.

type StakingEncoder deprecated

type StakingEncoder = keeper.StakingEncoder

Deprecated: Do not use.

type WasmEncoder deprecated

type WasmEncoder = keeper.WasmEncoder

Deprecated: Do not use.

Directories

Path Synopsis
NOTE: Usage of x/params to manage parameters is deprecated in favor of x/gov controlled execution of MsgUpdateParams messages.
NOTE: Usage of x/params to manage parameters is deprecated in favor of x/gov controlled execution of MsgUpdateParams messages.

Jump to

Keyboard shortcuts

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