Skip to main content

Module schema

Module schema 

Source
Expand description

Contract schema types and utilities. Schema types for contract metadata.

These types are used by the #[contract] macro to generate compile-time contract schemas that describe functions and events.

Structsยง

Contract
Complete schema for a contract.
Event
Schema for a contract event.
Function
Schema for a contract function.
Import
Schema for an imported type.