Midgard Cache
MidgardCache
This class retrieves raw information from Midgard API and cached it
Parameters
midgardMidgard an instance of the midgard API (could be pointing to stagenet,testnet,mainnet) (optional, defaultdefaultMidgard)
getPools
Get info about existing pools in the protocol from Midgard API
Returns Array<PoolDetail> Array of pools
getSavers
Returns the information of all the positions of a set of addresses in the THORChain savers product.
Parameters
addressString Comma separated list of addresses
Returns SaverDetails Array of savers positions