Crate ink_lang_macro

Crate ink_lang_macro 

Source

Macros§

blake2x256
Computes and expands into the BLAKE2b 256-bit hash of the string input.
selector_bytes
Computes the ink! selector of the string and expands into its byte representation.
selector_id
Computes the ink! selector of the string and expands into its u32 representation.

Attribute Macros§

chain_extension
Defines the interface for a chain extension.
contract
Entry point for writing ink! smart contracts.
test
Defines a unit test that makes use of ink!’s off-chain testing capabilities.
trait_definition
Marks trait definitions to ink! as special ink! trait definitions.