Crate ink_lang[][src]

Re-exports

pub use {{root}}::static_assertions;

Macros

Computes and expands into the BLAKE2b 256-bit hash of the string input.

Computes the ink! selector of the string and expands into its byte representation.

Computes the ink! selector of the string and expands into its u32 representation.

Structs

A typed accessor to the environment.

Traits

Defines a base event type for the contract.

Trait implemented by chain extensions.

The environment of the compiled ink! smart contract.

Implemented by contracts in order to override env().emit_event(..) syntax for emitting of ink! contract events.

Simplifies interaction with the host environment via self.

Simplifies interaction with the host environment via Self.

Implemented by contracts that are compiled as dependencies.

Attribute Macros

Defines the interface for a chain extension.

Entry point for writing ink! smart contracts.

Defines a unit test that makes use of ink!’s off-chain testing capabilities.

Marks trait definitions to ink! as special ink! trait definitions.