ETH Price: $3,379.39 (+0.12%)

Contract

0x3aCA71C508e06Dc6B2758DaB6eb20f7654572fb7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Transfer188558022023-12-24 13:04:47334 days ago1703423087IN
DREP Foundation: Old DREP Token
0 ETH0.0006846621
Transfer172907212023-05-19 2:55:23554 days ago1684464923IN
DREP Foundation: Old DREP Token
0 ETH0.0017307335.04
Transfer168164282023-03-13 3:35:23621 days ago1678678523IN
DREP Foundation: Old DREP Token
0 ETH0.0012892823.80112344
Transfer166627502023-02-19 12:51:23642 days ago1676811083IN
DREP Foundation: Old DREP Token
0 ETH0.0012255524.81836228
Transfer165959332023-02-10 4:20:59652 days ago1676002859IN
DREP Foundation: Old DREP Token
0 ETH0.0016502730.46534551
Transfer165958832023-02-10 4:10:59652 days ago1676002259IN
DREP Foundation: Old DREP Token
0 ETH0.0008139325.21396694
Transfer165958832023-02-10 4:10:59652 days ago1676002259IN
DREP Foundation: Old DREP Token
0 ETH0.0008142325.21396694
Transfer162914872022-12-29 16:04:11694 days ago1672329851IN
DREP Foundation: Old DREP Token
0 ETH0.0006063320.56703259
Transfer162447922022-12-23 3:41:35701 days ago1671766895IN
DREP Foundation: Old DREP Token
0 ETH0.0007405315
Transfer153918612022-08-22 18:26:36823 days ago1661192796IN
DREP Foundation: Old DREP Token
0 ETH0.0007515320.2738327
Transfer153917082022-08-22 17:53:40823 days ago1661190820IN
DREP Foundation: Old DREP Token
0 ETH0.0008408622.68366573
Transfer153915522022-08-22 17:14:00823 days ago1661188440IN
DREP Foundation: Old DREP Token
0 ETH0.0007176119.36517206
Transfer153915262022-08-22 17:07:32823 days ago1661188052IN
DREP Foundation: Old DREP Token
0 ETH0.0005240414.13689893
Transfer153915262022-08-22 17:07:32823 days ago1661188052IN
DREP Foundation: Old DREP Token
0 ETH0.0004487112.10486523
Transfer153914262022-08-22 16:46:35823 days ago1661186795IN
DREP Foundation: Old DREP Token
0 ETH0.001032419.05903923
Transfer146506362022-04-25 0:26:42943 days ago1650846402IN
DREP Foundation: Old DREP Token
0 ETH0.0020532937.91374205
Transfer145072072022-04-02 14:16:41965 days ago1648909001IN
DREP Foundation: Old DREP Token
0 ETH0.0022012644.56639383
Transfer142437892022-02-20 15:49:591006 days ago1645372199IN
DREP Foundation: Old DREP Token
0 ETH0.0021619866.99884225
Transfer141904552022-02-12 9:37:071014 days ago1644658627IN
DREP Foundation: Old DREP Token
0 ETH0.00621713233
Transfer141904552022-02-12 9:37:071014 days ago1644658627IN
DREP Foundation: Old DREP Token
0 ETH0.00621713233
Transfer141904552022-02-12 9:37:071014 days ago1644658627IN
DREP Foundation: Old DREP Token
0 ETH0.00621713233
Transfer141904552022-02-12 9:37:071014 days ago1644658627IN
DREP Foundation: Old DREP Token
0 ETH0.00621713233
Transfer141904552022-02-12 9:37:071014 days ago1644658627IN
DREP Foundation: Old DREP Token
0 ETH0.00568347213
Transfer141904552022-02-12 9:37:071014 days ago1644658627IN
DREP Foundation: Old DREP Token
0 ETH0.00568347213
Transfer141904552022-02-12 9:37:071014 days ago1644658627IN
DREP Foundation: Old DREP Token
0 ETH0.00269498101.00000134
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DrepToken

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-06-25
*/

pragma solidity ^0.4.18;

