Skip to content

MYSO-28: Quoting policy manager #584

@asardon

Description

@asardon

Description

When delegating quoting to an on-chain quoting delegate (see #583) or a set of off-chain quote signers then vault owners don't have any control over what kind of quotes are being submitted. This creates significant friction when wanting to delegate quoting to 3rd parties in a trust-minimized way.

Recommendation

Add a quote policy manager in which vault owners can define rules according to which quotes that get produced by on-chain quote delegates and/or off-chain quote signers are processed.

Use Cases

Use Case 1:

  • Mantle treasury wants to lend USDC against $MNT
  • Treasury wants to delegate quoting to MYSO (either as on-chain quote delegate or as off-chain quote signer)
  • Treasury wants to ensure that we quote only within tenor of 1-6m, LTV between 10-70% and APR>0
  • Moreover, treasury wants to ensure that we only quote for USDC/$MNT and nothing else
    => requirements: (1) only allow certain pairs and block all others, (2) apply tenor, LTV and APR policy to given pair

Use Case 2:

  • Solo lender wants to lend USDC against $WETH, $wBTC, $RPL, $rETH
  • Solo lender wants to quote off-chain to produce large number of quotes across whole LTV/tenor matrix at low cost
  • To streamline the process, solo lender sets 1 hot wallet as signer for easier off-chain quoting
  • For greater peace of mind, solo lender wants to add a policy ensuring that all quotes are within 1-6m tenor, LTV is between 10-70% (if oracle exists), and APR is always >0
    => requirements: (1) ensure that all quotes adhere to global policy, (2) ensure only quotes with oracles go through and (3) for all quotes without oracle, ie RPL, allow to overwrite an explicit loan-per-collateral unit range

Use Case 3:

  • Solo lender wants to lend USDC against $WETH
  • Solo lender wants to quote off-chain to produce large number of quotes across whole LTV/tenor matrix at low cost
  • To streamline the process, solo lender sets 1 hot wallet as signer for easier off-chain quoting
  • In parallel, solo lender also wants to lend USDC against more experimental collateral types from time to time
  • For this, solo lender wants to also use off-chain quoting but impose a higher signer threshold
    => requirements: (1) allow for different off-chain signer threshold overwrites, (2) allow quoting on all pairs without having to whitelist beforehand

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions