qubic / explorer-frontend

official Qubic Explorer
https://explorer.qubic.org
3 stars 7 forks source link

View shares overview in Explorer #137

Open AndyQus opened 2 months ago

AndyQus commented 2 months ago

From JT: „and if we have this page, we maybe should display all contracts. in your view are e.g. missing supplaywatcher and proposal sc. to have a better understanding we could also differentiate between infrastructure and not sc's and: having a page displaying all token information would also be hot.“

  1. Design suggestion from @Orestasas

image

AndyQus commented 2 months ago
export interface Share {
  name: string;
  publicId: string;
  ownedAmount: number;
  issueDate: date;
  issuePrice: number;
}

  public sharesPool: Share[] = [
    { name: "Qx", publicId: 'BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARMID', ownedAmount: 0, issueDate: null, issuePrice: 0},
    { name: "Quottery", publicId: 'CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARMID', ownedAmount: 0, issueDate: null, issuePrice: 0},
    { name: "Random", publicId: 'DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARMID', ownedAmount: 0, issueDate: null, issuePrice: 0},
    { name: "Util", publicId: 'EAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARMID', ownedAmount: 0, issueDate: null, issuePrice: 0},
    { name: "MLM", publicId: 'FAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARMID', ownedAmount: 0, issueDate: null, issuePrice: 0},
  ];