Smart Contracts (Testnet)

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

Parameters
{}
Errors
None
Event
None
Methods

Parameters
None
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "InsufficientBuyTokenAmount": []
    },
    {
      "InsufficientTokenLeft": []
    },
    {
      "ZeroTokenAmount": []
    },
    {
      "StartTimeAlreadyPassed": []
    },
    {
      "EndTimeSmaller": []
    },
    {
      "HardcapSmaller": []
    },
    {
      "ZeroTokenConversionRate": []
    },
    {
      "NotWhitelistedToken": []
    },
    {
      "CallerNotAccount": []
    },
    {
      "InvalidRocket": []
    },
    {
      "NotRocketOwner": []
    },
    {
      "RocketNotStarted": []
    },
    {
      "RocketAlreadyEnded": []
    },
    {
      "RocketOnPaused": []
    },
    {
      "InvalidBuyToken": []
    },
    {
      "InsufficientRocketAmountLeft": []
    },
    {
      "InvalidRocketBuyer": []
    },
    {
      "InvokeLaunchpadError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseError": []
    },
    {
      "NotOperator": []
    },
    {
      "CalledByAContract": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "InvalidContractName": []
    },
    {
      "ContractOnly": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    }
  ]
}
Return
None

Parameters
{
  "user_account": "<AccountAddress>"
}
Errors
None
Return
{
  "rockets": [
    {
      "end_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
      "hard_cap": "<UInt128>",
      "paused_status": "<Bool>",
      "rocket_token": {
        "address": {
          "index": "<UInt64>",
          "subindex": "<UInt64>"
        },
        "id": "<String with lowercase hex>"
      },
      "soft_cap": "<UInt128>",
      "start_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
      "token_sold": "<UInt128>",
      "total_token": "<UInt128>"
    }
  ]
}

Parameters
{
  "end_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "hard_cap": "<UInt128>",
  "rocket_token": {
    "address": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "id": "<String with lowercase hex>"
  },
  "soft_cap": "<UInt128>",
  "start_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "token_conversion": [
    {
      "address": {
        "index": "<UInt64>",
        "subindex": "<UInt64>"
      },
      "id": "<String with lowercase hex>"
    },
    "<UInt128>"
  ],
  "total_token": "<UInt128>"
}
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "InsufficientBuyTokenAmount": []
    },
    {
      "InsufficientTokenLeft": []
    },
    {
      "ZeroTokenAmount": []
    },
    {
      "StartTimeAlreadyPassed": []
    },
    {
      "EndTimeSmaller": []
    },
    {
      "HardcapSmaller": []
    },
    {
      "ZeroTokenConversionRate": []
    },
    {
      "NotWhitelistedToken": []
    },
    {
      "CallerNotAccount": []
    },
    {
      "InvalidRocket": []
    },
    {
      "NotRocketOwner": []
    },
    {
      "RocketNotStarted": []
    },
    {
      "RocketAlreadyEnded": []
    },
    {
      "RocketOnPaused": []
    },
    {
      "InvalidBuyToken": []
    },
    {
      "InsufficientRocketAmountLeft": []
    },
    {
      "InvalidRocketBuyer": []
    },
    {
      "InvokeLaunchpadError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseError": []
    },
    {
      "NotOperator": []
    },
    {
      "CalledByAContract": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "InvalidContractName": []
    },
    {
      "ContractOnly": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    }
  ]
}
Return
None

Parameters
{
  "buy_token": {
    "address": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "id": "<String with lowercase hex>"
  },
  "rocket_address": "<String of size 64 containing lowercase hex characters.>",
  "token_sent": "<UInt128>"
}
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "InsufficientBuyTokenAmount": []
    },
    {
      "InsufficientTokenLeft": []
    },
    {
      "ZeroTokenAmount": []
    },
    {
      "StartTimeAlreadyPassed": []
    },
    {
      "EndTimeSmaller": []
    },
    {
      "HardcapSmaller": []
    },
    {
      "ZeroTokenConversionRate": []
    },
    {
      "NotWhitelistedToken": []
    },
    {
      "CallerNotAccount": []
    },
    {
      "InvalidRocket": []
    },
    {
      "NotRocketOwner": []
    },
    {
      "RocketNotStarted": []
    },
    {
      "RocketAlreadyEnded": []
    },
    {
      "RocketOnPaused": []
    },
    {
      "InvalidBuyToken": []
    },
    {
      "InsufficientRocketAmountLeft": []
    },
    {
      "InvalidRocketBuyer": []
    },
    {
      "InvokeLaunchpadError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseError": []
    },
    {
      "NotOperator": []
    },
    {
      "CalledByAContract": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "InvalidContractName": []
    },
    {
      "ContractOnly": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    }
  ]
}
Return
None

