Registry / crypto / pallet-contracts-primitives

pallet-contracts-primitives

JSON →
library29.0.0rscratesunverified

A crate that hosts common definitions that are relevant for the pallet-contracts.

# Cargo.toml [dependencies] pallet-contracts-primitives = "29.0.0"
INSTALL
IMPORT
SIG · PALLET-CONTRACTS-P
P
pallet-contracts-primitives
cryptorustv29.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ContractResult
use pallet_contracts_primitives::ContractResult;

Creates a contract result type

use pallet_contracts_primitives::ContractResult; fn main() { let result: ContractResult<()> = Ok(()); println!("Contract result created"); }
Debug
Known issues
gotchaPart of Substrate/Polkadot SDK; requires understanding of FRAME
fix
Refer to Substrate documentation for usage
affects: >=29.0.0
Upgrade
Version history
29.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
pallet-contracts-primitives — cargo add pallet-contracts-primitives · libregistry