Registry / other / pallet-contracts-proc-macro

pallet-contracts-proc-macro

JSON →
library23.0.3rscratesunverified

Procedural macros used in pallet_contracts for Substrate-based blockchains.

# Cargo.toml [dependencies] pallet-contracts-proc-macro = "23.0.3"
INSTALL
IMPORT
SIG · PALLET-CONTRACTS-P
P
pallet-contracts-proc-macro
otherrustv23.0.3
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.

contract
use pallet_contracts_proc_macro::contract;

Minimal usage of the contract procedural macro.

use pallet_contracts_proc_macro::contract; #[contract] pub mod my_contract { // contract logic }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
23.0.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pallet-contracts-proc-macro — cargo add pallet-contracts-proc-macro · libregistry