Errors

Git Source

Provides custom errors for VestingTokenFactory and VestingToken contracts.

Errors

AddressCanNotBeZero

Error to indicate that an address cannot be the zero address.

error AddressCanNotBeZero();

FailedToDeploy

Error to indicate that deployment of a contract failed.

error FailedToDeploy();

FeeOutOfRange

Error to indicate that a fee is out of the accepted range.

error FeeOutOfRange();

InsufficientCreationFee

Error to indicate that the creation fee is insufficient.

error InsufficientCreationFee();

UnsuccessfulCreationFeeTransfer

Error to indicate an unsuccessful transfer of the creation fee.

error UnsuccessfulCreationFeeTransfer();

MinMilestonesNotReached

Error to indicate that the minimum number of milestones has not been reached.

error MinMilestonesNotReached();

MaxAllowedMilestonesHit

Error to indicate that the maximum number of milestones has been exceeded.

error MaxAllowedMilestonesHit();

ClaimableAmountOfImportIsGreaterThanExpected

Error to indicate that the claimable amount of an import is greater than expected.

error ClaimableAmountOfImportIsGreaterThanExpected();

EqualPercentagesOnlyAllowedBeforeLinear

Error to indicate that equal percentages are only allowed before setting up linear milestones.

error EqualPercentagesOnlyAllowedBeforeLinear();

InvalidTotalAmount

Error to indicate that the sum of all individual amounts is not equal to the totalAmount.

error InvalidTotalAmount();

InputArraysMustHaveSameLength

Error to indicate that input arrays must have the same length.

error InputArraysMustHaveSameLength();

LastPercentageMustBe100

Error to indicate that the last percentage in a milestone must be 100.

error LastPercentageMustBe100();

MilestonePercentagesNotSorted

Error to indicate that milestone percentages are not sorted in ascending order.

error MilestonePercentagesNotSorted();

MilestoneTimestampsNotSorted

Error to indicate that milestone timestamps are not sorted in ascending chronological order.

error MilestoneTimestampsNotSorted();

MoreThanTwoEqualPercentages

Error to indicate that there are more than two equal percentages, which is not allowed.

error MoreThanTwoEqualPercentages();

OnlyLastPercentageCanBe100

Error to indicate that only the last percentage in a series can be 100.

error OnlyLastPercentageCanBe100();

UnlockedIsGreaterThanExpected

Error to indicate that the amount unlocked is greater than expected.

error UnlockedIsGreaterThanExpected();

UnsuccessfulFetchOfTokenBalance

Error to indicate an unsuccessful fetch of token balance.

error UnsuccessfulFetchOfTokenBalance();

IncorrectClaimFee

Error to indicate that the claim fee provided does not match the expected claim fee.

error IncorrectClaimFee();

UnsuccessfulClaimFeeTransfer

Error to indicate an unsuccessful transfer of the claim fee.

error UnsuccessfulClaimFeeTransfer();

NoClaimableAmount

Error to indicate that there is no balance available to claim.

error NoClaimableAmount();