StakePoolUpdateStakePoolBalanceLayout.fromBuffer constructor

StakePoolUpdateStakePoolBalanceLayout.fromBuffer(
  1. List<int> bytes
)

Implementation

factory StakePoolUpdateStakePoolBalanceLayout.fromBuffer(List<int> bytes) {
  ProgramLayout.decodeAndValidateStruct(
      layout: _layout,
      bytes: bytes,
      instruction:
          StakePoolProgramInstruction.updateStakePoolBalance.insturction);
  return const StakePoolUpdateStakePoolBalanceLayout();
}