zkwallet

Tables (4)

corporation (법인)

  • corporationId (Key) — Primary key — NOT NULL
  • name (Field)
  • address (Field2)
  • salt (Field3)
  • createdAt (Field4)
  • secretKey (Field5)

member (유저)

  • memberId (Key) — Primary key — NOT NULL
  • name (Field)
  • password (Field2)
  • position (Field3)
  • role (Field4)
  • corporationId (Key2) — Foreign key → corporation.corporationId — NOT NULL
  • createdAt (Field5)

note (노트)

  • noteId (Key) — Primary key — NOT NULL
  • tokenAddress (Field)
  • tokenId (Field2)
  • amount (Field3)
  • addr (Field4)
  • commitment (Field5)
  • isSpent (Field6)
  • corporationId (Key2) — Foreign key → corporation.corporationId — NOT NULL

transactions (거래 요청)

  • transactionRequestId (Key) — Primary key — NOT NULL
  • fromPrivateAmount (Field)
  • fromPublicAmount (Field2)
  • fromUnSpentNote (Field3)
  • totalInput (Field6)
  • toPublicAmount (Field4)
  • toPrivateAmount (Field5)
  • totalOutput (Field7)
  • remainingAmount (Field8)
  • createdAt (Field10)
  • signedAt (Field11)
  • status (Field12)
  • sender (Key2) — Foreign key → corporation.corporationId — NOT NULL
  • receiver (Key3) — Foreign key → corporation.corporationId — NOT NULL