ETH Price: $2,457.10 (-8.34%)

Contract

0xcE853D2F62992A226D939602B04cd5BBc75Eb5b2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040119199672021-02-24 12:57:501280 days ago1614171470IN
 Create: Dollars
0 ETH0.42616369112

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Dollars

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 1337 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-02-24
*/

// File: contracts/lib/UInt256Lib.sol

pragma solidity >=0.4.24;


/**
 * @title Various utilities useful for uint256.
 */
library UInt256Lib {

    uint256 private constant MAX_INT256 = ~(uint256(1) << 255);

    /**
     * @dev Safely converts a uint256 to an int256.
     */
    function toInt256Safe(uint256 a)
        internal
        pure
        returns (int256)
    {
        require(a <= MAX_INT256);
        return int256(a);
    }
}

// File: contracts/lib/SafeMathInt.sol

/*
MIT License

Copyright (c) 2018 requestnetwork

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.4.24;


/**
 * @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: contracts/interface/ISeigniorageShares.sol

pragma solidity >=0.4.24;


interface ISeigniorageShares {
    function setDividendPoints(address account, uint256 totalDividends) external returns (bool);
    function setSyntheticDividendPoints(address synth, address who, uint256 amount) external returns (bool);

    function mintShares(address account, uint256 amount) external returns (bool);

    function lastDividendPoints(address who) external view returns (uint256);
    function lastSyntheticDividendPoints(address synth, address who) external view returns (uint256);
    function stakingStatus(address who) external view returns (uint256);
    
    function externalRawBalanceOf(address who) external view returns (uint256);
    function externalTotalSupply() external view returns (uint256);

    function totalStaked() external view returns (uint256);

    function deleteShare(address account, uint256 amount) external;
}

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

pragma solidity ^0.4.24;


/**
 * @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.4.24 <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/token/ERC20/IERC20.sol

pragma solidity ^0.4.24;


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




/**
 * @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 name, string symbol, uint8 decimals) public initializer {
    _name = name;
    _symbol = symbol;
    _decimals = decimals;
  }

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

  /**
   * @return the symbol of the token.
   */
  function symbol() public view returns(string) {
    return _symbol;
  }

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

  uint256[50] private ______gap;
}

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

pragma solidity ^0.4.24;


/**
 * @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: contracts/usd/dollars.sol

pragma solidity >=0.4.24;







interface IDollarPolicy {
    function treasury() external view returns (address);
}

interface IBond {
    function balanceOf(address who) external view returns (uint256);
    function redeem(address _who) external returns (bool);
}

interface IPool {
    function setLastRebase(uint256 newUsdAmount) external;
}

/*
 *  Dollar ERC20
 */

