More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 26,541 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Migrate | 18380236 | 214 days ago | IN | 0 ETH | 0.00092505 | ||||
Set Migrator | 18380229 | 214 days ago | IN | 0 ETH | 0.00035142 | ||||
Enter Staking | 17853871 | 288 days ago | IN | 0 ETH | 0.0021853 | ||||
Withdraw | 17853565 | 288 days ago | IN | 0 ETH | 0.00180216 | ||||
Withdraw | 17489288 | 339 days ago | IN | 0 ETH | 0.00205542 | ||||
Claim | 16667317 | 455 days ago | IN | 0 ETH | 0.0023452 | ||||
Withdraw | 16664423 | 456 days ago | IN | 0 ETH | 0.00326056 | ||||
Leave Staking | 16663390 | 456 days ago | IN | 0 ETH | 0.00467842 | ||||
Leave Staking | 16659256 | 456 days ago | IN | 0 ETH | 0.00330875 | ||||
Leave Staking | 16656198 | 457 days ago | IN | 0 ETH | 0.00372916 | ||||
Withdraw | 16654927 | 457 days ago | IN | 0 ETH | 0.00231065 | ||||
Leave Staking | 16650967 | 458 days ago | IN | 0 ETH | 0.00888854 | ||||
Leave Staking | 16650723 | 458 days ago | IN | 0 ETH | 0.00990165 | ||||
Withdraw | 16650108 | 458 days ago | IN | 0 ETH | 0.00830237 | ||||
Leave Staking | 16649430 | 458 days ago | IN | 0 ETH | 0.00473362 | ||||
Claim | 16621585 | 462 days ago | IN | 0 ETH | 0.00114991 | ||||
Claim | 16621585 | 462 days ago | IN | 0 ETH | 0.00334 | ||||
Withdraw | 16621388 | 462 days ago | IN | 0 ETH | 0.00384613 | ||||
Withdraw | 16609066 | 463 days ago | IN | 0 ETH | 0.00157662 | ||||
Claim | 16561052 | 470 days ago | IN | 0 ETH | 0.00164847 | ||||
Stake Rewards St... | 16554483 | 471 days ago | IN | 0 ETH | 0.00201224 | ||||
Claim | 16487736 | 480 days ago | IN | 0 ETH | 0.00176998 | ||||
Claim | 16487449 | 480 days ago | IN | 0 ETH | 0.00265985 | ||||
Claim | 16484881 | 481 days ago | IN | 0 ETH | 0.00254134 | ||||
Claim | 16446242 | 486 days ago | IN | 0 ETH | 0.00202457 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
VoxMaster
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-13 */ pragma solidity 0.6.12; /** * @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); } /** * @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; } } /** * @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 on 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"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { 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); } } } } /** * @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"); } } } /** * @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)); } } /* * @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; } } /** * @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; } } /** * @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; mapping (address => bool) public _whitelistedAddresses; uint256 private _totalSupply; uint256 private _burnedSupply; uint256 private _burnRate; string private _name; string private _symbol; uint256 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, uint256 decimals, uint256 burnrate, uint256 initSupply) public { _name = name; _symbol = symbol; _decimals = decimals; _burnRate = burnrate; _totalSupply = 0; _mint(msg.sender, initSupply*(10**_decimals)); _burnedSupply = 0; } /** * @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 (uint256) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev Returns the amount of burned tokens. */ function burnedSupply() public view returns (uint256) { return _burnedSupply; } /** * @dev Returns the burnrate. */ function burnRate() public view returns (uint256) { return _burnRate; } /** * @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-transfer}. * * Requirements: * * - `account` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function burn(uint256 amount) public virtual returns (bool) { _burn(_msgSender(), 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"); if (_whitelistedAddresses[sender] == true || _whitelistedAddresses[recipient] == true) { _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); } else { uint256 amount_burn = amount.mul(_burnRate).div(100); uint256 amount_send = amount.sub(amount_burn); require(amount == amount_send + amount_burn, "Burn value invalid"); _burn(sender, amount_burn); amount = amount_send; _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. * * HINT: This function is 'internal' and therefore can only be called from another * function inside this contract! */ 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); _burnedSupply = _burnedSupply.add(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is 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 {burnRate} to a value other than the initial one. */ function _setupBurnrate(uint8 burnrate_) internal virtual { _burnRate = burnrate_; } /** * @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 { } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an minter) that can be granted exclusive access to * specific functions. * * By default, the minter account will be the one that deploys the contract. This * can later be changed with {transferMintership}. * * This module is used through inheritance. It will make available the modifier * `onlyMinter`, which can be applied to your functions to restrict their use to * the minter. */ contract Mintable is Context { /** * @dev So here we seperate the rights of the classic ownership into 'owner' and 'minter' * this way the developer/owner stays the 'owner' and can make changes like adding a pool * at any time but cannot mint anymore as soon as the 'minter' gets changes (to the chef contract) */ address private _minter; event MintershipTransferred(address indexed previousMinter, address indexed newMinter); /** * @dev Initializes the contract setting the deployer as the initial minter. */ constructor () internal { address msgSender = _msgSender(); _minter = msgSender; emit MintershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current minter. */ function minter() public view returns (address) { return _minter; } /** * @dev Throws if called by any account other than the minter. */ modifier onlyMinter() { require(_minter == _msgSender(), "Mintable: caller is not the minter"); _; } /** * @dev Transfers mintership of the contract to a new account (`newMinter`). * Can only be called by the current minter. */ function transferMintership(address newMinter) public virtual onlyMinter { require(newMinter != address(0), "Mintable: new minter is the zero address"); emit MintershipTransferred(_minter, newMinter); _minter = newMinter; } } /* website: vox.finance _ ______ _ __ ___________ _____ _ ______________ | | / / __ \ |/ / / ____/ _/ | / / | / | / / ____/ ____/ | | / / / / / / / /_ / // |/ / /| | / |/ / / / __/ | |/ / /_/ / |_ / __/ _/ // /| / ___ |/ /| / /___/ /___ |___/\____/_/|_(_)_/ /___/_/ |_/_/ |_/_/ |_/\____/_____/ */ // VoxToken contract VoxToken is ERC20("Vox.Finance", "VOX", 18, 0, 1250), Ownable, Mintable { /// @notice Creates `_amount` token to `_to`. Must only be called by the minter (VoxMaster). function mint(address _to, uint256 _amount) public onlyMinter { _mint(_to, _amount); } function setBurnrate(uint8 burnrate_) public onlyOwner { _setupBurnrate(burnrate_); } function addWhitelistedAddress(address _address) public onlyOwner { _whitelistedAddresses[_address] = true; } function removeWhitelistedAddress(address _address) public onlyOwner { _whitelistedAddresses[_address] = false; } } /* website: vox.finance _ ______ _ __ ___________ _____ _ ______________ | | / / __ \ |/ / / ____/ _/ | / / | / | / / ____/ ____/ | | / / / / / / / /_ / // |/ / /| | / |/ / / / __/ | |/ / /_/ / |_ / __/ _/ // /| / ___ |/ /| / /___/ /___ |___/\____/_/|_(_)_/ /___/_/ |_/_/ |_/_/ |_/\____/_____/ */ // Vox Populi token for Governance. contract VoxPopuliToken is ERC20("Vox.Populi", "POPULI", 18, 0, 0), Ownable { /// @notice Creates `_amount` of tokens to `_to`. Must only be called by the minter (VoxMaster). function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); } /// @notice Burns `_amount` of tokens from `_from`. Must only be called by the minter (VoxMaster). function burn(address _from, uint256 _amount) public onlyOwner { _burn(_from, _amount); } } /* website: vox.finance _ ______ _ __ ___________ _____ _ ______________ | | / / __ \ |/ / / ____/ _/ | / / | / | / / ____/ ____/ | | / / / / / / / /_ / // |/ / /| | / |/ / / / __/ | |/ / /_/ / |_ / __/ _/ // /| / ___ |/ /| / /___/ /___ |___/\____/_/|_(_)_/ /___/_/ |_/_/ |_/_/ |_/\____/_____/ */ interface IMigrationMaster { // Perform LP token migration for swapping liquidity providers. // 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. // // Migrator must have allowance access to old LP tokens. // EXACTLY the same amount of new LP tokens must be minted or // else something bad will happen. This function is meant to be used to swap // to the native liquidity provider in the future (see the VOX roadmap)! function migrate(IERC20 token) external returns (IERC20); } contract VoxMaster is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. uint256 pendingRewards; // Pending rewards for user. // // We do some fancy math here. Basically, any point in time, the amount of VOXs // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accVoxPerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accVoxPerShare` (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. } // Info of each pool. struct PoolInfo { IERC20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. VOXs to distribute per block. uint256 lastRewardBlock; // Last block number that VOXs distribution occurs. uint256 accVoxPerShare; // Accumulated VOXs per share, times 1e12. See below. } // VOX token VoxToken public vox; // POPULI token VoxPopuliToken public populi; // Dev fund (4%, initially) uint256 public devFundDivRate = 25; // Dev address. address public devaddr; // Block number when bonus VOX period ends. uint256 public bonusEndBlock; // VOX tokens created per block. uint256 public voxPerBlock; // Bonus muliplier for early vox liquidity providers. uint256 public BONUS_MULTIPLIER = 1; // The migrator contract. It has a lot of power. Can only be set through governance (owner). IMigrationMaster 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 points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The block number when VOX mining starts. uint256 public startBlock; // Events event Recovered(address token, uint256 amount); event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event Claim(address indexed user, uint256 indexed pid, uint256 amount); event ClaimAndStake(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw( address indexed user, uint256 indexed pid, uint256 amount ); constructor( VoxToken _vox, VoxPopuliToken _populi, address _devaddr, uint256 _voxPerBlock, uint256 _startBlock, uint256 _bonusEndBlock ) public { vox = _vox; populi = _populi; devaddr = _devaddr; voxPerBlock = _voxPerBlock; bonusEndBlock = _bonusEndBlock; startBlock = _startBlock; // staking pool poolInfo.push(PoolInfo({ lpToken: _vox, allocPoint: 1000, lastRewardBlock: startBlock, accVoxPerShare: 0 })); totalAllocPoint = 1000; } function poolLength() external view returns (uint256) { return poolInfo.length; } // Return reward multiplier over the given _from to _to block. function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) { if (_to <= bonusEndBlock) { return _to.sub(_from).mul(BONUS_MULTIPLIER); } else if (_from >= bonusEndBlock) { return _to.sub(_from); } else { return bonusEndBlock.sub(_from).mul(BONUS_MULTIPLIER).add( _to.sub(bonusEndBlock) ); } } // 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 ) public onlyOwner { if (_withUpdate) { massUpdatePools(); } uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolInfo.push( PoolInfo({ lpToken: _lpToken, allocPoint: _allocPoint, lastRewardBlock: lastRewardBlock, accVoxPerShare: 0 }) ); updateStakingPool(); } // Update the given pool's VOX allocation point. Can only be called by the owner. function set( uint256 _pid, uint256 _allocPoint, bool _withUpdate ) public onlyOwner { if (_withUpdate) { massUpdatePools(); } totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add( _allocPoint ); uint256 prevAllocPoint = poolInfo[_pid].allocPoint; poolInfo[_pid].allocPoint = _allocPoint; if (prevAllocPoint != _allocPoint) { updateStakingPool(); } } function updateStakingPool() internal { uint256 length = poolInfo.length; uint256 points = 0; for (uint256 pid = 1; pid < length; ++pid) { points = points.add(poolInfo[pid].allocPoint); } if (points != 0) { points = points.div(3); totalAllocPoint = totalAllocPoint.sub(poolInfo[0].allocPoint).add(points); poolInfo[0].allocPoint = points; } } // Migrate lp token to another lp contract. Can be called by anyone. // We trust that migrator contract is good. function migrate(uint256 _pid) public { 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; } // View function to see pending VOXs on frontend. function pendingVox(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accVoxPerShare = pool.accVoxPerShare; uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (block.number > pool.lastRewardBlock && lpSupply != 0) { uint256 multiplier = getMultiplier( pool.lastRewardBlock, block.number ); uint256 voxReward = multiplier .mul(voxPerBlock) .mul(pool.allocPoint) .div(totalAllocPoint); accVoxPerShare = accVoxPerShare.add( voxReward.mul(1e12).div(lpSupply) ); } return user.amount.mul(accVoxPerShare).div(1e12).sub(user.rewardDebt).add(user.pendingRewards); } // Update reward vairables for all pools. Be careful of gas spending! function massUpdatePools() public { 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 { 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; } uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 voxReward = multiplier .mul(voxPerBlock) .mul(pool.allocPoint) .div(totalAllocPoint); vox.mint(devaddr, voxReward.div(devFundDivRate)); vox.mint(address(this), voxReward); pool.accVoxPerShare = pool.accVoxPerShare.add( voxReward.mul(1e12).div(lpSupply) ); pool.lastRewardBlock = block.number; } // Deposit LP tokens to VoxMaster for VOX allocation. function deposit(uint256 _pid, uint256 _amount, bool _withdrawRewards) public { require (_pid != 0, 'please deposit VOX by staking'); PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user .amount .mul(pool.accVoxPerShare) .div(1e12) .sub(user.rewardDebt); if (pending > 0) { user.pendingRewards = user.pendingRewards.add(pending); if (_withdrawRewards) { safeVoxTransfer(msg.sender, user.pendingRewards); emit Claim(msg.sender, _pid, user.pendingRewards); user.pendingRewards = 0; } } } if (_amount > 0) { pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount); user.amount = user.amount.add(_amount); } user.rewardDebt = user.amount.mul(pool.accVoxPerShare).div(1e12); emit Deposit(msg.sender, _pid, _amount); } // Withdraw LP tokens from VoxMaster. function withdraw(uint256 _pid, uint256 _amount, bool _withdrawRewards) public { require (_pid != 0, 'please withdraw VOX by unstaking'); 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.accVoxPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0) { user.pendingRewards = user.pendingRewards.add(pending); if (_withdrawRewards) { safeVoxTransfer(msg.sender, user.pendingRewards); emit Claim(msg.sender, _pid, user.pendingRewards); user.pendingRewards = 0; } } if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.lpToken.safeTransfer(address(msg.sender), _amount); } user.rewardDebt = user.amount.mul(pool.accVoxPerShare).div(1e12); emit Withdraw(msg.sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public { require (_pid != 0, 'please withdraw VOX by unstaking'); 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; user.pendingRewards = 0; } // Claim rewards from VoxMaster. function claim(uint256 _pid) public { require (_pid != 0, 'please claim staking rewards on stake page'); PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); uint256 pending = user.amount.mul(pool.accVoxPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0 || user.pendingRewards > 0) { user.pendingRewards = user.pendingRewards.add(pending); safeVoxTransfer(msg.sender, user.pendingRewards); emit Claim(msg.sender, _pid, user.pendingRewards); user.pendingRewards = 0; } user.rewardDebt = user.amount.mul(pool.accVoxPerShare).div(1e12); } // Claim rewards from VoxMaster and deposit them directly to staking pool. function claimAndStake(uint256 _pid) public { require (_pid != 0, 'please claim and stake staking rewards on stake page'); PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); uint256 pending = user.amount.mul(pool.accVoxPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0 || user.pendingRewards > 0) { user.pendingRewards = user.pendingRewards.add(pending); transferToStake(user.pendingRewards); emit ClaimAndStake(msg.sender, _pid, user.pendingRewards); user.pendingRewards = 0; } user.rewardDebt = user.amount.mul(pool.accVoxPerShare).div(1e12); } // Transfer rewards from LP pools to staking pool. function transferToStake(uint256 _amount) internal { PoolInfo storage pool = poolInfo[0]; UserInfo storage user = userInfo[0][msg.sender]; updatePool(0); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accVoxPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0) { user.pendingRewards = user.pendingRewards.add(pending); } } if (_amount > 0) { user.amount = user.amount.add(_amount); } user.rewardDebt = user.amount.mul(pool.accVoxPerShare).div(1e12); populi.mint(msg.sender, _amount); emit Deposit(msg.sender, 0, _amount); } // Stake VOX tokens to VoxMaster. function enterStaking(uint256 _amount, bool _withdrawRewards) public { PoolInfo storage pool = poolInfo[0]; UserInfo storage user = userInfo[0][msg.sender]; updatePool(0); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accVoxPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0) { user.pendingRewards = user.pendingRewards.add(pending); if (_withdrawRewards) { safeVoxTransfer(msg.sender, user.pendingRewards); user.pendingRewards = 0; } } } if (_amount > 0) { pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount); user.amount = user.amount.add(_amount); } user.rewardDebt = user.amount.mul(pool.accVoxPerShare).div(1e12); populi.mint(msg.sender, _amount); emit Deposit(msg.sender, 0, _amount); } // Withdraw VOX tokens from staking. function leaveStaking(uint256 _amount, bool _withdrawRewards) public { PoolInfo storage pool = poolInfo[0]; UserInfo storage user = userInfo[0][msg.sender]; require(user.amount >= _amount, "unstake: not good"); require(populi.balanceOf(msg.sender) >= _amount, "unstake: not enough POPULI tokens"); updatePool(0); uint256 pending = user.amount.mul(pool.accVoxPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0) { user.pendingRewards = user.pendingRewards.add(pending); if (_withdrawRewards) { safeVoxTransfer(msg.sender, user.pendingRewards); user.pendingRewards = 0; } } if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.lpToken.safeTransfer(address(msg.sender), _amount); } user.rewardDebt = user.amount.mul(pool.accVoxPerShare).div(1e12); populi.burn(msg.sender, _amount); emit Withdraw(msg.sender, 0, _amount); } // Claim staking rewards from VoxMaster. function claimStaking() public { PoolInfo storage pool = poolInfo[0]; UserInfo storage user = userInfo[0][msg.sender]; updatePool(0); uint256 pending = user.amount.mul(pool.accVoxPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0 || user.pendingRewards > 0) { user.pendingRewards = user.pendingRewards.add(pending); safeVoxTransfer(msg.sender, user.pendingRewards); emit Claim(msg.sender, 0, user.pendingRewards); user.pendingRewards = 0; } user.rewardDebt = user.amount.mul(pool.accVoxPerShare).div(1e12); } // Transfer staking rewards to staking pool. function stakeRewardsStaking() public { PoolInfo storage pool = poolInfo[0]; UserInfo storage user = userInfo[0][msg.sender]; uint256 rewardsToStake; updatePool(0); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accVoxPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0) { user.pendingRewards = user.pendingRewards.add(pending); } } if (user.pendingRewards > 0) { rewardsToStake = user.pendingRewards; user.pendingRewards = 0; user.amount = user.amount.add(rewardsToStake); } user.rewardDebt = user.amount.mul(pool.accVoxPerShare).div(1e12); populi.mint(msg.sender, rewardsToStake); emit Deposit(msg.sender, 0, rewardsToStake); } // Safe vox transfer function, just in case if rounding error causes pool to not have enough VOXs. function safeVoxTransfer(address _to, uint256 _amount) internal { uint256 voxBal = vox.balanceOf(address(this)); if (_amount > voxBal) { vox.transfer(_to, voxBal); } else { vox.transfer(_to, _amount); } } // Update dev address by the previous dev. function setDevAddr(address _devaddr) public { require(msg.sender == devaddr, "!dev: nice try, amigo"); devaddr = _devaddr; } // **** Additional functions to edit master attributes **** function setVoxPerBlock(uint256 _voxPerBlock) public onlyOwner { require(_voxPerBlock > 0, "!voxPerBlock-0"); voxPerBlock = _voxPerBlock; } function setBonusMultiplier(uint256 _bonusMultiplier) public onlyOwner { require(_bonusMultiplier > 0, "!bonusMultiplier-0"); BONUS_MULTIPLIER = _bonusMultiplier; } function setBonusEndBlock(uint256 _bonusEndBlock) public onlyOwner { bonusEndBlock = _bonusEndBlock; } // Set the migrator contract. Can only be called by the owner. function setMigrator(IMigrationMaster _migrator) public onlyOwner { migrator = _migrator; } function setDevFundDivRate(uint256 _devFundDivRate) public onlyOwner { require(_devFundDivRate > 0, "!devFundDivRate-0"); devFundDivRate = _devFundDivRate; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract VoxToken","name":"_vox","type":"address"},{"internalType":"contract VoxPopuliToken","name":"_populi","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"uint256","name":"_voxPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","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":"Claim","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":"ClaimAndStake","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":"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":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","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":"BONUS_MULTIPLIER","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"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bonusEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"claimAndStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_withdrawRewards","type":"bool"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devFundDivRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_withdrawRewards","type":"bool"}],"name":"enterStaking","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_withdrawRewards","type":"bool"}],"name":"leaveStaking","outputs":[],"stateMutability":"nonpayable","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 IMigrationMaster","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":"pendingVox","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":"accVoxPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"populi","outputs":[{"internalType":"contract VoxPopuliToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_bonusEndBlock","type":"uint256"}],"name":"setBonusEndBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bonusMultiplier","type":"uint256"}],"name":"setBonusMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"setDevAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_devFundDivRate","type":"uint256"}],"name":"setDevFundDivRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMigrationMaster","name":"_migrator","type":"address"}],"name":"setMigrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_voxPerBlock","type":"uint256"}],"name":"setVoxPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeRewardsStaking","outputs":[],"stateMutability":"nonpayable","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":"pendingRewards","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vox","outputs":[{"internalType":"contract VoxToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"voxPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_withdrawRewards","type":"bool"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052601960035560016007556000600b553480156200002057600080fd5b5060405162004f5138038062004f51833981810160405260c08110156200004657600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505060006200009b620002f460201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35085600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550826006819055508060058190555081600c81905550600960405180608001604052808873ffffffffffffffffffffffffffffffffffffffff1681526020016103e88152602001600c5481526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015550506103e8600b81905550505050505050620002fc565b600033905090565b614c45806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c8063630b5ba11161013057806393f1a40b116100b8578063d49e77cd1161007c578063d49e77cd146108e6578063dbda7e7d1461091a578063f2fde38b14610948578063fcc1dfda1461098c578063fd58e63a1461099657610232565b806393f1a40b146107ae5780639665756d1461081e5780639e0af23414610828578063b35443e614610856578063bb38ce50146108b857610232565b8063715018a6116100ff578063715018a6146106d25780637cd07e47146106dc5780638aa28550146107105780638da5cb5b1461072e5780638dbb1e3a1461076257610232565b8063630b5ba11461060c57806364482f791461061657806367550a351461065a5780636ebb64a21461068e57610232565b8063379607f5116101be5780634d6f3698116101825780634d6f36981461053057806351eb05a61461055e5780635312ea8e1461058c57806353819833146105ba578063578e40ea146105d857610232565b8063379607f51461043857806343a0d06614610466578063445e7688146104aa578063454b0608146104e457806348cd4cb11461051257610232565b806317caf6f11161020557806317caf6f11461031a5780631aed6553146103385780631eaaa0451461035657806323cf3118146103b057806333cfcd3b146103f457610232565b806301df2ff1146102375780630705d92014610271578063081e3eda1461028f5780631526fe27146102ad575b600080fd5b61026f6004803603604081101561024d57600080fd5b81019080803590602001909291908035151590602001909291905050506109c4565b005b610279610c9a565b6040518082815260200191505060405180910390f35b610297610ca0565b6040518082815260200191505060405180910390f35b6102d9600480360360208110156102c357600080fd5b8101908080359060200190929190505050610cad565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b610322610d0a565b6040518082815260200191505060405180910390f35b610340610d10565b6040518082815260200191505060405180910390f35b6103ae6004803603606081101561036c57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610d16565b005b6103f2600480360360208110156103c657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ef7565b005b6104366004803603606081101561040a57600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050611003565b005b6104646004803603602081101561044e57600080fd5b8101908080359060200190929190505050611360565b005b6104a86004803603606081101561047c57600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050611565565b005b6104e2600480360360408110156104c057600080fd5b8101908080359060200190929190803515159060200190929190505050611858565b005b610510600480360360208110156104fa57600080fd5b8101908080359060200190929190505050611cb4565b005b61051a6120de565b6040518082815260200191505060405180910390f35b61055c6004803603602081101561054657600080fd5b81019080803590602001909291905050506120e4565b005b61058a6004803603602081101561057457600080fd5b810190808035906020019092919050505061222c565b005b6105b8600480360360208110156105a257600080fd5b8101908080359060200190929190505050612579565b005b6105c261272c565b6040518082815260200191505060405180910390f35b6105e0612732565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610614612758565b005b6106586004803603606081101561062c57600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050612785565b005b610662612903565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106d0600480360360208110156106a457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612929565b005b6106da612a30565b005b6106e4612bb6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610718612bdc565b6040518082815260200191505060405180910390f35b610736612be2565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107986004803603604081101561077857600080fd5b810190808035906020019092919080359060200190929190505050612c0b565b6040518082815260200191505060405180910390f35b6107fa600480360360408110156107c457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612cbf565b60405180848152602001838152602001828152602001935050505060405180910390f35b610826612cf6565b005b6108546004803603602081101561083e57600080fd5b8101908080359060200190929190505050612ea3565b005b6108a26004803603604081101561086c57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612f75565b6040518082815260200191505060405180910390f35b6108e4600480360360208110156108ce57600080fd5b81019080803590602001909291905050506131d1565b005b6108ee613319565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6109466004803603602081101561093057600080fd5b810190808035906020019092919050505061333f565b005b61098a6004803603602081101561095e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613543565b005b61099461374e565b005b6109c2600480360360208110156109ac57600080fd5b81019080803590602001909291905050506139ca565b005b600060096000815481106109d457fe5b906000526020600020906004020190506000600a600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050610a42600061222c565b600081600001541115610ae5576000610a998260010154610a8b64e8d4a51000610a7d87600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b90506000811115610ae357610abb818360020154613c2c90919063ffffffff16565b82600201819055508315610ae257610ad7338360020154613cb4565b600082600201819055505b5b505b6000841115610b5f57610b3f3330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613f2d909392919063ffffffff16565b610b56848260000154613c2c90919063ffffffff16565b81600001819055505b610b9164e8d4a51000610b8384600301548460000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b8160010181905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933866040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610c2c57600080fd5b505af1158015610c40573d6000803e3d6000fd5b5050505060003373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040518082815260200191505060405180910390a350505050565b60065481565b6000600980549050905090565b60098181548110610cba57fe5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b600b5481565b60055481565b610d1e613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dde576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8015610ded57610dec612758565b5b6000600c544311610e0057600c54610e02565b435b9050610e1984600b54613c2c90919063ffffffff16565b600b81905550600960405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155606082015181600301555050610ef1613ff6565b50505050565b610eff613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fbf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600083141561107a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f706c6561736520776974686472617720564f5820627920756e7374616b696e6781525060200191505060405180910390fd5b60006009848154811061108957fe5b906000526020600020906004020190506000600a600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508381600001541015611167576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b6111708561222c565b60006111ba82600101546111ac64e8d4a5100061119e87600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b90506000811115611257576111dc818360020154613c2c90919063ffffffff16565b82600201819055508315611256576111f8338360020154613cb4565b853373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf784600201546040518082815260200191505060405180910390a3600082600201819055505b5b60008511156112cf57611277858360000154613be290919063ffffffff16565b82600001819055506112ce33868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140e29092919063ffffffff16565b5b61130164e8d4a510006112f385600301548560000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b8260010181905550853373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568876040518082815260200191505060405180910390a3505050505050565b60008114156113ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614b65602a913960400191505060405180910390fd5b6000600982815481106113c957fe5b906000526020600020906004020190506000600a600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506114368361222c565b6000611480826001015461147264e8d4a5100061146487600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b90506000811180611495575060008260020154115b15611525576114b1818360020154613c2c90919063ffffffff16565b82600201819055506114c7338360020154613cb4565b833373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf784600201546040518082815260200191505060405180910390a3600082600201819055505b61155764e8d4a5100061154985600301548560000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b826001018190555050505050565b60008314156115dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f706c65617365206465706f73697420564f58206279207374616b696e6700000081525060200191505060405180910390fd5b6000600984815481106115eb57fe5b906000526020600020906004020190506000600a600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506116588561222c565b60008160000154111561174e5760006116af82600101546116a164e8d4a5100061169387600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b9050600081111561174c576116d1818360020154613c2c90919063ffffffff16565b8260020181905550831561174b576116ed338360020154613cb4565b853373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf784600201546040518082815260200191505060405180910390a3600082600201819055505b5b505b60008411156117c8576117a83330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613f2d909392919063ffffffff16565b6117bf848260000154613c2c90919063ffffffff16565b81600001819055505b6117fa64e8d4a510006117ec84600301548460000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b8160010181905550843373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040518082815260200191505060405180910390a35050505050565b6000600960008154811061186857fe5b906000526020600020906004020190506000600a600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508381600001541015611946576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f756e7374616b653a206e6f7420676f6f6400000000000000000000000000000081525060200191505060405180910390fd5b83600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156119d057600080fd5b505afa1580156119e4573d6000803e3d6000fd5b505050506040513d60208110156119fa57600080fd5b81019080805190602001909291905050501015611a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614bef6021913960400191505060405180910390fd5b611a6c600061222c565b6000611ab68260010154611aa864e8d4a51000611a9a87600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b90506000811115611b0057611ad8818360020154613c2c90919063ffffffff16565b82600201819055508315611aff57611af4338360020154613cb4565b600082600201819055505b5b6000851115611b7857611b20858360000154613be290919063ffffffff16565b8260000181905550611b7733868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140e29092919063ffffffff16565b5b611baa64e8d4a51000611b9c85600301548560000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b8260010181905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33876040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611c4557600080fd5b505af1158015611c59573d6000803e3d6000fd5b5050505060003373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568876040518082815260200191505060405180910390a35050505050565b600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611d79576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f6d6967726174653a206e6f206d69677261746f7200000000000000000000000081525060200191505060405180910390fd5b600060098281548110611d8857fe5b9060005260206000209060040201905060008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611e2a57600080fd5b505afa158015611e3e573d6000803e3d6000fd5b505050506040513d6020811015611e5457600080fd5b81019080805190602001909291905050509050611eb4600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff166141849092919063ffffffff16565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ce5494bb846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015611f4157600080fd5b505af1158015611f55573d6000803e3d6000fd5b505050506040513d6020811015611f6b57600080fd5b810190808051906020019092919050505090508073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611fe557600080fd5b505afa158015611ff9573d6000803e3d6000fd5b505050506040513d602081101561200f57600080fd5b81019080805190602001909291905050508214612094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6d6967726174653a20626164000000000000000000000000000000000000000081525060200191505060405180910390fd5b808460000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b600c5481565b6120ec613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146121ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111612222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f21766f78506572426c6f636b2d3000000000000000000000000000000000000081525060200191505060405180910390fd5b8060068190555050565b60006009828154811061223b57fe5b906000526020600020906004020190508060020154431161225c5750612576565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156122e957600080fd5b505afa1580156122fd573d6000803e3d6000fd5b505050506040513d602081101561231357600080fd5b81019080805190602001909291905050509050600081141561233f574382600201819055505050612576565b600061234f836002015443612c0b565b90506000612392600b54612384866001015461237660065487613b1290919063ffffffff16565b613b1290919063ffffffff16565b613b9890919063ffffffff16565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661240a60035485613b9890919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561245d57600080fd5b505af1158015612471573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561250857600080fd5b505af115801561251c573d6000803e3d6000fd5b5050505061256061254d8461253f64e8d4a5100085613b1290919063ffffffff16565b613b9890919063ffffffff16565b8560030154613c2c90919063ffffffff16565b8460030181905550438460020181905550505050505b50565b60008114156125f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f706c6561736520776974686472617720564f5820627920756e7374616b696e6781525060200191505060405180910390fd5b6000600982815481106125ff57fe5b906000526020600020906004020190506000600a600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506126b63382600001548460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140e29092919063ffffffff16565b823373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583600001546040518082815260200191505060405180910390a3600081600001819055506000816001018190555060008160020181905550505050565b60035481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600980549050905060005b81811015612781576127768161222c565b806001019050612765565b5050565b61278d613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461284d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b801561285c5761285b612758565b5b6128a1826128936009868154811061287057fe5b906000526020600020906004020160010154600b54613be290919063ffffffff16565b613c2c90919063ffffffff16565b600b819055506000600984815481106128b657fe5b906000526020600020906004020160010154905082600985815481106128d857fe5b9060005260206000209060040201600101819055508281146128fd576128fc613ff6565b5b50505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146129ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f216465763a206e696365207472792c20616d69676f000000000000000000000081525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612a38613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612af8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006005548211612c4457612c3d600754612c2f8585613be290919063ffffffff16565b613b1290919063ffffffff16565b9050612cb9565b6005548310612c6757612c608383613be290919063ffffffff16565b9050612cb9565b612cb6612c7f60055484613be290919063ffffffff16565b612ca8600754612c9a87600554613be290919063ffffffff16565b613b1290919063ffffffff16565b613c2c90919063ffffffff16565b90505b92915050565b600a602052816000526040600020602052806000526040600020600091509150508060000154908060010154908060020154905083565b60006009600081548110612d0657fe5b906000526020600020906004020190506000600a600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050612d74600061222c565b6000612dbe8260010154612db064e8d4a51000612da287600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b90506000811180612dd3575060008260020154115b15612e6457612def818360020154613c2c90919063ffffffff16565b8260020181905550612e05338360020154613cb4565b60003373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf784600201546040518082815260200191505060405180910390a3600082600201819055505b612e9664e8d4a51000612e8885600301548560000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b8260010181905550505050565b612eab613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612f6b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060058190555050565b60008060098481548110612f8557fe5b906000526020600020906004020190506000600a600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561307f57600080fd5b505afa158015613093573d6000803e3d6000fd5b505050506040513d60208110156130a957600080fd5b810190808051906020019092919050505090508360020154431180156130d0575060008114155b1561316b5760006130e5856002015443612c0b565b90506000613128600b5461311a886001015461310c60065487613b1290919063ffffffff16565b613b1290919063ffffffff16565b613b9890919063ffffffff16565b90506131666131578461314964e8d4a5100085613b1290919063ffffffff16565b613b9890919063ffffffff16565b85613c2c90919063ffffffff16565b935050505b6131c583600201546131b785600101546131a964e8d4a5100061319b888a60000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b613c2c90919063ffffffff16565b94505050505092915050565b6131d9613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613299576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000811161330f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f2164657646756e64446976526174652d3000000000000000000000000000000081525060200191505060405180910390fd5b8060038190555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000811415613399576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614b106034913960400191505060405180910390fd5b6000600982815481106133a857fe5b906000526020600020906004020190506000600a600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506134158361222c565b600061345f826001015461345164e8d4a5100061344387600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b90506000811180613474575060008260020154115b1561350357613490818360020154613c2c90919063ffffffff16565b82600201819055506134a58260020154614349565b833373ffffffffffffffffffffffffffffffffffffffff167fb0f107b18926877e5cf2f1a9abba8e44d9c414f24ab750d0d522c89f549e54cd84600201546040518082815260200191505060405180910390a3600082600201819055505b61353564e8d4a5100061352785600301548560000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b826001018190555050505050565b61354b613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461360b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613691576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614ac46026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600960008154811061375e57fe5b906000526020600020906004020190506000600a600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006137ce600061222c565b600082600001541115613852576000613825836001015461381764e8d4a5100061380988600301548860000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b9050600081111561385057613847818460020154613c2c90919063ffffffff16565b83600201819055505b505b600082600201541115613890578160020154905060008260020181905550613887818360000154613c2c90919063ffffffff16565b82600001819055505b6138c264e8d4a510006138b485600301548560000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b8260010181905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561395d57600080fd5b505af1158015613971573d6000803e3d6000fd5b5050505060003373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15836040518082815260200191505060405180910390a3505050565b6139d2613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613a92576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111613b08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f21626f6e75734d756c7469706c6965722d30000000000000000000000000000081525060200191505060405180910390fd5b8060078190555050565b600080831415613b255760009050613b92565b6000828402905082848281613b3657fe5b0414613b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614b446021913960400191505060405180910390fd5b809150505b92915050565b6000613bda83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506145ae565b905092915050565b6000613c2483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614674565b905092915050565b600080828401905083811015613caa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015613d3f57600080fd5b505afa158015613d53573d6000803e3d6000fd5b505050506040513d6020811015613d6957600080fd5b8101908080519060200190929190505050905080821115613e5857600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015613e1757600080fd5b505af1158015613e2b573d6000803e3d6000fd5b505050506040513d6020811015613e4157600080fd5b810190808051906020019092919050505050613f28565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015613eeb57600080fd5b505af1158015613eff573d6000803e3d6000fd5b505050506040513d6020811015613f1557600080fd5b8101908080519060200190929190505050505b505050565b613fe8846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614734565b50505050565b600033905090565b60006009805490509050600080600190505b8281101561404e576140416009828154811061402057fe5b90600052602060002090600402016001015483613c2c90919063ffffffff16565b9150806001019050614008565b50600081146140de5761406b600382613b9890919063ffffffff16565b90506140b3816140a5600960008154811061408257fe5b906000526020600020906004020160010154600b54613be290919063ffffffff16565b613c2c90919063ffffffff16565b600b819055508060096000815481106140c857fe5b9060005260206000209060040201600101819055505b5050565b61417f8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614734565b505050565b6000811480614252575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561421557600080fd5b505afa158015614229573d6000803e3d6000fd5b505050506040513d602081101561423f57600080fd5b8101908080519060200190929190505050145b6142a7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180614bb96036913960400191505060405180910390fd5b6143448363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614734565b505050565b6000600960008154811061435957fe5b906000526020600020906004020190506000600a600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506143c7600061222c565b60008160000154111561444b57600061441e826001015461441064e8d4a5100061440287600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b9050600081111561444957614440818360020154613c2c90919063ffffffff16565b82600201819055505b505b60008311156144745761446b838260000154613c2c90919063ffffffff16565b81600001819055505b6144a664e8d4a5100061449884600301548460000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b8160010181905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561454157600080fd5b505af1158015614555573d6000803e3d6000fd5b5050505060003373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a3505050565b6000808311829061465a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561461f578082015181840152602081019050614604565b50505050905090810190601f16801561464c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161466657fe5b049050809150509392505050565b6000838311158290614721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156146e65780820151818401526020810190506146cb565b50505050905090810190601f1680156147135780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6060614796826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166148239092919063ffffffff16565b905060008151111561481e578080602001905160208110156147b757600080fd5b810190808051906020019092919050505061481d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614b8f602a913960400191505060405180910390fd5b5b505050565b6060614832848460008561483b565b90509392505050565b606082471015614896576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614aea6026913960400191505060405180910390fd5b61489f856149e4565b614911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310614961578051825260208201915060208101905060208303925061493e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146149c3576040519150601f19603f3d011682016040523d82523d6000602084013e6149c8565b606091505b50915091506149d88282866149f7565b92505050949350505050565b600080823b905060008111915050919050565b60608315614a0757829050614abc565b600083511115614a1a5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614a81578082015181840152602081019050614a66565b50505050905090810190601f168015614aae5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c706c6561736520636c61696d20616e64207374616b65207374616b696e672072657761726473206f6e207374616b652070616765536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77706c6561736520636c61696d207374616b696e672072657761726473206f6e207374616b6520706167655361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365756e7374616b653a206e6f7420656e6f75676820504f50554c4920746f6b656e73a26469706673582212207f9940c82aebdb6b922559f7bbc1956fc2e30a2105cfb2c62cfdc01afdc2ea3764736f6c634300060c003300000000000000000000000012d102f06da35cc0111eb58017fd2cd28537d0e1000000000000000000000000d6bd082cac5e76183aa95afdb3c5488447cecfb7000000000000000000000000ef3aaa003bc72e94cd5721be0bb5bb3883c8556b000000000000000000000000000000000000000000000000002c68af0bb140000000000000000000000000000000000000000000000000000000000000a8ffe30000000000000000000000000000000000000000000000000000000000a99ceb
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102325760003560e01c8063630b5ba11161013057806393f1a40b116100b8578063d49e77cd1161007c578063d49e77cd146108e6578063dbda7e7d1461091a578063f2fde38b14610948578063fcc1dfda1461098c578063fd58e63a1461099657610232565b806393f1a40b146107ae5780639665756d1461081e5780639e0af23414610828578063b35443e614610856578063bb38ce50146108b857610232565b8063715018a6116100ff578063715018a6146106d25780637cd07e47146106dc5780638aa28550146107105780638da5cb5b1461072e5780638dbb1e3a1461076257610232565b8063630b5ba11461060c57806364482f791461061657806367550a351461065a5780636ebb64a21461068e57610232565b8063379607f5116101be5780634d6f3698116101825780634d6f36981461053057806351eb05a61461055e5780635312ea8e1461058c57806353819833146105ba578063578e40ea146105d857610232565b8063379607f51461043857806343a0d06614610466578063445e7688146104aa578063454b0608146104e457806348cd4cb11461051257610232565b806317caf6f11161020557806317caf6f11461031a5780631aed6553146103385780631eaaa0451461035657806323cf3118146103b057806333cfcd3b146103f457610232565b806301df2ff1146102375780630705d92014610271578063081e3eda1461028f5780631526fe27146102ad575b600080fd5b61026f6004803603604081101561024d57600080fd5b81019080803590602001909291908035151590602001909291905050506109c4565b005b610279610c9a565b6040518082815260200191505060405180910390f35b610297610ca0565b6040518082815260200191505060405180910390f35b6102d9600480360360208110156102c357600080fd5b8101908080359060200190929190505050610cad565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b610322610d0a565b6040518082815260200191505060405180910390f35b610340610d10565b6040518082815260200191505060405180910390f35b6103ae6004803603606081101561036c57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610d16565b005b6103f2600480360360208110156103c657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ef7565b005b6104366004803603606081101561040a57600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050611003565b005b6104646004803603602081101561044e57600080fd5b8101908080359060200190929190505050611360565b005b6104a86004803603606081101561047c57600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050611565565b005b6104e2600480360360408110156104c057600080fd5b8101908080359060200190929190803515159060200190929190505050611858565b005b610510600480360360208110156104fa57600080fd5b8101908080359060200190929190505050611cb4565b005b61051a6120de565b6040518082815260200191505060405180910390f35b61055c6004803603602081101561054657600080fd5b81019080803590602001909291905050506120e4565b005b61058a6004803603602081101561057457600080fd5b810190808035906020019092919050505061222c565b005b6105b8600480360360208110156105a257600080fd5b8101908080359060200190929190505050612579565b005b6105c261272c565b6040518082815260200191505060405180910390f35b6105e0612732565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610614612758565b005b6106586004803603606081101561062c57600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050612785565b005b610662612903565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106d0600480360360208110156106a457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612929565b005b6106da612a30565b005b6106e4612bb6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610718612bdc565b6040518082815260200191505060405180910390f35b610736612be2565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107986004803603604081101561077857600080fd5b810190808035906020019092919080359060200190929190505050612c0b565b6040518082815260200191505060405180910390f35b6107fa600480360360408110156107c457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612cbf565b60405180848152602001838152602001828152602001935050505060405180910390f35b610826612cf6565b005b6108546004803603602081101561083e57600080fd5b8101908080359060200190929190505050612ea3565b005b6108a26004803603604081101561086c57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612f75565b6040518082815260200191505060405180910390f35b6108e4600480360360208110156108ce57600080fd5b81019080803590602001909291905050506131d1565b005b6108ee613319565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6109466004803603602081101561093057600080fd5b810190808035906020019092919050505061333f565b005b61098a6004803603602081101561095e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613543565b005b61099461374e565b005b6109c2600480360360208110156109ac57600080fd5b81019080803590602001909291905050506139ca565b005b600060096000815481106109d457fe5b906000526020600020906004020190506000600a600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050610a42600061222c565b600081600001541115610ae5576000610a998260010154610a8b64e8d4a51000610a7d87600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b90506000811115610ae357610abb818360020154613c2c90919063ffffffff16565b82600201819055508315610ae257610ad7338360020154613cb4565b600082600201819055505b5b505b6000841115610b5f57610b3f3330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613f2d909392919063ffffffff16565b610b56848260000154613c2c90919063ffffffff16565b81600001819055505b610b9164e8d4a51000610b8384600301548460000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b8160010181905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933866040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610c2c57600080fd5b505af1158015610c40573d6000803e3d6000fd5b5050505060003373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040518082815260200191505060405180910390a350505050565b60065481565b6000600980549050905090565b60098181548110610cba57fe5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b600b5481565b60055481565b610d1e613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dde576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8015610ded57610dec612758565b5b6000600c544311610e0057600c54610e02565b435b9050610e1984600b54613c2c90919063ffffffff16565b600b81905550600960405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155606082015181600301555050610ef1613ff6565b50505050565b610eff613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fbf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600083141561107a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f706c6561736520776974686472617720564f5820627920756e7374616b696e6781525060200191505060405180910390fd5b60006009848154811061108957fe5b906000526020600020906004020190506000600a600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508381600001541015611167576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b6111708561222c565b60006111ba82600101546111ac64e8d4a5100061119e87600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b90506000811115611257576111dc818360020154613c2c90919063ffffffff16565b82600201819055508315611256576111f8338360020154613cb4565b853373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf784600201546040518082815260200191505060405180910390a3600082600201819055505b5b60008511156112cf57611277858360000154613be290919063ffffffff16565b82600001819055506112ce33868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140e29092919063ffffffff16565b5b61130164e8d4a510006112f385600301548560000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b8260010181905550853373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568876040518082815260200191505060405180910390a3505050505050565b60008114156113ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614b65602a913960400191505060405180910390fd5b6000600982815481106113c957fe5b906000526020600020906004020190506000600a600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506114368361222c565b6000611480826001015461147264e8d4a5100061146487600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b90506000811180611495575060008260020154115b15611525576114b1818360020154613c2c90919063ffffffff16565b82600201819055506114c7338360020154613cb4565b833373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf784600201546040518082815260200191505060405180910390a3600082600201819055505b61155764e8d4a5100061154985600301548560000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b826001018190555050505050565b60008314156115dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f706c65617365206465706f73697420564f58206279207374616b696e6700000081525060200191505060405180910390fd5b6000600984815481106115eb57fe5b906000526020600020906004020190506000600a600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506116588561222c565b60008160000154111561174e5760006116af82600101546116a164e8d4a5100061169387600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b9050600081111561174c576116d1818360020154613c2c90919063ffffffff16565b8260020181905550831561174b576116ed338360020154613cb4565b853373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf784600201546040518082815260200191505060405180910390a3600082600201819055505b5b505b60008411156117c8576117a83330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613f2d909392919063ffffffff16565b6117bf848260000154613c2c90919063ffffffff16565b81600001819055505b6117fa64e8d4a510006117ec84600301548460000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b8160010181905550843373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040518082815260200191505060405180910390a35050505050565b6000600960008154811061186857fe5b906000526020600020906004020190506000600a600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508381600001541015611946576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f756e7374616b653a206e6f7420676f6f6400000000000000000000000000000081525060200191505060405180910390fd5b83600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156119d057600080fd5b505afa1580156119e4573d6000803e3d6000fd5b505050506040513d60208110156119fa57600080fd5b81019080805190602001909291905050501015611a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614bef6021913960400191505060405180910390fd5b611a6c600061222c565b6000611ab68260010154611aa864e8d4a51000611a9a87600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b90506000811115611b0057611ad8818360020154613c2c90919063ffffffff16565b82600201819055508315611aff57611af4338360020154613cb4565b600082600201819055505b5b6000851115611b7857611b20858360000154613be290919063ffffffff16565b8260000181905550611b7733868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140e29092919063ffffffff16565b5b611baa64e8d4a51000611b9c85600301548560000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b8260010181905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33876040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611c4557600080fd5b505af1158015611c59573d6000803e3d6000fd5b5050505060003373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568876040518082815260200191505060405180910390a35050505050565b600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611d79576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f6d6967726174653a206e6f206d69677261746f7200000000000000000000000081525060200191505060405180910390fd5b600060098281548110611d8857fe5b9060005260206000209060040201905060008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611e2a57600080fd5b505afa158015611e3e573d6000803e3d6000fd5b505050506040513d6020811015611e5457600080fd5b81019080805190602001909291905050509050611eb4600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff166141849092919063ffffffff16565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ce5494bb846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015611f4157600080fd5b505af1158015611f55573d6000803e3d6000fd5b505050506040513d6020811015611f6b57600080fd5b810190808051906020019092919050505090508073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611fe557600080fd5b505afa158015611ff9573d6000803e3d6000fd5b505050506040513d602081101561200f57600080fd5b81019080805190602001909291905050508214612094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6d6967726174653a20626164000000000000000000000000000000000000000081525060200191505060405180910390fd5b808460000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b600c5481565b6120ec613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146121ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111612222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f21766f78506572426c6f636b2d3000000000000000000000000000000000000081525060200191505060405180910390fd5b8060068190555050565b60006009828154811061223b57fe5b906000526020600020906004020190508060020154431161225c5750612576565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156122e957600080fd5b505afa1580156122fd573d6000803e3d6000fd5b505050506040513d602081101561231357600080fd5b81019080805190602001909291905050509050600081141561233f574382600201819055505050612576565b600061234f836002015443612c0b565b90506000612392600b54612384866001015461237660065487613b1290919063ffffffff16565b613b1290919063ffffffff16565b613b9890919063ffffffff16565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661240a60035485613b9890919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561245d57600080fd5b505af1158015612471573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561250857600080fd5b505af115801561251c573d6000803e3d6000fd5b5050505061256061254d8461253f64e8d4a5100085613b1290919063ffffffff16565b613b9890919063ffffffff16565b8560030154613c2c90919063ffffffff16565b8460030181905550438460020181905550505050505b50565b60008114156125f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f706c6561736520776974686472617720564f5820627920756e7374616b696e6781525060200191505060405180910390fd5b6000600982815481106125ff57fe5b906000526020600020906004020190506000600a600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506126b63382600001548460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140e29092919063ffffffff16565b823373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583600001546040518082815260200191505060405180910390a3600081600001819055506000816001018190555060008160020181905550505050565b60035481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600980549050905060005b81811015612781576127768161222c565b806001019050612765565b5050565b61278d613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461284d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b801561285c5761285b612758565b5b6128a1826128936009868154811061287057fe5b906000526020600020906004020160010154600b54613be290919063ffffffff16565b613c2c90919063ffffffff16565b600b819055506000600984815481106128b657fe5b906000526020600020906004020160010154905082600985815481106128d857fe5b9060005260206000209060040201600101819055508281146128fd576128fc613ff6565b5b50505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146129ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f216465763a206e696365207472792c20616d69676f000000000000000000000081525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612a38613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612af8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006005548211612c4457612c3d600754612c2f8585613be290919063ffffffff16565b613b1290919063ffffffff16565b9050612cb9565b6005548310612c6757612c608383613be290919063ffffffff16565b9050612cb9565b612cb6612c7f60055484613be290919063ffffffff16565b612ca8600754612c9a87600554613be290919063ffffffff16565b613b1290919063ffffffff16565b613c2c90919063ffffffff16565b90505b92915050565b600a602052816000526040600020602052806000526040600020600091509150508060000154908060010154908060020154905083565b60006009600081548110612d0657fe5b906000526020600020906004020190506000600a600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050612d74600061222c565b6000612dbe8260010154612db064e8d4a51000612da287600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b90506000811180612dd3575060008260020154115b15612e6457612def818360020154613c2c90919063ffffffff16565b8260020181905550612e05338360020154613cb4565b60003373ffffffffffffffffffffffffffffffffffffffff167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf784600201546040518082815260200191505060405180910390a3600082600201819055505b612e9664e8d4a51000612e8885600301548560000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b8260010181905550505050565b612eab613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612f6b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060058190555050565b60008060098481548110612f8557fe5b906000526020600020906004020190506000600a600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561307f57600080fd5b505afa158015613093573d6000803e3d6000fd5b505050506040513d60208110156130a957600080fd5b810190808051906020019092919050505090508360020154431180156130d0575060008114155b1561316b5760006130e5856002015443612c0b565b90506000613128600b5461311a886001015461310c60065487613b1290919063ffffffff16565b613b1290919063ffffffff16565b613b9890919063ffffffff16565b90506131666131578461314964e8d4a5100085613b1290919063ffffffff16565b613b9890919063ffffffff16565b85613c2c90919063ffffffff16565b935050505b6131c583600201546131b785600101546131a964e8d4a5100061319b888a60000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b613c2c90919063ffffffff16565b94505050505092915050565b6131d9613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613299576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000811161330f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f2164657646756e64446976526174652d3000000000000000000000000000000081525060200191505060405180910390fd5b8060038190555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000811415613399576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180614b106034913960400191505060405180910390fd5b6000600982815481106133a857fe5b906000526020600020906004020190506000600a600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506134158361222c565b600061345f826001015461345164e8d4a5100061344387600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b90506000811180613474575060008260020154115b1561350357613490818360020154613c2c90919063ffffffff16565b82600201819055506134a58260020154614349565b833373ffffffffffffffffffffffffffffffffffffffff167fb0f107b18926877e5cf2f1a9abba8e44d9c414f24ab750d0d522c89f549e54cd84600201546040518082815260200191505060405180910390a3600082600201819055505b61353564e8d4a5100061352785600301548560000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b826001018190555050505050565b61354b613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461360b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613691576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614ac46026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600960008154811061375e57fe5b906000526020600020906004020190506000600a600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060006137ce600061222c565b600082600001541115613852576000613825836001015461381764e8d4a5100061380988600301548860000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b9050600081111561385057613847818460020154613c2c90919063ffffffff16565b83600201819055505b505b600082600201541115613890578160020154905060008260020181905550613887818360000154613c2c90919063ffffffff16565b82600001819055505b6138c264e8d4a510006138b485600301548560000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b8260010181905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561395d57600080fd5b505af1158015613971573d6000803e3d6000fd5b5050505060003373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15836040518082815260200191505060405180910390a3505050565b6139d2613fee565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613a92576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111613b08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f21626f6e75734d756c7469706c6965722d30000000000000000000000000000081525060200191505060405180910390fd5b8060078190555050565b600080831415613b255760009050613b92565b6000828402905082848281613b3657fe5b0414613b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614b446021913960400191505060405180910390fd5b809150505b92915050565b6000613bda83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506145ae565b905092915050565b6000613c2483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614674565b905092915050565b600080828401905083811015613caa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015613d3f57600080fd5b505afa158015613d53573d6000803e3d6000fd5b505050506040513d6020811015613d6957600080fd5b8101908080519060200190929190505050905080821115613e5857600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015613e1757600080fd5b505af1158015613e2b573d6000803e3d6000fd5b505050506040513d6020811015613e4157600080fd5b810190808051906020019092919050505050613f28565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015613eeb57600080fd5b505af1158015613eff573d6000803e3d6000fd5b505050506040513d6020811015613f1557600080fd5b8101908080519060200190929190505050505b505050565b613fe8846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614734565b50505050565b600033905090565b60006009805490509050600080600190505b8281101561404e576140416009828154811061402057fe5b90600052602060002090600402016001015483613c2c90919063ffffffff16565b9150806001019050614008565b50600081146140de5761406b600382613b9890919063ffffffff16565b90506140b3816140a5600960008154811061408257fe5b906000526020600020906004020160010154600b54613be290919063ffffffff16565b613c2c90919063ffffffff16565b600b819055508060096000815481106140c857fe5b9060005260206000209060040201600101819055505b5050565b61417f8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614734565b505050565b6000811480614252575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561421557600080fd5b505afa158015614229573d6000803e3d6000fd5b505050506040513d602081101561423f57600080fd5b8101908080519060200190929190505050145b6142a7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180614bb96036913960400191505060405180910390fd5b6143448363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614734565b505050565b6000600960008154811061435957fe5b906000526020600020906004020190506000600a600080815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506143c7600061222c565b60008160000154111561444b57600061441e826001015461441064e8d4a5100061440287600301548760000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b613be290919063ffffffff16565b9050600081111561444957614440818360020154613c2c90919063ffffffff16565b82600201819055505b505b60008311156144745761446b838260000154613c2c90919063ffffffff16565b81600001819055505b6144a664e8d4a5100061449884600301548460000154613b1290919063ffffffff16565b613b9890919063ffffffff16565b8160010181905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561454157600080fd5b505af1158015614555573d6000803e3d6000fd5b5050505060003373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a3505050565b6000808311829061465a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561461f578082015181840152602081019050614604565b50505050905090810190601f16801561464c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161466657fe5b049050809150509392505050565b6000838311158290614721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156146e65780820151818401526020810190506146cb565b50505050905090810190601f1680156147135780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6060614796826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166148239092919063ffffffff16565b905060008151111561481e578080602001905160208110156147b757600080fd5b810190808051906020019092919050505061481d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614b8f602a913960400191505060405180910390fd5b5b505050565b6060614832848460008561483b565b90509392505050565b606082471015614896576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614aea6026913960400191505060405180910390fd5b61489f856149e4565b614911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310614961578051825260208201915060208101905060208303925061493e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146149c3576040519150601f19603f3d011682016040523d82523d6000602084013e6149c8565b606091505b50915091506149d88282866149f7565b92505050949350505050565b600080823b905060008111915050919050565b60608315614a0757829050614abc565b600083511115614a1a5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614a81578082015181840152602081019050614a66565b50505050905090810190601f168015614aae5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c706c6561736520636c61696d20616e64207374616b65207374616b696e672072657761726473206f6e207374616b652070616765536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77706c6561736520636c61696d207374616b696e672072657761726473206f6e207374616b6520706167655361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365756e7374616b653a206e6f7420656e6f75676820504f50554c4920746f6b656e73a26469706673582212207f9940c82aebdb6b922559f7bbc1956fc2e30a2105cfb2c62cfdc01afdc2ea3764736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000012d102f06da35cc0111eb58017fd2cd28537d0e1000000000000000000000000d6bd082cac5e76183aa95afdb3c5488447cecfb7000000000000000000000000ef3aaa003bc72e94cd5721be0bb5bb3883c8556b000000000000000000000000000000000000000000000000002c68af0bb140000000000000000000000000000000000000000000000000000000000000a8ffe30000000000000000000000000000000000000000000000000000000000a99ceb
-----Decoded View---------------
Arg [0] : _vox (address): 0x12D102F06da35cC0111EB58017fd2Cd28537d0e1
Arg [1] : _populi (address): 0xd6BD082CAC5e76183aa95aFdB3c5488447CecFB7
Arg [2] : _devaddr (address): 0xef3aAA003Bc72E94Cd5721BE0Bb5bB3883c8556b
Arg [3] : _voxPerBlock (uint256): 12500000000000000
Arg [4] : _startBlock (uint256): 11075555
Arg [5] : _bonusEndBlock (uint256): 11115755
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 00000000000000000000000012d102f06da35cc0111eb58017fd2cd28537d0e1
Arg [1] : 000000000000000000000000d6bd082cac5e76183aa95afdb3c5488447cecfb7
Arg [2] : 000000000000000000000000ef3aaa003bc72e94cd5721be0bb5bb3883c8556b
Arg [3] : 000000000000000000000000000000000000000000000000002c68af0bb14000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000a8ffe3
Arg [5] : 0000000000000000000000000000000000000000000000000000000000a99ceb
Deployed Bytecode Sourcemap
48431:19516:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62704:995;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50169:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;52000:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;50469:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50710:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;50096:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;52820:646;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;67651:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;58676:1077;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;60326:728;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;57433:1192;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;63749:1085;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54668:491;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50800:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;67094:162;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56516:850;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;59824:456;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;49956:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;49888:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;56260:180;;;:::i;:::-;;53561:514;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;49841:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;66871:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30129;;;:::i;:::-;;50401:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;50261:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29487:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;52171:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;50551:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64888:635;;;:::i;:::-;;67459:116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55222:955;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;67764:180;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50018:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;61142:742;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30432:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;65581:851;;;:::i;:::-;;67264:187;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;62704:995;62784:21;62808:8;62817:1;62808:11;;;;;;;;;;;;;;;;;;62784:35;;62830:21;62854:8;:11;62863:1;62854:11;;;;;;;;;;;:23;62866:10;62854:23;;;;;;;;;;;;;;;62830:47;;62888:13;62899:1;62888:10;:13::i;:::-;62930:1;62916:4;:11;;;:15;62912:432;;;62948:15;62966:67;63017:4;:15;;;62966:46;63007:4;62966:36;62982:4;:19;;;62966:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;62948:85;;63062:1;63052:7;:11;63048:285;;;63106:32;63130:7;63106:4;:19;;;:23;;:32;;;;:::i;:::-;63084:4;:19;;:54;;;;63163:16;63159:159;;;63204:48;63220:10;63232:4;:19;;;63204:15;:48::i;:::-;63297:1;63275:4;:19;;:23;;;;63159:159;63048:285;62912:432;;63368:1;63358:7;:11;63354:171;;;63386:74;63424:10;63445:4;63452:7;63386:4;:12;;;;;;;;;;;;:29;;;;:74;;;;;;:::i;:::-;63489:24;63505:7;63489:4;:11;;;:15;;:24;;;;:::i;:::-;63475:4;:11;;:38;;;;63354:171;63553:46;63594:4;63553:36;63569:4;:19;;;63553:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;63535:4;:15;;:64;;;;63612:6;;;;;;;;;;;:11;;;63624:10;63636:7;63612:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63680:1;63668:10;63660:31;;;63683:7;63660:31;;;;;;;;;;;;;;;;;;62704:995;;;;:::o;50169:26::-;;;;:::o;52000:95::-;52045:7;52072:8;:15;;;;52065:22;;52000:95;:::o;50469:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;50710:34::-;;;;:::o;50096:28::-;;;;:::o;52820:646::-;29709:12;:10;:12::i;:::-;29699:22;;:6;;;;;;;;;;:22;;;29691:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52955:11:::1;52951:61;;;52983:17;:15;:17::i;:::-;52951:61;53022:23;53063:10;;53048:12;:25;:79;;53117:10;;53048:79;;;53089:12;53048:79;53022:105;;53156:32;53176:11;53156:15;;:19;;:32;;;;:::i;:::-;53138:15;:50;;;;53199:8;53227:190;;;;;;;;53264:8;53227:190;;;;;;53303:11;53227:190;;;;53350:15;53227:190;;;;53400:1;53227:190;;::::0;53199:229:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53439:19;:17;:19::i;:::-;29769:1;52820:646:::0;;;:::o;67651:105::-;29709:12;:10;:12::i;:::-;29699:22;;:6;;;;;;;;;;:22;;;29691:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67739:9:::1;67728:8;;:20;;;;;;;;;;;;;;;;;;67651:105:::0;:::o;58676:1077::-;58783:1;58775:4;:9;;58766:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58832:21;58856:8;58865:4;58856:14;;;;;;;;;;;;;;;;;;58832:38;;58881:21;58905:8;:14;58914:4;58905:14;;;;;;;;;;;:26;58920:10;58905:26;;;;;;;;;;;;;;;58881:50;;58965:7;58950:4;:11;;;:22;;58942:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59006:16;59017:4;59006:10;:16::i;:::-;59033:15;59051:67;59102:4;:15;;;59051:46;59092:4;59051:36;59067:4;:19;;;59051:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;59033:85;;59143:1;59133:7;:11;59129:329;;;59183:32;59207:7;59183:4;:19;;;:23;;:32;;;;:::i;:::-;59161:4;:19;;:54;;;;59236:16;59232:215;;;59273:48;59289:10;59301:4;:19;;;59273:15;:48::i;:::-;59363:4;59351:10;59345:44;;;59369:4;:19;;;59345:44;;;;;;;;;;;;;;;;;;59430:1;59408:4;:19;;:23;;;;59232:215;59129:329;59482:1;59472:7;:11;59468:152;;;59514:24;59530:7;59514:4;:11;;;:15;;:24;;;;:::i;:::-;59500:4;:11;;:38;;;;59553:55;59587:10;59600:7;59553:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;59468:152;59648:46;59689:4;59648:36;59664:4;:19;;;59648:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;59630:4;:15;;:64;;;;59731:4;59719:10;59710:35;;;59737:7;59710:35;;;;;;;;;;;;;;;;;;58676:1077;;;;;;:::o;60326:728::-;60390:1;60382:4;:9;;60373:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60449:21;60473:8;60482:4;60473:14;;;;;;;;;;;;;;;;;;60449:38;;60498:21;60522:8;:14;60531:4;60522:14;;;;;;;;;;;:26;60537:10;60522:26;;;;;;;;;;;;;;;60498:50;;60559:16;60570:4;60559:10;:16::i;:::-;60586:15;60604:67;60655:4;:15;;;60604:46;60645:4;60604:36;60620:4;:19;;;60604:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;60586:85;;60696:1;60686:7;:11;:38;;;;60723:1;60701:4;:19;;;:23;60686:38;60682:290;;;60763:32;60787:7;60763:4;:19;;;:23;;:32;;;;:::i;:::-;60741:4;:19;;:54;;;;60810:48;60826:10;60838:4;:19;;;60810:15;:48::i;:::-;60896:4;60884:10;60878:44;;;60902:4;:19;;;60878:44;;;;;;;;;;;;;;;;;;60959:1;60937:4;:19;;:23;;;;60682:290;61000:46;61041:4;61000:36;61016:4;:19;;;61000:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;60982:4;:15;;:64;;;;60326:728;;;;:::o;57433:1192::-;57539:1;57531:4;:9;;57522:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57585:21;57609:8;57618:4;57609:14;;;;;;;;;;;;;;;;;;57585:38;;57634:21;57658:8;:14;57667:4;57658:14;;;;;;;;;;;:26;57673:10;57658:26;;;;;;;;;;;;;;;57634:50;;57695:16;57706:4;57695:10;:16::i;:::-;57740:1;57726:4;:11;;;:15;57722:590;;;57758:15;57776:139;57899:4;:15;;;57776:100;57871:4;57776:72;57828:4;:19;;;57776:4;:29;;;:51;;:72;;;;:::i;:::-;:94;;:100;;;;:::i;:::-;:122;;:139;;;;:::i;:::-;57758:157;;57958:1;57948:7;:11;57944:357;;;58002:32;58026:7;58002:4;:19;;;:23;;:32;;;;:::i;:::-;57980:4;:19;;:54;;;;58059:16;58055:231;;;58100:48;58116:10;58128:4;:19;;;58100:15;:48::i;:::-;58194:4;58182:10;58176:44;;;58200:4;:19;;;58176:44;;;;;;;;;;;;;;;;;;58265:1;58243:4;:19;;:23;;;;58055:231;57944:357;57722:590;;58336:1;58326:7;:11;58322:171;;;58354:74;58392:10;58413:4;58420:7;58354:4;:12;;;;;;;;;;;;:29;;;;:74;;;;;;:::i;:::-;58457:24;58473:7;58457:4;:11;;;:15;;:24;;;;:::i;:::-;58443:4;:11;;:38;;;;58322:171;58521:46;58562:4;58521:36;58537:4;:19;;;58521:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;58503:4;:15;;:64;;;;58603:4;58591:10;58583:34;;;58609:7;58583:34;;;;;;;;;;;;;;;;;;57433:1192;;;;;:::o;63749:1085::-;63829:21;63853:8;63862:1;63853:11;;;;;;;;;;;;;;;;;;63829:35;;63875:21;63899:8;:11;63908:1;63899:11;;;;;;;;;;;:23;63911:10;63899:23;;;;;;;;;;;;;;;63875:47;;63956:7;63941:4;:11;;;:22;;63933:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64036:7;64004:6;;;;;;;;;;;:16;;;64021:10;64004:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:39;;63996:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64092:13;64103:1;64092:10;:13::i;:::-;64116:15;64134:67;64185:4;:15;;;64134:46;64175:4;64134:36;64150:4;:19;;;64134:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;64116:85;;64226:1;64216:7;:11;64212:285;;;64270:32;64294:7;64270:4;:19;;;:23;;:32;;;;:::i;:::-;64248:4;:19;;:54;;;;64327:16;64323:159;;;64368:48;64384:10;64396:4;:19;;;64368:15;:48::i;:::-;64461:1;64439:4;:19;;:23;;;;64323:159;64212:285;64521:1;64511:7;:11;64507:152;;;64553:24;64569:7;64553:4;:11;;;:15;;:24;;;;:::i;:::-;64539:4;:11;;:38;;;;64592:55;64626:10;64639:7;64592:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;64507:152;64687:46;64728:4;64687:36;64703:4;:19;;;64687:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;64669:4;:15;;:64;;;;64746:6;;;;;;;;;;;:11;;;64758:10;64770:7;64746:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64815:1;64803:10;64794:32;;;64818:7;64794:32;;;;;;;;;;;;;;;;;;63749:1085;;;;;:::o;54668:491::-;54754:1;54725:31;;54733:8;;;;;;;;;;;54725:31;;;;54717:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54792:21;54816:8;54825:4;54816:14;;;;;;;;;;;;;;;;;;54792:38;;54841:14;54858:4;:12;;;;;;;;;;;;54841:29;;54881:11;54895:7;:17;;;54921:4;54895:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54881:46;;54938:43;54966:8;;;;;;;;;;;54977:3;54938:7;:19;;;;:43;;;;;:::i;:::-;54992:17;55012:8;;;;;;;;;;;:16;;;55029:7;55012:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54992:45;;55063:10;:20;;;55092:4;55063:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55056:3;:42;55048:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55141:10;55126:4;:12;;;:25;;;;;;;;;;;;;;;;;;54668:491;;;;;:::o;50800:25::-;;;;:::o;67094:162::-;29709:12;:10;:12::i;:::-;29699:22;;:6;;;;;;;;;;:22;;;29691:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67191:1:::1;67176:12;:16;67168:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;67236:12;67222:11;:26;;;;67094:162:::0;:::o;56516:850::-;56568:21;56592:8;56601:4;56592:14;;;;;;;;;;;;;;;;;;56568:38;;56637:4;:20;;;56621:12;:36;56617:75;;56674:7;;;56617:75;56702:16;56721:4;:12;;;;;;;;;;;;:22;;;56752:4;56721:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56702:56;;56785:1;56773:8;:13;56769:102;;;56826:12;56803:4;:20;;:35;;;;56853:7;;;;56769:102;56881:18;56902:49;56916:4;:20;;;56938:12;56902:13;:49::i;:::-;56881:70;;56962:17;56982:111;57077:15;;56982:76;57042:4;:15;;;56982:41;57011:11;;56982:10;:28;;:41;;;;:::i;:::-;:59;;:76;;;;:::i;:::-;:94;;:111;;;;:::i;:::-;56962:131;;57104:3;;;;;;;;;;;:8;;;57113:7;;;;;;;;;;;57122:29;57136:14;;57122:9;:13;;:29;;;;:::i;:::-;57104:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57163:3;;;;;;;;;;;:8;;;57180:4;57187:9;57163:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57230:82;57268:33;57292:8;57268:19;57282:4;57268:9;:13;;:19;;;;:::i;:::-;:23;;:33;;;;:::i;:::-;57230:4;:19;;;:23;;:82;;;;:::i;:::-;57208:4;:19;;:104;;;;57346:12;57323:4;:20;;:35;;;;56516:850;;;;;;:::o;59824:456::-;59900:1;59892:4;:9;;59883:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59949:21;59973:8;59982:4;59973:14;;;;;;;;;;;;;;;;;;59949:38;;59998:21;60022:8;:14;60031:4;60022:14;;;;;;;;;;;:26;60037:10;60022:26;;;;;;;;;;;;;;;59998:50;;60059:59;60093:10;60106:4;:11;;;60059:4;:12;;;;;;;;;;;;:25;;;;:59;;;;;:::i;:::-;60164:4;60152:10;60134:48;;;60170:4;:11;;;60134:48;;;;;;;;;;;;;;;;;;60207:1;60193:4;:11;;:15;;;;60237:1;60219:4;:15;;:19;;;;60271:1;60249:4;:19;;:23;;;;59824:456;;;:::o;49956:34::-;;;;:::o;49888:28::-;;;;;;;;;;;;;:::o;56260:180::-;56305:14;56322:8;:15;;;;56305:32;;56353:11;56348:85;56376:6;56370:3;:12;56348:85;;;56406:15;56417:3;56406:10;:15::i;:::-;56384:5;;;;;56348:85;;;;56260:180;:::o;53561:514::-;29709:12;:10;:12::i;:::-;29699:22;;:6;;;;;;;;;;:22;;;29691:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53693:11:::1;53689:61;;;53721:17;:15;:17::i;:::-;53689:61;53778:87;53843:11;53778:46;53798:8;53807:4;53798:14;;;;;;;;;;;;;;;;;;:25;;;53778:15;;:19;;:46;;;;:::i;:::-;:50;;:87;;;;:::i;:::-;53760:15;:105;;;;53876:22;53901:8;53910:4;53901:14;;;;;;;;;;;;;;;;;;:25;;;53876:50;;53965:11;53937:8;53946:4;53937:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;54009:11;53991:14;:29;53987:81;;54037:19;:17;:19::i;:::-;53987:81;29769:1;53561:514:::0;;;:::o;49841:19::-;;;;;;;;;;;;;:::o;66871:148::-;66949:7;;;;;;;;;;;66935:21;;:10;:21;;;66927:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67003:8;66993:7;;:18;;;;;;;;;;;;;;;;;;66871:148;:::o;30129:::-;29709:12;:10;:12::i;:::-;29699:22;;:6;;;;;;;;;;:22;;;29691:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30236:1:::1;30199:40;;30220:6;::::0;::::1;;;;;;;;30199:40;;;;;;;;;;;;30267:1;30250:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;30129:148::o:0;50401:32::-;;;;;;;;;;;;;:::o;50261:35::-;;;;:::o;29487:79::-;29525:7;29552:6;;;;;;;;;;;29545:13;;29487:79;:::o;52171:480::-;52270:7;52306:13;;52299:3;:20;52295:349;;52343:36;52362:16;;52343:14;52351:5;52343:3;:7;;:14;;;;:::i;:::-;:18;;:36;;;;:::i;:::-;52336:43;;;;52295:349;52410:13;;52401:5;:22;52397:247;;52447:14;52455:5;52447:3;:7;;:14;;;;:::i;:::-;52440:21;;;;52397:247;52518:114;52591:22;52599:13;;52591:3;:7;;:22;;;;:::i;:::-;52518:46;52547:16;;52518:24;52536:5;52518:13;;:17;;:24;;;;:::i;:::-;:28;;:46;;;;:::i;:::-;:50;;:114;;;;:::i;:::-;52494:138;;52171:480;;;;;:::o;50551:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;64888:635::-;64930:21;64954:8;64963:1;64954:11;;;;;;;;;;;;;;;;;;64930:35;;64976:21;65000:8;:11;65009:1;65000:11;;;;;;;;;;;:23;65012:10;65000:23;;;;;;;;;;;;;;;64976:47;;65034:13;65045:1;65034:10;:13::i;:::-;65058:15;65076:67;65127:4;:15;;;65076:46;65117:4;65076:36;65092:4;:19;;;65076:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;65058:85;;65168:1;65158:7;:11;:38;;;;65195:1;65173:4;:19;;;:23;65158:38;65154:287;;;65235:32;65259:7;65235:4;:19;;;:23;;:32;;;;:::i;:::-;65213:4;:19;;:54;;;;65282:48;65298:10;65310:4;:19;;;65282:15;:48::i;:::-;65368:1;65356:10;65350:41;;;65371:4;:19;;;65350:41;;;;;;;;;;;;;;;;;;65428:1;65406:4;:19;;:23;;;;65154:287;65469:46;65510:4;65469:36;65485:4;:19;;;65469:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;65451:4;:15;;:64;;;;64888:635;;;:::o;67459:116::-;29709:12;:10;:12::i;:::-;29699:22;;:6;;;;;;;;;;:22;;;29691:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67553:14:::1;67537:13;:30;;;;67459:116:::0;:::o;55222:955::-;55321:7;55346:21;55370:8;55379:4;55370:14;;;;;;;;;;;;;;;;;;55346:38;;55395:21;55419:8;:14;55428:4;55419:14;;;;;;;;;;;:21;55434:5;55419:21;;;;;;;;;;;;;;;55395:45;;55451:22;55476:4;:19;;;55451:44;;55506:16;55525:4;:12;;;;;;;;;;;;:22;;;55556:4;55525:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55506:56;;55592:4;:20;;;55577:12;:35;:52;;;;;55628:1;55616:8;:13;;55577:52;55573:479;;;55646:18;55667:98;55699:4;:20;;;55738:12;55667:13;:98::i;:::-;55646:119;;55780:17;55800:123;55907:15;;55800:84;55868:4;:15;;;55800:45;55833:11;;55800:10;:32;;:45;;;;:::i;:::-;:67;;:84;;;;:::i;:::-;:106;;:123;;;;:::i;:::-;55780:143;;55955:85;55992:33;56016:8;55992:19;56006:4;55992:9;:13;;:19;;;;:::i;:::-;:23;;:33;;;;:::i;:::-;55955:14;:18;;:85;;;;:::i;:::-;55938:102;;55573:479;;;56082:87;56149:4;:19;;;56082:62;56128:4;:15;;;56082:41;56118:4;56082:31;56098:14;56082:4;:11;;;:15;;:31;;;;:::i;:::-;:35;;:41;;;;:::i;:::-;:45;;:62;;;;:::i;:::-;:66;;:87;;;;:::i;:::-;56062:107;;;;;;55222:955;;;;:::o;67764:180::-;29709:12;:10;:12::i;:::-;29699:22;;:6;;;;;;;;;;:22;;;29691:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67870:1:::1;67852:15;:19;67844:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;67921:15;67904:14;:32;;;;67764:180:::0;:::o;50018:22::-;;;;;;;;;;;;;:::o;61142:742::-;61214:1;61206:4;:9;;61197:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61283:21;61307:8;61316:4;61307:14;;;;;;;;;;;;;;;;;;61283:38;;61332:21;61356:8;:14;61365:4;61356:14;;;;;;;;;;;:26;61371:10;61356:26;;;;;;;;;;;;;;;61332:50;;61393:16;61404:4;61393:10;:16::i;:::-;61420:15;61438:67;61489:4;:15;;;61438:46;61479:4;61438:36;61454:4;:19;;;61438:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;61420:85;;61530:1;61520:7;:11;:38;;;;61557:1;61535:4;:19;;;:23;61520:38;61516:286;;;61597:32;61621:7;61597:4;:19;;;:23;;:32;;;;:::i;:::-;61575:4;:19;;:54;;;;61644:36;61660:4;:19;;;61644:15;:36::i;:::-;61726:4;61714:10;61700:52;;;61732:4;:19;;;61700:52;;;;;;;;;;;;;;;;;;61789:1;61767:4;:19;;:23;;;;61516:286;61830:46;61871:4;61830:36;61846:4;:19;;;61830:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;61812:4;:15;;:64;;;;61142:742;;;;:::o;30432:244::-;29709:12;:10;:12::i;:::-;29699:22;;:6;;;;;;;;;;:22;;;29691:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30541:1:::1;30521:22;;:8;:22;;;;30513:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30631:8;30602:38;;30623:6;::::0;::::1;;;;;;;;30602:38;;;;;;;;;;;;30660:8;30651:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;30432:244:::0;:::o;65581:851::-;65630:21;65654:8;65663:1;65654:11;;;;;;;;;;;;;;;;;;65630:35;;65676:21;65700:8;:11;65709:1;65700:11;;;;;;;;;;;:23;65712:10;65700:23;;;;;;;;;;;;;;;65676:47;;65734:22;65767:13;65778:1;65767:10;:13::i;:::-;65809:1;65795:4;:11;;;:15;65791:253;;;65827:15;65845:67;65896:4;:15;;;65845:46;65886:4;65845:36;65861:4;:19;;;65845:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;65827:85;;65941:1;65931:7;:11;65927:106;;;65985:32;66009:7;65985:4;:19;;;:23;;:32;;;;:::i;:::-;65963:4;:19;;:54;;;;65927:106;65791:253;;66080:1;66058:4;:19;;;:23;66054:190;;;66115:4;:19;;;66098:36;;66171:1;66149:4;:19;;:23;;;;66201:31;66217:14;66201:4;:11;;;:15;;:31;;;;:::i;:::-;66187:4;:11;;:45;;;;66054:190;66272:46;66313:4;66272:36;66288:4;:19;;;66272:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;66254:4;:15;;:64;;;;66331:6;;;;;;;;;;;:11;;;66343:10;66355:14;66331:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66406:1;66394:10;66386:38;;;66409:14;66386:38;;;;;;;;;;;;;;;;;;65581:851;;;:::o;67264:187::-;29709:12;:10;:12::i;:::-;29699:22;;:6;;;;;;;;;;:22;;;29691:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67373:1:::1;67354:16;:20;67346:51;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;67427:16;67408;:35;;;;67264:187:::0;:::o;4934:471::-;4992:7;5242:1;5237;:6;5233:47;;;5267:1;5260:8;;;;5233:47;5292:9;5308:1;5304;:5;5292:17;;5337:1;5332;5328;:5;;;;;;:10;5320:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5396:1;5389:8;;;4934:471;;;;;:::o;5881:132::-;5939:7;5966:39;5970:1;5973;5966:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;5959:46;;5881:132;;;;:::o;4044:136::-;4102:7;4129:43;4133:1;4136;4129:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4122:50;;4044:136;;;;:::o;3580:181::-;3638:7;3658:9;3674:1;3670;:5;3658:17;;3699:1;3694;:6;;3686:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3752:1;3745:8;;;3580:181;;;;:::o;66544:271::-;66619:14;66636:3;;;;;;;;;;;:13;;;66658:4;66636:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66619:45;;66689:6;66679:7;:16;66675:133;;;66712:3;;;;;;;;;;;:12;;;66725:3;66730:6;66712:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66675:133;;;66770:3;;;;;;;;;;;:12;;;66783:3;66788:7;66770:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66675:133;66544:271;;;:::o;16724:205::-;16825:96;16845:5;16875:27;;;16904:4;16910:2;16914:5;16852:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16825:19;:96::i;:::-;16724:205;;;;:::o;28125:106::-;28178:15;28213:10;28206:17;;28125:106;:::o;54083:453::-;54132:14;54149:8;:15;;;;54132:32;;54175:14;54209:11;54223:1;54209:15;;54204:115;54232:6;54226:3;:12;54204:115;;;54271:36;54282:8;54291:3;54282:13;;;;;;;;;;;;;;;;;;:24;;;54271:6;:10;;:36;;;;:::i;:::-;54262:45;;54240:5;;;;;54204:115;;;;54343:1;54333:6;:11;54329:200;;54370:13;54381:1;54370:6;:10;;:13;;;;:::i;:::-;54361:22;;54416:55;54464:6;54416:43;54436:8;54445:1;54436:11;;;;;;;;;;;;;;;;;;:22;;;54416:15;;:19;;:43;;;;:::i;:::-;:47;;:55;;;;:::i;:::-;54398:15;:73;;;;54511:6;54486:8;54495:1;54486:11;;;;;;;;;;;;;;;;;;:22;;:31;;;;54329:200;54083:453;;:::o;16539:177::-;16622:86;16642:5;16672:23;;;16697:2;16701:5;16649:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16622:19;:86::i;:::-;16539:177;;;:::o;17198:622::-;17577:1;17568:5;:10;17567:62;;;;17627:1;17584:5;:15;;;17608:4;17615:7;17584:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:44;17567:62;17559:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17722:90;17742:5;17772:22;;;17796:7;17805:5;17749:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17722:19;:90::i;:::-;17198:622;;;:::o;61948:709::-;62010:21;62034:8;62043:1;62034:11;;;;;;;;;;;;;;;;;;62010:35;;62056:21;62080:8;:11;62089:1;62080:11;;;;;;;;;;;:23;62092:10;62080:23;;;;;;;;;;;;;;;62056:47;;62114:13;62125:1;62114:10;:13::i;:::-;62156:1;62142:4;:11;;;:15;62138:253;;;62174:15;62192:67;62243:4;:15;;;62192:46;62233:4;62192:36;62208:4;:19;;;62192:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;:50;;:67;;;;:::i;:::-;62174:85;;62288:1;62278:7;:11;62274:106;;;62332:32;62356:7;62332:4;:19;;;:23;;:32;;;;:::i;:::-;62310:4;:19;;:54;;;;62274:106;62138:253;;62415:1;62405:7;:11;62401:82;;;62447:24;62463:7;62447:4;:11;;;:15;;:24;;;;:::i;:::-;62433:4;:11;;:38;;;;62401:82;62511:46;62552:4;62511:36;62527:4;:19;;;62511:4;:11;;;:15;;:36;;;;:::i;:::-;:40;;:46;;;;:::i;:::-;62493:4;:15;;:64;;;;62570:6;;;;;;;;;;;:11;;;62582:10;62594:7;62570:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62638:1;62626:10;62618:31;;;62641:7;62618:31;;;;;;;;;;;;;;;;;;61948:709;;;:::o;6509:278::-;6595:7;6627:1;6623;:5;6630:12;6615:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6654:9;6670:1;6666;:5;;;;;;6654:17;;6778:1;6771:8;;;6509:278;;;;;:::o;4483:192::-;4569:7;4602:1;4597;:6;;4605:12;4589:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4629:9;4645:1;4641;:5;4629:17;;4666:1;4659:8;;;4483:192;;;;;:::o;18844:761::-;19268:23;19294:69;19322:4;19294:69;;;;;;;;;;;;;;;;;19302:5;19294:27;;;;:69;;;;;:::i;:::-;19268:95;;19398:1;19378:10;:17;:21;19374:224;;;19520:10;19509:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19501:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19374:224;18844:761;;;:::o;11639:195::-;11742:12;11774:52;11796:6;11804:4;11810:1;11813:12;11774:21;:52::i;:::-;11767:59;;11639:195;;;;;:::o;12691:530::-;12818:12;12876:5;12851:21;:30;;12843:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12943:18;12954:6;12943:10;:18::i;:::-;12935:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13069:12;13083:23;13110:6;:11;;13130:5;13138:4;13110:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13068:75;;;;13161:52;13179:7;13188:10;13200:12;13161:17;:52::i;:::-;13154:59;;;;12691:530;;;;;;:::o;8721:422::-;8781:4;8989:12;9100:7;9088:20;9080:28;;9134:1;9127:4;:8;9120:15;;;8721:422;;;:::o;15231:742::-;15346:12;15375:7;15371:595;;;15406:10;15399:17;;;;15371:595;15540:1;15520:10;:17;:21;15516:439;;;15783:10;15777:17;15844:15;15831:10;15827:2;15823:19;15816:44;15731:148;15926:12;15919:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15231:742;;;;;;:::o
Swarm Source
ipfs://7f9940c82aebdb6b922559f7bbc1956fc2e30a2105cfb2c62cfdc01afdc2ea37
Loading...
Loading
Loading...
Loading
OVERVIEW
Let your voice shape the future of decentralized finance.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.