Search…
Error codes

Name
Number
Description
ERR_UNAUTHORIZED
u1000
Caller is unathorized
ERR_PANIC
u1001
Value provided as key is invalid
ERR_PAUSED
u1002
Protocol is paused

ERR_UNAUTHORIZED
u2000
​
ERR_INVALID_LOAN_ID
u2001
​

ERR_UNAUTHORIZED
u3000
​

ERR_UNAUTHORIZED
u50000
​
ERR-INVALID-TREASURY
u50001
​
ERR-NOT-ENOUGH-PAID
u50002
​
ERR-INVALID-PAYMENT
u50003
​
ERR-INVALID-SWAP
u50004
​
ERR-NOT-ENOUGH-PAID
u50005
​
ERR-PANIC
u50006
​

ERR-UNAUTHORIZED
u6000
​
ERR-INVALID-VALUES
u6001
​
ERR-INVALID-CP
u6002
​
ERR-POOL-CLOSED
u6003
​
ERR-PANIC
u6004
​
ERR-LIQUIDITY-CAP-EXCESS
u6005
​
ERR-FUNDS-LOCKED
u6006
​
ERR-PAUSED
u6007
​
ERR-GRACE-PERIOD-EXPIRED
u6008
​
ERR-INVALID-CYCLES
u6009
​
ERR-POOL-UNAVAILABLE
u6010
​
ERR-INVALID-CP-REWARDS
u6011
​
ERR-INVALID-SENDER
u6012
​
ERR-COOLDOWN-ONGOING
u6013
​
ERR-WINDOW-EXPIRED
u6014
​
ERR-INVALID-XBTC
u6015
​
ERR-INVALID-REWARDS-CALC
u6016
​
ERR-INVALID-ZP
u6017
​
ERR-INVALID-CT
u6018
​
ERR-INVALID-COLL
u6019
​

Name
Number
Description
ERR_INVALID_SP
u2000
Caller is unathorized
ERR_INVALID_LP
u2001
Liquidity Pool contract provided as key is invalid.
ERR_INVALID_ZP
u2002
Zest rewards Pool contract provided as key is invalid.
ERR_INVALID_REWARDS_CALC
u2003
The Rewards Calculation contract is not set in the Global contract.
ERR_INVALID_LV
u2004
The Liquidity Vault contract is not set in the Global contract.
ERR_INVALID_PAYMENT
u2005
The Payment contract is not set in the Global contract.
ERR_INVALID_FEES
u2006
The fees are larger than 10000 Basis Points.
ERR_POOL_DEFAULT
u2007
The pool has defaulted and only withdrawals are allowed.
ERR_INVALID_LIQ
u2008
The liquidity cap amount set in invalid.
ERR_INVALID_LOCKUP
u2009
An invalid value for lockup period. The value has to be bigger than previously set lockup period.
ERR_POOL_CLOSED
u2010
The pool is closed and only withdrawals are allowed.
ERR_LIQUIDITY_CAP_EXCESS
u2011
Tried to send an amount larger than available funds in the Liquidity vault.
ERR_FUNDS_LOCKED
u2012
Withdrawal cooldown or lockup period hasn't passed.
ERR_SET_ALREADY_EXISTS
u2013
The contract being used for the creation of a pool have already been used.

​
Name
Number
Description
ERR_INVALID_FV
u3000
Funding Vault contract provided as key is invalid.
ERR_INVALID_CV
u3001
Collateral Vault contract provided as key is invalid.
ERR_INVALID_COLL
u3002
Collateral token is not available in the Globals contract.
ERR_INVALID_TIME
u3003
Maturity length is not a factor of Payment period (Maturity-length % Payment_period != 0)
ERR_INVALID_LOAN_AMT
u3004
Amount provided for loan is invalid.
ERR_INVALID_LOAN_ID
u3005
Loan ID is not associated to a loan in the contract.
ERR_FUNDING_EXPIRED
u3006
Tried to fund a loan after funding cooldown has expired.
ERR_INVALID_STATUS
u3007
Tried to call a function when the loan was not in the appropriate status.
ERR_FUNDING_IN_PROGRESS
u3008
Cannot unwind loan before funding cooldown has expired.
ERR_NOT_ENOUGH_PAID
u3009
When calling make-payment if not enough funds have been paid, the call fails.
ERR_INVALID_SWAP
u3010
Swap contract provided as key is invalid.
ERR_LOAN_IN_PROGRESS
u3011
When calling for a liquidation, cannot
ERR_ROLLOVER_EXITS
u3012
Rollover request for a loan already exists.
Copy link
On this page
General
Collateral Vault
Funding Vault
Payment Contract
Cover Pool
Pool
Loan