contract Dollars is ERC20Detailed, Ownable {
    using SafeMath for uint256;
    using SafeMathInt for int256;

    event LogRebase(uint256 indexed epoch, uint256 totalSupply);
    event LogContraction(uint256 indexed epoch, uint256 dollarsToBurn);
    event LogRebasePaused(bool paused);
    event LogBurn(address indexed from, uint256 value);
    event LogClaim(address indexed from, uint256 value);
    event LogMonetaryPolicyUpdated(address monetaryPolicy);

    // Used for authentication
    address public monetaryPolicy;
    address public sharesAddress;

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

    // Precautionary emergency controls.
    bool public rebasePaused;

    modifier whenRebaseNotPaused() {
        require(!rebasePaused);
        _;
    }

    uint256 public percentToTreasury;

    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_DOLLAR_SUPPLY = 1 * 10**6 * 10**DECIMALS;
    uint256 private _maxDiscount;

    modifier validDiscount(uint256 discount) {
        require(discount >= 0);
        require(discount <= _maxDiscount);
        _;
    }

    uint256 private constant MAX_SUPPLY = ~uint128(0);  // (2^128) - 1

    uint256 private _totalSupply;

    uint256 private constant POINT_MULTIPLIER = 10 ** 9;

    uint256 private _totalDividendPoints;
    uint256 private _unclaimedDividends;

    ISeigniorageShares Shares;

    mapping(address => uint256) private _dollarBalances;

    // This is denominated in Dollars, because the cents-dollars conversion might change before
    // it's fully paid.
    mapping (address => mapping (address => uint256)) private _allowedDollars;

    IDollarPolicy DollarPolicy;
    uint256 public rebaseRewardUSDx;
    uint256 public debaseBoolean;   // 1 is true, 0 is false
    uint256 public lpToShareRatio;

    uint256 public minimumBonusThreshold;

    bool reEntrancyMutex;
    bool reEntrancyRebaseMutex;

    address public timelock;
    mapping(address => bool) public deprecatedDeleteWhitelist;
    event LogDeletion(address account, uint256 amount);
    bool usdDeletion;

    modifier onlyMinter() {
        require(msg.sender == monetaryPolicy || msg.sender == DollarPolicy.treasury(), "Only Minter");
        _;
    }

    address public treasury;
    event LogDollarReserveUpdated(address deprecated);

    mapping(address => bool) public debased; // mapping if an address has deleted 50% of their dollar tokens

    modifier onlyShare() {
        require(msg.sender == sharesAddress, "unauthorized");
        _;
    }

    uint256 public remainingUsdToMint;
    uint256 public redeemingBonus;

    bool public emptyVariable1;      // bool variable for use in future

    mapping(address => uint256) public debtPoints;
    uint256 private _totalDebtPoints;
    uint256 private _unclaimedDebt;
    address[] public uniSyncPairs;

    bool public tenPercentCap;
    uint256 public deprecateVar1;
    event NewBondToShareRatio(uint256 ratio);
    uint256 public deprecateVar2;
    address public bondAddress;
    bool public lastRebasePositive;
    address public poolRewardAddress;
    bool public lastRebaseNeutral;

    string private _symbol;

    mapping(address => bool) public debaseWhitelist; // addresses that are true will not be debased
    event LogDebaseWhitelist(address user, bool value);

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

    function setDebaseWhitelist(address user, bool val) external {
        require(msg.sender == timelock || msg.sender == address(0x89a359A3D37C3A857E62cDE9715900441b47acEC));
        debaseWhitelist[user] = val;
        emit LogDebaseWhitelist(user, val);
    }

    function changeSymbol(string memory symbol) public {
        require(msg.sender == timelock);
        _symbol = symbol;
    }

    function setRebaseRewardUSDx(uint256 reward) external {
        require(msg.sender == timelock || msg.sender == address(0x89a359A3D37C3A857E62cDE9715900441b47acEC));
        rebaseRewardUSDx = reward;
    }
    
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function setTimelock(address timelock_)
        external
        onlyOwner
    {
        timelock = timelock_;
    }

    // 9 digit number (100 * 10 ** 9 = 100%)
    function setTreasuryPercent(uint256 percent) external {
        require(msg.sender == timelock || msg.sender == address(0x89a359A3D37C3A857E62cDE9715900441b47acEC));
        require(percent <= 100 * 10 ** 9, 'percent too high');
        percentToTreasury = percent;
    }

    function setLpToShareRatio(uint256 val_)
        external
    {
        require(msg.sender == timelock || msg.sender == address(0x89a359A3D37C3A857E62cDE9715900441b47acEC));
        require(val_ <= 100);

        lpToShareRatio = val_;
    }

    function setTreasury(address treasury_) external onlyOwner {
        treasury = treasury_;
    }

    function setPoolAddress(address pool_) external onlyOwner {
        poolRewardAddress = pool_;
    }

    // one time redeem
    function redeemFinal() updateAccount(msg.sender) external {
        uint256 currentBondBalance = IBond(bondAddress).balanceOf(msg.sender);
        bool success = IBond(bondAddress).redeem(msg.sender);
        require(success, 'unsuccessful redeem');
        uint256 usdOwed = currentBondBalance.mul(uint256(1975359245)).div(uint256(1000000000));
        _dollarBalances[msg.sender] = _dollarBalances[msg.sender].add(usdOwed);
        _dollarBalances[address(this)] = _dollarBalances[address(this)].sub(usdOwed);

        emit Transfer(address(this), msg.sender, usdOwed);
    }
    
    function removeUniPair(uint256 index) external onlyOwner {
        if (index >= uniSyncPairs.length) return;

        for (uint i = index; i < uniSyncPairs.length-1; i++){
            uniSyncPairs[i] = uniSyncPairs[i+1];
        }
        uniSyncPairs.length--;
    }

    function getUniSyncPairs()
        external
        view
        returns (address[] memory)
    {
        address[] memory pairs = uniSyncPairs;
        return pairs;
    }

    function addSyncPairs(address[] memory uniSyncPairs_)
        public
        onlyOwner
    {
        for (uint256 i = 0; i < uniSyncPairs_.length; i++) {
            uniSyncPairs.push(uniSyncPairs_[i]);
        }
    }

    function setTenPercentCap(bool _val)
        external
    {
        require(msg.sender == timelock);
        tenPercentCap = _val;
    }

    /**
     * @dev Pauses or unpauses the execution of rebase operations.
     * @param paused Pauses rebase operations if this is true.
     */
    function setRebasePaused(bool paused)
        external
    {
        require(msg.sender == timelock || msg.sender == address(0x89a359A3D37C3A857E62cDE9715900441b47acEC));
        rebasePaused = paused;
        emit LogRebasePaused(paused);
    }

    function setDebaseBoolean(uint256 val_)
        external
    {
        require(msg.sender == timelock || msg.sender == address(0x89a359A3D37C3A857E62cDE9715900441b47acEC));
        require(val_ <= 1, "value must be 0 or 1");
        debaseBoolean = val_;
    }

    function syncUniswapV2()
        external
    {
        for (uint256 i = 0; i < uniSyncPairs.length; i++) {
            (bool success, ) = uniSyncPairs[i].call(abi.encodeWithSignature('sync()'));
        }
    }

    /**
     * @dev Notifies Dollars contract about a new rebase cycle.
     * @param supplyDelta The number of new dollar tokens to add into circulation via expansion.
     * @return The total number of dollars after the supply adjustment.
     */
    function rebase(uint256 epoch, int256 supplyDelta)
        external
        onlyMonetaryPolicy
        whenRebaseNotPaused
        updateAccount(tx.origin)
        returns (uint256)
    {
        require(!reEntrancyRebaseMutex, "dp::reentrancy");
        reEntrancyRebaseMutex = true;

        if (supplyDelta == 0) {
            IPool(poolRewardAddress).setLastRebase(0);

            lastRebasePositive = false;
            lastRebaseNeutral = true;
        } else if (supplyDelta < 0) {
            lastRebasePositive = false;
            lastRebaseNeutral = false;

            IPool(poolRewardAddress).setLastRebase(0);

            if (debaseBoolean == 1) {
                negativeRebaseHelper(epoch, supplyDelta);
            }
        } else { // > 0
            positiveRebaseHelper(supplyDelta);

            emit LogRebase(epoch, _totalSupply);
            lastRebasePositive = true;
            lastRebaseNeutral = false;

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

        for (uint256 i = 0; i < uniSyncPairs.length; i++) {
            (bool success, ) = uniSyncPairs[i].call(abi.encodeWithSignature('sync()'));
        }

        _dollarBalances[tx.origin] = _dollarBalances[tx.origin].add(rebaseRewardUSDx);
        _totalSupply = _totalSupply.add(rebaseRewardUSDx);
        emit Transfer(address(0x0), tx.origin, rebaseRewardUSDx);

        reEntrancyRebaseMutex = false;
        return _totalSupply;
    }

    function negativeRebaseHelper(uint256 epoch, int256 supplyDelta) internal {
        uint256 dollarsToDelete = uint256(supplyDelta.abs());
        if (dollarsToDelete > _totalSupply.div(10) && tenPercentCap) { // maximum contraction is 10% of the total USD Supply
            dollarsToDelete = _totalSupply.div(10);
        }

        _totalDebtPoints = _totalDebtPoints.add(dollarsToDelete.mul(POINT_MULTIPLIER).div(_totalSupply));
        _unclaimedDebt = _unclaimedDebt.add(dollarsToDelete);
        emit LogContraction(epoch, dollarsToDelete);
    }

    function positiveRebaseHelper(int256 supplyDelta) internal {
        uint256 dollarsToTreasury = uint256(supplyDelta).mul(percentToTreasury).div(100 * 10 ** 9);
        uint256 dollarsToLPs = uint256(supplyDelta).sub(dollarsToTreasury).mul(lpToShareRatio).div(100);
        
        _dollarBalances[treasury] = _dollarBalances[treasury].add(dollarsToTreasury);
        emit Transfer(address(0x0), treasury, dollarsToTreasury);

        IPool(poolRewardAddress).setLastRebase(dollarsToLPs);
        _dollarBalances[poolRewardAddress] = _dollarBalances[poolRewardAddress].add(dollarsToLPs);
        emit Transfer(address(0x0), poolRewardAddress, dollarsToLPs);
        
        _totalSupply = _totalSupply.add(dollarsToTreasury).add(dollarsToLPs);

        disburse(uint256(supplyDelta).sub(dollarsToTreasury).sub(dollarsToLPs));
    }

    function initialize(address owner_, address seigniorageAddress)
        public
        initializer
    {
        ERC20Detailed.initialize("Dollars", "USD", uint8(DECIMALS));
        Ownable.initialize(owner_);

        rebasePaused = false;
        _totalSupply = INITIAL_DOLLAR_SUPPLY;

        sharesAddress = seigniorageAddress;
        Shares = ISeigniorageShares(seigniorageAddress);

        _dollarBalances[owner_] = _totalSupply;
        _maxDiscount = 50 * 10 ** 9;                // 50%
        minimumBonusThreshold = 100 * 10 ** 9;      // 100 dollars is the minimum threshold. Anything above warrants increased discount

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

    /**
     * @return The total number of dollars.
     */
    function totalSupply()
        external
        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)
    {
        uint256 debt = debtOwing(who);
        debt = debt <= _dollarBalances[who] ? debt : _dollarBalances[who];

        return _dollarBalances[who].sub(debt);
    }

    /**
     * @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)
        external
        validRecipient(to)
        updateAccount(msg.sender)
        updateAccount(to)
        returns (bool)
    {
        require(!reEntrancyRebaseMutex, "dp::reentrancy");

        _dollarBalances[msg.sender] = _dollarBalances[msg.sender].sub(value);
        _dollarBalances[to] = _dollarBalances[to].add(value);
        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)
        external
        view
        returns (uint256)
    {
        return _allowedDollars[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)
        external
        validRecipient(to)
        updateAccount(from)
        updateAccount(to)
        returns (bool)
    {
        require(!reEntrancyRebaseMutex, "dp::reentrancy");

        _allowedDollars[from][msg.sender] = _allowedDollars[from][msg.sender].sub(value);

        _dollarBalances[from] = _dollarBalances[from].sub(value);
        _dollarBalances[to] = _dollarBalances[to].add(value);
        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)
        external
        validRecipient(spender)
        returns (bool)
    {
        _allowedDollars[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)
        external
        returns (bool)
    {
        _allowedDollars[msg.sender][spender] =
            _allowedDollars[msg.sender][spender].add(addedValue);
        emit Approval(msg.sender, spender, _allowedDollars[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)
        external
        returns (bool)
    {
        uint256 oldValue = _allowedDollars[msg.sender][spender];
        if (subtractedValue >= oldValue) {
            _allowedDollars[msg.sender][spender] = 0;
        } else {
            _allowedDollars[msg.sender][spender] = oldValue.sub(subtractedValue);
        }
        emit Approval(msg.sender, spender, _allowedDollars[msg.sender][spender]);
        return true;
    }

    function claimDividends(address account) external updateAccount(account) returns (bool) {
        return true;
    }

    function dividendsOwing(address account) public view returns (uint256) {
        if (_totalDividendPoints > Shares.lastDividendPoints(account) && Shares.stakingStatus(account) == 1) {
            uint256 newDividendPoints = _totalDividendPoints.sub(Shares.lastDividendPoints(account));
            uint256 sharesBalance = Shares.externalRawBalanceOf(account);
            return sharesBalance.mul(newDividendPoints).div(POINT_MULTIPLIER);
        } else {
            return 0;
        }
    }

    function debtOwing(address account) public view returns (uint256) {
        if (_totalDebtPoints > debtPoints[account] && !debaseWhitelist[account]) {
            uint256 newDebtPoints = _totalDebtPoints.sub(debtPoints[account]);
            uint256 dollarBalance = _dollarBalances[account];
            return dollarBalance.mul(newDebtPoints).div(POINT_MULTIPLIER);
        } else {
            return 0;
        }
    }

    function setTotalSupply(uint256 amount) external onlyOwner {
        _totalSupply = amount;
    }

    modifier updateAccount(address account) {
        uint256 owing = dividendsOwing(account);
        uint256 debt = debtOwing(account);

        if (owing > 0) {
            _unclaimedDividends = owing <= _unclaimedDividends ? _unclaimedDividends.sub(owing) : 0;
            _dollarBalances[account] = _dollarBalances[account].add(owing);
            _totalSupply = _totalSupply.add(owing);
            emit Transfer(address(0), account, owing);
        }

        if (debt > 0) {
            _unclaimedDebt = debt <= _unclaimedDebt ? _unclaimedDebt.sub(debt) : 0;

            // only debase non-whitelisted users
            if (!debaseWhitelist[account]) {
                debt = debt <= _dollarBalances[account] ? debt : _dollarBalances[account];

                _dollarBalances[account] = _dollarBalances[account].sub(debt);
                _totalSupply = _totalSupply.sub(debt);
                emit Transfer(account, address(0), debt);
            }
        }

        Shares.setDividendPoints(account, _totalDividendPoints);
        debtPoints[account] = _totalDebtPoints;

        _;
    }

    function disburse(uint256 amount) internal returns (bool) {
        _totalDividendPoints = _totalDividendPoints.add(amount.mul(POINT_MULTIPLIER).div(Shares.totalStaked()));
        _unclaimedDividends = _unclaimedDividends.add(amount);

        return true;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"uniSyncPairs_","type":"address[]"}],"name":"addSyncPairs","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"debaseBoolean","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"val_","type":"uint256"}],"name":"setLpToShareRatio","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"uniSyncPairs","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"uint8"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"deprecatedDeleteWhitelist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"redeemFinal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"reward","type":"uint256"}],"name":"setRebaseRewardUSDx","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lpToShareRatio","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"paused","type":"bool"}],"name":"setRebasePaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"user","type":"address"},{"name":"val","type":"bool"}],"name":"setDebaseWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastRebasePositive","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"owner_","type":"address"},{"name":"seigniorageAddress","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"emptyVariable1","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rebaseRewardUSDx","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"index","type":"uint256"}],"name":"removeUniPair","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rebasePaused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"debaseWhitelist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bondAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"treasury","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"remainingUsdToMint","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"debased","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"debtOwing","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"percentToTreasury","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"epoch","type":"uint256"},{"name":"supplyDelta","type":"int256"}],"name":"rebase","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"debtPoints","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"dividendsOwing","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"deprecateVar1","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"percent","type":"uint256"}],"name":"setTreasuryPercent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"monetaryPolicy_","type":"address"}],"name":"setMonetaryPolicy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"monetaryPolicy","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"syncUniswapV2","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"symbol","type":"string"}],"name":"changeSymbol","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"deprecateVar2","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lastRebaseNeutral","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getUniSyncPairs","outputs":[{"name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"val_","type":"uint256"}],"name":"setDebaseBoolean","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"timelock_","type":"address"}],"name":"setTimelock","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"redeemingBonus","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"sender","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"claimDividends","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"timelock","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_val","type":"bool"}],"name":"setTenPercentCap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"tenPercentCap","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner_","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"minimumBonusThreshold","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"pool_","type":"address"}],"name":"setPoolAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"treasury_","type":"address"}],"name":"setTreasury","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sharesAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"poolRewardAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"setTotalSupply","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"epoch","type":"uint256"},{"indexed":false,"name":"totalSupply","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"epoch","type":"uint256"},{"indexed":false,"name":"dollarsToBurn","type":"uint256"}],"name":"LogContraction","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"paused","type":"bool"}],"name":"LogRebasePaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"LogBurn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"LogClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"monetaryPolicy","type":"address"}],"name":"LogMonetaryPolicyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"LogDeletion","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"deprecated","type":"address"}],"name":"LogDollarReserveUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"ratio","type":"uint256"}],"name":"NewBondToShareRatio","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"user","type":"address"},{"indexed":false,"name":"value","type":"bool"}],"name":"LogDebaseWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

608060405234801561001057600080fd5b5061442b806100206000396000f3006080604052600436106103005763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610305578063094a5c651461038f578063095ea7b3146103e65780630adf1be81461041e5780630ebf69cd1461044557806314eb3f241461045d5780631624f6c61461049157806318160ddd1461052d5780631b34bb2c146105425780631b7b033b146105635780631cceddac1461057857806321b97bba1461059057806322872e0b146105a557806323b872dd146105bf5780632449c0c1146105e9578063313ce5671461060f5780633760390c1461063a578063395093511461064f578063485cc955146106735780634b743bc11461069a5780634ea7262b146106af5780634f2b9629146106c457806353ca9f24146106dc57806359197c58146106f157806359e64d1e1461071257806361d027b314610727578063633b5c4f1461073c5780636349c9ec146107515780636a37d3461461077257806370a0823114610793578063715018a6146107b457806376f5c98f146107c95780637a43e23f146107de5780637eecd2bb146107f95780638391e45c1461081a578063881d0a341461083b57806389a2bc25146108505780638b5a6a08146108685780638da5cb5b146108895780638e27d7d71461089e5780638f32d59b146108b357806395d89b41146108c8578063a0265b1d146108dd578063a3895fff146108f2578063a3bbf79f1461094b578063a457c2d714610960578063a9059cbb14610984578063ad684efc146109a8578063b532be18146109bd578063b961971514610a22578063bdacb30314610a3a578063c335da5414610a5b578063c4d66de814610a70578063c7e772ed14610a91578063d33219b414610ab2578063d380599a14610ac7578063d7115bd714610ae1578063dd62ed3e14610af6578063e911a1c914610b1d578063e9e15b4f14610b32578063f0f4426014610b53578063f2fde38b14610b74578063f33670aa14610b95578063f7cc4c6014610baa578063f7ea7a3d14610bbf575b600080fd5b34801561031157600080fd5b5061031a610bd7565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561035457818101518382015260200161033c565b50505050905090810190601f1680156103815780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561039b57600080fd5b50604080516020600480358082013583810280860185019096528085526103e495369593946024949385019291829185019084908082843750949750610c6e9650505050505050565b005b3480156103f257600080fd5b5061040a600160a060020a0360043516602435610cf6565b604080519115158252519081900360200190f35b34801561042a57600080fd5b50610433610d8e565b60408051918252519081900360200190f35b34801561045157600080fd5b506103e4600435610d94565b34801561046957600080fd5b50610475600435610de4565b60408051600160a060020a039092168252519081900360200190f35b34801561049d57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526103e494369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497505050923560ff169350610e0c92505050565b34801561053957600080fd5b50610433610f42565b34801561054e57600080fd5b5061040a600160a060020a0360043516610f48565b34801561056f57600080fd5b506103e4610f5d565b34801561058457600080fd5b506103e460043561144d565b34801561059c57600080fd5b5061043361148f565b3480156105b157600080fd5b506103e46004351515611495565b3480156105cb57600080fd5b5061040a600160a060020a0360043581169060243516604435611547565b3480156105f557600080fd5b506103e4600160a060020a03600435166024351515611c42565b34801561061b57600080fd5b50610624611ce3565b6040805160ff9092168252519081900360200190f35b34801561064657600080fd5b5061040a611cec565b34801561065b57600080fd5b5061040a600160a060020a0360043516602435611d0d565b34801561067f57600080fd5b506103e4600160a060020a0360043581169060243516611da6565b3480156106a657600080fd5b5061040a611fd4565b3480156106bb57600080fd5b50610433611fdd565b3480156106d057600080fd5b506103e4600435611fe3565b3480156106e857600080fd5b5061040a61209f565b3480156106fd57600080fd5b5061040a600160a060020a03600435166120c0565b34801561071e57600080fd5b506104756120d5565b34801561073357600080fd5b506104756120e4565b34801561074857600080fd5b506104336120f8565b34801561075d57600080fd5b5061040a600160a060020a03600435166120fe565b34801561077e57600080fd5b50610433600160a060020a0360043516612113565b34801561079f57600080fd5b50610433600160a060020a03600435166121d2565b3480156107c057600080fd5b506103e4612254565b3480156107d557600080fd5b506104336122be565b3480156107ea57600080fd5b506104336004356024356122c4565b34801561080557600080fd5b50610433600160a060020a0360043516612a0c565b34801561082657600080fd5b50610433600160a060020a0360043516612a1e565b34801561084757600080fd5b50610433612cb7565b34801561085c57600080fd5b506103e4600435612cbd565b34801561087457600080fd5b506103e4600160a060020a0360043516612d73565b34801561089557600080fd5b50610475612df2565b3480156108aa57600080fd5b50610475612e01565b3480156108bf57600080fd5b5061040a612e10565b3480156108d457600080fd5b5061031a612e21565b3480156108e957600080fd5b506103e4612e82565b3480156108fe57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526103e4943694929360249392840191908190840183828082843750949750612f849650505050505050565b34801561095757600080fd5b50610433612fb4565b34801561096c57600080fd5b5061040a600160a060020a0360043516602435612fba565b34801561099057600080fd5b5061040a600160a060020a03600435166024356130a9565b3480156109b457600080fd5b5061040a613749565b3480156109c957600080fd5b506109d261376a565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610a0e5781810151838201526020016109f6565b505050509050019250505060405180910390f35b348015610a2e57600080fd5b506103e46004356137d2565b348015610a4657600080fd5b506103e4600160a060020a0360043516613884565b348015610a6757600080fd5b506104336138d7565b348015610a7c57600080fd5b506103e4600160a060020a03600435166138dd565b348015610a9d57600080fd5b5061040a600160a060020a0360043516613a01565b348015610abe57600080fd5b50610475613cb9565b348015610ad357600080fd5b506103e46004351515613cce565b348015610aed57600080fd5b5061040a613cfe565b348015610b0257600080fd5b50610433600160a060020a0360043581169060243516613d07565b348015610b2957600080fd5b50610433613d32565b348015610b3e57600080fd5b506103e4600160a060020a0360043516613d38565b348015610b5f57600080fd5b506103e4600160a060020a0360043516613d7a565b348015610b8057600080fd5b506103e4600160a060020a0360043516613dcc565b348015610ba157600080fd5b50610475613deb565b348015610bb657600080fd5b50610475613dfa565b348015610bcb57600080fd5b506103e4600435613e09565b60338054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c635780601f10610c3857610100808354040283529160200191610c63565b820191906000526020600020905b815481529060010190602001808311610c4657829003601f168201915b505050505090505b90565b6000610c78612e10565b1515610c8357600080fd5b5060005b8151811015610cf25760b48282815181101515610ca057fe5b602090810291909101810151825460018082018555600094855292909320909201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039093169290921790915501610c87565b5050565b600082600160a060020a0381161515610d0e57600080fd5b600160a060020a038116301415610d2457600080fd5b33600081815260a460209081526040808320600160a060020a03891680855290835292819020879055805187815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a3600191505b5092915050565b60a75481565b60aa54620100009004600160a060020a0316331480610dc65750337389a359a3d37c3a857e62cde9715900441b47acec145b1515610dd157600080fd5b6064811115610ddf57600080fd5b60a855565b60b4805482908110610df257fe5b600091825260209091200154600160a060020a0316905081565b60008054610100900460ff1680610e265750610e26613e21565b80610e34575060005460ff16155b1515610ec757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b50600054610100900460ff16158015610ef3576000805460ff1961ff0019909116610100171660011790555b8351610f0690603390602087019061432b565b508251610f1a90603490602086019061432b565b506035805460ff191660ff84161790558015610f3c576000805461ff00191690555b50505050565b609f5490565b60ab6020526000908152604090205460ff1681565b600080600033600080610f6f83612a1e565b9150610f7a83612113565b905060008211156110345760a154821115610f96576000610fa9565b60a154610fa9908363ffffffff613e2716565b60a155600160a060020a038316600090815260a36020526040902054610fd5908363ffffffff613e3e16565b600160a060020a038416600090815260a36020526040902055609f54611001908363ffffffff613e3e16565b609f55604080518381529051600160a060020a038516916000916000805160206143e08339815191529181900360200190a35b60008111156111515760b35481111561104e576000611061565b60b354611061908263ffffffff613e2716565b60b355600160a060020a038316600090815260bb602052604090205460ff16151561115157600160a060020a038316600090815260a360205260409020548111156110c457600160a060020a038316600090815260a360205260409020546110c6565b805b600160a060020a038416600090815260a360205260409020549091506110f2908263ffffffff613e2716565b600160a060020a038416600090815260a36020526040902055609f5461111e908263ffffffff613e2716565b609f55604080518281529051600091600160a060020a038616916000805160206143e08339815191529181900360200190a35b60a25460a054604080517f95d0d5b0000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301526024820193909352905191909216916395d0d5b09160448083019260209291908290030181600087803b1580156111c457600080fd5b505af11580156111d8573d6000803e3d6000fd5b505050506040513d60208110156111ee57600080fd5b505060b254600160a060020a03808516600090815260b1602090815260408083209490945560b85484517f70a0823100000000000000000000000000000000000000000000000000000000815233600482015294519316936370a082319360248083019491928390030190829087803b15801561126a57600080fd5b505af115801561127e573d6000803e3d6000fd5b505050506040513d602081101561129457600080fd5b505160b854604080517f95a2251f0000000000000000000000000000000000000000000000000000000081523360048201529051929850600160a060020a03909116916395a2251f916024808201926020929091908290030181600087803b1580156112ff57600080fd5b505af1158015611313573d6000803e3d6000fd5b505050506040513d602081101561132957600080fd5b5051945084151561139b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f756e7375636365737366756c2072656465656d00000000000000000000000000604482015290519081900360640190fd5b6113c3633b9aca006113b7886375bd970d63ffffffff613e5016565b9063ffffffff613e7e16565b33600090815260a360205260409020549094506113e6908563ffffffff613e3e16565b33600090815260a3602052604080822092909255308152205461140f908563ffffffff613e2716565b30600081815260a36020908152604091829020939093558051878152905133936000805160206143e0833981519152928290030190a3505050505050565b60aa54620100009004600160a060020a031633148061147f5750337389a359a3d37c3a857e62cde9715900441b47acec145b151561148a57600080fd5b60a655565b60a85481565b60aa54620100009004600160a060020a03163314806114c75750337389a359a3d37c3a857e62cde9715900441b47acec145b15156114d257600080fd5b609c805482151574010000000000000000000000000000000000000000810274ff0000000000000000000000000000000000000000199092169190911790915560408051918252517fb36927c68760751ec71d827eb30be804be612d87c7c6b6a1f255258c6a1bea669181900360200190a150565b600082600160a060020a038116151561155f57600080fd5b600160a060020a03811630141561157557600080fd5b8460008061158283612a1e565b915061158d83612113565b905060008211156116475760a1548211156115a95760006115bc565b60a1546115bc908363ffffffff613e2716565b60a155600160a060020a038316600090815260a360205260409020546115e8908363ffffffff613e3e16565b600160a060020a038416600090815260a36020526040902055609f54611614908363ffffffff613e3e16565b609f55604080518381529051600160a060020a038516916000916000805160206143e08339815191529181900360200190a35b60008111156117645760b354811115611661576000611674565b60b354611674908263ffffffff613e2716565b60b355600160a060020a038316600090815260bb602052604090205460ff16151561176457600160a060020a038316600090815260a360205260409020548111156116d757600160a060020a038316600090815260a360205260409020546116d9565b805b600160a060020a038416600090815260a36020526040902054909150611705908263ffffffff613e2716565b600160a060020a038416600090815260a36020526040902055609f54611731908263ffffffff613e2716565b609f55604080518281529051600091600160a060020a038616916000805160206143e08339815191529181900360200190a35b60a25460a054604080517f95d0d5b0000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301526024820193909352905191909216916395d0d5b09160448083019260209291908290030181600087803b1580156117d757600080fd5b505af11580156117eb573d6000803e3d6000fd5b505050506040513d602081101561180157600080fd5b505060b254600160a060020a038416600090815260b1602052604081209190915587908061182e83612a1e565b915061183983612113565b905060008211156118f35760a154821115611855576000611868565b60a154611868908363ffffffff613e2716565b60a155600160a060020a038316600090815260a36020526040902054611894908363ffffffff613e3e16565b600160a060020a038416600090815260a36020526040902055609f546118c0908363ffffffff613e3e16565b609f55604080518381529051600160a060020a038516916000916000805160206143e08339815191529181900360200190a35b6000811115611a105760b35481111561190d576000611920565b60b354611920908263ffffffff613e2716565b60b355600160a060020a038316600090815260bb602052604090205460ff161515611a1057600160a060020a038316600090815260a3602052604090205481111561198357600160a060020a038316600090815260a36020526040902054611985565b805b600160a060020a038416600090815260a360205260409020549091506119b1908263ffffffff613e2716565b600160a060020a038416600090815260a36020526040902055609f546119dd908263ffffffff613e2716565b609f55604080518281529051600091600160a060020a038616916000805160206143e08339815191529181900360200190a35b60a25460a054604080517f95d0d5b0000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301526024820193909352905191909216916395d0d5b09160448083019260209291908290030181600087803b158015611a8357600080fd5b505af1158015611a97573d6000803e3d6000fd5b505050506040513d6020811015611aad57600080fd5b505060b254600160a060020a038416600090815260b1602052604090205560aa54610100900460ff1615611b4257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f64703a3a7265656e7472616e6379000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038b16600090815260a460209081526040808320338452909152902054611b76908a63ffffffff613e2716565b600160a060020a038c16600081815260a46020908152604080832033845282528083209490945591815260a39091522054611bb7908a63ffffffff613e2716565b600160a060020a03808d16600090815260a3602052604080822093909355908c1681522054611bec908a63ffffffff613e3e16565b600160a060020a03808c16600081815260a360209081526040918290209490945580518d815290519193928f16926000805160206143e083398151915292918290030190a35060019a9950505050505050505050565b60aa54620100009004600160a060020a0316331480611c745750337389a359a3d37c3a857e62cde9715900441b47acec145b1515611c7f57600080fd5b600160a060020a038216600081815260bb6020908152604091829020805460ff191685151590811790915582519384529083015280517feaf70b16859c911c19ea9fda5dcdfd25fcd9e0ed4115fba85d9b612c84701a189281900390910190a15050565b60355460ff1690565b60b85474010000000000000000000000000000000000000000900460ff1681565b33600090815260a460209081526040808320600160a060020a0386168452909152812054611d41908363ffffffff613e3e16565b33600081815260a460209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60008054610100900460ff1680611dc05750611dc0613e21565b80611dce575060005460ff16155b1515611e6157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b50600054610100900460ff16158015611e8d576000805460ff1961ff0019909116610100171660011790555b611f036040805190810160405280600781526020017f446f6c6c617273000000000000000000000000000000000000000000000000008152506040805190810160405280600381526020017f55534400000000000000000000000000000000000000000000000000000000008152506009610e0c565b611f0c836138dd565b609c805466038d7ea4c68000609f819055600160a060020a038086167fffffffffffffffffffffff000000000000000000000000000000000000000000909316831790935560a2805473ffffffffffffffffffffffffffffffffffffffff1916909217909155908416600081815260a360209081526040808320859055640ba43b7400609e5564174876e80060a955805194855251929391926000805160206143e08339815191529281900390910190a38015611fcf576000805461ff00191690555b505050565b60b05460ff1681565b60a65481565b6000611fed612e10565b1515611ff857600080fd5b60b454821061200657610cf2565b50805b60b4546000190181101561208c5760b480546001830190811061202857fe5b60009182526020909120015460b48054600160a060020a03909216918390811061204e57fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055600101612009565b60b4805490611fcf9060001983016143a5565b609c5474010000000000000000000000000000000000000000900460ff1681565b60bb6020526000908152604090205460ff1681565b60b854600160a060020a031681565b60ac546101009004600160a060020a031681565b60ae5481565b60ad6020526000908152604090205460ff1681565b600160a060020a038116600090815260b1602052604081205460b254829182911180156121595750600160a060020a038416600090815260bb602052604090205460ff16155b156121c657600160a060020a038416600090815260b1602052604090205460b2546121899163ffffffff613e2716565b600160a060020a038516600090815260a3602052604090205490925090506121bf633b9aca006113b7838563ffffffff613e5016565b92506121cb565b600092505b5050919050565b6000806121de83612113565b600160a060020a038416600090815260a3602052604090205490915081111561221f57600160a060020a038316600090815260a36020526040902054612221565b805b600160a060020a038416600090815260a3602052604090205490915061224d908263ffffffff613e2716565b9392505050565b61225c612e10565b151561226757600080fd5b606854604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26068805473ffffffffffffffffffffffffffffffffffffffff19169055565b609d5481565b609b5460009081908190600160a060020a031633146122e257600080fd5b609c5474010000000000000000000000000000000000000000900460ff161561230a57600080fd5b3260008061231783612a1e565b915061232283612113565b905060008211156123dc5760a15482111561233e576000612351565b60a154612351908363ffffffff613e2716565b60a155600160a060020a038316600090815260a3602052604090205461237d908363ffffffff613e3e16565b600160a060020a038416600090815260a36020526040902055609f546123a9908363ffffffff613e3e16565b609f55604080518381529051600160a060020a038516916000916000805160206143e08339815191529181900360200190a35b60008111156124f95760b3548111156123f6576000612409565b60b354612409908263ffffffff613e2716565b60b355600160a060020a038316600090815260bb602052604090205460ff1615156124f957600160a060020a038316600090815260a3602052604090205481111561246c57600160a060020a038316600090815260a3602052604090205461246e565b805b600160a060020a038416600090815260a3602052604090205490915061249a908263ffffffff613e2716565b600160a060020a038416600090815260a36020526040902055609f546124c6908263ffffffff613e2716565b609f55604080518281529051600091600160a060020a038616916000805160206143e08339815191529181900360200190a35b60a25460a054604080517f95d0d5b0000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301526024820193909352905191909216916395d0d5b09160448083019260209291908290030181600087803b15801561256c57600080fd5b505af1158015612580573d6000803e3d6000fd5b505050506040513d602081101561259657600080fd5b505060b254600160a060020a038416600090815260b1602052604090205560aa54610100900460ff161561262b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f64703a3a7265656e7472616e6379000000000000000000000000000000000000604482015290519081900360640190fd5b60aa805461ff0019166101001790558615156127055760b954604080517f9056fad60000000000000000000000000000000000000000000000000000000081526000600482018190529151600160a060020a0390931692639056fad69260248084019391929182900301818387803b1580156126a657600080fd5b505af11580156126ba573d6000803e3d6000fd5b505060b8805474ff00000000000000000000000000000000000000001990811690915560b98054909116740100000000000000000000000000000000000000001790555061287d9050565b60008712156127cc5760b8805474ff00000000000000000000000000000000000000001990811690915560b980549182169055604080517f9056fad60000000000000000000000000000000000000000000000000000000081526000600482018190529151600160a060020a0390931692639056fad69260248084019391929182900301818387803b15801561279a57600080fd5b505af11580156127ae573d6000803e3d6000fd5b5050505060a754600114156127c7576127c78888613ea1565b61287d565b6127d587613f71565b609f54604080519182525189917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a260b8805474ff000000000000000000000000000000000000000019908116740100000000000000000000000000000000000000001790915560b980549091169055609f546fffffffffffffffffffffffffffffffff101561287d576fffffffffffffffffffffffffffffffff609f555b600094505b60b4548510156129805760b480548690811061289a57fe5b6000918252602080832090910154604080516004815260248101825292830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ffff6cae90000000000000000000000000000000000000000000000000000000017815290518351600160a060020a039093169490928392918190849084905b83811015612931578181015183820152602001612919565b50505050905090810190601f16801561295e5780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af16001909701969550612882915050565b60a65432600090815260a360205260409020546129a29163ffffffff613e3e16565b32600090815260a3602052604090205560a654609f546129c79163ffffffff613e3e16565b609f5560a654604080519182525132916000916000805160206143e08339815191529181900360200190a3505060aa805461ff00191690555050609f54949350505050565b60b16020526000908152604090205481565b60a254604080517f806985f7000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291516000938493849391169163806985f79160248082019260209290919082900301818787803b158015612a8b57600080fd5b505af1158015612a9f573d6000803e3d6000fd5b505050506040513d6020811015612ab557600080fd5b505160a054118015612b5a575060a254604080517f4837eb1f000000000000000000000000000000000000000000000000000000008152600160a060020a03878116600483015291519190921691634837eb1f9160248083019260209291908290030181600087803b158015612b2a57600080fd5b505af1158015612b3e573d6000803e3d6000fd5b505050506040513d6020811015612b5457600080fd5b50516001145b156121c65760a254604080517f806985f7000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301529151612c0793929092169163806985f7916024808201926020929091908290030181600087803b158015612bcc57600080fd5b505af1158015612be0573d6000803e3d6000fd5b505050506040513d6020811015612bf657600080fd5b505160a0549063ffffffff613e2716565b60a254604080517fcf356e08000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152915193955091169163cf356e08916024808201926020929091908290030181600087803b158015612c7157600080fd5b505af1158015612c85573d6000803e3d6000fd5b505050506040513d6020811015612c9b57600080fd5b505190506121bf633b9aca006113b7838563ffffffff613e5016565b60b65481565b60aa54620100009004600160a060020a0316331480612cef5750337389a359a3d37c3a857e62cde9715900441b47acec145b1515612cfa57600080fd5b64174876e800811115612d6e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f70657263656e7420746f6f206869676800000000000000000000000000000000604482015290519081900360640190fd5b609d55565b612d7b612e10565b1515612d8657600080fd5b609b8054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff19918216811790925560a580549091168217905560408051918252517f0e6961f1a1afb87eaf51fd64f22ddc10062e23aa7838eac5d0bdf140bfd389729181900360200190a150565b606854600160a060020a031690565b609b54600160a060020a031681565b606854600160a060020a0316331490565b60ba8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c635780601f10610c3857610100808354040283529160200191610c63565b6000805b60b454821015610cf25760b4805483908110612e9e57fe5b6000918252602080832090910154604080516004815260248101825292830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ffff6cae90000000000000000000000000000000000000000000000000000000017815290518351600160a060020a039093169490928392918190849084905b83811015612f35578181015183820152602001612f1d565b50505050905090810190601f168015612f625780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af16001909401939250612e86915050565b60aa54620100009004600160a060020a03163314612fa157600080fd5b8051610cf29060ba90602084019061432b565b60b75481565b33600090815260a460209081526040808320600160a060020a038616845290915281205480831061300e5733600090815260a460209081526040808320600160a060020a0388168452909152812055613043565b61301e818463ffffffff613e2716565b33600090815260a460209081526040808320600160a060020a03891684529091529020555b33600081815260a460209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600082600160a060020a03811615156130c157600080fd5b600160a060020a0381163014156130d757600080fd5b336000806130e483612a1e565b91506130ef83612113565b905060008211156131a95760a15482111561310b57600061311e565b60a15461311e908363ffffffff613e2716565b60a155600160a060020a038316600090815260a3602052604090205461314a908363ffffffff613e3e16565b600160a060020a038416600090815260a36020526040902055609f54613176908363ffffffff613e3e16565b609f55604080518381529051600160a060020a038516916000916000805160206143e08339815191529181900360200190a35b60008111156132c65760b3548111156131c35760006131d6565b60b3546131d6908263ffffffff613e2716565b60b355600160a060020a038316600090815260bb602052604090205460ff1615156132c657600160a060020a038316600090815260a3602052604090205481111561323957600160a060020a038316600090815260a3602052604090205461323b565b805b600160a060020a038416600090815260a36020526040902054909150613267908263ffffffff613e2716565b600160a060020a038416600090815260a36020526040902055609f54613293908263ffffffff613e2716565b609f55604080518281529051600091600160a060020a038616916000805160206143e08339815191529181900360200190a35b60a25460a054604080517f95d0d5b0000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301526024820193909352905191909216916395d0d5b09160448083019260209291908290030181600087803b15801561333957600080fd5b505af115801561334d573d6000803e3d6000fd5b505050506040513d602081101561336357600080fd5b505060b254600160a060020a038416600090815260b1602052604081209190915587908061339083612a1e565b915061339b83612113565b905060008211156134555760a1548211156133b75760006133ca565b60a1546133ca908363ffffffff613e2716565b60a155600160a060020a038316600090815260a360205260409020546133f6908363ffffffff613e3e16565b600160a060020a038416600090815260a36020526040902055609f54613422908363ffffffff613e3e16565b609f55604080518381529051600160a060020a038516916000916000805160206143e08339815191529181900360200190a35b60008111156135725760b35481111561346f576000613482565b60b354613482908263ffffffff613e2716565b60b355600160a060020a038316600090815260bb602052604090205460ff16151561357257600160a060020a038316600090815260a360205260409020548111156134e557600160a060020a038316600090815260a360205260409020546134e7565b805b600160a060020a038416600090815260a36020526040902054909150613513908263ffffffff613e2716565b600160a060020a038416600090815260a36020526040902055609f5461353f908263ffffffff613e2716565b609f55604080518281529051600091600160a060020a038616916000805160206143e08339815191529181900360200190a35b60a25460a054604080517f95d0d5b0000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301526024820193909352905191909216916395d0d5b09160448083019260209291908290030181600087803b1580156135e557600080fd5b505af11580156135f9573d6000803e3d6000fd5b505050506040513d602081101561360f57600080fd5b505060b254600160a060020a038416600090815260b1602052604090205560aa54610100900460ff16156136a457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f64703a3a7265656e7472616e6379000000000000000000000000000000000000604482015290519081900360640190fd5b33600090815260a360205260409020546136c4908a63ffffffff613e2716565b33600090815260a3602052604080822092909255600160a060020a038c16815220546136f6908a63ffffffff613e3e16565b600160a060020a038b16600081815260a360209081526040918290209390935580518c81529051919233926000805160206143e08339815191529281900390910190a35060019998505050505050505050565b60b95474010000000000000000000000000000000000000000900460ff1681565b60608060b48054806020026020016040519081016040528092919081815260200182805480156137c357602002820191906000526020600020905b8154600160a060020a031681526001909101906020018083116137a5575b505050505090508091505b5090565b60aa54620100009004600160a060020a03163314806138045750337389a359a3d37c3a857e62cde9715900441b47acec145b151561380f57600080fd5b600181111561387f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f76616c7565206d7573742062652030206f722031000000000000000000000000604482015290519081900360640190fd5b60a755565b61388c612e10565b151561389757600080fd5b60aa8054600160a060020a0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b60af5481565b60008054610100900460ff16806138f757506138f7613e21565b80613905575060005460ff16155b151561399857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b50600054610100900460ff161580156139c4576000805460ff1961ff0019909116610100171660011790555b6068805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790558015610cf2576000805461ff00191690555050565b600081600080613a1083612a1e565b9150613a1b83612113565b90506000821115613ad55760a154821115613a37576000613a4a565b60a154613a4a908363ffffffff613e2716565b60a155600160a060020a038316600090815260a36020526040902054613a76908363ffffffff613e3e16565b600160a060020a038416600090815260a36020526040902055609f54613aa2908363ffffffff613e3e16565b609f55604080518381529051600160a060020a038516916000916000805160206143e08339815191529181900360200190a35b6000811115613bf25760b354811115613aef576000613b02565b60b354613b02908263ffffffff613e2716565b60b355600160a060020a038316600090815260bb602052604090205460ff161515613bf257600160a060020a038316600090815260a36020526040902054811115613b6557600160a060020a038316600090815260a36020526040902054613b67565b805b600160a060020a038416600090815260a36020526040902054909150613b93908263ffffffff613e2716565b600160a060020a038416600090815260a36020526040902055609f54613bbf908263ffffffff613e2716565b609f55604080518281529051600091600160a060020a038616916000805160206143e08339815191529181900360200190a35b60a25460a054604080517f95d0d5b0000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301526024820193909352905191909216916395d0d5b09160448083019260209291908290030181600087803b158015613c6557600080fd5b505af1158015613c79573d6000803e3d6000fd5b505050506040513d6020811015613c8f57600080fd5b505060b254600160a060020a038416600090815260b1602052604090205560019350505050919050565b60aa54620100009004600160a060020a031681565b60aa54620100009004600160a060020a03163314613ceb57600080fd5b60b5805460ff1916911515919091179055565b60b55460ff1681565b600160a060020a03918216600090815260a46020908152604080832093909416825291909152205490565b60a95481565b613d40612e10565b1515613d4b57600080fd5b60b9805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b613d82612e10565b1515613d8d57600080fd5b60ac8054600160a060020a03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b613dd4612e10565b1515613ddf57600080fd5b613de881614181565b50565b609c54600160a060020a031681565b60b954600160a060020a031681565b613e11612e10565b1515613e1c57600080fd5b609f55565b303b1590565b60008083831115613e3757600080fd5b5050900390565b60008282018381101561224d57600080fd5b600080831515613e635760009150610d87565b50828202828482811515613e7357fe5b041461224d57600080fd5b600080808311613e8d57600080fd5b8284811515613e9857fe5b04949350505050565b6000613eac826141ff565b609f54909150613ec390600a63ffffffff613e7e16565b81118015613ed3575060b55460ff165b15613eef57609f54613eec90600a63ffffffff613e7e16565b90505b609f54613f1d90613f0e906113b784633b9aca0063ffffffff613e5016565b60b2549063ffffffff613e3e16565b60b25560b354613f33908263ffffffff613e3e16565b60b35560408051828152905184917f18432ecf4e7997ec04cf33970edf79fb9023db88b96af92429f6d73112e56bc7919081900360200190a2505050565b600080613f9264174876e8006113b7609d5486613e5090919063ffffffff16565b9150613fbe60646113b760a854613fb28688613e2790919063ffffffff16565b9063ffffffff613e5016565b60ac546101009004600160a060020a0316600090815260a36020526040902054909150613feb9083613e3e565b60ac8054600160a060020a03610100918290048116600090815260a360209081526040808320969096559354855188815295519390049091169390926000805160206143e083398151915292918290030190a360b954604080517f9056fad6000000000000000000000000000000000000000000000000000000008152600481018490529051600160a060020a0390921691639056fad69160248082019260009290919082900301818387803b1580156140a457600080fd5b505af11580156140b8573d6000803e3d6000fd5b505060b954600160a060020a0316600090815260a360205260409020546140e8925090508263ffffffff613e3e16565b60b98054600160a060020a03908116600090815260a3602090815260408083209590955592548451868152945192169390926000805160206143e083398151915292918290030190a36141568161414a84609f54613e3e90919063ffffffff16565b9063ffffffff613e3e16565b609f55610f3c61417c82614170868663ffffffff613e2716565b9063ffffffff613e2716565b614247565b600160a060020a038116151561419657600080fd5b606854604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36068805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60007f800000000000000000000000000000000000000000000000000000000000000082141561422e57600080fd5b6000821261423c5781614241565b816000035b92915050565b600061430a6142fb60a260009054906101000a9004600160a060020a0316600160a060020a031663817b1cd26040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156142bb57600080fd5b505af11580156142cf573d6000803e3d6000fd5b505050506040513d60208110156142e557600080fd5b50516113b785633b9aca0063ffffffff613e5016565b60a0549063ffffffff613e3e16565b60a05560a154614320908363ffffffff613e3e16565b60a155506001919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061436c57805160ff1916838001178555614399565b82800160010185558215614399579182015b8281111561439957825182559160200191906001019061437e565b506137ce9291506143c5565b815481835581811115611fcf57600083815260209020611fcf9181019083015b610c6b91905b808211156137ce57600081556001016143cb5600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058201e678185d682912a7fc1077b6df376892b2ebde117bc1dc937d10cc770ca1f520029

Deployed Bytecode

0x6080604052600436106103005763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610305578063094a5c651461038f578063095ea7b3146103e65780630adf1be81461041e5780630ebf69cd1461044557806314eb3f241461045d5780631624f6c61461049157806318160ddd1461052d5780631b34bb2c146105425780631b7b033b146105635780631cceddac1461057857806321b97bba1461059057806322872e0b146105a557806323b872dd146105bf5780632449c0c1146105e9578063313ce5671461060f5780633760390c1461063a578063395093511461064f578063485cc955146106735780634b743bc11461069a5780634ea7262b146106af5780634f2b9629146106c457806353ca9f24146106dc57806359197c58146106f157806359e64d1e1461071257806361d027b314610727578063633b5c4f1461073c5780636349c9ec146107515780636a37d3461461077257806370a0823114610793578063715018a6146107b457806376f5c98f146107c95780637a43e23f146107de5780637eecd2bb146107f95780638391e45c1461081a578063881d0a341461083b57806389a2bc25146108505780638b5a6a08146108685780638da5cb5b146108895780638e27d7d71461089e5780638f32d59b146108b357806395d89b41146108c8578063a0265b1d146108dd578063a3895fff146108f2578063a3bbf79f1461094b578063a457c2d714610960578063a9059cbb14610984578063ad684efc146109a8578063b532be18146109bd578063b961971514610a22578063bdacb30314610a3a578063c335da5414610a5b578063c4d66de814610a70578063c7e772ed14610a91578063d33219b414610ab2578063d380599a14610ac7578063d7115bd714610ae1578063dd62ed3e14610af6578063e911a1c914610b1d578063e9e15b4f14610b32578063f0f4426014610b53578063f2fde38b14610b74578063f33670aa14610b95578063f7cc4c6014610baa578063f7ea7a3d14610bbf575b600080fd5b34801561031157600080fd5b5061031a610bd7565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561035457818101518382015260200161033c565b50505050905090810190601f1680156103815780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561039b57600080fd5b50604080516020600480358082013583810280860185019096528085526103e495369593946024949385019291829185019084908082843750949750610c6e9650505050505050565b005b3480156103f257600080fd5b5061040a600160a060020a0360043516602435610cf6565b604080519115158252519081900360200190f35b34801561042a57600080fd5b50610433610d8e565b60408051918252519081900360200190f35b34801561045157600080fd5b506103e4600435610d94565b34801561046957600080fd5b50610475600435610de4565b60408051600160a060020a039092168252519081900360200190f35b34801561049d57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526103e494369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497505050923560ff169350610e0c92505050565b34801561053957600080fd5b50610433610f42565b34801561054e57600080fd5b5061040a600160a060020a0360043516610f48565b34801561056f57600080fd5b506103e4610f5d565b34801561058457600080fd5b506103e460043561144d565b34801561059c57600080fd5b5061043361148f565b3480156105b157600080fd5b506103e46004351515611495565b3480156105cb57600080fd5b5061040a600160a060020a0360043581169060243516604435611547565b3480156105f557600080fd5b506103e4600160a060020a03600435166024351515611c42565b34801561061b57600080fd5b50610624611ce3565b6040805160ff9092168252519081900360200190f35b34801561064657600080fd5b5061040a611cec565b34801561065b57600080fd5b5061040a600160a060020a0360043516602435611d0d565b34801561067f57600080fd5b506103e4600160a060020a0360043581169060243516611da6565b3480156106a657600080fd5b5061040a611fd4565b3480156106bb57600080fd5b50610433611fdd565b3480156106d057600080fd5b506103e4600435611fe3565b3480156106e857600080fd5b5061040a61209f565b3480156106fd57600080fd5b5061040a600160a060020a03600435166120c0565b34801561071e57600080fd5b506104756120d5565b34801561073357600080fd5b506104756120e4565b34801561074857600080fd5b506104336120f8565b34801561075d57600080fd5b5061040a600160a060020a03600435166120fe565b34801561077e57600080fd5b50610433600160a060020a0360043516612113565b34801561079f57600080fd5b50610433600160a060020a03600435166121d2565b3480156107c057600080fd5b506103e4612254565b3480156107d557600080fd5b506104336122be565b3480156107ea57600080fd5b506104336004356024356122c4565b34801561080557600080fd5b50610433600160a060020a0360043516612a0c565b34801561082657600080fd5b50610433600160a060020a0360043516612a1e565b34801561084757600080fd5b50610433612cb7565b34801561085c57600080fd5b506103e4600435612cbd565b34801561087457600080fd5b506103e4600160a060020a0360043516612d73565b34801561089557600080fd5b50610475612df2565b3480156108aa57600080fd5b50610475612e01565b3480156108bf57600080fd5b5061040a612e10565b3480156108d457600080fd5b5061031a612e21565b3480156108e957600080fd5b506103e4612e82565b3480156108fe57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526103e4943694929360249392840191908190840183828082843750949750612f849650505050505050565b34801561095757600080fd5b50610433612fb4565b34801561096c57600080fd5b5061040a600160a060020a0360043516602435612fba565b34801561099057600080fd5b5061040a600160a060020a03600435166024356130a9565b3480156109b457600080fd5b5061040a613749565b3480156109c957600080fd5b506109d261376a565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610a0e5781810151838201526020016109f6565b505050509050019250505060405180910390f35b348015610a2e57600080fd5b506103e46004356137d2565b348015610a4657600080fd5b506103e4600160a060020a0360043516613884565b348015610a6757600080fd5b506104336138d7565b348015610a7c57600080fd5b506103e4600160a060020a03600435166138dd565b348015610a9d57600080fd5b5061040a600160a060020a0360043516613a01565b348015610abe57600080fd5b50610475613cb9565b348015610ad357600080fd5b506103e46004351515613cce565b348015610aed57600080fd5b5061040a613cfe565b348015610b0257600080fd5b50610433600160a060020a0360043581169060243516613d07565b348015610b2957600080fd5b50610433613d32565b348015610b3e57600080fd5b506103e4600160a060020a0360043516613d38565b348015610b5f57600080fd5b506103e4600160a060020a0360043516613d7a565b348015610b8057600080fd5b506103e4600160a060020a0360043516613dcc565b348015610ba157600080fd5b50610475613deb565b348015610bb657600080fd5b50610475613dfa565b348015610bcb57600080fd5b506103e4600435613e09565b60338054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c635780601f10610c3857610100808354040283529160200191610c63565b820191906000526020600020905b815481529060010190602001808311610c4657829003601f168201915b505050505090505b90565b6000610c78612e10565b1515610c8357600080fd5b5060005b8151811015610cf25760b48282815181101515610ca057fe5b602090810291909101810151825460018082018555600094855292909320909201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039093169290921790915501610c87565b5050565b600082600160a060020a0381161515610d0e57600080fd5b600160a060020a038116301415610d2457600080fd5b33600081815260a460209081526040808320600160a060020a03891680855290835292819020879055805187815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a3600191505b5092915050565b60a75481565b60aa54620100009004600160a060020a0316331480610dc65750337389a359a3d37c3a857e62cde9715900441b47acec145b1515610dd157600080fd5b6064811115610ddf57600080fd5b60a855565b60b4805482908110610df257fe5b600091825260209091200154600160a060020a0316905081565b60008054610100900460ff1680610e265750610e26613e21565b80610e34575060005460ff16155b1515610ec757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b50600054610100900460ff16158015610ef3576000805460ff1961ff0019909116610100171660011790555b8351610f0690603390602087019061432b565b508251610f1a90603490602086019061432b565b506035805460ff191660ff84161790558015610f3c576000805461ff00191690555b50505050565b609f5490565b60ab6020526000908152604090205460ff1681565b600080600033600080610f6f83612a1e565b9150610f7a83612113565b905060008211156110345760a154821115610f96576000610fa9565b60a154610fa9908363ffffffff613e2716565b60a155600160a060020a038316600090815260a36020526040902054610fd5908363ffffffff613e3e16565b600160a060020a038416600090815260a36020526040902055609f54611001908363ffffffff613e3e16565b609f55604080518381529051600160a060020a038516916000916000805160206143e08339815191529181900360200190a35b60008111156111515760b35481111561104e576000611061565b60b354611061908263ffffffff613e2716565b60b355600160a060020a038316600090815260bb602052604090205460ff16151561115157600160a060020a038316600090815260a360205260409020548111156110c457600160a060020a038316600090815260a360205260409020546110c6565b805b600160a060020a038416600090815260a360205260409020549091506110f2908263ffffffff613e2716565b600160a060020a038416600090815260a36020526040902055609f5461111e908263ffffffff613e2716565b609f55604080518281529051600091600160a060020a038616916000805160206143e08339815191529181900360200190a35b60a25460a054604080517f95d0d5b0000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301526024820193909352905191909216916395d0d5b09160448083019260209291908290030181600087803b1580156111c457600080fd5b505af11580156111d8573d6000803e3d6000fd5b505050506040513d60208110156111ee57600080fd5b505060b254600160a060020a03808516600090815260b1602090815260408083209490945560b85484517f70a0823100000000000000000000000000000000000000000000000000000000815233600482015294519316936370a082319360248083019491928390030190829087803b15801561126a57600080fd5b505af115801561127e573d6000803e3d6000fd5b505050506040513d602081101561129457600080fd5b505160b854604080517f95a2251f0000000000000000000000000000000000000000000000000000000081523360048201529051929850600160a060020a03909116916395a2251f916024808201926020929091908290030181600087803b1580156112ff57600080fd5b505af1158015611313573d6000803e3d6000fd5b505050506040513d602081101561132957600080fd5b5051945084151561139b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f756e7375636365737366756c2072656465656d00000000000000000000000000604482015290519081900360640190fd5b6113c3633b9aca006113b7886375bd970d63ffffffff613e5016565b9063ffffffff613e7e16565b33600090815260a360205260409020549094506113e6908563ffffffff613e3e16565b33600090815260a3602052604080822092909255308152205461140f908563ffffffff613e2716565b30600081815260a36020908152604091829020939093558051878152905133936000805160206143e0833981519152928290030190a3505050505050565b60aa54620100009004600160a060020a031633148061147f5750337389a359a3d37c3a857e62cde9715900441b47acec145b151561148a57600080fd5b60a655565b60a85481565b60aa54620100009004600160a060020a03163314806114c75750337389a359a3d37c3a857e62cde9715900441b47acec145b15156114d257600080fd5b609c805482151574010000000000000000000000000000000000000000810274ff0000000000000000000000000000000000000000199092169190911790915560408051918252517fb36927c68760751ec71d827eb30be804be612d87c7c6b6a1f255258c6a1bea669181900360200190a150565b600082600160a060020a038116151561155f57600080fd5b600160a060020a03811630141561157557600080fd5b8460008061158283612a1e565b915061158d83612113565b905060008211156116475760a1548211156115a95760006115bc565b60a1546115bc908363ffffffff613e2716565b60a155600160a060020a038316600090815260a360205260409020546115e8908363ffffffff613e3e16565b600160a060020a038416600090815260a36020526040902055609f54611614908363ffffffff613e3e16565b609f55604080518381529051600160a060020a038516916000916000805160206143e08339815191529181900360200190a35b60008111156117645760b354811115611661576000611674565b60b354611674908263ffffffff613e2716565b60b355600160a060020a038316600090815260bb602052604090205460ff16151561176457600160a060020a038316600090815260a360205260409020548111156116d757600160a060020a038316600090815260a360205260409020546116d9565b805b600160a060020a038416600090815260a36020526040902054909150611705908263ffffffff613e2716565b600160a060020a038416600090815260a36020526040902055609f54611731908263ffffffff613e2716565b609f55604080518281529051600091600160a060020a038616916000805160206143e08339815191529181900360200190a35b60a25460a054604080517f95d0d5b0000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301526024820193909352905191909216916395d0d5b09160448083019260209291908290030181600087803b1580156117d757600080fd5b505af11580156117eb573d6000803e3d6000fd5b505050506040513d602081101561180157600080fd5b505060b254600160a060020a038416600090815260b1602052604081209190915587908061182e83612a1e565b915061183983612113565b905060008211156118f35760a154821115611855576000611868565b60a154611868908363ffffffff613e2716565b60a155600160a060020a038316600090815260a36020526040902054611894908363ffffffff613e3e16565b600160a060020a038416600090815260a36020526040902055609f546118c0908363ffffffff613e3e16565b609f55604080518381529051600160a060020a038516916000916000805160206143e08339815191529181900360200190a35b6000811115611a105760b35481111561190d576000611920565b60b354611920908263ffffffff613e2716565b60b355600160a060020a038316600090815260bb602052604090205460ff161515611a1057600160a060020a038316600090815260a3602052604090205481111561198357600160a060020a038316600090815260a36020526040902054611985565b805b600160a060020a038416600090815260a360205260409020549091506119b1908263ffffffff613e2716565b600160a060020a038416600090815260a36020526040902055609f546119dd908263ffffffff613e2716565b609f55604080518281529051600091600160a060020a038616916000805160206143e08339815191529181900360200190a35b60a25460a054604080517f95d0d5b0000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301526024820193909352905191909216916395d0d5b09160448083019260209291908290030181600087803b158015611a8357600080fd5b505af1158015611a97573d6000803e3d6000fd5b505050506040513d6020811015611aad57600080fd5b505060b254600160a060020a038416600090815260b1602052604090205560aa54610100900460ff1615611b4257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f64703a3a7265656e7472616e6379000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038b16600090815260a460209081526040808320338452909152902054611b76908a63ffffffff613e2716565b600160a060020a038c16600081815260a46020908152604080832033845282528083209490945591815260a39091522054611bb7908a63ffffffff613e2716565b600160a060020a03808d16600090815260a3602052604080822093909355908c1681522054611bec908a63ffffffff613e3e16565b600160a060020a03808c16600081815260a360209081526040918290209490945580518d815290519193928f16926000805160206143e083398151915292918290030190a35060019a9950505050505050505050565b60aa54620100009004600160a060020a0316331480611c745750337389a359a3d37c3a857e62cde9715900441b47acec145b1515611c7f57600080fd5b600160a060020a038216600081815260bb6020908152604091829020805460ff191685151590811790915582519384529083015280517feaf70b16859c911c19ea9fda5dcdfd25fcd9e0ed4115fba85d9b612c84701a189281900390910190a15050565b60355460ff1690565b60b85474010000000000000000000000000000000000000000900460ff1681565b33600090815260a460209081526040808320600160a060020a0386168452909152812054611d41908363ffffffff613e3e16565b33600081815260a460209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60008054610100900460ff1680611dc05750611dc0613e21565b80611dce575060005460ff16155b1515611e6157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b50600054610100900460ff16158015611e8d576000805460ff1961ff0019909116610100171660011790555b611f036040805190810160405280600781526020017f446f6c6c617273000000000000000000000000000000000000000000000000008152506040805190810160405280600381526020017f55534400000000000000000000000000000000000000000000000000000000008152506009610e0c565b611f0c836138dd565b609c805466038d7ea4c68000609f819055600160a060020a038086167fffffffffffffffffffffff000000000000000000000000000000000000000000909316831790935560a2805473ffffffffffffffffffffffffffffffffffffffff1916909217909155908416600081815260a360209081526040808320859055640ba43b7400609e5564174876e80060a955805194855251929391926000805160206143e08339815191529281900390910190a38015611fcf576000805461ff00191690555b505050565b60b05460ff1681565b60a65481565b6000611fed612e10565b1515611ff857600080fd5b60b454821061200657610cf2565b50805b60b4546000190181101561208c5760b480546001830190811061202857fe5b60009182526020909120015460b48054600160a060020a03909216918390811061204e57fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055600101612009565b60b4805490611fcf9060001983016143a5565b609c5474010000000000000000000000000000000000000000900460ff1681565b60bb6020526000908152604090205460ff1681565b60b854600160a060020a031681565b60ac546101009004600160a060020a031681565b60ae5481565b60ad6020526000908152604090205460ff1681565b600160a060020a038116600090815260b1602052604081205460b254829182911180156121595750600160a060020a038416600090815260bb602052604090205460ff16155b156121c657600160a060020a038416600090815260b1602052604090205460b2546121899163ffffffff613e2716565b600160a060020a038516600090815260a3602052604090205490925090506121bf633b9aca006113b7838563ffffffff613e5016565b92506121cb565b600092505b5050919050565b6000806121de83612113565b600160a060020a038416600090815260a3602052604090205490915081111561221f57600160a060020a038316600090815260a36020526040902054612221565b805b600160a060020a038416600090815260a3602052604090205490915061224d908263ffffffff613e2716565b9392505050565b61225c612e10565b151561226757600080fd5b606854604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26068805473ffffffffffffffffffffffffffffffffffffffff19169055565b609d5481565b609b5460009081908190600160a060020a031633146122e257600080fd5b609c5474010000000000000000000000000000000000000000900460ff161561230a57600080fd5b3260008061231783612a1e565b915061232283612113565b905060008211156123dc5760a15482111561233e576000612351565b60a154612351908363ffffffff613e2716565b60a155600160a060020a038316600090815260a3602052604090205461237d908363ffffffff613e3e16565b600160a060020a038416600090815260a36020526040902055609f546123a9908363ffffffff613e3e16565b609f55604080518381529051600160a060020a038516916000916000805160206143e08339815191529181900360200190a35b60008111156124f95760b3548111156123f6576000612409565b60b354612409908263ffffffff613e2716565b60b355600160a060020a038316600090815260bb602052604090205460ff1615156124f957600160a060020a038316600090815260a3602052604090205481111561246c57600160a060020a038316600090815260a3602052604090205461246e565b805b600160a060020a038416600090815260a3602052604090205490915061249a908263ffffffff613e2716565b600160a060020a038416600090815260a36020526040902055609f546124c6908263ffffffff613e2716565b609f55604080518281529051600091600160a060020a038616916000805160206143e08339815191529181900360200190a35b60a25460a054604080517f95d0d5b0000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301526024820193909352905191909216916395d0d5b09160448083019260209291908290030181600087803b15801561256c57600080fd5b505af1158015612580573d6000803e3d6000fd5b505050506040513d602081101561259657600080fd5b505060b254600160a060020a038416600090815260b1602052604090205560aa54610100900460ff161561262b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f64703a3a7265656e7472616e6379000000000000000000000000000000000000604482015290519081900360640190fd5b60aa805461ff0019166101001790558615156127055760b954604080517f9056fad60000000000000000000000000000000000000000000000000000000081526000600482018190529151600160a060020a0390931692639056fad69260248084019391929182900301818387803b1580156126a657600080fd5b505af11580156126ba573d6000803e3d6000fd5b505060b8805474ff00000000000000000000000000000000000000001990811690915560b98054909116740100000000000000000000000000000000000000001790555061287d9050565b60008712156127cc5760b8805474ff00000000000000000000000000000000000000001990811690915560b980549182169055604080517f9056fad60000000000000000000000000000000000000000000000000000000081526000600482018190529151600160a060020a0390931692639056fad69260248084019391929182900301818387803b15801561279a57600080fd5b505af11580156127ae573d6000803e3d6000fd5b5050505060a754600114156127c7576127c78888613ea1565b61287d565b6127d587613f71565b609f54604080519182525189917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a260b8805474ff000000000000000000000000000000000000000019908116740100000000000000000000000000000000000000001790915560b980549091169055609f546fffffffffffffffffffffffffffffffff101561287d576fffffffffffffffffffffffffffffffff609f555b600094505b60b4548510156129805760b480548690811061289a57fe5b6000918252602080832090910154604080516004815260248101825292830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ffff6cae90000000000000000000000000000000000000000000000000000000017815290518351600160a060020a039093169490928392918190849084905b83811015612931578181015183820152602001612919565b50505050905090810190601f16801561295e5780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af16001909701969550612882915050565b60a65432600090815260a360205260409020546129a29163ffffffff613e3e16565b32600090815260a3602052604090205560a654609f546129c79163ffffffff613e3e16565b609f5560a654604080519182525132916000916000805160206143e08339815191529181900360200190a3505060aa805461ff00191690555050609f54949350505050565b60b16020526000908152604090205481565b60a254604080517f806985f7000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291516000938493849391169163806985f79160248082019260209290919082900301818787803b158015612a8b57600080fd5b505af1158015612a9f573d6000803e3d6000fd5b505050506040513d6020811015612ab557600080fd5b505160a054118015612b5a575060a254604080517f4837eb1f000000000000000000000000000000000000000000000000000000008152600160a060020a03878116600483015291519190921691634837eb1f9160248083019260209291908290030181600087803b158015612b2a57600080fd5b505af1158015612b3e573d6000803e3d6000fd5b505050506040513d6020811015612b5457600080fd5b50516001145b156121c65760a254604080517f806985f7000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301529151612c0793929092169163806985f7916024808201926020929091908290030181600087803b158015612bcc57600080fd5b505af1158015612be0573d6000803e3d6000fd5b505050506040513d6020811015612bf657600080fd5b505160a0549063ffffffff613e2716565b60a254604080517fcf356e08000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152915193955091169163cf356e08916024808201926020929091908290030181600087803b158015612c7157600080fd5b505af1158015612c85573d6000803e3d6000fd5b505050506040513d6020811015612c9b57600080fd5b505190506121bf633b9aca006113b7838563ffffffff613e5016565b60b65481565b60aa54620100009004600160a060020a0316331480612cef5750337389a359a3d37c3a857e62cde9715900441b47acec145b1515612cfa57600080fd5b64174876e800811115612d6e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f70657263656e7420746f6f206869676800000000000000000000000000000000604482015290519081900360640190fd5b609d55565b612d7b612e10565b1515612d8657600080fd5b609b8054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff19918216811790925560a580549091168217905560408051918252517f0e6961f1a1afb87eaf51fd64f22ddc10062e23aa7838eac5d0bdf140bfd389729181900360200190a150565b606854600160a060020a031690565b609b54600160a060020a031681565b606854600160a060020a0316331490565b60ba8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c635780601f10610c3857610100808354040283529160200191610c63565b6000805b60b454821015610cf25760b4805483908110612e9e57fe5b6000918252602080832090910154604080516004815260248101825292830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ffff6cae90000000000000000000000000000000000000000000000000000000017815290518351600160a060020a039093169490928392918190849084905b83811015612f35578181015183820152602001612f1d565b50505050905090810190601f168015612f625780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af16001909401939250612e86915050565b60aa54620100009004600160a060020a03163314612fa157600080fd5b8051610cf29060ba90602084019061432b565b60b75481565b33600090815260a460209081526040808320600160a060020a038616845290915281205480831061300e5733600090815260a460209081526040808320600160a060020a0388168452909152812055613043565b61301e818463ffffffff613e2716565b33600090815260a460209081526040808320600160a060020a03891684529091529020555b33600081815260a460209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600082600160a060020a03811615156130c157600080fd5b600160a060020a0381163014156130d757600080fd5b336000806130e483612a1e565b91506130ef83612113565b905060008211156131a95760a15482111561310b57600061311e565b60a15461311e908363ffffffff613e2716565b60a155600160a060020a038316600090815260a3602052604090205461314a908363ffffffff613e3e16565b600160a060020a038416600090815260a36020526040902055609f54613176908363ffffffff613e3e16565b609f55604080518381529051600160a060020a038516916000916000805160206143e08339815191529181900360200190a35b60008111156132c65760b3548111156131c35760006131d6565b60b3546131d6908263ffffffff613e2716565b60b355600160a060020a038316600090815260bb602052604090205460ff1615156132c657600160a060020a038316600090815260a3602052604090205481111561323957600160a060020a038316600090815260a3602052604090205461323b565b805b600160a060020a038416600090815260a36020526040902054909150613267908263ffffffff613e2716565b600160a060020a038416600090815260a36020526040902055609f54613293908263ffffffff613e2716565b609f55604080518281529051600091600160a060020a038616916000805160206143e08339815191529181900360200190a35b60a25460a054604080517f95d0d5b0000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301526024820193909352905191909216916395d0d5b09160448083019260209291908290030181600087803b15801561333957600080fd5b505af115801561334d573d6000803e3d6000fd5b505050506040513d602081101561336357600080fd5b505060b254600160a060020a038416600090815260b1602052604081209190915587908061339083612a1e565b915061339b83612113565b905060008211156134555760a1548211156133b75760006133ca565b60a1546133ca908363ffffffff613e2716565b60a155600160a060020a038316600090815260a360205260409020546133f6908363ffffffff613e3e16565b600160a060020a038416600090815260a36020526040902055609f54613422908363ffffffff613e3e16565b609f55604080518381529051600160a060020a038516916000916000805160206143e08339815191529181900360200190a35b60008111156135725760b35481111561346f576000613482565b60b354613482908263ffffffff613e2716565b60b355600160a060020a038316600090815260bb602052604090205460ff16151561357257600160a060020a038316600090815260a360205260409020548111156134e557600160a060020a038316600090815260a360205260409020546134e7565b805b600160a060020a038416600090815260a36020526040902054909150613513908263ffffffff613e2716565b600160a060020a038416600090815260a36020526040902055609f5461353f908263ffffffff613e2716565b609f55604080518281529051600091600160a060020a038616916000805160206143e08339815191529181900360200190a35b60a25460a054604080517f95d0d5b0000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301526024820193909352905191909216916395d0d5b09160448083019260209291908290030181600087803b1580156135e557600080fd5b505af11580156135f9573d6000803e3d6000fd5b505050506040513d602081101561360f57600080fd5b505060b254600160a060020a038416600090815260b1602052604090205560aa54610100900460ff16156136a457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f64703a3a7265656e7472616e6379000000000000000000000000000000000000604482015290519081900360640190fd5b33600090815260a360205260409020546136c4908a63ffffffff613e2716565b33600090815260a3602052604080822092909255600160a060020a038c16815220546136f6908a63ffffffff613e3e16565b600160a060020a038b16600081815260a360209081526040918290209390935580518c81529051919233926000805160206143e08339815191529281900390910190a35060019998505050505050505050565b60b95474010000000000000000000000000000000000000000900460ff1681565b60608060b48054806020026020016040519081016040528092919081815260200182805480156137c357602002820191906000526020600020905b8154600160a060020a031681526001909101906020018083116137a5575b505050505090508091505b5090565b60aa54620100009004600160a060020a03163314806138045750337389a359a3d37c3a857e62cde9715900441b47acec145b151561380f57600080fd5b600181111561387f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f76616c7565206d7573742062652030206f722031000000000000000000000000604482015290519081900360640190fd5b60a755565b61388c612e10565b151561389757600080fd5b60aa8054600160a060020a0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b60af5481565b60008054610100900460ff16806138f757506138f7613e21565b80613905575060005460ff16155b151561399857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b50600054610100900460ff161580156139c4576000805460ff1961ff0019909116610100171660011790555b6068805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790558015610cf2576000805461ff00191690555050565b600081600080613a1083612a1e565b9150613a1b83612113565b90506000821115613ad55760a154821115613a37576000613a4a565b60a154613a4a908363ffffffff613e2716565b60a155600160a060020a038316600090815260a36020526040902054613a76908363ffffffff613e3e16565b600160a060020a038416600090815260a36020526040902055609f54613aa2908363ffffffff613e3e16565b609f55604080518381529051600160a060020a038516916000916000805160206143e08339815191529181900360200190a35b6000811115613bf25760b354811115613aef576000613b02565b60b354613b02908263ffffffff613e2716565b60b355600160a060020a038316600090815260bb602052604090205460ff161515613bf257600160a060020a038316600090815260a36020526040902054811115613b6557600160a060020a038316600090815260a36020526040902054613b67565b805b600160a060020a038416600090815260a36020526040902054909150613b93908263ffffffff613e2716565b600160a060020a038416600090815260a36020526040902055609f54613bbf908263ffffffff613e2716565b609f55604080518281529051600091600160a060020a038616916000805160206143e08339815191529181900360200190a35b60a25460a054604080517f95d0d5b0000000000000000000000000000000000000000000000000000000008152600160a060020a0387811660048301526024820193909352905191909216916395d0d5b09160448083019260209291908290030181600087803b158015613c6557600080fd5b505af1158015613c79573d6000803e3d6000fd5b505050506040513d6020811015613c8f57600080fd5b505060b254600160a060020a038416600090815260b1602052604090205560019350505050919050565b60aa54620100009004600160a060020a031681565b60aa54620100009004600160a060020a03163314613ceb57600080fd5b60b5805460ff1916911515919091179055565b60b55460ff1681565b600160a060020a03918216600090815260a46020908152604080832093909416825291909152205490565b60a95481565b613d40612e10565b1515613d4b57600080fd5b60b9805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b613d82612e10565b1515613d8d57600080fd5b60ac8054600160a060020a03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b613dd4612e10565b1515613ddf57600080fd5b613de881614181565b50565b609c54600160a060020a031681565b60b954600160a060020a031681565b613e11612e10565b1515613e1c57600080fd5b609f55565b303b1590565b60008083831115613e3757600080fd5b5050900390565b60008282018381101561224d57600080fd5b600080831515613e635760009150610d87565b50828202828482811515613e7357fe5b041461224d57600080fd5b600080808311613e8d57600080fd5b8284811515613e9857fe5b04949350505050565b6000613eac826141ff565b609f54909150613ec390600a63ffffffff613e7e16565b81118015613ed3575060b55460ff165b15613eef57609f54613eec90600a63ffffffff613e7e16565b90505b609f54613f1d90613f0e906113b784633b9aca0063ffffffff613e5016565b60b2549063ffffffff613e3e16565b60b25560b354613f33908263ffffffff613e3e16565b60b35560408051828152905184917f18432ecf4e7997ec04cf33970edf79fb9023db88b96af92429f6d73112e56bc7919081900360200190a2505050565b600080613f9264174876e8006113b7609d5486613e5090919063ffffffff16565b9150613fbe60646113b760a854613fb28688613e2790919063ffffffff16565b9063ffffffff613e5016565b60ac546101009004600160a060020a0316600090815260a36020526040902054909150613feb9083613e3e565b60ac8054600160a060020a03610100918290048116600090815260a360209081526040808320969096559354855188815295519390049091169390926000805160206143e083398151915292918290030190a360b954604080517f9056fad6000000000000000000000000000000000000000000000000000000008152600481018490529051600160a060020a0390921691639056fad69160248082019260009290919082900301818387803b1580156140a457600080fd5b505af11580156140b8573d6000803e3d6000fd5b505060b954600160a060020a0316600090815260a360205260409020546140e8925090508263ffffffff613e3e16565b60b98054600160a060020a03908116600090815260a3602090815260408083209590955592548451868152945192169390926000805160206143e083398151915292918290030190a36141568161414a84609f54613e3e90919063ffffffff16565b9063ffffffff613e3e16565b609f55610f3c61417c82614170868663ffffffff613e2716565b9063ffffffff613e2716565b614247565b600160a060020a038116151561419657600080fd5b606854604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36068805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60007f800000000000000000000000000000000000000000000000000000000000000082141561422e57600080fd5b6000821261423c5781614241565b816000035b92915050565b600061430a6142fb60a260009054906101000a9004600160a060020a0316600160a060020a031663817b1cd26040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156142bb57600080fd5b505af11580156142cf573d6000803e3d6000fd5b505050506040513d60208110156142e557600080fd5b50516113b785633b9aca0063ffffffff613e5016565b60a0549063ffffffff613e3e16565b60a05560a154614320908363ffffffff613e3e16565b60a155506001919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061436c57805160ff1916838001178555614399565b82800160010185558215614399579182015b8281111561439957825182559160200191906001019061437e565b506137ce9291506143c5565b815481835581811115611fcf57600083815260209020611fcf9181019083015b610c6b91905b808211156137ce57600081556001016143cb5600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058201e678185d682912a7fc1077b6df376892b2ebde117bc1dc937d10cc770ca1f520029

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.