# fancygeekguru/wulfz-smart-contract-core architecture

> Architecture diagram of the GitHub repository fancygeekguru/wulfz-smart-contract-core, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/fancygeekguru/wulfz-smart-contract-core
- Repository: https://github.com/fancygeekguru/wulfz-smart-contract-core

## Overview

This repository is a Wulfz NFT project, with Solidity contracts, a whitelist Merkle-tree utility, and a script that requests metadata refreshes from OpenSea. The likely on-chain user workflow is represented by the contract components, but their implementations were not sampled, so their internal calls and domain stages cannot be established. The whitelist utility’s input and tree-building flow and the metadata script’s external request are visible. No README was provided; links from users to contracts are therefore left unasserted.

Main entry points: [`whitelist/whitelist.json`](https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/whitelist/whitelist.json) (Whitelist addresses), [`updateMeta.js`](https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/updateMeta.js) (Metadata refresh script), [`whitelist/index.js`](https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/whitelist/index.js) (Merkle tree utility)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_contracts["NFT contracts"]
  node_wulfz["Wulfz NFT<br/>[Wulfz.sol]"]
  node_profile["Profile<br/>[Profile.sol]"]
  node_staking["Staking pool<br/>[StakingPool.sol]"]
  node_awoo["Awoo<br/>[Awoo.sol]"]
  node_wulfz_interface["Wulfz interface<br/>[IWulfz.sol]"]
end

subgraph group_allowlist["Whitelist tooling"]
  node_whitelist_data["Whitelist addresses<br/>[whitelist.json]"]
  node_merkle_tool["Merkle tree utility<br/>[index.js]"]
end

subgraph group_metadata["Metadata refresh"]
  node_metadata_refresh["Metadata refresh script<br/>[updateMeta.js]"]
end

node_user(("NFT user"))
node_opensea["OpenSea API"]

node_whitelist_data -->|"provides addresses"| node_merkle_tool
node_metadata_refresh -->|"requests refresh"| node_opensea

click node_wulfz "https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/contracts/Wulfz.sol"
click node_profile "https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/contracts/Profile.sol"
click node_staking "https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/contracts/StakingPool.sol"
click node_awoo "https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/contracts/Awoo.sol"
click node_wulfz_interface "https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/contracts/interface/IWulfz.sol"
click node_whitelist_data "https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/whitelist/whitelist.json"
click node_merkle_tool "https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/whitelist/index.js"
click node_metadata_refresh "https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/updateMeta.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_wulfz,node_profile,node_staking,node_awoo,node_wulfz_interface,node_user toneBlue
class node_whitelist_data,node_merkle_tool toneAmber
class node_metadata_refresh,node_opensea toneMint
```

## Components

### NFT contracts

- [Wulfz NFT](https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/contracts/Wulfz.sol): `contracts/Wulfz.sol`
- [Profile](https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/contracts/Profile.sol): `contracts/Profile.sol`
- [Staking pool](https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/contracts/StakingPool.sol): `contracts/StakingPool.sol`
- [Awoo](https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/contracts/Awoo.sol): `contracts/Awoo.sol`
- [Wulfz interface](https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/contracts/interface/IWulfz.sol): `contracts/interface/IWulfz.sol`

### Whitelist tooling

- [Whitelist addresses](https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/whitelist/whitelist.json): `whitelist/whitelist.json`
- [Merkle tree utility](https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/whitelist/index.js): `whitelist/index.js`

### Metadata refresh

- [Metadata refresh script](https://github.com/fancygeekguru/wulfz-smart-contract-core/blob/master/updateMeta.js): `updateMeta.js`

### Other components

- **NFT user**
- **OpenSea API**

## Connections

- Whitelist addresses → Merkle tree utility: provides addresses (evidence: `whitelist/index.js`)
- Metadata refresh script → OpenSea API: requests refresh (evidence: `updateMeta.js`)
