Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x030cF06D...c51b42194 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
dynamicFarm
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-01-03 */ // SPDX-License-Identifier: CC-BY-NC-SA-2.5 //@code0x2 pragma solidity ^0.6.12; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } 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; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by 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; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } library Address { 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; } 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"); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } 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"); } 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); } } } } 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; } } 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"); _; } 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)); } /** * @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"); } } } 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); } } library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } abstract contract IRewardDistributionRecipient is Ownable { address public rewardDistribution; function notifyRewardAmount(uint256 reward) external virtual; modifier onlyRewardDistribution() { require( _msgSender() == rewardDistribution, 'Caller is not reward distribution' ); _; } function setRewardDistribution(address _rewardDistribution) external virtual onlyOwner { rewardDistribution = _rewardDistribution; } } contract dynamicFarm is LPTokenWrapper, IRewardDistributionRecipient { IERC20 public dynamicTracker; uint256 public DURATION = 30 days; 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); address payable internal creator; constructor( address tracker_, address lptoken_, uint256 starttime_ ) public { dynamicTracker = IERC20(tracker_); lpt = IERC20(lptoken_); creator = msg.sender; starttime = starttime_; } modifier checkStart() { require( block.timestamp >= starttime, 'DynamicFarm: not started' ); _; } modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } function lastTimeRewardApplicable() public view returns (uint256) { return Math.min(block.timestamp, periodFinish); } function rewardPerToken() public view returns (uint256) { if (totalSupply() == 0) { return rewardPerTokenStored; } return rewardPerTokenStored.add( lastTimeRewardApplicable() .sub(lastUpdateTime) .mul(rewardRate) .mul(1e18) .div(totalSupply()) ); } function earned(address account) public view returns (uint256) { return balanceOf(account) .mul(rewardPerToken().sub(userRewardPerTokenPaid[account])) .div(1e18) .add(rewards[account]); } // stake visibility is public as overriding LPTokenWrapper's stake() function function stake(uint256 amount) public override updateReward(msg.sender) checkStart { require(amount > 0, 'DynamicFarm: Cannot stake 0'); super.stake(amount); emit Staked(msg.sender, amount); } function withdraw(uint256 amount) public override updateReward(msg.sender) checkStart { require(amount > 0, 'DynamicFarm: 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 = earned(msg.sender); if (reward > 0) { rewards[msg.sender] = 0; dynamicTracker.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); } } // Fallback rescue receive() external payable{ creator.transfer(msg.value); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"tracker_","type":"address"},{"internalType":"address","name":"lptoken_","type":"address"},{"internalType":"uint256","name":"starttime_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dynamicTracker","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpt","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardDistribution","type":"address"}],"name":"setRewardDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"starttime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x6080604052600436106101695760003560e01c80637b0a47ee116100d1578063c8f33c911161008a578063df136d6511610064578063df136d651461046d578063e9fad8ee14610482578063ebe2b12b14610497578063f2fde38b146104ac576101aa565b8063c8f33c911461042e578063cd3daf9d14610443578063ce5fc8d014610458576101aa565b80637b0a47ee1461037d57806380faa57d146103925780638b876347146103a75780638da58897146103da5780638da5cb5b146103ef578063a694fc3a14610404576101aa565b806324003c691161012357806324003c69146102b75780632e1a7d4d146102cc5780633c6b16ab146102f65780633d18b9121461032057806370a0823114610335578063715018a614610368576101aa565b80628cc262146101af5780630700037d146101f45780630d68b76114610227578063101114cf1461025c57806318160ddd1461028d5780631be05289146102a2576101aa565b366101aa57600e546040516001600160a01b03909116903480156108fc02916000818181858888f193505050501580156101a7573d6000803e3d6000fd5b50005b600080fd5b3480156101bb57600080fd5b506101e2600480360360208110156101d257600080fd5b50356001600160a01b03166104df565b60408051918252519081900360200190f35b34801561020057600080fd5b506101e26004803603602081101561021757600080fd5b50356001600160a01b031661054d565b34801561023357600080fd5b5061025a6004803603602081101561024a57600080fd5b50356001600160a01b031661055f565b005b34801561026857600080fd5b506102716105eb565b604080516001600160a01b039092168252519081900360200190f35b34801561029957600080fd5b506101e26105fa565b3480156102ae57600080fd5b506101e2610601565b3480156102c357600080fd5b50610271610607565b3480156102d857600080fd5b5061025a600480360360208110156102ef57600080fd5b5035610616565b34801561030257600080fd5b5061025a6004803603602081101561031957600080fd5b503561075b565b34801561032c57600080fd5b5061025a61092b565b34801561034157600080fd5b506101e26004803603602081101561035857600080fd5b50356001600160a01b0316610a4e565b34801561037457600080fd5b5061025a610a69565b34801561038957600080fd5b506101e2610b1d565b34801561039e57600080fd5b506101e2610b23565b3480156103b357600080fd5b506101e2600480360360208110156103ca57600080fd5b50356001600160a01b0316610b36565b3480156103e657600080fd5b506101e2610b48565b3480156103fb57600080fd5b50610271610b4e565b34801561041057600080fd5b5061025a6004803603602081101561042757600080fd5b5035610b5d565b34801561043a57600080fd5b506101e2610ca2565b34801561044f57600080fd5b506101e2610ca8565b34801561046457600080fd5b50610271610cf6565b34801561047957600080fd5b506101e2610d05565b34801561048e57600080fd5b5061025a610d0b565b3480156104a357600080fd5b506101e2610d26565b3480156104b857600080fd5b5061025a600480360360208110156104cf57600080fd5b50356001600160a01b0316610d2c565b6001600160a01b0381166000908152600d6020908152604080832054600c909252822054610547919061054190670de0b6b3a76400009061053b9061052c90610526610ca8565b90610e37565b61053588610a4e565b90610e80565b90610ed9565b90610f1b565b92915050565b600d6020526000908152604090205481565b610567610f75565b6003546001600160a01b039081169116146105c9576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6001545b90565b60065481565b6005546001600160a01b031681565b3361061f610ca8565b600b5561062a610b23565b600a556001600160a01b0381161561067157610645816104df565b6001600160a01b0382166000908152600d6020908152604080832093909355600b54600c909152919020555b6007544210156106c3576040805162461bcd60e51b8152602060048201526018602482015277111e5b985b5a58d1985c9b4e881b9bdd081cdd185c9d195960421b604482015290519081900360640190fd5b60008211610718576040805162461bcd60e51b815260206004820152601e60248201527f44796e616d69634661726d3a2043616e6e6f7420776974686472617720300000604482015290519081900360640190fd5b61072182610f79565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6004546001600160a01b031661076f610f75565b6001600160a01b0316146107b45760405162461bcd60e51b81526004018080602001828103825260218152602001806114736021913960400191505060405180910390fd5b60006107be610ca8565b600b556107c9610b23565b600a556001600160a01b03811615610810576107e4816104df565b6001600160a01b0382166000908152600d6020908152604080832093909355600b54600c909152919020555b6007544211156108ca57600854421061083957600654610831908390610ed9565b60095561087c565b6008546000906108499042610e37565b9050600061086260095483610e8090919063ffffffff16565b6006549091506108769061053b8684610f1b565b60095550505b42600a81905560065461088f9190610f1b565b6008556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1610927565b6006546108d8908390610ed9565b600955600754600a8190556006546108f09190610f1b565b6008556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15b5050565b33610934610ca8565b600b5561093f610b23565b600a556001600160a01b038116156109865761095a816104df565b6001600160a01b0382166000908152600d6020908152604080832093909355600b54600c909152919020555b6007544210156109d8576040805162461bcd60e51b8152602060048201526018602482015277111e5b985b5a58d1985c9b4e881b9bdd081cdd185c9d195960421b604482015290519081900360640190fd5b60006109e3336104df565b9050801561092757336000818152600d6020526040812055600554610a14916001600160a01b039091169083610fd1565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25050565b6001600160a01b031660009081526002602052604090205490565b610a71610f75565b6003546001600160a01b03908116911614610ad3576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b60095481565b6000610b3142600854611028565b905090565b600c6020526000908152604090205481565b60075481565b6003546001600160a01b031690565b33610b66610ca8565b600b55610b71610b23565b600a556001600160a01b03811615610bb857610b8c816104df565b6001600160a01b0382166000908152600d6020908152604080832093909355600b54600c909152919020555b600754421015610c0a576040805162461bcd60e51b8152602060048201526018602482015277111e5b985b5a58d1985c9b4e881b9bdd081cdd185c9d195960421b604482015290519081900360640190fd5b60008211610c5f576040805162461bcd60e51b815260206004820152601b60248201527f44796e616d69634661726d3a2043616e6e6f74207374616b6520300000000000604482015290519081900360640190fd5b610c688261103e565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b600a5481565b6000610cb26105fa565b610cbf5750600b546105fe565b610b31610ced610ccd6105fa565b61053b670de0b6b3a7640000610535600954610535600a54610526610b23565b600b5490610f1b565b6000546001600160a01b031681565b600b5481565b610d1c610d1733610a4e565b610616565b610d2461092b565b565b60085481565b610d34610f75565b6003546001600160a01b03908116911614610d96576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610ddb5760405162461bcd60e51b815260040180806020018281038252602681526020018061142c6026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e7983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611094565b9392505050565b600082610e8f57506000610547565b82820282848281610e9c57fe5b0414610e795760405162461bcd60e51b81526004018080602001828103825260218152602001806114526021913960400191505060405180910390fd5b6000610e7983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061112b565b600082820183811015610e79576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b600154610f869082610e37565b60015533600090815260026020526040902054610fa39082610e37565b336000818152600260205260408120929092559054610fce916001600160a01b039091169083610fd1565b50565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611023908490611190565b505050565b60008183106110375781610e79565b5090919050565b60015461104b9082610f1b565b600155336000908152600260205260409020546110689082610f1b565b336000818152600260205260408120929092559054610fce916001600160a01b03909116903084611241565b600081848411156111235760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110e85781810151838201526020016110d0565b50505050905090810190601f1680156111155780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818361117a5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156110e85781810151838201526020016110d0565b50600083858161118657fe5b0495945050505050565b60606111e5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112a19092919063ffffffff16565b8051909150156110235780806020019051602081101561120457600080fd5b50516110235760405162461bcd60e51b815260040180806020018281038252602a815260200180611494602a913960400191505060405180910390fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261129b908590611190565b50505050565b60606112b084846000856112b8565b949350505050565b60606112c385611425565b611314576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106113535780518252601f199092019160209182019101611334565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146113b5576040519150601f19603f3d011682016040523d82523d6000602084013e6113ba565b606091505b509150915081156113ce5791506112b09050565b8051156113de5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156110e85781810151838201526020016110d0565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220b386f0828b8ba0490f695fd3026017146c33124e2d404c0ae3ecb88da95a1f9e64736f6c634300060c0033
Deployed Bytecode Sourcemap
12219:4400:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16581:7;;:27;;-1:-1:-1;;;;;16581:7:0;;;;16598:9;16581:27;;;;;:7;:27;:7;:27;16598:9;16581:7;:27;;;;;;;;;;;;;;;;;;;;;12219:4400;;;;;14269:265;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14269:265:0;-1:-1:-1;;;;;14269:265:0;;:::i;:::-;;;;;;;;;;;;;;;;12619:42;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12619:42:0;-1:-1:-1;;;;;12619:42:0;;:::i;12034:178::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12034:178:0;-1:-1:-1;;;;;12034:178:0;;:::i;:::-;;11733:33;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;11733:33:0;;;;;;;;;;;;;;10281:91;;;;;;;;;;;;;:::i;12330:33::-;;;;;;;;;;;;;:::i;12295:28::-;;;;;;;;;;;;;:::i;14898:277::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14898:277:0;;:::i;15602:900::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15602:900:0;;:::i;15288:306::-;;;;;;;;;;;;;:::i;10380:110::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10380:110:0;-1:-1:-1;;;;;10380:110:0;;:::i;6495:148::-;;;;;;;;;;;;;:::i;12441:29::-;;;;;;;;;;;;;:::i;13702:131::-;;;;;;;;;;;;;:::i;12555:57::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12555:57:0;-1:-1:-1;;;;;12555:57:0;;:::i;12372:24::-;;;;;;;;;;;;;:::i;6192:79::-;;;;;;;;;;;;;:::i;14625:265::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14625:265:0;;:::i;12477:29::-;;;;;;;;;;;;;:::i;13841:420::-;;;;;;;;;;;;;:::i;10166:17::-;;;;;;;;;;;;;:::i;12513:35::-;;;;;;;;;;;;;:::i;15183:97::-;;;;;;;;;;;;;:::i;12403:31::-;;;;;;;;;;;;;:::i;6651:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6651:244:0;-1:-1:-1;;;;;6651:244:0;;:::i;14269:265::-;-1:-1:-1;;;;;14509:16:0;;14323:7;14509:16;;;:7;:16;;;;;;;;;14425:22;:31;;;;;;14363:163;;14509:16;14363:123;;14481:4;;14363:95;;14404:53;;:16;:14;:16::i;:::-;:20;;:53::i;:::-;14363:18;14373:7;14363:9;:18::i;:::-;:40;;:95::i;:::-;:117;;:123::i;:::-;:145;;:163::i;:::-;14343:183;14269:265;-1:-1:-1;;14269:265:0:o;12619:42::-;;;;;;;;;;;;;:::o;12034:178::-;6414:12;:10;:12::i;:::-;6404:6;;-1:-1:-1;;;;;6404:6:0;;;:22;;;6396:67;;;;;-1:-1:-1;;;6396:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12164:18:::1;:40:::0;;-1:-1:-1;;;;;;12164:40:0::1;-1:-1:-1::0;;;;;12164:40:0;;;::::1;::::0;;;::::1;::::0;;12034:178::o;11733:33::-;;;-1:-1:-1;;;;;11733:33:0;;:::o;10281:91::-;10352:12;;10281:91;;:::o;12330:33::-;;;;:::o;12295:28::-;;;-1:-1:-1;;;;;12295:28:0;;:::o;14898:277::-;14988:10;13437:16;:14;:16::i;:::-;13414:20;:39;13481:26;:24;:26::i;:::-;13464:14;:43;-1:-1:-1;;;;;13522:21:0;;;13518:157;;13579:15;13586:7;13579:6;:15::i;:::-;-1:-1:-1;;;;;13560:16:0;;;;;;:7;:16;;;;;;;;:34;;;;13643:20;;13609:22;:31;;;;;;:54;13518:157;13275:9:::1;;13256:15;:28;;13234:102;;;::::0;;-1:-1:-1;;;13234:102:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;13234:102:0;;;;;;;;;;;;;::::1;;15053:1:::2;15044:6;:10;15036:53;;;::::0;;-1:-1:-1;;;15036:53:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;15100:22;15115:6;15100:14;:22::i;:::-;15138:29;::::0;;;;;;;15148:10:::2;::::0;15138:29:::2;::::0;;;;;::::2;::::0;;::::2;14898:277:::0;;:::o;15602:900::-;11927:18;;-1:-1:-1;;;;;11927:18:0;11911:12;:10;:12::i;:::-;-1:-1:-1;;;;;11911:34:0;;11889:117;;;;-1:-1:-1;;;11889:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15744:1:::1;13437:16;:14;:16::i;:::-;13414:20;:39:::0;13481:26:::1;:24;:26::i;:::-;13464:14;:43:::0;-1:-1:-1;;;;;13522:21:0;::::1;::::0;13518:157:::1;;13579:15;13586:7;13579:6;:15::i;:::-;-1:-1:-1::0;;;;;13560:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;13643:20:::1;::::0;13609:22:::1;:31:::0;;;;;;:54;13518:157:::1;15786:9:::2;;15768:15;:27;15764:731;;;15835:12;;15816:15;:31;15812:328;;15892:8;::::0;15881:20:::2;::::0;:6;;:10:::2;:20::i;:::-;15868:10;:33:::0;15812:328:::2;;;15962:12;::::0;15942:17:::2;::::0;15962:33:::2;::::0;15979:15:::2;15962:16;:33::i;:::-;15942:53;;16014:16;16033:25;16047:10;;16033:9;:13;;:25;;;;:::i;:::-;16115:8;::::0;16014:44;;-1:-1:-1;16090:34:0::2;::::0;:20:::2;:6:::0;16014:44;16090:10:::2;:20::i;:34::-;16077:10;:47:::0;-1:-1:-1;;15812:328:0::2;16171:15;16154:14;:32:::0;;;16236:8:::2;::::0;16216:29:::2;::::0;16171:15;16216:19:::2;:29::i;:::-;16201:12;:44:::0;16265:19:::2;::::0;;;;;;;::::2;::::0;;;;::::2;::::0;;::::2;15764:731;;;16341:8;::::0;16330:20:::2;::::0;:6;;:10:::2;:20::i;:::-;16317:10;:33:::0;16382:9:::2;::::0;16365:14:::2;:26:::0;;;16435:8:::2;::::0;16421:23:::2;::::0;16382:9;16421:13:::2;:23::i;:::-;16406:12;:38:::0;16464:19:::2;::::0;;;;;;;::::2;::::0;;;;::::2;::::0;;::::2;15764:731;12017:1:::1;15602:900:::0;:::o;15288:306::-;15329:10;13437:16;:14;:16::i;:::-;13414:20;:39;13481:26;:24;:26::i;:::-;13464:14;:43;-1:-1:-1;;;;;13522:21:0;;;13518:157;;13579:15;13586:7;13579:6;:15::i;:::-;-1:-1:-1;;;;;13560:16:0;;;;;;:7;:16;;;;;;;;:34;;;;13643:20;;13609:22;:31;;;;;;:54;13518:157;13275:9:::1;;13256:15;:28;;13234:102;;;::::0;;-1:-1:-1;;;13234:102:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;13234:102:0;;;;;;;;;;;;;::::1;;15363:14:::2;15380:18;15387:10;15380:6;:18::i;:::-;15363:35:::0;-1:-1:-1;15413:10:0;;15409:178:::2;;15448:10;15462:1;15440:19:::0;;;:7:::2;:19;::::0;;;;:23;15478:14:::2;::::0;:47:::2;::::0;-1:-1:-1;;;;;15478:14:0;;::::2;::::0;15518:6;15478:27:::2;:47::i;:::-;15545:30;::::0;;;;;;;15556:10:::2;::::0;15545:30:::2;::::0;;;;;::::2;::::0;;::::2;13347:1;15288:306:::0;:::o;10380:110::-;-1:-1:-1;;;;;10464:18:0;10437:7;10464:18;;;:9;:18;;;;;;;10380:110::o;6495:148::-;6414:12;:10;:12::i;:::-;6404:6;;-1:-1:-1;;;;;6404:6:0;;;:22;;;6396:67;;;;;-1:-1:-1;;;6396:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6586:6:::1;::::0;6565:40:::1;::::0;6602:1:::1;::::0;-1:-1:-1;;;;;6586:6:0::1;::::0;6565:40:::1;::::0;6602:1;;6565:40:::1;6616:6;:19:::0;;-1:-1:-1;;;;;;6616:19:0::1;::::0;;6495:148::o;12441:29::-;;;;:::o;13702:131::-;13759:7;13786:39;13795:15;13812:12;;13786:8;:39::i;:::-;13779:46;;13702:131;:::o;12555:57::-;;;;;;;;;;;;;:::o;12372:24::-;;;;:::o;6192:79::-;6257:6;;-1:-1:-1;;;;;6257:6:0;6192:79;:::o;14625:265::-;14712:10;13437:16;:14;:16::i;:::-;13414:20;:39;13481:26;:24;:26::i;:::-;13464:14;:43;-1:-1:-1;;;;;13522:21:0;;;13518:157;;13579:15;13586:7;13579:6;:15::i;:::-;-1:-1:-1;;;;;13560:16:0;;;;;;:7;:16;;;;;;;;:34;;;;13643:20;;13609:22;:31;;;;;;:54;13518:157;13275:9:::1;;13256:15;:28;;13234:102;;;::::0;;-1:-1:-1;;;13234:102:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;13234:102:0;;;;;;;;;;;;;::::1;;14777:1:::2;14768:6;:10;14760:50;;;::::0;;-1:-1:-1;;;14760:50:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;14821:19;14833:6;14821:11;:19::i;:::-;14856:26;::::0;;;;;;;14863:10:::2;::::0;14856:26:::2;::::0;;;;;::::2;::::0;;::::2;14625:265:::0;;:::o;12477:29::-;;;;:::o;13841:420::-;13888:7;13912:13;:11;:13::i;:::-;13908:78;;-1:-1:-1;13954:20:0;;13947:27;;13908:78;14016:237;14059:179;14224:13;:11;:13::i;:::-;14059:138;14192:4;14059:106;14154:10;;14059:68;14112:14;;14059:26;:24;:26::i;:179::-;14016:20;;;:24;:237::i;10166:17::-;;;-1:-1:-1;;;;;10166:17:0;;:::o;12513:35::-;;;;:::o;15183:97::-;15219:31;15228:21;15238:10;15228:9;:21::i;:::-;15219:8;:31::i;:::-;15261:11;:9;:11::i;:::-;15183:97::o;12403:31::-;;;;:::o;6651:244::-;6414:12;:10;:12::i;:::-;6404:6;;-1:-1:-1;;;;;6404:6:0;;;:22;;;6396:67;;;;;-1:-1:-1;;;6396:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6740:22:0;::::1;6732:73;;;;-1:-1:-1::0;;;6732:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6842:6;::::0;6821:38:::1;::::0;-1:-1:-1;;;;;6821:38:0;;::::1;::::0;6842:6:::1;::::0;6821:38:::1;::::0;6842:6:::1;::::0;6821:38:::1;6870:6;:17:::0;;-1:-1:-1;;;;;;6870:17:0::1;-1:-1:-1::0;;;;;6870:17:0;;;::::1;::::0;;;::::1;::::0;;6651:244::o;302:136::-;360:7;387:43;391:1;394;387:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;380:50;302:136;-1:-1:-1;;;302:136:0:o;642:471::-;700:7;945:6;941:47;;-1:-1:-1;975:1:0;968:8;;941:47;1012:5;;;1016:1;1012;:5;:1;1036:5;;;;;:10;1028:56;;;;-1:-1:-1;;;1028:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1119:132;1177:7;1204:39;1208:1;1211;1204:39;;;;;;;;;;;;;;;;;:3;:39::i;115:181::-;173:7;205:5;;;229:6;;;;221:46;;;;;-1:-1:-1;;;221:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;5337:106;5425:10;5337:106;:::o;10744:222::-;10819:12;;:24;;10836:6;10819:16;:24::i;:::-;10804:12;:39;10888:10;10878:21;;;;:9;:21;;;;;;:33;;10904:6;10878:25;:33::i;:::-;10864:10;10854:21;;;;:9;:21;;;;;:57;;;;10922:3;;:36;;-1:-1:-1;;;;;10922:3:0;;;;10951:6;10922:16;:36::i;:::-;10744:222;:::o;6994:177::-;7104:58;;;-1:-1:-1;;;;;7104:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7104:58:0;-1:-1:-1;;;7104:58:0;;;7077:86;;7097:5;;7077:19;:86::i;:::-;6994:177;;;:::o;11243:106::-;11301:7;11332:1;11328;:5;:13;;11340:1;11328:13;;;-1:-1:-1;11336:1:0;;11243:106;-1:-1:-1;11243:106:0:o;10498:238::-;10570:12;;:24;;10587:6;10570:16;:24::i;:::-;10555:12;:39;10639:10;10629:21;;;;:9;:21;;;;;;:33;;10655:6;10629:25;:33::i;:::-;10615:10;10605:21;;;;:9;:21;;;;;:57;;;;10673:3;;:55;;-1:-1:-1;;;;;10673:3:0;;;;10714:4;10721:6;10673:20;:55::i;444:192::-;530:7;566:12;558:6;;;;550:29;;;;-1:-1:-1;;;550:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;602:5:0;;;444:192::o;1257:278::-;1343:7;1378:12;1371:5;1363:28;;;;-1:-1:-1;;;1363:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1402:9;1418:1;1414;:5;;;;;;;1257:278;-1:-1:-1;;;;;1257:278:0:o;9299:761::-;9723:23;9749:69;9777:4;9749:69;;;;;;;;;;;;;;;;;9757:5;-1:-1:-1;;;;;9749:27:0;;;:69;;;;;:::i;:::-;9833:17;;9723:95;;-1:-1:-1;9833:21:0;9829:224;;9975:10;9964:30;;;;;;;;;;;;;;;-1:-1:-1;9964:30:0;9956:85;;;;-1:-1:-1;;;9956:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7179:205;7307:68;;;-1:-1:-1;;;;;7307:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7307:68:0;-1:-1:-1;;;7307:68:0;;;7280:96;;7300:5;;7280:19;:96::i;:::-;7179:205;;;;:::o;3560:196::-;3663:12;3695:53;3718:6;3726:4;3732:1;3735:12;3695:22;:53::i;:::-;3688:60;3560:196;-1:-1:-1;;;;3560:196:0:o;4318:979::-;4448:12;4481:18;4492:6;4481:10;:18::i;:::-;4473:60;;;;;-1:-1:-1;;;4473:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4607:12;4621:23;4648:6;-1:-1:-1;;;;;4648:11:0;4668:8;4679:4;4648:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4648:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4606:78;;;;4699:7;4695:595;;;4730:10;-1:-1:-1;4723:17:0;;-1:-1:-1;4723:17:0;4695:595;4844:17;;:21;4840:439;;5107:10;5101:17;5168:15;5155:10;5151:2;5147:19;5140:44;5055:148;5243:20;;-1:-1:-1;;;5243:20:0;;;;;;;;;;;;;;;;;5250:12;;5243:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2550:422;2917:20;2956:8;;;2550:422::o
Swarm Source
ipfs://b386f0828b8ba0490f695fd3026017146c33124e2d404c0ae3ecb88da95a1f9e
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.