The system parameters are currently set as the following on testnet. These parameters should be similar to what will be set initially once the protocol is available on zkSync Era mainnet.
- Maximum account leverage before liquidation: 33x
- Maximum account leverage when opening a position: 20x
- Fees: Curve has a
mid_feeis the minimum fee that is charged when the pool is maximally balanced: 0.05%. The
out_feeis the maximum fee that is charged when the pool is imbalanced: 0.5%. Another important parameter is
fee_gammawhich controls how quickly fees change from
out_feeor vis versa as pool imbalances transform: 0.0005.
- Price for liquidations: The system uses the index price, which is currently a mock Chainlink oracle of the BTCUSD price feed.
- Funding: Funding payments are added or subtracted to any incurred PnL whenever a user changes position, adds liquidity, or removes liquidity on the market. For more details on funding please see Funding.
Last modified 4mo ago