Skip to content

About

Peripheral contracts and integrations for Royco's structured product suite

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Royco Periphery CI

The Royco Periphery is the integration layer around Royco Day markets: contracts that operate, price, and wrap tranches. It provides batch NAV accounting synchronization, Chainlink-compatible tranche share price oracles, and Pendle Standardized Yield wrappers.

Architecture

Market Syncer

The Market Syncer executes batch NAV accounting synchronization across Royco markets, keeping mark-to-market accounting fresh without waiting for organic deposit and redemption flows. Operators choose per batch whether a failed sync halts the entire batch or is tolerated and recorded as an event carrying the failure reason.

The syncer is an upgradeable, pausable singleton administered through the protocol's access manager, which it resolves from the Royco factory at initialization. Kernel registration is gated by the access manager and verified against the factory: a registered kernel's senior tranche must resolve back to it through the factory's tranche registry.

Share Price Oracles

Permissionless factories deploy Chainlink-compatible oracles for Royco tranche shares at deterministic addresses. Every ostensible tranche is verified against the Royco factory's tranche registry before an oracle is deployed for it.

Tranche NAV Oracle: Prices one whole tranche share in the market's NAV units (USD, BTC, ETH, etc.). If the tranche cannot be valued, the failure reason is passed through to the caller. Because Chainlink consumers reject non-positive prices, the oracle becomes consumable once its tranche has non-zero supply and NAV.

Tranche Base Asset Oracle: Prices one whole tranche share in the tranche's own base asset — the market's coinvested collateral asset for the senior and junior tranches, the pool token for the liquidity provider tranche (whose held senior shares are excluded, so the price is conservative while liquidity premium awaits reinvestment).

Fundamental Stablecoin Oracle: A peg-anchoring wrapper around a stablecoin's fundamental price feed. While the underlying feed reports at or above the minimum pegged price, the wrapper answers exactly one quote asset, suppressing benign oscillation around the peg. Below that threshold, the depegged market price passes through untouched. Round data and staleness carry over from the underlying feed.

Pendle SY Wrapper

The Pendle SY wraps Royco tranche shares into Pendle's Standardized Yield standard, making tranche yield splittable into principal and yield tokens to enable speculating on a tranche's yield. Wrapping and unwrapping are one-to-one with tranche shares, and the exchange rate is the tranche's NAV per share.

Its factory deploys each SY behind a transparent proxy administered by Pendle's canonical proxy admin, with ownership assigned to Pendle's pause controller, per Pendle's deployment requirements.

About

Peripheral contracts and integrations for Royco's structured product suite

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages