Skip to content

Implement price negotiation Keeper wirth Vendor #56

@sadhbh-c0d3

Description

@sadhbh-c0d3
  1. Off-chain (scope of this story)
  • User submits Index quote request
  • Keeper receives Index quote request
  • Keeper asks Vendor(s) (one or more) to provide quote(s)
  • Vendor replies with Index quote and new Market Data (price, slope, liquidity) for assets that need on-chain submission
  • Keeper picks one of the Vendors based on Index quote and market data quality
  • Use signs
  • Keeper submits onchain: order + new market data

(*) Vendor needs to sign the quote + market data so that Keeper trusts Vendor.

  1. On-chain
  • New market data is updated
  • New Index quote is computed
  • New Index order is recorded, and processed with Instant Fill up to MaxOrderSize
  • Any remainder of the order over MaxOrderSize is relayed for deferred batch processing
  1. Each Vendor has their own Market:
  • On-chain relationship: [Vendor] 1 --- 1 [Market]
  • Order is submitted pointing to specific Vendor
  • Order is matched against Market of that Vendor
  1. Rebalancing Markets
  • Should we need to move assets from one Vendor to another, we'd be reflecting that by updating two on-chain Markets.
  1. Assets Under Management (AUM)
  • Find out how we can track AUM per user / index / vendor

Metadata

Metadata

Assignees

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