Modules§
Structs§
- Constructor
Spec - Describes a constructor of a contract.
- Constructor
Spec Builder - A builder for constructors.
- Contract
Spec - Describes a contract.
- Contract
Spec Builder - Environment
Spec - Describes a contract environment.
- Environment
Spec Builder - An environment specification builder.
- Event
Param Spec - Describes a pair of parameter label and type.
- Event
Param Spec Builder - Used to construct an event parameter specification.
- Event
Spec - Describes an event definition.
- Event
Spec Builder - An event specification builder.
- InkProject
- An entire ink! project for metadata file generation purposes.
- Message
Param Spec - Describes a pair of parameter label and type.
- Message
Param Spec Builder - Used to construct a message parameter specification.
- Message
Spec - Describes a contract message.
- Message
Spec Builder - A builder for messages.
- Return
Type Spec - Describes the contract message return type.
- Selector
- The 4 byte selector to identify constructors and messages
- Type
Spec - A type specification.
Enums§
- Lang
Error - 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§
- Event
Metadata - Provides metadata about an ink! event.
- Type
Info - 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§
- Display
Name - Describes the syntactical name of a type at a given type position.