Skip to content

Parameters

These are system parameters that are settable by owner, and may change before launch.

Contained in contracts/libraries/DataTypes.sol

Orderbook Parameters

DescriptionCurrent?Location
InitialCR1.7Asset.initialCR
Liquidation ratio1.5Asset.liquidationCR
Forced Bid Price Buffer1.1Asset.forcedBidPriceBuffer
Penalty CR1.1Asset.penaltyCR
Minimum Eth Required in Ask Order0.1 ETHAsset.minAskEth
Minimum Eth Required in Bid Order0.1 ETHAsset.minBidEth
Minimum Erc Required in Short Order2000Asset.minShortErc

Penalty Fees

Description%Location
Liquidation Fees: Penalty fee to caller2.5%Asset.tappFeePct
Liquidation Fees: Penalty fee to TAPP0.5%Asset.callerFeePct

Reward Rates

Description%Location
Elapsed time for Ditto rewards2 weeksConstants.MIN_DURATION

Oracle

OF is Oracle Frequency

These are all constants.

DescriptionConstantLocation
Bid order, limit short, exit short, liquidation, and decrease collateral15 minsOF.FifteenMinutes
Backwards Match Tolerance from Oracle Price0.5%startingShortWithinOracleRange bool
Deviation Threshold for Oracle Price0.5%updateOracleAndStartingShortViaThreshold()

Orderbook Ranges

Range
initialCR1 - 15X
liquidationCR1 - 5X
forcedBidPriceBuffer1 - 2X
penaltyCR1 - 1.2X

Fee Ranges

Range
Tapp Fees0 - 25%
Caller Fees0 - 25%
dETH Tithe0 - 33%
Withdrawal FeesCurrentRangeLocation
stEth0.25%0-2.00%withdraw (BridgeRouterFacet)
rETH0.50%0-2.00%withdraw (BridgeRouterFacet)