Skip to content

Oracle#1

Open
omnidragon-io wants to merge 21 commits intolzreddragon:mainfrom
omnidragon-io:main
Open

Oracle#1
omnidragon-io wants to merge 21 commits intolzreddragon:mainfrom
omnidragon-io:main

Conversation

@omnidragon-io
Copy link
Copy Markdown

No description provided.

…hnical ref, integration guide, ABI) and sidebar
…function signatures

- Update all price calculations from 8 to 18 decimals
- Replace getNativeTokenPrice() with individual oracle functions (getChainlinkPrice, getPythPrice, etc.)
- Update validatePrice() to validate() with correct return values
- Fix price examples and variable names (dragonUsd8 -> dragonUsd18)
- Update ABI.json with correct function signatures matching the deployed contract
- Remove references to non-existent functions
…mary

- Replace outdated RPC URL from rpc.sonic.fantom.network to rpc.soniclabs.com
- Add deployment-summary.md with complete multi-chain deployment status
- Document 5 networks: Sonic (primary), Arbitrum, Base, Ethereum, Hyperliquid
- Include technical challenges resolved and configuration details
- Add LayerZero DVN, executor, and read library addresses
- Document cross-chain functionality and fee structures
…d VRF system

- Update technical-reference.md with OmniDragonRegistry addresses across all 8 chains
- Add new vrf-system.md with complete Cross-Chain VRF v2.5 documentation
- Update deployment-summary.md with registry addresses and VRF system details
- Document Chainlink VRF v2.5 + LayerZero V2 integration
- Include VRF contract addresses, usage examples, and fee structures
- Add cross-chain VRF flow documentation (Sonic → Arbitrum → Chainlink)
- Document registry deployment at 0x6940aDc0A505108bC11CA28EefB7E3BAc7AF0777
- Include security verification links and operational status
…ture documentation

- Updated docs/oracle/overview.md with detailed content from root README.md
- Added comprehensive API reference, security features, and troubleshooting guide
- Included frontend integration examples and recent updates
- Fixed MDX compilation issues for proper build
- Created new Registry tab with overview, configuration, and technical reference
- Added OmniDragonRegistry documentation covering cross-chain coordination
- Included network configurations, API reference, and integration examples
- Updated sidebar to include Registry alongside Oracle documentation
- Covers vanity address deployment pattern and multi-chain registry system
- Created new VRF tab with overview, configuration, and technical reference
- Added OmniDragon Cross-Chain VRF System documentation
- Covers Chainlink VRF v2.5 integration with LayerZero V2 cross-chain messaging
- Includes both cross-chain (Sonic → Arbitrum) and local VRF patterns
- Documents deployed contracts with vanity addresses and operational status
- Updated sidebar to include VRF alongside Oracle and Registry
- Comprehensive integration examples for Web3.js, Ethers.js, and Solidity
- Created new Token tab with overview, configuration, and technical reference
- Added omniDRAGON cross-chain token documentation with LayerZero V2 OFT
- Covers smart fee detection, multi-DEX integration, and lottery system
- Includes LayerZero V2 OFT cross-chain capabilities and vanity addresses
- Documents sophisticated trading vs liquidity operation detection
- Updated sidebar to include Token alongside Oracle, Registry, and VRF
- Comprehensive integration examples for ERC-20, OFT, and DEX interactions
- Made all major sections (## level) collapsible using HTML details elements
- Preserved main overview and key features as visible content
- Improves initial page load experience with cleaner, focused view
- Made all major sections (## level) collapsible using HTML details elements
- Consistent formatting across oracle, registry, and vrf overview pages
- Maintains visible main overview content while collapsing detailed sections
- Improves navigation and reduces initial page load complexity
- Added Oracle and Registry addresses to core contracts
- Clarified VRF Integrator is deployed on both Sonic and Arbitrum
- Added VRF Consumer address for Arbitrum
- Better organization with Core Contracts and VRF Contracts sections
- Updated Chainlink VRF Integrator: 0x694f00e7CAB26F9D05261c3d62F52a81DE18A777
- Updated OmniDragon VRF Consumer: 0x697a9d438A5B61ea75Aa823f98A85EFB70FD23d5 (with correct casing)
- Fixed addresses in all documentation files:
  - deployments/overview.md
  - vrf/overview.md
  - vrf/configuration.md
  - vrf/technical-reference.md
  - oracle/vrf-system.md
  - oracle/deployment-summary.md
  - _data/sonic.addresses.json
- High-Level Architecture: Interactive flow with emojis and colors
- Fee Distribution Flow: Color-coded flowchart showing fee paths
- Lottery Win Flow: Sequence diagram with cross-chain VRF process
- Cross-Chain Transfer Flow: Step-by-step LayerZero process
- Contract Dependencies: Graph showing component relationships
- Network Architecture: Multi-chain topology with status indicators
- Price Oracle Flow: Multi-source aggregation with validation
- Governance Flow: Future veDRAGON voting system
- DEX Trade Sequence: Complete trade-to-lottery-entry flow
- Lottery Win Sequence: Cross-chain VRF winner selection
- Token Transfer States: Comprehensive state machine diagram

All diagrams now use Mermaid syntax for:
- Interactive visualizations
- Professional styling
- Color-coded components
- Detailed annotations
- Better readability and understanding
… appearance

- Removed all emoji characters from all diagram sections
- Maintained diagram functionality and visual clarity
- Clean, professional presentation without visual distractions
- All Mermaid diagrams now use plain text labels
- Consistent styling throughout all architectural diagrams
- High-Level Architecture: Enhanced with gradient colors, shadows, and detailed styling
- Fee Distribution Flow: Beautiful color-coded flowchart with examples and italic descriptions
- Lottery Win Flow: Professional sequence diagram with colored rectangles and enhanced formatting
- Cross-Chain Transfer Flow: Clean gradient styling with detailed step descriptions
- Contract Dependencies: Advanced styling classes with multiple color schemes and shadows
- All diagrams now feature:
  - Professional color palettes with gradients
  - Enhanced typography with bold text and italics
  - Shadow effects and rounded corners
  - Detailed descriptions and examples
  - Improved readability and visual hierarchy
  - Consistent styling across all diagram types
  - Better spacing and layout
  - Professional appearance suitable for enterprise documentation

All diagrams maintain full functionality while providing a much more visually appealing and informative experience.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants