More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 154 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deposit | 13468703 | 1140 days ago | IN | 0 ETH | 0.01686733 | ||||
Withdraw | 13455541 | 1142 days ago | IN | 0 ETH | 0.01168867 | ||||
Withdraw | 13447096 | 1143 days ago | IN | 0 ETH | 0.00459708 | ||||
Deposit | 13420587 | 1147 days ago | IN | 0 ETH | 0.01536593 | ||||
Deposit | 13420556 | 1147 days ago | IN | 0 ETH | 0.01904881 | ||||
Withdraw | 13353898 | 1158 days ago | IN | 0 ETH | 0.00783637 | ||||
Withdraw | 13294839 | 1167 days ago | IN | 0 ETH | 0.00203383 | ||||
Withdraw | 13256216 | 1173 days ago | IN | 0 ETH | 0.00383342 | ||||
Withdraw | 13239885 | 1176 days ago | IN | 0 ETH | 0.00454157 | ||||
Withdraw | 13237570 | 1176 days ago | IN | 0 ETH | 0.00694045 | ||||
Deposit | 13232167 | 1177 days ago | IN | 0 ETH | 0.00619276 | ||||
Deposit | 13231107 | 1177 days ago | IN | 0 ETH | 0.01287747 | ||||
Deposit | 13225757 | 1178 days ago | IN | 0 ETH | 0.00751429 | ||||
Deposit | 13223794 | 1178 days ago | IN | 0 ETH | 0.00839212 | ||||
Withdraw | 13219681 | 1179 days ago | IN | 0 ETH | 0.00432996 | ||||
Deposit | 13215777 | 1179 days ago | IN | 0 ETH | 0.00777521 | ||||
Deposit | 13205479 | 1181 days ago | IN | 0 ETH | 0.0094937 | ||||
Deposit | 13168063 | 1187 days ago | IN | 0 ETH | 0.01531214 | ||||
Withdraw | 13113866 | 1195 days ago | IN | 0 ETH | 0.00420241 | ||||
Withdraw | 13086943 | 1199 days ago | IN | 0 ETH | 0.00673273 | ||||
Withdraw | 13086943 | 1199 days ago | IN | 0 ETH | 0.00537619 | ||||
Harvest | 13086935 | 1199 days ago | IN | 0 ETH | 0.00683561 | ||||
Deposit | 13051582 | 1205 days ago | IN | 0 ETH | 0.00435483 | ||||
Deposit | 13017383 | 1210 days ago | IN | 0 ETH | 0.00604921 | ||||
Deposit | 13002421 | 1212 days ago | IN | 0 ETH | 0.00570042 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
FomoFarming
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-05-13 */ // SPDX-License-Identifier: MIT // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@, @@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@, %(@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@ @ @@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@/ ,@@@@, @@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@. @@@@@@@@ @, @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@ @@@@ @@ @@@@@@@@@ #@@@@@@@@@@@@@@@@@@ // @@@@@@@ @@ &@@@% &@@@@@@@@@@@ // @@@@@@@ @@ @@@@% ,@@@@@ @@@@@@@@@ // @@@@@@% @@@ @@@@@@@@# @@ @@@@@@@ // @@@@@@% @@@* ,@@@@@@@@@ *@@@@@ // @@@@@@@ @@@@@@@ @@@@@@@@ *@@@@@@@ // @@@@@@@ @@@@@@@@@ @@@@@@@@ *@@@@@@@@@@ // @@@@@@@@ @@@@@@@@# #@@@@@@ *@@@@@@@@@@@@@@@ // @@@@@@@@@ &@@@@@@@@ @@@@@. #@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@ &@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@, @@@@@@@( @@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@ (@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@* *@@@#@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ pragma solidity ^0.6.12; 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; } } 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 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 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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @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); } } } } contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; constructor(string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub( amount, "ERC20: transfer amount exceeds allowance" ) ); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue) ); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub( subtractedValue, "ERC20: decreased allowance below zero" ) ); return true; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub( amount, "ERC20: transfer amount exceeds balance" ); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub( amount, "ERC20: burn amount exceeds balance" ); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); constructor() internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } 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) ); } function safeApprove( IERC20 token, address spender, uint256 value ) internal { 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 ) ); } function _callOptionalReturn(IERC20 token, bytes memory data) private { bytes memory returndata = address(token).functionCall( data, "SafeERC20: low-level call failed" ); if (returndata.length > 0) { // Return data is optional require( abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed" ); } } } contract FomoFarming is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; struct Pool { IERC20 token; uint256 balance; uint256 lastBlock; uint256 share; uint256 accPerShare; } struct User { uint256 balance; uint256 date; uint256 rewards; uint256 loss; uint256 collected; } Pool[] public pools; mapping(uint256 => mapping(address => User)) public users; uint256 public startBlockNumber; uint256 public endBlockNumber; uint256 public tokensPerBlock; uint256 public totalShare; uint256 public paperPool = 0; IERC20 paperToken; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event Harvest(address indexed user, uint256 indexed pid, uint256 amount); constructor( IERC20 _paperToken, uint256 _startBlockNumber, uint256 _endBlockNumber, uint256 _tokensPerBlock ) public { paperToken = _paperToken; startBlockNumber = _startBlockNumber; endBlockNumber = _endBlockNumber; tokensPerBlock = _tokensPerBlock; } function deposit(uint8 _pid, uint256 _amount) public { Pool storage pool = pools[_pid]; User storage user = users[_pid][msg.sender]; require( pool.token.balanceOf(msg.sender) >= _amount, "You don't have enough tokens" ); pool.accPerShare = getAccPerShare(_pid); pool.lastBlock = getLastBlockNumber(); pool.token.safeTransferFrom(msg.sender, address(this), _amount); makeHarvest(_pid); pool.balance = pool.balance.add(_amount); user.balance = user.balance.add(_amount); user.loss = user.balance.mul(pool.accPerShare).div(1e12); user.date = block.timestamp; emit Deposit(msg.sender, _pid, _amount); } function withdraw(uint8 _pid) public { Pool storage pool = pools[_pid]; User storage user = users[_pid][msg.sender]; require(user.balance > 0, "You don't have any tokens"); pool.accPerShare = getAccPerShare(_pid); pool.lastBlock = getLastBlockNumber(); pool.token.safeTransfer(msg.sender, user.balance); makeHarvest(_pid); pool.balance = pool.balance.sub(user.balance); if (pool.balance > 0 && user.rewards > user.collected) { // accPerShare += (rewards - collected) / balance pool.accPerShare = pool.accPerShare.add( user.rewards.sub(user.collected).mul(1e12).div(pool.balance) ); } emit Withdraw(msg.sender, _pid, user.balance); delete users[_pid][msg.sender]; } function harvest(uint256 _pid) public { Pool storage pool = pools[_pid]; User storage user = users[_pid][msg.sender]; require(makeHarvest(_pid) > 0, "You dont have any rewards"); pool.accPerShare = getAccPerShare(_pid); pool.lastBlock = getLastBlockNumber(); user.loss = user.balance.mul(pool.accPerShare).div(1e12); } function makeHarvest(uint256 _pid) internal returns (uint256) { User storage user = users[_pid][msg.sender]; uint256 pending = getPending(_pid, msg.sender); if (!(pending > 0 || user.rewards > 0)) { return 0; } user.rewards = user.rewards.add(pending); uint256 reward = calcReward(user.rewards, user.date); if (!(reward > 0) || reward < user.collected) { return 0; } reward = reward.sub(user.collected); paperToken.safeTransfer(msg.sender, reward); user.collected = user.collected.add(reward); emit Harvest(msg.sender, _pid, reward); return reward; } function getLastBlockNumber() public view returns (uint256) { if (block.number < startBlockNumber) { return startBlockNumber; } if (block.number > endBlockNumber) { return endBlockNumber; } return block.number; } function getAccPerShare(uint256 _pid) public view returns (uint256) { Pool storage pool = pools[_pid]; uint256 blockNumber = getLastBlockNumber(); if (blockNumber == startBlockNumber || !(pool.balance > 0)) { return 0; } // poolAccPershare + (blockNumber - poolLastBlock) * tokensPerBlock * poolShare / (totalShare * poolBalance) return pool.accPerShare.add( blockNumber .sub(pool.lastBlock) .mul(tokensPerBlock) .mul(1e12) .mul(pool.share) .div(totalShare) .div(pool.balance) ); } function getPending(uint256 _pid, address _user) public view returns (uint256) { User storage user = users[_pid][_user]; uint256 pending = user.balance.mul(getAccPerShare(_pid)).div(1e12); if (pending > user.loss) { return pending.sub(user.loss); } return 0; } function getReward(uint256 _pid, address _user) public view returns (uint256) { User storage user = users[_pid][_user]; uint256 pending = getPending(_pid, _user); if (!(pending > 0 || user.rewards > 0)) { return 0; } uint256 reward = calcReward(user.rewards.add(pending), user.date); if (user.collected > reward) { return 0; } return reward.sub(user.collected); } function calcReward(uint256 amount, uint256 date) internal view returns (uint256) { uint256 hodl = block.timestamp - date; if (hodl < 2 weeks) { return 0; } if (hodl < 4 weeks) { return amount.mul(25).div(100); } if (hodl < 6 weeks) { return amount.mul(50).div(100); } if (hodl < 8 weeks) { return amount.mul(75).div(100); } return amount; } function getUser(uint256 _pid, address _user) public view returns ( uint256 balance, uint256 claimable, uint256 pending, uint256 lockDate, uint256 unlockDate, uint256 poolBalance, uint256 poolShare, uint256 totalShares, uint256 nextUnlock ) { User storage user = users[_pid][_user]; balance = user.balance; pending = user.rewards.add(getPending(_pid, _user)).sub(user.collected); claimable = getReward(_pid, _user); lockDate = user.date; unlockDate = user.date > 0 ? user.date + 8 weeks : 0; poolBalance = pools[_pid].balance; poolShare = pools[_pid].share; totalShares = totalShare; nextUnlock = 0; uint256 nextReward = calcReward(pending, lockDate - 2 weeks); if (nextReward > claimable) { nextUnlock = nextReward.sub(claimable); } } function safeRewardTransfer(address _user, uint256 _amount) internal { uint256 balance = paperToken.balanceOf(address(this)).sub(pools[paperPool].balance); if (_amount > balance) { paperToken.transfer(_user, balance); } else { paperToken.transfer(_user, _amount); } } function addPool( IERC20 _token, uint256 _share, bool _massUpdate ) public onlyOwner { if (_massUpdate) { massUpdate(); } totalShare = totalShare.add(_share); uint256 blockNumber = getLastBlockNumber(); pools.push( Pool({ token: _token, balance: 0, lastBlock: blockNumber, share: _share, accPerShare: 0 }) ); } function updatePool( uint256 _pid, uint256 _share, bool _massUpdate ) public onlyOwner { if (_massUpdate) { massUpdate(); } totalShare = totalShare.sub(pools[_pid].share).add(_share); pools[_pid].share = _share; } function setEndBlock(uint256 _endBlock) public onlyOwner { endBlockNumber = _endBlock; } function setTokensPerBlock(uint256 _tokensPerBlock) public onlyOwner { massUpdate(); tokensPerBlock = _tokensPerBlock; } function setPeperPool(uint256 _pid) public onlyOwner { require(_pid < pools.length, "Wrong pid"); paperPool = _pid; } function withdrawUnusedPaper() public onlyOwner { uint256 amount = paperToken.balanceOf(address(this)).sub(pools[paperPool].balance); if (amount > 0) { paperToken.transfer(msg.sender, amount); } } function massUpdate() public onlyOwner { uint256 length = pools.length; for (uint256 pid = 0; pid < length; ++pid) { Pool storage pool = pools[pid]; pool.accPerShare = getAccPerShare(pid); pool.lastBlock = getLastBlockNumber(); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_paperToken","type":"address"},{"internalType":"uint256","name":"_startBlockNumber","type":"uint256"},{"internalType":"uint256","name":"_endBlockNumber","type":"uint256"},{"internalType":"uint256","name":"_tokensPerBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Harvest","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":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_share","type":"uint256"},{"internalType":"bool","name":"_massUpdate","type":"bool"}],"name":"addPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_pid","type":"uint8"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"getAccPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"getPending","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"getReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"getUser","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"claimable","type":"uint256"},{"internalType":"uint256","name":"pending","type":"uint256"},{"internalType":"uint256","name":"lockDate","type":"uint256"},{"internalType":"uint256","name":"unlockDate","type":"uint256"},{"internalType":"uint256","name":"poolBalance","type":"uint256"},{"internalType":"uint256","name":"poolShare","type":"uint256"},{"internalType":"uint256","name":"totalShares","type":"uint256"},{"internalType":"uint256","name":"nextUnlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paperPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pools","outputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"lastBlock","type":"uint256"},{"internalType":"uint256","name":"share","type":"uint256"},{"internalType":"uint256","name":"accPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endBlock","type":"uint256"}],"name":"setEndBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"setPeperPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokensPerBlock","type":"uint256"}],"name":"setTokensPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShare","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":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_share","type":"uint256"},{"internalType":"bool","name":"_massUpdate","type":"bool"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"users","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"date","type":"uint256"},{"internalType":"uint256","name":"rewards","type":"uint256"},{"internalType":"uint256","name":"loss","type":"uint256"},{"internalType":"uint256","name":"collected","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_pid","type":"uint8"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawUnusedPaper","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600060075534801561001557600080fd5b50604051611ebb380380611ebb8339818101604052608081101561003857600080fd5b508051602082015160408301516060909301519192909160006100596100d5565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600880546001600160a01b0319166001600160a01b0395909516949094179093556003919091556004556005556100d9565b3390565b611dd3806100e86000396000f3fe608060405234801561001057600080fd5b50600436106101a25760003560e01c8063913d05fe116100ee578063b4999e8511610097578063c713aa9411610071578063c713aa9414610471578063ddc632621461048e578063f2fde38b146104ab578063f4d4c9d7146104d1576101a2565b8063b4999e85146103f2578063b9d02df4146103fa578063c6ab5d9014610451576101a2565b8063a302de16116100c8578063a302de161461037b578063a5427b2e14610383578063ac4afa38146103a0576101a2565b8063913d05fe146103225780639254803a1461033f5780639416c7cd14610347576101a2565b806369ab3e32116101505780637f37df3b1161012a5780637f37df3b146102b55780638a765f72146102e15780638da5cb5b146102fe576101a2565b806369ab3e3214610278578063715018a6146102a557806374f7b6e8146102ad576101a2565b8063257664a411610181578063257664a4146101f5578063498a4c2d146102685780635ae6256d14610270576101a2565b80628f33d7146101a7578063026c4207146101e55780631a1cb01f146101ed575b600080fd5b6101d3600480360360408110156101bd57600080fd5b50803590602001356001600160a01b03166104f7565b60408051918252519081900360200190f35b6101d36105a4565b6101d36105aa565b6102216004803603604081101561020b57600080fd5b50803590602001356001600160a01b03166105b0565b60408051998a5260208a0198909852888801969096526060880194909452608087019290925260a086015260c085015260e084015261010083015251908190036101200190f35b6101d36106bd565b6101d36106c3565b6102a36004803603606081101561028e57600080fd5b508035906020810135906040013515156106f1565b005b6102a36107d4565b6102a3610895565b6101d3600480360360408110156102cb57600080fd5b50803590602001356001600160a01b0316610a62565b6101d3600480360360208110156102f757600080fd5b5035610ada565b610306610b82565b604080516001600160a01b039092168252519081900360200190f35b6102a36004803603602081101561033857600080fd5b5035610b91565b6102a3610c08565b6102a36004803603606081101561035d57600080fd5b506001600160a01b0381351690602081013590604001351515610cc7565b6101d3610e80565b6102a36004803603602081101561039957600080fd5b5035610e86565b6103bd600480360360208110156103b657600080fd5b5035610f4b565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b6101d3610f93565b6104266004803603604081101561041057600080fd5b50803590602001356001600160a01b0316610f99565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b6102a36004803603602081101561046757600080fd5b503560ff16610fd0565b6102a36004803603602081101561048757600080fd5b5035611182565b6102a3600480360360208110156104a457600080fd5b50356111f1565b6102a3600480360360208110156104c157600080fd5b50356001600160a01b03166112c3565b6102a3600480360360408110156104e757600080fd5b5060ff81351690602001356113da565b60008281526002602090815260408083206001600160a01b03851684529091528120816105248585610a62565b90506000811180610539575060008260020154115b6105485760009250505061059e565b600061056e6105648385600201546115c690919063ffffffff16565b8460010154611627565b90508083600401541115610588576000935050505061059e565b60048301546105989082906116a3565b93505050505b92915050565b60065481565b60055481565b60008281526002602090815260408083206001600160a01b0385168452909152812080546004820154909291829182918291829182918291829161060c906106066105fb8f8f610a62565b6002850154906115c6565b906116a3565b97506106188c8c6104f7565b600182015490995096508661062e576000610639565b80600101546249d400015b955060018c8154811061064857fe5b906000526020600020906005020160010154945060018c8154811061066957fe5b9060005260206000209060050201600301549350600654925060009150600061069789621275008a03611627565b9050898111156106ae576106ab818b6116a3565b92505b50509295985092959850929598565b60035481565b60006003544310156106d857506003546106ee565b6004544311156106eb57506004546106ee565b50435b90565b6106f96116e5565b6000546001600160a01b0390811691161461075b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b801561076957610769610c08565b6107a6826107a06001868154811061077d57fe5b9060005260206000209060050201600301546006546116a390919063ffffffff16565b906115c6565b60068190555081600184815481106107ba57fe5b906000526020600020906005020160030181905550505050565b6107dc6116e5565b6000546001600160a01b0390811691161461083e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b61089d6116e5565b6000546001600160a01b039081169116146108ff576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60006109bd60016007548154811061091357fe5b600091825260209182902060016005909202010154600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192936001600160a01b03909216926370a0823192602480840193919291829003018186803b15801561098b57600080fd5b505afa15801561099f573d6000803e3d6000fd5b505050506040513d60208110156109b557600080fd5b5051906116a3565b90508015610a5f57600854604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081523360048201526024810184905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b158015610a3257600080fd5b505af1158015610a46573d6000803e3d6000fd5b505050506040513d6020811015610a5c57600080fd5b50505b50565b60008281526002602090815260408083206001600160a01b0385168452909152812081610aa864e8d4a51000610aa2610a9a88610ada565b8554906116e9565b90611742565b90508160030154811115610acf576003820154610ac69082906116a3565b9250505061059e565b506000949350505050565b60008060018381548110610aea57fe5b906000526020600020906005020190506000610b046106c3565b9050600354811480610b1857506001820154155b15610b2857600092505050610b7d565b610b78610b6d8360010154610aa2600654610aa28760030154610b6764e8d4a51000610b67600554610b678d600201548d6116a390919063ffffffff16565b906116e9565b6004840154906115c6565b925050505b919050565b6000546001600160a01b031690565b610b996116e5565b6000546001600160a01b03908116911614610bfb576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610c03610c08565b600555565b610c106116e5565b6000546001600160a01b03908116911614610c72576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60015460005b81811015610cc357600060018281548110610c8f57fe5b90600052602060002090600502019050610ca882610ada565b6004820155610cb56106c3565b600290910155600101610c78565b5050565b610ccf6116e5565b6000546001600160a01b03908116911614610d31576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8015610d3f57610d3f610c08565b600654610d4c90836115c6565b6006556000610d596106c3565b6040805160a0810182526001600160a01b0396871681526000602082018181529282019384526060820196875260808201818152600180548082018255925291517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf66005909202918201805473ffffffffffffffffffffffffffffffffffffffff1916919099161790975590517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf787015590517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf886015592517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf98501555050517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfa90910155565b60075481565b610e8e6116e5565b6000546001600160a01b03908116911614610ef0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001548110610f46576040805162461bcd60e51b815260206004820152600960248201527f57726f6e67207069640000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600755565b60018181548110610f5857fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909185565b60045481565b6002602081815260009384526040808520909152918352912080546001820154928201546003830154600490930154919392909185565b600060018260ff1681548110610fe257fe5b6000918252602080832060ff861684526002825260408085203386529092529220805460059092029092019250611060576040805162461bcd60e51b815260206004820152601960248201527f596f7520646f6e2774206861766520616e7920746f6b656e7300000000000000604482015290519081900360640190fd5b61106c8360ff16610ada565b60048301556110796106c3565b600283015580548254611099916001600160a01b03909116903390611784565b6110a58360ff16611804565b50805460018301546110b6916116a3565b60018301819055158015906110d2575080600401548160020154115b1561110c57611106610b6d8360010154610aa264e8d4a51000610b67866004015487600201546116a390919063ffffffff16565b60048301555b8054604080519182525160ff85169133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505060ff1660009081526002602081815260408084203385529091528220828155600181018390559081018290556003810182905560040155565b61118a6116e5565b6000546001600160a01b039081169116146111ec576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600455565b60006001828154811061120057fe5b6000918252602080832085845260028252604080852033865290925290832060059092020192509061123184611804565b11611283576040805162461bcd60e51b815260206004820152601960248201527f596f7520646f6e74206861766520616e79207265776172647300000000000000604482015290519081900360640190fd5b61128c83610ada565b60048301556112996106c3565b6002830155600482015481546112b99164e8d4a5100091610aa2916116e9565b6003909101555050565b6112cb6116e5565b6000546001600160a01b0390811691161461132d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166113725760405162461bcd60e51b8152600401808060200182810382526026815260200180611d2d6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600060018360ff16815481106113ec57fe5b6000918252602080832060ff8716845260028252604080852033808752908452948190206005909402909101805482517f70a0823100000000000000000000000000000000000000000000000000000000815260048101969096529151909550929386936001600160a01b0392909216926370a0823192602480840193829003018186803b15801561147d57600080fd5b505afa158015611491573d6000803e3d6000fd5b505050506040513d60208110156114a757600080fd5b505110156114fc576040805162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e2774206861766520656e6f75676820746f6b656e7300000000604482015290519081900360640190fd5b6115088460ff16610ada565b60048301556115156106c3565b60028301558154611531906001600160a01b0316333086611916565b61153d8460ff16611804565b50600182015461154d90846115c6565b6001830155805461155e90846115c6565b808255600483015461157b9164e8d4a5100091610aa291906116e9565b600382015542600182015560408051848152905160ff86169133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b600082820183811015611620576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000428290036212750081101561164257600091505061059e565b6224ea008110156116655761165d6064610aa28660196116e9565b91505061059e565b62375f008110156116805761165d6064610aa28660326116e9565b6249d40081101561169b5761165d6064610aa286604b6116e9565b509192915050565b600061162083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506119a4565b3390565b6000826116f85750600061059e565b8282028284828161170557fe5b04146116205760405162461bcd60e51b8152600401808060200182810382526021815260200180611d536021913960400191505060405180910390fd5b600061162083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611a3b565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610a5c908490611aa0565b6000818152600260209081526040808320338085529252822090829061182b908590610a62565b90506000811180611840575060008260020154115b61184f57600092505050610b7d565b600282015461185e90826115c6565b60028301819055600183015460009161187691611627565b90508015806118885750826004015481105b156118995760009350505050610b7d565b60048301546118a99082906116a3565b6008549091506118c3906001600160a01b03163383611784565b60048301546118d290826115c6565b6004840155604080518281529051869133917f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae06609249549181900360200190a3949350505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905261199e908590611aa0565b50505050565b60008184841115611a335760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156119f85781810151838201526020016119e0565b50505050905090810190601f168015611a255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183611a8a5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156119f85781810151838201526020016119e0565b506000838581611a9657fe5b0495945050505050565b6060611af5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b519092919063ffffffff16565b805190915015610a5c57808060200190516020811015611b1457600080fd5b5051610a5c5760405162461bcd60e51b815260040180806020018281038252602a815260200180611d74602a913960400191505060405180910390fd5b6060611b608484600085611b68565b949350505050565b6060611b7385611cf3565b611bc4576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611c2157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611be4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611c83576040519150601f19603f3d011682016040523d82523d6000602084013e611c88565b606091505b50915091508115611c9c579150611b609050565b805115611cac5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156119f85781810151838201526020016119e0565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610b7857505015159291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220b90617056f83c0d47eace2ce11d455b75faf2734e65228619dff11bac62de07a64736f6c634300060c0033000000000000000000000000ddce093888c8dc636677cd29bc6c68d35cfdac330000000000000000000000000000000000000000000000000000000000bd97280000000000000000000000000000000000000000000000000000000000c0a4680000000000000000000000000000000000000000000000000008e1bc9bf04000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a25760003560e01c8063913d05fe116100ee578063b4999e8511610097578063c713aa9411610071578063c713aa9414610471578063ddc632621461048e578063f2fde38b146104ab578063f4d4c9d7146104d1576101a2565b8063b4999e85146103f2578063b9d02df4146103fa578063c6ab5d9014610451576101a2565b8063a302de16116100c8578063a302de161461037b578063a5427b2e14610383578063ac4afa38146103a0576101a2565b8063913d05fe146103225780639254803a1461033f5780639416c7cd14610347576101a2565b806369ab3e32116101505780637f37df3b1161012a5780637f37df3b146102b55780638a765f72146102e15780638da5cb5b146102fe576101a2565b806369ab3e3214610278578063715018a6146102a557806374f7b6e8146102ad576101a2565b8063257664a411610181578063257664a4146101f5578063498a4c2d146102685780635ae6256d14610270576101a2565b80628f33d7146101a7578063026c4207146101e55780631a1cb01f146101ed575b600080fd5b6101d3600480360360408110156101bd57600080fd5b50803590602001356001600160a01b03166104f7565b60408051918252519081900360200190f35b6101d36105a4565b6101d36105aa565b6102216004803603604081101561020b57600080fd5b50803590602001356001600160a01b03166105b0565b60408051998a5260208a0198909852888801969096526060880194909452608087019290925260a086015260c085015260e084015261010083015251908190036101200190f35b6101d36106bd565b6101d36106c3565b6102a36004803603606081101561028e57600080fd5b508035906020810135906040013515156106f1565b005b6102a36107d4565b6102a3610895565b6101d3600480360360408110156102cb57600080fd5b50803590602001356001600160a01b0316610a62565b6101d3600480360360208110156102f757600080fd5b5035610ada565b610306610b82565b604080516001600160a01b039092168252519081900360200190f35b6102a36004803603602081101561033857600080fd5b5035610b91565b6102a3610c08565b6102a36004803603606081101561035d57600080fd5b506001600160a01b0381351690602081013590604001351515610cc7565b6101d3610e80565b6102a36004803603602081101561039957600080fd5b5035610e86565b6103bd600480360360208110156103b657600080fd5b5035610f4b565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b6101d3610f93565b6104266004803603604081101561041057600080fd5b50803590602001356001600160a01b0316610f99565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b6102a36004803603602081101561046757600080fd5b503560ff16610fd0565b6102a36004803603602081101561048757600080fd5b5035611182565b6102a3600480360360208110156104a457600080fd5b50356111f1565b6102a3600480360360208110156104c157600080fd5b50356001600160a01b03166112c3565b6102a3600480360360408110156104e757600080fd5b5060ff81351690602001356113da565b60008281526002602090815260408083206001600160a01b03851684529091528120816105248585610a62565b90506000811180610539575060008260020154115b6105485760009250505061059e565b600061056e6105648385600201546115c690919063ffffffff16565b8460010154611627565b90508083600401541115610588576000935050505061059e565b60048301546105989082906116a3565b93505050505b92915050565b60065481565b60055481565b60008281526002602090815260408083206001600160a01b0385168452909152812080546004820154909291829182918291829182918291829161060c906106066105fb8f8f610a62565b6002850154906115c6565b906116a3565b97506106188c8c6104f7565b600182015490995096508661062e576000610639565b80600101546249d400015b955060018c8154811061064857fe5b906000526020600020906005020160010154945060018c8154811061066957fe5b9060005260206000209060050201600301549350600654925060009150600061069789621275008a03611627565b9050898111156106ae576106ab818b6116a3565b92505b50509295985092959850929598565b60035481565b60006003544310156106d857506003546106ee565b6004544311156106eb57506004546106ee565b50435b90565b6106f96116e5565b6000546001600160a01b0390811691161461075b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b801561076957610769610c08565b6107a6826107a06001868154811061077d57fe5b9060005260206000209060050201600301546006546116a390919063ffffffff16565b906115c6565b60068190555081600184815481106107ba57fe5b906000526020600020906005020160030181905550505050565b6107dc6116e5565b6000546001600160a01b0390811691161461083e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b61089d6116e5565b6000546001600160a01b039081169116146108ff576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60006109bd60016007548154811061091357fe5b600091825260209182902060016005909202010154600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192936001600160a01b03909216926370a0823192602480840193919291829003018186803b15801561098b57600080fd5b505afa15801561099f573d6000803e3d6000fd5b505050506040513d60208110156109b557600080fd5b5051906116a3565b90508015610a5f57600854604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081523360048201526024810184905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b158015610a3257600080fd5b505af1158015610a46573d6000803e3d6000fd5b505050506040513d6020811015610a5c57600080fd5b50505b50565b60008281526002602090815260408083206001600160a01b0385168452909152812081610aa864e8d4a51000610aa2610a9a88610ada565b8554906116e9565b90611742565b90508160030154811115610acf576003820154610ac69082906116a3565b9250505061059e565b506000949350505050565b60008060018381548110610aea57fe5b906000526020600020906005020190506000610b046106c3565b9050600354811480610b1857506001820154155b15610b2857600092505050610b7d565b610b78610b6d8360010154610aa2600654610aa28760030154610b6764e8d4a51000610b67600554610b678d600201548d6116a390919063ffffffff16565b906116e9565b6004840154906115c6565b925050505b919050565b6000546001600160a01b031690565b610b996116e5565b6000546001600160a01b03908116911614610bfb576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610c03610c08565b600555565b610c106116e5565b6000546001600160a01b03908116911614610c72576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60015460005b81811015610cc357600060018281548110610c8f57fe5b90600052602060002090600502019050610ca882610ada565b6004820155610cb56106c3565b600290910155600101610c78565b5050565b610ccf6116e5565b6000546001600160a01b03908116911614610d31576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8015610d3f57610d3f610c08565b600654610d4c90836115c6565b6006556000610d596106c3565b6040805160a0810182526001600160a01b0396871681526000602082018181529282019384526060820196875260808201818152600180548082018255925291517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf66005909202918201805473ffffffffffffffffffffffffffffffffffffffff1916919099161790975590517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf787015590517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf886015592517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf98501555050517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfa90910155565b60075481565b610e8e6116e5565b6000546001600160a01b03908116911614610ef0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001548110610f46576040805162461bcd60e51b815260206004820152600960248201527f57726f6e67207069640000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600755565b60018181548110610f5857fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909185565b60045481565b6002602081815260009384526040808520909152918352912080546001820154928201546003830154600490930154919392909185565b600060018260ff1681548110610fe257fe5b6000918252602080832060ff861684526002825260408085203386529092529220805460059092029092019250611060576040805162461bcd60e51b815260206004820152601960248201527f596f7520646f6e2774206861766520616e7920746f6b656e7300000000000000604482015290519081900360640190fd5b61106c8360ff16610ada565b60048301556110796106c3565b600283015580548254611099916001600160a01b03909116903390611784565b6110a58360ff16611804565b50805460018301546110b6916116a3565b60018301819055158015906110d2575080600401548160020154115b1561110c57611106610b6d8360010154610aa264e8d4a51000610b67866004015487600201546116a390919063ffffffff16565b60048301555b8054604080519182525160ff85169133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505060ff1660009081526002602081815260408084203385529091528220828155600181018390559081018290556003810182905560040155565b61118a6116e5565b6000546001600160a01b039081169116146111ec576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600455565b60006001828154811061120057fe5b6000918252602080832085845260028252604080852033865290925290832060059092020192509061123184611804565b11611283576040805162461bcd60e51b815260206004820152601960248201527f596f7520646f6e74206861766520616e79207265776172647300000000000000604482015290519081900360640190fd5b61128c83610ada565b60048301556112996106c3565b6002830155600482015481546112b99164e8d4a5100091610aa2916116e9565b6003909101555050565b6112cb6116e5565b6000546001600160a01b0390811691161461132d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166113725760405162461bcd60e51b8152600401808060200182810382526026815260200180611d2d6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600060018360ff16815481106113ec57fe5b6000918252602080832060ff8716845260028252604080852033808752908452948190206005909402909101805482517f70a0823100000000000000000000000000000000000000000000000000000000815260048101969096529151909550929386936001600160a01b0392909216926370a0823192602480840193829003018186803b15801561147d57600080fd5b505afa158015611491573d6000803e3d6000fd5b505050506040513d60208110156114a757600080fd5b505110156114fc576040805162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e2774206861766520656e6f75676820746f6b656e7300000000604482015290519081900360640190fd5b6115088460ff16610ada565b60048301556115156106c3565b60028301558154611531906001600160a01b0316333086611916565b61153d8460ff16611804565b50600182015461154d90846115c6565b6001830155805461155e90846115c6565b808255600483015461157b9164e8d4a5100091610aa291906116e9565b600382015542600182015560408051848152905160ff86169133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b600082820183811015611620576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000428290036212750081101561164257600091505061059e565b6224ea008110156116655761165d6064610aa28660196116e9565b91505061059e565b62375f008110156116805761165d6064610aa28660326116e9565b6249d40081101561169b5761165d6064610aa286604b6116e9565b509192915050565b600061162083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506119a4565b3390565b6000826116f85750600061059e565b8282028284828161170557fe5b04146116205760405162461bcd60e51b8152600401808060200182810382526021815260200180611d536021913960400191505060405180910390fd5b600061162083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611a3b565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610a5c908490611aa0565b6000818152600260209081526040808320338085529252822090829061182b908590610a62565b90506000811180611840575060008260020154115b61184f57600092505050610b7d565b600282015461185e90826115c6565b60028301819055600183015460009161187691611627565b90508015806118885750826004015481105b156118995760009350505050610b7d565b60048301546118a99082906116a3565b6008549091506118c3906001600160a01b03163383611784565b60048301546118d290826115c6565b6004840155604080518281529051869133917f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae06609249549181900360200190a3949350505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905261199e908590611aa0565b50505050565b60008184841115611a335760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156119f85781810151838201526020016119e0565b50505050905090810190601f168015611a255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183611a8a5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156119f85781810151838201526020016119e0565b506000838581611a9657fe5b0495945050505050565b6060611af5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b519092919063ffffffff16565b805190915015610a5c57808060200190516020811015611b1457600080fd5b5051610a5c5760405162461bcd60e51b815260040180806020018281038252602a815260200180611d74602a913960400191505060405180910390fd5b6060611b608484600085611b68565b949350505050565b6060611b7385611cf3565b611bc4576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611c2157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611be4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611c83576040519150601f19603f3d011682016040523d82523d6000602084013e611c88565b606091505b50915091508115611c9c579150611b609050565b805115611cac5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156119f85781810151838201526020016119e0565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610b7857505015159291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220b90617056f83c0d47eace2ce11d455b75faf2734e65228619dff11bac62de07a64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ddce093888c8dc636677cd29bc6c68d35cfdac330000000000000000000000000000000000000000000000000000000000bd97280000000000000000000000000000000000000000000000000000000000c0a4680000000000000000000000000000000000000000000000000008e1bc9bf04000
-----Decoded View---------------
Arg [0] : _paperToken (address): 0xdDce093888C8Dc636677Cd29BC6C68D35cFDAC33
Arg [1] : _startBlockNumber (uint256): 12425000
Arg [2] : _endBlockNumber (uint256): 12625000
Arg [3] : _tokensPerBlock (uint256): 2500000000000000
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000ddce093888c8dc636677cd29bc6c68d35cfdac33
Arg [1] : 0000000000000000000000000000000000000000000000000000000000bd9728
Arg [2] : 0000000000000000000000000000000000000000000000000000000000c0a468
Arg [3] : 0000000000000000000000000000000000000000000000000008e1bc9bf04000
Deployed Bytecode Sourcemap
25568:9464:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30875:486;;;;;;;;;;;;;;;;-1:-1:-1;30875:486:0;;;;;;-1:-1:-1;;;;;30875:486:0;;:::i;:::-;;;;;;;;;;;;;;;;26188:25;;;:::i;26152:29::-;;;:::i;31885:976::-;;;;;;;;;;;;;;;;-1:-1:-1;31885:976:0;;;;;;-1:-1:-1;;;;;31885:976:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26078:31;;;:::i;29558:288::-;;;:::i;33753:299::-;;;;;;;;;;;;;;;;-1:-1:-1;33753:299:0;;;;;;;;;;;;;;:::i;:::-;;22603:148;;;:::i;34469:250::-;;;:::i;30524:343::-;;;;;;;;;;;;;;;;-1:-1:-1;30524:343:0;;;;;;-1:-1:-1;;;;;30524:343:0;;:::i;29854:662::-;;;;;;;;;;;;;;;;-1:-1:-1;29854:662:0;;:::i;22389:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;22389:79:0;;;;;;;;;;;;;;34170:143;;;;;;;;;;;;;;;;-1:-1:-1;34170:143:0;;:::i;34727:302::-;;;:::i;33220:525::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33220:525:0;;;;;;;;;;;;;;;:::i;26220:28::-;;;:::i;34321:140::-;;;;;;;;;;;;;;;;-1:-1:-1;34321:140:0;;:::i;25988:19::-;;;;;;;;;;;;;;;;-1:-1:-1;25988:19:0;;:::i;:::-;;;;-1:-1:-1;;;;;25988:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26116:29;;;:::i;26014:57::-;;;;;;;;;;;;;;;;-1:-1:-1;26014:57:0;;;;;;-1:-1:-1;;;;;26014:57:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27618:833;;;;;;;;;;;;;;;;-1:-1:-1;27618:833:0;;;;:::i;34060:102::-;;;;;;;;;;;;;;;;-1:-1:-1;34060:102:0;;:::i;28459:379::-;;;;;;;;;;;;;;;;-1:-1:-1;28459:379:0;;:::i;22759:281::-;;;;;;;;;;;;;;;;-1:-1:-1;22759:281:0;-1:-1:-1;;;;;22759:281:0;;:::i;26864:746::-;;;;;;;;;;;;;;;;-1:-1:-1;26864:746:0;;;;;;;;;:::i;30875:486::-;30959:7;31004:11;;;:5;:11;;;;;;;;-1:-1:-1;;;;;31004:18:0;;;;;;;;;30959:7;31051:23;31010:4;31016:5;31051:10;:23::i;:::-;31033:41;;31101:1;31091:7;:11;:31;;;;31121:1;31106:4;:12;;;:16;31091:31;31085:75;;31147:1;31140:8;;;;;;31085:75;31170:14;31187:48;31198:25;31215:7;31198:4;:12;;;:16;;:25;;;;:::i;:::-;31225:4;:9;;;31187:10;:48::i;:::-;31170:65;;31267:6;31250:4;:14;;;:23;31246:64;;;31297:1;31290:8;;;;;;;31246:64;31338:14;;;;31327:26;;:6;;:10;:26::i;:::-;31320:33;;;;;30875:486;;;;;:::o;26188:25::-;;;;:::o;26152:29::-;;;;:::o;31885:976::-;31977:15;32263:11;;;:5;:11;;;;;;;;-1:-1:-1;;;;;32263:18:0;;;;;;;;;32302:12;;32381:14;;;;32302:12;;31977:15;;;;;;;;;;;;;;;32335:61;;:41;32352:23;32269:4;32275:5;32352:10;:23::i;:::-;32335:12;;;;;:16;:41::i;:::-;:45;;:61::i;:::-;32325:71;;32419:22;32429:4;32435:5;32419:9;:22::i;:::-;32463:9;;;;32407:34;;-1:-1:-1;32463:9:0;-1:-1:-1;32496:13:0;:39;;32534:1;32496:39;;;32512:4;:9;;;32524:7;32512:19;32496:39;32483:52;;32560:5;32566:4;32560:11;;;;;;;;;;;;;;;;;;:19;;;32546:33;;32602:5;32608:4;32602:11;;;;;;;;;;;;;;;;;;:17;;;32590:29;;32644:10;;32630:24;;32678:1;32665:14;;32690:18;32711:39;32722:7;32742;32731:8;:18;32711:10;:39::i;:::-;32690:60;;32778:9;32765:10;:22;32761:93;;;32817:25;:10;32832:9;32817:14;:25::i;:::-;32804:38;;32761:93;31885:976;;;;;;;;;;;;;:::o;26078:31::-;;;;:::o;29558:288::-;29609:7;29648:16;;29633:12;:31;29629:87;;;-1:-1:-1;29688:16:0;;29681:23;;29629:87;29745:14;;29730:12;:29;29726:83;;;-1:-1:-1;29783:14:0;;29776:21;;29726:83;-1:-1:-1;29826:12:0;29558:288;;:::o;33753:299::-;22526:12;:10;:12::i;:::-;22516:6;;-1:-1:-1;;;;;22516:6:0;;;:22;;;22508:67;;;;;-1:-1:-1;;;22508:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33887:11:::1;33883:56;;;33915:12;:10;:12::i;:::-;33962:45;34000:6;33962:33;33977:5;33983:4;33977:11;;;;;;;;;;;;;;;;;;:17;;;33962:10;;:14;;:33;;;;:::i;:::-;:37:::0;::::1;:45::i;:::-;33949:10;:58;;;;34038:6;34018:5;34024:4;34018:11;;;;;;;;;;;;;;;;;;:17;;:26;;;;33753:299:::0;;;:::o;22603:148::-;22526:12;:10;:12::i;:::-;22516:6;;-1:-1:-1;;;;;22516:6:0;;;:22;;;22508:67;;;;;-1:-1:-1;;;22508:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22710:1:::1;22694:6:::0;;22673:40:::1;::::0;-1:-1:-1;;;;;22694:6:0;;::::1;::::0;22673:40:::1;::::0;22710:1;;22673:40:::1;22741:1;22724:19:::0;;-1:-1:-1;;22724:19:0::1;::::0;;22603:148::o;34469:250::-;22526:12;:10;:12::i;:::-;22516:6;;-1:-1:-1;;;;;22516:6:0;;;:22;;;22508:67;;;;;-1:-1:-1;;;22508:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34528:14:::1;34554:65;34594:5;34600:9;;34594:16;;;;;;;;;::::0;;;::::1;::::0;;;;:24:::1;:16;::::0;;::::1;;:24;::::0;34554:10:::1;::::0;:35:::1;::::0;;;;;34583:4:::1;34554:35;::::0;::::1;::::0;;;34594:24;;-1:-1:-1;;;;;34554:10:0;;::::1;::::0;:20:::1;::::0;:35;;;;;34594:16;;34554:35;;;;;;:10;:35;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;34554:35:0;;:39:::1;:65::i;:::-;34528:91:::0;-1:-1:-1;34634:10:0;;34630:82:::1;;34661:10;::::0;:39:::1;::::0;;;;;34681:10:::1;34661:39;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;34661:10:0;;::::1;::::0;:19:::1;::::0;:39;;;;;::::1;::::0;;;;;;;;;:10:::1;::::0;:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;34630:82:0::1;22586:1;34469:250::o:0;30524:343::-;30609:7;30654:11;;;:5;:11;;;;;;;;-1:-1:-1;;;;;30654:18:0;;;;;;;;;30609:7;30701:48;30744:4;30701:38;30718:20;30660:4;30718:14;:20::i;:::-;30701:12;;;:16;:38::i;:::-;:42;;:48::i;:::-;30683:66;;30774:4;:9;;;30764:7;:19;30760:81;;;30819:9;;;;30807:22;;:7;;:11;:22::i;:::-;30800:29;;;;;;30760:81;-1:-1:-1;30858:1:0;;30524:343;-1:-1:-1;;;;30524:343:0:o;29854:662::-;29913:7;29933:17;29953:5;29959:4;29953:11;;;;;;;;;;;;;;;;;;29933:31;;29975:19;29997:20;:18;:20::i;:::-;29975:42;;30047:16;;30032:11;:31;:54;;;-1:-1:-1;30069:12:0;;;;:16;30032:54;30028:95;;;30110:1;30103:8;;;;;;30028:95;30267:241;30302:195;30484:4;:12;;;30302:163;30454:10;;30302:133;30424:4;:10;;;30302:103;30400:4;30302:79;30366:14;;30302:45;30332:4;:14;;;30302:11;:29;;:45;;;;:::i;:::-;:63;;:79::i;:195::-;30267:16;;;;;:20;:241::i;:::-;30251:257;;;;29854:662;;;;:::o;22389:79::-;22427:7;22454:6;-1:-1:-1;;;;;22454:6:0;22389:79;:::o;34170:143::-;22526:12;:10;:12::i;:::-;22516:6;;-1:-1:-1;;;;;22516:6:0;;;:22;;;22508:67;;;;;-1:-1:-1;;;22508:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34250:12:::1;:10;:12::i;:::-;34273:14;:32:::0;34170:143::o;34727:302::-;22526:12;:10;:12::i;:::-;22516:6;;-1:-1:-1;;;;;22516:6:0;;;:22;;;22508:67;;;;;-1:-1:-1;;;22508:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34794:5:::1;:12:::0;34777:14:::1;34817:205;34845:6;34839:3;:12;34817:205;;;34875:17;34895:5;34901:3;34895:10;;;;;;;;;;;;;;;;;;34875:30;;34939:19;34954:3;34939:14;:19::i;:::-;34920:16;::::0;::::1;:38:::0;34990:20:::1;:18;:20::i;:::-;34973:14;::::0;;::::1;:37:::0;34853:5:::1;;34817:205;;;;22586:1;34727:302::o:0;33220:525::-;22526:12;:10;:12::i;:::-;22516:6;;-1:-1:-1;;;;;22516:6:0;;;:22;;;22508:67;;;;;-1:-1:-1;;;22508:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33352:11:::1;33348:56;;;33380:12;:10;:12::i;:::-;33427:10;::::0;:22:::1;::::0;33442:6;33427:14:::1;:22::i;:::-;33414:10;:35:::0;33460:19:::1;33482:20;:18;:20::i;:::-;33538:188;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;33538:188:0;;::::1;::::0;;-1:-1:-1;33538:188:0::1;::::0;::::1;::::0;;;;;;;;;;;;;;;;;;;;;33513:5:::1;:224:::0;;;;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;33513:224:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33513:224:0;;;;;;33220:525::o;26220:28::-;;;;:::o;34321:140::-;22526:12;:10;:12::i;:::-;22516:6;;-1:-1:-1;;;;;22516:6:0;;;:22;;;22508:67;;;;;-1:-1:-1;;;22508:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34400:5:::1;:12:::0;34393:19;::::1;34385:41;;;::::0;;-1:-1:-1;;;34385:41:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;34437:9;:16:::0;34321:140::o;25988:19::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25988:19:0;;;;-1:-1:-1;25988:19:0;;;;;:::o;26116:29::-;;;;:::o;26014:57::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;27618:833::-;27666:17;27686:5;27692:4;27686:11;;;;;;;;;;;;;;;;;;27728;;;;;:5;:11;;;;;;27740:10;27728:23;;;;;;;27770:12;;27686:11;;;;;;;;-1:-1:-1;27762:54:0;;;;;-1:-1:-1;;;27762:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27846:20;27861:4;27846:20;;:14;:20::i;:::-;27827:16;;;:39;27894:20;:18;:20::i;:::-;27877:14;;;:37;27961:12;;27925:10;;:49;;-1:-1:-1;;;;;27925:10:0;;;;27949;;27925:23;:49::i;:::-;27985:17;27997:4;27985:17;;:11;:17::i;:::-;-1:-1:-1;28045:12:0;;28028;;;;:30;;:16;:30::i;:::-;28013:12;;;:45;;;28073:16;;;;:49;;;28108:4;:14;;;28093:4;:12;;;:29;28073:49;28069:278;;;28221:114;28260:60;28307:4;:12;;;28260:42;28297:4;28260:32;28277:4;:14;;;28260:4;:12;;;:16;;:32;;;;:::i;28221:114::-;28202:16;;;:133;28069:278;28389:12;;28362:40;;;;;;;;;;;28371:10;;28362:40;;;;;;;;;-1:-1:-1;;28420:11:0;;;;;;:5;:11;;;;;;;;28432:10;28420:23;;;;;;;28413:30;;;;;;;;;;;;;;;;;;;;;;;;27618:833::o;34060:102::-;22526:12;:10;:12::i;:::-;22516:6;;-1:-1:-1;;;;;22516:6:0;;;:22;;;22508:67;;;;;-1:-1:-1;;;22508:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34128:14:::1;:26:::0;34060:102::o;28459:379::-;28508:17;28528:5;28534:4;28528:11;;;;;;;;;;;;;;;;28570;;;:5;:11;;;;;;28582:10;28570:23;;;;;;;;28528:11;;;;;;-1:-1:-1;28570:23:0;28612:17;28576:4;28612:11;:17::i;:::-;:21;28604:59;;;;;-1:-1:-1;;;28604:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28695:20;28710:4;28695:14;:20::i;:::-;28676:16;;;:39;28743:20;:18;:20::i;:::-;28726:14;;;:37;28803:16;;;;28786:12;;:44;;28825:4;;28786:34;;:16;:34::i;:44::-;28774:9;;;;:56;-1:-1:-1;;28459:379:0:o;22759:281::-;22526:12;:10;:12::i;:::-;22516:6;;-1:-1:-1;;;;;22516:6:0;;;:22;;;22508:67;;;;;-1:-1:-1;;;22508:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22862:22:0;::::1;22840:110;;;;-1:-1:-1::0;;;22840:110:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22987:6;::::0;;22966:38:::1;::::0;-1:-1:-1;;;;;22966:38:0;;::::1;::::0;22987:6;::::1;::::0;22966:38:::1;::::0;::::1;23015:6;:17:::0;;-1:-1:-1;;23015:17:0::1;-1:-1:-1::0;;;;;23015:17:0;;;::::1;::::0;;;::::1;::::0;;22759:281::o;26864:746::-;26928:17;26948:5;26954:4;26948:11;;;;;;;;;;;;;;;;;;26990;;;;;:5;:11;;;;;;27002:10;26990:23;;;;;;;;;;26948:11;;;;;;;27046:10;;:32;;;;;;;;;;;;;;26948:11;;-1:-1:-1;26990:23:0;;27082:7;;-1:-1:-1;;;;;27046:10:0;;;;;:20;;:32;;;;;;;;;;:10;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27046:32:0;:43;;27024:121;;;;;-1:-1:-1;;;27024:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27175:20;27190:4;27175:20;;:14;:20::i;:::-;27156:16;;;:39;27223:20;:18;:20::i;:::-;27206:14;;;:37;27254:10;;:63;;-1:-1:-1;;;;;27254:10:0;27282;27302:4;27309:7;27254:27;:63::i;:::-;27328:17;27340:4;27328:17;;:11;:17::i;:::-;-1:-1:-1;27371:12:0;;;;:25;;27388:7;27371:16;:25::i;:::-;27356:12;;;:40;27422:12;;:25;;27439:7;27422:16;:25::i;:::-;27407:40;;;27487:16;;;;27470:44;;27509:4;;27470:34;;27407:40;27470:16;:34::i;:44::-;27458:9;;;:56;27537:15;27525:9;;;:27;27568:34;;;;;;;;;;;;27576:10;;27568:34;;;;;;;;;26864:746;;;;:::o;6131:181::-;6189:7;6221:5;;;6245:6;;;;6237:46;;;;;-1:-1:-1;;;6237:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6303:1;6131:181;-1:-1:-1;;;6131:181:0:o;31369:508::-;31457:7;31497:15;:22;;;31541:7;31534:14;;31530:55;;;31572:1;31565:8;;;;;31530:55;31606:7;31599:4;:14;31595:77;;;31637:23;31656:3;31637:14;:6;31648:2;31637:10;:14::i;:23::-;31630:30;;;;;31595:77;31693:7;31686:4;:14;31682:77;;;31724:23;31743:3;31724:14;:6;31735:2;31724:10;:14::i;31682:77::-;31780:7;31773:4;:14;31769:77;;;31811:23;31830:3;31811:14;:6;31822:2;31811:10;:14::i;31769:77::-;-1:-1:-1;31863:6:0;;31369:508;-1:-1:-1;;31369:508:0:o;6595:136::-;6653:7;6680:43;6684:1;6687;6680:43;;;;;;;;;;;;;;;;;:3;:43::i;2782:106::-;2870:10;2782:106;:::o;7519:471::-;7577:7;7822:6;7818:47;;-1:-1:-1;7852:1:0;7845:8;;7818:47;7889:5;;;7893:1;7889;:5;:1;7913:5;;;;;:10;7905:56;;;;-1:-1:-1;;;7905:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8466:132;8524:7;8551:39;8555:1;8558;8551:39;;;;;;;;;;;;;;;;;:3;:39::i;23139:248::-;23310:58;;;-1:-1:-1;;;;;23310:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23333:23;23310:58;;;23256:123;;23290:5;;23256:19;:123::i;28846:704::-;28899:7;28939:11;;;:5;:11;;;;;;;;28951:10;28939:23;;;;;;;;28899:7;;28993:28;;28945:4;;28993:10;:28::i;:::-;28975:46;;29048:1;29038:7;:11;:31;;;;29068:1;29053:4;:12;;;:16;29038:31;29032:75;;29094:1;29087:8;;;;;;29032:75;29132:12;;;;:25;;29149:7;29132:16;:25::i;:::-;29117:12;;;:40;;;29212:9;;;;29170:14;;29187:35;;:10;:35::i;:::-;29170:52;-1:-1:-1;29241:10:0;;;29239:40;;;29265:4;:14;;;29256:6;:23;29239:40;29235:81;;;29303:1;29296:8;;;;;;;29235:81;29346:14;;;;29335:26;;:6;;:10;:26::i;:::-;29372:10;;29326:35;;-1:-1:-1;29372:43:0;;-1:-1:-1;;;;;29372:10:0;29396;29326:35;29372:23;:43::i;:::-;29443:14;;;;:26;;29462:6;29443:18;:26::i;:::-;29426:14;;;:43;29485:33;;;;;;;;29505:4;;29493:10;;29485:33;;;;;;;;;29536:6;28846:704;-1:-1:-1;;;;28846:704:0:o;23395:285::-;23593:68;;;-1:-1:-1;;;;;23593:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23616:27;23593:68;;;23539:133;;23573:5;;23539:19;:133::i;:::-;23395:285;;;;:::o;7034:226::-;7154:7;7190:12;7182:6;;;;7174:29;;;;-1:-1:-1;;;7174:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7226:5:0;;;7034:226::o;9094:312::-;9214:7;9249:12;9242:5;9234:28;;;;-1:-1:-1;;;9234:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9273:9;9289:1;9285;:5;;;;;;;9094:312;-1:-1:-1;;;;;9094:312:0:o;25091:470::-;25172:23;25207:106;25249:4;25207:106;;;;;;;;;;;;;;;;;25215:5;-1:-1:-1;;;;;25207:27:0;;;:106;;;;;:::i;:::-;25328:17;;25172:141;;-1:-1:-1;25328:21:0;25324:230;;25445:10;25434:30;;;;;;;;;;;;;;;-1:-1:-1;25434:30:0;25408:134;;;;-1:-1:-1;;;25408:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14538:230;14675:12;14707:53;14730:6;14738:4;14744:1;14747:12;14707:22;:53::i;:::-;14700:60;14538:230;-1:-1:-1;;;;14538:230:0:o;16135:1029::-;16308:12;16341:18;16352:6;16341:10;:18::i;:::-;16333:60;;;;;-1:-1:-1;;;16333:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16467:12;16481:23;16517:6;-1:-1:-1;;;;;16517:11:0;16536:8;16546:4;16517:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16466:85;;;;16566:7;16562:595;;;16597:10;-1:-1:-1;16590:17:0;;-1:-1:-1;16590:17:0;16562:595;16711:17;;:21;16707:439;;16974:10;16968:17;17035:15;17022:10;17018:2;17014:19;17007:44;16922:148;17110:20;;-1:-1:-1;;;17110:20:0;;;;;;;;;;;;;;;;;17117:12;;17110:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11303:650;11363:4;11853:20;;11683:66;11902:23;;;;;;:42;;-1:-1:-1;;11929:15:0;;;11303:650;-1:-1:-1;;11303:650:0:o
Swarm Source
ipfs://b90617056f83c0d47eace2ce11d455b75faf2734e65228619dff11bac62de07a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.853323 | 811.539 | $692.51 |
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.