ETH Price: $3,440.20 (+2.16%)
Gas: 43 Gwei

Token

kWrappedEther (kwETH)
 

Overview

Max Total Supply

12.751838538148155057 kwETH

Holders

14

Total Transfers

-

Market

Fully Diluted Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
kWrappedEther

Compiler Version
v0.5.12+commit.7709ece9

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

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

pragma solidity 0.5.12;

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

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

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

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

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

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

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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

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

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

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

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

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

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

contract kRoles is Initializable {
    using Roles for Roles.Role;

    event OperatorAdded(address indexed account);
    event OperatorRemoved(address indexed account);

    Roles.Role private _operators;
    address[] public operators;

    function initialize(address _operator) public initializer {
        _addOperator(_operator);
    }

    modifier onlyOperator() {
        require(isOperator(msg.sender), "OperatorRole: caller does not have the Operator role");
        _;
    }

    function isOperator(address account) public view returns (bool) {
        return _operators.has(account);
    }

    function addOperator(address account) public onlyOperator {
        _addOperator(account);
    }

    function renounceOperator() public {
        _removeOperator(msg.sender);
    }

    function _addOperator(address account) internal {
        _operators.add(account);
        emit OperatorAdded(account);
    }

    function _removeOperator(address account) internal {
        _operators.remove(account);
        emit OperatorRemoved(account);
    }
}

contract CanReclaimTokens is kRoles {
    using SafeERC20 for ERC20;

    mapping(address => bool) private recoverableTokensBlacklist;

    function initialize(address _nextOwner) public initializer {
        kRoles.initialize(_nextOwner);
    }

    function blacklistRecoverableToken(address _token) public onlyOperator {
        recoverableTokensBlacklist[_token] = true;
    }

    /// @notice Allow the owner of the contract to recover funds accidentally
    /// sent to the contract. To withdraw ETH, the token should be set to `0x0`.
    function recoverTokens(address _token) external onlyOperator {
        require(
            !recoverableTokensBlacklist[_token],
            "CanReclaimTokens: token is not recoverable"
        );

        if (_token == address(0x0)) {
           (bool success,) = msg.sender.call.value(address(this).balance)("");
            require(success, "Transfer Failed");
        } else {
            ERC20(_token).safeTransfer(
                msg.sender,
                ERC20(_token).balanceOf(address(this))
            );
        }
    }
}

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

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;
}

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

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

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

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

    Roles.Role private _minters;

    function initialize(address sender) public initializer {
        if (!isMinter(sender)) {
            _addMinter(sender);
        }
    }

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

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

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

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

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

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

    uint256[50] private ______gap;
}

/**
 * @dev Extension of {ERC20} that adds a set of accounts with the {MinterRole},
 * which have permission to mint (create) new tokens as they see fit.
 *
 * At construction, the deployer of the contract is the only minter.
 */
contract ERC20Mintable is Initializable, ERC20, MinterRole {
    function initialize(address sender) public initializer {
        MinterRole.initialize(sender);
    }

    /**
     * @dev See {ERC20-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the {MinterRole}.
     */
    function mint(address account, uint256 amount) public onlyMinter returns (bool) {
        _mint(account, amount);
        return true;
    }

    uint256[50] private ______gap;
}

interface ERC20Detailed {
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
}

contract StandardToken is ERC20Pausable, ERC20Mintable, ERC20Burnable, CanReclaimTokens {
    string private name_;
    string private symbol_;
    uint8 private decimals_;

    event LogRenamed(string _name, string _symbol);

    function initialize(string memory name, string memory symbol, uint8 decimals) public initializer {
        // Initialize the minter and pauser roles
        ERC20Mintable.initialize(msg.sender);
        ERC20Pausable.initialize(msg.sender);
        CanReclaimTokens.initialize(msg.sender);

        name_ = name;
        symbol_ = symbol;
        decimals_ = decimals;
    }

    /// @return The name of the token.
    function name() public view returns (string memory) {
        return name_;
    }

    /// @return The symbol of the token.
    function symbol() public view returns (string memory) {
        return symbol_;
    }

    /// @return The number of decimals of the token.
    function decimals() public view returns (uint8) {
        return decimals_;
    }

    /// @param _name The new name of the token.
    /// @param _symbol Thew new symbol of the token.
    function rename(string calldata _name, string calldata _symbol) external onlyOperator {
        name_ = _name;
        symbol_ = _symbol;
        emit LogRenamed(_name, _symbol);
    }
}

contract KToken is StandardToken {
    address private underlying_;

    function initialize(string memory name, string memory symbol, uint8 decimals, address _underlying) public initializer {
        // Initialize the StandardToken
        StandardToken.initialize(name, symbol, decimals);

        underlying_ = _underlying;
    }

    /// @return The address of the underlying token.
    function underlying() public view returns (address) {
        return underlying_;
    }
}

