Registry
An on-chain contract that acts as the single gateway to get price from different on-chain pricer. Only a single native admin can register new pricer. No updates can be made to existing pricer after creation. If user wants to apply different pricing configs, it will need to create a new pricer.
Default pricers for the Registry:
Pricer ID 0: Constant Sum Pricer
Pricer ID 1: Uniswap V2 Pricer
Refer to Registry in Contracts section for more details.
Last updated