ETH Price: $2,364.35 (+1.34%)

Contract

0x622a602C5B9F16941927d7218A0f89072C584aDe
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve180142982023-08-28 16:21:23379 days ago1693239683IN
0x622a602C...72C584aDe
0 ETH0.0017678637.92247515
Approve180142922023-08-28 16:20:11379 days ago1693239611IN
0x622a602C...72C584aDe
0 ETH0.0016738135.90498801
Approve180142882023-08-28 16:19:23379 days ago1693239563IN
0x622a602C...72C584aDe
0 ETH0.0011046237.4220879
Approve180142662023-08-28 16:14:59379 days ago1693239299IN
0x622a602C...72C584aDe
0 ETH0.0023543250.81634386
Transfer180142052023-08-28 16:02:47379 days ago1693238567IN
0x622a602C...72C584aDe
0.00607 ETH0.0010065447.82829005
Exclude From Fee180141642023-08-28 15:54:35379 days ago1693238075IN
0x622a602C...72C584aDe
0 ETH0.0009048434.13607899
Transfer Ownersh...180141512023-08-28 15:51:59379 days ago1693237919IN
0x622a602C...72C584aDe
0 ETH0.0009908134.57966881
Exclude From Fee180141402023-08-28 15:49:47379 days ago1693237787IN
0x622a602C...72C584aDe
0 ETH0.0008828733.30728579
Exclude From Fee180140662023-08-28 15:34:59379 days ago1693236899IN
0x622a602C...72C584aDe
0 ETH0.0008244837.47638673
Transfer Ownersh...180092242023-08-27 23:18:59379 days ago1693178339IN
0x622a602C...72C584aDe
0 ETH0.0003064210.69438721
Approve179996602023-08-26 15:13:11381 days ago1693062791IN
0x622a602C...72C584aDe
0 ETH0.0009713520.83655544
Exclude From Fee179847942023-08-24 13:14:47383 days ago1692882887IN
0x622a602C...72C584aDe
0 ETH0.0010414221.72216162
Approve179847082023-08-24 12:57:35383 days ago1692881855IN
0x622a602C...72C584aDe
0 ETH0.000895519.32892072
Exclude From Fee179846932023-08-24 12:54:35383 days ago1692881675IN
0x622a602C...72C584aDe
0 ETH0.0009572219.965894
Transfer179846792023-08-24 12:51:47383 days ago1692881507IN
0x622a602C...72C584aDe
0 ETH0.0009950320.30518164
Transfer179295792023-08-16 19:49:35390 days ago1692215375IN
0x622a602C...72C584aDe
0 ETH0.0010236532.30413754
Transfer179295752023-08-16 19:48:47390 days ago1692215327IN
0x622a602C...72C584aDe
0 ETH0.0017068631.85882271
Exclude From Fee179293912023-08-16 19:11:59390 days ago1692213119IN
0x622a602C...72C584aDe
0 ETH0.0014602930.45898733
Approve179293662023-08-16 19:06:59390 days ago1692212819IN
0x622a602C...72C584aDe
0 ETH0.001404330.31097104
Exclude From Fee179293262023-08-16 18:58:59390 days ago1692212339IN
0x622a602C...72C584aDe
0 ETH0.0014773830.81546397
Exclude From Fee179270832023-08-16 11:26:35391 days ago1692185195IN
0x622a602C...72C584aDe
0 ETH0.0009633820.09436737
Transfer Ownersh...179126052023-08-14 10:51:59393 days ago1692010319IN
0x622a602C...72C584aDe
0 ETH0.0004732716.51742352
Transfer179125862023-08-14 10:48:11393 days ago1692010091IN
0x622a602C...72C584aDe
0 ETH0.0006623513.51633198
0x61012060179124502023-08-14 10:20:59393 days ago1692008459IN
 Create: RewardToken
0 ETH0.0190336413.06854625

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RewardToken

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : test.sol
//SPDX-License-Identifier: MIT

pragma solidity 0.8.19;

import "@openzeppelin/contracts/access/Ownable.sol";

struct Account {
    bool isGlobal;
    uint256 balance;
    uint256 globalRewardsPaid;
}

