Class: TezosClient::Tools::FindBigMapsInStorage

Inherits:
ActiveInteraction::Base
  • Object
show all
Defined in:
lib/tezos_client/tools/find_big_maps_in_storage.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



9
10
11
12
13
14
15
# File 'lib/tezos_client/tools/find_big_maps_in_storage.rb', line 9

def execute
  hash_storage
    .map(&:last)
    .select { |value| value.is_a? TezosClient::BigMap }
    .map(&:to_h)
    .map(&:with_indifferent_access)
end