ETH Price: $3,204.09 (+2.34%)

Token

Value ETH (vETH)
 

Overview

Max Total Supply

11,664.486111042 vETH

Holders

4,748 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
0.028240229 vETH

Value
$0.00
0x73c4ec9a0a8f85c085eb9efb67bde1fee0c7f578
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

vUSD & vETH are the base tokens of Value lending protocol and they are pegged to the USD & Ethereum price. This can be done through rebasing, the same way Ampleforth works.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
vETH

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// File: openzeppelin-eth/contracts/math/SafeMath.sol

pragma solidity ^0.5.0;


/**
 * @title SafeMath
 * @dev Math operations with safety checks that revert on error
 */
library SafeMath {

    /**
    * @dev Multiplies two numbers, reverts on overflow.
    */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

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

        return c;
    }

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

        return c;
    }

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

        return c;
    }

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

// File: zos-lib/contracts/Initializable.sol

pragma solidity >=0.5.0 <0.6.0;


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

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

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

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

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

        _;

        if (isTopLevelCall) {
            initializing = false;
        }
    }

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

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

// File: openzeppelin-eth/contracts/ownership/Ownable.sol

pragma solidity ^0.5.0;


/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable is Initializable {
    address private _owner;


    event OwnershipRenounced(address indexed previousOwner);
    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );


    /**
     * @dev The Ownable constructor sets the original `owner` of the contract to the sender
     * account.
     */
    function initialize(address sender) public initializer {
        _owner = sender;
    }

    /**
     * @return the address of the owner.
     */
    function owner() public view returns(address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(isOwner());
        _;
    }

    /**
     * @return true if `msg.sender` is the owner of the contract.
     */
    function isOwner() public view returns(bool) {
        return msg.sender == _owner;
    }

    /**
     * @dev Allows the current owner to relinquish control of the contract.
     * @notice Renouncing to ownership will leave the contract without an owner.
     * It will not be possible to call the functions with the `onlyOwner`
     * modifier anymore.
     */
    function renounceOwnership() public onlyOwner {
        emit OwnershipRenounced(_owner);
        _owner = address(0);
    }

    /**
     * @dev Allows the current owner to transfer control of the contract to a newOwner.
     * @param newOwner The address to transfer ownership to.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers control of the contract to a newOwner.
     * @param newOwner The address to transfer ownership to.
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0));
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }

    uint256[50] private ______gap;
}

// File: openzeppelin-eth/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.5.0;


/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
interface IERC20 {
    function totalSupply() external view returns (uint256);

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

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

    function transfer(address to, uint256 value) external returns (bool);

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

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

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

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

// File: openzeppelin-eth/contracts/token/ERC20/ERC20Detailed.sol

pragma solidity ^0.5.0;




/**
 * @title ERC20Detailed token
 * @dev The decimals are only for visualization purposes.
 * All the operations are done using the smallest and indivisible token unit,
 * just as on Ethereum all the operations are done in wei.
 */
contract ERC20Detailed is Initializable, IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    function initialize(string memory name, string memory symbol, uint8 decimals) public initializer {
        _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;
    }

    uint256[50] private ______gap;
}

// File: uFragments/contracts/lib/SafeMathInt.sol

/*
MIT License

Copyright (c) 2018 requestnetwork
Copyright (c) 2018 Fragments, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

pragma solidity ^0.5.0;


/**
 * @title SafeMathInt
 * @dev Math operations for int256 with overflow safety checks.
 */
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b)
    internal
    pure
    returns (int256)
    {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b)
    internal
    pure
    returns (int256)
    {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b)
    internal
    pure
    returns (int256)
    {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b)
    internal
    pure
    returns (int256)
    {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a)
    internal
    pure
    returns (int256)
    {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }
}

// File: uFragments/contracts/UFragments.sol

pragma solidity ^0.5.0;






/**
 * @title uFragments ERC20 token
 * @dev This is part of an implementation of the uFragments Ideal Money protocol.
 *      uFragments is a normal ERC20 token, but its supply can be adjusted by splitting and
 *      combining tokens proportionally across all wallets.
 *
 *      uFragment balances are internally represented with a hidden denomination, 'gons'.
 *      We support splitting the currency in expansion and combining the currency on contraction by
 *      changing the exchange rate between the hidden 'gons' and the public 'fragments'.
 */
