ETH Price: $3,389.88 (+4.04%)

Contract

0xe9a8F08cb2BCBa7cFd0ab4718a6793A8CcDE34DA
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve158488662022-10-28 20:11:35787 days ago1666987895IN
0xe9a8F08c...8CcDE34DA
0 ETH0.000650224.53802422
Approve158488652022-10-28 20:11:23787 days ago1666987883IN
0xe9a8F08c...8CcDE34DA
0 ETH0.0011491824.76805694
Approve114454542020-12-13 15:22:431471 days ago1607872963IN
0xe9a8F08c...8CcDE34DA
0 ETH0.0029679667
Approve114453472020-12-13 14:58:251471 days ago1607871505IN
0xe9a8F08c...8CcDE34DA
0 ETH0.0016833238
Transfer97903722020-04-02 4:22:451726 days ago1585801365IN
0xe9a8F08c...8CcDE34DA
0 ETH0.000114762.2
Approve96528892020-03-11 22:17:571748 days ago1583965077IN
0xe9a8F08c...8CcDE34DA
0 ETH0.000175754
Transfer86029872019-09-23 3:30:451918 days ago1569209445IN
0xe9a8F08c...8CcDE34DA
0 ETH0.0003677210
Transfer85892872019-09-20 23:55:461921 days ago1569023746IN
0xe9a8F08c...8CcDE34DA
0 ETH0.0007144513.8
Transfer83445692019-08-13 21:21:291959 days ago1565731289IN
0xe9a8F08c...8CcDE34DA
0.02 ETH0.000145473.6
Transfer80279512019-06-25 15:23:422008 days ago1561476222IN
0xe9a8F08c...8CcDE34DA
0 ETH0.0011892823
Transfer77046062019-05-06 2:14:302058 days ago1557108870IN
0xe9a8F08c...8CcDE34DA
0 ETH0.000356786.9
Transfer77044362019-05-06 1:31:532059 days ago1557106313IN
0xe9a8F08c...8CcDE34DA
0.01 ETH0.000350476.325
Transfer73400992019-03-10 7:31:082115 days ago1552203068IN
0xe9a8F08c...8CcDE34DA
0 ETH0.000356786.9
Transfer72770212019-02-28 2:56:562125 days ago1551322616IN
0xe9a8F08c...8CcDE34DA
0.01 ETH0.0005576713.8
Change Crowdsale...72767612019-02-28 1:30:492126 days ago1551317449IN
0xe9a8F08c...8CcDE34DA
0 ETH0.0005421820
Transfer72494222019-02-21 16:02:492132 days ago1550764969IN
0xe9a8F08c...8CcDE34DA
0 ETH0.000676618.4
Transfer72448572019-02-20 14:16:522133 days ago1550672212IN
0xe9a8F08c...8CcDE34DA
0 ETH0.0006363217.365
Transfer71851232019-02-06 22:05:042147 days ago1549490704IN
0xe9a8F08c...8CcDE34DA
0 ETH0.0015076541
Change Crowdsale...71824512019-02-06 8:59:072147 days ago1549443547IN
0xe9a8F08c...8CcDE34DA
0 ETH0.0005421820
Transfer71161932019-01-23 23:45:352161 days ago1548287135IN
0xe9a8F08c...8CcDE34DA
0 ETH0.0011031630
Transfer71122832019-01-23 5:06:542161 days ago1548220014IN
0xe9a8F08c...8CcDE34DA
0 ETH0.0010341620
Transfer71121392019-01-23 4:26:232161 days ago1548217583IN
0xe9a8F08c...8CcDE34DA
0 ETH0.0010354420

Latest 5 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
114519532020-12-14 15:33:251470 days ago1607960005
0xe9a8F08c...8CcDE34DA
0.0097 ETH
114519532020-12-14 15:33:251470 days ago1607960005
0xe9a8F08c...8CcDE34DA
0.0097 ETH
83445692019-08-13 21:21:291959 days ago1565731289
0xe9a8F08c...8CcDE34DA
0.02 ETH
77044362019-05-06 1:31:532059 days ago1557106313
0xe9a8F08c...8CcDE34DA
0.01 ETH
72770212019-02-28 2:56:562125 days ago1551322616
0xe9a8F08c...8CcDE34DA
0.01 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DORELBANK

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2019-01-23
*/

pragma solidity ^0.4.25;

