Crypto

테이블 (18)

actor_tag

  • actor_id — String — 외래 키 → 조직.id — NOT NULL — SERIAL
  • tag_id — String — 외래 키 → tag.id — NOT NULL

balance

  • wallet_id — String — 외래 키 → wallet.id — NOT NULL
  • token_type — String
  • amount — Number
  • updated_at — Datetime

internal_transactions

  • parent_tx_id — String — NOT NULL
  • tx_timestamp — Datetime
  • from — String — NOT NULL
  • to — String — NOT NULL
  • value — Number

kyc_info

  • id — VARCHAR(255) — 기본 키 — NOT NULL
  • created_at — VARCHAR(255)
  • address — VARCHAR(255)
  • person — VARCHAR(255)
  • file_name — VARCHAR(255)
  • file_contents — VARCHAR(255)

note

  • id — String — NOT NULL
  • owner — String
  • crated_at — Datetime
  • content — String

report

  • id — VARCHAR(255) — 기본 키 — NOT NULL
  • title — VARCHAR(255)
  • description — VARCHAR(255)
  • owner — VARCHAR(255)
  • reviser — VARCHAR(255)
  • created_at — VARCHAR(255)
  • updated_at — VARCHAR(255)

tag

  • id — String — 기본 키 — NOT NULL
  • name — String
  • created_at — Datetime

wallet

  • id — String — 기본 키 — NOT NULL
  • chain_type — String
  • is_contract — Boolean
  • is_watchlist — Boolean
  • has_relation — Boolean
  • description — String
  • created_at — Datetime
  • updated_at — Datetime

거래이력 (transactions)

  • tx_id — String — 기본 키 — NOT NULL
  • method — String
  • block_num — Number
  • tx_timestamp — Datetime
  • from — String — NOT NULL
  • to — String — NOT NULL
  • value — Number
  • is_internal — Boolean

그룹 (group)

  • id — String — 기본 키 — NOT NULL
  • group_name — String
  • description — String
  • owner — String
  • created_at — Datetime
  • updated_at — Datetime

그룹지갑 (group_wallet)

  • wallet_id — String — 외래 키 → wallet.id — NOT NULL
  • group_id — String — 외래 키 → 그룹.id — NOT NULL

사고 (campaign)

  • id — String — 기본 키 — NOT NULL — SERIAL
  • actor_id — String — 외래 키 → 조직.id — NOT NULL — SERIAL
  • name — String
  • capaign_date — Datetime
  • target_org — String
  • target_country — String
  • amount_won — Number
  • decription — String
  • reference — String
  • created_at — Datetime
  • modified_at — Datetime

사고지갑 (group_campaign)

  • campaign_id — String — 외래 키 → 사고.id — NOT NULL — SERIAL
  • group_id — String — 외래 키 → 그룹.id — NOT NULL

사고태그 (campaign_tag)

  • tag_id — String — 외래 키 → tag.id — NOT NULL
  • campaign_id — String — 외래 키 → 사고.id — NOT NULL — SERIAL

전송이력 (transfers)

  • tx_id — String — 외래 키 → 거래이력.tx_id — NOT NULL
  • token_type — String
  • amount — Number
  • from — String — NOT NULL
  • to — String — NOT NULL

조직 (actor)

  • id — String — 기본 키 — NOT NULL — SERIAL
  • name — String
  • decription — String
  • organization — String
  • target_country — String
  • reference — String
  • created_at — Datetime
  • modified_at — Datetime

조직지갑 (actor_wallet)

  • actor_id — String — 외래 키 → 조직.id — NOT NULL — SERIAL
  • group_id — String — 외래 키 → 그룹.id — NOT NULL

지갑 태그 (wallet_tag)

  • tag_id — String — 외래 키 → tag.id — NOT NULL
  • wallet_id — String — 외래 키 → wallet.id — NOT NULL