ETH Price: $2,664.12 (+9.59%)
Gas: 2 Gwei

Contract

0xef8BF5F935D0a3E342Df62BD9bc0fe0e0B6EcA1d
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040112963142020-11-20 17:23:441357 days ago1605893024IN
 Contract Creation
0 ETH0.1774000855

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xCEe51E61...76F87E998
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
StakedToken

Compiler Version
v0.6.10+commit.00c0fcaf

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU LGPLv3 license

Contract Source Code (Solidity)

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

// Sources flattened with hardhat v2.0.3 https://hardhat.org

// File @openzeppelin/contracts/GSN/[email protected]      



pragma solidity ^0.6.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}


// File @openzeppelin/contracts/access/[email protected]



pragma solidity ^0.6.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


// File contracts/DownstreamCaller.sol

// contracts/DownstreamCaller.sol

pragma solidity 0.6.10;

contract DownstreamCaller is Ownable {
    struct Transaction {
        bool enabled;
        address destination;
        bytes data;
    }

    event TransactionFailed(address indexed destination, uint256 index, bytes data);

    // Stable ordering is not guaranteed.
    Transaction[] public transactions;

    /**
     * Call all downstream transactions
     */
    function executeTransactions() external onlyOwner {
        for (uint256 i = 0; i < transactions.length; i++) {
            Transaction storage t = transactions[i];
            if (t.enabled) {
                bool result = externalCall(t.destination, t.data);
                if (!result) {
                    emit TransactionFailed(t.destination, i, t.data);
                    revert("Transaction Failed");
                }
            }
        }
    }


    /**
     * @notice Adds a transaction that gets called for a downstream receiver of token distributions
     * @param destination Address of contract destination
     * @param data Transaction data payload
     * @return index of the newly added transaction
     */
    function addTransaction(address destination, bytes memory data) external onlyOwner returns(uint256) {
        require(destination != address(0x0));
        require(data.length != 0);
        uint txIndex = transactions.length;
        transactions.push(Transaction({ enabled: true, destination: destination, data: data }));
        return txIndex;
    }

    /**
     * @param index Index of transaction to remove.
     *              Transaction ordering may have changed since adding.
     */
    function removeTransaction(uint256 index) external onlyOwner {
        require(index < transactions.length, "index out of bounds");

        if (index < transactions.length - 1) {
            transactions[index] = transactions[transactions.length - 1];
        }

        transactions.pop();
    }

    /**
     * @param index Index of transaction. Transaction ordering may have changed since adding.
     * @param enabled True for enabled, false for disabled.
     */
    function setTransactionEnabled(uint256 index, bool enabled) external onlyOwner {
        require(index < transactions.length, "index must be in range of stored tx list");
        transactions[index].enabled = enabled;
    }

    /**
     * @return Number of transactions, both enabled and disabled, in transactions list.
     */
    function transactionsSize() external view returns (uint256) {
        return transactions.length;
    }

    /**
     * @dev wrapper to call the encoded transactions on downstream consumers.
     * @param destination Address of destination contract.
     * @param data The encoded data payload.
     * @return True on success
     */
    function externalCall(address destination, bytes memory data) internal returns (bool) {
        bool result;
        assembly {
            // solhint-disable-line no-inline-assembly
            // "Allocate" memory for output
            // (0x40 is where "free memory" pointer is stored by convention)
            let outputAddress := mload(0x40)

            // First 32 bytes are the padded length of data, so exclude that
            let dataAddress := add(data, 32)

            result := call(
                // 34710 is the value that solidity is currently emitting
                // It includes callGas (700) + callVeryLow (3, to pay for SUB)
                // + callValueTransferGas (9000) + callNewAccountGas
                // (25000, in case the destination address does not exist and needs creating)
                sub(gas(), 34710),
                destination,
                0, // transfer value in wei
                dataAddress,
                mload(data), // Size of the input, in bytes. Stored in position 0 of the array.
                outputAddress,
                0 // Output is ignored, therefore the output size is zero
            )
        }
        return result;
    }
}


// File contracts/mocks/Mock.sol

// contracts/StakedToken.sol

pragma solidity 0.6.10;

contract Mock {
    event FunctionCalled(string instanceName, string functionName, address caller);
    event FunctionArguments(uint256[] uintVals, int256[] intVals);
    event ReturnValueInt256(int256 val);
    event ReturnValueUInt256(uint256 val);
}


// File contracts/mocks/MockDownstream.sol

// contracts/StakedToken.sol

pragma solidity 0.6.10;

contract MockDownstream is Mock {
    function updateNoArg() external returns (bool) {
        emit FunctionCalled("MockDownstream", "updateNoArg", msg.sender);
        uint256[] memory uintVals = new uint256[](0);
        int256[] memory intVals = new int256[](0);
        emit FunctionArguments(uintVals, intVals);
        return true;
    }

    function updateOneArg(uint256 u) external {
        emit FunctionCalled("MockDownstream", "updateOneArg", msg.sender);

        uint256[] memory uintVals = new uint256[](1);
        uintVals[0] = u;
        int256[] memory intVals = new int256[](0);
        emit FunctionArguments(uintVals, intVals);
    }

    function updateTwoArgs(uint256 u, int256 i) external {
        emit FunctionCalled("MockDownstream", "updateTwoArgs", msg.sender);

        uint256[] memory uintVals = new uint256[](1);
        uintVals[0] = u;
        int256[] memory intVals = new int256[](1);
        intVals[0] = i;
        emit FunctionArguments(uintVals, intVals);
    }

    function reverts() external {
        emit FunctionCalled("MockDownstream", "reverts", msg.sender);

        uint256[] memory uintVals = new uint256[](0);
        int256[] memory intVals = new int256[](0);
        emit FunctionArguments(uintVals, intVals);

        require(false, "reverted");
    }
}


// File @openzeppelin/contracts-ethereum-package/contracts/[email protected]

pragma solidity >=0.4.24 <0.7.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.
    address self = address(this);
    uint256 cs;
    assembly { cs := extcodesize(self) }
    return cs == 0;
  }

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


// File @openzeppelin/contracts-ethereum-package/contracts/GSN/[email protected]

pragma solidity ^0.6.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract ContextUpgradeSafe is Initializable {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.

    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {


    }


    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }

    uint256[50] private __gap;
}


// File @openzeppelin/contracts-ethereum-package/contracts/access/[email protected]

pragma solidity ^0.6.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract OwnableUpgradeSafe is Initializable, ContextUpgradeSafe {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */

    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {


        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);

    }


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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }

    uint256[49] private __gap;
}


// File @openzeppelin/contracts-ethereum-package/contracts/utils/[email protected]

