Smart Contracts (Testnet)

Module: MYEX_v2
back to overview
MYEX_v2
Methods: 10
Instances: 1
Initialization

Parameters
None
Errors
None
Event
None
Methods

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
None

Parameters
{
  "token0": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "token1": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
None
Return
None

Parameters
{
  "to": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "token0": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "token1": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
None
Return
"<UInt64>"

Parameters
{
  "amount_a_min": "<UInt64>",
  "amount_b_min": "<UInt64>",
  "liquidity": "<UInt64>",
  "token0": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "token1": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
None
Return
None

Parameters
{
  "amount0_out": "<UInt64>",
  "amount1_out": "<UInt64>",
  "to": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "token0": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "token1": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
None
Return
None

Parameters
{
  "token0": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "token1": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
None
Return
{
  "balance": [
    [
      {
        "Enum": [
          {
            "Account": [
              "<AccountAddress>"
            ]
          },
          {
            "Contract": [
              {
                "index": "<UInt64>",
                "subindex": "<UInt64>"
              }
            ]
          }
        ]
      },
      [
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>"
      ]
    ]
  ],
  "reserve0": [
    "<UInt64>",
    [
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>"
    ]
  ],
  "reserve0_total": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "reserve1": [
    "<UInt64>",
    [
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>"
    ]
  ],
  "reserve1_total": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "token_pair": [
    {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    }
  ],
  "total_supply": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ]
}

Parameters
None
Errors
None
Return
{
  "pairs": [
    [
      {
        "index": "<UInt64>",
        "subindex": "<UInt64>"
      },
      {
        "index": "<UInt64>",
        "subindex": "<UInt64>"
      }
    ]
  ]
}

Parameters
[
  {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
]
Errors
None
Return
{
  "reserve": [
    [
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>"
    ],
    [
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>"
    ]
  ]
}
Address
🗎<659,0>


Release: 2024.12
Support CCDExplorer.io Uptime Backend Status CCDExplorer is supported by AesirX - Decentralized Consent & Data Ownership