ETH Price: $2,640.28 (-1.45%)

Contract

0xEC0867CaFC9A53fA62DC9FbB0bc0Ad0b7be6E07d
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Finish Initial E...102244122020-06-08 9:54:341707 days ago1591610074IN
0xEC0867Ca...b7be6E07d
0 ETH0.0029875240
Send Funds To Bo...102243502020-06-08 9:40:231707 days ago1591609223IN
0xEC0867Ca...b7be6E07d
0 ETH0.0016869933
Save Initial Par...101405122020-05-26 9:29:511720 days ago1590485391IN
0xEC0867Ca...b7be6E07d
0 ETH0.0079783553

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 0x2Bf6E48C...3B421adE8
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
EthicHubLending

Compiler Version
v0.5.13+commit.5b0b510c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-01-03
*/

// File: @openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
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: @openzeppelin/contracts-ethereum-package/contracts/math/SafeMath.sol

pragma solidity ^0.5.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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/upgrades/contracts/Initializable.sol

pragma solidity >=0.4.24 <0.6.0;


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

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

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

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

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

    _;

    if (isTopLevelCall) {
      initializing = false;
    }
  }

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

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

// File: @openzeppelin/contracts-ethereum-package/contracts/GSN/Context.sol

pragma solidity ^0.5.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 Context is Initializable {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

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

    function _msgData() internal view 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-ethereum-package/contracts/ownership/Ownable.sol

pragma solidity ^0.5.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.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be aplied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Initializable, Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function initialize(address sender) public initializer {
        _owner = sender;
        emit OwnershipTransferred(address(0), _owner);
    }

    /**
     * @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(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }

    uint256[50] private ______gap;
}

// File: @openzeppelin/contracts-ethereum-package/contracts/access/Roles.sol

pragma solidity ^0.5.0;

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(!has(role, account), "Roles: account already has role");
        role.bearer[account] = true;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(has(role, account), "Roles: account does not have role");
        role.bearer[account] = false;
    }

    /**
     * @dev Check if an account has this role.
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0), "Roles: account is the zero address");
        return role.bearer[account];
    }
}

// File: @openzeppelin/contracts-ethereum-package/contracts/access/roles/PauserRole.sol

pragma solidity ^0.5.0;




contract PauserRole is Initializable, Context {
    using Roles for Roles.Role;

    event PauserAdded(address indexed account);
    event PauserRemoved(address indexed account);

    Roles.Role private _pausers;

    function initialize(address sender) public initializer {
        if (!isPauser(sender)) {
            _addPauser(sender);
        }
    }

    modifier onlyPauser() {
        require(isPauser(_msgSender()), "PauserRole: caller does not have the Pauser role");
        _;
    }

    function isPauser(address account) public view returns (bool) {
        return _pausers.has(account);
    }

    function addPauser(address account) public onlyPauser {
        _addPauser(account);
    }

    function renouncePauser() public {
        _removePauser(_msgSender());
    }

    function _addPauser(address account) internal {
        _pausers.add(account);
        emit PauserAdded(account);
    }

    function _removePauser(address account) internal {
        _pausers.remove(account);
        emit PauserRemoved(account);
    }

    uint256[50] private ______gap;
}

// File: @openzeppelin/contracts-ethereum-package/contracts/lifecycle/Pausable.sol

pragma solidity ^0.5.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 Pausable is Initializable, Context, PauserRole {
    /**
     * @dev Emitted when the pause is triggered by a pauser (`account`).
     */
    event Paused(address account);

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

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state. Assigns the Pauser role
     * to the deployer.
     */
    function initialize(address sender) public initializer {
        PauserRole.initialize(sender);

        _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 Called by a pauser to pause, triggers stopped state.
     */
    function pause() public onlyPauser whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Called by a pauser to unpause, returns to normal state.
     */
    function unpause() public onlyPauser whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }

    uint256[50] private ______gap;
}

// File: contracts/storage/EthicHubStorageInterface.sol

pragma solidity 0.5.13;


/**
 * Interface for the eternal storage.
 * Thanks RocketPool!
 * https://github.com/rocket-pool/rocketpool/blob/master/contracts/interface/RocketStorageInterface.sol
 */
contract EthicHubStorageInterface {

    //modifier for access in sets and deletes
    modifier onlyEthicHubContracts() {_;}

    // Setters
    function setAddress(bytes32 _key, address _value) external;
    function setUint(bytes32 _key, uint _value) external;
    function setString(bytes32 _key, string calldata _value) external;
    function setBytes(bytes32 _key, bytes calldata _value) external;
    function setBool(bytes32 _key, bool _value) external;
    function setInt(bytes32 _key, int _value) external;
    // Deleters
    function deleteAddress(bytes32 _key) external;
    function deleteUint(bytes32 _key) external;
    function deleteString(bytes32 _key) external;
    function deleteBytes(bytes32 _key) external;
    function deleteBool(bytes32 _key) external;
    function deleteInt(bytes32 _key) external;

    // Getters
    function getAddress(bytes32 _key) external view returns (address);
    function getUint(bytes32 _key) external view returns (uint);
    function getString(bytes32 _key) external view returns (string memory);
    function getBytes(bytes32 _key) external view returns (bytes memory);
    function getBool(bytes32 _key) external view returns (bool);
    function getInt(bytes32 _key) external view returns (int);
}

// File: contracts/EthicHubBase.sol

pragma solidity 0.5.13;



contract EthicHubBase is Initializable {

    uint8 public version;

    EthicHubStorageInterface public ethicHubStorage;

    function initialize(address _ethicHubStorage, uint8 _version) public initializer {
        require(address(_ethicHubStorage) != address(0), "Storage address cannot be zero address");
        ethicHubStorage = EthicHubStorageInterface(_ethicHubStorage);
        version = _version;
    }
}

// File: contracts/lending/EthicHubLending.sol

pragma solidity 0.5.13;







