ETH Price: $3,342.47 (-1.52%)

Token

Value USD (vUSD)
 

Overview

Max Total Supply

10,583,005.669851045 vUSD

Holders

8,122 (0.00%)

Market

Price

$0.00 @ 0.000001 ETH

Onchain Market Cap

$32,305.78

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
32.274425233 vUSD

Value
$0.10 ( ~2.99179986502555E-05 Eth) [0.0003%]
0xb086755a5b0b10bd53956936588555f586f5f49d
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:
vUSD

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 vUSD 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 = 10 * 10**6 * 10**DECIMALS; // 10 million (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 USD", "vUSD", 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"}]

608060405234801561001057600080fd5b506115d6806100206000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80637a43e23f116100de578063983b2d5611610097578063c4d66de811610071578063c4d66de8146105a3578063dd62ed3e146105c9578063f2fde38b146105f7578063f46eccc41461061d57610173565b8063983b2d5614610525578063a457c2d71461054b578063a9059cbb1461057757610173565b80637a43e23f146104a05780638b5a6a08146104c35780638da5cb5b146104e95780638e27d7d71461050d5780638f32d59b1461051557806395d89b411461051d57610173565b8063313ce56711610130578063313ce567146103df57806339509351146103fd57806340c10f191461042957806342966c681461045557806370a0823114610472578063715018a61461049857610173565b806306fdde0314610178578063095ea7b3146101f55780631624f6c61461023557806318160ddd1461036957806323b872dd146103835780633092afd5146103b9575b600080fd5b610180610643565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102216004803603604081101561020b57600080fd5b506001600160a01b0381351690602001356106da565b604080519115158252519081900360200190f35b6103676004803603606081101561024b57600080fd5b81019060208101813564010000000081111561026657600080fd5b82018360208201111561027857600080fd5b8035906020019184600183028401116401000000008311171561029a57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156102ed57600080fd5b8201836020820111156102ff57600080fd5b8035906020019184600183028401116401000000008311171561032157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff1691506107419050565b005b61037161081d565b60408051918252519081900360200190f35b6102216004803603606081101561039957600080fd5b506001600160a01b03813581169160208101359091169060400135610823565b610367600480360360208110156103cf57600080fd5b50356001600160a01b0316610970565b6103e76109a2565b6040805160ff9092168252519081900360200190f35b6102216004803603604081101561041357600080fd5b506001600160a01b0381351690602001356109ab565b6103676004803603604081101561043f57600080fd5b506001600160a01b038135169060200135610a44565b6103676004803603602081101561046b57600080fd5b5035610b8d565b6103716004803603602081101561048857600080fd5b50356001600160a01b0316610c53565b610367610c81565b610371600480360360408110156104b657600080fd5b5080359060200135610cdc565b610367600480360360208110156104d957600080fd5b50356001600160a01b0316610e02565b6104f1610e67565b604080516001600160a01b039092168252519081900360200190f35b6104f1610e76565b610221610e85565b610180610e96565b6103676004803603602081101561053b57600080fd5b50356001600160a01b0316610ef7565b6102216004803603604081101561056157600080fd5b506001600160a01b038135169060200135610f2c565b6102216004803603604081101561058d57600080fd5b506001600160a01b03813516906020013561101b565b610367600480360360208110156105b957600080fd5b50356001600160a01b0316611101565b610371600480360360408110156105df57600080fd5b506001600160a01b038135811691602001351661126c565b6103676004803603602081101561060d57600080fd5b50356001600160a01b0316611297565b6102216004803603602081101561063357600080fd5b50356001600160a01b03166112b4565b60338054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106cf5780601f106106a4576101008083540402835291602001916106cf565b820191906000526020600020905b8154815290600101906020018083116106b257829003601f168201915b505050505090505b90565b336000818152609f602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b600054610100900460ff168061075a575061075a6112c9565b80610768575060005460ff16155b6107a35760405162461bcd60e51b815260040180806020018281038252602e815260200180611533602e913960400191505060405180910390fd5b600054610100900460ff161580156107ce576000805460ff1961ff0019909116610100171660011790555b83516107e190603390602087019061149a565b5082516107f590603490602086019061149a565b506035805460ff191660ff84161790558015610817576000805461ff00191690555b50505050565b609c5490565b6000826001600160a01b03811661083957600080fd5b6001600160a01b03811630141561084f57600080fd5b6001600160a01b0385166000908152609f60209081526040808320338452909152902054610883908463ffffffff6112cf16565b6001600160a01b0386166000908152609f60209081526040808320338452909152812091909155609d546108be90859063ffffffff6112e416565b6001600160a01b0387166000908152609e60205260409020549091506108ea908263ffffffff6112cf16565b6001600160a01b038088166000908152609e6020526040808220939093559087168152205461091f908263ffffffff61131216565b6001600160a01b038087166000818152609e602090815260409182902094909455805188815290519193928a169260008051602061156183398151915292918290030190a350600195945050505050565b610978610e85565b61098157600080fd5b6001600160a01b0316600090815260a060205260409020805460ff19169055565b60355460ff1690565b336000908152609f602090815260408083206001600160a01b03861684529091528120546109df908363ffffffff61131216565b336000818152609f602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b33600090815260a0602052604090205460ff16610a92576040805162461bcd60e51b815260206004820152600760248201526610b6b4b73a32b960c91b604482015290519081900360640190fd5b6001600160a01b038216610aed576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6000610b04609d54836112e490919063ffffffff16565b609c54909150610b1a908363ffffffff61131216565b609c556001600160a01b0383166000908152609e6020526040902054610b46908263ffffffff61131216565b6001600160a01b0384166000818152609e602090815260408083209490945583518681529351929391926000805160206115618339815191529281900390910190a3505050565b33610bc95760405162461bcd60e51b81526004018080602001828103825260218152602001806115816021913960400191505060405180910390fd5b6000610be0609d54836112e490919063ffffffff16565b336000908152609e6020526040902054909150610c03908263ffffffff6112cf16565b336000908152609e6020526040902055609c54610c26908363ffffffff6112cf16565b609c5560408051838152905133916000916000805160206115618339815191529181900360200190a35050565b609d546001600160a01b0382166000908152609e6020526040812054909161073b919063ffffffff61132416565b610c89610e85565b610c9257600080fd5b6068546040516001600160a01b03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a2606880546001600160a01b0319169055565b609b546000906001600160a01b03163314610cf657600080fd5b81610d3c57609c54604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a250609c5461073b565b6000821215610d6857610d60610d5183611346565b609c549063ffffffff6112cf16565b609c55610d7f565b609c54610d7b908363ffffffff61131216565b609c555b609c546001600160801b031015610d9c576001600160801b03609c555b609c54610dbd90662386f26fc100006000195b06199063ffffffff61132416565b609d55609c54604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a250609c5492915050565b610e0a610e85565b610e1357600080fd5b609b80546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f0e6961f1a1afb87eaf51fd64f22ddc10062e23aa7838eac5d0bdf140bfd389729181900360200190a150565b6068546001600160a01b031690565b609b546001600160a01b031681565b6068546001600160a01b0316331490565b60348054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106cf5780601f106106a4576101008083540402835291602001916106cf565b610eff610e85565b610f0857600080fd5b6001600160a01b0316600090815260a060205260409020805460ff19166001179055565b336000908152609f602090815260408083206001600160a01b0386168452909152812054808310610f8057336000908152609f602090815260408083206001600160a01b0388168452909152812055610fb5565b610f90818463ffffffff6112cf16565b336000908152609f602090815260408083206001600160a01b03891684529091529020555b336000818152609f602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b03811661103157600080fd5b6001600160a01b03811630141561104757600080fd5b600061105e609d54856112e490919063ffffffff16565b336000908152609e6020526040902054909150611081908263ffffffff6112cf16565b336000908152609e6020526040808220929092556001600160a01b038716815220546110b3908263ffffffff61131216565b6001600160a01b0386166000818152609e60209081526040918290209390935580518781529051919233926000805160206115618339815191529281900390910190a3506001949350505050565b600054610100900460ff168061111a575061111a6112c9565b80611128575060005460ff16155b6111635760405162461bcd60e51b815260040180806020018281038252602e815260200180611533602e913960400191505060405180910390fd5b600054610100900460ff1615801561118e576000805460ff1961ff0019909116610100171660011790555b6111d76040518060400160405280600981526020016815985b1d59481554d160ba1b815250604051806040016040528060048152602001631d9554d160e21b8152506009610741565b6111e08261136e565b609b805461ffff60a01b19169055662386f26fc10000609c818155306000908152609e60205260409020660e3d2cfe61ffff1990555461122291600019610daf565b609d55609c5460408051918252516001600160a01b038416916000916000805160206115618339815191529181900360200190a38015611268576000805461ff00191690555b5050565b6001600160a01b039182166000908152609f6020908152604080832093909416825291909152205490565b61129f610e85565b6112a857600080fd5b6112b18161142b565b50565b60a06020526000908152604090205460ff1681565b303b1590565b6000828211156112de57600080fd5b50900390565b6000826112f35750600061073b565b8282028284828161130057fe5b041461130b57600080fd5b9392505050565b60008282018381101561130b57600080fd5b600080821161133257600080fd5b600082848161133d57fe5b04949350505050565b6000600160ff1b82141561135957600080fd5b60008212611367578161073b565b5060000390565b600054610100900460ff168061138757506113876112c9565b80611395575060005460ff16155b6113d05760405162461bcd60e51b815260040180806020018281038252602e815260200180611533602e913960400191505060405180910390fd5b600054610100900460ff161580156113fb576000805460ff1961ff0019909116610100171660011790555b606880546001600160a01b0319166001600160a01b0384161790558015611268576000805461ff00191690555050565b6001600160a01b03811661143e57600080fd5b6068546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606880546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106114db57805160ff1916838001178555611508565b82800160010185558215611508579182015b828111156115085782518255916020019190600101906114ed565b50611514929150611518565b5090565b6106d791905b80821115611514576000815560010161151e56fe436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef45524332303a206275726e2066726f6d20746865207a65726f2061646472657373a265627a7a72315820b5a79684cddfe946d484b83ed20571f6c1b39da4f294b581413313e88642312a64736f6c63430005110032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101735760003560e01c80637a43e23f116100de578063983b2d5611610097578063c4d66de811610071578063c4d66de8146105a3578063dd62ed3e146105c9578063f2fde38b146105f7578063f46eccc41461061d57610173565b8063983b2d5614610525578063a457c2d71461054b578063a9059cbb1461057757610173565b80637a43e23f146104a05780638b5a6a08146104c35780638da5cb5b146104e95780638e27d7d71461050d5780638f32d59b1461051557806395d89b411461051d57610173565b8063313ce56711610130578063313ce567146103df57806339509351146103fd57806340c10f191461042957806342966c681461045557806370a0823114610472578063715018a61461049857610173565b806306fdde0314610178578063095ea7b3146101f55780631624f6c61461023557806318160ddd1461036957806323b872dd146103835780633092afd5146103b9575b600080fd5b610180610643565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102216004803603604081101561020b57600080fd5b506001600160a01b0381351690602001356106da565b604080519115158252519081900360200190f35b6103676004803603606081101561024b57600080fd5b81019060208101813564010000000081111561026657600080fd5b82018360208201111561027857600080fd5b8035906020019184600183028401116401000000008311171561029a57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156102ed57600080fd5b8201836020820111156102ff57600080fd5b8035906020019184600183028401116401000000008311171561032157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff1691506107419050565b005b61037161081d565b60408051918252519081900360200190f35b6102216004803603606081101561039957600080fd5b506001600160a01b03813581169160208101359091169060400135610823565b610367600480360360208110156103cf57600080fd5b50356001600160a01b0316610970565b6103e76109a2565b6040805160ff9092168252519081900360200190f35b6102216004803603604081101561041357600080fd5b506001600160a01b0381351690602001356109ab565b6103676004803603604081101561043f57600080fd5b506001600160a01b038135169060200135610a44565b6103676004803603602081101561046b57600080fd5b5035610b8d565b6103716004803603602081101561048857600080fd5b50356001600160a01b0316610c53565b610367610c81565b610371600480360360408110156104b657600080fd5b5080359060200135610cdc565b610367600480360360208110156104d957600080fd5b50356001600160a01b0316610e02565b6104f1610e67565b604080516001600160a01b039092168252519081900360200190f35b6104f1610e76565b610221610e85565b610180610e96565b6103676004803603602081101561053b57600080fd5b50356001600160a01b0316610ef7565b6102216004803603604081101561056157600080fd5b506001600160a01b038135169060200135610f2c565b6102216004803603604081101561058d57600080fd5b506001600160a01b03813516906020013561101b565b610367600480360360208110156105b957600080fd5b50356001600160a01b0316611101565b610371600480360360408110156105df57600080fd5b506001600160a01b038135811691602001351661126c565b6103676004803603602081101561060d57600080fd5b50356001600160a01b0316611297565b6102216004803603602081101561063357600080fd5b50356001600160a01b03166112b4565b60338054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106cf5780601f106106a4576101008083540402835291602001916106cf565b820191906000526020600020905b8154815290600101906020018083116106b257829003601f168201915b505050505090505b90565b336000818152609f602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b600054610100900460ff168061075a575061075a6112c9565b80610768575060005460ff16155b6107a35760405162461bcd60e51b815260040180806020018281038252602e815260200180611533602e913960400191505060405180910390fd5b600054610100900460ff161580156107ce576000805460ff1961ff0019909116610100171660011790555b83516107e190603390602087019061149a565b5082516107f590603490602086019061149a565b506035805460ff191660ff84161790558015610817576000805461ff00191690555b50505050565b609c5490565b6000826001600160a01b03811661083957600080fd5b6001600160a01b03811630141561084f57600080fd5b6001600160a01b0385166000908152609f60209081526040808320338452909152902054610883908463ffffffff6112cf16565b6001600160a01b0386166000908152609f60209081526040808320338452909152812091909155609d546108be90859063ffffffff6112e416565b6001600160a01b0387166000908152609e60205260409020549091506108ea908263ffffffff6112cf16565b6001600160a01b038088166000908152609e6020526040808220939093559087168152205461091f908263ffffffff61131216565b6001600160a01b038087166000818152609e602090815260409182902094909455805188815290519193928a169260008051602061156183398151915292918290030190a350600195945050505050565b610978610e85565b61098157600080fd5b6001600160a01b0316600090815260a060205260409020805460ff19169055565b60355460ff1690565b336000908152609f602090815260408083206001600160a01b03861684529091528120546109df908363ffffffff61131216565b336000818152609f602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b33600090815260a0602052604090205460ff16610a92576040805162461bcd60e51b815260206004820152600760248201526610b6b4b73a32b960c91b604482015290519081900360640190fd5b6001600160a01b038216610aed576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6000610b04609d54836112e490919063ffffffff16565b609c54909150610b1a908363ffffffff61131216565b609c556001600160a01b0383166000908152609e6020526040902054610b46908263ffffffff61131216565b6001600160a01b0384166000818152609e602090815260408083209490945583518681529351929391926000805160206115618339815191529281900390910190a3505050565b33610bc95760405162461bcd60e51b81526004018080602001828103825260218152602001806115816021913960400191505060405180910390fd5b6000610be0609d54836112e490919063ffffffff16565b336000908152609e6020526040902054909150610c03908263ffffffff6112cf16565b336000908152609e6020526040902055609c54610c26908363ffffffff6112cf16565b609c5560408051838152905133916000916000805160206115618339815191529181900360200190a35050565b609d546001600160a01b0382166000908152609e6020526040812054909161073b919063ffffffff61132416565b610c89610e85565b610c9257600080fd5b6068546040516001600160a01b03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a2606880546001600160a01b0319169055565b609b546000906001600160a01b03163314610cf657600080fd5b81610d3c57609c54604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a250609c5461073b565b6000821215610d6857610d60610d5183611346565b609c549063ffffffff6112cf16565b609c55610d7f565b609c54610d7b908363ffffffff61131216565b609c555b609c546001600160801b031015610d9c576001600160801b03609c555b609c54610dbd90662386f26fc100006000195b06199063ffffffff61132416565b609d55609c54604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a250609c5492915050565b610e0a610e85565b610e1357600080fd5b609b80546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f0e6961f1a1afb87eaf51fd64f22ddc10062e23aa7838eac5d0bdf140bfd389729181900360200190a150565b6068546001600160a01b031690565b609b546001600160a01b031681565b6068546001600160a01b0316331490565b60348054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106cf5780601f106106a4576101008083540402835291602001916106cf565b610eff610e85565b610f0857600080fd5b6001600160a01b0316600090815260a060205260409020805460ff19166001179055565b336000908152609f602090815260408083206001600160a01b0386168452909152812054808310610f8057336000908152609f602090815260408083206001600160a01b0388168452909152812055610fb5565b610f90818463ffffffff6112cf16565b336000908152609f602090815260408083206001600160a01b03891684529091529020555b336000818152609f602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b03811661103157600080fd5b6001600160a01b03811630141561104757600080fd5b600061105e609d54856112e490919063ffffffff16565b336000908152609e6020526040902054909150611081908263ffffffff6112cf16565b336000908152609e6020526040808220929092556001600160a01b038716815220546110b3908263ffffffff61131216565b6001600160a01b0386166000818152609e60209081526040918290209390935580518781529051919233926000805160206115618339815191529281900390910190a3506001949350505050565b600054610100900460ff168061111a575061111a6112c9565b80611128575060005460ff16155b6111635760405162461bcd60e51b815260040180806020018281038252602e815260200180611533602e913960400191505060405180910390fd5b600054610100900460ff1615801561118e576000805460ff1961ff0019909116610100171660011790555b6111d76040518060400160405280600981526020016815985b1d59481554d160ba1b815250604051806040016040528060048152602001631d9554d160e21b8152506009610741565b6111e08261136e565b609b805461ffff60a01b19169055662386f26fc10000609c818155306000908152609e60205260409020660e3d2cfe61ffff1990555461122291600019610daf565b609d55609c5460408051918252516001600160a01b038416916000916000805160206115618339815191529181900360200190a38015611268576000805461ff00191690555b5050565b6001600160a01b039182166000908152609f6020908152604080832093909416825291909152205490565b61129f610e85565b6112a857600080fd5b6112b18161142b565b50565b60a06020526000908152604090205460ff1681565b303b1590565b6000828211156112de57600080fd5b50900390565b6000826112f35750600061073b565b8282028284828161130057fe5b041461130b57600080fd5b9392505050565b60008282018381101561130b57600080fd5b600080821161133257600080fd5b600082848161133d57fe5b04949350505050565b6000600160ff1b82141561135957600080fd5b60008212611367578161073b565b5060000390565b600054610100900460ff168061138757506113876112c9565b80611395575060005460ff16155b6113d05760405162461bcd60e51b815260040180806020018281038252602e815260200180611533602e913960400191505060405180910390fd5b600054610100900460ff161580156113fb576000805460ff1961ff0019909116610100171660011790555b606880546001600160a01b0319166001600160a01b0384161790558015611268576000805461ff00191690555050565b6001600160a01b03811661143e57600080fd5b6068546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606880546001600160a01b0319166001600160a01b0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106114db57805160ff1916838001178555611508565b82800160010185558215611508579182015b828111156115085782518255916020019190600101906114ed565b50611514929150611518565b5090565b6106d791905b80821115611514576000815560010161151e56fe436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef45524332303a206275726e2066726f6d20746865207a65726f2061646472657373a265627a7a72315820b5a79684cddfe946d484b83ed20571f6c1b39da4f294b581413313e88642312a64736f6c63430005110032

