Contract 0x7DD9c5Cba05E151C895FDe1CF355C9A1D5DA6429 3

 
Ad
Crypto.com
Txn Hash Method
Block
From
To
Value
0xc8cffd92bd26f1786c77d473ee87a585751d60f91b4cccc2b04aaca898c1c4b8Transfer(pending)2021-09-17 7:56:4721 mins agoBitfinex 3 IN Golem: GLM Token0 Ether(Pending)(Pending)
0x8b7282a43547cabaf4ac72c5bc7cab0b87786932aacf23f83a5eb2be10609b38Transfer(pending)2021-09-09 19:31:047 days 12 hrs ago0xdb5cf97afb0e694ba7cec2431cd9ab86a7c6e328 IN Golem: GLM Token0 Ether(Pending)(Pending)
0x21b8ca5093c9f9dfb2400b5ca0cc0d48e6f358241dcefd2ec0166bd14af4160fTransfer(pending)2021-09-07 16:33:439 days 15 hrs ago0xdb5cf97afb0e694ba7cec2431cd9ab86a7c6e328 IN Golem: GLM Token0 Ether(Pending)(Pending)
0x61d77642cecc3f9f68b9d82644643bc528ca4d42009471cc44890d98298d7582Transfer132420662021-09-17 8:13:394 mins ago0x8e84835d5b430ee8a4deade52b407a69abd2d731 IN  Golem: GLM Token0 Ether0.006002410945172.830721144
0x86a4687294c8ea78c5db6d6b6570f31dbda60eb882094f1921e07f89c6ea49e6Transfer132420432021-09-17 8:07:5410 mins ago0x0ce34f2d35b9553499a75bb5100f72326201747a IN  Golem: GLM Token0 Ether0.00839646162
0xbace45215c31f3ac32a2c492031afbfde91c8269598591eaeff71917d42fe1f7Transfer132420222021-09-17 8:02:4515 mins ago0x8e84835d5b430ee8a4deade52b407a69abd2d731 IN  Golem: GLM Token0 Ether0.012432389366239.813073687
0xe84396166014208e60a625f29d3ece58435c41cf0209d0ca58eb2d03dfcd6c6aTransfer132420142021-09-17 8:00:5017 mins ago0x29984d1f9055cafb02dcdd53c54b727902e44975 IN  Golem: GLM Token0 Ether0.00577649193
0xc5cf4d4c3e0ef07e720aed5f6c9b5c407a0ac161fd579913e152fb4fbd313602Transfer132419742021-09-17 7:51:3626 mins ago0x2b13e26b4662556335415e65310f50eadbd575d7 IN  Golem: GLM Token0 Ether0.0038205992127.6
0x41f87767376ea2093d72e1dcc1a4a3ccafea2ebaba1c8b043ce4081fe3070e37Transfer132419552021-09-17 7:47:1331 mins ago0x1671a3e4a2519a653e66e827ef6eae690ee86729 IN  Golem: GLM Token0 Ether0.00419188140
0x22dfece40970d60c04393794cd226bece211d557e03a1ddbe92f7d9b169e1d8bTransfer132419462021-09-17 7:45:3332 mins agoBinance 16 IN  Golem: GLM Token0 Ether0.00699867135
0xe5573885c9cc0421e3472e307fe2bae1edb3c70ce622f1135bc518a99fd1eec0Transfer132418902021-09-17 7:33:0245 mins agoHuobi 10 IN  Golem: GLM Token0 Ether0.00404367678
0x7900239bcc42224a588e075481d8eff9835657d98d6e5f83f551c5139be59399Transfer132418892021-09-17 7:32:4245 mins agoBinance 16 IN  Golem: GLM Token0 Ether0.0023963769
0x6d2157b016fec088c8df0b9fed80f90d71f0af47ff4d3c4dc7476dbed6755eddTransfer132418892021-09-17 7:32:4245 mins agoBinance 14 IN  Golem: GLM Token0 Ether0.00239719869
0xea2c6558fcd4d408c4059c927014a2445c306163ae2d7009ef586387b46605d4Transfer132418852021-09-17 7:32:1746 mins agoHuobi 10 IN  Golem: GLM Token0 Ether0.00270987678
0xa3ae0a8a953aa01d1fdec7f6d103bb63dec4ebf50e077365936aea22a41bc091Transfer132418822021-09-17 7:31:4046 mins ago0x95b564f3b3bae3f206aa418667ba000afafacc8a IN  Golem: GLM Token0 Ether0.00275802093579.413214379
0xd91094c773702b4afc341563818a6709a4e7d98292dfe2062244234ba4c84bebTransfer132418782021-09-17 7:29:5148 mins ago0x84c4b427c73fa3c8fc068df420e8910c7b1d851c IN  Golem: GLM Token0 Ether0.00155698452
0xb4aa7004df389212c28b28026c10b5a2cf62e425c4f6b9713ab9d9fa4b266f0fTransfer132418782021-09-17 7:29:5148 mins ago0x8cf1238bf670d12db9d12eb6a7584b415c8aa2e0 IN  Golem: GLM Token0 Ether0.0015563652
0xdab2b23581e534186c8d90a1f3d9224e24dfdc06dd2a9f98b47aa8358d41c369Transfer132418782021-09-17 7:29:5148 mins ago0xa83233a94c32c414ab0ff944393948f862b8a1ad IN  Golem: GLM Token0 Ether0.0015563652
0xe96fd90d9286603b1e610292d31d26c8e62e04b863cc1d82ae4799a0d594d7baTransfer132418422021-09-17 7:22:5655 mins agoBinance 14 IN  Golem: GLM Token0 Ether0.00404180478
0x2458f171745b51a4ba0d5ac1e132bb47d346fcb6858323cd7c98e05b18fbab1bTransfer132417862021-09-17 7:10:051 hr 8 mins agoCEX.IO IN  Golem: GLM Token0 Ether0.00279363753.9
0x33e04f7a535b28a336ff0bc1c7ec38609a1dd1842be5b007acbde1f2dca0446fTransfer132417782021-09-17 7:08:201 hr 9 mins ago0x0ce34f2d35b9553499a75bb5100f72326201747a IN  Golem: GLM Token0 Ether0.0028506555
0x804968c38e01006aae2298dff219ff99559f13e8a4c9afb0ae2ecab13de39d94Transfer132417722021-09-17 7:07:301 hr 10 mins ago0x5ab9d116a53ef41063e3eae26a7ebe736720e9ba IN  Golem: GLM Token0 Ether0.00564504 120
0xe7a0718d50e6805eb4abe979f8f1a0484afd7c962176c4c74826da39fa85f707Transfer132417412021-09-17 7:00:261 hr 17 mins ago0xe8a28d1985bd13ae6940af5c6aa21fabe0126e55 IN  Golem: GLM Token0 Ether0.0020959470
0x1cd56455c635bbe68dc9f13d234c4d31844da2d199478d1e1e1f9da755057d59Transfer132417412021-09-17 7:00:261 hr 17 mins ago0x13f8e9672204f2dc966a5bfb100d980dfa69c441 IN  Golem: GLM Token0 Ether0.0020959470
0x283fdddc7f9659b6ed3db76b16813c72ddfd013a793934a6f947391e532af71eTransfer132417412021-09-17 7:00:261 hr 17 mins ago0x4172b78a86695bbfabd4d319323ae0a696cf9f2a IN  Golem: GLM Token0 Ether0.002095170
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x9a0b66691d935dee94dd0c5654959492d1cf3ac8

