In two weeks, a new RU is coming. There are some changes that need some adjustments on the apps side.
Changes
Runtime change: Oracle feeders lifetime change
[x] NAV Management: When setting oracle feeders, lifetime is always non. By setting lifetime to non the oracles are always valid.
Runtime change: Epochs can ONLY be closed and executed by Admin or LiquidityAdmin.
[x] Liquidity tab: Change epoch closing permissions to PoolAdmin and LiquidityAdmin. Borrow and Invest proxies on accounts with those permissions are also allowed
Runtime change: struct ExternalPricing has an additional field with_linear_pricing, indicating whether linear pricing will be used
Protocol PR: https://github.com/centrifuge/centrifuge-chain/pull/1812, also for descriptions on when linear pricing is used
[x] Add additional input field Linear pricing with a checkbox, when checkbox is ticked then linear pricing is on.
[x] Display that linear pricing is on in the NAV management UI. @TimHoub we need some design help here.
[x] on Create Asset page, add Oracle sourcedropdown, with options ISIN and Asset specific. If ISIN, show ISIN text input field as is. If Asset specific, no additional input needed, and pass the pool id / loan id as the oracle input when creating the loan.
Background
In two weeks, a new RU is coming. There are some changes that need some adjustments on the apps side.
Changes
Runtime change: Oracle feeders lifetime change
lifetime
is alwaysnon
. By setting lifetime to non the oracles are always valid.Runtime change: Epochs can ONLY be closed and executed by Admin or LiquidityAdmin.
PoolAdmin
andLiquidityAdmin
.Borrow
andInvest
proxies on accounts with those permissions are also allowedRuntime change: struct
ExternalPricing
has an additional fieldwith_linear_pricing
, indicating whether linear pricing will be used Protocol PR: https://github.com/centrifuge/centrifuge-chain/pull/1812, also for descriptions on when linear pricing is usedLinear pricing
with a checkbox, when checkbox is ticked then linear pricing is on.Runtime change: Added a new oracle key - NON breaking change See: https://github.com/centrifuge/centrifuge-chain/commit/5fc046579ab90d453763bdc3177e537e002e5c07
Oracle source
dropdown, with optionsISIN
andAsset specific
. If ISIN, show ISIN text input field as is. IfAsset specific
, no additional input needed, and pass the pool id / loan id as theoracle
input when creating the loan.