ETH Price: $2,963.99 (-1.43%)
Gas: 5 Gwei

Contract

0xB528e8bb2DcB99cFdeA4C28bf44925eF58AB1520
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0x60806040131943292021-09-09 22:41:03964 days ago1631227263IN
 Create: RariGovernanceToken
0 ETH0.2446314992

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RariGovernanceToken

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : RariGovernanceToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.5.17;

import "@openzeppelin/upgrades/contracts/Initializable.sol";
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20Detailed.sol";
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20Burnable.sol";
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20Pausable.sol";
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/SafeERC20.sol";

/**
 * @title RariGovernanceToken
 * @author David Lucid <[email protected]> (https://github.com/davidlucid)
 * @notice RariGovernanceToken is the contract behind the Rari Governance Token (RGT), an ERC20 token accounting for the ownership of Rari Stable Pool, Yield Pool, and Ethereum Pool.
 */
contract RariGovernanceToken is Initializable, ERC20, ERC20Detailed, ERC20Burnable, ERC20Pausable {
    using SafeERC20 for IERC20;

    /**
     * @dev Initializer that reserves 8.75 million RGT for liquidity mining and 1.25 million RGT to the team/advisors/etc.
     */
    function initialize(address distributor, address vesting) public initializer {
        ERC20Detailed.initialize("Rari Governance Token", "RGT", 18);
        ERC20Pausable.initialize(msg.sender);
        _mint(distributor, 8750000 * (10 ** uint256(decimals())));
        _mint(vesting, 1250000 * (10 ** uint256(decimals())));
    }

    /**
     * @dev Boolean indicating if this RariFundToken contract has been deployed at least `v1.4.0` or upgraded to at least `v1.4.0`.
     */
    bool private upgraded1;

    /**
     * @dev Boolean indicating if this RariFundToken contract has been deployed at least `v1.4.0` or upgraded to at least `v1.4.0`.
     */
    bool private upgraded2;

    /**
     * @dev Upgrades RariGovernanceToken from `v1.3.0` to `v1.4.0`.
     */
    function upgrade2() external onlyPauser {
        require(!upgraded2, "Already upgraded.");
        _mint(msg.sender, 2500000 * (10 ** uint256(decimals())));
        upgraded2 = true;
    }

    /**
     * @dev Forwards tokens accidentally sent to this contract to the specified address.
     * At no point in time should this contract hold any tokens.
     * @param erc20Contract The ERC20 contract address of the token to forward.
     * @param to The destination address to which the funds will be forwarded.
     * @param amount Amount of tokens to forward.
     */
    function sweepLostFunds(address erc20Contract, address to, uint256 amount) external onlyPauser {
        IERC20(erc20Contract).safeTransfer(to, amount);
    }

    /**
     * @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);
        _moveDelegates(delegates[_msgSender()], delegates[recipient], safe96(amount, "RGT::transfer: amount exceeds 96 bits"));
        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);
        _moveDelegates(delegates[sender], delegates[recipient], safe96(amount, "RGT::transferFrom: amount exceeds 96 bits"));
        _approve(sender, _msgSender(), allowance(sender, _msgSender()).sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }
    
    /// @notice A record of each accounts delegate
    mapping (address => address) public delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint96 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) public {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) public {
        bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this)));
        bytes32 structHash = keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry));
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "RGT::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "RGT::delegateBySig: invalid nonce");
        require(now <= expiry, "RGT::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account) external view returns (uint96) {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber) public view returns (uint96) {
        require(blockNumber < block.number, "RGT::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee) internal {
        address currentDelegate = delegates[delegator];
        uint96 delegatorBalance = safe96(balanceOf(delegator), "RGT::_delegate: balance exceeds 96 bits");
        delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint96 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint96 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint96 srcRepNew = sub96(srcRepOld, amount, "RGT::_moveVotes: vote amount underflows");
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint96 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint96 dstRepNew = add96(dstRepOld, amount, "RGT::_moveVotes: vote amount overflows");
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(address delegatee, uint32 nCheckpoints, uint96 oldVotes, uint96 newVotes) internal {
      uint32 blockNumber = safe32(block.number, "RGT::_writeCheckpoint: block number exceeds 32 bits");

      if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
          checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
      } else {
          checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
          numCheckpoints[delegatee] = nCheckpoints + 1;
      }

      emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function safe96(uint n, string memory errorMessage) internal pure returns (uint96) {
        require(n < 2**96, errorMessage);
        return uint96(n);
    }

    function add96(uint96 a, uint96 b, string memory errorMessage) internal pure returns (uint96) {
        uint96 c = a + b;
        require(c >= a, errorMessage);
        return c;
    }

    function sub96(uint96 a, uint96 b, string memory errorMessage) internal pure returns (uint96) {
        require(b <= a, errorMessage);
        return a - b;
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

File 3 of 14 : Context.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";

/*
 * @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 is Initializable {
    // 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;
    }
}

File 4 of 14 : Roles.sol
pragma solidity ^0.5.0;

/**
 * @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];
    }
}

File 5 of 14 : PauserRole.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";

import "../../GSN/Context.sol";
import "../Roles.sol";

contract PauserRole is Initializable, Context {
    using Roles for Roles.Role;

    event PauserAdded(address indexed account);
    event PauserRemoved(address indexed account);

    Roles.Role private _pausers;

    function initialize(address sender) public initializer {
        if (!isPauser(sender)) {
            _addPauser(sender);
        }
    }

    modifier onlyPauser() {
        require(isPauser(_msgSender()), "PauserRole: caller does not have the Pauser role");
        _;
    }

    function isPauser(address account) public view returns (bool) {
        return _pausers.has(account);
    }

    function addPauser(address account) public onlyPauser {
        _addPauser(account);
    }

    function renouncePauser() public {
        _removePauser(_msgSender());
    }

    function _addPauser(address account) internal {
        _pausers.add(account);
        emit PauserAdded(account);
    }

    function _removePauser(address account) internal {
        _pausers.remove(account);
        emit PauserRemoved(account);
    }

    uint256[50] private ______gap;
}

File 6 of 14 : Pausable.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";

import "../GSN/Context.sol";
import "../access/roles/PauserRole.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
contract Pausable is Initializable, Context, PauserRole {
    /**
     * @dev Emitted when the pause is triggered by a pauser (`account`).
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by a pauser (`account`).
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state. Assigns the Pauser role
     * to the deployer.
     */
    function initialize(address sender) public initializer {
        PauserRole.initialize(sender);

        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     */
    modifier whenNotPaused() {
        require(!_paused, "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     */
    modifier whenPaused() {
        require(_paused, "Pausable: not paused");
        _;
    }

    /**
     * @dev Called by a pauser to pause, triggers stopped state.
     */
    function pause() public onlyPauser whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Called by a pauser to unpause, returns to normal state.
     */
    function unpause() public onlyPauser whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }

    uint256[50] private ______gap;
}

File 7 of 14 : SafeMath.sol
pragma solidity ^0.5.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, 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;
    }
}

