Smart Contracts (Testnet)

Module: become_the_richest
back to overview
become_the_richest
Methods: 6
Instances: 1
Initialization

Parameters
{
  "minimum_raise": "<UInt64>",
  "richest_message": "<String>"
}
Errors
None
Event
None
Methods

Parameters
"<String>"
Errors
{
  "Enum": [
    {
      "ParseError": []
    },
    {
      "OnlyAccount": []
    },
    {
      "AmountBelowCurrentRichest": []
    },
    {
      "AmountBelowMinimumRaise": []
    }
  ]
}
Return
None

Parameters
None
Errors
None
Return
{
  "minimum_raise": "<UInt64>",
  "richest_account": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<AccountAddress>"
        ]
      }
    ]
  },
  "richest_message": "<String>"
}

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

Parameters
None
Errors
None
Return
"<Amount in microCCD>"

Parameters
None
Errors
None
Return
"<String>"

Parameters
None
Errors
None
Return
"<UInt64>"
Address
🗎<3015,0>


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