AddressLookupFreezeLookupTableLayout.fromBuffer constructor

AddressLookupFreezeLookupTableLayout.fromBuffer(
  1. List<int> data
)

Constructs the layout from raw bytes.

Implementation

factory AddressLookupFreezeLookupTableLayout.fromBuffer(List<int> data) {
  ProgramLayout.decodeAndValidateStruct(
      layout: _layout,
      bytes: data,
      instruction:
          AddressLookupTableProgramInstruction.freezeLookupTable.insturction);
  return const AddressLookupFreezeLookupTableLayout();
}