contract vETH is ERC20Detailed, Ownable {
    // PLEASE READ BEFORE CHANGING ANY ACCOUNTING OR MATH
    // Anytime there is division, there is a risk of numerical instability from rounding errors. In
    // order to minimize this risk, we adhere to the following guidelines:
    // 1) The conversion rate adopted is the number of gons that equals 1 fragment.
    //    The inverse rate must not be used--TOTAL_GONS is always the numerator and _totalSupply is
    //    always the denominator. (i.e. If you want to convert gons to fragments instead of
    //    multiplying by the inverse rate, you should divide by the normal rate)
    // 2) Gon balances converted into Fragments are always rounded down (truncated).
    //
    // We make the following guarantees:
    // - If address 'A' transfers x Fragments to address 'B'. A's resulting external balance will
    //   be decreased by precisely x Fragments, and B's external balance will be precisely
    //   increased by x Fragments.
    //
    // We do not guarantee that the sum of all balances equals the result of calling totalSupply().
    // This is because, for any conversion function 'f()' that has non-zero rounding error,
    // f(x0) + f(x1) + ... + f(xn) is not always equal to f(x0 + x1 + ... xn).
    using SafeMath for uint256;
    using SafeMathInt for int256;

    event LogRebase(uint256 indexed epoch, uint256 totalSupply);
    event LogMonetaryPolicyUpdated(address monetaryPolicy);

    // Used for authentication
    address public monetaryPolicy;

    modifier onlyMonetaryPolicy() {
        require(msg.sender == monetaryPolicy);
        _;
    }

    bool private rebasePausedDeprecated;
    bool private tokenPausedDeprecated;

    modifier validRecipient(address to) {
        require(to != address(0x0));
        require(to != address(this));
        _;
    }

    uint256 private constant DECIMALS = 9;
    uint256 private constant MAX_UINT256 = ~uint256(0);
    uint256 private constant INITIAL_FRAGMENTS_SUPPLY = 10000 * 10**DECIMALS; // 10k (locked in this base contract)

    // TOTAL_GONS is a multiple of INITIAL_FRAGMENTS_SUPPLY so that _gonsPerFragment is an integer.
    // Use the highest value that fits in a uint256 for max granularity.
    uint256 private constant TOTAL_GONS = MAX_UINT256 - (MAX_UINT256 % INITIAL_FRAGMENTS_SUPPLY);

    // MAX_SUPPLY = maximum integer < (sqrt(4*TOTAL_GONS + 1) - 1) / 2
    uint256 private constant MAX_SUPPLY = ~uint128(0);  // (2^128) - 1

    uint256 private _totalSupply;
    uint256 private _gonsPerFragment;
    mapping(address => uint256) private _gonBalances;

    // This is denominated in Fragments, because the gons-fragments conversion might change before
    // it's fully paid.
    mapping (address => mapping (address => uint256)) private _allowedFragments;

    mapping (address => bool) public minters;

    function addMinter(address _minter) public onlyOwner {
        minters[_minter] = true;
    }

    function removeMinter(address _minter) public onlyOwner {
        minters[_minter] = false;
    }

    function mint(address account, uint amount) public {
        require(minters[msg.sender], "!minter");
        require(account != address(0x0), "ERC20: mint to the zero address");
        uint256 gonValue = amount.mul(_gonsPerFragment);
        _totalSupply = _totalSupply.add(amount);
        _gonBalances[account] = _gonBalances[account].add(gonValue);
        emit Transfer(address(0x0), account, amount);
    }

    function burn(uint amount) public {
        require(msg.sender != address(0x0), "ERC20: burn from the zero address");
        uint256 gonValue = amount.mul(_gonsPerFragment);
        _gonBalances[msg.sender] = _gonBalances[msg.sender].sub(gonValue);
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(address(0x0), msg.sender, amount);
    }

    /**
     * @param monetaryPolicy_ The address of the monetary policy contract to use for authentication.
     */
    function setMonetaryPolicy(address monetaryPolicy_)
    external
    onlyOwner
    {
        monetaryPolicy = monetaryPolicy_;
        emit LogMonetaryPolicyUpdated(monetaryPolicy_);
    }

    /**
     * @dev Notifies Fragments contract about a new rebase cycle.
     * @param supplyDelta The number of new fragment tokens to add into circulation via expansion.
     * @return The total number of fragments after the supply adjustment.
     */
    function rebase(uint256 epoch, int256 supplyDelta)
    external
    onlyMonetaryPolicy
    returns (uint256)
    {
        if (supplyDelta == 0) {
            emit LogRebase(epoch, _totalSupply);
            return _totalSupply;
        }

        if (supplyDelta < 0) {
            _totalSupply = _totalSupply.sub(uint256(supplyDelta.abs()));
        } else {
            _totalSupply = _totalSupply.add(uint256(supplyDelta));
        }

        if (_totalSupply > MAX_SUPPLY) {
            _totalSupply = MAX_SUPPLY;
        }

        _gonsPerFragment = TOTAL_GONS.div(_totalSupply);

        // From this point forward, _gonsPerFragment is taken as the source of truth.
        // We recalculate a new _totalSupply to be in agreement with the _gonsPerFragment
        // conversion rate.
        // This means our applied supplyDelta can deviate from the requested supplyDelta,
        // but this deviation is guaranteed to be < (_totalSupply^2)/(TOTAL_GONS - _totalSupply).
        //
        // In the case of _totalSupply <= MAX_UINT128 (our current supply cap), this
        // deviation is guaranteed to be < 1, so we can omit this step. If the supply cap is
        // ever increased, it must be re-included.
        // _totalSupply = TOTAL_GONS.div(_gonsPerFragment)

        emit LogRebase(epoch, _totalSupply);
        return _totalSupply;
    }

    function initialize(address owner_)
    public
    initializer
    {
        ERC20Detailed.initialize("Value ETH", "vETH", uint8(DECIMALS));
        Ownable.initialize(owner_);

        rebasePausedDeprecated = false;
        tokenPausedDeprecated = false;

        _totalSupply = INITIAL_FRAGMENTS_SUPPLY;
        _gonBalances[address(this)] = TOTAL_GONS;
        _gonsPerFragment = TOTAL_GONS.div(_totalSupply);

        emit Transfer(address(0x0), owner_, _totalSupply);
    }

    /**
     * @return The total number of fragments.
     */
    function totalSupply()
    public
    view
    returns (uint256)
    {
        return _totalSupply;
    }

    /**
     * @param who The address to query.
     * @return The balance of the specified address.
     */
    function balanceOf(address who)
    public
    view
    returns (uint256)
    {
        return _gonBalances[who].div(_gonsPerFragment);
    }

    /**
     * @dev Transfer tokens to a specified address.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     * @return True on success, false otherwise.
     */
    function transfer(address to, uint256 value)
    public
    validRecipient(to)
    returns (bool)
    {
        uint256 gonValue = value.mul(_gonsPerFragment);
        _gonBalances[msg.sender] = _gonBalances[msg.sender].sub(gonValue);
        _gonBalances[to] = _gonBalances[to].add(gonValue);
        emit Transfer(msg.sender, to, value);
        return true;
    }

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

    /**
     * @dev Transfer tokens from one address to another.
     * @param from The address you want to send tokens from.
     * @param to The address you want to transfer to.
     * @param value The amount of tokens to be transferred.
     */
    function transferFrom(address from, address to, uint256 value)
    public
    validRecipient(to)
    returns (bool)
    {
        _allowedFragments[from][msg.sender] = _allowedFragments[from][msg.sender].sub(value);

        uint256 gonValue = value.mul(_gonsPerFragment);
        _gonBalances[from] = _gonBalances[from].sub(gonValue);
        _gonBalances[to] = _gonBalances[to].add(gonValue);
        emit Transfer(from, to, value);

        return true;
    }

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of
     * msg.sender. This method is included for ERC20 compatibility.
     * increaseAllowance and decreaseAllowance should be used instead.
     * Changing an allowance with this method brings the risk that someone may transfer both
     * the old and the new allowance - if they are both greater than zero - if a transfer
     * transaction is mined before the later approve() call is mined.
     *
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     */
    function approve(address spender, uint256 value)
    public
    returns (bool)
    {
        _allowedFragments[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev Increase the amount of tokens that an owner has allowed to a spender.
     * This method should be used instead of approve() to avoid the double approval vulnerability
     * described above.
     * @param spender The address which will spend the funds.
     * @param addedValue The amount of tokens to increase the allowance by.
     */
    function increaseAllowance(address spender, uint256 addedValue)
    public
    returns (bool)
    {
        _allowedFragments[msg.sender][spender] =
        _allowedFragments[msg.sender][spender].add(addedValue);
        emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]);
        return true;
    }

    /**
     * @dev Decrease the amount of tokens that an owner has allowed to a spender.
     *
     * @param spender The address which will spend the funds.
     * @param subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue)
    public
    returns (bool)
    {
        uint256 oldValue = _allowedFragments[msg.sender][spender];
        if (subtractedValue >= oldValue) {
            _allowedFragments[msg.sender][spender] = 0;
        } else {
            _allowedFragments[msg.sender][spender] = oldValue.sub(subtractedValue);
        }
        emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]);
        return true;
    }
}

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":"address","name":"monetaryPolicy","type":"address"}],"name":"LogMonetaryPolicyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"constant":false,"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"addMinter","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":"who","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":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":"owner_","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"monetaryPolicy","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"int256","name":"supplyDelta","type":"int256"}],"name":"rebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"removeMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"monetaryPolicy_","type":"address"}],"name":"setMonetaryPolicy","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":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506115d3806100206000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80637a43e23f116100de578063983b2d5611610097578063c4d66de811610071578063c4d66de8146105a3578063dd62ed3e146105c9578063f2fde38b146105f7578063f46eccc41461061d57610173565b8063983b2d5614610525578063a457c2d71461054b578063a9059cbb1461057757610173565b80637a43e23f146104a05780638b5a6a08146104c35780638da5cb5b146104e95780638e27d7d71461050d5780638f32d59b1461051557806395d89b411461051d57610173565b8063313ce56711610130578063313ce567146103df57806339509351146103fd57806340c10f191461042957806342966c681461045557806370a0823114610472578063715018a61461049857610173565b806306fdde0314610178578063095ea7b3146101f55780631624f6c61461023557806318160ddd1461036957806323b872dd146103835780633092afd5146103b9575b600080fd5b610180610643565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102216004803603604081101561020b57600080fd5b506001600160a01b0381351690602001356106da565b604080519115158252519081900360200190f35b6103676004803603606081101561024b57600080fd5b81019060208101813564010000000081111561026657600080fd5b82018360208201111561027857600080fd5b8035906020019184600183028401116401000000008311171561029a57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156102ed57600080fd5b8201836020820111156102ff57600080fd5b8035906020019184600183028401116401000000008311171561032157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff1691506107419050565b005b61037161081d565b60408051918252519081900360200190f35b6102216004803603606081101561039957600080fd5b506001600160a01b03813581169160208101359091169060400135610823565b610367600480360360208110156103cf57600080fd5b50356001600160a01b0316610970565b6103e76109a2565b6040805160ff9092168252519081900360200190f35b6102216004803603604081101561041357600080fd5b506001600160a01b0381351690602001356109ab565b6103676004803603604081101561043f57600080fd5b506001600160a01b038135169060200135610a44565b6103676004803603602081101561046b57600080fd5b5035610b8d565b6103716004803603602081101561048857600080fd5b50356001600160a01b0316610c53565b610367610c81565b610371600480360360408110156104b657600080fd5b5080359060200135610cdc565b610367600480360360208110156104d957600080fd5b50356001600160a01b0316610e01565b6104f1610e66565b604080516001600160a01b039092168252519081900360200190f35b6104f1610e75565b610221610e84565b610180610e95565b6103676004803603602081101561053b57600080fd5b50356001600160a01b0316610ef6565b6102216004803603604081101561056157600080fd5b506001600160a01b038135169060200135610f2b565b6102216004803603604081101561058d57600080fd5b506001600160a01b03813516906020013561101a565b610367600480360360208110156105b957600080fd5b50356001600160a01b0316611100565b610371600480360360408110156105df57600080fd5b506001600160a01b0381358116916020013516611269565b6103676004803603602081101561060d57600080fd5b50356001600160a01b0316611294565b6102216004803603602081101561063357600080fd5b50356001600160a01b03166112b1565b60338054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106cf5780601f106106a4576101008083540402835291602001916106cf565b820191906000526020600020905b8154815290600101906020018083116106b257829003601f168201915b505050505090505b90565b336000818152609f602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b600054610100900460ff168061075a575061075a6112c6565b80610768575060005460ff16155b6107a35760405162461bcd60e51b815260040180806020018281038252602e815260200180611530602e913960400191505060405180910390fd5b600054610100900460ff161580156107ce576000805460ff1961ff0019909116610100171660011790555b83516107e1906033906020870190611497565b5082516107f5906034906020860190611497565b506035805460ff191660ff84161790558015610817576000805461ff00191690555b50505050565b609c5490565b6000826001600160a01b03811661083957600080fd5b6001600160a01b03811630141561084f57600080fd5b6001600160a01b0385166000908152609f60209081526040808320338452909152902054610883908463ffffffff6112cc16565b6001600160a01b0386166000908152609f60209081526040808320338452909152812091909155609d546108be90859063ffffffff6112e116565b6001600160a01b0387166000908152609e60205260409020549091506108ea908263ffffffff6112cc16565b6001600160a01b038088166000908152609e6020526040808220939093559087168152205461091f908263ffffffff61130f16565b6001600160a01b038087166000818152609e602090815260409182902094909455805188815290519193928a169260008051602061155e83398151915292918290030190a350600195945050505050565b610978610e84565b61098157600080fd5b6001600160a01b0316600090815260a060205260409020805460ff19169055565b60355460ff1690565b336000908152609f602090815260408083206001600160a01b03861684529091528120546109df908363ffffffff61130f16565b336000818152609f602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b33600090815260a0602052604090205460ff16610a92576040805162461bcd60e51b815260206004820152600760248201526610b6b4b73a32b960c91b604482015290519081900360640190fd5b6001600160a01b038216610aed576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6000610b04609d54836112e190919063ffffffff16565b609c54909150610b1a908363ffffffff61130f16565b609c556001600160a01b0383166000908152609e6020526040902054610b46908263ffffffff61130f16565b6001600160a01b0384166000818152609e6020908152604080832094909455835186815293519293919260008051602061155e8339815191529281900390910190a3505050565b33610bc95760405162461bcd60e51b815260040180806020018281038252602181526020018061157e6021913960400191505060405180910390fd5b6000610be0609d54836112e190919063ffffffff16565b336000908152609e6020526040902054909150610c03908263ffffffff6112cc16565b336000908152609e6020526040902055609c54610c26908363ffffffff6112cc16565b609c55604080518381529051339160009160008051602061155e8339815191529181900360200190a35050565b609d546001600160a01b0382166000908152609e6020526040812054909161073b919063ffffffff61132116565b610c89610e84565b610c9257600080fd5b6068546040516001600160a01b03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a2606880546001600160a01b0319169055565b609b546000906001600160a01b03163314610cf657600080fd5b81610d3c57609c54604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a250609c5461073b565b6000821215610d6857610d60610d5183611343565b609c549063ffffffff6112cc16565b609c55610d7f565b609c54610d7b908363ffffffff61130f16565b609c555b609c546001600160801b031015610d9c576001600160801b03609c555b609c54610dbc906509184e72a0006000195b06199063ffffffff61132116565b609d55609c54604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a250609c5492915050565b610e09610e84565b610e1257600080fd5b609b80546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f0e6961f1a1afb87eaf51fd64f22ddc10062e23aa7838eac5d0bdf140bfd389729181900360200190a150565b6068546001600160a01b031690565b609b546001600160a01b031681565b6068546001600160a01b0316331490565b60348054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106cf5780601f106106a4576101008083540402835291602001916106cf565b610efe610e84565b610f0757600080fd5b6001600160a01b0316600090815260a060205260409020805460ff19166001179055565b336000908152609f602090815260408083206001600160a01b0386168452909152812054808310610f7f57336000908152609f602090815260408083206001600160a01b0388168452909152812055610fb4565b610f8f818463ffffffff6112cc16565b336000908152609f602090815260408083206001600160a01b03891684529091529020555b336000818152609f602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b03811661103057600080fd5b6001600160a01b03811630141561104657600080fd5b600061105d609d54856112e190919063ffffffff16565b336000908152609e6020526040902054909150611080908263ffffffff6112cc16565b336000908152609e6020526040808220929092556001600160a01b038716815220546110b2908263ffffffff61130f16565b6001600160a01b0386166000818152609e602090815260409182902093909355805187815290519192339260008051602061155e8339815191529281900390910190a3506001949350505050565b600054610100900460ff168061111957506111196112c6565b80611127575060005460ff16155b6111625760405162461bcd60e51b815260040180806020018281038252602e815260200180611530602e913960400191505060405180910390fd5b600054610100900460ff1615801561118d576000805460ff1961ff0019909116610100171660011790555b6111d6604051806040016040528060098152602001680acc2d8eaca408aa8960bb1b815250604051806040016040528060048152602001630ec8aa8960e31b8152506009610741565b6111df8261136b565b609b805461ffff60a01b191690556509184e72a000609c818155306000908152609e602052604090206507326b47ffff1990555461121f91600019610dae565b609d55609c5460408051918252516001600160a01b0384169160009160008051602061155e8339815191529181900360200190a38015611265576000805461ff00191690555b5050565b6001600160a01b039182166000908152609f6020908152604080832093909416825291909152205490565b61129c610e84565b6112a557600080fd5b6112ae81611428565b50565b60a06020526000908152604090205460ff1681565b303b1590565b6000828211156112db57600080fd5b50900390565b6000826112f05750600061073b565b828202828482816112fd57fe5b041461130857600080fd5b9392505050565b60008282018381101561130857600080fd5b600080821161132f57600080fd5b600082848161133a57fe5b04949350505050565b6000600160ff1b82141561135657600080fd5b60008212611364578161073b565b5060000390565b600054610100900460ff168061138457506113846112c6565b80611392575060005460ff16155b6113cd5760405162461bcd60e51b815260040180806020018281038252602e815260200180611530602e913960400191505060405180910390fd5b600054610100900460ff161580156113f8576000805460ff1961ff0019909116610100171660011790555b606880546001600160a01b0319166001600160a01b0384161790558015611265576000805461ff00191690555050565b6001600160a01b03811661143b57600080fd5b6068546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606880546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106114d857805160ff1916838001178555611505565b82800160010185558215611505579182015b828111156115055782518255916020019190600101906114ea565b50611511929150611515565b5090565b6106d791905b80821115611511576000815560010161151b56fe436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef45524332303a206275726e2066726f6d20746865207a65726f2061646472657373a265627a7a72315820b2dd34317805d4c18ef63fee493c4bd5c9c670b94bb59bc84bac8ef919d5c5db64736f6c63430005110032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101735760003560e01c80637a43e23f116100de578063983b2d5611610097578063c4d66de811610071578063c4d66de8146105a3578063dd62ed3e146105c9578063f2fde38b146105f7578063f46eccc41461061d57610173565b8063983b2d5614610525578063a457c2d71461054b578063a9059cbb1461057757610173565b80637a43e23f146104a05780638b5a6a08146104c35780638da5cb5b146104e95780638e27d7d71461050d5780638f32d59b1461051557806395d89b411461051d57610173565b8063313ce56711610130578063313ce567146103df57806339509351146103fd57806340c10f191461042957806342966c681461045557806370a0823114610472578063715018a61461049857610173565b806306fdde0314610178578063095ea7b3146101f55780631624f6c61461023557806318160ddd1461036957806323b872dd146103835780633092afd5146103b9575b600080fd5b610180610643565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102216004803603604081101561020b57600080fd5b506001600160a01b0381351690602001356106da565b604080519115158252519081900360200190f35b6103676004803603606081101561024b57600080fd5b81019060208101813564010000000081111561026657600080fd5b82018360208201111561027857600080fd5b8035906020019184600183028401116401000000008311171561029a57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156102ed57600080fd5b8201836020820111156102ff57600080fd5b8035906020019184600183028401116401000000008311171561032157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff1691506107419050565b005b61037161081d565b60408051918252519081900360200190f35b6102216004803603606081101561039957600080fd5b506001600160a01b03813581169160208101359091169060400135610823565b610367600480360360208110156103cf57600080fd5b50356001600160a01b0316610970565b6103e76109a2565b6040805160ff9092168252519081900360200190f35b6102216004803603604081101561041357600080fd5b506001600160a01b0381351690602001356109ab565b6103676004803603604081101561043f57600080fd5b506001600160a01b038135169060200135610a44565b6103676004803603602081101561046b57600080fd5b5035610b8d565b6103716004803603602081101561048857600080fd5b50356001600160a01b0316610c53565b610367610c81565b610371600480360360408110156104b657600080fd5b5080359060200135610cdc565b610367600480360360208110156104d957600080fd5b50356001600160a01b0316610e01565b6104f1610e66565b604080516001600160a01b039092168252519081900360200190f35b6104f1610e75565b610221610e84565b610180610e95565b6103676004803603602081101561053b57600080fd5b50356001600160a01b0316610ef6565b6102216004803603604081101561056157600080fd5b506001600160a01b038135169060200135610f2b565b6102216004803603604081101561058d57600080fd5b506001600160a01b03813516906020013561101a565b610367600480360360208110156105b957600080fd5b50356001600160a01b0316611100565b610371600480360360408110156105df57600080fd5b506001600160a01b0381358116916020013516611269565b6103676004803603602081101561060d57600080fd5b50356001600160a01b0316611294565b6102216004803603602081101561063357600080fd5b50356001600160a01b03166112b1565b60338054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106cf5780601f106106a4576101008083540402835291602001916106cf565b820191906000526020600020905b8154815290600101906020018083116106b257829003601f168201915b505050505090505b90565b336000818152609f602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b600054610100900460ff168061075a575061075a6112c6565b80610768575060005460ff16155b6107a35760405162461bcd60e51b815260040180806020018281038252602e815260200180611530602e913960400191505060405180910390fd5b600054610100900460ff161580156107ce576000805460ff1961ff0019909116610100171660011790555b83516107e1906033906020870190611497565b5082516107f5906034906020860190611497565b506035805460ff191660ff84161790558015610817576000805461ff00191690555b50505050565b609c5490565b6000826001600160a01b03811661083957600080fd5b6001600160a01b03811630141561084f57600080fd5b6001600160a01b0385166000908152609f60209081526040808320338452909152902054610883908463ffffffff6112cc16565b6001600160a01b0386166000908152609f60209081526040808320338452909152812091909155609d546108be90859063ffffffff6112e116565b6001600160a01b0387166000908152609e60205260409020549091506108ea908263ffffffff6112cc16565b6001600160a01b038088166000908152609e6020526040808220939093559087168152205461091f908263ffffffff61130f16565b6001600160a01b038087166000818152609e602090815260409182902094909455805188815290519193928a169260008051602061155e83398151915292918290030190a350600195945050505050565b610978610e84565b61098157600080fd5b6001600160a01b0316600090815260a060205260409020805460ff19169055565b60355460ff1690565b336000908152609f602090815260408083206001600160a01b03861684529091528120546109df908363ffffffff61130f16565b336000818152609f602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b33600090815260a0602052604090205460ff16610a92576040805162461bcd60e51b815260206004820152600760248201526610b6b4b73a32b960c91b604482015290519081900360640190fd5b6001600160a01b038216610aed576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6000610b04609d54836112e190919063ffffffff16565b609c54909150610b1a908363ffffffff61130f16565b609c556001600160a01b0383166000908152609e6020526040902054610b46908263ffffffff61130f16565b6001600160a01b0384166000818152609e6020908152604080832094909455835186815293519293919260008051602061155e8339815191529281900390910190a3505050565b33610bc95760405162461bcd60e51b815260040180806020018281038252602181526020018061157e6021913960400191505060405180910390fd5b6000610be0609d54836112e190919063ffffffff16565b336000908152609e6020526040902054909150610c03908263ffffffff6112cc16565b336000908152609e6020526040902055609c54610c26908363ffffffff6112cc16565b609c55604080518381529051339160009160008051602061155e8339815191529181900360200190a35050565b609d546001600160a01b0382166000908152609e6020526040812054909161073b919063ffffffff61132116565b610c89610e84565b610c9257600080fd5b6068546040516001600160a01b03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a2606880546001600160a01b0319169055565b609b546000906001600160a01b03163314610cf657600080fd5b81610d3c57609c54604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a250609c5461073b565b6000821215610d6857610d60610d5183611343565b609c549063ffffffff6112cc16565b609c55610d7f565b609c54610d7b908363ffffffff61130f16565b609c555b609c546001600160801b031015610d9c576001600160801b03609c555b609c54610dbc906509184e72a0006000195b06199063ffffffff61132116565b609d55609c54604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a250609c5492915050565b610e09610e84565b610e1257600080fd5b609b80546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f0e6961f1a1afb87eaf51fd64f22ddc10062e23aa7838eac5d0bdf140bfd389729181900360200190a150565b6068546001600160a01b031690565b609b546001600160a01b031681565b6068546001600160a01b0316331490565b60348054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106cf5780601f106106a4576101008083540402835291602001916106cf565b610efe610e84565b610f0757600080fd5b6001600160a01b0316600090815260a060205260409020805460ff19166001179055565b336000908152609f602090815260408083206001600160a01b0386168452909152812054808310610f7f57336000908152609f602090815260408083206001600160a01b0388168452909152812055610fb4565b610f8f818463ffffffff6112cc16565b336000908152609f602090815260408083206001600160a01b03891684529091529020555b336000818152609f602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b03811661103057600080fd5b6001600160a01b03811630141561104657600080fd5b600061105d609d54856112e190919063ffffffff16565b336000908152609e6020526040902054909150611080908263ffffffff6112cc16565b336000908152609e6020526040808220929092556001600160a01b038716815220546110b2908263ffffffff61130f16565b6001600160a01b0386166000818152609e602090815260409182902093909355805187815290519192339260008051602061155e8339815191529281900390910190a3506001949350505050565b600054610100900460ff168061111957506111196112c6565b80611127575060005460ff16155b6111625760405162461bcd60e51b815260040180806020018281038252602e815260200180611530602e913960400191505060405180910390fd5b600054610100900460ff1615801561118d576000805460ff1961ff0019909116610100171660011790555b6111d6604051806040016040528060098152602001680acc2d8eaca408aa8960bb1b815250604051806040016040528060048152602001630ec8aa8960e31b8152506009610741565b6111df8261136b565b609b805461ffff60a01b191690556509184e72a000609c818155306000908152609e602052604090206507326b47ffff1990555461121f91600019610dae565b609d55609c5460408051918252516001600160a01b0384169160009160008051602061155e8339815191529181900360200190a38015611265576000805461ff00191690555b5050565b6001600160a01b039182166000908152609f6020908152604080832093909416825291909152205490565b61129c610e84565b6112a557600080fd5b6112ae81611428565b50565b60a06020526000908152604090205460ff1681565b303b1590565b6000828211156112db57600080fd5b50900390565b6000826112f05750600061073b565b828202828482816112fd57fe5b041461130857600080fd5b9392505050565b60008282018381101561130857600080fd5b600080821161132f57600080fd5b600082848161133a57fe5b04949350505050565b6000600160ff1b82141561135657600080fd5b60008212611364578161073b565b5060000390565b600054610100900460ff168061138457506113846112c6565b80611392575060005460ff16155b6113cd5760405162461bcd60e51b815260040180806020018281038252602e815260200180611530602e913960400191505060405180910390fd5b600054610100900460ff161580156113f8576000805460ff1961ff0019909116610100171660011790555b606880546001600160a01b0319166001600160a01b0384161790558015611265576000805461ff00191690555050565b6001600160a01b03811661143b57600080fd5b6068546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606880546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106114d857805160ff1916838001178555611505565b82800160010185558215611505579182015b828111156115055782518255916020019190600101906114ea565b50611511929150611515565b5090565b6106d791905b80821115611511576000815560010161151b56fe436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef45524332303a206275726e2066726f6d20746865207a65726f2061646472657373a265627a7a72315820b2dd34317805d4c18ef63fee493c4bd5c9c670b94bb59bc84bac8ef919d5c5db64736f6c63430005110032

Deployed Bytecode Sourcemap

12285:11012:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12285:11012:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8120:82;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;8120:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21599:225;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;21599:225:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;7869:186;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;7869:186:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;7869:186:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;7869:186:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;7869:186:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;7869:186:0;;;;;;;;-1:-1:-1;7869:186:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;7869:186:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;7869:186:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;7869:186:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;7869:186:0;;-1:-1:-1;;;7869:186:0;;;;;-1:-1:-1;7869:186:0;;-1:-1:-1;7869:186:0:i;:::-;;18770:111;;;:::i;:::-;;;;;;;;;;;;;;;;20482:475;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20482:475:0;;;;;;;;;;;;;;;;;:::i;15309:99::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15309:99:0;-1:-1:-1;;;;;15309:99:0;;:::i;8434:82::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22197:331;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;22197:331:0;;;;;;;;:::i;15416:420::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15416:420:0;;;;;;;;:::i;15844:367::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15844:367:0;;:::i;19002:147::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19002:147:0;-1:-1:-1;;;;;19002:147:0;;:::i;5656:126::-;;;:::i;16801:1394::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16801:1394:0;;;;;;;:::i;16339:194::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16339:194:0;-1:-1:-1;;;;;16339:194:0;;:::i;4945:78::-;;;:::i;:::-;;;;-1:-1:-1;;;;;4945:78:0;;;;;;;;;;;;;;13805:29;;;:::i;5279:91::-;;;:::i;8269:86::-;;;:::i;15206:95::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15206:95:0;-1:-1:-1;;;;;15206:95:0;;:::i;22790:504::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;22790:504:0;;;;;;;;:::i;19375:376::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;19375:376:0;;;;;;;;:::i;18203:494::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18203:494:0;-1:-1:-1;;;;;18203:494:0;;:::i;20058:162::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20058:162:0;;;;;;;;;;:::i;5959:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5959:109:0;-1:-1:-1;;;;;5959:109:0;;:::i;15157:40::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15157:40:0;-1:-1:-1;;;;;15157:40:0;;:::i;8120:82::-;8189:5;8182:12;;;;;;;;-1:-1:-1;;8182:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8156:13;;8182:12;;8189:5;;8182:12;;8189:5;8182:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8120:82;;:::o;21599:225::-;21714:10;21674:4;21696:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;21696:38:0;;;;;;;;;;;:46;;;21758:36;;;;;;;21674:4;;21696:38;;21714:10;;21758:36;;;;;;;;-1:-1:-1;21812:4:0;21599:225;;;;;:::o;7869:186::-;3042:12;;;;;;;;:31;;;3058:15;:13;:15::i;:::-;3042:47;;;-1:-1:-1;3078:11:0;;;;3077:12;3042:47;3034:106;;;;-1:-1:-1;;;3034:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3153:19;3176:12;;;;;;3175:13;3199:99;;;;3234:12;:19;;-1:-1:-1;;;;3234:19:0;;;;;3268:18;3249:4;3268:18;;;3199:99;7977:12;;;;:5;;:12;;;;;:::i;:::-;-1:-1:-1;8000:16:0;;;;:7;;:16;;;;;:::i;:::-;-1:-1:-1;8027:9:0;:20;;-1:-1:-1;;8027:20:0;;;;;;;3324:67;;;;3374:5;3359:20;;-1:-1:-1;;3359:20:0;;;3324:67;7869:186;;;;:::o;18770:111::-;18861:12;;18770:111;:::o;20482:475::-;20595:4;20577:2;-1:-1:-1;;;;;14089:18:0;;14081:27;;;;;;-1:-1:-1;;;;;14127:19:0;;14141:4;14127:19;;14119:28;;;;;;-1:-1:-1;;;;;20655:23:0;;;;;;:17;:23;;;;;;;;20679:10;20655:35;;;;;;;;:46;;20695:5;20655:46;:39;:46;:::i;:::-;-1:-1:-1;;;;;20617:23:0;;;;;;:17;:23;;;;;;;;20641:10;20617:35;;;;;;;:84;;;;20743:16;;20733:27;;:5;;:27;:9;:27;:::i;:::-;-1:-1:-1;;;;;20792:18:0;;;;;;:12;:18;;;;;;20714:46;;-1:-1:-1;20792:32:0;;20714:46;20792:32;:22;:32;:::i;:::-;-1:-1:-1;;;;;20771:18:0;;;;;;;:12;:18;;;;;;:53;;;;20854:16;;;;;;;:30;;20875:8;20854:30;:20;:30;:::i;:::-;-1:-1:-1;;;;;20835:16:0;;;;;;;:12;:16;;;;;;;;;:49;;;;20900:25;;;;;;;20835:16;;20900:25;;;;-1:-1:-1;;;;;;;;;;;20900:25:0;;;;;;;;-1:-1:-1;20945:4:0;;20482:475;-1:-1:-1;;;;;20482:475:0:o;15309:99::-;5156:9;:7;:9::i;:::-;5148:18;;;;;;-1:-1:-1;;;;;15376:16:0;15395:5;15376:16;;;:7;:16;;;;;:24;;-1:-1:-1;;15376:24:0;;;15309:99::o;8434:82::-;8499:9;;;;8434:82;:::o;22197:331::-;22377:10;22287:4;22359:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;22359:38:0;;;;;;;;;;:54;;22402:10;22359:54;:42;:54;:::i;:::-;22327:10;22309:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;22309:38:0;;;;;;;;;;;;:104;;;22429:69;;;;;;22309:38;;22429:69;;;;;;;;;;;-1:-1:-1;22516:4:0;22197:331;;;;:::o;15416:420::-;15494:10;15486:19;;;;:7;:19;;;;;;;;15478:39;;;;;-1:-1:-1;;;15478:39:0;;;;;;;;;;;;-1:-1:-1;;;15478:39:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;15536:23:0;;15528:67;;;;;-1:-1:-1;;;15528:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15606:16;15625:28;15636:16;;15625:6;:10;;:28;;;;:::i;:::-;15679:12;;15606:47;;-1:-1:-1;15679:24:0;;15696:6;15679:24;:16;:24;:::i;:::-;15664:12;:39;-1:-1:-1;;;;;15738:21:0;;;;;;:12;:21;;;;;;:35;;15764:8;15738:35;:25;:35;:::i;:::-;-1:-1:-1;;;;;15714:21:0;;;;;;:12;:21;;;;;;;;:59;;;;15789:39;;;;;;;15714:21;;;;-1:-1:-1;;;;;;;;;;;15789:39:0;;;;;;;;;15416:420;;;:::o;15844:367::-;15897:10;15889:72;;;;-1:-1:-1;;;15889:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15972:16;15991:28;16002:16;;15991:6;:10;;:28;;;;:::i;:::-;16070:10;16057:24;;;;:12;:24;;;;;;15972:47;;-1:-1:-1;16057:38:0;;15972:47;16057:38;:28;:38;:::i;:::-;16043:10;16030:24;;;;:12;:24;;;;;:65;16121:12;;:24;;16138:6;16121:24;:16;:24;:::i;:::-;16106:12;:39;16161:42;;;;;;;;16184:10;;16178:3;;-1:-1:-1;;;;;;;;;;;16161:42:0;;;;;;;;15844:367;;:::o;19002:147::-;19124:16;;-1:-1:-1;;;;;19102:17:0;;19070:7;19102:17;;;:12;:17;;;;;;19070:7;;19102:39;;:17;:39;:21;:39;:::i;5656:126::-;5156:9;:7;:9::i;:::-;5148:18;;;;;;5737:6;;5718:26;;-1:-1:-1;;;;;5737:6:0;;;;5718:26;;5737:6;;5718:26;5755:6;:19;;-1:-1:-1;;;;;;5755:19:0;;;5656:126::o;16801:1394::-;13906:14;;16904:7;;-1:-1:-1;;;;;13906:14:0;13892:10;:28;13884:37;;;;;;16933:16;16929:118;;16988:12;;16971:30;;;;;;;16981:5;;16971:30;;;;;;;;;;-1:-1:-1;17023:12:0;;17016:19;;16929:118;17077:1;17063:11;:15;17059:193;;;17110:44;17135:17;:11;:15;:17::i;:::-;17110:12;;;:44;:16;:44;:::i;:::-;17095:12;:59;17059:193;;;17202:12;;:38;;17227:11;17202:38;:16;:38;:::i;:::-;17187:12;:53;17059:193;17268:12;;-1:-1:-1;;;;;;17264:83:0;;;-1:-1:-1;;;;;17310:12:0;:25;17264:83;17393:12;;17378:28;;14328:20;-1:-1:-1;;14623:38:0;;14608:54;;17378:28;:14;:28;:::i;:::-;17359:16;:47;18144:12;;18127:30;;;;;;;18137:5;;18127:30;;;;;;;;;;-1:-1:-1;18175:12:0;;16801:1394;;;;:::o;16339:194::-;5156:9;:7;:9::i;:::-;5148:18;;;;;;16436:14;:32;;-1:-1:-1;;;;;16436:32:0;;-1:-1:-1;;;;;;16436:32:0;;;;;;;;16484:41;;;;;;;;;;;;;;;;16339:194;:::o;4945:78::-;5009:6;;-1:-1:-1;;;;;5009:6:0;4945:78;:::o;13805:29::-;;;-1:-1:-1;;;;;13805:29:0;;:::o;5279:91::-;5356:6;;-1:-1:-1;;;;;5356:6:0;5342:10;:20;;5279:91::o;8269:86::-;8340:7;8333:14;;;;;;;;-1:-1:-1;;8333:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8307:13;;8333:14;;8340:7;;8333:14;;8340:7;8333:14;;;;;;;;;;;;;;;;;;;;;;;;15206:95;5156:9;:7;:9::i;:::-;5148:18;;;;;;-1:-1:-1;;;;;15270:16:0;;;;;:7;:16;;;;;:23;;-1:-1:-1;;15270:23:0;15289:4;15270:23;;;15206:95::o;22790:504::-;22944:10;22885:4;22926:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;22926:38:0;;;;;;;;;;22979:27;;;22975:205;;23041:10;23064:1;23023:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;23023:38:0;;;;;;;;;:42;22975:205;;;23139:29;:8;23152:15;23139:29;:12;:29;:::i;:::-;23116:10;23098:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;23098:38:0;;;;;;;;;:70;22975:205;23204:10;23225:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;23195:69:0;;23225:38;;;;;;;;;;;23195:69;;;;;;;;;23204:10;23195:69;;;;;;;;;;;-1:-1:-1;23282:4:0;;22790:504;-1:-1:-1;;;22790:504:0:o;19375:376::-;19470:4;19452:2;-1:-1:-1;;;;;14089:18:0;;14081:27;;;;;;-1:-1:-1;;;;;14127:19:0;;14141:4;14127:19;;14119:28;;;;;;19492:16;19511:27;19521:16;;19511:5;:9;;:27;;;;:::i;:::-;19589:10;19576:24;;;;:12;:24;;;;;;19492:46;;-1:-1:-1;19576:38:0;;19492:46;19576:38;:28;:38;:::i;:::-;19562:10;19549:24;;;;:12;:24;;;;;;:65;;;;-1:-1:-1;;;;;19644:16:0;;;;;;:30;;19665:8;19644:30;:20;:30;:::i;:::-;-1:-1:-1;;;;;19625:16:0;;;;;;:12;:16;;;;;;;;;:49;;;;19690:31;;;;;;;19625:16;;19699:10;;-1:-1:-1;;;;;;;;;;;19690:31:0;;;;;;;;;-1:-1:-1;19739:4:0;;19375:376;-1:-1:-1;;;;19375:376:0:o;18203:494::-;3042:12;;;;;;;;:31;;;3058:15;:13;:15::i;:::-;3042:47;;;-1:-1:-1;3078:11:0;;;;3077:12;3042:47;3034:106;;;;-1:-1:-1;;;3034:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3153:19;3176:12;;;;;;3175:13;3199:99;;;;3234:12;:19;;-1:-1:-1;;;;3234:19:0;;;;;3268:18;3249:4;3268:18;;;3199:99;18284:62;;;;;;;;;;;;;;-1:-1:-1;;;18284:62:0;;;;;;;;;;;;;;;;-1:-1:-1;;;18284:62:0;;;14211:1;18284:24;:62::i;:::-;18357:26;18376:6;18357:18;:26::i;:::-;18396:22;:30;;-1:-1:-1;;;;18437:29:0;;;14328:20;18479:12;:39;;;18550:4;-1:-1:-1;18529:27:0;;;:12;:27;;;;;-1:-1:-1;;18529:40:0;;18614:12;18599:28;;-1:-1:-1;;14623:38:0;;18599:28;18580:16;:47;18676:12;;18645:44;;;;;;;-1:-1:-1;;;;;18645:44:0;;;18662:3;;-1:-1:-1;;;;;;;;;;;18645:44:0;;;;;;;;3328:14;3324:67;;;3374:5;3359:20;;-1:-1:-1;;3359:20:0;;;3324:67;18203:494;;:::o;20058:162::-;-1:-1:-1;;;;;20178:25:0;;;20146:7;20178:25;;;:17;:25;;;;;;;;:34;;;;;;;;;;;;;20058:162::o;5959:109::-;5156:9;:7;:9::i;:::-;5148:18;;;;;;6032:28;6051:8;6032:18;:28::i;:::-;5959:109;:::o;15157:40::-;;;;;;;;;;;;;;;:::o;3491:510::-;3959:7;3947:20;3986:7;3491:510;:::o;1257:150::-;1315:7;1348:1;1343;:6;;1335:15;;;;;;-1:-1:-1;1373:5:0;;;1257:150::o;281:433::-;339:7;583:6;579:47;;-1:-1:-1;613:1:0;606:8;;579:47;650:5;;;654:1;650;:5;:1;674:5;;;;;:10;666:19;;;;;;705:1;281:433;-1:-1:-1;;;281:433:0:o;1483:150::-;1541:7;1573:5;;;1597:6;;;;1589:15;;;;;837:294;895:7;927:1;923;:5;915:14;;;;;;998:9;1014:1;1010;:5;;;;;;;837:294;-1:-1:-1;;;;837:294:0:o;11477:149::-;11538:6;-1:-1:-1;;;11570:15:0;;;11562:24;;;;;;11608:1;11604;:5;:14;;11617:1;11604:14;;;-1:-1:-1;11612:2:0;;;11477:149::o;4788:89::-;3042:12;;;;;;;;:31;;;3058:15;:13;:15::i;:::-;3042:47;;;-1:-1:-1;3078:11:0;;;;3077:12;3042:47;3034:106;;;;-1:-1:-1;;;3034:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3153:19;3176:12;;;;;;3175:13;3199:99;;;;3234:12;:19;;-1:-1:-1;;;;3234:19:0;;;;;3268:18;3249:4;3268:18;;;3199:99;4854:6;:15;;-1:-1:-1;;;;;;4854:15:0;-1:-1:-1;;;;;4854:15:0;;;;;3324:67;;;;3374:5;3359:20;;-1:-1:-1;;3359:20:0;;;4788:89;;:::o;6218:187::-;-1:-1:-1;;;;;6292:22:0;;6284:31;;;;;;6352:6;;6331:38;;-1:-1:-1;;;;;6331:38:0;;;;6352:6;;6331:38;;6352:6;;6331:38;6380:6;:17;;-1:-1:-1;;;;;;6380:17:0;-1:-1:-1;;;;;6380:17:0;;;;;;;;;;6218:187::o;12285:11012::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12285:11012:0;;;-1:-1:-1;12285:11012:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;

Swarm Source

bzzr://b2dd34317805d4c18ef63fee493c4bd5c9c670b94bb59bc84bac8ef919d5c5db
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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