ETH Price: $3,897.59 (+0.35%)

Token

DABANKING (DAB)
 

Overview

Max Total Supply

200,000,000 DAB

Holders

4,239

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
13.117647058823529411 DAB

Value
$0.00
0xdb630687349206932e066b4c9df15c6542add5ac
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

DABANKING is a Dapp entertainment platform with top leading developers having many years of experience and set the goal to become a prime company in Dapp development.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
DABANKING

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-06-24
*/

pragma solidity 0.4.25;

/**
 * @title ERC20 interface
 * @dev see https://eips.ethereum.org/EIPS/eip-20
 */
contract IERC20 {
    function transfer(address to, uint256 value) public returns (bool);

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

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

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

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

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(address indexed owner, address indexed spender, uint256 value);
}

/**
 * @title SafeMath
 * @dev Unsigned math operations with safety checks that revert on error.
 */
library SafeMath {
  /**
   * @dev Multiplies two unsigned integers, reverts on overflow.
   */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b);

    return c;
  }

  /**
   * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero.
   */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // Solidity only automatically asserts when dividing by 0
    require(b > 0);
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold

    return c;
  }

  /**
   * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend).
   */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b <= a);
    uint256 c = a - b;

    return c;
  }

  /**
   * @dev Adds two unsigned integers, reverts on overflow.
   */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a);

    return c;
  }

  /**
   * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo),
   * reverts when dividing by zero.
   */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b != 0);
    return a % b;
  }
}

/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * https://eips.ethereum.org/EIPS/eip-20
 * Originally based on code by FirstBlood:
 * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 *
 * This implementation emits additional Approval events, allowing applications to reconstruct the allowance status for
 * all accounts just by listening to said events. Note that this isn't required by the specification, and other
 * compliant implementations may not do it.
 */
