Contract Address 0xea8DfeBBd4DB9E93513b7d797adF14b7b3e15edb

 

Overview

Total Supply:
1,000,000,000 MDR

Circulating Supply:
300,000,000 MDR

Holders:
Addresses

Price:
$0.07

Market Cap/Fully MC:
$400,000,000 (@ $0.07)

Token:
My Name Tag:
Not Available, login to update

Contract:
0xea8DfeBBd4DB9E93513b7d797adF14b7b3e15edb

Creator:
0x44B87A2a404DA6393e16b2e69aC86A40d4EF474c

Decimal:
8

Issuing Time :
2023-05-04 11:23

Official Website:
#

Social Profiles:
Balance
61.95 MDR

Value
$0.00

Txn Hash
Method
Age
From
To
Quantity
0xc2a9e3e4506406346f5f24ddbd7787cc4ed430a865b009b86b4802d19c2e599c Transfer 2024-12-19 19:30:05 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 OUT 0xfdb88a1be0eb53781476f4bdc51cb15c0f8fd10d 11,000.0000 MDR
0x53feea1e36ae8aec372f3d0a2e9032adbd5ebc989584700e81d97096ae6b7917 Transfer 2024-12-19 15:58:47 0xa1238f3cd59da99759b825958dbe52291b911c9e IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 100.0000 MDR
0xc208fc4c18eae9506b007739093beddd9aae0a06468fc6570adbe95381ac22f0 Transfer 2024-12-06 14:56:29 0x03d71662f74d6f6cb670f06f967877922477ea72 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 3,776.0000 MDR
0xebbe15438217164cbcd77a49e93b32f0a4d0bc121b2b6611e3e8140a216a6689 Transfer 2024-12-06 14:55:47 0xa1238f3cd59da99759b825958dbe52291b911c9e IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 2,485.0000 MDR
0x7ea9d32e0b6d44612fcd413039d78bd173a7907e82c4ba144bcede396cd3c156 Transfer 2024-11-19 12:57:59 0x395d3b45e250c6b7709c32feeb5251350b674211 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 1,211.2500 MDR
0xb592b877d412ba3983d1315f819c1a782c9899df78eb3337301dab643592216f Transfer 2024-11-19 11:17:08 0x395d3b45e250c6b7709c32feeb5251350b674211 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 1,464.9000 MDR
0xcf97f0118c18e9f3ed470a55459a76c7af9a31dfee930275f9b3380ab1d1e3f3 Transfer 2024-11-13 12:46:14 0x395d3b45e250c6b7709c32feeb5251350b674211 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 277.4000 MDR
0x58a937279abb0ecac134fc288f2b607739ec08fc334ce91ff399934548a85826 Transfer 2024-11-13 12:45:11 0x395d3b45e250c6b7709c32feeb5251350b674211 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 248.9000 MDR
0xdce259690402932a6f193fecc5b253c6e1d2221ced188744620b5158f9d7581a Transfer 2024-10-05 11:21:06 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 316.3500 MDR
0xaf8570efa98b6e0563dd52027c55c3d0d293d6aabf94c6a640fee7227e6d662f Transfer 2024-10-05 11:20:12 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 285.0000 MDR
0x61721e070ba8685eb16f1b3aa99c2bcd38f2a376fd3c417551809f965ff13813 Transfer 2024-10-01 14:58:00 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 213.7500 MDR
0x4524d3bd57edb82784d11512f549440da95db6178ad52bdc8cb721e8db7782c6 Transfer 2024-10-01 14:57:33 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 237.5000 MDR
0xe3c71e238fba1cf82fb97c8a80255e2ec29e0c35c1a8701fc37a1bc8c31997ac Transfer 2024-09-24 23:05:54 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 OUT 0xffbb2f638881f93aa74a2f7b8e39dbbf6d235716 3,588.0000 MDR
0x350f2eca70188ce510502557731552a1ecdb1961c631dc5cfdf3fa43954bf7b7 Transfer 2024-09-21 10:57:01 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 249.8500 MDR
0x162a03e7e8d9000c68bd6198df2072145aeccd1007c02e347569bcabb78a8ccb Transfer 2024-09-21 10:56:34 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 277.4000 MDR
0xfd2701a7751e7561b7e6af8b7f75b8003b36428d1edf6d6310b1342fb841948f Transfer 2024-09-14 12:52:43 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 285.0000 MDR
0x7770eb0b7c6343788f30c11dd896904e39035903b1697a834d32f94c38b51f64 Transfer 2024-09-14 12:52:22 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 316.3500 MDR
0xae831d3f95cfd96aa8a4652b9f98233c4a28c363ff57fc0147f1dac42f213439 Transfer 2024-09-06 11:25:45 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 248.9000 MDR
0xad659566434c1dd7f40447949456106b6cd568643c5703fd22d31af03b9e15e7 Transfer 2024-09-06 11:25:21 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 277.4000 MDR
0xb7c69964b5c11af4771522b1c64a8303cd891121d14e0eeedb1172ea07c00417 Transfer 2024-08-30 11:11:18 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 276.4500 MDR
0xb424c787443475fefab6c8ebb4cd96ca0e9dcf45a2e42848fb44c2811a594161 Transfer 2024-08-30 11:10:33 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 249.8500 MDR
0x5947c64c160d60dc840728bc539d021fa02336514aeda29069c362c2dade4ed1 Transfer 2024-08-24 17:35:56 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 277.4000 MDR
0x5013351cd4ca8d465c420f785abc1e91273e63133c50f2991d60063fac7e2a8e Transfer 2024-08-24 17:35:26 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 248.9000 MDR
0xa6fb4657ea943961dbc43394abe5a331def657f64aaacd58189829387af3666d Transfer 2024-08-16 18:10:23 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 197.6000 MDR
0xfc12541c02e326b569adc4880ebecb3d7e4d73570144e09085e722d39f9ea479 Transfer 2024-08-16 18:09:47 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 178.6000 MDR
0x23c42aca7f54478508e5984e0c207ac1e6a7b03b6c9575834d1e470edbdb17ee Transfer 2024-08-16 11:47:41 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 OUT 0xffbb2f638881f93aa74a2f7b8e39dbbf6d235716 11,000.0000 MDR
0x3a2f335371df0dd0a473eb2c9e41d69e8710ae9c9d93227acce1b60a5a0eb340 Transfer 2024-08-16 11:46:08 0x03d71662f74d6f6cb670f06f967877922477ea72 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 6,315.0000 MDR
0xce278b25be29591eb427eebb221bcc04935ca3fc06ba16611a00c5a29c7192dd Transfer 2024-08-16 11:45:35 0xa1238f3cd59da99759b825958dbe52291b911c9e IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 5,634.0000 MDR
0x7a23e13c7372a126432df6bf9c5437ded0aa2fa7f5ad7ae008a390890edd4a90 Transfer 2024-08-16 11:29:02 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 OUT 0xffbb2f638881f93aa74a2f7b8e39dbbf6d235716 3,976.0000 MDR
0x166a59c5571fdd85742438c64f01e5ba280b61fab4f0bae2613baba8688c8a03 Transfer 2024-08-16 01:31:44 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 OUT 0xffbb2f638881f93aa74a2f7b8e39dbbf6d235716 1,000.0000 MDR
0xa6127c0e34424ab8375e25c116b4af0db420df09ae3ed8c0ff9bfbcd134e4b10 Transfer 2024-08-15 18:53:32 0xd9a684d3b672abe6c78b4a1130b0b98950dafc07 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 1,450.0000 MDR
0x4a7d3fb700719823464746af7dc11286f2b98289d830bc7f7ec33133be3cb269 Transfer 2024-08-14 13:21:10 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 277.4000 MDR
0x158ea2db837dfb375522c87e28baf9953b4103f37220e3f625da3cdd2c123838 Transfer 2024-08-12 17:41:25 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 248.9000 MDR
0x146b8b64883f1b34fdabd9f2f7bed494717f3d256e12bbe9b97138f80288cd5d Transfer 2024-08-07 22:35:24 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 OUT 0xffbb2f638881f93aa74a2f7b8e39dbbf6d235716 118.0000 MDR
0xc8c0d450451c43e3cf37c29776178b59bb21c117b7ddc8f9d529a72f572ef2f0 Transfer 2024-08-05 07:14:33 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 OUT 0xffbb2f638881f93aa74a2f7b8e39dbbf6d235716 1,000.0000 MDR
0xc81c072c192152a0de303a6e5eb1d754108325df719328bd8a6f66313ffba0b7 Transfer 2024-08-04 17:42:00 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 197.6000 MDR
0x85d1df6b6baff40976829c85a775467387eebf993cc46abaafc228ddae2db26e Transfer 2024-08-04 17:41:21 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 202.3500 MDR
0x47eea102942f87c5a7f31076f3632d7e3de7dd79ee5f521ca5a3b2cf1889aca4 Transfer 2024-07-30 17:59:25 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 237.5000 MDR
0xf4e74cde5442e21b414e0686d81ea281d1221e272589b007b706be68be415a9e Transfer 2024-07-30 17:58:40 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 248.9000 MDR
0xbcd4efe16fd96fb23131dde84918423ec972f11aac1df5b844685aba6fdb89c6 Transfer 2024-07-25 21:02:07 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 OUT 0xffbb2f638881f93aa74a2f7b8e39dbbf6d235716 2,000.0000 MDR
0x890ff7b5f008d27a3cca4fad6816c76e3e4bcbae73a8206a979fcdeaaf8503c3 Transfer 2024-07-24 18:02:12 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 198.5500 MDR
0x591482523563e0179e76a7b16aed8954f8da7913aaee99f80d568b686250d0e5 Transfer 2024-07-24 17:51:00 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 208.0500 MDR
0x2259126525a8a149f7c5f7eb005785d16dc819c78c7d894b32703abc21916c7c Transfer 2024-07-19 17:00:04 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 157.7000 MDR
0x7ccfea258d5d8b04e1e08af1a3ae1e18aaa8b425acc8f0de05c3467052701355 Transfer 2024-07-19 16:58:40 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 166.2500 MDR
0x58c169bed911b4f49742f0924bfca791a27b3f17a92cd65a7cbb51915ef7536b Transfer 2024-07-15 15:51:53 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 158.6500 MDR
0x7b2f338de1e9fb107c9428135b2a362c3927c9e379efda79c485a9254a55ee7d Transfer 2024-07-15 15:50:35 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 166.2500 MDR
0x67491cb6283c17132d896b90984ee897dbd2fd8bb521a039913e905f8677fa59 Transfer 2024-07-11 16:53:17 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 118.7500 MDR
0x050e87c46b548ddc675f37d10e865e0b5ff2a972aad676fafff5b71ddd87f955 Transfer 2024-07-11 10:28:56 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 166.2500 MDR
0x385df6f5843b832281707f5eb4c22b2fbeb3cb2d0bae86b13a02887382e1e09d Transfer 2024-07-08 12:31:38 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 277.4000 MDR
0x6847a3112a4d3ccb534f39eff1fda226e000eb1724fed2628dfefe8c8ea08b3d Transfer 2024-07-08 12:17:56 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 249.8500 MDR
0x1973c141b077756e32498441cdec0df06e9a308157f9f95301106f3b498ea2cc Transfer 2024-07-02 12:37:49 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 435.1000 MDR
0x7d71162653db0577466f66cfb4cc28140630df437fa0060583d49a0a4e5f5b56 Transfer 2024-07-02 12:36:49 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 373.3500 MDR
0x5d74fd8e599be99c9a105b3cf2a53a0cfaf79f9f586e13b63878ebd8f36bba9d Transfer 2024-06-29 17:09:31 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 202.3500 MDR
0x0a14ac23459d20f2fe3e43d46717890bdd1804bc24807e8b7d2af2d3fb1df28c Transfer 2024-06-29 16:18:43 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 118.7500 MDR
0x27f2269e2d9a001a0e5466f97f0b55b257e1d2bf7b8762e6e34753bb16d2c565 Transfer 2024-06-27 23:22:59 0x44b87a2a404da6393e16b2e69ac86a40d4ef474c IN 0x14a2dc12bfb0289b29fed45fc0c667bb158372a4 2,235.3000 MDR

 Latest 9 ERC-20 Token Transfer Events

