GURU Network: Multi Chain AI Compute Layer
  • Overview
  • ▶️Getting Started
    • Using Mainnet
    • Wallet Configuration
    • Using DApps
    • Technical Architecture of Guru Network
    • Ultimate Guide To Guru Network For Community Users
  • 🫡Utility
    • Fees
    • Bridges
    • Block Explorers
    • Indexer
  • 👩‍💻Development
    • Contract Deployment
    • NFT APIs
    • Account Abstraction
    • Contracts
    • Running Node
  • 🔗Links
    • Guru Network
    • How to buy $GURU
    • Web & social media
    • Official NFT Collections
    • Docs and DYOR
    • Open Source
  • 🎯Purpose and Vision
    • 🔗Atomic Franchise Mechanism
    • 👥Participation
    • 💰Rewards and Incentives
  • 💡Guru Network
    • 🎛️Guru Network ChainLink integration
      • 📄Guru Season 2 Pass And ChainLink Functions Case
    • 💲Guru Token
    • 🌐Web3 Infrastructure
    • 🌆Web2 and Off-Chain Infrastructure
    • ⛓️Multi Chain Interoperability Layer (CCIP)
    • 👩‍🔬Subsquid & Guru Network Data Partnership
    • Smart Contracts
  • 🪄Flow Orchestrator
  • 🚀BBPA Engines
  • 📋Tasklist
  • 💫Shared Event Bus
  • 🤖Individual Agents
  • 🧰Framework
    • ⚙️Setup and Configuration
    • 📚Data Warehouse API
    • 👾Block Explorer
    • ⚡Indexer
      • ⏯️Run the Indexer
      • 🔛Environment Variables
      • 🐇Parallel Indexing using RabbitMQ
    • 🔄Swap
    • 🏪Warehouse
      • 🏁Getting Started
  • 🧑‍🤝‍🧑Ecosystem and Community
  • 📜Governance and Stakeholder Engagement
  • 🗺️Q1&Q2 2024 Roadmap
  • 📄Terms Of Sale
  • 📕Glossary
  • 📖Reference Documentation
  • 🏆Contests
    • 🧑‍🎨Guru NFT Art Contest - CONTEST IS OVER
    • 😺Guru Meme Mania
    • 🧙‍♂️Guru Network Grand Riddle Hunt
  • 🖇️Our Links
  • 🧘‍♂️Guru Network Mainnet Launch Documentation
    • Network Information
    • Token Contracts
  • ⏯️Using Guru
Powered by GitBook
On this page
  1. Development

Contracts

Token contracts for Guru Network Mainnet

Native Tokens

// WGURU Token Contract
address constant WGURU = 0xc339E17eFD801724937A645B7e356CFA8be85279;
// Wrapped ETH Contract
address constant WETH = 0xd402ca8c735960dbb5a45975b51f7dc9f85f977e;
// Bridged USDC Contract
address constant USDC.e = 0xfbf7fD738DE150c147dcaA120be96d0aB27C5a9b;

Core Protocol Contracts

Uniswap Integration

Copy

// Factory Contract
address constant UNISWAP_V2_FACTORY = 0x01a43Ad6C4244F820d9238d37AEc4867854c1044;
// Router Contract
address constant UNISWAP_V2_ROUTER = 0xEf68B8853f1B79601617110218bA8aB14C077df2;

Utility Contracts

Copy

// Multicall3 Contract
address constant MULTICALL3 = 0x9dE69f908Daf532019d2DeF8f7344e6Fc872F0dc;

Integration Examples

Router Configuration

Copy

const ROUTER_CONFIG = {
  factory: '0x01a43Ad6C4244F820d9238d37AEc4867854c1044',
  router: '0xEf68B8853f1B79601617110218bA8aB14C077df2',
  wguru: '0xc339E17eFD801724937A645B7e356CFA8be85279'
};

Liquidity Functions

Copy

interface IUniswapV2Router {
    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
}
PreviousAccount AbstractionNextRunning Node

Last updated 5 months ago

👩‍💻