Crate ink_metadata

Source

Modules§

layout

Structs§

ConstructorSpec
Describes a constructor of a contract.
ConstructorSpecBuilder
A builder for constructors.
ContractSpec
Describes a contract.
ContractSpecBuilder
EnvironmentSpec
Describes a contract environment.
EnvironmentSpecBuilder
An environment specification builder.
EventParamSpec
Describes a pair of parameter label and type.
EventParamSpecBuilder
Used to construct an event parameter specification.
EventSpec
Describes an event definition.
EventSpecBuilder
An event specification builder.
InkProject
An entire ink! project for metadata file generation purposes.
MessageParamSpec
Describes a pair of parameter label and type.
MessageParamSpecBuilder
Used to construct a message parameter specification.
MessageSpec
Describes a contract message.
MessageSpecBuilder
A builder for messages.
ReturnTypeSpec
Describes the contract message return type.
Selector
The 4 byte selector to identify constructors and messages
TypeSpec
A type specification.

Enums§

LangError
An error emitted by the smart contracting language.

Statics§

EVENTS
Any event which derives #[derive(ink::EventMetadata)] and is used in the contract binary will have its implementation added to this distributed slice at linking time.

Traits§

EventMetadata
Provides metadata about an ink! event.
TypeInfo
Implementors return their meta type information.

Functions§

collect_events
Collect the EventSpec metadata of all event definitions linked and used in the binary.

Type Aliases§

DisplayName
Describes the syntactical name of a type at a given type position.

Derive Macros§

TypeInfo