[][src]Crate ink_lang

Re-exports

pub use static_assertions;

Structs

EnvAccess

A typed accessor to the environment.

Traits

BaseEvent

Defines a base event type for the contract.

ChainExtensionInstance

Trait implemented by chain extensions.

ContractEnv

The environment of the compiled ink! smart contract.

EmitEvent

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

Env

Simplifies interaction with the host environment via self.

StaticEnv

Simplifies interaction with the host environment via Self.

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.