ArgentPulse (ARGP)

Description:

Smart contract deployed on Ethereum.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

contract ArgentPulse {
    string public name = "ArgentPulse";       // Название токена
    string public symbol = "ARGP";            // Символ токена
    uint8 public decimals = 18;               // Кол-во знаков после запятой
    uint256 public totalSupply;               // Общий выпуск токенов

    mapping(address => uint256) public balanceOf;
    mapping(address => mapping(address => uint256)) public allowance;

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    constructor(uint256 _totalSupply) {
        totalSupply = _totalSupply * (10 ** uint256(decimals));

        // 25% твоему кошельку
        uint256 ownerAmount = (totalSupply * 25) / 100;
        balanceOf[0xbBe3b3ff93F913d15f33586847ffff77a1588Bce] = ownerAmount;

        // 75% резервному кошельку
        uint256 rest = totalSupply - ownerAmount;
        balanceOf[0xB22BA34735648165054230c89D3A5f1f0881e1b2] = rest;

        emit Transfer(address(0), 0xbBe3b3ff93F913d15f33586847ffff77a1588Bce, ownerAmount);
        emit Transfer(address(0), 0xB22BA34735648165054230c89D3A5f1f0881e1b2, rest);
    }

    function transfer(address to, uint256 value) public returns (bool) {
        require(balanceOf[msg.sender] >= value, "Not enough balance");
        balanceOf[msg.sender] -= value;
        balanceOf[to] += value;
        emit Transfer(msg.sender, to, value);
        return true;
    }

    function approve(address spender, uint256 value) public returns (bool) {
        allowance[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    function transferFrom(address from, address to, uint256 value) public returns (bool) {
        require(balanceOf[from] >= value, "Not enough balance");
        require(allowance[from][msg.sender] >= value, "Not approved");
        balanceOf[from] -= value;
        allowance[from][msg.sender] -= value;
        balanceOf[to] += value;
        emit Transfer(from, to, value);
        return true;
    }
}

Tags:
addr:0x9a3f1699f3b5c11e23ae824100235dd76b7a2112|verified:true|block:23446329|tx:0x0aae5a6df841ea9bc0709b182744e2966bd6b9a98ffc7150623fc5b98cb3fd2f|first_check:1758890165

Submitted on: 2025-09-26 14:36:07

Comments

Log in to comment.

No comments yet.