MetaplexAuctionHouseDelegateAuctioneerLayout.fromBuffer constructor
Constructs the layout from raw bytes.
Implementation
factory MetaplexAuctionHouseDelegateAuctioneerLayout.fromBuffer(
List<int> data) {
final decode = MetaplexAuctionHouseProgramLayout.decodeAndValidateStruct(
layout: _layout,
bytes: data,
instruction: MetaplexAuctionHouseProgramInstruction
.delegateAuctioneer.insturction);
return MetaplexAuctionHouseDelegateAuctioneerLayout(
scopes: (decode["scopes"] as List)
.map((e) => AuthorityScope.fromValue(e))
.toList());
}