Errors
Library for all Aria contract custom errors.
Errors
AriaIPRWAVault__ZeroAmount
Thrown when the amount is zero
error AriaIPRWAVault__ZeroAmount();AriaIPRWAVault__ZeroRoyaltyTokenDistributionWorkflowsAddress
Thrown when the royalty token distribution workflows address is zero
error AriaIPRWAVault__ZeroRoyaltyTokenDistributionWorkflowsAddress();AriaIPRWAVault__ZeroRoyaltyModuleAddress
Thrown when the royalty module address is zero
error AriaIPRWAVault__ZeroRoyaltyModuleAddress();AriaIPRWAVault__ZeroTokenizerModuleAddress
Thrown when the tokenizer module address is zero
error AriaIPRWAVault__ZeroTokenizerModuleAddress();AriaIPRWAVault__ZeroFractionalTokenTemplateAddress
Thrown when the fractional token template address is zero
AriaIPRWAVault__ZeroAdminAddress
Thrown when the admin address is zero
AriaIPRWAVault__ExpirationTimeNotInFuture
Thrown when the expiration time is not in the future
Parameters
expirationTime
uint256
The provided expiration time
currentTime
uint256
The current time
AriaIPRWAVault__ZeroFundReceiverAddress
Thrown when the fund receiver address is zero
AriaIPRWAVault__ZeroUsdcContractAddress
Thrown when the USDC contract address is zero
AriaIPRWAVault__ZeroSPGNftContractAddress
Thrown when the spg nft contract address is zero
AriaIPRWAVault__FractionalTokenNotSet
Thrown when the fractional token is not set
AriaIPRWAVault__CallerNotAdmin
Thrown when the caller is not the admin
Parameters
caller
address
The function caller address
admin
address
The admin address
AriaIPRWAVault__InvalidUSDCAddress
Thrown when the USDC address is invalid
AriaIPRWAVault__UnsupportedIERC20
Thrown when the token is not supported
AriaIPRWAVault__VaultNotOpen
Thrown when the vault is not open
Parameters
currentState
FundraiseState
The current state of the vault
AriaIPRWAVault__VaultNotCanceled
Thrown when the vault is not canceled
Parameters
currentState
FundraiseState
The current state of the vault
AriaIPRWAVault__NoRefundableDeposit
Thrown when there is no refundable deposit
Parameters
claimer
address
The address of the claimer
token
address
The address of the token that the claimer wants to claim
AriaIPRWAVault__VaultNotClosed
Thrown when the vault is not closed
Parameters
currentState
FundraiseState
The current state of the vault
AriaIPRWAVault__ZeroDepositAmount
Thrown when the deposit amount is zero
Parameters
depositor
address
The address of the depositor
token
address
The address of the token that the depositor wants to deposit
AriaIPRWAVault__ClaimerNotEligible
Thrown when the claimer is not eligible to claim the fractionalized IP tokens
Parameters
claimer
address
The address of the claimer
usdc
address
The USDC address used to deposit into the fundraise
AriaIPRWAVault__ClaimerAlreadyClaimed
Thrown when the claimer has already claimed the fractionalized IP tokens
Parameters
claimer
address
The address of the claimer
AriaIPRWAVault__WhitelistDisabled
Thrown when the whitelist is disabled
AriaIPRWAVault__WhitelistProofInvalid
Thrown when the whitelist merkle proof is invalid
AriaIPRWAVault__CallerNotWhitelisted
Thrown when the caller is not whitelisted
AriaIPRWAVault__ActiveDepositsExist
Thrown when there are active deposits
Parameters
token
address
The address of the token
totalDeposits
uint256
The total deposits
AriaIPRWAVault__FractionalTokenSupplyLessThanTotalDeposits
Thrown when the fractional token total supply is less than the total deposits
Parameters
fractionalTokenTotalSupply
uint256
The total supply of the fractional token
totalDeposits
uint256
The total deposits
AriaIPRWAVault__FractionalTokenAlreadyDeployed
Thrown when the fractional token is already deployed
Parameters
fractionalToken
address
The address of the fractional token
AriaIPRWAVault__NoRaise
Thrown when there is no raise has been made.``
AriaIPRWAVault__NothingToRecover
Thrown when there is nothing to recover
AriaIPRWAVault__ZeroMintTimelockDuration
Thrown when trying to set a mint timelock duration of zero
AriaIPRWAVault__ZeroMintAmount
Thrown when the mint amount is zero during initiation.
AriaIPRWAVault__MintAlreadyPending
Thrown when initiating a mint while another is already pending.
AriaIPRWAVault__TimelockCalculationOverflow
Thrown if calculating the unlock timestamp results in an overflow.
AriaIPRWAVault__NoPendingExecution
Thrown when attempting to execute a timelocked action when none is pending.
AriaIPRWAVault__TimelockNotReached
Thrown when attempting to execute a timelocked action before the timelock is reached.
Parameters
unlockTimestamp
uint48
The timestamp when the timelock expires.
AriaIPRWAVault__DurationUpdateAlreadyPending
Thrown when attempting to initiate a duration update while another is pending.
AriaIPRWAVault__CannotSetZeroTimelockDuration
Thrown when attempting to set the withdrawal timelock duration to zero.
AriaIPRWAVault__FractionalTokenCapExceeded
Thrown when the fractional token cap is exceeded on upcoming claim
AriaIPRWAVault__InvalidClaimDeadline
Thrown when the claim deadline is invalid
AriaIPRWAVaultFactory__CallerNotAdmin
Thrown when the caller is not the factory admin
Parameters
caller
address
The function caller address
admin
address
The admin address
AriaIPRWAVaultFactory__ZeroAdminAddress
Thrown when the admin address is zero
AriaIPRWAVaultFactory__ZeroVaultTemplateAddress
Thrown when the vault template address is zero
AriaIPDistributionContract__CallerNotAdmin
Thrown when the caller is not the admin
Parameters
caller
address
The function caller address
admin
address
The admin address
AriaIPDistributionContract__ZeroRoyaltyModuleAddress
Thrown when the royalty module address is zero
AriaIPDistributionContract__ZeroUpgradeableBeaconAddress
Thrown when the upgradeable beacon address is zero
AriaIPDistributionContract__ZeroFractionalTokenAddress
Thrown when the fractional token address is zero
AriaIPDistributionContract__ZeroAdminAddress
Thrown when the admin address is zero
AriaIPDistributionContract__ZeroIpIdAddress
Thrown when the IP ID address is zero
AriaIPDistributionContract__ZeroProtocolTreasuryAddress
Thrown when the protocol treasury address is zero
AriaIPDistributionContract__ZeroRewardTokenAddress
Thrown when the reward token address is zero
AriaIPDistributionContract__ZeroFractionalTokenAllocPoints
Thrown when the fractional token alloc points is zero
AriaIPDistributionContract__ZeroStakingTokenAddress
Thrown when the staking token address is zero
AriaIPDistributionContract__ZeroDepositAmount
Thrown when the deposit amount is zero
AriaIPDistributionContract__ZeroWithdrawAmount
Thrown when the withdraw amount is zero
AriaIPDistributionContract__ZeroRewardDistributionPeriod
Thrown when the reward distribution period is zero
AriaIPDistributionContract__StakingPoolAlreadyExists
Thrown when attempting to add a staking pool that already exists
Parameters
stakingToken
address
The address of the staking token
AriaIPDistributionContract__InsufficientStakedBalance
Thrown when the staker's staked balance is insufficient
Parameters
staker
address
The address of the staker
stakingToken
address
The address of the staking token
stakedBalance
uint256
The staker's staked balance
withdrawAmount
uint256
The amount of staking tokens to withdraw
AriaIPDistributionContract__NoRewardsToClaim
Thrown when there are no rewards to claim
Parameters
claimer
address
The address of the claimer
AriaIPDistributionContract__IpRoyaltyVaultNotDeployed
Thrown when the IP royalty vault is not deployed
Parameters
ipId
address
The IP ID