Function prepareRefreshPricesInOracleAdapter

    • Returns a group transaction to refresh the given assets.

      Parameters

      • oracle: Oracle

        oracle applications to use

      • userAddr: string

        account address for the user

      • lpAssets: LPToken[]

        list of lp assets

      • baseAssetIds: number[]

        list of base asset ids (non-lp assets)

      • params: SuggestedParams

        suggested params for the transactions with the fees overwritten

      Returns Transaction[]

      Transaction[] refresh prices group transaction