storage property

Future storage

Returns the storage in Dart Type of this using MichelineDecoder

Implementation

Future<dynamic> get storage async {
  final contractInfo = await _contractInfo;
  final michelineStorage = contractInfo['script']['storage'];
  final type = await _storageType;

  return MichelineDecoder(type: type, data: michelineStorage).decode();
}