contract RewardToken is Ownable {
    string private _name;
    string private _symbol;
    uint8 private _decimals;
    uint256 private _totalSupply;
    uint8 private immutable _adminTax;
    uint8 private immutable _globalTax;
    uint8 private immutable _burnTax;
    address private immutable _adminTaxReceiver;
    address private immutable _burnAddress;

    address[] private _globalList;

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event GlobalRewardPaid(address to, uint256 value);
    event AdminTaxPaid(address to, uint256 value);
    event Burn(address _burnAddress, uint256 value);
    event ExcludeStatus(address, bool);

    mapping(address => Account) private _accounts;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) private _isExcludedFromTax;

    constructor() {
        _name = "Trump Army";
        _symbol = "TRUMPX";
        _decimals = 18;
        _totalSupply = 100000000 * 10 ** _decimals;
        _adminTax = 2;
        _globalTax = 2;
        _burnTax = 1;
        _adminTaxReceiver = 0x1f6b32601345A92FB77656699ae157be9270D9B2;
        _burnAddress = 0x000000000000000000000000000000000000dEaD;

        _isExcludedFromTax[owner()] = true;

        _accounts[msg.sender].balance += _totalSupply;
        emit Transfer(address(0), msg.sender, _totalSupply);
    }

    function name() external view returns (string memory) {
        return _name;
    }

    function symbol() external view returns (string memory) {
        return _symbol;
    }

    function decimals() external view returns (uint8) {
        return _decimals;
    }

    function totalSupply() external view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address _userAddress) external view returns (uint256) {
        return _accounts[_userAddress].balance;
    }

    function transfer(address to, uint256 amount) external {
        _transfer(msg.sender, to, amount);
    }

    function allowance(
        address owner,
        address spender
    ) external view returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) external returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    function _approve(
        address _owner,
        address _spender,
        uint256 _valueInWei
    ) internal virtual {
        require(_owner != address(0), "ERC20: approve from the zero address");
        require(_spender != address(0), "ERC20: approve to the zero address");
        require(_valueInWei > 0, "ERC20: approve value is zero.");

        _allowances[_owner][_spender] = _valueInWei;
        emit Approval(_owner, _spender, _valueInWei);
    }

    function globalList() external view returns (address[] memory) {
        return _globalList;
    }

    function increaseAllowance(address _spender, uint256 _valueInWei) external {
        require(_valueInWei > 0, "ERC20: approve value is zero.");
        address _msgSender = msg.sender;
        require(
            _accounts[_msgSender].balance >=
                _allowances[_msgSender][_spender] + _valueInWei,
            "ERC20: Insufficient balance to approve."
        );
        _allowances[_msgSender][_spender] += _valueInWei;
    }

    function decreaseAllowance(address _spender, uint256 _valueInWei) external {
        require(_valueInWei > 0, "ERC20: approve value is zero.");
        require(
            _spender != address(0),
            "ERC20: spender can't be address zero."
        );

        address _msgSender = msg.sender;
        require(
            _allowances[_msgSender][_spender] - _valueInWei >= 0,
            "ERC20: Allowance cannot be less than zero."
        );
        _allowances[_msgSender][_spender] -= _valueInWei;
    }

    function transferFrom(address from, address to, uint256 amount) external {
        address _msgSender = msg.sender;
        _transferFrom(from, _msgSender, to, amount);
    }

    function _transfer(
        address _from,
        address _to,
        uint256 _valueInWei
    ) private {
        require(
            _to != address(0),
            "ERC20: Address zero cannot be the receiver."
        );
        require(_valueInWei > 0, "ERC20: Value should be greater than zero.");

        uint256 userBalance = _accounts[_from].balance;
        require(userBalance >= _valueInWei, "ERC20: Insuffient balance.");

        if (_isExcludedFromTax[_from] || _isExcludedFromTax[_to]) {
            unchecked {
                _accounts[_from].balance -= _valueInWei;
                _accounts[_to].balance += _valueInWei;
                emit Transfer(_from, _to, _valueInWei);
            }
        } else {
            Account storage toAccount = _accounts[_to];
            address burnAddress = _burnAddress;
            address adminTaxReceiver = _adminTaxReceiver;

            if (!toAccount.isGlobal) {
                _globalList.push(_to);
                toAccount.isGlobal = true;
            }

            unchecked {
                uint256 adminTaxValue = (_valueInWei * _adminTax) / 100;
                uint256 globalReward = (_valueInWei * _globalTax) / 100;
                uint256 burnTaxValue = (_valueInWei * _burnTax) / 100;

                uint256 remainingValue = _valueInWei -
                    (adminTaxValue + globalReward + burnTaxValue);

                _accounts[_from].balance -= _valueInWei;

                _accounts[adminTaxReceiver].balance += adminTaxValue;
                emit AdminTaxPaid(adminTaxReceiver, adminTaxValue);

                _accounts[burnAddress].balance += burnTaxValue;
                emit Burn(burnAddress, burnTaxValue);

                toAccount.balance += remainingValue;

                address globalAddress = _getRandomGlobalAddress();
                _accounts[globalAddress].balance += globalReward;
                emit GlobalRewardPaid(globalAddress, globalReward);

                emit Transfer(_from, _to, remainingValue);
                emit Transfer(_from, adminTaxReceiver, adminTaxValue);
                emit Transfer(_from, burnAddress, burnTaxValue);
                emit Transfer(_from, globalAddress, globalReward);
            }
        }
    }

    function _transferFrom(
        address _owner,
        address _spender,
        address _to,
        uint256 _valueInWei
    ) private {
        require(_valueInWei > 0, "ERC20: Cannot transfer zero value");
        require(
            _spender != address(0),
            "ERC20: Spender can't be address zero."
        );

        require(
            _allowances[_owner][_spender] >= _valueInWei,
            "ERC20: Insufficient allowance"
        );

        _transfer(_owner, _to, _valueInWei);
        _allowances[_owner][_spender] -= _valueInWei;
    }

    function _getRandomGlobalAddress() private view returns (address) {
        uint256 randomHash = uint256(
            keccak256(
                abi.encodePacked(
                    block.timestamp,
                    block.prevrandao,
                    blockhash(block.number - 1)
                )
            )
        );

        uint256 randomIndex = randomHash % _globalList.length;
        return _globalList[randomIndex];
    }

    function getUserAccount(
        address _userAccount
    ) external view returns (Account memory) {
        return _accounts[_userAccount];
    }

    function adminTax() external view returns (uint8) {
        return _adminTax;
    }

    function adminTaxReceiverAddress() external view returns (address) {
        return _adminTaxReceiver;
    }

    function burnTax() external view returns (uint8) {
        return _burnTax;
    }

    function globalTax() external view returns (uint8) {
        return _globalTax;
    }

    function totalTax() external view returns (uint8) {
        return _adminTax + _globalTax + _burnTax;
    }

    function isExcludedFromTax(address _address) external view returns (bool) {
        return _isExcludedFromTax[_address];
    }

    //exclude wallets from fees, this is needed for launch or other contracts.
    function excludeFromFee(address _address, bool status) external onlyOwner {
        require(
            _isExcludedFromTax[_address] != status,
            "The wallet ialready have that status."
        );
        _isExcludedFromTax[_address] = status;
        emit ExcludeStatus(_address, status);
    }
}