File 8 of 14 : ERC20.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";

import "../../GSN/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.sol";

/**
 * @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 Initializable, 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"));
    }

    uint256[50] private ______gap;
}

File 9 of 14 : ERC20Burnable.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";

import "../../GSN/Context.sol";
import "./ERC20.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
contract ERC20Burnable is Initializable, Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev See {ERC20-_burnFrom}.
     */
    function burnFrom(address account, uint256 amount) public {
        _burnFrom(account, amount);
    }

    uint256[50] private ______gap;
}

File 10 of 14 : ERC20Detailed.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";
import "./IERC20.sol";

/**
 * @dev Optional functions from the ERC20 standard.
 */
contract ERC20Detailed is Initializable, IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of
     * these values are immutable: they can only be set once during
     * construction.
     */
    function initialize(string memory name, string memory symbol, uint8 decimals) public initializer {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view 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.
     *
     * 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 returns (uint8) {
        return _decimals;
    }

    uint256[50] private ______gap;
}

File 11 of 14 : ERC20Pausable.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";
import "./ERC20.sol";
import "../../lifecycle/Pausable.sol";

/**
 * @title Pausable token
 * @dev ERC20 with pausable transfers and allowances.
 *
 * Useful if you want to stop trades until the end of a crowdsale, or have
 * an emergency switch for freezing all token transfers in the event of a large
 * bug.
 */
contract ERC20Pausable is Initializable, ERC20, Pausable {
    function initialize(address sender) public initializer {
        Pausable.initialize(sender);
    }

    function transfer(address to, uint256 value) public whenNotPaused returns (bool) {
        return super.transfer(to, value);
    }

    function transferFrom(address from, address to, uint256 value) public whenNotPaused returns (bool) {
        return super.transferFrom(from, to, value);
    }

    function approve(address spender, uint256 value) public whenNotPaused returns (bool) {
        return super.approve(spender, value);
    }

    function increaseAllowance(address spender, uint256 addedValue) public whenNotPaused returns (bool) {
        return super.increaseAllowance(spender, addedValue);
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public whenNotPaused returns (bool) {
        return super.decreaseAllowance(spender, subtractedValue);
    }

    uint256[50] private ______gap;
}

File 12 of 14 : IERC20.sol
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);
}

File 13 of 14 : SafeERC20.sol
pragma solidity ^0.5.0;

import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 14 of 14 : Address.sol
pragma solidity ^0.5.5;

/**
 * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

File 15 of 14 : Initializable.sol
pragma solidity >=0.4.24 <0.7.0;


/**
 * @title Initializable
 *
 * @dev Helper contract to support initializer functions. To use it, replace
 * the constructor with a function that has the `initializer` modifier.
 * WARNING: Unlike constructors, initializer functions must be manually
 * invoked. This applies both to deploying an Initializable contract, as well
 * as extending an Initializable contract via inheritance.
 * WARNING: When used with inheritance, manual care must be taken to not invoke
 * a parent initializer twice, or ensure that all initializers are idempotent,
 * because this is not dealt with automatically as with constructors.
 */
