Smart Contracts (Testnet)

Module: overlay-projects
back to overview
overlay-projects
Methods: 15
Instances: 1
Initialization

Parameters
{
  "staking_contract_addr": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "user_contract_addr": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
None
Event
None
Methods

Parameters
{
  "staking_contract_addr": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "user_contract_addr": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "InvalidCaller": []
    },
    {
      "InvalidStatus": []
    },
    {
      "ShouldNotBeTON": []
    }
  ]
}
Return
None

Parameters
{
  "admin": "<AccountAddress>"
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "InvalidCaller": []
    },
    {
      "InvalidStatus": []
    },
    {
      "ShouldNotBeTON": []
    }
  ]
}
Return
None

Parameters
{
  "owners": [
    "<AccountAddress>"
  ],
  "project_id": "<String>",
  "project_uri": "<String>"
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "InvalidCaller": []
    },
    {
      "InvalidStatus": []
    },
    {
      "ShouldNotBeTON": []
    }
  ]
}
Return
None

Parameters
{
  "owners": [
    "<AccountAddress>"
  ],
  "project_id": "<String>",
  "project_uri": "<String>"
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "InvalidCaller": []
    },
    {
      "InvalidStatus": []
    },
    {
      "ShouldNotBeTON": []
    }
  ]
}
Return
None

Parameters
{
  "owners": [
    "<AccountAddress>"
  ],
  "project_id": "<String>",
  "token_addr": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  }
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "InvalidCaller": []
    },
    {
      "InvalidStatus": []
    },
    {
      "ShouldNotBeTON": []
    }
  ]
}
Return
None

Parameters
{
  "project_id": "<String>",
  "token_addr": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "InvalidCaller": []
    },
    {
      "InvalidStatus": []
    },
    {
      "ShouldNotBeTON": []
    }
  ]
}
Return
None

Parameters
{
  "project_id": "<String>",
  "pub_key": "<String>"
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "InvalidCaller": []
    },
    {
      "InvalidStatus": []
    },
    {
      "ShouldNotBeTON": []
    }
  ]
}
Return
None

Parameters
{
  "owners": [
    "<AccountAddress>"
  ],
  "project_id": "<String>"
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "InvalidCaller": []
    },
    {
      "InvalidStatus": []
    },
    {
      "ShouldNotBeTON": []
    }
  ]
}
Return
None

Parameters
{
  "project_id": "<String>",
  "seed_nft_addr": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "InvalidCaller": []
    },
    {
      "InvalidStatus": []
    },
    {
      "ShouldNotBeTON": []
    }
  ]
}
Return
None

Parameters
{
  "project_id": "<String>",
  "sale_addr": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "InvalidCaller": []
    },
    {
      "InvalidStatus": []
    },
    {
      "ShouldNotBeTON": []
    }
  ]
}
Return
None

Parameters
{
  "project_id": "<String>"
}
Errors
None
Return
None

Parameters
{
  "project_id": "<String>"
}
Errors
None
Return
None

Parameters
{
  "migrate": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          [
            "<String>",
            "<String with lowercase hex>"
          ]
        ]
      }
    ]
  },
  "module": "<String of size 64 containing lowercase hex characters.>"
}
Errors
None
Return
None

Parameters
None
Errors
None
Return
{
  "admin": "<AccountAddress>",
  "staking_contract_addr": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "user_contract_addr": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}

Parameters
{
  "project_id": "<String>"
}
Errors
None
Return
{
  "owners": [
    "<AccountAddress>"
  ],
  "project_uri": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String>"
        ]
      }
    ]
  },
  "pub_key": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<String>"
        ]
      }
    ]
  },
  "sale_addr": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "seed_nft_addr": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  },
  "status": {
    "Enum": [
      {
        "Candidate": []
      },
      {
        "Whitelist": []
      },
      {
        "OnSale": []
      },
      {
        "SaleClosed": []
      }
    ]
  },
  "token_addr": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "index": "<UInt64>",
            "subindex": "<UInt64>"
          }
        ]
      }
    ]
  }
}
Address
🗎<2427,0>


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