More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 142 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Get Reward | 14078572 | 984 days ago | IN | 0 ETH | 0.00834942 | ||||
Withdraw | 14052495 | 988 days ago | IN | 0 ETH | 0.01450431 | ||||
Stake | 14003375 | 995 days ago | IN | 0 ETH | 0.01263535 | ||||
Get Reward | 14002369 | 996 days ago | IN | 0 ETH | 0.01422672 | ||||
Withdraw | 14002360 | 996 days ago | IN | 0 ETH | 0.01623218 | ||||
Withdraw | 14001160 | 996 days ago | IN | 0 ETH | 0.0169146 | ||||
Get Reward | 13981932 | 999 days ago | IN | 0 ETH | 0.01229653 | ||||
Withdraw | 13981922 | 999 days ago | IN | 0 ETH | 0.01577665 | ||||
Get Reward | 13954063 | 1003 days ago | IN | 0 ETH | 0.01241013 | ||||
Get Reward | 13951216 | 1004 days ago | IN | 0 ETH | 0.00814074 | ||||
Withdraw | 13951145 | 1004 days ago | IN | 0 ETH | 0.01116908 | ||||
Get Reward | 13950838 | 1004 days ago | IN | 0 ETH | 0.009109 | ||||
Withdraw | 13950820 | 1004 days ago | IN | 0 ETH | 0.00973158 | ||||
Withdraw | 13875766 | 1015 days ago | IN | 0 ETH | 0.0101736 | ||||
Get Reward | 13875740 | 1015 days ago | IN | 0 ETH | 0.01020576 | ||||
Get Reward | 13866772 | 1017 days ago | IN | 0 ETH | 0.00515604 | ||||
Withdraw | 13866672 | 1017 days ago | IN | 0 ETH | 0.00617593 | ||||
Get Reward | 13840559 | 1021 days ago | IN | 0 ETH | 0.00421119 | ||||
Withdraw | 13840550 | 1021 days ago | IN | 0 ETH | 0.00532984 | ||||
Withdraw | 13584871 | 1061 days ago | IN | 0 ETH | 0.01823787 | ||||
Get Reward | 13028195 | 1148 days ago | IN | 0 ETH | 0.00255235 | ||||
Get Reward | 12884930 | 1170 days ago | IN | 0 ETH | 0.00148147 | ||||
Withdraw | 12884895 | 1170 days ago | IN | 0 ETH | 0.00158209 | ||||
Get Reward | 12755150 | 1190 days ago | IN | 0 ETH | 0.00113238 | ||||
Withdraw | 12755144 | 1190 days ago | IN | 0 ETH | 0.00122689 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
DAIMISv2LPTokenSharePool2
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-03-19 */ // File: @openzeppelin/contracts/math/Math.sol pragma solidity ^0.6.0; /** * @dev Standard math utilities missing in the Solidity language. */ 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); } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.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, 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; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.6.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/utils/Address.sol pragma solidity ^0.6.2; /** * @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 in 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"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); 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/SafeERC20.sol pragma solidity ^0.6.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: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ 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; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.6.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ 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; } } // File: contracts/interfaces/IRewardDistributionRecipient.sol pragma solidity ^0.6.0; 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; } } // File: contracts/interfaces/ISharePoolFeeDistributor.sol pragma solidity ^0.6.0; interface ISharePoolFeeDistributor { //Calculated the fee amount from the amount of earned rewards function calculateFeeAmount(uint256 amount) external view returns (uint256 feeAmount); // The updateReward function in the share pool contract calls this to let the fee contract know the fee amount function addFee(uint256 amount) external; function setFeeTransferAddress(address _address) external; function setFeePercent(uint256 _percent) external; } // File: contracts/token/LPTokenWrapper.sol pragma solidity ^0.6.0; 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); } } // File: contracts/owner/Operator.sol pragma solidity ^0.6.0; 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_; } } // File: contracts/distribution/DAIMISv2LPTokenSharePool2.sol pragma solidity ^0.6.0; /** *Submitted for verification at Etherscan.io on 2020-07-17 */ /* ____ __ __ __ _ / __/__ __ ___ / /_ / / ___ / /_ (_)__ __ _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ / /___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\ /___/ * Synthetix: BASISCASHRewards.sol * * Docs: https://docs.synthetix.io/ * * * MIT License * =========== * * Copyright (c) 2020 Synthetix * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE */ // File: @openzeppelin/contracts/math/Math.sol // File: @openzeppelin/contracts/math/SafeMath.sol // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // File: @openzeppelin/contracts/utils/Address.sol // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol // File: contracts/IRewardDistributionRecipient.sol contract DAIMISv2LPTokenSharePool2 is LPTokenWrapper, IRewardDistributionRecipient, Operator { IERC20 public mithShare; uint256 public DURATION = 301 days; address public feeDistributor; //Handles distributing the tax 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); event Migration(address indexed target, uint256 amount); constructor( address mithShare_, address lptoken_, uint256 starttime_ ) public { mithShare = IERC20(mithShare_); lpt = IERC20(lptoken_); starttime = starttime_; } modifier checkStart() { require( block.timestamp >= starttime, 'DAIMISLPTokenSharePool: not start' ); _; } modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { uint256 earnedNew = earnedNew(account); uint256 fee = ISharePoolFeeDistributor(feeDistributor).calculateFeeAmount(earnedNew); ISharePoolFeeDistributor(feeDistributor).addFee(fee); rewards[account] = rewards[account].add(earnedNew).sub(fee); 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 earnedNew(account).add(rewards[account]); } // stake visibility is public as overriding LPTokenWrapper's stake() function function stake(uint256 amount) public override updateReward(msg.sender) checkStart { require(amount > 0, 'DAIMISLPTokenSharePool: Cannot stake 0'); super.stake(amount); emit Staked(msg.sender, amount); } function withdraw(uint256 amount) public override updateReward(msg.sender) checkStart { require(amount > 0, 'DAIMISLPTokenSharePool: 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) checkStart { uint256 reward = rewards[msg.sender]; if (reward > 0) { rewards[msg.sender] = 0; mithShare.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); } } 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 = reward.div(DURATION); lastUpdateTime = starttime; periodFinish = starttime.add(DURATION); emit RewardAdded(reward); } } function setFeeDistributorAddress(address _address) public onlyOperator { feeDistributor = _address; } function earnedNew(address account) private view returns (uint256) { return balanceOf(account) .mul(rewardPerToken().sub(userRewardPerTokenPaid[account])) .div(1e18); } //Should this have the checkOperator modifier? function migrateShares(address _address) public onlyOperator { uint256 _bal = mithShare.balanceOf(address(this)); mithShare.safeTransfer(_address, _bal); emit Migration(_address, _bal); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"mithShare_","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":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Migration","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","type":"event"},{"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":[{"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":"feeDistributor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"_address","type":"address"}],"name":"migrateShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mithShare","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":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"_address","type":"address"}],"name":"setFeeDistributorAddress","outputs":[],"stateMutability":"nonpayable","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":"newOperator_","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","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
608060405263018cd3806007556000600a556000600b5534801561002257600080fd5b50604051611d4a380380611d4a8339818101604052606081101561004557600080fd5b5080516020820151604090920151909190600061006061013a565b600380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506100b661013a565b600580546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600680546001600160a01b039485166001600160a01b031991821617909155600080549390941692169190911790915560095561013e565b3390565b611bfd8061014d6000396000f3fe608060405234801561001057600080fd5b50600436106101e45760003560e01c80637b0a47ee1161010f578063cd3daf9d116100a2578063e9fad8ee11610071578063e9fad8ee14610434578063ebe2b12b1461043c578063f22de10414610444578063f2fde38b1461044c576101e4565b8063cd3daf9d146103f6578063ce5fc8d0146103fe578063df136d6514610406578063e57c15291461040e576101e4565b80638da58897116100de5780638da58897146103c15780638da5cb5b146103c9578063a694fc3a146103d1578063c8f33c91146103ee576101e4565b80637b0a47ee1461036557806380faa57d1461036d57806387e1e659146103755780638b8763471461039b576101e4565b806329605e77116101875780634456eda2116101565780634456eda214610313578063570ca7351461032f57806370a0823114610337578063715018a61461035d576101e4565b806329605e77146102ab5780632e1a7d4d146102d15780633c6b16ab146102ee5780633d18b9121461030b576101e4565b80630d68b761116101c35780630d68b7611461026b578063101114cf1461029357806318160ddd1461029b5780631be05289146102a3576101e4565b80628cc262146101e95780630700037d146102215780630d43e8ad14610247575b600080fd5b61020f600480360360208110156101ff57600080fd5b50356001600160a01b0316610472565b60408051918252519081900360200190f35b61020f6004803603602081101561023757600080fd5b50356001600160a01b03166104a4565b61024f6104b6565b604080516001600160a01b039092168252519081900360200190f35b6102916004803603602081101561028157600080fd5b50356001600160a01b03166104c5565b005b61024f61053f565b61020f61054e565b61020f610555565b610291600480360360208110156102c157600080fd5b50356001600160a01b031661055b565b610291600480360360208110156102e757600080fd5b50356105bf565b6102916004803603602081101561030457600080fd5b50356107f5565b610291610add565b61031b610d04565b604080519115158252519081900360200190f35b61024f610d2a565b61020f6004803603602081101561034d57600080fd5b50356001600160a01b0316610d39565b610291610d54565b61020f610df6565b61020f610dfc565b6102916004803603602081101561038b57600080fd5b50356001600160a01b0316610e0f565b61020f600480360360208110156103b157600080fd5b50356001600160a01b0316610f2c565b61020f610f3e565b61024f610f44565b610291600480360360208110156103e757600080fd5b5035610f53565b61020f611183565b61020f611189565b61024f6111dd565b61020f6111ec565b6102916004803603602081101561042457600080fd5b50356001600160a01b03166111f2565b61029161125d565b61020f611278565b61024f61127e565b6102916004803603602081101561046257600080fd5b50356001600160a01b031661128d565b6001600160a01b0381166000908152600f602052604081205461049e9061049884611386565b906113c6565b92915050565b600f6020526000908152604090205481565b6008546001600160a01b031681565b6104cd611427565b6003546001600160a01b0390811691161461051d576040805162461bcd60e51b81526020600482018190526024820152600080516020611ac9833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6001545b90565b60075481565b610563611427565b6003546001600160a01b039081169116146105b3576040805162461bcd60e51b81526020600482018190526024820152600080516020611ac9833981519152604482015290519081900360640190fd5b6105bc8161142b565b50565b336105c8611189565b600d556105d3610dfc565b600c556001600160a01b038116156107325760006105f082611386565b60085460408051625e3ded60e61b81526004810184905290519293506000926001600160a01b039092169163178f7b4091602480820192602092909190829003018186803b15801561064157600080fd5b505afa158015610655573d6000803e3d6000fd5b505050506040513d602081101561066b57600080fd5b50516008546040805163084c1eeb60e21b81526004810184905290519293506001600160a01b03909116916321307bac9160248082019260009290919082900301818387803b1580156106bd57600080fd5b505af11580156106d1573d6000803e3d6000fd5b5050506001600160a01b0384166000908152600f6020526040902054610704915082906106fe90856113c6565b906114c8565b6001600160a01b0384166000908152600f6020908152604080832093909355600d54600e9091529190205550505b6009544210156107735760405162461bcd60e51b8152600401808060200182810382526021815260200180611ae96021913960400191505060405180910390fd5b600082116107b25760405162461bcd60e51b8152600401808060200182810382526029815260200180611b306029913960400191505060405180910390fd5b6107bb8261150a565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6004546001600160a01b0316610809611427565b6001600160a01b03161461084e5760405162461bcd60e51b8152600401808060200182810382526021815260200180611b7d6021913960400191505060405180910390fd5b6000610858611189565b600d55610863610dfc565b600c556001600160a01b038116156109bc57600061088082611386565b60085460408051625e3ded60e61b81526004810184905290519293506000926001600160a01b039092169163178f7b4091602480820192602092909190829003018186803b1580156108d157600080fd5b505afa1580156108e5573d6000803e3d6000fd5b505050506040513d60208110156108fb57600080fd5b50516008546040805163084c1eeb60e21b81526004810184905290519293506001600160a01b03909116916321307bac9160248082019260009290919082900301818387803b15801561094d57600080fd5b505af1158015610961573d6000803e3d6000fd5b5050506001600160a01b0384166000908152600f602052604090205461098e915082906106fe90856113c6565b6001600160a01b0384166000908152600f6020908152604080832093909355600d54600e9091529190205550505b600954421115610a7c57600a5442106109e5576007546109dd90839061155f565b600b55610a2e565b600a546000906109f590426114c8565b90506000610a0e600b54836115a190919063ffffffff16565b600754909150610a2890610a2286846113c6565b9061155f565b600b5550505b42600c819055600754610a4191906113c6565b600a556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1610ad9565b600754610a8a90839061155f565b600b55600954600c819055600754610aa291906113c6565b600a556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15b5050565b33610ae6611189565b600d55610af1610dfc565b600c556001600160a01b03811615610c4a576000610b0e82611386565b60085460408051625e3ded60e61b81526004810184905290519293506000926001600160a01b039092169163178f7b4091602480820192602092909190829003018186803b158015610b5f57600080fd5b505afa158015610b73573d6000803e3d6000fd5b505050506040513d6020811015610b8957600080fd5b50516008546040805163084c1eeb60e21b81526004810184905290519293506001600160a01b03909116916321307bac9160248082019260009290919082900301818387803b158015610bdb57600080fd5b505af1158015610bef573d6000803e3d6000fd5b5050506001600160a01b0384166000908152600f6020526040902054610c1c915082906106fe90856113c6565b6001600160a01b0384166000908152600f6020908152604080832093909355600d54600e9091529190205550505b600954421015610c8b5760405162461bcd60e51b8152600401808060200182810382526021815260200180611ae96021913960400191505060405180910390fd5b336000908152600f60205260409020548015610ad957336000818152600f6020526040812055600654610cca916001600160a01b0390911690836115fa565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25050565b6005546000906001600160a01b0316610d1b611427565b6001600160a01b031614905090565b6005546001600160a01b031690565b6001600160a01b031660009081526002602052604090205490565b610d5c611427565b6003546001600160a01b03908116911614610dac576040805162461bcd60e51b81526020600482018190526024820152600080516020611ac9833981519152604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b600b5481565b6000610e0a42600a54611651565b905090565b6005546001600160a01b03163314610e585760405162461bcd60e51b8152600401808060200182810382526024815260200180611b596024913960400191505060405180910390fd5b600654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610ea357600080fd5b505afa158015610eb7573d6000803e3d6000fd5b505050506040513d6020811015610ecd57600080fd5b5051600654909150610ee9906001600160a01b031683836115fa565b6040805182815290516001600160a01b038416917f5c2da67751b5c2b8ffb1579ea16e70cf01e4b94068f0d42369de650adc07f613919081900360200190a25050565b600e6020526000908152604090205481565b60095481565b6003546001600160a01b031690565b33610f5c611189565b600d55610f67610dfc565b600c556001600160a01b038116156110c0576000610f8482611386565b60085460408051625e3ded60e61b81526004810184905290519293506000926001600160a01b039092169163178f7b4091602480820192602092909190829003018186803b158015610fd557600080fd5b505afa158015610fe9573d6000803e3d6000fd5b505050506040513d6020811015610fff57600080fd5b50516008546040805163084c1eeb60e21b81526004810184905290519293506001600160a01b03909116916321307bac9160248082019260009290919082900301818387803b15801561105157600080fd5b505af1158015611065573d6000803e3d6000fd5b5050506001600160a01b0384166000908152600f6020526040902054611092915082906106fe90856113c6565b6001600160a01b0384166000908152600f6020908152604080832093909355600d54600e9091529190205550505b6009544210156111015760405162461bcd60e51b8152600401808060200182810382526021815260200180611ae96021913960400191505060405180910390fd5b600082116111405760405162461bcd60e51b8152600401808060200182810382526026815260200180611b0a6026913960400191505060405180910390fd5b61114982611667565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b600c5481565b600061119361054e565b6111a05750600d54610552565b610e0a6111d46111ae61054e565b610a22670de0b6b3a76400006111ce600b546111ce600c546106fe610dfc565b906115a1565b600d54906113c6565b6000546001600160a01b031681565b600d5481565b6005546001600160a01b0316331461123b5760405162461bcd60e51b8152600401808060200182810382526024815260200180611b596024913960400191505060405180910390fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b61126e61126933610d39565b6105bf565b611276610add565b565b600a5481565b6006546001600160a01b031681565b611295611427565b6003546001600160a01b039081169116146112e5576040805162461bcd60e51b81526020600482018190526024820152600080516020611ac9833981519152604482015290519081900360640190fd5b6001600160a01b03811661132a5760405162461bcd60e51b8152600401808060200182810382526026815260200180611a556026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152600e602052604081205461049e90670de0b6b3a764000090610a22906113bd906106fe611189565b6111ce86610d39565b600082820183811015611420576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0381166114705760405162461bcd60e51b815260040180806020018281038252602d815260200180611a7b602d913960400191505060405180910390fd5b6040516001600160a01b038216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600061142083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506116bd565b60015461151790826114c8565b6001553360009081526002602052604090205461153490826114c8565b3360008181526002602052604081209290925590546105bc916001600160a01b0390911690836115fa565b600061142083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611754565b6000826115b05750600061049e565b828202828482816115bd57fe5b04146114205760405162461bcd60e51b8152600401808060200182810382526021815260200180611aa86021913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261164c9084906117b9565b505050565b60008183106116605781611420565b5090919050565b60015461167490826113c6565b6001553360009081526002602052604090205461169190826113c6565b3360008181526002602052604081209290925590546105bc916001600160a01b0390911690308461186a565b6000818484111561174c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156117115781810151838201526020016116f9565b50505050905090810190601f16801561173e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836117a35760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156117115781810151838201526020016116f9565b5060008385816117af57fe5b0495945050505050565b606061180e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166118ca9092919063ffffffff16565b80519091501561164c5780806020019051602081101561182d57600080fd5b505161164c5760405162461bcd60e51b815260040180806020018281038252602a815260200180611b9e602a913960400191505060405180910390fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526118c49085906117b9565b50505050565b60606118d984846000856118e1565b949350505050565b60606118ec85611a4e565b61193d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061197c5780518252601f19909201916020918201910161195d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146119de576040519150601f19603f3d011682016040523d82523d6000602084013e6119e3565b606091505b509150915081156119f75791506118d99050565b805115611a075780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156117115781810151838201526020016116f9565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573736f70657261746f723a207a65726f206164647265737320676976656e20666f72206e6577206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724441494d49534c50546f6b656e5368617265506f6f6c3a206e6f742073746172744441494d49534c50546f6b656e5368617265506f6f6c3a2043616e6e6f74207374616b6520304441494d49534c50546f6b656e5368617265506f6f6c3a2043616e6e6f7420776974686472617720306f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7243616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220e366c1e6a27d2f2fcb4c040ba1a6fd8f3acd69ab836aefc45f4f9531c3e9cf7a64736f6c634300060c0033000000000000000000000000024b6e7dc26f4d5579bdd936f8d7bc31f2339999000000000000000000000000097b21e4784c2b224fd8b880939f75b2e9f4dba50000000000000000000000000000000000000000000000000000000060553b00
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e45760003560e01c80637b0a47ee1161010f578063cd3daf9d116100a2578063e9fad8ee11610071578063e9fad8ee14610434578063ebe2b12b1461043c578063f22de10414610444578063f2fde38b1461044c576101e4565b8063cd3daf9d146103f6578063ce5fc8d0146103fe578063df136d6514610406578063e57c15291461040e576101e4565b80638da58897116100de5780638da58897146103c15780638da5cb5b146103c9578063a694fc3a146103d1578063c8f33c91146103ee576101e4565b80637b0a47ee1461036557806380faa57d1461036d57806387e1e659146103755780638b8763471461039b576101e4565b806329605e77116101875780634456eda2116101565780634456eda214610313578063570ca7351461032f57806370a0823114610337578063715018a61461035d576101e4565b806329605e77146102ab5780632e1a7d4d146102d15780633c6b16ab146102ee5780633d18b9121461030b576101e4565b80630d68b761116101c35780630d68b7611461026b578063101114cf1461029357806318160ddd1461029b5780631be05289146102a3576101e4565b80628cc262146101e95780630700037d146102215780630d43e8ad14610247575b600080fd5b61020f600480360360208110156101ff57600080fd5b50356001600160a01b0316610472565b60408051918252519081900360200190f35b61020f6004803603602081101561023757600080fd5b50356001600160a01b03166104a4565b61024f6104b6565b604080516001600160a01b039092168252519081900360200190f35b6102916004803603602081101561028157600080fd5b50356001600160a01b03166104c5565b005b61024f61053f565b61020f61054e565b61020f610555565b610291600480360360208110156102c157600080fd5b50356001600160a01b031661055b565b610291600480360360208110156102e757600080fd5b50356105bf565b6102916004803603602081101561030457600080fd5b50356107f5565b610291610add565b61031b610d04565b604080519115158252519081900360200190f35b61024f610d2a565b61020f6004803603602081101561034d57600080fd5b50356001600160a01b0316610d39565b610291610d54565b61020f610df6565b61020f610dfc565b6102916004803603602081101561038b57600080fd5b50356001600160a01b0316610e0f565b61020f600480360360208110156103b157600080fd5b50356001600160a01b0316610f2c565b61020f610f3e565b61024f610f44565b610291600480360360208110156103e757600080fd5b5035610f53565b61020f611183565b61020f611189565b61024f6111dd565b61020f6111ec565b6102916004803603602081101561042457600080fd5b50356001600160a01b03166111f2565b61029161125d565b61020f611278565b61024f61127e565b6102916004803603602081101561046257600080fd5b50356001600160a01b031661128d565b6001600160a01b0381166000908152600f602052604081205461049e9061049884611386565b906113c6565b92915050565b600f6020526000908152604090205481565b6008546001600160a01b031681565b6104cd611427565b6003546001600160a01b0390811691161461051d576040805162461bcd60e51b81526020600482018190526024820152600080516020611ac9833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6001545b90565b60075481565b610563611427565b6003546001600160a01b039081169116146105b3576040805162461bcd60e51b81526020600482018190526024820152600080516020611ac9833981519152604482015290519081900360640190fd5b6105bc8161142b565b50565b336105c8611189565b600d556105d3610dfc565b600c556001600160a01b038116156107325760006105f082611386565b60085460408051625e3ded60e61b81526004810184905290519293506000926001600160a01b039092169163178f7b4091602480820192602092909190829003018186803b15801561064157600080fd5b505afa158015610655573d6000803e3d6000fd5b505050506040513d602081101561066b57600080fd5b50516008546040805163084c1eeb60e21b81526004810184905290519293506001600160a01b03909116916321307bac9160248082019260009290919082900301818387803b1580156106bd57600080fd5b505af11580156106d1573d6000803e3d6000fd5b5050506001600160a01b0384166000908152600f6020526040902054610704915082906106fe90856113c6565b906114c8565b6001600160a01b0384166000908152600f6020908152604080832093909355600d54600e9091529190205550505b6009544210156107735760405162461bcd60e51b8152600401808060200182810382526021815260200180611ae96021913960400191505060405180910390fd5b600082116107b25760405162461bcd60e51b8152600401808060200182810382526029815260200180611b306029913960400191505060405180910390fd5b6107bb8261150a565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6004546001600160a01b0316610809611427565b6001600160a01b03161461084e5760405162461bcd60e51b8152600401808060200182810382526021815260200180611b7d6021913960400191505060405180910390fd5b6000610858611189565b600d55610863610dfc565b600c556001600160a01b038116156109bc57600061088082611386565b60085460408051625e3ded60e61b81526004810184905290519293506000926001600160a01b039092169163178f7b4091602480820192602092909190829003018186803b1580156108d157600080fd5b505afa1580156108e5573d6000803e3d6000fd5b505050506040513d60208110156108fb57600080fd5b50516008546040805163084c1eeb60e21b81526004810184905290519293506001600160a01b03909116916321307bac9160248082019260009290919082900301818387803b15801561094d57600080fd5b505af1158015610961573d6000803e3d6000fd5b5050506001600160a01b0384166000908152600f602052604090205461098e915082906106fe90856113c6565b6001600160a01b0384166000908152600f6020908152604080832093909355600d54600e9091529190205550505b600954421115610a7c57600a5442106109e5576007546109dd90839061155f565b600b55610a2e565b600a546000906109f590426114c8565b90506000610a0e600b54836115a190919063ffffffff16565b600754909150610a2890610a2286846113c6565b9061155f565b600b5550505b42600c819055600754610a4191906113c6565b600a556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1610ad9565b600754610a8a90839061155f565b600b55600954600c819055600754610aa291906113c6565b600a556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15b5050565b33610ae6611189565b600d55610af1610dfc565b600c556001600160a01b03811615610c4a576000610b0e82611386565b60085460408051625e3ded60e61b81526004810184905290519293506000926001600160a01b039092169163178f7b4091602480820192602092909190829003018186803b158015610b5f57600080fd5b505afa158015610b73573d6000803e3d6000fd5b505050506040513d6020811015610b8957600080fd5b50516008546040805163084c1eeb60e21b81526004810184905290519293506001600160a01b03909116916321307bac9160248082019260009290919082900301818387803b158015610bdb57600080fd5b505af1158015610bef573d6000803e3d6000fd5b5050506001600160a01b0384166000908152600f6020526040902054610c1c915082906106fe90856113c6565b6001600160a01b0384166000908152600f6020908152604080832093909355600d54600e9091529190205550505b600954421015610c8b5760405162461bcd60e51b8152600401808060200182810382526021815260200180611ae96021913960400191505060405180910390fd5b336000908152600f60205260409020548015610ad957336000818152600f6020526040812055600654610cca916001600160a01b0390911690836115fa565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25050565b6005546000906001600160a01b0316610d1b611427565b6001600160a01b031614905090565b6005546001600160a01b031690565b6001600160a01b031660009081526002602052604090205490565b610d5c611427565b6003546001600160a01b03908116911614610dac576040805162461bcd60e51b81526020600482018190526024820152600080516020611ac9833981519152604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b600b5481565b6000610e0a42600a54611651565b905090565b6005546001600160a01b03163314610e585760405162461bcd60e51b8152600401808060200182810382526024815260200180611b596024913960400191505060405180910390fd5b600654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610ea357600080fd5b505afa158015610eb7573d6000803e3d6000fd5b505050506040513d6020811015610ecd57600080fd5b5051600654909150610ee9906001600160a01b031683836115fa565b6040805182815290516001600160a01b038416917f5c2da67751b5c2b8ffb1579ea16e70cf01e4b94068f0d42369de650adc07f613919081900360200190a25050565b600e6020526000908152604090205481565b60095481565b6003546001600160a01b031690565b33610f5c611189565b600d55610f67610dfc565b600c556001600160a01b038116156110c0576000610f8482611386565b60085460408051625e3ded60e61b81526004810184905290519293506000926001600160a01b039092169163178f7b4091602480820192602092909190829003018186803b158015610fd557600080fd5b505afa158015610fe9573d6000803e3d6000fd5b505050506040513d6020811015610fff57600080fd5b50516008546040805163084c1eeb60e21b81526004810184905290519293506001600160a01b03909116916321307bac9160248082019260009290919082900301818387803b15801561105157600080fd5b505af1158015611065573d6000803e3d6000fd5b5050506001600160a01b0384166000908152600f6020526040902054611092915082906106fe90856113c6565b6001600160a01b0384166000908152600f6020908152604080832093909355600d54600e9091529190205550505b6009544210156111015760405162461bcd60e51b8152600401808060200182810382526021815260200180611ae96021913960400191505060405180910390fd5b600082116111405760405162461bcd60e51b8152600401808060200182810382526026815260200180611b0a6026913960400191505060405180910390fd5b61114982611667565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b600c5481565b600061119361054e565b6111a05750600d54610552565b610e0a6111d46111ae61054e565b610a22670de0b6b3a76400006111ce600b546111ce600c546106fe610dfc565b906115a1565b600d54906113c6565b6000546001600160a01b031681565b600d5481565b6005546001600160a01b0316331461123b5760405162461bcd60e51b8152600401808060200182810382526024815260200180611b596024913960400191505060405180910390fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b61126e61126933610d39565b6105bf565b611276610add565b565b600a5481565b6006546001600160a01b031681565b611295611427565b6003546001600160a01b039081169116146112e5576040805162461bcd60e51b81526020600482018190526024820152600080516020611ac9833981519152604482015290519081900360640190fd5b6001600160a01b03811661132a5760405162461bcd60e51b8152600401808060200182810382526026815260200180611a556026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152600e602052604081205461049e90670de0b6b3a764000090610a22906113bd906106fe611189565b6111ce86610d39565b600082820183811015611420576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0381166114705760405162461bcd60e51b815260040180806020018281038252602d815260200180611a7b602d913960400191505060405180910390fd5b6040516001600160a01b038216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600061142083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506116bd565b60015461151790826114c8565b6001553360009081526002602052604090205461153490826114c8565b3360008181526002602052604081209290925590546105bc916001600160a01b0390911690836115fa565b600061142083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611754565b6000826115b05750600061049e565b828202828482816115bd57fe5b04146114205760405162461bcd60e51b8152600401808060200182810382526021815260200180611aa86021913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261164c9084906117b9565b505050565b60008183106116605781611420565b5090919050565b60015461167490826113c6565b6001553360009081526002602052604090205461169190826113c6565b3360008181526002602052604081209290925590546105bc916001600160a01b0390911690308461186a565b6000818484111561174c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156117115781810151838201526020016116f9565b50505050905090810190601f16801561173e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836117a35760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156117115781810151838201526020016116f9565b5060008385816117af57fe5b0495945050505050565b606061180e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166118ca9092919063ffffffff16565b80519091501561164c5780806020019051602081101561182d57600080fd5b505161164c5760405162461bcd60e51b815260040180806020018281038252602a815260200180611b9e602a913960400191505060405180910390fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526118c49085906117b9565b50505050565b60606118d984846000856118e1565b949350505050565b60606118ec85611a4e565b61193d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061197c5780518252601f19909201916020918201910161195d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146119de576040519150601f19603f3d011682016040523d82523d6000602084013e6119e3565b606091505b509150915081156119f75791506118d99050565b805115611a075780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156117115781810151838201526020016116f9565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573736f70657261746f723a207a65726f206164647265737320676976656e20666f72206e6577206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724441494d49534c50546f6b656e5368617265506f6f6c3a206e6f742073746172744441494d49534c50546f6b656e5368617265506f6f6c3a2043616e6e6f74207374616b6520304441494d49534c50546f6b656e5368617265506f6f6c3a2043616e6e6f7420776974686472617720306f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7243616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220e366c1e6a27d2f2fcb4c040ba1a6fd8f3acd69ab836aefc45f4f9531c3e9cf7a64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000024b6e7dc26f4d5579bdd936f8d7bc31f2339999000000000000000000000000097b21e4784c2b224fd8b880939f75b2e9f4dba50000000000000000000000000000000000000000000000000000000060553b00
-----Decoded View---------------
Arg [0] : mithShare_ (address): 0x024B6e7DC26F4d5579bDD936F8d7BC31f2339999
Arg [1] : lptoken_ (address): 0x097b21e4784c2B224FD8B880939f75B2E9f4dBa5
Arg [2] : starttime_ (uint256): 1616198400
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000024b6e7dc26f4d5579bdd936f8d7bc31f2339999
Arg [1] : 000000000000000000000000097b21e4784c2b224fd8b880939f75b2e9f4dba5
Arg [2] : 0000000000000000000000000000000000000000000000000000000060553b00
Deployed Bytecode Sourcemap
27446:5164:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29839:142;;;;;;;;;;;;;;;;-1:-1:-1;29839:142:0;-1:-1:-1;;;;;29839:142:0;;:::i;:::-;;;;;;;;;;;;;;;;27951:42;;;;;;;;;;;;;;;;-1:-1:-1;27951:42:0;-1:-1:-1;;;;;27951:42:0;;:::i;27635:29::-;;;:::i;:::-;;;;-1:-1:-1;;;;;27635:29:0;;;;;;;;;;;;;;22532:178;;;;;;;;;;;;;;;;-1:-1:-1;22532:178:0;-1:-1:-1;;;;;22532:178:0;;:::i;:::-;;22231:33;;;:::i;23622:91::-;;;:::i;27592:34::-;;;:::i;25092:115::-;;;;;;;;;;;;;;;;-1:-1:-1;25092:115:0;-1:-1:-1;;;;;25092:115:0;;:::i;30356:288::-;;;;;;;;;;;;;;;;-1:-1:-1;30356:288:0;;:::i;31067:900::-;;;;;;;;;;;;;;;;-1:-1:-1;31067:900:0;;:::i;30757:302::-;;;:::i;24984:100::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;24719:85;;;:::i;23721:110::-;;;;;;;;;;;;;;;;-1:-1:-1;23721:110:0;-1:-1:-1;;;;;23721:110:0;;:::i;21517:148::-;;;:::i;27773:29::-;;;:::i;29272:131::-;;;:::i;32388:219::-;;;;;;;;;;;;;;;;-1:-1:-1;32388:219:0;-1:-1:-1;;;;;32388:219:0;;:::i;27887:57::-;;;;;;;;;;;;;;;;-1:-1:-1;27887:57:0;-1:-1:-1;;;;;27887:57:0;;:::i;27704:24::-;;;:::i;20875:79::-;;;:::i;30072:276::-;;;;;;;;;;;;;;;;-1:-1:-1;30072:276:0;;:::i;27809:29::-;;;:::i;29411:420::-;;;:::i;23507:17::-;;;:::i;27845:35::-;;;:::i;31975:116::-;;;;;;;;;;;;;;;;-1:-1:-1;31975:116:0;-1:-1:-1;;;;;31975:116:0;;:::i;30652:97::-;;;:::i;27735:31::-;;;:::i;27562:23::-;;;:::i;21820:244::-;;;;;;;;;;;;;;;;-1:-1:-1;21820:244:0;-1:-1:-1;;;;;21820:244:0;;:::i;29839:142::-;-1:-1:-1;;;;;29956:16:0;;29893:7;29956:16;;;:7;:16;;;;;;29933:40;;:18;29964:7;29933:9;:18::i;:::-;:22;;:40::i;:::-;29913:60;29839:142;-1:-1:-1;;29839:142:0:o;27951:42::-;;;;;;;;;;;;;:::o;27635:29::-;;;-1:-1:-1;;;;;27635:29:0;;:::o;22532:178::-;21097:12;:10;:12::i;:::-;21087:6;;-1:-1:-1;;;;;21087:6:0;;;:22;;;21079:67;;;;;-1:-1:-1;;;21079:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21079:67:0;;;;;;;;;;;;;;;22662:18:::1;:40:::0;;-1:-1:-1;;;;;;22662:40:0::1;-1:-1:-1::0;;;;;22662:40:0;;;::::1;::::0;;;::::1;::::0;;22532:178::o;22231:33::-;;;-1:-1:-1;;;;;22231:33:0;;:::o;23622:91::-;23693:12;;23622:91;;:::o;27592:34::-;;;;:::o;25092:115::-;21097:12;:10;:12::i;:::-;21087:6;;-1:-1:-1;;;;;21087:6:0;;;:22;;;21079:67;;;;;-1:-1:-1;;;21079:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21079:67:0;;;;;;;;;;;;;;;25168:31:::1;25186:12;25168:17;:31::i;:::-;25092:115:::0;:::o;30356:288::-;30446:10;28763:16;:14;:16::i;:::-;28740:20;:39;28807:26;:24;:26::i;:::-;28790:14;:43;-1:-1:-1;;;;;28848:21:0;;;28844:401;;28886:17;28906:18;28916:7;28906:9;:18::i;:::-;28978:14;;28953:70;;;-1:-1:-1;;;28953:70:0;;;;;;;;;;28886:38;;-1:-1:-1;28939:11:0;;-1:-1:-1;;;;;28978:14:0;;;;28953:59;;:70;;;;;;;;;;;;;;;28978:14;28953:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28953:70:0;29063:14;;29038:52;;;-1:-1:-1;;;29038:52:0;;;;;;;;;;28953:70;;-1:-1:-1;;;;;;29063:14:0;;;;29038:47;;:52;;;;;29063:14;;29038:52;;;;;;;;29063:14;;29038:52;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;29124:16:0;;;;;;:7;:16;;;;;;:40;;-1:-1:-1;29160:3:0;;29124:31;;29145:9;29124:20;:31::i;:::-;:35;;:40::i;:::-;-1:-1:-1;;;;;29105:16:0;;;;;;:7;:16;;;;;;;;:59;;;;29213:20;;29179:22;:31;;;;;;:54;-1:-1:-1;;28844:401:0;28592:9:::1;;28573:15;:28;;28551:111;;;;-1:-1:-1::0;;;28551:111:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30511:1:::2;30502:6;:10;30494:64;;;;-1:-1:-1::0;;;30494:64:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30569:22;30584:6;30569:14;:22::i;:::-;30607:29;::::0;;;;;;;30617:10:::2;::::0;30607:29:::2;::::0;;;;;::::2;::::0;;::::2;30356:288:::0;;:::o;31067:900::-;22425:18;;-1:-1:-1;;;;;22425:18:0;22409:12;:10;:12::i;:::-;-1:-1:-1;;;;;22409:34:0;;22387:117;;;;-1:-1:-1;;;22387:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31209:1:::1;28763:16;:14;:16::i;:::-;28740:20;:39:::0;28807:26:::1;:24;:26::i;:::-;28790:14;:43:::0;-1:-1:-1;;;;;28848:21:0;::::1;::::0;28844:401:::1;;28886:17;28906:18;28916:7;28906:9;:18::i;:::-;28978:14;::::0;28953:70:::1;::::0;;-1:-1:-1;;;28953:70:0;;::::1;::::0;::::1;::::0;;;;;28886:38;;-1:-1:-1;28939:11:0::1;::::0;-1:-1:-1;;;;;28978:14:0;;::::1;::::0;28953:59:::1;::::0;:70;;;;;::::1;::::0;;;;;;;;;28978:14;28953:70;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;28953:70:0;29063:14:::1;::::0;29038:52:::1;::::0;;-1:-1:-1;;;29038:52:0;;::::1;::::0;::::1;::::0;;;;;28953:70;;-1:-1:-1;;;;;;29063:14:0;;::::1;::::0;29038:47:::1;::::0;:52;;;;;29063:14:::1;::::0;29038:52;;;;;;;;29063:14;;29038:52;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;;;;;;29124:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;:40:::1;::::0;-1:-1:-1;29160:3:0;;29124:31:::1;::::0;29145:9;29124:20:::1;:31::i;:40::-;-1:-1:-1::0;;;;;29105:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:59;;;;29213:20:::1;::::0;29179:22:::1;:31:::0;;;;;;:54;-1:-1:-1;;28844:401:0::1;31251:9:::2;;31233:15;:27;31229:731;;;31300:12;;31281:15;:31;31277:328;;31357:8;::::0;31346:20:::2;::::0;:6;;:10:::2;:20::i;:::-;31333:10;:33:::0;31277:328:::2;;;31427:12;::::0;31407:17:::2;::::0;31427:33:::2;::::0;31444:15:::2;31427:16;:33::i;:::-;31407:53;;31479:16;31498:25;31512:10;;31498:9;:13;;:25;;;;:::i;:::-;31580:8;::::0;31479:44;;-1:-1:-1;31555:34:0::2;::::0;:20:::2;:6:::0;31479:44;31555:10:::2;:20::i;:::-;:24:::0;::::2;:34::i;:::-;31542:10;:47:::0;-1:-1:-1;;31277:328:0::2;31636:15;31619:14;:32:::0;;;31701:8:::2;::::0;31681:29:::2;::::0;31636:15;31681:19:::2;:29::i;:::-;31666:12;:44:::0;31730:19:::2;::::0;;;;;;;::::2;::::0;;;;::::2;::::0;;::::2;31229:731;;;31806:8;::::0;31795:20:::2;::::0;:6;;:10:::2;:20::i;:::-;31782:10;:33:::0;31847:9:::2;::::0;31830:14:::2;:26:::0;;;31900:8:::2;::::0;31886:23:::2;::::0;31847:9;31886:13:::2;:23::i;:::-;31871:12;:38:::0;31929:19:::2;::::0;;;;;;;::::2;::::0;;;;::::2;::::0;;::::2;31229:731;22515:1:::1;31067:900:::0;:::o;30757:302::-;30798:10;28763:16;:14;:16::i;:::-;28740:20;:39;28807:26;:24;:26::i;:::-;28790:14;:43;-1:-1:-1;;;;;28848:21:0;;;28844:401;;28886:17;28906:18;28916:7;28906:9;:18::i;:::-;28978:14;;28953:70;;;-1:-1:-1;;;28953:70:0;;;;;;;;;;28886:38;;-1:-1:-1;28939:11:0;;-1:-1:-1;;;;;28978:14:0;;;;28953:59;;:70;;;;;;;;;;;;;;;28978:14;28953:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28953:70:0;29063:14;;29038:52;;;-1:-1:-1;;;29038:52:0;;;;;;;;;;28953:70;;-1:-1:-1;;;;;;29063:14:0;;;;29038:47;;:52;;;;;29063:14;;29038:52;;;;;;;;29063:14;;29038:52;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;29124:16:0;;;;;;:7;:16;;;;;;:40;;-1:-1:-1;29160:3:0;;29124:31;;29145:9;29124:20;:31::i;:40::-;-1:-1:-1;;;;;29105:16:0;;;;;;:7;:16;;;;;;;;:59;;;;29213:20;;29179:22;:31;;;;;;:54;-1:-1:-1;;28844:401:0;28592:9:::1;;28573:15;:28;;28551:111;;;;-1:-1:-1::0;;;28551:111:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30857:10:::2;30832:14;30849:19:::0;;;:7:::2;:19;::::0;;;;;30883:10;;30879:173:::2;;30918:10;30932:1;30910:19:::0;;;:7:::2;:19;::::0;;;;:23;30948:9:::2;::::0;:42:::2;::::0;-1:-1:-1;;;;;30948:9:0;;::::2;::::0;30983:6;30948:22:::2;:42::i;:::-;31010:30;::::0;;;;;;;31021:10:::2;::::0;31010:30:::2;::::0;;;;;::::2;::::0;;::::2;28673:1;30757:302:::0;:::o;24984:100::-;25067:9;;25027:4;;-1:-1:-1;;;;;25067:9:0;25051:12;:10;:12::i;:::-;-1:-1:-1;;;;;25051:25:0;;25044:32;;24984:100;:::o;24719:85::-;24787:9;;-1:-1:-1;;;;;24787:9:0;24719:85;:::o;23721:110::-;-1:-1:-1;;;;;23805:18:0;23778:7;23805:18;;;:9;:18;;;;;;;23721:110::o;21517:148::-;21097:12;:10;:12::i;:::-;21087:6;;-1:-1:-1;;;;;21087:6:0;;;:22;;;21079:67;;;;;-1:-1:-1;;;21079:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21079:67:0;;;;;;;;;;;;;;;21608:6:::1;::::0;21587:40:::1;::::0;21624:1:::1;::::0;-1:-1:-1;;;;;21608:6:0::1;::::0;21587:40:::1;::::0;21624:1;;21587:40:::1;21638:6;:19:::0;;-1:-1:-1;;;;;;21638:19:0::1;::::0;;21517:148::o;27773:29::-;;;;:::o;29272:131::-;29329:7;29356:39;29365:15;29382:12;;29356:8;:39::i;:::-;29349:46;;29272:131;:::o;32388:219::-;24869:9;;-1:-1:-1;;;;;24869:9:0;24882:10;24869:23;24847:109;;;;-1:-1:-1;;;24847:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32475:9:::1;::::0;:34:::1;::::0;;-1:-1:-1;;;32475:34:0;;32503:4:::1;32475:34;::::0;::::1;::::0;;;32460:12:::1;::::0;-1:-1:-1;;;;;32475:9:0::1;::::0;:19:::1;::::0;:34;;;;;::::1;::::0;;;;;;;;:9;:34;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;32475:34:0;32520:9:::1;::::0;32475:34;;-1:-1:-1;32520:38:0::1;::::0;-1:-1:-1;;;;;32520:9:0::1;32543:8:::0;32475:34;32520:22:::1;:38::i;:::-;32574:25;::::0;;;;;;;-1:-1:-1;;;;;32574:25:0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;24967:1;32388:219:::0;:::o;27887:57::-;;;;;;;;;;;;;:::o;27704:24::-;;;;:::o;20875:79::-;20940:6;;-1:-1:-1;;;;;20940:6:0;20875:79;:::o;30072:276::-;30159:10;28763:16;:14;:16::i;:::-;28740:20;:39;28807:26;:24;:26::i;:::-;28790:14;:43;-1:-1:-1;;;;;28848:21:0;;;28844:401;;28886:17;28906:18;28916:7;28906:9;:18::i;:::-;28978:14;;28953:70;;;-1:-1:-1;;;28953:70:0;;;;;;;;;;28886:38;;-1:-1:-1;28939:11:0;;-1:-1:-1;;;;;28978:14:0;;;;28953:59;;:70;;;;;;;;;;;;;;;28978:14;28953:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28953:70:0;29063:14;;29038:52;;;-1:-1:-1;;;29038:52:0;;;;;;;;;;28953:70;;-1:-1:-1;;;;;;29063:14:0;;;;29038:47;;:52;;;;;29063:14;;29038:52;;;;;;;;29063:14;;29038:52;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;29124:16:0;;;;;;:7;:16;;;;;;:40;;-1:-1:-1;29160:3:0;;29124:31;;29145:9;29124:20;:31::i;:40::-;-1:-1:-1;;;;;29105:16:0;;;;;;:7;:16;;;;;;;;:59;;;;29213:20;;29179:22;:31;;;;;;:54;-1:-1:-1;;28844:401:0;28592:9:::1;;28573:15;:28;;28551:111;;;;-1:-1:-1::0;;;28551:111:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30224:1:::2;30215:6;:10;30207:61;;;;-1:-1:-1::0;;;30207:61:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30279:19;30291:6;30279:11;:19::i;:::-;30314:26;::::0;;;;;;;30321:10:::2;::::0;30314:26:::2;::::0;;;;;::::2;::::0;;::::2;30072:276:::0;;:::o;27809:29::-;;;;:::o;29411:420::-;29458:7;29482:13;:11;:13::i;:::-;29478:78;;-1:-1:-1;29524:20:0;;29517:27;;29478:78;29586:237;29629:179;29794:13;:11;:13::i;:::-;29629:138;29762:4;29629:106;29724:10;;29629:68;29682:14;;29629:26;:24;:26::i;:68::-;:94;;:106::i;:179::-;29586:20;;;:24;:237::i;23507:17::-;;;-1:-1:-1;;;;;23507:17:0;;:::o;27845:35::-;;;;:::o;31975:116::-;24869:9;;-1:-1:-1;;;;;24869:9:0;24882:10;24869:23;24847:109;;;;-1:-1:-1;;;24847:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32058:14:::1;:25:::0;;-1:-1:-1;;;;;;32058:25:0::1;-1:-1:-1::0;;;;;32058:25:0;;;::::1;::::0;;;::::1;::::0;;31975:116::o;30652:97::-;30688:31;30697:21;30707:10;30697:9;:21::i;:::-;30688:8;:31::i;:::-;30730:11;:9;:11::i;:::-;30652:97::o;27735:31::-;;;;:::o;27562:23::-;;;-1:-1:-1;;;;;27562:23:0;;:::o;21820:244::-;21097:12;:10;:12::i;:::-;21087:6;;-1:-1:-1;;;;;21087:6:0;;;:22;;;21079:67;;;;;-1:-1:-1;;;21079:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;21079:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;21909:22:0;::::1;21901:73;;;;-1:-1:-1::0;;;21901:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22011:6;::::0;21990:38:::1;::::0;-1:-1:-1;;;;;21990:38:0;;::::1;::::0;22011:6:::1;::::0;21990:38:::1;::::0;22011:6:::1;::::0;21990:38:::1;22039:6;:17:::0;;-1:-1:-1;;;;;;22039:17:0::1;-1:-1:-1::0;;;;;22039:17:0;;;::::1;::::0;;;::::1;::::0;;21820:244::o;32099:229::-;-1:-1:-1;;;;;32259:31:0;;32157:7;32259:31;;;:22;:31;;;;;;32197:123;;32315:4;;32197:95;;32238:53;;:16;:14;:16::i;:53::-;32197:18;32207:7;32197:9;:18::i;1774:181::-;1832:7;1864:5;;;1888:6;;;;1880:46;;;;;-1:-1:-1;;;1880:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1946:1;1774:181;-1:-1:-1;;;1774:181:0:o;19431:106::-;19519:10;19431:106;:::o;25215:294::-;-1:-1:-1;;;;;25306:26:0;;25284:121;;;;-1:-1:-1;;;25284:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25421:45;;-1:-1:-1;;;;;25421:45:0;;;25449:1;;25421:45;;25449:1;;25421:45;25477:9;:24;;-1:-1:-1;;;;;;25477:24:0;-1:-1:-1;;;;;25477:24:0;;;;;;;;;;25215:294::o;2238:136::-;2296:7;2323:43;2327:1;2330;2323:43;;;;;;;;;;;;;;;;;:3;:43::i;24085:222::-;24160:12;;:24;;24177:6;24160:16;:24::i;:::-;24145:12;:39;24229:10;24219:21;;;;:9;:21;;;;;;:33;;24245:6;24219:25;:33::i;:::-;24205:10;24195:21;;;;:9;:21;;;;;:57;;;;24263:3;;:36;;-1:-1:-1;;;;;24263:3:0;;;;24292:6;24263:16;:36::i;4075:132::-;4133:7;4160:39;4164:1;4167;4160:39;;;;;;;;;;;;;;;;;:3;:39::i;3128:471::-;3186:7;3431:6;3427:47;;-1:-1:-1;3461:1:0;3454:8;;3427:47;3498:5;;;3502:1;3498;:5;:1;3522:5;;;;;:10;3514:56;;;;-1:-1:-1;;;3514:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15734:177;15844:58;;;-1:-1:-1;;;;;15844:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15844:58:0;-1:-1:-1;;;15844:58:0;;;15817:86;;15837:5;;15817:19;:86::i;:::-;15734:177;;;:::o;426:106::-;484:7;515:1;511;:5;:13;;523:1;511:13;;;-1:-1:-1;519:1:0;;426:106;-1:-1:-1;426:106:0:o;23839:238::-;23911:12;;:24;;23928:6;23911:16;:24::i;:::-;23896:12;:39;23980:10;23970:21;;;;:9;:21;;;;;;:33;;23996:6;23970:25;:33::i;:::-;23956:10;23946:21;;;;:9;:21;;;;;:57;;;;24014:3;;:55;;-1:-1:-1;;;;;24014:3:0;;;;24055:4;24062:6;24014:20;:55::i;2677:192::-;2763:7;2799:12;2791:6;;;;2783:29;;;;-1:-1:-1;;;2783:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2835:5:0;;;2677:192::o;4703:278::-;4789:7;4824:12;4817:5;4809:28;;;;-1:-1:-1;;;4809:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4848:9;4864:1;4860;:5;;;;;;;4703:278;-1:-1:-1;;;;;4703:278:0:o;18039:761::-;18463:23;18489:69;18517:4;18489:69;;;;;;;;;;;;;;;;;18497:5;-1:-1:-1;;;;;18489:27:0;;;:69;;;;;:::i;:::-;18573:17;;18463:95;;-1:-1:-1;18573:21:0;18569:224;;18715:10;18704:30;;;;;;;;;;;;;;;-1:-1:-1;18704:30:0;18696:85;;;;-1:-1:-1;;;18696:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15919:205;16047:68;;;-1:-1:-1;;;;;16047:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16047:68:0;-1:-1:-1;;;16047:68:0;;;16020:96;;16040:5;;16020:19;:96::i;:::-;15919:205;;;;:::o;12717:196::-;12820:12;12852:53;12875:6;12883:4;12889:1;12892:12;12852:22;:53::i;:::-;12845:60;12717:196;-1:-1:-1;;;;12717:196:0:o;14094:979::-;14224:12;14257:18;14268:6;14257:10;:18::i;:::-;14249:60;;;;;-1:-1:-1;;;14249:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14383:12;14397:23;14424:6;-1:-1:-1;;;;;14424:11:0;14444:8;14455:4;14424:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14424:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14382:78;;;;14475:7;14471:595;;;14506:10;-1:-1:-1;14499:17:0;;-1:-1:-1;14499:17:0;14471:595;14620:17;;:21;14616:439;;14883:10;14877:17;14944:15;14931:10;14927:2;14923:19;14916:44;14831:148;15019:20;;-1:-1:-1;;;15019:20:0;;;;;;;;;;;;;;;;;15026:12;;15019:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9799:422;10166:20;10205:8;;;9799:422::o
Swarm Source
ipfs://e366c1e6a27d2f2fcb4c040ba1a6fd8f3acd69ab836aefc45f4f9531c3e9cf7a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.140783 | 10,859.2586 | $1,528.8 |
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.