Control Facet
Changes:
Make forceCloseGapRatio
per symbol
forceCloseGapRatio
per symbolDifferent symbols with different volatility require different gap ratios for forceClose.
Updated Methods:
Added Affiliates into the System
All affiliates, such as intentX, Based, Befi, Core, etc., are now registered in the core contracts. Each affiliate can have a separate feeCollector
. The new method sendQuoteWithAffiliate
is introduced, and the old sendQuote
method is deprecated and will likely be removed in the next version.
The
affiliate
field is added to the quote struct.AFFILIATE_MANAGER_ROLE
is introduced, granting control over adding new affiliates and changing their feeCollectors.
Added Methods:
Updated Methods:
The old feeCollector
storage is now renamed to defaultFeeCollectors
and will be used as a fallback when a collector hasnât been set for an affiliate. Corresponding setters and getters are also added for that.
Added setDeallocateDebounceTime()
setDeallocateDebounceTime()
Explanation: This function allows setting the deallocation debounce time. It emits an event SetDeallocateDebounceTime
indicating the old and new debounce times.
Last updated