Smart Contracts (Testnet)

Module: launchpad
back to overview
launchpad
Methods: 10
Instances: 1
Initialization

Parameters
{
  "admin": "<AccountAddress>"
}
Errors
None
Event
None
Methods

Parameters
{
  "cis2_price": "<UInt32>",
  "cliff_duration": "<UInt64>",
  "end_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "hard_cap": "<UInt64>",
  "live": "<Bool>",
  "maximum_invest": "<UInt64>",
  "minimum_invest": "<UInt64>",
  "soft_cap": "<UInt64>",
  "start_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "token_param": {
    "address": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "id": "<String with lowercase hex>",
    "token_amount": "<String of size at most 74 containing an unsigned integer.>"
  },
  "token_release_data": [
    [
      "<UInt8>",
      {
        "per_cycle_release": "<UInt64>",
        "release_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
      }
    ]
  ]
}
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "VestingFinished": []
    },
    {
      "VestingNotFinished": []
    },
    {
      "InvalidUser": []
    },
    {
      "LaunchpadNotExist": []
    },
    {
      "ContractUser": []
    },
    {
      "NotOwner": []
    },
    {
      "NotLive": []
    },
    {
      "UserNotExist": []
    },
    {
      "InsuffiecientFunds": []
    },
    {
      "MinimumInvestmentNotSatisfied": []
    },
    {
      "LaunchReachedToMaximum": []
    },
    {
      "HardcapLimitReached": []
    },
    {
      "CliffPeriodNotEnd": []
    },
    {
      "ClaimDateNotStarted": []
    },
    {
      "InvokeVestingError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "InvokeContractNoResponse": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseParams": []
    },
    {
      "Cis2ClientError": []
    },
    {
      "LaunchpadPaused": []
    },
    {
      "LaunchpadCancelled": []
    },
    {
      "AlreadyClaimed": []
    },
    {
      "CannotClaim": []
    },
    {
      "LaunchpadNotEnd": []
    },
    {
      "NotOperator": []
    },
    {
      "TokenNotCis2": []
    },
    {
      "HardCappSmaller": []
    },
    {
      "LivePauseTimeRestricted": []
    },
    {
      "LivePauseCycleCompleted": []
    },
    {
      "HardcapNot40ToSoftcap": []
    }
  ]
}
Return
None

Parameters
None
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "VestingFinished": []
    },
    {
      "VestingNotFinished": []
    },
    {
      "InvalidUser": []
    },
    {
      "LaunchpadNotExist": []
    },
    {
      "ContractUser": []
    },
    {
      "NotOwner": []
    },
    {
      "NotLive": []
    },
    {
      "UserNotExist": []
    },
    {
      "InsuffiecientFunds": []
    },
    {
      "MinimumInvestmentNotSatisfied": []
    },
    {
      "LaunchReachedToMaximum": []
    },
    {
      "HardcapLimitReached": []
    },
    {
      "CliffPeriodNotEnd": []
    },
    {
      "ClaimDateNotStarted": []
    },
    {
      "InvokeVestingError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "InvokeContractNoResponse": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseParams": []
    },
    {
      "Cis2ClientError": []
    },
    {
      "LaunchpadPaused": []
    },
    {
      "LaunchpadCancelled": []
    },
    {
      "AlreadyClaimed": []
    },
    {
      "CannotClaim": []
    },
    {
      "LaunchpadNotEnd": []
    },
    {
      "NotOperator": []
    },
    {
      "TokenNotCis2": []
    },
    {
      "HardCappSmaller": []
    },
    {
      "LivePauseTimeRestricted": []
    },
    {
      "LivePauseCycleCompleted": []
    },
    {
      "HardcapNot40ToSoftcap": []
    }
  ]
}
Return
None

