Smart Contracts (Testnet)

Module: donation
back to overview
donation
Methods: 3
Instances: 21
Initialization

Parameters
{
  "donation_locations": [
    "<String>"
  ],
  "end_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
}
Errors
None
Event
None
Methods

Parameters
"<String>"
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "DonationHasEnded": []
    },
    {
      "DonationClosed": []
    },
    {
      "InvalidDonationLocation": []
    }
  ]
}
Return
None

Parameters
None
Errors
None
Return
None

Parameters
None
Errors
None
Return
{
  "balance": "<Amount in microCCD>",
  "number_donors": "<UInt32>",
  "state_donation": {
    "Enum": [
      {
        "Open": []
      },
      {
        "Closed": []
      }
    ]
  },
  "time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
}


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