Smart Contracts (Testnet)

Module: Campaign_contract
back to overview
Campaign_contract
Methods: 6
Instances: 0
Initialization

Parameters
None
Errors
None
Event
None
Methods

Parameters
{
  "age_range": {
    "lower": "<String>",
    "upper": "<String>"
  },
  "description": "<String>",
  "nationality": [
    "<String>"
  ],
  "tasks": [
    "<String>"
  ],
  "title": "<String>"
}
Errors
None
Return
None

Parameters
None
Errors
None
Return
[
  {
    "authorized": "<Bool>",
    "campaign": {
      "age_range": {
        "lower": "<String>",
        "upper": "<String>"
      },
      "creator": {
        "Enum": [
          {
            "Account": [
              "<AccountAddress>"
            ]
          },
          {
            "Contract": [
              {
                "index": "<UInt64>",
                "subindex": "<UInt64>"
              }
            ]
          }
        ]
      },
      "description": "<String>",
      "id": "<UInt32>",
      "list_of_participants": [
        {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        }
      ],
      "nationality": [
        "<String>"
      ],
      "participants": "<UInt32>",
      "participants_answers": [
        [
          {
            "Enum": [
              {
                "Account": [
                  "<AccountAddress>"
                ]
              },
              {
                "Contract": [
                  {
                    "index": "<UInt64>",
                    "subindex": "<UInt64>"
                  }
                ]
              }
            ]
          },
          [
            "<String>"
          ]
        ]
      ],
      "tasks": {
        "answers": [
          [
            {
              "Enum": [
                {
                  "Account": [
                    "<AccountAddress>"
                  ]
                },
                {
                  "Contract": [
                    {
                      "index": "<UInt64>",
                      "subindex": "<UInt64>"
                    }
                  ]
                }
              ]
            },
            [
              "<String>"
            ]
          ]
        ],
        "tasks": [
          "<String>"
        ]
      },
      "title": "<String>"
    },
    "completed": "<Bool>",
    "minted": "<Bool>"
  }
]

Parameters
{
  "answers": [
    "<String>"
  ],
  "id": "<UInt32>"
}
Errors
None
Return
None

Parameters
"<UInt32>"
Errors
None
Return
None

Parameters
"<UInt32>"
Errors
None
Return
None

Parameters
None
Errors
None
Return
[
  {
    "age_range": {
      "lower": "<String>",
      "upper": "<String>"
    },
    "creator": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "description": "<String>",
    "id": "<UInt32>",
    "list_of_participants": [
      {
        "Enum": [
          {
            "Account": [
              "<AccountAddress>"
            ]
          },
          {
            "Contract": [
              {
                "index": "<UInt64>",
                "subindex": "<UInt64>"
              }
            ]
          }
        ]
      }
    ],
    "nationality": [
      "<String>"
    ],
    "participants": "<UInt32>",
    "participants_answers": [
      [
        {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        },
        [
          "<String>"
        ]
      ]
    ],
    "tasks": {
      "answers": [
        [
          {
            "Enum": [
              {
                "Account": [
                  "<AccountAddress>"
                ]
              },
              {
                "Contract": [
                  {
                    "index": "<UInt64>",
                    "subindex": "<UInt64>"
                  }
                ]
              }
            ]
          },
          [
            "<String>"
          ]
        ]
      ],
      "tasks": [
        "<String>"
      ]
    },
    "title": "<String>"
  }
]
No instances found.
Address


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