Skip to main content

Product

ProductSchema

struct ProductSchema {
contract IAppStorage store;
bytes32 key;
}

ProductPtr

struct ProductPtr {
contract IAppStorage store;
bytes32 key;
}

InvalidProduct

Could not change product parameter because the supplied productId refers to an uninitialized product.

error InvalidProduct()

InavlidProductMaxLeverage

error InavlidProductMaxLeverage()

InvalidProductLiquidationThreshold

error InvalidProductLiquidationThreshold()

InvalidProductWeight

error InvalidProductWeight()

InvalidProductExposureMultiplier

error InvalidProductExposureMultiplier()

InvalidProductFundingExponent

Attempted to set a product's funding exponent to zero, which would lead to constant slippage of fundingMultiplier%. To disable funding exponent, set it to 1.

error InvalidProductFundingExponent()

DuplicatedProduct

error DuplicatedProduct()