contract Initializable {

  /**
   * @dev Indicates that the contract has been initialized.
   */
  bool private initialized;

  /**
   * @dev Indicates that the contract is in the process of being initialized.
   */
  bool private initializing;

  /**
   * @dev Modifier to use in the initializer function of a contract.
   */
  modifier initializer() {
    require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");

    bool isTopLevelCall = !initializing;
    if (isTopLevelCall) {
      initializing = true;
      initialized = true;
    }

    _;

    if (isTopLevelCall) {
      initializing = false;
    }
  }

  /// @dev Returns true if and only if the function is running in the constructor
  function isConstructor() private view returns (bool) {
    // extcodesize checks the size of the code stored in an address, and
    // address returns the current address. Since the code is still not
    // deployed when running a constructor, any checks on its code size will
    // yield zero, making it an effective way to detect if a contract is
    // under construction or not.
    address self = address(this);
    uint256 cs;
    assembly { cs := extcodesize(self) }
    return cs == 0;
  }

  // Reserved storage space to allow for layout changes in the future.
  uint256[50] private ______gap;
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"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":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserRemoved","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"constant":true,"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint96","name":"votes","type":"uint96"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"distributor","type":"address"},{"internalType":"address","name":"vesting","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPauser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"erc20Contract","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"sweepLostFunds","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"upgrade2","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

6080604052612f21806100136000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80636ef8d66d1161011a57806395d89b41116100ad578063c3cda5201161007c578063c3cda5201461077c578063c4d66de8146107c3578063dd62ed3e146107e9578063e7a324dc14610817578063f1127ed81461081f57610206565b806395d89b41146106f6578063a457c2d7146106fe578063a9059cbb1461072a578063b4b5ea571461075657610206565b806379cc6790116100e957806379cc6790146106765780637ecebe00146106a257806382dc1ec4146106c85780638456cb59146106ee57610206565b80636ef8d66d146105c15780636fcfff45146105c957806370a0823114610608578063782d6fe11461062e57610206565b80633f4ba83a1161019d5780634cabdbfb1161016c5780634cabdbfb14610513578063587cde1e1461051b5780635c19a95c1461055d5780635c975abb146105835780636082af941461058b57610206565b80633f4ba83a1461049a57806342966c68146104a257806346fbf68e146104bf578063485cc955146104e557610206565b806320606b70116101d957806320606b701461041257806323b872dd1461041a578063313ce56714610450578063395093511461046e57610206565b806306fdde031461020b578063095ea7b3146102885780631624f6c6146102c857806318160ddd146103f8575b600080fd5b610213610879565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024d578181015183820152602001610235565b50505050905090810190601f16801561027a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b46004803603604081101561029e57600080fd5b506001600160a01b038135169060200135610910565b604080519115158252519081900360200190f35b6103f6600480360360608110156102de57600080fd5b810190602081018135600160201b8111156102f857600080fd5b82018360208201111561030a57600080fd5b803590602001918460018302840111600160201b8311171561032b57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561037d57600080fd5b82018360208201111561038f57600080fd5b803590602001918460018302840111600160201b831117156103b057600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff1691506109729050565b005b610400610a4e565b60408051918252519081900360200190f35b610400610a54565b6102b46004803603606081101561043057600080fd5b506001600160a01b03813581169160208101359091169060400135610a6f565b610458610b2e565b6040805160ff9092168252519081900360200190f35b6102b46004803603604081101561048457600080fd5b506001600160a01b038135169060200135610b37565b6103f6610b90565b6103f6600480360360208110156104b857600080fd5b5035610c7b565b6102b4600480360360208110156104d557600080fd5b50356001600160a01b0316610c8f565b6103f6600480360360408110156104fb57600080fd5b506001600160a01b0381358116916020013516610ca2565b6103f6610ddb565b6105416004803603602081101561053157600080fd5b50356001600160a01b0316610ea1565b604080516001600160a01b039092168252519081900360200190f35b6103f66004803603602081101561057357600080fd5b50356001600160a01b0316610ebd565b6102b4610ec7565b6103f6600480360360608110156105a157600080fd5b506001600160a01b03813581169160208101359091169060400135610ed1565b6103f6610f31565b6105ef600480360360208110156105df57600080fd5b50356001600160a01b0316610f43565b6040805163ffffffff9092168252519081900360200190f35b6104006004803603602081101561061e57600080fd5b50356001600160a01b0316610f5c565b61065a6004803603604081101561064457600080fd5b506001600160a01b038135169060200135610f77565b604080516001600160601b039092168252519081900360200190f35b6103f66004803603604081101561068c57600080fd5b506001600160a01b0381351690602001356111aa565b610400600480360360208110156106b857600080fd5b50356001600160a01b03166111b8565b6103f6600480360360208110156106de57600080fd5b50356001600160a01b03166111cb565b6103f661121a565b6102136112e3565b6102b46004803603604081101561071457600080fd5b506001600160a01b038135169060200135611344565b6102b46004803603604081101561074057600080fd5b506001600160a01b03813516906020013561139d565b61065a6004803603602081101561076c57600080fd5b50356001600160a01b0316611422565b6103f6600480360360c081101561079257600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135611495565b6103f6600480360360208110156107d957600080fd5b50356001600160a01b031661170c565b610400600480360360408110156107ff57600080fd5b506001600160a01b03813581169160200135166117b7565b6104006117e2565b6108516004803603604081101561083557600080fd5b5080356001600160a01b0316906020013563ffffffff166117fd565b6040805163ffffffff90931683526001600160601b0390911660208301528051918290030190f35b60688054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109055780601f106108da57610100808354040283529160200191610905565b820191906000526020600020905b8154815290600101906020018083116108e857829003601f168201915b505050505090505b90565b6101025460009060ff161561095f576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6109698383611833565b90505b92915050565b600054610100900460ff168061098b575061098b611847565b80610999575060005460ff16155b6109d45760405162461bcd60e51b815260040180806020018281038252602e815260200180612c72602e913960400191505060405180910390fd5b600054610100900460ff161580156109ff576000805460ff1961ff0019909116610100171660011790555b8351610a12906068906020870190612a07565b508251610a26906069906020860190612a07565b50606a805460ff191660ff84161790558015610a48576000805461ff00191690555b50505050565b60355490565b604051806043612bbc82396043019050604051809103902081565b6000610a7c84848461184d565b6001600160a01b0380851660009081526101686020908152604080832054878516845292819020548151606081019092526029808352610ad895948516949190911692610ad39288929091612c27908301396119ab565b611a45565b610b2484610ae4611bdb565b610b1f85604051806060016040528060288152602001612bff60289139610b128a610b0d611bdb565b6117b7565b919063ffffffff611bdf16565b611c39565b5060019392505050565b606a5460ff1690565b6101025460009060ff1615610b86576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6109698383611d25565b610ba0610b9b611bdb565b610c8f565b610bdb5760405162461bcd60e51b8152600401808060200182810382526030815260200180612afc6030913960400191505060405180910390fd5b6101025460ff16610c2a576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b610102805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610c5e611bdb565b604080516001600160a01b039092168252519081900360200190a1565b610c8c610c86611bdb565b82611d79565b50565b600061096c60cf8363ffffffff611e7516565b600054610100900460ff1680610cbb5750610cbb611847565b80610cc9575060005460ff16155b610d045760405162461bcd60e51b815260040180806020018281038252602e815260200180612c72602e913960400191505060405180910390fd5b600054610100900460ff16158015610d2f576000805460ff1961ff0019909116610100171660011790555b610d83604051806040016040528060158152602001742930b9349023b7bb32b93730b731b2902a37b5b2b760591b815250604051806040016040528060038152602001621491d560ea1b8152506012610972565b610d8c3361170c565b610da883610d98610b2e565b60ff16600a0a628583b002611edc565b610dc482610db4610b2e565b60ff16600a0a621312d002611edc565b8015610dd6576000805461ff00191690555b505050565b610de6610b9b611bdb565b610e215760405162461bcd60e51b8152600401808060200182810382526030815260200180612afc6030913960400191505060405180910390fd5b61016754610100900460ff1615610e73576040805162461bcd60e51b815260206004820152601160248201527020b63932b0b23c903ab833b930b232b21760791b604482015290519081900360640190fd5b610e8f33610e7f610b2e565b60ff16600a0a622625a002611edc565b610167805461ff001916610100179055565b610168602052600090815260409020546001600160a01b031681565b610c8c3382611fce565b6101025460ff1690565b610edc610b9b611bdb565b610f175760405162461bcd60e51b8152600401808060200182810382526030815260200180612afc6030913960400191505060405180910390fd5b610dd66001600160a01b038416838363ffffffff61208016565b610f41610f3c611bdb565b6120d2565b565b61016a6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526033602052604090205490565b6000438210610fb75760405162461bcd60e51b8152600401808060200182810382526026815260200180612d9d6026913960400191505060405180910390fd5b6001600160a01b038316600090815261016a602052604090205463ffffffff1680610fe657600091505061096c565b6001600160a01b03841660009081526101696020908152604080832063ffffffff600019860181168552925290912054168310611064576001600160a01b0384166000908152610169602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b0316905061096c565b6001600160a01b03841660009081526101696020908152604080832083805290915290205463ffffffff168310156110a057600091505061096c565b600060001982015b8163ffffffff168163ffffffff16111561116457600282820363ffffffff160481036110d2612a85565b506001600160a01b03871660009081526101696020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b0316918101919091529087141561113f5760200151945061096c9350505050565b805163ffffffff168711156111565781935061115d565b6001820392505b50506110a8565b506001600160a01b03851660009081526101696020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b6111b4828261211a565b5050565b61016b6020526000908152604090205481565b6111d6610b9b611bdb565b6112115760405162461bcd60e51b8152600401808060200182810382526030815260200180612afc6030913960400191505060405180910390fd5b610c8c81612195565b611225610b9b611bdb565b6112605760405162461bcd60e51b8152600401808060200182810382526030815260200180612afc6030913960400191505060405180910390fd5b6101025460ff16156112ac576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610102805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610c5e611bdb565b60698054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109055780601f106108da57610100808354040283529160200191610905565b6101025460009060ff1615611393576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61096983836121dd565b60006113b16113aa611bdb565b848461184d565b61141961016860006113c1611bdb565b6001600160a01b0390811682526020808301939093526040918201600090812054888316825261016885529083902054835160608101909452602580855291831694921692610ad392889290612ec8908301396119ab565b50600192915050565b6001600160a01b038116600090815261016a602052604081205463ffffffff168061144e57600061148e565b6001600160a01b038316600090815261016960209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03165b9392505050565b60006040518080612bbc60439139604301905060405180910390206114b8610879565b805190602001206114c761224b565b3060405160200180858152602001848152602001838152602001826001600160a01b03166001600160a01b0316815260200194505050505060405160208183030381529060405280519060200120905060006040518080612e36603a91396040805191829003603a0182206020808401919091526001600160a01b038c1683830152606083018b905260808084018b90528251808503909101815260a08401835280519082012061190160f01b60c085015260c2840187905260e2808501829052835180860390910181526101028501808552815191840191909120600091829052610122860180865281905260ff8c1661014287015261016286018b905261018286018a9052935191965092945091926001926101a28083019392601f198301929081900390910190855afa158015611605573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166116575760405162461bcd60e51b8152600401808060200182810382526025815260200180612d116025913960400191505060405180910390fd5b6001600160a01b038116600090815261016b6020526040902080546001810190915589146116b65760405162461bcd60e51b8152600401808060200182810382526021815260200180612d576021913960400191505060405180910390fd5b874211156116f55760405162461bcd60e51b8152600401808060200182810382526025815260200180612d786025913960400191505060405180910390fd5b6116ff818b611fce565b505050505b505050505050565b600054610100900460ff16806117255750611725611847565b80611733575060005460ff16155b61176e5760405162461bcd60e51b815260040180806020018281038252602e815260200180612c72602e913960400191505060405180910390fd5b600054610100900460ff16158015611799576000805460ff1961ff0019909116610100171660011790555b6117a28261224f565b80156111b4576000805461ff00191690555050565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b60405180603a612e368239603a019050604051809103902081565b61016960209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6000611419611840611bdb565b8484611c39565b303b1590565b6001600160a01b0383166118925760405162461bcd60e51b8152600401808060200182810382526025815260200180612dc36025913960400191505060405180910390fd5b6001600160a01b0382166118d75760405162461bcd60e51b8152600401808060200182810382526023815260200180612ab76023913960400191505060405180910390fd5b61191a81604051806060016040528060268152602001612b4e602691396001600160a01b038616600090815260336020526040902054919063ffffffff611bdf16565b6001600160a01b03808516600090815260336020526040808220939093559084168152205461194f908263ffffffff61230516565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081600160601b8410611a3d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a025781810151838201526020016119ea565b50505050905090810190601f168015611a2f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b509192915050565b816001600160a01b0316836001600160a01b031614158015611a7057506000816001600160601b0316115b15610dd6576001600160a01b03831615611b2a576001600160a01b038316600090815261016a602052604081205463ffffffff169081611ab1576000611af1565b6001600160a01b038516600090815261016960209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b90506000611b188285604051806060016040528060278152602001612b956027913961235f565b9050611b26868484846123c4565b5050505b6001600160a01b03821615610dd6576001600160a01b038216600090815261016a602052604081205463ffffffff169081611b66576000611ba6565b6001600160a01b038416600090815261016960209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b90506000611bcd8285604051806060016040528060268152602001612ceb60269139612587565b9050611704858484846123c4565b3390565b60008184841115611c315760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611a025781810151838201526020016119ea565b505050900390565b6001600160a01b038316611c7e5760405162461bcd60e51b8152600401808060200182810382526024815260200180612de86024913960400191505060405180910390fd5b6001600160a01b038216611cc35760405162461bcd60e51b8152600401808060200182810382526022815260200180612b2c6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000611419611d32611bdb565b84610b1f8560346000611d43611bdb565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61230516565b6001600160a01b038216611dbe5760405162461bcd60e51b8152600401808060200182810382526021815260200180612d366021913960400191505060405180910390fd5b611e0181604051806060016040528060228152602001612ada602291396001600160a01b038516600090815260336020526040902054919063ffffffff611bdf16565b6001600160a01b038316600090815260336020526040902055603554611e2d908263ffffffff6125f116565b6035556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006001600160a01b038216611ebc5760405162461bcd60e51b8152600401808060200182810382526022815260200180612c506022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b038216611f37576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b603554611f4a908263ffffffff61230516565b6035556001600160a01b038216600090815260336020526040902054611f76908263ffffffff61230516565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038083166000908152610168602052604081205490911690612017611ff985610f5c565b604051806060016040528060278152602001612cc4602791396119ab565b6001600160a01b038581166000818152610168602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610a48828483611a45565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610dd6908490612633565b6120e360cf8263ffffffff6127eb16565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b6121248282611d79565b6111b482612130611bdb565b610b1f84604051806060016040528060248152602001612ca0602491396001600160a01b03881660009081526034602052604081209061216e611bdb565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611bdf16565b6121a660cf8263ffffffff61285216565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b60006114196121ea611bdb565b84610b1f85604051806060016040528060258152602001612e706025913960346000612214611bdb565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611bdf16565b4690565b600054610100900460ff16806122685750612268611847565b80612276575060005460ff16155b6122b15760405162461bcd60e51b815260040180806020018281038252602e815260200180612c72602e913960400191505060405180910390fd5b600054610100900460ff161580156122dc576000805460ff1961ff0019909116610100171660011790555b6122e5826128d3565b610102805460ff1916905580156111b4576000805461ff00191690555050565b600082820183811015610969576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000836001600160601b0316836001600160601b031611158290611c315760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611a025781810151838201526020016119ea565b60006123e843604051806060016040528060338152602001612e9560339139612976565b905060008463ffffffff1611801561243257506001600160a01b03851660009081526101696020908152604080832063ffffffff6000198901811685529252909120548282169116145b15612492576001600160a01b038516600090815261016960209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b03851602179055612533565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b16600081815261016983528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff1995861617959095169490941790955593825261016a90935292909220805460018801909316929091169190911790555b604080516001600160601b0380861682528416602082015281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6000838301826001600160601b0380871690831610156125e85760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611a025781810151838201526020016119ea565b50949350505050565b600061096983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611bdf565b612645826001600160a01b03166129cb565b612696576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106126d45780518252601f1990920191602091820191016126b5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612736576040519150601f19603f3d011682016040523d82523d6000602084013e61273b565b606091505b509150915081612792576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610a48578080602001905160208110156127ae57600080fd5b5051610a485760405162461bcd60e51b815260040180806020018281038252602a815260200180612e0c602a913960400191505060405180910390fd5b6127f58282611e75565b6128305760405162461bcd60e51b8152600401808060200182810382526021815260200180612b746021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b61285c8282611e75565b156128ae576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b600054610100900460ff16806128ec57506128ec611847565b806128fa575060005460ff16155b6129355760405162461bcd60e51b815260040180806020018281038252602e815260200180612c72602e913960400191505060405180910390fd5b600054610100900460ff16158015612960576000805460ff1961ff0019909116610100171660011790555b61296982610c8f565b6117a2576117a282612195565b600081600160201b8410611a3d5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611a025781810151838201526020016119ea565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906129ff57508115155b949350505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612a4857805160ff1916838001178555612a75565b82800160010185558215612a75579182015b82811115612a75578251825591602001919060010190612a5a565b50612a81929150612a9c565b5090565b604080518082019091526000808252602082015290565b61090d91905b80821115612a815760008155600101612aa256fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c6545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c655247543a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655247543a3a7472616e7366657246726f6d3a20616d6f756e7420657863656564732039362062697473526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e63655247543a3a5f64656c65676174653a2062616c616e6365206578636565647320393620626974735247543a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f77735247543a3a64656c656761746542795369673a20696e76616c6964207369676e617475726545524332303a206275726e2066726f6d20746865207a65726f20616464726573735247543a3a64656c656761746542795369673a20696e76616c6964206e6f6e63655247543a3a64656c656761746542795369673a207369676e617475726520657870697265645247543a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656445524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656444656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e74323536206578706972792945524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5247543a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974735247543a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473a265627a7a723158208cebf2c4510ed5f8f88a2139bc1e52e2ac06ed0761fd1eeeeed9b3e2fa0d9f5a64736f6c63430005110032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102065760003560e01c80636ef8d66d1161011a57806395d89b41116100ad578063c3cda5201161007c578063c3cda5201461077c578063c4d66de8146107c3578063dd62ed3e146107e9578063e7a324dc14610817578063f1127ed81461081f57610206565b806395d89b41146106f6578063a457c2d7146106fe578063a9059cbb1461072a578063b4b5ea571461075657610206565b806379cc6790116100e957806379cc6790146106765780637ecebe00146106a257806382dc1ec4146106c85780638456cb59146106ee57610206565b80636ef8d66d146105c15780636fcfff45146105c957806370a0823114610608578063782d6fe11461062e57610206565b80633f4ba83a1161019d5780634cabdbfb1161016c5780634cabdbfb14610513578063587cde1e1461051b5780635c19a95c1461055d5780635c975abb146105835780636082af941461058b57610206565b80633f4ba83a1461049a57806342966c68146104a257806346fbf68e146104bf578063485cc955146104e557610206565b806320606b70116101d957806320606b701461041257806323b872dd1461041a578063313ce56714610450578063395093511461046e57610206565b806306fdde031461020b578063095ea7b3146102885780631624f6c6146102c857806318160ddd146103f8575b600080fd5b610213610879565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024d578181015183820152602001610235565b50505050905090810190601f16801561027a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b46004803603604081101561029e57600080fd5b506001600160a01b038135169060200135610910565b604080519115158252519081900360200190f35b6103f6600480360360608110156102de57600080fd5b810190602081018135600160201b8111156102f857600080fd5b82018360208201111561030a57600080fd5b803590602001918460018302840111600160201b8311171561032b57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561037d57600080fd5b82018360208201111561038f57600080fd5b803590602001918460018302840111600160201b831117156103b057600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff1691506109729050565b005b610400610a4e565b60408051918252519081900360200190f35b610400610a54565b6102b46004803603606081101561043057600080fd5b506001600160a01b03813581169160208101359091169060400135610a6f565b610458610b2e565b6040805160ff9092168252519081900360200190f35b6102b46004803603604081101561048457600080fd5b506001600160a01b038135169060200135610b37565b6103f6610b90565b6103f6600480360360208110156104b857600080fd5b5035610c7b565b6102b4600480360360208110156104d557600080fd5b50356001600160a01b0316610c8f565b6103f6600480360360408110156104fb57600080fd5b506001600160a01b0381358116916020013516610ca2565b6103f6610ddb565b6105416004803603602081101561053157600080fd5b50356001600160a01b0316610ea1565b604080516001600160a01b039092168252519081900360200190f35b6103f66004803603602081101561057357600080fd5b50356001600160a01b0316610ebd565b6102b4610ec7565b6103f6600480360360608110156105a157600080fd5b506001600160a01b03813581169160208101359091169060400135610ed1565b6103f6610f31565b6105ef600480360360208110156105df57600080fd5b50356001600160a01b0316610f43565b6040805163ffffffff9092168252519081900360200190f35b6104006004803603602081101561061e57600080fd5b50356001600160a01b0316610f5c565b61065a6004803603604081101561064457600080fd5b506001600160a01b038135169060200135610f77565b604080516001600160601b039092168252519081900360200190f35b6103f66004803603604081101561068c57600080fd5b506001600160a01b0381351690602001356111aa565b610400600480360360208110156106b857600080fd5b50356001600160a01b03166111b8565b6103f6600480360360208110156106de57600080fd5b50356001600160a01b03166111cb565b6103f661121a565b6102136112e3565b6102b46004803603604081101561071457600080fd5b506001600160a01b038135169060200135611344565b6102b46004803603604081101561074057600080fd5b506001600160a01b03813516906020013561139d565b61065a6004803603602081101561076c57600080fd5b50356001600160a01b0316611422565b6103f6600480360360c081101561079257600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135611495565b6103f6600480360360208110156107d957600080fd5b50356001600160a01b031661170c565b610400600480360360408110156107ff57600080fd5b506001600160a01b03813581169160200135166117b7565b6104006117e2565b6108516004803603604081101561083557600080fd5b5080356001600160a01b0316906020013563ffffffff166117fd565b6040805163ffffffff90931683526001600160601b0390911660208301528051918290030190f35b60688054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109055780601f106108da57610100808354040283529160200191610905565b820191906000526020600020905b8154815290600101906020018083116108e857829003601f168201915b505050505090505b90565b6101025460009060ff161561095f576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6109698383611833565b90505b92915050565b600054610100900460ff168061098b575061098b611847565b80610999575060005460ff16155b6109d45760405162461bcd60e51b815260040180806020018281038252602e815260200180612c72602e913960400191505060405180910390fd5b600054610100900460ff161580156109ff576000805460ff1961ff0019909116610100171660011790555b8351610a12906068906020870190612a07565b508251610a26906069906020860190612a07565b50606a805460ff191660ff84161790558015610a48576000805461ff00191690555b50505050565b60355490565b604051806043612bbc82396043019050604051809103902081565b6000610a7c84848461184d565b6001600160a01b0380851660009081526101686020908152604080832054878516845292819020548151606081019092526029808352610ad895948516949190911692610ad39288929091612c27908301396119ab565b611a45565b610b2484610ae4611bdb565b610b1f85604051806060016040528060288152602001612bff60289139610b128a610b0d611bdb565b6117b7565b919063ffffffff611bdf16565b611c39565b5060019392505050565b606a5460ff1690565b6101025460009060ff1615610b86576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6109698383611d25565b610ba0610b9b611bdb565b610c8f565b610bdb5760405162461bcd60e51b8152600401808060200182810382526030815260200180612afc6030913960400191505060405180910390fd5b6101025460ff16610c2a576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b610102805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610c5e611bdb565b604080516001600160a01b039092168252519081900360200190a1565b610c8c610c86611bdb565b82611d79565b50565b600061096c60cf8363ffffffff611e7516565b600054610100900460ff1680610cbb5750610cbb611847565b80610cc9575060005460ff16155b610d045760405162461bcd60e51b815260040180806020018281038252602e815260200180612c72602e913960400191505060405180910390fd5b600054610100900460ff16158015610d2f576000805460ff1961ff0019909116610100171660011790555b610d83604051806040016040528060158152602001742930b9349023b7bb32b93730b731b2902a37b5b2b760591b815250604051806040016040528060038152602001621491d560ea1b8152506012610972565b610d8c3361170c565b610da883610d98610b2e565b60ff16600a0a628583b002611edc565b610dc482610db4610b2e565b60ff16600a0a621312d002611edc565b8015610dd6576000805461ff00191690555b505050565b610de6610b9b611bdb565b610e215760405162461bcd60e51b8152600401808060200182810382526030815260200180612afc6030913960400191505060405180910390fd5b61016754610100900460ff1615610e73576040805162461bcd60e51b815260206004820152601160248201527020b63932b0b23c903ab833b930b232b21760791b604482015290519081900360640190fd5b610e8f33610e7f610b2e565b60ff16600a0a622625a002611edc565b610167805461ff001916610100179055565b610168602052600090815260409020546001600160a01b031681565b610c8c3382611fce565b6101025460ff1690565b610edc610b9b611bdb565b610f175760405162461bcd60e51b8152600401808060200182810382526030815260200180612afc6030913960400191505060405180910390fd5b610dd66001600160a01b038416838363ffffffff61208016565b610f41610f3c611bdb565b6120d2565b565b61016a6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526033602052604090205490565b6000438210610fb75760405162461bcd60e51b8152600401808060200182810382526026815260200180612d9d6026913960400191505060405180910390fd5b6001600160a01b038316600090815261016a602052604090205463ffffffff1680610fe657600091505061096c565b6001600160a01b03841660009081526101696020908152604080832063ffffffff600019860181168552925290912054168310611064576001600160a01b0384166000908152610169602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b0316905061096c565b6001600160a01b03841660009081526101696020908152604080832083805290915290205463ffffffff168310156110a057600091505061096c565b600060001982015b8163ffffffff168163ffffffff16111561116457600282820363ffffffff160481036110d2612a85565b506001600160a01b03871660009081526101696020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b0316918101919091529087141561113f5760200151945061096c9350505050565b805163ffffffff168711156111565781935061115d565b6001820392505b50506110a8565b506001600160a01b03851660009081526101696020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b6111b4828261211a565b5050565b61016b6020526000908152604090205481565b6111d6610b9b611bdb565b6112115760405162461bcd60e51b8152600401808060200182810382526030815260200180612afc6030913960400191505060405180910390fd5b610c8c81612195565b611225610b9b611bdb565b6112605760405162461bcd60e51b8152600401808060200182810382526030815260200180612afc6030913960400191505060405180910390fd5b6101025460ff16156112ac576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610102805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610c5e611bdb565b60698054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109055780601f106108da57610100808354040283529160200191610905565b6101025460009060ff1615611393576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61096983836121dd565b60006113b16113aa611bdb565b848461184d565b61141961016860006113c1611bdb565b6001600160a01b0390811682526020808301939093526040918201600090812054888316825261016885529083902054835160608101909452602580855291831694921692610ad392889290612ec8908301396119ab565b50600192915050565b6001600160a01b038116600090815261016a602052604081205463ffffffff168061144e57600061148e565b6001600160a01b038316600090815261016960209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03165b9392505050565b60006040518080612bbc60439139604301905060405180910390206114b8610879565b805190602001206114c761224b565b3060405160200180858152602001848152602001838152602001826001600160a01b03166001600160a01b0316815260200194505050505060405160208183030381529060405280519060200120905060006040518080612e36603a91396040805191829003603a0182206020808401919091526001600160a01b038c1683830152606083018b905260808084018b90528251808503909101815260a08401835280519082012061190160f01b60c085015260c2840187905260e2808501829052835180860390910181526101028501808552815191840191909120600091829052610122860180865281905260ff8c1661014287015261016286018b905261018286018a9052935191965092945091926001926101a28083019392601f198301929081900390910190855afa158015611605573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166116575760405162461bcd60e51b8152600401808060200182810382526025815260200180612d116025913960400191505060405180910390fd5b6001600160a01b038116600090815261016b6020526040902080546001810190915589146116b65760405162461bcd60e51b8152600401808060200182810382526021815260200180612d576021913960400191505060405180910390fd5b874211156116f55760405162461bcd60e51b8152600401808060200182810382526025815260200180612d786025913960400191505060405180910390fd5b6116ff818b611fce565b505050505b505050505050565b600054610100900460ff16806117255750611725611847565b80611733575060005460ff16155b61176e5760405162461bcd60e51b815260040180806020018281038252602e815260200180612c72602e913960400191505060405180910390fd5b600054610100900460ff16158015611799576000805460ff1961ff0019909116610100171660011790555b6117a28261224f565b80156111b4576000805461ff00191690555050565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b60405180603a612e368239603a019050604051809103902081565b61016960209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6000611419611840611bdb565b8484611c39565b303b1590565b6001600160a01b0383166118925760405162461bcd60e51b8152600401808060200182810382526025815260200180612dc36025913960400191505060405180910390fd5b6001600160a01b0382166118d75760405162461bcd60e51b8152600401808060200182810382526023815260200180612ab76023913960400191505060405180910390fd5b61191a81604051806060016040528060268152602001612b4e602691396001600160a01b038616600090815260336020526040902054919063ffffffff611bdf16565b6001600160a01b03808516600090815260336020526040808220939093559084168152205461194f908263ffffffff61230516565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081600160601b8410611a3d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a025781810151838201526020016119ea565b50505050905090810190601f168015611a2f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b509192915050565b816001600160a01b0316836001600160a01b031614158015611a7057506000816001600160601b0316115b15610dd6576001600160a01b03831615611b2a576001600160a01b038316600090815261016a602052604081205463ffffffff169081611ab1576000611af1565b6001600160a01b038516600090815261016960209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b90506000611b188285604051806060016040528060278152602001612b956027913961235f565b9050611b26868484846123c4565b5050505b6001600160a01b03821615610dd6576001600160a01b038216600090815261016a602052604081205463ffffffff169081611b66576000611ba6565b6001600160a01b038416600090815261016960209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b90506000611bcd8285604051806060016040528060268152602001612ceb60269139612587565b9050611704858484846123c4565b3390565b60008184841115611c315760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611a025781810151838201526020016119ea565b505050900390565b6001600160a01b038316611c7e5760405162461bcd60e51b8152600401808060200182810382526024815260200180612de86024913960400191505060405180910390fd5b6001600160a01b038216611cc35760405162461bcd60e51b8152600401808060200182810382526022815260200180612b2c6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000611419611d32611bdb565b84610b1f8560346000611d43611bdb565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61230516565b6001600160a01b038216611dbe5760405162461bcd60e51b8152600401808060200182810382526021815260200180612d366021913960400191505060405180910390fd5b611e0181604051806060016040528060228152602001612ada602291396001600160a01b038516600090815260336020526040902054919063ffffffff611bdf16565b6001600160a01b038316600090815260336020526040902055603554611e2d908263ffffffff6125f116565b6035556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006001600160a01b038216611ebc5760405162461bcd60e51b8152600401808060200182810382526022815260200180612c506022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b038216611f37576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b603554611f4a908263ffffffff61230516565b6035556001600160a01b038216600090815260336020526040902054611f76908263ffffffff61230516565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038083166000908152610168602052604081205490911690612017611ff985610f5c565b604051806060016040528060278152602001612cc4602791396119ab565b6001600160a01b038581166000818152610168602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610a48828483611a45565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610dd6908490612633565b6120e360cf8263ffffffff6127eb16565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b6121248282611d79565b6111b482612130611bdb565b610b1f84604051806060016040528060248152602001612ca0602491396001600160a01b03881660009081526034602052604081209061216e611bdb565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611bdf16565b6121a660cf8263ffffffff61285216565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b60006114196121ea611bdb565b84610b1f85604051806060016040528060258152602001612e706025913960346000612214611bdb565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611bdf16565b4690565b600054610100900460ff16806122685750612268611847565b80612276575060005460ff16155b6122b15760405162461bcd60e51b815260040180806020018281038252602e815260200180612c72602e913960400191505060405180910390fd5b600054610100900460ff161580156122dc576000805460ff1961ff0019909116610100171660011790555b6122e5826128d3565b610102805460ff1916905580156111b4576000805461ff00191690555050565b600082820183811015610969576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000836001600160601b0316836001600160601b031611158290611c315760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611a025781810151838201526020016119ea565b60006123e843604051806060016040528060338152602001612e9560339139612976565b905060008463ffffffff1611801561243257506001600160a01b03851660009081526101696020908152604080832063ffffffff6000198901811685529252909120548282169116145b15612492576001600160a01b038516600090815261016960209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b03851602179055612533565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b16600081815261016983528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff1995861617959095169490941790955593825261016a90935292909220805460018801909316929091169190911790555b604080516001600160601b0380861682528416602082015281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6000838301826001600160601b0380871690831610156125e85760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611a025781810151838201526020016119ea565b50949350505050565b600061096983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611bdf565b612645826001600160a01b03166129cb565b612696576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106126d45780518252601f1990920191602091820191016126b5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612736576040519150601f19603f3d011682016040523d82523d6000602084013e61273b565b606091505b509150915081612792576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610a48578080602001905160208110156127ae57600080fd5b5051610a485760405162461bcd60e51b815260040180806020018281038252602a815260200180612e0c602a913960400191505060405180910390fd5b6127f58282611e75565b6128305760405162461bcd60e51b8152600401808060200182810382526021815260200180612b746021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b61285c8282611e75565b156128ae576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b600054610100900460ff16806128ec57506128ec611847565b806128fa575060005460ff16155b6129355760405162461bcd60e51b815260040180806020018281038252602e815260200180612c72602e913960400191505060405180910390fd5b600054610100900460ff16158015612960576000805460ff1961ff0019909116610100171660011790555b61296982610c8f565b6117a2576117a282612195565b600081600160201b8410611a3d5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611a025781810151838201526020016119ea565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906129ff57508115155b949350505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612a4857805160ff1916838001178555612a75565b82800160010185558215612a75579182015b82811115612a75578251825591602001919060010190612a5a565b50612a81929150612a9c565b5090565b604080518082019091526000808252602082015290565b61090d91905b80821115612a815760008155600101612aa256fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c6545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c655247543a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655247543a3a7472616e7366657246726f6d3a20616d6f756e7420657863656564732039362062697473526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e63655247543a3a5f64656c65676174653a2062616c616e6365206578636565647320393620626974735247543a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f77735247543a3a64656c656761746542795369673a20696e76616c6964207369676e617475726545524332303a206275726e2066726f6d20746865207a65726f20616464726573735247543a3a64656c656761746542795369673a20696e76616c6964206e6f6e63655247543a3a64656c656761746542795369673a207369676e617475726520657870697265645247543a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656445524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656444656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e74323536206578706972792945524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5247543a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974735247543a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473a265627a7a723158208cebf2c4510ed5f8f88a2139bc1e52e2ac06ed0761fd1eeeeed9b3e2fa0d9f5a64736f6c63430005110032

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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.