Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 23,722 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Emergency Withdr... | 16318903 | 758 days ago | IN | 0 ETH | 0.00056419 | ||||
Deposit | 16100660 | 788 days ago | IN | 0 ETH | 0.00171135 | ||||
Emergency Withdr... | 16098994 | 788 days ago | IN | 0 ETH | 0.00073262 | ||||
Emergency Withdr... | 16098918 | 788 days ago | IN | 0 ETH | 0.0005244 | ||||
Deposit | 14987468 | 955 days ago | IN | 0 ETH | 0.0079863 | ||||
Deposit | 13888954 | 1128 days ago | IN | 0 ETH | 0.0079863 | ||||
Withdraw | 13888944 | 1128 days ago | IN | 0 ETH | 0.00634263 | ||||
Deposit | 13888944 | 1128 days ago | IN | 0 ETH | 0.008043 | ||||
Emergency Withdr... | 13786581 | 1144 days ago | IN | 0 ETH | 0.00447184 | ||||
Deposit | 13449849 | 1197 days ago | IN | 0 ETH | 0.01049628 | ||||
Deposit | 12889257 | 1285 days ago | IN | 0 ETH | 0.00136908 | ||||
Withdraw | 12496350 | 1346 days ago | IN | 0 ETH | 0.00626093 | ||||
Withdraw | 12481885 | 1348 days ago | IN | 0 ETH | 0.00884263 | ||||
Deposit | 12403271 | 1360 days ago | IN | 0 ETH | 0.0125499 | ||||
Withdraw | 12237987 | 1386 days ago | IN | 0 ETH | 0.01851012 | ||||
Deposit | 12067478 | 1412 days ago | IN | 0 ETH | 0.01570132 | ||||
Withdraw | 11940671 | 1432 days ago | IN | 0 ETH | 0.0186209 | ||||
Withdraw | 11893996 | 1439 days ago | IN | 0 ETH | 0.00410183 | ||||
Withdraw | 11893995 | 1439 days ago | IN | 0 ETH | 0.03221 | ||||
Withdraw | 11794498 | 1454 days ago | IN | 0 ETH | 0.03761179 | ||||
Withdraw | 11781974 | 1456 days ago | IN | 0 ETH | 0.02685346 | ||||
Withdraw | 11751237 | 1461 days ago | IN | 0 ETH | 0.02651205 | ||||
Withdraw | 11744647 | 1462 days ago | IN | 0 ETH | 0.0160175 | ||||
Deposit | 11743845 | 1462 days ago | IN | 0 ETH | 0.00678899 | ||||
Withdraw | 11742815 | 1462 days ago | IN | 0 ETH | 0.01750139 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
ValueMasterPool
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-09-17 */ // SPDX-License-Identifier: MIT pragma solidity 0.6.12; // File: @openzeppelin/contracts/token/ERC20/IERC20.sol /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` * (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: @openzeppelin/contracts/GSN/Context.sol /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: contracts/VALUE/ValueLiquidityToken.sol // Value Liquidity (VALUE) with Governance Alpha contract ValueLiquidityToken is ERC20 { using SafeERC20 for IERC20; using SafeMath for uint256; IERC20 public yfv; address public governance; uint256 public cap; uint256 public yfvLockedBalance; mapping(address => bool) public minters; event Deposit(address indexed dst, uint amount); event Withdrawal(address indexed src, uint amount); constructor (IERC20 _yfv, uint256 _cap) public ERC20("Value Liquidity", "VALUE") { governance = msg.sender; yfv = _yfv; cap = _cap; } function mint(address _to, uint256 _amount) public { require(msg.sender == governance || minters[msg.sender], "!governance && !minter"); _mint(_to, _amount); _moveDelegates(address(0), _delegates[_to], _amount); } function burn(uint256 _amount) public { _burn(msg.sender, _amount); _moveDelegates(_delegates[msg.sender], address(0), _amount); } function burnFrom(address _account, uint256 _amount) public { uint256 decreasedAllowance = allowance(_account, msg.sender).sub(_amount, "ERC20: burn amount exceeds allowance"); _approve(_account, msg.sender, decreasedAllowance); _burn(_account, _amount); _moveDelegates(_delegates[_account], address(0), _amount); } function setGovernance(address _governance) public { require(msg.sender == governance, "!governance"); governance = _governance; } function addMinter(address _minter) public { require(msg.sender == governance, "!governance"); minters[_minter] = true; } function removeMinter(address _minter) public { require(msg.sender == governance, "!governance"); minters[_minter] = false; } function setCap(uint256 _cap) public { require(msg.sender == governance, "!governance"); require(_cap.add(yfvLockedBalance) >= totalSupply(), "_cap (plus yfvLockedBalance) is below current supply"); cap = _cap; } function deposit(uint256 _amount) public { yfv.safeTransferFrom(msg.sender, address(this), _amount); yfvLockedBalance = yfvLockedBalance.add(_amount); _mint(msg.sender, _amount); _moveDelegates(address(0), _delegates[msg.sender], _amount); Deposit(msg.sender, _amount); } function withdraw(uint256 _amount) public { yfvLockedBalance = yfvLockedBalance.sub(_amount, "There is not enough locked YFV to withdraw"); yfv.safeTransfer(msg.sender, _amount); _burn(msg.sender, _amount); _moveDelegates(_delegates[msg.sender], address(0), _amount); Withdrawal(msg.sender, _amount); } // This function allows governance to take unsupported tokens out of the contract. // This is in an effort to make someone whole, should they seriously mess up. // There is no guarantee governance will vote to return these. // It also allows for removal of airdropped tokens. function governanceRecoverUnsupported(IERC20 _token, address _to, uint256 _amount) external { require(msg.sender == governance, "!governance"); if (_token == yfv) { uint256 yfvBalance = yfv.balanceOf(address(this)); require(_amount <= yfvBalance.sub(yfvLockedBalance), "cant withdraw more then stuck amount"); } _token.safeTransfer(_to, _amount); } /** * @dev See {ERC20-_beforeTokenTransfer}. * * Requirements: * * - minted tokens must not cause the total supply to go over the cap. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override { super._beforeTokenTransfer(from, to, amount); if (from == address(0)) {// When minting tokens require(totalSupply().add(amount) <= cap.add(yfvLockedBalance), "ERC20Capped: cap exceeded"); } } // Copied and modified from YAM code: // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol // Which is copied and modified from COMPOUND: // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol /// @dev A record of each accounts delegate mapping(address => address) internal _delegates; /// @notice A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint256 votes; } /// @notice A record of votes checkpoints for each account, by index mapping(address => mapping(uint32 => Checkpoint)) public checkpoints; /// @notice The number of checkpoints for each account mapping(address => uint32) public numCheckpoints; /// @notice The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)"); /// @notice The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); /// @notice A record of states for signing / validating signatures mapping(address => uint) public nonces; /// @notice An event thats emitted when an account changes its delegate event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance); /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegator The address to get delegatee for */ function delegates(address delegator) external view returns (address) { return _delegates[delegator]; } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) external { return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) external { bytes32 domainSeparator = keccak256( abi.encode( DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this) ) ); bytes32 structHash = keccak256( abi.encode( DELEGATION_TYPEHASH, delegatee, nonce, expiry ) ); bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", domainSeparator, structHash ) ); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), "VALUE::delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "VALUE::delegateBySig: invalid nonce"); require(now <= expiry, "VALUE::delegateBySig: signature expired"); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint256) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "VALUE::getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { address currentDelegate = _delegates[delegator]; uint256 delegatorBalance = balanceOf(delegator); // balance of underlying VALUEs (not scaled); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveDelegates(currentDelegate, delegatee, delegatorBalance); } function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { // decrease old representative uint32 srcRepNum = numCheckpoints[srcRep]; uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint256 srcRepNew = srcRepOld.sub(amount); _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { // increase new representative uint32 dstRepNum = numCheckpoints[dstRep]; uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint256 dstRepNew = dstRepOld.add(amount); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes ) internal { uint32 blockNumber = safe32(block.number, "VALUE::_writeCheckpoint: block number exceeds 32 bits"); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint n, string memory errorMessage) internal pure returns (uint32) { require(n < 2 ** 32, errorMessage); return uint32(n); } function getChainId() internal pure returns (uint) { uint256 chainId; assembly {chainId := chainid()} return chainId; } } // File: contracts/VALUE/ValueMasterPool.sol interface ILiquidityMigrator { // Perform LP token migration from legacy Balancer to ValueLiquid. // Take the current LP token address and return the new LP token address. // Migrator should have full access to the caller's LP token. // Return the new LP token address. // // XXX Migrator must have allowance access to Balancer LP tokens. // ValueLiquid must mint EXACTLY the same amount of Balancer LP tokens or // else something bad will happen. Traditional Balancer does not // do that so be careful! function migrate(IERC20 token) external returns (IERC20); } interface IYFVReferral { function setReferrer(address farmer, address referrer) external; function getReferrer(address farmer) external view returns (address); } interface IFreeFromUpTo { function freeFromUpTo(address from, uint256 value) external returns (uint256 freed); } // Note that it's ownable and the owner wields tremendous power. The ownership // will be transferred to a governance smart contract (Timelock multisig signers) once VALUE is sufficiently // distributed and the community can show to govern itself. // // Have fun reading it. Hopefully it's bug-free. God bless. contract ValueMasterPool is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; IFreeFromUpTo public constant chi = IFreeFromUpTo(0x0000000000004946c0e9F43F4Dee607b0eF1fA1c); modifier discountCHI { uint256 gasStart = gasleft(); _; uint256 gasSpent = 21000 + gasStart - gasleft() + 16 * msg.data.length; chi.freeFromUpTo(msg.sender, (gasSpent + 14154) / 41130); } // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. // // We do some fancy math here. Basically, any point in time, the amount of VALUEs // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accValuePerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accValuePerShare` (and `lastRewardBlock`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `amount` gets updated. // 4. User's `rewardDebt` gets updated. uint256 accumulatedStakingPower; // will accumulate every time user harvest } // Info of each pool. struct PoolInfo { IERC20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. VALUEs to distribute per block. uint256 lastRewardBlock; // Last block number that VALUEs distribution occurs. uint256 accValuePerShare; // Accumulated VALUEs per share, times 1e12. See below. bool isStarted; // if lastRewardBlock has passed } uint256 public constant REFERRAL_COMMISSION_PERCENT = 1; address public rewardReferral; // The VALUE TOKEN! ValueLiquidityToken public value; // InsuranceFund address. address public insuranceFundAddr; // VALUE tokens created per block. uint256 public valuePerBlock; // The liquidity migrator contract. It has a lot of power. Can only be set through governance (owner). ILiquidityMigrator public migrator; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping (uint256 => mapping (address => UserInfo)) public userInfo; // Total allocation poitns. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The block number when VALUE mining starts. uint256 public startBlock; // Block number when each epoch ends. uint256[3] public epochEndBlocks = [10887300, 11080000, 20000000]; // Reward multipler uint256[4] public epochRewardMultiplers = [5000, 10000, 1, 0]; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount); constructor( ValueLiquidityToken _value, address _insuranceFundAddr, uint256 _valuePerBlock, uint256 _startBlock ) public { value = _value; insuranceFundAddr = _insuranceFundAddr; valuePerBlock = _valuePerBlock; // supposed to be 0.001 (1e16 wei) startBlock = _startBlock; // supposed to be 10,883,800 (Fri Sep 18 2020 3:00:00 GMT+0) } function poolLength() external view returns (uint256) { return poolInfo.length; } // Add a new lp to the pool. Can only be called by the owner. // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do. function add(uint256 _allocPoint, IERC20 _lpToken, bool _withUpdate, uint256 _lastRewardBlock) public onlyOwner { if (_withUpdate) { massUpdatePools(); } if (block.number < startBlock) { // chef is sleeping if (_lastRewardBlock == 0) { _lastRewardBlock = startBlock; } else { if (_lastRewardBlock < startBlock) { _lastRewardBlock = startBlock; } } } else { // chef is cooking if (_lastRewardBlock == 0 || _lastRewardBlock < block.number) { _lastRewardBlock = block.number; } } bool _isStarted = (block.number >= _lastRewardBlock) && (_lastRewardBlock >= startBlock); poolInfo.push(PoolInfo({ lpToken: _lpToken, allocPoint: _allocPoint, lastRewardBlock: _lastRewardBlock, accValuePerShare: 0, isStarted: _isStarted })); if (_isStarted) { totalAllocPoint = totalAllocPoint.add(_allocPoint); } } // Update the given pool's VALUE allocation point. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) public onlyOwner { if (_withUpdate) { massUpdatePools(); } PoolInfo storage pool = poolInfo[_pid]; if (pool.isStarted) { totalAllocPoint = totalAllocPoint.sub(pool.allocPoint).add(_allocPoint); } pool.allocPoint = _allocPoint; } function setValuePerBlock(uint256 _valuePerBlock) public onlyOwner { massUpdatePools(); valuePerBlock = _valuePerBlock; } function setEpochEndBlock(uint8 _index, uint256 _epochEndBlock) public onlyOwner { require(_index < 3, "_index out of range"); require(_epochEndBlock > block.number, "Too late to update"); require(epochEndBlocks[_index] > block.number, "Too late to update"); epochEndBlocks[_index] = _epochEndBlock; } function setEpochRewardMultipler(uint8 _index, uint256 _epochRewardMultipler) public onlyOwner { require(_index > 0 && _index < 4, "Index out of range"); require(epochEndBlocks[_index - 1] > block.number, "Too late to update"); epochRewardMultiplers[_index] = _epochRewardMultipler; } function setRewardReferral(address _rewardReferral) external onlyOwner { rewardReferral = _rewardReferral; } // Set the migrator contract. Can only be called by the owner. function setMigrator(ILiquidityMigrator _migrator) public onlyOwner { migrator = _migrator; } // Migrate lp token to another lp contract. function migrate(uint256 _pid) public onlyOwner { require(address(migrator) != address(0), "migrate: no migrator"); PoolInfo storage pool = poolInfo[_pid]; IERC20 lpToken = pool.lpToken; uint256 bal = lpToken.balanceOf(address(this)); lpToken.safeApprove(address(migrator), bal); IERC20 newLpToken = migrator.migrate(lpToken); require(bal == newLpToken.balanceOf(address(this)), "migrate: bad"); pool.lpToken = newLpToken; } // Return reward multiplier over the given _from to _to block. function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) { for (uint8 epochId = 3; epochId >= 1; --epochId) { if (_to >= epochEndBlocks[epochId - 1]) { if (_from >= epochEndBlocks[epochId - 1]) return _to.sub(_from).mul(epochRewardMultiplers[epochId]); uint256 multiplier = _to.sub(epochEndBlocks[epochId - 1]).mul(epochRewardMultiplers[epochId]); if (epochId == 1) return multiplier.add(epochEndBlocks[0].sub(_from).mul(epochRewardMultiplers[0])); for (epochId = epochId - 1; epochId >= 1; --epochId) { if (_from >= epochEndBlocks[epochId - 1]) return multiplier.add(epochEndBlocks[epochId].sub(_from).mul(epochRewardMultiplers[epochId])); multiplier = multiplier.add(epochEndBlocks[epochId].sub(epochEndBlocks[epochId - 1]).mul(epochRewardMultiplers[epochId])); } return multiplier.add(epochEndBlocks[0].sub(_from).mul(epochRewardMultiplers[0])); } } return _to.sub(_from).mul(epochRewardMultiplers[0]); } // View function to see pending VALUEs on frontend. function pendingValue(uint256 _pid, address _user) public view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accValuePerShare = pool.accValuePerShare; uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (block.number > pool.lastRewardBlock && lpSupply != 0) { uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); if (totalAllocPoint > 0) { uint256 valueReward = multiplier.mul(valuePerBlock).mul(pool.allocPoint).div(totalAllocPoint); accValuePerShare = accValuePerShare.add(valueReward.mul(1e12).div(lpSupply)); } } return user.amount.mul(accValuePerShare).div(1e12).sub(user.rewardDebt); } function stakingPower(uint256 _pid, address _user) public view returns (uint256) { UserInfo storage user = userInfo[_pid][_user]; return user.accumulatedStakingPower.add(pendingValue(_pid, _user)); } // Update reward variables for all pools. Be careful of gas spending! function massUpdatePools() public discountCHI { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public discountCHI { PoolInfo storage pool = poolInfo[_pid]; if (block.number <= pool.lastRewardBlock) { return; } uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (lpSupply == 0) { pool.lastRewardBlock = block.number; return; } if (!pool.isStarted) { pool.isStarted = true; totalAllocPoint = totalAllocPoint.add(pool.allocPoint); } uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); if (totalAllocPoint > 0) { uint256 valueReward = multiplier.mul(valuePerBlock).mul(pool.allocPoint).div(totalAllocPoint); safeValueMint(address(this), valueReward); pool.accValuePerShare = pool.accValuePerShare.add(valueReward.mul(1e12).div(lpSupply)); } pool.lastRewardBlock = block.number; } // Deposit LP tokens to ValueMasterPool for VALUE allocation. function deposit(uint256 _pid, uint256 _amount, address _referrer) public discountCHI { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (rewardReferral != address(0) && _referrer != address(0)) { require(_referrer != msg.sender, "You cannot refer yourself."); IYFVReferral(rewardReferral).setReferrer(msg.sender, _referrer); } if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accValuePerShare).div(1e12).sub(user.rewardDebt); if(pending > 0) { user.accumulatedStakingPower = user.accumulatedStakingPower.add(pending); uint256 actualPaid = pending.mul(100 - REFERRAL_COMMISSION_PERCENT).div(100); // 99% uint256 commission = pending - actualPaid; // 1% safeValueTransfer(msg.sender, actualPaid); if (rewardReferral != address(0)) { _referrer = IYFVReferral(rewardReferral).getReferrer(msg.sender); } if (_referrer != address(0)) { // send commission to referrer safeValueTransfer(_referrer, commission); } else { // send commission to insuranceFundAddr safeValueTransfer(insuranceFundAddr, commission); } } } if(_amount > 0) { pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount); user.amount = user.amount.add(_amount); } user.rewardDebt = user.amount.mul(pool.accValuePerShare).div(1e12); emit Deposit(msg.sender, _pid, _amount); } // Withdraw LP tokens from ValueMasterPool. function withdraw(uint256 _pid, uint256 _amount) public discountCHI { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 pending = user.amount.mul(pool.accValuePerShare).div(1e12).sub(user.rewardDebt); if(pending > 0) { user.accumulatedStakingPower = user.accumulatedStakingPower.add(pending); uint256 actualPaid = pending.mul(100 - REFERRAL_COMMISSION_PERCENT).div(100); // 99% uint256 commission = pending - actualPaid; // 1% safeValueTransfer(msg.sender, actualPaid); address _referrer = address(0); if (rewardReferral != address(0)) { _referrer = IYFVReferral(rewardReferral).getReferrer(msg.sender); } if (_referrer != address(0)) { // send commission to referrer safeValueTransfer(_referrer, commission); } else { // send commission to insuranceFundAddr safeValueTransfer(insuranceFundAddr, commission); } } if(_amount > 0) { user.amount = user.amount.sub(_amount); pool.lpToken.safeTransfer(address(msg.sender), _amount); } user.rewardDebt = user.amount.mul(pool.accValuePerShare).div(1e12); emit Withdraw(msg.sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; pool.lpToken.safeTransfer(address(msg.sender), user.amount); emit EmergencyWithdraw(msg.sender, _pid, user.amount); user.amount = 0; user.rewardDebt = 0; } // Safe value mint, ensure it is never over cap and we are the current owner. function safeValueMint(address _to, uint256 _amount) internal { if (value.minters(address(this)) && _to != address(0)) { uint256 totalSupply = value.totalSupply(); uint256 realCap = value.cap().add(value.yfvLockedBalance()); if (totalSupply.add(_amount) > realCap) { value.mint(_to, realCap.sub(totalSupply)); } else { value.mint(_to, _amount); } } } // Safe value transfer function, just in case if rounding error causes pool to not have enough VALUEs. function safeValueTransfer(address _to, uint256 _amount) internal { uint256 valueBal = value.balanceOf(address(this)); if (_amount > valueBal) { value.transfer(_to, valueBal); } else { value.transfer(_to, _amount); } } // Update insuranceFund by the previous insuranceFund contract. function setInsuranceFundAddr(address _insuranceFundAddr) public { require(msg.sender == insuranceFundAddr, "insuranceFund: wut?"); insuranceFundAddr = _insuranceFundAddr; } // This function allows governance to take unsupported tokens out of the contract, since this pool exists longer than the other pools. // This is in an effort to make someone whole, should they seriously mess up. // There is no guarantee governance will vote to return these. // It also allows for removal of airdropped tokens. function governanceRecoverUnsupported(IERC20 _token, uint256 amount, address to) external onlyOwner { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { PoolInfo storage pool = poolInfo[pid]; // cant take staked asset require(_token != pool.lpToken, "!pool.lpToken"); } // transfer to _token.safeTransfer(to, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract ValueLiquidityToken","name":"_value","type":"address"},{"internalType":"address","name":"_insuranceFundAddr","type":"address"},{"internalType":"uint256","name":"_valuePerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"REFERRAL_COMMISSION_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"_lastRewardBlock","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"chi","outputs":[{"internalType":"contract IFreeFromUpTo","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_referrer","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"epochEndBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"epochRewardMultiplers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"insuranceFundAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrator","outputs":[{"internalType":"contract ILiquidityMigrator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accValuePerShare","type":"uint256"},{"internalType":"bool","name":"isStarted","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardReferral","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_epochEndBlock","type":"uint256"}],"name":"setEpochEndBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_epochRewardMultipler","type":"uint256"}],"name":"setEpochRewardMultipler","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_insuranceFundAddr","type":"address"}],"name":"setInsuranceFundAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ILiquidityMigrator","name":"_migrator","type":"address"}],"name":"setMigrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardReferral","type":"address"}],"name":"setRewardReferral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_valuePerBlock","type":"uint256"}],"name":"setValuePerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"stakingPower","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"accumulatedStakingPower","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"value","outputs":[{"internalType":"contract ValueLiquidityToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"valuePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600060085560e060405262a62084608090815262a9114060a0526301312d0060c0526200003190600a9060036200014d565b506040805160808101825261138881526127106020820152600191810191909152600060608201526200006990600d90600462000198565b503480156200007757600080fd5b5060405162002ef438038062002ef4833981810160405260808110156200009d57600080fd5b50805160208201516040830151606090930151919290916000620000c062000149565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600280546001600160a01b039586166001600160a01b0319918216179091556003805494909516931692909217909255600491909155600955620001e6565b3390565b826003810192821562000186579160200282015b8281111562000186578251829063ffffffff1690559160200191906001019062000161565b5062000194929150620001cf565b5090565b826004810192821562000186579160200282015b8281111562000186578251829061ffff16905591602001919060010190620001ac565b5b80821115620001945760008155600101620001d0565b612cfe80620001f66000396000f3fe608060405234801561001057600080fd5b50600436106102105760003560e01c806354575af4116101255780638dbdbe6d116100ad578063aa9713f41161007c578063aa9713f4146105b4578063c92aecc4146105e0578063dfc1e7d6146105e8578063f2fde38b14610605578063fb4999211461062b57610210565b80638dbdbe6d146104f657806393f1a40b1461052857806396805e5414610572578063a0214ea3146105ac57610210565b8063715018a6116100f4578063715018a61461048f5780637c52b2d4146104975780637cd07e47146104c35780638da5cb5b146104cb5780638dbb1e3a146104d357610210565b806354575af414610400578063630b5ba11461043657806364482f791461043e57806370cf7f6f1461046957610210565b80633fa4f245116101a857806348cd4cb11161017757806348cd4cb1146103905780634a75ca671461039857806351eb05a6146103be5780635312ea8e146103db57806353220a42146103f857610210565b80633fa4f2451461032b5780633fd5000114610333578063441a3e7014610350578063454b06081461037357610210565b80631494f1d7116101e45780631494f1d7146102835780631526fe27146102a957806317caf6f1146102fd57806323cf31181461030557610210565b80622dcfb91461021557806304405cfb1461023d578063081e3eda146102615780630cdb43c41461027b575b600080fd5b61023b6004803603602081101561022b57600080fd5b50356001600160a01b0316610648565b005b6102456106c2565b604080516001600160a01b039092168252519081900360200190f35b6102696106d1565b60408051918252519081900360200190f35b6102456106d7565b61023b6004803603604081101561029957600080fd5b5060ff81351690602001356106e6565b6102c6600480360360208110156102bf57600080fd5b5035610846565b604080516001600160a01b039096168652602086019490945284840192909252606084015215156080830152519081900360a00190f35b610269610891565b61023b6004803603602081101561031b57600080fd5b50356001600160a01b0316610897565b610245610911565b6102696004803603602081101561034957600080fd5b5035610920565b61023b6004803603604081101561036657600080fd5b5080359060200135610934565b61023b6004803603602081101561038957600080fd5b5035610c3c565b610269610ef5565b61023b600480360360208110156103ae57600080fd5b50356001600160a01b0316610efb565b61023b600480360360208110156103d457600080fd5b5035610f72565b61023b600480360360208110156103f157600080fd5b503561119b565b610269611236565b61023b6004803603606081101561041657600080fd5b506001600160a01b0381358116916020810135916040909101351661123b565b61023b611339565b61023b6004803603606081101561045457600080fd5b5080359060208101359060400135151561140f565b61023b6004803603604081101561047f57600080fd5b5060ff81351690602001356114d6565b61023b6115f8565b610269600480360360408110156104ad57600080fd5b50803590602001356001600160a01b031661169a565b6102456116de565b6102456116ed565b610269600480360360408110156104e957600080fd5b50803590602001356116fc565b61023b6004803603606081101561050c57600080fd5b50803590602081013590604001356001600160a01b03166118b3565b6105546004803603604081101561053e57600080fd5b50803590602001356001600160a01b0316611c5d565b60408051938452602084019290925282820152519081900360600190f35b61023b6004803603608081101561058857600080fd5b508035906001600160a01b0360208201351690604081013515159060600135611c89565b610269611e8c565b610269600480360360408110156105ca57600080fd5b50803590602001356001600160a01b0316611e92565b610245611ffa565b610269600480360360208110156105fe57600080fd5b503561200c565b61023b6004803603602081101561061b57600080fd5b50356001600160a01b0316612019565b61023b6004803603602081101561064157600080fd5b5035612111565b610650612176565b6000546001600160a01b039081169116146106a0576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b60065490565b6001546001600160a01b031681565b6106ee612176565b6000546001600160a01b0390811691161461073e576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b60038260ff161061078c576040805162461bcd60e51b81526020600482015260136024820152725f696e646578206f7574206f662072616e676560681b604482015290519081900360640190fd5b4381116107d5576040805162461bcd60e51b8152602060048201526012602482015271546f6f206c61746520746f2075706461746560701b604482015290519081900360640190fd5b43600a8360ff16600381106107e657fe5b01541161082f576040805162461bcd60e51b8152602060048201526012602482015271546f6f206c61746520746f2075706461746560701b604482015290519081900360640190fd5b80600a8360ff166003811061084057fe5b01555050565b6006818154811061085357fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909160ff1685565b60085481565b61089f612176565b6000546001600160a01b039081169116146108ef576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b600a816003811061092d57fe5b0154905081565b60005a905060006006848154811061094857fe5b6000918252602080832087845260078252604080852033865290925292208054600590920290920192508411156109bb576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b6109c485610f72565b60006109fe82600101546109f864e8d4a510006109f28760030154876000015461217a90919063ffffffff16565b906121d3565b90612215565b90508015610b01576002820154610a159082612257565b60028301556000610a2c60646109f284606361217a565b9050808203610a3b33836122b1565b6001546000906001600160a01b031615610ac95760015460408051634a9fefc760e01b815233600482015290516001600160a01b0390921691634a9fefc791602480820192602092909190829003018186803b158015610a9a57600080fd5b505afa158015610aae573d6000803e3d6000fd5b505050506040513d6020811015610ac457600080fd5b505190505b6001600160a01b03811615610ae757610ae281836122b1565b610afd565b600354610afd906001600160a01b0316836122b1565b5050505b8415610b2b578154610b139086612215565b82558254610b2b906001600160a01b03163387612415565b60038301548254610b469164e8d4a51000916109f29161217a565b6001830155604080518681529051879133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3506000915050601036025a8361520801030190506d4946c0e9f43f4dee607b0ef1fa1c6001600160a01b031663079d229f3361a0aa8461374a0181610bc357fe5b046040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610c0a57600080fd5b505af1158015610c1e573d6000803e3d6000fd5b505050506040513d6020811015610c3457600080fd5b505050505050565b610c44612176565b6000546001600160a01b03908116911614610c94576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b6005546001600160a01b0316610ce8576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d1037379036b4b3b930ba37b960611b604482015290519081900360640190fd5b600060068281548110610cf757fe5b6000918252602080832060059092029091018054604080516370a0823160e01b815230600482015290519295506001600160a01b03909116939284926370a08231926024808201939291829003018186803b158015610d5557600080fd5b505afa158015610d69573d6000803e3d6000fd5b505050506040513d6020811015610d7f57600080fd5b5051600554909150610d9e906001600160a01b03848116911683612467565b6005546040805163ce5494bb60e01b81526001600160a01b0385811660048301529151600093929092169163ce5494bb9160248082019260209290919082900301818787803b158015610df057600080fd5b505af1158015610e04573d6000803e3d6000fd5b505050506040513d6020811015610e1a57600080fd5b5051604080516370a0823160e01b815230600482015290519192506001600160a01b038316916370a0823191602480820192602092909190829003018186803b158015610e6657600080fd5b505afa158015610e7a573d6000803e3d6000fd5b505050506040513d6020811015610e9057600080fd5b50518214610ed4576040805162461bcd60e51b815260206004820152600c60248201526b1b5a59dc985d194e8818985960a21b604482015290519081900360640190fd5b83546001600160a01b0319166001600160a01b039190911617909255505050565b60095481565b6003546001600160a01b03163314610f50576040805162461bcd60e51b8152602060048201526013602482015272696e737572616e636546756e643a207775743f60681b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60005a9050600060068381548110610f8657fe5b9060005260206000209060050201905080600201544311610fa757506110e6565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610ff157600080fd5b505afa158015611005573d6000803e3d6000fd5b505050506040513d602081101561101b57600080fd5b50519050806110315750436002909101556110e6565b600482015460ff166110625760048201805460ff1916600190811790915582015460085461105e91612257565b6008555b60006110728360020154436116fc565b600854909150156110dc5760006110a86008546109f286600101546110a26004548761217a90919063ffffffff16565b9061217a565b90506110b4308261257a565b6110d56110ca846109f28464e8d4a5100061217a565b600386015490612257565b6003850155505b5050436002909101555b6000601036025a8361520801030190506d4946c0e9f43f4dee607b0ef1fa1c6001600160a01b031663079d229f3361a0aa8461374a018161112357fe5b046040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561116a57600080fd5b505af115801561117e573d6000803e3d6000fd5b505050506040513d602081101561119457600080fd5b5050505050565b6000600682815481106111aa57fe5b600091825260208083208584526007825260408085203380875293529093208054600590930290930180549094506111ef926001600160a01b03919091169190612415565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b600181565b611243612176565b6000546001600160a01b03908116911614611293576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b60065460005b8181101561131e576000600682815481106112b057fe5b6000918252602090912060059091020180549091506001600160a01b0387811691161415611315576040805162461bcd60e51b815260206004820152600d60248201526c10b837b7b61736382a37b5b2b760991b604482015290519081900360640190fd5b50600101611299565b506113336001600160a01b0385168385612415565b50505050565b60005a60065490915060005b8181101561135e5761135681610f72565b600101611345565b5060009050601036025a8361520801030190506d4946c0e9f43f4dee607b0ef1fa1c6001600160a01b031663079d229f3361a0aa8461374a018161139e57fe5b046040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156113e557600080fd5b505af11580156113f9573d6000803e3d6000fd5b505050506040513d602081101561133357600080fd5b611417612176565b6000546001600160a01b03908116911614611467576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b801561147557611475611339565b60006006848154811061148457fe5b60009182526020909120600590910201600481015490915060ff16156114cb576114c7836114c1836001015460085461221590919063ffffffff16565b90612257565b6008555b600101919091555050565b6114de612176565b6000546001600160a01b0390811691161461152e576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b60008260ff16118015611544575060048260ff16105b61158a576040805162461bcd60e51b8152602060048201526012602482015271496e646578206f7574206f662072616e676560701b604482015290519081900360640190fd5b43600a6001840360ff166003811061159e57fe5b0154116115e7576040805162461bcd60e51b8152602060048201526012602482015271546f6f206c61746520746f2075706461746560701b604482015290519081900360640190fd5b80600d8360ff166004811061084057fe5b611600612176565b6000546001600160a01b03908116911614611650576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60008281526007602090815260408083206001600160a01b038516845290915281206116d46116c98585611e92565b600283015490612257565b9150505b92915050565b6005546001600160a01b031681565b6000546001600160a01b031690565b600060035b60018160ff161061189a57600a6001820360ff166003811061171f57fe5b0154831061189157600a6001820360ff166003811061173a57fe5b0154841061176957611761600d8260ff166004811061175557fe5b01546110a28587612215565b9150506116d8565b600061179f600d8360ff166004811061177e57fe5b01546110a2600a6001860360ff166003811061179657fe5b01548790612215565b90508160ff16600114156117db576117d26117cb600d60005b01546110a288600a60005b015490612215565b8290612257565b925050506116d8565b6001820391505b60018260ff161061188257600a6001830360ff166003811061180057fe5b01548510611834576117d26117cb600d8460ff166004811061181e57fe5b01546110a288600a8760ff16600381106117c357fe5b6118746117cb600d8460ff166004811061184a57fe5b01546110a2600a6001870360ff166003811061186257fe5b0154600a8760ff16600381106117c357fe5b6000199092019190506117e2565b6117d26117cb600d60006117b8565b60001901611701565b50600d546118ac906110a28486612215565b9392505050565b60005a90506000600685815481106118c757fe5b600091825260208083208884526007825260408085203386529092529220600590910290910191506118f886610f72565b6001546001600160a01b03161580159061191a57506001600160a01b03841615155b156119ea576001600160a01b03841633141561197d576040805162461bcd60e51b815260206004820152601a60248201527f596f752063616e6e6f7420726566657220796f757273656c662e000000000000604482015290519081900360640190fd5b6001546040805163bbddaca360e01b81523360048201526001600160a01b0387811660248301529151919092169163bbddaca391604480830192600092919082900301818387803b1580156119d157600080fd5b505af11580156119e5573d6000803e3d6000fd5b505050505b805415611b20576000611a1f82600101546109f864e8d4a510006109f28760030154876000015461217a90919063ffffffff16565b90508015611b1e576002820154611a369082612257565b60028301556000611a4d60646109f284606361217a565b9050808203611a5c33836122b1565b6001546001600160a01b031615611ae75760015460408051634a9fefc760e01b815233600482015290516001600160a01b0390921691634a9fefc791602480820192602092909190829003018186803b158015611ab857600080fd5b505afa158015611acc573d6000803e3d6000fd5b505050506040513d6020811015611ae257600080fd5b505196505b6001600160a01b03871615611b0557611b0087826122b1565b611b1b565b600354611b1b906001600160a01b0316826122b1565b50505b505b8415611b4c578154611b3d906001600160a01b0316333088612870565b8054611b499086612257565b81555b60038201548154611b679164e8d4a51000916109f29161217a565b6001820155604080518681529051879133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35060009050601036025a8361520801030190506d4946c0e9f43f4dee607b0ef1fa1c6001600160a01b031663079d229f3361a0aa8461374a0181611be357fe5b046040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611c2a57600080fd5b505af1158015611c3e573d6000803e3d6000fd5b505050506040513d6020811015611c5457600080fd5b50505050505050565b600760209081526000928352604080842090915290825290208054600182015460029092015490919083565b611c91612176565b6000546001600160a01b03908116911614611ce1576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b8115611cef57611cef611339565b600954431015611d1b5780611d075750600954611d16565b600954811015611d1657506009545b611d2f565b801580611d2757504381105b15611d2f5750435b6000814310158015611d4357506009548210155b6040805160a0810182526001600160a01b03878116825260208201898152928201868152600060608401818152861580156080870190815260068054600181018255945295517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f600590940293840180546001600160a01b031916919096161790945594517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4082015590517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4182015592517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4284015590517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d43909201805460ff19169215159290921790915590915061119457600854611e829086612257565b6008555050505050565b60045481565b60008060068481548110611ea257fe5b600091825260208083208784526007825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b158015611f1c57600080fd5b505afa158015611f30573d6000803e3d6000fd5b505050506040513d6020811015611f4657600080fd5b5051600285015490915043118015611f5d57508015155b15611fc7576000611f728560020154436116fc565b60085490915015611fc5576000611fa26008546109f288600101546110a26004548761217a90919063ffffffff16565b9050611fc1611fba846109f28464e8d4a5100061217a565b8590612257565b9350505b505b611fef83600101546109f864e8d4a510006109f286886000015461217a90919063ffffffff16565b979650505050505050565b6d4946c0e9f43f4dee607b0ef1fa1c81565b600d816004811061092d57fe5b612021612176565b6000546001600160a01b03908116911614612071576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b6001600160a01b0381166120b65760405162461bcd60e51b8152600401808060200182810382526026815260200180612c026026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b612119612176565b6000546001600160a01b03908116911614612169576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b612171611339565b600455565b3390565b600082612189575060006116d8565b8282028284828161219657fe5b04146118ac5760405162461bcd60e51b8152600401808060200182810382526021815260200180612c286021913960400191505060405180910390fd5b60006118ac83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128ca565b60006118ac83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061296c565b6000828201838110156118ac576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156122fc57600080fd5b505afa158015612310573d6000803e3d6000fd5b505050506040513d602081101561232657600080fd5b50519050808211156123ba576002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561238857600080fd5b505af115801561239c573d6000803e3d6000fd5b505050506040513d60208110156123b257600080fd5b506124109050565b6002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561116a57600080fd5b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526124109084906129c6565b8015806124ed575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156124bf57600080fd5b505afa1580156124d3573d6000803e3d6000fd5b505050506040513d60208110156124e957600080fd5b5051155b6125285760405162461bcd60e51b8152600401808060200182810382526036815260200180612c936036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526124109084906129c6565b60025460408051633d1bb33160e21b815230600482015290516001600160a01b039092169163f46eccc491602480820192602092909190829003018186803b1580156125c557600080fd5b505afa1580156125d9573d6000803e3d6000fd5b505050506040513d60208110156125ef57600080fd5b5051801561260557506001600160a01b03821615155b1561286c57600254604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b15801561264f57600080fd5b505afa158015612663573d6000803e3d6000fd5b505050506040513d602081101561267957600080fd5b50516002546040805163227af2a760e11b8152905192935060009261276a926001600160a01b0316916344f5e54e916004808301926020929190829003018186803b1580156126c757600080fd5b505afa1580156126db573d6000803e3d6000fd5b505050506040513d60208110156126f157600080fd5b505160025460408051631aa93a7560e11b815290516001600160a01b039092169163355274ea91600480820192602092909190829003018186803b15801561273857600080fd5b505afa15801561274c573d6000803e3d6000fd5b505050506040513d602081101561276257600080fd5b505190612257565b9050806127778385612257565b11156127fc576002546001600160a01b03166340c10f19856127998486612215565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156127df57600080fd5b505af11580156127f3573d6000803e3d6000fd5b50505050611333565b600254604080516340c10f1960e01b81526001600160a01b03878116600483015260248201879052915191909216916340c10f1991604480830192600092919082900301818387803b15801561285157600080fd5b505af1158015612865573d6000803e3d6000fd5b5050505050505b5050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526113339085906129c6565b600081836129565760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561291b578181015183820152602001612903565b50505050905090810190601f1680156129485780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161296257fe5b0495945050505050565b600081848411156129be5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561291b578181015183820152602001612903565b505050900390565b6060612a1b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a779092919063ffffffff16565b80519091501561241057808060200190516020811015612a3a57600080fd5b50516124105760405162461bcd60e51b815260040180806020018281038252602a815260200180612c69602a913960400191505060405180910390fd5b6060612a868484600085612a8e565b949350505050565b6060612a9985612bfb565b612aea576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612b295780518252601f199092019160209182019101612b0a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612b8b576040519150601f19603f3d011682016040523d82523d6000602084013e612b90565b606091505b50915091508115612ba4579150612a869050565b805115612bb45780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561291b578181015183820152602001612903565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220ff6cdc44c2d77c53e7c6fad63ca656feea16808ca1e38ce7b6b146e3151ff2da64736f6c634300060c003300000000000000000000000049e833337ece7afe375e44f4e3e8481029218e5c000000000000000000000000b7b2ea8a1198368f950834875047aa7294a2bdaa00000000000000000000000000000000000000000000000000038d7ea4c680000000000000000000000000000000000000000000000000000000000000a607a2
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102105760003560e01c806354575af4116101255780638dbdbe6d116100ad578063aa9713f41161007c578063aa9713f4146105b4578063c92aecc4146105e0578063dfc1e7d6146105e8578063f2fde38b14610605578063fb4999211461062b57610210565b80638dbdbe6d146104f657806393f1a40b1461052857806396805e5414610572578063a0214ea3146105ac57610210565b8063715018a6116100f4578063715018a61461048f5780637c52b2d4146104975780637cd07e47146104c35780638da5cb5b146104cb5780638dbb1e3a146104d357610210565b806354575af414610400578063630b5ba11461043657806364482f791461043e57806370cf7f6f1461046957610210565b80633fa4f245116101a857806348cd4cb11161017757806348cd4cb1146103905780634a75ca671461039857806351eb05a6146103be5780635312ea8e146103db57806353220a42146103f857610210565b80633fa4f2451461032b5780633fd5000114610333578063441a3e7014610350578063454b06081461037357610210565b80631494f1d7116101e45780631494f1d7146102835780631526fe27146102a957806317caf6f1146102fd57806323cf31181461030557610210565b80622dcfb91461021557806304405cfb1461023d578063081e3eda146102615780630cdb43c41461027b575b600080fd5b61023b6004803603602081101561022b57600080fd5b50356001600160a01b0316610648565b005b6102456106c2565b604080516001600160a01b039092168252519081900360200190f35b6102696106d1565b60408051918252519081900360200190f35b6102456106d7565b61023b6004803603604081101561029957600080fd5b5060ff81351690602001356106e6565b6102c6600480360360208110156102bf57600080fd5b5035610846565b604080516001600160a01b039096168652602086019490945284840192909252606084015215156080830152519081900360a00190f35b610269610891565b61023b6004803603602081101561031b57600080fd5b50356001600160a01b0316610897565b610245610911565b6102696004803603602081101561034957600080fd5b5035610920565b61023b6004803603604081101561036657600080fd5b5080359060200135610934565b61023b6004803603602081101561038957600080fd5b5035610c3c565b610269610ef5565b61023b600480360360208110156103ae57600080fd5b50356001600160a01b0316610efb565b61023b600480360360208110156103d457600080fd5b5035610f72565b61023b600480360360208110156103f157600080fd5b503561119b565b610269611236565b61023b6004803603606081101561041657600080fd5b506001600160a01b0381358116916020810135916040909101351661123b565b61023b611339565b61023b6004803603606081101561045457600080fd5b5080359060208101359060400135151561140f565b61023b6004803603604081101561047f57600080fd5b5060ff81351690602001356114d6565b61023b6115f8565b610269600480360360408110156104ad57600080fd5b50803590602001356001600160a01b031661169a565b6102456116de565b6102456116ed565b610269600480360360408110156104e957600080fd5b50803590602001356116fc565b61023b6004803603606081101561050c57600080fd5b50803590602081013590604001356001600160a01b03166118b3565b6105546004803603604081101561053e57600080fd5b50803590602001356001600160a01b0316611c5d565b60408051938452602084019290925282820152519081900360600190f35b61023b6004803603608081101561058857600080fd5b508035906001600160a01b0360208201351690604081013515159060600135611c89565b610269611e8c565b610269600480360360408110156105ca57600080fd5b50803590602001356001600160a01b0316611e92565b610245611ffa565b610269600480360360208110156105fe57600080fd5b503561200c565b61023b6004803603602081101561061b57600080fd5b50356001600160a01b0316612019565b61023b6004803603602081101561064157600080fd5b5035612111565b610650612176565b6000546001600160a01b039081169116146106a0576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b60065490565b6001546001600160a01b031681565b6106ee612176565b6000546001600160a01b0390811691161461073e576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b60038260ff161061078c576040805162461bcd60e51b81526020600482015260136024820152725f696e646578206f7574206f662072616e676560681b604482015290519081900360640190fd5b4381116107d5576040805162461bcd60e51b8152602060048201526012602482015271546f6f206c61746520746f2075706461746560701b604482015290519081900360640190fd5b43600a8360ff16600381106107e657fe5b01541161082f576040805162461bcd60e51b8152602060048201526012602482015271546f6f206c61746520746f2075706461746560701b604482015290519081900360640190fd5b80600a8360ff166003811061084057fe5b01555050565b6006818154811061085357fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909160ff1685565b60085481565b61089f612176565b6000546001600160a01b039081169116146108ef576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b600a816003811061092d57fe5b0154905081565b60005a905060006006848154811061094857fe5b6000918252602080832087845260078252604080852033865290925292208054600590920290920192508411156109bb576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b6109c485610f72565b60006109fe82600101546109f864e8d4a510006109f28760030154876000015461217a90919063ffffffff16565b906121d3565b90612215565b90508015610b01576002820154610a159082612257565b60028301556000610a2c60646109f284606361217a565b9050808203610a3b33836122b1565b6001546000906001600160a01b031615610ac95760015460408051634a9fefc760e01b815233600482015290516001600160a01b0390921691634a9fefc791602480820192602092909190829003018186803b158015610a9a57600080fd5b505afa158015610aae573d6000803e3d6000fd5b505050506040513d6020811015610ac457600080fd5b505190505b6001600160a01b03811615610ae757610ae281836122b1565b610afd565b600354610afd906001600160a01b0316836122b1565b5050505b8415610b2b578154610b139086612215565b82558254610b2b906001600160a01b03163387612415565b60038301548254610b469164e8d4a51000916109f29161217a565b6001830155604080518681529051879133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3506000915050601036025a8361520801030190506d4946c0e9f43f4dee607b0ef1fa1c6001600160a01b031663079d229f3361a0aa8461374a0181610bc357fe5b046040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610c0a57600080fd5b505af1158015610c1e573d6000803e3d6000fd5b505050506040513d6020811015610c3457600080fd5b505050505050565b610c44612176565b6000546001600160a01b03908116911614610c94576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b6005546001600160a01b0316610ce8576040805162461bcd60e51b815260206004820152601460248201527336b4b3b930ba329d1037379036b4b3b930ba37b960611b604482015290519081900360640190fd5b600060068281548110610cf757fe5b6000918252602080832060059092029091018054604080516370a0823160e01b815230600482015290519295506001600160a01b03909116939284926370a08231926024808201939291829003018186803b158015610d5557600080fd5b505afa158015610d69573d6000803e3d6000fd5b505050506040513d6020811015610d7f57600080fd5b5051600554909150610d9e906001600160a01b03848116911683612467565b6005546040805163ce5494bb60e01b81526001600160a01b0385811660048301529151600093929092169163ce5494bb9160248082019260209290919082900301818787803b158015610df057600080fd5b505af1158015610e04573d6000803e3d6000fd5b505050506040513d6020811015610e1a57600080fd5b5051604080516370a0823160e01b815230600482015290519192506001600160a01b038316916370a0823191602480820192602092909190829003018186803b158015610e6657600080fd5b505afa158015610e7a573d6000803e3d6000fd5b505050506040513d6020811015610e9057600080fd5b50518214610ed4576040805162461bcd60e51b815260206004820152600c60248201526b1b5a59dc985d194e8818985960a21b604482015290519081900360640190fd5b83546001600160a01b0319166001600160a01b039190911617909255505050565b60095481565b6003546001600160a01b03163314610f50576040805162461bcd60e51b8152602060048201526013602482015272696e737572616e636546756e643a207775743f60681b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60005a9050600060068381548110610f8657fe5b9060005260206000209060050201905080600201544311610fa757506110e6565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610ff157600080fd5b505afa158015611005573d6000803e3d6000fd5b505050506040513d602081101561101b57600080fd5b50519050806110315750436002909101556110e6565b600482015460ff166110625760048201805460ff1916600190811790915582015460085461105e91612257565b6008555b60006110728360020154436116fc565b600854909150156110dc5760006110a86008546109f286600101546110a26004548761217a90919063ffffffff16565b9061217a565b90506110b4308261257a565b6110d56110ca846109f28464e8d4a5100061217a565b600386015490612257565b6003850155505b5050436002909101555b6000601036025a8361520801030190506d4946c0e9f43f4dee607b0ef1fa1c6001600160a01b031663079d229f3361a0aa8461374a018161112357fe5b046040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561116a57600080fd5b505af115801561117e573d6000803e3d6000fd5b505050506040513d602081101561119457600080fd5b5050505050565b6000600682815481106111aa57fe5b600091825260208083208584526007825260408085203380875293529093208054600590930290930180549094506111ef926001600160a01b03919091169190612415565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b600181565b611243612176565b6000546001600160a01b03908116911614611293576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b60065460005b8181101561131e576000600682815481106112b057fe5b6000918252602090912060059091020180549091506001600160a01b0387811691161415611315576040805162461bcd60e51b815260206004820152600d60248201526c10b837b7b61736382a37b5b2b760991b604482015290519081900360640190fd5b50600101611299565b506113336001600160a01b0385168385612415565b50505050565b60005a60065490915060005b8181101561135e5761135681610f72565b600101611345565b5060009050601036025a8361520801030190506d4946c0e9f43f4dee607b0ef1fa1c6001600160a01b031663079d229f3361a0aa8461374a018161139e57fe5b046040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156113e557600080fd5b505af11580156113f9573d6000803e3d6000fd5b505050506040513d602081101561133357600080fd5b611417612176565b6000546001600160a01b03908116911614611467576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b801561147557611475611339565b60006006848154811061148457fe5b60009182526020909120600590910201600481015490915060ff16156114cb576114c7836114c1836001015460085461221590919063ffffffff16565b90612257565b6008555b600101919091555050565b6114de612176565b6000546001600160a01b0390811691161461152e576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b60008260ff16118015611544575060048260ff16105b61158a576040805162461bcd60e51b8152602060048201526012602482015271496e646578206f7574206f662072616e676560701b604482015290519081900360640190fd5b43600a6001840360ff166003811061159e57fe5b0154116115e7576040805162461bcd60e51b8152602060048201526012602482015271546f6f206c61746520746f2075706461746560701b604482015290519081900360640190fd5b80600d8360ff166004811061084057fe5b611600612176565b6000546001600160a01b03908116911614611650576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60008281526007602090815260408083206001600160a01b038516845290915281206116d46116c98585611e92565b600283015490612257565b9150505b92915050565b6005546001600160a01b031681565b6000546001600160a01b031690565b600060035b60018160ff161061189a57600a6001820360ff166003811061171f57fe5b0154831061189157600a6001820360ff166003811061173a57fe5b0154841061176957611761600d8260ff166004811061175557fe5b01546110a28587612215565b9150506116d8565b600061179f600d8360ff166004811061177e57fe5b01546110a2600a6001860360ff166003811061179657fe5b01548790612215565b90508160ff16600114156117db576117d26117cb600d60005b01546110a288600a60005b015490612215565b8290612257565b925050506116d8565b6001820391505b60018260ff161061188257600a6001830360ff166003811061180057fe5b01548510611834576117d26117cb600d8460ff166004811061181e57fe5b01546110a288600a8760ff16600381106117c357fe5b6118746117cb600d8460ff166004811061184a57fe5b01546110a2600a6001870360ff166003811061186257fe5b0154600a8760ff16600381106117c357fe5b6000199092019190506117e2565b6117d26117cb600d60006117b8565b60001901611701565b50600d546118ac906110a28486612215565b9392505050565b60005a90506000600685815481106118c757fe5b600091825260208083208884526007825260408085203386529092529220600590910290910191506118f886610f72565b6001546001600160a01b03161580159061191a57506001600160a01b03841615155b156119ea576001600160a01b03841633141561197d576040805162461bcd60e51b815260206004820152601a60248201527f596f752063616e6e6f7420726566657220796f757273656c662e000000000000604482015290519081900360640190fd5b6001546040805163bbddaca360e01b81523360048201526001600160a01b0387811660248301529151919092169163bbddaca391604480830192600092919082900301818387803b1580156119d157600080fd5b505af11580156119e5573d6000803e3d6000fd5b505050505b805415611b20576000611a1f82600101546109f864e8d4a510006109f28760030154876000015461217a90919063ffffffff16565b90508015611b1e576002820154611a369082612257565b60028301556000611a4d60646109f284606361217a565b9050808203611a5c33836122b1565b6001546001600160a01b031615611ae75760015460408051634a9fefc760e01b815233600482015290516001600160a01b0390921691634a9fefc791602480820192602092909190829003018186803b158015611ab857600080fd5b505afa158015611acc573d6000803e3d6000fd5b505050506040513d6020811015611ae257600080fd5b505196505b6001600160a01b03871615611b0557611b0087826122b1565b611b1b565b600354611b1b906001600160a01b0316826122b1565b50505b505b8415611b4c578154611b3d906001600160a01b0316333088612870565b8054611b499086612257565b81555b60038201548154611b679164e8d4a51000916109f29161217a565b6001820155604080518681529051879133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35060009050601036025a8361520801030190506d4946c0e9f43f4dee607b0ef1fa1c6001600160a01b031663079d229f3361a0aa8461374a0181611be357fe5b046040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611c2a57600080fd5b505af1158015611c3e573d6000803e3d6000fd5b505050506040513d6020811015611c5457600080fd5b50505050505050565b600760209081526000928352604080842090915290825290208054600182015460029092015490919083565b611c91612176565b6000546001600160a01b03908116911614611ce1576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b8115611cef57611cef611339565b600954431015611d1b5780611d075750600954611d16565b600954811015611d1657506009545b611d2f565b801580611d2757504381105b15611d2f5750435b6000814310158015611d4357506009548210155b6040805160a0810182526001600160a01b03878116825260208201898152928201868152600060608401818152861580156080870190815260068054600181018255945295517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f600590940293840180546001600160a01b031916919096161790945594517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4082015590517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4182015592517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4284015590517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d43909201805460ff19169215159290921790915590915061119457600854611e829086612257565b6008555050505050565b60045481565b60008060068481548110611ea257fe5b600091825260208083208784526007825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b158015611f1c57600080fd5b505afa158015611f30573d6000803e3d6000fd5b505050506040513d6020811015611f4657600080fd5b5051600285015490915043118015611f5d57508015155b15611fc7576000611f728560020154436116fc565b60085490915015611fc5576000611fa26008546109f288600101546110a26004548761217a90919063ffffffff16565b9050611fc1611fba846109f28464e8d4a5100061217a565b8590612257565b9350505b505b611fef83600101546109f864e8d4a510006109f286886000015461217a90919063ffffffff16565b979650505050505050565b6d4946c0e9f43f4dee607b0ef1fa1c81565b600d816004811061092d57fe5b612021612176565b6000546001600160a01b03908116911614612071576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b6001600160a01b0381166120b65760405162461bcd60e51b8152600401808060200182810382526026815260200180612c026026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b612119612176565b6000546001600160a01b03908116911614612169576040805162461bcd60e51b81526020600482018190526024820152600080516020612c49833981519152604482015290519081900360640190fd5b612171611339565b600455565b3390565b600082612189575060006116d8565b8282028284828161219657fe5b04146118ac5760405162461bcd60e51b8152600401808060200182810382526021815260200180612c286021913960400191505060405180910390fd5b60006118ac83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128ca565b60006118ac83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061296c565b6000828201838110156118ac576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156122fc57600080fd5b505afa158015612310573d6000803e3d6000fd5b505050506040513d602081101561232657600080fd5b50519050808211156123ba576002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561238857600080fd5b505af115801561239c573d6000803e3d6000fd5b505050506040513d60208110156123b257600080fd5b506124109050565b6002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561116a57600080fd5b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526124109084906129c6565b8015806124ed575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156124bf57600080fd5b505afa1580156124d3573d6000803e3d6000fd5b505050506040513d60208110156124e957600080fd5b5051155b6125285760405162461bcd60e51b8152600401808060200182810382526036815260200180612c936036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526124109084906129c6565b60025460408051633d1bb33160e21b815230600482015290516001600160a01b039092169163f46eccc491602480820192602092909190829003018186803b1580156125c557600080fd5b505afa1580156125d9573d6000803e3d6000fd5b505050506040513d60208110156125ef57600080fd5b5051801561260557506001600160a01b03821615155b1561286c57600254604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b15801561264f57600080fd5b505afa158015612663573d6000803e3d6000fd5b505050506040513d602081101561267957600080fd5b50516002546040805163227af2a760e11b8152905192935060009261276a926001600160a01b0316916344f5e54e916004808301926020929190829003018186803b1580156126c757600080fd5b505afa1580156126db573d6000803e3d6000fd5b505050506040513d60208110156126f157600080fd5b505160025460408051631aa93a7560e11b815290516001600160a01b039092169163355274ea91600480820192602092909190829003018186803b15801561273857600080fd5b505afa15801561274c573d6000803e3d6000fd5b505050506040513d602081101561276257600080fd5b505190612257565b9050806127778385612257565b11156127fc576002546001600160a01b03166340c10f19856127998486612215565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156127df57600080fd5b505af11580156127f3573d6000803e3d6000fd5b50505050611333565b600254604080516340c10f1960e01b81526001600160a01b03878116600483015260248201879052915191909216916340c10f1991604480830192600092919082900301818387803b15801561285157600080fd5b505af1158015612865573d6000803e3d6000fd5b5050505050505b5050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526113339085906129c6565b600081836129565760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561291b578181015183820152602001612903565b50505050905090810190601f1680156129485780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161296257fe5b0495945050505050565b600081848411156129be5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561291b578181015183820152602001612903565b505050900390565b6060612a1b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a779092919063ffffffff16565b80519091501561241057808060200190516020811015612a3a57600080fd5b50516124105760405162461bcd60e51b815260040180806020018281038252602a815260200180612c69602a913960400191505060405180910390fd5b6060612a868484600085612a8e565b949350505050565b6060612a9985612bfb565b612aea576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612b295780518252601f199092019160209182019101612b0a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612b8b576040519150601f19603f3d011682016040523d82523d6000602084013e612b90565b606091505b50915091508115612ba4579150612a869050565b805115612bb45780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561291b578181015183820152602001612903565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220ff6cdc44c2d77c53e7c6fad63ca656feea16808ca1e38ce7b6b146e3151ff2da64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000049e833337ece7afe375e44f4e3e8481029218e5c000000000000000000000000b7b2ea8a1198368f950834875047aa7294a2bdaa00000000000000000000000000000000000000000000000000038d7ea4c680000000000000000000000000000000000000000000000000000000000000a607a2
-----Decoded View---------------
Arg [0] : _value (address): 0x49E833337ECe7aFE375e44F4E3e8481029218E5c
Arg [1] : _insuranceFundAddr (address): 0xb7b2Ea8A1198368f950834875047aA7294A2bDAa
Arg [2] : _valuePerBlock (uint256): 1000000000000000
Arg [3] : _startBlock (uint256): 10880930
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000049e833337ece7afe375e44f4e3e8481029218e5c
Arg [1] : 000000000000000000000000b7b2ea8a1198368f950834875047aa7294a2bdaa
Arg [2] : 00000000000000000000000000000000000000000000000000038d7ea4c68000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000a607a2
Deployed Bytecode Sourcemap
54062:16648:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60393:122;;;;;;;;;;;;;;;;-1:-1:-1;60393:122:0;-1:-1:-1;;;;;60393:122:0;;:::i;:::-;;56109:32;;;:::i;:::-;;;;-1:-1:-1;;;;;56109:32:0;;;;;;;;;;;;;;57657:95;;;:::i;:::-;;;;;;;;;;;;;;;;55976:29;;;:::i;59719:342::-;;;;;;;;;;;;;;;;-1:-1:-1;59719:342:0;;;;;;;;;:::i;56401:26::-;;;;;;;;;;;;;;;;-1:-1:-1;56401:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;56401:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56644:34;;;:::i;60591:107::-;;;;;;;;;;;;;;;;-1:-1:-1;60591:107:0;-1:-1:-1;;;;;60591:107:0;;:::i;56039:32::-;;;:::i;56813:65::-;;;;;;;;;;;;;;;;-1:-1:-1;56813:65:0;;:::i;66776:1475::-;;;;;;;;;;;;;;;;-1:-1:-1;66776:1475:0;;;;;;;:::i;60755:501::-;;;;;;;;;;;;;;;;-1:-1:-1;60755:501:0;;:::i;56736:25::-;;;:::i;69719:196::-;;;;;;;;;;;;;;;;-1:-1:-1;69719:196:0;-1:-1:-1;;;;;69719:196:0;;:::i;63940:961::-;;;;;;;;;;;;;;;;-1:-1:-1;63940:961:0;;:::i;68322:356::-;;;;;;;;;;;;;;;;-1:-1:-1;68322:356:0;;:::i;55914:55::-;;;:::i;70271:436::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;70271:436:0;;;;;;;;;;;;;;;;;:::i;63672:192::-;;;:::i;59180:379::-;;;;;;;;;;;;;;;;-1:-1:-1;59180:379:0;;;;;;;;;;;;;;:::i;60069:316::-;;;;;;;;;;;;;;;;-1:-1:-1;60069:316:0;;;;;;;;;:::i;28582:148::-;;;:::i;63367:222::-;;;;;;;;;;;;;;;;-1:-1:-1;63367:222:0;;;;;;-1:-1:-1;;;;;63367:222:0;;:::i;56331:34::-;;;:::i;27940:79::-;;;:::i;61332:1133::-;;;;;;;;;;;;;;;;-1:-1:-1;61332:1133:0;;;;;;;:::i;64976:1743::-;;;;;;;;;;;;;;;;-1:-1:-1;64976:1743:0;;;;;;;;;;;-1:-1:-1;;;;;64976:1743:0;;:::i;56483:66::-;;;;;;;;;;;;;;;;-1:-1:-1;56483:66:0;;;;;;-1:-1:-1;;;;;56483:66:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;57921:1162;;;;;;;;;;;;;;;;-1:-1:-1;57921:1162:0;;;-1:-1:-1;;;;;57921:1162:0;;;;;;;;;;;;;;;;;:::i;56188:28::-;;;:::i;62530:829::-;;;;;;;;;;;;;;;;-1:-1:-1;62530:829:0;;;;;;-1:-1:-1;;;;;62530:829:0;;:::i;54173:93::-;;;:::i;56912:61::-;;;;;;;;;;;;;;;;-1:-1:-1;56912:61:0;;:::i;28885:244::-;;;;;;;;;;;;;;;;-1:-1:-1;28885:244:0;-1:-1:-1;;;;;28885:244:0;;:::i;59567:144::-;;;;;;;;;;;;;;;;-1:-1:-1;59567:144:0;;:::i;60393:122::-;28162:12;:10;:12::i;:::-;28152:6;;-1:-1:-1;;;;;28152:6:0;;;:22;;;28144:67;;;;;-1:-1:-1;;;28144:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28144:67:0;;;;;;;;;;;;;;;60475:14:::1;:32:::0;;-1:-1:-1;;;;;;60475:32:0::1;-1:-1:-1::0;;;;;60475:32:0;;;::::1;::::0;;;::::1;::::0;;60393:122::o;56109:32::-;;;-1:-1:-1;;;;;56109:32:0;;:::o;57657:95::-;57729:8;:15;57657:95;:::o;55976:29::-;;;-1:-1:-1;;;;;55976:29:0;;:::o;59719:342::-;28162:12;:10;:12::i;:::-;28152:6;;-1:-1:-1;;;;;28152:6:0;;;:22;;;28144:67;;;;;-1:-1:-1;;;28144:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28144:67:0;;;;;;;;;;;;;;;59828:1:::1;59819:6;:10;;;59811:42;;;::::0;;-1:-1:-1;;;59811:42:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;59811:42:0;;;;;;;;;;;;;::::1;;59889:12;59872:14;:29;59864:60;;;::::0;;-1:-1:-1;;;59864:60:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;59864:60:0;;;;;;;;;;;;;::::1;;59968:12;59943:14;59958:6;59943:22;;;;;;;;;;;:37;59935:68;;;::::0;;-1:-1:-1;;;59935:68:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;59935:68:0;;;;;;;;;;;;;::::1;;60039:14;60014;60029:6;60014:22;;;;;;;;;;:39:::0;-1:-1:-1;;59719:342:0:o;56401:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;56401:26:0;;;;-1:-1:-1;56401:26:0;;;;;;;:::o;56644:34::-;;;;:::o;60591:107::-;28162:12;:10;:12::i;:::-;28152:6;;-1:-1:-1;;;;;28152:6:0;;;:22;;;28144:67;;;;;-1:-1:-1;;;28144:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28144:67:0;;;;;;;;;;;;;;;60670:8:::1;:20:::0;;-1:-1:-1;;;;;;60670:20:0::1;-1:-1:-1::0;;;;;60670:20:0;;;::::1;::::0;;;::::1;::::0;;60591:107::o;56039:32::-;;;-1:-1:-1;;;;;56039:32:0;;:::o;56813:65::-;;;;;;;;;;;;;-1:-1:-1;56813:65:0;:::o;66776:1475::-;54307:16;54326:9;54307:28;;66855:21:::1;66879:8;66888:4;66879:14;;;;;;;;;::::0;;;::::1;::::0;;;66928;;;:8:::1;:14:::0;;;;;;66943:10:::1;66928:26:::0;;;;;;;66973:11;;66879:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;66973:22:0;-1:-1:-1;66973:22:0::1;66965:53;;;::::0;;-1:-1:-1;;;66965:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;66965:53:0;;;;;;;;;;;;;::::1;;67029:16;67040:4;67029:10;:16::i;:::-;67056:15;67074:69;67127:4;:15;;;67074:48;67117:4;67074:38;67090:4;:21;;;67074:4;:11;;;:15;;:38;;;;:::i;:::-;:42:::0;::::1;:48::i;:::-;:52:::0;::::1;:69::i;:::-;67056:87:::0;-1:-1:-1;67157:11:0;;67154:801:::1;;67216:28;::::0;::::1;::::0;:41:::1;::::0;67249:7;67216:32:::1;:41::i;:::-;67185:28;::::0;::::1;:72:::0;67272:18:::1;67293:55;67344:3;67293:46;:7:::0;67305:33;67293:11:::1;:46::i;:55::-;67272:76:::0;-1:-1:-1;67391:20:0;;::::1;67432:41;67450:10;67272:76:::0;67432:17:::1;:41::i;:::-;67537:14;::::0;67488:17:::1;::::0;-1:-1:-1;;;;;67537:14:0::1;:28:::0;67533:133:::1;;67611:14;::::0;67598:52:::1;::::0;;-1:-1:-1;;;67598:52:0;;67639:10:::1;67598:52;::::0;::::1;::::0;;;-1:-1:-1;;;;;67611:14:0;;::::1;::::0;67598:40:::1;::::0;:52;;;;;::::1;::::0;;;;;;;;;67611:14;67598:52;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;67598:52:0;;-1:-1:-1;67533:133:0::1;-1:-1:-1::0;;;;;67684:23:0;::::1;::::0;67680:264:::1;;67759:40;67777:9;67788:10;67759:17;:40::i;:::-;67680:264;;;67898:17;::::0;67880:48:::1;::::0;-1:-1:-1;;;;;67898:17:0::1;67917:10:::0;67880:17:::1;:48::i;:::-;67154:801;;;;67968:11:::0;;67965:151:::1;;68010:11:::0;;:24:::1;::::0;68026:7;68010:15:::1;:24::i;:::-;67996:38:::0;;68049:12;;:55:::1;::::0;-1:-1:-1;;;;;68049:12:0::1;68083:10;68096:7:::0;68049:25:::1;:55::i;:::-;68160:21;::::0;::::1;::::0;68144:11;;:48:::1;::::0;68187:4:::1;::::0;68144:38:::1;::::0;:15:::1;:38::i;:48::-;68126:15;::::0;::::1;:66:::0;68208:35:::1;::::0;;;;;;;68229:4;;68217:10:::1;::::0;68208:35:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;54358:16:0;;-1:-1:-1;;54408:2:0;54413:8;54408:20;54396:9;54385:8;54377:5;:16;:28;:51;54358:70;;54223:42;-1:-1:-1;;;;;54439:16:0;;54456:10;54489:5;54469:8;54480:5;54469:16;54468:26;;;;;;54439:56;;;;;;;;;;;;;-1:-1:-1;;;;;54439:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;66776:1475:0:o;60755:501::-;28162:12;:10;:12::i;:::-;28152:6;;-1:-1:-1;;;;;28152:6:0;;;:22;;;28144:67;;;;;-1:-1:-1;;;28144:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28144:67:0;;;;;;;;;;;;;;;60830:8:::1;::::0;-1:-1:-1;;;;;60830:8:0::1;60814:64;;;::::0;;-1:-1:-1;;;60814:64:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;60814:64:0;;;;;;;;;;;;;::::1;;60889:21;60913:8;60922:4;60913:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;::::1;60955:12:::0;;60992:32:::1;::::0;;-1:-1:-1;;;60992:32:0;;61018:4:::1;60992:32;::::0;::::1;::::0;;;60913:14;;-1:-1:-1;;;;;;60955:12:0;;::::1;::::0;60913:14;60955:12;;60992:17:::1;::::0;:32;;;;;60913:14;60992:32;;;;;;60955:12;60992:32;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;60992:32:0;61063:8:::1;::::0;60992:32;;-1:-1:-1;61035:43:0::1;::::0;-1:-1:-1;;;;;61035:19:0;;::::1;::::0;61063:8:::1;60992:32:::0;61035:19:::1;:43::i;:::-;61109:8;::::0;:25:::1;::::0;;-1:-1:-1;;;61109:25:0;;-1:-1:-1;;;;;61109:25:0;;::::1;;::::0;::::1;::::0;;;61089:17:::1;::::0;61109:8;;;::::1;::::0;:16:::1;::::0;:25;;;;;::::1;::::0;;;;;;;;;61089:17;61109:8;:25;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;61109:25:0;61160:35:::1;::::0;;-1:-1:-1;;;61160:35:0;;61189:4:::1;61160:35;::::0;::::1;::::0;;;61109:25;;-1:-1:-1;;;;;;61160:20:0;::::1;::::0;::::1;::::0;:35;;;;;61109:25:::1;::::0;61160:35;;;;;;;;:20;:35;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;61160:35:0;61153:42;::::1;61145:67;;;::::0;;-1:-1:-1;;;61145:67:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;61145:67:0;;;;;;;;;;;;;::::1;;61223:25:::0;;-1:-1:-1;;;;;;61223:25:0::1;-1:-1:-1::0;;;;;61223:25:0;;;::::1;;::::0;;;-1:-1:-1;;;60755:501:0:o;56736:25::-;;;;:::o;69719:196::-;69817:17;;-1:-1:-1;;;;;69817:17:0;69803:10;:31;69795:63;;;;;-1:-1:-1;;;69795:63:0;;;;;;;;;;;;-1:-1:-1;;;69795:63:0;;;;;;;;;;;;;;;69869:17;:38;;-1:-1:-1;;;;;;69869:38:0;-1:-1:-1;;;;;69869:38:0;;;;;;;;;;69719:196::o;63940:961::-;54307:16;54326:9;54307:28;;64004:21:::1;64028:8;64037:4;64028:14;;;;;;;;;;;;;;;;;;64004:38;;64073:4;:20;;;64057:12;:36;64053:75;;64110:7;;;64053:75;64157:12:::0;;:37:::1;::::0;;-1:-1:-1;;;64157:37:0;;64188:4:::1;64157:37;::::0;::::1;::::0;;;64138:16:::1;::::0;-1:-1:-1;;;;;64157:12:0::1;::::0;:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;:12;:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;64157:37:0;;-1:-1:-1;64209:13:0;64205:102:::1;;-1:-1:-1::0;64262:12:0::1;64239:20;::::0;;::::1;:35:::0;64289:7:::1;;64205:102;64322:14;::::0;::::1;::::0;::::1;;64317:138;;64353:14;::::0;::::1;:21:::0;;-1:-1:-1;;64353:21:0::1;64370:4;64353:21:::0;;::::1;::::0;;;64427:15;::::1;::::0;64407::::1;::::0;:36:::1;::::0;:19:::1;:36::i;:::-;64389:15;:54:::0;64317:138:::1;64465:18;64486:49;64500:4;:20;;;64522:12;64486:13;:49::i;:::-;64550:15;::::0;64465:70;;-1:-1:-1;64550:19:0;64546:302:::1;;64586:19;64608:71;64663:15;;64608:50;64642:4;:15;;;64608:29;64623:13;;64608:10;:14;;:29;;;;:::i;:::-;:33:::0;::::1;:50::i;:71::-;64586:93;;64694:41;64716:4;64723:11;64694:13;:41::i;:::-;64774:62;64800:35;64826:8:::0;64800:21:::1;:11:::0;64816:4:::1;64800:15;:21::i;:35::-;64774:21;::::0;::::1;::::0;;:25:::1;:62::i;:::-;64750:21;::::0;::::1;:86:::0;-1:-1:-1;64546:302:0::1;-1:-1:-1::0;;64881:12:0::1;64858:20;::::0;;::::1;:35:::0;54346:1:::1;54358:16:::0;54408:2;54413:8;54408:20;54396:9;54385:8;54377:5;:16;:28;:51;54358:70;;54223:42;-1:-1:-1;;;;;54439:16:0;;54456:10;54489:5;54469:8;54480:5;54469:16;54468:26;;;;;;54439:56;;;;;;;;;;;;;-1:-1:-1;;;;;54439:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;63940:961:0:o;68322:356::-;68381:21;68405:8;68414:4;68405:14;;;;;;;;;;;;;;;;68454;;;:8;:14;;;;;;68469:10;68454:26;;;;;;;;68538:11;;68405:14;;;;;;;68491:12;;68405:14;;-1:-1:-1;68491:59:0;;-1:-1:-1;;;;;68491:12:0;;;;;68469:10;68491:25;:59::i;:::-;68602:11;;68566:48;;;;;;;68596:4;;68584:10;;68566:48;;;;;;;;;68639:1;68625:15;;;68651;;;;:19;-1:-1:-1;;68322:356:0:o;55914:55::-;55968:1;55914:55;:::o;70271:436::-;28162:12;:10;:12::i;:::-;28152:6;;-1:-1:-1;;;;;28152:6:0;;;:22;;;28144:67;;;;;-1:-1:-1;;;28144:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28144:67:0;;;;;;;;;;;;;;;70399:8:::1;:15:::0;70382:14:::1;70425:209;70453:6;70447:3;:12;70425:209;;;70483:21;70507:8;70516:3;70507:13;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;70592:12:::0;;70507:13;;-1:-1:-1;;;;;;70582:22:0;;::::1;70592:12:::0;::::1;70582:22;;70574:48;;;::::0;;-1:-1:-1;;;70574:48:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;70574:48:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;70461:5:0::1;;70425:209;;;-1:-1:-1::0;70668:31:0::1;-1:-1:-1::0;;;;;70668:19:0;::::1;70688:2:::0;70692:6;70668:19:::1;:31::i;:::-;28222:1;70271:436:::0;;;:::o;63672:192::-;54307:16;54326:9;63746:8:::1;:15:::0;54307:28;;-1:-1:-1;63729:14:0::1;63772:85;63800:6;63794:3;:12;63772:85;;;63830:15;63841:3;63830:10;:15::i;:::-;63808:5;;63772:85;;;-1:-1:-1::0;54358:16:0;;-1:-1:-1;54408:2:0;54413:8;54408:20;54396:9;54385:8;54377:5;:16;:28;:51;54358:70;;54223:42;-1:-1:-1;;;;;54439:16:0;;54456:10;54489:5;54469:8;54480:5;54469:16;54468:26;;;;;;54439:56;;;;;;;;;;;;;-1:-1:-1;;;;;54439:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59180:379;28162:12;:10;:12::i;:::-;28152:6;;-1:-1:-1;;;;;28152:6:0;;;:22;;;28144:67;;;;;-1:-1:-1;;;28144:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28144:67:0;;;;;;;;;;;;;;;59278:11:::1;59274:61;;;59306:17;:15;:17::i;:::-;59345:21;59369:8;59378:4;59369:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;59398;::::0;::::1;::::0;59369;;-1:-1:-1;59398:14:0::1;;59394:118;;;59447:53;59488:11;59447:36;59467:4;:15;;;59447;;:19;;:36;;;;:::i;:::-;:40:::0;::::1;:53::i;:::-;59429:15;:71:::0;59394:118:::1;59522:15;;:29:::0;;;;-1:-1:-1;;59180:379:0:o;60069:316::-;28162:12;:10;:12::i;:::-;28152:6;;-1:-1:-1;;;;;28152:6:0;;;:22;;;28144:67;;;;;-1:-1:-1;;;28144:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28144:67:0;;;;;;;;;;;;;;;60192:1:::1;60183:6;:10;;;:24;;;;;60206:1;60197:6;:10;;;60183:24;60175:55;;;::::0;;-1:-1:-1;;;60175:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;60175:55:0;;;;;;;;;;;;;::::1;;60278:12;60249:14;60273:1;60264:6;:10;60249:26;;;;;;;;;;;:41;60241:72;;;::::0;;-1:-1:-1;;;60241:72:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;60241:72:0;;;;;;;;;;;;;::::1;;60356:21;60324;60346:6;60324:29;;;;;;;;28582:148:::0;28162:12;:10;:12::i;:::-;28152:6;;-1:-1:-1;;;;;28152:6:0;;;:22;;;28144:67;;;;;-1:-1:-1;;;28144:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28144:67:0;;;;;;;;;;;;;;;28689:1:::1;28673:6:::0;;28652:40:::1;::::0;-1:-1:-1;;;;;28673:6:0;;::::1;::::0;28652:40:::1;::::0;28689:1;;28652:40:::1;28720:1;28703:19:::0;;-1:-1:-1;;;;;;28703:19:0::1;::::0;;28582:148::o;63367:222::-;63439:7;63483:14;;;:8;:14;;;;;;;;-1:-1:-1;;;;;63483:21:0;;;;;;;;;63522:59;63555:25;63492:4;63498:5;63555:12;:25::i;:::-;63522:28;;;;;:32;:59::i;:::-;63515:66;;;63367:222;;;;;:::o;56331:34::-;;;-1:-1:-1;;;;;56331:34:0;;:::o;27940:79::-;27978:7;28005:6;-1:-1:-1;;;;;28005:6:0;27940:79;:::o;61332:1133::-;61404:7;61445:1;61424:972;61459:1;61448:7;:12;;;61424:972;;61499:14;61524:1;61514:7;:11;61499:27;;;;;;;;;;;61492:3;:34;61488:897;;61560:14;61585:1;61575:7;:11;61560:27;;;;;;;;;;;61551:5;:36;61547:99;;61596:50;61615:21;61637:7;61615:30;;;;;;;;;;;61596:14;:3;61604:5;61596:7;:14::i;:50::-;61589:57;;;;;61547:99;61665:18;61686:72;61727:21;61749:7;61727:30;;;;;;;;;;;61686:36;61694:14;61719:1;61709:7;:11;61694:27;;;;;;;;;;;61686:3;;:7;:36::i;:72::-;61665:93;;61781:7;:12;;61792:1;61781:12;61777:99;;;61802:74;61817:58;61850:21;61872:1;61850:24;;;61817:28;61839:5;61817:14;61832:1;61817:17;;;;:21;:28::i;:58::-;61802:10;;:14;:74::i;:::-;61795:81;;;;;;61777:99;61920:1;61910:7;:11;61900:21;;61895:375;61934:1;61923:7;:12;;;61895:375;;61984:14;62009:1;61999:7;:11;61984:27;;;;;;;;;;;61975:5;:36;61971:135;;62020:86;62035:70;62074:21;62096:7;62074:30;;;;;;;;;;;62035:34;62063:5;62035:14;62050:7;62035:23;;;;;;;;61971:135;62142:108;62157:92;62218:21;62240:7;62218:30;;;;;;;;;;;62157:56;62185:14;62210:1;62200:7;:11;62185:27;;;;;;;;;;;62157:14;62172:7;62157:23;;;;;;;;62142:108;-1:-1:-1;;61937:9:0;;;;62129:121;-1:-1:-1;61895:375:0;;;62295:74;62310:58;62343:21;62365:1;62343:24;;61488:897;-1:-1:-1;;61462:9:0;61424:972;;;-1:-1:-1;62432:21:0;:24;62413:44;;:14;:3;62421:5;62413:7;:14::i;:44::-;62406:51;61332:1133;-1:-1:-1;;;61332:1133:0:o;64976:1743::-;54307:16;54326:9;54307:28;;65073:21:::1;65097:8;65106:4;65097:14;;;;;;;;;::::0;;;::::1;::::0;;;65146;;;:8:::1;:14:::0;;;;;;65161:10:::1;65146:26:::0;;;;;;;65097:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;65183:16:0::1;65155:4:::0;65183:10:::1;:16::i;:::-;65214:14;::::0;-1:-1:-1;;;;;65214:14:0::1;:28:::0;;::::1;::::0;:55:::1;;-1:-1:-1::0;;;;;;65246:23:0;::::1;::::0;::::1;65214:55;65210:228;;;-1:-1:-1::0;;;;;65294:23:0;::::1;65307:10;65294:23;;65286:62;;;::::0;;-1:-1:-1;;;65286:62:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;65376:14;::::0;65363:63:::1;::::0;;-1:-1:-1;;;65363:63:0;;65404:10:::1;65363:63;::::0;::::1;::::0;-1:-1:-1;;;;;65363:63:0;;::::1;::::0;;;;;;65376:14;;;::::1;::::0;65363:40:::1;::::0;:63;;;;;65376:14:::1;::::0;65363:63;;;;;;;65376:14;;65363:63;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;65210:228;65452:11:::0;;:15;65448:957:::1;;65484:15;65502:69;65555:4;:15;;;65502:48;65545:4;65502:38;65518:4;:21;;;65502:4;:11;;;:15;;:38;;;;:::i;:69::-;65484:87:::0;-1:-1:-1;65589:11:0;;65586:808:::1;;65652:28;::::0;::::1;::::0;:41:::1;::::0;65685:7;65652:32:::1;:41::i;:::-;65621:28;::::0;::::1;:72:::0;65712:18:::1;65733:55;65784:3;65733:46;:7:::0;65745:33;65733:11:::1;:46::i;:55::-;65712:76:::0;-1:-1:-1;65835:20:0;;::::1;65880:41;65898:10;65712:76:::0;65880:17:::1;:41::i;:::-;65944:14;::::0;-1:-1:-1;;;;;65944:14:0::1;:28:::0;65940:141:::1;;66022:14;::::0;66009:52:::1;::::0;;-1:-1:-1;;;66009:52:0;;66050:10:::1;66009:52;::::0;::::1;::::0;;;-1:-1:-1;;;;;66022:14:0;;::::1;::::0;66009:40:::1;::::0;:52;;;;;::::1;::::0;;;;;;;;;66022:14;66009:52;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;66009:52:0;;-1:-1:-1;65940:141:0::1;-1:-1:-1::0;;;;;66103:23:0;::::1;::::0;66099:280:::1;;66182:40;66200:9;66211:10;66182:17;:40::i;:::-;66099:280;;;66329:17;::::0;66311:48:::1;::::0;-1:-1:-1;;;;;66329:17:0::1;66348:10:::0;66311:17:::1;:48::i;:::-;65586:808;;;65448:957;;66418:11:::0;;66415:170:::1;;66446:12:::0;;:74:::1;::::0;-1:-1:-1;;;;;66446:12:0::1;66484:10;66505:4;66512:7:::0;66446:29:::1;:74::i;:::-;66549:11:::0;;:24:::1;::::0;66565:7;66549:15:::1;:24::i;:::-;66535:38:::0;;66415:170:::1;66629:21;::::0;::::1;::::0;66613:11;;:48:::1;::::0;66656:4:::1;::::0;66613:38:::1;::::0;:15:::1;:38::i;:48::-;66595:15;::::0;::::1;:66:::0;66677:34:::1;::::0;;;;;;;66697:4;;66685:10:::1;::::0;66677:34:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;54358:16:0;;-1:-1:-1;54408:2:0;54413:8;54408:20;54396:9;54385:8;54377:5;:16;:28;:51;54358:70;;54223:42;-1:-1:-1;;;;;54439:16:0;;54456:10;54489:5;54469:8;54480:5;54469:16;54468:26;;;;;;54439:56;;;;;;;;;;;;;-1:-1:-1;;;;;54439:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;64976:1743:0:o;56483:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;57921:1162::-;28162:12;:10;:12::i;:::-;28152:6;;-1:-1:-1;;;;;28152:6:0;;;:22;;;28144:67;;;;;-1:-1:-1;;;28144:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28144:67:0;;;;;;;;;;;;;;;58048:11:::1;58044:61;;;58076:17;:15;:17::i;:::-;58134:10;;58119:12;:25;58115:520;;;58198:21:::0;58194:238:::1;;-1:-1:-1::0;58259:10:0::1;::::0;58194:238:::1;;;58333:10;;58314:16;:29;58310:107;;;-1:-1:-1::0;58387:10:0::1;::::0;58310:107:::1;58115:520;;;58500:21:::0;;;:56:::1;;;58544:12;58525:16;:31;58500:56;58496:128;;;-1:-1:-1::0;58596:12:0::1;58496:128;58645:15;58680:16;58664:12;:32;;58663:70;;;;;58722:10;;58702:16;:30;;58663:70;58758:213;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;58758:213:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;58758:213:0;;;;;;;::::1;::::0;::::1;::::0;;;;;;58744:8:::1;:228:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;58744:228:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;58744:228:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;58758:213;;-1:-1:-1;58983:93:0::1;;59032:15;::::0;:32:::1;::::0;59052:11;59032:19:::1;:32::i;:::-;59014:15;:50:::0;28222:1:::1;57921:1162:::0;;;;:::o;56188:28::-;;;;:::o;62530:829::-;62602:7;62622:21;62646:8;62655:4;62646:14;;;;;;;;;;;;;;;;62695;;;:8;:14;;;;;;-1:-1:-1;;;;;62695:21:0;;;;;;;;;;;62646:14;;;;;;;;62754:21;;;;62805:12;;:37;;-1:-1:-1;;;62805:37:0;;62836:4;62805:37;;;;;;62646:14;;-1:-1:-1;62695:21:0;;62754;;62646:14;;62805:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62805:37:0;62872:20;;;;62805:37;;-1:-1:-1;62857:12:0;:35;:52;;;;-1:-1:-1;62896:13:0;;;62857:52;62853:417;;;62926:18;62947:49;62961:4;:20;;;62983:12;62947:13;:49::i;:::-;63015:15;;62926:70;;-1:-1:-1;63015:19:0;63011:248;;63055:19;63077:71;63132:15;;63077:50;63111:4;:15;;;63077:29;63092:13;;63077:10;:14;;:29;;;;:::i;:71::-;63055:93;-1:-1:-1;63186:57:0;63207:35;63233:8;63207:21;63055:93;63223:4;63207:15;:21::i;:35::-;63186:16;;:20;:57::i;:::-;63167:76;;63011:248;;62853:417;;63287:64;63335:4;:15;;;63287:43;63325:4;63287:33;63303:16;63287:4;:11;;;:15;;:33;;;;:::i;:64::-;63280:71;62530:829;-1:-1:-1;;;;;;;62530:829:0:o;54173:93::-;54223:42;54173:93;:::o;56912:61::-;;;;;;;;;28885:244;28162:12;:10;:12::i;:::-;28152:6;;-1:-1:-1;;;;;28152:6:0;;;:22;;;28144:67;;;;;-1:-1:-1;;;28144:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28144:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28974:22:0;::::1;28966:73;;;;-1:-1:-1::0;;;28966:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29076:6;::::0;;29055:38:::1;::::0;-1:-1:-1;;;;;29055:38:0;;::::1;::::0;29076:6;::::1;::::0;29055:38:::1;::::0;::::1;29104:6;:17:::0;;-1:-1:-1;;;;;;29104:17:0::1;-1:-1:-1::0;;;;;29104:17:0;;;::::1;::::0;;;::::1;::::0;;28885:244::o;59567:144::-;28162:12;:10;:12::i;:::-;28152:6;;-1:-1:-1;;;;;28152:6:0;;;:22;;;28144:67;;;;;-1:-1:-1;;;28144:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28144:67:0;;;;;;;;;;;;;;;59645:17:::1;:15;:17::i;:::-;59673:13;:30:::0;59567:144::o;26523:106::-;26611:10;26523:106;:::o;5082:471::-;5140:7;5385:6;5381:47;;-1:-1:-1;5415:1:0;5408:8;;5381:47;5452:5;;;5456:1;5452;:5;:1;5476:5;;;;;:10;5468:56;;;;-1:-1:-1;;;5468:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6029:132;6087:7;6114:39;6118:1;6121;6114:39;;;;;;;;;;;;;;;;;:3;:39::i;4192:136::-;4250:7;4277:43;4281:1;4284;4277:43;;;;;;;;;;;;;;;;;:3;:43::i;3728:181::-;3786:7;3818:5;;;3842:6;;;;3834:46;;;;;-1:-1:-1;;;3834:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;69357:285;69453:5;;:30;;;-1:-1:-1;;;69453:30:0;;69477:4;69453:30;;;;;;69434:16;;-1:-1:-1;;;;;69453:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69453:30:0;;-1:-1:-1;69498:18:0;;;69494:141;;;69533:5;;:29;;;-1:-1:-1;;;69533:29:0;;-1:-1:-1;;;;;69533:29:0;;;;;;;;;;;;;;;:5;;;;;:14;;:29;;;;;;;;;;;;;;:5;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69494:141:0;;-1:-1:-1;69494:141:0;;69595:5;;:28;;;-1:-1:-1;;;69595:28:0;;-1:-1:-1;;;;;69595:28:0;;;;;;;;;;;;;;;:5;;;;;:14;;:28;;;;;;;;;;;;;;:5;;:28;;;;;;;;;;69494:141;69357:285;;;:::o;14825:177::-;14935:58;;;-1:-1:-1;;;;;14935:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14935:58:0;-1:-1:-1;;;14935:58:0;;;14908:86;;14928:5;;14908:19;:86::i;15484:622::-;15854:10;;;15853:62;;-1:-1:-1;15870:39:0;;;-1:-1:-1;;;15870:39:0;;15894:4;15870:39;;;;-1:-1:-1;;;;;15870:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15870:39:0;:44;15853:62;15845:152;;;;-1:-1:-1;;;15845:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16035:62;;;-1:-1:-1;;;;;16035:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16035:62:0;-1:-1:-1;;;16035:62:0;;;16008:90;;16028:5;;16008:19;:90::i;68769:472::-;68846:5;;:28;;;-1:-1:-1;;;68846:28:0;;68868:4;68846:28;;;;;;-1:-1:-1;;;;;68846:5:0;;;;:13;;:28;;;;;;;;;;;;;;;:5;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68846:28:0;:49;;;;-1:-1:-1;;;;;;68878:17:0;;;;68846:49;68842:392;;;68934:5;;:19;;;-1:-1:-1;;;68934:19:0;;;;68912;;-1:-1:-1;;;;;68934:5:0;;:17;;:19;;;;;;;;;;;;;;:5;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68934:19:0;69002:5;;:24;;;-1:-1:-1;;;69002:24:0;;;;68934:19;;-1:-1:-1;68968:15:0;;68986:41;;-1:-1:-1;;;;;69002:5:0;;:22;;:24;;;;;68934:19;;69002:24;;;;;;;:5;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69002:24:0;68986:5;;:11;;;-1:-1:-1;;;68986:11:0;;;;-1:-1:-1;;;;;68986:5:0;;;;:9;;:11;;;;;69002:24;;68986:11;;;;;;;;:5;:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68986:11:0;;:15;:41::i;:::-;68968:59;-1:-1:-1;68968:59:0;69046:24;:11;69062:7;69046:15;:24::i;:::-;:34;69042:181;;;69101:5;;-1:-1:-1;;;;;69101:5:0;:10;69112:3;69117:24;:7;69129:11;69117;:24::i;:::-;69101:41;;;;;;;;;;;;;-1:-1:-1;;;;;69101:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69042:181;;;69183:5;;:24;;;-1:-1:-1;;;69183:24:0;;-1:-1:-1;;;;;69183:24:0;;;;;;;;;;;;;;;:5;;;;;:10;;:24;;;;;:5;;:24;;;;;;;:5;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68842:392;;;68769:472;;:::o;15010:205::-;15138:68;;;-1:-1:-1;;;;;15138:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15138:68:0;-1:-1:-1;;;15138:68:0;;;15111:96;;15131:5;;15111:19;:96::i;6657:278::-;6743:7;6778:12;6771:5;6763:28;;;;-1:-1:-1;;;6763:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6802:9;6818:1;6814;:5;;;;;;;6657:278;-1:-1:-1;;;;;6657:278:0:o;4631:192::-;4717:7;4753:12;4745:6;;;;4737:29;;;;-1:-1:-1;;;4737:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4789:5:0;;;4631:192::o;17130:761::-;17554:23;17580:69;17608:4;17580:69;;;;;;;;;;;;;;;;;17588:5;-1:-1:-1;;;;;17580:27:0;;;:69;;;;;:::i;:::-;17664:17;;17554:95;;-1:-1:-1;17664:21:0;17660:224;;17806:10;17795:30;;;;;;;;;;;;;;;-1:-1:-1;17795:30:0;17787:85;;;;-1:-1:-1;;;17787:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11841:196;11944:12;11976:53;11999:6;12007:4;12013:1;12016:12;11976:22;:53::i;:::-;11969:60;11841:196;-1:-1:-1;;;;11841:196:0:o;13218:979::-;13348:12;13381:18;13392:6;13381:10;:18::i;:::-;13373:60;;;;;-1:-1:-1;;;13373:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13507:12;13521:23;13548:6;-1:-1:-1;;;;;13548:11:0;13568:8;13579:4;13548:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13548:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13506:78;;;;13599:7;13595:595;;;13630:10;-1:-1:-1;13623:17:0;;-1:-1:-1;13623:17:0;13595:595;13744:17;;:21;13740:439;;14007:10;14001:17;14068:15;14055:10;14051:2;14047:19;14040:44;13955:148;14143:20;;-1:-1:-1;;;14143:20:0;;;;;;;;;;;;;;;;;14150:12;;14143:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8923:422;9290:20;9329:8;;;8923:422::o
Swarm Source
ipfs://ff6cdc44c2d77c53e7c6fad63ca656feea16808ca1e38ce7b6b146e3151ff2da
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.017894 | 248.5763 | $4.45 |
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.