Smart Contracts (Testnet)

Module: vesting
back to overview
vesting
Methods: 5
Instances: 1
Initialization

Parameters
None
Errors
None
Event
None
Methods

Parameters
None
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "YourError": []
    },
    {
      "ClaimAmountExceedsReleasedAmount": []
    },
    {
      "VestingStartedOnPast": []
    },
    {
      "InvalidVestingDuration": []
    },
    {
      "InvalidVestingAmount": []
    },
    {
      "InvalidVestingCaller": []
    },
    {
      "InvalidVestingClaimer": []
    },
    {
      "InvalidVesting": []
    },
    {
      "InvokeLaunchpadError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseError": []
    },
    {
      "NotOperator": []
    },
    {
      "CalledByAContract": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "InvalidContractName": []
    },
    {
      "ContractOnly": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MissingContract": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    }
  ]
}
Return
None

Parameters
{
  "beneficiary": "<AccountAddress>",
  "duration": "<UInt128>",
  "start_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "token": {
    "address": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "id": "<String with lowercase hex>"
  },
  "total_amount": "<UInt128>"
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "YourError": []
    },
    {
      "ClaimAmountExceedsReleasedAmount": []
    },
    {
      "VestingStartedOnPast": []
    },
    {
      "InvalidVestingDuration": []
    },
    {
      "InvalidVestingAmount": []
    },
    {
      "InvalidVestingCaller": []
    },
    {
      "InvalidVestingClaimer": []
    },
    {
      "InvalidVesting": []
    },
    {
      "InvokeLaunchpadError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseError": []
    },
    {
      "NotOperator": []
    },
    {
      "CalledByAContract": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "InvalidContractName": []
    },
    {
      "ContractOnly": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MissingContract": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    }
  ]
}
Return
None

Parameters
{
  "claim_amount": "<UInt128>",
  "vesting": "<String of size 64 containing lowercase hex characters.>"
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "YourError": []
    },
    {
      "ClaimAmountExceedsReleasedAmount": []
    },
    {
      "VestingStartedOnPast": []
    },
    {
      "InvalidVestingDuration": []
    },
    {
      "InvalidVestingAmount": []
    },
    {
      "InvalidVestingCaller": []
    },
    {
      "InvalidVestingClaimer": []
    },
    {
      "InvalidVesting": []
    },
    {
      "InvokeLaunchpadError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseError": []
    },
    {
      "NotOperator": []
    },
    {
      "CalledByAContract": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "InvalidContractName": []
    },
    {
      "ContractOnly": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MissingContract": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    }
  ]
}
Return
None

Parameters
{
  "beneficiary": "<AccountAddress>",
  "duration": "<UInt128>",
  "start_time": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
  "token": {
    "address": {
      "index": "<UInt64>",
      "subindex": "<UInt64>"
    },
    "id": "<String with lowercase hex>"
  },
  "total_amount": "<UInt128>"
}
Errors
None
Return
"<UInt128>"

Parameters
{
  "launchpad_contracts": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
{
  "Enum": [
    {
      "ParseParamsError": []
    },
    {
      "YourError": []
    },
    {
      "ClaimAmountExceedsReleasedAmount": []
    },
    {
      "VestingStartedOnPast": []
    },
    {
      "InvalidVestingDuration": []
    },
    {
      "InvalidVestingAmount": []
    },
    {
      "InvalidVestingCaller": []
    },
    {
      "InvalidVestingClaimer": []
    },
    {
      "InvalidVesting": []
    },
    {
      "InvokeLaunchpadError": []
    },
    {
      "InvokeContractNoResult": []
    },
    {
      "ParseResult": []
    },
    {
      "ParseError": []
    },
    {
      "NotOperator": []
    },
    {
      "CalledByAContract": []
    },
    {
      "AmountTooLarge": []
    },
    {
      "MissingAccount": []
    },
    {
      "LogFull": []
    },
    {
      "LogMalformed": []
    },
    {
      "InvalidContractName": []
    },
    {
      "ContractOnly": []
    },
    {
      "MissingEntrypoint": []
    },
    {
      "MissingContract": []
    },
    {
      "MessageFailed": []
    },
    {
      "LogicReject": {
        "reason": "<Int32>"
      }
    },
    {
      "Trap": []
    }
  ]
}
Return
None
Address
🗎<4738,0>


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