Parameters
"<AccountAddress>"
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "VestingFinished": []
    },
    {
      "VestingNotFinished": []
    },
    {
      "InvalidUser": []
    },
    {
      "LaunchpadNotExist": []
    },
    {
      "ContractUser": []
    },
    {
      "NotOwner": []
    },
    {
      "NotLive": []
    },
    {
      "UserNotExist": []
    },
    {
      "InsuffiecientFunds": []
    },
    {
      "MinimumInvestmentNotSatisfied": []
    },
    {
      "LaunchReachedToMaximum": []
    },
    {
      "HardcapLimitReached": []
    },
    {
      "CliffPeriodNotEnd": []
    },
    {
      "ClaimDateNotStarted": []
    },
    {
      "InvokeVestingError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "InvokeContractNoResponse": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseParams": []
    },
    {
      "Cis2ClientError": []
    },
    {
      "LaunchpadPaused": []
    },
    {
      "LaunchpadCancelled": []
    },
    {
      "AlreadyClaimed": []
    },
    {
      "CannotClaim": []
    },
    {
      "LaunchpadNotEnd": []
    },
    {
      "NotOperator": []
    },
    {
      "TokenNotCis2": []
    },
    {
      "HardCappSmaller": []
    },
    {
      "LivePauseTimeRestricted": []
    },
    {
      "LivePauseCycleCompleted": []
    },
    {
      "HardcapNot40ToSoftcap": []
    }
  ]
}
Return
None

Parameters
{
  "id": "<UInt64>",
  "is_live": "<Bool>"
}
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "VestingFinished": []
    },
    {
      "VestingNotFinished": []
    },
    {
      "InvalidUser": []
    },
    {
      "LaunchpadNotExist": []
    },
    {
      "ContractUser": []
    },
    {
      "NotOwner": []
    },
    {
      "NotLive": []
    },
    {
      "UserNotExist": []
    },
    {
      "InsuffiecientFunds": []
    },
    {
      "MinimumInvestmentNotSatisfied": []
    },
    {
      "LaunchReachedToMaximum": []
    },
    {
      "HardcapLimitReached": []
    },
    {
      "CliffPeriodNotEnd": []
    },
    {
      "ClaimDateNotStarted": []
    },
    {
      "InvokeVestingError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "InvokeContractNoResponse": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseParams": []
    },
    {
      "Cis2ClientError": []
    },
    {
      "LaunchpadPaused": []
    },
    {
      "LaunchpadCancelled": []
    },
    {
      "AlreadyClaimed": []
    },
    {
      "CannotClaim": []
    },
    {
      "LaunchpadNotEnd": []
    },
    {
      "NotOperator": []
    },
    {
      "TokenNotCis2": []
    },
    {
      "HardCappSmaller": []
    },
    {
      "LivePauseTimeRestricted": []
    },
    {
      "LivePauseCycleCompleted": []
    },
    {
      "HardcapNot40ToSoftcap": []
    }
  ]
}
Return
None

Parameters
{
  "launchpad_id": "<UInt64>",
  "token_amount": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "VestingFinished": []
    },
    {
      "VestingNotFinished": []
    },
    {
      "InvalidUser": []
    },
    {
      "LaunchpadNotExist": []
    },
    {
      "ContractUser": []
    },
    {
      "NotOwner": []
    },
    {
      "NotLive": []
    },
    {
      "UserNotExist": []
    },
    {
      "InsuffiecientFunds": []
    },
    {
      "MinimumInvestmentNotSatisfied": []
    },
    {
      "LaunchReachedToMaximum": []
    },
    {
      "HardcapLimitReached": []
    },
    {
      "CliffPeriodNotEnd": []
    },
    {
      "ClaimDateNotStarted": []
    },
    {
      "InvokeVestingError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "InvokeContractNoResponse": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseParams": []
    },
    {
      "Cis2ClientError": []
    },
    {
      "LaunchpadPaused": []
    },
    {
      "LaunchpadCancelled": []
    },
    {
      "AlreadyClaimed": []
    },
    {
      "CannotClaim": []
    },
    {
      "LaunchpadNotEnd": []
    },
    {
      "NotOperator": []
    },
    {
      "TokenNotCis2": []
    },
    {
      "HardCappSmaller": []
    },
    {
      "LivePauseTimeRestricted": []
    },
    {
      "LivePauseCycleCompleted": []
    },
    {
      "HardcapNot40ToSoftcap": []
    }
  ]
}
Return
None

