WENBlocks
  • Getting Started
    • Overview
      • Technical Architecture
    • Key Features
  • Staking
    • Overview
    • Creating a Stake
    • Withdrawing the Stake
    • Claiming Rewards
  • Liquidity Program
    • How It Works
  • WNT
    • WNT — The Engine of the WEN Ecosystem
  • Airdrops
    • Airdrop Schedule
    • Server Management
    • Penalty Structure
    • How It Works
    • Example
  • Smart Contracts
  • Security
    • Overview
    • Internal Audits
    • External Audits
    • AI Audits
      • Grok
  • CODE
    • WENBlocksManager.sol
    • wnmContract.sol
    • wblkToken.sol
    • wuniContract.sol
    • wntToken.sol
    • syncnode.py
    • airdropGenerator.js
    • dayTrigger.js
  • Conclusion
    • Conclusion
  • Socials
    • Links
Powered by GitBook
On this page
  • Contract Interactions
  • Initial Setup Requirements

Smart Contracts

Below are the addresses for the key smart contracts used in the WENBlocks ecosystem:

Mainnet Addresses (To be deployed on ETH):

  • wnmToken.sol: [To be announced]

  • wblkToken.sol: [To be announced]

  • wuniToken.sol: [To be announced]

  • wntToken.sol: [To be announced]

  • wenBlocksManager.sol: [To be announced]

Testnet Configuration (BSC Testnet):

  • WETH Address: 0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd

  • XEN Token Address: 0xF2e42B36F62d6B060Fd4b0b2E30080A6f70e6296

  • Uniswap V2 Router: [Configured at deployment]

All WENBlocks contracts are publicly available and verified on Etherscan, ensuring full transparency and trust in the protocol's code.

Contract Interactions

  1. Token Contracts: Must be deployed first

  2. WNMToken: Deployed with token addresses as parameters

  3. WENBlocksManager: Deployed last with all token addresses

  4. Post-deployment: Set manager addresses in each token contract

Initial Setup Requirements

After deployment, the following setup steps are required:

  1. Call setManagerAddress on WNMToken

  2. Call setAddresses on each reward token

  3. Transfer initial liquidity tokens to appropriate addresses

  4. Configure the server address for automated airdrops

All WENBlocks contracts are publicly available and verified on Etherscan, ensuring full transparency and trust in the protocol’s code.

PreviousExampleNextOverview

Last updated 1 month ago