Smart Contracts (Testnet)

Module: MYFT_v1
back to overview
MYFT_v1
Methods: 8
Instances: 4
Initialization

Parameters
{
  "decimals": "<UInt8>",
  "init_supply": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "mintable": "<Bool>",
  "name": "<String>",
  "owner": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "Enum": [
              {
                "Account": [
                  "<AccountAddress>"
                ]
              },
              {
                "Contract": [
                  {
                    "index": "<UInt64>",
                    "subindex": "<UInt64>"
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  },
  "symbol": "<String>"
}
Errors
None
Event
None
Methods

Parameters
{
  "amount": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "to": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          },
          {
            "contract": "<String>",
            "func": "<String>"
          }
        ]
      }
    ]
  }
}
Errors
None
Return
None

Parameters
{
  "amount": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ]
}
Errors
None
Return
None

Parameters
{
  "amount": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "to": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          },
          {
            "contract": "<String>",
            "func": "<String>"
          }
        ]
      }
    ]
  }
}
Errors
None
Return
None

Parameters
{
  "amount": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "to": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          },
          {
            "contract": "<String>",
            "func": "<String>"
          }
        ]
      }
    ]
  }
}
Errors
None
Return
None

Parameters
{
  "amount": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "from": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          },
          {
            "contract": "<String>",
            "func": "<String>"
          }
        ]
      }
    ]
  },
  "to": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  }
}
Errors
None
Return
None

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

Parameters
{
  "owner": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "spender": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  }
}
Errors
None
Return
[
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>",
  "<UInt8>"
]

Parameters
None
Errors
None
Return
{
  "decimals": "<UInt8>",
  "max_supply": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          [
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>"
          ]
        ]
      }
    ]
  },
  "mintable": "<Bool>",
  "name": "<String>",
  "symbol": "<String>",
  "total_supply": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ]
}


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