contract EthicHubLending is Pausable, Ownable {
    using SafeMath for uint256;

    enum LendingState {
        Uninitialized,
        AcceptingContributions,
        ExchangingToFiat,
        AwaitingReturn,
        ProjectNotFunded,
        ContributionReturned,
        Default
    }

    uint8 public version;
    EthicHubStorageInterface public ethicHubStorage;

    IERC20 public stableCoin;

    mapping(address => Investor) public investors;

    uint256 public investorCount;
    uint256 public reclaimedContributions;
    uint256 public fundingStartTime; // Start time of contribution period in UNIX time
    uint256 public fundingEndTime; // End time of contribution period in UNIX time
    uint256 public totalContributed;

    bool public capReached;

    LendingState public state;

    uint256 public annualInterest;
    uint256 public totalLendingAmount;
    uint256 public lendingDays;
    uint256 public borrowerReturnDays;
    uint256 public initialStableCoinPerFiatRate;
    uint256 public totalLendingFiatAmount;

    address public borrower;
    address public localNode;
    address public ethicHubTeam;

    address public depositManager;

    uint256 public borrowerReturnStableCoinPerFiatRate;
    uint256 public ethichubFee;
    uint256 public localNodeFee;

    // Interest rate is using base uint 100 and 100% 10000, this means 1% is 100
    // this guarantee we can have a 2 decimal presicion in our calculation
    uint256 public constant interestBaseUint = 100;
    uint256 public constant interestBasePercent = 10000;

    bool public localNodeFeeReclaimed;
    bool public ethicHubTeamFeeReclaimed;

    uint256 public returnedAmount;

    struct Investor {
        uint256 amount;
        bool isCompensated;
    }

    // Events
    event CapReached(uint endTime);
    event Contribution(uint totalContributed, address indexed investor, uint amount, uint investorsCount);
    event Compensated(address indexed contributor, uint amount);
    event StateChange(uint state);
    event InitalRateSet(uint rate);
    event ReturnRateSet(uint rate);
    event ReturnAmount(address indexed borrower, uint amount);
    event BorrowerChanged(address indexed newBorrower);
    event InvestorChanged(address indexed oldInvestor, address indexed newInvestor);
    event Reclaim(address indexed target, uint256 amount);

    modifier checkIfArbiter() {
        address arbiter = ethicHubStorage.getAddress(keccak256(abi.encodePacked("arbiter", this)));
        require(arbiter == msg.sender, "Sender not authorized");
        _;
    }

    modifier onlyOwnerOrLocalNode() {
        require(localNode == msg.sender || owner() == msg.sender,"Sender not authorized");
        _;
    }

    constructor(
        uint256 _fundingStartTime,
        uint256 _fundingEndTime,
        uint256 _annualInterest,
        uint256 _totalLendingAmount,
        uint256 _lendingDays,
        uint256 _ethichubFee,
        uint256 _localNodeFee,
        address _borrower,
        address _localNode,
        address _ethicHubTeam,
        address _depositManager,
        address _ethicHubStorage,
        address _stableCoin
        ) public {
        require(address(_ethicHubStorage) != address(0), "Storage address cannot be zero address");

        ethicHubStorage = EthicHubStorageInterface(_ethicHubStorage);
        version = 8;

        require(_fundingEndTime > fundingStartTime, "fundingEndTime should be later than fundingStartTime");
        require(_borrower != address(0), "No borrower set");
        require(ethicHubStorage.getBool(keccak256(abi.encodePacked("user", "representative", _borrower))), "Borrower not registered representative");
        require(_localNode != address(0), "No Local Node set");
        require(_ethicHubTeam != address(0), "No EthicHub Team set");
        require(ethicHubStorage.getBool(keccak256(abi.encodePacked("user", "localNode", _localNode))), "Local Node is not registered");
        require(_totalLendingAmount > 0, "_totalLendingAmount must be > 0");
        require(_lendingDays > 0, "_lendingDays must be > 0");
        require(_annualInterest > 0 && _annualInterest < 100, "_annualInterest must be between 0 and 100");

        reclaimedContributions = 0;
        borrowerReturnDays = 0;

        fundingStartTime = _fundingStartTime;
        fundingEndTime = _fundingEndTime;
        annualInterest = _annualInterest;
        totalLendingAmount = _totalLendingAmount;
        lendingDays = _lendingDays;
        ethichubFee = _ethichubFee;
        localNodeFee = _localNodeFee;

        borrower = _borrower;
        localNode = _localNode;
        ethicHubTeam = _ethicHubTeam;

        depositManager = _depositManager;

        stableCoin = IERC20(_stableCoin);

        state = LendingState.Uninitialized;

        Ownable.initialize(msg.sender);
        Pausable.initialize(msg.sender);
    }

    function saveInitialParametersToStorage(
        uint256 _maxDelayDays,
        uint256 _communityMembers,
        address _community
        ) external onlyOwnerOrLocalNode {
        require(_maxDelayDays != 0, "_maxDelayDays must be > 0");
        require(state == LendingState.Uninitialized, "State must be Uninitialized");
        require(_communityMembers > 0, "_communityMembers must be > 0");
        require(ethicHubStorage.getBool(keccak256(abi.encodePacked("user", "community", _community))), "Community is not registered");

        ethicHubStorage.setUint(keccak256(abi.encodePacked("lending.maxDelayDays", this)), _maxDelayDays);
        ethicHubStorage.setAddress(keccak256(abi.encodePacked("lending.community", this)), _community);
        ethicHubStorage.setAddress(keccak256(abi.encodePacked("lending.localNode", this)), localNode);
        ethicHubStorage.setUint(keccak256(abi.encodePacked("lending.communityMembers", this)), _communityMembers);

        changeState(LendingState.AcceptingContributions);
    }

    function setBorrower(address _borrower) external checkIfArbiter {
        require(_borrower != address(0), "No borrower set");
        require(ethicHubStorage.getBool(keccak256(abi.encodePacked("user", "representative", _borrower))), "Borrower not registered representative");

        borrower = _borrower;

        emit BorrowerChanged(borrower);
    }

    function changeInvestorAddress(address oldInvestor, address newInvestor) external checkIfArbiter {
        require(newInvestor != address(0));
        require(ethicHubStorage.getBool(keccak256(abi.encodePacked("user", "investor", newInvestor))));
        require(investors[oldInvestor].amount != 0, "OldInvestor should have invested in this project");
        require(
            investors[newInvestor].amount == 0,
            "newInvestor should not have invested anything"
        );

        investors[newInvestor].amount = investors[oldInvestor].amount;
        investors[newInvestor].isCompensated = investors[oldInvestor].isCompensated;

        delete investors[oldInvestor];

        emit InvestorChanged(oldInvestor, newInvestor);
    }

    function deposit(address contributor, uint256 amount) external {
        require(
            msg.sender == depositManager,
            "Caller is not a deposit manager"
        );
        require(
            state == LendingState.AcceptingContributions ||
            state == LendingState.AwaitingReturn,
            "Can't contribute in this state"
        );

        if(state == LendingState.AcceptingContributions) {
            contributeWithAddress(contributor, amount);
        } else {
            require(contributor == borrower, "In state AwaitingReturn only borrower can contribute");
            returnBorrowed(amount);
        }
    }

    /**
     * After the contribution period ends unsuccesfully, this method enables the contributor
     *  to retrieve their contribution
     */
    function declareProjectNotFunded() external onlyOwnerOrLocalNode {
        require(totalContributed < totalLendingAmount);
        require(state == LendingState.AcceptingContributions);
        require(now > fundingEndTime);

        changeState(LendingState.ProjectNotFunded);
    }

    function declareProjectDefault() external onlyOwnerOrLocalNode {
        require(state == LendingState.AwaitingReturn);
        uint maxDelayDays = getMaxDelayDays();
        require(getDelayDays(now) >= maxDelayDays);

        ethicHubStorage.setUint(keccak256(abi.encodePacked("lending.delayDays", this)), maxDelayDays);

        changeState(LendingState.Default);
    }

    function setborrowerReturnStableCoinPerFiatRate(uint256 _borrowerReturnStableCoinPerFiatRate) external onlyOwnerOrLocalNode {
        require(state == LendingState.AwaitingReturn, "State is not AwaitingReturn");

        borrowerReturnStableCoinPerFiatRate = _borrowerReturnStableCoinPerFiatRate;

        emit ReturnRateSet(borrowerReturnStableCoinPerFiatRate);
    }

    /**
    * Marks the initial exchange period as over (the ETH collected amount has been exchanged for local Fiat currency)
    * Sets the local currency to return, on the basis of which the interest will be calculated
    * @param _initialStableCoinPerFiatRate the rate with 2 decimals. i.e. 444.22 is 44422 , 1245.00 is 124500
    */
    function finishInitialExchangingPeriod(uint256 _initialStableCoinPerFiatRate) external onlyOwnerOrLocalNode {
        require(capReached == true, "Cap not reached");
        require(state == LendingState.ExchangingToFiat, "State is not ExchangingToFiat");

        initialStableCoinPerFiatRate = _initialStableCoinPerFiatRate;
        totalLendingFiatAmount = totalLendingAmount.mul(initialStableCoinPerFiatRate);

        emit InitalRateSet(initialStableCoinPerFiatRate);

        changeState(LendingState.AwaitingReturn);
    }

    /**
     * Method to reclaim contribution after project is declared default (% of partial funds)
     * @param  beneficiary the contributor
     *
     */
    function reclaimContributionDefault(address beneficiary) external {
        require(state == LendingState.Default);
        require(!investors[beneficiary].isCompensated);

        // contribution = contribution * partial_funds / total_funds
        uint256 contribution = checkInvestorReturns(beneficiary);

        require(contribution > 0);

        investors[beneficiary].isCompensated = true;
        reclaimedContributions = reclaimedContributions.add(1);

        doReclaim(beneficiary, contribution);
    }

    /**
     * Method to reclaim contribution after a project is declared as not funded
     * @param  beneficiary the contributor
     *
     */
    function reclaimContribution(address beneficiary) external {
        require(state == LendingState.ProjectNotFunded, "State is not ProjectNotFunded");
        require(!investors[beneficiary].isCompensated, "Contribution already reclaimed");
        uint256 contribution = investors[beneficiary].amount;
        require(contribution > 0, "Contribution is 0");

        investors[beneficiary].isCompensated = true;
        reclaimedContributions = reclaimedContributions.add(1);

        doReclaim(beneficiary, contribution);
    }

    function reclaimContributionWithInterest(address beneficiary) external {
        require(state == LendingState.ContributionReturned, "State is not ContributionReturned");
        require(!investors[beneficiary].isCompensated, "Lender already compensated");
        uint256 contribution = checkInvestorReturns(beneficiary);
        require(contribution > 0, "Contribution is 0");

        investors[beneficiary].isCompensated = true;
        reclaimedContributions = reclaimedContributions.add(1);

        doReclaim(beneficiary, contribution);
    }

    function reclaimLocalNodeFee() external {
        require(state == LendingState.ContributionReturned, "State is not ContributionReturned");
        require(localNodeFeeReclaimed == false, "Local Node's fee already reclaimed");
        uint256 fee = totalLendingFiatAmount.mul(localNodeFee).mul(interestBaseUint).div(interestBasePercent).div(borrowerReturnStableCoinPerFiatRate);
        require(fee > 0, "Local Node's team fee is 0");

        localNodeFeeReclaimed = true;

        doReclaim(localNode, fee);
    }

    function reclaimEthicHubTeamFee() external {
        require(state == LendingState.ContributionReturned, "State is not ContributionReturned");
        require(ethicHubTeamFeeReclaimed == false, "EthicHub team's fee already reclaimed");
        uint256 fee = totalLendingFiatAmount.mul(ethichubFee).mul(interestBaseUint).div(interestBasePercent).div(borrowerReturnStableCoinPerFiatRate);
        require(fee > 0, "EthicHub's team fee is 0");

        ethicHubTeamFeeReclaimed = true;

        doReclaim(ethicHubTeam, fee);
    }

    function reclaimLeftover() external checkIfArbiter {
        require(state == LendingState.ContributionReturned || state == LendingState.Default, "State is not ContributionReturned or Default");
        require(localNodeFeeReclaimed, "Local Node fee is not reclaimed");
        require(ethicHubTeamFeeReclaimed, "Team fee is not reclaimed");
        require(investorCount == reclaimedContributions, "Not all investors have reclaimed their share");

        doReclaim(ethicHubTeam, stableCoin.balanceOf(address(this)));
    }

    function doReclaim(address target, uint256 amount) internal {
        uint256 contractBalance = stableCoin.balanceOf(address(this));
        uint256 reclaimAmount = (contractBalance < amount) ? contractBalance : amount;

        require(stableCoin.transfer(target, reclaimAmount), "transfer stable token method failed");

        emit Reclaim(target, reclaimAmount);
    }

    function returnBorrowed(uint256 amount) internal {
        require(state == LendingState.AwaitingReturn, "State is not AwaitingReturn");
        require(borrowerReturnStableCoinPerFiatRate > 0, "Second exchange rate not set");

        bool projectRepayed = false;
        uint excessRepayment = 0;
        uint newReturnedAmount = 0;

        emit ReturnAmount(borrower, amount);

        (newReturnedAmount, projectRepayed, excessRepayment) = calculatePaymentGoal(borrowerReturnAmount(), returnedAmount, amount);

        returnedAmount = newReturnedAmount;

        if (projectRepayed == true) {
            borrowerReturnDays = getDaysPassedBetweenDates(fundingEndTime, now);
            changeState(LendingState.ContributionReturned);
        }

        if (excessRepayment > 0) {
            require(stableCoin.transfer(borrower, excessRepayment), "transfer stable token method failed");
        }
    }

    // @notice Function to participate in contribution period
    //  Amounts from the same address should be added up
    //  If cap is reached, end time should be modified
    //  Funds should be transferred into multisig wallet
    // @param contributor Address
    function contributeWithAddress(address contributor, uint256 amount) internal whenNotPaused {
        require(state == LendingState.AcceptingContributions, "state is not AcceptingContributions");
        require(isContribPeriodRunning(), "can't contribute outside contribution period");

        uint oldTotalContributed = totalContributed;
        uint newTotalContributed = 0;
        uint excessContribAmount = 0;

        (newTotalContributed, capReached, excessContribAmount) = calculatePaymentGoal(totalLendingAmount, oldTotalContributed, amount);

        totalContributed = newTotalContributed;

        if (capReached) {
            fundingEndTime = now;
            emit CapReached(fundingEndTime);
        }

        if (investors[contributor].amount == 0) {
            investorCount = investorCount.add(1);
        }

        if (excessContribAmount > 0) {
            require(stableCoin.transfer(contributor, excessContribAmount), "transfer stable token method failed");
            investors[contributor].amount = investors[contributor].amount.add(amount).sub(excessContribAmount);
            emit Contribution(newTotalContributed, contributor, amount.sub(excessContribAmount), investorCount);
        } else {
            investors[contributor].amount = investors[contributor].amount.add(amount);
            emit Contribution(newTotalContributed, contributor, amount, investorCount);
        }
    }

    /**
     * Calculates if a target value is reached after increment, and by how much it was surpassed.
     * @param goal the target to achieve
     * @param oldTotal the total so far after the increment
     * @param contribValue the increment
     * @return (the incremented count, not bigger than max), (goal has been reached), (excess to return)
     */
    function calculatePaymentGoal(uint goal, uint oldTotal, uint contribValue) internal pure returns(uint, bool, uint) {
        uint newTotal = oldTotal.add(contribValue);
        bool goalReached = false;
        uint excess = 0;
        if (newTotal >= goal && oldTotal < goal) {
            goalReached = true;
            excess = newTotal.sub(goal);
            contribValue = contribValue.sub(excess);
            newTotal = goal;
        }
        return (newTotal, goalReached, excess);
    }

    function sendFundsToBorrower() external onlyOwnerOrLocalNode {
        // Waiting for Exchange
        require(state == LendingState.AcceptingContributions, "State has to be AcceptingContributions");
        require(capReached, "Cap is not reached");

        changeState(LendingState.ExchangingToFiat);

        stableCoin.transfer(borrower, totalContributed);
    }

    /**
    * Calculates days passed after defaulting
    * @param date timestamp to calculate days
    * @return day number
    */
    function getDelayDays(uint date) public view returns(uint) {
        uint lendingDaysSeconds = lendingDays * 1 days;
        uint defaultTime = fundingEndTime.add(lendingDaysSeconds);

        if (date < defaultTime) {
            return 0;
        } else {
            return getDaysPassedBetweenDates(defaultTime, date);
        }
    }

    /**
    * Calculates days passed between two dates in seconds
    * @param firstDate timestamp
    * @param lastDate timestamp
    * @return days passed
    */
    function getDaysPassedBetweenDates(uint firstDate, uint lastDate) public pure returns(uint) {
        require(firstDate <= lastDate, "lastDate must be bigger than firstDate");
        return lastDate.sub(firstDate).div(60).div(60).div(24);
    }

    // lendingInterestRate with 2 decimal
    // 15 * (lending days)/ 365 + 4% local node fee + 3% LendingDev fee
    function lendingInterestRatePercentage() public view returns(uint256){
        return annualInterest.mul(interestBaseUint)
            // current days
            .mul(getDaysPassedBetweenDates(fundingEndTime, now)).div(365)
            .add(localNodeFee.mul(interestBaseUint))
            .add(ethichubFee.mul(interestBaseUint))
            .add(interestBasePercent);
    }

    // lendingInterestRate with 2 decimal
    function investorInterest() public view returns(uint256){
        return annualInterest.mul(interestBaseUint).mul(borrowerReturnDays).div(365).add(interestBasePercent);
    }

    function borrowerReturnFiatAmount() public view returns(uint256) {
        return totalLendingFiatAmount.mul(lendingInterestRatePercentage()).div(interestBasePercent);
    }

    function borrowerReturnAmount() public view returns(uint256) {
        return borrowerReturnFiatAmount().div(borrowerReturnStableCoinPerFiatRate);
    }

    function isContribPeriodRunning() public view returns(bool) {
        return fundingStartTime <= now && fundingEndTime > now && !capReached;
    }

    function checkInvestorContribution(address investor) public view returns(uint256){
        return investors[investor].amount;
    }

    function checkInvestorReturns(address investor) public view returns(uint256) {
        uint256 investorAmount = 0;
        if (state == LendingState.ContributionReturned) {
            investorAmount = investors[investor].amount;
            return investorAmount.mul(initialStableCoinPerFiatRate).mul(investorInterest()).div(borrowerReturnStableCoinPerFiatRate).div(interestBasePercent);
        } else if (state == LendingState.Default){
            investorAmount = investors[investor].amount;
            // contribution = contribution * partial_funds / total_funds
            return investorAmount.mul(returnedAmount).div(totalLendingAmount);
        } else {
            return 0;
        }
    }

    function getMaxDelayDays() public view returns(uint256){
        return ethicHubStorage.getUint(keccak256(abi.encodePacked("lending.maxDelayDays", this)));
    }

    function getUserContributionReclaimStatus(address userAddress) public view returns(bool isCompensated){
        return investors[userAddress].isCompensated;
    }

    function changeState(LendingState newState) internal {
        state = newState;
        emit StateChange(uint(newState));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_fundingStartTime","type":"uint256"},{"internalType":"uint256","name":"_fundingEndTime","type":"uint256"},{"internalType":"uint256","name":"_annualInterest","type":"uint256"},{"internalType":"uint256","name":"_totalLendingAmount","type":"uint256"},{"internalType":"uint256","name":"_lendingDays","type":"uint256"},{"internalType":"uint256","name":"_ethichubFee","type":"uint256"},{"internalType":"uint256","name":"_localNodeFee","type":"uint256"},{"internalType":"address","name":"_borrower","type":"address"},{"internalType":"address","name":"_localNode","type":"address"},{"internalType":"address","name":"_ethicHubTeam","type":"address"},{"internalType":"address","name":"_depositManager","type":"address"},{"internalType":"address","name":"_ethicHubStorage","type":"address"},{"internalType":"address","name":"_stableCoin","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newBorrower","type":"address"}],"name":"BorrowerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"CapReached","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"contributor","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Compensated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalContributed","type":"uint256"},{"indexed":true,"internalType":"address","name":"investor","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"investorsCount","type":"uint256"}],"name":"Contribution","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rate","type":"uint256"}],"name":"InitalRateSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldInvestor","type":"address"},{"indexed":true,"internalType":"address","name":"newInvestor","type":"address"}],"name":"InvestorChanged","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":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Reclaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"borrower","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReturnAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rate","type":"uint256"}],"name":"ReturnRateSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"state","type":"uint256"}],"name":"StateChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"annualInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"borrower","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"borrowerReturnAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"borrowerReturnDays","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"borrowerReturnFiatAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"borrowerReturnStableCoinPerFiatRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"capReached","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"oldInvestor","type":"address"},{"internalType":"address","name":"newInvestor","type":"address"}],"name":"changeInvestorAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"investor","type":"address"}],"name":"checkInvestorContribution","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"investor","type":"address"}],"name":"checkInvestorReturns","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"declareProjectDefault","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"declareProjectNotFunded","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"contributor","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"depositManager","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ethicHubStorage","outputs":[{"internalType":"contract EthicHubStorageInterface","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ethicHubTeam","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ethicHubTeamFeeReclaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ethichubFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_initialStableCoinPerFiatRate","type":"uint256"}],"name":"finishInitialExchangingPeriod","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"fundingEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"fundingStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"firstDate","type":"uint256"},{"internalType":"uint256","name":"lastDate","type":"uint256"}],"name":"getDaysPassedBetweenDates","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"date","type":"uint256"}],"name":"getDelayDays","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMaxDelayDays","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"userAddress","type":"address"}],"name":"getUserContributionReclaimStatus","outputs":[{"internalType":"bool","name":"isCompensated","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"initialStableCoinPerFiatRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"interestBasePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"interestBaseUint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"investorCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"investorInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"investors","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"isCompensated","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isContribPeriodRunning","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPauser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lendingDays","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lendingInterestRatePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"localNode","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"localNodeFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"localNodeFeeReclaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"reclaimContribution","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"reclaimContributionDefault","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"reclaimContributionWithInterest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"reclaimEthicHubTeamFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"reclaimLeftover","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"reclaimLocalNodeFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"reclaimedContributions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"returnedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_maxDelayDays","type":"uint256"},{"internalType":"uint256","name":"_communityMembers","type":"uint256"},{"internalType":"address","name":"_community","type":"address"}],"name":"saveInitialParametersToStorage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"sendFundsToBorrower","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_borrower","type":"address"}],"name":"setBorrower","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_borrowerReturnStableCoinPerFiatRate","type":"uint256"}],"name":"setborrowerReturnStableCoinPerFiatRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"stableCoin","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"state","outputs":[{"internalType":"enum EthicHubLending.LendingState","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalContributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalLendingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalLendingFiatAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103e65760003560e01c806372ea2e6d1161020a578063a5f2e07911610125578063cfefe5a2116100b8578063dee1bfbe11610087578063dee1bfbe14610846578063e78686eb1461084e578063ebdd3c9c14610874578063f2fde38b1461087c578063f8a321e1146108a2576103e6565b8063cfefe5a214610826578063d6b37ce91461082e578063d7e64c0014610836578063da7855a31461083e576103e6565b8063c19d93fb116100f4578063c19d93fb146107a6578063c3180f6f146107d2578063c4d66de8146107da578063c762d5f714610800576103e6565b8063a5f2e07914610786578063aceefefd1461078e578063b2552fc414610796578063bd366ddc1461079e576103e6565b80638456cb591161019d57806397299d8a1161016c57806397299d8a1461072a578063992642e5146107325780639ab4d3a81461073a5780639b82860914610760576103e6565b80638456cb59146106ec57806387cf34cf146106f45780638da5cb5b1461071a5780638f32d59b14610722576103e6565b8063784aa9ca116101d9578063784aa9ca146106695780637df1f1b91461069b57806381c9a114146106a357806382dc1ec4146106c6576103e6565b806372ea2e6d14610634578063742ba8de1461065157806374eedd461461065957806375079cf514610661576103e6565b806349b882031161030557806361c4adaa116102985780636c7ac9d8116102675780636c7ac9d8146105d55780636ef8d66d146105dd5780636f7bc9be146105e5578063715018a614610624578063717ba0641461062c576103e6565b806361c4adaa146105a057806367453969146105a85780636ab4f921146105b05780636b205588146105b8576103e6565b8063534ddf19116102d4578063534ddf191461054c57806354fd4d50146105725780635c07993b146105905780635c975abb14610598576103e6565b806349b88203146105175780634de481711461051f5780634f93594514610527578063532da8f91461052f576103e6565b80632916ee471161037d57806342159ca31161034c57806342159ca31461048f5780634419da331461049757806346fbf68e146104c557806347e7ef24146104eb576103e6565b80632916ee471461046f5780632e7cece3146104775780633f4ba83a1461047f57806341c8b1de14610487576103e6565b806310609902116103b9578063106099021461044d57806315d28e11146104575780631df935581461045f57806327f397a914610467576103e6565b8063023f4147146103eb57806306c7a603146104055780630f226b6c146104215780630f82c53e14610429575b600080fd5b6103f36108c8565b60408051918252519081900360200190f35b61040d6108ce565b604080519115158252519081900360200190f35b6103f36108d7565b6104316108dd565b604080516001600160a01b039092168252519081900360200190f35b6104556108ec565b005b6103f3610a87565b6103f3610a8d565b6103f3610a93565b6103f3610ac6565b610431610acc565b610455610adb565b6103f3610bc4565b6103f3610c3e565b610455600480360360408110156104ad57600080fd5b506001600160a01b0381358116916020013516610cff565b61040d600480360360208110156104db57600080fd5b50356001600160a01b0316611004565b6104556004803603604081101561050157600080fd5b506001600160a01b03813516906020013561101f565b61045561118a565b6103f36112ef565b61040d6112f5565b6103f36004803603602081101561054557600080fd5b50356112fe565b6104556004803603602081101561056257600080fd5b50356001600160a01b0316611347565b61057a6113f2565b6040805160ff9092168252519081900360200190f35b6103f36113fb565b61040d611425565b6103f361142e565b610431611433565b6103f3611447565b610455600480360360208110156105ce57600080fd5b503561144d565b610431611559565b610455611568565b61060b600480360360208110156105fb57600080fd5b50356001600160a01b031661157a565b6040805192835290151560208301528051918290030190f35b610455611596565b61040d611639565b6104556004803603602081101561064a57600080fd5b5035611647565b6104556117c0565b6103f3611871565b6103f3611877565b6104556004803603606081101561067f57600080fd5b50803590602081013590604001356001600160a01b031661187d565b610431611dee565b6103f3600480360360408110156106b957600080fd5b5080359060200135611dfd565b610455600480360360208110156106dc57600080fd5b50356001600160a01b0316611e61565b610455611eb0565b61040d6004803603602081101561070a57600080fd5b50356001600160a01b0316611f77565b610431611f98565b61040d611fa7565b6103f3611fcd565b610431611fd3565b6103f36004803603602081101561075057600080fd5b50356001600160a01b0316611fe2565b6104556004803603602081101561077657600080fd5b50356001600160a01b03166120af565b6103f36121ca565b6103f36121da565b6103f36121e0565b6104556121e6565b6107ae612327565b604051808260068111156107be57fe5b60ff16815260200191505060405180910390f35b610455612335565b610455600480360360208110156107f057600080fd5b50356001600160a01b031661261e565b6104556004803603602081101561081657600080fd5b50356001600160a01b031661270f565b61040d6129b2565b6103f36129d9565b6103f36129df565b6104556129e5565b6103f3612b1f565b6104556004803603602081101561086457600080fd5b50356001600160a01b0316612b25565b6103f3612c5f565b6104556004803603602081101561089257600080fd5b50356001600160a01b0316612c65565b6103f3600480360360208110156108b857600080fd5b50356001600160a01b0316612cc7565b60d35481565b60e25460ff1681565b61271081565b60dc546001600160a01b031681565b60dc546001600160a01b0316331480610914575033610909611f98565b6001600160a01b0316145b610953576040805162461bcd60e51b81526020600482015260156024820152600080516020613e07833981519152604482015290519081900360640190fd5b600160d454610100900460ff16600681111561096b57fe5b146109a75760405162461bcd60e51b8152600401808060200182810382526026815260200180613de16026913960400191505060405180910390fd5b60d45460ff166109f3576040805162461bcd60e51b815260206004820152601260248201527110d85c081a5cc81b9bdd081c995858da195960721b604482015290519081900360640190fd5b6109fd6002612ce2565b60cd5460db5460d3546040805163a9059cbb60e01b81526001600160a01b039384166004820152602481019290925251919092169163a9059cbb9160448083019260209291908290030181600087803b158015610a5957600080fd5b505af1158015610a6d573d6000803e3d6000fd5b505050506040513d6020811015610a8357600080fd5b5050565b60d65481565b60d15481565b6000610ac1612710610ab5610aa6610bc4565b60da549063ffffffff612d4316565b9063ffffffff612d9c16565b905090565b60df5481565b60dd546001600160a01b031681565b610aeb610ae6612dde565b611004565b610b265760405162461bcd60e51b8152600401808060200182810382526030815260200180613c0c6030913960400191505060405180910390fd5b60665460ff16610b74576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6066805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610ba7612dde565b604080516001600160a01b039092168252519081900360200190a1565b6000610ac1612710610c32610be5606460e054612d4390919063ffffffff16565b60e154610c3290610bfd90606463ffffffff612d4316565b610c3261016d610ab5610c1260d25442611dfd565b60d554610c2690606463ffffffff612d4316565b9063ffffffff612d4316565b9063ffffffff612de216565b60cc5460408051736c656e64696e672e6d617844656c61794461797360601b6020808301919091523060601b6034830152825180830360280181526048830180855281519183019190912063bd02d0f560e01b909152604c830152915160009361010090046001600160a01b03169263bd02d0f592606c8082019391829003018186803b158015610cce57600080fd5b505afa158015610ce2573d6000803e3d6000fd5b505050506040513d6020811015610cf857600080fd5b5051905090565b60cc54604080516630b93134ba32b960c91b6020808301919091523060601b60278301528251808303601b018152603b83018085528151918301919091206321f8a72160e01b909152603f830152915160009361010090046001600160a01b0316926321f8a72192605f8082019391829003018186803b158015610d8257600080fd5b505afa158015610d96573d6000803e3d6000fd5b505050506040513d6020811015610dac57600080fd5b505190506001600160a01b0381163314610dfb576040805162461bcd60e51b81526020600482015260156024820152600080516020613e07833981519152604482015290519081900360640190fd5b6001600160a01b038216610e0e57600080fd5b60cc5460408051633ab9b2b960e11b6020808301919091526734b73b32b9ba37b960c11b6024830152606086901b6001600160601b031916602c830152825180830382018152828401808552815191830191909120633d70e7e560e11b909152604483015291516101009093046001600160a01b031692637ae1cfca92606480840193919291829003018186803b158015610ea857600080fd5b505afa158015610ebc573d6000803e3d6000fd5b505050506040513d6020811015610ed257600080fd5b5051610edd57600080fd5b6001600160a01b038316600090815260ce6020526040902054610f315760405162461bcd60e51b8152600401808060200182810382526030815260200180613bb06030913960400191505060405180910390fd5b6001600160a01b038216600090815260ce602052604090205415610f865760405162461bcd60e51b815260040180806020018281038252602d815260200180613cfe602d913960400191505060405180910390fd5b6001600160a01b03808416600081815260ce602052604080822080549487168084528284209586556001808301805491909701805460ff909216151560ff19928316179055858552918490558554909116909455517fc204b28865760f18aa0ef147ee25573d2dba9f208385c8aa65fb79150978fb6d9190a3505050565b600061101760338363ffffffff612e3c16565b90505b919050565b60de546001600160a01b0316331461107e576040805162461bcd60e51b815260206004820152601f60248201527f43616c6c6572206973206e6f742061206465706f736974206d616e6167657200604482015290519081900360640190fd5b600160d454610100900460ff16600681111561109657fe5b14806110b75750600360d454610100900460ff1660068111156110b557fe5b145b611108576040805162461bcd60e51b815260206004820152601e60248201527f43616e277420636f6e7472696275746520696e20746869732073746174650000604482015290519081900360640190fd5b600160d454610100900460ff16600681111561112057fe5b1415611135576111308282612ea3565b610a83565b60db546001600160a01b038381169116146111815760405162461bcd60e51b8152600401808060200182810382526034815260200180613c626034913960400191505060405180910390fd5b610a8381613231565b60dc546001600160a01b03163314806111b25750336111a7611f98565b6001600160a01b0316145b6111f1576040805162461bcd60e51b81526020600482015260156024820152600080516020613e07833981519152604482015290519081900360640190fd5b600360d454610100900460ff16600681111561120957fe5b1461121357600080fd5b600061121d610c3e565b905080611229426112fe565b101561123457600080fd5b60cc5460408051706c656e64696e672e64656c61794461797360781b6020808301919091523060601b6031830152825180830360250181526045830180855281519190920120637152429d60e11b90915260498201526069810184905290516101009092046001600160a01b03169163e2a4853a9160898082019260009290919082900301818387803b1580156112ca57600080fd5b505af11580156112de573d6000803e3d6000fd5b505050506112ec6006612ce2565b50565b60d95481565b60d45460ff1681565b60d75460d254600091620151800290829061131f908363ffffffff612de216565b9050808410156113345760009250505061101a565b61133e8185611dfd565b9250505061101a565b600660d454610100900460ff16600681111561135f57fe5b1461136957600080fd5b6001600160a01b038116600090815260ce602052604090206001015460ff161561139257600080fd5b600061139d82611fe2565b9050600081116113ac57600080fd5b6001600160a01b038216600090815260ce602052604090206001908101805460ff19168217905560d0546113e59163ffffffff612de216565b60d055610a83828261344b565b60cc5460ff1681565b6000610ac1612710610c3261016d610ab560d854610c26606460d554612d4390919063ffffffff16565b60665460ff1690565b606481565b60cc5461010090046001600160a01b031681565b60d85481565b60dc546001600160a01b031633148061147557503361146a611f98565b6001600160a01b0316145b6114b4576040805162461bcd60e51b81526020600482015260156024820152600080516020613e07833981519152604482015290519081900360640190fd5b600360d454610100900460ff1660068111156114cc57fe5b1461151e576040805162461bcd60e51b815260206004820152601b60248201527f5374617465206973206e6f74204177616974696e6752657475726e0000000000604482015290519081900360640190fd5b60df8190556040805182815290517fe808598994f0df6254675d115ea8808787c718f27d526089e3ab827661489d579181900360200190a150565b60de546001600160a01b031681565b611578611573612dde565b6135d9565b565b60ce602052600090815260409020805460019091015460ff1682565b61159e611fa7565b6115ef576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6099546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3609980546001600160a01b0319169055565b60e254610100900460ff1681565b60dc546001600160a01b031633148061166f575033611664611f98565b6001600160a01b0316145b6116ae576040805162461bcd60e51b81526020600482015260156024820152600080516020613e07833981519152604482015290519081900360640190fd5b60d45460ff1615156001146116fc576040805162461bcd60e51b815260206004820152600f60248201526e10d85c081b9bdd081c995858da1959608a1b604482015290519081900360640190fd5b600260d454610100900460ff16600681111561171457fe5b14611766576040805162461bcd60e51b815260206004820152601d60248201527f5374617465206973206e6f742045786368616e67696e67546f46696174000000604482015290519081900360640190fd5b60d981905560d65461177e908263ffffffff612d4316565b60da5560d95460408051918252517f7dc0dedb19b8c52b638b16e359af1beddade4dedc71959b6fbda1e07fc05023e9181900360200190a16112ec6003612ce2565b60dc546001600160a01b03163314806117e85750336117dd611f98565b6001600160a01b0316145b611827576040805162461bcd60e51b81526020600482015260156024820152600080516020613e07833981519152604482015290519081900360640190fd5b60d65460d3541061183757600080fd5b600160d454610100900460ff16600681111561184f57fe5b1461185957600080fd5b60d254421161186757600080fd5b6115786004612ce2565b60d25481565b60e15481565b60dc546001600160a01b03163314806118a557503361189a611f98565b6001600160a01b0316145b6118e4576040805162461bcd60e51b81526020600482015260156024820152600080516020613e07833981519152604482015290519081900360640190fd5b82611936576040805162461bcd60e51b815260206004820152601960248201527f5f6d617844656c617944617973206d757374206265203e203000000000000000604482015290519081900360640190fd5b600060d454610100900460ff16600681111561194e57fe5b146119a0576040805162461bcd60e51b815260206004820152601b60248201527f5374617465206d75737420626520556e696e697469616c697a65640000000000604482015290519081900360640190fd5b600082116119f5576040805162461bcd60e51b815260206004820152601d60248201527f5f636f6d6d756e6974794d656d62657273206d757374206265203e2030000000604482015290519081900360640190fd5b60cc5460408051633ab9b2b960e11b60208083019190915268636f6d6d756e69747960b81b6024830152606085901b6001600160601b031916602d8301528251808303602101815260418301808552815191830191909120633d70e7e560e11b909152604583015291516101009093046001600160a01b031692637ae1cfca92606580840193919291829003018186803b158015611a9257600080fd5b505afa158015611aa6573d6000803e3d6000fd5b505050506040513d6020811015611abc57600080fd5b5051611b0f576040805162461bcd60e51b815260206004820152601b60248201527f436f6d6d756e697479206973206e6f7420726567697374657265640000000000604482015290519081900360640190fd5b60cc5460408051736c656e64696e672e6d617844656c61794461797360601b6020808301919091523060601b6034830152825180830360280181526048830180855281519190920120637152429d60e11b909152604c820152606c810186905290516101009092046001600160a01b03169163e2a4853a91608c8082019260009290919082900301818387803b158015611ba857600080fd5b505af1158015611bbc573d6000803e3d6000fd5b505060cc5460408051706c656e64696e672e636f6d6d756e69747960781b6020808301919091523060601b603183015282518083036025018152604583018085528151919092012063ca446dd960e01b90915260498201526001600160a01b0386811660698301529151610100909304909116935063ca446dd9925060898082019260009290919082900301818387803b158015611c5957600080fd5b505af1158015611c6d573d6000803e3d6000fd5b505060cc5460408051706c656e64696e672e6c6f63616c4e6f646560781b6020808301919091523060601b603183015282518083036025018152604583018085528151919092012060dc5463ca446dd960e01b90925260498301526001600160a01b0390811660698301529151610100909304909116935063ca446dd9925060898082019260009290919082900301818387803b158015611d0d57600080fd5b505af1158015611d21573d6000803e3d6000fd5b505060cc54604080517f6c656e64696e672e636f6d6d756e6974794d656d6265727300000000000000006020808301919091523060601b60388301528251808303602c018152604c830180855281519190920120637152429d60e11b90915260508201526070810187905290516101009092046001600160a01b0316935063e2a4853a925060908082019260009290919082900301818387803b158015611dc757600080fd5b505af1158015611ddb573d6000803e3d6000fd5b50505050611de96001612ce2565b505050565b60db546001600160a01b031681565b600081831115611e3e5760405162461bcd60e51b8152600401808060200182810382526026815260200180613cb76026913960400191505060405180910390fd5b611e586018610ab5603c818181888a63ffffffff61362116565b90505b92915050565b611e6c610ae6612dde565b611ea75760405162461bcd60e51b8152600401808060200182810382526030815260200180613c0c6030913960400191505060405180910390fd5b6112ec81613663565b611ebb610ae6612dde565b611ef65760405162461bcd60e51b8152600401808060200182810382526030815260200180613c0c6030913960400191505060405180910390fd5b60665460ff1615611f41576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6066805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610ba7612dde565b6001600160a01b0316600090815260ce602052604090206001015460ff1690565b6099546001600160a01b031690565b6099546000906001600160a01b0316611fbe612dde565b6001600160a01b031614905090565b60d75481565b60cd546001600160a01b031681565b600080600560d454610100900460ff166006811115611ffd57fe5b141561205157506001600160a01b038216600090815260ce602052604090205460df546120499061271090610ab590816120356113fb565b60d954610c2690889063ffffffff612d4316565b91505061101a565b600660d454610100900460ff16600681111561206957fe5b14156120a557506001600160a01b038216600090815260ce602052604090205460d65460e3546120499190610ab590849063ffffffff612d4316565b600091505061101a565b600560d454610100900460ff1660068111156120c757fe5b146121035760405162461bcd60e51b8152600401808060200182810382526021815260200180613c966021913960400191505060405180910390fd5b6001600160a01b038116600090815260ce602052604090206001015460ff1615612174576040805162461bcd60e51b815260206004820152601a60248201527f4c656e64657220616c726561647920636f6d70656e7361746564000000000000604482015290519081900360640190fd5b600061217f82611fe2565b9050600081116113ac576040805162461bcd60e51b81526020600482015260116024820152700436f6e747269627574696f6e206973203607c1b604482015290519081900360640190fd5b6000610ac160df54610ab5610a93565b60d05481565b60d55481565b600560d454610100900460ff1660068111156121fe57fe5b1461223a5760405162461bcd60e51b8152600401808060200182810382526021815260200180613c966021913960400191505060405180910390fd5b60e254610100900460ff16156122815760405162461bcd60e51b8152600401808060200182810382526025815260200180613b8b6025913960400191505060405180910390fd5b60006122ab60df54610ab5612710610ab56064610c2660e05460da54612d4390919063ffffffff16565b905060008111612302576040805162461bcd60e51b815260206004820152601860248201527f45746869634875622773207465616d2066656520697320300000000000000000604482015290519081900360640190fd5b60e2805461ff00191661010017905560dd546112ec906001600160a01b03168261344b565b60d454610100900460ff1681565b60cc54604080516630b93134ba32b960c91b6020808301919091523060601b60278301528251808303601b018152603b83018085528151918301919091206321f8a72160e01b909152603f830152915160009361010090046001600160a01b0316926321f8a72192605f8082019391829003018186803b1580156123b857600080fd5b505afa1580156123cc573d6000803e3d6000fd5b505050506040513d60208110156123e257600080fd5b505190506001600160a01b0381163314612431576040805162461bcd60e51b81526020600482015260156024820152600080516020613e07833981519152604482015290519081900360640190fd5b600560d454610100900460ff16600681111561244957fe5b148061246a5750600660d454610100900460ff16600681111561246857fe5b145b6124a55760405162461bcd60e51b815260040180806020018281038252602c815260200180613be0602c913960400191505060405180910390fd5b60e25460ff166124fc576040805162461bcd60e51b815260206004820152601f60248201527f4c6f63616c204e6f646520666565206973206e6f74207265636c61696d656400604482015290519081900360640190fd5b60e254610100900460ff16612558576040805162461bcd60e51b815260206004820152601960248201527f5465616d20666565206973206e6f74207265636c61696d656400000000000000604482015290519081900360640190fd5b60d05460cf541461259a5760405162461bcd60e51b815260040180806020018281038252602c815260200180613b5f602c913960400191505060405180910390fd5b60dd5460cd54604080516370a0823160e01b815230600482015290516112ec936001600160a01b039081169316916370a08231916024808301926020929190829003018186803b1580156125ed57600080fd5b505afa158015612601573d6000803e3d6000fd5b505050506040513d602081101561261757600080fd5b505161344b565b600054610100900460ff168061263757506126376136ab565b80612645575060005460ff16155b6126805760405162461bcd60e51b815260040180806020018281038252602e815260200180613d6e602e913960400191505060405180910390fd5b600054610100900460ff161580156126ab576000805460ff1961ff0019909116610100171660011790555b609980546001600160a01b0319166001600160a01b0384811691909117918290556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a38015610a83576000805461ff00191690555050565b60cc54604080516630b93134ba32b960c91b6020808301919091523060601b60278301528251808303601b018152603b83018085528151918301919091206321f8a72160e01b909152603f830152915160009361010090046001600160a01b0316926321f8a72192605f8082019391829003018186803b15801561279257600080fd5b505afa1580156127a6573d6000803e3d6000fd5b505050506040513d60208110156127bc57600080fd5b505190506001600160a01b038116331461280b576040805162461bcd60e51b81526020600482015260156024820152600080516020613e07833981519152604482015290519081900360640190fd5b6001600160a01b038216612858576040805162461bcd60e51b815260206004820152600f60248201526e139bc8189bdc9c9bddd95c881cd95d608a1b604482015290519081900360640190fd5b60cc5460408051633ab9b2b960e11b6020808301919091526d726570726573656e74617469766560901b6024830152606086901b6001600160601b03191660328301528251808303602601815260468301808552815191830191909120633d70e7e560e11b909152604a83015291516101009093046001600160a01b031692637ae1cfca92606a80840193919291829003018186803b1580156128fa57600080fd5b505afa15801561290e573d6000803e3d6000fd5b505050506040513d602081101561292457600080fd5b50516129615760405162461bcd60e51b8152600401808060200182810382526026815260200180613b396026913960400191505060405180910390fd5b60db80546001600160a01b0319166001600160a01b0384811691909117918290556040519116907fa1cc029f3440726d0dd25b6385e24d209e5bf7817d6662d6e4bfdfbc621c1cf290600090a25050565b60004260d154111580156129c757504260d254115b8015610ac157505060d45460ff161590565b60e05481565b60cf5481565b600560d454610100900460ff1660068111156129fd57fe5b14612a395760405162461bcd60e51b8152600401808060200182810382526021815260200180613c966021913960400191505060405180910390fd5b60e25460ff1615612a7b5760405162461bcd60e51b8152600401808060200182810382526022815260200180613dbf6022913960400191505060405180910390fd5b6000612aa560df54610ab5612710610ab56064610c2660e15460da54612d4390919063ffffffff16565b905060008111612afc576040805162461bcd60e51b815260206004820152601a60248201527f4c6f63616c204e6f64652773207465616d206665652069732030000000000000604482015290519081900360640190fd5b60e2805460ff1916600117905560dc546112ec906001600160a01b03168261344b565b60da5481565b600460d454610100900460ff166006811115612b3d57fe5b14612b8f576040805162461bcd60e51b815260206004820152601d60248201527f5374617465206973206e6f742050726f6a6563744e6f7446756e646564000000604482015290519081900360640190fd5b6001600160a01b038116600090815260ce602052604090206001015460ff1615612c00576040805162461bcd60e51b815260206004820152601e60248201527f436f6e747269627574696f6e20616c7265616479207265636c61696d65640000604482015290519081900360640190fd5b6001600160a01b038116600090815260ce6020526040902054806113ac576040805162461bcd60e51b81526020600482015260116024820152700436f6e747269627574696f6e206973203607c1b604482015290519081900360640190fd5b60e35481565b612c6d611fa7565b612cbe576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6112ec816136b1565b6001600160a01b0316600090815260ce602052604090205490565b60d4805482919061ff001916610100836006811115612cfd57fe5b02179055507f49628ca47affc2c0364f092b96d5c6037157da8dd90c96c281f775bd576a45b9816006811115612d2f57fe5b60408051918252519081900360200190a150565b600082612d5257506000611e5b565b82820282848281612d5f57fe5b0414611e585760405162461bcd60e51b8152600401808060200182810382526021815260200180613d2b6021913960400191505060405180910390fd5b6000611e5883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613752565b3390565b600082820183811015611e58576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006001600160a01b038216612e835760405162461bcd60e51b8152600401808060200182810382526022815260200180613d4c6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b60665460ff1615612eee576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600160d454610100900460ff166006811115612f0657fe5b14612f425760405162461bcd60e51b8152600401808060200182810382526023815260200180613d9c6023913960400191505060405180910390fd5b612f4a6129b2565b612f855760405162461bcd60e51b815260040180806020018281038252602c815260200180613b0d602c913960400191505060405180910390fd5b60d35460d6546000908190612f9b9084866137f4565b60d4805460ff1916921515929092179182905560d383905591935090915060ff1615612ffa574260d281905560408051918252517f0d1677807e63887e44af23c98b7b1668a3b088b46f400428129d4730e695671f9181900360200190a15b6001600160a01b038516600090815260ce602052604090205461302f5760cf5461302b90600163ffffffff612de216565b60cf555b80156131a05760cd546040805163a9059cbb60e01b81526001600160a01b038881166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561308b57600080fd5b505af115801561309f573d6000803e3d6000fd5b505050506040513d60208110156130b557600080fd5b50516130f25760405162461bcd60e51b8152600401808060200182810382526023815260200180613e276023913960400191505060405180910390fd5b6001600160a01b038516600090815260ce602052604090205461312d908290613121908763ffffffff612de216565b9063ffffffff61362116565b6001600160a01b038616600081815260ce60205260409020919091557f6ff14b3a8f5fae2820852e97781b139d374bfca25145c281486dc4484948428f8361317b878563ffffffff61362116565b60cf5460408051938452602084019290925282820152519081900360600190a261322a565b6001600160a01b038516600090815260ce60205260409020546131c9908563ffffffff612de216565b6001600160a01b038616600081815260ce60209081526040918290209390935560cf548151868152938401889052838201525190917f6ff14b3a8f5fae2820852e97781b139d374bfca25145c281486dc4484948428f919081900360600190a25b5050505050565b600360d454610100900460ff16600681111561324957fe5b1461329b576040805162461bcd60e51b815260206004820152601b60248201527f5374617465206973206e6f74204177616974696e6752657475726e0000000000604482015290519081900360640190fd5b600060df54116132f2576040805162461bcd60e51b815260206004820152601c60248201527f5365636f6e642065786368616e67652072617465206e6f742073657400000000604482015290519081900360640190fd5b60db54604080518381529051600092839283926001600160a01b03909216917fd2a3d0e3eea97ca0ad91f0ba5deca86ca143f6e434ef8429c892f2bab9ade4db9181900360200190a261334f6133466121ca565b60e354866137f4565b60e3839055909450925090506001831515141561337f5761337260d25442611dfd565b60d85561337f6005612ce2565b81156134455760cd5460db546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018690529051919092169163a9059cbb9160448083019260209291908290030181600087803b1580156133de57600080fd5b505af11580156133f2573d6000803e3d6000fd5b505050506040513d602081101561340857600080fd5b50516134455760405162461bcd60e51b8152600401808060200182810382526023815260200180613e276023913960400191505060405180910390fd5b50505050565b60cd54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561349657600080fd5b505afa1580156134aa573d6000803e3d6000fd5b505050506040513d60208110156134c057600080fd5b5051905060008282106134d357826134d5565b815b60cd546040805163a9059cbb60e01b81526001600160a01b03888116600483015260248201859052915193945091169163a9059cbb916044808201926020929091908290030181600087803b15801561352d57600080fd5b505af1158015613541573d6000803e3d6000fd5b505050506040513d602081101561355757600080fd5b50516135945760405162461bcd60e51b8152600401808060200182810382526023815260200180613e276023913960400191505060405180910390fd5b6040805182815290516001600160a01b038616917f6c4b794a4b78cc93f78e6a6accc7e3f1388e15da178a4437a895760dc24ff3c4919081900360200190a250505050565b6135ea60338263ffffffff61385d16565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b6000611e5883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506138c4565b61367460338263ffffffff61391e16565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b303b1590565b6001600160a01b0381166136f65760405162461bcd60e51b8152600401808060200182810382526026815260200180613c3c6026913960400191505060405180910390fd5b6099546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3609980546001600160a01b0319166001600160a01b0392909216919091179055565b600081836137de5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156137a357818101518382015260200161378b565b50505050905090810190601f1680156137d05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816137ea57fe5b0495945050505050565b6000808080613809868663ffffffff612de216565b905060008088831080159061381d57508888105b1561384e5760019150613836838a63ffffffff61362116565b9050613848878263ffffffff61362116565b96508892505b91989097509095509350505050565b6138678282612e3c565b6138a25760405162461bcd60e51b8152600401808060200182810382526021815260200180613cdd6021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b600081848411156139165760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156137a357818101518382015260200161378b565b505050900390565b6139288282612e3c565b1561397a576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b600054610100900460ff16806139b857506139b86136ab565b806139c6575060005460ff16155b613a015760405162461bcd60e51b815260040180806020018281038252602e815260200180613d6e602e913960400191505060405180910390fd5b600054610100900460ff16158015613a2c576000805460ff1961ff0019909116610100171660011790555b613a3582613a54565b6066805460ff191690558015610a83576000805461ff00191690555050565b600054610100900460ff1680613a6d5750613a6d6136ab565b80613a7b575060005460ff16155b613ab65760405162461bcd60e51b815260040180806020018281038252602e815260200180613d6e602e913960400191505060405180910390fd5b600054610100900460ff16158015613ae1576000805460ff1961ff0019909116610100171660011790555b613aea82611004565b613af757613af782613663565b8015610a83576000805461ff0019169055505056fe63616e277420636f6e74726962757465206f75747369646520636f6e747269627574696f6e20706572696f64426f72726f776572206e6f74207265676973746572656420726570726573656e7461746976654e6f7420616c6c20696e766573746f72732068617665207265636c61696d65642074686569722073686172654574686963487562207465616d27732066656520616c7265616479207265636c61696d65644f6c64496e766573746f722073686f756c64206861766520696e76657374656420696e20746869732070726f6a6563745374617465206973206e6f7420436f6e747269627574696f6e52657475726e6564206f722044656661756c74506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c654f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373496e207374617465204177616974696e6752657475726e206f6e6c7920626f72726f7765722063616e20636f6e747269627574655374617465206973206e6f7420436f6e747269627574696f6e52657475726e65646c61737444617465206d75737420626520626967676572207468616e20666972737444617465526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c656e6577496e766573746f722073686f756c64206e6f74206861766520696e76657374656420616e797468696e67536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65647374617465206973206e6f7420416363657074696e67436f6e747269627574696f6e734c6f63616c204e6f646527732066656520616c7265616479207265636c61696d656453746174652068617320746f20626520416363657074696e67436f6e747269627574696f6e7353656e646572206e6f7420617574686f72697a656400000000000000000000007472616e7366657220737461626c6520746f6b656e206d6574686f64206661696c6564a265627a7a72315820c3238eca63efcfafd2da8741f648f26d7dfb18d60482a7cf05bcea839377c38e64736f6c634300050d0032

