Skip to main content

Module types

Module types 

Source
Expand description

Core type definitions for IDL

Structs§

IdlAccount
IdlAccountArg
IdlConstant
IdlEnumVariant
IdlError
IdlEvent
IdlField
IdlInstruction
IdlMetadata
IdlPda
PDA definition in Anchor IDL format
IdlRepr
IdlSpec
IdlTypeArray
IdlTypeDef
IdlTypeDefStruct
IdlTypeDefined
IdlTypeHashMap
IdlTypeOption
IdlTypeVec
SteelDiscriminant
Steel-style discriminant format: {“type”: “u8”, “value”: N}

Enums§

IdlPdaProgram
Program reference for cross-program PDAs
IdlPdaSeed
PDA seed in Anchor IDL format
IdlSerialization
Account serialization format as specified in the IDL. Defaults to Borsh when not specified.
IdlType
IdlTypeArrayElement
IdlTypeDefKind
IdlTypeDefinedInner

Functions§

to_pascal_case
to_snake_case

Type Aliases§

IdlInstructionAccount
IdlInstructionArg
IdlTypeDefTy