Full API reference
API reference for all Cozy contracts
Last updated
API reference for all Cozy contracts
The protocol's Comptroller is an instance of the ComptrollerStatic contract, which has the following interface.
The ChainlinkReporter contract is the protocol's price oracle.
0
NO_ERROR
Call succeeded
1
UNAUTHORIZED
Caller is not authorized
0
ACCEPT_ADMIN_PENDING_ADMIN_CHECK
1
ADD_OR_UPDATE_ORACLES_OWNER_CHECK
2
SET_PENDING_ADMIN_OWNER_CHECK
0
NO_ERROR
Call succeeded
1
UNAUTHORIZED
Caller is not authorized
2
INTEREST_RATE_MODEL_ERROR
Invalid interest rate model specified
0
SET_DEFAULT_INTEREST_RATE_MODEL_OWNER_CHECK
1
SET_DEFAULT_INTEREST_RATE_MODEL_VALIDITY_CHECK
Last updated