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:
DarkcrystlGenesisRewardPool
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2022-06-01 */ // SPDX-License-Identifier: MIT // join our discord https://discord.com/invite/AEmBexkfeC 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/DarkcrystlGenesisRewardPool.sol pragma solidity 0.6.12; // Note that this pool has no minter key of DARKCRYSTL (rewards). // Instead, the governance will call DARKCRYSTL distributeReward method and send reward to this pool at the beginning. contract DarkcrystlGenesisRewardPool { using SafeMath for uint256; using SafeERC20 for IERC20; // governance address public operator; address public feeAddress; // 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. DARKCRYSTL to distribute. uint256 lastRewardTime; // Last time that DARKCRYSTL distribution occurs. uint16 depositFeeBP; //depositfee uint256 accDarkcrystlPerShare; // Accumulated DARKCRYSTL per share, times 1e18. See below. bool isStarted; // if lastRewardBlock has passed } IERC20 public darkcrystl; address public mim; // 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 DARKCRYSTL mining starts. uint256 public poolStartTime; // The time when DARKCRYSTL mining ends. uint256 public poolEndTime; // TESTNET //uint256 public darkcrystlPerSecond = 0.66667 ether; // 2400 DARKCRYSTL / (1h * 60min * 60s) //uint256 public runningTime = 1 hours; // 1 hours //uint256 public constant TOTAL_REWARDS = 2400 ether; // END TESTNET // MAINNET uint256 public darkcrystlPerSecond = 0.2777777777 ether; // 24000 DARKCRYSTL / (24h * 60min * 60s) uint256 public runningTime = 1 days; // 1 days uint256 public constant TOTAL_REWARDS = 24000 ether; // END MAINNET event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event SetFeeAddress(address indexed user, address indexed newAddress); 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 _darkcrystl, address _mim, address _feeAddress, uint256 _poolStartTime ) public { require(block.timestamp < _poolStartTime, "late"); if (_darkcrystl != address(0)) darkcrystl = IERC20(_darkcrystl); if (_mim != address(0)) mim = _mim; poolStartTime = _poolStartTime; poolEndTime = poolStartTime + runningTime; operator = msg.sender; feeAddress = _feeAddress; } modifier onlyOperator() { require(operator == msg.sender, "DarkcrystlGenesisPool: caller is not the operator"); _; } function checkPoolDuplicate(IERC20 _token) internal view { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { require(poolInfo[pid].token != _token, "DarkcrystlGenesisPool: 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, uint16 _depositFeeBP ) public onlyOperator { require(_depositFeeBP <= 100, "add: invalid deposit fee basis points"); 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, accDarkcrystlPerShare: 0, isStarted: _isStarted, depositFeeBP: _depositFeeBP})); if (_isStarted) { totalAllocPoint = totalAllocPoint.add(_allocPoint); } } // Update the given pool's DARKCRYSTL allocation point. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP) public onlyOperator { require(_depositFeeBP <= 100, "set: invalid deposit fee basis points"); massUpdatePools(); PoolInfo storage pool = poolInfo[_pid]; if (pool.isStarted) { totalAllocPoint = totalAllocPoint.sub(pool.allocPoint).add(_allocPoint); } pool.allocPoint = _allocPoint; poolInfo[_pid].depositFeeBP = _depositFeeBP; } // 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(darkcrystlPerSecond); return poolEndTime.sub(_fromTime).mul(darkcrystlPerSecond); } else { if (_toTime <= poolStartTime) return 0; if (_fromTime <= poolStartTime) return _toTime.sub(poolStartTime).mul(darkcrystlPerSecond); return _toTime.sub(_fromTime).mul(darkcrystlPerSecond); } } // View function to see pending DARKCRYSTL on frontend. function pendingDARKCRYSTL(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accDarkcrystlPerShare = pool.accDarkcrystlPerShare; uint256 tokenSupply = pool.token.balanceOf(address(this)); if (block.timestamp > pool.lastRewardTime && tokenSupply != 0) { uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp); uint256 _darkcrystlReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint); accDarkcrystlPerShare = accDarkcrystlPerShare.add(_darkcrystlReward.mul(1e18).div(tokenSupply)); } return user.amount.mul(accDarkcrystlPerShare).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 _darkcrystlReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint); pool.accDarkcrystlPerShare = pool.accDarkcrystlPerShare.add(_darkcrystlReward.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.accDarkcrystlPerShare).div(1e18).sub(user.rewardDebt); if (_pending > 0) { safeDarkcrystlTransfer(_sender, _pending); emit RewardPaid(_sender, _pending); } } if (_amount > 0) { pool.token.safeTransferFrom(_sender, address(this), _amount); if (address(pool.token) == mim) { user.amount = user.amount.add(_amount.mul(9900).div(10000)); } if (pool.depositFeeBP > 0) { uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000); pool.token.safeTransfer(feeAddress, depositFee); // pool.lpToken.safeTransfer(vaultAddress, depositFee); user.amount = user.amount.add(_amount).sub(depositFee); } else { user.amount = user.amount.add(_amount); } } user.rewardDebt = user.amount.mul(pool.accDarkcrystlPerShare).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.accDarkcrystlPerShare).div(1e18).sub(user.rewardDebt); if (_pending > 0) { safeDarkcrystlTransfer(_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.accDarkcrystlPerShare).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 DARKCRYSTL transfer function, just in case a rounding error causes pool to not have enough DARKCRYSTLs. function safeDarkcrystlTransfer(address _to, uint256 _amount) internal { uint256 _darkcrystlBalance = darkcrystl.balanceOf(address(this)); if (_darkcrystlBalance > 0) { if (_amount > _darkcrystlBalance) { darkcrystl.safeTransfer(_to, _darkcrystlBalance); } else { darkcrystl.safeTransfer(_to, _amount); } } } function setFeeAddress(address _feeAddress) external onlyOperator { feeAddress = _feeAddress; emit SetFeeAddress(msg.sender, _feeAddress); } 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 (DARKCRYSTL or lps) if less than 90 days after pool ends require(_token != darkcrystl, "darkcrystl"); 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":"_darkcrystl","type":"address"},{"internalType":"address","name":"_mim","type":"address"},{"internalType":"address","name":"_feeAddress","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":"address","name":"newAddress","type":"address"}],"name":"SetFeeAddress","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"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"darkcrystl","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"darkcrystlPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"feeAddress","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":"mim","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"pendingDARKCRYSTL","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":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"accDarkcrystlPerShare","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"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","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":[{"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":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260006006556703dadd6ac64e510060095562015180600a5534801561002857600080fd5b5060405162002c9638038062002c968339818101604052608081101561004d57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291905050508042106100f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260048152602001807f6c6174650000000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146101675783600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146101dd5782600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b80600781905550600a5460075401600881905550336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050612a1080620002866000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063570ca735116100c357806393f1a40b1161007c57806393f1a40b14610592578063943f013d146105fb5780639f67679e14610619578063b3ab15fb1461064d578063da6812ca14610691578063e2bbb158146106c557610158565b8063570ca735146104b65780635f96dc11146104ea578063630b5ba11461050857806368fea62a146105125780636e271dd5146105305780638705fcd41461054e57610158565b80634127535811610115578063412753581461030e578063441a3e7014610342578063466e7acc1461037a57806351eb05a6146103ec5780635312ea8e1461041a57806354575af41461044857610158565b806309cf60911461015d5780631526fe271461017b57806317caf6f1146101fc578063231f0c6a1461021a57806324bcb38c1461026657806332994805146102ac575b600080fd5b6101656106fd565b6040518082815260200191505060405180910390f35b6101a76004803603602081101561019157600080fd5b810190808035906020019092919050505061070b565b604051808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018461ffff1681526020018381526020018215158152602001965050505050505060405180910390f35b61020461078f565b6040518082815260200191505060405180910390f35b6102506004803603604081101561023057600080fd5b810190808035906020019092919080359060200190929190505050610795565b6040518082815260200191505060405180910390f35b6102aa6004803603606081101561027c57600080fd5b810190808035906020019092919080359060200190929190803561ffff1690602001909291905050506108a8565b005b6102f8600480360360408110156102c257600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a62565b6040518082815260200191505060405180910390f35b610316610c9a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103786004803603604081101561035857600080fd5b810190808035906020019092919080359060200190929190505050610cc0565b005b6103ea600480360360a081101561039057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919080359060200190929190803561ffff169060200190929190505050610f78565b005b6104186004803603602081101561040257600080fd5b810190808035906020019092919050505061123b565b005b6104466004803603602081101561043057600080fd5b810190808035906020019092919050505061144a565b005b6104b46004803603606081101561045e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061157e565b005b6104be61182e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104f2611852565b6040518082815260200191505060405180910390f35b610510611858565b005b61051a611885565b6040518082815260200191505060405180910390f35b61053861188b565b6040518082815260200191505060405180910390f35b6105906004803603602081101561056457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611891565b005b6105de600480360360408110156105a857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119d3565b604051808381526020018281526020019250505060405180910390f35b610603611a04565b6040518082815260200191505060405180910390f35b610621611a0a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61068f6004803603602081101561066357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a30565b005b610699611b17565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106fb600480360360408110156106db57600080fd5b810190808035906020019092919080359060200190929190505050611b3d565b005b6905150ae84a8cdf00000081565b6004818154811061071857fe5b90600052602060002090600602016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030160009054906101000a900461ffff16908060040154908060050160009054906101000a900460ff16905086565b60065481565b60008183106107a757600090506108a2565b600854821061082d5760085483106107c257600090506108a2565b60075483116107fd576107f66009546107e8600754600854611f5690919063ffffffff16565b611fd990919063ffffffff16565b90506108a2565b61082660095461081885600854611f5690919063ffffffff16565b611fd990919063ffffffff16565b90506108a2565b600754821161083f57600090506108a2565b60075483116108785761087160095461086360075485611f5690919063ffffffff16565b611fd990919063ffffffff16565b90506108a2565b61089f6009546108918585611f5690919063ffffffff16565b611fd990919063ffffffff16565b90505b92915050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461094c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806129806031913960400191505060405180910390fd5b60648161ffff1611156109aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806129366025913960400191505060405180910390fd5b6109b2611858565b6000600484815481106109c157fe5b906000526020600020906006020190508060050160009054906101000a900460ff1615610a1a57610a1383610a058360010154600654611f5690919063ffffffff16565b61205f90919063ffffffff16565b6006819055505b8281600101819055508160048581548110610a3157fe5b906000526020600020906006020160030160006101000a81548161ffff021916908361ffff16021790555050505050565b60008060048481548110610a7257fe5b9060005260206000209060060201905060006005600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260040154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610b6c57600080fd5b505afa158015610b80573d6000803e3d6000fd5b505050506040513d6020811015610b9657600080fd5b81019080805190602001909291905050509050836002015442118015610bbd575060008114155b15610c47576000610bd2856002015442610795565b90506000610c01600654610bf3886001015485611fd990919063ffffffff16565b6120e790919063ffffffff16565b9050610c42610c3384610c25670de0b6b3a764000085611fd990919063ffffffff16565b6120e790919063ffffffff16565b8561205f90919063ffffffff16565b935050505b610c8e8360010154610c80670de0b6b3a7640000610c72868860000154611fd990919063ffffffff16565b6120e790919063ffffffff16565b611f5690919063ffffffff16565b94505050505092915050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000339050600060048481548110610cd457fe5b9060005260206000209060060201905060006005600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508381600001541015610db2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610dbb8561123b565b6000610e088260010154610dfa670de0b6b3a7640000610dec87600401548760000154611fd990919063ffffffff16565b6120e790919063ffffffff16565b611f5690919063ffffffff16565b90506000811115610e6c57610e1d8482612170565b8373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b6000851115610ee457610e8c858360000154611f5690919063ffffffff16565b8260000181905550610ee384868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122ef9092919063ffffffff16565b5b610f19670de0b6b3a7640000610f0b85600401548560000154611fd990919063ffffffff16565b6120e790919063ffffffff16565b8260010181905550858473ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568876040518082815260200191505060405180910390a3505050505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461101c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806129806031913960400191505060405180910390fd5b60648161ffff16111561107a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806128ca6025913960400191505060405180910390fd5b61108384612391565b821561109257611091611858565b5b6007544210156110c55760008214156110af5760075491506110c0565b6007548210156110bf5760075491505b5b6110dd565b60008214806110d357504282105b156110dc574291505b5b6000600754831115806110f05750428311155b905060046040518060c001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020018881526020018581526020018461ffff16815260200160008152602001831515815250908060018154018082558091505060019003906000526020600020906006020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030160006101000a81548161ffff021916908361ffff1602179055506080820151816004015560a08201518160050160006101000a81548160ff021916908315150217905550505080156112335761122c8660065461205f90919063ffffffff16565b6006819055505b505050505050565b60006004828154811061124a57fe5b906000526020600020906006020190508060020154421161126b5750611447565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156112f857600080fd5b505afa15801561130c573d6000803e3d6000fd5b505050506040513d602081101561132257600080fd5b81019080805190602001909291905050509050600081141561134e574282600201819055505050611447565b8160050160009054906101000a900460ff166113a15760018260050160006101000a81548160ff02191690831515021790555061139a826001015460065461205f90919063ffffffff16565b6006819055505b6000600654111561143b5760006113bc836002015442610795565b905060006113eb6006546113dd866001015485611fd990919063ffffffff16565b6120e790919063ffffffff16565b905061143061141d8461140f670de0b6b3a764000085611fd990919063ffffffff16565b6120e790919063ffffffff16565b856004015461205f90919063ffffffff16565b846004018190555050505b42826002018190555050505b50565b60006004828154811061145957fe5b9060005260206000209060060201905060006005600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001549050600082600001819055506000826001018190555061152933828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122ef9092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a350505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611622576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806129806031913960400191505060405180910390fd5b6276a700600854014210156117fe57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f6461726b63727973746c0000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600480549050905060005b818110156117fb5760006004828154811061171957fe5b906000526020600020906006020190508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156117ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f706f6f6c2e746f6b656e0000000000000000000000000000000000000000000081525060200191505060405180910390fd5b50806001019050611702565b50505b61182981838573ffffffffffffffffffffffffffffffffffffffff166122ef9092919063ffffffff16565b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b6000600480549050905060005b81811015611881576118768161123b565b806001019050611865565b5050565b60095481565b60085481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611935576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806129806031913960400191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f760405160405180910390a350565b6005602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600a5481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611ad4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806129806031913960400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000339050600060048481548110611b5157fe5b9060005260206000209060060201905060006005600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611bbe8561123b565b600081600001541115611c7e576000611c188260010154611c0a670de0b6b3a7640000611bfc87600401548760000154611fd990919063ffffffff16565b6120e790919063ffffffff16565b611f5690919063ffffffff16565b90506000811115611c7c57611c2d8482612170565b8373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b505b6000841115611ec357611cd88330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612479909392919063ffffffff16565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611d9a57611d91611d7e612710611d706126ac88611fd990919063ffffffff16565b6120e790919063ffffffff16565b826000015461205f90919063ffffffff16565b81600001819055505b60008260030160009054906101000a900461ffff1661ffff161115611ea2576000611df8612710611dea8560030160009054906101000a900461ffff1661ffff1688611fd990919063ffffffff16565b6120e790919063ffffffff16565b9050611e6b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122ef9092919063ffffffff16565b611e9481611e8687856000015461205f90919063ffffffff16565b611f5690919063ffffffff16565b826000018190555050611ec2565b611eb984826000015461205f90919063ffffffff16565b81600001819055505b5b611ef8670de0b6b3a7640000611eea84600401548460000154611fd990919063ffffffff16565b6120e790919063ffffffff16565b8160010181905550848373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040518082815260200191505060405180910390a35050505050565b600082821115611fce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080831415611fec5760009050612059565b6000828402905082848281611ffd57fe5b0414612054576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129156021913960400191505060405180910390fd5b809150505b92915050565b6000808284019050838110156120dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080821161215e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161216757fe5b04905092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156121fb57600080fd5b505afa15801561220f573d6000803e3d6000fd5b505050506040513d602081101561222557600080fd5b8101908080519060200190929190505050905060008111156122ea578082111561229b576122968382600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122ef9092919063ffffffff16565b6122e9565b6122e88383600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122ef9092919063ffffffff16565b5b5b505050565b61238c8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061253a565b505050565b6000600480549050905060005b81811015612474578273ffffffffffffffffffffffffffffffffffffffff16600482815481106123ca57fe5b906000526020600020906006020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061295b6025913960400191505060405180910390fd5b80600101905061239e565b505050565b612534846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061253a565b50505050565b606061259c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166126299092919063ffffffff16565b9050600081511115612624578080602001905160208110156125bd57600080fd5b8101908080519060200190929190505050612623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806129b1602a913960400191505060405180910390fd5b5b505050565b60606126388484600085612641565b90509392505050565b60608247101561269c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806128ef6026913960400191505060405180910390fd5b6126a5856127ea565b612717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106127675780518252602082019150602081019050602083039250612744565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146127c9576040519150601f19603f3d011682016040523d82523d6000602084013e6127ce565b606091505b50915091506127de8282866127fd565b92505050949350505050565b600080823b905060008111915050919050565b6060831561280d578290506128c2565b6000835111156128205782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561288757808201518184015260208101905061286c565b50505050905090810190601f1680156128b45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e7473416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734461726b63727973746c47656e65736973506f6f6c3a206578697374696e6720706f6f6c3f4461726b63727973746c47656e65736973506f6f6c3a2063616c6c6572206973206e6f7420746865206f70657261746f725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220f528712ec298478be7e4f945686b78fa1e0e60cb0a47e2127dae1faa7d643d5664736f6c634300060c0033000000000000000000000000efa1fabc2ab6219174ad1c912f56f7de53cdc1e1000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000fcc526743b2beadf884ac8332e3d86a6581fbf7300000000000000000000000000000000000000000000000000000000629b9da0
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000efa1fabc2ab6219174ad1c912f56f7de53cdc1e1000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000fcc526743b2beadf884ac8332e3d86a6581fbf7300000000000000000000000000000000000000000000000000000000629b9da0
-----Decoded View---------------
Arg [0] : _darkcrystl (address): 0xefa1fabc2ab6219174ad1c912f56f7de53cdc1e1
Arg [1] : _mim (address): 0x000000000000000000000000000000000000dead
Arg [2] : _feeAddress (address): 0xfcc526743b2beadf884ac8332e3d86a6581fbf73
Arg [3] : _poolStartTime (uint256): 1654365600
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000efa1fabc2ab6219174ad1c912f56f7de53cdc1e1
Arg [1] : 000000000000000000000000000000000000000000000000000000000000dead
Arg [2] : 000000000000000000000000fcc526743b2beadf884ac8332e3d86a6581fbf73
Arg [3] : 00000000000000000000000000000000000000000000000000000000629b9da0
Deployed ByteCode Sourcemap
22394:12348:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24254:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23376:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23621:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27703:677;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27141:485;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28449:819;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22555:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;31985:828;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25710:1329;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29607:932;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32884:377;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34083:656;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22525:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;23712:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29351:180;;;:::i;:::-;;24098:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23795:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33805:163;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23460:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;24202:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23322:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33974:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23291:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;30574:1375;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24254:51;24294:11;24254:51;:::o;23376:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;23621:34::-;;;;:::o;27703:677::-;27788:7;27825;27812:9;:20;27808:34;;27841:1;27834:8;;;;27808:34;27868:11;;27857:7;:22;27853:520;;27913:11;;27900:9;:24;27896:38;;27933:1;27926:8;;;;27896:38;27966:13;;27953:9;:26;27949:94;;27988:55;28023:19;;27988:30;28004:13;;27988:11;;:15;;:30;;;;:::i;:::-;:34;;:55;;;;:::i;:::-;27981:62;;;;27949:94;28065:51;28096:19;;28065:26;28081:9;28065:11;;:15;;:26;;;;:::i;:::-;:30;;:51;;;;:::i;:::-;28058:58;;;;27853:520;28164:13;;28153:7;:24;28149:38;;28186:1;28179:8;;;;28149:38;28219:13;;28206:9;:26;28202:90;;28241:51;28272:19;;28241:26;28253:13;;28241:7;:11;;:26;;;;:::i;:::-;:30;;:51;;;;:::i;:::-;28234:58;;;;28202:90;28314:47;28341:19;;28314:22;28326:9;28314:7;:11;;:22;;;;:::i;:::-;:26;;:47;;;;:::i;:::-;28307:54;;27703:677;;;;;:::o;27141:485::-;25273:10;25261:22;;:8;;;;;;;;;;:22;;;25253:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27272:3:::1;27255:13;:20;;;;27247:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27328:17;:15;:17::i;:::-;27356:21;27380:8;27389:4;27380:14;;;;;;;;;;;;;;;;;;27356:38;;27409:4;:14;;;;;;;;;;;;27405:118;;;27458:53;27499:11;27458:36;27478:4;:15;;;27458;;:19;;:36;;;;:::i;:::-;:40;;:53;;;;:::i;:::-;27440:15;:71;;;;27405:118;27551:11;27533:4;:15;;:29;;;;27603:13;27573:8;27582:4;27573:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;25348:1;27141:485:::0;;;:::o;28449:819::-;28528:7;28548:21;28572:8;28581:4;28572:14;;;;;;;;;;;;;;;;;;28548:38;;28597:21;28621:8;:14;28630:4;28621:14;;;;;;;;;;;:21;28636:5;28621:21;;;;;;;;;;;;;;;28597:45;;28653:29;28685:4;:26;;;28653:58;;28722:19;28744:4;:10;;;;;;;;;;;;:20;;;28773:4;28744:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28722:57;;28812:4;:19;;;28794:15;:37;:57;;;;;28850:1;28835:11;:16;;28794:57;28790:384;;;28868:24;28895:56;28914:4;:19;;;28935:15;28895:18;:56::i;:::-;28868:83;;28966:25;28994:58;29036:15;;28994:37;29015:4;:15;;;28994:16;:20;;:37;;;;:::i;:::-;:41;;:58;;;;:::i;:::-;28966:86;;29091:71;29117:44;29149:11;29117:27;29139:4;29117:17;:21;;:27;;;;:::i;:::-;:31;;:44;;;;:::i;:::-;29091:21;:25;;:71;;;;:::i;:::-;29067:95;;28790:384;;;29191:69;29244:4;:15;;;29191:48;29234:4;29191:38;29207:21;29191:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;:52;;:69;;;;:::i;:::-;29184:76;;;;;;28449:819;;;;:::o;22555:25::-;;;;;;;;;;;;;:::o;31985:828::-;32052:15;32070:10;32052:28;;32091:21;32115:8;32124:4;32115:14;;;;;;;;;;;;;;;;;;32091:38;;32140:21;32164:8;:14;32173:4;32164:14;;;;;;;;;;;:23;32179:7;32164:23;;;;;;;;;;;;;;;32140:47;;32221:7;32206:4;:11;;;:22;;32198:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32262:16;32273:4;32262:10;:16::i;:::-;32289;32308:74;32366:4;:15;;;32308:53;32356:4;32308:43;32324:4;:26;;;32308:4;:11;;;:15;;:43;;;;:::i;:::-;:47;;:53;;;;:::i;:::-;:57;;:74;;;;:::i;:::-;32289:93;;32408:1;32397:8;:12;32393:135;;;32426:41;32449:7;32458:8;32426:22;:41::i;:::-;32498:7;32487:29;;;32507:8;32487:29;;;;;;;;;;;;;;;;;;32393:135;32552:1;32542:7;:11;32538:138;;;32584:24;32600:7;32584:4;:11;;;:15;;:24;;;;:::i;:::-;32570:4;:11;;:38;;;;32623:41;32647:7;32656;32623:4;:10;;;;;;;;;;;;:23;;;;:41;;;;;:::i;:::-;32538:138;32704:53;32752:4;32704:43;32720:4;:26;;;32704:4;:11;;;:15;;:43;;;;:::i;:::-;:47;;:53;;;;:::i;:::-;32686:4;:15;;:71;;;;32791:4;32782:7;32773:32;;;32797:7;32773:32;;;;;;;;;;;;;;;;;;31985:828;;;;;;:::o;25710:1329::-;25273:10;25261:22;;:8;;;;;;;;;;:22;;;25253:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25939:3:::1;25922:13;:20;;;;25914:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25997:26;26016:6;25997:18;:26::i;:::-;26038:11;26034:61;;;26066:17;:15;:17::i;:::-;26034:61;26127:13;;26109:15;:31;26105:534;;;26213:1;26194:15;:20;26190:243;;;26253:13;;26235:31;;26190:243;;;26329:13;;26311:15;:31;26307:111;;;26385:13;;26367:31;;26307:111;26190:243;26105:534;;;26520:1;26501:15;:20;:57;;;;26543:15;26525;:33;26501:57;26497:131;;;26597:15;26579:33;;26497:131;26105:534;26649:15;26687:13;;26668:15;:32;;26667:74;;;;26725:15;26706;:34;;26667:74;26649:92;;26752:8;26766:161;;;;;;;;26783:6;26766:161;;;;;;26803:11;26766:161;;;;26832:15;26766:161;;;;26912:13;26766:161;;;;;;26872:1;26766:161;;;;26886:10;26766:161;;;;::::0;26752:176:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26943:10;26939:93;;;26988:32;27008:11;26988:15;;:19;;:32;;;;:::i;:::-;26970:15;:50;;;;26939:93;25348:1;25710:1329:::0;;;;;:::o;29607:932::-;29659:21;29683:8;29692:4;29683:14;;;;;;;;;;;;;;;;;;29659:38;;29731:4;:19;;;29712:15;:38;29708:77;;29767:7;;;29708:77;29795:19;29817:4;:10;;;;;;;;;;;;:20;;;29846:4;29817:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29795:57;;29882:1;29867:11;:16;29863:107;;;29922:15;29900:4;:19;;:37;;;;29952:7;;;;29863:107;29985:4;:14;;;;;;;;;;;;29980:138;;30033:4;30016;:14;;;:21;;;;;;;;;;;;;;;;;;30070:36;30090:4;:15;;;30070;;:19;;:36;;;;:::i;:::-;30052:15;:54;;;;29980:138;30150:1;30132:15;;:19;30128:356;;;30168:24;30195:56;30214:4;:19;;;30235:15;30195:18;:56::i;:::-;30168:83;;30266:25;30294:58;30336:15;;30294:37;30315:4;:15;;;30294:16;:20;;:37;;;;:::i;:::-;:41;;:58;;;;:::i;:::-;30266:86;;30396:76;30427:44;30459:11;30427:27;30449:4;30427:17;:21;;:27;;;;:::i;:::-;:31;;:44;;;;:::i;:::-;30396:4;:26;;;:30;;:76;;;;:::i;:::-;30367:4;:26;;:105;;;;30128:356;;;30516:15;30494:4;:19;;:37;;;;29607:932;;;;:::o;32884:377::-;32943:21;32967:8;32976:4;32967:14;;;;;;;;;;;;;;;;;;32943:38;;32992:21;33016:8;:14;33025:4;33016:14;;;;;;;;;;;:26;33031:10;33016:26;;;;;;;;;;;;;;;32992:50;;33053:15;33071:4;:11;;;33053:29;;33107:1;33093:4;:11;;:15;;;;33137:1;33119:4;:15;;:19;;;;33149:44;33173:10;33185:7;33149:4;:10;;;;;;;;;;;;:23;;;;:44;;;;;:::i;:::-;33239:4;33227:10;33209:44;;;33245:7;33209:44;;;;;;;;;;;;;;;;;;32884:377;;;;:::o;34083:656::-;25273:10;25261:22;;:8;;;;;;;;;;:22;;;25253:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34267:7:::1;34253:11;;:21;34235:15;:39;34231:459;;;34415:10;;;;;;;;;;;34405:20;;:6;:20;;;;34397:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;34455:14;34472:8;:15;;;;34455:32;;34507:11;34502:177;34530:6;34524:3;:12;34502:177;;;34564:21;34588:8;34597:3;34588:13;;;;;;;;;;;;;;;;;;34564:37;;34638:4;:10;;;;;;;;;;;;34628:20;;:6;:20;;;;34620:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;34502:177;34538:5;;;;;34502:177;;;;34231:459;;34700:31;34720:2;34724:6;34700;:19;;;;:31;;;;;:::i;:::-;34083:656:::0;;;:::o;22525:23::-;;;;;;;;;;;;:::o;23712:28::-;;;;:::o;29351:180::-;29396:14;29413:8;:15;;;;29396:32;;29444:11;29439:85;29467:6;29461:3;:12;29439:85;;;29497:15;29508:3;29497:10;:15::i;:::-;29475:5;;;;;29439:85;;;;29351:180;:::o;24098:55::-;;;;:::o;23795:26::-;;;;:::o;33805:163::-;25273:10;25261:22;;:8;;;;;;;;;;:22;;;25253:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33895:11:::1;33882:10;;:24;;;;;;;;;;;;;;;;;;33948:11;33922:38;;33936:10;33922:38;;;;;;;;;;;;33805:163:::0;:::o;23460:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24202:35::-;;;;:::o;23322:18::-;;;;;;;;;;;;;:::o;33974:101::-;25273:10;25261:22;;:8;;;;;;;;;;:22;;;25253:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34058:9:::1;34047:8;::::0;:20:::1;;;;;;;;;;;;;;;;;;33974:101:::0;:::o;23291:24::-;;;;;;;;;;;;;:::o;30574:1375::-;30640:15;30658:10;30640:28;;30679:21;30703:8;30712:4;30703:14;;;;;;;;;;;;;;;;;;30679:38;;30728:21;30752:8;:14;30761:4;30752:14;;;;;;;;;;;:23;30767:7;30752:23;;;;;;;;;;;;;;;30728:47;;30786:16;30797:4;30786:10;:16::i;:::-;30831:1;30817:4;:11;;;:15;30813:302;;;30849:16;30868:74;30926:4;:15;;;30868:53;30916:4;30868:43;30884:4;:26;;;30868:4;:11;;;:15;;:43;;;;:::i;:::-;:47;;:53;;;;:::i;:::-;:57;;:74;;;;:::i;:::-;30849:93;;30972:1;30961:8;:12;30957:147;;;30994:41;31017:7;31026:8;30994:22;:41::i;:::-;31070:7;31059:29;;;31079:8;31059:29;;;;;;;;;;;;;;;;;;30957:147;30813:302;;31139:1;31129:7;:11;31125:688;;;31157:60;31185:7;31202:4;31209:7;31157:4;:10;;;;;;;;;;;;:27;;;;:60;;;;;;:::i;:::-;31259:3;;;;;;;;;;;31236:26;;31244:4;:10;;;;;;;;;;;;31236:26;;;31232:125;;;31297:45;31313:28;31335:5;31313:17;31325:4;31313:7;:11;;:17;;;;:::i;:::-;:21;;:28;;;;:::i;:::-;31297:4;:11;;;:15;;:45;;;;:::i;:::-;31283:4;:11;;:59;;;;31232:125;31396:1;31376:4;:17;;;;;;;;;;;;:21;;;31372:430;;;31418:18;31439:41;31474:5;31439:30;31451:4;:17;;;;;;;;;;;;31439:30;;:7;:11;;:30;;;;:::i;:::-;:34;;:41;;;;:::i;:::-;31418:62;;31499:47;31523:10;;;;;;;;;;;31535;31499:4;:10;;;;;;;;;;;;:23;;;;:47;;;;;:::i;:::-;31652:40;31681:10;31652:24;31668:7;31652:4;:11;;;:15;;:24;;;;:::i;:::-;:28;;:40;;;;:::i;:::-;31638:4;:11;;:54;;;;31372:430;;;;31762:24;31778:7;31762:4;:11;;;:15;;:24;;;;:::i;:::-;31748:4;:11;;:38;;;;31372:430;31125:688;31841:53;31889:4;31841:43;31857:4;:26;;;31841:4;:11;;;:15;;:43;;;;:::i;:::-;:47;;:53;;;;:::i;:::-;31823:4;:15;;:71;;;;31927:4;31918:7;31910:31;;;31933:7;31910:31;;;;;;;;;;;;;;;;;;30574:1375;;;;;:::o;6113:158::-;6171:7;6204:1;6199;:6;;6191:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6262:1;6258;:5;6251:12;;6113:158;;;;:::o;6530:220::-;6588:7;6617:1;6612;:6;6608:20;;;6627:1;6620:8;;;;6608:20;6639:9;6655:1;6651;:5;6639:17;;6684:1;6679;6675;:5;;;;;;:10;6667:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6741:1;6734:8;;;6530:220;;;;;:::o;5651:179::-;5709:7;5729:9;5745:1;5741;:5;5729:17;;5770:1;5765;:6;;5757:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5821:1;5814:8;;;5651:179;;;;:::o;7228:153::-;7286:7;7318:1;7314;:5;7306:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7372:1;7368;:5;;;;;;7361:12;;7228:153;;;;:::o;33386:413::-;33468:26;33497:10;;;;;;;;;;;:20;;;33526:4;33497:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33468:64;;33568:1;33547:18;:22;33543:249;;;33600:18;33590:7;:28;33586:195;;;33639:48;33663:3;33668:18;33639:10;;;;;;;;;;;:23;;;;:48;;;;;:::i;:::-;33586:195;;;33728:37;33752:3;33757:7;33728:10;;;;;;;;;;;:23;;;;:37;;;;;:::i;:::-;33586:195;33543:249;33386:413;;;:::o;19031:177::-;19114:86;19134:5;19164:23;;;19189:2;19193:5;19141:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19114:19;:86::i;:::-;19031:177;;;:::o;25365:267::-;25433:14;25450:8;:15;;;;25433:32;;25481:11;25476:149;25504:6;25498:3;:12;25476:149;;;25565:6;25542:29;;:8;25551:3;25542:13;;;;;;;;;;;;;;;;;;:19;;;;;;;;;;;;:29;;;;25534:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25512:5;;;;;25476:149;;;;25365:267;;:::o;19216:205::-;19317:96;19337:5;19367:27;;;19396:4;19402:2;19406:5;19344:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19317:19;:96::i;:::-;19216:205;;;;:::o;21336:761::-;21760:23;21786:69;21814:4;21786:69;;;;;;;;;;;;;;;;;21794:5;21786:27;;;;:69;;;;;:::i;:::-;21760:95;;21890:1;21870:10;:17;:21;21866:224;;;22012:10;22001:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21993:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21866:224;21336:761;;;:::o;14018:195::-;14121:12;14153:52;14175:6;14183:4;14189:1;14192:12;14153:21;:52::i;:::-;14146:59;;14018:195;;;;;:::o;15070:530::-;15197:12;15255:5;15230:21;:30;;15222:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15322:18;15333:6;15322:10;:18::i;:::-;15314:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15448:12;15462:23;15489:6;:11;;15509:5;15517:4;15489:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15447:75;;;;15540:52;15558:7;15567:10;15579:12;15540:17;:52::i;:::-;15533:59;;;;15070:530;;;;;;:::o;11100:422::-;11160:4;11368:12;11479:7;11467:20;11459:28;;11513:1;11506:4;:8;11499:15;;;11100:422;;;:::o;17610:742::-;17725:12;17754:7;17750:595;;;17785:10;17778:17;;;;17750:595;17919:1;17899:10;:17;:21;17895:439;;;18162:10;18156:17;18223:15;18210:10;18206:2;18202:19;18195:44;18110:148;18305:12;18298:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17610:742;;;;;;:::o
Swarm Source
ipfs://f528712ec298478be7e4f945686b78fa1e0e60cb0a47e2127dae1faa7d643d56
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.