File 2 of 3 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 3 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"AdminTaxPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_burnAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"bool","name":"","type":"bool"}],"name":"ExcludeStatus","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"GlobalRewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"adminTax","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adminTaxReceiverAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnTax","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_valueInWei","type":"uint256"}],"name":"decreaseAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAccount","type":"address"}],"name":"getUserAccount","outputs":[{"components":[{"internalType":"bool","name":"isGlobal","type":"bool"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"globalRewardsPaid","type":"uint256"}],"internalType":"struct Account","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"globalList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"globalTax","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_valueInWei","type":"uint256"}],"name":"increaseAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isExcludedFromTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTax","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101206040523480156200001257600080fd5b506200001e336200018a565b60408051808201909152600a8152695472756d702041726d7960b01b60208201526001906200004e90826200027f565b506040805180820190915260068152650a8a4aa9aa0b60d31b60208201526002906200007b90826200027f565b506003805460ff191660129081179091556200009990600a62000460565b620000a9906305f5e10062000478565b6004556002608081905260a052600160c0819052731f6b32601345a92fb77656699ae157be9270d9b260e05261dead6101005260086000620000f36000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805460ff191694151594909417909355600454338452600690925282206001018054919290916200014490849062000492565b909155505060045460405190815233906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3620004a8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200020557607f821691505b6020821081036200022657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200027a57600081815260208120601f850160051c81016020861015620002555750805b601f850160051c820191505b81811015620002765782815560010162000261565b5050505b505050565b81516001600160401b038111156200029b576200029b620001da565b620002b381620002ac8454620001f0565b846200022c565b602080601f831160018114620002eb5760008415620002d25750858301515b600019600386901b1c1916600185901b17855562000276565b600085815260208120601f198616915b828110156200031c57888601518255948401946001909101908401620002fb565b50858210156200033b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003a25781600019048211156200038657620003866200034b565b808516156200039457918102915b93841c939080029062000366565b509250929050565b600082620003bb575060016200045a565b81620003ca575060006200045a565b8160018114620003e35760028114620003ee576200040e565b60019150506200045a565b60ff8411156200040257620004026200034b565b50506001821b6200045a565b5060208310610133831016604e8410600b841016171562000433575081810a6200045a565b6200043f838362000361565b80600019048211156200045657620004566200034b565b0290505b92915050565b60006200047160ff841683620003aa565b9392505050565b80820281158282048414176200045a576200045a6200034b565b808201808211156200045a576200045a6200034b565b60805160a05160c05160e051610100516116336200051e6000396000610f4a01526000818161036e0152610f6c0152600081816101a70152818161096701526110890152600081816102340152818161098b015261106001526000818161020e015281816109ac015261102601526116336000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80638da5cb5b116100c3578063dd62ed3e1161007c578063dd62ed3e14610320578063df8408fe14610359578063f017bcb01461036c578063f2fde38b14610392578063fb47e016146103a5578063fe85b42b146103dc57600080fd5b80638da5cb5b1461028c57806395d89b41146102b1578063a457c2d7146102b9578063a9059cbb146102cc578063cb4ca631146102df578063dcf91b161461030b57600080fd5b8063313ce56711610115578063313ce567146101ee57806339509351146101f957806339ded4e91461020c57806355128f7d1461023257806370a0823114610258578063715018a61461028457600080fd5b806306fdde0314610152578063095ea7b31461017057806318160ddd146101935780631d4eaead146101a557806323b872dd146101d9575b600080fd5b61015a6103e4565b6040516101679190611331565b60405180910390f35b61018361017e36600461139b565b610476565b6040519015158152602001610167565b6004545b604051908152602001610167565b7f00000000000000000000000000000000000000000000000000000000000000005b60405160ff9091168152602001610167565b6101ec6101e73660046113c5565b610490565b005b60035460ff166101c7565b6101ec61020736600461139b565b6104a3565b7f00000000000000000000000000000000000000000000000000000000000000006101c7565b7f00000000000000000000000000000000000000000000000000000000000000006101c7565b610197610266366004611401565b6001600160a01b031660009081526006602052604090206001015490565b6101ec6105b6565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610167565b61015a6105ca565b6101ec6102c736600461139b565b6105d9565b6101ec6102da36600461139b565b610724565b6101836102ed366004611401565b6001600160a01b031660009081526008602052604090205460ff1690565b610313610733565b6040516101679190611423565b61019761032e366004611470565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b6101ec6103673660046114a3565b610794565b7f0000000000000000000000000000000000000000000000000000000000000000610299565b6101ec6103a0366004611401565b61087d565b6103b86103b3366004611401565b6108f6565b60408051825115158152602080840151908201529181015190820152606001610167565b6101c7610963565b6060600180546103f3906114df565b80601f016020809104026020016040519081016040528092919081815260200182805461041f906114df565b801561046c5780601f106104415761010080835404028352916020019161046c565b820191906000526020600020905b81548152906001019060200180831161044f57829003601f168201915b5050505050905090565b6000336104848185856109df565b60019150505b92915050565b3361049d84828585610b23565b50505050565b600081116104cc5760405162461bcd60e51b81526004016104c390611519565b60405180910390fd5b3360008181526007602090815260408083206001600160a01b03871684529091529020546104fb908390611566565b6001600160a01b03821660009081526006602052604090206001015410156105755760405162461bcd60e51b815260206004820152602760248201527f45524332303a20496e73756666696369656e742062616c616e636520746f206160448201526638383937bb329760c91b60648201526084016104c3565b6001600160a01b038082166000908152600760209081526040808320938716835292905290812080548492906105ac908490611566565b9091555050505050565b6105be610ca3565b6105c86000610cfd565b565b6060600280546103f3906114df565b600081116105f95760405162461bcd60e51b81526004016104c390611519565b6001600160a01b03821661065d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207370656e6465722063616e27742062652061646472657373206044820152643d32b9379760d91b60648201526084016104c3565b3360008181526007602090815260408083206001600160a01b038716845290915281205461068c908490611579565b10156106ed5760405162461bcd60e51b815260206004820152602a60248201527f45524332303a20416c6c6f77616e63652063616e6e6f74206265206c657373206044820152693a3430b7103d32b9379760b11b60648201526084016104c3565b6001600160a01b038082166000908152600760209081526040808320938716835292905290812080548492906105ac908490611579565b61072f338383610d4d565b5050565b6060600580548060200260200160405190810160405280929190818152602001828054801561046c57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161076d575050505050905090565b61079c610ca3565b6001600160a01b03821660009081526008602052604090205481151560ff90911615150361081a5760405162461bcd60e51b815260206004820152602560248201527f5468652077616c6c65742069616c72656164792068617665207468617420737460448201526430ba3ab99760d91b60648201526084016104c3565b6001600160a01b038216600081815260086020908152604091829020805460ff19168515159081179091558251938452908301527f09cdf0cfa7a040edd81ed835da9c0da414b3b1bc89788f88ba53288ce596b5fa910160405180910390a15050565b610885610ca3565b6001600160a01b0381166108ea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104c3565b6108f381610cfd565b50565b61091c604051806060016040528060001515815260200160008152602001600081525090565b506001600160a01b03166000908152600660209081526040918290208251606081018452815460ff1615158152600182015492810192909252600201549181019190915290565b60007f00000000000000000000000000000000000000000000000000000000000000006109d07f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061158c565b6109da919061158c565b905090565b6001600160a01b038316610a415760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104c3565b6001600160a01b038216610aa25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104c3565b60008111610ac25760405162461bcd60e51b81526004016104c390611519565b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60008111610b7d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a2043616e6e6f74207472616e73666572207a65726f2076616c756044820152606560f81b60648201526084016104c3565b6001600160a01b038316610be15760405162461bcd60e51b815260206004820152602560248201527f45524332303a205370656e6465722063616e27742062652061646472657373206044820152643d32b9379760d91b60648201526084016104c3565b6001600160a01b03808516600090815260076020908152604080832093871683529290522054811115610c565760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20496e73756666696369656e7420616c6c6f77616e636500000060448201526064016104c3565b610c61848383610d4d565b6001600160a01b03808516600090815260076020908152604080832093871683529290529081208054839290610c98908490611579565b909155505050505050565b6000546001600160a01b031633146105c85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104c3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216610db75760405162461bcd60e51b815260206004820152602b60248201527f45524332303a2041646472657373207a65726f2063616e6e6f7420626520746860448201526a32903932b1b2b4bb32b91760a91b60648201526084016104c3565b60008111610e195760405162461bcd60e51b815260206004820152602960248201527f45524332303a2056616c75652073686f756c64206265206772656174657220746044820152683430b7103d32b9379760b91b60648201526084016104c3565b6001600160a01b03831660009081526006602052604090206001015481811015610e855760405162461bcd60e51b815260206004820152601a60248201527f45524332303a20496e7375666669656e742062616c616e63652e00000000000060448201526064016104c3565b6001600160a01b03841660009081526008602052604090205460ff1680610ec457506001600160a01b03831660009081526008602052604090205460ff165b15610f2e576001600160a01b038085166000818152600660205260408082206001908101805488900390559387168083529181902090930180548601905591516000805160206115de83398151915290610f219086815260200190565b60405180910390a361049d565b6001600160a01b038316600090815260066020526040902080547f0000000000000000000000000000000000000000000000000000000000000000907f00000000000000000000000000000000000000000000000000000000000000009060ff16610fe95760058054600180820183556000929092527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b038916179055835460ff19161783555b6001600160a01b038781166000908152600660209081526040808320600190810180548b90039055938516808452928190209093018054606460ff7f000000000000000000000000000000000000000000000000000000000000000081168c028290049283019093558551948552928401819052937f000000000000000000000000000000000000000000000000000000000000000082168a02839004937f00000000000000000000000000000000000000000000000000000000000000009092168a02929092049183850183018a03917f663b8c745f28d0cf1496e0610fab69e65825b33952268ecbda4819c57c6dde1e910160405180910390a16001600160a01b038616600081815260066020908152604091829020600101805486019055815192835282018490527fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5910160405180910390a16001870180548201905560006111536112aa565b6001600160a01b038116600081815260066020908152604091829020600101805489019055815192835282018790529192507f6ecf75b9db7bf6a59fb5c5212d307bf6bb093d9ab3f9e8e9b538b9627d60241e910160405180910390a18a6001600160a01b03168c6001600160a01b03166000805160206115de833981519152846040516111e391815260200190565b60405180910390a3856001600160a01b03168c6001600160a01b03166000805160206115de8339815191528760405161121e91815260200190565b60405180910390a3866001600160a01b03168c6001600160a01b03166000805160206115de8339815191528560405161125991815260200190565b60405180910390a3806001600160a01b03168c6001600160a01b03166000805160206115de8339815191528660405161129491815260200190565b60405180910390a3505050505050505050505050565b60008042446112ba600143611579565b60408051602081019490945283019190915240606082015260800160408051601f19818403018152919052805160209091012060055490915060009061130090836115a5565b905060058181548110611315576113156115c7565b6000918252602090912001546001600160a01b03169392505050565b600060208083528351808285015260005b8181101561135e57858101830151858201604001528201611342565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461139657600080fd5b919050565b600080604083850312156113ae57600080fd5b6113b78361137f565b946020939093013593505050565b6000806000606084860312156113da57600080fd5b6113e38461137f565b92506113f16020850161137f565b9150604084013590509250925092565b60006020828403121561141357600080fd5b61141c8261137f565b9392505050565b6020808252825182820181905260009190848201906040850190845b818110156114645783516001600160a01b03168352928401929184019160010161143f565b50909695505050505050565b6000806040838503121561148357600080fd5b61148c8361137f565b915061149a6020840161137f565b90509250929050565b600080604083850312156114b657600080fd5b6114bf8361137f565b9150602083013580151581146114d457600080fd5b809150509250929050565b600181811c908216806114f357607f821691505b60208210810361151357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601d908201527f45524332303a20617070726f76652076616c7565206973207a65726f2e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561048a5761048a611550565b8181038181111561048a5761048a611550565b60ff818116838216019081111561048a5761048a611550565b6000826115c257634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052603260045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205682c7043352a91050b448fe975f7db52ec3e5cc27f3979aab993b7dbd5b6d9c64736f6c63430008130033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c80638da5cb5b116100c3578063dd62ed3e1161007c578063dd62ed3e14610320578063df8408fe14610359578063f017bcb01461036c578063f2fde38b14610392578063fb47e016146103a5578063fe85b42b146103dc57600080fd5b80638da5cb5b1461028c57806395d89b41146102b1578063a457c2d7146102b9578063a9059cbb146102cc578063cb4ca631146102df578063dcf91b161461030b57600080fd5b8063313ce56711610115578063313ce567146101ee57806339509351146101f957806339ded4e91461020c57806355128f7d1461023257806370a0823114610258578063715018a61461028457600080fd5b806306fdde0314610152578063095ea7b31461017057806318160ddd146101935780631d4eaead146101a557806323b872dd146101d9575b600080fd5b61015a6103e4565b6040516101679190611331565b60405180910390f35b61018361017e36600461139b565b610476565b6040519015158152602001610167565b6004545b604051908152602001610167565b7f00000000000000000000000000000000000000000000000000000000000000015b60405160ff9091168152602001610167565b6101ec6101e73660046113c5565b610490565b005b60035460ff166101c7565b6101ec61020736600461139b565b6104a3565b7f00000000000000000000000000000000000000000000000000000000000000026101c7565b7f00000000000000000000000000000000000000000000000000000000000000026101c7565b610197610266366004611401565b6001600160a01b031660009081526006602052604090206001015490565b6101ec6105b6565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610167565b61015a6105ca565b6101ec6102c736600461139b565b6105d9565b6101ec6102da36600461139b565b610724565b6101836102ed366004611401565b6001600160a01b031660009081526008602052604090205460ff1690565b610313610733565b6040516101679190611423565b61019761032e366004611470565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b6101ec6103673660046114a3565b610794565b7f0000000000000000000000001f6b32601345a92fb77656699ae157be9270d9b2610299565b6101ec6103a0366004611401565b61087d565b6103b86103b3366004611401565b6108f6565b60408051825115158152602080840151908201529181015190820152606001610167565b6101c7610963565b6060600180546103f3906114df565b80601f016020809104026020016040519081016040528092919081815260200182805461041f906114df565b801561046c5780601f106104415761010080835404028352916020019161046c565b820191906000526020600020905b81548152906001019060200180831161044f57829003601f168201915b5050505050905090565b6000336104848185856109df565b60019150505b92915050565b3361049d84828585610b23565b50505050565b600081116104cc5760405162461bcd60e51b81526004016104c390611519565b60405180910390fd5b3360008181526007602090815260408083206001600160a01b03871684529091529020546104fb908390611566565b6001600160a01b03821660009081526006602052604090206001015410156105755760405162461bcd60e51b815260206004820152602760248201527f45524332303a20496e73756666696369656e742062616c616e636520746f206160448201526638383937bb329760c91b60648201526084016104c3565b6001600160a01b038082166000908152600760209081526040808320938716835292905290812080548492906105ac908490611566565b9091555050505050565b6105be610ca3565b6105c86000610cfd565b565b6060600280546103f3906114df565b600081116105f95760405162461bcd60e51b81526004016104c390611519565b6001600160a01b03821661065d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207370656e6465722063616e27742062652061646472657373206044820152643d32b9379760d91b60648201526084016104c3565b3360008181526007602090815260408083206001600160a01b038716845290915281205461068c908490611579565b10156106ed5760405162461bcd60e51b815260206004820152602a60248201527f45524332303a20416c6c6f77616e63652063616e6e6f74206265206c657373206044820152693a3430b7103d32b9379760b11b60648201526084016104c3565b6001600160a01b038082166000908152600760209081526040808320938716835292905290812080548492906105ac908490611579565b61072f338383610d4d565b5050565b6060600580548060200260200160405190810160405280929190818152602001828054801561046c57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161076d575050505050905090565b61079c610ca3565b6001600160a01b03821660009081526008602052604090205481151560ff90911615150361081a5760405162461bcd60e51b815260206004820152602560248201527f5468652077616c6c65742069616c72656164792068617665207468617420737460448201526430ba3ab99760d91b60648201526084016104c3565b6001600160a01b038216600081815260086020908152604091829020805460ff19168515159081179091558251938452908301527f09cdf0cfa7a040edd81ed835da9c0da414b3b1bc89788f88ba53288ce596b5fa910160405180910390a15050565b610885610ca3565b6001600160a01b0381166108ea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104c3565b6108f381610cfd565b50565b61091c604051806060016040528060001515815260200160008152602001600081525090565b506001600160a01b03166000908152600660209081526040918290208251606081018452815460ff1615158152600182015492810192909252600201549181019190915290565b60007f00000000000000000000000000000000000000000000000000000000000000016109d07f00000000000000000000000000000000000000000000000000000000000000027f000000000000000000000000000000000000000000000000000000000000000261158c565b6109da919061158c565b905090565b6001600160a01b038316610a415760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104c3565b6001600160a01b038216610aa25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104c3565b60008111610ac25760405162461bcd60e51b81526004016104c390611519565b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60008111610b7d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a2043616e6e6f74207472616e73666572207a65726f2076616c756044820152606560f81b60648201526084016104c3565b6001600160a01b038316610be15760405162461bcd60e51b815260206004820152602560248201527f45524332303a205370656e6465722063616e27742062652061646472657373206044820152643d32b9379760d91b60648201526084016104c3565b6001600160a01b03808516600090815260076020908152604080832093871683529290522054811115610c565760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20496e73756666696369656e7420616c6c6f77616e636500000060448201526064016104c3565b610c61848383610d4d565b6001600160a01b03808516600090815260076020908152604080832093871683529290529081208054839290610c98908490611579565b909155505050505050565b6000546001600160a01b031633146105c85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104c3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216610db75760405162461bcd60e51b815260206004820152602b60248201527f45524332303a2041646472657373207a65726f2063616e6e6f7420626520746860448201526a32903932b1b2b4bb32b91760a91b60648201526084016104c3565b60008111610e195760405162461bcd60e51b815260206004820152602960248201527f45524332303a2056616c75652073686f756c64206265206772656174657220746044820152683430b7103d32b9379760b91b60648201526084016104c3565b6001600160a01b03831660009081526006602052604090206001015481811015610e855760405162461bcd60e51b815260206004820152601a60248201527f45524332303a20496e7375666669656e742062616c616e63652e00000000000060448201526064016104c3565b6001600160a01b03841660009081526008602052604090205460ff1680610ec457506001600160a01b03831660009081526008602052604090205460ff165b15610f2e576001600160a01b038085166000818152600660205260408082206001908101805488900390559387168083529181902090930180548601905591516000805160206115de83398151915290610f219086815260200190565b60405180910390a361049d565b6001600160a01b038316600090815260066020526040902080547f000000000000000000000000000000000000000000000000000000000000dead907f0000000000000000000000001f6b32601345a92fb77656699ae157be9270d9b29060ff16610fe95760058054600180820183556000929092527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b038916179055835460ff19161783555b6001600160a01b038781166000908152600660209081526040808320600190810180548b90039055938516808452928190209093018054606460ff7f000000000000000000000000000000000000000000000000000000000000000281168c028290049283019093558551948552928401819052937f000000000000000000000000000000000000000000000000000000000000000282168a02839004937f00000000000000000000000000000000000000000000000000000000000000019092168a02929092049183850183018a03917f663b8c745f28d0cf1496e0610fab69e65825b33952268ecbda4819c57c6dde1e910160405180910390a16001600160a01b038616600081815260066020908152604091829020600101805486019055815192835282018490527fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5910160405180910390a16001870180548201905560006111536112aa565b6001600160a01b038116600081815260066020908152604091829020600101805489019055815192835282018790529192507f6ecf75b9db7bf6a59fb5c5212d307bf6bb093d9ab3f9e8e9b538b9627d60241e910160405180910390a18a6001600160a01b03168c6001600160a01b03166000805160206115de833981519152846040516111e391815260200190565b60405180910390a3856001600160a01b03168c6001600160a01b03166000805160206115de8339815191528760405161121e91815260200190565b60405180910390a3866001600160a01b03168c6001600160a01b03166000805160206115de8339815191528560405161125991815260200190565b60405180910390a3806001600160a01b03168c6001600160a01b03166000805160206115de8339815191528660405161129491815260200190565b60405180910390a3505050505050505050505050565b60008042446112ba600143611579565b60408051602081019490945283019190915240606082015260800160408051601f19818403018152919052805160209091012060055490915060009061130090836115a5565b905060058181548110611315576113156115c7565b6000918252602090912001546001600160a01b03169392505050565b600060208083528351808285015260005b8181101561135e57858101830151858201604001528201611342565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461139657600080fd5b919050565b600080604083850312156113ae57600080fd5b6113b78361137f565b946020939093013593505050565b6000806000606084860312156113da57600080fd5b6113e38461137f565b92506113f16020850161137f565b9150604084013590509250925092565b60006020828403121561141357600080fd5b61141c8261137f565b9392505050565b6020808252825182820181905260009190848201906040850190845b818110156114645783516001600160a01b03168352928401929184019160010161143f565b50909695505050505050565b6000806040838503121561148357600080fd5b61148c8361137f565b915061149a6020840161137f565b90509250929050565b600080604083850312156114b657600080fd5b6114bf8361137f565b9150602083013580151581146114d457600080fd5b809150509250929050565b600181811c908216806114f357607f821691505b60208210810361151357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601d908201527f45524332303a20617070726f76652076616c7565206973207a65726f2e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561048a5761048a611550565b8181038181111561048a5761048a611550565b60ff818116838216019081111561048a5761048a611550565b6000826115c257634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052603260045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205682c7043352a91050b448fe975f7db52ec3e5cc27f3979aab993b7dbd5b6d9c64736f6c63430008130033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.