Smart Contracts (Testnet)

Module: project_whitelist
back to overview
project_whitelist
Methods: 5
Instances: 0
Initialization

Parameters
None
Errors
None
Event
None
Methods

Parameters
{
  "description": "<String>",
  "location": [
    {
      "label": "<String>",
      "value": "<String>"
    }
  ],
  "max_whitelisted_addresses": "<UInt64>",
  "name": "<String>"
}
Errors
None
Return
None

Parameters
"<UInt64>"
Errors
None
Return
None

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

Parameters
"<UInt64>"
Errors
None
Return
{
  "creator": {
    "Enum": [
      {
        "Account": [
          "<AccountAddress>"
        ]
      },
      {
        "Contract": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "description": "<String>",
  "is_whitelist_closed": "<Bool>",
  "location": [
    {
      "label": "<String>",
      "value": "<String>"
    }
  ],
  "max_whitelisted_addresses": "<UInt64>",
  "name": "<String>",
  "num_addresses_whitelisted": "<UInt64>",
  "project_id": "<UInt64>",
  "remaining_whitelist_spots": "<UInt64>",
  "whitelisted_addresses": [
    {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    }
  ]
}

Parameters
None
Errors
None
Return
[
  {
    "creator": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "description": "<String>",
    "is_whitelist_closed": "<Bool>",
    "location": [
      {
        "label": "<String>",
        "value": "<String>"
      }
    ],
    "max_whitelisted_addresses": "<UInt64>",
    "name": "<String>",
    "num_addresses_whitelisted": "<UInt64>",
    "project_id": "<UInt64>",
    "remaining_whitelist_spots": "<UInt64>",
    "whitelisted_addresses": [
      {
        "Enum": [
          {
            "Account": [
              "<AccountAddress>"
            ]
          },
          {
            "Contract": [
              {
                "index": "<UInt64>",
                "subindex": "<UInt64>"
              }
            ]
          }
        ]
      }
    ]
  }
]
Address
🗎<10006,0>


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