More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 977 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Exit | 12541190 | 1318 days ago | IN | 0 ETH | 0.00228657 | ||||
Exit | 12318587 | 1353 days ago | IN | 0 ETH | 0.00295243 | ||||
Exit | 12318587 | 1353 days ago | IN | 0 ETH | 0.00928921 | ||||
Get Reward | 11962282 | 1408 days ago | IN | 0 ETH | 0.00902565 | ||||
Exit | 11866491 | 1422 days ago | IN | 0 ETH | 0.01266711 | ||||
Exit | 11866455 | 1422 days ago | IN | 0 ETH | 0.01418211 | ||||
Exit | 11866430 | 1422 days ago | IN | 0 ETH | 0.01699045 | ||||
Exit | 11866405 | 1422 days ago | IN | 0 ETH | 0.00558012 | ||||
Exit | 11866402 | 1422 days ago | IN | 0 ETH | 0.01523086 | ||||
Exit | 11772476 | 1437 days ago | IN | 0 ETH | 0.02440046 | ||||
Get Reward | 11763063 | 1438 days ago | IN | 0 ETH | 0.0053272 | ||||
Exit | 11746684 | 1441 days ago | IN | 0 ETH | 0.00940793 | ||||
Exit | 11697691 | 1448 days ago | IN | 0 ETH | 0.01167707 | ||||
Withdraw | 11697643 | 1448 days ago | IN | 0 ETH | 0.00749693 | ||||
Get Reward | 11697641 | 1448 days ago | IN | 0 ETH | 0.00585968 | ||||
Get Reward | 11697547 | 1448 days ago | IN | 0 ETH | 0.00375155 | ||||
Withdraw | 11697526 | 1448 days ago | IN | 0 ETH | 0.00653303 | ||||
Get Reward | 11697235 | 1448 days ago | IN | 0 ETH | 0.00330136 | ||||
Get Reward | 11697155 | 1448 days ago | IN | 0 ETH | 0.00406177 | ||||
Withdraw | 11697150 | 1448 days ago | IN | 0 ETH | 0.00642665 | ||||
Get Reward | 11695800 | 1449 days ago | IN | 0 ETH | 0.00524288 | ||||
Get Reward | 11695787 | 1449 days ago | IN | 0 ETH | 0.00671248 | ||||
Get Reward | 11692398 | 1449 days ago | IN | 0 ETH | 0.0148395 | ||||
Stake | 11691399 | 1449 days ago | IN | 0 ETH | 0.00613938 | ||||
Get Reward | 11691291 | 1449 days ago | IN | 0 ETH | 0.00567938 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|
12541190 | 1318 days ago | 0 ETH | |||||
12541190 | 1318 days ago | 0 ETH | |||||
12318587 | 1353 days ago | 0 ETH | |||||
12318587 | 1353 days ago | 0 ETH | |||||
11962282 | 1408 days ago | 0 ETH | |||||
11866545 | 1422 days ago | 0 ETH | |||||
11866545 | 1422 days ago | 0 ETH | |||||
11866545 | 1422 days ago | 0 ETH | |||||
11866545 | 1422 days ago | 0 ETH | |||||
11866534 | 1422 days ago | 0 ETH | |||||
11866534 | 1422 days ago | 0 ETH | |||||
11866534 | 1422 days ago | 0 ETH | |||||
11866534 | 1422 days ago | 0 ETH | |||||
11866528 | 1422 days ago | 0 ETH | |||||
11866528 | 1422 days ago | 0 ETH | |||||
11866528 | 1422 days ago | 0 ETH | |||||
11866528 | 1422 days ago | 0 ETH | |||||
11866528 | 1422 days ago | 0 ETH | |||||
11866528 | 1422 days ago | 0 ETH | |||||
11866517 | 1422 days ago | 0 ETH | |||||
11866517 | 1422 days ago | 0 ETH | |||||
11866517 | 1422 days ago | 0 ETH | |||||
11866517 | 1422 days ago | 0 ETH | |||||
11866517 | 1422 days ago | 0 ETH | |||||
11866517 | 1422 days ago | 0 ETH |
Loading...
Loading
Contract Name:
UBCUSDTLPTokenSharePool
Compiler Version
v0.6.2+commit.bacdbe57
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-12-22 */ pragma solidity 0.6.2; library SafeMath { /** * @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) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * 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); uint256 c = a - b; return c; } /** * @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) { // 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 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts 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) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } contract Operator is Context, Ownable { address private _operator; event OperatorTransferred( address indexed previousOperator, address indexed newOperator ); constructor() internal { _operator = _msgSender(); emit OperatorTransferred(address(0), _operator); } function operator() public view returns (address) { return _operator; } modifier onlyOperator() { require( _operator == msg.sender, 'operator: caller is not the operator' ); _; } function isOperator() public view returns (bool) { return _msgSender() == _operator; } function transferOperator(address newOperator_) public onlyOwner { _transferOperator(newOperator_); } function _transferOperator(address newOperator_) internal { require( newOperator_ != address(0), 'operator: zero address given for new operator' ); emit OperatorTransferred(address(0), newOperator_); _operator = newOperator_; } } 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); } 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.3._ */ 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.3._ */ 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); } } } } 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"); } } } abstract contract IRewardDistributionRecipient is Ownable { address public rewardDistribution; function notifyRewardAmount(uint256 reward) external virtual; modifier onlyRewardDistribution() { require( _msgSender() == rewardDistribution, 'Caller is not reward distribution' ); _; } function setRewardDistribution(address _rewardDistribution) external virtual onlyOwner { rewardDistribution = _rewardDistribution; } } contract LPTokenWrapper { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public lpt; uint256 private _totalSupply; mapping(address => uint256) private _balances; function totalSupply() public view returns (uint256) { return _totalSupply; } function balanceOf(address account) public view returns (uint256) { return _balances[account]; } function stake(uint256 amount) public virtual { _totalSupply = _totalSupply.add(amount); _balances[msg.sender] = _balances[msg.sender].add(amount); lpt.safeTransferFrom(msg.sender, address(this), amount); } function withdraw(uint256 amount) public virtual { _totalSupply = _totalSupply.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); lpt.safeTransfer(msg.sender, amount); } } contract UBCUSDTLPTokenSharePool is LPTokenWrapper, IRewardDistributionRecipient { IERC20 public UCS; uint256 public constant DURATION = 30 days; uint256 public initreward = 14400 * 10**18; uint256 public starttime; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; event RewardAdded(uint256 reward); event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); constructor( address UCS_, address lptoken_, uint256 starttime_ ) public { UCS = IERC20(UCS_); lpt = IERC20(lptoken_); starttime = starttime_; } modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } function lastTimeRewardApplicable() public view returns (uint256) { return Math.min(block.timestamp, periodFinish); } function rewardPerToken() public view returns (uint256) { if (totalSupply() == 0) { return rewardPerTokenStored; } return rewardPerTokenStored.add( lastTimeRewardApplicable() .sub(lastUpdateTime) .mul(rewardRate) .mul(1e18) .div(totalSupply()) ); } function earned(address account) public view returns (uint256) { return balanceOf(account) .mul(rewardPerToken().sub(userRewardPerTokenPaid[account])) .div(1e18) .add(rewards[account]); } // stake visibility is public as overriding LPTokenWrapper's stake() function function stake(uint256 amount) public override updateReward(msg.sender) checkhalve checkStart { require(amount > 0, 'Cannot stake 0'); super.stake(amount); emit Staked(msg.sender, amount); } function withdraw(uint256 amount) public override updateReward(msg.sender) checkhalve checkStart { require(amount > 0, 'Cannot withdraw 0'); super.withdraw(amount); emit Withdrawn(msg.sender, amount); } function exit() external { withdraw(balanceOf(msg.sender)); getReward(); } function getReward() public updateReward(msg.sender) checkhalve checkStart { uint256 reward = earned(msg.sender); if (reward > 0) { rewards[msg.sender] = 0; UCS.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); } } modifier checkhalve() { if (block.timestamp >= periodFinish) { initreward = initreward.mul(80).div(100); rewardRate = initreward.div(DURATION); periodFinish = block.timestamp.add(DURATION); emit RewardAdded(initreward); } _; } modifier checkStart() { require(block.timestamp >= starttime, 'not start'); _; } function notifyRewardAmount(uint256 reward) external override onlyRewardDistribution updateReward(address(0)) { if (block.timestamp > starttime) { if (block.timestamp >= periodFinish) { rewardRate = reward.div(DURATION); } else { uint256 remaining = periodFinish.sub(block.timestamp); uint256 leftover = remaining.mul(rewardRate); rewardRate = reward.add(leftover).div(DURATION); } lastUpdateTime = block.timestamp; periodFinish = block.timestamp.add(DURATION); emit RewardAdded(reward); } else { rewardRate = initreward.div(DURATION); lastUpdateTime = starttime; periodFinish = starttime.add(DURATION); emit RewardAdded(reward); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"UCS_","type":"address"},{"internalType":"address","name":"lptoken_","type":"address"},{"internalType":"uint256","name":"starttime_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UCS","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initreward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpt","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardDistribution","type":"address"}],"name":"setRewardDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"starttime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405269030ca024f987b90000006006556000600855600060095534801561002857600080fd5b5060405162002707380380620027078339818101604052606081101561004d57600080fd5b8101908080519060200190929190805190602001909291908051906020019092919050505060006100826101b160201b60201c565b905080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35082600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806007819055505050506101b9565b600033905090565b61253e80620001c96000396000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c806380faa57d116100de578063c8f33c9111610097578063df136d6511610071578063df136d65146105ec578063e9fad8ee1461060a578063ebe2b12b14610614578063f2fde38b146106325761018d565b8063c8f33c9114610566578063cd3daf9d14610584578063ce5fc8d0146105a25761018d565b806380faa57d1461043c5780638b8763471461045a5780638da58897146104b25780638da5cb5b146104d05780639c907b581461051a578063a694fc3a146105385761018d565b80632e1a7d4d1161014b5780634306ba6c116101255780634306ba6c1461037257806370a08231146103bc578063715018a6146104145780637b0a47ee1461041e5761018d565b80632e1a7d4d1461030c5780633c6b16ab1461033a5780633d18b912146103685761018d565b80628cc262146101925780630700037d146101ea5780630d68b76114610242578063101114cf1461028657806318160ddd146102d05780631be05289146102ee575b600080fd5b6101d4600480360360208110156101a857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610676565b6040518082815260200191505060405180910390f35b61022c6004803603602081101561020057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061075d565b6040518082815260200191505060405180910390f35b6102846004803603602081101561025857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610775565b005b61028e610883565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102d86108a9565b6040518082815260200191505060405180910390f35b6102f66108b3565b6040518082815260200191505060405180910390f35b6103386004803603602081101561032257600080fd5b81019080803590602001909291905050506108ba565b005b6103666004803603602081101561035057600080fd5b8101908080359060200190929190505050610b93565b005b610370610e9c565b005b61037a61119f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103fe600480360360208110156103d257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111c5565b6040518082815260200191505060405180910390f35b61041c61120e565b005b610426611399565b6040518082815260200191505060405180910390f35b61044461139f565b6040518082815260200191505060405180910390f35b61049c6004803603602081101561047057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113b2565b6040518082815260200191505060405180910390f35b6104ba6113ca565b6040518082815260200191505060405180910390f35b6104d86113d0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105226113fa565b6040518082815260200191505060405180910390f35b6105646004803603602081101561054e57600080fd5b8101908080359060200190929190505050611400565b005b61056e6116d9565b6040518082815260200191505060405180910390f35b61058c6116df565b6040518082815260200191505060405180910390f35b6105aa611777565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105f461179c565b6040518082815260200191505060405180910390f35b6106126117a2565b005b61061c6117bd565b6040518082815260200191505060405180910390f35b6106746004803603602081101561064857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117c3565b005b6000610756600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610748670de0b6b3a764000061073a610723600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107156116df565b6119d390919063ffffffff16565b61072c886111c5565b611a1d90919063ffffffff16565b611aa390919063ffffffff16565b611aed90919063ffffffff16565b9050919050565b600d6020528060005260406000206000915090505481565b61077d611b75565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461083f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600154905090565b62278d0081565b336108c36116df565b600b819055506108d161139f565b600a81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461099e5761091481610676565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600b54600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6008544210610a4a576109d060646109c26050600654611a1d90919063ffffffff16565b611aa390919063ffffffff16565b6006819055506109ee62278d00600654611aa390919063ffffffff16565b600981905550610a0a62278d0042611aed90919063ffffffff16565b6008819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d6006546040518082815260200191505060405180910390a15b600754421015610ac2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008211610b38576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610b4182611b7d565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610bd4611b75565b73ffffffffffffffffffffffffffffffffffffffff1614610c40576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806124be6021913960400191505060405180910390fd5b6000610c4a6116df565b600b81905550610c5861139f565b600a81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d2557610c9b81610676565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600b54600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600754421115610e1b576008544210610d5957610d4e62278d0083611aa390919063ffffffff16565b600981905550610dbc565b6000610d70426008546119d390919063ffffffff16565b90506000610d8960095483611a1d90919063ffffffff16565b9050610db362278d00610da58387611aed90919063ffffffff16565b611aa390919063ffffffff16565b60098190555050505b42600a81905550610dd962278d0042611aed90919063ffffffff16565b6008819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a1610e98565b610e3362278d00600654611aa390919063ffffffff16565b600981905550600754600a81905550610e5a62278d00600754611aed90919063ffffffff16565b6008819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a15b5050565b33610ea56116df565b600b81905550610eb361139f565b600a81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f8057610ef681610676565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600b54600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600854421061102c57610fb26064610fa46050600654611a1d90919063ffffffff16565b611aa390919063ffffffff16565b600681905550610fd062278d00600654611aa390919063ffffffff16565b600981905550610fec62278d0042611aed90919063ffffffff16565b6008819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d6006546040518082815260200191505060405180910390a15b6007544210156110a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60006110af33610676565b9050600081111561119b576000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061114c3382600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c7c9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b5050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611216611b75565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60095481565b60006113ad42600854611d34565b905090565b600c6020528060005260406000206000915090505481565b60075481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60065481565b336114096116df565b600b8190555061141761139f565b600a81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114e45761145a81610676565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600b54600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60085442106115905761151660646115086050600654611a1d90919063ffffffff16565b611aa390919063ffffffff16565b60068190555061153462278d00600654611aa390919063ffffffff16565b60098190555061155062278d0042611aed90919063ffffffff16565b6008819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d6006546040518082815260200191505060405180910390a15b600754421015611608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000821161167e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b61168782611d4d565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a25050565b600a5481565b6000806116ea6108a9565b14156116fa57600b549050611774565b6117716117606117086108a9565b611752670de0b6b3a7640000611744600954611736600a5461172861139f565b6119d390919063ffffffff16565b611a1d90919063ffffffff16565b611a1d90919063ffffffff16565b611aa390919063ffffffff16565b600b54611aed90919063ffffffff16565b90505b90565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5481565b6117b36117ae336111c5565b6108ba565b6117bb610e9c565b565b60085481565b6117cb611b75565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461188d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611913576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806124516026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000611a1583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e4e565b905092915050565b600080831415611a305760009050611a9d565b6000828402905082848281611a4157fe5b0414611a98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061249d6021913960400191505060405180910390fd5b809150505b92915050565b6000611ae583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611f0e565b905092915050565b600080828401905083811015611b6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b611b92816001546119d390919063ffffffff16565b600181905550611bea81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119d390919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c7933826000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c7c9092919063ffffffff16565b50565b611d2f8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611fd4565b505050565b6000818310611d435781611d45565b825b905092915050565b611d6281600154611aed90919063ffffffff16565b600181905550611dba81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611aed90919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611e4b3330836000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120c3909392919063ffffffff16565b50565b6000838311158290611efb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ec0578082015181840152602081019050611ea5565b50505050905090810190601f168015611eed5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290611fba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611f7f578082015181840152602081019050611f64565b50505050905090810190601f168015611fac5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611fc657fe5b049050809150509392505050565b6060612036826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166121b09092919063ffffffff16565b90506000815111156120be5780806020019051602081101561205757600080fd5b81019080805190602001909291905050506120bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806124df602a913960400191505060405180910390fd5b5b505050565b6121aa846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611fd4565b50505050565b60606121bf84846000856121c8565b90509392505050565b606082471015612223576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806124776026913960400191505060405180910390fd5b61222c85612371565b61229e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106122ee57805182526020820191506020810190506020830392506122cb565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612350576040519150601f19603f3d011682016040523d82523d6000602084013e612355565b606091505b5091509150612365828286612384565b92505050949350505050565b600080823b905060008111915050919050565b6060831561239457829050612449565b6000835111156123a75782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561240e5780820151818401526020810190506123f3565b50505050905090810190601f16801561243b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212204520c7916dbc54b2efd697ee96839c5cf961e7f2d186fc699fd13347e2f1324c64736f6c63430006020033000000000000000000000000e7bf7fe480a707cf516b4dc431ea8958ab4272200000000000000000000000009802e3a4e338c9cc20bffb9876ce7c157fe5586b000000000000000000000000000000000000000000000000000000005fe0aa60
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018d5760003560e01c806380faa57d116100de578063c8f33c9111610097578063df136d6511610071578063df136d65146105ec578063e9fad8ee1461060a578063ebe2b12b14610614578063f2fde38b146106325761018d565b8063c8f33c9114610566578063cd3daf9d14610584578063ce5fc8d0146105a25761018d565b806380faa57d1461043c5780638b8763471461045a5780638da58897146104b25780638da5cb5b146104d05780639c907b581461051a578063a694fc3a146105385761018d565b80632e1a7d4d1161014b5780634306ba6c116101255780634306ba6c1461037257806370a08231146103bc578063715018a6146104145780637b0a47ee1461041e5761018d565b80632e1a7d4d1461030c5780633c6b16ab1461033a5780633d18b912146103685761018d565b80628cc262146101925780630700037d146101ea5780630d68b76114610242578063101114cf1461028657806318160ddd146102d05780631be05289146102ee575b600080fd5b6101d4600480360360208110156101a857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610676565b6040518082815260200191505060405180910390f35b61022c6004803603602081101561020057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061075d565b6040518082815260200191505060405180910390f35b6102846004803603602081101561025857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610775565b005b61028e610883565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102d86108a9565b6040518082815260200191505060405180910390f35b6102f66108b3565b6040518082815260200191505060405180910390f35b6103386004803603602081101561032257600080fd5b81019080803590602001909291905050506108ba565b005b6103666004803603602081101561035057600080fd5b8101908080359060200190929190505050610b93565b005b610370610e9c565b005b61037a61119f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103fe600480360360208110156103d257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111c5565b6040518082815260200191505060405180910390f35b61041c61120e565b005b610426611399565b6040518082815260200191505060405180910390f35b61044461139f565b6040518082815260200191505060405180910390f35b61049c6004803603602081101561047057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113b2565b6040518082815260200191505060405180910390f35b6104ba6113ca565b6040518082815260200191505060405180910390f35b6104d86113d0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105226113fa565b6040518082815260200191505060405180910390f35b6105646004803603602081101561054e57600080fd5b8101908080359060200190929190505050611400565b005b61056e6116d9565b6040518082815260200191505060405180910390f35b61058c6116df565b6040518082815260200191505060405180910390f35b6105aa611777565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105f461179c565b6040518082815260200191505060405180910390f35b6106126117a2565b005b61061c6117bd565b6040518082815260200191505060405180910390f35b6106746004803603602081101561064857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117c3565b005b6000610756600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610748670de0b6b3a764000061073a610723600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107156116df565b6119d390919063ffffffff16565b61072c886111c5565b611a1d90919063ffffffff16565b611aa390919063ffffffff16565b611aed90919063ffffffff16565b9050919050565b600d6020528060005260406000206000915090505481565b61077d611b75565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461083f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600154905090565b62278d0081565b336108c36116df565b600b819055506108d161139f565b600a81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461099e5761091481610676565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600b54600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6008544210610a4a576109d060646109c26050600654611a1d90919063ffffffff16565b611aa390919063ffffffff16565b6006819055506109ee62278d00600654611aa390919063ffffffff16565b600981905550610a0a62278d0042611aed90919063ffffffff16565b6008819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d6006546040518082815260200191505060405180910390a15b600754421015610ac2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008211610b38576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610b4182611b7d565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610bd4611b75565b73ffffffffffffffffffffffffffffffffffffffff1614610c40576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806124be6021913960400191505060405180910390fd5b6000610c4a6116df565b600b81905550610c5861139f565b600a81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d2557610c9b81610676565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600b54600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600754421115610e1b576008544210610d5957610d4e62278d0083611aa390919063ffffffff16565b600981905550610dbc565b6000610d70426008546119d390919063ffffffff16565b90506000610d8960095483611a1d90919063ffffffff16565b9050610db362278d00610da58387611aed90919063ffffffff16565b611aa390919063ffffffff16565b60098190555050505b42600a81905550610dd962278d0042611aed90919063ffffffff16565b6008819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a1610e98565b610e3362278d00600654611aa390919063ffffffff16565b600981905550600754600a81905550610e5a62278d00600754611aed90919063ffffffff16565b6008819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a15b5050565b33610ea56116df565b600b81905550610eb361139f565b600a81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f8057610ef681610676565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600b54600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600854421061102c57610fb26064610fa46050600654611a1d90919063ffffffff16565b611aa390919063ffffffff16565b600681905550610fd062278d00600654611aa390919063ffffffff16565b600981905550610fec62278d0042611aed90919063ffffffff16565b6008819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d6006546040518082815260200191505060405180910390a15b6007544210156110a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60006110af33610676565b9050600081111561119b576000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061114c3382600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c7c9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b5050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611216611b75565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60095481565b60006113ad42600854611d34565b905090565b600c6020528060005260406000206000915090505481565b60075481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60065481565b336114096116df565b600b8190555061141761139f565b600a81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114e45761145a81610676565b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600b54600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60085442106115905761151660646115086050600654611a1d90919063ffffffff16565b611aa390919063ffffffff16565b60068190555061153462278d00600654611aa390919063ffffffff16565b60098190555061155062278d0042611aed90919063ffffffff16565b6008819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d6006546040518082815260200191505060405180910390a15b600754421015611608576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000821161167e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b61168782611d4d565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a25050565b600a5481565b6000806116ea6108a9565b14156116fa57600b549050611774565b6117716117606117086108a9565b611752670de0b6b3a7640000611744600954611736600a5461172861139f565b6119d390919063ffffffff16565b611a1d90919063ffffffff16565b611a1d90919063ffffffff16565b611aa390919063ffffffff16565b600b54611aed90919063ffffffff16565b90505b90565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5481565b6117b36117ae336111c5565b6108ba565b6117bb610e9c565b565b60085481565b6117cb611b75565b73ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461188d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611913576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806124516026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000611a1583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e4e565b905092915050565b600080831415611a305760009050611a9d565b6000828402905082848281611a4157fe5b0414611a98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061249d6021913960400191505060405180910390fd5b809150505b92915050565b6000611ae583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611f0e565b905092915050565b600080828401905083811015611b6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b611b92816001546119d390919063ffffffff16565b600181905550611bea81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119d390919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c7933826000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c7c9092919063ffffffff16565b50565b611d2f8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611fd4565b505050565b6000818310611d435781611d45565b825b905092915050565b611d6281600154611aed90919063ffffffff16565b600181905550611dba81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611aed90919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611e4b3330836000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120c3909392919063ffffffff16565b50565b6000838311158290611efb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ec0578082015181840152602081019050611ea5565b50505050905090810190601f168015611eed5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290611fba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611f7f578082015181840152602081019050611f64565b50505050905090810190601f168015611fac5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611fc657fe5b049050809150509392505050565b6060612036826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166121b09092919063ffffffff16565b90506000815111156120be5780806020019051602081101561205757600080fd5b81019080805190602001909291905050506120bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806124df602a913960400191505060405180910390fd5b5b505050565b6121aa846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611fd4565b50505050565b60606121bf84846000856121c8565b90509392505050565b606082471015612223576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806124776026913960400191505060405180910390fd5b61222c85612371565b61229e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106122ee57805182526020820191506020810190506020830392506122cb565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612350576040519150601f19603f3d011682016040523d82523d6000602084013e612355565b606091505b5091509150612365828286612384565b92505050949350505050565b600080823b905060008111915050919050565b6060831561239457829050612449565b6000835111156123a75782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561240e5780820151818401526020810190506123f3565b50505050905090810190601f16801561243b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212204520c7916dbc54b2efd697ee96839c5cf961e7f2d186fc699fd13347e2f1324c64736f6c63430006020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e7bf7fe480a707cf516b4dc431ea8958ab4272200000000000000000000000009802e3a4e338c9cc20bffb9876ce7c157fe5586b000000000000000000000000000000000000000000000000000000005fe0aa60
-----Decoded View---------------
Arg [0] : UCS_ (address): 0xE7bf7fE480a707cf516B4DC431Ea8958Ab427220
Arg [1] : lptoken_ (address): 0x9802e3a4E338c9cC20BFfB9876ce7C157FE5586B
Arg [2] : starttime_ (uint256): 1608559200
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000e7bf7fe480a707cf516b4dc431ea8958ab427220
Arg [1] : 0000000000000000000000009802e3a4e338c9cc20bffb9876ce7c157fe5586b
Arg [2] : 000000000000000000000000000000000000000000000000000000005fe0aa60
Deployed Bytecode Sourcemap
23803:4553:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23803:4553:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25667:265;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25667:265:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24275:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24275:42:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22710:178;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;22710:178:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;22409:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23109:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23926:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26303:284;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;26303:284:0;;;;;;;;;;;;;;;;;:::i;:::-;;27449:904;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27449:904:0;;;;;;;;;;;;;;;;;:::i;:::-;;26700:306;;;:::i;:::-;;23902:17;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23208:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23208:110:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6987:148;;;:::i;:::-;;24097:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25100:131;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24211:57;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24211:57:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24027:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6345:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23977:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26023:272;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;26023:272:0;;;;;;;;;;;;;;;;;:::i;:::-;;24133:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25239:420;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22994:17;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24169:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26595:97;;;:::i;:::-;;24059:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7290:244;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;7290:244:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;25667:265;25721:7;25761:163;25907:7;:16;25915:7;25907:16;;;;;;;;;;;;;;;;25761:123;25879:4;25761:95;25802:53;25823:22;:31;25846:7;25823:31;;;;;;;;;;;;;;;;25802:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;25761:18;25771:7;25761:9;:18::i;:::-;:40;;:95;;;;:::i;:::-;:117;;:123;;;;:::i;:::-;:145;;:163;;;;:::i;:::-;25741:183;;25667:265;;;:::o;24275:42::-;;;;;;;;;;;;;;;;;:::o;22710:178::-;6567:12;:10;:12::i;:::-;6557:22;;:6;;;;;;;;;;;:22;;;6549:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22861:19:::1;22840:18;;:40;;;;;;;;;;;;;;;;;;22710:178:::0;:::o;22409:33::-;;;;;;;;;;;;;:::o;23109:91::-;23153:7;23180:12;;23173:19;;23109:91;:::o;23926:42::-;23961:7;23926:42;:::o;26303:284::-;26393:10;24835:16;:14;:16::i;:::-;24812:20;:39;;;;24879:26;:24;:26::i;:::-;24862:14;:43;;;;24939:1;24920:21;;:7;:21;;;24916:157;;24977:15;24984:7;24977:6;:15::i;:::-;24958:7;:16;24966:7;24958:16;;;;;;;;;;;;;;;:34;;;;25041:20;;25007:22;:31;25030:7;25007:31;;;;;;;;;;;;;;;:54;;;;24916:157;27070:12:::1;;27051:15;:31;27047:260;;27112:27;27135:3;27112:18;27127:2;27112:10;;:14;;:18;;;;:::i;:::-;:22;;:27;;;;:::i;:::-;27099:10;:40;;;;27169:24;23961:7;27169:10;;:14;;:24;;;;:::i;:::-;27156:10;:37;;;;27223:29;23961:7;27223:15;:19;;:29;;;;:::i;:::-;27208:12;:44;;;;27272:23;27284:10;;27272:23;;;;;;;;;;;;;;;;;;27047:260;27394:9:::2;;27375:15;:28;;27367:50;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;26478:1:::3;26469:6;:10;26461:40;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;26512:22;26527:6;26512:14;:22::i;:::-;26560:10;26550:29;;;26572:6;26550:29;;;;;;;;;;;;;;;;;;26303:284:::0;;:::o;27449:904::-;22603:18;;;;;;;;;;;22587:34;;:12;:10;:12::i;:::-;:34;;;22565:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27591:1:::1;24835:16;:14;:16::i;:::-;24812:20;:39;;;;24879:26;:24;:26::i;:::-;24862:14;:43;;;;24939:1;24920:21;;:7;:21;;;24916:157;;24977:15;24984:7;24977:6;:15::i;:::-;24958:7;:16;24966:7;24958:16;;;;;;;;;;;;;;;:34;;;;25041:20;;25007:22;:31;25030:7;25007:31;;;;;;;;;;;;;;;:54;;;;24916:157;27633:9:::2;;27615:15;:27;27611:735;;;27682:12;;27663:15;:31;27659:328;;27728:20;23961:7;27728:6;:10;;:20;;;;:::i;:::-;27715:10;:33;;;;27659:328;;;27789:17;27809:33;27826:15;27809:12;;:16;;:33;;;;:::i;:::-;27789:53;;27861:16;27880:25;27894:10;;27880:9;:13;;:25;;;;:::i;:::-;27861:44;;27937:34;23961:7;27937:20;27948:8;27937:6;:10;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;27924:10;:47;;;;27659:328;;;28018:15;28001:14;:32;;;;28063:29;23961:7;28063:15;:19;;:29;;;;:::i;:::-;28048:12;:44;;;;28112:19;28124:6;28112:19;;;;;;;;;;;;;;;;;;27611:735;;;28177:24;23961:7;28177:10;;:14;;:24;;;;:::i;:::-;28164:10;:37;;;;28233:9;;28216:14;:26;;;;28272:23;23961:7;28272:9;;:13;;:23;;;;:::i;:::-;28257:12;:38;;;;28315:19;28327:6;28315:19;;;;;;;;;;;;;;;;;;27611:735;22693:1:::1;27449:904:::0;:::o;26700:306::-;26741:10;24835:16;:14;:16::i;:::-;24812:20;:39;;;;24879:26;:24;:26::i;:::-;24862:14;:43;;;;24939:1;24920:21;;:7;:21;;;24916:157;;24977:15;24984:7;24977:6;:15::i;:::-;24958:7;:16;24966:7;24958:16;;;;;;;;;;;;;;;:34;;;;25041:20;;25007:22;:31;25030:7;25007:31;;;;;;;;;;;;;;;:54;;;;24916:157;27070:12:::1;;27051:15;:31;27047:260;;27112:27;27135:3;27112:18;27127:2;27112:10;;:14;;:18;;;;:::i;:::-;:22;;:27;;;;:::i;:::-;27099:10;:40;;;;27169:24;23961:7;27169:10;;:14;;:24;;;;:::i;:::-;27156:10;:37;;;;27223:29;23961:7;27223:15;:19;;:29;;;;:::i;:::-;27208:12;:44;;;;27272:23;27284:10;;27272:23;;;;;;;;;;;;;;;;;;27047:260;27394:9:::2;;27375:15;:28;;27367:50;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;26786:14:::3;26803:18;26810:10;26803:6;:18::i;:::-;26786:35;;26845:1;26836:6;:10;26832:167;;;26885:1;26863:7;:19;26871:10;26863:19;;;;;;;;;;;;;;;:23;;;;26901:36;26918:10;26930:6;26901:3;;;;;;;;;;;:16;;;;:36;;;;;:::i;:::-;26968:10;26957:30;;;26980:6;26957:30;;;;;;;;;;;;;;;;;;26832:167;27428:1;26700:306:::0;:::o;23902:17::-;;;;;;;;;;;;;:::o;23208:110::-;23265:7;23292:9;:18;23302:7;23292:18;;;;;;;;;;;;;;;;23285:25;;23208:110;;;:::o;6987:148::-;6567:12;:10;:12::i;:::-;6557:22;;:6;;;;;;;;;;;:22;;;6549:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7094:1:::1;7057:40;;7078:6;;;;;;;;;;;7057:40;;;;;;;;;;;;7125:1;7108:6;;:19;;;;;;;;;;;;;;;;;;6987:148::o:0;24097:29::-;;;;:::o;25100:131::-;25157:7;25184:39;25193:15;25210:12;;25184:8;:39::i;:::-;25177:46;;25100:131;:::o;24211:57::-;;;;;;;;;;;;;;;;;:::o;24027:24::-;;;;:::o;6345:79::-;6383:7;6410:6;;;;;;;;;;;6403:13;;6345:79;:::o;23977:42::-;;;;:::o;26023:272::-;26110:10;24835:16;:14;:16::i;:::-;24812:20;:39;;;;24879:26;:24;:26::i;:::-;24862:14;:43;;;;24939:1;24920:21;;:7;:21;;;24916:157;;24977:15;24984:7;24977:6;:15::i;:::-;24958:7;:16;24966:7;24958:16;;;;;;;;;;;;;;;:34;;;;25041:20;;25007:22;:31;25030:7;25007:31;;;;;;;;;;;;;;;:54;;;;24916:157;27070:12:::1;;27051:15;:31;27047:260;;27112:27;27135:3;27112:18;27127:2;27112:10;;:14;;:18;;;;:::i;:::-;:22;;:27;;;;:::i;:::-;27099:10;:40;;;;27169:24;23961:7;27169:10;;:14;;:24;;;;:::i;:::-;27156:10;:37;;;;27223:29;23961:7;27223:15;:19;;:29;;;;:::i;:::-;27208:12;:44;;;;27272:23;27284:10;;27272:23;;;;;;;;;;;;;;;;;;27047:260;27394:9:::2;;27375:15;:28;;27367:50;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;26195:1:::3;26186:6;:10;26178:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;26226:19;26238:6;26226:11;:19::i;:::-;26268:10;26261:26;;;26280:6;26261:26;;;;;;;;;;;;;;;;;;26023:272:::0;;:::o;24133:29::-;;;;:::o;25239:420::-;25286:7;25327:1;25310:13;:11;:13::i;:::-;:18;25306:78;;;25352:20;;25345:27;;;;25306:78;25414:237;25457:179;25622:13;:11;:13::i;:::-;25457:138;25590:4;25457:106;25552:10;;25457:68;25510:14;;25457:26;:24;:26::i;:::-;:52;;:68;;;;:::i;:::-;:94;;:106;;;;:::i;:::-;:132;;:138;;;;:::i;:::-;:164;;:179;;;;:::i;:::-;25414:20;;:24;;:237;;;;:::i;:::-;25394:257;;25239:420;;:::o;22994:17::-;;;;;;;;;;;;;:::o;24169:35::-;;;;:::o;26595:97::-;26631:31;26640:21;26650:10;26640:9;:21::i;:::-;26631:8;:31::i;:::-;26673:11;:9;:11::i;:::-;26595:97::o;24059:31::-;;;;:::o;7290:244::-;6567:12;:10;:12::i;:::-;6557:22;;:6;;;;;;;;;;;:22;;;6549:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7399:1:::1;7379:22;;:8;:22;;;;7371:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7489:8;7460:38;;7481:6;;;;;;;;;;;7460:38;;;;;;;;;;;;7518:8;7509:6;;:17;;;;;;;;;;;;;;;;;;7290:244:::0;:::o;757:136::-;815:7;842:43;846:1;849;842:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;835:50;;757:136;;;;:::o;1647:471::-;1705:7;1955:1;1950;:6;1946:47;;;1980:1;1973:8;;;;1946:47;2005:9;2021:1;2017;:5;2005:17;;2050:1;2045;2041;:5;;;;;;:10;2033:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2109:1;2102:8;;;1647:471;;;;;:::o;2594:132::-;2652:7;2679:39;2683:1;2686;2679:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;2672:46;;2594:132;;;;:::o;293:181::-;351:7;371:9;387:1;383;:5;371:17;;412:1;407;:6;;399:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;465:1;458:8;;;293:181;;;;:::o;5481:106::-;5534:15;5569:10;5562:17;;5481:106;:::o;23572:222::-;23647:24;23664:6;23647:12;;:16;;:24;;;;:::i;:::-;23632:12;:39;;;;23706:33;23732:6;23706:9;:21;23716:10;23706:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;23682:9;:21;23692:10;23682:21;;;;;;;;;;;;;;;:57;;;;23750:36;23767:10;23779:6;23750:3;;;;;;;;;;;:16;;;;:36;;;;;:::i;:::-;23572:222;:::o;19271:177::-;19354:86;19374:5;19404:23;;;19429:2;19433:5;19381:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;19381:58:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;19381:58:0;19354:19;:86::i;:::-;19271:177;;;:::o;5023:106::-;5081:7;5112:1;5108;:5;:13;;5120:1;5108:13;;;5116:1;5108:13;5101:20;;5023:106;;;;:::o;23326:238::-;23398:24;23415:6;23398:12;;:16;;:24;;;;:::i;:::-;23383:12;:39;;;;23457:33;23483:6;23457:9;:21;23467:10;23457:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;23433:9;:21;23443:10;23433:21;;;;;;;;;;;;;;;:57;;;;23501:55;23522:10;23542:4;23549:6;23501:3;;;;;;;;;;;:20;;;;:55;;;;;;:::i;:::-;23326:238;:::o;1196:192::-;1282:7;1315:1;1310;:6;;1318:12;1302:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1302:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1342:9;1358:1;1354;:5;1342:17;;1379:1;1372:8;;;1196:192;;;;;:::o;3222:278::-;3308:7;3340:1;3336;:5;3343:12;3328:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;3328:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3367:9;3383:1;3379;:5;;;;;;3367:17;;3491:1;3484:8;;;3222:278;;;;;:::o;21576:761::-;22000:23;22026:69;22054:4;22026:69;;;;;;;;;;;;;;;;;22034:5;22026:27;;;;:69;;;;;:::i;:::-;22000:95;;22130:1;22110:10;:17;:21;22106:224;;;22252:10;22241:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;22241:30:0;;;;;;;;;;;;;;;;22233:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22106:224;21576:761;;;:::o;19456:205::-;19557:96;19577:5;19607:27;;;19636:4;19642:2;19646:5;19584:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;19584:68:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;19584:68:0;19557:19;:96::i;:::-;19456:205;;;;:::o;14838:195::-;14941:12;14973:52;14995:6;15003:4;15009:1;15012:12;14973:21;:52::i;:::-;14966:59;;14838:195;;;;;:::o;15890:530::-;16017:12;16075:5;16050:21;:30;;16042:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16142:18;16153:6;16142:10;:18::i;:::-;16134:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16268:12;16282:23;16309:6;:11;;16329:5;16337:4;16309:33;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;16309:33:0;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;16267:75:0;;;;16360:52;16378:7;16387:10;16399:12;16360:17;:52::i;:::-;16353:59;;;;15890:530;;;;;;:::o;11920:422::-;11980:4;12188:12;12299:7;12287:20;12279:28;;12333:1;12326:4;:8;12319:15;;;11920:422;;;:::o;18430:742::-;18545:12;18574:7;18570:595;;;18605:10;18598:17;;;;18570:595;18739:1;18719:10;:17;:21;18715:439;;;18982:10;18976:17;19043:15;19030:10;19026:2;19022:19;19015:44;18930:148;19125:12;19118:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;19118:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18430:742;;;;;;:::o
Swarm Source
ipfs://4520c7916dbc54b2efd697ee96839c5cf961e7f2d186fc699fd13347e2f1324c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.