DeAl

ERCUltra

Special protocol let you share dividends with your holders The ERCUltra is a fungible token like ERC20 You can airdrop ERC20 for your ERCUltra holders through the smartcontract functions

  • Publish Date

    Aug 25, 2024

  • Licenses

    MIT, Apache-2.0, Copyright (c) 2024 ultimatedeal.net Osher Haim Glick.

Smart Contract Deployment: ERCUltra

Overview

The ERCUltra smart contract is a feature-rich contract designed for decentralized token distribution, balance management, and voting functionality. Below are the features of this contract:

Key Features

  1. Token Distribution

    • Batch Distribution: Efficiently distribute tokens to multiple recipients using customizable batch sizes.
    • Initialization Process: Initialize distributions in batches, allowing large-scale token distributions without exceeding gas limits.
    • Multicall Distribution: Distribute tokens in multiple calls to ensure completion even with a high number of recipients.
  2. Token Balance Management

    • Holder Token Balances: Maintain balances for multiple tokens associated with each holder.
    • Balance Retrieval: Retrieve individual token balances or all balances associated with a holder.
  3. Voting Mechanism

    • Delegate Voting: Users can delegate their voting power to another address.
    • Vote Checkpoints: Track votes over time with block-level precision.
    • Vote Changes: Adjust and record changes in delegate votes as users reassign their delegation.
  4. Ownership and Access Control

    • Contract Ownership: The contract owner can perform privileged actions, such as changing ownership and adjusting batch sizes.
    • Distributor Role: A designated distributor is allowed to create and manage distributions.
  5. Events

    • BalanceDistributed: Triggered when the distribution of balances is completed.
    • DistributionCreated: Emitted when a new distribution is initialized.
    • DistributionExecuted: Logs the execution of a distribution batch.
    • DistributionCompleted: Indicates the completion of a distribution.
    • DelegateChanged: Tracks changes in delegate assignments.
    • DelegateVotesChanged: Logs changes in voting power when votes are delegated or reassigned.

Deployment Instructions

To deploy the DeAl contract, you need to provide the following parameters:

  • _name: The name of the token.
  • _symbol: The symbol representing the token.
  • _totalSupply: The total supply of the token.
  • _contractOwner: The address of the initial contract owner.

Modifiers

  • onlyOwner: Restricts function execution to the contract owner.
  • OnlyDistributor: Restricts function execution to the designated distributor or the contract owner. (For the stores to distribute automatically)

Advanced Configuration

  • Batch Size Adjustment: Modify the MAX_BATCH_SIZE and INIT_BATCH_SIZE for distributions based on gas usage requirements.
  • Delegate and Vote Management: Delegate votes to other addresses and monitor voting power changes across different checkpoints.

This contract is ideal for projects that require efficient token distribution, balance management, and integrated voting mechanisms, all while maintaining secure access control.

  • Note: 3% of the total supply goes to the developer automatically

1.1.5 Release Notes

  • Think this is the last version 😂

INIT_BATCH_SIZE

view

No inputs required