Parameters
"<UInt64>"
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "VestingFinished": []
    },
    {
      "VestingNotFinished": []
    },
    {
      "InvalidUser": []
    },
    {
      "LaunchpadNotExist": []
    },
    {
      "ContractUser": []
    },
    {
      "NotOwner": []
    },
    {
      "NotLive": []
    },
    {
      "UserNotExist": []
    },
    {
      "InsuffiecientFunds": []
    },
    {
      "MinimumInvestmentNotSatisfied": []
    },
    {
      "LaunchReachedToMaximum": []
    },
    {
      "HardcapLimitReached": []
    },
    {
      "CliffPeriodNotEnd": []
    },
    {
      "ClaimDateNotStarted": []
    },
    {
      "InvokeVestingError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "InvokeContractNoResponse": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseParams": []
    },
    {
      "Cis2ClientError": []
    },
    {
      "LaunchpadPaused": []
    },
    {
      "LaunchpadCancelled": []
    },
    {
      "AlreadyClaimed": []
    },
    {
      "CannotClaim": []
    },
    {
      "LaunchpadNotEnd": []
    },
    {
      "NotOperator": []
    },
    {
      "TokenNotCis2": []
    },
    {
      "HardCappSmaller": []
    },
    {
      "LivePauseTimeRestricted": []
    },
    {
      "LivePauseCycleCompleted": []
    },
    {
      "HardcapNot40ToSoftcap": []
    }
  ]
}
Return
None

Parameters
{
  "launchpad_id": "<UInt64>",
  "token": {
    "address": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "id": "<String with lowercase hex>"
  }
}
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "VestingFinished": []
    },
    {
      "VestingNotFinished": []
    },
    {
      "InvalidUser": []
    },
    {
      "LaunchpadNotExist": []
    },
    {
      "ContractUser": []
    },
    {
      "NotOwner": []
    },
    {
      "NotLive": []
    },
    {
      "UserNotExist": []
    },
    {
      "InsuffiecientFunds": []
    },
    {
      "MinimumInvestmentNotSatisfied": []
    },
    {
      "LaunchReachedToMaximum": []
    },
    {
      "HardcapLimitReached": []
    },
    {
      "CliffPeriodNotEnd": []
    },
    {
      "ClaimDateNotStarted": []
    },
    {
      "InvokeVestingError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "InvokeContractNoResponse": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseParams": []
    },
    {
      "Cis2ClientError": []
    },
    {
      "LaunchpadPaused": []
    },
    {
      "LaunchpadCancelled": []
    },
    {
      "AlreadyClaimed": []
    },
    {
      "CannotClaim": []
    },
    {
      "LaunchpadNotEnd": []
    },
    {
      "NotOperator": []
    },
    {
      "TokenNotCis2": []
    },
    {
      "HardCappSmaller": []
    },
    {
      "LivePauseTimeRestricted": []
    },
    {
      "LivePauseCycleCompleted": []
    },
    {
      "HardcapNot40ToSoftcap": []
    }
  ]
}
Return
None