pragma solidity ^0.6.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
contract PausableUpgradeSafe is Initializable, ContextUpgradeSafe {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */

    function __Pausable_init() internal initializer {
        __Context_init_unchained();
        __Pausable_init_unchained();
    }

    function __Pausable_init_unchained() internal initializer {


        _paused = false;

    }


    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     */
    modifier whenNotPaused() {
        require(!_paused, "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     */
    modifier whenPaused() {
        require(_paused, "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }

    uint256[49] private __gap;
}


// File @openzeppelin/contracts-ethereum-package/contracts/math/[email protected]

pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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


// File @openzeppelin/contracts-ethereum-package/contracts/token/ERC20/[email protected]

pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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


// File contracts/StakedToken.sol

// contracts/StakedToken.sol

pragma solidity 0.6.10;






contract StakedToken is IERC20, Initializable, OwnableUpgradeSafe, PausableUpgradeSafe  {
    using SafeMath for uint256;

    /**
     * @dev Emitted when supply controller is changed
     */
    event LogSupplyControllerUpdated(address supplyController);
    /**
     * @dev Emitted when token distribution happens
     */
    event LogTokenDistribution(uint256 oldTotalSupply, uint256 supplyChange, bool positive, uint256 newTotalSupply);
    /**
     * @dev Emitted if total supply exceeds maximum expected supply
     */
    event WarningMaxExpectedSupplyExceeded(uint256 totalSupply, uint256 totalShares);


    address public supplyController;

    uint256 private MAX_UINT256;

    // Defines the multiplier applied to shares to arrive at the underlying balance
    uint256 private _maxExpectedSupply;

    uint256 private _sharesPerToken;
    uint256 private _totalSupply;
    uint256 private _totalShares;

    mapping(address => uint256) private _shareBalances;
    //Denominated in tokens not shares, to align with user expectations
    mapping(address => mapping(address => uint256)) private _allowedTokens;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    mapping(address => bool) public isBlacklisted;
    /**
     * @dev Emitted when account blacklist status changes
     */
    event Blacklisted(address indexed account, bool isBlacklisted);

    DownstreamCaller public downstreamCaller;

    modifier onlySupplyController() {
        require(msg.sender == supplyController);
        _;
    }

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

    /**
     * Set the address that can mint, burn and rebase
     *
     * @param name_ Name of the token
     * @param symbol_ Symbol of the token
     * @param decimals_ Decimal places of the token - purely for display purposes
     * @param maxExpectedSupply_ Maximum possilbe supply of the token.
                                Value should be chosen such that it could never be realistically exceeded based on the underlying token.
                                Not binding, can be exceeded in reality, with the risk of losing precision in a reward distribution event
     * @param initialSupply_ Inital supply of the token, sent to the creator of the token
     */
    function initialize(
        string memory name_,
        string memory symbol_,
        uint8 decimals_,
        uint256 maxExpectedSupply_,
        uint256 initialSupply_
    ) public initializer {
        __Ownable_init();
        __Pausable_init();
        supplyController = msg.sender;

        _name = name_;
        _symbol = symbol_;
        _decimals = decimals_;

        MAX_UINT256 = ~uint256(0);

        // Maximise precision by picking the largest possible sharesPerToken value
        // It is crucial to pick a maxSupply value that will never be exceeded
        _sharesPerToken = MAX_UINT256.div(maxExpectedSupply_);

        _maxExpectedSupply = maxExpectedSupply_;
        _totalSupply = initialSupply_;
        _totalShares = initialSupply_.mul(_sharesPerToken);
        _shareBalances[msg.sender] = _totalShares;

        downstreamCaller = new DownstreamCaller();

        emit Transfer(address(0x0), msg.sender, _totalSupply);
    }

    /**
     * Set the address that can mint, burn and rebase
     *
     * @param supplyController_ Address of the new supply controller
     */
    function setSupplyController(address supplyController_) external onlyOwner {
        require(supplyController_ != address(0x0), "invalid address");
        supplyController = supplyController_;
        emit LogSupplyControllerUpdated(supplyController);
    }

    /**
     * Distribute a supply increase or decrease to all token holders proportionally
     *
     * @param supplyChange_ Increase of supply in token units
     * @return The updated total supply
     */
    function distributeTokens(uint256 supplyChange_, bool positive) external onlySupplyController returns (uint256) {
        uint256 newTotalSupply;
        if (positive) {
            newTotalSupply = _totalSupply.add(supplyChange_);
        } else {
            newTotalSupply = _totalSupply.sub(supplyChange_);
        }

        require(newTotalSupply > 0, "rebase cannot make supply 0");

        _sharesPerToken = _totalShares.div(newTotalSupply);

        // Set correct total supply in case of mismatch caused by integer division
        newTotalSupply = _totalShares.div(_sharesPerToken);

        emit LogTokenDistribution(_totalSupply, supplyChange_, positive, newTotalSupply);

        _totalSupply = newTotalSupply;

        if (_totalSupply > _maxExpectedSupply) {
            emit WarningMaxExpectedSupplyExceeded(_totalSupply, _totalShares);
        }

        // Call downstream transactions
        downstreamCaller.executeTransactions();

        return _totalSupply;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory) {
        return _name;
    }

    /**
     * Set the name of the token
     * @param name_ the new name of the token.
     */
    function setName(string calldata name_) external onlyOwner {
        _name = name_;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() external view returns (string memory) {
        return _symbol;
    }

    /**
     * Set the symbol of the token
     * @param symbol_ the new symbol of the token.
     */
    function setSymbol(string calldata symbol_) external onlyOwner {
        _symbol = symbol_;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() external view returns (uint8) {
        return _decimals;
    }

    /**
     * @return The total supply of the underlying token
     */
    function totalSupply() external override view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @return The total supply in shares
     */
    function totalShares() external view returns (uint256) {
        return _totalShares;
    }

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

    /**
     * @param who The address to query.
     * @return The balance of the specified address in shares.
     */
    function sharesOf(address who) external view returns (uint256) {
        return _shareBalances[who];
    }

    /**
     * @dev Transfer tokens to a specified address.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     * @return True on success, false otherwise.
     */
    function transfer(address to, uint256 value) external override validRecipient(to) whenNotPaused returns (bool) {
        require(!isBlacklisted[msg.sender], "from blacklisted");
        require(!isBlacklisted[to], "to blacklisted");

        uint256 shareValue = value.mul(_sharesPerToken);
        _shareBalances[msg.sender] = _shareBalances[msg.sender].sub(
            shareValue,
            "transfer amount exceed account balance"
        );
        _shareBalances[to] = _shareBalances[to].add(shareValue);
        emit Transfer(msg.sender, to, value);
        return true;
    }

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

    /**
     * @dev Transfer tokens from one address to another.
     * @param from The address you want to send tokens from.
     * @param to The address you want to transfer to.
     * @param value The amount of tokens to be transferred.
     */
    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external override validRecipient(to) whenNotPaused returns (bool) {
        require(!isBlacklisted[from], "from blacklisted");
        require(!isBlacklisted[to], "to blacklisted");

        _allowedTokens[from][msg.sender] = _allowedTokens[from][msg.sender].sub(
            value,
            "transfer amount exceeds allowance"
        );

        uint256 shareValue = value.mul(_sharesPerToken);
        _shareBalances[from] = _shareBalances[from].sub(shareValue, "transfer amount exceeds account balance");
        _shareBalances[to] = _shareBalances[to].add(shareValue);
        emit Transfer(from, to, value);

        return true;
    }

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

        _allowedTokens[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev Increase the amount of tokens that an owner has allowed to a spender.
     * This method should be used instead of approve() to avoid the double approval vulnerability
     * described above.
     * @param spender The address which will spend the funds.
     * @param addedValue The amount of tokens to increase the allowance by.
     */
    function increaseAllowance(address spender, uint256 addedValue) external returns (bool) {
        require(!isBlacklisted[msg.sender], "owner blacklisted");
        require(!isBlacklisted[spender], "spender blacklisted");
        require(spender != address(0x0), "invalid address");

        _allowedTokens[msg.sender][spender] = _allowedTokens[msg.sender][spender].add(addedValue);
        emit Approval(msg.sender, spender, _allowedTokens[msg.sender][spender]);
        return true;
    }

    /**
     * @dev Decrease the amount of tokens that an owner has allowed to a spender.
     *
     * @param spender The address which will spend the funds.
     * @param subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool) {
        require(!isBlacklisted[msg.sender], "owner blacklisted");
        require(!isBlacklisted[spender], "spender blacklisted");
        require(spender != address(0x0), "invalid address");

        uint256 oldValue = _allowedTokens[msg.sender][spender];
        if (subtractedValue >= oldValue) {
            _allowedTokens[msg.sender][spender] = 0;
        } else {
            _allowedTokens[msg.sender][spender] = oldValue.sub(subtractedValue);
        }
        emit Approval(msg.sender, spender, _allowedTokens[msg.sender][spender]);
        return true;
    }

    /** Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply, keeping the tokens per shares constant
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     */
    function mint(address account, uint256 amount) external onlySupplyController validRecipient(account) {
        require(!isBlacklisted[account], "account blacklisted");
        require(account != address(0x0), "invalid address");

        _totalSupply = _totalSupply.add(amount);
        uint256 shareAmount = amount.mul(_sharesPerToken);
        _totalShares = _totalShares.add(shareAmount);
        _shareBalances[account] = _shareBalances[account].add(shareAmount);
        emit Transfer(address(0), account, amount);

        if (_totalSupply > _maxExpectedSupply) {
            emit WarningMaxExpectedSupplyExceeded(_totalSupply, _totalShares);
        }
    }

    /**
     * Destroys `amount` tokens from `supplyController` account, reducing the
     * total supply while keeping the tokens per shares ratio constant
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     */
    function burn(uint256 amount) external onlySupplyController {
        uint256 shareAmount = amount.mul(_sharesPerToken);
        _shareBalances[supplyController] = _shareBalances[supplyController].sub(shareAmount, "burn amount exceeds balance");
        _totalShares = _totalShares.sub(shareAmount);
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(supplyController, address(0), amount);
    }


    // Downstream transactions

    /**
     * @return Address of the downstream caller contract
     */
    function downstreamCallerAddress() external view returns (address) {
        return address(downstreamCaller);
    }

    /**
     * @param _downstreamCaller Address of the new downstream caller contract
     */
    function setDownstreamCaller(DownstreamCaller _downstreamCaller) external onlyOwner {
        downstreamCaller = _downstreamCaller;
    }

    /**
     * @notice Adds a transaction that gets called for a downstream receiver of token distributions
     * @param destination Address of contract destination
     * @param data Transaction data payload
     * @return index of the newly added transaction
     */
    function addTransaction(address destination, bytes memory data) external onlySupplyController returns(uint256) {
        return downstreamCaller.addTransaction(destination, data);
    }

    /**
     * @param index Index of transaction to remove.
     *              Transaction ordering may have changed since adding.
     */
    function removeTransaction(uint256 index) external onlySupplyController {
        downstreamCaller.removeTransaction(index);
    }

    /**
     * @param index Index of transaction. Transaction ordering may have changed since adding.
     * @param enabled True for enabled, false for disabled.
     */
    function setTransactionEnabled(uint256 index, bool enabled) external onlySupplyController {
        downstreamCaller.setTransactionEnabled(index, enabled);
    }

    /**
     * @return Number of transactions, both enabled and disabled, in transactions list.
     */
    function transactionsSize() external view returns (uint256) {
        return downstreamCaller.transactionsSize();
    }


    /**
     * @dev Triggers stopped state.
     */
    function pause() external onlySupplyController {
        _pause();
    }

    /**
     * @dev Returns to normal state.
     */
    function unpause() external onlySupplyController {
        _unpause();
    }

    /**
     * @dev Set blacklisted status for the account.
     * @param account address to set blacklist flag for
     * @param _isBlacklisted blacklist flag value
     *
     * Requirements:
     *
     * - `msg.sender` should be owner.
     */
    function setBlacklisted(address account, bool _isBlacklisted) external onlySupplyController {
        isBlacklisted[account] = _isBlacklisted;
        emit Blacklisted(account, _isBlacklisted);
    }
}


// File contracts/mocks/StakedTokenMockV2.sol

// contracts/StakedToken.sol

pragma solidity 0.6.10;

contract StakedTokenMockV2 is StakedToken  {

    bool private newVar;

    function v2() external pure returns (string memory) {
        return "hi";
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isBlacklisted","type":"bool"}],"name":"Blacklisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"supplyController","type":"address"}],"name":"LogSupplyControllerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldTotalSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"supplyChange","type":"uint256"},{"indexed":false,"internalType":"bool","name":"positive","type":"bool"},{"indexed":false,"internalType":"uint256","name":"newTotalSupply","type":"uint256"}],"name":"LogTokenDistribution","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalShares","type":"uint256"}],"name":"WarningMaxExpectedSupplyExceeded","type":"event"},{"inputs":[{"internalType":"address","name":"destination","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"addTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supplyChange_","type":"uint256"},{"internalType":"bool","name":"positive","type":"bool"}],"name":"distributeTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"downstreamCaller","outputs":[{"internalType":"contract DownstreamCaller","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"downstreamCallerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"uint256","name":"maxExpectedSupply_","type":"uint256"},{"internalType":"uint256","name":"initialSupply_","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"removeTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"_isBlacklisted","type":"bool"}],"name":"setBlacklisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract DownstreamCaller","name":"_downstreamCaller","type":"address"}],"name":"setDownstreamCaller","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name_","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"supplyController_","type":"address"}],"name":"setSupplyController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"symbol_","type":"string"}],"name":"setSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setTransactionEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"sharesOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supplyController","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transactionsSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061021c5760003560e01c806370a0823111610125578063aac1bd6b116100ad578063dd62ed3e1161007c578063dd62ed3e14610855578063e7ba101214610883578063f2fde38b1461088b578063f5eb42dc146108b1578063fe575a87146108d75761021c565b8063aac1bd6b14610743578063b84c82461461074b578063c47f0027146107b9578063d01dd6d2146108275761021c565b80638da5cb5b116100f45780638da5cb5b146106d357806391d4ec18146106db57806395d89b41146106e3578063a457c2d7146106eb578063a9059cbb146107175761021c565b806370a0823114610678578063715018a61461069e57806382b28cec146106a65780638456cb59146106cb5761021c565b806339509351116101a857806342966c681161017757806342966c68146105eb57806346c3bd1f1461060857806352875bc3146106255780635c975abb1461064b5780636e9dde99146106535761021c565b806339509351146105835780633a98ef39146105af5780633f4ba83a146105b757806340c10f19146105bf5761021c565b806318160ddd116101ef57806318160ddd146103cc5780631ceb16c6146103d45780631f7fd430146103f857806323b872dd1461052f578063313ce567146105655761021c565b806306fdde0314610221578063095ea7b31461029e5780630bbf1fcb146102de578063126e19be14610306575b600080fd5b6102296108fd565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026357818101518382015260200161024b565b50505050905090810190601f1680156102905780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ca600480360360408110156102b457600080fd5b506001600160a01b038135169060200135610994565b604080519115158252519081900360200190f35b610304600480360360208110156102f457600080fd5b50356001600160a01b0316610b06565b005b6103ba6004803603604081101561031c57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561034657600080fd5b82018360208201111561035857600080fd5b803590602001918460018302840111600160201b8311171561037957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610b80945050505050565b60408051918252519081900360200190f35b6103ba610c85565b6103dc610c8b565b604080516001600160a01b039092168252519081900360200190f35b610304600480360360a081101561040e57600080fd5b810190602081018135600160201b81111561042857600080fd5b82018360208201111561043a57600080fd5b803590602001918460018302840111600160201b8311171561045b57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156104ad57600080fd5b8201836020820111156104bf57600080fd5b803590602001918460018302840111600160201b831117156104e057600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505060ff8335169350505060208101359060400135610c9a565b6102ca6004803603606081101561054557600080fd5b506001600160a01b03813581169160208101359091169060400135610e56565b61056d6110e1565b6040805160ff9092168252519081900360200190f35b6102ca6004803603604081101561059957600080fd5b506001600160a01b0381351690602001356110ea565b6103ba61128d565b610304611293565b610304600480360360408110156105d557600080fd5b506001600160a01b0381351690602001356112b4565b6103046004803603602081101561060157600080fd5b50356114ad565b6103046004803603602081101561061e57600080fd5b50356115bf565b6103046004803603602081101561063b57600080fd5b50356001600160a01b031661163e565b6102ca61173d565b6103046004803603604081101561066957600080fd5b50803590602001351515611746565b6103ba6004803603602081101561068e57600080fd5b50356001600160a01b03166117c6565b6103046117f4565b6103ba600480360360408110156106bc57600080fd5b50803590602001351515611896565b610304611a7b565b6103dc611a9a565b6103ba611aa9565b610229611b1f565b6102ca6004803603604081101561070157600080fd5b506001600160a01b038135169060200135611b80565b6102ca6004803603604081101561072d57600080fd5b506001600160a01b038135169060200135611d79565b6103dc611f7a565b6103046004803603602081101561076157600080fd5b810190602081018135600160201b81111561077b57600080fd5b82018360208201111561078d57600080fd5b803590602001918460018302840111600160201b831117156107ae57600080fd5b509092509050611f89565b610304600480360360208110156107cf57600080fd5b810190602081018135600160201b8111156107e957600080fd5b8201836020820111156107fb57600080fd5b803590602001918460018302840111600160201b8311171561081c57600080fd5b509092509050611ff2565b6103046004803603604081101561083d57600080fd5b506001600160a01b0381351690602001351515612056565b6103ba6004803603604081101561086b57600080fd5b506001600160a01b03813581169160200135166120cd565b6103dc6120f8565b610304600480360360208110156108a157600080fd5b50356001600160a01b0316612107565b6103ba600480360360208110156108c757600080fd5b50356001600160a01b0316612200565b6102ca600480360360208110156108ed57600080fd5b50356001600160a01b031661221b565b60d18054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109895780601f1061095e57610100808354040283529160200191610989565b820191906000526020600020905b81548152906001019060200180831161096c57829003601f168201915b505050505090505b90565b33600090815260d4602052604081205460ff16156109ed576040805162461bcd60e51b81526020600482015260116024820152701bdddb995c88189b1858dadb1a5cdd1959607a1b604482015290519081900360640190fd5b6001600160a01b038316600090815260d4602052604090205460ff1615610a51576040805162461bcd60e51b81526020600482015260136024820152721cdc195b99195c88189b1858dadb1a5cdd1959606a1b604482015290519081900360640190fd5b6001600160a01b038316610a9e576040805162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b604482015290519081900360640190fd5b33600081815260d0602090815260408083206001600160a01b03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b610b0e612230565b6065546001600160a01b03908116911614610b5e576040805162461bcd60e51b8152602060048201819052602482015260008051602061389a833981519152604482015290519081900360640190fd5b60d580546001600160a01b0319166001600160a01b0392909216919091179055565b60c9546000906001600160a01b03163314610b9a57600080fd5b60d554604080516309370cdf60e11b81526001600160a01b038681166004830190815260248301938452865160448401528651919094169363126e19be9388938893606490910190602085019080838360005b83811015610c05578181015183820152602001610bed565b50505050905090810190601f168015610c325780820380516001836020036101000a031916815260200191505b509350505050602060405180830381600087803b158015610c5257600080fd5b505af1158015610c66573d6000803e3d6000fd5b505050506040513d6020811015610c7c57600080fd5b50519392505050565b60cd5490565b60d5546001600160a01b031681565b600054610100900460ff1680610cb35750610cb3612234565b80610cc1575060005460ff16155b610cfc5760405162461bcd60e51b815260040180806020018281038252602e8152602001806138ba602e913960400191505060405180910390fd5b600054610100900460ff16158015610d27576000805460ff1961ff0019909116610100171660011790555b610d2f61223a565b610d376122ec565b60c980546001600160a01b031916331790558551610d5c9060d1906020890190612926565b508451610d709060d2906020880190612926565b5060d3805460ff191660ff861617905560001960ca819055610d929084612389565b60cc81905560cb84905560cd839055610db290839063ffffffff6123d216565b60ce81905533600090815260cf6020526040908190209190915551610dd6906129a4565b604051809103906000f080158015610df2573d6000803e3d6000fd5b5060d580546001600160a01b0319166001600160a01b039290921691909117905560cd54604080519182525133916000916000805160206138e8833981519152916020908290030190a38015610e4e576000805461ff00191690555b505050505050565b6000826001600160a01b038116610e6c57600080fd5b6001600160a01b038116301415610e8257600080fd5b60975460ff1615610ecd576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6001600160a01b038516600090815260d4602052604090205460ff1615610f2e576040805162461bcd60e51b815260206004820152601060248201526f199c9bdb48189b1858dadb1a5cdd195960821b604482015290519081900360640190fd5b6001600160a01b038416600090815260d4602052604090205460ff1615610f8d576040805162461bcd60e51b815260206004820152600e60248201526d1d1bc8189b1858dadb1a5cdd195960921b604482015290519081900360640190fd5b610fdb83604051806060016040528060218152602001613858602191396001600160a01b038816600090815260d060209081526040808320338452909152902054919063ffffffff61242b16565b6001600160a01b038616600090815260d06020908152604080832033845290915281209190915560cc5461101690859063ffffffff6123d216565b905061105b81604051806060016040528060278152602001613908602791396001600160a01b038916600090815260cf6020526040902054919063ffffffff61242b16565b6001600160a01b03808816600090815260cf60205260408082209390935590871681522054611090908263ffffffff6124c216565b6001600160a01b03808716600081815260cf602090815260409182902094909455805188815290519193928a16926000805160206138e883398151915292918290030190a350600195945050505050565b60d35460ff1690565b33600090815260d4602052604081205460ff1615611143576040805162461bcd60e51b81526020600482015260116024820152701bdddb995c88189b1858dadb1a5cdd1959607a1b604482015290519081900360640190fd5b6001600160a01b038316600090815260d4602052604090205460ff16156111a7576040805162461bcd60e51b81526020600482015260136024820152721cdc195b99195c88189b1858dadb1a5cdd1959606a1b604482015290519081900360640190fd5b6001600160a01b0383166111f4576040805162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b604482015290519081900360640190fd5b33600090815260d0602090815260408083206001600160a01b0387168452909152902054611228908363ffffffff6124c216565b33600081815260d0602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60ce5490565b60c9546001600160a01b031633146112aa57600080fd5b6112b261251c565b565b60c9546001600160a01b031633146112cb57600080fd5b816001600160a01b0381166112df57600080fd5b6001600160a01b0381163014156112f557600080fd5b6001600160a01b038316600090815260d4602052604090205460ff1615611359576040805162461bcd60e51b81526020600482015260136024820152721858d8dbdd5b9d08189b1858dadb1a5cdd1959606a1b604482015290519081900360640190fd5b6001600160a01b0383166113a6576040805162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b604482015290519081900360640190fd5b60cd546113b9908363ffffffff6124c216565b60cd5560cc546000906113d390849063ffffffff6123d216565b60ce549091506113e9908263ffffffff6124c216565b60ce556001600160a01b038416600090815260cf6020526040902054611415908263ffffffff6124c216565b6001600160a01b038516600081815260cf602090815260408083209490945583518781529351929391926000805160206138e88339815191529281900390910190a360cb5460cd5411156114a7577f3cef0bbbb1b0cf93c71257e0adf8af9baad72ad5d364fdaad1fb7b114724a5b160cd5460ce54604051808381526020018281526020019250505060405180910390a15b50505050565b60c9546001600160a01b031633146114c457600080fd5b60006114db60cc54836123d290919063ffffffff16565b604080518082018252601b81527f6275726e20616d6f756e7420657863656564732062616c616e6365000000000060208083019190915260c9546001600160a01b0316600090815260cf90915291909120549192506115429190839063ffffffff61242b16565b60c9546001600160a01b0316600090815260cf602052604090205560ce54611570908263ffffffff6125ba16565b60ce5560cd54611586908363ffffffff6125ba16565b60cd5560c9546040805184815290516000926001600160a01b0316916000805160206138e8833981519152919081900360200190a35050565b60c9546001600160a01b031633146115d657600080fd5b60d554604080516346c3bd1f60e01b81526004810184905290516001600160a01b03909216916346c3bd1f9160248082019260009290919082900301818387803b15801561162357600080fd5b505af1158015611637573d6000803e3d6000fd5b5050505050565b611646612230565b6065546001600160a01b03908116911614611696576040805162461bcd60e51b8152602060048201819052602482015260008051602061389a833981519152604482015290519081900360640190fd5b6001600160a01b0381166116e3576040805162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b604482015290519081900360640190fd5b60c980546001600160a01b0319166001600160a01b03838116919091179182905560408051929091168252517f029a507d186991fa7c3a83eff39b1586a07b8af908075fd0a86a6cb199a211be916020908290030190a150565b60975460ff1690565b60c9546001600160a01b0316331461175d57600080fd5b60d55460408051636e9dde9960e01b815260048101859052831515602482015290516001600160a01b0390921691636e9dde999160448082019260009290919082900301818387803b1580156117b257600080fd5b505af1158015610e4e573d6000803e3d6000fd5b60cc546001600160a01b038216600090815260cf60205260408120549091610b00919063ffffffff61238916565b6117fc612230565b6065546001600160a01b0390811691161461184c576040805162461bcd60e51b8152602060048201819052602482015260008051602061389a833981519152604482015290519081900360640190fd5b6065546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3606580546001600160a01b0319169055565b60c9546000906001600160a01b031633146118b057600080fd5b600082156118d25760cd546118cb908563ffffffff6124c216565b90506118e8565b60cd546118e5908563ffffffff6125ba16565b90505b6000811161193d576040805162461bcd60e51b815260206004820152601b60248201527f7265626173652063616e6e6f74206d616b6520737570706c7920300000000000604482015290519081900360640190fd5b60ce54611950908263ffffffff61238916565b60cc81905560ce546119679163ffffffff61238916565b60cd5460408051918252602082018790528515158282015260608201839052519192507f6a993e60d005c1fea92525dd1a0ed99998c6a2f570717071e76f5237025f6bdc919081900360800190a160cd81905560cb54811115611a08577f3cef0bbbb1b0cf93c71257e0adf8af9baad72ad5d364fdaad1fb7b114724a5b160cd5460ce54604051808381526020018281526020019250505060405180910390a15b60d560009054906101000a90046001600160a01b03166001600160a01b031663069549bc6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611a5857600080fd5b505af1158015611a6c573d6000803e3d6000fd5b505060cd549695505050505050565b60c9546001600160a01b03163314611a9257600080fd5b6112b26125fc565b6065546001600160a01b031690565b60d5546040805163123a9d8360e31b815290516000926001600160a01b0316916391d4ec18916004808301926020929190829003018186803b158015611aee57600080fd5b505afa158015611b02573d6000803e3d6000fd5b505050506040513d6020811015611b1857600080fd5b5051905090565b60d28054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109895780601f1061095e57610100808354040283529160200191610989565b33600090815260d4602052604081205460ff1615611bd9576040805162461bcd60e51b81526020600482015260116024820152701bdddb995c88189b1858dadb1a5cdd1959607a1b604482015290519081900360640190fd5b6001600160a01b038316600090815260d4602052604090205460ff1615611c3d576040805162461bcd60e51b81526020600482015260136024820152721cdc195b99195c88189b1858dadb1a5cdd1959606a1b604482015290519081900360640190fd5b6001600160a01b038316611c8a576040805162461bcd60e51b815260206004820152600f60248201526e696e76616c6964206164647265737360881b604482015290519081900360640190fd5b33600090815260d0602090815260408083206001600160a01b0387168452909152902054808310611cde5733600090815260d0602090815260408083206001600160a01b0388168452909152812055611d13565b611cee818463ffffffff6125ba16565b33600090815260d0602090815260408083206001600160a01b03891684529091529020555b33600081815260d0602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b038116611d8f57600080fd5b6001600160a01b038116301415611da557600080fd5b60975460ff1615611df0576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b33600090815260d4602052604090205460ff1615611e48576040805162461bcd60e51b815260206004820152601060248201526f199c9bdb48189b1858dadb1a5cdd195960821b604482015290519081900360640190fd5b6001600160a01b038416600090815260d4602052604090205460ff1615611ea7576040805162461bcd60e51b815260206004820152600e60248201526d1d1bc8189b1858dadb1a5cdd195960921b604482015290519081900360640190fd5b6000611ebe60cc54856123d290919063ffffffff16565b9050611efa816040518060600160405280602681526020016138326026913933600090815260cf6020526040902054919063ffffffff61242b16565b33600090815260cf6020526040808220929092556001600160a01b03871681522054611f2c908263ffffffff6124c216565b6001600160a01b038616600081815260cf60209081526040918290209390935580518781529051919233926000805160206138e88339815191529281900390910190a3506001949350505050565b60d5546001600160a01b031690565b611f91612230565b6065546001600160a01b03908116911614611fe1576040805162461bcd60e51b8152602060048201819052602482015260008051602061389a833981519152604482015290519081900360640190fd5b611fed60d283836129b1565b505050565b611ffa612230565b6065546001600160a01b0390811691161461204a576040805162461bcd60e51b8152602060048201819052602482015260008051602061389a833981519152604482015290519081900360640190fd5b611fed60d183836129b1565b60c9546001600160a01b0316331461206d57600080fd5b6001600160a01b038216600081815260d46020908152604091829020805460ff1916851515908117909155825190815291517fcf3473b85df1594d47b6958f29a32bea0abff9dd68296f7bf33443646793cfd89281900390910190a25050565b6001600160a01b03918216600090815260d06020908152604080832093909416825291909152205490565b60c9546001600160a01b031681565b61210f612230565b6065546001600160a01b0390811691161461215f576040805162461bcd60e51b8152602060048201819052602482015260008051602061389a833981519152604482015290519081900360640190fd5b6001600160a01b0381166121a45760405162461bcd60e51b815260040180806020018281038252602681526020018061380c6026913960400191505060405180910390fd5b6065546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0316600090815260cf602052604090205490565b60d46020526000908152604090205460ff1681565b3390565b303b1590565b600054610100900460ff16806122535750612253612234565b80612261575060005460ff16155b61229c5760405162461bcd60e51b815260040180806020018281038252602e8152602001806138ba602e913960400191505060405180910390fd5b600054610100900460ff161580156122c7576000805460ff1961ff0019909116610100171660011790555b6122cf61267d565b6122d761271d565b80156122e9576000805461ff00191690555b50565b600054610100900460ff16806123055750612305612234565b80612313575060005460ff16155b61234e5760405162461bcd60e51b815260040180806020018281038252602e8152602001806138ba602e913960400191505060405180910390fd5b600054610100900460ff16158015612379576000805460ff1961ff0019909116610100171660011790555b61238161267d565b6122d7612816565b60006123cb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128c1565b9392505050565b6000826123e157506000610b00565b828202828482816123ee57fe5b04146123cb5760405162461bcd60e51b81526004018080602001828103825260218152602001806138796021913960400191505060405180910390fd5b600081848411156124ba5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561247f578181015183820152602001612467565b50505050905090810190601f1680156124ac5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156123cb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60975460ff1661256a576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6097805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61259d612230565b604080516001600160a01b039092168252519081900360200190a1565b60006123cb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061242b565b60975460ff1615612647576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6097805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861259d612230565b600054610100900460ff16806126965750612696612234565b806126a4575060005460ff16155b6126df5760405162461bcd60e51b815260040180806020018281038252602e8152602001806138ba602e913960400191505060405180910390fd5b600054610100900460ff161580156122d7576000805460ff1961ff00199091166101001716600117905580156122e9576000805461ff001916905550565b600054610100900460ff16806127365750612736612234565b80612744575060005460ff16155b61277f5760405162461bcd60e51b815260040180806020018281038252602e8152602001806138ba602e913960400191505060405180910390fd5b600054610100900460ff161580156127aa576000805460ff1961ff0019909116610100171660011790555b60006127b4612230565b606580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35080156122e9576000805461ff001916905550565b600054610100900460ff168061282f575061282f612234565b8061283d575060005460ff16155b6128785760405162461bcd60e51b815260040180806020018281038252602e8152602001806138ba602e913960400191505060405180910390fd5b600054610100900460ff161580156128a3576000805460ff1961ff0019909116610100171660011790555b6097805460ff1916905580156122e9576000805461ff001916905550565b600081836129105760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561247f578181015183820152602001612467565b50600083858161291c57fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061296757805160ff1916838001178555612994565b82800160010185558215612994579182015b82811115612994578251825591602001919060010190612979565b506129a0929150612a1f565b5090565b610dd280612a3a83390190565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106129f25782800160ff19823516178555612994565b82800160010185558215612994579182015b82811115612994578235825591602001919060010190612a04565b61099191905b808211156129a05760008155600101612a2556fe608060405234801561001057600080fd5b5060006100246001600160e01b0361007316565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610077565b3390565b610d4c806100866000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063715018a611610066578063715018a6146101ac5780638da5cb5b146101b457806391d4ec18146101d85780639ace38c2146101e0578063f2fde38b1461029957610093565b8063069549bc14610098578063126e19be146100a257806346c3bd1f1461016a5780636e9dde9914610187575b600080fd5b6100a06102bf565b005b610158600480360360408110156100b857600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100e357600080fd5b8201836020820111156100f557600080fd5b8035906020019184600183028401116401000000008311171561011757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610518945050505050565b60408051918252519081900360200190f35b6100a06004803603602081101561018057600080fd5b503561065e565b6100a06004803603604081101561019d57600080fd5b508035906020013515156107f6565b6100a06108bf565b6101bc610961565b604080516001600160a01b039092168252519081900360200190f35b610158610971565b6101fd600480360360208110156101f657600080fd5b5035610977565b6040518084151515158152602001836001600160a01b03166001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561025c578181015183820152602001610244565b50505050905090810190601f1680156102895780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b6100a0600480360360208110156102af57600080fd5b50356001600160a01b0316610a3c565b6102c7610b34565b6000546001600160a01b03908116911614610317576040805162461bcd60e51b81526020600482018190526024820152600080516020610cf7833981519152604482015290519081900360640190fd5b60005b6001548110156105155760006001828154811061033357fe5b60009182526020909120600290910201805490915060ff161561050c5780546001808301805460408051602060026101009685161587026000190190941693909304601f81018490048402820184019092528181526000956103fb9590046001600160a01b03169390929091908301828280156103f15780601f106103c6576101008083540402835291602001916103f1565b820191906000526020600020905b8154815290600101906020018083116103d457829003601f168201915b5050505050610b38565b90508061050a5781546040805185815260208101828152600180870180546002610100938216158402600019019091160494840185905294046001600160a01b0316937f8091ecaaa54ebb82e02d36c2c336528e0fcb9b3430fc1291ac88295032b9c2639388939192906060830190849080156104b95780601f1061048e576101008083540402835291602001916104b9565b820191906000526020600020905b81548152906001019060200180831161049c57829003601f168201915b5050935050505060405180910390a26040805162461bcd60e51b8152602060048201526012602482015271151c985b9cd858dd1a5bdb8811985a5b195960721b604482015290519081900360640190fd5b505b5060010161031a565b50565b6000610522610b34565b6000546001600160a01b03908116911614610572576040805162461bcd60e51b81526020600482018190526024820152600080516020610cf7833981519152604482015290519081900360640190fd5b6001600160a01b03831661058557600080fd5b815161059057600080fd5b60018054604080516060810182528381526001600160a01b03808816602080840191825293830188815285870187556000969096528251600286027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018054935190941661010002610100600160a81b031992151560ff19909416939093179190911691909117825594518051949592949193610653937fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf70192910190610b5b565b509195945050505050565b610666610b34565b6000546001600160a01b039081169116146106b6576040805162461bcd60e51b81526020600482018190526024820152600080516020610cf7833981519152604482015290519081900360640190fd5b6001548110610702576040805162461bcd60e51b8152602060048201526013602482015272696e646578206f7574206f6620626f756e647360681b604482015290519081900360640190fd5b600154600019018110156107b35760018054600019810190811061072257fe5b90600052602060002090600202016001828154811061073d57fe5b6000918252602090912082546002928302909101805460ff191660ff9092161515919091178082558354610100600160a81b0319909116610100918290046001600160a01b031682021782556001808501805493946107af948387019492938116159092026000190190911604610bd9565b5050505b60018054806107be57fe5b60008281526020812060026000199093019283020180546001600160a81b0319168155906107ef6001830182610c4e565b5050905550565b6107fe610b34565b6000546001600160a01b0390811691161461084e576040805162461bcd60e51b81526020600482018190526024820152600080516020610cf7833981519152604482015290519081900360640190fd5b600154821061088e5760405162461bcd60e51b8152600401808060200182810382526028815260200180610ccf6028913960400191505060405180910390fd5b806001838154811061089c57fe5b60009182526020909120600290910201805460ff19169115159190911790555050565b6108c7610b34565b6000546001600160a01b03908116911614610917576040805162461bcd60e51b81526020600482018190526024820152600080516020610cf7833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03165b90565b60015490565b6001818154811061098457fe5b6000918252602091829020600291820201805460018083018054604080516101009483161585026000190190921696909604601f810188900488028201880190965285815260ff84169750919092046001600160a01b03169492939092830182828015610a325780601f10610a0757610100808354040283529160200191610a32565b820191906000526020600020905b815481529060010190602001808311610a1557829003601f168201915b5050505050905083565b610a44610b34565b6000546001600160a01b03908116911614610a94576040805162461bcd60e51b81526020600482018190526024820152600080516020610cf7833981519152604482015290519081900360640190fd5b6001600160a01b038116610ad95760405162461bcd60e51b8152600401808060200182810382526026815260200180610ca96026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6000806040516020840160008286518360008a6187965a03f19695505050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610b9c57805160ff1916838001178555610bc9565b82800160010185558215610bc9579182015b82811115610bc9578251825591602001919060010190610bae565b50610bd5929150610c8e565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610c125780548555610bc9565b82800160010185558215610bc957600052602060002091601f016020900482015b82811115610bc9578254825591600101919060010190610c33565b50805460018160011615610100020316600290046000825580601f10610c745750610515565b601f01602090049060005260206000209081019061051591905b61096e91905b80821115610bd55760008155600101610c9456fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373696e646578206d75737420626520696e2072616e6765206f662073746f726564207478206c6973744f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122090476b76069889fa7459940e4e53c05fc254f9d3b924356622958f51c21d9e6c64736f6c634300060a00334f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573737472616e7366657220616d6f756e7420657863656564206163636f756e742062616c616e63657472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef7472616e7366657220616d6f756e742065786365656473206163636f756e742062616c616e6365a26469706673582212203d31310696dae2ffa488eb187adbe7013c8c520d18694ea45a0a556f1fd536ee64736f6c634300060a0033

Deployed Bytecode Sourcemap

26067:16825:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31215:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36429:415;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36429:415:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;40666:139;;;;;;;;;;;;;;;;-1:-1:-1;40666:139:0;-1:-1:-1;;;;;40666:139:0;;:::i;:::-;;41089:187;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41089:187:0;;;;;;;;;;;;;;;-1:-1:-1;;;41089:187:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;41089:187:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41089:187:0;;-1:-1:-1;41089:187:0;;-1:-1:-1;;;;;41089:187:0:i;:::-;;;;;;;;;;;;;;;;32726:102;;;:::i;27513:40::-;;;:::i;:::-;;;;-1:-1:-1;;;;;27513:40:0;;;;;;;;;;;;;;28499:986;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;28499:986:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;28499:986:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28499:986:0;;;;;;;;-1:-1:-1;28499:986:0;;-1:-1:-1;;;;;28499:986:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;28499:986:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28499:986:0;;-1:-1:-1;;28499:986:0;;;;;-1:-1:-1;;;28499:986:0;;;;;;;;;:::i;35031:756::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35031:756:0;;;;;;;;;;;;;;;;;:::i;32558:85::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37217:497;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37217:497:0;;;;;;;;:::i;32897:93::-;;;:::i;42344:78::-;;;:::i;38972:677::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38972:677:0;;;;;;;;:::i;39902:421::-;;;;;;;;;;;;;;;;-1:-1:-1;39902:421:0;;:::i;41428:132::-;;;;;;;;;;;;;;;;-1:-1:-1;41428:132:0;;:::i;29644:262::-;;;;;;;;;;;;;;;;-1:-1:-1;29644:262:0;-1:-1:-1;;;;;29644:262:0;;:::i;16812:78::-;;;:::i;41742:163::-;;;;;;;;;;;;;;;;-1:-1:-1;41742:163:0;;;;;;;;;:::i;33111:139::-;;;;;;;;;;;;;;;;-1:-1:-1;33111:139:0;-1:-1:-1;;;;;33111:139:0;;:::i;14901:148::-;;;:::i;30129:1016::-;;;;;;;;;;;;;;;;-1:-1:-1;30129:1016:0;;;;;;;;;:::i;42206:74::-;;;:::i;14259:79::-;;;:::i;42020:121::-;;;:::i;31618:89::-;;;:::i;37976:676::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37976:676:0;;;;;;;;:::i;33715:597::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33715:597:0;;;;;;;;:::i;40443:118::-;;;:::i;31821:99::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31821:99:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31821:99:0;;;;;;;;;;-1:-1:-1;31821:99:0;;-1:-1:-1;31821:99:0;-1:-1:-1;31821:99:0;:::i;31408:91::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31408:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31408:91:0;;;;;;;;;;-1:-1:-1;31408:91:0;;-1:-1:-1;31408:91:0;-1:-1:-1;31408:91:0;:::i;42687:202::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;42687:202:0;;;;;;;;;;:::i;34619:150::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34619:150:0;;;;;;;;;;:::i;26702:31::-;;;:::i;15204:244::-;;;;;;;;;;;;;;;;-1:-1:-1;15204:244:0;-1:-1:-1;;;;;15204:244:0;;:::i;33381:108::-;;;;;;;;;;;;;;;;-1:-1:-1;33381:108:0;-1:-1:-1;;;;;33381:108:0;;:::i;27313:45::-;;;;;;;;;;;;;;;;-1:-1:-1;27313:45:0;-1:-1:-1;;;;;27313:45:0;;:::i;31215:85::-;31287:5;31280:12;;;;;;;;-1:-1:-1;;31280:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31254:13;;31280:12;;31287:5;;31280:12;;31287:5;31280:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31215:85;;:::o;36429:415::-;36545:10;36505:4;36531:25;;;:13;:25;;;;;;;;36530:26;36522:56;;;;;-1:-1:-1;;;36522:56:0;;;;;;;;;;;;-1:-1:-1;;;36522:56:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;36598:22:0;;;;;;:13;:22;;;;;;;;36597:23;36589:55;;;;;-1:-1:-1;;;36589:55:0;;;;;;;;;;;;-1:-1:-1;;;36589:55:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;36663:23:0;;36655:51;;;;;-1:-1:-1;;;36655:51:0;;;;;;;;;;;;-1:-1:-1;;;36655:51:0;;;;;;;;;;;;;;;36734:10;36719:26;;;;:14;:26;;;;;;;;-1:-1:-1;;;;;36719:35:0;;;;;;;;;;;;:43;;;36778:36;;;;;;;36719:35;;36734:10;36778:36;;;;;;;;;;;-1:-1:-1;36832:4:0;36429:415;;;;;:::o;40666:139::-;14481:12;:10;:12::i;:::-;14471:6;;-1:-1:-1;;;;;14471:6:0;;;:22;;;14463:67;;;;;-1:-1:-1;;;14463:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;14463:67:0;;;;;;;;;;;;;;;40761:16:::1;:36:::0;;-1:-1:-1;;;;;;40761:36:0::1;-1:-1:-1::0;;;;;40761:36:0;;;::::1;::::0;;;::::1;::::0;;40666:139::o;41089:187::-;27627:16;;41191:7;;-1:-1:-1;;;;;27627:16:0;27613:10;:30;27605:39;;;;;;41218:16:::1;::::0;:50:::1;::::0;;-1:-1:-1;;;41218:50:0;;-1:-1:-1;;;;;41218:50:0;;::::1;;::::0;::::1;::::0;;;;;;;;;;;;;;;;;:16;;;::::1;::::0;:31:::1;::::0;41250:11;;41263:4;;41218:50;;;;;::::1;::::0;::::1;::::0;;;;:16:::1;:50;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;41218:50:0;;41089:187;-1:-1:-1;;;41089:187:0:o;32726:102::-;32808:12;;32726:102;:::o;27513:40::-;;;-1:-1:-1;;;;;27513:40:0;;:::o;28499:986::-;10490:12;;;;;;;;:31;;;10506:15;:13;:15::i;:::-;10490:47;;;-1:-1:-1;10526:11:0;;;;10525:12;10490:47;10482:106;;;;-1:-1:-1;;;10482:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10597:19;10620:12;;;;;;10619:13;10639:83;;;;10668:12;:19;;-1:-1:-1;;;;10668:19:0;;;;;10696:18;10683:4;10696:18;;;10639:83;28714:16:::1;:14;:16::i;:::-;28741:17;:15;:17::i;:::-;28769:16;:29:::0;;-1:-1:-1;;;;;;28769:29:0::1;28788:10;28769:29;::::0;;28811:13;;::::1;::::0;:5:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;28835:17:0;;::::1;::::0;:7:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;28863:9:0::1;:21:::0;;-1:-1:-1;;28863:21:0::1;;::::0;::::1;;::::0;;-1:-1:-1;;28897:11:0::1;:25:::0;;;29117:35:::1;::::0;29133:18;29117:15:::1;:35::i;:::-;29099:15;:53:::0;;;29165:18:::1;:39:::0;;;29215:12:::1;:29:::0;;;29270:35:::1;::::0;29230:14;;29270:35:::1;:18;:35;:::i;:::-;29255:12;:50:::0;;;29331:10:::1;29316:26;::::0;;;:14:::1;:26;::::0;;;;;;:41;;;;29389:22;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;29370:16:0::1;:41:::0;;-1:-1:-1;;;;;;29370:41:0::1;-1:-1:-1::0;;;;;29370:41:0;;;::::1;::::0;;;::::1;::::0;;29464:12:::1;::::0;29429:48:::1;::::0;;;;;;29452:10:::1;::::0;-1:-1:-1;;;;;;;;;;;;;29429:48:0;::::1;::::0;;;;;;::::1;10744:14:::0;10740:57;;;10784:5;10769:20;;-1:-1:-1;;10769:20:0;;;10740:57;28499:986;;;;;;:::o;35031:756::-;35188:4;35161:2;-1:-1:-1;;;;;27727:18:0;;27719:27;;;;;;-1:-1:-1;;;;;27765:19:0;;27779:4;27765:19;;27757:28;;;;;;17049:7:::1;::::0;::::1;;17048:8;17040:37;;;::::0;;-1:-1:-1;;;17040:37:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;17040:37:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;35214:19:0;::::2;;::::0;;;:13:::2;:19;::::0;;;;;::::2;;35213:20;35205:49;;;::::0;;-1:-1:-1;;;35205:49:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;35205:49:0;;;;;;;;;;;;;::::2;;-1:-1:-1::0;;;;;35274:17:0;::::2;;::::0;;;:13:::2;:17;::::0;;;;;::::2;;35273:18;35265:45;;;::::0;;-1:-1:-1;;;35265:45:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;35265:45:0;;;;;;;;;;;;;::::2;;35358:117;35409:5;35358:117;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;35358:20:0;::::2;;::::0;;;:14:::2;:20;::::0;;;;;;;35379:10:::2;35358:32:::0;;;;;;;;;:117;::::2;:36;:117;:::i;:::-;-1:-1:-1::0;;;;;35323:20:0;::::2;;::::0;;;:14:::2;:20;::::0;;;;;;;35344:10:::2;35323:32:::0;;;;;;;:152;;;;35519:15:::2;::::0;35509:26:::2;::::0;:5;;:26:::2;:9;:26;:::i;:::-;35488:47;;35569:79;35594:10;35569:79;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;35569:20:0;::::2;;::::0;;;:14:::2;:20;::::0;;;;;;:79;::::2;:24;:79;:::i;:::-;-1:-1:-1::0;;;;;35546:20:0;;::::2;;::::0;;;:14:::2;:20;::::0;;;;;:102;;;;35680:18;;::::2;::::0;;;;:34:::2;::::0;35703:10;35680:34:::2;:22;:34;:::i;:::-;-1:-1:-1::0;;;;;35659:18:0;;::::2;;::::0;;;:14:::2;:18;::::0;;;;;;;;:55;;;;35730:25;;;;;;;35659:18;;35730:25;;::::2;::::0;-1:-1:-1;;;;;;;;;;;35730:25:0;;;;;;;::::2;-1:-1:-1::0;35775:4:0::2;::::0;35031:756;-1:-1:-1;;;;;35031:756:0:o;32558:85::-;32626:9;;;;32558:85;:::o;37217:497::-;37339:10;37299:4;37325:25;;;:13;:25;;;;;;;;37324:26;37316:56;;;;;-1:-1:-1;;;37316:56:0;;;;;;;;;;;;-1:-1:-1;;;37316:56:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;37392:22:0;;;;;;:13;:22;;;;;;;;37391:23;37383:55;;;;;-1:-1:-1;;;37383:55:0;;;;;;;;;;;;-1:-1:-1;;;37383:55:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;37457:23:0;;37449:51;;;;;-1:-1:-1;;;37449:51:0;;;;;;;;;;;;-1:-1:-1;;;37449:51:0;;;;;;;;;;;;;;;37566:10;37551:26;;;;:14;:26;;;;;;;;-1:-1:-1;;;;;37551:35:0;;;;;;;;;;:51;;37591:10;37551:51;:39;:51;:::i;:::-;37528:10;37513:26;;;;:14;:26;;;;;;;;-1:-1:-1;;;;;37513:35:0;;;;;;;;;;;;:89;;;37618:66;;;;;;37513:35;;37618:66;;;;;;;;;;;-1:-1:-1;37702:4:0;37217:497;;;;:::o;32897:93::-;32970:12;;32897:93;:::o;42344:78::-;27627:16;;-1:-1:-1;;;;;27627:16:0;27613:10;:30;27605:39;;;;;;42404:10:::1;:8;:10::i;:::-;42344:78::o:0;38972:677::-;27627:16;;-1:-1:-1;;;;;27627:16:0;27613:10;:30;27605:39;;;;;;39064:7;-1:-1:-1;;;;;27727:18:0;::::1;27719:27;;;::::0;::::1;;-1:-1:-1::0;;;;;27765:19:0;::::1;27779:4;27765:19;;27757:28;;;::::0;::::1;;-1:-1:-1::0;;;;;39093:22:0;::::2;;::::0;;;:13:::2;:22;::::0;;;;;::::2;;39092:23;39084:55;;;::::0;;-1:-1:-1;;;39084:55:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;39084:55:0;;;;;;;;;;;;;::::2;;-1:-1:-1::0;;;;;39158:23:0;::::2;39150:51;;;::::0;;-1:-1:-1;;;39150:51:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;39150:51:0;;;;;;;;;;;;;::::2;;39229:12;::::0;:24:::2;::::0;39246:6;39229:24:::2;:16;:24;:::i;:::-;39214:12;:39:::0;39297:15:::2;::::0;39264:19:::2;::::0;39286:27:::2;::::0;:6;;:27:::2;:10;:27;:::i;:::-;39339:12;::::0;39264:49;;-1:-1:-1;39339:29:0::2;::::0;39264:49;39339:29:::2;:16;:29;:::i;:::-;39324:12;:44:::0;-1:-1:-1;;;;;39405:23:0;::::2;;::::0;;;:14:::2;:23;::::0;;;;;:40:::2;::::0;39433:11;39405:40:::2;:27;:40;:::i;:::-;-1:-1:-1::0;;;;;39379:23:0;::::2;;::::0;;;:14:::2;:23;::::0;;;;;;;:66;;;;39461:37;;;;;;;39379:23;;;;-1:-1:-1;;;;;;;;;;;39461:37:0;;;;;;;;::::2;39530:18;;39515:12;;:33;39511:131;;;39570:60;39603:12;;39617;;39570:60;;;;;;;;;;;;;;;;;;;;;;;;39511:131;27796:1;27655::::1;38972:677:::0;;:::o;39902:421::-;27627:16;;-1:-1:-1;;;;;27627:16:0;27613:10;:30;27605:39;;;;;;39973:19:::1;39995:27;40006:15;;39995:6;:10;;:27;;;;:::i;:::-;40068:80;::::0;;;;::::1;::::0;;::::1;::::0;;::::1;;::::0;;::::1;::::0;;;;40083:16:::1;::::0;-1:-1:-1;;;;;40083:16:0::1;-1:-1:-1::0;40068:32:0;;;:14:::1;:32:::0;;;;;;;;39973:49;;-1:-1:-1;40068:80:0::1;::::0;:32;39973:49;;40068:80:::1;:36;:80;:::i;:::-;40048:16;::::0;-1:-1:-1;;;;;40048:16:0::1;40033:32;::::0;;;:14:::1;:32;::::0;;;;:115;40174:12:::1;::::0;:29:::1;::::0;40191:11;40174:29:::1;:16;:29;:::i;:::-;40159:12;:44:::0;40229:12:::1;::::0;:24:::1;::::0;40246:6;40229:24:::1;:16;:24;:::i;:::-;40214:12;:39:::0;40278:16:::1;::::0;40269:46:::1;::::0;;;;;;;40304:1:::1;::::0;-1:-1:-1;;;;;40278:16:0::1;::::0;-1:-1:-1;;;;;;;;;;;40269:46:0;;;;;::::1;::::0;;::::1;27655:1;39902:421:::0;:::o;41428:132::-;27627:16;;-1:-1:-1;;;;;27627:16:0;27613:10;:30;27605:39;;;;;;41511:16:::1;::::0;:41:::1;::::0;;-1:-1:-1;;;41511:41:0;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;41511:16:0;;::::1;::::0;:34:::1;::::0;:41;;;;;:16:::1;::::0;:41;;;;;;;;:16;;:41;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;41428:132:::0;:::o;29644:262::-;14481:12;:10;:12::i;:::-;14471:6;;-1:-1:-1;;;;;14471:6:0;;;:22;;;14463:67;;;;;-1:-1:-1;;;14463:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;14463:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;29738:33:0;::::1;29730:61;;;::::0;;-1:-1:-1;;;29730:61:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;29730:61:0;;;;;;;;;;;;;::::1;;29802:16;:36:::0;;-1:-1:-1;;;;;;29802:36:0::1;-1:-1:-1::0;;;;;29802:36:0;;::::1;::::0;;;::::1;::::0;;;;29854:44:::1;::::0;;29881:16;;;::::1;29854:44:::0;;;::::1;::::0;::::1;::::0;;;;;;::::1;29644:262:::0;:::o;16812:78::-;16875:7;;;;16812:78;:::o;41742:163::-;27627:16;;-1:-1:-1;;;;;27627:16:0;27613:10;:30;27605:39;;;;;;41843:16:::1;::::0;:54:::1;::::0;;-1:-1:-1;;;41843:54:0;;::::1;::::0;::::1;::::0;;;;::::1;;::::0;;;;;;-1:-1:-1;;;;;41843:16:0;;::::1;::::0;:38:::1;::::0;:54;;;;;:16:::1;::::0;:54;;;;;;;;:16;;:54;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;33111:139:::0;33226:15;;-1:-1:-1;;;;;33202:19:0;;33175:7;33202:19;;;:14;:19;;;;;;33175:7;;33202:40;;:19;:40;:23;:40;:::i;14901:148::-;14481:12;:10;:12::i;:::-;14471:6;;-1:-1:-1;;;;;14471:6:0;;;:22;;;14463:67;;;;;-1:-1:-1;;;14463:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;14463:67:0;;;;;;;;;;;;;;;14992:6:::1;::::0;14971:40:::1;::::0;15008:1:::1;::::0;-1:-1:-1;;;;;14992:6:0::1;::::0;14971:40:::1;::::0;15008:1;;14971:40:::1;15022:6;:19:::0;;-1:-1:-1;;;;;;15022:19:0::1;::::0;;14901:148::o;30129:1016::-;27627:16;;30232:7;;-1:-1:-1;;;;;27627:16:0;27613:10;:30;27605:39;;;;;;30252:22:::1;30289:8;30285:170;;;30331:12;::::0;:31:::1;::::0;30348:13;30331:31:::1;:16;:31;:::i;:::-;30314:48;;30285:170;;;30412:12;::::0;:31:::1;::::0;30429:13;30412:31:::1;:16;:31;:::i;:::-;30395:48;;30285:170;30492:1;30475:14;:18;30467:58;;;::::0;;-1:-1:-1;;;30467:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;30556:12;::::0;:32:::1;::::0;30573:14;30556:32:::1;:16;:32;:::i;:::-;30538:15;:50:::0;;;30702:12:::1;::::0;:33:::1;::::0;::::1;:16;:33;:::i;:::-;30774:12;::::0;30753:75:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;::::1;;::::0;;;;;;;;;;;30685:50;;-1:-1:-1;30753:75:0::1;::::0;;;;;;;;::::1;30841:12;:29:::0;;;30902:18:::1;::::0;30887:33;::::1;30883:131;;;30942:60;30975:12;;30989;;30942:60;;;;;;;;;;;;;;;;;;;;;;;;30883:131;31067:16;;;;;;;;;-1:-1:-1::0;;;;;31067:16:0::1;-1:-1:-1::0;;;;;31067:36:0::1;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;31125:12:0::1;::::0;;30129:1016;-1:-1:-1;;;;;;30129:1016:0:o;42206:74::-;27627:16;;-1:-1:-1;;;;;27627:16:0;27613:10;:30;27605:39;;;;;;42264:8:::1;:6;:8::i;14259:79::-:0;14324:6;;-1:-1:-1;;;;;14324:6:0;14259:79;:::o;42020:121::-;42098:16;;:35;;;-1:-1:-1;;;42098:35:0;;;;42071:7;;-1:-1:-1;;;;;42098:16:0;;:33;;:35;;;;;;;;;;;;;;:16;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42098:35:0;;-1:-1:-1;42020:121:0;:::o;31618:89::-;31692:7;31685:14;;;;;;;;-1:-1:-1;;31685:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31659:13;;31685:14;;31692:7;;31685:14;;31692:7;31685:14;;;;;;;;;;;;;;;;;;;;;;;;37976:676;38103:10;38063:4;38089:25;;;:13;:25;;;;;;;;38088:26;38080:56;;;;;-1:-1:-1;;;38080:56:0;;;;;;;;;;;;-1:-1:-1;;;38080:56:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;38156:22:0;;;;;;:13;:22;;;;;;;;38155:23;38147:55;;;;;-1:-1:-1;;;38147:55:0;;;;;;;;;;;;-1:-1:-1;;;38147:55:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;38221:23:0;;38213:51;;;;;-1:-1:-1;;;38213:51:0;;;;;;;;;;;;-1:-1:-1;;;38213:51:0;;;;;;;;;;;;;;;38311:10;38277:16;38296:26;;;:14;:26;;;;;;;;-1:-1:-1;;;;;38296:35:0;;;;;;;;;;38346:27;;;38342:199;;38405:10;38428:1;38390:26;;;:14;:26;;;;;;;;-1:-1:-1;;;;;38390:35:0;;;;;;;;;:39;38342:199;;;38500:29;:8;38513:15;38500:29;:12;:29;:::i;:::-;38477:10;38462:26;;;;:14;:26;;;;;;;;-1:-1:-1;;;;;38462:35:0;;;;;;;;;:67;38342:199;38565:10;38586:26;;;;:14;:26;;;;;;;;-1:-1:-1;;;;;38556:66:0;;38586:35;;;;;;;;;;;38556:66;;;;;;;;;38565:10;38556:66;;;;;;;;;;;-1:-1:-1;38640:4:0;;37976:676;-1:-1:-1;;;37976:676:0:o;33715:597::-;33820:4;33793:2;-1:-1:-1;;;;;27727:18:0;;27719:27;;;;;;-1:-1:-1;;;;;27765:19:0;;27779:4;27765:19;;27757:28;;;;;;17049:7:::1;::::0;::::1;;17048:8;17040:37;;;::::0;;-1:-1:-1;;;17040:37:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;17040:37:0;;;;;;;;;;;;;::::1;;33860:10:::2;33846:25;::::0;;;:13:::2;:25;::::0;;;;;::::2;;33845:26;33837:55;;;::::0;;-1:-1:-1;;;33837:55:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;33837:55:0;;;;;;;;;;;;;::::2;;-1:-1:-1::0;;;;;33912:17:0;::::2;;::::0;;;:13:::2;:17;::::0;;;;;::::2;;33911:18;33903:45;;;::::0;;-1:-1:-1;;;33903:45:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;33903:45:0;;;;;;;;;;;;;::::2;;33961:18;33982:26;33992:15;;33982:5;:9;;:26;;;;:::i;:::-;33961:47;;34048:121;34093:10;34048:121;;;;;;;;;;;;;;;;;34063:10;34048:26;::::0;;;:14:::2;:26;::::0;;;;;;:121;::::2;:30;:121;:::i;:::-;34034:10;34019:26;::::0;;;:14:::2;:26;::::0;;;;;:150;;;;-1:-1:-1;;;;;34201:18:0;::::2;::::0;;;;:34:::2;::::0;34224:10;34201:34:::2;:22;:34;:::i;:::-;-1:-1:-1::0;;;;;34180:18:0;::::2;;::::0;;;:14:::2;:18;::::0;;;;;;;;:55;;;;34251:31;;;;;;;34180:18;;34260:10:::2;::::0;-1:-1:-1;;;;;;;;;;;34251:31:0;;;;;;;;::::2;-1:-1:-1::0;34300:4:0::2;::::0;33715:597;-1:-1:-1;;;;33715:597:0:o;40443:118::-;40536:16;;-1:-1:-1;;;;;40536:16:0;40443:118;:::o;31821:99::-;14481:12;:10;:12::i;:::-;14471:6;;-1:-1:-1;;;;;14471:6:0;;;:22;;;14463:67;;;;;-1:-1:-1;;;14463:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;14463:67:0;;;;;;;;;;;;;;;31895:17:::1;:7;31905::::0;;31895:17:::1;:::i;:::-;;31821:99:::0;;:::o;31408:91::-;14481:12;:10;:12::i;:::-;14471:6;;-1:-1:-1;;;;;14471:6:0;;;:22;;;14463:67;;;;;-1:-1:-1;;;14463:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;14463:67:0;;;;;;;;;;;;;;;31478:13:::1;:5;31486::::0;;31478:13:::1;:::i;42687:202::-:0;27627:16;;-1:-1:-1;;;;;27627:16:0;27613:10;:30;27605:39;;;;;;-1:-1:-1;;;;;42790:22:0;::::1;;::::0;;;:13:::1;:22;::::0;;;;;;;;:39;;-1:-1:-1;;42790:39:0::1;::::0;::::1;;::::0;;::::1;::::0;;;42845:36;;;;;;;::::1;::::0;;;;;;;;::::1;42687:202:::0;;:::o;34619:150::-;-1:-1:-1;;;;;34730:22:0;;;34703:7;34730:22;;;:14;:22;;;;;;;;:31;;;;;;;;;;;;;34619:150::o;26702:31::-;;;-1:-1:-1;;;;;26702:31:0;;:::o;15204:244::-;14481:12;:10;:12::i;:::-;14471:6;;-1:-1:-1;;;;;14471:6:0;;;:22;;;14463:67;;;;;-1:-1:-1;;;14463:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;14463:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;15293:22:0;::::1;15285:73;;;;-1:-1:-1::0;;;15285:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15395:6;::::0;15374:38:::1;::::0;-1:-1:-1;;;;;15374:38:0;;::::1;::::0;15395:6:::1;::::0;15374:38:::1;::::0;15395:6:::1;::::0;15374:38:::1;15423:6;:17:::0;;-1:-1:-1;;;;;;15423:17:0::1;-1:-1:-1::0;;;;;15423:17:0;;;::::1;::::0;;;::::1;::::0;;15204:244::o;33381:108::-;-1:-1:-1;;;;;33462:19:0;33435:7;33462:19;;;:14;:19;;;;;;;33381:108::o;27313:45::-;;;;;;;;;;;;;;;:::o;12527:106::-;12615:10;12527:106;:::o;10891:508::-;11308:4;11354:17;11386:7;10891:508;:::o;13837:129::-;10490:12;;;;;;;;:31;;;10506:15;:13;:15::i;:::-;10490:47;;;-1:-1:-1;10526:11:0;;;;10525:12;10490:47;10482:106;;;;-1:-1:-1;;;10482:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10597:19;10620:12;;;;;;10619:13;10639:83;;;;10668:12;:19;;-1:-1:-1;;;;10668:19:0;;;;;10696:18;10683:4;10696:18;;;10639:83;13895:26:::1;:24;:26::i;:::-;13932;:24;:26::i;:::-;10744:14:::0;10740:57;;;10784:5;10769:20;;-1:-1:-1;;10769:20:0;;;10740:57;13837:129;:::o;16473:131::-;10490:12;;;;;;;;:31;;;10506:15;:13;:15::i;:::-;10490:47;;;-1:-1:-1;10526:11:0;;;;10525:12;10490:47;10482:106;;;;-1:-1:-1;;;10482:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10597:19;10620:12;;;;;;10619:13;10639:83;;;;10668:12;:19;;-1:-1:-1;;;;10668:19:0;;;;;10696:18;10683:4;10696:18;;;10639:83;16532:26:::1;:24;:26::i;:::-;16569:27;:25;:27::i;20923:132::-:0;20981:7;21008:39;21012:1;21015;21008:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;21001:46;20923:132;-1:-1:-1;;;20923:132:0:o;19984:471::-;20042:7;20287:6;20283:47;;-1:-1:-1;20317:1:0;20310:8;;20283:47;20354:5;;;20358:1;20354;:5;:1;20378:5;;;;;:10;20370:56;;;;-1:-1:-1;;;20370:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19541:192;19627:7;19663:12;19655:6;;;;19647:29;;;;-1:-1:-1;;;19647:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;19699:5:0;;;19541:192::o;18654:181::-;18712:7;18744:5;;;18768:6;;;;18760:46;;;;;-1:-1:-1;;;18760:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;17545:120;17248:7;;;;17240:40;;;;;-1:-1:-1;;;17240:40:0;;;;;;;;;;;;-1:-1:-1;;;17240:40:0;;;;;;;;;;;;;;;17604:7:::1;:15:::0;;-1:-1:-1;;17604:15:0::1;::::0;;17635:22:::1;17644:12;:10;:12::i;:::-;17635:22;::::0;;-1:-1:-1;;;;;17635:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;17545:120::o:0;19110:136::-;19168:7;19195:43;19199:1;19202;19195:43;;;;;;;;;;;;;;;;;:3;:43::i;17363:118::-;17049:7;;;;17048:8;17040:37;;;;;-1:-1:-1;;;17040:37:0;;;;;;;;;;;;-1:-1:-1;;;17040:37:0;;;;;;;;;;;;;;;17423:7:::1;:14:::0;;-1:-1:-1;;17423:14:0::1;17433:4;17423:14;::::0;;17453:20:::1;17460:12;:10;:12::i;12448:69::-:0;10490:12;;;;;;;;:31;;;10506:15;:13;:15::i;:::-;10490:47;;;-1:-1:-1;10526:11:0;;;;10525:12;10490:47;10482:106;;;;-1:-1:-1;;;10482:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10597:19;10620:12;;;;;;10619:13;10639:83;;;;10668:12;:19;;-1:-1:-1;;;;10668:19:0;;;;;10696:18;10683:4;10696:18;;;10744:14;10740:57;;;10784:5;10769:20;;-1:-1:-1;;10769:20:0;;;12448:69;:::o;13974:202::-;10490:12;;;;;;;;:31;;;10506:15;:13;:15::i;:::-;10490:47;;;-1:-1:-1;10526:11:0;;;;10525:12;10490:47;10482:106;;;;-1:-1:-1;;;10482:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10597:19;10620:12;;;;;;10619:13;10639:83;;;;10668:12;:19;;-1:-1:-1;;;;10668:19:0;;;;;10696:18;10683:4;10696:18;;;10639:83;14046:17:::1;14066:12;:10;:12::i;:::-;14089:6;:18:::0;;-1:-1:-1;;;;;;14089:18:0::1;-1:-1:-1::0;;;;;14089:18:0;::::1;::::0;;::::1;::::0;;;14123:43:::1;::::0;14089:18;;-1:-1:-1;14089:18:0;-1:-1:-1;;14123:43:0::1;::::0;-1:-1:-1;;14123:43:0::1;10730:1;10744:14:::0;10740:57;;;10784:5;10769:20;;-1:-1:-1;;10769:20:0;;;13974:202;:::o;16612:98::-;10490:12;;;;;;;;:31;;;10506:15;:13;:15::i;:::-;10490:47;;;-1:-1:-1;10526:11:0;;;;10525:12;10490:47;10482:106;;;;-1:-1:-1;;;10482:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10597:19;10620:12;;;;;;10619:13;10639:83;;;;10668:12;:19;;-1:-1:-1;;;;10668:19:0;;;;;10696:18;10683:4;10696:18;;;10639:83;16685:7:::1;:15:::0;;-1:-1:-1;;16685:15:0::1;::::0;;10740:57;;;;10784:5;10769:20;;-1:-1:-1;;10769:20:0;;;16612:98;:::o;21543:345::-;21629:7;21731:12;21724:5;21716:28;;;;-1:-1:-1;;;21716:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21755:9;21771:1;21767;:5;;;;;;;21543:345;-1:-1:-1;;;;;21543:345:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://3d31310696dae2ffa488eb187adbe7013c8c520d18694ea45a0a556f1fd536ee

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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