Contract
0x569608516a81c0b1247310a3e0cd001046da0663
2
Contract Overview
My Name Tag:
Not Available, login to update
[ Download CSV Export ]
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
VShareRewardPool
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2022-02-25 */ // SPDX-License-Identifier: MIT pragma solidity 0.6.12; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval( address indexed owner, address indexed spender, uint256 value ); } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, 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; } } /** * @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); } } } } /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn( token, abi.encodeWithSelector(token.transfer.selector, to, value) ); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn( token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value) ); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn( token, abi.encodeWithSelector(token.approve.selector, spender, value) ); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender).add( value ); _callOptionalReturn( token, abi.encodeWithSelector( token.approve.selector, spender, newAllowance ) ); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender).sub( value, "SafeERC20: decreased allowance below zero" ); _callOptionalReturn( token, abi.encodeWithSelector( token.approve.selector, spender, newAllowance ) ); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall( data, "SafeERC20: low-level call failed" ); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require( abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed" ); } } } /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } interface IRewardPool { function deposit(uint256 _pid, uint256 _amount) external; function withdraw(uint256 _pid, uint256 _amount) external; function withdrawAll(uint256 _pid) external; function harvestAllRewards() external; function pendingReward(uint256 _pid, address _user) external view returns (uint256); function pendingAllRewards(address _user) external view returns (uint256); function totalAllocPoint() external view returns (uint256); function poolLength() external view returns (uint256); function getPoolInfo(uint256 _pid) external view returns (address _lp, uint256 _allocPoint); function getRewardPerSecond() external view returns (uint256); function updateRewardRate(uint256 _newRate) external; } // Note that this pool has no minter key of VShare (rewards). // Instead, the governance will call VShare distributeReward method and send reward to this pool at the beginning. contract VShareRewardPool is IRewardPool, ReentrancyGuard { using SafeMath for uint256; using SafeERC20 for IERC20; // governance address public operator; address public treasury; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. } // Info of each pool. struct PoolInfo { IERC20 token; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. VShares to distribute per block. uint256 lastRewardTime; // Last time that VShares distribution occurs. uint256 accVSharePerShare; // Accumulated VShares per share, times 1e18. See below. bool isStarted; // if lastRewardTime has passed } IERC20 public vshare; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Total allocation points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint_; // The time when VShare mining starts. uint256 public poolStartTime; // The time when VShare mining ends. uint256 public poolEndTime; uint256 public lastTimeUpdateRewardRate; uint256 public accumulatedRewardPaid; uint256 public vSharePerSecond = 0.138888888888888888 ether; // 12000000 vshare / (1000 days * 24h * 60min * 60s) uint256 public runningTime = 1000 days; uint256 public constant TOTAL_REWARDS = 12000000 ether; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw( address indexed user, uint256 indexed pid, uint256 amount ); event RewardPaid(address indexed user, uint256 amount); constructor(address _vshare, uint256 _poolStartTime) public { if (_poolStartTime == 0 || _poolStartTime < block.timestamp) { _poolStartTime = block.timestamp; } if (_vshare != address(0)) vshare = IERC20(_vshare); poolStartTime = _poolStartTime; poolEndTime = poolStartTime.add(runningTime); vSharePerSecond = TOTAL_REWARDS.div(runningTime); lastTimeUpdateRewardRate = _poolStartTime; accumulatedRewardPaid = 0; operator = msg.sender; } modifier onlyOperator() { require( operator == msg.sender, "VShareRewardPool: caller is not the operator" ); _; } modifier onlyOperatorOrTreasury() { require( operator == msg.sender || treasury == msg.sender, "VShareRewardPool: caller is not the operator/treasury" ); _; } function totalAllocPoint() external view override returns (uint256) { return totalAllocPoint_; } function poolLength() external view override returns (uint256) { return poolInfo.length; } function getPoolInfo(uint256 _pid) external view override returns (address _lp, uint256 _allocPoint) { PoolInfo memory pool = poolInfo[_pid]; _lp = address(pool.token); _allocPoint = pool.allocPoint; } function getRewardPerSecond() external view override returns (uint256) { return vSharePerSecond; } function checkPoolDuplicate(IERC20 _token) internal view { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { require( poolInfo[pid].token != _token, "VShareRewardPool: existing pool?" ); } } // Add a new lp to the pool. Can only be called by the owner. function add( uint256 _allocPoint, IERC20 _token, uint256 _lastRewardTime ) public onlyOperator { checkPoolDuplicate(_token); massUpdatePools(); if (block.timestamp < poolStartTime) { // chef is sleeping if (_lastRewardTime == 0) { _lastRewardTime = poolStartTime; } else { if (_lastRewardTime < poolStartTime) { _lastRewardTime = poolStartTime; } } } else { // chef is cooking if (_lastRewardTime == 0 || _lastRewardTime < block.timestamp) { _lastRewardTime = block.timestamp; } } bool _isStarted = (_lastRewardTime <= poolStartTime) || (_lastRewardTime <= block.timestamp); poolInfo.push( PoolInfo({ token: _token, allocPoint: _allocPoint, lastRewardTime: _lastRewardTime, accVSharePerShare: 0, isStarted: _isStarted }) ); if (_isStarted) { totalAllocPoint_ = totalAllocPoint_.add(_allocPoint); } } // Update the given pool's VShare allocation point. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint) external onlyOperator { massUpdatePools(); PoolInfo storage pool = poolInfo[_pid]; if (pool.isStarted) { totalAllocPoint_ = totalAllocPoint_.sub(pool.allocPoint).add( _allocPoint ); } pool.allocPoint = _allocPoint; } // Return accumulate rewards over the given _from to _to block. function getGeneratedReward(uint256 _fromTime, uint256 _toTime) public view returns (uint256) { if (_fromTime >= _toTime) return 0; if (_toTime >= poolEndTime) { if (_fromTime >= poolEndTime) return 0; if (_fromTime <= poolStartTime) return poolEndTime.sub(poolStartTime).mul(vSharePerSecond); return poolEndTime.sub(_fromTime).mul(vSharePerSecond); } else { if (_toTime <= poolStartTime) return 0; if (_fromTime <= poolStartTime) return _toTime.sub(poolStartTime).mul(vSharePerSecond); return _toTime.sub(_fromTime).mul(vSharePerSecond); } } // View function to see pending VShares on frontend. function pendingReward(uint256 _pid, address _user) public view override returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accVSharePerShare = pool.accVSharePerShare; uint256 tokenSupply = pool.token.balanceOf(address(this)); if (block.timestamp > pool.lastRewardTime && tokenSupply != 0) { uint256 _generatedReward = getGeneratedReward( pool.lastRewardTime, block.timestamp ); uint256 _vshareReward = _generatedReward.mul(pool.allocPoint).div( totalAllocPoint_ ); accVSharePerShare = accVSharePerShare.add( _vshareReward.mul(1e18).div(tokenSupply) ); } return user.amount.mul(accVSharePerShare).div(1e18).sub(user.rewardDebt); } function pendingAllRewards(address _user) external view override returns (uint256 _total) { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { _total = _total.add(pendingReward(pid, _user)); } } // Update reward variables for all pools. Be careful of gas spending! function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.timestamp <= pool.lastRewardTime) { return; } uint256 tokenSupply = pool.token.balanceOf(address(this)); if (tokenSupply == 0) { pool.lastRewardTime = block.timestamp; return; } if (!pool.isStarted) { pool.isStarted = true; totalAllocPoint_ = totalAllocPoint_.add(pool.allocPoint); } if (totalAllocPoint_ > 0) { uint256 _generatedReward = getGeneratedReward( pool.lastRewardTime, block.timestamp ); uint256 _vshareReward = _generatedReward.mul(pool.allocPoint).div( totalAllocPoint_ ); pool.accVSharePerShare = pool.accVSharePerShare.add( _vshareReward.mul(1e18).div(tokenSupply) ); } pool.lastRewardTime = block.timestamp; } // Deposit LP tokens. function deposit(uint256 _pid, uint256 _amount) external override nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 _pending = user .amount .mul(pool.accVSharePerShare) .div(1e18) .sub(user.rewardDebt); if (_pending > 0) { _safeVShareTransfer(msg.sender, _pending); emit RewardPaid(msg.sender, _pending); } } if (_amount > 0) { pool.token.safeTransferFrom(msg.sender, address(this), _amount); user.amount = user.amount.add(_amount); } user.rewardDebt = user.amount.mul(pool.accVSharePerShare).div(1e18); emit Deposit(msg.sender, _pid, _amount); } function withdraw(uint256 _pid, uint256 _amount) external override nonReentrant { _withdraw(msg.sender, _pid, _amount); } function _withdraw( address _account, uint256 _pid, uint256 _amount ) internal { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_account]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 _pending = user .amount .mul(pool.accVSharePerShare) .div(1e18) .sub(user.rewardDebt); if (_pending > 0) { _safeVShareTransfer(_account, _pending); emit RewardPaid(_account, _pending); } if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.token.safeTransfer(_account, _amount); } user.rewardDebt = user.amount.mul(pool.accVSharePerShare).div(1e18); emit Withdraw(_account, _pid, _amount); } function withdrawAll(uint256 _pid) external override nonReentrant { _withdraw(msg.sender, _pid, userInfo[_pid][msg.sender].amount); } function harvestAllRewards() external override nonReentrant { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { if (userInfo[pid][msg.sender].amount > 0) { _withdraw(msg.sender, pid, 0); } } } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 _amount = user.amount; user.amount = 0; user.rewardDebt = 0; pool.token.safeTransfer(msg.sender, _amount); emit EmergencyWithdraw(msg.sender, _pid, _amount); } // Safe vshare transfer function, just in case if rounding error causes pool to not have enough VShares. function _safeVShareTransfer(address _to, uint256 _amount) internal { uint256 _vshareBal = vshare.balanceOf(address(this)); if (_vshareBal > 0) { if (_amount > _vshareBal) { vshare.safeTransfer(_to, _vshareBal); } else { vshare.safeTransfer(_to, _amount); } } } function updateRewardRate(uint256 _newRate) external override onlyOperatorOrTreasury { require( _newRate >= 0.05 ether && _newRate <= 0.5 ether, "out of range" ); uint256 _oldRate = vSharePerSecond; massUpdatePools(); if (block.timestamp > lastTimeUpdateRewardRate) { accumulatedRewardPaid = accumulatedRewardPaid.add( block.timestamp.sub(lastTimeUpdateRewardRate).mul(_oldRate) ); lastTimeUpdateRewardRate = block.timestamp; } if (accumulatedRewardPaid >= TOTAL_REWARDS) { poolEndTime = now; vSharePerSecond = 0; } else { vSharePerSecond = _newRate; uint256 _secondLeft = TOTAL_REWARDS.sub(accumulatedRewardPaid).div( _newRate ); poolEndTime = (block.timestamp > poolStartTime) ? block.timestamp.add(_secondLeft) : poolStartTime.add(_secondLeft); } } function setOperator(address _operator) external onlyOperator { operator = _operator; } function setTreasury(address _treasury) external onlyOperator { treasury = _treasury; } function governanceRecoverUnsupported( IERC20 _token, uint256 amount, address to ) external onlyOperator { if (block.timestamp < poolEndTime + 180 days) { // do not allow to drain core token (VShare or lps) if less than 180 days after pool ends require(_token != vshare, "vshare"); uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { PoolInfo storage pool = poolInfo[pid]; require(_token != pool.token, "pool.token"); } } _token.safeTransfer(to, amount); } }
[{"inputs":[{"internalType":"address","name":"_vshare","type":"address"},{"internalType":"uint256","name":"_poolStartTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"TOTAL_REWARDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accumulatedRewardPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_lastRewardTime","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fromTime","type":"uint256"},{"internalType":"uint256","name":"_toTime","type":"uint256"}],"name":"getGeneratedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"getPoolInfo","outputs":[{"internalType":"address","name":"_lp","type":"address"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestAllRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastTimeUpdateRewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingAllRewards","outputs":[{"internalType":"uint256","name":"_total","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accVSharePerShare","type":"uint256"},{"internalType":"bool","name":"isStarted","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"runningTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint_","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newRate","type":"uint256"}],"name":"updateRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vSharePerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vshare","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526701ed6eb565788e38600b556305265c00600c553480156200002557600080fd5b50604051620026e1380380620026e1833981810160405260408110156200004b57600080fd5b50805160209091015160016000558015806200006657504281105b156200006f5750425b6001600160a01b038216156200009b57600380546001600160a01b0319166001600160a01b0384161790555b80600781905550620000c0600c546007546200011160201b620019701790919060201c565b600881905550620000ed600c546a09ed194db19b238c0000006200017360201b620019eb1790919060201c565b600b55600955506000600a55600180546001600160a01b03191633179055620001dc565b6000828201838110156200016c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000808211620001ca576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381620001d457fe5b049392505050565b6124f580620001ec6000396000f3fe608060405234801561001057600080fd5b506004361061020b5760003560e01c806361d027b31161012a57806398969e82116100bd578063da5b4ee71161008c578063e3ab8fdc11610071578063e3ab8fdc146105de578063e4c26d96146105e6578063f0f44260146105ee5761020b565b8063da5b4ee7146105b3578063e2bbb158146105bb5761020b565b806398969e82146104eb5780639ef3a26114610524578063b3ab15fb14610541578063b9955e39146105745761020b565b80638ef19127116100f95780638ef191271461046c57806393f1a40b14610474578063943f013d146104c6578063958e2d31146104ce5761020b565b806361d027b314610421578063630b5ba1146104295780636e271dd5146104315780638e09136f146104395761020b565b8063231f0c6a116101a25780635312ea8e116101715780635312ea8e146103b157806354575af4146103ce578063570ca735146104115780635f96dc11146104195761020b565b8063231f0c6a146103015780632f380b3514610324578063441a3e701461037157806351eb05a6146103945761020b565b806317caf6f1116101de57806317caf6f11461029b57806319a75131146102a35780631ab06ee5146102ab5780631bb0c2a4146102d05761020b565b8063081e3eda1461021057806309cf60911461022a5780631526fe27146102325780631600a56e14610293575b600080fd5b610218610621565b60408051918252519081900360200190f35b610218610627565b61024f6004803603602081101561024857600080fd5b5035610636565b6040805173ffffffffffffffffffffffffffffffffffffffff9096168652602086019490945284840192909252606084015215156080830152519081900360a00190f35b61021861068e565b610218610694565b61021861069a565b6102ce600480360360408110156102c157600080fd5b50803590602001356106a0565b005b6102d8610775565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6102186004803603604081101561031757600080fd5b5080359060200135610791565b6103416004803603602081101561033a57600080fd5b5035610856565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835260208301919091528051918290030190f35b6102ce6004803603604081101561038757600080fd5b50803590602001356108e3565b6102ce600480360360208110156103aa57600080fd5b503561096e565b6102ce600480360360208110156103c757600080fd5b5035610b16565b6102ce600480360360608110156103e457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359160409091013516610c39565b6102d8610e2d565b610218610e49565b6102d8610e4f565b6102ce610e6b565b610218610e8e565b6102186004803603602081101561044f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610e94565b610218610ec9565b6104ad6004803603604081101561048a57600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16610ecf565b6040805192835260208301919091528051918290030190f35b610218610ef3565b6102ce600480360360208110156104e457600080fd5b5035610ef9565b6102186004803603604081101561050157600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16610f9f565b6102ce6004803603602081101561053a57600080fd5b5035611128565b6102ce6004803603602081101561055757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611304565b6102ce6004803603606081101561058a57600080fd5b5080359073ffffffffffffffffffffffffffffffffffffffff60208201351690604001356113bb565b61021861161b565b6102ce600480360360408110156105d157600080fd5b5080359060200135611621565b6102186117fa565b6102ce611800565b6102ce6004803603602081101561060457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166118b9565b60045490565b6a09ed194db19b238c00000081565b6004818154811061064357fe5b60009182526020909120600590910201805460018201546002830154600384015460049094015473ffffffffffffffffffffffffffffffffffffffff90931694509092909160ff1685565b600b5481565b60065490565b60065481565b60015473ffffffffffffffffffffffffffffffffffffffff163314610710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612494602c913960400191505060405180910390fd5b610718610e6b565b60006004838154811061072757fe5b60009182526020909120600590910201600481015490915060ff161561076e5761076a826107648360010154600654611a6c90919063ffffffff16565b90611970565b6006555b6001015550565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b60008183106107a257506000610850565b600854821061080a5760085483106107bc57506000610850565b60075483116107ef576107e8600b546107e2600754600854611a6c90919063ffffffff16565b90611ae3565b9050610850565b6107e8600b546107e285600854611a6c90919063ffffffff16565b600754821161081b57506000610850565b600754831161083f576107e8600b546107e260075485611a6c90919063ffffffff16565b600b546107e8906107e28486611a6c565b92915050565b6000806108616123a6565b6004848154811061086e57fe5b60009182526020918290206040805160a0810182526005909302909101805473ffffffffffffffffffffffffffffffffffffffff168084526001820154948401859052600282015492840192909252600381015460608401526004015460ff1615156080909201919091529590945092505050565b6002600054141561095557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055610965338383611b56565b50506001600055565b60006004828154811061097d57fe5b906000526020600020906005020190508060020154421161099e5750610b13565b8054604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015610a0e57600080fd5b505afa158015610a22573d6000803e3d6000fd5b505050506040513d6020811015610a3857600080fd5b5051905080610a4e575042600290910155610b13565b600482015460ff16610a9d576004820180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001908117909155820154600654610a9991611970565b6006555b60065415610b0a576000610ab5836002015442610791565b90506000610adc600654610ad6866001015485611ae390919063ffffffff16565b906119eb565b9050610b02610af784610ad684670de0b6b3a7640000611ae3565b600386015490611970565b600385015550505b50426002909101555b50565b60026000541415610b8857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260009081556004805483908110610b9d57fe5b60009182526020808320858452600580835260408086203380885294528520805486825560018201969096559302018054909450919291610bf79173ffffffffffffffffffffffffffffffffffffffff9091169083611d5d565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a3505060016000555050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610ca9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612494602c913960400191505060405180910390fd5b60085462ed4e0001421015610e075760035473ffffffffffffffffffffffffffffffffffffffff84811691161415610d4257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f7673686172650000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60045460005b81811015610e0457600060048281548110610d5f57fe5b60009182526020909120600590910201805490915073ffffffffffffffffffffffffffffffffffffffff87811691161415610dfb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f706f6f6c2e746f6b656e00000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600101610d48565b50505b610e2873ffffffffffffffffffffffffffffffffffffffff84168284611d5d565b505050565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b60045460005b81811015610e8a57610e828161096e565b600101610e71565b5050565b60085481565b600454600090815b81811015610ec257610eb8610eb18286610f9f565b8490611970565b9250600101610e9c565b5050919050565b60095481565b60056020908152600092835260408084209091529082529020805460019091015482565b600c5481565b60026000541415610f6b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815581815260056020908152604080832033808552925290912054610f9791908390611b56565b506001600055565b60008060048481548110610faf57fe5b600091825260208083208784526005808352604080862073ffffffffffffffffffffffffffffffffffffffff808b16885290855281872060039390960290930191820154825482517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015292519398509596909590949316926370a0823192602480840193829003018186803b15801561104e57600080fd5b505afa158015611062573d6000803e3d6000fd5b505050506040513d602081101561107857600080fd5b505160028501549091504211801561108f57508015155b156110ec5760006110a4856002015442610791565b905060006110c5600654610ad6886001015485611ae390919063ffffffff16565b90506110e76110e084610ad684670de0b6b3a7640000611ae3565b8590611970565b935050505b61111d8360010154611117670de0b6b3a7640000610ad6868860000154611ae390919063ffffffff16565b90611a6c565b979650505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331480611165575060025473ffffffffffffffffffffffffffffffffffffffff1633145b6111ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603581526020018061245f6035913960400191505060405180910390fd5b66b1a2bc2ec5000081101580156111d957506706f05b59d3b200008111155b61124457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f6f7574206f662072616e67650000000000000000000000000000000000000000604482015290519081900360640190fd5b600b5461124f610e6b565b6009544211156112865761127e611275826107e260095442611a6c90919063ffffffff16565b600a5490611970565b600a55426009555b6a09ed194db19b238c000000600a54106112a857426008556000600b55610e8a565b81600b8190555060006112d583610ad6600a546a09ed194db19b238c000000611a6c90919063ffffffff16565b905060075442116112f2576007546112ed9082611970565b6112fc565b6112fc4282611970565b600855505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612494602c913960400191505060405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60015473ffffffffffffffffffffffffffffffffffffffff16331461142b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612494602c913960400191505060405180910390fd5b61143482611dea565b61143c610e6b565b60075442101561146857806114545750600754611463565b60075481101561146357506007545b61147c565b80158061147457504281105b1561147c5750425b60006007548211158061148f5750428211155b6040805160a08101825273ffffffffffffffffffffffffffffffffffffffff868116825260208201888152928201868152600060608401818152861580156080870190815260048054600181018255945295517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b600590940293840180547fffffffffffffffffffffffff000000000000000000000000000000000000000016919096161790945594517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c82015590517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19d82015592517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19e84015590517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19f90920180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001692151592909217909155909150611615576006546116119085611970565b6006555b50505050565b600b5490565b6002600054141561169357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815560048054849081106116a857fe5b600091825260208083208684526005808352604080862033875290935291909320910290910191506116d98461096e565b80541561175c5760006117118260010154611117670de0b6b3a7640000610ad687600301548760000154611ae390919063ffffffff16565b9050801561175a576117233382611eb8565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b505b82156117955781546117869073ffffffffffffffffffffffffffffffffffffffff16333086611fb2565b80546117929084611970565b81555b600382015481546117b391670de0b6b3a764000091610ad691611ae3565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a3505060016000555050565b600a5481565b6002600054141561187257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000908155600454905b81811015610965576000818152600560209081526040808320338452909152902054156118b1576118b133826000611b56565b60010161187e565b60015473ffffffffffffffffffffffffffffffffffffffff163314611929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612494602c913960400191505060405180910390fd5b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000828201838110156119e457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000808211611a5b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611a6457fe5b049392505050565b600082821115611add57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082611af257506000610850565b82820282848281611aff57fe5b04146119e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806124146021913960400191505060405180910390fd5b600060048381548110611b6557fe5b600091825260208083208684526005808352604080862073ffffffffffffffffffffffffffffffffffffffff8b168752909352919093208054929091029092019250831115611c1557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f77697468647261773a206e6f7420676f6f640000000000000000000000000000604482015290519081900360640190fd5b611c1e8461096e565b6000611c4f8260010154611117670de0b6b3a7640000610ad687600301548760000154611ae390919063ffffffff16565b90508015611cae57611c618682611eb8565b60408051828152905173ffffffffffffffffffffffffffffffffffffffff8816917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b8315611ce5578154611cc09085611a6c565b82558254611ce59073ffffffffffffffffffffffffffffffffffffffff168786611d5d565b60038301548254611d0391670de0b6b3a764000091610ad691611ae3565b6001830155604080518581529051869173ffffffffffffffffffffffffffffffffffffffff8916917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610e28908490612043565b60045460005b81811015610e28578273ffffffffffffffffffffffffffffffffffffffff1660048281548110611e1c57fe5b600091825260209091206005909102015473ffffffffffffffffffffffffffffffffffffffff161415611eb057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f565368617265526577617264506f6f6c3a206578697374696e6720706f6f6c3f604482015290519081900360640190fd5b600101611df0565b600354604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015611f2957600080fd5b505afa158015611f3d573d6000803e3d6000fd5b505050506040513d6020811015611f5357600080fd5b505190508015610e285780821115611f8e57600354611f899073ffffffffffffffffffffffffffffffffffffffff168483611d5d565b610e28565b600354610e289073ffffffffffffffffffffffffffffffffffffffff168484611d5d565b6040805173ffffffffffffffffffffffffffffffffffffffff80861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd000000000000000000000000000000000000000000000000000000001790526116159085905b60606120a5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661211b9092919063ffffffff16565b805190915015610e28578080602001905160208110156120c457600080fd5b5051610e28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612435602a913960400191505060405180910390fd5b606061212a8484600085612132565b949350505050565b60608247101561218d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806123ee6026913960400191505060405180910390fd5b612196856122e2565b61220157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061226b57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161222e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146122cd576040519150601f19603f3d011682016040523d82523d6000602084013e6122d2565b606091505b509150915061111d8282866122e8565b3b151590565b606083156122f75750816119e4565b8251156123075782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561236b578181015183820152602001612353565b50505050905090810190601f1680156123985780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040518060a00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815260200160008152602001600015158152509056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564565368617265526577617264506f6f6c3a2063616c6c6572206973206e6f7420746865206f70657261746f722f7472656173757279565368617265526577617264506f6f6c3a2063616c6c6572206973206e6f7420746865206f70657261746f72a26469706673582212207aee7e01890db34951ecae0244d4500403dc31ff81440476c54369eb0c189f5b64736f6c634300060c0033000000000000000000000000dcc261c03cd2f33ebea404318cdc1d9f8b78e1ad00000000000000000000000000000000000000000000000000000000621b67c0
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000dcc261c03cd2f33ebea404318cdc1d9f8b78e1ad00000000000000000000000000000000000000000000000000000000621b67c0
-----Decoded View---------------
Arg [0] : _vshare (address): 0xdcc261c03cd2f33ebea404318cdc1d9f8b78e1ad
Arg [1] : _poolStartTime (uint256): 1645963200
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000dcc261c03cd2f33ebea404318cdc1d9f8b78e1ad
Arg [1] : 00000000000000000000000000000000000000000000000000000000621b67c0
Deployed ByteCode Sourcemap
27093:14632:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30188:104;;;:::i;:::-;;;;;;;;;;;;;;;;28716:54;;;:::i;28020:26::-;;;;;;;;;;;;;;;;-1:-1:-1;28020:26:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28552:59;;;:::i;30070:110::-;;;:::i;28265:31::-;;;:::i;32430:357::-;;;;;;;;;;;;;;;;-1:-1:-1;32430:357:0;;;;;;;:::i;:::-;;27964:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32864:727;;;;;;;;;;;;;;;;-1:-1:-1;32864:727:0;;;;;;;:::i;30300:274::-;;;;;;;;;;;;;;;;-1:-1:-1;30300:274:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;37287:167;;;;;;;;;;;;;;;;-1:-1:-1;37287:167:0;;;;;;;:::i;35274:1033::-;;;;;;;;;;;;;;;;-1:-1:-1;35274:1033:0;;:::i;38886:392::-;;;;;;;;;;;;;;;;-1:-1:-1;38886:392:0;;:::i;41076:646::-;;;;;;;;;;;;;;;;-1:-1:-1;41076:646:0;;;;;;;;;;;;;;;;;;:::i;27245:23::-;;;:::i;28349:28::-;;;:::i;27275:23::-;;;:::i;35018:180::-;;;:::i;28428:26::-;;;:::i;34627:308::-;;;;;;;;;;;;;;;;-1:-1:-1;34627:308:0;;;;:::i;28461:39::-;;;:::i;28104:64::-;;;;;;;;;;;;;;;;-1:-1:-1;28104:64:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;28671:38;;;:::i;38364:147::-;;;;;;;;;;;;;;;;-1:-1:-1;38364:147:0;;:::i;33657:962::-;;;;;;;;;;;;;;;;-1:-1:-1;33657:962:0;;;;;;;;;:::i;39770:1080::-;;;;;;;;;;;;;;;;-1:-1:-1;39770:1080:0;;:::i;40858:101::-;;;;;;;;;;;;;;;;-1:-1:-1;40858:101:0;;;;:::i;31088:1244::-;;;;;;;;;;;;;;;;-1:-1:-1;31088:1244:0;;;;;;;;;;;;;;:::i;30582:112::-;;;:::i;36342:937::-;;;;;;;;;;;;;;;;-1:-1:-1;36342:937:0;;;;;;;:::i;28507:36::-;;;:::i;38519:296::-;;;:::i;40967:101::-;;;;;;;;;;;;;;;;-1:-1:-1;40967:101:0;;;;:::i;30188:104::-;30269:8;:15;30188:104;:::o;28716:54::-;28756:14;28716:54;:::o;28020:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28020:26:0;;;;;;;:::o;28552:59::-;;;;:::o;30070:110::-;30156:16;;30070:110;:::o;28265:31::-;;;;:::o;32430:357::-;29724:8;;:22;:8;29736:10;29724:22;29702:116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32511:17:::1;:15;:17::i;:::-;32539:21;32563:8;32572:4;32563:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;32592;::::0;::::1;::::0;32563;;-1:-1:-1;32592:14:0::1;;32588:152;;;32642:86;32702:11;32642:37;32663:4;:15;;;32642:16;;:20;;:37;;;;:::i;:::-;:41:::0;::::1;:86::i;:::-;32623:16;:105:::0;32588:152:::1;32750:15;;:29:::0;-1:-1:-1;32430:357:0:o;27964:20::-;;;;;;:::o;32864:727::-;32976:7;33018;33005:9;:20;33001:34;;-1:-1:-1;33034:1:0;33027:8;;33001:34;33061:11;;33050:7;:22;33046:538;;33106:11;;33093:9;:24;33089:38;;-1:-1:-1;33126:1:0;33119:8;;33089:38;33159:13;;33146:9;:26;33142:107;;33198:51;33233:15;;33198:30;33214:13;;33198:11;;:15;;:30;;;;:::i;:::-;:34;;:51::i;:::-;33191:58;;;;33142:107;33271:47;33302:15;;33271:26;33287:9;33271:11;;:15;;:26;;;;:::i;33046:538::-;33366:13;;33355:7;:24;33351:38;;-1:-1:-1;33388:1:0;33381:8;;33351:38;33421:13;;33408:9;:26;33404:103;;33460:47;33491:15;;33460:26;33472:13;;33460:7;:11;;:26;;;;:::i;33404:103::-;33556:15;;33529:43;;:22;:7;33541:9;33529:11;:22::i;33046:538::-;32864:727;;;;:::o;30300:274::-;30403:11;30416:19;30453:20;;:::i;:::-;30476:8;30485:4;30476:14;;;;;;;;;;;;;;;;;30453:37;;;;;;;;30476:14;;;;;;;30453:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30300:274:0;-1:-1:-1;;;30300:274:0:o;37287:167::-;25115:1;25720:7;;:19;;25712:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25115:1;25853:7;:18;37410:36:::1;37420:10;37432:4:::0;37438:7;37410:9:::1;:36::i;:::-;-1:-1:-1::0;;25071:1:0;26032:7;:22;37287:167::o;35274:1033::-;35326:21;35350:8;35359:4;35350:14;;;;;;;;;;;;;;;;;;35326:38;;35398:4;:19;;;35379:15;:38;35375:77;;35434:7;;;35375:77;35484:10;;:35;;;;;;35513:4;35484:35;;;;;;35462:19;;35484:10;;;:20;;:35;;;;;;;;;;;;;;:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35484:35:0;;-1:-1:-1;35534:16:0;35530:107;;-1:-1:-1;35589:15:0;35567:19;;;;:37;35619:7;;35530:107;35652:14;;;;;;35647:140;;35683:14;;;:21;;;;35700:4;35683:21;;;;;;35759:15;;;35738:16;;:37;;:20;:37::i;:::-;35719:16;:56;35647:140;35801:16;;:20;35797:455;;35838:24;35865:105;35902:4;:19;;;35940:15;35865:18;:105::i;:::-;35838:132;;35985:21;36009:91;36069:16;;36009:37;36030:4;:15;;;36009:16;:20;;:37;;;;:::i;:::-;:41;;:91::i;:::-;35985:115;-1:-1:-1;36140:100:0;36185:40;36213:11;36185:23;35985:115;36203:4;36185:17;:23::i;:40::-;36140:22;;;;;:26;:100::i;:::-;36115:22;;;:125;-1:-1:-1;;35797:455:0;-1:-1:-1;36284:15:0;36262:19;;;;:37;35274:1033;;:::o;38886:392::-;25115:1;25720:7;;:19;;25712:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25115:1;25853:7;:18;;;38984:8:::1;:14:::0;;38993:4;;38984:14;::::1;;;;;;::::0;;;::::1;::::0;;;39033;;;38984::::1;39033::::0;;;;;;;39048:10:::1;39033:26:::0;;;;;;;39088:11;;39110:15;;;-1:-1:-1;39136:15:0;::::1;:19:::0;;;;38984:14;::::1;;39166:10:::0;;38984:14;;-1:-1:-1;39033:26:0;;39088:11;39166:44:::1;::::0;39033:26:::1;39166:10:::0;;::::1;::::0;39088:11;39166:23:::1;:44::i;:::-;39226;::::0;;;;;;;39256:4;;39244:10:::1;::::0;39226:44:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;25071:1:0;26032:7;:22;-1:-1:-1;;38886:392:0:o;41076:646::-;29724:8;;:22;:8;29736:10;29724:22;29702:116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41246:11:::1;;41260:8;41246:22;41228:15;:40;41224:449;;;41406:6;::::0;::::1;41396:16:::0;;::::1;41406:6:::0;::::1;41396:16;;41388:35;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;41455:8;:15:::0;41438:14:::1;41485:177;41513:6;41507:3;:12;41485:177;;;41547:21;41571:8;41580:3;41571:13;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;41621:10:::0;;41571:13;;-1:-1:-1;41621:10:0::1;41611:20:::0;;::::1;41621:10:::0;::::1;41611:20;;41603:43;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;41521:5:0::1;;41485:177;;;;41224:449;;41683:31;:19;::::0;::::1;41703:2:::0;41707:6;41683:19:::1;:31::i;:::-;41076:646:::0;;;:::o;27245:23::-;;;;;;:::o;28349:28::-;;;;:::o;27275:23::-;;;;;;:::o;35018:180::-;35080:8;:15;35063:14;35106:85;35134:6;35128:3;:12;35106:85;;;35164:15;35175:3;35164:10;:15::i;:::-;35142:5;;35106:85;;;;35018:180;:::o;28428:26::-;;;;:::o;34627:308::-;34786:8;:15;34737:14;;;34812:116;34840:6;34834:3;:12;34812:116;;;34879:37;34890:25;34904:3;34909:5;34890:13;:25::i;:::-;34879:6;;:10;:37::i;:::-;34870:46;-1:-1:-1;34848:5:0;;34812:116;;;;34627:308;;;;:::o;28461:39::-;;;;:::o;28104:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;28671:38::-;;;;:::o;38364:147::-;25115:1;25720:7;;:19;;25712:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25115:1;25853:7;:18;;;38469:14;;;:8:::1;:14;::::0;;;;;;;38451:10:::1;38469:26:::0;;;;;;;;:33;38441:62:::1;::::0;38451:10;38463:4;;38441:9:::1;:62::i;:::-;-1:-1:-1::0;25071:1:0;26032:7;:22;38364:147::o;33657:962::-;33775:7;33800:21;33824:8;33833:4;33824:14;;;;;;;;;;;;;;;;33873;;;33824;33873;;;;;;;:21;;;;;;;;;;;;33933:22;33824:14;;;;;;;33933:22;;;;33988:10;;:35;;;;;34017:4;33988:35;;;;;;33824:14;;-1:-1:-1;33873:21:0;;33933:22;;33824:14;;33988:10;;;:20;;:35;;;;;;;;;;:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33988:35:0;34056:19;;;;33988:35;;-1:-1:-1;34038:15:0;:37;:57;;;;-1:-1:-1;34079:16:0;;;34038:57;34034:482;;;34112:24;34139:105;34176:4;:19;;;34214:15;34139:18;:105::i;:::-;34112:132;;34259:21;34283:91;34343:16;;34283:37;34304:4;:15;;;34283:16;:20;;:37;;;;:::i;:91::-;34259:115;-1:-1:-1;34409:95:0;34449:40;34477:11;34449:23;34259:115;34467:4;34449:17;:23::i;:40::-;34409:17;;:21;:95::i;:::-;34389:115;;34034:482;;;34546:65;34595:4;:15;;;34546:44;34585:4;34546:34;34562:17;34546:4;:11;;;:15;;:34;;;;:::i;:44::-;:48;;:65::i;:::-;34526:85;33657:962;-1:-1:-1;;;;;;;33657:962:0:o;39770:1080::-;29913:8;;:22;:8;29925:10;29913:22;;:48;;-1:-1:-1;29939:8:0;;:22;:8;29951:10;29939:22;29913:48;29891:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39932:10:::1;39920:8;:22;;:47;;;;;39958:9;39946:8;:21;;39920:47;39898:109;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;40037:15;::::0;40063:17:::1;:15;:17::i;:::-;40113:24;;40095:15;:42;40091:274;;;40178:118;40222:59;40272:8;40222:45;40242:24;;40222:15;:19;;:45;;;;:::i;:59::-;40178:21;::::0;;:25:::1;:118::i;:::-;40154:21;:142:::0;40338:15:::1;40311:24;:42:::0;40091:274:::1;28756:14;40379:21;;:38;40375:468;;40448:3;40434:11;:17:::0;40484:1:::1;40466:15;:19:::0;40375:468:::1;;;40536:8;40518:15;:26;;;;40559:19;40581:86;40644:8;40581:40;40599:21;;28756:14;40581:17;;:40;;;;:::i;:86::-;40559:108;;40715:13;;40697:15;:31;40696:135;;40801:13;::::0;:30:::1;::::0;40819:11;40801:17:::1;:30::i;:::-;40696:135;;;40749:32;:15;40769:11:::0;40749:19:::1;:32::i;:::-;40682:11;:149:::0;-1:-1:-1;30053:1:0::1;39770:1080:::0;:::o;40858:101::-;29724:8;;:22;:8;29736:10;29724:22;29702:116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40931:8:::1;:20:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;40858:101::o;31088:1244::-;29724:8;;:22;:8;29736:10;29724:22;29702:116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31227:26:::1;31246:6;31227:18;:26::i;:::-;31264:17;:15;:17::i;:::-;31314:13;;31296:15;:31;31292:534;;;31381:20:::0;31377:243:::1;;-1:-1:-1::0;31440:13:0::1;::::0;31377:243:::1;;;31516:13;;31498:15;:31;31494:111;;;-1:-1:-1::0;31572:13:0::1;::::0;31494:111:::1;31292:534;;;31688:20:::0;;;:57:::1;;;31730:15;31712;:33;31688:57;31684:131;;;-1:-1:-1::0;31784:15:0::1;31684:131;31836:15;31874:13;;31855:15;:32;;31854:87;;;;31925:15;31906;:34;;31854:87;31980:228;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;31980:228:0;;;;;;;::::1;::::0;::::1;::::0;;;;;;31952:8:::1;:267:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;;31980:228;;-1:-1:-1;32230:95:0::1;;32280:16;::::0;:33:::1;::::0;32301:11;32280:20:::1;:33::i;:::-;32261:16;:52:::0;32230:95:::1;29829:1;31088:1244:::0;;;:::o;30582:112::-;30671:15;;30582:112;:::o;36342:937::-;25115:1;25720:7;;:19;;25712:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25115:1;25853:7;:18;;;36488:8:::1;:14:::0;;36497:4;;36488:14;::::1;;;;;;::::0;;;::::1;::::0;;;36537;;;36488::::1;36537::::0;;;;;;;36552:10:::1;36537:26:::0;;;;;;;;;36488:14;::::1;::::0;;::::1;::::0;-1:-1:-1;36574:16:0::1;36546:4:::0;36574:10:::1;:16::i;:::-;36605:11:::0;;:15;36601:373:::1;;36637:16;36656:142;36782:4;:15;;;36656:103;36754:4;36656:75;36708:4;:22;;;36656:4;:29;;;:51;;:75;;;;:::i;:142::-;36637:161:::0;-1:-1:-1;36817:12:0;;36813:150:::1;;36850:41;36870:10;36882:8;36850:19;:41::i;:::-;36915:32;::::0;;;;;;;36926:10:::1;::::0;36915:32:::1;::::0;;;;;::::1;::::0;;::::1;36813:150;36601:373;;36988:11:::0;;36984:160:::1;;37016:10:::0;;:63:::1;::::0;:10:::1;;37044;37064:4;37071:7:::0;37016:27:::1;:63::i;:::-;37108:11:::0;;:24:::1;::::0;37124:7;37108:15:::1;:24::i;:::-;37094:38:::0;;36984:160:::1;37188:22;::::0;::::1;::::0;37172:11;;:49:::1;::::0;37216:4:::1;::::0;37172:39:::1;::::0;:15:::1;:39::i;:49::-;37154:15;::::0;::::1;:67:::0;37237:34:::1;::::0;;;;;;;37257:4;;37245:10:::1;::::0;37237:34:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;25071:1:0;26032:7;:22;-1:-1:-1;;36342:937:0:o;28507:36::-;;;;:::o;38519:296::-;25115:1;25720:7;;:19;;25712:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25115:1;25853:7;:18;;;38607:8:::1;:15:::0;;38633:175:::1;38661:6;38655:3;:12;38633:175;;;38730:1;38695:13:::0;;;:8:::1;:13;::::0;;;;;;;38709:10:::1;38695:25:::0;;;;;;;:32;:36;38691:106:::1;;38752:29;38762:10;38774:3;38779:1;38752:9;:29::i;:::-;38669:5;;38633:175;;40967:101:::0;29724:8;;:22;:8;29736:10;29724:22;29702:116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41040:8:::1;:20:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;40967:101::o;5752:179::-;5810:7;5842:5;;;5866:6;;;;5858:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5922:1;5752:179;-1:-1:-1;;;5752:179:0:o;7329:153::-;7387:7;7419:1;7415;:5;7407:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7473:1;7469;:5;;;;;;;7329:153;-1:-1:-1;;;7329:153:0:o;6214:158::-;6272:7;6305:1;6300;:6;;6292:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6359:5:0;;;6214:158::o;6631:220::-;6689:7;6713:6;6709:20;;-1:-1:-1;6728:1:0;6721:8;;6709:20;6752:5;;;6756:1;6752;:5;:1;6776:5;;;;;:10;6768:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37462:894;37584:21;37608:8;37617:4;37608:14;;;;;;;;;;;;;;;;37657;;;37608;37657;;;;;;;:24;;;;;;;;;;;;37700:11;;37608:14;;;;;;;;-1:-1:-1;;;37700:22:0;37692:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37756:16;37767:4;37756:10;:16::i;:::-;37783;37802:126;37912:4;:15;;;37802:91;37888:4;37802:67;37846:4;:22;;;37802:4;:25;;;:43;;:67;;;;:::i;:126::-;37783:145;-1:-1:-1;37943:12:0;;37939:134;;37972:39;37992:8;38002;37972:19;:39::i;:::-;38031:30;;;;;;;;;;;;;;;;;;;;;;37939:134;38087:11;;38083:139;;38129:11;;:24;;38145:7;38129:15;:24::i;:::-;38115:38;;38168:10;;:42;;:10;;38192:8;38202:7;38168:23;:42::i;:::-;38266:22;;;;38250:11;;:49;;38294:4;;38250:39;;:15;:39::i;:49::-;38232:15;;;:67;38315:33;;;;;;;;38334:4;;38315:33;;;;;;;;;;;;;37462:894;;;;;;:::o;19721:248::-;19892:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19915:23;19892:58;;;19838:123;;19872:5;;19838:19;:123::i;30702:311::-;30787:8;:15;30770:14;30813:193;30841:6;30835:3;:12;30813:193;;;30920:6;30897:29;;:8;30906:3;30897:13;;;;;;;;;;;;;;;;;;;;;:19;;;:29;;30871:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30849:5;;30813:193;;39396:366;39496:6;;:31;;;;;;39521:4;39496:31;;;;;;39475:18;;39496:6;;;:16;;:31;;;;;;;;;;;;;;:6;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39496:31:0;;-1:-1:-1;39542:14:0;;39538:217;;39587:10;39577:7;:20;39573:171;;;39618:6;;:36;;:6;;39638:3;39643:10;39618:19;:36::i;:::-;39573:171;;;39695:6;;:33;;:6;;39715:3;39720:7;39695:19;:33::i;19977:285::-;20175:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20198:27;20175:68;;;20121:133;;20155:5;;22597:860;23021:23;23047:106;23089:4;23047:106;;;;;;;;;;;;;;;;;23055:5;23047:27;;;;:106;;;;;:::i;:::-;23168:17;;23021:132;;-1:-1:-1;23168:21:0;23164:286;;23341:10;23330:30;;;;;;;;;;;;;;;-1:-1:-1;23330:30:0;23304:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14239:229;14376:12;14408:52;14430:6;14438:4;14444:1;14447:12;14408:21;:52::i;:::-;14401:59;14239:229;-1:-1:-1;;;;14239:229:0:o;15455:632::-;15625:12;15697:5;15672:21;:30;;15650:118;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15787:18;15798:6;15787:10;:18::i;:::-;15779:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15913:12;15927:23;15954:6;:11;;15973:5;15994:4;15954:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15912:97;;;;16027:52;16045:7;16054:10;16066:12;16027:17;:52::i;11202:444::-;11582:20;11630:8;;;11202:444::o;18378:777::-;18528:12;18557:7;18553:595;;;-1:-1:-1;18588:10:0;18581:17;;18553:595;18702:17;;:21;18698:439;;18965:10;18959:17;19026:15;19013:10;19009:2;19005:19;18998:44;18913:148;19108:12;19101:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://7aee7e01890db34951ecae0244d4500403dc31ff81440476c54369eb0c189f5b
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.