library SafeMath {
  function mul(uint256 a, uint256 b) internal constant returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal constant returns (uint256) {
    assert(b > 0); // Solidity automatically throws when dividing by 0
    uint256 c = a / b;
    assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

  function sub(uint256 a, uint256 b) internal constant returns (uint256) {
    assert(b <= a);
    return a - b;
  }

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

    // ERC20 Token Smart Contract
    contract DORELBANK {
        
        string public constant name = "DORELBANK";
        string public constant symbol = "DBK";
        uint8 public constant decimals = 2;
        uint public _totalSupply = 10000000000000000;
        uint256 public RATE = 1;
        bool public isMinting = true;
        string public constant generatedBy  = "Togen.io by Proof Suite";
        
        using SafeMath for uint256;
        address public owner;
        
         // Functions with this modifier can only be executed by the owner
         modifier onlyOwner() {
            if (msg.sender != owner) {
                throw;
            }
             _;
         }
     
        // Balances for each account
        mapping(address => uint256) balances;
        // Owner of account approves the transfer of an amount to another account
        mapping(address => mapping(address=>uint256)) allowed;

        // Its a payable function works as a token factory.
        function () payable{
            createTokens();
        }

        // Constructor
        constructor() public {
            owner = 0x0c035caf45e85fc6dbd7b3418a008b7cb8d6dede; 
            balances[owner] = _totalSupply;
        }

        //allows owner to burn tokens that are not sold in a crowdsale
        function burnTokens(uint256 _value) onlyOwner {

             require(balances[msg.sender] >= _value && _value > 0 );
             _totalSupply = _totalSupply.sub(_value);
             balances[msg.sender] = balances[msg.sender].sub(_value);
             
        }



        // This function creates Tokens  
         function createTokens() payable {
            if(isMinting == true){
                require(msg.value > 0);
                uint256  tokens = msg.value.div(100000000000000).mul(RATE);
                balances[msg.sender] = balances[msg.sender].add(tokens);
                _totalSupply = _totalSupply.add(tokens);
                owner.transfer(msg.value);
            }
            else{
                throw;
            }
        }


        function endCrowdsale() onlyOwner {
            isMinting = false;
        }

        function changeCrowdsaleRate(uint256 _value) onlyOwner {
            RATE = _value;
        }


        
        function totalSupply() constant returns(uint256){
            return _totalSupply;
        }
        // What is the balance of a particular account?
        function balanceOf(address _owner) constant returns(uint256){
            return balances[_owner];
        }

         // Transfer the balance from owner's account to another account   
        function transfer(address _to, uint256 _value)  returns(bool) {
            require(balances[msg.sender] >= _value && _value > 0 );
            balances[msg.sender] = balances[msg.sender].sub(_value);
            balances[_to] = balances[_to].add(_value);
            Transfer(msg.sender, _to, _value);
            return true;
        }
        
    // Send _value amount of tokens from address _from to address _to
    // The transferFrom method is used for a withdraw workflow, allowing contracts to send
    // tokens on your behalf, for example to "deposit" to a contract address and/or to charge
    // fees in sub-currencies; the command should fail unless the _from account has
    // deliberately authorized the sender of the message via some mechanism; we propose
    // these standardized APIs for approval:
    function transferFrom(address _from, address _to, uint256 _value)  returns(bool) {
        require(allowed[_from][msg.sender] >= _value && balances[_from] >= _value && _value > 0);
        balances[_from] = balances[_from].sub(_value);
        balances[_to] = balances[_to].add(_value);
        allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
        Transfer(_from, _to, _value);
        return true;
    }
    
    // Allow _spender to withdraw from your account, multiple times, up to the _value amount.
    // If this function is called again it overwrites the current allowance with _value.
    function approve(address _spender, uint256 _value) returns(bool){
        allowed[msg.sender][_spender] = _value; 
        Approval(msg.sender, _spender, _value);
        return true;
    }
    
    // Returns the amount which _spender is still allowed to withdraw from _owner
    function allowance(address _owner, address _spender) constant returns(uint256){
        return allowed[_owner][_spender];
    }
    
    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":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"generatedBy","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"endCrowdsale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isMinting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"changeCrowdsaleRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"RATE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burnTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"createTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"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"}]

6080604052662386f26fc1000060005560018080556002805460ff1916909117905534801561002d57600080fd5b5060028054740c035caf45e85fc6dbd7b3418a008b7cb8d6dede0061010060a860020a0319909116179081905560008054610100909204600160a060020a03168152600360205260409020556109c2806100886000396000f3006080604052600436106100fb5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610105578063095ea7b31461018f5780630ced8c69146101c757806318160ddd146101dc5780632095f2d41461020357806323b872dd146102185780632a8092df14610242578063313ce567146102575780633eaaf86b146102825780635c07ac9414610297578063664e9704146102af5780636d1b229d146102c457806370a08231146102dc5780638da5cb5b146102fd57806395d89b411461032e578063a9059cbb14610343578063b4427263146100fb578063dd62ed3e14610367575b61010361038e565b005b34801561011157600080fd5b5061011a610471565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015457818101518382015260200161013c565b50505050905090810190601f1680156101815780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561019b57600080fd5b506101b3600160a060020a03600435166024356104a8565b604080519115158252519081900360200190f35b3480156101d357600080fd5b5061011a61050e565b3480156101e857600080fd5b506101f1610545565b60408051918252519081900360200190f35b34801561020f57600080fd5b5061010361054b565b34801561022457600080fd5b506101b3600160a060020a0360043581169060243516604435610573565b34801561024e57600080fd5b506101b36106e2565b34801561026357600080fd5b5061026c6106eb565b6040805160ff9092168252519081900360200190f35b34801561028e57600080fd5b506101f16106f0565b3480156102a357600080fd5b506101036004356106f6565b3480156102bb57600080fd5b506101f1610717565b3480156102d057600080fd5b5061010360043561071d565b3480156102e857600080fd5b506101f1600160a060020a03600435166107ab565b34801561030957600080fd5b506103126107c6565b60408051600160a060020a039092168252519081900360200190f35b34801561033a57600080fd5b5061011a6107da565b34801561034f57600080fd5b506101b3600160a060020a0360043516602435610811565b34801561037357600080fd5b506101f1600160a060020a03600435811690602435166108eb565b60025460009060ff1615156001141561046957600034116103ae57600080fd5b6001546103d7906103cb34655af3107a400063ffffffff61091616565b9063ffffffff61095116565b336000908152600360205260409020549091506103fa908263ffffffff61097516565b336000908152600360205260408120919091555461041e908263ffffffff61097516565b6000908155600254604051600160a060020a0361010090920491909116913480156108fc02929091818181858888f19350505050158015610463573d6000803e3d6000fd5b5061046e565b600080fd5b50565b60408051808201909152600981527f444f52454c42414e4b0000000000000000000000000000000000000000000000602082015281565b336000818152600460209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60408051808201909152601781527f546f67656e2e696f2062792050726f6f66205375697465000000000000000000602082015281565b60005490565b6002546101009004600160a060020a0316331461056757600080fd5b6002805460ff19169055565b600160a060020a038316600090815260046020908152604080832033845290915281205482118015906105be5750600160a060020a0384166000908152600360205260409020548211155b80156105ca5750600082115b15156105d557600080fd5b600160a060020a0384166000908152600360205260409020546105fe908363ffffffff61098416565b600160a060020a038086166000908152600360205260408082209390935590851681522054610633908363ffffffff61097516565b600160a060020a038085166000908152600360209081526040808320949094559187168152600482528281203382529091522054610677908363ffffffff61098416565b600160a060020a03808616600081815260046020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60025460ff1681565b600281565b60005481565b6002546101009004600160a060020a0316331461071257600080fd5b600155565b60015481565b6002546101009004600160a060020a0316331461073957600080fd5b3360009081526003602052604090205481118015906107585750600081115b151561076357600080fd5b600054610776908263ffffffff61098416565b600090815533815260036020526040902054610798908263ffffffff61098416565b3360009081526003602052604090205550565b600160a060020a031660009081526003602052604090205490565b6002546101009004600160a060020a031681565b60408051808201909152600381527f44424b0000000000000000000000000000000000000000000000000000000000602082015281565b3360009081526003602052604081205482118015906108305750600082115b151561083b57600080fd5b3360009081526003602052604090205461085b908363ffffffff61098416565b3360009081526003602052604080822092909255600160a060020a0385168152205461088d908363ffffffff61097516565b600160a060020a0384166000818152600360209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b60008080831161092257fe5b828481151561092d57fe5b049050828481151561093b57fe5b06818402018414151561094a57fe5b9392505050565b600082820283158061096d575082848281151561096a57fe5b04145b151561094a57fe5b60008282018381101561094a57fe5b60008282111561099057fe5b509003905600a165627a7a723058206ca3705810ee9b24c7e055a4206bea1a3f3f7af40329a899489ac6aebef3a5e90029

Deployed Bytecode

0x6080604052600436106100fb5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610105578063095ea7b31461018f5780630ced8c69146101c757806318160ddd146101dc5780632095f2d41461020357806323b872dd146102185780632a8092df14610242578063313ce567146102575780633eaaf86b146102825780635c07ac9414610297578063664e9704146102af5780636d1b229d146102c457806370a08231146102dc5780638da5cb5b146102fd57806395d89b411461032e578063a9059cbb14610343578063b4427263146100fb578063dd62ed3e14610367575b61010361038e565b005b34801561011157600080fd5b5061011a610471565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015457818101518382015260200161013c565b50505050905090810190601f1680156101815780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561019b57600080fd5b506101b3600160a060020a03600435166024356104a8565b604080519115158252519081900360200190f35b3480156101d357600080fd5b5061011a61050e565b3480156101e857600080fd5b506101f1610545565b60408051918252519081900360200190f35b34801561020f57600080fd5b5061010361054b565b34801561022457600080fd5b506101b3600160a060020a0360043581169060243516604435610573565b34801561024e57600080fd5b506101b36106e2565b34801561026357600080fd5b5061026c6106eb565b6040805160ff9092168252519081900360200190f35b34801561028e57600080fd5b506101f16106f0565b3480156102a357600080fd5b506101036004356106f6565b3480156102bb57600080fd5b506101f1610717565b3480156102d057600080fd5b5061010360043561071d565b3480156102e857600080fd5b506101f1600160a060020a03600435166107ab565b34801561030957600080fd5b506103126107c6565b60408051600160a060020a039092168252519081900360200190f35b34801561033a57600080fd5b5061011a6107da565b34801561034f57600080fd5b506101b3600160a060020a0360043516602435610811565b34801561037357600080fd5b506101f1600160a060020a03600435811690602435166108eb565b60025460009060ff1615156001141561046957600034116103ae57600080fd5b6001546103d7906103cb34655af3107a400063ffffffff61091616565b9063ffffffff61095116565b336000908152600360205260409020549091506103fa908263ffffffff61097516565b336000908152600360205260408120919091555461041e908263ffffffff61097516565b6000908155600254604051600160a060020a0361010090920491909116913480156108fc02929091818181858888f19350505050158015610463573d6000803e3d6000fd5b5061046e565b600080fd5b50565b60408051808201909152600981527f444f52454c42414e4b0000000000000000000000000000000000000000000000602082015281565b336000818152600460209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60408051808201909152601781527f546f67656e2e696f2062792050726f6f66205375697465000000000000000000602082015281565b60005490565b6002546101009004600160a060020a0316331461056757600080fd5b6002805460ff19169055565b600160a060020a038316600090815260046020908152604080832033845290915281205482118015906105be5750600160a060020a0384166000908152600360205260409020548211155b80156105ca5750600082115b15156105d557600080fd5b600160a060020a0384166000908152600360205260409020546105fe908363ffffffff61098416565b600160a060020a038086166000908152600360205260408082209390935590851681522054610633908363ffffffff61097516565b600160a060020a038085166000908152600360209081526040808320949094559187168152600482528281203382529091522054610677908363ffffffff61098416565b600160a060020a03808616600081815260046020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60025460ff1681565b600281565b60005481565b6002546101009004600160a060020a0316331461071257600080fd5b600155565b60015481565b6002546101009004600160a060020a0316331461073957600080fd5b3360009081526003602052604090205481118015906107585750600081115b151561076357600080fd5b600054610776908263ffffffff61098416565b600090815533815260036020526040902054610798908263ffffffff61098416565b3360009081526003602052604090205550565b600160a060020a031660009081526003602052604090205490565b6002546101009004600160a060020a031681565b60408051808201909152600381527f44424b0000000000000000000000000000000000000000000000000000000000602082015281565b3360009081526003602052604081205482118015906108305750600082115b151561083b57600080fd5b3360009081526003602052604090205461085b908363ffffffff61098416565b3360009081526003602052604080822092909255600160a060020a0385168152205461088d908363ffffffff61097516565b600160a060020a0384166000818152600360209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b60008080831161092257fe5b828481151561092d57fe5b049050828481151561093b57fe5b06818402018414151561094a57fe5b9392505050565b600082820283158061096d575082848281151561096a57fe5b04145b151561094a57fe5b60008282018381101561094a57fe5b60008282111561099057fe5b509003905600a165627a7a723058206ca3705810ee9b24c7e055a4206bea1a3f3f7af40329a899489ac6aebef3a5e90029

Swarm Source

bzzr://6ca3705810ee9b24c7e055a4206bea1a3f3f7af40329a899489ac6aebef3a5e9

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  ]
[ 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.