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
11092.93 MDR

Value
$0.00

Txn Hash
Method
Age
From
To
Quantity
0x12c9b8b0dbe3888b4228f1727bfb67c20947c2ab4a038758b2964a21f44d5537 Transfer 2024-11-17 07:15:11 0x6b65d01901f56e6de3950795a1bc836460a1e7ef IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 5,000.0000 MDR
0x092d4f581bd18e2988c7b348869468432e945d8bbe86572be010742b1afa7df6 Transfer 2024-11-13 12:48:17 0x395d3b45e250c6b7709c32feeb5251350b674211 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 208.0500 MDR
0xdb9d3d6e2adf89906e709c66a27a9a069f3815c675f607e28b8e3b8989e9d4e3 Transfer 2024-11-12 16:28:14 0x395d3b45e250c6b7709c32feeb5251350b674211 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 256.5000 MDR
0xfc731fbabfd3c166e9705cd6a4e3c993c6bb1b36f1e4fe7211c2eec351d0ec77 Transfer 2024-11-06 19:57:05 0xec1f4b3fde26800326db12e8b33bfecd3d91552a OUT 0xdb25d97e70e83555dd5f7ab9c724d113cbee9278 50,000.0000 MDR
0x55aa5f0320d26b10b9b4647367c99ee6c97adb413c0d4561d72926ed64780a0a Transfer 2024-11-02 13:03:47 0x9ac193ecd4deba8cdb482606af83383548204371 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 1,602.6500 MDR
0xa55fdb9c1ae99c92a02493591708c102a3374933980b2ae313266b7489e1233a Transfer 2024-11-02 12:57:47 0x48e335c80da6d6deecb25eba502c0aa5f255f620 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 493.0500 MDR
0x11d998e4c1e850ab73b2bb60427a5ca6df0f815cdff6dcc6b5750c8d6f4f475d Transfer 2024-11-02 12:55:47 0xd38be5f5fb0a4cd4c2c5724db2352234e4b66389 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 200.8300 MDR
0xac00ab8639b734ca7d6a917929c3d895cb4b7e0c0602e93ce3e106eb31bb3b4a Transfer 2024-11-02 12:53:05 0x803aa17d82a48c2843133920cffdc7c6fc132391 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 513.0000 MDR
0xaf016a1a6abb0ff9e7c32691207875d461b6332476155d4661c5867f9d8abc5a Transfer 2024-11-02 12:51:02 0xb9334551c342d46e949bb47fe6c5b5916fd5b582 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 1,431.6500 MDR
0xa067bda2739e878f45fa9bd478a2f7e7095487006158ead0030aa940c576de09 Transfer 2024-11-02 12:49:32 0xdfedf532648f4523e8a73b9d74fbb10010d01754 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 1,431.6500 MDR
0xbc14c8f3d9f0fda486bb1c33e46b4a9c07e3d343d0b9739c24bf3db1380e084b Transfer 2024-11-02 12:44:20 0x25ab044e95e38c6723fedd29f2525768797ba2f5 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 2,302.8000 MDR
0xd0245fbd6c389f2124319af9f83dde8b6cc620c1f379fd2a9ee0d694f2cd67bd Transfer 2024-11-02 12:41:32 0x74cdfbae71ad5c5287dd90c73bf3db9d74df3ec6 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 1,882.9000 MDR
0xfe5004dea7269e2f3168be2eb3e98eb33e0257b0a56ffcc2e8cddbb9a9741106 Transfer 2024-11-02 12:38:29 0x1710c879c09a7b659d6c9986e54955b33bcf26c1 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 2,678.0500 MDR
0xc5e77e58a9fc742b64f6f5e337d88bb14d56694daba0c06cb1618872cd0b1f2a Transfer 2024-11-02 12:35:56 0xb2f71d62d74da57e7160a5fd3d159628b9b9a770 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 5,240.3500 MDR
0x5a9d2ca4c4403b469ff3fb102ab657fa74cda359cd6ac703c2af9b1ac7f2cfb1 Transfer 2024-11-02 12:27:29 0xa477cecba0c8d8b8202d13ed6a09d7ddcca7d054 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 3,241.6000 MDR
0xfa9af202e3701fcc095aa4dac9c158da886278aa4067fe5c932af08532665825 Transfer 2024-11-02 12:25:59 0x42b4f36a16b984e266fc4b1cb199101c869fbf1b IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 3,767.3500 MDR
0x8fcc68c576fd39284266aa90a746350bc11fcd859cee22836ccab3475ac95435 Transfer 2024-11-02 12:23:23 0x9161d5a247697c048cf3ee03b2b1f5516f415d7a IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 10,886.0500 MDR
0x444cec9b7a3b8ac72830268d34cd0f2aa5070d5b70d91544d96e12ff5a656e5e Transfer 2024-11-02 12:21:44 0x991dae65a79270a333a0e433f6ccadb0db90bd19 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 9,975.9500 MDR
0x1327d51317280c40ea65e14f640b7364e39b38c7664f7eb571c3cbd81855ea67 Transfer 2024-11-02 12:19:50 0x5a3a3cd7d64fe87944c830dc4c0cf83efd350141 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 9,975.9500 MDR
0x653581ab3c96386f9c54e0cd4fb14aba9fce1afd2e4eb0275b69dc9ae784d015 Transfer 2024-10-24 21:55:53 0xec1f4b3fde26800326db12e8b33bfecd3d91552a OUT 0xdb25d97e70e83555dd5f7ab9c724d113cbee9278 98,790.0000 MDR
0x09c3136abad8e1dcae3225d8480da8351762069572decd92c162ec4f4f073856 Transfer 2024-10-24 21:50:44 0xec1f4b3fde26800326db12e8b33bfecd3d91552a OUT 0xdb25d97e70e83555dd5f7ab9c724d113cbee9278 10.0000 MDR
0xcf3452297b156c41712caacfab51d55eb3010c0e188c6fdf23c4d2a45cbd59ab Transfer 2024-10-07 10:45:42 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 369.5500 MDR
0xdeaa7e42ce223c11dad6c45dffdd0c1b2e5ede98562df1f8102f7fc6a93aa2db Transfer 2024-10-01 15:29:30 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 282.1500 MDR
0xb3ac7cf6a35122b696e271d561493d912c34a283a1ff191ec93b055eed8a812b Transfer 2024-10-01 15:28:39 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 188.1000 MDR
0x52e027c1635e09bdf1a0d57dc2dcd69a255977f84dc002b9ece7c2d93ac5a44d Transfer 2024-09-17 16:33:37 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 307.8000 MDR
0x480f656a7c7ddea58e32d3116af5e12896f49de999d138f04649bf2f73be619c Transfer 2024-09-16 12:06:22 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 204.2500 MDR
0xfc8c663c0d073722a1ab9d83f7be6af899272e75380c56abce38ffa16e474652 Transfer 2024-09-09 12:57:24 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 2,495.6500 MDR
0x324d013ada64016b257ca86d82680a8189d92aa9f4f21d0a9ce4c03368900dd4 Transfer 2024-09-07 11:02:06 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 8,550.0000 MDR
0x48132d5ed9e8c566ad4fced49d91d5543c7ee5e05a4559f40eb7b1724aacd5f8 Transfer 2024-09-05 11:51:42 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 59.8500 MDR
0x78c7b3e79e203fdb397234a19d33cbc8c86e34913058b0baf79f22bf990c5d41 Transfer 2024-09-05 11:51:09 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 8,550.0000 MDR
0x28b5bdf760aa5805bf61ecd8f4be08ae436382f501c8cfc1239875331f4d1b7c Transfer 2024-09-05 11:46:48 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 307.8000 MDR
0xd481ec3641e2e0be60db09e7771586f8250d7a7c10051534d515b5f01eeb6ebb Transfer 2024-09-05 11:30:39 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 418.0000 MDR
0xbe7aa708bdbf603bea02bcba77423031b5948e6457b1a71d71c24658f04d67df Transfer 2024-08-24 10:44:53 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 331.5500 MDR
0xc3e8e1c4fdf2189d8a674773fa28b59568c07c324ca1301ba17d23064dbb1094 Transfer 2024-08-23 19:20:23 0xd0de0c63f3da08cd396593da761f56a4d6fa59c8 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 102.6000 MDR
0x6f6e829af227862ac29f72af7f82aff019c655a7be7e08f96700d6686d6c5253 Transfer 2024-08-21 16:32:14 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 256.5000 MDR
0xf2fda27c61bb2ede7b362c6c2c3e66cba4aec335518ccac13103e4278087e628 Transfer 2024-08-21 16:31:38 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 581.4000 MDR
0xc95b3b64b542467b962f5673589ac80819332152bed916d0e0e5437d79a201cd Transfer 2024-08-14 15:26:19 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 248.9000 MDR
0x377b59f50fad8eaeb8418a74e0471e95758f76073b6df5e1310bdf1ab1853461 Transfer 2024-08-10 16:22:55 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 22,268.9500 MDR
0x7a9e4fc69e917eb279acf2c6b94b4c4765ba989ad826b37d2eab748886ea2e24 Transfer 2024-08-10 16:22:04 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 399.0000 MDR
0x1c6aa2346f9580264069d1909a0b02fdd675be5de7f2b179e3c1b8a60eb18d0b Transfer 2024-08-10 14:25:46 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 572.8500 MDR
0x3a5176ebb76bec057e2c1e0849dd36e11bc8a83fc41bb2228c87f5c0183008d2 Transfer 2024-08-10 14:24:46 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 497.8000 MDR
0x4d32ead0a2adff18b2e6f301dd48727b99a2b4b9d7cada5b6069f28e042aabc6 Transfer 2024-08-05 16:49:57 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 8,027.5000 MDR
0x015eb780eb8b59d4e7bc1b66bf8bf1734ff88b1e31b41f7c00e3ff8ed4e6c8bb Transfer 2024-08-05 16:48:36 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 1,899.0500 MDR
0x35028107c7b8746b42f042758656a2a7b5d00f72697ad37b7f50a8b90f990601 Transfer 2024-08-03 14:41:48 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 7,262.7500 MDR
0xd284856df87bee30d71fee9850ecace3911a3af3c11dafb1c7b8fc4573bf04e2 Transfer 2024-08-03 12:07:48 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 1,729.0000 MDR
0x06d0d8abc9664422650fc61c8e6a5211b394aa82fe0ef725742d2a8c2a1de2d3 Transfer 2024-07-25 13:11:58 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 1,222.6500 MDR
0x76f078558f2a890fd8cb7c7fdcac12320a061737b2d0cd9350faf057aa579085 Transfer 2024-07-25 13:11:31 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 1,550.4000 MDR
0x573943fd08835f13248191aeb844e9946452d7bbdacd22b4d4ea287365af2659 Transfer 2024-07-18 12:14:40 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 1,759.4000 MDR
0x74158df27922204534ccf245bfb254ff7173ebfe467ec68dec3eda1b737b8d1d Transfer 2024-07-12 11:58:18 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 9,499.0500 MDR
0xc5dc9c55549b2d0a41788e77dd3174386421d037288b514e3df2173c5230c132 Transfer 2024-07-12 11:57:45 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 938.6000 MDR
0xe56e4307c90571503a25ae7f82256cf60faeec50298814f790affa50629039b5 Transfer 2024-07-08 17:39:47 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 1,176.1000 MDR
0xb457d1a6237eb4aa7ee31492028160749c77fec1954c9ba4e8679b69110f5350 Transfer 2024-07-02 16:10:46 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 113.0500 MDR
0xb448915e4a8b15146c1546cbcb544cf938f22ffb395dc2164ba509b17f849c31 Transfer 2024-07-02 16:04:46 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 674.5000 MDR
0x4cf9fa12501ad6f156113504944256e0ad1c6f94c9e5417edf04fc521f3f2767 Transfer 2024-07-02 16:04:10 0x20133264da3139b659df04cbf889b98864c7cb66 IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 3,284.1500 MDR
0x3ade08fc90ae1c9e7c8102afce50d5e9cd78953764d1b34aff726ec2df852675 Transfer 2024-06-27 21:51:52 0x44b87a2a404da6393e16b2e69ac86a40d4ef474c IN 0xec1f4b3fde26800326db12e8b33bfecd3d91552a 12,675.6500 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.