MarketFacetBase.sol
MarketFacetBase
onlyDao
modifier onlyDao()
Modifier to restrict access to only the DAO.
Throws an OnlyAccessableByDao
error if the caller is not the DAO.
onlyVault
modifier onlyVault()
Modifier to restrict a function to be called only by the vault contract.
Throws an OnlyAccessableByVault
error if the caller is not the chromatic vault contract.
withTradingLock
modifier withTradingLock()
newLpContext
function newLpContext(struct MarketStorage ms) internal view returns (struct LpContext)
Creates a new LP context.
Return Values:
Name Type Description [0] struct LpContext The LP context.