ETH Price: $2,670.57 (+1.76%)

Contract

0x9aA299849610ECe1A95604f42b125012b893e7DB
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CNYx

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-17
*/

// 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: openzeppelin-eth/contracts/utils/ReentrancyGuard.sol

pragma solidity ^0.4.24;


/**
 * @title Helps contracts guard against reentrancy attacks.
 * @author Remco Bloemen <remco@2π.com>, Eenae <[email protected]>
 * @dev If you mark a function `nonReentrant`, you should also
 * mark it `external`.
 */
contract ReentrancyGuard is Initializable {

  /// @dev counter to allow mutex lock with only one SSTORE operation
  uint256 private _guardCounter;

  function initialize() public initializer {
    _guardCounter = 1;
  }

  /**
   * @dev Prevents a contract from calling itself, directly or indirectly.
   * If you mark a function `nonReentrant`, you should also
   * mark it `external`. Calling one `nonReentrant` function from
   * another is not supported. Instead, you can implement a
   * `private` function doing the actual work, and an `external`
   * wrapper marked as `nonReentrant`.
   */
  modifier nonReentrant() {
    _guardCounter += 1;
    uint256 localCounter = _guardCounter;
    _;
    require(localCounter == _guardCounter);
  }

  uint256[50] private ______gap;
}

// File: contracts/cny/cnyx.sol

pragma solidity >=0.4.24;








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

