Errors
Author: Daniel Yamagata & Jerry Qi & Naveen Ailawadi
A library for all errors that can be thrown in the Mezzanine Protocol. All errors in Mezzanine follow the following syntax:
where ContractName is the name of the contract that the error originates, and ErrorName is the name of the error. The arguments are optional and are used to provide additional context to the error.
This part of the documentation is not meant to be read. It is meant to act as a resource for developers who may have a difficult time tracing errors when building on top of the Mezzanine protocol. The Ctrl-F command should be used to locate the error name or selector that is causing a reversion.
Errors
AlreadySet
The state variable to set is already set to the given value or part of a given set or mapping
Selector: 0xa741a045
NotSet
The state variable to remove is not set or is not part of a given set or mapping
Selector: 0x441dfbd6
SelfAddress
The provided address is the address of the contract
Selector: 0x2007aa4c
ZeroAddress
The passed-in address is the zero address, i.e. address(0)
Selector: 0xd92e233d
ZeroAmount
The passed-in amount is zero
Selector: 0x1f2a2005
NullCoreId
The passed-in core ID is the null, i.e. bytes32(0)
Selector: 0x256d6403
EmptyArray
The passed-in array is empty
Selector: 0x521299a9
InvalidSignature
An invalid signature was provided for 'account'
Selector: 0xd855c4f4
InputLengthMismatch
Multiple arrays are passed in but not of the same length
Selector: 0xaaad13f7
CallerNotAuthorizedToPatch
The 'caller' is not authorized to patch via 'resetToPatchedLatestVersion()' in a contract that inherits from 'Patchable'
Selector: 0x15d92cf7
TreasuryMismatch
The 'expectedTreasury' does not match the 'providedTreasury'. Thrown when inserting a department as a child and adding an asset into the capital stack
Selector: 0x4c4808fc
InvalidShares
The passed-in 'shares' to use for the token timelock, priced round, shareclass governor, etc. is not tracked by the treasury
Selector: 0xc645bc49
ProvidedTreasuryDoesNotSupportTreasuryInterface
The 'treasury' passed in during initialization does not support the treasury interface
Selector: 0xd7cb9b7a
SafeModulesDisabled
Safe modules are disabled. This error is thrown when:
A call is made to 'execTransactionFromModule()' of a Team, which inherits from Safe
A call is made to 'checkModuleTransaction()' in a Mezz Guard
Selector: 0x3965d7af
InvalidDenominationAsset
The passed-in denomination asset is not whitelisted within the Mezz Hub
Selector: 0x6b044bae
TransactionFailed
An arbitrary call to an address failed. Thrown when:
A Safe, which Team inherits, calls 'checkAfterExecution()' during 'execTransaction()'
The 'execTransaction()' during a Team's 'execMultipleTransactions()' failed
Selector: 0xbf961a28
CannotReceiveNativeToken
The contract is unable to receive the blockchain's native token
Selector: 0xa02752ed
PrecisionLoss
Arithmetic produced a value of zero when it should have been greater than zero Precision loss in the protocol is almost always dependent on time-based calculations with extremely small values. Functions that cause this error are likely to function correctly once enough time has passed
Selector: 0x63c8f3fb
MaliciousUpgradeCalldata
The calldata used to call 'upgradeToAndCall()' is another call to 'upgradeToAndCall()', which is likely to be malicious
Selector: 0x03c16f1f
HubOwnableCallerNotHubOwner
The 'caller' is not the 'owner' of the Mezz Hub
Selector: 0x206e1fcc
DelayedUUPSUpgradeableERC1967InvalidImplementation
The proposed upgrade has a code length of zero
Selector: 0x4c719dc1
DelayedUUPSUpgradeableNewImplementationIsCurrentImplementation
The proposed upgrade is the same as the current implementation
Selector: 0x972744aa
DelayedUUPSUpgradeablePendingUpgradeInProgress
An upgrade was proposed. However, there is already an upgrade pending. The current pending upgrade must be canceled for a new upgrade to be proposed Selector:
0xcee95171
DelayedUUPSUpgradeableNoUpgradeProposed
'upgradeToAndCall()' was called. However, there is no pending upgrade
Selector: 0x5ba5b862
DelayedUUPSUpgradeableImplementationNotProposed
An attempt at an upgrade to 'newImplementation' was made. However, 'newImplementation' was not proposed
Selector: 0xb3f596ce
DelayedUUPSUpgradeableUpgradeNotReady
An attempt at an upgrade occurred. However, the 'pendingUpgradeSnapshot' has not passed yet
Selector: 0x923c0d33
DelayedUUPSUpgradeableNoPendingUpgradeToCancel
An attempt to cancel the pending upgrade occurred. However, there is no upgrade pending
Selector: 0x642d5ec5
MezzHubCallerNotOwnerOrDefender
The caller attempted to call a function that is only callable by the 'owner' or a 'defender'
Selector: 0xffa1c3e7
MezzHubOwnershipTransferAlreadyPending
An ownership transfer cannot be initiated because there is already an ownership transfer pending
Selector: 0xf9cd2b72
MezzHubOwnershipTransferNotReady
An attempt to accept an ownership transfer was made. However, the owner transfership is not ready
Selector: 0x567b3c3d
MezzHubNoPendingOwnershipTransferToCancel
An attemp to cancel an ownership transfer that is non-existent
Selector: 0x8b4f3e71
MezzHubOwnershipRenouncementDisabled
Attempt to renounce ownership by the 'owner'. This is disabled to prevent griefing by a compromised 'owner'
Selector: 0xecb099ff
MezzHubInvalidFreezeDuration
The passed in 'freezeDuration' is invalid, meaning it is either zero or greater than Constants.MAX_FREEZE_DURATION
Selector: 0x5f7a0e96
MezzHubDocumentRegistryNotSet
Attempt to query the Document Registry when it has not been set
Selector: 0xe110a858
MezzHubFeeControllerNotSet
Attempt to query the Fee Controller when it has not been set
Selector: 0x495b7e87
MezzHubMezzDeployerNotSet
Attempt to query the Mezz Deployer when it has not been set
Selector: 0x90e07ad0
StateAwareProtocolStateFrozen
The protocol state is frozen in the Mezz Hub
Selector: 0x893c4631
StateAwareProtocolStatePausedOrFrozen
The protocol state is paused or frozen in the Mezz Hub. The value of 'state' is reflected by the following enum:
0 = Active
1 = Paused
2 = Frozen
Selector: 0x8619d7e0
StateAwareImplementationFrozen
The 'implementation' is frozen in the Mezz Hub
Selector: 0x9aa84a98
StateAwareDeploymentFrozen
The 'deployment' is frozen in the Mezz Hub
Selector: 0x4bfafc15
HubOwnableUUPSUpgradeableCallerNotAuthorizedToCancelUpgrade
The caller attempted to cancel an upgrade and is not the owner of the Mezz Hub nor a defender
Selector: 0x16e79c7b
MezzDeployerInvalidCompanyNameLength
The passed in company name has a length of zero or is greater than the max length
Selector: 0x60a7a170
MezzDeployerInvalidCompanySymbolLength
The passed in company symbol has a length of zero or is greater than the max length
Selector: 0x56ec764b
MezzDeployerImplementationNotMezzGuard
The queried 'implementation' associated with 'coreId' does not support the mezz guard interface
Selector: 0x0b46223a
MezzDeployerImplementationNotDepartment
The queried 'implementation' associated with 'coreId' does not support the department interface
Selector: 0x6b02f768
MezzDeployerImplementationNotModule
The queried 'implementation' associated with 'coreId' does not support the module interface
Selector: 0xb1a808c0
MezzDeployerImplementationNotAsset
The queried 'implementation' associated with 'coreId' does not support the asset interface
Selector: 0xa93515ef
MezzDeployerThresholdExceedsNumberOfOwners
The initial threshold to set is greater than the number of owners. 'owners' refer to a Safe's signers
Selector: 0xa93515ef
MezzDeployerCompanyNameTaken
The company name is already taken
Selector: 0x4a16a7b5
MezzDeployerCompanySymbolTaken
The company symbol is already taken
Selector: 0x88adf994
MezzDeployerInvalidGovernorCoreId
The provided 'coreId' for a governor is invalid
Selector: 0x8e810482
MezzDeployerInvalidCharacter
A company's name or symbol contains 'char', which is an invalid character
Selector: 0xf8f3b4e6
DocumentRegistryDocumentDoesNotExist
The document associated with 'documentIndex' for 'owner' does not exist
Selector: 0xe1f5423e
FeeControllerNewImplementationFeeAboveMaxFee
The 'implementationFee' to set is above the maximum
Selector: 0x689f650e
BillingRouterInvalidDueDate
The provided 'dueDate' is in the past
Selector: 0xe5acd993
BillingRouterInvoiceAlreadyExists
The invoice already exists in the billing router
Selector: 0xb2e02be8
BillingRouterCannotCancelPaidInvoice
The 'vendor' attempted to cancel an invoice that has already been paid
Selector: 0x5fa6f33b
BillingRouterCallerNotVendor
The 'caller' of the function is not the vendor
Selector: 0x975582f5
BillingRouterInvoiceDoesNotExist
There is no existing invoice associated with 'invoiceId'
Selector: 0x588a04d6
MezzMigratorRedundantCoreIdProvidedDuringV1SetUp
A redundant 'coreId' was provided during the Mezz Migrator initialization
Selector: 0xc975fc2a
MezzMigratorImplementationDoesNotSupportCredentialedInterface
The 'implementation' does not support the 'ICredentialed' interface
Selector: 0x7862e552
MezzMigratorImplementationCoreIdMismatch
The 'implementationCoreId' does not match the passed-in 'coreId'. Thrown when setting a new core version, resetting the latest core version, or during the Mezz Migrator initialization
Selector: 0x54144ed4
MezzMigratorInvalidVersion
The provided 'version' is either zero or greater than the latest version
Selector: 0xad0fc8ec
MezzMigratorCallerAlreadyProposedVersion
The caller's version is greater than or equal to the new version that they are trying to upgrade to
Selector: 0xa1eb9229
MezzMigratorVersionMismatch
The provided implementation's version is not equal to the passed in version
Selector: 0x3160ebdc
MezzMigratorCannotResetWhileImplementationActive
The caller cannot reset to the latest patched version while 'implementation' is active, meaning the protocol state is 'Active' and the implementation is not frozen
Selector: 0x43ee0da5
MezzMigratorLatestVersionZero
The latest version is zero when trying to patch a given implementation
Selector: 0x87a8f6c6
MezzMigratorImplementationNotSet
The caller attempted to query an implementation or version for a 'coreId' whose implementation has not been set
Selector: 0xfdf8145a
VestingDurationZero
The passed-in vesting duration is zero
Selector: 0x0dd7221d
VestingInvalidInitialUnlockPercentage
The 'initialUnlockPercentage' is greater than Constants.PRECISION_FACTOR, which represents 100%
Selector: 0x3bf7bcf6
VestingCliffGreaterThanDuration
The passed-in vesting 'cliff' is greater than 'duration'
Selector: 0x1c5412a1
VestingInitialUnlockGreaterThanVestingAmount
The nominal 'initialUnlock' is greater than the 'vestingAmount'
Selector: 0xeb373431
VestingDifferenceBetweenAmountAndUnlockInsufficcient
The difference between the vesting amount and the initial unlock amount msut be greater than 1e10 to prevent potential reversion due to precision loss
Selector: 0x4f08e754
VestingStartDateTooFarInFuture
The 'startDate' for the vesting is too far in the future as determined by Constants.MAX_VESTING_START_DATE
Selector: 0x03161d8a
VestingDurationIncreaseOverflow
The sum of the proposed 'durationExtension' and 'currentDuration' exceeds type(uint32).max
Selector: 0x8d3d6a4c
MezzUUPSUpgradeableCallerUnauthorizedUpgrader
The 'caller' attempted to upgrade a proxy of a 'core' implementation to a new implementation. However, the 'caller' is not the Mezz Migrator
Selector: 0x81607921
TeamControlledTeamDoesNotSupportTeamInterface
The 'team' passed in during the team-controlled contract's initialization does not support the Team Interface
Selector: 0x2d20894c
TeamControlledCallerNotTeam
The caller is not the 'team', which acts as the admin of the contract
Selector: 0x771ddc97
BoardControlledCallerNotBoard
The 'caller' is not the Treasury, whose signers are the board of directors
Selector: 0xc052d844
BoardControlledCallerNotGovernance
The 'caller' is not the Treasury's governor
Selector: 0xbfc0ce9d
AdminControlledCallerNotAdminOrBoard
The 'caller' is not an admin or the Treasury, whose signers are the board of directors
Selector: 0xa1ac51e3
TeamChildToInsertParentMismatch
The parent of the 'childToInsert' does not match the address of the 'team' that it is being inserted into
Selector: 0xe07ff662
TeamChildToInsertDoesNotSupportDepartmentOrModuleInterface
The 'childToInsert' does not support the Department or Module interface. Checked via ERC165 supportsInterface()
Selector: 0x0a0f12cf
TeamChildToInsertEquityFinancingModule
The child to insert is an Equity Financing Module. Checked by querying the 'coreId' of the child
Selector: 0x9eed88ed
TeamOwnerManagementInvalidSelector
TeamInvalidExecTransactionInMultiCall
The 'functionSelector' provided in the multicall does not refert to execTransaction() but another function
Selector: 0x3d8cb1c1
TeamCallerNotChildOrThis
The caller is not a 'child' of the team or the team, itself
Selector: 0xf04214db
TeamCallerNotChild
The 'caller' is not a 'child' of the team
Selector: 0x1644c4f0
NotSolvent
The function within the team is only callable while solvent
Selector: 0xe081c8f3
NotLiquidating
The function within the team is only callable while liquidating
Selector: 0xa97f9f86
MezzERC721CallerNotTokenOwner
The 'caller' is not the owner of 'tokenId'
Selector: 0x81021dbf
VotesDelegatorCallerNotDelegateRegistry
The 'caller' is not the delegate registry
Selector: 0x48454317
AncestorLogicCallerNotAncestor
The 'caller' is not an ancestor of the 'team'
Selector: 0x3fb3c6b8
AncestorLogicCallerNotAncestorOrAuthorized
The 'caller' is not the 'team', itself, or an ancestor of the 'team'
Selector: 0x7ceae545
SafeTxValdiationOwnerManagementDisabled
The following errors are thrown when a team attempts to modify its:
Owners
Threshold
Guard
Modules Changing these aspects of a team must follow strict logic set in the team, itself. This logic is bespoke and up to the implementation of the team to determine. A team attempted to add, remove, or swap one of its owners, i.e. signers. The 'selector' is the function selector which corresponds to adding, removing, or swapping an owner in a Safe
Selector: 0x7d3024de
SafeTxValdiationThresholdManagementDisabled
A team attempted to change is threshold
Selector: 0xcdf5a018
SafeTxValidationGuardManagementDisabled
A team attempted to change its guard
Selector: 0xd099c4aa
SafeTxValidationModuleManagementDisabled
A team attempted to enable a Safe module
Selector: 0x7c52a6bc
DepartmentChildToInsertIsAncestor
The 'childToInsert' is an ancestor of the department
Selector: 0x7f6155bf
GeneralDepartmentInvalidName
The provided department name is longer than 32 characters or null
Selector: 0x19c72ab3
MezzGuardCallerNotController
The 'caller' is not the controller of the Mezz Guard
Selector: 0x31f36af0
MezzGuardDelegateCallDisabled
Delegate calls are disabled for all teams
Selector: 0x6021a295
BlacklistGuardBlacklistedOperation
The team who uses the blacklist guard attempted to execute a blacklisted operation
Selector: 0x737c920a
WhitelistGuardNonWhitelistedOperation
The team who uses whitelist guard attempted to execute a non-whitelisted operation
Selector: 0xc278988a
TreasuryCallerNotGovernance
The caller is not the governor of the Treasury
Selector: 0x016045e1
TreasuryAddingAssetReentrancy
'addAssetToCapitalStack' was reentered
Selector: 0xdcfc03c8
TreasuryCannotAddCommonShares
An attempt was made to add Common Shares. However, a company can only have a single class of common shares
Selector: 0xfe009a20
TreasuryMaxShareClassesReached
The addition of a new share class would exceed the maximum number of shares classes
Selector: 0x9eae310b
TreasuryProposedGovernorChangeInvalid
The Treasury's current governor is the same type as the proposed change. If this attempt was done to upgrade to a new version, upgrades should be completed via the Mezz Migrator
Selector: 0x83e563bb
TreasuryCallerNotPayrollManager
The caller is not the Payroll Manager
Selector: 0x027fafad
TreasuryCannotRemoveEquityFinancingModule
The Treasury is unable to remove the Equity Financing Module
Selector: 0xe3ca07a5
TreasuryPayrollInvalidAsset
The payroll manager attempted to spend an asset that is not the common shares or the denomination asset
Selector: 0x2b4ae809
TreasuryCannotRemoveCommonShares
The board of directors is attempting to remove the common shares from the capital stack
Selector: 0xe64cf198
TreasurySharesToRemoveNotRemovable
The 'removable()' of 'sharesToRemove' returned false, meaning the total supply is greater than zero
Selector: 0xe64cf198
MezzSharesInsufficientAuthorizedSharesForIssuance
The 'sharesToIssue' exceeds the number of authorized shares
Selector: 0xc3b42604
MezzSharesInsufficientBalanceForBurn
The 'sharesToBurn' exceeds the 'callerBalance'
Selector: 0x0cddc40a
MezzSharesNewAuthorizedSharesExceedsMaxSupply
The authorized shares exceeds _maxSupply, which is overridden to return type(uint192).max
Selector: 0x69352a66
MezzSharesVotingWeightExceedsMax
The 'votingWeight' to initialize the shares exceds the max
Selector: 0x97e67d47
MezzSharesMisinputDuringIssuance
The duration is non-zero during the issuance of shares but at least one of the other arguments for vesting is non-null
Selector: 0x12e5c2dd
MezzSharesDelegateDisabled
The caller attempted to delegate via the Mezz Shares rather than the delegate registry
Selector: 0x61cb0201
CommonSharesInvalidInitialAuthorizedShares
The initial authorized shares was below the minimum of 1e18 or above the maximum of 1_000_000_000_000e18
Selector: 0xcc6ffc47
PreferredSharesInvalidLiquidationPreference
The passed-in liquidation preference value to set during the Preferred Shares initialization exceeds the maximum
Selector: 0x97712678
CapitalStackMaxSeniorityLevelsReached
The maximum number of seniority levels has been reached
Selector: 0x42da71f8
CapitalStackMaxAssetsForSeniorityLevelReached
The max number of assets for the seniority level with 'seniorityLevelIndex' has been reached
Selector: 0xbb3513f6
CapitalStackProposedAssetClassIsInvalidForSeniorityLevelInsertion
The proposed 'assetClass' of the seniority level to insert is invalid
Selector: 0x3851e38e
CapitalStackInvalidPreviousSeniorityLevelIndexForInsertion
The 'previousSeniorityLevelIndex' has a null asset class and does not equal zero. This indicates that an an insertion was attempted to be made at a non-existent seniority level
Selector: 0x9a9048a1
CapitalStackPreviousAssetClassIsSeniorToProposedAssetClass
The 'previousSeniorityLevelAssetClass' is senior to the 'proposedAssetClass', violating the rules regarding the ordering of the capital stack
Selector: 0xe9724aee
CapitalStackNextAssetClassIsJuniorToProposedAssetClass
The 'previousNextSeniorityLevelAssetClass', which is the asset class of the next seniority level, is junior to the 'proposedAssetClass', violating the rules regarding the ordering of the capital stack
Selector: 0x120f4a9e
CapitalStackInvalidSeniorityLevel
The seniority level with 'seniorityLevelIndex' does not exist
Selector: 0x20ae3881
CapitalStackCannotRemoveSeniorityLevelWithAssets
The seniority level with 'seniorityLevelIndexToRemove' still has assets in it, making it unremovable
Selector: 0xc6e766ba
CapitalStackAssetToAddAlreadyInStack
The 'assetToAdd' is already in the capital stack
Selector: 0xe928901b
CapitalStackAssetToInsertDoesNotSupportAssetInterface
The 'assetToAdd' does not support the IAsset interface
Selector: 0xc8026364
CapitalStackAssetSeniorityLevelClassMismatch
The asset to add differs in its class from the asset class of the seniority level that it is trying to be inserted into
Selector: 0x131227b0
CapitalStackTreasuryAddingAssetHookFalse
The treasury is attempting to add an asset, but the Treasury's 'isAddingAsset' hook returned false
Selector: 0x77cd8e11
CapitalStackTreasuryRemovingAssetHookFalse
The treasury is attempting to remove an asset, but the Treasury's 'isRemovingAsset' hook returned false
Selector: 0xbf03703f
CapitalStackAssetNotInStack
'asset' is not in the capital stack. Thrown when attempting to remove an asset from the capital stack or updating an asset's document
Selector: 0xcb83406f
CapitalStackCannotRemoveCommonShares
The initial common shares of a company cannot be removed
Selector: 0x0bea455e
CapitalStackAssetNotRemovable
The 'removable()' condition built into 'asset' returned false, making it unremovable
Selector: 0x6bdc2b25
TokenTimelockTokenIsObligatory
An admin or the board of directors attempted to cancel a vesting schedule that is obligatory
Selector: 0xdd6f12e2
TokenTimelockNoReleaseableAmountForToken
An attempt was made to release an amount of vested tokens when there is no releasable amount
Selector: 0x40e45f70
TokenTimelockCallerNotTokenOwnerOrAdmin
The caller is not the owner of the token nor an admin
Selector: 0x805cccbf
TokenTimelockInvalidTimepointForCancel
A user tried to cancel vesting with an invalid 'timepoint'. 'timepoint' is after the vesting end date or in the past
Selector: 0xc7fa0aae
TokenTimelockVotesFutureLookup
The 'timepoint' when trying to query past votes is in the present or future
Selector: 0xfba51db7
PayrollManagerStartDateInPastOrTooSoon
The 'startDate' when hiring an employee is in the past or too soon
Selector: 0x68f559f6
PayrollManagerStartDateTooFarInFuture
The 'startDate' when hiring an employee is too far into the future
Selector: 0x3391a3c8
PayrollManagerInvalidParamsLength
The 'paramsLength' is not equal to the expected length
Selector: 0x3c1e54aa
PayrollManagerNonExistentEquityPayments
'payrollTokenId' does not have a corresponding 'tokenTimelockTokenId' that exists This is either due to the completion of the previous equity vesting or a lack of a vesting schedule
Selector: 0x58169333
PayrollManagerInvalidResignationEndDate
The 'endDate' provided by the resigning employee is either in the past or too far in the future
Selector: 0xe417ad1d
PayrollManagerInvalidUnpaidTimeOff
The passed-in 'timeOff' to increase by is invalid. It is either zero or exceeds the maximum
Selector: 0xded6374e
PayrollManagerNoCollectibleCash
There is no collectible cash for 'tokenId'
Selector: 0x00b9d8fa
PayrollManagerNoCollectableEquity
There is no collectible equity for 'tokenId'
Selector: 0xba62285c
PayrollManagerActionAlreadyPending
The proposed action with 'actionId' is already pending
Selector: 0xf04013b8
PayrollManagerInvalidAction
The proposed 'action' does not correspond to a valid action. The 'action' is a function selector that does not match the ones that require an action to be proposed in the Payroll Manager
Selector: 0x0f84a91a
PayrollManagerActionNotPending
The pending action with 'actionId' to cancel was executed or does not exist
Selector: 0xc0bbb966
PayrollManagerCallerNotAuthorizedToCancel
The 'caller' is not authorized to cancel the pending action. The caller must be the board of directors, an admin, the 'owner' of the Mezz Hub, or a 'defender'
PayrollManagerInvalidEquityExtension
The proposed equity extension has an equity and a duration extension of zero
Selector: 0x3fce7621
PayrollManagerEquityPaymentsAlreadyExist
'tokenId' already has equity payments corresponding to the 'tokenTimelockTokenId'
Selector: 0x5332635d
PayrollManagerActionNotReady
The pending action with 'actionId' is not ready to be executed
Selector: 0xfca49f9b
PayrollManagerNotEmployee
The provided 'tokenId' does not correspond to an active employee
Selector: 0x48a42e6b
PayrollManagerCashSalaryAboveMaximum
The proposed 'cashSalary' is above the maximum
Selector: 0xb4862033
PayrollManagerNewCashSalarySameAsCurrent
The 'newCashSalary' is the same as the current cash salary
Selector: 0x9924bb05
PayrollManagerCashPaymentAboveMaximum
The 'cashPayment' is above the maximum
Selector: 0x48033d83
PayrollManagerInsufficientTreasurySharesBalance
The 'equityToTransfer' exceeds the treasury's balance of common shares. Thrown when hiring an employee, extending equity payments, setting new equity payments, or making a direct equity payment
Selector: 0x50f401e2
PayrollManagerInsufficientTreasuryCashBalance
The 'cashToTransfer' exceeds the treasury's balance of cash. Thrown only when paying a cash directly to an employee. If there is insufficcient cash during the collection of an employee's salary, their 'cashOwed' will be udpated such that they are able to redeem cash in the future
Selector: 0xdd1f58be
PayrollManagerVestingEndDateGreaterThanEmployeeEndDate
The proposed new vesting schedule has an end date greater than the employee's end date
Selector: 0x0b316f70
PayrollManagerInvalidEncodedDirectPaymentDetails
The direct payment details did not indicate that the payment was a 'Bonus' and/or a 'ContractorPayment'
Selector: 0x11bd820a
PayrollManagerERC721BurnDisabled
Payroll Manager ERC721s cannot be burned
Selector: 0x8ed8f671
PayrollManagerERC721Soulbound
Payroll Manager ERC721s are soulbound and cannot be transferred or approved for transfers
Selector: 0x9a88eaad
PayrollManagerCannotReceiveERC721WhileNotTransacting
An account tried to 'safeTransfer' an ERC721 to the payroll manager while it was not transacting
Selector: 0xa9398378
MezzGovernorCallerNotGovernance
The 'caller' is not the governor contract, itself
Selector: 0x05c401ea
GovernorThresholdZero
The following errors are thrown both by the Share Class and Late Stage Governor and are not part of a a base class. Both governors throw the same errors to improve off-chain composability as well as to reduce redundancy The calculated proposal threshold is zero from precision loss or a total votes of zero
Selector: 0x0b52725f
GovernorQuorumZero
The calculated quorum is zero from precision loss or a total votes of zero
Selector: 0x0c84d9ac
GovernorSuperMajorityZero
The super majority is zero from precision loss or a total votes of zero
Selector: 0x6066539f
GovernorCallerInvalidCanceler
The 'caller' is not the proposer or the 'owner' of the Mezz Hub
Selector: 0xf50a2c1c
ProposalGovernorInvalidProposalThresholdPercentage
The 'newProposalThresholdPercentage' to set is greater than the max threshold percentage or less than the minimum threshold percentage
Selector: 0xa6aaa345
ProposalGovernorInvalidQuorumPercentage
The 'newQuorumPercentage' to set is greater than the max quorum percentage or less than the minimum quorum percentage
Selector: 0x790521cb
ProposalGovernorInvalidVotingDelay
The 'newVotingDelay' to set is greater than the max delay or less than the minimum delay
Selector: 0x84378e36
ProposalGovernorInvalidVotingPeriod
The 'newVotingPeriod' to set is greater than the max period or less than the minimum period
Selector: 0x88bc198a
ProposalGovernorInvalidVoteType
An invalid vote type was passed in
Selector: 0x05703834
ProposalGovernorAlreadyCastVote
The account has already voted on the proposal
Selector: 0xc1e97f61
StartupGovernorDeadlinePassed
The 'deadline' has passed for the proposed transaction
Selector: 0xfab68f04
StartupGovernorInsufficcientBalance
The startup governor has the blockchain native currency balance of less than 'value' Selector: 0xe7df6f6b
ShareClassGovernorBoardMemberAlreadySet
A proposal is attempting to add a board member that is already a board member
Selector: 0x9612c52e
ShareClassGovernorOwnerNotAddedByShareClass
A proposal for the a shareclass is attempting to remove a board member that was not added by the share class
Selector: 0xb6693aa5
ShareClassGovernorNoBoardSeatsAvailableForShareClass
There are no available board seats for the given share class
Selector: 0x2d007190
ShareClassGovernorMaxPreferredBoardSeatsReached
The new allocated board seats from an increase is greater than the maximum for preferred shares
Selector: 0x21af2cc0
ShareClassGovernorInvalidAction
The provided action of a proposal does not correspond to managing owners in a treasury
Selector: 0xf1133f15
ShareClassGovernorInsufficcientProposerVotes
The proposer has less votes than the proposal threshold
Selector: 0x00750c26
ShareClassGovernorOwnerManagementDisabled
The board attempted to manage its signers via the Share Class Governor's executeTx()
Selector: 0xa6c0564f
ShareClassGovernorInvalidNewTreasuryThreshold
The 'newTreasuryThreshold' is greater than the number of signers or is zero
Selector: 0x8788b74f
PricedRoundAllocationExceedsRemainingShares
The investor allocation to set or the increase to the investor allocation exceeds the 'remainingShares'
Selector: 0x3ec91170
PricedRoundDecreaseGreaterThanInvestorAllocation
The 'decreaseAmount' is larger than the 'sharesAllocation' of an investor
Selector: 0x8e6d8f4e
PricedRoundNumberOfSharesMismatch
An investor's 'expectedNumberOfShares' does not equal their 'allocatedNumberOfShares' when investing in the round. Functions as frontrunning protection
Selector: 0x15c069b1
PricedRoundDiscountOrPremiumMismatch
An investor's 'expectedDiscountOrPremium' does not equal their 'allocatedDiscountOrPremium' when investing in the round Functions as frontrunning protection
Selector: 0xd3bfc752
PricedRoundInvestmentExceedsRemainingSharesForRound
The allotted shares following the investment would exceed the total shares for the round
Selector: 0xcda9d7d9
PricedRoundInvestmentExceedsRemainingDenomAssetForRound
The 'investmentAmount' exceeds the 'remainingDenominationAsset' for the round
Selector: 0x90f90b7a
PricedRoundUnexpectedRoundState
The round state is invalid for a given action
Selector: 0x4ea2935c
PricedRoundInvalidRaiseAmounts
The 'minimumRaise' is greater than the 'targetRaise'
Selector: 0xef90e3cd
PricedRoundInvalidDiscount
The discount is larger than Constants.PRECISION_FACTOR
Selector: 0x07fffa63
PricedRoundInvalidPremium
The premium is larger than Constants.MAX_PREMIUM
Selector: 0xef9bd2a9
PricedRoundCallerAllocationBelowMinimum
The 'caller' has an 'allocation' below the minimum, as defined by Constants.MIN_INVESTOR_ALLOCATION Thrown to prevent future precision loss
Selector: 0xbdae0077
PricedRoundInvestorNoInvestment
The 'investor' did not invest any tokens. Thrown when reversing an investment, whether that be recouping or revoking an investment
Selector: 0xed42eb34
PricedRoundInvestorNoShares
The 'investor' has no shares to claim
Selector: 0xf0c98b72
PricedRoundInsufficientRaise
'totalRaised' is not greater than the minimum raise
Selector: 0x41efbf4a
EquityFinancingModuleTeamNotDepartmentOrTreasury
The 'team' used for initialization does not support either the Treasury or Department interface
Selector: 0x18cd71f6
EquityFinancingModuleCurrentPricedRoundUnexpectedState
An ancestor attempted to open a priced round, but the state of the current priced round is open or filled 'state' is defined by the DataTypes.RoundState enum:
0: Open
1: Closed
2: Filled
3: Cancelled
Selector: 0x0c61feb2
Last updated