Deployed Bytecode Sourcemap

21102:21372:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21102:21372:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21829:31;;;:::i;:::-;;;;;;;;;;;;;;;;22711:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;22651:51;;;:::i;22209:24::-;;;:::i;:::-;;;;-1:-1:-1;;;;;22209:24:0;;;;;;;;;;;;;;38599:375;;;:::i;:::-;;21970:33;;;:::i;21657:31::-;;;:::i;40632:175::-;;;:::i;22314:50::-;;;:::i;22240:27::-;;;:::i;18795:120::-;;;:::i;40016:381::-;;;:::i;41997:163::-;;;:::i;27533:762::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;27533:762:0;;;;;;;;;;:::i;16119:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16119:109:0;-1:-1:-1;;;;;16119:109:0;;:::i;28303:667::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;28303:667:0;;;;;;;;:::i;29427:380::-;;;:::i;22083:43::-;;;:::i;21869:22::-;;;:::i;39119:347::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39119:347:0;;:::i;31251:527::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31251:527:0;-1:-1:-1;;;;;31251:527:0;;:::i;21408:20::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40448:176;;;:::i;18002:78::-;;;:::i;22598:46::-;;;:::i;21435:47::-;;;:::i;22043:33::-;;;:::i;29815:374::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29815:374:0;;:::i;22276:29::-;;;:::i;16336:79::-;;;:::i;21524:45::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21524:45:0;-1:-1:-1;;;;;21524:45:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;13592:140;;;:::i;22751:36::-;;;:::i;30540:539::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30540:539:0;;:::i;29130:289::-;;;:::i;21745:29::-;;;:::i;22404:27::-;;;:::i;26111:1045::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26111:1045:0;;;;;;;;;;;-1:-1:-1;;;;;26111:1045:0;;:::i;22179:23::-;;;:::i;39644:248::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39644:248:0;;;;;;;:::i;16236:92::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16236:92:0;-1:-1:-1;;;;;16236:92:0;;:::i;18582:118::-;;;:::i;42168:164::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42168:164:0;-1:-1:-1;;;;;42168:164:0;;:::i;12779:79::-;;;:::i;13145:94::-;;;:::i;22010:26::-;;;:::i;21491:24::-;;;:::i;41274:715::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;41274:715:0;-1:-1:-1;;;;;41274:715:0;;:::i;32484:559::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32484:559:0;-1:-1:-1;;;;;32484:559:0;;:::i;40815:154::-;;;:::i;21613:37::-;;;:::i;21934:29::-;;;:::i;33583:536::-;;;:::i;21900:25::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34127:531;;;:::i;12553:145::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12553:145:0;-1:-1:-1;;;;;12553:145:0;;:::i;27164:361::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27164:361:0;-1:-1:-1;;;;;27164:361:0;;:::i;40977:148::-;;;:::i;22371:26::-;;;:::i;21578:28::-;;;:::i;33051:524::-;;;:::i;22133:37::-;;;:::i;31937:539::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31937:539:0;-1:-1:-1;;;;;31937:539:0;;:::i;22796:29::-;;;:::i;13887:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13887:109:0;-1:-1:-1;;;;;13887:109:0;;:::i;41133:133::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;41133:133:0;-1:-1:-1;;;;;41133:133:0;;:::i;21829:31::-;;;;:::o;22711:33::-;;;;;;:::o;22651:51::-;22697:5;22651:51;:::o;22209:24::-;;;-1:-1:-1;;;;;22209:24:0;;:::o;38599:375::-;23797:9;;-1:-1:-1;;;;;23797:9:0;23810:10;23797:23;;:48;;-1:-1:-1;23835:10:0;23824:7;:5;:7::i;:::-;-1:-1:-1;;;;;23824:21:0;;23797:48;23789:81;;;;;-1:-1:-1;;;23789:81:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23789:81:0;;;;;;;;;;;;;;;38721:35;38712:5;;;;;;;:44;;;;;;;;;38704:95;;;;-1:-1:-1;;;38704:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38818:10;;;;38810:41;;;;;-1:-1:-1;;;38810:41:0;;;;;;;;;;;;-1:-1:-1;;;38810:41:0;;;;;;;;;;;;;;;38864:42;38876:29;38864:11;:42::i;:::-;38919:10;;38939:8;;38949:16;;38919:47;;;-1:-1:-1;;;38919:47:0;;-1:-1:-1;;;;;38939:8:0;;;38919:47;;;;;;;;;;;;:10;;;;;:19;;:47;;;;;;;;;;;;;;:10;;:47;;;5:2:-1;;;;30:1;27;20:12;5:2;38919:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;38919:47:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;38599:375:0:o;21970:33::-;;;;:::o;21657:31::-;;;;:::o;40632:175::-;40688:7;40715:84;22697:5;40715:59;40742:31;:29;:31::i;:::-;40715:22;;;:59;:26;:59;:::i;:::-;:63;:84;:63;:84;:::i;:::-;40708:91;;40632:175;:::o;22314:50::-;;;;:::o;22240:27::-;;;-1:-1:-1;;;;;22240:27:0;;:::o;18795:120::-;16016:22;16025:12;:10;:12::i;:::-;16016:8;:22::i;:::-;16008:83;;;;-1:-1:-1;;;16008:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18438:7;;;;18430:40;;;;;-1:-1:-1;;;18430:40:0;;;;;;;;;;;;-1:-1:-1;;;18430:40:0;;;;;;;;;;;;;;;18854:7;:15;;-1:-1:-1;;18854:15:0;;;18885:22;18894:12;:10;:12::i;:::-;18885:22;;;-1:-1:-1;;;;;18885:22:0;;;;;;;;;;;;;;18795:120::o;40016:381::-;40077:7;40103:286;22697:5;40103:247;40316:33;22641:3;40316:11;;:15;;:33;;;;:::i;:::-;40262:12;;40103:194;;40262:34;;22641:3;40262:34;:16;:34;:::i;:::-;40103:140;40239:3;40103:131;40187:46;40213:14;;40229:3;40187:25;:46::i;:::-;40103:14;;:36;;22641:3;40103:36;:18;:36;:::i;:::-;:83;:131;:83;:131;:::i;:140::-;:158;:194;:158;:194;:::i;41997:163::-;42070:15;;42104:46;;;-1:-1:-1;;;42104:46:0;;;;;;;;42145:4;42104:46;;;;;;;;26:21:-1;;;22:32;;6:49;;42104:46:0;;;;;;42094:57;;;;;;;;;-1:-1:-1;;;42070:82:0;;;;;;;;;-1:-1:-1;;42070:15:0;;;-1:-1:-1;;;;;42070:15:0;;:23;;:82;;;;;;;;;;;:15;:82;;;5:2:-1;;;;30:1;27;20:12;5:2;42070:82:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42070:82:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42070:82:0;;-1:-1:-1;41997:163:0;:::o;27533:762::-;23580:15;;23617:33;;;-1:-1:-1;;;23617:33:0;;;;;;;;23645:4;23617:33;;;;;;;;26:21:-1;;;22:32;;6:49;;23617:33:0;;;;;;23607:44;;;;;;;;;-1:-1:-1;;;23580:72:0;;;;;;;;;-1:-1:-1;;23580:15:0;;;-1:-1:-1;;;;;23580:15:0;;:26;;:72;;;;;;;;;;;:15;:72;;;5:2:-1;;;;30:1;27;20:12;5:2;23580:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23580:72:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23580:72:0;;-1:-1:-1;;;;;;23671:21:0;;23682:10;23671:21;23663:55;;;;;-1:-1:-1;;;23663:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23663:55:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;27649:25:0;;27641:34;;;;;;27694:15;;27728:49;;;-1:-1:-1;;;27728:49:0;;;;;;;;-1:-1:-1;;;27728:49:0;;;;;;;;-1:-1:-1;;;;;;27728:49:0;;;;;;;26:21:-1;;;22:32;;6:49;;27728::0;;;;;;27718:60;;;;;;;;;-1:-1:-1;;;27694:85:0;;;;;;;;;:15;;;;-1:-1:-1;;;;;27694:15:0;;:23;;:85;;;;;27728:49;;27694:85;;;;;;:15;:85;;;5:2:-1;;;;30:1;27;20:12;5:2;27694:85:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27694:85:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27694:85:0;27686:94;;;;;;-1:-1:-1;;;;;27799:22:0;;;;;;:9;:22;;;;;:29;27791:95;;;;-1:-1:-1;;;27791:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27919:22:0;;;;;;:9;:22;;;;;:29;:34;27897:129;;;;-1:-1:-1;;;27897:129:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28071:22:0;;;;;;;:9;:22;;;;;;:29;;28039:22;;;;;;;;;:61;;;28150:36;;;;;;28111;;;;:75;;28150:36;;;;28111:75;;-1:-1:-1;;28111:75:0;;;;;;28206:22;;;28199:29;;;;;;;;;;;;28246:41;;;28071:22;28246:41;27533:762;;;:::o;16119:109::-;16175:4;16199:21;:8;16212:7;16199:21;:12;:21;:::i;:::-;16192:28;;16119:109;;;;:::o;28303:667::-;28413:14;;-1:-1:-1;;;;;28413:14:0;28399:10;:28;28377:109;;;;;-1:-1:-1;;;28377:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28528:35;28519:5;;;;;;;:44;;;;;;;;;:97;;;-1:-1:-1;28589:27:0;28580:5;;;;;;;:36;;;;;;;;;28519:97;28497:177;;;;;-1:-1:-1;;;28497:177:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28699:35;28690:5;;;;;;;:44;;;;;;;;;28687:276;;;28751:42;28773:11;28786:6;28751:21;:42::i;:::-;28687:276;;;28849:8;;-1:-1:-1;;;;;28834:23:0;;;28849:8;;28834:23;28826:88;;;;-1:-1:-1;;;28826:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28929:22;28944:6;28929:14;:22::i;29427:380::-;23797:9;;-1:-1:-1;;;;;23797:9:0;23810:10;23797:23;;:48;;-1:-1:-1;23835:10:0;23824:7;:5;:7::i;:::-;-1:-1:-1;;;;;23824:21:0;;23797:48;23789:81;;;;;-1:-1:-1;;;23789:81:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23789:81:0;;;;;;;;;;;;;;;29518:27;29509:5;;;;;;;:36;;;;;;;;;29501:45;;;;;;29557:17;29577;:15;:17::i;:::-;29557:37;;29634:12;29613:17;29626:3;29613:12;:17::i;:::-;:33;;29605:42;;;;;;29660:15;;29694:43;;;-1:-1:-1;;;29694:43:0;;;;;;;;29732:4;29694:43;;;;;;;;26:21:-1;;;22:32;;6:49;;29694:43:0;;;;;;29684:54;;;;;;;-1:-1:-1;;;29660:93:0;;;;;;;;;;;;;;;:15;;;;-1:-1:-1;;;;;29660:15:0;;:23;;:93;;;;;-1:-1:-1;;29660:93:0;;;;;;;;-1:-1:-1;29660:15:0;:93;;;5:2:-1;;;;30:1;27;20:12;5:2;29660:93:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;29660:93:0;;;;29766:33;29778:20;29766:11;:33::i;:::-;23881:1;29427:380::o;22083:43::-;;;;:::o;21869:22::-;;;;;;:::o;39119:347::-;39215:11;;39265:14;;39172:4;;39229:6;39215:20;;39172:4;;39265:38;;39215:20;39265:38;:18;:38;:::i;:::-;39246:57;;39327:11;39320:4;:18;39316:143;;;39362:1;39355:8;;;;;;39316:143;39403:44;39429:11;39442:4;39403:25;:44::i;:::-;39396:51;;;;;;31251:527;31345:20;31336:5;;;;;;;:29;;;;;;;;;31328:38;;;;;;-1:-1:-1;;;;;31386:22:0;;;;;;:9;:22;;;;;:36;;;;;31385:37;31377:46;;;;;;31506:20;31529:33;31550:11;31529:20;:33::i;:::-;31506:56;;31598:1;31583:12;:16;31575:25;;;;;;-1:-1:-1;;;;;31613:22:0;;;;;;:9;:22;;;;;31652:4;31613:36;;;:43;;-1:-1:-1;;31613:43:0;;;;;31692:22;;:29;;;:26;:29;:::i;:::-;31667:22;:54;31734:36;31744:11;31757:12;31734:9;:36::i;21408:20::-;;;;;;:::o;40448:176::-;40496:7;40522:94;22697:5;40522:69;40587:3;40522:60;40563:18;;40522:36;22641:3;40522:14;;:18;;:36;;;;:::i;18002:78::-;18065:7;;;;18002:78;:::o;22598:46::-;22641:3;22598:46;:::o;21435:47::-;;;;;;-1:-1:-1;;;;;21435:47:0;;:::o;22043:33::-;;;;:::o;29815:374::-;23797:9;;-1:-1:-1;;;;;23797:9:0;23810:10;23797:23;;:48;;-1:-1:-1;23835:10:0;23824:7;:5;:7::i;:::-;-1:-1:-1;;;;;23824:21:0;;23797:48;23789:81;;;;;-1:-1:-1;;;23789:81:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23789:81:0;;;;;;;;;;;;;;;29967:27;29958:5;;;;;;;:36;;;;;;;;;29950:76;;;;;-1:-1:-1;;;29950:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;30039:35;:74;;;30131:50;;;;;;;;;;;;;;;;;29815:374;:::o;22276:29::-;;;-1:-1:-1;;;;;22276:29:0;;:::o;16336:79::-;16380:27;16394:12;:10;:12::i;:::-;16380:13;:27::i;:::-;16336:79::o;21524:45::-;;;;;;;;;;;;;;;;;;;;;:::o;13592:140::-;12991:9;:7;:9::i;:::-;12983:54;;;;;-1:-1:-1;;;12983:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13675:6;;13654:40;;13691:1;;-1:-1:-1;;;;;13675:6:0;;13654:40;;13691:1;;13654:40;13705:6;:19;;-1:-1:-1;;;;;;13705:19:0;;;13592:140::o;22751:36::-;;;;;;;;;:::o;30540:539::-;23797:9;;-1:-1:-1;;;;;23797:9:0;23810:10;23797:23;;:48;;-1:-1:-1;23835:10:0;23824:7;:5;:7::i;:::-;-1:-1:-1;;;;;23824:21:0;;23797:48;23789:81;;;;;-1:-1:-1;;;23789:81:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23789:81:0;;;;;;;;;;;;;;;30667:10;;;;:18;;:10;:18;30659:46;;;;;-1:-1:-1;;;30659:46:0;;;;;;;;;;;;-1:-1:-1;;;30659:46:0;;;;;;;;;;;;;;;30733:29;30724:5;;;;;;;:38;;;;;;;;;30716:80;;;;;-1:-1:-1;;;30716:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;30809:28;:60;;;30905:18;;:52;;30840:29;30905:52;:22;:52;:::i;:::-;30880:22;:77;30989:28;;30975:43;;;;;;;;;;;;;;;;31031:40;31043:27;31031:11;:40::i;29130:289::-;23797:9;;-1:-1:-1;;;;;23797:9:0;23810:10;23797:23;;:48;;-1:-1:-1;23835:10:0;23824:7;:5;:7::i;:::-;-1:-1:-1;;;;;23824:21:0;;23797:48;23789:81;;;;;-1:-1:-1;;;23789:81:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23789:81:0;;;;;;;;;;;;;;;29233:18;;29214:16;;:37;29206:46;;;;;;29280:35;29271:5;;;;;;;:44;;;;;;;;;29263:53;;;;;;29341:14;;29335:3;:20;29327:29;;;;;;29369:42;29381:29;29369:11;:42::i;21745:29::-;;;;:::o;22404:27::-;;;;:::o;26111:1045::-;23797:9;;-1:-1:-1;;;;;23797:9:0;23810:10;23797:23;;:48;;-1:-1:-1;23835:10:0;23824:7;:5;:7::i;:::-;-1:-1:-1;;;;;23824:21:0;;23797:48;23789:81;;;;;-1:-1:-1;;;23789:81:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23789:81:0;;;;;;;;;;;;;;;26308:18;26300:56;;;;;-1:-1:-1;;;26300:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26384:26;26375:5;;;;;;;:35;;;;;;;;;26367:75;;;;;-1:-1:-1;;;26367:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26481:1;26461:17;:21;26453:63;;;;;-1:-1:-1;;;26453:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26535:15;;26569:49;;;-1:-1:-1;;;26569:49:0;;;;;;;;-1:-1:-1;;;26569:49:0;;;;;;;;-1:-1:-1;;;;;;26569:49:0;;;;;;;26:21:-1;;;22:32;;6:49;;26569::0;;;;;;26559:60;;;;;;;;;-1:-1:-1;;;26535:85:0;;;;;;;;;:15;;;;-1:-1:-1;;;;;26535:15:0;;:23;;:85;;;;;26569:49;;26535:85;;;;;;:15;:85;;;5:2:-1;;;;30:1;27;20:12;5:2;26535:85:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26535:85:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26535:85:0;26527:125;;;;;-1:-1:-1;;;26527:125:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26665:15;;26699:46;;;-1:-1:-1;;;26699:46:0;;;;;;;;26740:4;26699:46;;;;;;;;26:21:-1;;;22:32;;6:49;;26699:46:0;;;;;;26689:57;;;;;;;-1:-1:-1;;;26665:97:0;;;;;;;;;;;;;;;:15;;;;-1:-1:-1;;;;;26665:15:0;;:23;;:97;;;;;-1:-1:-1;;26665:97:0;;;;;;;;-1:-1:-1;26665:15:0;:97;;;5:2:-1;;;;30:1;27;20:12;5:2;26665:97:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;26773:15:0;;26810:43;;;-1:-1:-1;;;26810:43:0;;;;;;;;26848:4;26810:43;;;;;;;;26:21:-1;;;22:32;;6:49;;26810:43:0;;;;;;26800:54;;;;;;;-1:-1:-1;;;26773:94:0;;;;;;;-1:-1:-1;;;;;26773:94:0;;;;;;;;;:15;;;;;;;;-1:-1:-1;26773:26:0;;-1:-1:-1;26773:94:0;;;;;-1:-1:-1;;26773:94:0;;;;;;;;-1:-1:-1;26773:15:0;:94;;;5:2:-1;;;;30:1;27;20:12;5:2;26773:94:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;26878:15:0;;26915:43;;;-1:-1:-1;;;26915:43:0;;;;;;;;26953:4;26915:43;;;;;;;;26:21:-1;;;22:32;;6:49;;26915:43:0;;;;;;26905:54;;;;;;;26961:9;;-1:-1:-1;;;26878:93:0;;;;;;;-1:-1:-1;;;;;26961:9:0;;;26878:93;;;;;;:15;;;;;;;;-1:-1:-1;26878:26:0;;-1:-1:-1;26878:93:0;;;;;-1:-1:-1;;26878:93:0;;;;;;;;-1:-1:-1;26878:15:0;:93;;;5:2:-1;;;;30:1;27;20:12;5:2;26878:93:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;26982:15:0;;27016:50;;;;;;;;;;;;27061:4;27016:50;;;;;;;;26:21:-1;;;22:32;;6:49;;27016:50:0;;;;;;27006:61;;;;;;;-1:-1:-1;;;26982:105:0;;;;;;;;;;;;;;;:15;;;;-1:-1:-1;;;;;26982:15:0;;-1:-1:-1;26982:23:0;;-1:-1:-1;26982:105:0;;;;;-1:-1:-1;;26982:105:0;;;;;;;;-1:-1:-1;26982:15:0;:105;;;5:2:-1;;;;30:1;27;20:12;5:2;26982:105:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26982:105:0;;;;27100:48;27112:35;27100:11;:48::i;:::-;26111:1045;;;:::o;22179:23::-;;;-1:-1:-1;;;;;22179:23:0;;:::o;39644:248::-;39730:4;39768:8;39755:9;:21;;39747:72;;;;-1:-1:-1;;;39747:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39837:47;39881:2;39837:39;39873:2;39837:39;39873:2;39837:39;:8;39850:9;39837:23;:12;:23;:::i;:47::-;39830:54;;39644:248;;;;;:::o;16236:92::-;16016:22;16025:12;:10;:12::i;16016:22::-;16008:83;;;;-1:-1:-1;;;16008:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16301:19;16312:7;16301:10;:19::i;18582:118::-;16016:22;16025:12;:10;:12::i;16016:22::-;16008:83;;;;-1:-1:-1;;;16008:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18239:7;;;;18238:8;18230:37;;;;;-1:-1:-1;;;18230:37:0;;;;;;;;;;;;-1:-1:-1;;;18230:37:0;;;;;;;;;;;;;;;18642:7;:14;;-1:-1:-1;;18642:14:0;18652:4;18642:14;;;18672:20;18679:12;:10;:12::i;42168:164::-;-1:-1:-1;;;;;42288:22:0;42251:18;42288:22;;;:9;:22;;;;;:36;;;;;;42168:164::o;12779:79::-;12844:6;;-1:-1:-1;;;;;12844:6:0;12779:79;:::o;13145:94::-;13225:6;;13185:4;;-1:-1:-1;;;;;13225:6:0;13209:12;:10;:12::i;:::-;-1:-1:-1;;;;;13209:22:0;;13202:29;;13145:94;:::o;22010:26::-;;;;:::o;21491:24::-;;;-1:-1:-1;;;;;21491:24:0;;:::o;41274:715::-;41342:7;;41412:33;41403:5;;;;;;;:42;;;;;;;;;41399:583;;;-1:-1:-1;;;;;;41479:19:0;;;;;;:9;:19;;;;;:26;41604:35;;41527:138;;22697:5;;41527:113;;;41580:18;:16;:18::i;:::-;41546:28;;41527:48;;:14;;:48;:18;:48;:::i;:138::-;41520:145;;;;;41399:583;41696:20;41687:5;;;;;;;:29;;;;;;;;;41683:299;;;-1:-1:-1;;;;;;41749:19:0;;;;;;:9;:19;;;;;:26;41910:18;;41890:14;;41871:58;;41910:18;41871:34;;41749:26;;41871:34;:18;:34;:::i;41683:299::-;41969:1;41962:8;;;;;32484:559;32583:33;32574:5;;;;;;;:42;;;;;;;;;32566:88;;;;-1:-1:-1;;;32566:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32674:22:0;;;;;;:9;:22;;;;;:36;;;;;32673:37;32665:76;;;;;-1:-1:-1;;;32665:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;32752:20;32775:33;32796:11;32775:20;:33::i;:::-;32752:56;;32842:1;32827:12;:16;32819:46;;;;;-1:-1:-1;;;32819:46:0;;;;;;;;;;;;-1:-1:-1;;;32819:46:0;;;;;;;;;;;;;;40815:154;40867:7;40894:67;40925:35;;40894:26;:24;:26::i;21613:37::-;;;;:::o;21934:29::-;;;;:::o;33583:536::-;33654:33;33645:5;;;;;;;:42;;;;;;;;;33637:88;;;;-1:-1:-1;;;33637:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33744:24;;;;;;;:33;33736:83;;;;-1:-1:-1;;;33736:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33830:11;33844:127;33935:35;;33844:86;22697:5;33844:61;22641:3;33844:39;33871:11;;33844:22;;:26;;:39;;;;:::i;:127::-;33830:141;;33996:1;33990:3;:7;33982:44;;;;;-1:-1:-1;;;33982:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34039:24;:31;;-1:-1:-1;;34039:31:0;;;;;34093:12;;34083:28;;-1:-1:-1;;;;;34093:12:0;34107:3;34083:9;:28::i;21900:25::-;;;;;;;;;:::o;34127:531::-;23580:15;;23617:33;;;-1:-1:-1;;;23617:33:0;;;;;;;;23645:4;23617:33;;;;;;;;26:21:-1;;;22:32;;6:49;;23617:33:0;;;;;;23607:44;;;;;;;;;-1:-1:-1;;;23580:72:0;;;;;;;;;-1:-1:-1;;23580:15:0;;;-1:-1:-1;;;;;23580:15:0;;:26;;:72;;;;;;;;;;;:15;:72;;;5:2:-1;;;;30:1;27;20:12;5:2;23580:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23580:72:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23580:72:0;;-1:-1:-1;;;;;;23671:21:0;;23682:10;23671:21;23663:55;;;;;-1:-1:-1;;;23663:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23663:55:0;;;;;;;;;;;;;;;34206:33;34197:5;;;;;;;:42;;;;;;;;;:75;;;-1:-1:-1;34252:20:0;34243:5;;;;;;;:29;;;;;;;;;34197:75;34189:132;;;;-1:-1:-1;;;34189:132:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34340:21;;;;34332:65;;;;;-1:-1:-1;;;34332:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34416:24;;;;;;;34408:62;;;;;-1:-1:-1;;;34408:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34506:22;;34489:13;;:39;34481:96;;;;-1:-1:-1;;;34481:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34600:12;;34614:10;;:35;;;-1:-1:-1;;;34614:35:0;;34643:4;34614:35;;;;;;34590:60;;-1:-1:-1;;;;;34600:12:0;;;;34614:10;;:20;;:35;;;;;;;;;;;;;;:10;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;34614:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34614:35:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34614:35:0;34590:9;:60::i;12553:145::-;9562:12;;;;;;;;:31;;;9578:15;:13;:15::i;:::-;9562:47;;;-1:-1:-1;9598:11:0;;;;9597:12;9562:47;9554:106;;;;-1:-1:-1;;;9554:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9669:19;9692:12;;;;;;9691:13;9711:83;;;;9740:12;:19;;-1:-1:-1;;;;9740:19:0;;;;;9768:18;9755:4;9768:18;;;9711:83;12619:6;:15;;-1:-1:-1;;;;;;12619:15:0;-1:-1:-1;;;;;12619:15:0;;;;;;;;;;;12650:40;;12683:6;;;-1:-1:-1;;12650:40:0;;-1:-1:-1;;12650:40:0;9816:14;9812:57;;;9856:5;9841:20;;-1:-1:-1;;9841:20:0;;;12553:145;;:::o;27164:361::-;23580:15;;23617:33;;;-1:-1:-1;;;23617:33:0;;;;;;;;23645:4;23617:33;;;;;;;;26:21:-1;;;22:32;;6:49;;23617:33:0;;;;;;23607:44;;;;;;;;;-1:-1:-1;;;23580:72:0;;;;;;;;;-1:-1:-1;;23580:15:0;;;-1:-1:-1;;;;;23580:15:0;;:26;;:72;;;;;;;;;;;:15;:72;;;5:2:-1;;;;30:1;27;20:12;5:2;23580:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23580:72:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23580:72:0;;-1:-1:-1;;;;;;23671:21:0;;23682:10;23671:21;23663:55;;;;;-1:-1:-1;;;23663:55:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23663:55:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;27247:23:0;;27239:51;;;;;-1:-1:-1;;;27239:51:0;;;;;;;;;;;;-1:-1:-1;;;27239:51:0;;;;;;;;;;;;;;;27309:15;;27343:53;;;-1:-1:-1;;;27343:53:0;;;;;;;;-1:-1:-1;;;27343:53:0;;;;;;;;-1:-1:-1;;;;;;27343:53:0;;;;;;;26:21:-1;;;22:32;;6:49;;27343:53:0;;;;;;27333:64;;;;;;;;;-1:-1:-1;;;27309:89:0;;;;;;;;;:15;;;;-1:-1:-1;;;;;27309:15:0;;:23;;:89;;;;;27343:53;;27309:89;;;;;;:15;:89;;;5:2:-1;;;;30:1;27;20:12;5:2;27309:89:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27309:89:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27309:89:0;27301:140;;;;-1:-1:-1;;;27301:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27454:8;:20;;-1:-1:-1;;;;;;27454:20:0;-1:-1:-1;;;;;27454:20:0;;;;;;;;;;;27492:25;;27508:8;;;27492:25;;-1:-1:-1;;27492:25:0;27164:361;;:::o;40977:148::-;41031:4;41075:3;41055:16;;:23;;:47;;;;;41099:3;41082:14;;:20;41055:47;:62;;;;-1:-1:-1;;41107:10:0;;;;41106:11;;40977:148::o;22371:26::-;;;;:::o;21578:28::-;;;;:::o;33051:524::-;33119:33;33110:5;;;;;;;:42;;;;;;;;;33102:88;;;;-1:-1:-1;;;33102:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33209:21;;;;:30;33201:77;;;;-1:-1:-1;;;33201:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33289:11;33303:128;33395:35;;33303:87;22697:5;33303:62;22641:3;33303:40;33330:12;;33303:22;;:26;;:40;;;;:::i;:128::-;33289:142;;33456:1;33450:3;:7;33442:46;;;;;-1:-1:-1;;;33442:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;33501:21;:28;;-1:-1:-1;;33501:28:0;33525:4;33501:28;;;33552:9;;33542:25;;-1:-1:-1;;;;;33552:9:0;33563:3;33542:9;:25::i;22133:37::-;;;;:::o;31937:539::-;32024:29;32015:5;;;;;;;:38;;;;;;;;;32007:80;;;;;-1:-1:-1;;;32007:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32107:22:0;;;;;;:9;:22;;;;;:36;;;;;32106:37;32098:80;;;;;-1:-1:-1;;;32098:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32212:22:0;;32189:20;32212:22;;;:9;:22;;;;;:29;32260:16;32252:46;;;;;-1:-1:-1;;;32252:46:0;;;;;;;;;;;;-1:-1:-1;;;32252:46:0;;;;;;;;;;;;;;22796:29;;;;:::o;13887:109::-;12991:9;:7;:9::i;:::-;12983:54;;;;;-1:-1:-1;;;12983:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13960:28;13979:8;13960:18;:28::i;41133:133::-;-1:-1:-1;;;;;41232:19:0;41206:7;41232:19;;;:9;:19;;;;;:26;;41133:133::o;42340:131::-;42404:5;:16;;42412:8;;42404:5;-1:-1:-1;;42404:16:0;;42412:8;42404:16;;;;;;;;;;;;;42436:27;42453:8;42448:14;;;;;;;;42436:27;;;;;;;;;;;;;;;42340:131;:::o;5219:471::-;5277:7;5522:6;5518:47;;-1:-1:-1;5552:1:0;5545:8;;5518:47;5589:5;;;5593:1;5589;:5;:1;5613:5;;;;;:10;5605:56;;;;-1:-1:-1;;;5605:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6158:132;6216:7;6243:39;6247:1;6250;6243:39;;;;;;;;;;;;;;;;;:3;:39::i;11458:98::-;11538:10;11458:98;:::o;3847:181::-;3905:7;3937:5;;;3961:6;;;;3953:46;;;;;-1:-1:-1;;;3953:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;15266:203;15338:4;-1:-1:-1;;;;;15363:21:0;;15355:68;;;;-1:-1:-1;;;15355:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15441:20:0;:11;:20;;;;;;;;;;;;;;;15266:203::o;36262:1445::-;18239:7;;;;18238:8;18230:37;;;;;-1:-1:-1;;;18230:37:0;;;;;;;;;;;;-1:-1:-1;;;18230:37:0;;;;;;;;;;;;;;;36381:35;36372:5;;;;;;;:44;;;;;;;;;36364:92;;;;-1:-1:-1;;;36364:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36475:24;:22;:24::i;:::-;36467:81;;;;-1:-1:-1;;;36467:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36588:16;;36773:18;;36561:24;;;;36752:69;;36588:16;36814:6;36752:20;:69::i;:::-;36717:10;36695:126;;-1:-1:-1;;36695:126:0;;;;;;;;;;;;36834:16;:38;;;;;-1:-1:-1;36695:126:0;;-1:-1:-1;36695:126:0;36889:10;36885:109;;;36933:3;36916:14;:20;;;36956:26;;;;;;;;;;;;;;;;36885:109;-1:-1:-1;;;;;37010:22:0;;;;;;:9;:22;;;;;:29;37006:103;;37077:13;;:20;;37095:1;37077:20;:17;:20;:::i;:::-;37061:13;:36;37006:103;37125:23;;37121:579;;37173:10;;:53;;;-1:-1:-1;;;37173:53:0;;-1:-1:-1;;;;;37173:53:0;;;;;;;;;;;;;;;:10;;;;;:19;;:53;;;;;;;;;;;;;;:10;;:53;;;5:2:-1;;;;30:1;27;20:12;5:2;37173:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37173:53:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37173:53:0;37165:101;;;;-1:-1:-1;;;37165:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37313:22:0;;;;;;:9;:22;;;;;:29;:66;;37359:19;;37313:41;;37347:6;37313:41;:33;:41;:::i;:::-;:45;:66;:45;:66;:::i;:::-;-1:-1:-1;;;;;37281:22:0;;;;;;:9;:22;;;;;:98;;;;37399:94;37412:19;37446:31;:6;37457:19;37446:31;:10;:31;:::i;:::-;37479:13;;37399:94;;;;;;;;;;;;;;;;;;;;;;;;;;37121:579;;;-1:-1:-1;;;;;37558:22:0;;;;;;:9;:22;;;;;:29;:41;;37592:6;37558:41;:33;:41;:::i;:::-;-1:-1:-1;;;;;37526:22:0;;;;;;:9;:22;;;;;;;;;:73;;;;37674:13;;37619:69;;;;;;;;;;;;;;;;37526:22;;37619:69;;;;;;;;;;37121:579;18278:1;;;36262:1445;;:::o;35053:931::-;35130:27;35121:5;;;;;;;:36;;;;;;;;;35113:76;;;;;-1:-1:-1;;;35113:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;35246:1;35208:35;;:39;35200:80;;;;;-1:-1:-1;;;35200:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;35423:8;;35410:30;;;;;;;;35293:19;;;;;;-1:-1:-1;;;;;35423:8:0;;;;35410:30;;;;;;;;;35508:68;35529:22;:20;:22::i;:::-;35553:14;;35569:6;35508:20;:68::i;:::-;35589:14;:34;;;35453:123;;-1:-1:-1;35453:123:0;-1:-1:-1;35453:123:0;-1:-1:-1;35658:4:0;35640:22;;;;35636:183;;;35700:46;35726:14;;35742:3;35700:25;:46::i;:::-;35679:18;:67;35761:46;35773:33;35761:11;:46::i;:::-;35835:19;;35831:146;;35879:10;;35899:8;;35879:46;;;-1:-1:-1;;;35879:46:0;;-1:-1:-1;;;;;35899:8:0;;;35879:46;;;;;;;;;;;;:10;;;;;:19;;:46;;;;;;;;;;;;;;:10;;:46;;;5:2:-1;;;;30:1;27;20:12;5:2;35879:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35879:46:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35879:46:0;35871:94;;;;-1:-1:-1;;;35871:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35053:931;;;;:::o;34666:379::-;34763:10;;:35;;;-1:-1:-1;;;34763:35:0;;34792:4;34763:35;;;;;;34737:23;;-1:-1:-1;;;;;34763:10:0;;:20;;:35;;;;;;;;;;;;;;:10;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;34763:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34763:35:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34763:35:0;;-1:-1:-1;34809:21:0;34834:24;;;34833:53;;34880:6;34833:53;;;34862:15;34833:53;34907:10;;:42;;;-1:-1:-1;;;34907:42:0;;-1:-1:-1;;;;;34907:42:0;;;;;;;;;;;;;;;34809:77;;-1:-1:-1;34907:10:0;;;:19;;:42;;;;;;;;;;;;;;;:10;;:42;;;5:2:-1;;;;30:1;27;20:12;5:2;34907:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34907:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34907:42:0;34899:90;;;;-1:-1:-1;;;34899:90:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35007:30;;;;;;;;-1:-1:-1;;;;;35007:30:0;;;;;;;;;;;;;34666:379;;;;:::o;16553:130::-;16613:24;:8;16629:7;16613:24;:15;:24;:::i;:::-;16653:22;;-1:-1:-1;;;;;16653:22:0;;;;;;;;16553:130;:::o;4303:136::-;4361:7;4388:43;4392:1;4395;4388:43;;;;;;;;;;;;;;;;;:3;:43::i;16423:122::-;16480:21;:8;16493:7;16480:21;:12;:21;:::i;:::-;16517:20;;-1:-1:-1;;;;;16517:20:0;;;;;;;;16423:122;:::o;9963:476::-;10403:7;10391:20;10426:7;9963:476;:::o;14102:229::-;-1:-1:-1;;;;;14176:22:0;;14168:73;;;;-1:-1:-1;;;14168:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14278:6;;14257:38;;-1:-1:-1;;;;;14257:38:0;;;;14278:6;;14257:38;;14278:6;;14257:38;14306:6;:17;;-1:-1:-1;;;;;;14306:17:0;-1:-1:-1;;;;;14306:17:0;;;;;;;;;;14102:229::o;6820:345::-;6906:7;7008:12;7001:5;6993:28;;;;-1:-1:-1;;;6993:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;6993:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7032:9;7048:1;7044;:5;;;;;;;6820:345;-1:-1:-1;;;;;6820:345:0:o;38083:508::-;38180:4;;;;38225:26;:8;38238:12;38225:26;:12;:26;:::i;:::-;38209:42;-1:-1:-1;38262:16:0;;38327;;;;;;:35;;;38358:4;38347:8;:15;38327:35;38323:212;;;38393:4;;-1:-1:-1;38421:18:0;:8;38434:4;38421:18;:12;:18;:::i;:::-;38412:27;-1:-1:-1;38469:24:0;:12;38412:27;38469:24;:16;:24;:::i;:::-;38454:39;;38519:4;38508:15;;38323:212;38553:8;;38563:11;;-1:-1:-1;38553:8:0;;-1:-1:-1;38083:508:0;-1:-1:-1;;;;38083:508:0:o;14988:183::-;15068:18;15072:4;15078:7;15068:3;:18::i;:::-;15060:64;;;;-1:-1:-1;;;15060:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15135:20:0;15158:5;15135:20;;;;;;;;;;;:28;;-1:-1:-1;;15135:28:0;;;14988:183::o;4776:192::-;4862:7;4898:12;4890:6;;;;4882:29;;;;-1:-1:-1;;;4882:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;4882:29:0;-1:-1:-1;;;4934:5:0;;;4776:192::o;14730:178::-;14808:18;14812:4;14818:7;14808:3;:18::i;:::-;14807:19;14799:63;;;;;-1:-1:-1;;;14799:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14873:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;14873:27:0;14896:4;14873:27;;;14730:178::o;17771:131::-;9562:12;;;;;;;;:31;;;9578:15;:13;:15::i;:::-;9562:47;;;-1:-1:-1;9598:11:0;;;;9597:12;9562:47;9554:106;;;;-1:-1:-1;;;9554:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9669:19;9692:12;;;;;;9691:13;9711:83;;;;9740:12;:19;;-1:-1:-1;;;;9740:19:0;;;;;9768:18;9755:4;9768:18;;;9711:83;17837:29;17859:6;17837:21;:29::i;:::-;17879:7;:15;;-1:-1:-1;;17879:15:0;;;9812:57;;;;9856:5;9841:20;;-1:-1:-1;;9841:20:0;;;17771:131;;:::o;15826:141::-;9562:12;;;;;;;;:31;;;9578:15;:13;:15::i;:::-;9562:47;;;-1:-1:-1;9598:11:0;;;;9597:12;9562:47;9554:106;;;;-1:-1:-1;;;9554:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9669:19;9692:12;;;;;;9691:13;9711:83;;;;9740:12;:19;;-1:-1:-1;;;;9740:19:0;;;;;9768:18;9755:4;9768:18;;;9711:83;15897:16;15906:6;15897:8;:16::i;:::-;15892:68;;15930:18;15941:6;15930:10;:18::i;:::-;9816:14;9812:57;;;9856:5;9841:20;;-1:-1:-1;;9841:20:0;;;15826:141;;:::o

Swarm Source

bzzr://c3238eca63efcfafd2da8741f648f26d7dfb18d60482a7cf05bcea839377c38e

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.