Skip to content

Duplicate entries in operations array in /strategies response #26

@parch0n

Description

@parch0n

The /strategies endpoint returned duplicated values within the operations array. In this case, it appears to return all possible operation types, rather than only the relevant ones.

{
  "address": "0xAddress",
  "strategies": [
    {
      "llm": {
        "provider": "AdEx Aura",
        "model": "adex-aura-0.2"
      },
      "response": [
        {
          "name": "Claim airdrops and rewards",
          "risk": "low",
          "actions": [
            {
              "tokens": "N/A",
              "description": "Claim Uniswap V3 rewards from providing liquidity on Uniswap V3, with an estimated value of $7.10. Access the Uniswap interface to initiate the claim.",
              "platforms": [
                {
                  "name": "Uniswap",
                  "url": "https://app.uniswap.org/"
                }
              ],
              "networks": [],
              "operations": [
                "holding",
                "swapping",
                "staking",
                "lending",
                "borrowing",
                "liquidity provision",
                "yield farming",
                "governance farming",
                "bridging",
                "holding",
                "swapping",
                "bridging",
                "holding",
                "swapping",
                "staking",
                "lending",
                "borrowing",
                "liquidity provision",
                "yield farming",
                "governance farming",
                "bridging"
              ],
              "apy": "N/A",
              "flags": []
            },
            {
              "tokens": "N/A",
              "description": "Claim another batch of Uniswap V3 rewards from providing liquidity on Uniswap V3, with an estimated value of $6.38. Use the Uniswap app to collect your earned rewards.",
              "platforms": [
                {
                  "name": "Uniswap",
                  "url": "https://app.uniswap.org/"
                }
              ],
              "networks": [],
              "operations": [
                "holding",
                "swapping",
                "staking",
                "lending",
                "borrowing",
                "liquidity provision",
                "yield farming",
                "governance farming",
                "bridging",
                "holding",
                "swapping",
                "bridging",
                "holding",
                "swapping",
                "staking",
                "lending",
                "borrowing",
                "liquidity provision",
                "yield farming",
                "governance farming",
                "bridging"
              ],
              "apy": "N/A",
              "flags": []
            }
          ]
        },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions