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:
UnicornGenesisRewardPool
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2022-08-06 */ // 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/UnicornGenesisRewardPool.sol pragma solidity 0.6.12; // Note that this pool has no minter key of UNICORN (rewards). // Instead, the governance will call UNICORN distributeReward method and send reward to this pool at the beginning. contract UnicornGenesisRewardPool { 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. UNICORN to distribute. uint256 lastRewardTime; // Last time that UNICORN distribution occurs. uint16 depositFeeBP; //depositfee uint256 accUnicornPerShare; // Accumulated UNICORN per share, times 1e18. See below. bool isStarted; // if lastRewardBlock has passed } IERC20 public unicorn; 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 UNICORN mining starts. uint256 public poolStartTime; // The time when UNICORN mining ends. uint256 public poolEndTime; // TESTNET //uint256 public unicornPerSecond = 0.66667 ether; // 2400 UNICORN / (1h * 60min * 60s) //uint256 public runningTime = 1 hours; // 1 hours //uint256 public constant TOTAL_REWARDS = 2400 ether; // END TESTNET // MAINNET uint256 public unicornPerSecond = 0.138888888 ether; // 12000 UNICORN / (24h * 60min * 60s) uint256 public runningTime = 1 days; // 1 days uint256 public constant TOTAL_REWARDS = 12000 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 _unicorn, address _mim, address _feeAddress, uint256 _poolStartTime ) public { require(block.timestamp < _poolStartTime, "late"); if (_unicorn != address(0)) unicorn = IERC20(_unicorn); if (_mim != address(0)) mim = _mim; poolStartTime = _poolStartTime; poolEndTime = poolStartTime + runningTime; operator = msg.sender; feeAddress = _feeAddress; } modifier onlyOperator() { require(operator == msg.sender, "UnicornGenesisPool: 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, "UnicornGenesisPool: 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, accUnicornPerShare: 0, isStarted: _isStarted, depositFeeBP: _depositFeeBP})); if (_isStarted) { totalAllocPoint = totalAllocPoint.add(_allocPoint); } } // Update the given pool's UNICORN 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(unicornPerSecond); return poolEndTime.sub(_fromTime).mul(unicornPerSecond); } else { if (_toTime <= poolStartTime) return 0; if (_fromTime <= poolStartTime) return _toTime.sub(poolStartTime).mul(unicornPerSecond); return _toTime.sub(_fromTime).mul(unicornPerSecond); } } // View function to see pending UNICORN on frontend. function pendingUNICORN(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accUnicornPerShare = pool.accUnicornPerShare; uint256 tokenSupply = pool.token.balanceOf(address(this)); if (block.timestamp > pool.lastRewardTime && tokenSupply != 0) { uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp); uint256 _unicornReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint); accUnicornPerShare = accUnicornPerShare.add(_unicornReward.mul(1e18).div(tokenSupply)); } return user.amount.mul(accUnicornPerShare).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 _unicornReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint); pool.accUnicornPerShare = pool.accUnicornPerShare.add(_unicornReward.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.accUnicornPerShare).div(1e18).sub(user.rewardDebt); if (_pending > 0) { safeUnicornTransfer(_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.accUnicornPerShare).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.accUnicornPerShare).div(1e18).sub(user.rewardDebt); if (_pending > 0) { safeUnicornTransfer(_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.accUnicornPerShare).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 UNICORN transfer function, just in case a rounding error causes pool to not have enough UNICORNs. function safeUnicornTransfer(address _to, uint256 _amount) internal { uint256 _unicornBalance = unicorn.balanceOf(address(this)); if (_unicornBalance > 0) { if (_amount > _unicornBalance) { unicorn.safeTransfer(_to, _unicornBalance); } else { unicorn.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 (UNICORN or lps) if less than 90 days after pool ends require(_token != unicorn, "unicorn"); 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":"_unicorn","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":[{"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":"pendingUNICORN","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":"accUnicornPerShare","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":[],"name":"unicorn","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unicornPerSecond","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
608060405260006006556701ed6eb5307d300060095562015180600a5534801561002857600080fd5b5060405162002c9038038062002c908339818101604052608081101561004d57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291905050508042106100f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260048152602001807f6c6174650000000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146101675783600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146101dd5782600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b80600781905550600a5460075401600881905550336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050612a0a80620002866000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063570ca735116100c3578063943f013d1161007c578063943f013d146105af57806395541c35146105cd5780639f67679e1461062f578063b3ab15fb14610663578063c734fb6f146106a7578063e2bbb158146106c557610158565b8063570ca735146104885780635f96dc11146104bc578063630b5ba1146104da5780636e271dd5146104e45780638705fcd41461050257806393f1a40b1461054657610158565b8063441a3e7011610115578063441a3e70146102e0578063466e7acc146103185780634eb2babd1461038a57806351eb05a6146103be5780635312ea8e146103ec57806354575af41461041a57610158565b806309cf60911461015d5780631526fe271461017b57806317caf6f1146101fc578063231f0c6a1461021a57806324bcb38c1461026657806341275358146102ac575b600080fd5b6101656106fd565b6040518082815260200191505060405180910390f35b6101a76004803603602081101561019157600080fd5b810190808035906020019092919050505061070b565b604051808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018461ffff1681526020018381526020018215158152602001965050505050505060405180910390f35b61020461078f565b6040518082815260200191505060405180910390f35b6102506004803603604081101561023057600080fd5b810190808035906020019092919080359060200190929190505050610795565b6040518082815260200191505060405180910390f35b6102aa6004803603606081101561027c57600080fd5b810190808035906020019092919080359060200190929190803561ffff1690602001909291905050506108a8565b005b6102b4610a62565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610316600480360360408110156102f657600080fd5b810190808035906020019092919080359060200190929190505050610a88565b005b610388600480360360a081101561032e57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919080359060200190929190803561ffff169060200190929190505050610d40565b005b610392611003565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103ea600480360360208110156103d457600080fd5b8101908080359060200190929190505050611029565b005b6104186004803603602081101561040257600080fd5b8101908080359060200190929190505050611238565b005b6104866004803603606081101561043057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061136c565b005b61049061161c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104c4611640565b6040518082815260200191505060405180910390f35b6104e2611646565b005b6104ec611673565b6040518082815260200191505060405180910390f35b6105446004803603602081101561051857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611679565b005b6105926004803603604081101561055c57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117bb565b604051808381526020018281526020019250505060405180910390f35b6105b76117ec565b6040518082815260200191505060405180910390f35b610619600480360360408110156105e357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117f2565b6040518082815260200191505060405180910390f35b610637611a2a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106a56004803603602081101561067957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a50565b005b6106af611b37565b6040518082815260200191505060405180910390f35b6106fb600480360360408110156106db57600080fd5b810190808035906020019092919080359060200190929190505050611b3d565b005b69028a857425466f80000081565b6004818154811061071857fe5b90600052602060002090600602016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030160009054906101000a900461ffff16908060040154908060050160009054906101000a900460ff16905086565b60065481565b60008183106107a757600090506108a2565b600854821061082d5760085483106107c257600090506108a2565b60075483116107fd576107f66009546107e8600754600854611f5690919063ffffffff16565b611fd990919063ffffffff16565b90506108a2565b61082660095461081885600854611f5690919063ffffffff16565b611fd990919063ffffffff16565b90506108a2565b600754821161083f57600090506108a2565b60075483116108785761087160095461086360075485611f5690919063ffffffff16565b611fd990919063ffffffff16565b90506108a2565b61089f6009546108918585611f5690919063ffffffff16565b611fd990919063ffffffff16565b90505b92915050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461094c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612937602e913960400191505060405180910390fd5b60648161ffff1611156109aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806129866025913960400191505060405180910390fd5b6109b2611646565b6000600484815481106109c157fe5b906000526020600020906006020190508060050160009054906101000a900460ff1615610a1a57610a1383610a058360010154600654611f5690919063ffffffff16565b61205f90919063ffffffff16565b6006819055505b8281600101819055508160048581548110610a3157fe5b906000526020600020906006020160030160006101000a81548161ffff021916908361ffff16021790555050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000339050600060048481548110610a9c57fe5b9060005260206000209060060201905060006005600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508381600001541015610b7a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610b8385611029565b6000610bd08260010154610bc2670de0b6b3a7640000610bb487600401548760000154611fd990919063ffffffff16565b6120e790919063ffffffff16565b611f5690919063ffffffff16565b90506000811115610c3457610be58482612170565b8373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b6000851115610cac57610c54858360000154611f5690919063ffffffff16565b8260000181905550610cab84868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122ef9092919063ffffffff16565b5b610ce1670de0b6b3a7640000610cd385600401548560000154611fd990919063ffffffff16565b6120e790919063ffffffff16565b8260010181905550858473ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568876040518082815260200191505060405180910390a3505050505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610de4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612937602e913960400191505060405180910390fd5b60648161ffff161115610e42576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806128ca6025913960400191505060405180910390fd5b610e4b84612391565b8215610e5a57610e59611646565b5b600754421015610e8d576000821415610e77576007549150610e88565b600754821015610e875760075491505b5b610ea5565b6000821480610e9b57504282105b15610ea4574291505b5b600060075483111580610eb85750428311155b905060046040518060c001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020018881526020018581526020018461ffff16815260200160008152602001831515815250908060018154018082558091505060019003906000526020600020906006020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030160006101000a81548161ffff021916908361ffff1602179055506080820151816004015560a08201518160050160006101000a81548160ff02191690831515021790555050508015610ffb57610ff48660065461205f90919063ffffffff16565b6006819055505b505050505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006004828154811061103857fe5b90600052602060002090600602019050806002015442116110595750611235565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156110e657600080fd5b505afa1580156110fa573d6000803e3d6000fd5b505050506040513d602081101561111057600080fd5b81019080805190602001909291905050509050600081141561113c574282600201819055505050611235565b8160050160009054906101000a900460ff1661118f5760018260050160006101000a81548160ff021916908315150217905550611188826001015460065461205f90919063ffffffff16565b6006819055505b600060065411156112295760006111aa836002015442610795565b905060006111d96006546111cb866001015485611fd990919063ffffffff16565b6120e790919063ffffffff16565b905061121e61120b846111fd670de0b6b3a764000085611fd990919063ffffffff16565b6120e790919063ffffffff16565b856004015461205f90919063ffffffff16565b846004018190555050505b42826002018190555050505b50565b60006004828154811061124757fe5b9060005260206000209060060201905060006005600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001549050600082600001819055506000826001018190555061131733828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122ef9092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a350505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611410576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612937602e913960400191505060405180910390fd5b6276a700600854014210156115ec57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260078152602001807f756e69636f726e0000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600480549050905060005b818110156115e95760006004828154811061150757fe5b906000526020600020906006020190508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614156115dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f706f6f6c2e746f6b656e0000000000000000000000000000000000000000000081525060200191505060405180910390fd5b508060010190506114f0565b50505b61161781838573ffffffffffffffffffffffffffffffffffffffff166122ef9092919063ffffffff16565b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b6000600480549050905060005b8181101561166f5761166481611029565b806001019050611653565b5050565b60085481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461171d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612937602e913960400191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f760405160405180910390a350565b6005602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600a5481565b6000806004848154811061180257fe5b9060005260206000209060060201905060006005600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260040154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156118fc57600080fd5b505afa158015611910573d6000803e3d6000fd5b505050506040513d602081101561192657600080fd5b8101908080519060200190929190505050905083600201544211801561194d575060008114155b156119d7576000611962856002015442610795565b90506000611991600654611983886001015485611fd990919063ffffffff16565b6120e790919063ffffffff16565b90506119d26119c3846119b5670de0b6b3a764000085611fd990919063ffffffff16565b6120e790919063ffffffff16565b8561205f90919063ffffffff16565b935050505b611a1e8360010154611a10670de0b6b3a7640000611a02868860000154611fd990919063ffffffff16565b6120e790919063ffffffff16565b611f5690919063ffffffff16565b94505050505092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611af4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612937602e913960400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60095481565b6000339050600060048481548110611b5157fe5b9060005260206000209060060201905060006005600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611bbe85611029565b600081600001541115611c7e576000611c188260010154611c0a670de0b6b3a7640000611bfc87600401548760000154611fd990919063ffffffff16565b6120e790919063ffffffff16565b611f5690919063ffffffff16565b90506000811115611c7c57611c2d8482612170565b8373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b505b6000841115611ec357611cd88330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612479909392919063ffffffff16565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611d9a57611d91611d7e612710611d706126ac88611fd990919063ffffffff16565b6120e790919063ffffffff16565b826000015461205f90919063ffffffff16565b81600001819055505b60008260030160009054906101000a900461ffff1661ffff161115611ea2576000611df8612710611dea8560030160009054906101000a900461ffff1661ffff1688611fd990919063ffffffff16565b6120e790919063ffffffff16565b9050611e6b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122ef9092919063ffffffff16565b611e9481611e8687856000015461205f90919063ffffffff16565b611f5690919063ffffffff16565b826000018190555050611ec2565b611eb984826000015461205f90919063ffffffff16565b81600001819055505b5b611ef8670de0b6b3a7640000611eea84600401548460000154611fd990919063ffffffff16565b6120e790919063ffffffff16565b8160010181905550848373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040518082815260200191505060405180910390a35050505050565b600082821115611fce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080831415611fec5760009050612059565b6000828402905082848281611ffd57fe5b0414612054576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129656021913960400191505060405180910390fd5b809150505b92915050565b6000808284019050838110156120dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080821161215e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161216757fe5b04905092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156121fb57600080fd5b505afa15801561220f573d6000803e3d6000fd5b505050506040513d602081101561222557600080fd5b8101908080519060200190929190505050905060008111156122ea578082111561229b576122968382600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122ef9092919063ffffffff16565b6122e9565b6122e88383600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122ef9092919063ffffffff16565b5b5b505050565b61238c8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061253a565b505050565b6000600480549050905060005b81811015612474578273ffffffffffffffffffffffffffffffffffffffff16600482815481106123ca57fe5b906000526020600020906006020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612469576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806128ef6022913960400191505060405180910390fd5b80600101905061239e565b505050565b612534846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061253a565b50505050565b606061259c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166126299092919063ffffffff16565b9050600081511115612624578080602001905160208110156125bd57600080fd5b8101908080519060200190929190505050612623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806129ab602a913960400191505060405180910390fd5b5b505050565b60606126388484600085612641565b90509392505050565b60608247101561269c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806129116026913960400191505060405180910390fd5b6126a5856127ea565b612717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106127675780518252602082019150602081019050602083039250612744565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146127c9576040519150601f19603f3d011682016040523d82523d6000602084013e6127ce565b606091505b50915091506127de8282866127fd565b92505050949350505050565b600080823b905060008111915050919050565b6060831561280d578290506128c2565b6000835111156128205782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561288757808201518184015260208101905061286c565b50505050905090810190601f1680156128b45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e7473556e69636f726e47656e65736973506f6f6c3a206578697374696e6720706f6f6c3f416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c556e69636f726e47656e65736973506f6f6c3a2063616c6c6572206973206e6f7420746865206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122012b7fbcd319bb18f62788b6c56e477b11f8c85246cd403b9380af46d85290e8f64736f6c634300060c0033000000000000000000000000387c06f6e8d1f65839fcb9171171abb5f49f8b20000000000000000000000000000000000000000000000000000000000000dead00000000000000000000000013fb9e82d3d23ae038caf13f44a736eb9e21660c0000000000000000000000000000000000000000000000000000000062f1f7e0
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000387c06f6e8d1f65839fcb9171171abb5f49f8b20000000000000000000000000000000000000000000000000000000000000dead00000000000000000000000013fb9e82d3d23ae038caf13f44a736eb9e21660c0000000000000000000000000000000000000000000000000000000062f1f7e0
-----Decoded View---------------
Arg [0] : _unicorn (address): 0x387c06f6e8d1f65839fcb9171171abb5f49f8b20
Arg [1] : _mim (address): 0x000000000000000000000000000000000000dead
Arg [2] : _feeAddress (address): 0x13fb9e82d3d23ae038caf13f44a736eb9e21660c
Arg [3] : _poolStartTime (uint256): 1660024800
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000387c06f6e8d1f65839fcb9171171abb5f49f8b20
Arg [1] : 000000000000000000000000000000000000000000000000000000000000dead
Arg [2] : 00000000000000000000000013fb9e82d3d23ae038caf13f44a736eb9e21660c
Arg [3] : 0000000000000000000000000000000000000000000000000000000062f1f7e0
Deployed ByteCode Sourcemap
22324:12179:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24147:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23288:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23533:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27572:665;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27010:485;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22482:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;31794:819;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25585:1326;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23206:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29437:920;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32684:377;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33853:647;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22452:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;23621:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29181:180;;;:::i;:::-;;23701:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33575:163;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23372:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;24095:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28303:795;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23234:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33744:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23998:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30392:1366;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24147:51;24187:11;24147:51;:::o;23288:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;23533:34::-;;;;:::o;27572:665::-;27657:7;27694;27681:9;:20;27677:34;;27710:1;27703:8;;;;27677:34;27737:11;;27726:7;:22;27722:508;;27782:11;;27769:9;:24;27765:38;;27802:1;27795:8;;;;27765:38;27835:13;;27822:9;:26;27818:91;;27857:52;27892:16;;27857:30;27873:13;;27857:11;;:15;;:30;;;;:::i;:::-;:34;;:52;;;;:::i;:::-;27850:59;;;;27818:91;27931:48;27962:16;;27931:26;27947:9;27931:11;;:15;;:26;;;;:::i;:::-;:30;;:48;;;;:::i;:::-;27924:55;;;;27722:508;28027:13;;28016:7;:24;28012:38;;28049:1;28042:8;;;;28012:38;28082:13;;28069:9;:26;28065:87;;28104:48;28135:16;;28104:26;28116:13;;28104:7;:11;;:26;;;;:::i;:::-;:30;;:48;;;;:::i;:::-;28097:55;;;;28065:87;28174:44;28201:16;;28174:22;28186:9;28174:7;:11;;:22;;;;:::i;:::-;:26;;:44;;;;:::i;:::-;28167:51;;27572:665;;;;;:::o;27010:485::-;25154:10;25142:22;;:8;;;;;;;;;;:22;;;25134:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27141:3:::1;27124:13;:20;;;;27116:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27197:17;:15;:17::i;:::-;27225:21;27249:8;27258:4;27249:14;;;;;;;;;;;;;;;;;;27225:38;;27278:4;:14;;;;;;;;;;;;27274:118;;;27327:53;27368:11;27327:36;27347:4;:15;;;27327;;:19;;:36;;;;:::i;:::-;:40;;:53;;;;:::i;:::-;27309:15;:71;;;;27274:118;27420:11;27402:4;:15;;:29;;;;27472:13;27442:8;27451:4;27442:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;25226:1;27010:485:::0;;;:::o;22482:25::-;;;;;;;;;;;;;:::o;31794:819::-;31861:15;31879:10;31861:28;;31900:21;31924:8;31933:4;31924:14;;;;;;;;;;;;;;;;;;31900:38;;31949:21;31973:8;:14;31982:4;31973:14;;;;;;;;;;;:23;31988:7;31973:23;;;;;;;;;;;;;;;31949:47;;32030:7;32015:4;:11;;;:22;;32007:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32071:16;32082:4;32071:10;:16::i;:::-;32098;32117:71;32172:4;:15;;;32117:50;32162:4;32117:40;32133:4;:23;;;32117:4;:11;;;:15;;:40;;;;:::i;:::-;:44;;:50;;;;:::i;:::-;:54;;:71;;;;:::i;:::-;32098:90;;32214:1;32203:8;:12;32199:132;;;32232:38;32252:7;32261:8;32232:19;:38::i;:::-;32301:7;32290:29;;;32310:8;32290:29;;;;;;;;;;;;;;;;;;32199:132;32355:1;32345:7;:11;32341:138;;;32387:24;32403:7;32387:4;:11;;;:15;;:24;;;;:::i;:::-;32373:4;:11;;:38;;;;32426:41;32450:7;32459;32426:4;:10;;;;;;;;;;;;:23;;;;:41;;;;;:::i;:::-;32341:138;32507:50;32552:4;32507:40;32523:4;:23;;;32507:4;:11;;;:15;;:40;;;;:::i;:::-;:44;;:50;;;;:::i;:::-;32489:4;:15;;:68;;;;32591:4;32582:7;32573:32;;;32597:7;32573:32;;;;;;;;;;;;;;;;;;31794:819;;;;;;:::o;25585:1326::-;25154:10;25142:22;;:8;;;;;;;;;;:22;;;25134:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25814:3:::1;25797:13;:20;;;;25789:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25872:26;25891:6;25872:18;:26::i;:::-;25913:11;25909:61;;;25941:17;:15;:17::i;:::-;25909:61;26002:13;;25984:15;:31;25980:534;;;26088:1;26069:15;:20;26065:243;;;26128:13;;26110:31;;26065:243;;;26204:13;;26186:15;:31;26182:111;;;26260:13;;26242:31;;26182:111;26065:243;25980:534;;;26395:1;26376:15;:20;:57;;;;26418:15;26400;:33;26376:57;26372:131;;;26472:15;26454:33;;26372:131;25980:534;26524:15;26562:13;;26543:15;:32;;26542:74;;;;26600:15;26581;:34;;26542:74;26524:92;;26627:8;26641:158;;;;;;;;26658:6;26641:158;;;;;;26678:11;26641:158;;;;26707:15;26641:158;;;;26784:13;26641:158;;;;;;26744:1;26641:158;;;;26758:10;26641:158;;;;::::0;26627:173:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26815:10;26811:93;;;26860:32;26880:11;26860:15;;:19;;:32;;;;:::i;:::-;26842:15;:50;;;;26811:93;25226:1;25585:1326:::0;;;;;:::o;23206:21::-;;;;;;;;;;;;;:::o;29437:920::-;29489:21;29513:8;29522:4;29513:14;;;;;;;;;;;;;;;;;;29489:38;;29561:4;:19;;;29542:15;:38;29538:77;;29597:7;;;29538:77;29625:19;29647:4;:10;;;;;;;;;;;;:20;;;29676:4;29647:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29625:57;;29712:1;29697:11;:16;29693:107;;;29752:15;29730:4;:19;;:37;;;;29782:7;;;;29693:107;29815:4;:14;;;;;;;;;;;;29810:138;;29863:4;29846;:14;;;:21;;;;;;;;;;;;;;;;;;29900:36;29920:4;:15;;;29900;;:19;;:36;;;;:::i;:::-;29882:15;:54;;;;29810:138;29980:1;29962:15;;:19;29958:344;;;29998:24;30025:56;30044:4;:19;;;30065:15;30025:18;:56::i;:::-;29998:83;;30096:22;30121:58;30163:15;;30121:37;30142:4;:15;;;30121:16;:20;;:37;;;;:::i;:::-;:41;;:58;;;;:::i;:::-;30096:83;;30220:70;30248:41;30277:11;30248:24;30267:4;30248:14;:18;;:24;;;;:::i;:::-;:28;;:41;;;;:::i;:::-;30220:4;:23;;;:27;;:70;;;;:::i;:::-;30194:4;:23;;:96;;;;29958:344;;;30334:15;30312:4;:19;;:37;;;;29437:920;;;;:::o;32684:377::-;32743:21;32767:8;32776:4;32767:14;;;;;;;;;;;;;;;;;;32743:38;;32792:21;32816:8;:14;32825:4;32816:14;;;;;;;;;;;:26;32831:10;32816:26;;;;;;;;;;;;;;;32792:50;;32853:15;32871:4;:11;;;32853:29;;32907:1;32893:4;:11;;:15;;;;32937:1;32919:4;:15;;:19;;;;32949:44;32973:10;32985:7;32949:4;:10;;;;;;;;;;;;:23;;;;:44;;;;;:::i;:::-;33039:4;33027:10;33009:44;;;33045:7;33009:44;;;;;;;;;;;;;;;;;;32684:377;;;;:::o;33853:647::-;25154:10;25142:22;;:8;;;;;;;;;;:22;;;25134:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34037:7:::1;34023:11;;:21;34005:15;:39;34001:450;;;34182:7;;;;;;;;;;;34172:17;;:6;:17;;;;34164:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;34216:14;34233:8;:15;;;;34216:32;;34268:11;34263:177;34291:6;34285:3;:12;34263:177;;;34325:21;34349:8;34358:3;34349:13;;;;;;;;;;;;;;;;;;34325:37;;34399:4;:10;;;;;;;;;;;;34389:20;;:6;:20;;;;34381:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;34263:177;34299:5;;;;;34263:177;;;;34001:450;;34461:31;34481:2;34485:6;34461;:19;;;;:31;;;;;:::i;:::-;33853:647:::0;;;:::o;22452:23::-;;;;;;;;;;;;:::o;23621:28::-;;;;:::o;29181:180::-;29226:14;29243:8;:15;;;;29226:32;;29274:11;29269:85;29297:6;29291:3;:12;29269:85;;;29327:15;29338:3;29327:10;:15::i;:::-;29305:5;;;;;29269:85;;;;29181:180;:::o;23701:26::-;;;;:::o;33575:163::-;25154:10;25142:22;;:8;;;;;;;;;;:22;;;25134:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33665:11:::1;33652:10;;:24;;;;;;;;;;;;;;;;;;33718:11;33692:38;;33706:10;33692:38;;;;;;;;;;;;33575:163:::0;:::o;23372:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24095:35::-;;;;:::o;28303:795::-;28379:7;28399:21;28423:8;28432:4;28423:14;;;;;;;;;;;;;;;;;;28399:38;;28448:21;28472:8;:14;28481:4;28472:14;;;;;;;;;;;:21;28487:5;28472:21;;;;;;;;;;;;;;;28448:45;;28504:26;28533:4;:23;;;28504:52;;28567:19;28589:4;:10;;;;;;;;;;;;:20;;;28618:4;28589:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28567:57;;28657:4;:19;;;28639:15;:37;:57;;;;;28695:1;28680:11;:16;;28639:57;28635:372;;;28713:24;28740:56;28759:4;:19;;;28780:15;28740:18;:56::i;:::-;28713:83;;28811:22;28836:58;28878:15;;28836:37;28857:4;:15;;;28836:16;:20;;:37;;;;:::i;:::-;:41;;:58;;;;:::i;:::-;28811:83;;28930:65;28953:41;28982:11;28953:24;28972:4;28953:14;:18;;:24;;;;:::i;:::-;:28;;:41;;;;:::i;:::-;28930:18;:22;;:65;;;;:::i;:::-;28909:86;;28635:372;;;29024:66;29074:4;:15;;;29024:45;29064:4;29024:35;29040:18;29024:4;:11;;;:15;;:35;;;;:::i;:::-;:39;;:45;;;;:::i;:::-;:49;;:66;;;;:::i;:::-;29017:73;;;;;;28303:795;;;;:::o;23234:18::-;;;;;;;;;;;;;:::o;33744:101::-;25154:10;25142:22;;:8;;;;;;;;;;:22;;;25134:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33828:9:::1;33817:8;::::0;:20:::1;;;;;;;;;;;;;;;;;;33744:101:::0;:::o;23998:51::-;;;;:::o;30392:1366::-;30458:15;30476:10;30458:28;;30497:21;30521:8;30530:4;30521:14;;;;;;;;;;;;;;;;;;30497:38;;30546:21;30570:8;:14;30579:4;30570:14;;;;;;;;;;;:23;30585:7;30570:23;;;;;;;;;;;;;;;30546:47;;30604:16;30615:4;30604:10;:16::i;:::-;30649:1;30635:4;:11;;;:15;30631:296;;;30667:16;30686:71;30741:4;:15;;;30686:50;30731:4;30686:40;30702:4;:23;;;30686:4;:11;;;:15;;:40;;;;:::i;:::-;:44;;:50;;;;:::i;:::-;:54;;:71;;;;:::i;:::-;30667:90;;30787:1;30776:8;:12;30772:144;;;30809:38;30829:7;30838:8;30809:19;:38::i;:::-;30882:7;30871:29;;;30891:8;30871:29;;;;;;;;;;;;;;;;;;30772:144;30631:296;;30951:1;30941:7;:11;30937:688;;;30969:60;30997:7;31014:4;31021:7;30969:4;:10;;;;;;;;;;;;:27;;;;:60;;;;;;:::i;:::-;31071:3;;;;;;;;;;;31048:26;;31056:4;:10;;;;;;;;;;;;31048:26;;;31044:125;;;31109:45;31125:28;31147:5;31125:17;31137:4;31125:7;:11;;:17;;;;:::i;:::-;:21;;:28;;;;:::i;:::-;31109:4;:11;;;:15;;:45;;;;:::i;:::-;31095:4;:11;;:59;;;;31044:125;31208:1;31188:4;:17;;;;;;;;;;;;:21;;;31184:430;;;31230:18;31251:41;31286:5;31251:30;31263:4;:17;;;;;;;;;;;;31251:30;;:7;:11;;:30;;;;:::i;:::-;:34;;:41;;;;:::i;:::-;31230:62;;31311:47;31335:10;;;;;;;;;;;31347;31311:4;:10;;;;;;;;;;;;:23;;;;:47;;;;;:::i;:::-;31464:40;31493:10;31464:24;31480:7;31464:4;:11;;;:15;;:24;;;;:::i;:::-;:28;;:40;;;;:::i;:::-;31450:4;:11;;:54;;;;31184:430;;;;31574:24;31590:7;31574:4;:11;;;:15;;:24;;;;:::i;:::-;31560:4;:11;;:38;;;;31184:430;30937:688;31653:50;31698:4;31653:40;31669:4;:23;;;31653:4;:11;;;:15;;:40;;;;:::i;:::-;:44;;:50;;;;:::i;:::-;31635:4;:15;;:68;;;;31736:4;31727:7;31719:31;;;31742:7;31719:31;;;;;;;;;;;;;;;;;;30392:1366;;;;;:::o;6052:158::-;6110:7;6143:1;6138;:6;;6130:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6201:1;6197;:5;6190:12;;6052:158;;;;:::o;6469:220::-;6527:7;6556:1;6551;:6;6547:20;;;6566:1;6559:8;;;;6547:20;6578:9;6594:1;6590;:5;6578:17;;6623:1;6618;6614;:5;;;;;;:10;6606:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6680:1;6673:8;;;6469:220;;;;;:::o;5590:179::-;5648:7;5668:9;5684:1;5680;:5;5668:17;;5709:1;5704;:6;;5696:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5760:1;5753:8;;;5590:179;;;;:::o;7167:153::-;7225:7;7257:1;7253;:5;7245:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7311:1;7307;:5;;;;;;7300:12;;7167:153;;;;:::o;33180:389::-;33259:23;33285:7;;;;;;;;;;;:17;;;33311:4;33285:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33259:58;;33350:1;33332:15;:19;33328:234;;;33382:15;33372:7;:25;33368:183;;;33418:42;33439:3;33444:15;33418:7;;;;;;;;;;;:20;;;;:42;;;;;:::i;:::-;33368:183;;;33501:34;33522:3;33527:7;33501;;;;;;;;;;;:20;;;;:34;;;;;:::i;:::-;33368:183;33328:234;33180:389;;;:::o;18970:177::-;19053:86;19073:5;19103:23;;;19128:2;19132:5;19080:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19053:19;:86::i;:::-;18970:177;;;:::o;25243:264::-;25311:14;25328:8;:15;;;;25311:32;;25359:11;25354:146;25382:6;25376:3;:12;25354:146;;;25443:6;25420:29;;:8;25429:3;25420:13;;;;;;;;;;;;;;;;;;:19;;;;;;;;;;;;:29;;;;25412:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25390:5;;;;;25354:146;;;;25243:264;;:::o;19155:205::-;19256:96;19276:5;19306:27;;;19335:4;19341:2;19345:5;19283:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19256:19;:96::i;:::-;19155:205;;;;:::o;21275:761::-;21699:23;21725:69;21753:4;21725:69;;;;;;;;;;;;;;;;;21733:5;21725:27;;;;:69;;;;;:::i;:::-;21699:95;;21829:1;21809:10;:17;:21;21805:224;;;21951:10;21940:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21932:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21805:224;21275:761;;;:::o;13957:195::-;14060:12;14092:52;14114:6;14122:4;14128:1;14131:12;14092:21;:52::i;:::-;14085:59;;13957:195;;;;;:::o;15009:530::-;15136:12;15194:5;15169:21;:30;;15161:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15261:18;15272:6;15261:10;:18::i;:::-;15253:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15387:12;15401:23;15428:6;:11;;15448:5;15456:4;15428:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15386:75;;;;15479:52;15497:7;15506:10;15518:12;15479:17;:52::i;:::-;15472:59;;;;15009:530;;;;;;:::o;11039:422::-;11099:4;11307:12;11418:7;11406:20;11398:28;;11452:1;11445:4;:8;11438:15;;;11039:422;;;:::o;17549:742::-;17664:12;17693:7;17689:595;;;17724:10;17717:17;;;;17689:595;17858:1;17838:10;:17;:21;17834:439;;;18101:10;18095:17;18162:15;18149:10;18145:2;18141:19;18134:44;18049:148;18244:12;18237:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17549:742;;;;;;:::o
Swarm Source
ipfs://12b7fbcd319bb18f62788b6c56e477b11f8c85246cd403b9380af46d85290e8f
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.