contract kEther is KToken {
    function initialize(address _underlying) public initializer {
        KToken.initialize("kEther", "kETH", 18, _underlying);
    }
}

contract kWrappedEther is KToken {
    function initialize(address _underlying) public initializer {
        KToken.initialize("kWrappedEther", "kwETH", 18, _underlying);
    }
}

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":false,"internalType":"string","name":"_name","type":"string"},{"indexed":false,"internalType":"string","name":"_symbol","type":"string"}],"name":"LogRenamed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"OperatorAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"OperatorRemoved","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":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"address","name":"_token","type":"address"}],"name":"blacklistRecoverableToken","outputs":[],"payable":false,"stateMutability":"nonpayable","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":[],"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":"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":"_underlying","type":"address"}],"name":"initialize","outputs":[],"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"},{"internalType":"address","name":"_underlying","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","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":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"operators","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"address","name":"_token","type":"address"}],"name":"recoverTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"rename","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","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":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"underlying","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

6080604052612b23806100136000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c806370a082311161011a5780639c7c722b116100ad578063c4d66de81161007c578063c4d66de8146107a9578063dd62ed3e146107cf578063de7ea79d146107fd578063e28d490614610937578063f65d901c1461095457610206565b80639c7c722b1461066d578063a457c2d71461072b578063a9059cbb14610757578063aa271e1a1461078357610206565b806395d89b41116100e957806395d89b4114610611578063983b2d5614610619578063986502751461063f5780639870d7fe1461064757610206565b806370a082311461059157806379cc6790146105b757806382dc1ec4146105e35780638456cb591461060957610206565b8063395093511161019d57806346fbf68e1161016c57806346fbf68e146105115780635c975abb146105375780636d70f7ae1461053f5780636ef8d66d146105655780636f307dc31461056d57610206565b806339509351146104945780633f4ba83a146104c057806340c10f19146104c857806342966c68146104f457610206565b806318160ddd116101d957806318160ddd1461041e57806323b872dd146104385780632ab6f8db1461046e578063313ce5671461047657610206565b806306fdde031461020b578063095ea7b31461028857806316114acd146102c85780631624f6c6146102f0575b600080fd5b61021361097a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024d578181015183820152602001610235565b50505050905090810190601f16801561027a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b46004803603604081101561029e57600080fd5b506001600160a01b038135169060200135610a12565b604080519115158252519081900360200190f35b6102ee600480360360208110156102de57600080fd5b50356001600160a01b0316610a71565b005b6102ee6004803603606081101561030657600080fd5b810190602081018135600160201b81111561032057600080fd5b82018360208201111561033257600080fd5b803590602001918460018302840111600160201b8311171561035357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156103a557600080fd5b8201836020820111156103b757600080fd5b803590602001918460018302840111600160201b831117156103d857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff169150610c449050565b610426610d3e565b60408051918252519081900360200190f35b6102b46004803603606081101561044e57600080fd5b506001600160a01b03813581169160208101359091169060400135610d44565b6102ee610da5565b61047e610db0565b6040805160ff9092168252519081900360200190f35b6102b4600480360360408110156104aa57600080fd5b506001600160a01b038135169060200135610dba565b6102ee610e12565b6102b4600480360360408110156104de57600080fd5b506001600160a01b038135169060200135610efb565b6102ee6004803603602081101561050a57600080fd5b5035610f5b565b6102b46004803603602081101561052757600080fd5b50356001600160a01b0316610f6c565b6102b4610f85565b6102b46004803603602081101561055557600080fd5b50356001600160a01b0316610f8e565b6102ee610fa2565b610575610fb2565b604080516001600160a01b039092168252519081900360200190f35b610426600480360360208110156105a757600080fd5b50356001600160a01b0316610fc7565b6102ee600480360360408110156105cd57600080fd5b506001600160a01b038135169060200135610fe2565b6102ee600480360360208110156105f957600080fd5b50356001600160a01b0316610ff0565b6102ee61103f565b610213611106565b6102ee6004803603602081101561062f57600080fd5b50356001600160a01b0316611168565b6102ee6111b7565b6102ee6004803603602081101561065d57600080fd5b50356001600160a01b03166111c7565b6102ee6004803603604081101561068357600080fd5b810190602081018135600160201b81111561069d57600080fd5b8201836020820111156106af57600080fd5b803590602001918460018302840111600160201b831117156106d057600080fd5b919390929091602081019035600160201b8111156106ed57600080fd5b8201836020820111156106ff57600080fd5b803590602001918460018302840111600160201b8311171561072057600080fd5b509092509050611214565b6102b46004803603604081101561074157600080fd5b506001600160a01b038135169060200135611306565b6102b46004803603604081101561076d57600080fd5b506001600160a01b03813516906020013561135e565b6102b46004803603602081101561079957600080fd5b50356001600160a01b03166113b6565b6102ee600480360360208110156107bf57600080fd5b50356001600160a01b03166113ca565b610426600480360360408110156107e557600080fd5b506001600160a01b03813581169160200135166114bb565b6102ee6004803603608081101561081357600080fd5b810190602081018135600160201b81111561082d57600080fd5b82018360208201111561083f57600080fd5b803590602001918460018302840111600160201b8311171561086057600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156108b257600080fd5b8201836020820111156108c457600080fd5b803590602001918460018302840111600160201b831117156108e557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050813560ff16925050602001356001600160a01b03166114e6565b6105756004803603602081101561094d57600080fd5b50356115b8565b6102ee6004803603602081101561096a57600080fd5b50356001600160a01b03166115e0565b61019a8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a075780601f106109dc57610100808354040283529160200191610a07565b820191906000526020600020905b8154815290600101906020018083116109ea57829003601f168201915b505050505090505b90565b609b5460009060ff1615610a60576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610a6a8383611649565b9392505050565b610a7a33610f8e565b610ab55760405162461bcd60e51b81526004018080602001828103825260348152602001806129156034913960400191505060405180910390fd5b6001600160a01b0381166000908152610199602052604090205460ff1615610b0e5760405162461bcd60e51b815260040180806020018281038252602a8152602001806128c5602a913960400191505060405180910390fd5b6001600160a01b038116610bb25760405160009033903031908381818185875af1925050503d8060008114610b5f576040519150601f19603f3d011682016040523d82523d6000602084013e610b64565b606091505b5050905080610bac576040805162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8811985a5b1959608a1b604482015290519081900360640190fd5b50610c41565b604080516370a0823160e01b81523060048201529051610c419133916001600160a01b038516916370a08231916024808301926020929190829003018186803b158015610bfe57600080fd5b505afa158015610c12573d6000803e3d6000fd5b505050506040513d6020811015610c2857600080fd5b50516001600160a01b038416919063ffffffff61165d16565b50565b600054610100900460ff1680610c5d5750610c5d6116b4565b80610c6b575060005460ff16155b610ca65760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015610cd1576000805460ff1961ff0019909116610100171660011790555b610cda336116ba565b610ce333611750565b610cec336117e6565b8351610d009061019a906020870190612727565b508251610d159061019b906020860190612727565b5061019c805460ff191660ff84161790558015610d38576000805461ff00191690555b50505050565b60355490565b609b5460009060ff1615610d92576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610d9d84848461187c565b949350505050565b610dae33611909565b565b61019c5460ff1690565b609b5460009060ff1615610e08576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610a6a8383611952565b610e22610e1d6119a6565b610f6c565b610e5d5760405162461bcd60e51b81526004018080602001828103825260308152602001806128736030913960400191505060405180910390fd5b609b5460ff16610eab576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b609b805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610ede6119a6565b604080516001600160a01b039092168252519081900360200190a1565b6000610f0d610f086119a6565b6113b6565b610f485760405162461bcd60e51b81526004018080602001828103825260308152602001806129496030913960400191505060405180910390fd5b610f5283836119aa565b50600192915050565b610c41610f666119a6565b82611a9c565b6000610f7f60688363ffffffff611b9816565b92915050565b609b5460ff1690565b6000610f7f6101978363ffffffff611b9816565b610dae610fad6119a6565b611bff565b61019c5461010090046001600160a01b031690565b6001600160a01b031660009081526033602052604090205490565b610fec8282611c47565b5050565b610ffb610e1d6119a6565b6110365760405162461bcd60e51b81526004018080602001828103825260308152602001806128736030913960400191505060405180910390fd5b610c4181611c9b565b61104a610e1d6119a6565b6110855760405162461bcd60e51b81526004018080602001828103825260308152602001806128736030913960400191505060405180910390fd5b609b5460ff16156110d0576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b609b805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ede6119a6565b61019b8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a075780601f106109dc57610100808354040283529160200191610a07565b611173610f086119a6565b6111ae5760405162461bcd60e51b81526004018080602001828103825260308152602001806129496030913960400191505060405180910390fd5b610c4181611ce3565b610dae6111c26119a6565b611d2c565b6111d033610f8e565b61120b5760405162461bcd60e51b81526004018080602001828103825260348152602001806129156034913960400191505060405180910390fd5b610c4181611d75565b61121d33610f8e565b6112585760405162461bcd60e51b81526004018080602001828103825260348152602001806129156034913960400191505060405180910390fd5b61126561019a85856127a5565b5061127361019b83836127a5565b507f3a6bbdebb1dd84d073426a748d9dfb68b931d1f980245832d5a1e586f41e8e4e848484846040518080602001806020018381038352878782818152602001925080828437600083820152601f01601f191690910184810383528581526020019050858580828437600083820152604051601f909101601f19169092018290039850909650505050505050a150505050565b609b5460009060ff1615611354576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610a6a8383611dbe565b609b5460009060ff16156113ac576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610a6a8383611e2c565b6000610f7f6101008363ffffffff611b9816565b600054610100900460ff16806113e357506113e36116b4565b806113f1575060005460ff16155b61142c5760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015611457576000805460ff1961ff0019909116610100171660011790555b6114a66040518060400160405280600d81526020016c35abb930b83832b222ba3432b960991b815250604051806040016040528060058152602001640d6ee8aa8960db1b8152506012856114e6565b8015610fec576000805461ff00191690555050565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b600054610100900460ff16806114ff57506114ff6116b4565b8061150d575060005460ff16155b6115485760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015611573576000805460ff1961ff0019909116610100171660011790555b61157e858585610c44565b61019c8054610100600160a81b0319166101006001600160a01b0385160217905580156115b1576000805461ff00191690555b5050505050565b61019881815481106115c657fe5b6000918252602090912001546001600160a01b0316905081565b6115e933610f8e565b6116245760405162461bcd60e51b81526004018080602001828103825260348152602001806129156034913960400191505060405180910390fd5b6001600160a01b0316600090815261019960205260409020805460ff19166001179055565b6000610f526116566119a6565b8484611e40565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526116af908490611f2c565b505050565b303b1590565b600054610100900460ff16806116d357506116d36116b4565b806116e1575060005460ff16155b61171c5760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015611747576000805460ff1961ff0019909116610100171660011790555b6114a6826120e4565b600054610100900460ff168061176957506117696116b4565b80611777575060005460ff16155b6117b25760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff161580156117dd576000805460ff1961ff0019909116610100171660011790555b6114a682612187565b600054610100900460ff16806117ff57506117ff6116b4565b8061180d575060005460ff16155b6118485760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015611873576000805460ff1961ff0019909116610100171660011790555b6114a68261223c565b60006118898484846122d2565b6118ff846118956119a6565b6118fa8560405180606001604052806028815260200161299a602891396001600160a01b038a166000908152603460205260408120906118d36119a6565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61243016565b611e40565b5060019392505050565b61191b6101978263ffffffff6124c716565b6040516001600160a01b038216907f80c0b871b97b595b16a7741c1b06fed0c6f6f558639f18ccbce50724325dc40d90600090a250565b6000610f5261195f6119a6565b846118fa85603460006119706119a6565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61252e16565b3390565b6001600160a01b038216611a05576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b603554611a18908263ffffffff61252e16565b6035556001600160a01b038216600090815260336020526040902054611a44908263ffffffff61252e16565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216611ae15760405162461bcd60e51b8152600401808060200182810382526021815260200180612a366021913960400191505060405180910390fd5b611b2481604051806060016040528060228152602001612851602291396001600160a01b038516600090815260336020526040902054919063ffffffff61243016565b6001600160a01b038316600090815260336020526040902055603554611b50908263ffffffff61258816565b6035556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006001600160a01b038216611bdf5760405162461bcd60e51b81526004018080602001828103825260228152602001806129c26022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b611c1060688263ffffffff6124c716565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b611c518282611a9c565b610fec82611c5d6119a6565b6118fa84604051806060016040528060248152602001612a12602491396001600160a01b0388166000908152603460205260408120906118d36119a6565b611cac60688263ffffffff6125ca16565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b611cf56101008263ffffffff6125ca16565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b611d3e6101008263ffffffff6124c716565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b611d876101978263ffffffff6125ca16565b6040516001600160a01b038216907fac6fa858e9350a46cec16539926e0fde25b7629f84b5a72bffaae4df888ae86d90600090a250565b6000610f52611dcb6119a6565b846118fa85604051806060016040528060258152602001612aca6025913960346000611df56119a6565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61243016565b6000610f52611e396119a6565b84846122d2565b6001600160a01b038316611e855760405162461bcd60e51b8152600401808060200182810382526024815260200180612a7c6024913960400191505060405180910390fd5b6001600160a01b038216611eca5760405162461bcd60e51b81526004018080602001828103825260228152602001806128a36022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b611f3e826001600160a01b031661264b565b611f8f576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310611fcd5780518252601f199092019160209182019101611fae565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461202f576040519150601f19603f3d011682016040523d82523d6000602084013e612034565b606091505b50915091508161208b576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610d38578080602001905160208110156120a757600080fd5b5051610d385760405162461bcd60e51b815260040180806020018281038252602a815260200180612aa0602a913960400191505060405180910390fd5b600054610100900460ff16806120fd57506120fd6116b4565b8061210b575060005460ff16155b6121465760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015612171576000805460ff1961ff0019909116610100171660011790555b61217a826113b6565b6114a6576114a682611ce3565b600054610100900460ff16806121a057506121a06116b4565b806121ae575060005460ff16155b6121e95760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015612214576000805460ff1961ff0019909116610100171660011790555b61221d82612684565b609b805460ff191690558015610fec576000805461ff00191690555050565b600054610100900460ff168061225557506122556116b4565b80612263575060005460ff16155b61229e5760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff161580156122c9576000805460ff1961ff0019909116610100171660011790555b6114a682611d75565b6001600160a01b0383166123175760405162461bcd60e51b8152600401808060200182810382526025815260200180612a576025913960400191505060405180910390fd5b6001600160a01b03821661235c5760405162461bcd60e51b815260040180806020018281038252602381526020018061282e6023913960400191505060405180910390fd5b61239f816040518060600160405280602681526020016128ef602691396001600160a01b038616600090815260336020526040902054919063ffffffff61243016565b6001600160a01b0380851660009081526033602052604080822093909355908416815220546123d4908263ffffffff61252e16565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156124bf5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561248457818101518382015260200161246c565b50505050905090810190601f1680156124b15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6124d18282611b98565b61250c5760405162461bcd60e51b81526004018080602001828103825260218152602001806129796021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b600082820183811015610a6a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610a6a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612430565b6125d48282611b98565b15612626576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610d9d575050151592915050565b600054610100900460ff168061269d575061269d6116b4565b806126ab575060005460ff16155b6126e65760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015612711576000805460ff1961ff0019909116610100171660011790555b61271a82610f6c565b6114a6576114a682611c9b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061276857805160ff1916838001178555612795565b82800160010185558215612795579182015b8281111561279557825182559160200191906001019061277a565b506127a1929150612813565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106127e65782800160ff19823516178555612795565b82800160010185558215612795579182015b828111156127955782358255916020019190600101906127f8565b610a0f91905b808211156127a1576000815560010161281956fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c6545524332303a20617070726f766520746f20746865207a65726f206164647265737343616e5265636c61696d546f6b656e733a20746f6b656e206973206e6f74207265636f76657261626c6545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654f70657261746f72526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204f70657261746f7220726f6c654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a723158203a898adebb4c0d99d09da85f39c4e839e7362514f6a5f09f796b346eb7bb787d64736f6c634300050c0032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102065760003560e01c806370a082311161011a5780639c7c722b116100ad578063c4d66de81161007c578063c4d66de8146107a9578063dd62ed3e146107cf578063de7ea79d146107fd578063e28d490614610937578063f65d901c1461095457610206565b80639c7c722b1461066d578063a457c2d71461072b578063a9059cbb14610757578063aa271e1a1461078357610206565b806395d89b41116100e957806395d89b4114610611578063983b2d5614610619578063986502751461063f5780639870d7fe1461064757610206565b806370a082311461059157806379cc6790146105b757806382dc1ec4146105e35780638456cb591461060957610206565b8063395093511161019d57806346fbf68e1161016c57806346fbf68e146105115780635c975abb146105375780636d70f7ae1461053f5780636ef8d66d146105655780636f307dc31461056d57610206565b806339509351146104945780633f4ba83a146104c057806340c10f19146104c857806342966c68146104f457610206565b806318160ddd116101d957806318160ddd1461041e57806323b872dd146104385780632ab6f8db1461046e578063313ce5671461047657610206565b806306fdde031461020b578063095ea7b31461028857806316114acd146102c85780631624f6c6146102f0575b600080fd5b61021361097a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024d578181015183820152602001610235565b50505050905090810190601f16801561027a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b46004803603604081101561029e57600080fd5b506001600160a01b038135169060200135610a12565b604080519115158252519081900360200190f35b6102ee600480360360208110156102de57600080fd5b50356001600160a01b0316610a71565b005b6102ee6004803603606081101561030657600080fd5b810190602081018135600160201b81111561032057600080fd5b82018360208201111561033257600080fd5b803590602001918460018302840111600160201b8311171561035357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156103a557600080fd5b8201836020820111156103b757600080fd5b803590602001918460018302840111600160201b831117156103d857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff169150610c449050565b610426610d3e565b60408051918252519081900360200190f35b6102b46004803603606081101561044e57600080fd5b506001600160a01b03813581169160208101359091169060400135610d44565b6102ee610da5565b61047e610db0565b6040805160ff9092168252519081900360200190f35b6102b4600480360360408110156104aa57600080fd5b506001600160a01b038135169060200135610dba565b6102ee610e12565b6102b4600480360360408110156104de57600080fd5b506001600160a01b038135169060200135610efb565b6102ee6004803603602081101561050a57600080fd5b5035610f5b565b6102b46004803603602081101561052757600080fd5b50356001600160a01b0316610f6c565b6102b4610f85565b6102b46004803603602081101561055557600080fd5b50356001600160a01b0316610f8e565b6102ee610fa2565b610575610fb2565b604080516001600160a01b039092168252519081900360200190f35b610426600480360360208110156105a757600080fd5b50356001600160a01b0316610fc7565b6102ee600480360360408110156105cd57600080fd5b506001600160a01b038135169060200135610fe2565b6102ee600480360360208110156105f957600080fd5b50356001600160a01b0316610ff0565b6102ee61103f565b610213611106565b6102ee6004803603602081101561062f57600080fd5b50356001600160a01b0316611168565b6102ee6111b7565b6102ee6004803603602081101561065d57600080fd5b50356001600160a01b03166111c7565b6102ee6004803603604081101561068357600080fd5b810190602081018135600160201b81111561069d57600080fd5b8201836020820111156106af57600080fd5b803590602001918460018302840111600160201b831117156106d057600080fd5b919390929091602081019035600160201b8111156106ed57600080fd5b8201836020820111156106ff57600080fd5b803590602001918460018302840111600160201b8311171561072057600080fd5b509092509050611214565b6102b46004803603604081101561074157600080fd5b506001600160a01b038135169060200135611306565b6102b46004803603604081101561076d57600080fd5b506001600160a01b03813516906020013561135e565b6102b46004803603602081101561079957600080fd5b50356001600160a01b03166113b6565b6102ee600480360360208110156107bf57600080fd5b50356001600160a01b03166113ca565b610426600480360360408110156107e557600080fd5b506001600160a01b03813581169160200135166114bb565b6102ee6004803603608081101561081357600080fd5b810190602081018135600160201b81111561082d57600080fd5b82018360208201111561083f57600080fd5b803590602001918460018302840111600160201b8311171561086057600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156108b257600080fd5b8201836020820111156108c457600080fd5b803590602001918460018302840111600160201b831117156108e557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050813560ff16925050602001356001600160a01b03166114e6565b6105756004803603602081101561094d57600080fd5b50356115b8565b6102ee6004803603602081101561096a57600080fd5b50356001600160a01b03166115e0565b61019a8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a075780601f106109dc57610100808354040283529160200191610a07565b820191906000526020600020905b8154815290600101906020018083116109ea57829003601f168201915b505050505090505b90565b609b5460009060ff1615610a60576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610a6a8383611649565b9392505050565b610a7a33610f8e565b610ab55760405162461bcd60e51b81526004018080602001828103825260348152602001806129156034913960400191505060405180910390fd5b6001600160a01b0381166000908152610199602052604090205460ff1615610b0e5760405162461bcd60e51b815260040180806020018281038252602a8152602001806128c5602a913960400191505060405180910390fd5b6001600160a01b038116610bb25760405160009033903031908381818185875af1925050503d8060008114610b5f576040519150601f19603f3d011682016040523d82523d6000602084013e610b64565b606091505b5050905080610bac576040805162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8811985a5b1959608a1b604482015290519081900360640190fd5b50610c41565b604080516370a0823160e01b81523060048201529051610c419133916001600160a01b038516916370a08231916024808301926020929190829003018186803b158015610bfe57600080fd5b505afa158015610c12573d6000803e3d6000fd5b505050506040513d6020811015610c2857600080fd5b50516001600160a01b038416919063ffffffff61165d16565b50565b600054610100900460ff1680610c5d5750610c5d6116b4565b80610c6b575060005460ff16155b610ca65760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015610cd1576000805460ff1961ff0019909116610100171660011790555b610cda336116ba565b610ce333611750565b610cec336117e6565b8351610d009061019a906020870190612727565b508251610d159061019b906020860190612727565b5061019c805460ff191660ff84161790558015610d38576000805461ff00191690555b50505050565b60355490565b609b5460009060ff1615610d92576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610d9d84848461187c565b949350505050565b610dae33611909565b565b61019c5460ff1690565b609b5460009060ff1615610e08576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610a6a8383611952565b610e22610e1d6119a6565b610f6c565b610e5d5760405162461bcd60e51b81526004018080602001828103825260308152602001806128736030913960400191505060405180910390fd5b609b5460ff16610eab576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b609b805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610ede6119a6565b604080516001600160a01b039092168252519081900360200190a1565b6000610f0d610f086119a6565b6113b6565b610f485760405162461bcd60e51b81526004018080602001828103825260308152602001806129496030913960400191505060405180910390fd5b610f5283836119aa565b50600192915050565b610c41610f666119a6565b82611a9c565b6000610f7f60688363ffffffff611b9816565b92915050565b609b5460ff1690565b6000610f7f6101978363ffffffff611b9816565b610dae610fad6119a6565b611bff565b61019c5461010090046001600160a01b031690565b6001600160a01b031660009081526033602052604090205490565b610fec8282611c47565b5050565b610ffb610e1d6119a6565b6110365760405162461bcd60e51b81526004018080602001828103825260308152602001806128736030913960400191505060405180910390fd5b610c4181611c9b565b61104a610e1d6119a6565b6110855760405162461bcd60e51b81526004018080602001828103825260308152602001806128736030913960400191505060405180910390fd5b609b5460ff16156110d0576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b609b805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ede6119a6565b61019b8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a075780601f106109dc57610100808354040283529160200191610a07565b611173610f086119a6565b6111ae5760405162461bcd60e51b81526004018080602001828103825260308152602001806129496030913960400191505060405180910390fd5b610c4181611ce3565b610dae6111c26119a6565b611d2c565b6111d033610f8e565b61120b5760405162461bcd60e51b81526004018080602001828103825260348152602001806129156034913960400191505060405180910390fd5b610c4181611d75565b61121d33610f8e565b6112585760405162461bcd60e51b81526004018080602001828103825260348152602001806129156034913960400191505060405180910390fd5b61126561019a85856127a5565b5061127361019b83836127a5565b507f3a6bbdebb1dd84d073426a748d9dfb68b931d1f980245832d5a1e586f41e8e4e848484846040518080602001806020018381038352878782818152602001925080828437600083820152601f01601f191690910184810383528581526020019050858580828437600083820152604051601f909101601f19169092018290039850909650505050505050a150505050565b609b5460009060ff1615611354576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610a6a8383611dbe565b609b5460009060ff16156113ac576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610a6a8383611e2c565b6000610f7f6101008363ffffffff611b9816565b600054610100900460ff16806113e357506113e36116b4565b806113f1575060005460ff16155b61142c5760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015611457576000805460ff1961ff0019909116610100171660011790555b6114a66040518060400160405280600d81526020016c35abb930b83832b222ba3432b960991b815250604051806040016040528060058152602001640d6ee8aa8960db1b8152506012856114e6565b8015610fec576000805461ff00191690555050565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b600054610100900460ff16806114ff57506114ff6116b4565b8061150d575060005460ff16155b6115485760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015611573576000805460ff1961ff0019909116610100171660011790555b61157e858585610c44565b61019c8054610100600160a81b0319166101006001600160a01b0385160217905580156115b1576000805461ff00191690555b5050505050565b61019881815481106115c657fe5b6000918252602090912001546001600160a01b0316905081565b6115e933610f8e565b6116245760405162461bcd60e51b81526004018080602001828103825260348152602001806129156034913960400191505060405180910390fd5b6001600160a01b0316600090815261019960205260409020805460ff19166001179055565b6000610f526116566119a6565b8484611e40565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526116af908490611f2c565b505050565b303b1590565b600054610100900460ff16806116d357506116d36116b4565b806116e1575060005460ff16155b61171c5760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015611747576000805460ff1961ff0019909116610100171660011790555b6114a6826120e4565b600054610100900460ff168061176957506117696116b4565b80611777575060005460ff16155b6117b25760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff161580156117dd576000805460ff1961ff0019909116610100171660011790555b6114a682612187565b600054610100900460ff16806117ff57506117ff6116b4565b8061180d575060005460ff16155b6118485760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015611873576000805460ff1961ff0019909116610100171660011790555b6114a68261223c565b60006118898484846122d2565b6118ff846118956119a6565b6118fa8560405180606001604052806028815260200161299a602891396001600160a01b038a166000908152603460205260408120906118d36119a6565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61243016565b611e40565b5060019392505050565b61191b6101978263ffffffff6124c716565b6040516001600160a01b038216907f80c0b871b97b595b16a7741c1b06fed0c6f6f558639f18ccbce50724325dc40d90600090a250565b6000610f5261195f6119a6565b846118fa85603460006119706119a6565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61252e16565b3390565b6001600160a01b038216611a05576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b603554611a18908263ffffffff61252e16565b6035556001600160a01b038216600090815260336020526040902054611a44908263ffffffff61252e16565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216611ae15760405162461bcd60e51b8152600401808060200182810382526021815260200180612a366021913960400191505060405180910390fd5b611b2481604051806060016040528060228152602001612851602291396001600160a01b038516600090815260336020526040902054919063ffffffff61243016565b6001600160a01b038316600090815260336020526040902055603554611b50908263ffffffff61258816565b6035556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006001600160a01b038216611bdf5760405162461bcd60e51b81526004018080602001828103825260228152602001806129c26022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b611c1060688263ffffffff6124c716565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b611c518282611a9c565b610fec82611c5d6119a6565b6118fa84604051806060016040528060248152602001612a12602491396001600160a01b0388166000908152603460205260408120906118d36119a6565b611cac60688263ffffffff6125ca16565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b611cf56101008263ffffffff6125ca16565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b611d3e6101008263ffffffff6124c716565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b611d876101978263ffffffff6125ca16565b6040516001600160a01b038216907fac6fa858e9350a46cec16539926e0fde25b7629f84b5a72bffaae4df888ae86d90600090a250565b6000610f52611dcb6119a6565b846118fa85604051806060016040528060258152602001612aca6025913960346000611df56119a6565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61243016565b6000610f52611e396119a6565b84846122d2565b6001600160a01b038316611e855760405162461bcd60e51b8152600401808060200182810382526024815260200180612a7c6024913960400191505060405180910390fd5b6001600160a01b038216611eca5760405162461bcd60e51b81526004018080602001828103825260228152602001806128a36022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b611f3e826001600160a01b031661264b565b611f8f576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310611fcd5780518252601f199092019160209182019101611fae565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461202f576040519150601f19603f3d011682016040523d82523d6000602084013e612034565b606091505b50915091508161208b576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610d38578080602001905160208110156120a757600080fd5b5051610d385760405162461bcd60e51b815260040180806020018281038252602a815260200180612aa0602a913960400191505060405180910390fd5b600054610100900460ff16806120fd57506120fd6116b4565b8061210b575060005460ff16155b6121465760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015612171576000805460ff1961ff0019909116610100171660011790555b61217a826113b6565b6114a6576114a682611ce3565b600054610100900460ff16806121a057506121a06116b4565b806121ae575060005460ff16155b6121e95760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015612214576000805460ff1961ff0019909116610100171660011790555b61221d82612684565b609b805460ff191690558015610fec576000805461ff00191690555050565b600054610100900460ff168061225557506122556116b4565b80612263575060005460ff16155b61229e5760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff161580156122c9576000805460ff1961ff0019909116610100171660011790555b6114a682611d75565b6001600160a01b0383166123175760405162461bcd60e51b8152600401808060200182810382526025815260200180612a576025913960400191505060405180910390fd5b6001600160a01b03821661235c5760405162461bcd60e51b815260040180806020018281038252602381526020018061282e6023913960400191505060405180910390fd5b61239f816040518060600160405280602681526020016128ef602691396001600160a01b038616600090815260336020526040902054919063ffffffff61243016565b6001600160a01b0380851660009081526033602052604080822093909355908416815220546123d4908263ffffffff61252e16565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156124bf5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561248457818101518382015260200161246c565b50505050905090810190601f1680156124b15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6124d18282611b98565b61250c5760405162461bcd60e51b81526004018080602001828103825260218152602001806129796021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b600082820183811015610a6a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610a6a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612430565b6125d48282611b98565b15612626576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610d9d575050151592915050565b600054610100900460ff168061269d575061269d6116b4565b806126ab575060005460ff16155b6126e65760405162461bcd60e51b815260040180806020018281038252602e8152602001806129e4602e913960400191505060405180910390fd5b600054610100900460ff16158015612711576000805460ff1961ff0019909116610100171660011790555b61271a82610f6c565b6114a6576114a682611c9b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061276857805160ff1916838001178555612795565b82800160010185558215612795579182015b8281111561279557825182559160200191906001019061277a565b506127a1929150612813565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106127e65782800160ff19823516178555612795565b82800160010185558215612795579182015b828111156127955782358255916020019190600101906127f8565b610a0f91905b808211156127a1576000815560010161281956fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c6545524332303a20617070726f766520746f20746865207a65726f206164647265737343616e5265636c61696d546f6b656e733a20746f6b656e206973206e6f74207265636f76657261626c6545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654f70657261746f72526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204f70657261746f7220726f6c654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a723158203a898adebb4c0d99d09da85f39c4e839e7362514f6a5f09f796b346eb7bb787d64736f6c634300050c0032

Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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