Smart Contracts (Testnet)

Module: MYEX_v2
back to overview
MYEX_v2
Methods: 13
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
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>"
              }
            ]
          }
        ]
      },
      "<String of size at most 74 containing an unsigned integer.>"
    ]
  ],
  "reserve0": [
    "<UInt64>",
    "<String of size at most 74 containing an unsigned integer.>"
  ],
  "reserve0_total": "<String of size at most 74 containing an unsigned integer.>",
  "reserve1": [
    "<UInt64>",
    "<String of size at most 74 containing an unsigned integer.>"
  ],
  "reserve1_total": "<String of size at most 74 containing an unsigned integer.>",
  "token_pair": [
    {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    }
  ],
  "total_supply": "<String of size at most 74 containing an unsigned integer.>"
}

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": [
    "<String of size at most 74 containing an unsigned integer.>",
    "<String of size at most 74 containing an unsigned integer.>"
  ]
}
Address
🗎<814,0>


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