Main
  • 🛰️SPACE STATION
    • Exchange Center
    • Space Dock
    • Habitat Areas
    • PvP Arena
    • BlackMarket
  • 🌎PLANETS
    • ⛏️Minerals
    • ☘️Mystical Plants
    • 🏘️Safe Areas
    • 🚪Dungeons
  • ⚙️COMPONENTS
    • 🛢️Resources
      • Charcoal
      • Metal Fragment
      • Sulfur
      • Bronze Alloy
      • Super Alloy
      • Cloth
      • Glass
      • Fertilizer
      • Empty Flask
      • Stardust
      • Carbon Battery
      • Explosives
    • 🏗️Constructions
      • Instant Wooden Shelter
      • Building Plan
      • Alloy Lock
      • Biometric Lock
      • Wooden Door
      • Wooden Double Door
      • Metal Door
      • Metal Double Door
      • Metal Hangar Gate
      • Armored Door
      • Armored Double Door
      • Wooden Window Bars
      • Metal Window Bars
      • Armored Window Bars
      • Stone Barricade
      • Sandbag Barricade
      • Titanium Barricade
      • Reinforced Wooden Wall
      • Reinforced Wooden Gate
      • Reinforced Stone Wall
      • Reinforced Stone Gate
      • Nano Water Collector
      • Quantum Water Collector
      • Basic Water Distiller
      • Wooden Ladder
    • 🗜️Items
      • Primitive Hearth
      • Stone Furnace
      • Plasmic Refiner
      • Micro Energy Reactor
      • Quantum Energy Reactor
      • Small Workbench
      • Medium Workbench
      • Advanced Workbench
      • Repair Table
      • Alchemy Table
      • Bioharvester
      • MiniGrow Pod
      • EcoGrow Pod
      • Cooking Table
      • Plasma Torch
      • Hydro Container
      • Scope
      • Micro Rechargeable Battery
      • Nano Rechargeable Battery
      • Large Rechargeable Battery
    • 🏹Weapons
      • Wooden Spear
      • Titanium Spear
      • Wooden Bow
      • 🧭Small Workbench
        • Hyperlance
        • Magnetic Shield
        • Common Mace
        • Energy Extended Mace
        • Butcher Knife
        • Combat Knife
        • Iron Sword
        • Nanocarbon Bow
        • Electromagnetic Crossbow
        • Rapid-Fire Blaster
        • Micro Explosive
        • Nano Explosive
      • ⏱️Medium Workbench
        • Plasma Shield
        • Long Sword
        • Hybromatic Blaster
        • Micro Rifle
        • Nano Rifle
        • Rapid Lasergun
        • Graviton Rifle
        • Light Scattergun
        • Plasmthrower
        • Nanite Grenade Launcher
        • Optical Flashbang
        • Nano Grenade
      • ⏲️Advanced Workbench
        • Advanced Shield
        • Nano Scattergun
        • Plasma Assault Rifle
        • Long Range Rifle
        • Plasma Rocket Launcher
        • Timed Cyber Explosive
      • Beam Sniper Rifle
      • Automatic Blaster
    • 🧨Ammo
      • Wooden Arrow
      • Alloy Arrow
      • Plasma Cartridges
      • Fusion Cartridges
      • Nano Rounds
      • Burst Rounds
      • Hyper Velocity Rounds
      • Quantum Pulse Cartridge
      • Nano Pellet
      • Plasma Ignition Pellet
      • Nano Grenade Capsule
      • Nebula Capsule
      • Quantum Charge Capsule
      • Plasma Rocket
      • Quantum Missile
    • 🎯Traps
      • Scattergun Sentry
      • Nano Sentry
      • Sentinal Turret
      • Plasma Defense System
      • Carbon Spiker
      • Quantum Snare
      • Nano Mine
      • Photon Mine
      • Nebula Mine
    • ⚒️Tools
      • Sharpen Stone
      • Stone Hatchet
      • Stone Pickaxe
      • Stone Shovel
      • Wooden Fishing Rod
      • Iron Axe
      • Iron Pickaxe
      • Titanium Shovel
      • Hyper-Flex Rod
      • Plasma Cutter
      • Reinforced Pickaxe
    • ⚙️Component Parts
    • 💊Medical
      • Nano Regen Patch
      • Micro Heal Pack
      • Bio-Nano Injector
      • Quantum Recovery Kit
    • 🌮Foods
      • Plants
      • Fishes
    • 👕Equipments
      • Basic Backpack
      • Large Backpack
      • Expert Backpack
      • Traveler Helmet
      • Explorer Jacket
      • Scout Trousers
      • Hunter Gloves
      • Ranger Boots
      • Guardian Helmet
      • Warrior Chestplate
      • Protector Greaves
      • Commander Gauntlets
      • Defender Boots
      • Iron Helmet
      • Iron Chestplate
      • Iron Leggings
      • Iron Gauntlets
      • Iron Boots
      • Titanium Helmet
      • Titanium Torso
      • Titanium Pants
      • Titanium Gloves
      • Titanium Boots
      • Galactic Guardian Helmet
      • Galatic Guardian Torso
      • Galactic Guardian Pants
      • Galactic Guardian Gloves
      • Galactic Guardian Boots
      • Asltral Armor Helmet
      • Astral Armor Torso
      • Astral Armor Pants
      • Astral Armor Gloves
      • Astral Armor Boots
      • Cosmic Shield Helmet
      • Cosmic Shield Torso
      • Cosmic Shield Pants
      • Cosmic Shield Gloves
      • Cosmic Shield Boots
      • Plasma Panzer Helmet
      • Plasma Panzer Torso
      • Plasma Panzer Pants
      • Plasma Panzer Gloves
      • Plasma Panzer Boots
      • Planet Protector Helmet
      • Planet Protector Torso
      • Planet Protector Pants
      • Planet Protector Gloves
      • Planet Protector Boots
      • Space Armor IX Helmet
      • Space Armor IX Torso
      • Space Armor IX Pants
      • Space Armor IX Gloves
      • Space Armor IX Boots
      • Last Bastion Helmet
      • Last Bastion Torso
      • Last Bastion Pants
      • Last Bastion Gloves
      • Last Bastion Boots
      • Gleaming Shield Helmet
      • Gleaming Shield Torso
      • Gleaming Shield Pants
      • Gleaming Shield Gloves
      • Gleamin Shield Boots
      • Star Particle Helmet
      • Star Particle Torso
      • Star Particle Pants
      • Star Particle Gloves
      • Star Particle Boots
    • 🗝️Portal Keys
    • ⚗️Serums
      • Minor Health Regen Potion
      • Major Health Regen Potion
      • Great Health Regen Potion
      • Minor Stamina Regen Potion
      • Major Stamina Regen Potion
      • Great Stamina Regen Potion
      • Minor Health Potion
      • Major Health Potion
      • Great Health Potion
      • Minor Stamina Potion
      • Major Stamina Potion
      • Great Stamina Potion
      • Minor Defence Potion
      • Major Defence Potion
      • Great Defence Potion
      • Minor Attack Potion
      • Major Attack Potion
      • Great Attack Potion
      • Minor Dodge Potion
      • Major Dodge Potion
      • Great Dodge Potion
      • Minor Critical Strike Potion
      • Major Critical Strike Potion
      • Great Critical Strike Potion
      • Minor Cure Potion
      • Major Cure Potion
      • Great Cure Potion
      • Minor Lucky Potion
      • Major Lucky Potion
      • Great Lucky Potion
      • Minor Stun Resist Potion
      • Major Stun Resist Potion
      • Great Stun Resist Potion
      • Minor Breath Potion
      • Major Breath Potion
      • Great Breath Potion
      • Luminescent Potion
    • 💎Decorative & Accessories
  • 🔗BLOCKCHAIN TECHNOLOGY
    • 🔩Mechanism
    • 🪙Tokenomic
    • 🗺️Roadmap
    • ⚖️Disclaimer
    • 📄Contracts
      • VNT Token Contract Docs.
      • PreSale Contract Docs.
  • 🔮SOCIAL LINKS
    • Website
    • Discord
    • X / Twitter
    • Telegram
    • Reddit
    • Youtube
    • Medium
    • LinkedIn
  • 🖥️MEET THE MAIN CREW