Txn Hash
Block
From
To
Value [Txn Fee]
0x4c8599fa5db502d29d78ad3c85e39ff7160c4775e4e645cd344af13d662eded3 16807914 2 hrs 6 mins ago 0x931cdb4f83672a7803a552414c026b7914bb72ae OUT 0x1fd1259fa8cdc60c6e8c86cfa592ca1b8403dfad 0 BLN 0.000143891192

 Latest 25 blocks (From a total of 353,417 blocks with 47,300.41 BLN in fees)

Block Transaction Gas Used Reward
16738610 31 secs ago 430 19,977,660 (99.89%)
0.16001155598032753 BLN
16738609 33 secs ago 349 19,967,071 (99.84%)
1.368512730518157196 BLN
16738608 35 secs ago 430 19,959,026 (99.80%)
1.119899900678144967 BLN

pragma solidity ^0.4.24;

contract ERC20 {
    uint256 public totalSupply;

    function balanceOf(address who) public view returns (uint256 balance);

    function allowance(address owner, address spender) public view returns (uint256 remaining);

    function transfer(address to, uint256 value) public returns (bool success);

    function approve(address spender, uint256 value) public returns (bool success);

    function transferFrom(address from, address to, uint256 value) public returns (bool success);

    event Transfer(address indexed _from, address indexed _to, uint256 _value);

    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

library SafeMath {
    function sub(uint256 a, uint256 b) internal pure returns (uint256 c) {
        c = a - b;
        assert(b <= a && c <= a);
        return c;
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
        c = a + b;
        assert(c >= a && c>=b);
        return c;
    }
}

library SafeERC20 {
    function safeTransfer(ERC20 _token, address _to, uint256 _value) internal {
        require(_token.transfer(_to, _value));
    }
}

contract Owned {
    address public owner;

    constructor() public {
        owner = msg.sender;
    }

    modifier onlyOwner {
        require(msg.sender == owner,"O1- Owner only function");
        _;
    }

    function setOwner(address newOwner) onlyOwner public {
        owner = newOwner;
    }
}

contract Pausable is Owned {
    event Pause();
    event Unpause();

    bool public paused = false;

    modifier whenNotPaused() {
        require(!paused);
        _;
    }

    modifier whenPaused() {
        require(paused);
        _;
    }

    function pause() public onlyOwner whenNotPaused {
        paused = true;
        emit Pause();
    }

    function unpause() public onlyOwner whenPaused {
        paused = false;
        emit Unpause();
    }
}

contract AVNrich is Owned, Pausable, ERC20 {
    using SafeMath for uint256;
    using SafeERC20 for ERC20;

    mapping (address => uint256) public balances;
    mapping (address => mapping (address => uint256)) public allowed;
    mapping (address => bool) public frozenAccount;
    mapping (address => bool) public verifyPublisher;
    mapping (address => bool) public verifyWallet;

    struct fStruct { uint256 index; }
    mapping(string => fStruct) private fileHashes;
    string[] private fileIndex;

    string public constant name = "Bullion Share";
    uint8 public constant decimals = 8;
    string public constant symbol = "BLNS";
    uint256 public constant initialSupply = 21000000;
    uint256 public validationPrice = 7 * 10 ** uint(decimals);
    address public validationWallet = address(0);

    constructor() public {
        validationWallet = msg.sender;
        verifyWallet[msg.sender] = true;
        totalSupply = initialSupply * 10 ** uint(decimals);
        balances[msg.sender] = totalSupply;
        emit Transfer(address(0),owner,initialSupply);
    }

    function () public payable {
        revert();
    }

    function transfer(address _to, uint256 _value) public whenNotPaused returns (bool success) {
        require(_to != msg.sender,"T1- Recipient can not be the same as sender");
        require(_to != address(0),"T2- Please check the recipient address");
        require(balances[msg.sender] >= _value,"T3- The balance of sender is too low");
        require(!frozenAccount[msg.sender],"T4- The wallet of sender is frozen");
        require(!frozenAccount[_to],"T5- The wallet of recipient is frozen");

        balances[msg.sender] = balances[msg.sender].sub(_value);
        balances[_to] = balances[_to].add(_value);

        emit Transfer(msg.sender, _to, _value);

        return true;
    }

    function transferFrom(address _from, address _to, uint256 _value) public whenNotPaused returns (bool success) {
        require(_to != address(0),"TF1- Please check the recipient address");
        require(balances[_from] >= _value,"TF2- The balance of sender is too low");
        require(allowed[_from][msg.sender] >= _value,"TF3- The allowance of sender is too low");
        require(!frozenAccount[_from],"TF4- The wallet of sender is frozen");
        require(!frozenAccount[_to],"TF5- The wallet of recipient is frozen");

        balances[_from] = balances[_from].sub(_value);
        balances[_to] = balances[_to].add(_value);

        allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);

        emit Transfer(_from, _to, _value);

        return true;
    }

    function balanceOf(address _owner) public view returns (uint256 balance) {
        return balances[_owner];
    }

    function approve(address _spender, uint256 _value) public whenNotPaused returns (bool success) {
        require((_value == 0) || (allowed[msg.sender][_spender] == 0),"A1- Reset allowance to 0 first");

        allowed[msg.sender][_spender] = _value;

        emit Approval(msg.sender, _spender, _value);

        return true;
    }

    function increaseApproval(address _spender, uint256 _addedValue) public whenNotPaused returns (bool) {
        allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);

        emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);

        return true;
    }

    function decreaseApproval(address _spender, uint256 _subtractedValue) public whenNotPaused returns (bool) {
        allowed[msg.sender][_spender] = allowed[msg.sender][_spender].sub(_subtractedValue);

        emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);

        return true;
    }

    function allowance(address _owner, address _spender) public view returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }

    struct TKN { address sender; uint256 value; bytes data; bytes4 sig; }

    function tokenFallback(address _from, uint256 _value, bytes _data) public pure returns (bool) {
        TKN memory tkn;
        tkn.sender = _from;
        tkn.value = _value;
        tkn.data = _data;
        uint32 u = uint32(_data[3]) + (uint32(_data[2]) << 8) + (uint32(_data[1]) << 16) + (uint32(_data[0]) << 24);
        tkn.sig = bytes4(u);
        return true;
    }

    function transferToken(address tokenAddress, uint256 tokens) public onlyOwner {
        ERC20(tokenAddress).safeTransfer(owner,tokens);
    }

    function burn(uint256 _value) public onlyOwner returns (bool) {
        require(_value <= balances[msg.sender],"B1- The balance of burner is too low");

        balances[msg.sender] = balances[msg.sender].sub(_value);
        totalSupply = totalSupply.sub(_value);

        emit Burn(msg.sender, _value);

        emit Transfer(msg.sender, address(0), _value);

        return true;
    }

    function freeze(address _address, bool _state) public onlyOwner returns (bool) {
        frozenAccount[_address] = _state;

        emit Freeze(_address, _state);

        return true;
    }

    function validatePublisher(address Address, bool State, string Publisher) public onlyOwner returns (bool) {
        verifyPublisher[Address] = State;

        emit ValidatePublisher(Address,State,Publisher);

        return true;
    }

    function validateWallet(address Address, bool State, string Wallet) public onlyOwner returns (bool) {
        verifyWallet[Address] = State;

        emit ValidateWallet(Address,State,Wallet);

        return true;
    }

    function validateFile(address To, uint256 Payment, bytes Data, bool cStore, bool eLog) public whenNotPaused returns (bool) {
        require(Payment>=validationPrice,"V1- Insufficient payment provided");
        require(verifyPublisher[msg.sender],"V2- Unverified publisher address");
        require(!frozenAccount[msg.sender],"V3- The wallet of publisher is frozen");
        require(Data.length == 64,"V4- Invalid hash provided");

        if (!verifyWallet[To] || frozenAccount[To]) {
            To = validationWallet;
        }

        uint256 index = 0;
        string memory fileHash = string(Data);

        if (cStore) {
            if (fileIndex.length > 0) {
                require(fileHashes[fileHash].index == 0,"V5- This hash was previously validated");
            }

            fileHashes[fileHash].index = fileIndex.push(fileHash)-1;
            index = fileHashes[fileHash].index;
        }

        if (allowed[To][msg.sender] >= Payment) {
            allowed[To][msg.sender] = allowed[To][msg.sender].sub(Payment);
        } else {
            balances[msg.sender] = balances[msg.sender].sub(Payment);
            balances[To] = balances[To].add(Payment);
        }

        emit Transfer(msg.sender, To, Payment);

        if (eLog) {
            emit ValidateFile(index,fileHash);
        }

        return true;
    }

    function verifyFile(string fileHash) public view returns (bool) {
        if (fileIndex.length == 0) {
            return false;
        }

        bytes memory a = bytes(fileIndex[fileHashes[fileHash].index]);
        bytes memory b = bytes(fileHash);

        if (a.length != b.length) {
            return false;
        }

        for (uint256 i = 0; i < a.length; i ++) {
            if (a[i] != b[i]) {
                return false;
            }
        }

        return true;
    }

    function setPrice(uint256 newPrice) public onlyOwner {
        validationPrice = newPrice;
    }

    function setWallet(address newWallet) public onlyOwner {
        validationWallet = newWallet;
    }

    function listFiles(uint256 startAt, uint256 stopAt) onlyOwner public returns (bool) {
        if (fileIndex.length == 0) {
            return false;
        }

        require(startAt <= fileIndex.length-1,"L1- Please select a valid start");

        if (stopAt > 0) {
            require(stopAt > startAt && stopAt <= fileIndex.length-1,"L2- Please select a valid stop");
        } else {
            stopAt = fileIndex.length-1;
        }

        for (uint256 i = startAt; i <= stopAt; i++) {
            emit LogEvent(i,fileIndex[i]);
        }

        return true;
    }

    event Burn(address indexed burner, uint256 value);
    event Freeze(address target, bool frozen);

    event ValidateFile(uint256 index, string data);
    event ValidatePublisher(address indexed publisherAddress, bool state, string indexed publisherName);
    event ValidateWallet(address indexed walletAddress, bool state, string indexed walletName);

    event LogEvent(uint256 index, string data) anonymous;
}
Block Uncle Number Difficulty Gas Used Reward

Analytics data

Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.