Contract Name:
NewGolemNetworkToken

Compiler Version
v0.5.10+commit.5a6ea5b1

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-11-18
*/

pragma solidity ^0.5.10;


/*
 * @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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view 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.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
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);
}



/**
 * @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, 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     *
     * _Available since v2.4.0._
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}


/**
 * @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 {ERC20Mintable}.
 *
 * 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) private _balances;

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

    uint256 private _totalSupply;

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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 returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public 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 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 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 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 {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _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 {
        require(account != address(0), "ERC20: mint to the zero address");

        _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 {
        require(account != address(0), "ERC20: burn from the zero address");

        _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 is 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 {
        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 Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance"));
    }
}


/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(!has(role, account), "Roles: account already has role");
        role.bearer[account] = true;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(has(role, account), "Roles: account does not have role");
        role.bearer[account] = false;
    }

    /**
     * @dev Check if an account has this role.
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0), "Roles: account is the zero address");
        return role.bearer[account];
    }
}


contract MinterRole is Context {
    using Roles for Roles.Role;

    event MinterAdded(address indexed account);
    event MinterRemoved(address indexed account);

    Roles.Role private _minters;

    constructor () internal {
        _addMinter(_msgSender());
    }

    modifier onlyMinter() {
        require(isMinter(_msgSender()), "MinterRole: caller does not have the Minter role");
        _;
    }

    function isMinter(address account) public view returns (bool) {
        return _minters.has(account);
    }

    function addMinter(address account) public onlyMinter {
        _addMinter(account);
    }

    function renounceMinter() public {
        _removeMinter(_msgSender());
    }

    function _addMinter(address account) internal {
        _minters.add(account);
        emit MinterAdded(account);
    }

    function _removeMinter(address account) internal {
        _minters.remove(account);
        emit MinterRemoved(account);
    }
}

/**
 * @dev Extension of {ERC20} that adds a set of accounts with the {MinterRole},
 * which have permission to mint (create) new tokens as they see fit.
 *
 * At construction, the deployer of the contract is the only minter.
 */
