Skip to content

Commit 762bf9a

Browse files
Opbnb (#651)
* added opbnb * update opbnb * update overview * add to mint.json
1 parent e82af5e commit 762bf9a

16 files changed

+277
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: dex_aggregator.trades on opbnb
3+
sidebarTitle: Aggregator Trades
4+
description: Description of the Dex Aggregator Trades table for opbnb
5+
---
6+
7+
import { DexAggregatorTradesSnippet } from '/snippets/curated-data/dex/text/dex-aggregator-trades-snippet.mdx';
8+
import { DexAggregatorCoverage } from "/snippets/curated-data/dex/embeds/dex-aggregator-coverage.mdx";
9+
import { ColumnDescriptions } from "/snippets/column-descriptions.mdx";
10+
import { TableSampleParam} from "/snippets/table-sample-with-param.mdx";
11+
12+
13+
<DexAggregatorTradesSnippet blockchain="opbnb" />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: dex.trades on opbnb
3+
sidebarTitle: Dex Trades
4+
description: "The `dex.trades` table captures detailed data on decentralized exchange (DEX) trades, recording all raw trade events across various protocols on opbnb."
5+
---
6+
7+
import { DexTradesSnippet } from '/snippets/curated-data/dex/text/dex-trades-snippet.mdx';
8+
import { DexCoverage } from "/snippets/curated-data/dex/embeds/dex-coverage.mdx";
9+
import { ColumnDescriptions } from "/snippets/column-descriptions.mdx";
10+
import { TableSampleParam} from "/snippets/table-sample-with-param.mdx";
11+
12+
<DexTradesSnippet blockchain="opbnb" />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: NFT.trades on opbnb
3+
sidebarTitle: NFT Trades
4+
description: "The `nft.trades` table captures detailed data on NFT marketplaces, recording all trade events across various protocols on opbnb."
5+
---
6+
7+
import { NFTTradesSnippet } from '/snippets/curated-data/nft/text/nft-trades-snippet.mdx';
8+
import { NFTCoverage } from "/snippets/curated-data/nft/embeds/nft-coverage.mdx";
9+
import { ColumnDescriptions } from "/snippets/column-descriptions.mdx";
10+
import { TableSampleParam} from "/snippets/table-sample-with-param.mdx";
11+
12+
<NFTTradesSnippet blockchain="opbnb" />
13+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: Call Tables
3+
description: On Dune, we parse all message calls and transactions made to smart contracts in their own tables.
4+
---
5+
6+
import CallTables from '/snippets/evm/decoded/call-tables-snippet.mdx'
7+
import { DuneEmbed } from '/snippets/dune-embed.mdx'
8+
9+
<CallTables />
10+
11+
// ... existing code ...
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: opbnb.contracts
3+
sidebarTitle: "Decoded Contracts"
4+
description: Description of the opbnb.contracts table on Dune
5+
---
6+
7+
import { ContractsSnippet } from '/snippets/evm/decoded/contracts-snippet.mdx';
8+
import { ColumnDescriptions } from "/snippets/column-descriptions.mdx";
9+
import { TableSample } from "/snippets/table-sample.mdx";
10+
11+
12+
<ContractsSnippet blockchain="opbnb" />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Event Logs
3+
description: Smart Contracts emit event logs when certain predefined actions are completed.
4+
---
5+
6+
import EventLogs from '/snippets/evm/decoded/event-logs-snippet.mdx'
7+
import { DuneEmbed } from '/snippets/dune-embed.mdx'
8+
9+
<EventLogs />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: opbnb.logs_decoded
3+
sidebarTitle: "Decoded Logs"
4+
description: Description of the opbnb.logs_decoded table on Dune
5+
---
6+
7+
import { LogsDecodedSnippet } from '/snippets/evm/decoded/logs-decoded-snippet.mdx';
8+
import { ColumnDescriptions } from "/snippets/column-descriptions.mdx";
9+
import { TableSample } from "/snippets/table-sample.mdx";
10+
11+
12+
<LogsDecodedSnippet blockchain="opbnb" />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Overview
3+
description: Simplifying smart contract analysis through human-readable tables.
4+
icon: "star"
5+
---
6+
7+
import { OverviewDecodedDataApproach } from "/snippets/evm/decoded/decoded-overview-snippet.mdx"
8+
import { DuneEmbed } from '/snippets/dune-embed.mdx'
9+
10+
<OverviewDecodedDataApproach blockchain="opbnb"/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: opbnb.traces_decoded
3+
sidebarTitle: "Decoded Traces"
4+
description: Description of the opbnb.traces_decoded table on Dune
5+
---
6+
7+
import { TracesDecodedSnippet } from '/snippets/evm/decoded/traces-decoded-snippet.mdx';
8+
import { ColumnDescriptions } from "/snippets/column-descriptions.mdx";
9+
import { TableSample } from "/snippets/table-sample.mdx";
10+
11+
12+
<TracesDecodedSnippet blockchain="opbnb" />

data-catalog/evm/opbnb/overview.mdx

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
title: opBNB Overview
3+
icon: "star"
4+
sidebarTitle: "Overview"
5+
description: opBNB data on Dune
6+
---
7+
8+
## What is opBNB?
9+
opBNB is a high-performance Layer 2 scaling solution for the BNB Smart Chain, powered by the bedrock version of Optimism OP Stack. It works by offloading transaction processing and resource usage from the BNB Smart Chain while maintaining data posting to the underlying mainnet. Users interact with opBNB by depositing funds from BSC and using applications and contracts on opBNB.
10+
11+
## Key Features and Advantages
12+
13+
### Optimistic Rollup Technology
14+
- Processes transactions off-chain while maintaining BSC chain security
15+
- Bundles multiple transactions into single batches for main chain submission
16+
- Reduces computational load on BSC for faster and cheaper transactions
17+
- Supports up to 5,000 transactions per second (TPS)
18+
19+
### Transaction Efficiency
20+
- Lower transaction fees through off-chain processing
21+
- Faster transaction confirmations
22+
- Enhanced user experience for DApps and DeFi platforms
23+
- Ideal for micro-transactions
24+
25+
### Security and Infrastructure
26+
- Maintains security through BSC main chain's security model
27+
- Fraud-proof mechanism for transaction validation
28+
- Sequencers aggregate transactions and compute state transitions
29+
- Provers generate cryptographic proofs for state validity
30+
- Verifiers check proofs to ensure network integrity
31+
32+
### Network Specifications
33+
- **Technology Stack**: OP Stack (bedrock version)
34+
- **Gas Token**: BNB
35+
- **Network Type**: EVM-compatible Layer 2
36+
- **Base Chain**: BNB Smart Chain
37+
38+
### Developer Tools & Infrastructure
39+
- **Smart Contract Development**: Support for standard Ethereum development tools
40+
- **Block Explorers**: Multiple options for transaction monitoring
41+
- **Infrastructure**:
42+
- Cross-chain bridges
43+
- Oracle integration
44+
- VRF capabilities
45+
- Indexing services
46+
47+
<CardGroup cols={1}>
48+
<Card title="opBNB Documentation" icon="link" href="https://docs.bnbchain.org/bnb-opbnb/overview/">
49+
Official documentation for developers building on opBNB
50+
</Card>
51+
</CardGroup>
52+
53+
## Data Catalog
54+
55+
<CardGroup cols={2}>
56+
<Card title="Logs" icon="bolt" href="./raw/logs">
57+
Insights into smart contract interactions through event logs
58+
</Card>
59+
<Card title="Blocks" icon="cubes" href="./raw/blocks">
60+
Information on blocks processed on opBNB
61+
</Card>
62+
<Card title="Transactions" icon="message-arrow-up" href="./raw/transactions">
63+
Detailed data on transactions
64+
</Card>
65+
<Card title="decoded" icon="file" href="./decoded/overview">
66+
Decoded transaction information for enhanced analysis
67+
</Card>
68+
</CardGroup>

data-catalog/evm/opbnb/raw/blocks.mdx

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: opbnb.blocks
3+
sidebarTitle: "Blocks"
4+
description: Description of the opbnb.blocks table on Dune
5+
---
6+
7+
import { BlockSnippet } from '/snippets/evm/raw/blocks-snippet.mdx';
8+
import { ColumnDescriptions } from "/snippets/column-descriptions.mdx";
9+
import { TableSample } from "/snippets/table-sample.mdx";
10+
11+
12+
<BlockSnippet blockchain="opbnb" />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: opbnb.creation_traces
3+
sidebarTitle: "Creation Traces"
4+
description: Description of the opbnb.creation_traces table on Dune
5+
---
6+
7+
import { CreationTracesSnippet } from '/snippets/evm/raw/creation-traces-snippet.mdx';
8+
import { ColumnDescriptions } from "/snippets/column-descriptions.mdx";
9+
import { TableSample } from "/snippets/table-sample.mdx";
10+
11+
12+
<CreationTracesSnippet blockchain="opbnb" />

data-catalog/evm/opbnb/raw/logs.mdx

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: opbnb.logs
3+
sidebarTitle: "Logs"
4+
description: Description of the opbnb.logs table on Dune
5+
---
6+
7+
import { LogsSnippet } from '/snippets/evm/raw/logs-snippet.mdx';
8+
import { ColumnDescriptions } from "/snippets/column-descriptions.mdx";
9+
import { TableSample } from "/snippets/table-sample.mdx";
10+
11+
12+
<LogsSnippet blockchain="opbnb" />

data-catalog/evm/opbnb/raw/traces.mdx

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: opbnb.traces
3+
sidebarTitle: "Traces"
4+
description: Description of the opbnb.traces table on Dune
5+
---
6+
7+
import { TracesSnippet } from '/snippets/evm/raw/traces-snippet.mdx';
8+
import { ColumnDescriptions } from "/snippets/column-descriptions.mdx";
9+
import { TableSample } from "/snippets/table-sample.mdx";
10+
11+
12+
<TracesSnippet blockchain="opbnb" />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: opbnb.transactions
3+
sidebarTitle: "Transactions"
4+
description: Description of the opbnb.transactions table on Dune
5+
---
6+
7+
import { TransactionsSnippet } from '/snippets/evm/raw/transactions-snippet.mdx';
8+
import { ColumnDescriptions } from "/snippets/column-descriptions.mdx";
9+
import { TableSample } from "/snippets/table-sample.mdx";
10+
11+
12+
<TransactionsSnippet blockchain="opbnb" />

mint.json

+45
Original file line numberDiff line numberDiff line change
@@ -1386,6 +1386,51 @@
13861386
}
13871387
]
13881388
},
1389+
{
1390+
"group": "opBNB",
1391+
"icon": "database",
1392+
"iconType": "solid",
1393+
"pages": [
1394+
"data-catalog/evm/opbnb/overview",
1395+
{
1396+
"group": "Raw",
1397+
"pages": [
1398+
"data-catalog/evm/opbnb/raw/blocks",
1399+
"data-catalog/evm/opbnb/raw/creation-traces",
1400+
"data-catalog/evm/opbnb/raw/logs",
1401+
"data-catalog/evm/opbnb/raw/transactions",
1402+
"data-catalog/evm/opbnb/raw/traces"
1403+
]
1404+
},
1405+
{
1406+
"group": "Decoded",
1407+
"pages": [
1408+
"data-catalog/evm/opbnb/decoded/overview",
1409+
"data-catalog/evm/opbnb/decoded/call-tables",
1410+
"data-catalog/evm/opbnb/decoded/event-logs",
1411+
"data-catalog/evm/opbnb/decoded/contracts",
1412+
"data-catalog/evm/opbnb/decoded/logs-decoded",
1413+
"data-catalog/evm/opbnb/decoded/traces-decoded"
1414+
]
1415+
},
1416+
{
1417+
"group": "Curated",
1418+
"pages": [
1419+
{
1420+
"group": "DEX",
1421+
"pages": [
1422+
"data-catalog/evm/opbnb/curated-data/dex/dex-trades",
1423+
"data-catalog/evm/opbnb/curated-data/dex/dex-aggregator-trades"
1424+
]
1425+
},
1426+
{
1427+
"group": "NFT",
1428+
"pages": ["data-catalog/evm/opbnb/curated-data/nft/nft-trades"]
1429+
}
1430+
]
1431+
}
1432+
]
1433+
},
13891434
{
13901435
"group": "Optimism",
13911436
"icon": "database",

0 commit comments

Comments
 (0)