/*
 *  CNYx ERC20
 */

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

    uint256 private constant DECIMALS = 9;
    uint256 private constant MAX_SUPPLY = ~uint128(0);  // (2^128) - 1
    uint256 private constant POINT_MULTIPLIER = 10 ** 9;

    uint256 public percentToTreasury;
    uint256 private _totalSupply;
    uint256 private _totalDividendPoints;
    uint256 private _unclaimedDividends;
    uint256 public rebaseRewardSynth;
    uint256 public debaseBoolean;   // 1 is true, 0 is false
    uint256 public lpToShareRatio;
    
    address[] public uniSyncPairs;

    uint256 private _totalDebtPoints;
    uint256 private _unclaimedDebt;
    
    ISeigniorageShares Shares;

    address public monetaryPolicy;
    address public sharesAddress;
    address public treasury;
    address public poolRewardAddress;

    bool public rebasePaused;
    bool public tenPercentCap;
    bool public lastRebasePositive;
    bool public lastRebaseNeutral;

    string private _symbol;

    mapping(address => uint256) public debtPoints;
    mapping(address => bool) public debaseWhitelist;
    mapping(address => uint256) private _synthBalances;
    mapping (address => mapping (address => uint256)) private _allowedSynth;
    
    // Modifiers
    modifier onlyShare() {
        require(msg.sender == sharesAddress, "unauthorized");
        _;
    }

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

    modifier whenRebaseNotPaused() {
        require(!rebasePaused, "paused");
        _;
    }

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

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

        if (owing > 0) {
            _unclaimedDividends = owing <= _unclaimedDividends ? _unclaimedDividends.sub(owing) : 0;
            _synthBalances[account] = _synthBalances[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 <= _synthBalances[account] ? debt : _synthBalances[account];

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

        emit LogClaim(account, owing);

        Shares.setSyntheticDividendPoints(address(this), account, _totalDividendPoints);
        debtPoints[account] = _totalDebtPoints;

        _;
    }

    // Events
    event LogRebase(uint256 indexed epoch, uint256 totalSupply);
    event LogContraction(uint256 indexed epoch, uint256 synthToBurn);
    event LogRebasePaused(bool paused);
    event LogClaim(address indexed from, uint256 value);
    event LogDebaseWhitelist(address user, bool value);

    // constructor ======================================================================================================
    function initialize(address owner_, uint256 initialDistribution_, address seigniorageAddress)
        public
        initializer
    {
        ERC20Detailed.initialize("Chinese Yuan Renminbi", "CNYx", uint8(DECIMALS));
        ReentrancyGuard.initialize();
        Ownable.initialize(owner_);

        rebasePaused = false;
        debaseBoolean = 1;
        _totalSupply = 100 * 10 ** DECIMALS;
        tenPercentCap = true;

        rebaseRewardSynth = 2000 * 10 ** DECIMALS;
        lpToShareRatio = 85;

        sharesAddress = seigniorageAddress;
        Shares = ISeigniorageShares(seigniorageAddress);

        // used to seed owner to create initial uniswap pool
        _synthBalances[owner_] = _synthBalances[owner_].add(100 * 10 ** DECIMALS);
        emit Transfer(address(0x0), owner_, 100 * 10 ** DECIMALS);

        disburse(initialDistribution_);
    }

    // view functions ======================================================================================================
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function totalSupply()
        external
        view
        returns (uint256)
    {
        return _totalSupply;
    }

    function balanceOf(address who)
        public
        view
        returns (uint256)
    {
        uint256 debt = debtOwing(who);
        debt = debt <= _synthBalances[who] ? debt : _synthBalances[who];

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

    function allowance(address owner_, address spender)
        external
        view
        returns (uint256)
    {
        return _allowedSynth[owner_][spender];
    }

    function dividendsOwing(address account) public view returns (uint256) {
        if (_totalDividendPoints > Shares.lastSyntheticDividendPoints(address(this), account) && Shares.stakingStatus(account) == 1) {
            uint256 newDividendPoints = _totalDividendPoints.sub(Shares.lastSyntheticDividendPoints(address(this), 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 = _synthBalances[account];
            return dollarBalance.mul(newDebtPoints).div(POINT_MULTIPLIER);
        } else {
            return 0;
        }
    }

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

    function rebase(uint256 epoch, int256 supplyDelta)
        external
        nonReentrant
        onlyMonetaryPolicy
        whenRebaseNotPaused
        updateAccount(tx.origin)
        returns (uint256)
    {
        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()'));
        }

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

        return _totalSupply;
    }

    function transfer(address to, uint256 value)
        external
        nonReentrant
        validRecipient(to)
        updateAccount(msg.sender)
        updateAccount(to)
        returns (bool)
    {
        _synthBalances[msg.sender] = _synthBalances[msg.sender].sub(value);
        _synthBalances[to] = _synthBalances[to].add(value);
        emit Transfer(msg.sender, to, value);

        return true;
    }

    function transferFrom(address from, address to, uint256 value)
        external
        nonReentrant
        validRecipient(to)
        updateAccount(from)
        updateAccount(to)
        returns (bool)
    {
        _allowedSynth[from][msg.sender] = _allowedSynth[from][msg.sender].sub(value);

        _synthBalances[from] = _synthBalances[from].sub(value);
        _synthBalances[to] = _synthBalances[to].add(value);
        emit Transfer(from, to, value);

        return true;
    }

    function approve(address spender, uint256 value)
        external
        validRecipient(spender)
        returns (bool)
    {
        _allowedSynth[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue)
        external
        returns (bool)
    {
        _allowedSynth[msg.sender][spender] =
            _allowedSynth[msg.sender][spender].add(addedValue);
        emit Approval(msg.sender, spender, _allowedSynth[msg.sender][spender]);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue)
        external
        returns (bool)
    {
        uint256 oldValue = _allowedSynth[msg.sender][spender];
        if (subtractedValue >= oldValue) {
            _allowedSynth[msg.sender][spender] = 0;
        } else {
            _allowedSynth[msg.sender][spender] = oldValue.sub(subtractedValue);
        }
        emit Approval(msg.sender, spender, _allowedSynth[msg.sender][spender]);
        return true;
    }

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

    // governance functions ======================================================================================================
    function setDebaseWhitelist(address user, bool val) onlyOwner {
        debaseWhitelist[user] = val;
        emit LogDebaseWhitelist(user, val);
    }

    function changeSymbol(string memory symbol) public onlyOwner {
        _symbol = symbol;
    }

    function setRebaseRewardCNYx(uint256 reward) external onlyOwner {
        rebaseRewardSynth = reward;
    }

    function setTreasuryPercent(uint256 percent) external onlyOwner {
        require(percent <= 100 * 10 ** 9, 'percent too high');
        percentToTreasury = percent;
    }

    function setLpToShareRatio(uint256 val_)
        external onlyOwner
    {
        require(val_ <= 100);

        lpToShareRatio = val_;
    }

    function setTenPercentCap(bool _val)
        external onlyOwner
    {
        tenPercentCap = _val;
    }

    function setRebasePaused(bool paused)
        external onlyOwner
    {
        rebasePaused = paused;
        emit LogRebasePaused(paused);
    }

    function setDebaseBoolean(uint256 val_)
        external onlyOwner
    {
        require(val_ <= 1, "value must be 0 or 1");
        debaseBoolean = val_;
    }

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

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

    function setPolicyAddress(address policy_) external onlyOwner {
        monetaryPolicy = policy_;
    }

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

    // internal functions ======================================================================================================
    function negativeRebaseHelper(uint256 epoch, int256 supplyDelta) internal {
        uint256 synthToDelete = uint256(supplyDelta.abs());
        if (synthToDelete > _totalSupply.div(10) && tenPercentCap) {
            synthToDelete = _totalSupply.div(10);
        }

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

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

        IPool(poolRewardAddress).setLastRebase(synthToLPs);
        _synthBalances[poolRewardAddress] = _synthBalances[poolRewardAddress].add(synthToLPs);
        emit Transfer(address(0x0), poolRewardAddress, synthToLPs);
        
        _totalSupply = _totalSupply.add(synthToTreasury).add(synthToLPs);

        disburse(uint256(supplyDelta).sub(synthToTreasury).sub(synthToLPs));
    }

    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":"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":false,"inputs":[{"name":"policy_","type":"address"}],"name":"setPolicyAddress","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":"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":"treasury","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rebaseRewardSynth","outputs":[{"name":"","type":"uint256"}],"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":false,"inputs":[],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"dividendsOwing","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":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":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":"owner_","type":"address"},{"name":"initialDistribution_","type":"uint256"},{"name":"seigniorageAddress","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","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":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":false,"inputs":[{"name":"reward","type":"uint256"}],"name":"setRebaseRewardCNYx","outputs":[],"payable":false,"stateMutability":"nonpayable","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":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"},{"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":"synthToBurn","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":"LogClaim","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"}]

608060405234801561001057600080fd5b50613eac806100206000396000f30060806040526004361061027c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610281578063094a5c651461030b578063095ea7b3146103625780630adf1be81461039a5780630ebf69cd146103c157806314eb3f24146103d95780631624f6c61461040d57806318160ddd146104a957806321b97bba146104be57806322872e0b146104d357806323b872dd146104ed5780632449c0c11461051757806329ae754a1461053d578063313ce5671461055e5780633760390c14610589578063395093511461059e5780634f2b9629146105c257806353ca9f24146105da57806359197c58146105ef57806361d027b31461061057806369de1ed5146106255780636a37d3461461063a57806370a082311461065b578063715018a61461067c57806376f5c98f146106915780637a43e23f146106a65780637eecd2bb146106c15780638129fc1c146106e25780638391e45c146106f757806389a2bc25146107185780638da5cb5b146107305780638e27d7d7146107455780638f32d59b1461075a57806395d89b411461076f578063a0265b1d14610784578063a3895fff14610799578063a457c2d7146107f2578063a9059cbb14610816578063ad684efc1461083a578063b532be181461084f578063b9619715146108b4578063c350a1b5146108cc578063c4d66de8146108f7578063c7e772ed14610918578063d380599a14610939578063d7115bd714610953578063dc28fcf714610968578063dd62ed3e14610980578063e9e15b4f146109a7578063f0f44260146109c8578063f2fde38b146109e9578063f33670aa14610a0a578063f7cc4c6014610a1f575b600080fd5b34801561028d57600080fd5b50610296610a34565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102d05781810151838201526020016102b8565b50505050905090810190601f1680156102fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561031757600080fd5b506040805160206004803580820135838102808601850190965280855261036095369593946024949385019291829185019084908082843750949750610acb9650505050505050565b005b34801561036e57600080fd5b50610386600160a060020a0360043516602435610b53565b604080519115158252519081900360200190f35b3480156103a657600080fd5b506103af610beb565b60408051918252519081900360200190f35b3480156103cd57600080fd5b50610360600435610bf1565b3480156103e557600080fd5b506103f1600435610c17565b60408051600160a060020a039092168252519081900360200190f35b34801561041957600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261036094369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497505050923560ff169350610c3f92505050565b3480156104b557600080fd5b506103af610d75565b3480156104ca57600080fd5b506103af610d7b565b3480156104df57600080fd5b506103606004351515610d81565b3480156104f957600080fd5b50610386600160a060020a0360043581169060243516604435610e13565b34801561052357600080fd5b50610360600160a060020a03600435166024351515611553565b34801561054957600080fd5b50610360600160a060020a03600435166115ca565b34801561056a57600080fd5b5061057361160c565b6040805160ff9092168252519081900360200190f35b34801561059557600080fd5b50610386611615565b3480156105aa57600080fd5b50610386600160a060020a0360043516602435611638565b3480156105ce57600080fd5b506103606004356116d1565b3480156105e657600080fd5b50610386611792565b3480156105fb57600080fd5b50610386600160a060020a03600435166117b3565b34801561061c57600080fd5b506103f16117c8565b34801561063157600080fd5b506103af6117d7565b34801561064657600080fd5b506103af600160a060020a03600435166117dd565b34801561066757600080fd5b506103af600160a060020a03600435166118a8565b34801561068857600080fd5b5061036061192a565b34801561069d57600080fd5b506103af611994565b3480156106b257600080fd5b506103af60043560243561199a565b3480156106cd57600080fd5b506103af600160a060020a036004351661219c565b3480156106ee57600080fd5b506103606121ae565b34801561070357600080fd5b506103af600160a060020a03600435166122af565b34801561072457600080fd5b50610360600435612554565b34801561073c57600080fd5b506103f16125e0565b34801561075157600080fd5b506103f16125ef565b34801561076657600080fd5b506103866125fe565b34801561077b57600080fd5b5061029661260f565b34801561079057600080fd5b50610360612670565b3480156107a557600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526103609436949293602493928401919081908401838280828437509497506127729650505050505050565b3480156107fe57600080fd5b50610386600160a060020a0360043516602435612798565b34801561082257600080fd5b50610386600160a060020a0360043516602435612887565b34801561084657600080fd5b50610386612f50565b34801561085b57600080fd5b50610864612f74565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156108a0578181015183820152602001610888565b505050509050019250505060405180910390f35b3480156108c057600080fd5b50610360600435612fdc565b3480156108d857600080fd5b50610360600160a060020a036004358116906024359060443516613064565b34801561090357600080fd5b50610360600160a060020a03600435166132f5565b34801561092457600080fd5b50610386600160a060020a0360043516613419565b34801561094557600080fd5b506103606004351515613716565b34801561095f57600080fd5b50610386613774565b34801561097457600080fd5b50610360600435613796565b34801561098c57600080fd5b506103af600160a060020a03600435811690602435166137ae565b3480156109b357600080fd5b50610360600160a060020a03600435166137d9565b3480156109d457600080fd5b50610360600160a060020a036004351661381b565b3480156109f557600080fd5b50610360600160a060020a036004351661385d565b348015610a1657600080fd5b506103f1613879565b348015610a2b57600080fd5b506103f1613888565b60338054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ac05780601f10610a9557610100808354040283529160200191610ac0565b820191906000526020600020905b815481529060010190602001808311610aa357829003601f168201915b505050505090505b90565b6000610ad56125fe565b1515610ae057600080fd5b5060005b8151811015610b4f5760d58282815181101515610afd57fe5b602090810291909101810151825460018082018555600094855292909320909201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039093169290921790915501610ae4565b5050565b600082600160a060020a0381161515610b6b57600080fd5b600160a060020a038116301415610b8157600080fd5b33600081815260e160209081526040808320600160a060020a03891680855290835292819020879055805187815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a3600191505b5092915050565b60d35481565b610bf96125fe565b1515610c0457600080fd5b6064811115610c1257600080fd5b60d455565b60d5805482908110610c2557fe5b600091825260209091200154600160a060020a0316905081565b60008054610100900460ff1680610c595750610c59613897565b80610c67575060005460ff16155b1515610cfa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b50600054610100900460ff16158015610d26576000805460ff1961ff0019909116610100171660011790555b8351610d39906033906020870190613dac565b508251610d4d906034906020860190613dac565b506035805460ff191660ff84161790558015610d6f576000805461ff00191690555b50505050565b60cf5490565b60d45481565b610d896125fe565b1515610d9457600080fd5b60dc80548215157401000000000000000000000000000000000000000081027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff9092169190911790915560408051918252517fb36927c68760751ec71d827eb30be804be612d87c7c6b6a1f255258c6a1bea669181900360200190a150565b609b80546001019081905560009083600160a060020a0381161515610e3757600080fd5b600160a060020a038116301415610e4d57600080fd5b85600080610e5a836122af565b9150610e65836117dd565b90506000821115610f1f5760d154821115610e81576000610e94565b60d154610e94908363ffffffff61389d16565b60d155600160a060020a038316600090815260e06020526040902054610ec0908363ffffffff6138b416565b600160a060020a038416600090815260e0602052604090205560cf54610eec908363ffffffff6138b416565b60cf55604080518381529051600160a060020a03851691600091600080516020613e618339815191529181900360200190a35b600081111561103c5760d754811115610f39576000610f4c565b60d754610f4c908263ffffffff61389d16565b60d755600160a060020a038316600090815260df602052604090205460ff16151561103c57600160a060020a038316600090815260e06020526040902054811115610faf57600160a060020a038316600090815260e06020526040902054610fb1565b805b600160a060020a038416600090815260e06020526040902054909150610fdd908263ffffffff61389d16565b600160a060020a038416600090815260e0602052604090205560cf54611009908263ffffffff61389d16565b60cf55604080518281529051600091600160a060020a03861691600080516020613e618339815191529181900360200190a35b604080518381529051600160a060020a038516917ffce6d5860f911bc27ece1365300332d2ddbe20c1adc46ee2eddd8f72c48053b2919081900360200190a260d85460d054604080517f98c8a39d000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0387811660248301526044820193909352905191909216916398c8a39d9160648083019260209291908290030181600087803b1580156110f457600080fd5b505af1158015611108573d6000803e3d6000fd5b505050506040513d602081101561111e57600080fd5b505060d654600160a060020a038416600090815260de602052604081209190915588908061114b836122af565b9150611156836117dd565b905060008211156112105760d154821115611172576000611185565b60d154611185908363ffffffff61389d16565b60d155600160a060020a038316600090815260e060205260409020546111b1908363ffffffff6138b416565b600160a060020a038416600090815260e0602052604090205560cf546111dd908363ffffffff6138b416565b60cf55604080518381529051600160a060020a03851691600091600080516020613e618339815191529181900360200190a35b600081111561132d5760d75481111561122a57600061123d565b60d75461123d908263ffffffff61389d16565b60d755600160a060020a038316600090815260df602052604090205460ff16151561132d57600160a060020a038316600090815260e060205260409020548111156112a057600160a060020a038316600090815260e060205260409020546112a2565b805b600160a060020a038416600090815260e060205260409020549091506112ce908263ffffffff61389d16565b600160a060020a038416600090815260e0602052604090205560cf546112fa908263ffffffff61389d16565b60cf55604080518281529051600091600160a060020a03861691600080516020613e618339815191529181900360200190a35b604080518381529051600160a060020a038516917ffce6d5860f911bc27ece1365300332d2ddbe20c1adc46ee2eddd8f72c48053b2919081900360200190a260d85460d054604080517f98c8a39d000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0387811660248301526044820193909352905191909216916398c8a39d9160648083019260209291908290030181600087803b1580156113e557600080fd5b505af11580156113f9573d6000803e3d6000fd5b505050506040513d602081101561140f57600080fd5b505060d654600160a060020a03808516600090815260de6020908152604080832094909455918f16815260e182528281203382529091522054611458908b63ffffffff61389d16565b600160a060020a038d16600081815260e16020908152604080832033845282528083209490945591815260e09091522054611499908b63ffffffff61389d16565b600160a060020a03808e16600090815260e0602052604080822093909355908d16815220546114ce908b63ffffffff6138b416565b60e060008d600160a060020a0316600160a060020a03168152602001908152602001600020819055508a600160a060020a03168c600160a060020a0316600080516020613e618339815191528c6040518082815260200191505060405180910390a36001985050505050505050609b548114151561154b57600080fd5b509392505050565b61155b6125fe565b151561156657600080fd5b600160a060020a038216600081815260df6020908152604091829020805460ff191685151590811790915582519384529083015280517feaf70b16859c911c19ea9fda5dcdfd25fcd9e0ed4115fba85d9b612c84701a189281900390910190a15050565b6115d26125fe565b15156115dd57600080fd5b60d9805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60355460ff1690565b60dc54760100000000000000000000000000000000000000000000900460ff1681565b33600090815260e160209081526040808320600160a060020a038616845290915281205461166c908363ffffffff6138b416565b33600081815260e160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60006116db6125fe565b15156116e657600080fd5b60d55482106116f457610b4f565b50805b60d5546000190181101561177a5760d580546001830190811061171657fe5b60009182526020909120015460d58054600160a060020a03909216918390811061173c57fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790556001016116f7565b60d580549061178d906000198301613e26565b505050565b60dc5474010000000000000000000000000000000000000000900460ff1681565b60df6020526000908152604090205460ff1681565b60db54600160a060020a031681565b60d25481565b600160a060020a038116600090815260de602052604081205460d654829182911180156118235750600160a060020a038416600090815260df602052604090205460ff16155b1561189c57600160a060020a038416600090815260de602052604090205460d6546118539163ffffffff61389d16565b600160a060020a038516600090815260e060205260409020549092509050611895633b9aca00611889838563ffffffff6138c616565b9063ffffffff6138f416565b92506118a1565b600092505b5050919050565b6000806118b4836117dd565b600160a060020a038416600090815260e060205260409020549091508111156118f557600160a060020a038316600090815260e060205260409020546118f7565b805b600160a060020a038416600090815260e06020526040902054909150611923908263ffffffff61389d16565b9392505050565b6119326125fe565b151561193d57600080fd5b606854604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26068805473ffffffffffffffffffffffffffffffffffffffff19169055565b60ce5481565b609b80546001019081905560d9546000918291829190600160a060020a03163314611a2657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f756e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b60dc5474010000000000000000000000000000000000000000900460ff1615611ab057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f7061757365640000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b32600080611abd836122af565b9150611ac8836117dd565b90506000821115611b825760d154821115611ae4576000611af7565b60d154611af7908363ffffffff61389d16565b60d155600160a060020a038316600090815260e06020526040902054611b23908363ffffffff6138b416565b600160a060020a038416600090815260e0602052604090205560cf54611b4f908363ffffffff6138b416565b60cf55604080518381529051600160a060020a03851691600091600080516020613e618339815191529181900360200190a35b6000811115611c9f5760d754811115611b9c576000611baf565b60d754611baf908263ffffffff61389d16565b60d755600160a060020a038316600090815260df602052604090205460ff161515611c9f57600160a060020a038316600090815260e06020526040902054811115611c1257600160a060020a038316600090815260e06020526040902054611c14565b805b600160a060020a038416600090815260e06020526040902054909150611c40908263ffffffff61389d16565b600160a060020a038416600090815260e0602052604090205560cf54611c6c908263ffffffff61389d16565b60cf55604080518281529051600091600160a060020a03861691600080516020613e618339815191529181900360200190a35b604080518381529051600160a060020a038516917ffce6d5860f911bc27ece1365300332d2ddbe20c1adc46ee2eddd8f72c48053b2919081900360200190a260d85460d054604080517f98c8a39d000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0387811660248301526044820193909352905191909216916398c8a39d9160648083019260209291908290030181600087803b158015611d5757600080fd5b505af1158015611d6b573d6000803e3d6000fd5b505050506040513d6020811015611d8157600080fd5b505060d654600160a060020a038416600090815260de6020526040902055871515611e6b5760dc54604080517f9056fad60000000000000000000000000000000000000000000000000000000081526000600482018190529151600160a060020a0390931692639056fad69260248084019391929182900301818387803b158015611e0b57600080fd5b505af1158015611e1f573d6000803e3d6000fd5b505060dc80547fffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffff1677010000000000000000000000000000000000000000000000179055506120079050565b6000881215611f325760dc80547fffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffff8116909155604080517f9056fad60000000000000000000000000000000000000000000000000000000081526000600482018190529151600160a060020a0390931692639056fad69260248084019391929182900301818387803b158015611f0057600080fd5b505af1158015611f14573d6000803e3d6000fd5b5050505060d35460011415611f2d57611f2d8989613917565b612007565b611f3b88613a00565b60cf5460408051918252518a917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a260dc80547fffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff9091167601000000000000000000000000000000000000000000001716905560cf546fffffffffffffffffffffffffffffffff1015612007576fffffffffffffffffffffffffffffffff60cf555b600095505b60d55486101561210a5760d580548790811061202457fe5b6000918252602080832090910154604080516004815260248101825292830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ffff6cae90000000000000000000000000000000000000000000000000000000017815290518351600160a060020a039093169490928392918190849084905b838110156120bb5781810151838201526020016120a3565b50505050905090810190601f1680156120e85780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af1600190980197965061200c915050565b60d25432600090815260e0602052604090205461212c9163ffffffff6138b416565b32600090815260e0602052604090205560d25460cf546121519163ffffffff6138b416565b60cf5560d25460408051918252513291600091600080516020613e618339815191529181900360200190a360cf5496505050609b548214905061219357600080fd5b50505092915050565b60de6020526000908152604090205481565b60008054610100900460ff16806121c857506121c8613897565b806121d6575060005460ff16155b151561226957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b50600054610100900460ff16158015612295576000805460ff1961ff0019909116610100171660011790555b6001609b5580156122ac576000805461ff00191690555b50565b60d854604080517f9768beab000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a038481166024830152915160009384938493911691639768beab9160448082019260209290919082900301818787803b15801561232257600080fd5b505af1158015612336573d6000803e3d6000fd5b505050506040513d602081101561234c57600080fd5b505160d0541180156123f1575060d854604080517f4837eb1f000000000000000000000000000000000000000000000000000000008152600160a060020a03878116600483015291519190921691634837eb1f9160248083019260209291908290030181600087803b1580156123c157600080fd5b505af11580156123d5573d6000803e3d6000fd5b505050506040513d60208110156123eb57600080fd5b50516001145b1561189c5760d854604080517f9768beab000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a03878116602483015291516124a4939290921691639768beab916044808201926020929091908290030181600087803b15801561246957600080fd5b505af115801561247d573d6000803e3d6000fd5b505050506040513d602081101561249357600080fd5b505160d0549063ffffffff61389d16565b60d854604080517fcf356e08000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152915193955091169163cf356e08916024808201926020929091908290030181600087803b15801561250e57600080fd5b505af1158015612522573d6000803e3d6000fd5b505050506040513d602081101561253857600080fd5b50519050611895633b9aca00611889838563ffffffff6138c616565b61255c6125fe565b151561256757600080fd5b64174876e8008111156125db57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f70657263656e7420746f6f206869676800000000000000000000000000000000604482015290519081900360640190fd5b60ce55565b606854600160a060020a031690565b60d954600160a060020a031681565b606854600160a060020a0316331490565b60dd8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ac05780601f10610a9557610100808354040283529160200191610ac0565b6000805b60d554821015610b4f5760d580548390811061268c57fe5b6000918252602080832090910154604080516004815260248101825292830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ffff6cae90000000000000000000000000000000000000000000000000000000017815290518351600160a060020a039093169490928392918190849084905b8381101561272357818101518382015260200161270b565b50505050905090810190601f1680156127505780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af16001909401939250612674915050565b61277a6125fe565b151561278557600080fd5b8051610b4f9060dd906020840190613dac565b33600090815260e160209081526040808320600160a060020a03861684529091528120548083106127ec5733600090815260e160209081526040808320600160a060020a0388168452909152812055612821565b6127fc818463ffffffff61389d16565b33600090815260e160209081526040808320600160a060020a03891684529091529020555b33600081815260e160209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b609b80546001019081905560009083600160a060020a03811615156128ab57600080fd5b600160a060020a0381163014156128c157600080fd5b336000806128ce836122af565b91506128d9836117dd565b905060008211156129935760d1548211156128f5576000612908565b60d154612908908363ffffffff61389d16565b60d155600160a060020a038316600090815260e06020526040902054612934908363ffffffff6138b416565b600160a060020a038416600090815260e0602052604090205560cf54612960908363ffffffff6138b416565b60cf55604080518381529051600160a060020a03851691600091600080516020613e618339815191529181900360200190a35b6000811115612ab05760d7548111156129ad5760006129c0565b60d7546129c0908263ffffffff61389d16565b60d755600160a060020a038316600090815260df602052604090205460ff161515612ab057600160a060020a038316600090815260e06020526040902054811115612a2357600160a060020a038316600090815260e06020526040902054612a25565b805b600160a060020a038416600090815260e06020526040902054909150612a51908263ffffffff61389d16565b600160a060020a038416600090815260e0602052604090205560cf54612a7d908263ffffffff61389d16565b60cf55604080518281529051600091600160a060020a03861691600080516020613e618339815191529181900360200190a35b604080518381529051600160a060020a038516917ffce6d5860f911bc27ece1365300332d2ddbe20c1adc46ee2eddd8f72c48053b2919081900360200190a260d85460d054604080517f98c8a39d000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0387811660248301526044820193909352905191909216916398c8a39d9160648083019260209291908290030181600087803b158015612b6857600080fd5b505af1158015612b7c573d6000803e3d6000fd5b505050506040513d6020811015612b9257600080fd5b505060d654600160a060020a038416600090815260de6020526040812091909155889080612bbf836122af565b9150612bca836117dd565b90506000821115612c845760d154821115612be6576000612bf9565b60d154612bf9908363ffffffff61389d16565b60d155600160a060020a038316600090815260e06020526040902054612c25908363ffffffff6138b416565b600160a060020a038416600090815260e0602052604090205560cf54612c51908363ffffffff6138b416565b60cf55604080518381529051600160a060020a03851691600091600080516020613e618339815191529181900360200190a35b6000811115612da15760d754811115612c9e576000612cb1565b60d754612cb1908263ffffffff61389d16565b60d755600160a060020a038316600090815260df602052604090205460ff161515612da157600160a060020a038316600090815260e06020526040902054811115612d1457600160a060020a038316600090815260e06020526040902054612d16565b805b600160a060020a038416600090815260e06020526040902054909150612d42908263ffffffff61389d16565b600160a060020a038416600090815260e0602052604090205560cf54612d6e908263ffffffff61389d16565b60cf55604080518281529051600091600160a060020a03861691600080516020613e618339815191529181900360200190a35b604080518381529051600160a060020a038516917ffce6d5860f911bc27ece1365300332d2ddbe20c1adc46ee2eddd8f72c48053b2919081900360200190a260d85460d054604080517f98c8a39d000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0387811660248301526044820193909352905191909216916398c8a39d9160648083019260209291908290030181600087803b158015612e5957600080fd5b505af1158015612e6d573d6000803e3d6000fd5b505050506040513d6020811015612e8357600080fd5b505060d654600160a060020a038416600090815260de602090815260408083209390935533825260e090522054612ec0908b63ffffffff61389d16565b33600090815260e0602052604080822092909255600160a060020a038d1681522054612ef2908b63ffffffff6138b416565b600160a060020a038c16600081815260e060209081526040918290209390935580518d8152905191923392600080516020613e618339815191529281900390910190a36001985050505050505050609b5481141515610be457600080fd5b60dc5477010000000000000000000000000000000000000000000000900460ff1681565b60608060d5805480602002602001604051908101604052809291908181526020018280548015612fcd57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311612faf575b505050505090508091505b5090565b612fe46125fe565b1515612fef57600080fd5b600181111561305f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f76616c7565206d7573742062652030206f722031000000000000000000000000604482015290519081900360640190fd5b60d355565b60008054610100900460ff168061307e575061307e613897565b8061308c575060005460ff16155b151561311f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b50600054610100900460ff1615801561314b576000805460ff1961ff0019909116610100171660011790555b6131c16040805190810160405280601581526020017f4368696e657365205975616e2052656e6d696e626900000000000000000000008152506040805190810160405280600481526020017f434e5978000000000000000000000000000000000000000000000000000000008152506009610c3f565b6131c96121ae565b6131d2846132f5565b60dc8054600160d35564174876e80060cf8190557fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff9091167501000000000000000000000000000000000000000000179091556501d1a94a200060d255605560d45560da8054600160a060020a0380861673ffffffffffffffffffffffffffffffffffffffff19928316811790935560d8805490921690921790558516600090815260e0602052604090205461328d9163ffffffff6138b416565b600160a060020a038516600081815260e06020908152604080832094909455835164174876e8008152935192939192600080516020613e618339815191529281900390910190a36132dd83613c02565b508015610d6f576000805461ff001916905550505050565b60008054610100900460ff168061330f575061330f613897565b8061331d575060005460ff16155b15156133b057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b50600054610100900460ff161580156133dc576000805460ff1961ff0019909116610100171660011790555b6068805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790558015610b4f576000805461ff00191690555050565b600081600080613428836122af565b9150613433836117dd565b905060008211156134ed5760d15482111561344f576000613462565b60d154613462908363ffffffff61389d16565b60d155600160a060020a038316600090815260e0602052604090205461348e908363ffffffff6138b416565b600160a060020a038416600090815260e0602052604090205560cf546134ba908363ffffffff6138b416565b60cf55604080518381529051600160a060020a03851691600091600080516020613e618339815191529181900360200190a35b600081111561360a5760d75481111561350757600061351a565b60d75461351a908263ffffffff61389d16565b60d755600160a060020a038316600090815260df602052604090205460ff16151561360a57600160a060020a038316600090815260e0602052604090205481111561357d57600160a060020a038316600090815260e0602052604090205461357f565b805b600160a060020a038416600090815260e060205260409020549091506135ab908263ffffffff61389d16565b600160a060020a038416600090815260e0602052604090205560cf546135d7908263ffffffff61389d16565b60cf55604080518281529051600091600160a060020a03861691600080516020613e618339815191529181900360200190a35b604080518381529051600160a060020a038516917ffce6d5860f911bc27ece1365300332d2ddbe20c1adc46ee2eddd8f72c48053b2919081900360200190a260d85460d054604080517f98c8a39d000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0387811660248301526044820193909352905191909216916398c8a39d9160648083019260209291908290030181600087803b1580156136c257600080fd5b505af11580156136d6573d6000803e3d6000fd5b505050506040513d60208110156136ec57600080fd5b505060d654600160a060020a038416600090815260de602052604090205560019350505050919050565b61371e6125fe565b151561372957600080fd5b60dc80549115157501000000000000000000000000000000000000000000027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff909216919091179055565b60dc547501000000000000000000000000000000000000000000900460ff1681565b61379e6125fe565b15156137a957600080fd5b60d255565b600160a060020a03918216600090815260e16020908152604080832093909416825291909152205490565b6137e16125fe565b15156137ec57600080fd5b60dc805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6138236125fe565b151561382e57600080fd5b60db805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6138656125fe565b151561387057600080fd5b6122ac81613ce6565b60da54600160a060020a031681565b60dc54600160a060020a031681565b303b1590565b600080838311156138ad57600080fd5b5050900390565b60008282018381101561192357600080fd5b6000808315156138d95760009150610be4565b508282028284828115156138e957fe5b041461192357600080fd5b60008080831161390357600080fd5b828481151561390e57fe5b04949350505050565b600061392282613d64565b60cf5490915061393990600a63ffffffff6138f416565b81118015613962575060dc547501000000000000000000000000000000000000000000900460ff165b1561397e5760cf5461397b90600a63ffffffff6138f416565b90505b60cf546139ac9061399d9061188984633b9aca0063ffffffff6138c616565b60d6549063ffffffff6138b416565b60d65560d7546139c2908263ffffffff6138b416565b60d75560408051828152905184917f18432ecf4e7997ec04cf33970edf79fb9023db88b96af92429f6d73112e56bc7919081900360200190a2505050565b600080613a2164174876e80061188960ce54866138c690919063ffffffff16565b9150613a4d606461188960d454613a41868861389d90919063ffffffff16565b9063ffffffff6138c616565b60db54600160a060020a0316600090815260e06020526040902054909150613a7b908363ffffffff6138b416565b60db8054600160a060020a03908116600090815260e060209081526040808320959095559254845187815294519216939092600080516020613e6183398151915292918290030190a360dc54604080517f9056fad6000000000000000000000000000000000000000000000000000000008152600481018490529051600160a060020a0390921691639056fad69160248082019260009290919082900301818387803b158015613b2a57600080fd5b505af1158015613b3e573d6000803e3d6000fd5b505060dc54600160a060020a0316600090815260e06020526040902054613b6e925090508263ffffffff6138b416565b60dc8054600160a060020a03908116600090815260e060209081526040808320959095559254845186815294519216939092600080516020613e6183398151915292918290030190a3613bdc81613bd08460cf546138b490919063ffffffff16565b9063ffffffff6138b416565b60cf55610d6f613c0282613bf6868663ffffffff61389d16565b9063ffffffff61389d16565b6000613cc5613cb660d860009054906101000a9004600160a060020a0316600160a060020a031663817b1cd26040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015613c7657600080fd5b505af1158015613c8a573d6000803e3d6000fd5b505050506040513d6020811015613ca057600080fd5b505161188985633b9aca0063ffffffff6138c616565b60d0549063ffffffff6138b416565b60d05560d154613cdb908363ffffffff6138b416565b60d155506001919050565b600160a060020a0381161515613cfb57600080fd5b606854604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36068805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60007f8000000000000000000000000000000000000000000000000000000000000000821415613d9357600080fd5b60008212613da15781613da6565b816000035b92915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613ded57805160ff1916838001178555613e1a565b82800160010185558215613e1a579182015b82811115613e1a578251825591602001919060010190613dff565b50612fd8929150613e46565b81548183558181111561178d5760008381526020902061178d9181019083015b610ac891905b80821115612fd85760008155600101613e4c5600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820b40260bbba6d2767be31906f6be48bec122ab5e899f2af675dd9fdd8c23e02b50029

Deployed Bytecode

0x60806040526004361061027c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610281578063094a5c651461030b578063095ea7b3146103625780630adf1be81461039a5780630ebf69cd146103c157806314eb3f24146103d95780631624f6c61461040d57806318160ddd146104a957806321b97bba146104be57806322872e0b146104d357806323b872dd146104ed5780632449c0c11461051757806329ae754a1461053d578063313ce5671461055e5780633760390c14610589578063395093511461059e5780634f2b9629146105c257806353ca9f24146105da57806359197c58146105ef57806361d027b31461061057806369de1ed5146106255780636a37d3461461063a57806370a082311461065b578063715018a61461067c57806376f5c98f146106915780637a43e23f146106a65780637eecd2bb146106c15780638129fc1c146106e25780638391e45c146106f757806389a2bc25146107185780638da5cb5b146107305780638e27d7d7146107455780638f32d59b1461075a57806395d89b411461076f578063a0265b1d14610784578063a3895fff14610799578063a457c2d7146107f2578063a9059cbb14610816578063ad684efc1461083a578063b532be181461084f578063b9619715146108b4578063c350a1b5146108cc578063c4d66de8146108f7578063c7e772ed14610918578063d380599a14610939578063d7115bd714610953578063dc28fcf714610968578063dd62ed3e14610980578063e9e15b4f146109a7578063f0f44260146109c8578063f2fde38b146109e9578063f33670aa14610a0a578063f7cc4c6014610a1f575b600080fd5b34801561028d57600080fd5b50610296610a34565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102d05781810151838201526020016102b8565b50505050905090810190601f1680156102fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561031757600080fd5b506040805160206004803580820135838102808601850190965280855261036095369593946024949385019291829185019084908082843750949750610acb9650505050505050565b005b34801561036e57600080fd5b50610386600160a060020a0360043516602435610b53565b604080519115158252519081900360200190f35b3480156103a657600080fd5b506103af610beb565b60408051918252519081900360200190f35b3480156103cd57600080fd5b50610360600435610bf1565b3480156103e557600080fd5b506103f1600435610c17565b60408051600160a060020a039092168252519081900360200190f35b34801561041957600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261036094369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497505050923560ff169350610c3f92505050565b3480156104b557600080fd5b506103af610d75565b3480156104ca57600080fd5b506103af610d7b565b3480156104df57600080fd5b506103606004351515610d81565b3480156104f957600080fd5b50610386600160a060020a0360043581169060243516604435610e13565b34801561052357600080fd5b50610360600160a060020a03600435166024351515611553565b34801561054957600080fd5b50610360600160a060020a03600435166115ca565b34801561056a57600080fd5b5061057361160c565b6040805160ff9092168252519081900360200190f35b34801561059557600080fd5b50610386611615565b3480156105aa57600080fd5b50610386600160a060020a0360043516602435611638565b3480156105ce57600080fd5b506103606004356116d1565b3480156105e657600080fd5b50610386611792565b3480156105fb57600080fd5b50610386600160a060020a03600435166117b3565b34801561061c57600080fd5b506103f16117c8565b34801561063157600080fd5b506103af6117d7565b34801561064657600080fd5b506103af600160a060020a03600435166117dd565b34801561066757600080fd5b506103af600160a060020a03600435166118a8565b34801561068857600080fd5b5061036061192a565b34801561069d57600080fd5b506103af611994565b3480156106b257600080fd5b506103af60043560243561199a565b3480156106cd57600080fd5b506103af600160a060020a036004351661219c565b3480156106ee57600080fd5b506103606121ae565b34801561070357600080fd5b506103af600160a060020a03600435166122af565b34801561072457600080fd5b50610360600435612554565b34801561073c57600080fd5b506103f16125e0565b34801561075157600080fd5b506103f16125ef565b34801561076657600080fd5b506103866125fe565b34801561077b57600080fd5b5061029661260f565b34801561079057600080fd5b50610360612670565b3480156107a557600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526103609436949293602493928401919081908401838280828437509497506127729650505050505050565b3480156107fe57600080fd5b50610386600160a060020a0360043516602435612798565b34801561082257600080fd5b50610386600160a060020a0360043516602435612887565b34801561084657600080fd5b50610386612f50565b34801561085b57600080fd5b50610864612f74565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156108a0578181015183820152602001610888565b505050509050019250505060405180910390f35b3480156108c057600080fd5b50610360600435612fdc565b3480156108d857600080fd5b50610360600160a060020a036004358116906024359060443516613064565b34801561090357600080fd5b50610360600160a060020a03600435166132f5565b34801561092457600080fd5b50610386600160a060020a0360043516613419565b34801561094557600080fd5b506103606004351515613716565b34801561095f57600080fd5b50610386613774565b34801561097457600080fd5b50610360600435613796565b34801561098c57600080fd5b506103af600160a060020a03600435811690602435166137ae565b3480156109b357600080fd5b50610360600160a060020a03600435166137d9565b3480156109d457600080fd5b50610360600160a060020a036004351661381b565b3480156109f557600080fd5b50610360600160a060020a036004351661385d565b348015610a1657600080fd5b506103f1613879565b348015610a2b57600080fd5b506103f1613888565b60338054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ac05780601f10610a9557610100808354040283529160200191610ac0565b820191906000526020600020905b815481529060010190602001808311610aa357829003601f168201915b505050505090505b90565b6000610ad56125fe565b1515610ae057600080fd5b5060005b8151811015610b4f5760d58282815181101515610afd57fe5b602090810291909101810151825460018082018555600094855292909320909201805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039093169290921790915501610ae4565b5050565b600082600160a060020a0381161515610b6b57600080fd5b600160a060020a038116301415610b8157600080fd5b33600081815260e160209081526040808320600160a060020a03891680855290835292819020879055805187815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a3600191505b5092915050565b60d35481565b610bf96125fe565b1515610c0457600080fd5b6064811115610c1257600080fd5b60d455565b60d5805482908110610c2557fe5b600091825260209091200154600160a060020a0316905081565b60008054610100900460ff1680610c595750610c59613897565b80610c67575060005460ff16155b1515610cfa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b50600054610100900460ff16158015610d26576000805460ff1961ff0019909116610100171660011790555b8351610d39906033906020870190613dac565b508251610d4d906034906020860190613dac565b506035805460ff191660ff84161790558015610d6f576000805461ff00191690555b50505050565b60cf5490565b60d45481565b610d896125fe565b1515610d9457600080fd5b60dc80548215157401000000000000000000000000000000000000000081027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff9092169190911790915560408051918252517fb36927c68760751ec71d827eb30be804be612d87c7c6b6a1f255258c6a1bea669181900360200190a150565b609b80546001019081905560009083600160a060020a0381161515610e3757600080fd5b600160a060020a038116301415610e4d57600080fd5b85600080610e5a836122af565b9150610e65836117dd565b90506000821115610f1f5760d154821115610e81576000610e94565b60d154610e94908363ffffffff61389d16565b60d155600160a060020a038316600090815260e06020526040902054610ec0908363ffffffff6138b416565b600160a060020a038416600090815260e0602052604090205560cf54610eec908363ffffffff6138b416565b60cf55604080518381529051600160a060020a03851691600091600080516020613e618339815191529181900360200190a35b600081111561103c5760d754811115610f39576000610f4c565b60d754610f4c908263ffffffff61389d16565b60d755600160a060020a038316600090815260df602052604090205460ff16151561103c57600160a060020a038316600090815260e06020526040902054811115610faf57600160a060020a038316600090815260e06020526040902054610fb1565b805b600160a060020a038416600090815260e06020526040902054909150610fdd908263ffffffff61389d16565b600160a060020a038416600090815260e0602052604090205560cf54611009908263ffffffff61389d16565b60cf55604080518281529051600091600160a060020a03861691600080516020613e618339815191529181900360200190a35b604080518381529051600160a060020a038516917ffce6d5860f911bc27ece1365300332d2ddbe20c1adc46ee2eddd8f72c48053b2919081900360200190a260d85460d054604080517f98c8a39d000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0387811660248301526044820193909352905191909216916398c8a39d9160648083019260209291908290030181600087803b1580156110f457600080fd5b505af1158015611108573d6000803e3d6000fd5b505050506040513d602081101561111e57600080fd5b505060d654600160a060020a038416600090815260de602052604081209190915588908061114b836122af565b9150611156836117dd565b905060008211156112105760d154821115611172576000611185565b60d154611185908363ffffffff61389d16565b60d155600160a060020a038316600090815260e060205260409020546111b1908363ffffffff6138b416565b600160a060020a038416600090815260e0602052604090205560cf546111dd908363ffffffff6138b416565b60cf55604080518381529051600160a060020a03851691600091600080516020613e618339815191529181900360200190a35b600081111561132d5760d75481111561122a57600061123d565b60d75461123d908263ffffffff61389d16565b60d755600160a060020a038316600090815260df602052604090205460ff16151561132d57600160a060020a038316600090815260e060205260409020548111156112a057600160a060020a038316600090815260e060205260409020546112a2565b805b600160a060020a038416600090815260e060205260409020549091506112ce908263ffffffff61389d16565b600160a060020a038416600090815260e0602052604090205560cf546112fa908263ffffffff61389d16565b60cf55604080518281529051600091600160a060020a03861691600080516020613e618339815191529181900360200190a35b604080518381529051600160a060020a038516917ffce6d5860f911bc27ece1365300332d2ddbe20c1adc46ee2eddd8f72c48053b2919081900360200190a260d85460d054604080517f98c8a39d000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0387811660248301526044820193909352905191909216916398c8a39d9160648083019260209291908290030181600087803b1580156113e557600080fd5b505af11580156113f9573d6000803e3d6000fd5b505050506040513d602081101561140f57600080fd5b505060d654600160a060020a03808516600090815260de6020908152604080832094909455918f16815260e182528281203382529091522054611458908b63ffffffff61389d16565b600160a060020a038d16600081815260e16020908152604080832033845282528083209490945591815260e09091522054611499908b63ffffffff61389d16565b600160a060020a03808e16600090815260e0602052604080822093909355908d16815220546114ce908b63ffffffff6138b416565b60e060008d600160a060020a0316600160a060020a03168152602001908152602001600020819055508a600160a060020a03168c600160a060020a0316600080516020613e618339815191528c6040518082815260200191505060405180910390a36001985050505050505050609b548114151561154b57600080fd5b509392505050565b61155b6125fe565b151561156657600080fd5b600160a060020a038216600081815260df6020908152604091829020805460ff191685151590811790915582519384529083015280517feaf70b16859c911c19ea9fda5dcdfd25fcd9e0ed4115fba85d9b612c84701a189281900390910190a15050565b6115d26125fe565b15156115dd57600080fd5b60d9805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60355460ff1690565b60dc54760100000000000000000000000000000000000000000000900460ff1681565b33600090815260e160209081526040808320600160a060020a038616845290915281205461166c908363ffffffff6138b416565b33600081815260e160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60006116db6125fe565b15156116e657600080fd5b60d55482106116f457610b4f565b50805b60d5546000190181101561177a5760d580546001830190811061171657fe5b60009182526020909120015460d58054600160a060020a03909216918390811061173c57fe5b6000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790556001016116f7565b60d580549061178d906000198301613e26565b505050565b60dc5474010000000000000000000000000000000000000000900460ff1681565b60df6020526000908152604090205460ff1681565b60db54600160a060020a031681565b60d25481565b600160a060020a038116600090815260de602052604081205460d654829182911180156118235750600160a060020a038416600090815260df602052604090205460ff16155b1561189c57600160a060020a038416600090815260de602052604090205460d6546118539163ffffffff61389d16565b600160a060020a038516600090815260e060205260409020549092509050611895633b9aca00611889838563ffffffff6138c616565b9063ffffffff6138f416565b92506118a1565b600092505b5050919050565b6000806118b4836117dd565b600160a060020a038416600090815260e060205260409020549091508111156118f557600160a060020a038316600090815260e060205260409020546118f7565b805b600160a060020a038416600090815260e06020526040902054909150611923908263ffffffff61389d16565b9392505050565b6119326125fe565b151561193d57600080fd5b606854604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26068805473ffffffffffffffffffffffffffffffffffffffff19169055565b60ce5481565b609b80546001019081905560d9546000918291829190600160a060020a03163314611a2657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f756e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b60dc5474010000000000000000000000000000000000000000900460ff1615611ab057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f7061757365640000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b32600080611abd836122af565b9150611ac8836117dd565b90506000821115611b825760d154821115611ae4576000611af7565b60d154611af7908363ffffffff61389d16565b60d155600160a060020a038316600090815260e06020526040902054611b23908363ffffffff6138b416565b600160a060020a038416600090815260e0602052604090205560cf54611b4f908363ffffffff6138b416565b60cf55604080518381529051600160a060020a03851691600091600080516020613e618339815191529181900360200190a35b6000811115611c9f5760d754811115611b9c576000611baf565b60d754611baf908263ffffffff61389d16565b60d755600160a060020a038316600090815260df602052604090205460ff161515611c9f57600160a060020a038316600090815260e06020526040902054811115611c1257600160a060020a038316600090815260e06020526040902054611c14565b805b600160a060020a038416600090815260e06020526040902054909150611c40908263ffffffff61389d16565b600160a060020a038416600090815260e0602052604090205560cf54611c6c908263ffffffff61389d16565b60cf55604080518281529051600091600160a060020a03861691600080516020613e618339815191529181900360200190a35b604080518381529051600160a060020a038516917ffce6d5860f911bc27ece1365300332d2ddbe20c1adc46ee2eddd8f72c48053b2919081900360200190a260d85460d054604080517f98c8a39d000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0387811660248301526044820193909352905191909216916398c8a39d9160648083019260209291908290030181600087803b158015611d5757600080fd5b505af1158015611d6b573d6000803e3d6000fd5b505050506040513d6020811015611d8157600080fd5b505060d654600160a060020a038416600090815260de6020526040902055871515611e6b5760dc54604080517f9056fad60000000000000000000000000000000000000000000000000000000081526000600482018190529151600160a060020a0390931692639056fad69260248084019391929182900301818387803b158015611e0b57600080fd5b505af1158015611e1f573d6000803e3d6000fd5b505060dc80547fffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffff1677010000000000000000000000000000000000000000000000179055506120079050565b6000881215611f325760dc80547fffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffff8116909155604080517f9056fad60000000000000000000000000000000000000000000000000000000081526000600482018190529151600160a060020a0390931692639056fad69260248084019391929182900301818387803b158015611f0057600080fd5b505af1158015611f14573d6000803e3d6000fd5b5050505060d35460011415611f2d57611f2d8989613917565b612007565b611f3b88613a00565b60cf5460408051918252518a917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a260dc80547fffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff9091167601000000000000000000000000000000000000000000001716905560cf546fffffffffffffffffffffffffffffffff1015612007576fffffffffffffffffffffffffffffffff60cf555b600095505b60d55486101561210a5760d580548790811061202457fe5b6000918252602080832090910154604080516004815260248101825292830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ffff6cae90000000000000000000000000000000000000000000000000000000017815290518351600160a060020a039093169490928392918190849084905b838110156120bb5781810151838201526020016120a3565b50505050905090810190601f1680156120e85780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af1600190980197965061200c915050565b60d25432600090815260e0602052604090205461212c9163ffffffff6138b416565b32600090815260e0602052604090205560d25460cf546121519163ffffffff6138b416565b60cf5560d25460408051918252513291600091600080516020613e618339815191529181900360200190a360cf5496505050609b548214905061219357600080fd5b50505092915050565b60de6020526000908152604090205481565b60008054610100900460ff16806121c857506121c8613897565b806121d6575060005460ff16155b151561226957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b50600054610100900460ff16158015612295576000805460ff1961ff0019909116610100171660011790555b6001609b5580156122ac576000805461ff00191690555b50565b60d854604080517f9768beab000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a038481166024830152915160009384938493911691639768beab9160448082019260209290919082900301818787803b15801561232257600080fd5b505af1158015612336573d6000803e3d6000fd5b505050506040513d602081101561234c57600080fd5b505160d0541180156123f1575060d854604080517f4837eb1f000000000000000000000000000000000000000000000000000000008152600160a060020a03878116600483015291519190921691634837eb1f9160248083019260209291908290030181600087803b1580156123c157600080fd5b505af11580156123d5573d6000803e3d6000fd5b505050506040513d60208110156123eb57600080fd5b50516001145b1561189c5760d854604080517f9768beab000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a03878116602483015291516124a4939290921691639768beab916044808201926020929091908290030181600087803b15801561246957600080fd5b505af115801561247d573d6000803e3d6000fd5b505050506040513d602081101561249357600080fd5b505160d0549063ffffffff61389d16565b60d854604080517fcf356e08000000000000000000000000000000000000000000000000000000008152600160a060020a038881166004830152915193955091169163cf356e08916024808201926020929091908290030181600087803b15801561250e57600080fd5b505af1158015612522573d6000803e3d6000fd5b505050506040513d602081101561253857600080fd5b50519050611895633b9aca00611889838563ffffffff6138c616565b61255c6125fe565b151561256757600080fd5b64174876e8008111156125db57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f70657263656e7420746f6f206869676800000000000000000000000000000000604482015290519081900360640190fd5b60ce55565b606854600160a060020a031690565b60d954600160a060020a031681565b606854600160a060020a0316331490565b60dd8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ac05780601f10610a9557610100808354040283529160200191610ac0565b6000805b60d554821015610b4f5760d580548390811061268c57fe5b6000918252602080832090910154604080516004815260248101825292830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167ffff6cae90000000000000000000000000000000000000000000000000000000017815290518351600160a060020a039093169490928392918190849084905b8381101561272357818101518382015260200161270b565b50505050905090810190601f1680156127505780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af16001909401939250612674915050565b61277a6125fe565b151561278557600080fd5b8051610b4f9060dd906020840190613dac565b33600090815260e160209081526040808320600160a060020a03861684529091528120548083106127ec5733600090815260e160209081526040808320600160a060020a0388168452909152812055612821565b6127fc818463ffffffff61389d16565b33600090815260e160209081526040808320600160a060020a03891684529091529020555b33600081815260e160209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b609b80546001019081905560009083600160a060020a03811615156128ab57600080fd5b600160a060020a0381163014156128c157600080fd5b336000806128ce836122af565b91506128d9836117dd565b905060008211156129935760d1548211156128f5576000612908565b60d154612908908363ffffffff61389d16565b60d155600160a060020a038316600090815260e06020526040902054612934908363ffffffff6138b416565b600160a060020a038416600090815260e0602052604090205560cf54612960908363ffffffff6138b416565b60cf55604080518381529051600160a060020a03851691600091600080516020613e618339815191529181900360200190a35b6000811115612ab05760d7548111156129ad5760006129c0565b60d7546129c0908263ffffffff61389d16565b60d755600160a060020a038316600090815260df602052604090205460ff161515612ab057600160a060020a038316600090815260e06020526040902054811115612a2357600160a060020a038316600090815260e06020526040902054612a25565b805b600160a060020a038416600090815260e06020526040902054909150612a51908263ffffffff61389d16565b600160a060020a038416600090815260e0602052604090205560cf54612a7d908263ffffffff61389d16565b60cf55604080518281529051600091600160a060020a03861691600080516020613e618339815191529181900360200190a35b604080518381529051600160a060020a038516917ffce6d5860f911bc27ece1365300332d2ddbe20c1adc46ee2eddd8f72c48053b2919081900360200190a260d85460d054604080517f98c8a39d000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0387811660248301526044820193909352905191909216916398c8a39d9160648083019260209291908290030181600087803b158015612b6857600080fd5b505af1158015612b7c573d6000803e3d6000fd5b505050506040513d6020811015612b9257600080fd5b505060d654600160a060020a038416600090815260de6020526040812091909155889080612bbf836122af565b9150612bca836117dd565b90506000821115612c845760d154821115612be6576000612bf9565b60d154612bf9908363ffffffff61389d16565b60d155600160a060020a038316600090815260e06020526040902054612c25908363ffffffff6138b416565b600160a060020a038416600090815260e0602052604090205560cf54612c51908363ffffffff6138b416565b60cf55604080518381529051600160a060020a03851691600091600080516020613e618339815191529181900360200190a35b6000811115612da15760d754811115612c9e576000612cb1565b60d754612cb1908263ffffffff61389d16565b60d755600160a060020a038316600090815260df602052604090205460ff161515612da157600160a060020a038316600090815260e06020526040902054811115612d1457600160a060020a038316600090815260e06020526040902054612d16565b805b600160a060020a038416600090815260e06020526040902054909150612d42908263ffffffff61389d16565b600160a060020a038416600090815260e0602052604090205560cf54612d6e908263ffffffff61389d16565b60cf55604080518281529051600091600160a060020a03861691600080516020613e618339815191529181900360200190a35b604080518381529051600160a060020a038516917ffce6d5860f911bc27ece1365300332d2ddbe20c1adc46ee2eddd8f72c48053b2919081900360200190a260d85460d054604080517f98c8a39d000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0387811660248301526044820193909352905191909216916398c8a39d9160648083019260209291908290030181600087803b158015612e5957600080fd5b505af1158015612e6d573d6000803e3d6000fd5b505050506040513d6020811015612e8357600080fd5b505060d654600160a060020a038416600090815260de602090815260408083209390935533825260e090522054612ec0908b63ffffffff61389d16565b33600090815260e0602052604080822092909255600160a060020a038d1681522054612ef2908b63ffffffff6138b416565b600160a060020a038c16600081815260e060209081526040918290209390935580518d8152905191923392600080516020613e618339815191529281900390910190a36001985050505050505050609b5481141515610be457600080fd5b60dc5477010000000000000000000000000000000000000000000000900460ff1681565b60608060d5805480602002602001604051908101604052809291908181526020018280548015612fcd57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311612faf575b505050505090508091505b5090565b612fe46125fe565b1515612fef57600080fd5b600181111561305f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f76616c7565206d7573742062652030206f722031000000000000000000000000604482015290519081900360640190fd5b60d355565b60008054610100900460ff168061307e575061307e613897565b8061308c575060005460ff16155b151561311f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b50600054610100900460ff1615801561314b576000805460ff1961ff0019909116610100171660011790555b6131c16040805190810160405280601581526020017f4368696e657365205975616e2052656e6d696e626900000000000000000000008152506040805190810160405280600481526020017f434e5978000000000000000000000000000000000000000000000000000000008152506009610c3f565b6131c96121ae565b6131d2846132f5565b60dc8054600160d35564174876e80060cf8190557fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff9091167501000000000000000000000000000000000000000000179091556501d1a94a200060d255605560d45560da8054600160a060020a0380861673ffffffffffffffffffffffffffffffffffffffff19928316811790935560d8805490921690921790558516600090815260e0602052604090205461328d9163ffffffff6138b416565b600160a060020a038516600081815260e06020908152604080832094909455835164174876e8008152935192939192600080516020613e618339815191529281900390910190a36132dd83613c02565b508015610d6f576000805461ff001916905550505050565b60008054610100900460ff168061330f575061330f613897565b8061331d575060005460ff16155b15156133b057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b50600054610100900460ff161580156133dc576000805460ff1961ff0019909116610100171660011790555b6068805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790558015610b4f576000805461ff00191690555050565b600081600080613428836122af565b9150613433836117dd565b905060008211156134ed5760d15482111561344f576000613462565b60d154613462908363ffffffff61389d16565b60d155600160a060020a038316600090815260e0602052604090205461348e908363ffffffff6138b416565b600160a060020a038416600090815260e0602052604090205560cf546134ba908363ffffffff6138b416565b60cf55604080518381529051600160a060020a03851691600091600080516020613e618339815191529181900360200190a35b600081111561360a5760d75481111561350757600061351a565b60d75461351a908263ffffffff61389d16565b60d755600160a060020a038316600090815260df602052604090205460ff16151561360a57600160a060020a038316600090815260e0602052604090205481111561357d57600160a060020a038316600090815260e0602052604090205461357f565b805b600160a060020a038416600090815260e060205260409020549091506135ab908263ffffffff61389d16565b600160a060020a038416600090815260e0602052604090205560cf546135d7908263ffffffff61389d16565b60cf55604080518281529051600091600160a060020a03861691600080516020613e618339815191529181900360200190a35b604080518381529051600160a060020a038516917ffce6d5860f911bc27ece1365300332d2ddbe20c1adc46ee2eddd8f72c48053b2919081900360200190a260d85460d054604080517f98c8a39d000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a0387811660248301526044820193909352905191909216916398c8a39d9160648083019260209291908290030181600087803b1580156136c257600080fd5b505af11580156136d6573d6000803e3d6000fd5b505050506040513d60208110156136ec57600080fd5b505060d654600160a060020a038416600090815260de602052604090205560019350505050919050565b61371e6125fe565b151561372957600080fd5b60dc80549115157501000000000000000000000000000000000000000000027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff909216919091179055565b60dc547501000000000000000000000000000000000000000000900460ff1681565b61379e6125fe565b15156137a957600080fd5b60d255565b600160a060020a03918216600090815260e16020908152604080832093909416825291909152205490565b6137e16125fe565b15156137ec57600080fd5b60dc805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6138236125fe565b151561382e57600080fd5b60db805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6138656125fe565b151561387057600080fd5b6122ac81613ce6565b60da54600160a060020a031681565b60dc54600160a060020a031681565b303b1590565b600080838311156138ad57600080fd5b5050900390565b60008282018381101561192357600080fd5b6000808315156138d95760009150610be4565b508282028284828115156138e957fe5b041461192357600080fd5b60008080831161390357600080fd5b828481151561390e57fe5b04949350505050565b600061392282613d64565b60cf5490915061393990600a63ffffffff6138f416565b81118015613962575060dc547501000000000000000000000000000000000000000000900460ff165b1561397e5760cf5461397b90600a63ffffffff6138f416565b90505b60cf546139ac9061399d9061188984633b9aca0063ffffffff6138c616565b60d6549063ffffffff6138b416565b60d65560d7546139c2908263ffffffff6138b416565b60d75560408051828152905184917f18432ecf4e7997ec04cf33970edf79fb9023db88b96af92429f6d73112e56bc7919081900360200190a2505050565b600080613a2164174876e80061188960ce54866138c690919063ffffffff16565b9150613a4d606461188960d454613a41868861389d90919063ffffffff16565b9063ffffffff6138c616565b60db54600160a060020a0316600090815260e06020526040902054909150613a7b908363ffffffff6138b416565b60db8054600160a060020a03908116600090815260e060209081526040808320959095559254845187815294519216939092600080516020613e6183398151915292918290030190a360dc54604080517f9056fad6000000000000000000000000000000000000000000000000000000008152600481018490529051600160a060020a0390921691639056fad69160248082019260009290919082900301818387803b158015613b2a57600080fd5b505af1158015613b3e573d6000803e3d6000fd5b505060dc54600160a060020a0316600090815260e06020526040902054613b6e925090508263ffffffff6138b416565b60dc8054600160a060020a03908116600090815260e060209081526040808320959095559254845186815294519216939092600080516020613e6183398151915292918290030190a3613bdc81613bd08460cf546138b490919063ffffffff16565b9063ffffffff6138b416565b60cf55610d6f613c0282613bf6868663ffffffff61389d16565b9063ffffffff61389d16565b6000613cc5613cb660d860009054906101000a9004600160a060020a0316600160a060020a031663817b1cd26040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015613c7657600080fd5b505af1158015613c8a573d6000803e3d6000fd5b505050506040513d6020811015613ca057600080fd5b505161188985633b9aca0063ffffffff6138c616565b60d0549063ffffffff6138b416565b60d05560d154613cdb908363ffffffff6138b416565b60d155506001919050565b600160a060020a0381161515613cfb57600080fd5b606854604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36068805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60007f8000000000000000000000000000000000000000000000000000000000000000821415613d9357600080fd5b60008212613da15781613da6565b816000035b92915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613ded57805160ff1916838001178555613e1a565b82800160010185558215613e1a579182015b82811115613e1a578251825591602001919060010190613dff565b50612fd8929150613e46565b81548183558181111561178d5760008381526020902061178d9181019083015b610ac891905b80821115612fd85760008155600101613e4c5600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820b40260bbba6d2767be31906f6be48bec122ab5e899f2af675dd9fdd8c23e02b50029

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

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.