Contract 0x284b59cf2539544559C6EfA11E2795e06D535345 1

 
Txn Hash
Method
Block
From
To
Value
0x5605653febbb904d7ea0a146e9d62f9026d32d85bcaffca5ea5fd58fe4db64b8Approve153064532022-08-09 6:38:211 day 17 hrs ago0x5f9ada8e8d652c917bf32312118907e5eb8a3f17 IN  DAOvc: DAOvc Token0 Ether0.00047525 10.21399739
0x81c94fe6ed87c948635b570e5aed292d2ad0d332ef51a49161cd578d199a531bTransfer153064412022-08-09 6:35:141 day 17 hrs ago0x3ab28ecedea6cdb6feed398e93ae8c7b316b1182 IN  DAOvc: DAOvc Token0 Ether0.00055343 10.20288539
0xf6b9b54a1626a28c4207854df1ab20500ceacf548808e3a41b7f069d5e8eeeb2Transfer152878382022-08-06 9:11:084 days 14 hrs ago0x3ab28ecedea6cdb6feed398e93ae8c7b316b1182 IN  DAOvc: DAOvc Token0 Ether0.00044991 12.10922466
0x7a1b26b6172933dc2ed43047100dd3c803aa575d75ff594ebca71ea08f6d0a7fTransfer152655782022-08-02 21:44:358 days 2 hrs ago0x3ab28ecedea6cdb6feed398e93ae8c7b316b1182 IN  DAOvc: DAOvc Token0 Ether0.00043253 11.64522694
0xeafb7ee418c5e0aa47643d5f4083c5d08273f5f7620872ee8cace7e1efdd47e6Approve152367932022-07-29 10:20:2812 days 13 hrs ago0x4d1870be1aa9f6ea03cabfadc23ea50c4fa27fec IN  DAOvc: DAOvc Token0 Ether0.00033807 7.31097748
0xb8a60313c6819d5d3929930e7027a13c40306375b0e15b22a334adaa74f30459Approve152266862022-07-27 20:26:5114 days 3 hrs ago0x57f27e152d7ffa823e77b11a16dab0ddc6440a49 IN  DAOvc: DAOvc Token0 Ether0.00171424 37.05202384
0xcacfd33c8c69d99674eb9df297c3647d4c8af6f0b3b16313eb9a4ad480984fcdTransfer152265682022-07-27 20:01:0814 days 3 hrs ago0xff44b07d47667f38cdc74b4d53e6059474596215 IN  DAOvc: DAOvc Token0 Ether0.00119732 37.03321799
0xd11d47a179c345b2b6050fe91f2ed6ee64206ca963a6587fd6c4c027185eda83Transfer152195242022-07-26 17:47:0815 days 6 hrs ago0xa4edea68feb30faed7e47e9cbc9f00f57208a86d IN  DAOvc: DAOvc Token0 Ether0.00049461 15.29277142
0xa824336023693280e16079c59a303009d92ebdb9cff2a7513d5f6a92837131bfTransfer152195242022-07-26 17:47:0815 days 6 hrs ago0x6bf68faffa18fc649ca7766f68997ccb04215632 IN  DAOvc: DAOvc Token0 Ether0.00049461 15.29277142
0x357951ed33af568014a36848d579a86ad2b763d05e855afc351981aa0e9c60e8Transfer152195242022-07-26 17:47:0815 days 6 hrs ago0xdd708e8758c525315741fff1fca05f607682b89d IN  DAOvc: DAOvc Token0 Ether0.00049461 15.29277142
0x20abca2f8dd7eb360a4111088e7676d10a0ec8c00c9045c6062c1e99efd94a7cTransfer152195242022-07-26 17:47:0815 days 6 hrs ago0xb7138997a86c29cf75b1c99a390ff77fd7519509 IN  DAOvc: DAOvc Token0 Ether0.00049479 15.29277142
0x1bb096fe20c51474cc88fe71bc9ca54a0e1f10401190fc0900caaaccdea2810bTransfer152189442022-07-26 15:35:5615 days 8 hrs ago0x3ab28ecedea6cdb6feed398e93ae8c7b316b1182 IN  DAOvc: DAOvc Token0 Ether0.00094493 25.44049968
0x8f718320ccf4b766268cb2c7c2177f8ffb391d6d26d3c6d343dffc125457925bTransfer152175072022-07-26 10:08:4815 days 13 hrs ago0x6a970527ae4e1febcecbfd710c2673597470e3b5 IN  DAOvc: DAOvc Token0 Ether0.00032462 10.03308211
0x016a575118bcd2d3b72829297880bf3093bd378099441cdf7bcfe5c223f9c048Transfer152175072022-07-26 10:08:4815 days 13 hrs ago0x6099e34f0246d03b54e53295a081035909e3aa28 IN  DAOvc: DAOvc Token0 Ether0.00032474 10.03308211
0xfd81d0de1b6782f1e8b0d0c941346dbc0e5a798e0cf126b20eb2a68ecd2748d1Transfer152175072022-07-26 10:08:4815 days 13 hrs ago0x7bcbc48defd7b38b42448f0b3e72d51e08f99264 IN  DAOvc: DAOvc Token0 Ether0.00032474 10.03308211
0xb81568b6281b01a925b8dd745675821a0d09d0b1ce5747a7c99a536d995903e8Transfer152175072022-07-26 10:08:4815 days 13 hrs ago0x769036924f89d0b6f10cbb3634e369b1723ec078 IN  DAOvc: DAOvc Token0 Ether0.00032474 10.03308211
0x91b7a602354102205342fcd64b30380abd67b168e6f0feee6875c88f3db99c57Approve152110682022-07-25 10:09:0116 days 13 hrs ago0x3dddd107693767b155f9bac35d97a0362215eb46 IN  DAOvc: DAOvc Token0 Ether0.00025067 5.42230368
0xc6cf04e7469ed39608aa3ba9c3efe1673d558af028eaeeb5d6b1b5d01123f670Approve151966122022-07-23 3:49:5418 days 20 hrs ago0xc46ca0d902824a753ec554b99f1492b62aea497a IN  DAOvc: DAOvc Token0 Ether0.00048604 10.44575808
0x0921d9d44262da99dba217172862e870d4798e8885a717018e209f8c9f3f930fApprove151845532022-07-21 7:21:4620 days 16 hrs ago0x34e96e47ed55a37b44e521b7d1438363ae48f68b IN  DAOvc: DAOvc Token0 Ether0.00086102 18.61040412
0xa19fac357caf9617d2addeee164f01a9bca150ac3c9f4a8212124dbde32a9115Approve151209602022-07-11 10:54:5830 days 12 hrs ago0x03afe79039359aab0a11fb997af1790fe61b78ed IN  DAOvc: DAOvc Token0 Ether0.00095924 20.61566403
0x16dbb02a06ad6f8f24274f01b0038e588727b6e1092068820d9ccc3379c7782bTransfer150722362022-07-03 22:18:2338 days 1 hr ago0xfd6db3d1e677accd35c27dcf4bae13e64b118313 IN  DAOvc: DAOvc Token0 Ether0.00048716 15.06232419
0x4739a6cb11ad94822818545650fd90efed1c5780e37fcc5d6c5e89e128429699Transfer150637232022-07-02 14:45:1039 days 9 hrs ago0x481755edc65f09abf11d672060692ff4621e240c IN  DAOvc: DAOvc Token0 Ether0.0007518 13.86304278
0xfbc6707093a1a3aa0e9a713236206b72276a6510aea0ee60316ddf182a3886fbApprove150635122022-07-02 13:59:5539 days 9 hrs ago0x481755edc65f09abf11d672060692ff4621e240c IN  DAOvc: DAOvc Token0 Ether0.00045971 9.87992392
0x97e80622c43c6daf1ef3fcbe949e491c24cc66ef04798fe0764be7fbe481434dTransfer150629002022-07-02 11:43:0739 days 12 hrs ago0x7e8e039daefc59cd5681e81e55e7490e61b5b2f9 IN  DAOvc: DAOvc Token0 Ether0.0005804 10.7
0x44bda715040f36cc08c7fe1405bd2218cd4347ee08a8d6588dc220dd6d8b4c05Approve150581032022-07-01 18:07:2940 days 5 hrs ago0x936096ac31d4c0d439910881e01e12168ea858fc IN  DAOvc: DAOvc Token0 Ether0.001998 43.18512361
[ Download CSV Export 

OVERVIEW

DAO.VC is a decentralized standalone venture capital platform that combines all of the following; marketplace, a social network for the participants of the venture platform, Laboratory for launching and accelerating early-stage LaunchLab startups.

View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DAOVCGovToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license, Audited

Contract Source Code (Solidity)Audit Report

/**
 *Submitted for verification at Etherscan.io on 2021-07-27
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: 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
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}


pragma solidity >=0.6.0 <0.8.0;


/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) internal _balances;

    mapping (address => mapping (address => uint256)) internal _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}


pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}



pragma solidity >=0.6.0 <0.8.0;



/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
        return _roles[role].members.at(index);
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (_roles[role].members.add(account)) {
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (_roles[role].members.remove(account)) {
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


pragma solidity ^0.6.12;


contract DAOVCGovToken is ERC20, AccessControl {
    using SafeMath for uint256;
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE");
    bytes32 public constant SERVICE_ROLE = keccak256("SERVICE_ROLE");

    struct Delegation {
        uint256 votesDelegated;
        uint64 voting;
        address delegatee;
    }

    uint256 private votePercent;
    uint256 private _totalSupply;

    mapping(address => Delegation[]) delegates;
    mapping(address => bool) whiteList;

    mapping(address => uint256) private _freezings;

    event VotesDelegated(
        address indexed delegator,
        address indexed delegatee,
        uint256 votesAmount,
        uint256 time,
        uint64 voting
    );
    event DelegateEnded(address indexed delegator, uint256 time);

    constructor(
        string memory name,
        string memory symbol,
        uint256 initialSupply,
        uint256 _votePercent
    ) public ERC20(name, symbol) {
        // Grant the contract deployer the default admin role: it will be able
        // to grant and revoke any roles
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(ADMIN_ROLE, msg.sender);
        _setupRole(MINTER_ROLE, msg.sender);
        _setupRole(BURNER_ROLE, msg.sender);
        _setupRole(SERVICE_ROLE, msg.sender);
        // Sets `DEFAULT_ADMIN_ROLE` as ``ADMIN_ROLE``'s admin role.
        _setRoleAdmin(ADMIN_ROLE, DEFAULT_ADMIN_ROLE);
        // Sets `ADMIN_ROLE` as ``MINTER_ROLE, BURNER_ROLE``'s admin role.
        _setRoleAdmin(MINTER_ROLE, ADMIN_ROLE);
        _setRoleAdmin(BURNER_ROLE, ADMIN_ROLE);
        _setRoleAdmin(SERVICE_ROLE, ADMIN_ROLE);

        _mint(msg.sender, initialSupply);
        votePercent = _votePercent;
    }

    function delegate(
        address delegatee,
        uint256 _amount,
        uint64 _voting
    ) public {
        require(
            _amount <= balanceOf(msg.sender),
            "Can't delegate more than balance"
        );
        uint256 maximumVotes = totalSupply().mul(votePercent).div(100);
        uint256 countOfVotesDelegated = 0;

        for (uint256 i = 0; i < delegates[msg.sender].length; i++) {
            countOfVotesDelegated = countOfVotesDelegated.add(
                delegates[msg.sender][i].votesDelegated
            );
        }
        if (!whiteList[msg.sender]) {
            require(
                _amount + countOfVotesDelegated < maximumVotes,
                "Too much votes to delegate"
            );
        }

        delegates[msg.sender].push(Delegation(_amount, _voting, delegatee));

        emit VotesDelegated(
            msg.sender,
            delegatee,
            _amount,
            block.timestamp,
            _voting
        );
    }

    function transfer(address _to, uint256 _amount)
        public
        override
        returns (bool)
    {
        require(
            _amount + getDelegatedBy(msg.sender) <= balanceOf(msg.sender),
            "Amount and delegated tokens exceeds balance"
        );
        _transfer(msg.sender, _to, _amount);
        return true;
    }

    function transferFrom(
        address _from,
        address _to,
        uint256 _amount
    ) public override returns (bool) {
        require(
            _amount + getDelegatedBy(_from) <= balanceOf(_from),
            "Amount and delegated tokens exceeds balance"
        );
        _transfer(_from, _to, _amount);
        _approve(
            _from,
            _msgSender(),
            _allowances[_from][_msgSender()].sub(
                _amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    function getDelegatedBy(address _delegator) public view returns (uint256) {
        uint256 delegated = 0;
        for (uint256 i = 0; i < delegates[_delegator].length; i++) {
            delegated = delegated.add(delegates[_delegator][i].votesDelegated);
        }
        return delegated;
    }

    function getDelegatedTo(
        address _delegator,
        address _delegatee,
        uint64 _voting
    ) public view returns (uint256) {
        uint256 delegated = 0;
        for (uint256 i = 0; i < delegates[_delegator].length; i++) {
            if (
                delegates[_delegator][i].delegatee == _delegatee &&
                delegates[_delegator][i].voting == _voting
            ) {
                delegated = delegated.add(
                    delegates[_delegator][i].votesDelegated
                );
            }
        }
        return delegated;
    }

    function removeDelegation(address _delegatee, uint64 _voting) public {
        for (uint256 i = 0; i < delegates[msg.sender].length; i++) {
            if (
                delegates[msg.sender][i].delegatee == _delegatee &&
                delegates[msg.sender][i].voting == _voting
            ) {
                delete delegates[msg.sender][i];
                i--;
            }
        }
    }

    function addToWhiteList(address _user) public {
        require(hasRole(SERVICE_ROLE, msg.sender), "Caller is not a service");
        whiteList[_user] = true;
    }

    function deleteFromWhiteList(address _user) public {
        require(hasRole(SERVICE_ROLE, msg.sender), "Caller is not a service");
        whiteList[_user] = false;
    }

    function mint(address _to, uint256 _amount) public {
        require(hasRole(MINTER_ROLE, msg.sender), "Caller is not a minter");
        _mint(_to, _amount);
    }

    function burn(address _from, uint256 _amount) external {
        require(hasRole(BURNER_ROLE, msg.sender), "Caller is not a burner");
        _burn(_from, _amount);
    }

    function _beforeTokenTransfer(
        address _from,
        address _to,
        uint256 _amount
    ) internal override(ERC20) {
        super._beforeTokenTransfer(_from, _to, _amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"uint256","name":"_votePercent","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"DelegateEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"delegatee","type":"address"},{"indexed":false,"internalType":"uint256","name":"votesAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"},{"indexed":false,"internalType":"uint64","name":"voting","type":"uint64"}],"name":"VotesDelegated","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SERVICE_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"addToWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint64","name":"_voting","type":"uint64"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"deleteFromWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_delegator","type":"address"}],"name":"getDelegatedBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_delegator","type":"address"},{"internalType":"address","name":"_delegatee","type":"address"},{"internalType":"uint64","name":"_voting","type":"uint64"}],"name":"getDelegatedTo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_delegatee","type":"address"},{"internalType":"uint64","name":"_voting","type":"uint64"}],"name":"removeDelegation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620025c0380380620025c0833981810160405260808110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b50604090815260208281015192909101518651929450925085918591620001c59160039185019062000628565b508051620001db90600490602084019062000628565b50506005805460ff1916601217905550620001f860003362000339565b62000213600080516020620025a08339815191523362000339565b6200022e600080516020620025808339815191523362000339565b6200025a7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8483362000339565b62000275600080516020620025608339815191523362000339565b62000291600080516020620025a0833981519152600062000349565b620002bb60008051602062002580833981519152600080516020620025a083398151915262000349565b620002f67f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848600080516020620025a083398151915262000349565b6200032060008051602062002560833981519152600080516020620025a083398151915262000349565b6200032c33836200039b565b60075550620006c4915050565b620003458282620004aa565b5050565b600082815260066020526040808220600201549051839285917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a460009182526006602052604090912060020155565b6001600160a01b038216620003f7576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620004056000838362000525565b62000421816002546200054260201b6200130e1790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620004549183906200130e62000542821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000828152600660209081526040909120620004d191839062001368620005a6821b17901c565b156200034557620004e1620005bd565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6200053d8383836200053d60201b62000e141760201c565b505050565b6000828201838110156200059d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b60006200059d836001600160a01b038416620005c1565b3390565b6000620005cf838362000610565b6200060757508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620005a0565b506000620005a0565b60009081526001919091016020526040902054151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200066b57805160ff19168380011785556200069b565b828001600101855582156200069b579182015b828111156200069b5782518255916020019190600101906200067e565b50620006a9929150620006ad565b5090565b5b80821115620006a95760008155600101620006ae565b611e8c80620006d46000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c806391d148541161010f578063c3c1f771116100a2578063d717178711610071578063d7171787146105f4578063d9b40a4714610635578063dd62ed3e1461065b578063ed53796714610689576101e5565b8063c3c1f7711461057d578063ca15c873146105a3578063d5391393146105c0578063d547741f146105c8576101e5565b8063a217fddf116100de578063a217fddf146104e7578063a457c2d7146104ef578063a9059cbb1461051b578063b557e5c214610547576101e5565b806391d148541461047f57806395d89b41146104ab5780639dc29fac146104b3578063a20e7d47146104df576101e5565b8063313ce5671161018757806347ee03941161015657806347ee0394146103ec57806370a082311461041257806375b238fc146104385780639010d07c14610440576101e5565b8063313ce5671461034a57806336568abe14610368578063395093511461039457806340c10f19146103c0576101e5565b806323b872dd116101c357806323b872dd146102c1578063248a9ca3146102f7578063282c51f3146103145780632f2ff15d1461031c576101e5565b806306fdde03146101ea578063095ea7b31461026757806318160ddd146102a7575b600080fd5b6101f26106c5565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022c578181015183820152602001610214565b50505050905090810190601f1680156102595780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102936004803603604081101561027d57600080fd5b506001600160a01b03813516906020013561075b565b604080519115158252519081900360200190f35b6102af610779565b60408051918252519081900360200190f35b610293600480360360608110156102d757600080fd5b506001600160a01b0381358116916020810135909116906040013561077f565b6102af6004803603602081101561030d57600080fd5b5035610857565b6102af61086c565b6103486004803603604081101561033257600080fd5b50803590602001356001600160a01b0316610890565b005b6103526108fc565b6040805160ff9092168252519081900360200190f35b6103486004803603604081101561037e57600080fd5b50803590602001356001600160a01b0316610905565b610293600480360360408110156103aa57600080fd5b506001600160a01b038135169060200135610966565b610348600480360360408110156103d657600080fd5b506001600160a01b0381351690602001356109b4565b6103486004803603602081101561040257600080fd5b50356001600160a01b0316610a32565b6102af6004803603602081101561042857600080fd5b50356001600160a01b0316610acb565b6102af610ae6565b6104636004803603604081101561045657600080fd5b5080359060200135610b0a565b604080516001600160a01b039092168252519081900360200190f35b6102936004803603604081101561049557600080fd5b50803590602001356001600160a01b0316610b29565b6101f2610b41565b610348600480360360408110156104c957600080fd5b506001600160a01b038135169060200135610ba2565b6102af610c20565b6102af610c44565b6102936004803603604081101561050557600080fd5b506001600160a01b038135169060200135610c49565b6102936004803603604081101561053157600080fd5b506001600160a01b038135169060200135610cb1565b6103486004803603604081101561055d57600080fd5b5080356001600160a01b0316906020013567ffffffffffffffff16610d0f565b6103486004803603602081101561059357600080fd5b50356001600160a01b0316610e19565b6102af600480360360208110156105b957600080fd5b5035610eaf565b6102af610ec6565b610348600480360360408110156105de57600080fd5b50803590602001356001600160a01b0316610eea565b6102af6004803603606081101561060a57600080fd5b5080356001600160a01b03908116916020810135909116906040013567ffffffffffffffff16610f43565b6102af6004803603602081101561064b57600080fd5b50356001600160a01b0316611068565b6102af6004803603604081101561067157600080fd5b506001600160a01b03813581169160200135166110c7565b6103486004803603606081101561069f57600080fd5b5080356001600160a01b0316906020810135906040013567ffffffffffffffff166110f2565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107515780601f1061072657610100808354040283529160200191610751565b820191906000526020600020905b81548152906001019060200180831161073457829003601f168201915b5050505050905090565b600061076f61076861137d565b8484611381565b5060015b92915050565b60025490565b600061078a84610acb565b61079385611068565b830111156107d25760405162461bcd60e51b815260040180806020018281038252602b815260200180611d25602b913960400191505060405180910390fd5b6107dd84848461146d565b61084d846107e961137d565b61084885604051806060016040528060288152602001611d71602891396001600160a01b038a1660009081526001602052604081209061082761137d565b6001600160a01b0316815260208101919091526040016000205491906115c8565b611381565b5060019392505050565b60009081526006602052604090206002015490565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b6000828152600660205260409020600201546108b3906108ae61137d565b610b29565b6108ee5760405162461bcd60e51b815260040180806020018281038252602f815260200180611c5c602f913960400191505060405180910390fd5b6108f8828261165f565b5050565b60055460ff1690565b61090d61137d565b6001600160a01b0316816001600160a01b03161461095c5760405162461bcd60e51b815260040180806020018281038252602f815260200180611e28602f913960400191505060405180910390fd5b6108f882826116c8565b600061076f61097361137d565b84610848856001600061098461137d565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061130e565b6109de7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610b29565b610a28576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba10309036b4b73a32b960511b604482015290519081900360640190fd5b6108f88282611731565b610a5c7fd8a7a79547af723ee3e12b59a480111268d8969c634e1a34a144d2c8b91d635b33610b29565b610aa7576040805162461bcd60e51b815260206004820152601760248201527643616c6c6572206973206e6f742061207365727669636560481b604482015290519081900360640190fd5b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b6001600160a01b031660009081526020819052604090205490565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6000828152600660205260408120610b229083611821565b9392505050565b6000828152600660205260408120610b22908361182d565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107515780601f1061072657610100808354040283529160200191610751565b610bcc7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84833610b29565b610c16576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba103090313ab93732b960511b604482015290519081900360640190fd5b6108f88282611842565b7fd8a7a79547af723ee3e12b59a480111268d8969c634e1a34a144d2c8b91d635b81565b600081565b600061076f610c5661137d565b8461084885604051806060016040528060258152602001611e036025913960016000610c8061137d565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906115c8565b6000610cbc33610acb565b610cc533611068565b83011115610d045760405162461bcd60e51b815260040180806020018281038252602b815260200180611d25602b913960400191505060405180910390fd5b61076f33848461146d565b60005b33600090815260096020526040902054811015610e145733600090815260096020526040902080546001600160a01b038516919083908110610d5057fe5b6000918252602090912060029091020160010154600160401b90046001600160a01b0316148015610dc45750336000908152600960205260409020805467ffffffffffffffff8416919083908110610da457fe5b600091825260209091206001600290920201015467ffffffffffffffff16145b15610e0c57336000908152600960205260409020805482908110610de457fe5b60009182526020822060029091020190815560010180546001600160e01b0319169055600019015b600101610d12565b505050565b610e437fd8a7a79547af723ee3e12b59a480111268d8969c634e1a34a144d2c8b91d635b33610b29565b610e8e576040805162461bcd60e51b815260206004820152601760248201527643616c6c6572206973206e6f742061207365727669636560481b604482015290519081900360640190fd5b6001600160a01b03166000908152600a60205260409020805460ff19169055565b60008181526006602052604081206107739061193e565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b600082815260066020526040902060020154610f08906108ae61137d565b61095c5760405162461bcd60e51b8152600401808060200182810382526030815260200180611cf56030913960400191505060405180910390fd5b600080805b6001600160a01b03861660009081526009602052604090205481101561105f576001600160a01b03868116600090815260096020526040902080549187169183908110610f9157fe5b6000918252602090912060029091020160010154600160401b90046001600160a01b031614801561100e57506001600160a01b0386166000908152600960205260409020805467ffffffffffffffff8616919083908110610fee57fe5b600091825260209091206001600290920201015467ffffffffffffffff16145b15611057576001600160a01b0386166000908152600960205260409020805461105491908390811061103c57fe5b6000918252602090912060029091020154839061130e565b91505b600101610f48565b50949350505050565b600080805b6001600160a01b0384166000908152600960205260409020548110156110c0576001600160a01b038416600090815260096020526040902080546110b691908390811061103c57fe5b915060010161106d565b5092915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6110fb33610acb565b82111561114f576040805162461bcd60e51b815260206004820181905260248201527f43616e27742064656c6567617465206d6f7265207468616e2062616c616e6365604482015290519081900360640190fd5b6000611170606461116a600754611164610779565b90611949565b906119a2565b90506000805b336000908152600960205260409020548110156111b75733600090815260096020526040902080546111ad91908390811061103c57fe5b9150600101611176565b50336000908152600a602052604090205460ff16611225578181850110611225576040805162461bcd60e51b815260206004820152601a60248201527f546f6f206d75636820766f74657320746f2064656c6567617465000000000000604482015290519081900360640190fd5b3360008181526009602090815260408083208151606080820184528a825267ffffffffffffffff808b168387018181526001600160a01b038f8116868901818152885460018181018b55998d529b8b902097516002909c029097019a8b5591519990960180549551909616600160401b0268010000000000000000600160e01b03199990931667ffffffffffffffff1990951694909417979097161790925582518a815242948101949094528383019490945290519293927f647f7f9f16076d81c37413dbaead08f23cc64a81bfdbcb023919b8a00f36346f9281900390910190a35050505050565b600082820183811015610b22576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610b22836001600160a01b038416611a09565b3390565b6001600160a01b0383166113c65760405162461bcd60e51b8152600401808060200182810382526024815260200180611ddf6024913960400191505060405180910390fd5b6001600160a01b03821661140b5760405162461bcd60e51b8152600401808060200182810382526022815260200180611cad6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166114b25760405162461bcd60e51b8152600401808060200182810382526025815260200180611dba6025913960400191505060405180910390fd5b6001600160a01b0382166114f75760405162461bcd60e51b8152600401808060200182810382526023815260200180611c396023913960400191505060405180910390fd5b611502838383611a53565b61153f81604051806060016040528060268152602001611ccf602691396001600160a01b03861660009081526020819052604090205491906115c8565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461156e908261130e565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156116575760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561161c578181015183820152602001611604565b50505050905090810190601f1680156116495780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008281526006602052604090206116779082611368565b156108f85761168461137d565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526006602052604090206116e09082611a5e565b156108f8576116ed61137d565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6001600160a01b03821661178c576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61179860008383611a53565b6002546117a5908261130e565b6002556001600160a01b0382166000908152602081905260409020546117cb908261130e565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000610b228383611a73565b6000610b22836001600160a01b038416611ad7565b6001600160a01b0382166118875760405162461bcd60e51b8152600401808060200182810382526021815260200180611d996021913960400191505060405180910390fd5b61189382600083611a53565b6118d081604051806060016040528060228152602001611c8b602291396001600160a01b03851660009081526020819052604090205491906115c8565b6001600160a01b0383166000908152602081905260409020556002546118f69082611aef565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600061077382611b4c565b60008261195857506000610773565b8282028284828161196557fe5b0414610b225760405162461bcd60e51b8152600401808060200182810382526021815260200180611d506021913960400191505060405180910390fd5b60008082116119f8576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611a0157fe5b049392505050565b6000611a158383611ad7565b611a4b57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610773565b506000610773565b610e14838383610e14565b6000610b22836001600160a01b038416611b50565b81546000908210611ab55760405162461bcd60e51b8152600401808060200182810382526022815260200180611c176022913960400191505060405180910390fd5b826000018281548110611ac457fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b600082821115611b46576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b5490565b60008181526001830160205260408120548015611c0c5783546000198083019190810190600090879083908110611b8357fe5b9060005260206000200154905080876000018481548110611ba057fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080611bd057fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610773565b600091505061077356fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65416d6f756e7420616e642064656c65676174656420746f6b656e7320657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220a9d49d05d2a0c6b666e19ed85d7e195d1bb819946287096a2a6648719e1c9c8464736f6c634300060c0033d8a7a79547af723ee3e12b59a480111268d8969c634e1a34a144d2c8b91d635b9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000052b7d2dcc80cd2e40000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000544414f7663000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000544414f7663000000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000052b7d2dcc80cd2e40000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000544414f7663000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000544414f7663000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): DAOvc
Arg [1] : symbol (string): DAOvc
Arg [2] : initialSupply (uint256): 100000000000000000000000000
Arg [3] : _votePercent (uint256): 5

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 44414f7663000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 44414f7663000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

47267:6169:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13235:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15381:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15381:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;14334:108;;;:::i;:::-;;;;;;;;;;;;;;;;50591:588;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;50591:588:0;;;;;;;;;;;;;;;;;:::i;44012:114::-;;;;;;;;;;;;;;;;-1:-1:-1;44012:114:0;;:::i;47490:62::-;;;:::i;44388:227::-;;;;;;;;;;;;;;;;-1:-1:-1;44388:227:0;;;;;;-1:-1:-1;;;;;44388:227:0;;:::i;:::-;;14178:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;45597:209;;;;;;;;;;;;;;;;-1:-1:-1;45597:209:0;;;;;;-1:-1:-1;;;;;45597:209:0;;:::i;16762:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16762:218:0;;;;;;;;:::i;52877:167::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;52877:167:0;;;;;;;;:::i;52519:168::-;;;;;;;;;;;;;;;;-1:-1:-1;52519:168:0;-1:-1:-1;;;;;52519:168:0;;:::i;14505:127::-;;;;;;;;;;;;;;;;-1:-1:-1;14505:127:0;-1:-1:-1;;;;;14505:127:0;;:::i;47354:60::-;;;:::i;43685:138::-;;;;;;;;;;;;;;;;-1:-1:-1;43685:138:0;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;43685:138:0;;;;;;;;;;;;;;42646:139;;;;;;;;;;;;;;;;-1:-1:-1;42646:139:0;;;;;;-1:-1:-1;;;;;42646:139:0;;:::i;13445:95::-;;;:::i;53052:173::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53052:173:0;;;;;;;;:::i;47559:64::-;;;:::i;41391:49::-;;;:::i;17483:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17483:269:0;;;;;;;;:::i;50231:352::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;50231:352:0;;;;;;;;:::i;52102:409::-;;;;;;;;;;;;;;;;-1:-1:-1;52102:409:0;;-1:-1:-1;;;;;52102:409:0;;;;;;;;:::i;52695:174::-;;;;;;;;;;;;;;;;-1:-1:-1;52695:174:0;-1:-1:-1;;;;;52695:174:0;;:::i;42959:127::-;;;;;;;;;;;;;;;;-1:-1:-1;42959:127:0;;:::i;47421:62::-;;;:::i;44860:230::-;;;;;;;;;;;;;;;;-1:-1:-1;44860:230:0;;;;;;-1:-1:-1;;;;;44860:230:0;;:::i;51498:596::-;;;;;;;;;;;;;;;;-1:-1:-1;51498:596:0;;-1:-1:-1;;;;;51498:596:0;;;;;;;;;;;;;;;;;;:::i;51187:303::-;;;;;;;;;;;;;;;;-1:-1:-1;51187:303:0;-1:-1:-1;;;;;51187:303:0;;:::i;15083:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15083:151:0;;;;;;;;;;:::i;49197:1026::-;;;;;;;;;;;;;;;;-1:-1:-1;49197:1026:0;;-1:-1:-1;;;;;49197:1026:0;;;;;;;;;;;;;:::i;13235:91::-;13313:5;13306:12;;;;;;;;-1:-1:-1;;13306:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13280:13;;13306:12;;13313:5;;13306:12;;13313:5;13306:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13235:91;:::o;15381:169::-;15464:4;15481:39;15490:12;:10;:12::i;:::-;15504:7;15513:6;15481:8;:39::i;:::-;-1:-1:-1;15538:4:0;15381:169;;;;;:::o;14334:108::-;14422:12;;14334:108;:::o;50591:588::-;50717:4;50791:16;50801:5;50791:9;:16::i;:::-;50766:21;50781:5;50766:14;:21::i;:::-;50756:7;:31;:51;;50734:144;;;;-1:-1:-1;;;50734:144:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50889:30;50899:5;50906:3;50911:7;50889:9;:30::i;:::-;50930:219;50953:5;50973:12;:10;:12::i;:::-;51000:138;51055:7;51000:138;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51000:18:0;;;;;;:11;:18;;;;;;51019:12;:10;:12::i;:::-;-1:-1:-1;;;;;51000:32:0;;;;;;;;;;;;-1:-1:-1;51000:32:0;;;:138;:36;:138::i;:::-;50930:8;:219::i;:::-;-1:-1:-1;51167:4:0;50591:588;;;;;:::o;44012:114::-;44069:7;44096:12;;;:6;:12;;;;;:22;;;;44012:114::o;47490:62::-;47528:24;47490:62;:::o;44388:227::-;44480:12;;;;:6;:12;;;;;:22;;;44472:45;;44504:12;:10;:12::i;:::-;44472:7;:45::i;:::-;44464:105;;;;-1:-1:-1;;;44464:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44582:25;44593:4;44599:7;44582:10;:25::i;:::-;44388:227;;:::o;14178:91::-;14252:9;;;;14178:91;:::o;45597:209::-;45695:12;:10;:12::i;:::-;-1:-1:-1;;;;;45684:23:0;:7;-1:-1:-1;;;;;45684:23:0;;45676:83;;;;-1:-1:-1;;;45676:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45772:26;45784:4;45790:7;45772:11;:26::i;16762:218::-;16850:4;16867:83;16876:12;:10;:12::i;:::-;16890:7;16899:50;16938:10;16899:11;:25;16911:12;:10;:12::i;:::-;-1:-1:-1;;;;;16899:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;16899:25:0;;;:34;;;;;;;;;;;:38;:50::i;52877:167::-;52947:32;47459:24;52968:10;52947:7;:32::i;:::-;52939:67;;;;;-1:-1:-1;;;52939:67:0;;;;;;;;;;;;-1:-1:-1;;;52939:67:0;;;;;;;;;;;;;;;53017:19;53023:3;53028:7;53017:5;:19::i;52519:168::-;52584:33;47598:25;52606:10;52584:7;:33::i;:::-;52576:69;;;;;-1:-1:-1;;;52576:69:0;;;;;;;;;;;;-1:-1:-1;;;52576:69:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;52656:16:0;;;;;:9;:16;;;;;:23;;-1:-1:-1;;52656:23:0;52675:4;52656:23;;;52519:168::o;14505:127::-;-1:-1:-1;;;;;14606:18:0;14579:7;14606:18;;;;;;;;;;;;14505:127::o;47354:60::-;47391:23;47354:60;:::o;43685:138::-;43758:7;43785:12;;;:6;:12;;;;;:30;;43809:5;43785:23;:30::i;:::-;43778:37;43685:138;-1:-1:-1;;;43685:138:0:o;42646:139::-;42715:4;42739:12;;;:6;:12;;;;;:38;;42769:7;42739:29;:38::i;13445:95::-;13525:7;13518:14;;;;;;;;-1:-1:-1;;13518:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13492:13;;13518:14;;13525:7;;13518:14;;13525:7;13518:14;;;;;;;;;;;;;;;;;;;;;;;;53052:173;53126:32;47528:24;53147:10;53126:7;:32::i;:::-;53118:67;;;;;-1:-1:-1;;;53118:67:0;;;;;;;;;;;;-1:-1:-1;;;53118:67:0;;;;;;;;;;;;;;;53196:21;53202:5;53209:7;53196:5;:21::i;47559:64::-;47598:25;47559:64;:::o;41391:49::-;41436:4;41391:49;:::o;17483:269::-;17576:4;17593:129;17602:12;:10;:12::i;:::-;17616:7;17625:96;17664:15;17625:96;;;;;;;;;;;;;;;;;:11;:25;17637:12;:10;:12::i;:::-;-1:-1:-1;;;;;17625:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17625:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;50231:352::-;50331:4;50415:21;50425:10;50415:9;:21::i;:::-;50385:26;50400:10;50385:14;:26::i;:::-;50375:7;:36;:61;;50353:154;;;;-1:-1:-1;;;50353:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50518:35;50528:10;50540:3;50545:7;50518:9;:35::i;52102:409::-;52187:9;52182:322;52216:10;52206:21;;;;:9;:21;;;;;:28;52202:32;;52182:322;;;52288:10;52278:21;;;;:9;:21;;;;;:24;;-1:-1:-1;;;;;52278:48:0;;;:21;52300:1;;52278:24;;;;;;;;;;;;;;;;;;;:34;;;-1:-1:-1;;;52278:34:0;;-1:-1:-1;;;;;52278:34:0;:48;:111;;;;-1:-1:-1;52357:10:0;52347:21;;;;:9;:21;;;;;:24;;:42;;;;:21;52369:1;;52347:24;;;;;;;;;;;;;;:31;:24;;;;;:31;;;;:42;52278:111;52256:237;;;52441:10;52431:21;;;;:9;:21;;;;;:24;;52453:1;;52431:24;;;;;;;;;;;;;;;;;;52424:31;;;;;;;-1:-1:-1;;;;;;52424:31:0;;;-1:-1:-1;;52474:3:0;52256:237;52236:3;;52182:322;;;;52102:409;;:::o;52695:174::-;52765:33;47598:25;52787:10;52765:7;:33::i;:::-;52757:69;;;;;-1:-1:-1;;;52757:69:0;;;;;;;;;;;;-1:-1:-1;;;52757:69:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;52837:16:0;52856:5;52837:16;;;:9;:16;;;;;:24;;-1:-1:-1;;52837:24:0;;;52695:174::o;42959:127::-;43022:7;43049:12;;;:6;:12;;;;;:29;;:27;:29::i;47421:62::-;47459:24;47421:62;:::o;44860:230::-;44953:12;;;;:6;:12;;;;;:22;;;44945:45;;44977:12;:10;:12::i;44945:45::-;44937:106;;;;-1:-1:-1;;;44937:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51498:596;51633:7;;;51685:375;-1:-1:-1;;;;;51709:21:0;;;;;;:9;:21;;;;;:28;51705:32;;51685:375;;;-1:-1:-1;;;;;51781:21:0;;;;;;;:9;:21;;;;;:24;;:48;;;;51803:1;;51781:24;;;;;;;;;;;;;;;;;;;:34;;;-1:-1:-1;;;51781:34:0;;-1:-1:-1;;;;;51781:34:0;:48;:111;;;;-1:-1:-1;;;;;;51850:21:0;;;;;;:9;:21;;;;;:24;;:42;;;;:21;51872:1;;51850:24;;;;;;;;;;;;;;:31;:24;;;;;:31;;;;:42;51781:111;51759:290;;;-1:-1:-1;;;;;51975:21:0;;;;;;:9;:21;;;;;:24;;51939:94;;51975:21;51997:1;;51975:24;;;;;;;;;;;;;;;;;;;:39;51939:9;;:13;:94::i;:::-;51927:106;;51759:290;51739:3;;51685:375;;;-1:-1:-1;52077:9:0;51498:596;-1:-1:-1;;;;51498:596:0:o;51187:303::-;51252:7;;;51304:152;-1:-1:-1;;;;;51328:21:0;;;;;;:9;:21;;;;;:28;51324:32;;51304:152;;;-1:-1:-1;;;;;51404:21:0;;;;;;:9;:21;;;;;:24;;51390:54;;51404:21;51426:1;;51404:24;;;;;51390:54;51378:66;-1:-1:-1;51358:3:0;;51304:152;;;-1:-1:-1;51473:9:0;51187:303;-1:-1:-1;;51187:303:0:o;15083:151::-;-1:-1:-1;;;;;15199:18:0;;;15172:7;15199:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15083:151::o;49197:1026::-;49352:21;49362:10;49352:9;:21::i;:::-;49341:7;:32;;49319:114;;;;;-1:-1:-1;;;49319:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49444:20;49467:39;49502:3;49467:30;49485:11;;49467:13;:11;:13::i;:::-;:17;;:30::i;:::-;:34;;:39::i;:::-;49444:62;;49517:29;49568:9;49563:208;49597:10;49587:21;;;;:9;:21;;;;;:28;49583:32;;49563:208;;;49715:10;49705:21;;;;:9;:21;;;;;:24;;49661:98;;49705:21;49727:1;;49705:24;;;;;49661:98;49637:122;-1:-1:-1;49617:3:0;;49563:208;;;-1:-1:-1;49796:10:0;49786:21;;;;:9;:21;;;;;;;;49781:189;;49884:12;49860:21;49850:7;:31;:46;49824:134;;;;;-1:-1:-1;;;49824:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;49992:10;49982:21;;;;:9;:21;;;;;;;;50009:39;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50009:39:0;;;;;;;;;49982:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49982:67:0;-1:-1:-1;;;;;;49982:67:0;;;;-1:-1:-1;;49982:67:0;;;;;;;;;;;;;;;50067:148;;;;;50167:15;50067:148;;;;;;;;;;;;;;;;50009:39;;49992:10;50067:148;;;;;;;;;;49197:1026;;;;;:::o;6462:179::-;6520:7;6552:5;;;6576:6;;;;6568:46;;;;;-1:-1:-1;;;6568:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;28706:152;28776:4;28800:50;28805:3;-1:-1:-1;;;;;28825:23:0;;28800:4;:50::i;613:106::-;701:10;613:106;:::o;20630:346::-;-1:-1:-1;;;;;20732:19:0;;20724:68;;;;-1:-1:-1;;;20724:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20811:21:0;;20803:68;;;;-1:-1:-1;;;20803:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20884:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;20936:32;;;;;;;;;;;;;;;;;20630:346;;;:::o;18242:539::-;-1:-1:-1;;;;;18348:20:0;;18340:70;;;;-1:-1:-1;;;18340:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18429:23:0;;18421:71;;;;-1:-1:-1;;;18421:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18505:47;18526:6;18534:9;18545:6;18505:20;:47::i;:::-;18585:71;18607:6;18585:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18585:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;18565:17:0;;;:9;:17;;;;;;;;;;;:91;;;;18690:20;;;;;;;:32;;18715:6;18690:24;:32::i;:::-;-1:-1:-1;;;;;18667:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;18738:35;;;;;;;18667:20;;18738:35;;;;;;;;;;;;;18242:539;;;:::o;9289:166::-;9375:7;9411:12;9403:6;;;;9395:29;;;;-1:-1:-1;;;9395:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9442:5:0;;;9289:166::o;46840:188::-;46914:12;;;;:6;:12;;;;;:33;;46939:7;46914:24;:33::i;:::-;46910:111;;;46996:12;:10;:12::i;:::-;-1:-1:-1;;;;;46969:40:0;46987:7;-1:-1:-1;;;;;46969:40:0;46981:4;46969:40;;;;;;;;;;46840:188;;:::o;47036:192::-;47111:12;;;;:6;:12;;;;;:36;;47139:7;47111:27;:36::i;:::-;47107:114;;;47196:12;:10;:12::i;:::-;-1:-1:-1;;;;;47169:40:0;47187:7;-1:-1:-1;;;;;47169:40:0;47181:4;47169:40;;;;;;;;;;47036:192;;:::o;19063:378::-;-1:-1:-1;;;;;19147:21:0;;19139:65;;;;;-1:-1:-1;;;19139:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19217:49;19246:1;19250:7;19259:6;19217:20;:49::i;:::-;19294:12;;:24;;19311:6;19294:16;:24::i;:::-;19279:12;:39;-1:-1:-1;;;;;19350:18:0;;:9;:18;;;;;;;;;;;:30;;19373:6;19350:22;:30::i;:::-;-1:-1:-1;;;;;19329:18:0;;:9;:18;;;;;;;;;;;:51;;;;19396:37;;;;;;;19329:18;;:9;;19396:37;;;;;;;;;;19063:378;;:::o;29992:158::-;30066:7;30117:22;30121:3;30133:5;30117:3;:22::i;29278:167::-;29358:4;29382:55;29392:3;-1:-1:-1;;;;;29412:23:0;;29382:9;:55::i;19774:418::-;-1:-1:-1;;;;;19858:21:0;;19850:67;;;;-1:-1:-1;;;19850:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19930:49;19951:7;19968:1;19972:6;19930:20;:49::i;:::-;20013:68;20036:6;20013:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20013:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;19992:18:0;;:9;:18;;;;;;;;;;:89;20107:12;;:24;;20124:6;20107:16;:24::i;:::-;20092:12;:39;20147:37;;;;;;;;20173:1;;-1:-1:-1;;;;;20147:37:0;;;;;;;;;;;;19774:418;;:::o;29531:117::-;29594:7;29621:19;29629:3;29621:7;:19::i;7341:220::-;7399:7;7423:6;7419:20;;-1:-1:-1;7438:1:0;7431:8;;7419:20;7462:5;;;7466:1;7462;:5;:1;7486:5;;;;;:10;7478:56;;;;-1:-1:-1;;;7478:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8039:153;8097:7;8129:1;8125;:5;8117:44;;;;;-1:-1:-1;;;8117:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8183:1;8179;:5;;;;;;;8039:153;-1:-1:-1;;;8039:153:0:o;23770:414::-;23833:4;23855:21;23865:3;23870:5;23855:9;:21::i;:::-;23850:327;;-1:-1:-1;23893:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;24076:18;;24054:19;;;:12;;;:19;;;;;;:40;;;;24109:11;;23850:327;-1:-1:-1;24160:5:0;24153:12;;53233:200;53378:47;53405:5;53412:3;53417:7;53378:26;:47::i;29034:158::-;29107:4;29131:53;29139:3;-1:-1:-1;;;;;29159:23:0;;29131:7;:53::i;26658:204::-;26753:18;;26725:7;;26753:26;-1:-1:-1;26745:73:0;;;;-1:-1:-1;;;26745:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26836:3;:11;;26848:5;26836:18;;;;;;;;;;;;;;;;26829:25;;26658:204;;;;:::o;25990:129::-;26063:4;26087:19;;;:12;;;;;:19;;;;;;:24;;;25990:129::o;6924:158::-;6982:7;7015:1;7010;:6;;7002:49;;;;;-1:-1:-1;;;7002:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7069:5:0;;;6924:158::o;26205:109::-;26288:18;;26205:109::o;24360:1544::-;24426:4;24565:19;;;:12;;;:19;;;;;;24601:15;;24597:1300;;25036:18;;-1:-1:-1;;24987:14:0;;;;25036:22;;;;24963:21;;25036:3;;:22;;25323;;;;;;;;;;;;;;25303:42;;25469:9;25440:3;:11;;25452:13;25440:26;;;;;;;;;;;;;;;;;;;:38;;;;25546:23;;;25588:1;25546:12;;;:23;;;;;;25572:17;;;25546:43;;25698:17;;25546:3;;25698:17;;;;;;;;;;;;;;;;;;;;;;25793:3;:12;;:19;25806:5;25793:19;;;;;;;;;;;25786:26;;;25836:4;25829:11;;;;;;;;24597:1300;25880:5;25873:12;;;;

Swarm Source

ipfs://a9d49d05d2a0c6b666e19ed85d7e195d1bb819946287096a2a6648719e1c9c84
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.