Crate ink_lang
Source pub use self::chain_extension::IsResultType;
- reflect
- Definitions and utilities for ink! smart contract static reflection.
- utils
- Utility functions for contract development.
- 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.
- EnvAccess
- The API behind the
self.env()
and Self::env()
syntax in ink!.
- ChainExtensionInstance
- Trait implemented by chain extensions.
- ToAccountId
- Implemented by contracts that are compiled as dependencies.
- 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.