Deployed Bytecode Sourcemap

12285:11024:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12285:11024: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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21611:225;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;21611: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;:::-;;18782:111;;;:::i;:::-;;;;;;;;;;;;;;;;20494:475;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20494:475:0;;;;;;;;;;;;;;;;;:::i;15321:99::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15321:99:0;-1:-1:-1;;;;;15321:99:0;;:::i;8434:82::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22209:331;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;22209:331:0;;;;;;;;:::i;15428:420::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15428:420:0;;;;;;;;:::i;15856:367::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15856:367:0;;:::i;19014:147::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19014:147:0;-1:-1:-1;;;;;19014:147:0;;:::i;5656:126::-;;;:::i;16813:1394::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16813:1394:0;;;;;;;:::i;16351:194::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16351:194:0;-1:-1:-1;;;;;16351:194:0;;:::i;4945:78::-;;;:::i;:::-;;;;-1:-1:-1;;;;;4945:78:0;;;;;;;;;;;;;;13805:29;;;:::i;5279:91::-;;;:::i;8269:86::-;;;:::i;15218:95::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15218:95:0;-1:-1:-1;;;;;15218:95:0;;:::i;22802:504::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;22802:504:0;;;;;;;;:::i;19387:376::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;19387:376:0;;;;;;;;:::i;18215:494::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18215:494:0;-1:-1:-1;;;;;18215:494:0;;:::i;20070:162::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20070: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;15169:40::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15169:40:0;-1:-1:-1;;;;;15169: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;21611:225::-;21726:10;21686:4;21708:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;21708:38:0;;;;;;;;;;;:46;;;21770:36;;;;;;;21686:4;;21708:38;;21726:10;;21770:36;;;;;;;;-1:-1:-1;21824:4:0;21611: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;18782:111::-;18873:12;;18782:111;:::o;20494:475::-;20607:4;20589:2;-1:-1:-1;;;;;14089:18:0;;14081:27;;;;;;-1:-1:-1;;;;;14127:19:0;;14141:4;14127:19;;14119:28;;;;;;-1:-1:-1;;;;;20667:23:0;;;;;;:17;:23;;;;;;;;20691:10;20667:35;;;;;;;;:46;;20707:5;20667:46;:39;:46;:::i;:::-;-1:-1:-1;;;;;20629:23:0;;;;;;:17;:23;;;;;;;;20653:10;20629:35;;;;;;;:84;;;;20755:16;;20745:27;;:5;;:27;:9;:27;:::i;:::-;-1:-1:-1;;;;;20804:18:0;;;;;;:12;:18;;;;;;20726:46;;-1:-1:-1;20804:32:0;;20726:46;20804:32;:22;:32;:::i;:::-;-1:-1:-1;;;;;20783:18:0;;;;;;;:12;:18;;;;;;:53;;;;20866:16;;;;;;;:30;;20887:8;20866:30;:20;:30;:::i;:::-;-1:-1:-1;;;;;20847:16:0;;;;;;;:12;:16;;;;;;;;;:49;;;;20912:25;;;;;;;20847:16;;20912:25;;;;-1:-1:-1;;;;;;;;;;;20912:25:0;;;;;;;;-1:-1:-1;20957:4:0;;20494:475;-1:-1:-1;;;;;20494:475:0:o;15321:99::-;5156:9;:7;:9::i;:::-;5148:18;;;;;;-1:-1:-1;;;;;15388:16:0;15407:5;15388:16;;;:7;:16;;;;;:24;;-1:-1:-1;;15388:24:0;;;15321:99::o;8434:82::-;8499:9;;;;8434:82;:::o;22209:331::-;22389:10;22299:4;22371:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;22371:38:0;;;;;;;;;;:54;;22414:10;22371:54;:42;:54;:::i;:::-;22339:10;22321:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;22321:38:0;;;;;;;;;;;;:104;;;22441:69;;;;;;22321:38;;22441:69;;;;;;;;;;;-1:-1:-1;22528:4:0;22209:331;;;;:::o;15428:420::-;15506:10;15498:19;;;;:7;:19;;;;;;;;15490:39;;;;;-1:-1:-1;;;15490:39:0;;;;;;;;;;;;-1:-1:-1;;;15490:39:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;15548:23:0;;15540:67;;;;;-1:-1:-1;;;15540:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15618:16;15637:28;15648:16;;15637:6;:10;;:28;;;;:::i;:::-;15691:12;;15618:47;;-1:-1:-1;15691:24:0;;15708:6;15691:24;:16;:24;:::i;:::-;15676:12;:39;-1:-1:-1;;;;;15750:21:0;;;;;;:12;:21;;;;;;:35;;15776:8;15750:35;:25;:35;:::i;:::-;-1:-1:-1;;;;;15726:21:0;;;;;;:12;:21;;;;;;;;:59;;;;15801:39;;;;;;;15726:21;;;;-1:-1:-1;;;;;;;;;;;15801:39:0;;;;;;;;;15428:420;;;:::o;15856:367::-;15909:10;15901:72;;;;-1:-1:-1;;;15901:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15984:16;16003:28;16014:16;;16003:6;:10;;:28;;;;:::i;:::-;16082:10;16069:24;;;;:12;:24;;;;;;15984:47;;-1:-1:-1;16069:38:0;;15984:47;16069:38;:28;:38;:::i;:::-;16055:10;16042:24;;;;:12;:24;;;;;:65;16133:12;;:24;;16150:6;16133:24;:16;:24;:::i;:::-;16118:12;:39;16173:42;;;;;;;;16196:10;;16190:3;;-1:-1:-1;;;;;;;;;;;16173:42:0;;;;;;;;15856:367;;:::o;19014:147::-;19136:16;;-1:-1:-1;;;;;19114:17:0;;19082:7;19114:17;;;:12;:17;;;;;;19082:7;;19114: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;16813:1394::-;13906:14;;16916:7;;-1:-1:-1;;;;;13906:14:0;13892:10;:28;13884:37;;;;;;16945:16;16941:118;;17000:12;;16983:30;;;;;;;16993:5;;16983:30;;;;;;;;;;-1:-1:-1;17035:12:0;;17028:19;;16941:118;17089:1;17075:11;:15;17071:193;;;17122:44;17147:17;:11;:15;:17::i;:::-;17122:12;;;:44;:16;:44;:::i;:::-;17107:12;:59;17071:193;;;17214:12;;:38;;17239:11;17214:38;:16;:38;:::i;:::-;17199:12;:53;17071:193;17280:12;;-1:-1:-1;;;;;;17276:83:0;;;-1:-1:-1;;;;;17322:12:0;:25;17276:83;17405:12;;17390:28;;14328:25;-1:-1:-1;;14635:38:0;;14620:54;;17390:28;:14;:28;:::i;:::-;17371:16;:47;18156:12;;18139:30;;;;;;;18149:5;;18139:30;;;;;;;;;;-1:-1:-1;18187:12:0;;16813:1394;;;;:::o;16351:194::-;5156:9;:7;:9::i;:::-;5148:18;;;;;;16448:14;:32;;-1:-1:-1;;;;;16448:32:0;;-1:-1:-1;;;;;;16448:32:0;;;;;;;;16496:41;;;;;;;;;;;;;;;;16351: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;;;;;;;;;;;;;;;;;;;;;;;;15218:95;5156:9;:7;:9::i;:::-;5148:18;;;;;;-1:-1:-1;;;;;15282:16:0;;;;;:7;:16;;;;;:23;;-1:-1:-1;;15282:23:0;15301:4;15282:23;;;15218:95::o;22802:504::-;22956:10;22897:4;22938:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;22938:38:0;;;;;;;;;;22991:27;;;22987:205;;23053:10;23076:1;23035:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;23035:38:0;;;;;;;;;:42;22987:205;;;23151:29;:8;23164:15;23151:29;:12;:29;:::i;:::-;23128:10;23110:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;23110:38:0;;;;;;;;;:70;22987:205;23216:10;23237:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;23207:69:0;;23237:38;;;;;;;;;;;23207:69;;;;;;;;;23216:10;23207:69;;;;;;;;;;;-1:-1:-1;23294:4:0;;22802:504;-1:-1:-1;;;22802:504:0:o;19387:376::-;19482:4;19464:2;-1:-1:-1;;;;;14089:18:0;;14081:27;;;;;;-1:-1:-1;;;;;14127:19:0;;14141:4;14127:19;;14119:28;;;;;;19504:16;19523:27;19533:16;;19523:5;:9;;:27;;;;:::i;:::-;19601:10;19588:24;;;;:12;:24;;;;;;19504:46;;-1:-1:-1;19588:38:0;;19504:46;19588:38;:28;:38;:::i;:::-;19574:10;19561:24;;;;:12;:24;;;;;;:65;;;;-1:-1:-1;;;;;19656:16:0;;;;;;:30;;19677:8;19656:30;:20;:30;:::i;:::-;-1:-1:-1;;;;;19637:16:0;;;;;;:12;:16;;;;;;;;;:49;;;;19702:31;;;;;;;19637:16;;19711:10;;-1:-1:-1;;;;;;;;;;;19702:31:0;;;;;;;;;-1:-1:-1;19751:4:0;;19387:376;-1:-1:-1;;;;19387:376:0:o;18215: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;18296:62;;;;;;;;;;;;;;-1:-1:-1;;;18296:62:0;;;;;;;;;;;;;;;;-1:-1:-1;;;18296:62:0;;;14211:1;18296:24;:62::i;:::-;18369:26;18388:6;18369:18;:26::i;:::-;18408:22;:30;;-1:-1:-1;;;;18449:29:0;;;14328:25;18491:12;:39;;;18562:4;-1:-1:-1;18541:27:0;;;:12;:27;;;;;-1:-1:-1;;18541:40:0;;18626:12;18611:28;;-1:-1:-1;;14635:38:0;;18611:28;18592:16;:47;18688:12;;18657:44;;;;;;;-1:-1:-1;;;;;18657:44:0;;;18674:3;;-1:-1:-1;;;;;;;;;;;18657:44:0;;;;;;;;3328:14;3324:67;;;3374:5;3359:20;;-1:-1:-1;;3359:20:0;;;3324:67;18215:494;;:::o;20070:162::-;-1:-1:-1;;;;;20190:25:0;;;20158:7;20190:25;;;:17;:25;;;;;;;;:34;;;;;;;;;;;;;20070:162::o;5959:109::-;5156:9;:7;:9::i;:::-;5148:18;;;;;;6032:28;6051:8;6032:18;:28::i;:::-;5959:109;:::o;15169: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:11024::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12285:11024:0;;;-1:-1:-1;12285:11024:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;

Swarm Source

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