# On-Chain Logs and Game Transparency

## Overview

MemeDice's on-chain log system provides **complete transparency**. All key actions—bets, investments, admin actions—are recorded on the blockchain and presented in a user-friendly way on the log page.

***

## How to access

1. Visit any MemeDice game (such as `xxx.dapp.meme`)
2. Click the **"📋 Logs"** tab in the top navigation bar
3. After connecting your wallet, you can view all logs

<figure><img src="/files/35cb200b589547b530e3e49f4311499b47949910" alt=""><figcaption></figcaption></figure>

***

## Log tabs

The log page contains three main tabs:

### 🎲 Bet Records (Bets)

Shows all players' bet records, including the following information:

| Field                | Description                                                       |
| -------------------- | ----------------------------------------------------------------- |
| **Time**             | Bet time                                                          |
| **Player**           | The bettor's wallet address (shown abbreviated, can be copied)    |
| **Direction**        | Big ▲ or Small ▼                                                  |
| **Amount**           | Bet amount (token units)                                          |
| **Win Rate**         | Set win rate                                                      |
| **Result**           | ✅ Win / ❌ Lose                                                    |
| **Profit and Loss**  | Amount won or lost                                                |
| **Transaction Hash** | On-chain transaction link (clickable to jump to a block explorer) |

<figure><img src="/files/fbdf6d7f94cf8648c1834f570603143c654652f0" alt=""><figcaption></figcaption></figure>

#### Data usage

* Verify the fairness of each bet
* Track a specific player's betting history
* Analyze the overall profit and loss trend of the game

### 💰 Investment Records (Investments)

Shows all deposit and withdrawal records:

| Field                | Description                             |
| -------------------- | --------------------------------------- |
| **Time**             | Operation Time                          |
| **Investor**         | The operator's wallet address           |
| **Type**             | 🟢 Deposit / 🔴 Withdraw                |
| **Amount**           | Amount of tokens deposited or withdrawn |
| **Transaction Hash** | On-chain transaction link               |

<figure><img src="/files/97eaf861d7d60f14f07c9c720257f0816613ae7d" alt=""><figcaption></figcaption></figure>

#### Data usage

* Track the inflow and outflow of funds in the pool
* Verify the accuracy of deposits and withdrawals
* Understand shareholders' investment behavior

### ⚙️ Admin Actions

Shows all actions performed by the game administrator, the core of transparency:

| Field                | Description                              |
| -------------------- | ---------------------------------------- |
| **Time**             | Operation Time                           |
| **Action Type**      | Category of the action (see table below) |
| **Details**          | Specific parameters of the action        |
| **Transaction Hash** | On-chain transaction link                |

#### Action Type

| Action Type               | Icon | Description                           |
| ------------------------- | ---- | ------------------------------------- |
| **Admin Withdrawal**      | 💰   | Administrator withdraws from the pool |
| **Remove Shareholder**    | 👤   | Administrator removes a shareholder   |
| **Ownership Transfer**    | 🔑   | Ownership Transfer                    |
| **Decentralization**      | 🏛️  | Game decentralization (irreversible)  |
| **Rate Change**           | 💸   | Owner rate change                     |
| **Bet Toggle Change/**    | 🎲   | Bet toggle change                     |
| **Deposit Toggle Change** | 💰   | Deposit Toggle Change                 |

<figure><img src="/files/b69fb49e106395309a5ecaf21e25dadd9d14852c" alt=""><figcaption></figcaption></figure>

#### Operation Details

Each action type displays different detail information:

* **Admin Withdrawal**: Withdrawal amount, pool balance before and after withdrawal
* **Remove Shareholder**: Address of the removed shareholder, return amount
* **Ownership Transfer**: Old owner address, new owner address
* **Rate Change**: Old rate, new rate
* **Bet toggle change/ Deposit toggle change**: On/off status
* **Decentralization**: Mark the game as decentralized

#### Why are admin action logs important?

> 💡 **Transparency is the foundation of trust**
>
> Admin action logs let everyone see what the administrator has done. If the administrator frequently withdraws from the pool or changes rates, players and investors can make decisions based on that.
>
> Decentralized games (where the owner is the zero address) will have no admin action records, because no one can perform admin actions.

***

## Pagination and navigation

Log data supports paginated browsing:

* A fixed number of records are shown per page
* Use **Previous / Next page** buttons to turn pages
* Shows the current page number and total pages

***

## Transaction links

Each log record contains a **transaction hash (Tx Hash)** link, which will jump to the block explorer of the corresponding network when clicked:

| Network  | Block Explorer                     |
| -------- | ---------------------------------- |
| BSC      | [BscScan](https://bscscan.com/)    |
| Ethereum | [Etherscan](https://etherscan.io/) |
| Base     | [BaseScan](https://basescan.org/)  |

Through the block explorer, you can view complete transaction details, including gas fees, block number, contract call parameters, etc.

***

## Related links

* ⬅️ Back [Leaderboard and log overview](/dapp.meme-en/leaderboard-and-logs/leaderboard-and-logs-overview.md)
* 🏆 View [Leaderboard](/dapp.meme-en/leaderboard-and-logs/leaderboard-features.md)
* 🔍 Use [fairness verification tool](/dapp.meme-en/leaderboard-and-logs/fairness-verification.md)
* ⚙️ Learn about [game management](/dapp.meme-en/manage-games/game-management-overview.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dapp.meme/dapp.meme-en/leaderboard-and-logs/on-chain-logs-and-game-transparency.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