Parameters
{
  "launchpad_id": "<UInt64>",
  "remaining_cis2_amount": "<String of size at most 74 containing an unsigned integer.>",
  "token": {
    "address": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "id": "<String with lowercase hex>"
  }
}
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "VestingFinished": []
    },
    {
      "VestingNotFinished": []
    },
    {
      "InvalidUser": []
    },
    {
      "LaunchpadNotExist": []
    },
    {
      "ContractUser": []
    },
    {
      "NotOwner": []
    },
    {
      "NotLive": []
    },
    {
      "UserNotExist": []
    },
    {
      "InsuffiecientFunds": []
    },
    {
      "MinimumInvestmentNotSatisfied": []
    },
    {
      "LaunchReachedToMaximum": []
    },
    {
      "HardcapLimitReached": []
    },
    {
      "CliffPeriodNotEnd": []
    },
    {
      "ClaimDateNotStarted": []
    },
    {
      "InvokeVestingError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "InvokeContractNoResponse": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseParams": []
    },
    {
      "Cis2ClientError": []
    },
    {
      "LaunchpadPaused": []
    },
    {
      "LaunchpadCancelled": []
    },
    {
      "AlreadyClaimed": []
    },
    {
      "CannotClaim": []
    },
    {
      "LaunchpadNotEnd": []
    },
    {
      "NotOperator": []
    },
    {
      "TokenNotCis2": []
    },
    {
      "HardCappSmaller": []
    },
    {
      "LivePauseTimeRestricted": []
    },
    {
      "LivePauseCycleCompleted": []
    },
    {
      "HardcapNot40ToSoftcap": []
    }
  ]
}
Return
None

Parameters
{
  "address": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  },
  "epoch_cycle": "<UInt8>",
  "id": "<String with lowercase hex>",
  "launchpad_id": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "VestingFinished": []
    },
    {
      "VestingNotFinished": []
    },
    {
      "InvalidUser": []
    },
    {
      "LaunchpadNotExist": []
    },
    {
      "ContractUser": []
    },
    {
      "NotOwner": []
    },
    {
      "NotLive": []
    },
    {
      "UserNotExist": []
    },
    {
      "InsuffiecientFunds": []
    },
    {
      "MinimumInvestmentNotSatisfied": []
    },
    {
      "LaunchReachedToMaximum": []
    },
    {
      "HardcapLimitReached": []
    },
    {
      "CliffPeriodNotEnd": []
    },
    {
      "ClaimDateNotStarted": []
    },
    {
      "InvokeVestingError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "InvokeContractNoResponse": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseParams": []
    },
    {
      "Cis2ClientError": []
    },
    {
      "LaunchpadPaused": []
    },
    {
      "LaunchpadCancelled": []
    },
    {
      "AlreadyClaimed": []
    },
    {
      "CannotClaim": []
    },
    {
      "LaunchpadNotEnd": []
    },
    {
      "NotOperator": []
    },
    {
      "TokenNotCis2": []
    },
    {
      "HardCappSmaller": []
    },
    {
      "LivePauseTimeRestricted": []
    },
    {
      "LivePauseCycleCompleted": []
    },
    {
      "HardcapNot40ToSoftcap": []
    }
  ]
}
Return
None

Parameters
None
Errors
None
Return
{
  "launchpad": [
    [
      "<UInt64>",
      {
        "cancel": "<Bool>",
        "cis2_amount": "<String of size at most 74 containing an unsigned integer.>",
        "cis2_price": "<UInt32>",
        "dev_paid": "<Amount in microCCD>",
        "end_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
        "hard_cap": "<Amount in microCCD>",
        "holders": [
          [
            "<AccountAddress>",
            "<Amount in microCCD>"
          ]
        ],
        "invest_amount": "<Amount in microCCD>",
        "live": "<Bool>",
        "live_pause_count": "<UInt8>",
        "maximum_invest": "<Amount in microCCD>",
        "minimum_invest": "<Amount in microCCD>",
        "owner": "<AccountAddress>",
        "pause_start": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
        "pause_until": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
        "soft_cap": "<Amount in microCCD>",
        "start_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
        "total_tx": "<UInt64>"
      }
    ]
  ],
  "lockup_details": [
    [
      "<UInt64>",
      {
        "cliff_duration": "<UInt64>",
        "cliff_period": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
        "lockup_holders": [
          [
            "<AccountAddress>",
            {
              "claimable_token": "<UInt64>",
              "cycle_completed": "<UInt8>",
              "vested_date": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
            }
          ]
        ],
        "token_release_data": [
          [
            "<UInt8>",
            {
              "per_cycle_release": "<UInt64>",
              "release_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
            }
          ]
        ]
      }
    ]
  ],
  "total_launchpad": "<UInt64>"
}
Address
🗎<7763,0>


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