vega-frontend-monorepo/specs/7001-COLL-collateral.md
2023-08-07 08:41:25 +01:00

2.0 KiB

Collateral

Collateral Data Grid

  • Must be shown grouped by asset (7001-COLL-001)
  • For each asset:
    • Must show used amount, which is the total of all Margin and Liquidity bond accounts (7001-COLL-002)
    • Must show available amount, which is the total of your General account (7001-COLL-003)
    • Must show total amount, which is the sum of your General account and all Margin accounts (7001-COLL-004)
    • Must show amounts formatted by quantum (7001-COLL-012)
    • Must provide a method for depositing asset (7001-COLL-005)
    • Must provide a method for withdrawing asset (7001-COLL-006)
    • Must show the asset symbol (7001-COLL-007)
    • Must provide a way to see the full asset details (7001-COLL-008)
    • Must provide a way to see all accounts, their type, and their balance for a single asset (7001-COLL-009)
      • Could have default sort order (7001-COLL-010)
        • General
        • Margin
        • Bond
        • Fees - Maker
        • Fees - Liquidity
        • Rewards - Maker Paid
        • Rewards - Maker Received
        • Rewards - Liquidity Provision Received Fees
        • Rewards - Market Proposers

Deal Ticket

  • Must see your current total margin (General balance + Margin balance - Maintenance level) available (7001-COLL-011)