contract ERC20 is IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) internal _balances;

    mapping (address => mapping (address => uint256)) private _allowed;

    /**
     * @dev Gets the balance of the specified address.
     * @param owner The address to query the balance of.
     * @return A uint256 representing the amount owned by the passed adfunction transferdress.
     */
    function balanceOf(address owner) public view returns (uint256) {
        return _balances[owner];
    }

    /**
     * @dev Function to check the amount of tokens that an owner allowed to a spender.
     * @param owner address The address which owns the funds.
     * @param spender address The address which will spend the funds.
     * @return A uint256 specifying the amount of tokens still available for the spender.
     */
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowed[owner][spender];
    }

    /**
     * @dev Transfer token to a specified address.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     */
    function transfer(address to, uint256 value) public returns (bool) {
        _transfer(msg.sender, to, value);
        return true;
    }

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
     * Beware that changing an allowance with this method brings the risk that someone may use both the old
     * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
     * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     */
    function approve(address spender, uint256 value) public returns (bool) {
        _approve(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev Transfer tokens from one address to another.
     * Note that while this function emits an Approval event, this is not required as per the specification,
     * and other compliant implementations may not emit the event.
     * @param from address The address which you want to send tokens from
     * @param to address The address which you want to transfer to
     * @param value uint256 the amount of tokens to be transferred
     */
    function transferFrom(address from, address to, uint256 value) public returns (bool) {
        _transfer(from, to, value);
        _approve(from, msg.sender, _allowed[from][msg.sender].sub(value));
        return true;
    }

    /**
     * @dev Increase the amount of tokens that an owner allowed to a spender.
     * approve should be called when _allowed[msg.sender][spender] == 0. To increment
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * Emits an Approval event.
     * @param spender The address which will spend the funds.
     * @param addedValue The amount of tokens to increase the allowance by.
     */
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Decrease the amount of tokens that an owner allowed to a spender.
     * approve should be called when _allowed[msg.sender][spender] == 0. To decrement
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * Emits an Approval event.
     * @param spender The address which will spend the funds.
     * @param subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue));
        return true;
    }

    /**
     * @dev Transfer token for a specified addresses.
     * @param from The address to transfer from.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     */
    function _transfer(address from, address to, uint256 value) internal {
        require(to != address(0));

        _balances[from] = _balances[from].sub(value);
        _balances[to] = _balances[to].add(value);
        emit Transfer(from, to, value);
    }

    /**
     * @dev Approve an address to spend another addresses' tokens.
     * @param owner The address that owns the tokens.
     * @param spender The address that will spend the tokens.
     * @param value The number of tokens that can be spent.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        require(spender != address(0));
        require(owner != address(0));

        _allowed[owner][spender] = value;
        emit Approval(owner, spender, value);
    }

}

contract DABANKING is ERC20 {
  string public constant name = 'DABANKING';
  string public constant symbol = 'DAB';
  uint8 public constant decimals = 18;
  uint256 public constant totalSupply = (200 * 1e6) * (10 ** uint256(decimals));

  constructor(address _daBank) public {
    _balances[_daBank] = totalSupply;
    emit Transfer(address(0x0), _daBank, totalSupply);
  }
}

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":"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":"","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":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"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":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_daBank","type":"address"}],"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"}]

608060405234801561001057600080fd5b506040516020806106ba8339810160408181529151600160a060020a038116600081815260208181528582206aa56fa5b99019a5c800000090819055855294519294919390927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350610629806100916000396000f3006080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017557806323b872dd1461019c578063313ce567146101c657806339509351146101f157806370a082311461021557806395d89b4114610236578063a457c2d71461024b578063a9059cbb1461026f578063dd62ed3e14610293575b600080fd5b3480156100bf57600080fd5b506100c86102ba565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101025781810151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014957600080fd5b50610161600160a060020a03600435166024356102f1565b604080519115158252519081900360200190f35b34801561018157600080fd5b5061018a610307565b60408051918252519081900360200190f35b3480156101a857600080fd5b50610161600160a060020a0360043581169060243516604435610316565b3480156101d257600080fd5b506101db61036d565b6040805160ff9092168252519081900360200190f35b3480156101fd57600080fd5b50610161600160a060020a0360043516602435610372565b34801561022157600080fd5b5061018a600160a060020a03600435166103ae565b34801561024257600080fd5b506100c86103c9565b34801561025757600080fd5b50610161600160a060020a0360043516602435610400565b34801561027b57600080fd5b50610161600160a060020a036004351660243561043c565b34801561029f57600080fd5b5061018a600160a060020a0360043581169060243516610449565b60408051808201909152600981527f444142414e4b494e470000000000000000000000000000000000000000000000602082015281565b60006102fe338484610474565b50600192915050565b6aa56fa5b99019a5c800000081565b6000610323848484610500565b600160a060020a03841660009081526001602090815260408083203380855292529091205461036391869161035e908663ffffffff6105cd16565b610474565b5060019392505050565b601281565b336000818152600160209081526040808320600160a060020a038716845290915281205490916102fe91859061035e908663ffffffff6105e416565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600381527f4441420000000000000000000000000000000000000000000000000000000000602082015281565b336000818152600160209081526040808320600160a060020a038716845290915281205490916102fe91859061035e908663ffffffff6105cd16565b60006102fe338484610500565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600160a060020a038216151561048957600080fd5b600160a060020a038316151561049e57600080fd5b600160a060020a03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600160a060020a038216151561051557600080fd5b600160a060020a03831660009081526020819052604090205461053e908263ffffffff6105cd16565b600160a060020a038085166000908152602081905260408082209390935590841681522054610573908263ffffffff6105e416565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080838311156105dd57600080fd5b5050900390565b6000828201838110156105f657600080fd5b93925050505600a165627a7a723058202f06e5fbc84b889895bce8656b119c3e968b75002cc8ee07f91a905695c9b1da002900000000000000000000000076ca81c40cea079d3cfba0540229fb3df33620b7

Deployed Bytecode

0x6080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017557806323b872dd1461019c578063313ce567146101c657806339509351146101f157806370a082311461021557806395d89b4114610236578063a457c2d71461024b578063a9059cbb1461026f578063dd62ed3e14610293575b600080fd5b3480156100bf57600080fd5b506100c86102ba565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101025781810151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014957600080fd5b50610161600160a060020a03600435166024356102f1565b604080519115158252519081900360200190f35b34801561018157600080fd5b5061018a610307565b60408051918252519081900360200190f35b3480156101a857600080fd5b50610161600160a060020a0360043581169060243516604435610316565b3480156101d257600080fd5b506101db61036d565b6040805160ff9092168252519081900360200190f35b3480156101fd57600080fd5b50610161600160a060020a0360043516602435610372565b34801561022157600080fd5b5061018a600160a060020a03600435166103ae565b34801561024257600080fd5b506100c86103c9565b34801561025757600080fd5b50610161600160a060020a0360043516602435610400565b34801561027b57600080fd5b50610161600160a060020a036004351660243561043c565b34801561029f57600080fd5b5061018a600160a060020a0360043581169060243516610449565b60408051808201909152600981527f444142414e4b494e470000000000000000000000000000000000000000000000602082015281565b60006102fe338484610474565b50600192915050565b6aa56fa5b99019a5c800000081565b6000610323848484610500565b600160a060020a03841660009081526001602090815260408083203380855292529091205461036391869161035e908663ffffffff6105cd16565b610474565b5060019392505050565b601281565b336000818152600160209081526040808320600160a060020a038716845290915281205490916102fe91859061035e908663ffffffff6105e416565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600381527f4441420000000000000000000000000000000000000000000000000000000000602082015281565b336000818152600160209081526040808320600160a060020a038716845290915281205490916102fe91859061035e908663ffffffff6105cd16565b60006102fe338484610500565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600160a060020a038216151561048957600080fd5b600160a060020a038316151561049e57600080fd5b600160a060020a03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600160a060020a038216151561051557600080fd5b600160a060020a03831660009081526020819052604090205461053e908263ffffffff6105cd16565b600160a060020a038085166000908152602081905260408082209390935590841681522054610573908263ffffffff6105e416565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600080838311156105dd57600080fd5b5050900390565b6000828201838110156105f657600080fd5b93925050505600a165627a7a723058202f06e5fbc84b889895bce8656b119c3e968b75002cc8ee07f91a905695c9b1da0029

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000076ca81c40cea079d3cfba0540229fb3df33620b7

-----Decoded View---------------
Arg [0] : _daBank (address): 0x76ca81C40CeA079D3cfBA0540229Fb3DF33620b7

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000076ca81c40cea079d3cfba0540229fb3df33620b7


Deployed Bytecode Sourcemap

8339:385:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8372:41;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8372:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;8372:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4991:148;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4991:148:0;-1:-1:-1;;;;;4991:148:0;;;;;;;;;;;;;;;;;;;;;;;;;8500:77;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8500:77:0;;;;;;;;;;;;;;;;;;;;5612:228;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5612:228:0;-1:-1:-1;;;;;5612:228:0;;;;;;;;;;;;8460:35;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8460:35:0;;;;;;;;;;;;;;;;;;;;;;;6366:203;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;6366:203:0;-1:-1:-1;;;;;6366:203:0;;;;;;;3453:106;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3453:106:0;-1:-1:-1;;;;;3453:106:0;;;;;8418:37;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8418:37:0;;;;7100:213;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;7100:213:0;-1:-1:-1;;;;;7100:213:0;;;;;;;4204:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4204:140:0;-1:-1:-1;;;;;4204:140:0;;;;;;;3898:131;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3898:131:0;-1:-1:-1;;;;;3898:131:0;;;;;;;;;;8372:41;;;;;;;;;;;;;;;;;;;:::o;4991:148::-;5056:4;5073:36;5082:10;5094:7;5103:5;5073:8;:36::i;:::-;-1:-1:-1;5127:4:0;4991:148;;;;:::o;8500:77::-;8538:39;8500:77;:::o;5612:228::-;5691:4;5708:26;5718:4;5724:2;5728:5;5708:9;:26::i;:::-;-1:-1:-1;;;;;5772:14:0;;;;;;:8;:14;;;;;;;;5760:10;5772:26;;;;;;;;;5745:65;;5754:4;;5772:37;;5803:5;5772:37;:30;:37;:::i;:::-;5745:8;:65::i;:::-;-1:-1:-1;5828:4:0;5612:228;;;;;:::o;8460:35::-;8493:2;8460:35;:::o;6366:203::-;6472:10;6446:4;6493:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;6493:29:0;;;;;;;;;;6446:4;;6463:76;;6484:7;;6493:45;;6527:10;6493:45;:33;:45;:::i;3453:106::-;-1:-1:-1;;;;;3535:16:0;3508:7;3535:16;;;;;;;;;;;;3453:106::o;8418:37::-;;;;;;;;;;;;;;;;;;;:::o;7100:213::-;7211:10;7185:4;7232:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;7232:29:0;;;;;;;;;;7185:4;;7202:81;;7223:7;;7232:50;;7266:15;7232:50;:33;:50;:::i;4204:140::-;4265:4;4282:32;4292:10;4304:2;4308:5;4282:9;:32::i;3898:131::-;-1:-1:-1;;;;;3997:15:0;;;3970:7;3997:15;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;3898:131::o;8076:254::-;-1:-1:-1;;;;;8169:21:0;;;;8161:30;;;;;;-1:-1:-1;;;;;8210:19:0;;;;8202:28;;;;;;-1:-1:-1;;;;;8243:15:0;;;;;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;:32;;;8291:31;;;;;;;;;;;;;;;;;8076:254;;;:::o;7541:262::-;-1:-1:-1;;;;;7629:16:0;;;;7621:25;;;;;;-1:-1:-1;;;;;7677:15:0;;:9;:15;;;;;;;;;;;:26;;7697:5;7677:26;:19;:26;:::i;:::-;-1:-1:-1;;;;;7659:15:0;;;:9;:15;;;;;;;;;;;:44;;;;7730:13;;;;;;;:24;;7748:5;7730:24;:17;:24;:::i;:::-;-1:-1:-1;;;;;7714:13:0;;;:9;:13;;;;;;;;;;;;:40;;;;7770:25;;;;;;;7714:13;;7770:25;;;;;;;;;;;;;7541:262;;;:::o;1847:136::-;1905:7;;1929:6;;;;1921:15;;;;;;-1:-1:-1;;1955:5:0;;;1847:136::o;2063:::-;2121:7;2149:5;;;2169:6;;;;2161:15;;;;;;2192:1;2063:136;-1:-1:-1;;;2063:136:0:o

Swarm Source

bzzr://2f06e5fbc84b889895bce8656b119c3e968b75002cc8ee07f91a905695c9b1da
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.