WildcatMarketConfig.sol
The WildcatMarketConfig
is the configuration contract containing configuration and authorization logic.
maximumDeposit
Maximum amount that may be deposited into the market, based on the current market state.
maxTotalSupply
Maximum supply the market can reach via deposits (does not apply to interest accrual).
annualInterestBips
Returns the APR earned by lenders in bips.
One annual APR bip is 0.01% interest per year.
liquidityCoverageRatio
Percentage of outstanding balance that must be held in liquid reserves.
revokeAccountAuthorization
Revokes an account's authorization to deposit assets and updates the market state.
Reverts if:
the reentrancy lock is engaged.
the account is blacklisted.
Logs:
grantAccountAuthorization
Restores an account's authorization to deposit assets and updates the market state.
Cannot be used to restore a blacklisted account's status.
Reverts if:
the reentrancy lock is engaged.
the account is blacklisted.
Logs:
nukeFromOrbit
Reverts if:
Logs:
stunningReversal
Removes the blocked status from an account, setting it to Null instead.
Reverts if:
The account was not blocked, with error
AccountNotBlocked
.
Logs:
AuthorizationStatusUpdated
setMaxTotalSupply
Reverts if:
the reentrancy lock is engaged.
Logs:
setAnnualInterestBips
Reverts if:
the reentrancy lock is engaged.
the new annual interest bips is greater than the max bip size.
Logs:
setLiquidityCoverageRatio
Reverts if:
the reentrancy lock is engaged.
Logs:
Last updated