contract ERC20Mintable is ERC20, MinterRole {
    /**
     * @dev See {ERC20-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the {MinterRole}.
     */
    function mint(address account, uint256 amount) public onlyMinter returns (bool) {
        _mint(account, amount);
        return true;
    }
}


contract NewGolemNetworkToken is ERC20Mintable {
    string public name = "Golem Network Token";
    string public symbol = "GLM";
    uint8 public decimals = 18;
    string public constant version = "1";
    mapping(address => uint) public nonces;

    // --- EIP712 niceties ---
    bytes32 public DOMAIN_SEPARATOR;
    // bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address holder,address spender,uint256 nonce,uint256 expiry,bool allowed)");
    bytes32 public constant PERMIT_TYPEHASH = 0xea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb;

    constructor(address _migrationAgent, uint256 _chainId) public {
        addMinter(_migrationAgent);
        renounceMinter();
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                keccak256(bytes(name)),
                keccak256(bytes(version)),
                _chainId,
                address(this)
            )
        );
    }

    function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) {
        _transfer(sender, recipient, amount);
        if (sender != msg.sender && allowance(sender, msg.sender) != uint(-1)) {
            _approve(sender, msg.sender, allowance(sender, msg.sender).sub(amount, "ERC20: transfer amount exceeds allowance"));
        }
        return true;
    }

    // --- Approve by signature ---
    function permit(
        address holder, address spender, uint256 nonce, uint256 expiry,
        bool allowed, uint8 v, bytes32 r, bytes32 s) external {
        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                DOMAIN_SEPARATOR,
                keccak256(
                    abi.encode(
                        PERMIT_TYPEHASH,
                        holder,
                        spender,
                        nonce,
                        expiry,
                        allowed
                    )
                )
            )
        );

        require(holder != address(0), "Ngnt/invalid-address-0");
        require(holder == ecrecover(digest, v, r, s), "Ngnt/invalid-permit");
        require(expiry == 0 || now <= expiry, "Ngnt/permit-expired");
        require(nonce == nonces[holder]++, "Ngnt/invalid-nonce");
        uint wad = allowed ? uint(- 1) : 0;
        _approve(holder, spender, wad);
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"amount","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"sender","type":"address"},{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"},{"name":"amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"nonces","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"holder","type":"address"},{"name":"spender","type":"address"},{"name":"nonce","type":"uint256"},{"name":"expiry","type":"uint256"},{"name":"allowed","type":"bool"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"}],"name":"permit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_migrationAgent","type":"address"},{"name":"_chainId","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

60806040526040518060400160405280601381526020017f476f6c656d204e6574776f726b20546f6b656e000000000000000000000000008152506004908051906020019062000051929190620006b4565b506040518060400160405280600381526020017f474c4d0000000000000000000000000000000000000000000000000000000000815250600590805190602001906200009f929190620006b4565b506012600660006101000a81548160ff021916908360ff160217905550348015620000c957600080fd5b50604051620027973803806200279783398181016040526040811015620000ef57600080fd5b8101908080519060200190929190805190602001909291905050506200012a6200011e6200028e60201b60201c565b6200029660201b60201c565b6200013b82620002f760201b60201c565b6200014b6200038260201b60201c565b604051808062002723605291396052019050604051809103902060046040518082805460018160011615610100020316600290048015620001c65780601f10620001a3576101008083540402835291820191620001c6565b820191906000526020600020905b815481529060010190602001808311620001b1575b505091505060405180910390206040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250805190602001208330604051602001808681526020018581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019550505050505060405160208183030381529060405280519060200120600881905550505062000763565b600033905090565b620002b1816003620003a460201b62001c1e1790919060201c565b8073ffffffffffffffffffffffffffffffffffffffff167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a250565b620003176200030b6200028e60201b60201c565b6200048860201b60201c565b6200036e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180620026d26030913960400191505060405180910390fd5b6200037f816200029660201b60201c565b50565b620003a2620003966200028e60201b60201c565b620004ac60201b60201c565b565b620003b682826200050d60201b60201c565b156200042a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f526f6c65733a206163636f756e7420616c72656164792068617320726f6c650081525060200191505060405180910390fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000620004a58260036200050d60201b62001b401790919060201c565b9050919050565b620004c7816003620005ed60201b62001cf91790919060201c565b8073ffffffffffffffffffffffffffffffffffffffff167fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669260405160405180910390a250565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000596576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180620027756022913960400191505060405180910390fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b620005ff82826200050d60201b60201c565b62000656576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180620027026021913960400191505060405180910390fd5b60008260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620006f757805160ff191683800117855562000728565b8280016001018555821562000728579182015b82811115620007275782518255916020019190600101906200070a565b5b5090506200073791906200073b565b5090565b6200076091905b808211156200075c57600081600090555060010162000742565b5090565b90565b611f5f80620007736000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806370a08231116100ad5780639865027511610071578063986502751461068a578063a457c2d714610694578063a9059cbb146106fa578063aa271e1a14610760578063dd62ed3e146107bc5761012c565b806370a082311461046d5780637ecebe00146104c55780638fcbaf0c1461051d57806395d89b41146105c3578063983b2d56146106465761012c565b8063313ce567116100f4578063313ce567146102dc5780633644e51514610300578063395093511461031e57806340c10f191461038457806354fd4d50146103ea5761012c565b806306fdde0314610131578063095ea7b3146101b457806318160ddd1461021a57806323b872dd1461023857806330adf81f146102be575b600080fd5b610139610834565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561017957808201518184015260208101905061015e565b50505050905090810190601f1680156101a65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610200600480360360408110156101ca57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506108d2565b604051808215151515815260200191505060405180910390f35b6102226108f0565b6040518082815260200191505060405180910390f35b6102a46004803603606081101561024e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506108fa565b604051808215151515815260200191505060405180910390f35b6102c66109bd565b6040518082815260200191505060405180910390f35b6102e46109e4565b604051808260ff1660ff16815260200191505060405180910390f35b6103086109f7565b6040518082815260200191505060405180910390f35b61036a6004803603604081101561033457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506109fd565b604051808215151515815260200191505060405180910390f35b6103d06004803603604081101561039a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ab0565b604051808215151515815260200191505060405180910390f35b6103f2610b2b565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610432578082015181840152602081019050610417565b50505050905090810190601f16801561045f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104af6004803603602081101561048357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b64565b6040518082815260200191505060405180910390f35b610507600480360360208110156104db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bac565b6040518082815260200191505060405180910390f35b6105c1600480360361010081101561053457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803515159060200190929190803560ff1690602001909291908035906020019092919080359060200190929190505050610bc4565b005b6105cb611024565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561060b5780820151818401526020810190506105f0565b50505050905090810190601f1680156106385780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6106886004803603602081101561065c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110c2565b005b610692611133565b005b6106e0600480360360408110156106aa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611145565b604051808215151515815260200191505060405180910390f35b6107466004803603604081101561071057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611212565b604051808215151515815260200191505060405180910390f35b6107a26004803603602081101561077657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611230565b604051808215151515815260200191505060405180910390f35b61081e600480360360408110156107d257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061124d565b6040518082815260200191505060405180910390f35b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108ca5780601f1061089f576101008083540402835291602001916108ca565b820191906000526020600020905b8154815290600101906020018083116108ad57829003601f168201915b505050505081565b60006108e66108df6112d4565b84846112dc565b6001905092915050565b6000600254905090565b60006109078484846114d3565b3373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415801561096c57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610969853361124d565b14155b156109b2576109b184336109ac85604051806060016040528060288152602001611e736028913961099d8a3361124d565b6117899092919063ffffffff16565b6112dc565b5b600190509392505050565b7fea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb60001b81565b600660009054906101000a900460ff1681565b60085481565b6000610aa6610a0a6112d4565b84610aa18560016000610a1b6112d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461184990919063ffffffff16565b6112dc565b6001905092915050565b6000610ac2610abd6112d4565b611230565b610b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180611e226030913960400191505060405180910390fd5b610b2183836118d1565b6001905092915050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60076020528060005260406000206000915090505481565b60006008547fea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb60001b8a8a8a8a8a604051602001808781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018215151515815260200196505050505050506040516020818303038152906040528051906020012060405160200180807f190100000000000000000000000000000000000000000000000000000000000081525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050600073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff161415610d91576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4e676e742f696e76616c69642d616464726573732d300000000000000000000081525060200191505060405180910390fd5b60018185858560405160008152602001604052604051808581526020018460ff1660ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610dee573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614610e98576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e676e742f696e76616c69642d7065726d69740000000000000000000000000081525060200191505060405180910390fd5b6000861480610ea75750854211155b610f19576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e676e742f7065726d69742d657870697265640000000000000000000000000081525060200191505060405180910390fd5b600760008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600101919050558714610fdb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f4e676e742f696e76616c69642d6e6f6e6365000000000000000000000000000081525060200191505060405180910390fd5b600085610fe957600061100b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b90506110188a8a836112dc565b50505050505050505050565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110ba5780601f1061108f576101008083540402835291602001916110ba565b820191906000526020600020905b81548152906001019060200180831161109d57829003601f168201915b505050505081565b6110d26110cd6112d4565b611230565b611127576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180611e226030913960400191505060405180910390fd5b61113081611a8c565b50565b61114361113e6112d4565b611ae6565b565b60006112086111526112d4565b8461120385604051806060016040528060258152602001611f06602591396001600061117c6112d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117899092919063ffffffff16565b6112dc565b6001905092915050565b600061122661121f6112d4565b84846114d3565b6001905092915050565b6000611246826003611b4090919063ffffffff16565b9050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611362576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611ee26024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113e8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180611dda6022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611559576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180611ebd6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115df576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180611db76023913960400191505060405180910390fd5b61164a81604051806060016040528060268152602001611dfc602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117899092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506116dd816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461184990919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000838311158290611836576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156117fb5780820151818401526020810190506117e0565b50505050905090810190601f1680156118285780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6000808284019050838110156118c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b6119898160025461184990919063ffffffff16565b6002819055506119e0816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461184990919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b611aa0816003611c1e90919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a250565b611afa816003611cf990919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669260405160405180910390a250565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180611e9b6022913960400191505060405180910390fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c288282611b40565b15611c9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f526f6c65733a206163636f756e7420616c72656164792068617320726f6c650081525060200191505060405180910390fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b611d038282611b40565b611d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611e526021913960400191505060405180910390fd5b60008260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a7230582055aea1d85f135b4c316ab82c25452e2f376298e3692bc5f39fcb47a97fa9bc0f64736f6c634300050a00324d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c65454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429526f6c65733a206163636f756e7420697320746865207a65726f20616464726573730000000000000000000000000e6a2a5f47c5a188c65c778cd493f7d92ff8266e0000000000000000000000000000000000000000000000000000000000000001

Deployed ByteCode Sourcemap

20180:2527:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20180:2527:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20234:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;20234:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11862:152;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11862:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;10883:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21263:395;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21263:395:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;20656:108;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20318:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;20473:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13199:210;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;13199:210:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;20028:143;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20028:143:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;20351:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;20351:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11037:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11037:110:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20394:38;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20394:38:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21703:1001;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;21703:1001:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20283:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;20283:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19150:92;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;19150:92:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;19250:79;;;:::i;:::-;;13912:261;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;13912:261:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;11360:158;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11360:158:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;19033:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;19033:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;11581:134;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11581:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20234:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;11862:152::-;11928:4;11945:39;11954:12;:10;:12::i;:::-;11968:7;11977:6;11945:8;:39::i;:::-;12002:4;11995:11;;11862:152;;;;:::o;10883:91::-;10927:7;10954:12;;10947:19;;10883:91;:::o;21263:395::-;21352:4;21369:36;21379:6;21387:9;21398:6;21369:9;:36::i;:::-;21430:10;21420:20;;:6;:20;;;;:65;;;;;21482:2;21444:29;21454:6;21462:10;21444:9;:29::i;:::-;:41;;21420:65;21416:213;;;21502:115;21511:6;21519:10;21531:85;21565:6;21531:85;;;;;;;;;;;;;;;;;:29;21541:6;21549:10;21531:9;:29::i;:::-;:33;;:85;;;;;:::i;:::-;21502:8;:115::i;:::-;21416:213;21646:4;21639:11;;21263:395;;;;;:::o;20656:108::-;20698:66;20656:108;;;:::o;20318:26::-;;;;;;;;;;;;;:::o;20473:31::-;;;;:::o;13199:210::-;13279:4;13296:83;13305:12;:10;:12::i;:::-;13319:7;13328:50;13367:10;13328:11;:25;13340:12;:10;:12::i;:::-;13328:25;;;;;;;;;;;;;;;:34;13354:7;13328:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;13296:8;:83::i;:::-;13397:4;13390:11;;13199:210;;;;:::o;20028:143::-;20102:4;18930:22;18939:12;:10;:12::i;:::-;18930:8;:22::i;:::-;18922:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20119:22;20125:7;20134:6;20119:5;:22::i;:::-;20159:4;20152:11;;20028:143;;;;:::o;20351:36::-;;;;;;;;;;;;;;;;;;;:::o;11037:110::-;11094:7;11121:9;:18;11131:7;11121:18;;;;;;;;;;;;;;;;11114:25;;11037:110;;;:::o;20394:38::-;;;;;;;;;;;;;;;;;:::o;21703:1001::-;21867:14;21972:16;;20698:66;22076:15;;22118:6;22151:7;22185:5;22217:6;22250:7;22039:241;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;22039:241:0;;;22007:292;;;;;;21908:406;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;21908:406:0;;;21884:441;;;;;;21867:458;;22364:1;22346:20;;:6;:20;;;;22338:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22422:26;22432:6;22440:1;22443;22446;22422:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22422:26:0;;;;;;;;22412:36;;:6;:36;;;22404:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22501:1;22491:6;:11;:28;;;;22513:6;22506:3;:13;;22491:28;22483:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22571:6;:14;22578:6;22571:14;;;;;;;;;;;;;;;;:16;;;;;;;;;;;;22562:5;:25;22554:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22621:8;22632:7;:23;;22654:1;22632:23;;;22647:3;22632:23;22621:34;;22666:30;22675:6;22683:7;22692:3;22666:8;:30::i;:::-;21703:1001;;;;;;;;;;:::o;20283:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;19150:92::-;18930:22;18939:12;:10;:12::i;:::-;18930:8;:22::i;:::-;18922:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19215:19;19226:7;19215:10;:19::i;:::-;19150:92;:::o;19250:79::-;19294:27;19308:12;:10;:12::i;:::-;19294:13;:27::i;:::-;19250:79::o;13912:261::-;13997:4;14014:129;14023:12;:10;:12::i;:::-;14037:7;14046:96;14085:15;14046:96;;;;;;;;;;;;;;;;;:11;:25;14058:12;:10;:12::i;:::-;14046:25;;;;;;;;;;;;;;;:34;14072:7;14046:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;14014:8;:129::i;:::-;14161:4;14154:11;;13912:261;;;;:::o;11360:158::-;11429:4;11446:42;11456:12;:10;:12::i;:::-;11470:9;11481:6;11446:9;:42::i;:::-;11506:4;11499:11;;11360:158;;;;:::o;19033:109::-;19089:4;19113:21;19126:7;19113:8;:12;;:21;;;;:::i;:::-;19106:28;;19033:109;;;:::o;11581:134::-;11653:7;11680:11;:18;11692:5;11680:18;;;;;;;;;;;;;;;:27;11699:7;11680:27;;;;;;;;;;;;;;;;11673:34;;11581:134;;;;:::o;809:98::-;854:15;889:10;882:17;;809:98;:::o;16843:338::-;16954:1;16937:19;;:5;:19;;;;16929:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17035:1;17016:21;;:7;:21;;;;17008:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17119:6;17089:11;:18;17101:5;17089:18;;;;;;;;;;;;;;;:27;17108:7;17089:27;;;;;;;;;;;;;;;:36;;;;17157:7;17141:32;;17150:5;17141:32;;;17166:6;17141:32;;;;;;;;;;;;;;;;;;16843:338;;;:::o;14663:471::-;14779:1;14761:20;;:6;:20;;;;14753:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14863:1;14842:23;;:9;:23;;;;14834:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14938;14960:6;14938:71;;;;;;;;;;;;;;;;;:9;:17;14948:6;14938:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;14918:9;:17;14928:6;14918:17;;;;;;;;;;;;;;;:91;;;;15043:32;15068:6;15043:9;:20;15053:9;15043:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;15020:9;:20;15030:9;15020:20;;;;;;;;;;;;;;;:55;;;;15108:9;15091:35;;15100:6;15091:35;;;15119:6;15091:35;;;;;;;;;;;;;;;;;;14663:471;;;:::o;5733:192::-;5819:7;5852:1;5847;:6;;5855:12;5839:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;5839:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5879:9;5895:1;5891;:5;5879:17;;5916:1;5909:8;;;5733:192;;;;;:::o;4804:181::-;4862:7;4882:9;4898:1;4894;:5;4882:17;;4923:1;4918;:6;;4910:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4976:1;4969:8;;;4804:181;;;;:::o;15415:308::-;15510:1;15491:21;;:7;:21;;;;15483:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15576:24;15593:6;15576:12;;:16;;:24;;;;:::i;:::-;15561:12;:39;;;;15632:30;15655:6;15632:9;:18;15642:7;15632:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;15611:9;:18;15621:7;15611:18;;;;;;;;;;;;;;;:51;;;;15699:7;15678:37;;15695:1;15678:37;;;15708:6;15678:37;;;;;;;;;;;;;;;;;;15415:308;;:::o;19337:122::-;19394:21;19407:7;19394:8;:12;;:21;;;;:::i;:::-;19443:7;19431:20;;;;;;;;;;;;19337:122;:::o;19467:130::-;19527:24;19543:7;19527:8;:15;;:24;;;;:::i;:::-;19581:7;19567:22;;;;;;;;;;;;19467:130;:::o;18391:203::-;18463:4;18507:1;18488:21;;:7;:21;;;;18480:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18566:4;:11;;:20;18578:7;18566:20;;;;;;;;;;;;;;;;;;;;;;;;;18559:27;;18391:203;;;;:::o;17855:178::-;17933:18;17937:4;17943:7;17933:3;:18::i;:::-;17932:19;17924:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18021:4;17998;:11;;:20;18010:7;17998:20;;;;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;17855:178;;:::o;18113:183::-;18193:18;18197:4;18203:7;18193:3;:18::i;:::-;18185:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18283:5;18260:4;:11;;:20;18272:7;18260:20;;;;;;;;;;;;;;;;:28;;;;;;;;;;;;;;;;;;18113:183;;:::o

Swarm Source

bzzr://55aea1d85f135b4c316ab82c25452e2f376298e3692bc5f39fcb47a97fa9bc0f
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.