Crate pro_lang[][src]

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 pro! smart contract.

EmitEvent

Implemented by contracts in order to override env().emit_event(..) syntax for emitting of pro! 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 pro! smart contracts.

test

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

trait_definition

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