Parameters
{
  "rocket_address": "<String of size 64 containing lowercase hex characters.>",
  "state": "<Bool>"
}
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "InsufficientBuyTokenAmount": []
    },
    {
      "InsufficientTokenLeft": []
    },
    {
      "ZeroTokenAmount": []
    },
    {
      "StartTimeAlreadyPassed": []
    },
    {
      "EndTimeSmaller": []
    },
    {
      "HardcapSmaller": []
    },
    {
      "ZeroTokenConversionRate": []
    },
    {
      "NotWhitelistedToken": []
    },
    {
      "CallerNotAccount": []
    },
    {
      "InvalidRocket": []
    },
    {
      "NotRocketOwner": []
    },
    {
      "RocketNotStarted": []
    },
    {
      "RocketAlreadyEnded": []
    },
    {
      "RocketOnPaused": []
    },
    {
      "InvalidBuyToken": []
    },
    {
      "InsufficientRocketAmountLeft": []
    },
    {
      "InvalidRocketBuyer": []
    },
    {
      "InvokeLaunchpadError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseError": []
    },
    {
      "NotOperator": []
    },
    {
      "CalledByAContract": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "InvalidContractName": []
    },
    {
      "ContractOnly": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    }
  ]
}
Return
None

Parameters
{
  "enable": "<Bool>",
  "token": {
    "address": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "id": "<String with lowercase hex>"
  }
}
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "InsufficientBuyTokenAmount": []
    },
    {
      "InsufficientTokenLeft": []
    },
    {
      "ZeroTokenAmount": []
    },
    {
      "StartTimeAlreadyPassed": []
    },
    {
      "EndTimeSmaller": []
    },
    {
      "HardcapSmaller": []
    },
    {
      "ZeroTokenConversionRate": []
    },
    {
      "NotWhitelistedToken": []
    },
    {
      "CallerNotAccount": []
    },
    {
      "InvalidRocket": []
    },
    {
      "NotRocketOwner": []
    },
    {
      "RocketNotStarted": []
    },
    {
      "RocketAlreadyEnded": []
    },
    {
      "RocketOnPaused": []
    },
    {
      "InvalidBuyToken": []
    },
    {
      "InsufficientRocketAmountLeft": []
    },
    {
      "InvalidRocketBuyer": []
    },
    {
      "InvokeLaunchpadError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseError": []
    },
    {
      "NotOperator": []
    },
    {
      "CalledByAContract": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "InvalidContractName": []
    },
    {
      "ContractOnly": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    }
  ]
}
Return
None

Parameters
{
  "vesting_contract": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
{
  "Enum": [
    {
      "ParsingFailed": []
    },
    {
      "InsufficientBuyTokenAmount": []
    },
    {
      "InsufficientTokenLeft": []
    },
    {
      "ZeroTokenAmount": []
    },
    {
      "StartTimeAlreadyPassed": []
    },
    {
      "EndTimeSmaller": []
    },
    {
      "HardcapSmaller": []
    },
    {
      "ZeroTokenConversionRate": []
    },
    {
      "NotWhitelistedToken": []
    },
    {
      "CallerNotAccount": []
    },
    {
      "InvalidRocket": []
    },
    {
      "NotRocketOwner": []
    },
    {
      "RocketNotStarted": []
    },
    {
      "RocketAlreadyEnded": []
    },
    {
      "RocketOnPaused": []
    },
    {
      "InvalidBuyToken": []
    },
    {
      "InsufficientRocketAmountLeft": []
    },
    {
      "InvalidRocketBuyer": []
    },
    {
      "InvokeLaunchpadError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseError": []
    },
    {
      "NotOperator": []
    },
    {
      "CalledByAContract": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "InvalidContractName": []
    },
    {
      "ContractOnly": []
    },
    {
      "MissingContract": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    }
  ]
}
Return
None
Address
🗎<4688,0>


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