Crate ink_lang

Source

Re-exports§

pub use self::chain_extension::IsResultType;

Modules§

reflect
Definitions and utilities for ink! smart contract static reflection.
utils
Utility functions for contract development.

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.

Structs§

EnvAccess
The API behind the self.env() and Self::env() syntax in ink!.

Traits§

ChainExtensionInstance
Trait implemented by chain extensions.
ToAccountId
Implemented by contracts that are compiled as dependencies.

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.