ink_abi library

Classes

ArgSpec
Represents an argument specification for messages and constructors
ConstructorSpec
Represents an ink! constructor specification
EventData
Represents decoded event data with metadata
EventSpec
Represents an ink! event specification
InkAbi
Main interface for working with ink! contract metadata.
InkMetadataRegistry
Type registry for ink! contract metadata
MessageSpec
Represents an ink! message (function) specification
SchemaValidator
SelectorByteInput
Specialized ByteInput for decoding ink! contract input data
TypeInfo
Type information helper class
TypeSpec
Represents a type specification from ink! metadata

Constants

inkV3Schema → const Map<String, Object>
inkV4Schema → const Map<String, Object>
inkV5Schema → const Map<String, Object>

Functions

decodeResult(Uint8List result) Uint8List
encodeCall(Uint8List address, Uint8List input, Uint8List contractAddress) Uint8List

Typedefs

SelectorsMap = Map<String, int>
Type alias for selector-to-index mapping

Exceptions / Errors

DecodingException
Exception thrown when decoding ink! contract data fails
EncodingException
Exception thrown when encoding ink! contract data fails
InkAbiException
Base exception for all ink! ABI-related errors
InkEventException
Exception thrown during event operations
TypeResolutionException
Exception thrown when a type cannot be resolved from the metadata