Polygon Sponsored slots available. Book your slot here!
Contract Overview
My Name Tag:
Not Available, login to update
[ Download CSV Export ]
Contract Name:
UnityVault
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-10-21 */ /** *Submitted for verification at polygonscan.com on 2021-10-02 */ // File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract 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 virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @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) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * 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); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errormessage ) internal pure returns (uint256) { require(b > 0, errormessage); return a % b; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @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.4._ */ 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.4._ */ 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); } } } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @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 uunity is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/utils/Pausable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: contracts/interfaces/IMasterChef.sol pragma solidity 0.6.12; interface IMasterChef { function deposit(uint256 _pid, uint256 _amount) external; function withdraw(uint256 _pid, uint256 _amount) external; function enterStaking(uint256 _amount) external; function leaveStaking(uint256 _amount) external; function pendingUnity(uint256 _pid, address _user) external view returns (uint256); function userInfo(uint256 _pid, address _user) external view returns (uint256, uint256); function emergencyWithdraw(uint256 _pid) external; } // File: contracts/UnityVault.sol pragma solidity 0.6.12; contract UnityVault is Ownable, Pausable { using SafeERC20 for IERC20; using SafeMath for uint256; struct UserInfo { uint256 shares; // number of shares for a user uint256 lastDepositedTime; // keeps track of deposited time for potential penalty uint256 unityAtLastUserAction; // keeps track of unity deposited at the last user action uint256 lastUserActionTime; // keeps track of the last user action time } IERC20 public immutable token; // Unity token // IERC20 public immutable receiptToken; // Syrup token IMasterChef public immutable masterchef; mapping(address => UserInfo) public userInfo; uint256 public totalShares; uint256 public lastHarvestedTime; address public admin; address public treasury; uint256 public constant MAX_PERFORMANCE_FEE = 500; // 5% uint256 public constant MAX_CALL_FEE = 100; // 1% uint256 public constant MAX_WITHDRAW_FEE = 100; // 1% uint256 public constant MAX_WITHDRAW_FEE_PERIOD = 72 hours; // 3 days uint256 public performanceFee = 400; // 4% uint256 public callFee = 25; // 0.25% uint256 public withdrawFee = 10; // 0.1% uint256 public withdrawFeePeriod = 72 hours; // 3 days event Deposit(address indexed sender, uint256 amount, uint256 shares, uint256 lastDepositedTime); event Withdraw(address indexed sender, uint256 amount, uint256 shares); event Harvest(address indexed sender, uint256 performanceFee, uint256 callFee); event Pause(); event Unpause(); /** * @notice Constructor * @param _token: Unity token contract * @param _masterchef: MasterChef contract * @param _admin: address of the admin * @param _treasury: address of the treasury (collects fees) */ constructor( IERC20 _token, // IERC20 _receiptToken, IMasterChef _masterchef, address _admin, address _treasury ) public { token = _token; // receiptToken = _receiptToken; masterchef = _masterchef; admin = _admin; treasury = _treasury; // Infinite approve IERC20(_token).safeApprove(address(_masterchef), uint256(-1)); } /** * @notice Checks if the msg.sender is the admin address */ modifier onlyAdmin() { require(msg.sender == admin, "admin: wut?"); _; } /** * @notice Checks if the msg.sender is a contract or a proxy */ modifier notContract() { require(!_isContract(msg.sender), "contract not allowed"); require(msg.sender == tx.origin, "proxy contract not allowed"); _; } /** * @notice Deposits funds into the Unity Vault * @dev Only possible when contract not paused. * @param _amount: number of tokens to deposit (in UNITY) */ function deposit(uint256 _amount) external whenNotPaused notContract { require(_amount > 0, "Nothing to deposit"); uint256 pool = balanceOf(); token.safeTransferFrom(msg.sender, address(this), _amount); uint256 currentShares = 0; if (totalShares != 0) { currentShares = (_amount.mul(totalShares)).div(pool); } else { currentShares = _amount; } UserInfo storage user = userInfo[msg.sender]; user.shares = user.shares.add(currentShares); user.lastDepositedTime = block.timestamp; totalShares = totalShares.add(currentShares); user.unityAtLastUserAction = user.shares.mul(balanceOf()).div(totalShares); user.lastUserActionTime = block.timestamp; _earn(); emit Deposit(msg.sender, _amount, currentShares, block.timestamp); } /** * @notice Withdraws all funds for a user */ function withdrawAll() external notContract { withdraw(userInfo[msg.sender].shares); } /** * @notice Reinvests UNITY tokens into MasterChef * @dev Only possible when contract not paused. */ function harvest() external notContract whenNotPaused { IMasterChef(masterchef).deposit(0, 0); uint256 bal = available(); uint256 currentPerformanceFee = bal.mul(performanceFee).div(10000); token.safeTransfer(treasury, currentPerformanceFee); uint256 currentCallFee = bal.mul(callFee).div(10000); token.safeTransfer(msg.sender, currentCallFee); _earn(); lastHarvestedTime = block.timestamp; emit Harvest(msg.sender, currentPerformanceFee, currentCallFee); } /** * @notice Sets admin address * @dev Only callable by the contract owner. */ function setAdmin(address _admin) external onlyOwner { require(_admin != address(0), "Cannot be zero address"); admin = _admin; } /** * @notice Sets treasury address * @dev Only callable by the contract owner. */ function setTreasury(address _treasury) external onlyOwner { require(_treasury != address(0), "Cannot be zero address"); treasury = _treasury; } /** * @notice Sets performance fee * @dev Only callable by the contract admin. */ function setPerformanceFee(uint256 _performanceFee) external onlyAdmin { require(_performanceFee <= MAX_PERFORMANCE_FEE, "performanceFee cannot be more than MAX_PERFORMANCE_FEE"); performanceFee = _performanceFee; } /** * @notice Sets call fee * @dev Only callable by the contract admin. */ function setCallFee(uint256 _callFee) external onlyAdmin { require(_callFee <= MAX_CALL_FEE, "callFee cannot be more than MAX_CALL_FEE"); callFee = _callFee; } /** * @notice Sets withdraw fee * @dev Only callable by the contract admin. */ function setWithdrawFee(uint256 _withdrawFee) external onlyAdmin { require(_withdrawFee <= MAX_WITHDRAW_FEE, "withdrawFee cannot be more than MAX_WITHDRAW_FEE"); withdrawFee = _withdrawFee; } /** * @notice Sets withdraw fee period * @dev Only callable by the contract admin. */ function setWithdrawFeePeriod(uint256 _withdrawFeePeriod) external onlyAdmin { require( _withdrawFeePeriod <= MAX_WITHDRAW_FEE_PERIOD, "withdrawFeePeriod cannot be more than MAX_WITHDRAW_FEE_PERIOD" ); withdrawFeePeriod = _withdrawFeePeriod; } /** * @notice Withdraws from MasterChef to Vault without caring about rewards. * @dev EMERGENCY ONLY. Only callable by the contract admin. */ function emergencyWithdraw() external onlyAdmin { IMasterChef(masterchef).emergencyWithdraw(0); } /** * @notice Withdraw unexpected tokens sent to the Unity Vault */ function inCaseTokensGetStuck(address _token) external onlyAdmin { require(_token != address(token), "Token cannot be same as deposit token"); // require(_token != address(receiptToken), "Token cannot be same as receipt token"); uint256 amount = IERC20(_token).balanceOf(address(this)); IERC20(_token).safeTransfer(msg.sender, amount); } /** * @notice Triggers stopped state * @dev Only possible when contract not paused. */ function pause() external onlyAdmin whenNotPaused { _pause(); emit Pause(); } /** * @notice Returns to normal state * @dev Only possible when contract is paused. */ function unpause() external onlyAdmin whenPaused { _unpause(); emit Unpause(); } /** * @notice Calculates the expected harvest reward from third party * @return Expected reward to collect in UNITY */ function calculateHarvestUnityRewards() external view returns (uint256) { uint256 amount = IMasterChef(masterchef).pendingUnity(0, address(this)); amount = amount.add(available()); uint256 currentCallFee = amount.mul(callFee).div(10000); return currentCallFee; } /** * @notice Calculates the total pending rewards that can be restaked * @return Returns total pending unity rewards */ function calculateTotalPendingUnityRewards() external view returns (uint256) { uint256 amount = IMasterChef(masterchef).pendingUnity(0, address(this)); amount = amount.add(available()); return amount; } /** * @notice Calculates the price per share */ function getPricePerFullShare() external view returns (uint256) { return totalShares == 0 ? 1e18 : balanceOf().mul(1e18).div(totalShares); } /** * @notice Withdraws from funds from the Unity Vault * @param _shares: Number of shares to withdraw */ function withdraw(uint256 _shares) public notContract { UserInfo storage user = userInfo[msg.sender]; require(_shares > 0, "Nothing to withdraw"); require(_shares <= user.shares, "Withdraw amount exceeds balance"); uint256 currentAmount = (balanceOf().mul(_shares)).div(totalShares); user.shares = user.shares.sub(_shares); totalShares = totalShares.sub(_shares); uint256 bal = available(); if (bal < currentAmount) { uint256 balWithdraw = currentAmount.sub(bal); IMasterChef(masterchef).withdraw(0,balWithdraw); uint256 balAfter = available(); uint256 diff = balAfter.sub(bal); if (diff < balWithdraw) { currentAmount = bal.add(diff); } } if (block.timestamp < user.lastDepositedTime.add(withdrawFeePeriod)) { uint256 currentWithdrawFee = currentAmount.mul(withdrawFee).div(10000); token.safeTransfer(treasury, currentWithdrawFee); currentAmount = currentAmount.sub(currentWithdrawFee); } if (user.shares > 0) { user.unityAtLastUserAction = user.shares.mul(balanceOf()).div(totalShares); } else { user.unityAtLastUserAction = 0; } user.lastUserActionTime = block.timestamp; token.safeTransfer(msg.sender, currentAmount); emit Withdraw(msg.sender, currentAmount, _shares); } /** * @notice Custom logic for how much the vault allows to be borrowed * @dev The contract puts 100% of the tokens to work. */ function available() public view returns (uint256) { return token.balanceOf(address(this)); } /** * @notice Calculates the total underlying tokens * @dev It includes tokens held by the contract and held in MasterChef */ function balanceOf() public view returns (uint256) { (uint256 amount, ) = IMasterChef(masterchef).userInfo(0, address(this)); return token.balanceOf(address(this)).add(amount); } /** * @notice Deposits tokens into MasterChef to earn staking rewards */ function _earn() internal { uint256 bal = available(); if (bal > 0) { IMasterChef(masterchef).deposit(0, bal); } } /** * @notice Checks if address is a contract * @dev It prevents contract from being targetted */ function _isContract(address addr) internal view returns (bool) { uint256 size; assembly { size := extcodesize(addr) } return size > 0; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"contract IMasterChef","name":"_masterchef","type":"address"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastDepositedTime","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"performanceFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"callFee","type":"uint256"}],"name":"Harvest","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":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MAX_CALL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PERFORMANCE_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WITHDRAW_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WITHDRAW_FEE_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateHarvestUnityRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateTotalPendingUnityRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"callFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastHarvestedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterchef","outputs":[{"internalType":"contract IMasterChef","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"performanceFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_callFee","type":"uint256"}],"name":"setCallFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_performanceFee","type":"uint256"}],"name":"setPerformanceFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawFee","type":"uint256"}],"name":"setWithdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawFeePeriod","type":"uint256"}],"name":"setWithdrawFeePeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","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":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"lastDepositedTime","type":"uint256"},{"internalType":"uint256","name":"unityAtLastUserAction","type":"uint256"},{"internalType":"uint256","name":"lastUserActionTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFeePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c06040526101906006556019600755600a6008556203f4806009553480156200002857600080fd5b50604051620044c6380380620044c6833981810160405260808110156200004e57600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919050505060006200008f6200029360201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008060146101000a81548160ff0219169083151502179055508373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508273ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000289837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff166200029b60201b62002e3c179092919060201c565b505050506200082d565b600033905090565b60008114806200036d575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156200032e57600080fd5b505afa15801562000343573d6000803e3d6000fd5b505050506040513d60208110156200035a57600080fd5b8101908080519060200190929190505050145b620003c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180620044906036913960400191505060405180910390fd5b620004698363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506200046e60201b60201c565b505050565b6060620004d7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166200056860201b62003001179092919060201c565b90506000815111156200056357808060200190516020811015620004fa57600080fd5b810190808051906020019092919050505062000562576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018062004466602a913960400191505060405180910390fd5b5b505050565b60606200057f84846000856200058860201b60201c565b90509392505050565b606082471015620005e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180620044406026913960400191505060405180910390fd5b620005f6856200074860201b60201c565b62000669576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310620006bb578051825260208201915060208101905060208303925062000696565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146200071f576040519150601f19603f3d011682016040523d82523d6000602084013e62000724565b606091505b50915091506200073c8282866200075b60201b60201c565b92505050949350505050565b600080823b905060008111915050919050565b606083156200076d5782905062000826565b600083511115620007815782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620007ea578082015181840152602081019050620007cd565b50505050905090810190601f168015620008185780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b60805160601c60a05160601c613b9e620008a260003980610d5f52806113215280611a705280611f8c52806125b952806127715280612df652806133e9525080610eac5280610f6e5280611415528061148d528061153f5280611b4b52806123f752806128c25280612e1a5250613b9e6000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c80638778878211610130578063d4b0de2f116100b8578063f0f442601161007c578063f0f44260146106c6578063f2fde38b1461070a578063f851a4401461074e578063fb1db27814610782578063fc0c546a146107b657610232565b8063d4b0de2f1461061e578063db2e21bc1461063c578063def68a9c14610646578063df10b4e61461068a578063e941fa78146106a857610232565b8063b60f0531116100ff578063b60f053114610568578063b6ac642a14610586578063b6b55f25146105b4578063bdca9165146105e2578063ce99abf71461060057610232565b806387788782146104da5780638da5cb5b146104f857806390321e1a1461052c578063986014981461054a57610232565b806348a0d754116101be578063715018a611610182578063715018a614610480578063722713f71461048a57806377c7b8fc146104a85780638456cb59146104c6578063853828b6146104d057610232565b806348a0d7541461039c5780635c975abb146103ba57806361d027b3146103da578063704b6c021461040e57806370897b231461045257610232565b80632cfc5f01116102055780632cfc5f011461031e5780632e1a7d4d1461033c5780633a98ef391461036a5780633f4ba83a146103885780634641257d1461039257610232565b80631959a002146102375780631efac1b8146102a457806326465826146102d25780632ad5a53f14610300575b600080fd5b6102796004803603602081101561024d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107ea565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b6102d0600480360360208110156102ba57600080fd5b810190808035906020019092919050505061081a565b005b6102fe600480360360208110156102e857600080fd5b8101908080359060200190929190505050610943565b005b610308610a6a565b6040518082815260200191505060405180910390f35b610326610a6f565b6040518082815260200191505060405180910390f35b6103686004803603602081101561035257600080fd5b8101908080359060200190929190505050610a76565b005b61037261100e565b6040518082815260200191505060405180910390f35b610390611014565b005b61039a611187565b005b6103a461153b565b6040518082815260200191505060405180910390f35b6103c2611604565b60405180821515815260200191505060405180910390f35b6103e261161a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104506004803603602081101561042457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611640565b005b61047e6004803603602081101561046857600080fd5b81019080803590602001909291905050506117d6565b005b6104886118fe565b005b610492611a6b565b6040518082815260200191505060405180910390f35b6104b0611c1f565b6040518082815260200191505060405180910390f35b6104ce611c74565b005b6104d8611de8565b005b6104e2611f52565b6040518082815260200191505060405180910390f35b610500611f58565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610534611f81565b6040518082815260200191505060405180910390f35b610552611f87565b6040518082815260200191505060405180910390f35b6105706120a8565b6040518082815260200191505060405180910390f35b6105b26004803603602081101561059c57600080fd5b81019080803590602001909291905050506120ae565b005b6105e0600480360360208110156105ca57600080fd5b81019080803590602001909291905050506121d5565b005b6105ea6125ae565b6040518082815260200191505060405180910390f35b6106086125b4565b6040518082815260200191505060405180910390f35b6106266126a7565b6040518082815260200191505060405180910390f35b6106446126ac565b005b6106886004803603602081101561065c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506127fd565b005b610692612a3a565b6040518082815260200191505060405180910390f35b6106b0612a40565b6040518082815260200191505060405180910390f35b610708600480360360208110156106dc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612a46565b005b61074c6004803603602081101561072057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612bdc565b005b610756612dce565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61078a612df4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107be612e18565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60016020528060005260406000206000915090508060000154908060010154908060020154908060030154905084565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b6203f480811115610939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d815260200180613a9c603d913960400191505060405180910390fd5b8060098190555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b6064811115610a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180613a1d6028913960400191505060405180910390fd5b8060078190555050565b606481565b6203f48081565b610a7f33613019565b15610af2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f636f6e7472616374206e6f7420616c6c6f77656400000000000000000000000081525060200191505060405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b93576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f70726f787920636f6e7472616374206e6f7420616c6c6f77656400000000000081525060200191505060405180910390fd5b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008211610c4c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e6f7468696e6720746f2077697468647261770000000000000000000000000081525060200191505060405180910390fd5b8060000154821115610cc6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f576974686472617720616d6f756e7420657863656564732062616c616e63650081525060200191505060405180910390fd5b6000610cf6600254610ce885610cda611a6b565b61302c90919063ffffffff16565b6130b290919063ffffffff16565b9050610d0f83836000015461313b90919063ffffffff16565b8260000181905550610d2c8360025461313b90919063ffffffff16565b6002819055506000610d3c61153b565b905081811015610e36576000610d5b828461313b90919063ffffffff16565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663441a3e706000836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b158015610dd957600080fd5b505af1158015610ded573d6000803e3d6000fd5b505050506000610dfb61153b565b90506000610e12848361313b90919063ffffffff16565b905082811015610e3257610e2f81856131be90919063ffffffff16565b94505b5050505b610e4f60095484600101546131be90919063ffffffff16565b421015610f07576000610e81612710610e736008548661302c90919063ffffffff16565b6130b290919063ffffffff16565b9050610ef0600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166132469092919063ffffffff16565b610f03818461313b90919063ffffffff16565b9250505b600083600001541115610f5357610f46600254610f38610f25611a6b565b866000015461302c90919063ffffffff16565b6130b290919063ffffffff16565b8360020181905550610f5e565b600083600201819055505b428360030181905550610fb233837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166132469092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688386604051808381526020018281526020019250505060405180910390a250505050565b60025481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b6110df611604565b611151576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b6111596132e8565b7f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b61119033613019565b15611203576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f636f6e7472616374206e6f7420616c6c6f77656400000000000000000000000081525060200191505060405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f70726f787920636f6e7472616374206e6f7420616c6c6f77656400000000000081525060200191505060405180910390fd5b6112ac611604565b1561131f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e2bbb1586000806040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561139b57600080fd5b505af11580156113af573d6000803e3d6000fd5b5050505060006113bd61153b565b905060006113ea6127106113dc6006548561302c90919063ffffffff16565b6130b290919063ffffffff16565b9050611459600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166132469092919063ffffffff16565b60006114846127106114766007548661302c90919063ffffffff16565b6130b290919063ffffffff16565b90506114d133827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166132469092919063ffffffff16565b6114d96133d2565b426003819055503373ffffffffffffffffffffffffffffffffffffffff167f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae06609249548383604051808381526020018281526020019250505060405180910390a2505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156115c457600080fd5b505afa1580156115d8573d6000803e3d6000fd5b505050506040513d60208110156115ee57600080fd5b8101908080519060200190929190505050905090565b60008060149054906101000a900460ff16905090565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61164861347f565b73ffffffffffffffffffffffffffffffffffffffff16611666611f58565b73ffffffffffffffffffffffffffffffffffffffff16146116ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611792576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616e6e6f74206265207a65726f20616464726573730000000000000000000081525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611899576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b6101f48111156118f4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180613a456036913960400191505060405180910390fd5b8060068190555050565b61190661347f565b73ffffffffffffffffffffffffffffffffffffffff16611924611f58565b73ffffffffffffffffffffffffffffffffffffffff16146119ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166393f1a40b6000306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050604080518083038186803b158015611afd57600080fd5b505afa158015611b11573d6000803e3d6000fd5b505050506040513d6040811015611b2757600080fd5b810190808051906020019092919080519060200190929190505050509050611c19817f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611bd057600080fd5b505afa158015611be4573d6000803e3d6000fd5b505050506040513d6020811015611bfa57600080fd5b81019080805190602001909291905050506131be90919063ffffffff16565b91505090565b60008060025414611c6557611c60600254611c52670de0b6b3a7640000611c44611a6b565b61302c90919063ffffffff16565b6130b290919063ffffffff16565b611c6f565b670de0b6b3a76400005b905090565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611d37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b611d3f611604565b15611db2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b611dba613487565b7f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b611df133613019565b15611e64576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f636f6e7472616374206e6f7420616c6c6f77656400000000000000000000000081525060200191505060405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f70726f787920636f6e7472616374206e6f7420616c6c6f77656400000000000081525060200191505060405180910390fd5b611f50600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154610a76565b565b60065481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60075481565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166393b40bec6000306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561201a57600080fd5b505afa15801561202e573d6000803e3d6000fd5b505050506040513d602081101561204457600080fd5b8101908080519060200190929190505050905061207161206261153b565b826131be90919063ffffffff16565b9050600061209e6127106120906007548561302c90919063ffffffff16565b6130b290919063ffffffff16565b9050809250505090565b60035481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b60648111156121cb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180613b036030913960400191505060405180910390fd5b8060088190555050565b6121dd611604565b15612250576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b61225933613019565b156122cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f636f6e7472616374206e6f7420616c6c6f77656400000000000000000000000081525060200191505060405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461236d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f70726f787920636f6e7472616374206e6f7420616c6c6f77656400000000000081525060200191505060405180910390fd5b600081116123e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f4e6f7468696e6720746f206465706f736974000000000000000000000000000081525060200191505060405180910390fd5b60006123ed611a6b565b905061243c3330847f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16613573909392919063ffffffff16565b600080600254146124755761246e826124606002548661302c90919063ffffffff16565b6130b290919063ffffffff16565b9050612479565b8290505b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506124d38282600001546131be90919063ffffffff16565b81600001819055504281600101819055506124f9826002546131be90919063ffffffff16565b600281905550612531600254612523612510611a6b565b846000015461302c90919063ffffffff16565b6130b290919063ffffffff16565b816002018190555042816003018190555061254a6133d2565b3373ffffffffffffffffffffffffffffffffffffffff167f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e85844260405180848152602001838152602001828152602001935050505060405180910390a250505050565b6101f481565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166393b40bec6000306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561264757600080fd5b505afa15801561265b573d6000803e3d6000fd5b505050506040513d602081101561267157600080fd5b8101908080519060200190929190505050905061269e61268f61153b565b826131be90919063ffffffff16565b90508091505090565b606481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461276f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635312ea8e60006040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156127e357600080fd5b505af11580156127f7573d6000803e3d6000fd5b50505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146128c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612965576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806139d26025913960400191505060405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156129ce57600080fd5b505afa1580156129e2573d6000803e3d6000fd5b505050506040513d60208110156129f857600080fd5b81019080805190602001909291905050509050612a3633828473ffffffffffffffffffffffffffffffffffffffff166132469092919063ffffffff16565b5050565b60095481565b60085481565b612a4e61347f565b73ffffffffffffffffffffffffffffffffffffffff16612a6c611f58565b73ffffffffffffffffffffffffffffffffffffffff1614612af5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b98576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616e6e6f74206265207a65726f20616464726573730000000000000000000081525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612be461347f565b73ffffffffffffffffffffffffffffffffffffffff16612c02611f58565b73ffffffffffffffffffffffffffffffffffffffff1614612c8b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612d11576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806139ac6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000811480612f0a575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015612ecd57600080fd5b505afa158015612ee1573d6000803e3d6000fd5b505050506040513d6020811015612ef757600080fd5b8101908080519060200190929190505050145b612f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180613b336036913960400191505060405180910390fd5b612ffc8363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613634565b505050565b60606130108484600085613723565b90509392505050565b600080823b905060008111915050919050565b60008083141561303f57600090506130ac565b600082840290508284828161305057fe5b04146130a7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613a7b6021913960400191505060405180910390fd5b809150505b92915050565b6000808211613129576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161313257fe5b04905092915050565b6000828211156131b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b60008082840190508381101561323c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6132e38363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613634565b505050565b6132f0611604565b613362576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6133a561347f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b60006133dc61153b565b9050600081111561347c577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e2bbb1586000836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561346357600080fd5b505af1158015613477573d6000803e3d6000fd5b505050505b50565b600033905090565b61348f611604565b15613502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861354661347f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b61362e846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613634565b50505050565b6060613696826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166130019092919063ffffffff16565b905060008151111561371e578080602001905160208110156136b757600080fd5b810190808051906020019092919050505061371d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613ad9602a913960400191505060405180910390fd5b5b505050565b60608247101561377e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806139f76026913960400191505060405180910390fd5b613787856138cc565b6137f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106138495780518252602082019150602081019050602083039250613826565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146138ab576040519150601f19603f3d011682016040523d82523d6000602084013e6138b0565b606091505b50915091506138c08282866138df565b92505050949350505050565b600080823b905060008111915050919050565b606083156138ef578290506139a4565b6000835111156139025782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561396957808201518184015260208101905061394e565b50505050905090810190601f1680156139965780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546f6b656e2063616e6e6f742062652073616d65206173206465706f73697420746f6b656e416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c63616c6c4665652063616e6e6f74206265206d6f7265207468616e204d41585f43414c4c5f464545706572666f726d616e63654665652063616e6e6f74206265206d6f7265207468616e204d41585f504552464f524d414e43455f464545536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777769746864726177466565506572696f642063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455f504552494f445361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656477697468647261774665652063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212200f81f23daeb11b8af1799cd8f1f278a770615d7d8cf6777ebaa961c5b21cbcf164736f6c634300060c0033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000000009e9ced60d3c5d52dd779893dce0c14e0e361d70200000000000000000000000036e3937e28abc91c31a91ffd7b20a87b370016a9000000000000000000000000800564dbbc589bf48087d29adf0c0bb67e7a01ee0000000000000000000000006f860bc887211d0eb924f287f0fa5964fafd8436
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000009e9ced60d3c5d52dd779893dce0c14e0e361d70200000000000000000000000036e3937e28abc91c31a91ffd7b20a87b370016a9000000000000000000000000800564dbbc589bf48087d29adf0c0bb67e7a01ee0000000000000000000000006f860bc887211d0eb924f287f0fa5964fafd8436
-----Decoded View---------------
Arg [0] : _token (address): 0x9e9ced60d3c5d52dd779893dce0c14e0e361d702
Arg [1] : _masterchef (address): 0x36e3937e28abc91c31a91ffd7b20a87b370016a9
Arg [2] : _admin (address): 0x800564dbbc589bf48087d29adf0c0bb67e7a01ee
Arg [3] : _treasury (address): 0x6f860bc887211d0eb924f287f0fa5964fafd8436
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000009e9ced60d3c5d52dd779893dce0c14e0e361d702
Arg [1] : 00000000000000000000000036e3937e28abc91c31a91ffd7b20a87b370016a9
Arg [2] : 000000000000000000000000800564dbbc589bf48087d29adf0c0bb67e7a01ee
Arg [3] : 0000000000000000000000006f860bc887211d0eb924f287f0fa5964fafd8436
Deployed ByteCode Sourcemap
28945:11718:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29581:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35249:301;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34626:182;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29827:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29941:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37953:1506;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29634:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36643:103;;;:::i;:::-;;33072:553;;;:::i;:::-;;39618:107;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27103:86;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29733:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33736:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34282:238;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2852:148;;;:::i;:::-;;39882:201;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37662:154;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36425:100;;;:::i;:::-;;32838;;;:::i;:::-;;30018:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2201:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;30066:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36896:305;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29667:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34918:214;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31867:898;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29765:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37353:236;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29882:46;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35723:111;;;:::i;:::-;;35927:380;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30155:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30109:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34002:167;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3155:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29706:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29533:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29419:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29581:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;35249:301::-;31356:5;;;;;;;;;;;31342:19;;:10;:19;;;31334:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29991:8:::1;35359:18;:45;;35337:156;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35524:18;35504:17;:38;;;;35249:301:::0;:::o;34626:182::-;31356:5;;;;;;;;;;;31342:19;;:10;:19;;;31334:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29866:3:::1;34702:8;:24;;34694:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34792:8;34782:7;:18;;;;34626:182:::0;:::o;29827:42::-;29866:3;29827:42;:::o;29941:58::-;29991:8;29941:58;:::o;37953:1506::-;31532:23;31544:10;31532:11;:23::i;:::-;31531:24;31523:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31613:9;31599:23;;:10;:23;;;31591:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38018:21:::1;38042:8;:20;38051:10;38042:20;;;;;;;;;;;;;;;38018:44;;38091:1;38081:7;:11;38073:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;38146:4;:11;;;38135:7;:22;;38127:66;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;38206:21;38230:43;38261:11;;38231:24;38247:7;38231:11;:9;:11::i;:::-;:15;;:24;;;;:::i;:::-;38230:30;;:43;;;;:::i;:::-;38206:67;;38298:24;38314:7;38298:4;:11;;;:15;;:24;;;;:::i;:::-;38284:4;:11;;:38;;;;38347:24;38363:7;38347:11;;:15;;:24;;;;:::i;:::-;38333:11;:38;;;;38384:11;38398;:9;:11::i;:::-;38384:25;;38430:13;38424:3;:19;38420:352;;;38460:19;38482:22;38500:3;38482:13;:17;;:22;;;;:::i;:::-;38460:44;;38531:10;38519:32;;;38552:1;38554:11;38519:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;38581:16;38600:11;:9;:11::i;:::-;38581:30;;38626:12;38641:17;38654:3;38641:8;:12;;:17;;;;:::i;:::-;38626:32;;38684:11;38677:4;:18;38673:88;;;38732:13;38740:4;38732:3;:7;;:13;;;;:::i;:::-;38716:29;;38673:88;38420:352;;;;38806:45;38833:17;;38806:4;:22;;;:26;;:45;;;;:::i;:::-;38788:15;:63;38784:297;;;38868:26;38897:41;38932:5;38897:30;38915:11;;38897:13;:17;;:30;;;;:::i;:::-;:34;;:41;;;;:::i;:::-;38868:70;;38953:48;38972:8;;;;;;;;;;;38982:18;38953:5;:18;;;;:48;;;;;:::i;:::-;39032:37;39050:18;39032:13;:17;;:37;;;;:::i;:::-;39016:53;;38784:297;;39111:1;39097:4;:11;;;:15;39093:185;;;39158:45;39191:11;;39158:28;39174:11;:9;:11::i;:::-;39158:4;:11;;;:15;;:28;;;;:::i;:::-;:32;;:45;;;;:::i;:::-;39129:4;:26;;:74;;;;39093:185;;;39265:1;39236:4;:26;;:30;;;;39093:185;39316:15;39290:4;:23;;:41;;;;39344:45;39363:10;39375:13;39344:5;:18;;;;:45;;;;;:::i;:::-;39416:10;39407:44;;;39428:13;39443:7;39407:44;;;;;;;;;;;;;;;;;;;;;;;;31664:1;;;37953:1506:::0;:::o;29634:26::-;;;;:::o;36643:103::-;31356:5;;;;;;;;;;;31342:19;;:10;:19;;;31334:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27706:8:::1;:6;:8::i;:::-;27698:41;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;36703:10:::2;:8;:10::i;:::-;36729:9;;;;;;;;;;36643:103::o:0;33072:553::-;31532:23;31544:10;31532:11;:23::i;:::-;31531:24;31523:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31613:9;31599:23;;:10;:23;;;31591:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27429:8:::1;:6;:8::i;:::-;27428:9;27420:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;33149:10:::2;33137:31;;;33169:1;33172::::0;33137:37:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;33187:11;33201;:9;:11::i;:::-;33187:25;;33223:29;33255:34;33283:5;33255:23;33263:14;;33255:3;:7;;:23;;;;:::i;:::-;:27;;:34;;;;:::i;:::-;33223:66;;33300:51;33319:8;;;;;;;;;;;33329:21;33300:5;:18;;;;:51;;;;;:::i;:::-;33364:22;33389:27;33410:5;33389:16;33397:7;;33389:3;:7;;:16;;;;:::i;:::-;:20;;:27;;;;:::i;:::-;33364:52;;33427:46;33446:10;33458:14;33427:5;:18;;;;:46;;;;;:::i;:::-;33486:7;:5;:7::i;:::-;33526:15;33506:17;:35;;;;33567:10;33559:58;;;33579:21;33602:14;33559:58;;;;;;;;;;;;;;;;;;;;;;;;27469:1;;;33072:553::o:0;39618:107::-;39660:7;39687:5;:15;;;39711:4;39687:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39680:37;;39618:107;:::o;27103:86::-;27150:4;27174:7;;;;;;;;;;;27167:14;;27103:86;:::o;29733:23::-;;;;;;;;;;;;;:::o;33736:152::-;2432:12;:10;:12::i;:::-;2421:23;;:7;:5;:7::i;:::-;:23;;;2413:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33826:1:::1;33808:20;;:6;:20;;;;33800:55;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;33874:6;33866:5;;:14;;;;;;;;;;;;;;;;;;33736:152:::0;:::o;34282:238::-;31356:5;;;;;;;;;;;31342:19;;:10;:19;;;31334:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29811:3:::1;34372:15;:38;;34364:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34497:15;34480:14;:32;;;;34282:238:::0;:::o;2852:148::-;2432:12;:10;:12::i;:::-;2421:23;;:7;:5;:7::i;:::-;:23;;;2413:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2959:1:::1;2922:40;;2943:6;::::0;::::1;;;;;;;;2922:40;;;;;;;;;;;;2990:1;2973:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;2852:148::o:0;39882:201::-;39924:7;39945:14;39977:10;39965:32;;;39998:1;40009:4;39965:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39944:71;;;40033:42;40068:6;40033:5;:15;;;40057:4;40033:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:34;;:42;;;;:::i;:::-;40026:49;;;39882:201;:::o;37662:154::-;37717:7;37759:1;37744:11;;:16;:64;;37770:38;37796:11;;37770:21;37786:4;37770:11;:9;:11::i;:::-;:15;;:21;;;;:::i;:::-;:25;;:38;;;;:::i;:::-;37744:64;;;37763:4;37744:64;37737:71;;37662:154;:::o;36425:100::-;31356:5;;;;;;;;;;;31342:19;;:10;:19;;;31334:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27429:8:::1;:6;:8::i;:::-;27428:9;27420:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;36486:8:::2;:6;:8::i;:::-;36510:7;;;;;;;;;;36425:100::o:0;32838:::-;31532:23;31544:10;31532:11;:23::i;:::-;31531:24;31523:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31613:9;31599:23;;:10;:23;;;31591:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32893:37:::1;32902:8;:20;32911:10;32902:20;;;;;;;;;;;;;;;:27;;;32893:8;:37::i;:::-;32838:100::o:0;30018:35::-;;;;:::o;2201:87::-;2247:7;2274:6;;;;;;;;;;;2267:13;;2201:87;:::o;30066:27::-;;;;:::o;36896:305::-;36959:7;36979:14;37008:10;36996:36;;;37033:1;37044:4;36996:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36979:71;;37070:23;37081:11;:9;:11::i;:::-;37070:6;:10;;:23;;;;:::i;:::-;37061:32;;37104:22;37129:30;37153:5;37129:19;37140:7;;37129:6;:10;;:19;;;;:::i;:::-;:23;;:30;;;;:::i;:::-;37104:55;;37179:14;37172:21;;;;36896:305;:::o;29667:32::-;;;;:::o;34918:214::-;31356:5;;;;;;;;;;;31342:19;;:10;:19;;;31334:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29925:3:::1;35002:12;:32;;34994:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35112:12;35098:11;:26;;;;34918:214:::0;:::o;31867:898::-;27429:8;:6;:8::i;:::-;27428:9;27420:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31532:23:::1;31544:10;31532:11;:23::i;:::-;31531:24;31523:57;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;31613:9;31599:23;;:10;:23;;;31591:62;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;31965:1:::2;31955:7;:11;31947:42;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;32002:12;32017:11;:9;:11::i;:::-;32002:26;;32039:58;32062:10;32082:4;32089:7;32039:5;:22;;;;:58;;;;;;:::i;:::-;32108:21;32163:1:::0;32148:11:::2;;:16;32144:157;;32197:36;32228:4;32198:24;32210:11;;32198:7;:11;;:24;;;;:::i;:::-;32197:30;;:36;;;;:::i;:::-;32181:52;;32144:157;;;32282:7;32266:23;;32144:157;32311:21;32335:8;:20;32344:10;32335:20;;;;;;;;;;;;;;;32311:44;;32382:30;32398:13;32382:4;:11;;;:15;;:30;;;;:::i;:::-;32368:4;:11;;:44;;;;32448:15;32423:4;:22;;:40;;;;32490:30;32506:13;32490:11;;:15;;:30;;;;:::i;:::-;32476:11;:44;;;;32562:45;32595:11;;32562:28;32578:11;:9;:11::i;:::-;32562:4;:11;;;:15;;:28;;;;:::i;:::-;:32;;:45;;;;:::i;:::-;32533:4;:26;;:74;;;;32644:15;32618:4;:23;;:41;;;;32672:7;:5;:7::i;:::-;32705:10;32697:60;;;32717:7;32726:13;32741:15;32697:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31664:1;;;31867:898:::0;:::o;29765:49::-;29811:3;29765:49;:::o;37353:236::-;37421:7;37441:14;37470:10;37458:36;;;37495:1;37506:4;37458:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37441:71;;37532:23;37543:11;:9;:11::i;:::-;37532:6;:10;;:23;;;;:::i;:::-;37523:32;;37575:6;37568:13;;;37353:236;:::o;29882:46::-;29925:3;29882:46;:::o;35723:111::-;31356:5;;;;;;;;;;;31342:19;;:10;:19;;;31334:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35794:10:::1;35782:41;;;35824:1;35782:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;35723:111::o:0;35927:380::-;31356:5;;;;;;;;;;;31342:19;;:10;:19;;;31334:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36029:5:::1;36011:24;;:6;:24;;;;36003:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36185:14;36209:6;36202:24;;;36235:4;36202:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;36185:56;;36252:47;36280:10;36292:6;36259;36252:27;;;;:47;;;;;:::i;:::-;31388:1;35927:380:::0;:::o;30155:43::-;;;;:::o;30109:31::-;;;;:::o;34002:167::-;2432:12;:10;:12::i;:::-;2421:23;;:7;:5;:7::i;:::-;:23;;;2413:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34101:1:::1;34080:23;;:9;:23;;;;34072:58;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;34152:9;34141:8;;:20;;;;;;;;;;;;;;;;;;34002:167:::0;:::o;3155:244::-;2432:12;:10;:12::i;:::-;2421:23;;:7;:5;:7::i;:::-;:23;;;2413:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3264:1:::1;3244:22;;:8;:22;;;;3236:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3354:8;3325:38;;3346:6;::::0;::::1;;;;;;;;3325:38;;;;;;;;;;;;3383:8;3374:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;3155:244:::0;:::o;29706:20::-;;;;;;;;;;;;;:::o;29533:39::-;;;:::o;29419:29::-;;;:::o;23465:670::-;23892:1;23883:5;:10;23882:62;;;;23942:1;23899:5;:15;;;23923:4;23930:7;23899:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:44;23882:62;23860:166;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24037:90;24057:5;24087:22;;;24111:7;24120:5;24064:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24037:19;:90::i;:::-;23465:670;;;:::o;17519:229::-;17656:12;17688:52;17710:6;17718:4;17724:1;17727:12;17688:21;:52::i;:::-;17681:59;;17519:229;;;;;:::o;40469:191::-;40527:4;40544:12;40611:4;40599:17;40591:25;;40651:1;40644:4;:8;40637:15;;;40469:191;;;:::o;7078:220::-;7136:7;7165:1;7160;:6;7156:20;;;7175:1;7168:8;;;;7156:20;7187:9;7203:1;7199;:5;7187:17;;7232:1;7227;7223;:5;;;;;;:10;7215:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7289:1;7282:8;;;7078:220;;;;;:::o;7776:153::-;7834:7;7866:1;7862;:5;7854:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7920:1;7916;:5;;;;;;7909:12;;7776:153;;;;:::o;6661:158::-;6719:7;6752:1;6747;:6;;6739:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6810:1;6806;:5;6799:12;;6661:158;;;;:::o;6199:179::-;6257:7;6277:9;6293:1;6289;:5;6277:17;;6318:1;6313;:6;;6305:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6369:1;6362:8;;;6199:179;;;;:::o;22728:211::-;22845:86;22865:5;22895:23;;;22920:2;22924:5;22872:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22845:19;:86::i;:::-;22728:211;;;:::o;28162:120::-;27706:8;:6;:8::i;:::-;27698:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28231:5:::1;28221:7:::0;::::1;:15;;;;;;;;;;;;;;;;;;28252:22;28261:12;:10;:12::i;:::-;28252:22;;;;;;;;;;;;;;;;;;;;28162:120::o:0;40181:159::-;40218:11;40232;:9;:11::i;:::-;40218:25;;40264:1;40258:3;:7;40254:79;;;40294:10;40282:31;;;40314:1;40317:3;40282:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40254:79;40181:159;:::o;741:106::-;794:15;829:10;822:17;;741:106;:::o;27903:118::-;27429:8;:6;:8::i;:::-;27428:9;27420:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27973:4:::1;27963:7;;:14;;;;;;;;;;;;;;;;;;27993:20;28000:12;:10;:12::i;:::-;27993:20;;;;;;;;;;;;;;;;;;;;27903:118::o:0;22947:248::-;23091:96;23111:5;23141:27;;;23170:4;23176:2;23180:5;23118:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23091:19;:96::i;:::-;22947:248;;;;:::o;25240:774::-;25664:23;25690:69;25718:4;25690:69;;;;;;;;;;;;;;;;;25698:5;25690:27;;;;:69;;;;;:::i;:::-;25664:95;;25794:1;25774:10;:17;:21;25770:237;;;25929:10;25918:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25910:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25770:237;25240:774;;;:::o;18639:571::-;18809:12;18867:5;18842:21;:30;;18834:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18934:18;18945:6;18934:10;:18::i;:::-;18926:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19060:12;19074:23;19101:6;:11;;19120:5;19127:4;19101:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19059:73;;;;19150:52;19168:7;19177:10;19189:12;19150:17;:52::i;:::-;19143:59;;;;18639:571;;;;;;:::o;14579:444::-;14639:4;14847:12;14971:7;14959:20;14951:28;;15014:1;15007:4;:8;15000:15;;;14579:444;;;:::o;21288:777::-;21438:12;21467:7;21463:595;;;21498:10;21491:17;;;;21463:595;21632:1;21612:10;:17;:21;21608:439;;;21875:10;21869:17;21936:15;21923:10;21919:2;21915:19;21908:44;21823:148;22018:12;22011:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21288:777;;;;;;:::o
Swarm Source
ipfs://0f81f23daeb11b8af1799cd8f1f278a770615d7d8cf6777ebaa961c5b21cbcf1
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.