to provide our own trading price for the pair, where/how is that oracle rate used?
More info in docs but in principle the rate oracle is used by the amm to get settlement prices. This is useful for pairs like sDAI<>USDT where sdai goes up over time. If you dont specify the right oracle/token type then the pool will depeg over time
Thanks Fiddy, but I don't see more info in the docs I linked to before, I can't see examples of how it is used?
some more info will be added there in a bit. otherwise need to check out technical docs
Yes of course. There are some very weird examples out there like sDAI <> USDM where sDAI is an erc4626 tolen and usdm is rebasing. Rate oraclised example would be wsteth <> whatever, or LRT tokens
Обсуждают сегодня