Contract
0x82f817d8173ae0302262edf17a38cb33c18aa3d1
1
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:
PndGenesisRewardPool
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at snowtrace.io on 2022-06-22 */ // SPDX-License-Identifier: MIT 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/math/[email protected] 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/utils/[email protected] 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/[email protected] 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 usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File contracts/distribution/PndGenesisRewardPool.sol pragma solidity 0.6.12; // Note that this pool has no minter key of PND (rewards). // Instead, the governance will call PND distributeReward method and send reward to this pool at the beginning. contract PndGenesisRewardPool { using SafeMath for uint256; using SafeERC20 for IERC20; // governance address public operator; address public feeWallet; // Info of each user. struct UserInfo { uint256 amount; // How many 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. PND to distribute. uint256 lastRewardTime; // Last time that PND distribution occurs. uint256 accPndPerShare; // Accumulated PND per share, times 1e18. See below. bool isStarted; // if lastRewardBlock has passed } IERC20 public pnd; address public usdc = 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E; address public wavax = 0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Total allocation points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The time when PND mining starts. uint256 public poolStartTime; // The time when PND mining ends. uint256 public poolEndTime; // TESTNET //uint256 public pndPerSecond = 0.66667 ether; // 2400 PND / (1h * 60min * 60s) //uint256 public runningTime = 1 hours; // 1 hours //uint256 public constant TOTAL_REWARDS = 2400 ether; // END TESTNET // MAINNET uint256 public pndPerSecond = 0.13888888 ether; // 24000 PND / (48h * 60min * 60s) uint256 public runningTime = 2 days; // 1 days uint256 public constant TOTAL_REWARDS = 24000 ether; // END MAINNET 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 _pnd, address _feeWallet ) public { if (_pnd != address(0)) pnd = IERC20(_pnd); operator = msg.sender; feeWallet = _feeWallet; } modifier onlyOperator() { require(operator == msg.sender, "PndGenesisPool: caller is not the operator"); _; } function setStartTime( uint256 _poolStartTime) external onlyOperator{ require(poolStartTime == 0, "Can't set starting time twice"); require(block.timestamp < _poolStartTime, "late"); poolStartTime = _poolStartTime; poolEndTime = poolStartTime + runningTime; } function setFeeWallet( address _feeWallet) external onlyOperator{ feeWallet = _feeWallet; } function checkPoolDuplicate(IERC20 _token) internal view { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { require(poolInfo[pid].token != _token, "PndGenesisPool: existing pool?"); } } // Add a new token to the pool. Can only be called by the owner. function add( uint256 _allocPoint, IERC20 _token, bool _withUpdate, uint256 _lastRewardTime ) public onlyOperator { checkPoolDuplicate(_token); if (_withUpdate) { 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, accPndPerShare: 0, isStarted: _isStarted})); if (_isStarted) { totalAllocPoint = totalAllocPoint.add(_allocPoint); } } // Update the given pool's PND allocation point. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint) public 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(pndPerSecond); return poolEndTime.sub(_fromTime).mul(pndPerSecond); } else { if (_toTime <= poolStartTime) return 0; if (_fromTime <= poolStartTime) return _toTime.sub(poolStartTime).mul(pndPerSecond); return _toTime.sub(_fromTime).mul(pndPerSecond); } } // View function to see pending PND on frontend. function pendingPND(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accPndPerShare = pool.accPndPerShare; uint256 tokenSupply = pool.token.balanceOf(address(this)); if (block.timestamp > pool.lastRewardTime && tokenSupply != 0) { uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp); uint256 _pndReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint); accPndPerShare = accPndPerShare.add(_pndReward.mul(1e18).div(tokenSupply)); } return user.amount.mul(accPndPerShare).div(1e18).sub(user.rewardDebt); } // 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 _pndReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint); pool.accPndPerShare = pool.accPndPerShare.add(_pndReward.mul(1e18).div(tokenSupply)); } pool.lastRewardTime = block.timestamp; } // Deposit LP tokens. function deposit(uint256 _pid, uint256 _amount) public { address _sender = msg.sender; PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_sender]; updatePool(_pid); if (user.amount > 0) { uint256 _pending = user.amount.mul(pool.accPndPerShare).div(1e18).sub(user.rewardDebt); if (_pending > 0) { safePndTransfer(_sender, _pending); emit RewardPaid(_sender, _pending); } } if (_amount > 0) { if (address(pool.token) == usdc || address(pool.token) == wavax) { uint256 fee = _amount.div(100); _amount = _amount.sub(fee); pool.token.safeTransferFrom(_sender, feeWallet, fee); user.amount = user.amount.add(_amount); } else { user.amount = user.amount.add(_amount); } pool.token.safeTransferFrom(_sender, address(this), _amount); } user.rewardDebt = user.amount.mul(pool.accPndPerShare).div(1e18); emit Deposit(_sender, _pid, _amount); } // Withdraw LP tokens. function withdraw(uint256 _pid, uint256 _amount) public { address _sender = msg.sender; PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 _pending = user.amount.mul(pool.accPndPerShare).div(1e18).sub(user.rewardDebt); if (_pending > 0) { safePndTransfer(_sender, _pending); emit RewardPaid(_sender, _pending); } if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.token.safeTransfer(_sender, _amount); } user.rewardDebt = user.amount.mul(pool.accPndPerShare).div(1e18); emit Withdraw(_sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 _amount = user.amount; user.amount = 0; user.rewardDebt = 0; pool.token.safeTransfer(msg.sender, _amount); emit EmergencyWithdraw(msg.sender, _pid, _amount); } // Safe PND transfer function, just in case a rounding error causes pool to not have enough PNDs. function safePndTransfer(address _to, uint256 _amount) internal { uint256 _pndBalance = pnd.balanceOf(address(this)); if (_pndBalance > 0) { if (_amount > _pndBalance) { pnd.safeTransfer(_to, _pndBalance); } else { pnd.safeTransfer(_to, _amount); } } } function setOperator(address _operator) external onlyOperator { operator = _operator; } function governanceRecoverUnsupported( IERC20 _token, uint256 amount, address to ) external onlyOperator { if (block.timestamp < poolEndTime + 90 days) { // do not allow to drain core token (PND or lps) if less than 90 days after pool ends require(_token != pnd, "pnd"); 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":"_pnd","type":"address"},{"internalType":"address","name":"_feeWallet","type":"address"}],"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":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"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":[],"name":"feeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"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":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingPND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pnd","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pndPerSecond","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":"accPndPerShare","type":"uint256"},{"internalType":"bool","name":"isStarted","type":"bool"}],"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":"_feeWallet","type":"address"}],"name":"setFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolStartTime","type":"uint256"}],"name":"setStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdc","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"wavax","outputs":[{"internalType":"address","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"}]
Contract Creation Code
6080604052600380546001600160a01b031990811673b97ef9ef8734c71904d8002f8b6bc66dd9c48a6e179091556004805490911673b31f66aa3c1e785363f0875a1b74e27b85fd66c717905560006007556701ed6eb353a6e000600a556202a300600b5534801561007057600080fd5b50604051611b2e380380611b2e8339818101604052604081101561009357600080fd5b5080516020909101516001600160a01b038216156100c757600280546001600160a01b0319166001600160a01b0384161790555b600080546001600160a01b03199081163317909155600180546001600160a01b03939093169290911691909117905550611a28806101066000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80635312ea8e116100de57806390d49b9d1161009757806396805e541161007157806396805e54146103fc578063b3ab15fb14610436578063e2bbb1581461045c578063f25f4b561461047f5761018e565b806390d49b9d1461038957806393f1a40b146103af578063943f013d146103f45761018e565b80635312ea8e1461031657806354575af414610333578063570ca735146103695780635f96dc1114610371578063630b5ba1146103795780636e271dd5146103815761018e565b8063231f0c6a1161014b5780633e413bee116101255780633e413bee146102c6578063441a3e70146102ce57806345744645146102f157806351eb05a6146102f95761018e565b8063231f0c6a1461027e5780632f37dc59146102a15780633e0a322d146102a95761018e565b806309cf609114610193578063117be4c2146101ad5780631526fe27146101d157806317caf6f1146102255780631a4e66f21461022d5780631ab06ee514610259575b600080fd5b61019b610487565b60408051918252519081900360200190f35b6101b5610495565b604080516001600160a01b039092168252519081900360200190f35b6101ee600480360360208110156101e757600080fd5b50356104a4565b604080516001600160a01b039096168652602086019490945284840192909252606084015215156080830152519081900360a00190f35b61019b6104ef565b61019b6004803603604081101561024357600080fd5b50803590602001356001600160a01b03166104f5565b61027c6004803603604081101561026f57600080fd5b5080359060200135610661565b005b61019b6004803603604081101561029457600080fd5b508035906020013561070f565b6101b56107ce565b61027c600480360360208110156102bf57600080fd5b50356107dd565b6101b56108c6565b61027c600480360360408110156102e457600080fd5b50803590602001356108d5565b61019b610a86565b61027c6004803603602081101561030f57600080fd5b5035610a8c565b61027c6004803603602081101561032c57600080fd5b5035610bea565b61027c6004803603606081101561034957600080fd5b506001600160a01b03813581169160208101359160409091013516610c86565b6101b5610dcb565b61019b610dda565b61027c610de0565b61019b610e03565b61027c6004803603602081101561039f57600080fd5b50356001600160a01b0316610e09565b6103db600480360360408110156103c557600080fd5b50803590602001356001600160a01b0316610e74565b6040805192835260208301919091528051918290030190f35b61019b610e98565b61027c6004803603608081101561041257600080fd5b508035906001600160a01b0360208201351690604081013515159060600135610e9e565b61027c6004803603602081101561044c57600080fd5b50356001600160a01b031661109f565b61027c6004803603604081101561047257600080fd5b508035906020013561110a565b6101b56112fa565b6905150ae84a8cdf00000081565b6004546001600160a01b031681565b600581815481106104b157fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909160ff1685565b60075481565b6000806005848154811061050557fe5b600091825260208083208784526006825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b15801561057f57600080fd5b505afa158015610593573d6000803e3d6000fd5b505050506040513d60208110156105a957600080fd5b50516002850154909150421180156105c057508015155b156106235760006105d585600201544261070f565b905060006105fc6007546105f688600101548561130990919063ffffffff16565b90611369565b905061061e610617846105f684670de0b6b3a7640000611309565b85906113d0565b935050505b610654836001015461064e670de0b6b3a76400006105f686886000015461130990919063ffffffff16565b9061142a565b9450505050505b92915050565b6000546001600160a01b031633146106aa5760405162461bcd60e51b815260040180806020018281038252602a81526020018061197e602a913960400191505060405180910390fd5b6106b2610de0565b6000600583815481106106c157fe5b60009182526020909120600590910201600481015490915060ff161561070857610704826106fe836001015460075461142a90919063ffffffff16565b906113d0565b6007555b6001015550565b60008183106107205750600061065b565b600954821061078857600954831061073a5750600061065b565b600854831161076d57610766600a5461076060085460095461142a90919063ffffffff16565b90611309565b905061065b565b610766600a546107608560095461142a90919063ffffffff16565b60085482116107995750600061065b565b60085483116107bd57610766600a546107606008548561142a90919063ffffffff16565b600a5461076690610760848661142a565b6002546001600160a01b031681565b6000546001600160a01b031633146108265760405162461bcd60e51b815260040180806020018281038252602a81526020018061197e602a913960400191505060405180910390fd5b6008541561087b576040805162461bcd60e51b815260206004820152601d60248201527f43616e277420736574207374617274696e672074696d65207477696365000000604482015290519081900360640190fd5b8042106108b8576040805162461bcd60e51b815260206004808301919091526024820152636c61746560e01b604482015290519081900360640190fd5b6008819055600b5401600955565b6003546001600160a01b031681565b60003390506000600584815481106108e957fe5b600091825260208083208784526006825260408085206001600160a01b03881686529092529220805460059092029092019250841115610965576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61096e85610a8c565b600061099f826001015461064e670de0b6b3a76400006105f68760030154876000015461130990919063ffffffff16565b905080156109f1576109b18482611487565b6040805182815290516001600160a01b038616917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b8415610a1b578154610a03908661142a565b82558254610a1b906001600160a01b0316858761153d565b60038301548254610a3991670de0b6b3a7640000916105f691611309565b600183015560408051868152905187916001600160a01b038716917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505050505050565b600a5481565b600060058281548110610a9b57fe5b9060005260206000209060050201905080600201544211610abc5750610be7565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610b0657600080fd5b505afa158015610b1a573d6000803e3d6000fd5b505050506040513d6020811015610b3057600080fd5b5051905080610b46575042600290910155610be7565b600482015460ff16610b775760048201805460ff19166001908117909155820154600754610b73916113d0565b6007555b60075415610bde576000610b8f83600201544261070f565b90506000610bb06007546105f686600101548561130990919063ffffffff16565b9050610bd6610bcb846105f684670de0b6b3a7640000611309565b6003860154906113d0565b600385015550505b50426002909101555b50565b600060058281548110610bf957fe5b600091825260208083208584526006825260408085203380875293528420805485825560018201959095556005909302018054909450919291610c49916001600160a01b0391909116908361153d565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b6000546001600160a01b03163314610ccf5760405162461bcd60e51b815260040180806020018281038252602a81526020018061197e602a913960400191505060405180910390fd5b6009546276a70001421015610db2576002546001600160a01b0384811691161415610d27576040805162461bcd60e51b81526020600482015260036024820152621c1b9960ea1b604482015290519081900360640190fd5b60055460005b81811015610daf57600060058281548110610d4457fe5b6000918252602090912060059091020180549091506001600160a01b0387811691161415610da6576040805162461bcd60e51b815260206004820152600a6024820152693837b7b6173a37b5b2b760b11b604482015290519081900360640190fd5b50600101610d2d565b50505b610dc66001600160a01b038416828461153d565b505050565b6000546001600160a01b031681565b60085481565b60055460005b81811015610dff57610df781610a8c565b600101610de6565b5050565b60095481565b6000546001600160a01b03163314610e525760405162461bcd60e51b815260040180806020018281038252602a81526020018061197e602a913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60066020908152600092835260408084209091529082529020805460019091015482565b600b5481565b6000546001600160a01b03163314610ee75760405162461bcd60e51b815260040180806020018281038252602a81526020018061197e602a913960400191505060405180910390fd5b610ef08361158f565b8115610efe57610efe610de0565b600854421015610f2a5780610f165750600854610f25565b600854811015610f2557506008545b610f3e565b801580610f3657504281105b15610f3e5750425b600060085482111580610f515750428211155b6040805160a0810182526001600160a01b038781168252602082018981529282018681526000606084018181528615801560808701908152600580546001810182559481905296517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db09490970293840180546001600160a01b031916979096169690961790945594517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db182015590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db282015592517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db384015590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db4909201805460ff1916921515929092179091559091506110985760075461109490866113d0565b6007555b5050505050565b6000546001600160a01b031633146110e85760405162461bcd60e51b815260040180806020018281038252602a81526020018061197e602a913960400191505060405180910390fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b600033905060006005848154811061111e57fe5b600091825260208083208784526006825260408085206001600160a01b038816865290925292206005909102909101915061115885610a8c565b8054156111e4576000611190826001015461064e670de0b6b3a76400006105f68760030154876000015461130990919063ffffffff16565b905080156111e2576111a28482611487565b6040805182815290516001600160a01b038616917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b505b83156112905760035482546001600160a01b0390811691161480611217575060045482546001600160a01b039081169116145b1561126a576000611229856064611369565b9050611235858261142a565b6001548454919650611256916001600160a01b039081169187911684611629565b815461126290866113d0565b825550611279565b805461127690856113d0565b81555b8154611290906001600160a01b0316843087611629565b600382015481546112ae91670de0b6b3a7640000916105f691611309565b600182015560408051858152905186916001600160a01b038616917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050505050565b6001546001600160a01b031681565b6000826113185750600061065b565b8282028284828161132557fe5b04146113625760405162461bcd60e51b81526004018080602001828103825260218152602001806119a86021913960400191505060405180910390fd5b9392505050565b60008082116113bf576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816113c857fe5b049392505050565b600082820183811015611362576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082821115611481576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156114d257600080fd5b505afa1580156114e6573d6000803e3d6000fd5b505050506040513d60208110156114fc57600080fd5b505190508015610dc6578082111561152a57600254611525906001600160a01b0316848361153d565b610dc6565b600254610dc6906001600160a01b031684845b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610dc6908490611689565b60055460005b81811015610dc657826001600160a01b0316600582815481106115b457fe5b60009182526020909120600590910201546001600160a01b03161415611621576040805162461bcd60e51b815260206004820152601e60248201527f506e6447656e65736973506f6f6c3a206578697374696e6720706f6f6c3f0000604482015290519081900360640190fd5b600101611595565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611683908590611689565b50505050565b60606116de826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661173a9092919063ffffffff16565b805190915015610dc6578080602001905160208110156116fd57600080fd5b5051610dc65760405162461bcd60e51b815260040180806020018281038252602a8152602001806119c9602a913960400191505060405180910390fd5b60606117498484600085611751565b949350505050565b6060824710156117925760405162461bcd60e51b81526004018080602001828103825260268152602001806119586026913960400191505060405180910390fd5b61179b856118ad565b6117ec576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061182b5780518252601f19909201916020918201910161180c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461188d576040519150601f19603f3d011682016040523d82523d6000602084013e611892565b606091505b50915091506118a28282866118b3565b979650505050505050565b3b151590565b606083156118c2575081611362565b8251156118d25782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561191c578181015183820152602001611904565b50505050905090810190601f1680156119495780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c506e6447656e65736973506f6f6c3a2063616c6c6572206973206e6f7420746865206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220da0526136ebc2c18ab5349579050369c13fe8e115d542c86df2d0df87fdbe0d164736f6c634300060c0033000000000000000000000000d8a30ba14128193a02f90e2d5eaa943bc446630d000000000000000000000000281b1e5b25eb59848de615a518b4fd9288e978b9
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d8a30ba14128193a02f90e2d5eaa943bc446630d000000000000000000000000281b1e5b25eb59848de615a518b4fd9288e978b9
-----Decoded View---------------
Arg [0] : _pnd (address): 0xd8a30ba14128193a02f90e2d5eaa943bc446630d
Arg [1] : _feeWallet (address): 0x281b1e5b25eb59848de615a518b4fd9288e978b9
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000d8a30ba14128193a02f90e2d5eaa943bc446630d
Arg [1] : 000000000000000000000000281b1e5b25eb59848de615a518b4fd9288e978b9
Deployed ByteCode Sourcemap
22310:11444:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24157:51;;;:::i;:::-;;;;;;;;;;;;;;;;23222:65;;;:::i;:::-;;;;-1:-1:-1;;;;;23222:65:0;;;;;;;;;;;;;;23323:26;;;;;;;;;;;;;;;;-1:-1:-1;23323:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;23323:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23568:34;;;:::i;28033:763::-;;;;;;;;;;;;;;;;-1:-1:-1;28033:763:0;;;;;;-1:-1:-1;;;;;28033:763:0;;:::i;26924:321::-;;;;;;;;;;;;;;;;-1:-1:-1;26924:321:0;;;;;;;:::i;:::-;;27322:649;;;;;;;;;;;;;;;;-1:-1:-1;27322:649:0;;;;;;;:::i;23127:17::-;;;:::i;24900:300::-;;;;;;;;;;;;;;;;-1:-1:-1;24900:300:0;;:::i;23151:64::-;;;:::i;31276:807::-;;;;;;;;;;;;;;;;-1:-1:-1;31276:807:0;;;;;;;:::i;24017:46::-;;;:::i;29135:904::-;;;;;;;;;;;;;;;;-1:-1:-1;29135:904:0;;:::i;32154:377::-;;;;;;;;;;;;;;;;-1:-1:-1;32154:377:0;;:::i;33116:635::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33116:635:0;;;;;;;;;;;;;;;;;:::i;22434:23::-;;;:::i;23652:28::-;;;:::i;28879:180::-;;;:::i;23728:26::-;;;:::i;25206:105::-;;;;;;;;;;;;;;;;-1:-1:-1;25206:105:0;-1:-1:-1;;;;;25206:105:0;;:::i;23407:64::-;;;;;;;;;;;;;;;;-1:-1:-1;23407:64:0;;;;;;-1:-1:-1;;;;;23407:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24105:35;;;:::i;25657:1172::-;;;;;;;;;;;;;;;;-1:-1:-1;25657:1172:0;;;-1:-1:-1;;;;;25657:1172:0;;;;;;;;;;;;;;;;;:::i;33007:101::-;;;;;;;;;;;;;;;;-1:-1:-1;33007:101:0;-1:-1:-1;;;;;33007:101:0;;:::i;30074:1166::-;;;;;;;;;;;;;;;;-1:-1:-1;30074:1166:0;;;;;;;:::i;22464:24::-;;;:::i;24157:51::-;24197:11;24157:51;:::o;23222:65::-;;;-1:-1:-1;;;;;23222:65:0;;:::o;23323:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23323:26:0;;;;-1:-1:-1;23323:26:0;;;;;;;:::o;23568:34::-;;;;:::o;28033:763::-;28105:7;28125:21;28149:8;28158:4;28149:14;;;;;;;;;;;;;;;;28198;;;:8;:14;;;;;;-1:-1:-1;;;;;28198:21:0;;;;;;;;;;;28149:14;;;;;;;;28255:19;;;;28307:10;;:35;;-1:-1:-1;;;28307:35:0;;28336:4;28307:35;;;;;;28149:14;;-1:-1:-1;28198:21:0;;28255:19;;28149:14;;28307:10;;;:20;;:35;;;;;;;;;;;:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28307:35:0;28375:19;;;;28307:35;;-1:-1:-1;28357:15:0;:37;:57;;;;-1:-1:-1;28398:16:0;;;28357:57;28353:356;;;28431:24;28458:56;28477:4;:19;;;28498:15;28458:18;:56::i;:::-;28431:83;;28529:18;28550:58;28592:15;;28550:37;28571:4;:15;;;28550:16;:20;;:37;;;;:::i;:::-;:41;;:58::i;:::-;28529:79;-1:-1:-1;28640:57:0;28659:37;28684:11;28659:20;28529:79;28674:4;28659:14;:20::i;:37::-;28640:14;;:18;:57::i;:::-;28623:74;;28353:356;;;28726:62;28772:4;:15;;;28726:41;28762:4;28726:31;28742:14;28726:4;:11;;;:15;;:31;;;;:::i;:41::-;:45;;:62::i;:::-;28719:69;;;;;;28033:763;;;;;:::o;26924:321::-;24803:8;;-1:-1:-1;;;;;24803:8:0;24815:10;24803:22;24795:77;;;;-1:-1:-1;;;24795:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27003:17:::1;:15;:17::i;:::-;27031:21;27055:8;27064:4;27055:14;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;27084;::::0;::::1;::::0;27055;;-1:-1:-1;27084:14:0::1;;27080:118;;;27133:53;27174:11;27133:36;27153:4;:15;;;27133;;:19;;:36;;;;:::i;:::-;:40:::0;::::1;:53::i;:::-;27115:15;:71:::0;27080:118:::1;27208:15;;:29:::0;-1:-1:-1;26924:321:0:o;27322:649::-;27407:7;27444;27431:9;:20;27427:34;;-1:-1:-1;27460:1:0;27453:8;;27427:34;27487:11;;27476:7;:22;27472:492;;27532:11;;27519:9;:24;27515:38;;-1:-1:-1;27552:1:0;27545:8;;27515:38;27585:13;;27572:9;:26;27568:87;;27607:48;27642:12;;27607:30;27623:13;;27607:11;;:15;;:30;;;;:::i;:::-;:34;;:48::i;:::-;27600:55;;;;27568:87;27677:44;27708:12;;27677:26;27693:9;27677:11;;:15;;:26;;;;:::i;27472:492::-;27769:13;;27758:7;:24;27754:38;;-1:-1:-1;27791:1:0;27784:8;;27754:38;27824:13;;27811:9;:26;27807:83;;27846:44;27877:12;;27846:26;27858:13;;27846:7;:11;;:26;;;;:::i;27807:83::-;27939:12;;27912:40;;:22;:7;27924:9;27912:11;:22::i;23127:17::-;;;-1:-1:-1;;;;;23127:17:0;;:::o;24900:300::-;24803:8;;-1:-1:-1;;;;;24803:8:0;24815:10;24803:22;24795:77;;;;-1:-1:-1;;;24795:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24987:13:::1;::::0;:18;24979:60:::1;;;::::0;;-1:-1:-1;;;24979:60:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;25076:14;25058:15;:32;25050:49;;;::::0;;-1:-1:-1;;;25050:49:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;25050:49:0;;;;;;;;;;;;;::::1;;25110:13;:30:::0;;;25181:11:::1;::::0;25165:27:::1;25151:11;:41:::0;24900:300::o;23151:64::-;;;-1:-1:-1;;;;;23151:64:0;;:::o;31276:807::-;31343:15;31361:10;31343:28;;31382:21;31406:8;31415:4;31406:14;;;;;;;;;;;;;;;;31455;;;:8;:14;;;;;;-1:-1:-1;;;;;31455:23:0;;;;;;;;;31497:11;;31406:14;;;;;;;;-1:-1:-1;31497:22:0;-1:-1:-1;31497:22:0;31489:53;;;;;-1:-1:-1;;;31489:53:0;;;;;;;;;;;;-1:-1:-1;;;31489:53:0;;;;;;;;;;;;;;;31553:16;31564:4;31553:10;:16::i;:::-;31580;31599:67;31650:4;:15;;;31599:46;31640:4;31599:36;31615:4;:19;;;31599:4;:11;;;:15;;:36;;;;:::i;:67::-;31580:86;-1:-1:-1;31681:12:0;;31677:128;;31710:34;31726:7;31735:8;31710:15;:34::i;:::-;31764:29;;;;;;;;-1:-1:-1;;;;;31764:29:0;;;;;;;;;;;;;31677:128;31819:11;;31815:138;;31861:11;;:24;;31877:7;31861:15;:24::i;:::-;31847:38;;31900:10;;:41;;-1:-1:-1;;;;;31900:10:0;31924:7;31933;31900:23;:41::i;:::-;31997:19;;;;31981:11;;:46;;32022:4;;31981:36;;:15;:36::i;:46::-;31963:15;;;:64;32043:32;;;;;;;;32061:4;;-1:-1:-1;;;;;32043:32:0;;;;;;;;;;;;31276:807;;;;;;:::o;24017:46::-;;;;:::o;29135:904::-;29187:21;29211:8;29220:4;29211:14;;;;;;;;;;;;;;;;;;29187:38;;29259:4;:19;;;29240:15;:38;29236:77;;29295:7;;;29236:77;29345:10;;:35;;;-1:-1:-1;;;29345:35:0;;29374:4;29345:35;;;;;;29323:19;;-1:-1:-1;;;;;29345:10:0;;:20;;:35;;;;;;;;;;;;;;:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29345:35:0;;-1:-1:-1;29395:16:0;29391:107;;-1:-1:-1;29450:15:0;29428:19;;;;:37;29480:7;;29391:107;29513:14;;;;;;29508:138;;29544:14;;;:21;;-1:-1:-1;;29544:21:0;29561:4;29544:21;;;;;;29618:15;;;29598;;:36;;:19;:36::i;:::-;29580:15;:54;29508:138;29660:15;;:19;29656:328;;29696:24;29723:56;29742:4;:19;;;29763:15;29723:18;:56::i;:::-;29696:83;;29794:18;29815:58;29857:15;;29815:37;29836:4;:15;;;29815:16;:20;;:37;;;;:::i;:58::-;29794:79;-1:-1:-1;29910:62:0;29934:37;29959:11;29934:20;29794:79;29949:4;29934:14;:20::i;:37::-;29910:19;;;;;:23;:62::i;:::-;29888:19;;;:84;-1:-1:-1;;29656:328:0;-1:-1:-1;30016:15:0;29994:19;;;;:37;29135:904;;:::o;32154:377::-;32213:21;32237:8;32246:4;32237:14;;;;;;;;;;;;;;;;32286;;;:8;:14;;;;;;32301:10;32286:26;;;;;;;32341:11;;32363:15;;;-1:-1:-1;32389:15:0;;:19;;;;32237:14;;;;;32419:10;;32237:14;;-1:-1:-1;32286:26:0;;32341:11;32419:44;;-1:-1:-1;;;;;32419:10:0;;;;;32341:11;32419:23;:44::i;:::-;32479;;;;;;;;32509:4;;32497:10;;32479:44;;;;;;;;;32154:377;;;;:::o;33116:635::-;24803:8;;-1:-1:-1;;;;;24803:8:0;24815:10;24803:22;24795:77;;;;-1:-1:-1;;;24795:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33286:11:::1;;33300:7;33286:21;33268:15;:39;33264:438;;;33441:3;::::0;-1:-1:-1;;;;;33431:13:0;;::::1;33441:3:::0;::::1;33431:13;;33423:29;;;::::0;;-1:-1:-1;;;33423:29:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33423:29:0;;;;;;;;;;;;;::::1;;33484:8;:15:::0;33467:14:::1;33514:177;33542:6;33536:3;:12;33514:177;;;33576:21;33600:8;33609:3;33600:13;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;33650:10:::0;;33600:13;;-1:-1:-1;;;;;;33640:20:0;;::::1;33650:10:::0;::::1;33640:20;;33632:43;;;::::0;;-1:-1:-1;;;33632:43:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33632:43:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;33550:5:0::1;;33514:177;;;;33264:438;;33712:31;-1:-1:-1::0;;;;;33712:19:0;::::1;33732:2:::0;33736:6;33712:19:::1;:31::i;:::-;33116:635:::0;;;:::o;22434:23::-;;;-1:-1:-1;;;;;22434:23:0;;:::o;23652:28::-;;;;:::o;28879:180::-;28941:8;:15;28924:14;28967:85;28995:6;28989:3;:12;28967:85;;;29025:15;29036:3;29025:10;:15::i;:::-;29003:5;;28967:85;;;;28879:180;:::o;23728:26::-;;;;:::o;25206:105::-;24803:8;;-1:-1:-1;;;;;24803:8:0;24815:10;24803:22;24795:77;;;;-1:-1:-1;;;24795:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25281:9:::1;:22:::0;;-1:-1:-1;;;;;;25281:22:0::1;-1:-1:-1::0;;;;;25281:22:0;;;::::1;::::0;;;::::1;::::0;;25206:105::o;23407:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24105:35::-;;;;:::o;25657:1172::-;24803:8;;-1:-1:-1;;;;;24803:8:0;24815:10;24803:22;24795:77;;;;-1:-1:-1;;;24795:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25823:26:::1;25842:6;25823:18;:26::i;:::-;25864:11;25860:61;;;25892:17;:15;:17::i;:::-;25953:13;;25935:15;:31;25931:534;;;26020:20:::0;26016:243:::1;;-1:-1:-1::0;26079:13:0::1;::::0;26016:243:::1;;;26155:13;;26137:15;:31;26133:111;;;-1:-1:-1::0;26211:13:0::1;::::0;26133:111:::1;25931:534;;;26327:20:::0;;;:57:::1;;;26369:15;26351;:33;26327:57;26323:131;;;-1:-1:-1::0;26423:15:0::1;26323:131;26475:15;26513:13;;26494:15;:32;;26493:74;;;;26551:15;26532;:34;;26493:74;26592:125;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;26592:125:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;26592:125:0;;;;;;;::::1;::::0;::::1;::::0;;;;;;26578:8:::1;:140:::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;26578:140:0::1;::::0;;;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26578:140:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;26592:125;;-1:-1:-1;26729:93:0::1;;26778:15;::::0;:32:::1;::::0;26798:11;26778:19:::1;:32::i;:::-;26760:15;:50:::0;26729:93:::1;24883:1;25657:1172:::0;;;;:::o;33007:101::-;24803:8;;-1:-1:-1;;;;;24803:8:0;24815:10;24803:22;24795:77;;;;-1:-1:-1;;;24795:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33080:8:::1;:20:::0;;-1:-1:-1;;;;;;33080:20:0::1;-1:-1:-1::0;;;;;33080:20:0;;;::::1;::::0;;;::::1;::::0;;33007:101::o;30074:1166::-;30140:15;30158:10;30140:28;;30179:21;30203:8;30212:4;30203:14;;;;;;;;;;;;;;;;30252;;;:8;:14;;;;;;-1:-1:-1;;;;;30252:23:0;;;;;;;;;30203:14;;;;;;;;-1:-1:-1;30286:16:0;30261:4;30286:10;:16::i;:::-;30317:11;;:15;30313:288;;30349:16;30368:67;30419:4;:15;;;30368:46;30409:4;30368:36;30384:4;:19;;;30368:4;:11;;;:15;;:36;;;;:::i;:67::-;30349:86;-1:-1:-1;30454:12:0;;30450:140;;30487:34;30503:7;30512:8;30487:15;:34::i;:::-;30545:29;;;;;;;;-1:-1:-1;;;;;30545:29:0;;;;;;;;;;;;;30450:140;30313:288;;30615:11;;30611:500;;30670:4;;30655:10;;-1:-1:-1;;;;;30655:10:0;;;30670:4;;30647:27;;:59;;-1:-1:-1;30701:5:0;;30686:10;;-1:-1:-1;;;;;30686:10:0;;;30701:5;;30678:28;30647:59;30643:382;;;30727:11;30741:16;:7;30753:3;30741:11;:16::i;:::-;30727:30;-1:-1:-1;30786:16:0;:7;30727:30;30786:11;:16::i;:::-;30858:9;;30821:10;;30776:26;;-1:-1:-1;30821:52:0;;-1:-1:-1;;;;;30821:10:0;;;;30849:7;;30858:9;30869:3;30821:27;:52::i;:::-;30906:11;;:24;;30922:7;30906:15;:24::i;:::-;30892:38;;-1:-1:-1;30643:382:0;;;30985:11;;:24;;31001:7;30985:15;:24::i;:::-;30971:38;;30643:382;31039:10;;:60;;-1:-1:-1;;;;;31039:10:0;31067:7;31084:4;31091:7;31039:27;:60::i;:::-;31155:19;;;;31139:11;;:46;;31180:4;;31139:36;;:15;:36::i;:46::-;31121:15;;;:64;31201:31;;;;;;;;31218:4;;-1:-1:-1;;;;;31201:31:0;;;;;;;;;;;;30074:1166;;;;;:::o;22464:24::-;;;-1:-1:-1;;;;;22464:24:0;;:::o;6467:220::-;6525:7;6549:6;6545:20;;-1:-1:-1;6564:1:0;6557:8;;6545:20;6588:5;;;6592:1;6588;:5;:1;6612:5;;;;;:10;6604:56;;;;-1:-1:-1;;;6604:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6678:1;6467:220;-1:-1:-1;;;6467:220:0:o;7165:153::-;7223:7;7255:1;7251;:5;7243:44;;;;;-1:-1:-1;;;7243:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7309:1;7305;:5;;;;;;;7165:153;-1:-1:-1;;;7165:153:0:o;5588:179::-;5646:7;5678:5;;;5702:6;;;;5694:46;;;;;-1:-1:-1;;;5694:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;6050:158;6108:7;6141:1;6136;:6;;6128:49;;;;;-1:-1:-1;;;6128:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6195:5:0;;;6050:158::o;32642:357::-;32739:3;;:28;;;-1:-1:-1;;;32739:28:0;;32761:4;32739:28;;;;;;32717:19;;-1:-1:-1;;;;;32739:3:0;;:13;;:28;;;;;;;;;;;;;;:3;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32739:28:0;;-1:-1:-1;32782:15:0;;32778:214;;32828:11;32818:7;:21;32814:167;;;32860:3;;:34;;-1:-1:-1;;;;;32860:3:0;32877;32882:11;32860:16;:34::i;:::-;32814:167;;;32935:3;;:30;;-1:-1:-1;;;;;32935:3:0;32952;32957:7;18968:177;19078:58;;;-1:-1:-1;;;;;19078:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19078:58:0;-1:-1:-1;;;19078:58:0;;;19051:86;;19071:5;;19051:19;:86::i;25319:260::-;25404:8;:15;25387:14;25430:142;25458:6;25452:3;:12;25430:142;;;25519:6;-1:-1:-1;;;;;25496:29:0;:8;25505:3;25496:13;;;;;;;;;;;;;;;;;;;;;:19;-1:-1:-1;;;;;25496:19:0;:29;;25488:72;;;;;-1:-1:-1;;;25488:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;25466:5;;25430:142;;19153:205;19281:68;;;-1:-1:-1;;;;;19281:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19281:68:0;-1:-1:-1;;;19281:68:0;;;19254:96;;19274:5;;19254:19;:96::i;:::-;19153:205;;;;:::o;21273:761::-;21697:23;21723:69;21751:4;21723:69;;;;;;;;;;;;;;;;;21731:5;-1:-1:-1;;;;;21723:27:0;;;:69;;;;;:::i;:::-;21807:17;;21697:95;;-1:-1:-1;21807:21:0;21803:224;;21949:10;21938:30;;;;;;;;;;;;;;;-1:-1:-1;21938:30:0;21930:85;;;;-1:-1:-1;;;21930:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13955:195;14058:12;14090:52;14112:6;14120:4;14126:1;14129:12;14090:21;:52::i;:::-;14083:59;13955:195;-1:-1:-1;;;;13955:195:0:o;15007:530::-;15134:12;15192:5;15167:21;:30;;15159:81;;;;-1:-1:-1;;;15159:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15259:18;15270:6;15259:10;:18::i;:::-;15251:60;;;;;-1:-1:-1;;;15251:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15385:12;15399:23;15426:6;-1:-1:-1;;;;;15426:11:0;15446:5;15454:4;15426:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15426:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15384:75;;;;15477:52;15495:7;15504:10;15516:12;15477:17;:52::i;:::-;15470:59;15007:530;-1:-1:-1;;;;;;;15007:530:0:o;11037:422::-;11404:20;11443:8;;;11037:422::o;17547:742::-;17662:12;17691:7;17687:595;;;-1:-1:-1;17722:10:0;17715:17;;17687:595;17836:17;;:21;17832:439;;18099:10;18093:17;18160:15;18147:10;18143:2;18139:19;18132:44;18047:148;18242:12;18235:20;;-1:-1:-1;;;18235:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://da0526136ebc2c18ab5349579050369c13fe8e115d542c86df2d0df87fdbe0d1
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.