Powered by GitBook
On this page
  1. BLOCKCHAIN TECHNOLOGY
  2. Contracts

VNT Token Contract Docs.

VenatorToken User Guide

General Information

  • Token Name: Venator Universe Token (VNT)

  • Initial Supply: 100,000,000 VNT

  • Symbol: VNT

Actions and Permissions

  1. pause:

    • Description: This action temporarily halts token transfers.

    • Permission: Can only be called by the contract owner.

    • Function: function pause() public onlyOwner

  2. unpause:

    • Description: This action resumes token transfers that have been paused.

    • Permission: Can only be called by the contract owner.

    • Function: function unpause() public onlyOwner

  3. mint:

    • Description: Creates new tokens and sends them to the specified address. The total supply must not exceed the initial supply cap.

    • Permission: Can only be called by the contract owner.

    • Function: function mint(address to, uint256 amount) public onlyOwner

    • Requirement: require(totalSupply() + amount <= INITIAL_SUPPLY, "Minting exceeds the initial supply cap.")

  4. banAddress:

    • Description: Bans a specified address. Banned addresses cannot transfer or receive tokens.

    • Permission: Can only be called by the contract owner.

    • Function: function banAddress(address addr) public onlyOwner

    • Event: event AddressBanned(address indexed bannedAddress)

  5. unbanAddress:

    • Description: Unbans a previously banned address.

    • Permission: Can only be called by the contract owner.

    • Function: function unbanAddress(address addr) public onlyOwner

    • Event: event AddressUnbanned(address indexed unbannedAddress)

  6. isBanned:

    • Description: Checks if a specified address is banned.

    • Permission: Can be called by anyone.

    • Function: function isBanned(address addr) public view returns (bool)

  7. approve:

    • Description: Grants permission to a specified address to spend a certain amount of tokens.

    • Permission: Can be called by any token holder.

    • Function: function approve(address spender, uint256 amount) public override returns (bool)

    • Requirement: require(!bannedAddresses[msg.sender], "Approve from banned address") and require(!bannedAddresses[spender], "Approve to banned address")

  8. transfer:

    • Description: Transfers a specified amount of tokens from one address to another.

    • Permission: Can be called by any token holder.

    • Function: function transfer(address to, uint256 amount) public override returns (bool)

    • Requirement: require(!bannedAddresses[msg.sender], "Transfer from banned address") and require(!bannedAddresses[to], "Transfer to banned address")

  9. transferFrom:

    • Description: Transfers a specified amount of tokens from one address to another on behalf of the token holder, provided the sender has been approved to spend the tokens.

    • Permission: Can be called by any token holder.

    • Function: function transferFrom(address from, address to, uint256 amount) public override returns (bool)

    • Requirement: require(!bannedAddresses[from], "Transfer from banned address") and require(!bannedAddresses[to], "Transfer to banned address")

  10. burn:

    • Description: Burns a specified amount of tokens, removing them from circulation.

    • Permission: Can be called by any token holder.

    • Function: function burn(uint256 amount) public override

  11. burnFrom:

    • Description: Burns a specified amount of tokens from a given address.

    • Permission: Can be called by any token holder.

    • Function: function burnFrom(address account, uint256 amount) public override

Additional Information

  • Banned Addresses: The mapping(address => bool) private bannedAddresses variable stores banned addresses.

  • Ownership Transfer: The contract owner can transfer ownership to another address (transferOwnership).

PreviousContractsNextPreSale Contract Docs.

Last updated 9 months ago

🔗
📄