Contract Address 0x73c084388F5423c991030C3FA22249D3e02b1960

 

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:
0x73c084388F5423c991030C3FA22249D3e02b1960

Creator:
0x7d528109c7Db392E92740C982A4e36f37c4ca684

Decimal:
8

Issuing Time :
2023-05-04 11:23

Official Website:
#

Social Profiles:
Balance
0.3 MDR

Value
$0.00

Txn Hash
Method
Age
From
To
Quantity
0x856c609d2774d492b93de2058aa197b8866cffba63de350e559db349878c2bfe Transfer 2024-03-09 13:11:50 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 OUT 0xdbeb271f52bc183904cf61ffc15c123357703429 4,000.0000 MDR
0x3c24a5cd0c4f76cf56f3ba8f389f78310555bfeefbb3fffee5ba289f05039aaf Transfer 2024-03-09 00:03:02 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 OUT 0xdbeb271f52bc183904cf61ffc15c123357703429 1,000.0000 MDR
0x22406d6e9b31275b93bced6b02a157afd2bbdbf8164ee13bd1ac76e62336eaf3 Transfer 2024-03-08 23:39:35 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 OUT 0xdbeb271f52bc183904cf61ffc15c123357703429 976.0000 MDR
0x60b80b33d681af11477e1abab5fa4cf87b1350d7a0c32bde55975e603537ad42 Transfer 2024-03-08 16:47:05 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 475.9500 MDR
0x63a50e688c053faf12a53f5350a9d3143d9ade84760b315e8384460e75c95e5e Transfer 2024-03-08 10:28:11 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 OUT 0xdbeb271f52bc183904cf61ffc15c123357703429 63.0000 MDR
0x58c5fc7dd4e4dacee102065b5ce5e52fa1d93b83a4032cdecaf65aefd5d9a5c6 Transfer 2024-03-08 09:58:06 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 OUT 0xdbeb271f52bc183904cf61ffc15c123357703429 800.0000 MDR
0x86a5d453223938e73d88aa6f81b5ad43e722a22a3e6f2e624ed320a8fc3e56e8 Transfer 2024-03-06 18:43:14 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 OUT 0xdbeb271f52bc183904cf61ffc15c123357703429 500.0000 MDR
0x7ff8c6ff8502abbac5219005d1de48aadb14cd02d3cff4a638bc436f41e551ae Transfer 2024-02-24 17:19:02 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 377.1500 MDR
0x9473f997d0ef8314fbf5ec54dd8126c5f2bfac6260fb0f06c2f0363c348dacd1 Transfer 2024-01-23 10:05:46 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 529.1500 MDR
0xb0757bb06530f3545ed04332179b4599809c7fb7a814976267ed1a01e96414a7 Transfer 2024-01-12 19:22:08 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 1,007.0000 MDR
0x670219d03ee29da1686ab4fb8cd907d6c4fa641f52b46cf6a42a93de56297d69 Transfer 2023-12-22 12:09:55 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 466.4500 MDR
0x7b6c3849ef944df360d4cb8fe023ce641110d8066577b89a58b6334dee36f9ff Transfer 2023-11-25 17:58:27 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 652.6500 MDR
0x8b78393296663afdacc1a7aced1025466be9ff51b7f333cf4327aadfecf94326 Transfer 2023-11-08 11:24:01 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 259.3500 MDR
0xde6f9a29179866cd71363cd27d096761ea191c3b097090a09cadfdb0b5a10e49 Transfer 2023-11-05 09:34:07 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 259.3500 MDR
0x4f42bf6ad31e036754956402bdc5cea39c58afc5b061f9c831fdfe471b6fdc2f Transfer 2023-10-27 15:37:16 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 724.8500 MDR
0x4f2a3a3deb93cdaac148f282c7f4342a55a9ca33b2b9744f5318b978b92920c6 Transfer 2023-10-27 08:57:58 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 106.4000 MDR
0xe82de2d7365bfc21fa304a29fb682c25f445c9a10cb30373c536e0ce0360e7f5 Transfer 2023-10-22 12:37:13 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 102.6000 MDR
0x56a294ba9aa862bb54b10be7b3520db0362c0b05f5b0ab087189838621c062be Transfer 2023-10-20 18:21:22 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 205.2000 MDR
0x79e5331c4b08b5f64877ac6bbabd23cbacdec4a5e0f8260d7fd9239c7b8b3b68 Transfer 2023-10-16 18:17:25 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 256.5000 MDR
0xcac9dd7d313c7ff41726ad502e0987a9268546e765044a62df01ef6d28181cbb Transfer 2023-10-11 20:52:04 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 205.2000 MDR
0x9f5ba3639fbf6e264e778b96bed37b45db8a942eac06fc1ccb710b2b948f2aad Transfer 2023-10-07 11:12:19 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 359.1000 MDR
0xa42980e943d06efe4232e04f3cb62c004348f85917e5438c75346aa04bc135ba Transfer 2023-09-30 07:44:25 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 153.9000 MDR
0x565324ef654a5d4b1ffc57ef6628b10533cbdbf3a56acae79850b8f077dca269 Transfer 2023-09-27 22:29:16 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 205.2000 MDR
0x18d2484e808547ea64a4e91787ade8881ac57d5a5ff590ba6b21d2e1413619b2 Transfer 2023-09-23 10:49:07 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 205.2000 MDR
0xa94b672b6e20148c2279bcfb6e4bd73dc9ad31ef22776216731e617981159457 Transfer 2023-09-19 12:11:13 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 205.2000 MDR
0x4c2d8812f9eb616d94c03359cd10c0784aa563277968d6611fcb173785529d66 Transfer 2023-09-19 09:14:19 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 205.2000 MDR
0x8545f78641f72601902c399c6c431dba431ced8c6f36ec7eda2d322df3013721 Transfer 2023-09-15 16:26:46 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 256.5000 MDR
0x732ec9d6ffbbf7fd3c1290da9e26b303b361e8ee6889ee06f4d6489c85b7073d Transfer 2023-09-10 21:12:11 0x13515143eb90fc0500bcb1fccefe9d4817f15df9 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 118.0000 MDR
0xd9d828b8fb7071619f9f288c77df84efc1842259d5037047c70bfeca382e88d7 Transfer 2023-09-10 12:43:50 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 OUT 0x97d05d0cfbeefec5f17aa0adafcf067f94e329cf 5,950.0000 MDR
0xa45f58b312d55c5086e1f61d37dee32d3efb379e3928ebc281e1374788b30e0c Transfer 2023-09-10 12:40:56 0xd7eed54803433c98f370433a6b338b399b72c76a IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 1,685.0000 MDR
0x542093753ce40a4e132edfdacc179bd58f28d45919e662163806cf99bac62a80 Transfer 2023-09-10 12:37:29 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 102.6000 MDR
0xd349dfe95d4a4a0f94ef755d0975890c6a5180412507aa430a092fed7a693557 Transfer 2023-09-08 09:19:32 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 102.6000 MDR
0x147b4b81f8c29bac649180bf29900113b77ba60494b4cd1ab084fb2a44195df4 Transfer 2023-09-06 11:08:59 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 153.9000 MDR
0x9087832944ca9f7624c3c38c43f80672ab02bc31a2d04eab5ab5b1d8b4b1fa73 Transfer 2023-09-03 14:21:23 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 153.9000 MDR
0x271a86950aefc012be40e472c76ab91aca932ded05a3ac7ddd0eb021564a9672 Transfer 2023-08-31 22:59:50 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 153.9000 MDR
0xc25d20a227979a43840578c6201bf943f1129f3f0357fd0eacfec7bd3850f43b Transfer 2023-08-28 14:56:40 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 1,618.8000 MDR
0x858e573a058f83a614828050e964ff79af476a4e704010d4506a247c0ac74fd1 Transfer 2023-08-28 14:46:10 0x13515143eb90fc0500bcb1fccefe9d4817f15df9 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 340.0000 MDR
0x939e14055ae328867b23665bb08a452e3b91a6d779019190fc52590782ef5965 Transfer 2023-08-26 13:42:08 0xd7eed54803433c98f370433a6b338b399b72c76a IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 35.0000 MDR
0x6ee442d875c2d114e72196e68f0c705bab9882317f4b198e98afedb904dd0c21 Transfer 2023-08-26 11:55:50 0xef30636dfb25f67b71351df0d717bc52a9814c81 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 1,255.0000 MDR
0xc306ff6800a6ee8d3d1de8db1f3abedaeab05463ad9f0b2ec4ca214675b5ef30 Transfer 2023-08-11 23:37:24 0xbd070593a3c799663074aac111ace3299e4ddf6c IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 311.0000 MDR
0x0352e643f1550a2fea08884442c536f827973a575c9700adcc75ebd0f38681ef Transfer 2023-08-04 18:43:55 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 40.8500 MDR
0xd5dd524692e99ca1184ceb6e93deb2ec59a31297cfa129dbdebfa2f4fa1eb733 Transfer 2023-07-24 17:47:53 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 OUT 0x0e55fd27a2aa5c161e650812ed8a1f8a98185539 411.0000 MDR
0xecc3369b3102981366c7a7f089b30598ff0691ad8f5c6a26a2f6c293c8a31d5d Transfer 2023-07-24 17:29:02 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 82.6500 MDR
0x9c65d867665ed7ec47241d2d5a3a1ffe0ef5788d4d3dbadd0f049fcd24470d78 Transfer 2023-07-22 07:44:28 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 163.4000 MDR
0x5a555f1e332ed889de118cc74012d8da823476de04ac90e2f1d284d6e46c2174 Transfer 2023-07-18 07:54:21 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 164.3500 MDR
0xe99344ba97fc9c8e6480514a53d1155ba2d5777397ddd4a4a2bdf86f4ff30162 Transfer 2023-07-14 09:55:50 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 OUT 0x0e55fd27a2aa5c161e650812ed8a1f8a98185539 830.0000 MDR
0x2a832ac847a70f460ee77a4bc68b3c200ebe64c04e56f68d241a0506e60e6856 Transfer 2023-07-14 08:59:05 0x83825024f33bdaa0a2882dfd837901ad98033923 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 164.3500 MDR
0xa48f2e92aa5d397ef3831bf125d76502dc6dfcb124ac52fc2f31469585b58d84 Transfer 2023-07-10 23:09:53 0x83825024f33bdaa0a2882dfd837901ad98033923 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 123.5000 MDR
0xf5a86483e6b6c320128b394ed1345afb6ab82fab9d6f393d8643222331aec267 Transfer 2023-07-07 08:11:26 0x83825024f33bdaa0a2882dfd837901ad98033923 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 158.6500 MDR
0xe33974334fe776f32baa8033b498c758f87e22038db1d9028b29f049b40eda62 Transfer 2023-07-03 15:55:56 0x83825024f33bdaa0a2882dfd837901ad98033923 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 110.2000 MDR
0x54b0481377740b75eeb98a749c2706933fc9ac509e8b1bb1adf74fdc2fe3da0f Transfer 2023-06-29 13:32:05 0x83825024f33bdaa0a2882dfd837901ad98033923 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 83.6000 MDR
0x81261edc3ee055380f0df8b05160cebc6b7dce28b5de7da3a49836562f0e1ad8 Transfer 2023-06-26 08:59:32 0x83825024f33bdaa0a2882dfd837901ad98033923 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 63.6500 MDR
0x6b0fcdec4222958f10d4b50c9e4f159175a53b07c83f9b86b47a2adf9b49d7e5 Transfer 2023-06-23 19:11:38 0x83825024f33bdaa0a2882dfd837901ad98033923 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 127.3000 MDR
0xf0151de2ddf5df71ad6be63bfbbb8114448e163d15118e6c680a1fbb5cb93e34 Transfer 2023-06-18 08:25:32 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 OUT 0x0e55fd27a2aa5c161e650812ed8a1f8a98185539 1,140.0000 MDR
0x9a59e0f3765c50149d47fa32a49c0b5d8ac24f93d6436b7cafbc811c87c62796 Transfer 2023-06-18 07:19:59 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 1,068.7500 MDR
0x5f7bddefe5878fcb83eecda4480c5cde8fe0639f1356088f5f5f40e5a57f9ad0 Transfer 2023-06-16 23:13:47 0x83825024f33bdaa0a2882dfd837901ad98033923 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 47.5000 MDR
0x5cb310aee65602270c7fa097f2d9ecbddf9cdaae7351cf023b75c62073c47a96 Transfer 2023-06-11 12:05:58 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 9.5000 MDR
0x233ef97890b6633488ddc357269c02a0b9319b40f68e5eddb2c69025c509a7b9 Transfer 2023-06-08 17:00:46 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 9.5000 MDR
0x88ea7c77bf243b2da4902bb81734c405bf86bf2ca6e15df699e423a9d08661d4 Transfer 2023-06-02 10:23:01 0x0a1eed43fce33975bdad4fb4ed9b272e0e4f2cf7 IN 0x109f9648901d9edfeb98e1a5df030ebcd4011f65 4.7500 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.