Coder Social home page Coder Social logo

avex-mode4's Introduction

AVEX-MODE4

MissionImpossible Token

Overview

MissionImpossible is a simple ERC-20 token smart contract built on the Ethereum blockchain. The contract extends the OpenZeppelin ERC20 and Ownable contracts, providing basic functionality for a customizable token with additional features.

Features

  • Token Name: MissionImpossible
  • Symbol: MI
  • Total Supply: 10 MI tokens initially minted to the contract creator.
  • Ownership: The contract owner has the ability to mint new tokens and has exclusive access to certain functions.

Smart Contract Details

Functions

  1. mintLoot

    • Visibility: Public (onlyOwner)
    • Description: Mint additional MissionImpossible tokens and assign them to a specified address.
  2. redeemItem

    • Visibility: Public
    • Description: Allows token holders to redeem a specific item by burning a predefined amount of MissionImpossible tokens.
  3. burnLoot

    • Visibility: Public
    • Description: Allows token holders to burn a specified amount of MissionImpossible tokens.

Constants

  • LootAmount: 10 MI tokens are required to redeem an item.

Storage

  • LootRedeemed: A mapping to keep track of whether a token holder has already redeemed an item.

Getting Started

  1. Deploy the smart contract on the Ethereum blockchain.
  2. The contract owner can mint additional tokens using the mintLoot function.
  3. Token holders can redeem items using the redeemItem function.
  4. Token holders can burn their tokens using the burnLoot function.

License

This smart contract is licensed under the MIT License. See the LICENSE file for details.

avex-mode4's People

Contributors

shubh8434 avatar

Watchers

 avatar

Forkers

dashbaord202401

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.