contract DrepToken {

    string public name = "DREP";
    string public symbol = "DREP";
    uint8 public decimals = 18;

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

    uint256 public totalSupply;
    uint256 constant initialSupply = 10000000000;
    
    bool public stopped = false;

    address internal owner = 0x0;

    modifier ownerOnly {
        require(owner == msg.sender);
        _;
    }

    modifier isRunning {
        require(!stopped);
        _;
    }

    modifier validAddress {
        require(msg.sender != 0x0);
        _;
    }

    function DrepToken() public {
        owner = msg.sender;
        totalSupply = initialSupply * 10 ** uint256(decimals);
        balanceOf[owner] = totalSupply;
    }

    function transfer(address _to, uint256 _value) isRunning validAddress public returns (bool success) {
        require(_to != 0x0);
        require(balanceOf[msg.sender] >= _value);
        require(balanceOf[_to] + _value >= balanceOf[_to]);
        balanceOf[msg.sender] -= _value;
        balanceOf[_to] += _value;
        emit Transfer(msg.sender, _to, _value);
        return true;
    }

    function transferFrom(address _from, address _to, uint256 _value) isRunning validAddress public returns (bool success) {
        require(_to != 0x0);
        require(balanceOf[_from] >= _value);
        require(balanceOf[_to] + _value >= balanceOf[_to]);
        require(allowance[_from][msg.sender] >= _value);
        allowance[_from][msg.sender] -= _value;
        balanceOf[_from] -= _value;
        balanceOf[_to] += _value;
        emit Transfer(_from, _to, _value);
        return true;
    }

    function approve(address _spender, uint256 _value) isRunning validAddress public returns (bool success) {
        require(_value == 0 || allowance[msg.sender][_spender] == 0);
        allowance[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }

    function stop() ownerOnly public {
        stopped = true;
    }

    function start() ownerOnly public {
        stopped = false;
    }

    function burn(uint256 _value) isRunning validAddress public {
        require(balanceOf[msg.sender] >= _value);
        require(totalSupply >= _value);
        balanceOf[msg.sender] -= _value;
        totalSupply -= _value;
    }

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

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"stop","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stopped","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"start","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"}]

606060405260408051908101604052600481527f44524550000000000000000000000000000000000000000000000000000000006020820152600090805161004b929160200190610110565b5060408051908101604052600481527f445245500000000000000000000000000000000000000000000000000000000060208201526001908051610093929160200190610110565b506002805460ff1916601217905560068054600160a860020a031916905534156100bc57600080fd5b6006805461010060a860020a03191661010033600160a060020a039081168202929092179283905560025460ff16600a0a6402540be4000260058190559204166000908152600360205260409020556101ab565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061015157805160ff191683800117855561017e565b8280016001018555821561017e579182015b8281111561017e578251825591602001919060010190610163565b5061018a92915061018e565b5090565b6101a891905b8082111561018a5760008155600101610194565b90565b610835806101ba6000396000f3006060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c957806307da68f514610153578063095ea7b31461016857806318160ddd1461019e57806323b872dd146101c3578063313ce567146101eb57806342966c681461021457806370a082311461022a57806375f12b211461024957806395d89b411461025c578063a9059cbb1461026f578063be9a655514610291578063dd62ed3e146102a4575b600080fd5b34156100d457600080fd5b6100dc6102c9565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610118578082015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015e57600080fd5b610166610367565b005b341561017357600080fd5b61018a600160a060020a0360043516602435610396565b604051901515815260200160405180910390f35b34156101a957600080fd5b6101b1610462565b60405190815260200160405180910390f35b34156101ce57600080fd5b61018a600160a060020a0360043581169060243516604435610468565b34156101f657600080fd5b6101fe6105b3565b60405160ff909116815260200160405180910390f35b341561021f57600080fd5b6101666004356105bc565b341561023557600080fd5b6101b1600160a060020a0360043516610642565b341561025457600080fd5b61018a610654565b341561026757600080fd5b6100dc61065d565b341561027a57600080fd5b61018a600160a060020a03600435166024356106c8565b341561029c57600080fd5b6101666107c0565b34156102af57600080fd5b6101b1600160a060020a03600435811690602435166107ec565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561035f5780601f106103345761010080835404028352916020019161035f565b820191906000526020600020905b81548152906001019060200180831161034257829003601f168201915b505050505081565b60065433600160a060020a03908116610100909204161461038757600080fd5b6006805460ff19166001179055565b60065460009060ff16156103a957600080fd5b600160a060020a03331615156103be57600080fd5b8115806103ee5750600160a060020a03338116600090815260046020908152604080832093871683529290522054155b15156103f957600080fd5b600160a060020a03338116600081815260046020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60055481565b60065460009060ff161561047b57600080fd5b600160a060020a033316151561049057600080fd5b600160a060020a03831615156104a557600080fd5b600160a060020a038416600090815260036020526040902054829010156104cb57600080fd5b600160a060020a03831660009081526003602052604090205482810110156104f257600080fd5b600160a060020a03808516600090815260046020908152604080832033909416835292905220548290101561052657600080fd5b600160a060020a038085166000818152600460209081526040808320338616845282528083208054889003905583835260039091528082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60025460ff1681565b60065460ff16156105cc57600080fd5b600160a060020a03331615156105e157600080fd5b600160a060020a0333166000908152600360205260409020548190101561060757600080fd5b6005548190101561061757600080fd5b600160a060020a03331660009081526003602052604090208054829003905560058054919091039055565b60036020526000908152604090205481565b60065460ff1681565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561035f5780601f106103345761010080835404028352916020019161035f565b60065460009060ff16156106db57600080fd5b600160a060020a03331615156106f057600080fd5b600160a060020a038316151561070557600080fd5b600160a060020a0333166000908152600360205260409020548290101561072b57600080fd5b600160a060020a038316600090815260036020526040902054828101101561075257600080fd5b600160a060020a033381166000818152600360205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b60065433600160a060020a0390811661010090920416146107e057600080fd5b6006805460ff19169055565b6004602090815260009283526040808420909152908252902054815600a165627a7a7230582076408695845d438493078fa8616efc6a0e98e81b631135ad180fca79274323b30029

Deployed Bytecode

0x6060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c957806307da68f514610153578063095ea7b31461016857806318160ddd1461019e57806323b872dd146101c3578063313ce567146101eb57806342966c681461021457806370a082311461022a57806375f12b211461024957806395d89b411461025c578063a9059cbb1461026f578063be9a655514610291578063dd62ed3e146102a4575b600080fd5b34156100d457600080fd5b6100dc6102c9565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610118578082015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015e57600080fd5b610166610367565b005b341561017357600080fd5b61018a600160a060020a0360043516602435610396565b604051901515815260200160405180910390f35b34156101a957600080fd5b6101b1610462565b60405190815260200160405180910390f35b34156101ce57600080fd5b61018a600160a060020a0360043581169060243516604435610468565b34156101f657600080fd5b6101fe6105b3565b60405160ff909116815260200160405180910390f35b341561021f57600080fd5b6101666004356105bc565b341561023557600080fd5b6101b1600160a060020a0360043516610642565b341561025457600080fd5b61018a610654565b341561026757600080fd5b6100dc61065d565b341561027a57600080fd5b61018a600160a060020a03600435166024356106c8565b341561029c57600080fd5b6101666107c0565b34156102af57600080fd5b6101b1600160a060020a03600435811690602435166107ec565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561035f5780601f106103345761010080835404028352916020019161035f565b820191906000526020600020905b81548152906001019060200180831161034257829003601f168201915b505050505081565b60065433600160a060020a03908116610100909204161461038757600080fd5b6006805460ff19166001179055565b60065460009060ff16156103a957600080fd5b600160a060020a03331615156103be57600080fd5b8115806103ee5750600160a060020a03338116600090815260046020908152604080832093871683529290522054155b15156103f957600080fd5b600160a060020a03338116600081815260046020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60055481565b60065460009060ff161561047b57600080fd5b600160a060020a033316151561049057600080fd5b600160a060020a03831615156104a557600080fd5b600160a060020a038416600090815260036020526040902054829010156104cb57600080fd5b600160a060020a03831660009081526003602052604090205482810110156104f257600080fd5b600160a060020a03808516600090815260046020908152604080832033909416835292905220548290101561052657600080fd5b600160a060020a038085166000818152600460209081526040808320338616845282528083208054889003905583835260039091528082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60025460ff1681565b60065460ff16156105cc57600080fd5b600160a060020a03331615156105e157600080fd5b600160a060020a0333166000908152600360205260409020548190101561060757600080fd5b6005548190101561061757600080fd5b600160a060020a03331660009081526003602052604090208054829003905560058054919091039055565b60036020526000908152604090205481565b60065460ff1681565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561035f5780601f106103345761010080835404028352916020019161035f565b60065460009060ff16156106db57600080fd5b600160a060020a03331615156106f057600080fd5b600160a060020a038316151561070557600080fd5b600160a060020a0333166000908152600360205260409020548290101561072b57600080fd5b600160a060020a038316600090815260036020526040902054828101101561075257600080fd5b600160a060020a033381166000818152600360205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b60065433600160a060020a0390811661010090920416146107e057600080fd5b6006805460ff19169055565b6004602090815260009283526040808420909152908252902054815600a165627a7a7230582076408695845d438493078fa8616efc6a0e98e81b631135ad180fca79274323b30029

Swarm Source

bzzr://76408695845d438493078fa8616efc6a0e98e81b631135ad180fca79274323b3

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

DREP token contract has migrated to 0x22de9912cd3d74953b1cd1f250b825133cc2c1b3.

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.