diff --git a/data_model.svg b/data_model.svg index 72f8a7d..4534204 100644 --- a/data_model.svg +++ b/data_model.svg @@ -4,125 +4,257 @@ - - + + dbml chain_vm - - - -       chain_vm        - - -    EVM     - - -    SVM     - - -    CairoVM     - + + + +       chain_vm        + + +    EVM     + + +    SVM     + + +    CairoVM     + + + + +category_id + + + +       category_id        + + +    mev     + + +    trading     + + +    cex     + + +    lending     + + +    dex     + + +    derivative     + + +    staking     + + +    nft_fi     + + +    nft_marketplace     + + +    erc721     + + +    erc1155     + + +    community     + + +    gambling     + + +    gaming     + + +    native_transfer     + + +    stablecoin     + + +    erc20     + + +    middleware     + + +    erc4337     + + +    inscriptions     + + +    oracle     + + +    depin     + + +    developer_tools     + + +    identity     + + +    privacy     + + +    insurance     + + +    airdrop     + + +    payments     + + +    other     + + +    cc_communication     + + +    bridge     + + + + +main_category_id + + + +       main_category_id        + + +    cefi     + + +    defi     + + +    nft     + + +    social     + + +    token_transfers     + + +    utility     + + +    cross_chain     + Chains - - - -       Chains        - - -chain_slug -     -string - - -evm_chain_id     -int - - -name     -string - - -website     -string - - -gas_token     -string - - -chain_vm     -chain_vm - + + + +       Chains        + + +chain_slug +     +string + + +evm_chain_id     +int + + +name     +string + + +website     +string + + +gas_token     +string + + +chain_vm     +chain_vm + Chains:e->chain_vm:w - + Addresses - - - -       Addresses        - - -address -     -string - - -chain_slug -     -string - - -project_id     -unknown - - -category_id     -string - - -is_eoa     -bool - - -is_proxy     -bool - - -name     -string - - -bytecode     -bytea - - -abi     -string - - -deployment_date     -timestamp - - -deployer_address     -unknown - + + + +       Addresses        + + +address +     +string + + +chain_slug +     +string + + +project_id     +unknown + + +category_id     +string + + +is_eoa     +bool + + +is_proxy     +bool + + +name     +string + + +bytecode     +bytea + + +abi     +string + + +deployment_date     +timestamp + + +deployer_address     +unknown + @@ -130,49 +262,49 @@ Addresses:e->Chains:w - - -1 -* + + +1 +* Projects - - - -       Projects        - - -project_id -     -unknown - - -name     -string - - -team_id     -string - - -website     -string - - -docs     -string - - -oss_slug     -string - - -token_symbol     -string - + + + +       Projects        + + +project_id +     +unknown + + +name     +string + + +team_id     +string + + +website     +string + + +docs     +string + + +oss_slug     +string + + +token_symbol     +string + @@ -180,37 +312,37 @@ Addresses:e->Projects:w - - -1 -* + + +1 +* Categories - - - -       Categories        - - -category_id -     -string - - -name     -string - - -definition     -string - - -main_category_id     -string - + + + +       Categories        + + +category_id +     +string + + +name     +string + + +definition     +string + + +main_category_id     +string + @@ -218,29 +350,29 @@ Addresses:e->Categories:w - - -1 -* + + +1 +* Team - - - -       Team        - - -team_id -     -unknown - - -name     -string - + + + +       Team        + + +team_id +     +unknown + + +name     +string + @@ -248,33 +380,33 @@ Projects:e->Team:w - - -1 -* + + +1 +* MainCategories - - - -       MainCategories        - - -main_category_id -     -string - - -name     -string - - -definition     -string - + + + +       MainCategories        + + +main_category_id +     +main_category_id + + +name     +string + + +definition     +string + @@ -282,33 +414,38 @@ Categories:e->MainCategories:w - - -1 -* + + +1 +* + + + +MainCategories:e->main_category_id:w + TagGroup - - - -       TagGroup        - - -tag_group_id -     -unknown - - -name     -string - - -description     -string - + + + +       TagGroup        + + +tag_group_id +     +unknown + + +name     +string + + +description     +string + @@ -316,32 +453,32 @@ Tags - - - -       Tags        - - -tag_id -     -unknown - - -name     -string - - -tag_group_id     -unknown - - -description     -string - - -additional_attributes     -json - + + + +       Tags        + + +tag_id +     +unknown + + +name     +string + + +tag_group_id     +unknown + + +description     +string + + +additional_attributes     +json + @@ -349,28 +486,28 @@ Tags:e->TagGroup:w - - -1 -* + + +1 +* TagMapping - - - -       TagMapping        - - -address     -string - - -tag_id     -unknown - + + + +       TagMapping        + + +address     +string + + +tag_id     +unknown + @@ -378,19 +515,19 @@ TagMapping:e->Addresses:w - - -1 -* + + +1 +* TagMapping:e->Tags:w - - -1 -* + + +1 +*