Built-in capabilities
May 26, 2025 ยท View on GitHub
Since capabilities can be created between contract and environment, we don't know them all in the VM. This is a list of all built-in capabilities, but chains might define others.
iteratoris for storage backends that allow range queries. Not all types of databases do that. There are trees that don't allow it and Secret Network does not support iterators for other technical reasons.stargateis for messages and queries that came with the Cosmos SDK upgrade "Stargate". It primarily includes protobuf messages and IBC support.stakingis for chains with the Cosmos SDK staking module. There are Cosmos chains that don't use this (e.g. Tgrade).ibc2is for messages and queries that came with the Cosmos SDK upgrade "Ibc2".cosmwasm_1_1enables theBankQuery::Supplyquery. Only chains running CosmWasm1.1.0or higher support this.cosmwasm_1_2enables theGovMsg::VoteWeightedandWasmMsg::Instantiate2messages. Only chains running CosmWasm1.2.0or higher support this.cosmwasm_1_3enables theBankQuery::AllDenomMetadata,BankQuery::DenomMetadataandDistributionQuery::DelegatorWithdrawAddressqueries, as well asDistributionMsg::FundCommunityPool. Only chains running CosmWasm1.3.0or higher support this.cosmwasm_1_4enables theDistributionQuery::DelegationRewards,DistributionQuery::DelegationTotalRewardsandDistributionQuery::DelegatorValidatorsqueries. Only chains running CosmWasm1.4.0or higher support this.cosmwasm_2_0enablesCosmosMsg::AnyandQueryRequest::Grpc. Only chains running CosmWasm2.0.0or higher support this.cosmwasm_2_1enablesIbcMsg::WriteAcknowledgement. Only chains running CosmWasm2.1.0or higher support this.cosmwasm_2_2enables an optional additionalMigrateInfoparameter for themigrateentrypoint, as well as IBC Fees support withIbcMsg::PayPacketFee,IbcMsg::PayPacketFeeAsyncandIbcQuery::FeeEnabledChannel. Only chains running CosmWasm2.2.0or higher support this.cosmwasm_3_0enablesWasmQuery::RawRange. Only chains running CosmWasm3.0.0or higher support this.